difftreelog
Merge pull request #577 from UniqueNetwork/fix/fee-multiplier-update
in: master
16 files changed
pallets/configuration/src/lib.rsdiffbeforeafterboth--- a/pallets/configuration/src/lib.rs
+++ b/pallets/configuration/src/lib.rs
@@ -25,12 +25,14 @@
};
use parity_scale_codec::{Decode, Encode, MaxEncodedLen};
use scale_info::TypeInfo;
-use sp_arithmetic::traits::{BaseArithmetic, Unsigned};
+use sp_arithmetic::{
+ per_things::{Perbill, PerThing},
+ traits::{BaseArithmetic, Unsigned},
+};
use smallvec::smallvec;
pub use pallet::*;
use sp_core::U256;
-use sp_runtime::Perbill;
#[pallet]
mod pallet {
@@ -46,8 +48,7 @@
#[pallet::config]
pub trait Config: frame_system::Config {
#[pallet::constant]
- type DefaultWeightToFeeCoefficient: Get<u32>;
-
+ type DefaultWeightToFeeCoefficient: Get<u64>;
#[pallet::constant]
type DefaultMinGasPrice: Get<u64>;
@@ -66,7 +67,7 @@
#[pallet::storage]
pub type WeightToFeeCoefficientOverride<T: Config> = StorageValue<
- Value = u32,
+ Value = u64,
QueryKind = ValueQuery,
OnEmpty = T::DefaultWeightToFeeCoefficient,
>;
@@ -90,7 +91,7 @@
#[pallet::weight(T::DbWeight::get().writes(1))]
pub fn set_weight_to_fee_coefficient_override(
origin: OriginFor<T>,
- coeff: Option<u32>,
+ coeff: Option<u64>,
) -> DispatchResult {
ensure_root(origin)?;
if let Some(coeff) = coeff {
@@ -156,14 +157,17 @@
impl<T, B> WeightToFeePolynomial for WeightToFee<T, B>
where
T: Config,
- B: BaseArithmetic + From<u32> + Copy + Unsigned,
+ B: BaseArithmetic + From<u32> + From<u64> + Copy + Unsigned,
{
type Balance = B;
fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {
smallvec!(WeightToFeeCoefficient {
- coeff_integer: <WeightToFeeCoefficientOverride<T>>::get().into(),
- coeff_frac: Perbill::zero(),
+ coeff_integer: (<WeightToFeeCoefficientOverride<T>>::get() / Perbill::ACCURACY as u64)
+ .into(),
+ coeff_frac: Perbill::from_parts(
+ (<WeightToFeeCoefficientOverride<T>>::get() % Perbill::ACCURACY as u64) as u32
+ ),
negative: false,
degree: 1,
})
primitives/common/src/constants.rsdiffbeforeafterboth--- a/primitives/common/src/constants.rs
+++ b/primitives/common/src/constants.rs
@@ -43,10 +43,10 @@
pub const UNIQUE: Balance = 100 * CENTIUNIQUE;
// Targeting 0.1 UNQ per transfer
-pub const WEIGHT_TO_FEE_COEFF: u32 = /*<weight2fee>*/175_199_920/*</weight2fee>*/;
+pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_083_524_944_487_510/*</weight2fee>*/;
// Targeting 0.15 UNQ per transfer via ETH
-pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_014_919_410_810/*</mingasprice>*/;
+pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_014_919_313_914/*</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.
@@ -60,5 +60,5 @@
.set_proof_size(MAX_POV_SIZE as u64);
parameter_types! {
- pub const TransactionByteFee: Balance = 501 * MICROUNIQUE;
+ pub const TransactionByteFee: Balance = 501 * MICROUNIQUE / 2;
}
runtime/common/config/pallets/mod.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/mod.rs
+++ b/runtime/common/config/pallets/mod.rs
@@ -104,7 +104,7 @@
pub const DayRelayBlocks: BlockNumber = RELAY_DAYS;
}
impl pallet_configuration::Config for Runtime {
- type DefaultWeightToFeeCoefficient = ConstU32<{ up_common::constants::WEIGHT_TO_FEE_COEFF }>;
+ type DefaultWeightToFeeCoefficient = ConstU64<{ up_common::constants::WEIGHT_TO_FEE_COEFF }>;
type DefaultMinGasPrice = ConstU64<{ up_common::constants::MIN_GAS_PRICE }>;
type MaxXcmAllowedLocations = ConstU32<16>;
type AppPromotionDailyRate = AppPromotionDailyRate;
runtime/common/config/substrate.rsdiffbeforeafterboth--- a/runtime/common/config/substrate.rs
+++ b/runtime/common/config/substrate.rs
@@ -28,10 +28,12 @@
traits::{BlakeTwo256, AccountIdLookup},
Perbill, Permill, Percent,
};
+use sp_arithmetic::traits::One;
use frame_system::{
limits::{BlockLength, BlockWeights},
EnsureRoot,
};
+use pallet_transaction_payment::{Multiplier, ConstFeeMultiplier};
use crate::{
runtime_common::DealWithFees, Runtime, RuntimeEvent, RuntimeCall, RuntimeOrigin, PalletInfo,
System, Balances, Treasury, SS58Prefix, Version,
@@ -152,6 +154,8 @@
/// 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;
+
+ pub FeeMultiplier: Multiplier = Multiplier::one();
}
impl pallet_transaction_payment::Config for Runtime {
@@ -160,7 +164,7 @@
type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;
type OperationalFeeMultiplier = OperationalFeeMultiplier;
type WeightToFee = pallet_configuration::WeightToFee<Self, Balance>;
- type FeeMultiplierUpdate = ();
+ type FeeMultiplierUpdate = ConstFeeMultiplier<FeeMultiplier>;
}
parameter_types! {
tests/src/calibrate.tsdiffbeforeafterboth--- a/tests/src/calibrate.ts
+++ b/tests/src/calibrate.ts
@@ -1,59 +1,186 @@
import {IKeyringPair} from '@polkadot/types/types';
-
import {usingEthPlaygrounds, EthUniqueHelper} from './eth/util';
+class Fract {
+ static ZERO = new Fract(0n);
+ constructor(public readonly a: bigint, public readonly b: bigint = 1n) {
+ if (b === 0n) throw new Error('division by zero');
+ if (b < 0n) throw new Error('missing normalization');
+ }
-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;
+ mul(other: Fract) {
+ return new Fract(this.a * other.a, this.b * other.b).optimize();
}
- const nb = BigInt(n);
+ div(other: Fract) {
+ return this.mul(other.inv());
+ }
- const a = (nb * sumxy - sumx * sumy) / (nb * sumx2 - sumx * sumx);
- const b = (sumy - a * sumx) / nb;
+ plus(other: Fract) {
+ if (this.b === other.b) {
+ return new Fract(this.a + other.a, this.b);
+ }
+ return new Fract(this.a * other.b + other.a * this.b, this.b * other.b).optimize();
+ }
- return {a, b};
-}
+ minus(other: Fract) {
+ return this.plus(other.neg());
+ }
-// 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';
+ neg() {
+ return new Fract(-this.a, this.b);
+ }
+ inv() {
+ if (this.a < 0) {
+ return new Fract(-this.b, -this.a);
+ } else {
+ return new Fract(this.b, this.a);
+ }
}
- if (value < 2n) {
- return value;
+ optimize() {
+ function gcd(x: bigint, y: bigint) {
+ if (x < 0n)
+ x = -x;
+ if (y < 0n)
+ y = -y;
+ while(y) {
+ const t = y;
+ y = x % y;
+ x = t;
+ }
+ return x;
+ }
+ const v = gcd(this.a, this.b);
+ return new Fract(this.a / v, this.b / v);
+ }
+
+ toBigInt() {
+ return this.a / this.b;
+ }
+ toNumber() {
+ const v = this.optimize();
+ return Number(v.a) / Number(v.b);
+ }
+ toString() {
+ const v = this.optimize();
+ return `${v.a} / ${v.b}`;
}
- function newtonIteration(n: bigint, x0: bigint): bigint {
- const x1 = ((n / x0) + x0) >> 1n;
- if (x0 === x1 || x0 === (x1 - 1n)) {
- return x0;
+ lt(other: Fract) {
+ return this.a * other.b < other.a * this.b;
+ }
+ eq(other: Fract) {
+ return this.a * other.b === other.a * this.b;
+ }
+
+ sqrt() {
+ if (this.a < 0n) {
+ throw 'square root of negative numbers is not supported';
+ }
+
+ if (this.lt(new Fract(2n))) {
+ return this;
+ }
+
+ function newtonIteration(n: Fract, x0: Fract): Fract {
+ const x1 = rpn(n, x0, '/', x0, '+', new Fract(2n), '/');
+ if (x0.eq(x1) || x0.eq(x1.minus(new Fract(1n)))) {
+ return x0;
+ }
+ return newtonIteration(n, x1);
}
- return newtonIteration(n, x1);
+
+ return newtonIteration(this, new Fract(1n));
}
+}
- return newtonIteration(value, 1n);
+type Op = Fract | '+' | '-' | '*' | '/' | 'dup' | Op[];
+function rpn(...ops: (Op)[]) {
+ const stack: Fract[] = [];
+ for (const op of ops) {
+ if (op instanceof Fract) {
+ stack.push(op);
+ } else if (op === '+') {
+ if (stack.length < 2)
+ throw new Error('stack underflow');
+ const b = stack.pop()!;
+ const a = stack.pop()!;
+ stack.push(a.plus(b));
+ } else if (op === '*') {
+ if (stack.length < 2)
+ throw new Error('stack underflow');
+ const b = stack.pop()!;
+ const a = stack.pop()!;
+ stack.push(a.mul(b));
+ } else if (op === '-') {
+ if (stack.length < 2)
+ throw new Error('stack underflow');
+ const b = stack.pop()!;
+ const a = stack.pop()!;
+ stack.push(a.minus(b));
+ } else if (op === '/') {
+ if (stack.length < 2)
+ throw new Error('stack underflow');
+ const b = stack.pop()!;
+ const a = stack.pop()!;
+ stack.push(a.div(b));
+ } else if (op === 'dup') {
+ if (stack.length < 1)
+ throw new Error('stack underflow');
+ const a = stack.pop()!;
+ stack.push(a);
+ stack.push(a);
+ } else if (Array.isArray(op)) {
+ stack.push(rpn(...op));
+ } else {
+ throw new Error(`unknown operand: ${op}`);
+ }
+ }
+ if (stack.length != 1)
+ throw new Error('one element should be left on stack');
+ return stack[0]!;
+}
+
+function linearRegression(points: { x: Fract, y: Fract }[]) {
+ let sumxy = Fract.ZERO;
+ let sumx = Fract.ZERO;
+ let sumy = Fract.ZERO;
+ let sumx2 = Fract.ZERO;
+ const n = points.length;
+ for (let i = 0; i < n; i++) {
+ const p = points[i];
+ sumxy = rpn(p.x, p.y, '*', sumxy, '+');
+ sumx = sumx.plus(p.x);
+ sumy = sumy.plus(p.y);
+ sumx2 = rpn(p.x, p.x, '*', sumx2, '+');
+ }
+
+ const nb = new Fract(BigInt(n));
+
+ const a = rpn(
+ [nb, sumxy, '*', sumx, sumy, '*', '-'],
+ [nb, sumx2, '*', sumx, sumx, '*', '-'],
+ '/',
+ );
+ const b = rpn(
+ [sumy, a, sumx, '*', '-'],
+ nb,
+ '/',
+ );
+
+ return {a, b};
}
-function _error(points: { x: bigint, y: bigint }[], hypothesis: (a: bigint) => bigint) {
- return sqrt(points.map(p => {
+const hypothesisLinear = (a: Fract, b: Fract) => (x: Fract) => rpn(x, a, '*', b, '+');
+
+function _error(points: { x: Fract, y: Fract }[], hypothesis: (a: Fract) => Fract) {
+ return 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));
+ return rpn(v, vv, '-', 'dup', '*');
+ }).reduce((a, b) => a.plus(b), Fract.ZERO).sqrt().div(new Fract(BigInt(points.length)));
}
async function calibrateWeightToFee(helper: EthUniqueHelper, privateKey: (account: string) => Promise<IKeyringPair>) {
@@ -68,15 +195,15 @@
await token.transfer(alice, {Substrate: bob.address});
const aliceBalanceAfter = await helper.balance.getSubstrate(alice.address);
- console.log(`Original price: ${Number(aliceBalanceBefore - aliceBalanceAfter) / Number(helper.balance.getOneTokenNominal())} UNQ`);
+ console.log(`\t[NFT transfer] Original price: ${Number(aliceBalanceBefore - aliceBalanceAfter) / Number(helper.balance.getOneTokenNominal())} UNQ`);
}
const api = helper.getApi();
- const defaultCoeff = (api.consts.configuration.defaultWeightToFeeCoefficient as any).toBigInt();
+ const base = (await api.query.configuration.weightToFeeCoefficientOverride() as any).toBigInt();
for (let i = -5; i < 5; i++) {
- await helper.signTransaction(alice, api.tx.sudo.sudo(api.tx.configuration.setWeightToFeeCoefficientOverride(defaultCoeff + defaultCoeff / 1000n * BigInt(i))));
+ await helper.signTransaction(alice, api.tx.sudo.sudo(api.tx.configuration.setWeightToFeeCoefficientOverride(base + base / 1000n * BigInt(i))));
- const coefficient = (await api.query.configuration.weightToFeeCoefficientOverride() as any).toBigInt();
+ const coefficient = new Fract((await api.query.configuration.weightToFeeCoefficientOverride() as any).toBigInt());
const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New collection', tokenPrefix: 'NEW'});
const token = await collection.mintToken(alice, {Substrate: alice.address});
@@ -84,16 +211,18 @@
await token.transfer(alice, {Substrate: bob.address});
const aliceBalanceAfter = await helper.balance.getSubstrate(alice.address);
- const transferPrice = aliceBalanceBefore - aliceBalanceAfter;
+ const transferPrice = new Fract(aliceBalanceBefore - aliceBalanceAfter);
dataPoints.push({x: transferPrice, y: coefficient});
}
const {a, b} = linearRegression(dataPoints);
- // console.log(`Error: ${error(dataPoints, x => a*x+b)}`);
+ const hyp = hypothesisLinear(a, b);
+ // console.log(`\t[NFT transfer] Error: ${_error(dataPoints, hyp).toNumber()}`);
- const perfectValue = a * helper.balance.getOneTokenNominal() / 10n + b;
- await helper.signTransaction(alice, api.tx.sudo.sudo(api.tx.configuration.setWeightToFeeCoefficientOverride(perfectValue.toString())));
+ // 0.1 UNQ
+ const perfectValue = hyp(rpn(new Fract(helper.balance.getOneTokenNominal()), new Fract(1n, 10n), '*'));
+ await helper.signTransaction(alice, api.tx.sudo.sudo(api.tx.configuration.setWeightToFeeCoefficientOverride(perfectValue.toBigInt())));
{
const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New collection', tokenPrefix: 'NEW'});
@@ -102,7 +231,7 @@
await token.transfer(alice, {Substrate: bob.address});
const aliceBalanceAfter = await helper.balance.getSubstrate(alice.address);
- console.log(`Calibrated price: ${Number(aliceBalanceBefore - aliceBalanceAfter) / Number(helper.balance.getOneTokenNominal())} UNQ`);
+ console.log(`\t[NFT transfer] Calibrated price: ${Number(aliceBalanceBefore - aliceBalanceAfter) / Number(helper.balance.getOneTokenNominal())} UNQ`);
}
}
@@ -121,35 +250,37 @@
const cost = await helper.eth.calculateFee({Ethereum: caller}, () => contract.methods.transfer(receiver, token.tokenId).send({from: caller, gas: helper.eth.DEFAULT_GAS}));
- console.log(`Original price: ${Number(cost) / Number(helper.balance.getOneTokenNominal())} UNQ`);
+ console.log(`\t[ETH NFT transfer] Original price: ${Number(cost) / Number(helper.balance.getOneTokenNominal())} UNQ`);
}
const api = helper.getApi();
- const defaultCoeff = (api.consts.configuration.defaultMinGasPrice as any).toBigInt();
+ // const defaultCoeff = (api.consts.configuration.defaultMinGasPrice as any).toBigInt();
+ const base = (await api.query.configuration.minGasPriceOverride() as any).toBigInt();
for (let i = -8; i < 8; i++) {
- const gasPrice = defaultCoeff + defaultCoeff / 100000n * BigInt(i);
+ const gasPrice = base + base / 100000n * BigInt(i);
const gasPriceStr = '0x' + gasPrice.toString(16);
await helper.signTransaction(alice, api.tx.sudo.sudo(api.tx.configuration.setMinGasPriceOverride(gasPrice)));
- const coefficient = (await api.query.configuration.minGasPriceOverride() as any).toBigInt();
+ const coefficient = new Fract((await api.query.configuration.minGasPriceOverride() as any).toBigInt());
const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New collection', tokenPrefix: 'NEW'});
const token = await collection.mintToken(alice, {Ethereum: caller});
const address = helper.ethAddress.fromCollectionId(collection.collectionId);
const contract = helper.ethNativeContract.collection(address, 'nft', caller);
- const transferPrice = await helper.eth.calculateFee({Ethereum: caller}, () => contract.methods.transfer(receiver, token.tokenId).send({from: caller, gasPrice: gasPriceStr, gas: helper.eth.DEFAULT_GAS}));
+ const transferPrice = new Fract(await helper.eth.calculateFee({Ethereum: caller}, () => contract.methods.transfer(receiver, token.tokenId).send({from: caller, gasPrice: gasPriceStr, gas: helper.eth.DEFAULT_GAS})));
dataPoints.push({x: transferPrice, y: coefficient});
}
const {a, b} = linearRegression(dataPoints);
- // console.log(`Error: ${error(dataPoints, x => a*x+b)}`);
+ const hyp = hypothesisLinear(a, b);
+ // console.log(`\t[ETH NFT transfer] Error: ${_error(dataPoints, hyp).toNumber()}`);
- // * 0.15 = * 10000 / 66666
- const perfectValue = a * helper.balance.getOneTokenNominal() * 1000000n / 6666666n + b;
- await helper.signTransaction(alice, api.tx.sudo.sudo(api.tx.configuration.setMinGasPriceOverride(perfectValue.toString())));
+ // 0.15 UNQ
+ const perfectValue = hyp(rpn(new Fract(helper.balance.getOneTokenNominal()), new Fract(15n, 100n), '*'));
+ await helper.signTransaction(alice, api.tx.sudo.sudo(api.tx.configuration.setMinGasPriceOverride(perfectValue.toBigInt())));
{
const collection = await helper.nft.mintCollection(alice, {name: 'New', description: 'New collection', tokenPrefix: 'NEW'});
@@ -160,18 +291,26 @@
const cost = await helper.eth.calculateFee({Ethereum: caller}, () => contract.methods.transfer(receiver, token.tokenId).send({from: caller, gas: helper.eth.DEFAULT_GAS}));
- console.log(`Calibrated price: ${Number(cost) / Number(helper.balance.getOneTokenNominal())} UNQ`);
+ console.log(`\t[ETH NFT transfer] Calibrated price: ${Number(cost) / Number(helper.balance.getOneTokenNominal())} UNQ`);
}
}
(async () => {
await usingEthPlaygrounds(async (helper: EthUniqueHelper, privateKey) => {
- // Second run slightly reduces error sometimes, as price line is not actually straight, this is a curve
+ // Subsequent runs reduce error, as price line is not actually straight, this is a curve
+
+ const iterations = 3;
+
+ console.log('[Calibrate WeightToFee]');
+ for (let i = 0; i < iterations; i++) {
+ await calibrateWeightToFee(helper, privateKey);
+ }
- await calibrateWeightToFee(helper, privateKey);
- await calibrateWeightToFee(helper, privateKey);
+ console.log();
- await calibrateMinGasPrice(helper, privateKey);
- await calibrateMinGasPrice(helper, privateKey);
+ console.log('[Calibrate MinGasPrice]');
+ for (let i = 0; i < iterations; i++) {
+ await calibrateMinGasPrice(helper, privateKey);
+ }
});
})();
tests/src/eth/ethFeesAreCorrect.test.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/eth/ethFeesAreCorrect.test.ts
@@ -0,0 +1,66 @@
+// 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://witww.gnu.org/licenses/>.
+
+import {IKeyringPair} from '@polkadot/types/types';
+import {itEth, usingEthPlaygrounds, expect} from './util';
+
+describe('Eth fees are correct', () => {
+ let donor: IKeyringPair;
+ let minter: IKeyringPair;
+ let alice: IKeyringPair;
+
+ before(async () => {
+ await usingEthPlaygrounds(async (helper, privateKey) => {
+ donor = await privateKey({filename: __filename});
+ [minter, alice] = await helper.arrange.createAccounts([100n, 200n], donor);
+ });
+ });
+
+
+ itEth('web3 fees are the same as evm.call fees', async ({helper}) => {
+ const collection = await helper.nft.mintCollection(minter, {});
+
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const receiver = await helper.eth.createAccountWithBalance(donor);
+ const aliceEth = helper.address.substrateToEth(alice.address);
+
+ const {tokenId: tokenA} = await collection.mintToken(minter, {Ethereum: owner});
+ const {tokenId: tokenB} = await collection.mintToken(minter, {Ethereum: aliceEth});
+
+ const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);
+ const contract = helper.ethNativeContract.collection(collectionAddress, 'nft', owner);
+
+ const balanceBeforeWeb3Transfer = await helper.balance.getEthereum(owner);
+ await contract.methods.transfer(receiver, tokenA).send({from: owner});
+ const balanceAfterWeb3Transfer = await helper.balance.getEthereum(owner);
+ const web3Diff = balanceBeforeWeb3Transfer - balanceAfterWeb3Transfer;
+
+ const encodedCall = contract.methods.transfer(receiver, tokenB)
+ .encodeABI();
+
+ const balanceBeforeEvmCall = await helper.balance.getSubstrate(alice.address);
+ await helper.eth.sendEVM(
+ alice,
+ collectionAddress,
+ encodedCall,
+ '0',
+ );
+ const balanceAfterEvmCall = await helper.balance.getSubstrate(alice.address);
+ const evmCallDiff = balanceBeforeEvmCall - balanceAfterEvmCall;
+
+ expect(web3Diff).to.be.equal(evmCallDiff);
+ });
+});
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -82,7 +82,7 @@
appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;
dayRelayBlocks: u32 & AugmentedConst<ApiType>;
defaultMinGasPrice: u64 & AugmentedConst<ApiType>;
- defaultWeightToFeeCoefficient: u32 & AugmentedConst<ApiType>;
+ defaultWeightToFeeCoefficient: u64 & AugmentedConst<ApiType>;
maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;
/**
* Generic const
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -162,7 +162,7 @@
configuration: {
appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;
minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
- weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -16,7 +16,7 @@
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
-import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
+import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from '@polkadot/types/interfaces/contracts';
import type { BlockStats } from '@polkadot/types/interfaces/dev';
import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
@@ -24,7 +24,7 @@
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
-import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
+import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
import type { AccountId, AccountId32, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
@@ -174,7 +174,7 @@
* @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead
* Instantiate a new contract
**/
- instantiate: AugmentedRpc<(request: InstantiateRequest | { origin?: any; value?: any; gasLimit?: any; storageDepositLimit?: any; code?: any; data?: any; salt?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<ContractInstantiateResult>>;
+ instantiate: AugmentedRpc<(request: InstantiateRequestV1 | { origin?: any; value?: any; gasLimit?: any; code?: any; data?: any; salt?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<ContractInstantiateResult>>;
/**
* @deprecated Not available in newer versions of the contracts interfaces
* Returns the projected time a given contract will be able to sustain paying its rent
@@ -426,13 +426,15 @@
};
payment: {
/**
+ * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead
* Query the detailed fee of a given encoded extrinsic
**/
queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
/**
+ * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead
* Retrieves the fee information for an encoded extrinsic
**/
- queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;
+ queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
};
rmrk: {
/**
tests/src/interfaces/augment-api-runtime.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-runtime.ts
+++ b/tests/src/interfaces/augment-api-runtime.ts
@@ -6,7 +6,7 @@
import '@polkadot/api-base/types/calls';
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
-import type { Bytes, Null, Option, Result, U256, Vec, bool, u256, u64 } from '@polkadot/types-codec';
+import type { Bytes, Null, Option, Result, U256, Vec, bool, u256, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
@@ -16,6 +16,7 @@
import type { EvmAccount, EvmCallInfo, EvmCreateInfo } from '@polkadot/types/interfaces/evm';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
+import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { AccountId, Block, H160, H256, Header, Index, KeyTypeId, Permill, SlotDuration } from '@polkadot/types/interfaces/runtime';
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system';
@@ -228,5 +229,20 @@
**/
[key: string]: DecoratedCallBase<ApiType>;
};
+ /** 0x37c8bb1350a9a2a8/2 */
+ transactionPaymentApi: {
+ /**
+ * The transaction fee details
+ **/
+ queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
+ /**
+ * The transaction info
+ **/
+ queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
+ /**
+ * Generic call
+ **/
+ [key: string]: DecoratedCallBase<ApiType>;
+ };
} // AugmentedCalls
} // declare module
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -217,7 +217,7 @@
configuration: {
setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;
setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;
- setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
+ setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;
setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;
/**
* Generic tx
@@ -1432,6 +1432,23 @@
**/
destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
+ * Repairs a collection if the data was somehow corrupted.
+ *
+ * # Arguments
+ *
+ * * `collection_id`: ID of the collection to repair.
+ **/
+ forceRepairCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * Repairs a token if the data was somehow corrupted.
+ *
+ * # Arguments
+ *
+ * * `collection_id`: ID of the collection the item belongs to.
+ * * `item_id`: ID of the item.
+ **/
+ forceRepairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
+ /**
* Remove admin of a collection.
*
* An admin address can remove itself. List of admins may become empty,
@@ -1474,15 +1491,6 @@
* * `address`: ID of the address to be removed from the allowlist.
**/
removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
- /**
- * Repairs a broken item
- *
- * # Arguments
- *
- * * `collection_id`: ID of the collection the item belongs to.
- * * `item_id`: ID of the item.
- **/
- repairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
/**
* Re-partition a refungible token, while owning all of its parts/pieces.
*
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -24,7 +24,7 @@
import type { StatementKind } from '@polkadot/types/interfaces/claims';
import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
-import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
+import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractExecResultU64, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractInstantiateResultU64, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
@@ -47,7 +47,7 @@
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
-import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
+import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment';
import type { Approvals } from '@polkadot/types/interfaces/poll';
import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
@@ -273,10 +273,12 @@
ContractExecResultTo255: ContractExecResultTo255;
ContractExecResultTo260: ContractExecResultTo260;
ContractExecResultTo267: ContractExecResultTo267;
+ ContractExecResultU64: ContractExecResultU64;
ContractInfo: ContractInfo;
ContractInstantiateResult: ContractInstantiateResult;
ContractInstantiateResultTo267: ContractInstantiateResultTo267;
ContractInstantiateResultTo299: ContractInstantiateResultTo299;
+ ContractInstantiateResultU64: ContractInstantiateResultU64;
ContractLayoutArray: ContractLayoutArray;
ContractLayoutCell: ContractLayoutCell;
ContractLayoutEnum: ContractLayoutEnum;
@@ -1057,6 +1059,8 @@
RpcMethods: RpcMethods;
RuntimeDbWeight: RuntimeDbWeight;
RuntimeDispatchInfo: RuntimeDispatchInfo;
+ RuntimeDispatchInfoV1: RuntimeDispatchInfoV1;
+ RuntimeDispatchInfoV2: RuntimeDispatchInfoV2;
RuntimeVersion: RuntimeVersion;
RuntimeVersionApi: RuntimeVersionApi;
RuntimeVersionPartial: RuntimeVersionPartial;
tests/src/interfaces/default/types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: SpWeightsWeightV2Weight;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: SpWeightsWeightV2Weight;50 readonly requiredWeight: SpWeightsWeightV2Weight;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: SpWeightsWeightV2Weight;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: SpWeightsWeightV2Weight;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: SpWeightsWeightV2Weight;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmpQueueCall */157export interface CumulusPalletXcmpQueueCall extends Enum {158 readonly isServiceOverweight: boolean;159 readonly asServiceOverweight: {160 readonly index: u64;161 readonly weightLimit: u64;162 } & Struct;163 readonly isSuspendXcmExecution: boolean;164 readonly isResumeXcmExecution: boolean;165 readonly isUpdateSuspendThreshold: boolean;166 readonly asUpdateSuspendThreshold: {167 readonly new_: u32;168 } & Struct;169 readonly isUpdateDropThreshold: boolean;170 readonly asUpdateDropThreshold: {171 readonly new_: u32;172 } & Struct;173 readonly isUpdateResumeThreshold: boolean;174 readonly asUpdateResumeThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateThresholdWeight: boolean;178 readonly asUpdateThresholdWeight: {179 readonly new_: u64;180 } & Struct;181 readonly isUpdateWeightRestrictDecay: boolean;182 readonly asUpdateWeightRestrictDecay: {183 readonly new_: u64;184 } & Struct;185 readonly isUpdateXcmpMaxIndividualWeight: boolean;186 readonly asUpdateXcmpMaxIndividualWeight: {187 readonly new_: u64;188 } & Struct;189 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';190}191192/** @name CumulusPalletXcmpQueueError */193export interface CumulusPalletXcmpQueueError extends Enum {194 readonly isFailedToSend: boolean;195 readonly isBadXcmOrigin: boolean;196 readonly isBadXcm: boolean;197 readonly isBadOverweightIndex: boolean;198 readonly isWeightOverLimit: boolean;199 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';200}201202/** @name CumulusPalletXcmpQueueEvent */203export interface CumulusPalletXcmpQueueEvent extends Enum {204 readonly isSuccess: boolean;205 readonly asSuccess: {206 readonly messageHash: Option<H256>;207 readonly weight: SpWeightsWeightV2Weight;208 } & Struct;209 readonly isFail: boolean;210 readonly asFail: {211 readonly messageHash: Option<H256>;212 readonly error: XcmV2TraitsError;213 readonly weight: SpWeightsWeightV2Weight;214 } & Struct;215 readonly isBadVersion: boolean;216 readonly asBadVersion: {217 readonly messageHash: Option<H256>;218 } & Struct;219 readonly isBadFormat: boolean;220 readonly asBadFormat: {221 readonly messageHash: Option<H256>;222 } & Struct;223 readonly isUpwardMessageSent: boolean;224 readonly asUpwardMessageSent: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isXcmpMessageSent: boolean;228 readonly asXcmpMessageSent: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isOverweightEnqueued: boolean;232 readonly asOverweightEnqueued: {233 readonly sender: u32;234 readonly sentAt: u32;235 readonly index: u64;236 readonly required: SpWeightsWeightV2Weight;237 } & Struct;238 readonly isOverweightServiced: boolean;239 readonly asOverweightServiced: {240 readonly index: u64;241 readonly used: SpWeightsWeightV2Weight;242 } & Struct;243 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';244}245246/** @name CumulusPalletXcmpQueueInboundChannelDetails */247export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {248 readonly sender: u32;249 readonly state: CumulusPalletXcmpQueueInboundState;250 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;251}252253/** @name CumulusPalletXcmpQueueInboundState */254export interface CumulusPalletXcmpQueueInboundState extends Enum {255 readonly isOk: boolean;256 readonly isSuspended: boolean;257 readonly type: 'Ok' | 'Suspended';258}259260/** @name CumulusPalletXcmpQueueOutboundChannelDetails */261export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {262 readonly recipient: u32;263 readonly state: CumulusPalletXcmpQueueOutboundState;264 readonly signalsExist: bool;265 readonly firstIndex: u16;266 readonly lastIndex: u16;267}268269/** @name CumulusPalletXcmpQueueOutboundState */270export interface CumulusPalletXcmpQueueOutboundState extends Enum {271 readonly isOk: boolean;272 readonly isSuspended: boolean;273 readonly type: 'Ok' | 'Suspended';274}275276/** @name CumulusPalletXcmpQueueQueueConfigData */277export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {278 readonly suspendThreshold: u32;279 readonly dropThreshold: u32;280 readonly resumeThreshold: u32;281 readonly thresholdWeight: SpWeightsWeightV2Weight;282 readonly weightRestrictDecay: SpWeightsWeightV2Weight;283 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;284}285286/** @name CumulusPrimitivesParachainInherentParachainInherentData */287export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {288 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;289 readonly relayChainState: SpTrieStorageProof;290 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;291 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;292}293294/** @name EthbloomBloom */295export interface EthbloomBloom extends U8aFixed {}296297/** @name EthereumBlock */298export interface EthereumBlock extends Struct {299 readonly header: EthereumHeader;300 readonly transactions: Vec<EthereumTransactionTransactionV2>;301 readonly ommers: Vec<EthereumHeader>;302}303304/** @name EthereumHeader */305export interface EthereumHeader extends Struct {306 readonly parentHash: H256;307 readonly ommersHash: H256;308 readonly beneficiary: H160;309 readonly stateRoot: H256;310 readonly transactionsRoot: H256;311 readonly receiptsRoot: H256;312 readonly logsBloom: EthbloomBloom;313 readonly difficulty: U256;314 readonly number: U256;315 readonly gasLimit: U256;316 readonly gasUsed: U256;317 readonly timestamp: u64;318 readonly extraData: Bytes;319 readonly mixHash: H256;320 readonly nonce: EthereumTypesHashH64;321}322323/** @name EthereumLog */324export interface EthereumLog extends Struct {325 readonly address: H160;326 readonly topics: Vec<H256>;327 readonly data: Bytes;328}329330/** @name EthereumReceiptEip658ReceiptData */331export interface EthereumReceiptEip658ReceiptData extends Struct {332 readonly statusCode: u8;333 readonly usedGas: U256;334 readonly logsBloom: EthbloomBloom;335 readonly logs: Vec<EthereumLog>;336}337338/** @name EthereumReceiptReceiptV3 */339export interface EthereumReceiptReceiptV3 extends Enum {340 readonly isLegacy: boolean;341 readonly asLegacy: EthereumReceiptEip658ReceiptData;342 readonly isEip2930: boolean;343 readonly asEip2930: EthereumReceiptEip658ReceiptData;344 readonly isEip1559: boolean;345 readonly asEip1559: EthereumReceiptEip658ReceiptData;346 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';347}348349/** @name EthereumTransactionAccessListItem */350export interface EthereumTransactionAccessListItem extends Struct {351 readonly address: H160;352 readonly storageKeys: Vec<H256>;353}354355/** @name EthereumTransactionEip1559Transaction */356export interface EthereumTransactionEip1559Transaction extends Struct {357 readonly chainId: u64;358 readonly nonce: U256;359 readonly maxPriorityFeePerGas: U256;360 readonly maxFeePerGas: U256;361 readonly gasLimit: U256;362 readonly action: EthereumTransactionTransactionAction;363 readonly value: U256;364 readonly input: Bytes;365 readonly accessList: Vec<EthereumTransactionAccessListItem>;366 readonly oddYParity: bool;367 readonly r: H256;368 readonly s: H256;369}370371/** @name EthereumTransactionEip2930Transaction */372export interface EthereumTransactionEip2930Transaction extends Struct {373 readonly chainId: u64;374 readonly nonce: U256;375 readonly gasPrice: U256;376 readonly gasLimit: U256;377 readonly action: EthereumTransactionTransactionAction;378 readonly value: U256;379 readonly input: Bytes;380 readonly accessList: Vec<EthereumTransactionAccessListItem>;381 readonly oddYParity: bool;382 readonly r: H256;383 readonly s: H256;384}385386/** @name EthereumTransactionLegacyTransaction */387export interface EthereumTransactionLegacyTransaction extends Struct {388 readonly nonce: U256;389 readonly gasPrice: U256;390 readonly gasLimit: U256;391 readonly action: EthereumTransactionTransactionAction;392 readonly value: U256;393 readonly input: Bytes;394 readonly signature: EthereumTransactionTransactionSignature;395}396397/** @name EthereumTransactionTransactionAction */398export interface EthereumTransactionTransactionAction extends Enum {399 readonly isCall: boolean;400 readonly asCall: H160;401 readonly isCreate: boolean;402 readonly type: 'Call' | 'Create';403}404405/** @name EthereumTransactionTransactionSignature */406export interface EthereumTransactionTransactionSignature extends Struct {407 readonly v: u64;408 readonly r: H256;409 readonly s: H256;410}411412/** @name EthereumTransactionTransactionV2 */413export interface EthereumTransactionTransactionV2 extends Enum {414 readonly isLegacy: boolean;415 readonly asLegacy: EthereumTransactionLegacyTransaction;416 readonly isEip2930: boolean;417 readonly asEip2930: EthereumTransactionEip2930Transaction;418 readonly isEip1559: boolean;419 readonly asEip1559: EthereumTransactionEip1559Transaction;420 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';421}422423/** @name EthereumTypesHashH64 */424export interface EthereumTypesHashH64 extends U8aFixed {}425426/** @name EvmCoreErrorExitError */427export interface EvmCoreErrorExitError extends Enum {428 readonly isStackUnderflow: boolean;429 readonly isStackOverflow: boolean;430 readonly isInvalidJump: boolean;431 readonly isInvalidRange: boolean;432 readonly isDesignatedInvalid: boolean;433 readonly isCallTooDeep: boolean;434 readonly isCreateCollision: boolean;435 readonly isCreateContractLimit: boolean;436 readonly isOutOfOffset: boolean;437 readonly isOutOfGas: boolean;438 readonly isOutOfFund: boolean;439 readonly isPcUnderflow: boolean;440 readonly isCreateEmpty: boolean;441 readonly isOther: boolean;442 readonly asOther: Text;443 readonly isInvalidCode: boolean;444 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';445}446447/** @name EvmCoreErrorExitFatal */448export interface EvmCoreErrorExitFatal extends Enum {449 readonly isNotSupported: boolean;450 readonly isUnhandledInterrupt: boolean;451 readonly isCallErrorAsFatal: boolean;452 readonly asCallErrorAsFatal: EvmCoreErrorExitError;453 readonly isOther: boolean;454 readonly asOther: Text;455 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';456}457458/** @name EvmCoreErrorExitReason */459export interface EvmCoreErrorExitReason extends Enum {460 readonly isSucceed: boolean;461 readonly asSucceed: EvmCoreErrorExitSucceed;462 readonly isError: boolean;463 readonly asError: EvmCoreErrorExitError;464 readonly isRevert: boolean;465 readonly asRevert: EvmCoreErrorExitRevert;466 readonly isFatal: boolean;467 readonly asFatal: EvmCoreErrorExitFatal;468 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';469}470471/** @name EvmCoreErrorExitRevert */472export interface EvmCoreErrorExitRevert extends Enum {473 readonly isReverted: boolean;474 readonly type: 'Reverted';475}476477/** @name EvmCoreErrorExitSucceed */478export interface EvmCoreErrorExitSucceed extends Enum {479 readonly isStopped: boolean;480 readonly isReturned: boolean;481 readonly isSuicided: boolean;482 readonly type: 'Stopped' | 'Returned' | 'Suicided';483}484485/** @name FpRpcTransactionStatus */486export interface FpRpcTransactionStatus extends Struct {487 readonly transactionHash: H256;488 readonly transactionIndex: u32;489 readonly from: H160;490 readonly to: Option<H160>;491 readonly contractAddress: Option<H160>;492 readonly logs: Vec<EthereumLog>;493 readonly logsBloom: EthbloomBloom;494}495496/** @name FrameSupportDispatchDispatchClass */497export interface FrameSupportDispatchDispatchClass extends Enum {498 readonly isNormal: boolean;499 readonly isOperational: boolean;500 readonly isMandatory: boolean;501 readonly type: 'Normal' | 'Operational' | 'Mandatory';502}503504/** @name FrameSupportDispatchDispatchInfo */505export interface FrameSupportDispatchDispatchInfo extends Struct {506 readonly weight: SpWeightsWeightV2Weight;507 readonly class: FrameSupportDispatchDispatchClass;508 readonly paysFee: FrameSupportDispatchPays;509}510511/** @name FrameSupportDispatchPays */512export interface FrameSupportDispatchPays extends Enum {513 readonly isYes: boolean;514 readonly isNo: boolean;515 readonly type: 'Yes' | 'No';516}517518/** @name FrameSupportDispatchPerDispatchClassU32 */519export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {520 readonly normal: u32;521 readonly operational: u32;522 readonly mandatory: u32;523}524525/** @name FrameSupportDispatchPerDispatchClassWeight */526export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {527 readonly normal: SpWeightsWeightV2Weight;528 readonly operational: SpWeightsWeightV2Weight;529 readonly mandatory: SpWeightsWeightV2Weight;530}531532/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */533export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {534 readonly normal: FrameSystemLimitsWeightsPerClass;535 readonly operational: FrameSystemLimitsWeightsPerClass;536 readonly mandatory: FrameSystemLimitsWeightsPerClass;537}538539/** @name FrameSupportPalletId */540export interface FrameSupportPalletId extends U8aFixed {}541542/** @name FrameSupportTokensMiscBalanceStatus */543export interface FrameSupportTokensMiscBalanceStatus extends Enum {544 readonly isFree: boolean;545 readonly isReserved: boolean;546 readonly type: 'Free' | 'Reserved';547}548549/** @name FrameSystemAccountInfo */550export interface FrameSystemAccountInfo extends Struct {551 readonly nonce: u32;552 readonly consumers: u32;553 readonly providers: u32;554 readonly sufficients: u32;555 readonly data: PalletBalancesAccountData;556}557558/** @name FrameSystemCall */559export interface FrameSystemCall extends Enum {560 readonly isFillBlock: boolean;561 readonly asFillBlock: {562 readonly ratio: Perbill;563 } & Struct;564 readonly isRemark: boolean;565 readonly asRemark: {566 readonly remark: Bytes;567 } & Struct;568 readonly isSetHeapPages: boolean;569 readonly asSetHeapPages: {570 readonly pages: u64;571 } & Struct;572 readonly isSetCode: boolean;573 readonly asSetCode: {574 readonly code: Bytes;575 } & Struct;576 readonly isSetCodeWithoutChecks: boolean;577 readonly asSetCodeWithoutChecks: {578 readonly code: Bytes;579 } & Struct;580 readonly isSetStorage: boolean;581 readonly asSetStorage: {582 readonly items: Vec<ITuple<[Bytes, Bytes]>>;583 } & Struct;584 readonly isKillStorage: boolean;585 readonly asKillStorage: {586 readonly keys_: Vec<Bytes>;587 } & Struct;588 readonly isKillPrefix: boolean;589 readonly asKillPrefix: {590 readonly prefix: Bytes;591 readonly subkeys: u32;592 } & Struct;593 readonly isRemarkWithEvent: boolean;594 readonly asRemarkWithEvent: {595 readonly remark: Bytes;596 } & Struct;597 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';598}599600/** @name FrameSystemError */601export interface FrameSystemError extends Enum {602 readonly isInvalidSpecName: boolean;603 readonly isSpecVersionNeedsToIncrease: boolean;604 readonly isFailedToExtractRuntimeVersion: boolean;605 readonly isNonDefaultComposite: boolean;606 readonly isNonZeroRefCount: boolean;607 readonly isCallFiltered: boolean;608 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';609}610611/** @name FrameSystemEvent */612export interface FrameSystemEvent extends Enum {613 readonly isExtrinsicSuccess: boolean;614 readonly asExtrinsicSuccess: {615 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;616 } & Struct;617 readonly isExtrinsicFailed: boolean;618 readonly asExtrinsicFailed: {619 readonly dispatchError: SpRuntimeDispatchError;620 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;621 } & Struct;622 readonly isCodeUpdated: boolean;623 readonly isNewAccount: boolean;624 readonly asNewAccount: {625 readonly account: AccountId32;626 } & Struct;627 readonly isKilledAccount: boolean;628 readonly asKilledAccount: {629 readonly account: AccountId32;630 } & Struct;631 readonly isRemarked: boolean;632 readonly asRemarked: {633 readonly sender: AccountId32;634 readonly hash_: H256;635 } & Struct;636 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';637}638639/** @name FrameSystemEventRecord */640export interface FrameSystemEventRecord extends Struct {641 readonly phase: FrameSystemPhase;642 readonly event: Event;643 readonly topics: Vec<H256>;644}645646/** @name FrameSystemExtensionsCheckGenesis */647export interface FrameSystemExtensionsCheckGenesis extends Null {}648649/** @name FrameSystemExtensionsCheckNonce */650export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}651652/** @name FrameSystemExtensionsCheckSpecVersion */653export interface FrameSystemExtensionsCheckSpecVersion extends Null {}654655/** @name FrameSystemExtensionsCheckTxVersion */656export interface FrameSystemExtensionsCheckTxVersion extends Null {}657658/** @name FrameSystemExtensionsCheckWeight */659export interface FrameSystemExtensionsCheckWeight extends Null {}660661/** @name FrameSystemLastRuntimeUpgradeInfo */662export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {663 readonly specVersion: Compact<u32>;664 readonly specName: Text;665}666667/** @name FrameSystemLimitsBlockLength */668export interface FrameSystemLimitsBlockLength extends Struct {669 readonly max: FrameSupportDispatchPerDispatchClassU32;670}671672/** @name FrameSystemLimitsBlockWeights */673export interface FrameSystemLimitsBlockWeights extends Struct {674 readonly baseBlock: SpWeightsWeightV2Weight;675 readonly maxBlock: SpWeightsWeightV2Weight;676 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;677}678679/** @name FrameSystemLimitsWeightsPerClass */680export interface FrameSystemLimitsWeightsPerClass extends Struct {681 readonly baseExtrinsic: SpWeightsWeightV2Weight;682 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;683 readonly maxTotal: Option<SpWeightsWeightV2Weight>;684 readonly reserved: Option<SpWeightsWeightV2Weight>;685}686687/** @name FrameSystemPhase */688export interface FrameSystemPhase extends Enum {689 readonly isApplyExtrinsic: boolean;690 readonly asApplyExtrinsic: u32;691 readonly isFinalization: boolean;692 readonly isInitialization: boolean;693 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';694}695696/** @name OpalRuntimeRuntime */697export interface OpalRuntimeRuntime extends Null {}698699/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */700export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}701702/** @name OrmlTokensAccountData */703export interface OrmlTokensAccountData extends Struct {704 readonly free: u128;705 readonly reserved: u128;706 readonly frozen: u128;707}708709/** @name OrmlTokensBalanceLock */710export interface OrmlTokensBalanceLock extends Struct {711 readonly id: U8aFixed;712 readonly amount: u128;713}714715/** @name OrmlTokensModuleCall */716export interface OrmlTokensModuleCall extends Enum {717 readonly isTransfer: boolean;718 readonly asTransfer: {719 readonly dest: MultiAddress;720 readonly currencyId: PalletForeignAssetsAssetIds;721 readonly amount: Compact<u128>;722 } & Struct;723 readonly isTransferAll: boolean;724 readonly asTransferAll: {725 readonly dest: MultiAddress;726 readonly currencyId: PalletForeignAssetsAssetIds;727 readonly keepAlive: bool;728 } & Struct;729 readonly isTransferKeepAlive: boolean;730 readonly asTransferKeepAlive: {731 readonly dest: MultiAddress;732 readonly currencyId: PalletForeignAssetsAssetIds;733 readonly amount: Compact<u128>;734 } & Struct;735 readonly isForceTransfer: boolean;736 readonly asForceTransfer: {737 readonly source: MultiAddress;738 readonly dest: MultiAddress;739 readonly currencyId: PalletForeignAssetsAssetIds;740 readonly amount: Compact<u128>;741 } & Struct;742 readonly isSetBalance: boolean;743 readonly asSetBalance: {744 readonly who: MultiAddress;745 readonly currencyId: PalletForeignAssetsAssetIds;746 readonly newFree: Compact<u128>;747 readonly newReserved: Compact<u128>;748 } & Struct;749 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';750}751752/** @name OrmlTokensModuleError */753export interface OrmlTokensModuleError extends Enum {754 readonly isBalanceTooLow: boolean;755 readonly isAmountIntoBalanceFailed: boolean;756 readonly isLiquidityRestrictions: boolean;757 readonly isMaxLocksExceeded: boolean;758 readonly isKeepAlive: boolean;759 readonly isExistentialDeposit: boolean;760 readonly isDeadAccount: boolean;761 readonly isTooManyReserves: boolean;762 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';763}764765/** @name OrmlTokensModuleEvent */766export interface OrmlTokensModuleEvent extends Enum {767 readonly isEndowed: boolean;768 readonly asEndowed: {769 readonly currencyId: PalletForeignAssetsAssetIds;770 readonly who: AccountId32;771 readonly amount: u128;772 } & Struct;773 readonly isDustLost: boolean;774 readonly asDustLost: {775 readonly currencyId: PalletForeignAssetsAssetIds;776 readonly who: AccountId32;777 readonly amount: u128;778 } & Struct;779 readonly isTransfer: boolean;780 readonly asTransfer: {781 readonly currencyId: PalletForeignAssetsAssetIds;782 readonly from: AccountId32;783 readonly to: AccountId32;784 readonly amount: u128;785 } & Struct;786 readonly isReserved: boolean;787 readonly asReserved: {788 readonly currencyId: PalletForeignAssetsAssetIds;789 readonly who: AccountId32;790 readonly amount: u128;791 } & Struct;792 readonly isUnreserved: boolean;793 readonly asUnreserved: {794 readonly currencyId: PalletForeignAssetsAssetIds;795 readonly who: AccountId32;796 readonly amount: u128;797 } & Struct;798 readonly isReserveRepatriated: boolean;799 readonly asReserveRepatriated: {800 readonly currencyId: PalletForeignAssetsAssetIds;801 readonly from: AccountId32;802 readonly to: AccountId32;803 readonly amount: u128;804 readonly status: FrameSupportTokensMiscBalanceStatus;805 } & Struct;806 readonly isBalanceSet: boolean;807 readonly asBalanceSet: {808 readonly currencyId: PalletForeignAssetsAssetIds;809 readonly who: AccountId32;810 readonly free: u128;811 readonly reserved: u128;812 } & Struct;813 readonly isTotalIssuanceSet: boolean;814 readonly asTotalIssuanceSet: {815 readonly currencyId: PalletForeignAssetsAssetIds;816 readonly amount: u128;817 } & Struct;818 readonly isWithdrawn: boolean;819 readonly asWithdrawn: {820 readonly currencyId: PalletForeignAssetsAssetIds;821 readonly who: AccountId32;822 readonly amount: u128;823 } & Struct;824 readonly isSlashed: boolean;825 readonly asSlashed: {826 readonly currencyId: PalletForeignAssetsAssetIds;827 readonly who: AccountId32;828 readonly freeAmount: u128;829 readonly reservedAmount: u128;830 } & Struct;831 readonly isDeposited: boolean;832 readonly asDeposited: {833 readonly currencyId: PalletForeignAssetsAssetIds;834 readonly who: AccountId32;835 readonly amount: u128;836 } & Struct;837 readonly isLockSet: boolean;838 readonly asLockSet: {839 readonly lockId: U8aFixed;840 readonly currencyId: PalletForeignAssetsAssetIds;841 readonly who: AccountId32;842 readonly amount: u128;843 } & Struct;844 readonly isLockRemoved: boolean;845 readonly asLockRemoved: {846 readonly lockId: U8aFixed;847 readonly currencyId: PalletForeignAssetsAssetIds;848 readonly who: AccountId32;849 } & Struct;850 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';851}852853/** @name OrmlTokensReserveData */854export interface OrmlTokensReserveData extends Struct {855 readonly id: Null;856 readonly amount: u128;857}858859/** @name OrmlVestingModuleCall */860export interface OrmlVestingModuleCall extends Enum {861 readonly isClaim: boolean;862 readonly isVestedTransfer: boolean;863 readonly asVestedTransfer: {864 readonly dest: MultiAddress;865 readonly schedule: OrmlVestingVestingSchedule;866 } & Struct;867 readonly isUpdateVestingSchedules: boolean;868 readonly asUpdateVestingSchedules: {869 readonly who: MultiAddress;870 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;871 } & Struct;872 readonly isClaimFor: boolean;873 readonly asClaimFor: {874 readonly dest: MultiAddress;875 } & Struct;876 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';877}878879/** @name OrmlVestingModuleError */880export interface OrmlVestingModuleError extends Enum {881 readonly isZeroVestingPeriod: boolean;882 readonly isZeroVestingPeriodCount: boolean;883 readonly isInsufficientBalanceToLock: boolean;884 readonly isTooManyVestingSchedules: boolean;885 readonly isAmountLow: boolean;886 readonly isMaxVestingSchedulesExceeded: boolean;887 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';888}889890/** @name OrmlVestingModuleEvent */891export interface OrmlVestingModuleEvent extends Enum {892 readonly isVestingScheduleAdded: boolean;893 readonly asVestingScheduleAdded: {894 readonly from: AccountId32;895 readonly to: AccountId32;896 readonly vestingSchedule: OrmlVestingVestingSchedule;897 } & Struct;898 readonly isClaimed: boolean;899 readonly asClaimed: {900 readonly who: AccountId32;901 readonly amount: u128;902 } & Struct;903 readonly isVestingSchedulesUpdated: boolean;904 readonly asVestingSchedulesUpdated: {905 readonly who: AccountId32;906 } & Struct;907 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';908}909910/** @name OrmlVestingVestingSchedule */911export interface OrmlVestingVestingSchedule extends Struct {912 readonly start: u32;913 readonly period: u32;914 readonly periodCount: u32;915 readonly perPeriod: Compact<u128>;916}917918/** @name OrmlXtokensModuleCall */919export interface OrmlXtokensModuleCall extends Enum {920 readonly isTransfer: boolean;921 readonly asTransfer: {922 readonly currencyId: PalletForeignAssetsAssetIds;923 readonly amount: u128;924 readonly dest: XcmVersionedMultiLocation;925 readonly destWeightLimit: XcmV2WeightLimit;926 } & Struct;927 readonly isTransferMultiasset: boolean;928 readonly asTransferMultiasset: {929 readonly asset: XcmVersionedMultiAsset;930 readonly dest: XcmVersionedMultiLocation;931 readonly destWeightLimit: XcmV2WeightLimit;932 } & Struct;933 readonly isTransferWithFee: boolean;934 readonly asTransferWithFee: {935 readonly currencyId: PalletForeignAssetsAssetIds;936 readonly amount: u128;937 readonly fee: u128;938 readonly dest: XcmVersionedMultiLocation;939 readonly destWeightLimit: XcmV2WeightLimit;940 } & Struct;941 readonly isTransferMultiassetWithFee: boolean;942 readonly asTransferMultiassetWithFee: {943 readonly asset: XcmVersionedMultiAsset;944 readonly fee: XcmVersionedMultiAsset;945 readonly dest: XcmVersionedMultiLocation;946 readonly destWeightLimit: XcmV2WeightLimit;947 } & Struct;948 readonly isTransferMulticurrencies: boolean;949 readonly asTransferMulticurrencies: {950 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;951 readonly feeItem: u32;952 readonly dest: XcmVersionedMultiLocation;953 readonly destWeightLimit: XcmV2WeightLimit;954 } & Struct;955 readonly isTransferMultiassets: boolean;956 readonly asTransferMultiassets: {957 readonly assets: XcmVersionedMultiAssets;958 readonly feeItem: u32;959 readonly dest: XcmVersionedMultiLocation;960 readonly destWeightLimit: XcmV2WeightLimit;961 } & Struct;962 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';963}964965/** @name OrmlXtokensModuleError */966export interface OrmlXtokensModuleError extends Enum {967 readonly isAssetHasNoReserve: boolean;968 readonly isNotCrossChainTransfer: boolean;969 readonly isInvalidDest: boolean;970 readonly isNotCrossChainTransferableCurrency: boolean;971 readonly isUnweighableMessage: boolean;972 readonly isXcmExecutionFailed: boolean;973 readonly isCannotReanchor: boolean;974 readonly isInvalidAncestry: boolean;975 readonly isInvalidAsset: boolean;976 readonly isDestinationNotInvertible: boolean;977 readonly isBadVersion: boolean;978 readonly isDistinctReserveForAssetAndFee: boolean;979 readonly isZeroFee: boolean;980 readonly isZeroAmount: boolean;981 readonly isTooManyAssetsBeingSent: boolean;982 readonly isAssetIndexNonExistent: boolean;983 readonly isFeeNotEnough: boolean;984 readonly isNotSupportedMultiLocation: boolean;985 readonly isMinXcmFeeNotDefined: boolean;986 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';987}988989/** @name OrmlXtokensModuleEvent */990export interface OrmlXtokensModuleEvent extends Enum {991 readonly isTransferredMultiAssets: boolean;992 readonly asTransferredMultiAssets: {993 readonly sender: AccountId32;994 readonly assets: XcmV1MultiassetMultiAssets;995 readonly fee: XcmV1MultiAsset;996 readonly dest: XcmV1MultiLocation;997 } & Struct;998 readonly type: 'TransferredMultiAssets';999}10001001/** @name PalletAppPromotionCall */1002export interface PalletAppPromotionCall extends Enum {1003 readonly isSetAdminAddress: boolean;1004 readonly asSetAdminAddress: {1005 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1006 } & Struct;1007 readonly isStake: boolean;1008 readonly asStake: {1009 readonly amount: u128;1010 } & Struct;1011 readonly isUnstake: boolean;1012 readonly isSponsorCollection: boolean;1013 readonly asSponsorCollection: {1014 readonly collectionId: u32;1015 } & Struct;1016 readonly isStopSponsoringCollection: boolean;1017 readonly asStopSponsoringCollection: {1018 readonly collectionId: u32;1019 } & Struct;1020 readonly isSponsorContract: boolean;1021 readonly asSponsorContract: {1022 readonly contractId: H160;1023 } & Struct;1024 readonly isStopSponsoringContract: boolean;1025 readonly asStopSponsoringContract: {1026 readonly contractId: H160;1027 } & Struct;1028 readonly isPayoutStakers: boolean;1029 readonly asPayoutStakers: {1030 readonly stakersNumber: Option<u8>;1031 } & Struct;1032 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1033}10341035/** @name PalletAppPromotionError */1036export interface PalletAppPromotionError extends Enum {1037 readonly isAdminNotSet: boolean;1038 readonly isNoPermission: boolean;1039 readonly isNotSufficientFunds: boolean;1040 readonly isPendingForBlockOverflow: boolean;1041 readonly isSponsorNotSet: boolean;1042 readonly isIncorrectLockedBalanceOperation: boolean;1043 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1044}10451046/** @name PalletAppPromotionEvent */1047export interface PalletAppPromotionEvent extends Enum {1048 readonly isStakingRecalculation: boolean;1049 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1050 readonly isStake: boolean;1051 readonly asStake: ITuple<[AccountId32, u128]>;1052 readonly isUnstake: boolean;1053 readonly asUnstake: ITuple<[AccountId32, u128]>;1054 readonly isSetAdmin: boolean;1055 readonly asSetAdmin: AccountId32;1056 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1057}10581059/** @name PalletBalancesAccountData */1060export interface PalletBalancesAccountData extends Struct {1061 readonly free: u128;1062 readonly reserved: u128;1063 readonly miscFrozen: u128;1064 readonly feeFrozen: u128;1065}10661067/** @name PalletBalancesBalanceLock */1068export interface PalletBalancesBalanceLock extends Struct {1069 readonly id: U8aFixed;1070 readonly amount: u128;1071 readonly reasons: PalletBalancesReasons;1072}10731074/** @name PalletBalancesCall */1075export interface PalletBalancesCall extends Enum {1076 readonly isTransfer: boolean;1077 readonly asTransfer: {1078 readonly dest: MultiAddress;1079 readonly value: Compact<u128>;1080 } & Struct;1081 readonly isSetBalance: boolean;1082 readonly asSetBalance: {1083 readonly who: MultiAddress;1084 readonly newFree: Compact<u128>;1085 readonly newReserved: Compact<u128>;1086 } & Struct;1087 readonly isForceTransfer: boolean;1088 readonly asForceTransfer: {1089 readonly source: MultiAddress;1090 readonly dest: MultiAddress;1091 readonly value: Compact<u128>;1092 } & Struct;1093 readonly isTransferKeepAlive: boolean;1094 readonly asTransferKeepAlive: {1095 readonly dest: MultiAddress;1096 readonly value: Compact<u128>;1097 } & Struct;1098 readonly isTransferAll: boolean;1099 readonly asTransferAll: {1100 readonly dest: MultiAddress;1101 readonly keepAlive: bool;1102 } & Struct;1103 readonly isForceUnreserve: boolean;1104 readonly asForceUnreserve: {1105 readonly who: MultiAddress;1106 readonly amount: u128;1107 } & Struct;1108 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1109}11101111/** @name PalletBalancesError */1112export interface PalletBalancesError extends Enum {1113 readonly isVestingBalance: boolean;1114 readonly isLiquidityRestrictions: boolean;1115 readonly isInsufficientBalance: boolean;1116 readonly isExistentialDeposit: boolean;1117 readonly isKeepAlive: boolean;1118 readonly isExistingVestingSchedule: boolean;1119 readonly isDeadAccount: boolean;1120 readonly isTooManyReserves: boolean;1121 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1122}11231124/** @name PalletBalancesEvent */1125export interface PalletBalancesEvent extends Enum {1126 readonly isEndowed: boolean;1127 readonly asEndowed: {1128 readonly account: AccountId32;1129 readonly freeBalance: u128;1130 } & Struct;1131 readonly isDustLost: boolean;1132 readonly asDustLost: {1133 readonly account: AccountId32;1134 readonly amount: u128;1135 } & Struct;1136 readonly isTransfer: boolean;1137 readonly asTransfer: {1138 readonly from: AccountId32;1139 readonly to: AccountId32;1140 readonly amount: u128;1141 } & Struct;1142 readonly isBalanceSet: boolean;1143 readonly asBalanceSet: {1144 readonly who: AccountId32;1145 readonly free: u128;1146 readonly reserved: u128;1147 } & Struct;1148 readonly isReserved: boolean;1149 readonly asReserved: {1150 readonly who: AccountId32;1151 readonly amount: u128;1152 } & Struct;1153 readonly isUnreserved: boolean;1154 readonly asUnreserved: {1155 readonly who: AccountId32;1156 readonly amount: u128;1157 } & Struct;1158 readonly isReserveRepatriated: boolean;1159 readonly asReserveRepatriated: {1160 readonly from: AccountId32;1161 readonly to: AccountId32;1162 readonly amount: u128;1163 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1164 } & Struct;1165 readonly isDeposit: boolean;1166 readonly asDeposit: {1167 readonly who: AccountId32;1168 readonly amount: u128;1169 } & Struct;1170 readonly isWithdraw: boolean;1171 readonly asWithdraw: {1172 readonly who: AccountId32;1173 readonly amount: u128;1174 } & Struct;1175 readonly isSlashed: boolean;1176 readonly asSlashed: {1177 readonly who: AccountId32;1178 readonly amount: u128;1179 } & Struct;1180 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1181}11821183/** @name PalletBalancesReasons */1184export interface PalletBalancesReasons extends Enum {1185 readonly isFee: boolean;1186 readonly isMisc: boolean;1187 readonly isAll: boolean;1188 readonly type: 'Fee' | 'Misc' | 'All';1189}11901191/** @name PalletBalancesReleases */1192export interface PalletBalancesReleases extends Enum {1193 readonly isV100: boolean;1194 readonly isV200: boolean;1195 readonly type: 'V100' | 'V200';1196}11971198/** @name PalletBalancesReserveData */1199export interface PalletBalancesReserveData extends Struct {1200 readonly id: U8aFixed;1201 readonly amount: u128;1202}12031204/** @name PalletCommonError */1205export interface PalletCommonError extends Enum {1206 readonly isCollectionNotFound: boolean;1207 readonly isMustBeTokenOwner: boolean;1208 readonly isNoPermission: boolean;1209 readonly isCantDestroyNotEmptyCollection: boolean;1210 readonly isPublicMintingNotAllowed: boolean;1211 readonly isAddressNotInAllowlist: boolean;1212 readonly isCollectionNameLimitExceeded: boolean;1213 readonly isCollectionDescriptionLimitExceeded: boolean;1214 readonly isCollectionTokenPrefixLimitExceeded: boolean;1215 readonly isTotalCollectionsLimitExceeded: boolean;1216 readonly isCollectionAdminCountExceeded: boolean;1217 readonly isCollectionLimitBoundsExceeded: boolean;1218 readonly isOwnerPermissionsCantBeReverted: boolean;1219 readonly isTransferNotAllowed: boolean;1220 readonly isAccountTokenLimitExceeded: boolean;1221 readonly isCollectionTokenLimitExceeded: boolean;1222 readonly isMetadataFlagFrozen: boolean;1223 readonly isTokenNotFound: boolean;1224 readonly isTokenValueTooLow: boolean;1225 readonly isApprovedValueTooLow: boolean;1226 readonly isCantApproveMoreThanOwned: boolean;1227 readonly isAddressIsZero: boolean;1228 readonly isUnsupportedOperation: boolean;1229 readonly isNotSufficientFounds: boolean;1230 readonly isUserIsNotAllowedToNest: boolean;1231 readonly isSourceCollectionIsNotAllowedToNest: boolean;1232 readonly isCollectionFieldSizeExceeded: boolean;1233 readonly isNoSpaceForProperty: boolean;1234 readonly isPropertyLimitReached: boolean;1235 readonly isPropertyKeyIsTooLong: boolean;1236 readonly isInvalidCharacterInPropertyKey: boolean;1237 readonly isEmptyPropertyKey: boolean;1238 readonly isCollectionIsExternal: boolean;1239 readonly isCollectionIsInternal: boolean;1240 readonly isConfirmSponsorshipFail: boolean;1241 readonly isUserIsNotCollectionAdmin: boolean;1242 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';1243}12441245/** @name PalletCommonEvent */1246export interface PalletCommonEvent extends Enum {1247 readonly isCollectionCreated: boolean;1248 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1249 readonly isCollectionDestroyed: boolean;1250 readonly asCollectionDestroyed: u32;1251 readonly isItemCreated: boolean;1252 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1253 readonly isItemDestroyed: boolean;1254 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1255 readonly isTransfer: boolean;1256 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1257 readonly isApproved: boolean;1258 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1259 readonly isApprovedForAll: boolean;1260 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1261 readonly isCollectionPropertySet: boolean;1262 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1263 readonly isCollectionPropertyDeleted: boolean;1264 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1265 readonly isTokenPropertySet: boolean;1266 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1267 readonly isTokenPropertyDeleted: boolean;1268 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1269 readonly isPropertyPermissionSet: boolean;1270 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1271 readonly isAllowListAddressAdded: boolean;1272 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1273 readonly isAllowListAddressRemoved: boolean;1274 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1275 readonly isCollectionAdminAdded: boolean;1276 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1277 readonly isCollectionAdminRemoved: boolean;1278 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1279 readonly isCollectionLimitSet: boolean;1280 readonly asCollectionLimitSet: u32;1281 readonly isCollectionOwnerChanged: boolean;1282 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1283 readonly isCollectionPermissionSet: boolean;1284 readonly asCollectionPermissionSet: u32;1285 readonly isCollectionSponsorSet: boolean;1286 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1287 readonly isSponsorshipConfirmed: boolean;1288 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1289 readonly isCollectionSponsorRemoved: boolean;1290 readonly asCollectionSponsorRemoved: u32;1291 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1292}12931294/** @name PalletConfigurationAppPromotionConfiguration */1295export interface PalletConfigurationAppPromotionConfiguration extends Struct {1296 readonly recalculationInterval: Option<u32>;1297 readonly pendingInterval: Option<u32>;1298 readonly intervalIncome: Option<Perbill>;1299 readonly maxStakersPerCalculation: Option<u8>;1300}13011302/** @name PalletConfigurationCall */1303export interface PalletConfigurationCall extends Enum {1304 readonly isSetWeightToFeeCoefficientOverride: boolean;1305 readonly asSetWeightToFeeCoefficientOverride: {1306 readonly coeff: Option<u32>;1307 } & Struct;1308 readonly isSetMinGasPriceOverride: boolean;1309 readonly asSetMinGasPriceOverride: {1310 readonly coeff: Option<u64>;1311 } & Struct;1312 readonly isSetXcmAllowedLocations: boolean;1313 readonly asSetXcmAllowedLocations: {1314 readonly locations: Option<Vec<XcmV1MultiLocation>>;1315 } & Struct;1316 readonly isSetAppPromotionConfigurationOverride: boolean;1317 readonly asSetAppPromotionConfigurationOverride: {1318 readonly configuration: PalletConfigurationAppPromotionConfiguration;1319 } & Struct;1320 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';1321}13221323/** @name PalletConfigurationError */1324export interface PalletConfigurationError extends Enum {1325 readonly isInconsistentConfiguration: boolean;1326 readonly type: 'InconsistentConfiguration';1327}13281329/** @name PalletEthereumCall */1330export interface PalletEthereumCall extends Enum {1331 readonly isTransact: boolean;1332 readonly asTransact: {1333 readonly transaction: EthereumTransactionTransactionV2;1334 } & Struct;1335 readonly type: 'Transact';1336}13371338/** @name PalletEthereumError */1339export interface PalletEthereumError extends Enum {1340 readonly isInvalidSignature: boolean;1341 readonly isPreLogExists: boolean;1342 readonly type: 'InvalidSignature' | 'PreLogExists';1343}13441345/** @name PalletEthereumEvent */1346export interface PalletEthereumEvent extends Enum {1347 readonly isExecuted: boolean;1348 readonly asExecuted: {1349 readonly from: H160;1350 readonly to: H160;1351 readonly transactionHash: H256;1352 readonly exitReason: EvmCoreErrorExitReason;1353 } & Struct;1354 readonly type: 'Executed';1355}13561357/** @name PalletEthereumFakeTransactionFinalizer */1358export interface PalletEthereumFakeTransactionFinalizer extends Null {}13591360/** @name PalletEvmAccountBasicCrossAccountIdRepr */1361export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1362 readonly isSubstrate: boolean;1363 readonly asSubstrate: AccountId32;1364 readonly isEthereum: boolean;1365 readonly asEthereum: H160;1366 readonly type: 'Substrate' | 'Ethereum';1367}13681369/** @name PalletEvmCall */1370export interface PalletEvmCall extends Enum {1371 readonly isWithdraw: boolean;1372 readonly asWithdraw: {1373 readonly address: H160;1374 readonly value: u128;1375 } & Struct;1376 readonly isCall: boolean;1377 readonly asCall: {1378 readonly source: H160;1379 readonly target: H160;1380 readonly input: Bytes;1381 readonly value: U256;1382 readonly gasLimit: u64;1383 readonly maxFeePerGas: U256;1384 readonly maxPriorityFeePerGas: Option<U256>;1385 readonly nonce: Option<U256>;1386 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1387 } & Struct;1388 readonly isCreate: boolean;1389 readonly asCreate: {1390 readonly source: H160;1391 readonly init: Bytes;1392 readonly value: U256;1393 readonly gasLimit: u64;1394 readonly maxFeePerGas: U256;1395 readonly maxPriorityFeePerGas: Option<U256>;1396 readonly nonce: Option<U256>;1397 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1398 } & Struct;1399 readonly isCreate2: boolean;1400 readonly asCreate2: {1401 readonly source: H160;1402 readonly init: Bytes;1403 readonly salt: H256;1404 readonly value: U256;1405 readonly gasLimit: u64;1406 readonly maxFeePerGas: U256;1407 readonly maxPriorityFeePerGas: Option<U256>;1408 readonly nonce: Option<U256>;1409 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1410 } & Struct;1411 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1412}14131414/** @name PalletEvmCoderSubstrateError */1415export interface PalletEvmCoderSubstrateError extends Enum {1416 readonly isOutOfGas: boolean;1417 readonly isOutOfFund: boolean;1418 readonly type: 'OutOfGas' | 'OutOfFund';1419}14201421/** @name PalletEvmContractHelpersError */1422export interface PalletEvmContractHelpersError extends Enum {1423 readonly isNoPermission: boolean;1424 readonly isNoPendingSponsor: boolean;1425 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1426 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1427}14281429/** @name PalletEvmContractHelpersEvent */1430export interface PalletEvmContractHelpersEvent extends Enum {1431 readonly isContractSponsorSet: boolean;1432 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1433 readonly isContractSponsorshipConfirmed: boolean;1434 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1435 readonly isContractSponsorRemoved: boolean;1436 readonly asContractSponsorRemoved: H160;1437 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1438}14391440/** @name PalletEvmContractHelpersSponsoringModeT */1441export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1442 readonly isDisabled: boolean;1443 readonly isAllowlisted: boolean;1444 readonly isGenerous: boolean;1445 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1446}14471448/** @name PalletEvmError */1449export interface PalletEvmError extends Enum {1450 readonly isBalanceLow: boolean;1451 readonly isFeeOverflow: boolean;1452 readonly isPaymentOverflow: boolean;1453 readonly isWithdrawFailed: boolean;1454 readonly isGasPriceTooLow: boolean;1455 readonly isInvalidNonce: boolean;1456 readonly isGasLimitTooLow: boolean;1457 readonly isGasLimitTooHigh: boolean;1458 readonly isUndefined: boolean;1459 readonly isReentrancy: boolean;1460 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';1461}14621463/** @name PalletEvmEvent */1464export interface PalletEvmEvent extends Enum {1465 readonly isLog: boolean;1466 readonly asLog: {1467 readonly log: EthereumLog;1468 } & Struct;1469 readonly isCreated: boolean;1470 readonly asCreated: {1471 readonly address: H160;1472 } & Struct;1473 readonly isCreatedFailed: boolean;1474 readonly asCreatedFailed: {1475 readonly address: H160;1476 } & Struct;1477 readonly isExecuted: boolean;1478 readonly asExecuted: {1479 readonly address: H160;1480 } & Struct;1481 readonly isExecutedFailed: boolean;1482 readonly asExecutedFailed: {1483 readonly address: H160;1484 } & Struct;1485 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1486}14871488/** @name PalletEvmMigrationCall */1489export interface PalletEvmMigrationCall extends Enum {1490 readonly isBegin: boolean;1491 readonly asBegin: {1492 readonly address: H160;1493 } & Struct;1494 readonly isSetData: boolean;1495 readonly asSetData: {1496 readonly address: H160;1497 readonly data: Vec<ITuple<[H256, H256]>>;1498 } & Struct;1499 readonly isFinish: boolean;1500 readonly asFinish: {1501 readonly address: H160;1502 readonly code: Bytes;1503 } & Struct;1504 readonly isInsertEthLogs: boolean;1505 readonly asInsertEthLogs: {1506 readonly logs: Vec<EthereumLog>;1507 } & Struct;1508 readonly isInsertEvents: boolean;1509 readonly asInsertEvents: {1510 readonly events: Vec<Bytes>;1511 } & Struct;1512 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';1513}15141515/** @name PalletEvmMigrationError */1516export interface PalletEvmMigrationError extends Enum {1517 readonly isAccountNotEmpty: boolean;1518 readonly isAccountIsNotMigrating: boolean;1519 readonly isBadEvent: boolean;1520 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1521}15221523/** @name PalletEvmMigrationEvent */1524export interface PalletEvmMigrationEvent extends Enum {1525 readonly isTestEvent: boolean;1526 readonly type: 'TestEvent';1527}15281529/** @name PalletForeignAssetsAssetIds */1530export interface PalletForeignAssetsAssetIds extends Enum {1531 readonly isForeignAssetId: boolean;1532 readonly asForeignAssetId: u32;1533 readonly isNativeAssetId: boolean;1534 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1535 readonly type: 'ForeignAssetId' | 'NativeAssetId';1536}15371538/** @name PalletForeignAssetsModuleAssetMetadata */1539export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1540 readonly name: Bytes;1541 readonly symbol: Bytes;1542 readonly decimals: u8;1543 readonly minimalBalance: u128;1544}15451546/** @name PalletForeignAssetsModuleCall */1547export interface PalletForeignAssetsModuleCall extends Enum {1548 readonly isRegisterForeignAsset: boolean;1549 readonly asRegisterForeignAsset: {1550 readonly owner: AccountId32;1551 readonly location: XcmVersionedMultiLocation;1552 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1553 } & Struct;1554 readonly isUpdateForeignAsset: boolean;1555 readonly asUpdateForeignAsset: {1556 readonly foreignAssetId: u32;1557 readonly location: XcmVersionedMultiLocation;1558 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1559 } & Struct;1560 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1561}15621563/** @name PalletForeignAssetsModuleError */1564export interface PalletForeignAssetsModuleError extends Enum {1565 readonly isBadLocation: boolean;1566 readonly isMultiLocationExisted: boolean;1567 readonly isAssetIdNotExists: boolean;1568 readonly isAssetIdExisted: boolean;1569 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1570}15711572/** @name PalletForeignAssetsModuleEvent */1573export interface PalletForeignAssetsModuleEvent extends Enum {1574 readonly isForeignAssetRegistered: boolean;1575 readonly asForeignAssetRegistered: {1576 readonly assetId: u32;1577 readonly assetAddress: XcmV1MultiLocation;1578 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1579 } & Struct;1580 readonly isForeignAssetUpdated: boolean;1581 readonly asForeignAssetUpdated: {1582 readonly assetId: u32;1583 readonly assetAddress: XcmV1MultiLocation;1584 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1585 } & Struct;1586 readonly isAssetRegistered: boolean;1587 readonly asAssetRegistered: {1588 readonly assetId: PalletForeignAssetsAssetIds;1589 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1590 } & Struct;1591 readonly isAssetUpdated: boolean;1592 readonly asAssetUpdated: {1593 readonly assetId: PalletForeignAssetsAssetIds;1594 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1595 } & Struct;1596 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1597}15981599/** @name PalletForeignAssetsNativeCurrency */1600export interface PalletForeignAssetsNativeCurrency extends Enum {1601 readonly isHere: boolean;1602 readonly isParent: boolean;1603 readonly type: 'Here' | 'Parent';1604}16051606/** @name PalletFungibleError */1607export interface PalletFungibleError extends Enum {1608 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1609 readonly isFungibleItemsHaveNoId: boolean;1610 readonly isFungibleItemsDontHaveData: boolean;1611 readonly isFungibleDisallowsNesting: boolean;1612 readonly isSettingPropertiesNotAllowed: boolean;1613 readonly isSettingAllowanceForAllNotAllowed: boolean;1614 readonly isFungibleTokensAreAlwaysValid: boolean;1615 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1616}16171618/** @name PalletInflationCall */1619export interface PalletInflationCall extends Enum {1620 readonly isStartInflation: boolean;1621 readonly asStartInflation: {1622 readonly inflationStartRelayBlock: u32;1623 } & Struct;1624 readonly type: 'StartInflation';1625}16261627/** @name PalletMaintenanceCall */1628export interface PalletMaintenanceCall extends Enum {1629 readonly isEnable: boolean;1630 readonly isDisable: boolean;1631 readonly type: 'Enable' | 'Disable';1632}16331634/** @name PalletMaintenanceError */1635export interface PalletMaintenanceError extends Null {}16361637/** @name PalletMaintenanceEvent */1638export interface PalletMaintenanceEvent extends Enum {1639 readonly isMaintenanceEnabled: boolean;1640 readonly isMaintenanceDisabled: boolean;1641 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1642}16431644/** @name PalletNonfungibleError */1645export interface PalletNonfungibleError extends Enum {1646 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1647 readonly isNonfungibleItemsHaveNoAmount: boolean;1648 readonly isCantBurnNftWithChildren: boolean;1649 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1650}16511652/** @name PalletNonfungibleItemData */1653export interface PalletNonfungibleItemData extends Struct {1654 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1655}16561657/** @name PalletRefungibleError */1658export interface PalletRefungibleError extends Enum {1659 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1660 readonly isWrongRefungiblePieces: boolean;1661 readonly isRepartitionWhileNotOwningAllPieces: boolean;1662 readonly isRefungibleDisallowsNesting: boolean;1663 readonly isSettingPropertiesNotAllowed: boolean;1664 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1665}16661667/** @name PalletRefungibleItemData */1668export interface PalletRefungibleItemData extends Struct {1669 readonly constData: Bytes;1670}16711672/** @name PalletRmrkCoreCall */1673export interface PalletRmrkCoreCall extends Enum {1674 readonly isCreateCollection: boolean;1675 readonly asCreateCollection: {1676 readonly metadata: Bytes;1677 readonly max: Option<u32>;1678 readonly symbol: Bytes;1679 } & Struct;1680 readonly isDestroyCollection: boolean;1681 readonly asDestroyCollection: {1682 readonly collectionId: u32;1683 } & Struct;1684 readonly isChangeCollectionIssuer: boolean;1685 readonly asChangeCollectionIssuer: {1686 readonly collectionId: u32;1687 readonly newIssuer: MultiAddress;1688 } & Struct;1689 readonly isLockCollection: boolean;1690 readonly asLockCollection: {1691 readonly collectionId: u32;1692 } & Struct;1693 readonly isMintNft: boolean;1694 readonly asMintNft: {1695 readonly owner: Option<AccountId32>;1696 readonly collectionId: u32;1697 readonly recipient: Option<AccountId32>;1698 readonly royaltyAmount: Option<Permill>;1699 readonly metadata: Bytes;1700 readonly transferable: bool;1701 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1702 } & Struct;1703 readonly isBurnNft: boolean;1704 readonly asBurnNft: {1705 readonly collectionId: u32;1706 readonly nftId: u32;1707 readonly maxBurns: u32;1708 } & Struct;1709 readonly isSend: boolean;1710 readonly asSend: {1711 readonly rmrkCollectionId: u32;1712 readonly rmrkNftId: u32;1713 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1714 } & Struct;1715 readonly isAcceptNft: boolean;1716 readonly asAcceptNft: {1717 readonly rmrkCollectionId: u32;1718 readonly rmrkNftId: u32;1719 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1720 } & Struct;1721 readonly isRejectNft: boolean;1722 readonly asRejectNft: {1723 readonly rmrkCollectionId: u32;1724 readonly rmrkNftId: u32;1725 } & Struct;1726 readonly isAcceptResource: boolean;1727 readonly asAcceptResource: {1728 readonly rmrkCollectionId: u32;1729 readonly rmrkNftId: u32;1730 readonly resourceId: u32;1731 } & Struct;1732 readonly isAcceptResourceRemoval: boolean;1733 readonly asAcceptResourceRemoval: {1734 readonly rmrkCollectionId: u32;1735 readonly rmrkNftId: u32;1736 readonly resourceId: u32;1737 } & Struct;1738 readonly isSetProperty: boolean;1739 readonly asSetProperty: {1740 readonly rmrkCollectionId: Compact<u32>;1741 readonly maybeNftId: Option<u32>;1742 readonly key: Bytes;1743 readonly value: Bytes;1744 } & Struct;1745 readonly isSetPriority: boolean;1746 readonly asSetPriority: {1747 readonly rmrkCollectionId: u32;1748 readonly rmrkNftId: u32;1749 readonly priorities: Vec<u32>;1750 } & Struct;1751 readonly isAddBasicResource: boolean;1752 readonly asAddBasicResource: {1753 readonly rmrkCollectionId: u32;1754 readonly nftId: u32;1755 readonly resource: RmrkTraitsResourceBasicResource;1756 } & Struct;1757 readonly isAddComposableResource: boolean;1758 readonly asAddComposableResource: {1759 readonly rmrkCollectionId: u32;1760 readonly nftId: u32;1761 readonly resource: RmrkTraitsResourceComposableResource;1762 } & Struct;1763 readonly isAddSlotResource: boolean;1764 readonly asAddSlotResource: {1765 readonly rmrkCollectionId: u32;1766 readonly nftId: u32;1767 readonly resource: RmrkTraitsResourceSlotResource;1768 } & Struct;1769 readonly isRemoveResource: boolean;1770 readonly asRemoveResource: {1771 readonly rmrkCollectionId: u32;1772 readonly nftId: u32;1773 readonly resourceId: u32;1774 } & Struct;1775 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1776}17771778/** @name PalletRmrkCoreError */1779export interface PalletRmrkCoreError extends Enum {1780 readonly isCorruptedCollectionType: boolean;1781 readonly isRmrkPropertyKeyIsTooLong: boolean;1782 readonly isRmrkPropertyValueIsTooLong: boolean;1783 readonly isRmrkPropertyIsNotFound: boolean;1784 readonly isUnableToDecodeRmrkData: boolean;1785 readonly isCollectionNotEmpty: boolean;1786 readonly isNoAvailableCollectionId: boolean;1787 readonly isNoAvailableNftId: boolean;1788 readonly isCollectionUnknown: boolean;1789 readonly isNoPermission: boolean;1790 readonly isNonTransferable: boolean;1791 readonly isCollectionFullOrLocked: boolean;1792 readonly isResourceDoesntExist: boolean;1793 readonly isCannotSendToDescendentOrSelf: boolean;1794 readonly isCannotAcceptNonOwnedNft: boolean;1795 readonly isCannotRejectNonOwnedNft: boolean;1796 readonly isCannotRejectNonPendingNft: boolean;1797 readonly isResourceNotPending: boolean;1798 readonly isNoAvailableResourceId: boolean;1799 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1800}18011802/** @name PalletRmrkCoreEvent */1803export interface PalletRmrkCoreEvent extends Enum {1804 readonly isCollectionCreated: boolean;1805 readonly asCollectionCreated: {1806 readonly issuer: AccountId32;1807 readonly collectionId: u32;1808 } & Struct;1809 readonly isCollectionDestroyed: boolean;1810 readonly asCollectionDestroyed: {1811 readonly issuer: AccountId32;1812 readonly collectionId: u32;1813 } & Struct;1814 readonly isIssuerChanged: boolean;1815 readonly asIssuerChanged: {1816 readonly oldIssuer: AccountId32;1817 readonly newIssuer: AccountId32;1818 readonly collectionId: u32;1819 } & Struct;1820 readonly isCollectionLocked: boolean;1821 readonly asCollectionLocked: {1822 readonly issuer: AccountId32;1823 readonly collectionId: u32;1824 } & Struct;1825 readonly isNftMinted: boolean;1826 readonly asNftMinted: {1827 readonly owner: AccountId32;1828 readonly collectionId: u32;1829 readonly nftId: u32;1830 } & Struct;1831 readonly isNftBurned: boolean;1832 readonly asNftBurned: {1833 readonly owner: AccountId32;1834 readonly nftId: u32;1835 } & Struct;1836 readonly isNftSent: boolean;1837 readonly asNftSent: {1838 readonly sender: AccountId32;1839 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1840 readonly collectionId: u32;1841 readonly nftId: u32;1842 readonly approvalRequired: bool;1843 } & Struct;1844 readonly isNftAccepted: boolean;1845 readonly asNftAccepted: {1846 readonly sender: AccountId32;1847 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1848 readonly collectionId: u32;1849 readonly nftId: u32;1850 } & Struct;1851 readonly isNftRejected: boolean;1852 readonly asNftRejected: {1853 readonly sender: AccountId32;1854 readonly collectionId: u32;1855 readonly nftId: u32;1856 } & Struct;1857 readonly isPropertySet: boolean;1858 readonly asPropertySet: {1859 readonly collectionId: u32;1860 readonly maybeNftId: Option<u32>;1861 readonly key: Bytes;1862 readonly value: Bytes;1863 } & Struct;1864 readonly isResourceAdded: boolean;1865 readonly asResourceAdded: {1866 readonly nftId: u32;1867 readonly resourceId: u32;1868 } & Struct;1869 readonly isResourceRemoval: boolean;1870 readonly asResourceRemoval: {1871 readonly nftId: u32;1872 readonly resourceId: u32;1873 } & Struct;1874 readonly isResourceAccepted: boolean;1875 readonly asResourceAccepted: {1876 readonly nftId: u32;1877 readonly resourceId: u32;1878 } & Struct;1879 readonly isResourceRemovalAccepted: boolean;1880 readonly asResourceRemovalAccepted: {1881 readonly nftId: u32;1882 readonly resourceId: u32;1883 } & Struct;1884 readonly isPrioritySet: boolean;1885 readonly asPrioritySet: {1886 readonly collectionId: u32;1887 readonly nftId: u32;1888 } & Struct;1889 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1890}18911892/** @name PalletRmrkEquipCall */1893export interface PalletRmrkEquipCall extends Enum {1894 readonly isCreateBase: boolean;1895 readonly asCreateBase: {1896 readonly baseType: Bytes;1897 readonly symbol: Bytes;1898 readonly parts: Vec<RmrkTraitsPartPartType>;1899 } & Struct;1900 readonly isThemeAdd: boolean;1901 readonly asThemeAdd: {1902 readonly baseId: u32;1903 readonly theme: RmrkTraitsTheme;1904 } & Struct;1905 readonly isEquippable: boolean;1906 readonly asEquippable: {1907 readonly baseId: u32;1908 readonly slotId: u32;1909 readonly equippables: RmrkTraitsPartEquippableList;1910 } & Struct;1911 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1912}19131914/** @name PalletRmrkEquipError */1915export interface PalletRmrkEquipError extends Enum {1916 readonly isPermissionError: boolean;1917 readonly isNoAvailableBaseId: boolean;1918 readonly isNoAvailablePartId: boolean;1919 readonly isBaseDoesntExist: boolean;1920 readonly isNeedsDefaultThemeFirst: boolean;1921 readonly isPartDoesntExist: boolean;1922 readonly isNoEquippableOnFixedPart: boolean;1923 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1924}19251926/** @name PalletRmrkEquipEvent */1927export interface PalletRmrkEquipEvent extends Enum {1928 readonly isBaseCreated: boolean;1929 readonly asBaseCreated: {1930 readonly issuer: AccountId32;1931 readonly baseId: u32;1932 } & Struct;1933 readonly isEquippablesUpdated: boolean;1934 readonly asEquippablesUpdated: {1935 readonly baseId: u32;1936 readonly slotId: u32;1937 } & Struct;1938 readonly type: 'BaseCreated' | 'EquippablesUpdated';1939}19401941/** @name PalletStructureCall */1942export interface PalletStructureCall extends Null {}19431944/** @name PalletStructureError */1945export interface PalletStructureError extends Enum {1946 readonly isOuroborosDetected: boolean;1947 readonly isDepthLimit: boolean;1948 readonly isBreadthLimit: boolean;1949 readonly isTokenNotFound: boolean;1950 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1951}19521953/** @name PalletStructureEvent */1954export interface PalletStructureEvent extends Enum {1955 readonly isExecuted: boolean;1956 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1957 readonly type: 'Executed';1958}19591960/** @name PalletSudoCall */1961export interface PalletSudoCall extends Enum {1962 readonly isSudo: boolean;1963 readonly asSudo: {1964 readonly call: Call;1965 } & Struct;1966 readonly isSudoUncheckedWeight: boolean;1967 readonly asSudoUncheckedWeight: {1968 readonly call: Call;1969 readonly weight: SpWeightsWeightV2Weight;1970 } & Struct;1971 readonly isSetKey: boolean;1972 readonly asSetKey: {1973 readonly new_: MultiAddress;1974 } & Struct;1975 readonly isSudoAs: boolean;1976 readonly asSudoAs: {1977 readonly who: MultiAddress;1978 readonly call: Call;1979 } & Struct;1980 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1981}19821983/** @name PalletSudoError */1984export interface PalletSudoError extends Enum {1985 readonly isRequireSudo: boolean;1986 readonly type: 'RequireSudo';1987}19881989/** @name PalletSudoEvent */1990export interface PalletSudoEvent extends Enum {1991 readonly isSudid: boolean;1992 readonly asSudid: {1993 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1994 } & Struct;1995 readonly isKeyChanged: boolean;1996 readonly asKeyChanged: {1997 readonly oldSudoer: Option<AccountId32>;1998 } & Struct;1999 readonly isSudoAsDone: boolean;2000 readonly asSudoAsDone: {2001 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2002 } & Struct;2003 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2004}20052006/** @name PalletTemplateTransactionPaymentCall */2007export interface PalletTemplateTransactionPaymentCall extends Null {}20082009/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2010export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}20112012/** @name PalletTestUtilsCall */2013export interface PalletTestUtilsCall extends Enum {2014 readonly isEnable: boolean;2015 readonly isSetTestValue: boolean;2016 readonly asSetTestValue: {2017 readonly value: u32;2018 } & Struct;2019 readonly isSetTestValueAndRollback: boolean;2020 readonly asSetTestValueAndRollback: {2021 readonly value: u32;2022 } & Struct;2023 readonly isIncTestValue: boolean;2024 readonly isJustTakeFee: boolean;2025 readonly isBatchAll: boolean;2026 readonly asBatchAll: {2027 readonly calls: Vec<Call>;2028 } & Struct;2029 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2030}20312032/** @name PalletTestUtilsError */2033export interface PalletTestUtilsError extends Enum {2034 readonly isTestPalletDisabled: boolean;2035 readonly isTriggerRollback: boolean;2036 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2037}20382039/** @name PalletTestUtilsEvent */2040export interface PalletTestUtilsEvent extends Enum {2041 readonly isValueIsSet: boolean;2042 readonly isShouldRollback: boolean;2043 readonly isBatchCompleted: boolean;2044 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2045}20462047/** @name PalletTimestampCall */2048export interface PalletTimestampCall extends Enum {2049 readonly isSet: boolean;2050 readonly asSet: {2051 readonly now: Compact<u64>;2052 } & Struct;2053 readonly type: 'Set';2054}20552056/** @name PalletTransactionPaymentEvent */2057export interface PalletTransactionPaymentEvent extends Enum {2058 readonly isTransactionFeePaid: boolean;2059 readonly asTransactionFeePaid: {2060 readonly who: AccountId32;2061 readonly actualFee: u128;2062 readonly tip: u128;2063 } & Struct;2064 readonly type: 'TransactionFeePaid';2065}20662067/** @name PalletTransactionPaymentReleases */2068export interface PalletTransactionPaymentReleases extends Enum {2069 readonly isV1Ancient: boolean;2070 readonly isV2: boolean;2071 readonly type: 'V1Ancient' | 'V2';2072}20732074/** @name PalletTreasuryCall */2075export interface PalletTreasuryCall extends Enum {2076 readonly isProposeSpend: boolean;2077 readonly asProposeSpend: {2078 readonly value: Compact<u128>;2079 readonly beneficiary: MultiAddress;2080 } & Struct;2081 readonly isRejectProposal: boolean;2082 readonly asRejectProposal: {2083 readonly proposalId: Compact<u32>;2084 } & Struct;2085 readonly isApproveProposal: boolean;2086 readonly asApproveProposal: {2087 readonly proposalId: Compact<u32>;2088 } & Struct;2089 readonly isSpend: boolean;2090 readonly asSpend: {2091 readonly amount: Compact<u128>;2092 readonly beneficiary: MultiAddress;2093 } & Struct;2094 readonly isRemoveApproval: boolean;2095 readonly asRemoveApproval: {2096 readonly proposalId: Compact<u32>;2097 } & Struct;2098 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2099}21002101/** @name PalletTreasuryError */2102export interface PalletTreasuryError extends Enum {2103 readonly isInsufficientProposersBalance: boolean;2104 readonly isInvalidIndex: boolean;2105 readonly isTooManyApprovals: boolean;2106 readonly isInsufficientPermission: boolean;2107 readonly isProposalNotApproved: boolean;2108 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2109}21102111/** @name PalletTreasuryEvent */2112export interface PalletTreasuryEvent extends Enum {2113 readonly isProposed: boolean;2114 readonly asProposed: {2115 readonly proposalIndex: u32;2116 } & Struct;2117 readonly isSpending: boolean;2118 readonly asSpending: {2119 readonly budgetRemaining: u128;2120 } & Struct;2121 readonly isAwarded: boolean;2122 readonly asAwarded: {2123 readonly proposalIndex: u32;2124 readonly award: u128;2125 readonly account: AccountId32;2126 } & Struct;2127 readonly isRejected: boolean;2128 readonly asRejected: {2129 readonly proposalIndex: u32;2130 readonly slashed: u128;2131 } & Struct;2132 readonly isBurnt: boolean;2133 readonly asBurnt: {2134 readonly burntFunds: u128;2135 } & Struct;2136 readonly isRollover: boolean;2137 readonly asRollover: {2138 readonly rolloverBalance: u128;2139 } & Struct;2140 readonly isDeposit: boolean;2141 readonly asDeposit: {2142 readonly value: u128;2143 } & Struct;2144 readonly isSpendApproved: boolean;2145 readonly asSpendApproved: {2146 readonly proposalIndex: u32;2147 readonly amount: u128;2148 readonly beneficiary: AccountId32;2149 } & Struct;2150 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2151}21522153/** @name PalletTreasuryProposal */2154export interface PalletTreasuryProposal extends Struct {2155 readonly proposer: AccountId32;2156 readonly value: u128;2157 readonly beneficiary: AccountId32;2158 readonly bond: u128;2159}21602161/** @name PalletUniqueCall */2162export interface PalletUniqueCall extends Enum {2163 readonly isCreateCollection: boolean;2164 readonly asCreateCollection: {2165 readonly collectionName: Vec<u16>;2166 readonly collectionDescription: Vec<u16>;2167 readonly tokenPrefix: Bytes;2168 readonly mode: UpDataStructsCollectionMode;2169 } & Struct;2170 readonly isCreateCollectionEx: boolean;2171 readonly asCreateCollectionEx: {2172 readonly data: UpDataStructsCreateCollectionData;2173 } & Struct;2174 readonly isDestroyCollection: boolean;2175 readonly asDestroyCollection: {2176 readonly collectionId: u32;2177 } & Struct;2178 readonly isAddToAllowList: boolean;2179 readonly asAddToAllowList: {2180 readonly collectionId: u32;2181 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2182 } & Struct;2183 readonly isRemoveFromAllowList: boolean;2184 readonly asRemoveFromAllowList: {2185 readonly collectionId: u32;2186 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2187 } & Struct;2188 readonly isChangeCollectionOwner: boolean;2189 readonly asChangeCollectionOwner: {2190 readonly collectionId: u32;2191 readonly newOwner: AccountId32;2192 } & Struct;2193 readonly isAddCollectionAdmin: boolean;2194 readonly asAddCollectionAdmin: {2195 readonly collectionId: u32;2196 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2197 } & Struct;2198 readonly isRemoveCollectionAdmin: boolean;2199 readonly asRemoveCollectionAdmin: {2200 readonly collectionId: u32;2201 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2202 } & Struct;2203 readonly isSetCollectionSponsor: boolean;2204 readonly asSetCollectionSponsor: {2205 readonly collectionId: u32;2206 readonly newSponsor: AccountId32;2207 } & Struct;2208 readonly isConfirmSponsorship: boolean;2209 readonly asConfirmSponsorship: {2210 readonly collectionId: u32;2211 } & Struct;2212 readonly isRemoveCollectionSponsor: boolean;2213 readonly asRemoveCollectionSponsor: {2214 readonly collectionId: u32;2215 } & Struct;2216 readonly isCreateItem: boolean;2217 readonly asCreateItem: {2218 readonly collectionId: u32;2219 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2220 readonly data: UpDataStructsCreateItemData;2221 } & Struct;2222 readonly isCreateMultipleItems: boolean;2223 readonly asCreateMultipleItems: {2224 readonly collectionId: u32;2225 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2226 readonly itemsData: Vec<UpDataStructsCreateItemData>;2227 } & Struct;2228 readonly isSetCollectionProperties: boolean;2229 readonly asSetCollectionProperties: {2230 readonly collectionId: u32;2231 readonly properties: Vec<UpDataStructsProperty>;2232 } & Struct;2233 readonly isDeleteCollectionProperties: boolean;2234 readonly asDeleteCollectionProperties: {2235 readonly collectionId: u32;2236 readonly propertyKeys: Vec<Bytes>;2237 } & Struct;2238 readonly isSetTokenProperties: boolean;2239 readonly asSetTokenProperties: {2240 readonly collectionId: u32;2241 readonly tokenId: u32;2242 readonly properties: Vec<UpDataStructsProperty>;2243 } & Struct;2244 readonly isDeleteTokenProperties: boolean;2245 readonly asDeleteTokenProperties: {2246 readonly collectionId: u32;2247 readonly tokenId: u32;2248 readonly propertyKeys: Vec<Bytes>;2249 } & Struct;2250 readonly isSetTokenPropertyPermissions: boolean;2251 readonly asSetTokenPropertyPermissions: {2252 readonly collectionId: u32;2253 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2254 } & Struct;2255 readonly isCreateMultipleItemsEx: boolean;2256 readonly asCreateMultipleItemsEx: {2257 readonly collectionId: u32;2258 readonly data: UpDataStructsCreateItemExData;2259 } & Struct;2260 readonly isSetTransfersEnabledFlag: boolean;2261 readonly asSetTransfersEnabledFlag: {2262 readonly collectionId: u32;2263 readonly value: bool;2264 } & Struct;2265 readonly isBurnItem: boolean;2266 readonly asBurnItem: {2267 readonly collectionId: u32;2268 readonly itemId: u32;2269 readonly value: u128;2270 } & Struct;2271 readonly isBurnFrom: boolean;2272 readonly asBurnFrom: {2273 readonly collectionId: u32;2274 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2275 readonly itemId: u32;2276 readonly value: u128;2277 } & Struct;2278 readonly isTransfer: boolean;2279 readonly asTransfer: {2280 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2281 readonly collectionId: u32;2282 readonly itemId: u32;2283 readonly value: u128;2284 } & Struct;2285 readonly isApprove: boolean;2286 readonly asApprove: {2287 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2288 readonly collectionId: u32;2289 readonly itemId: u32;2290 readonly amount: u128;2291 } & Struct;2292 readonly isTransferFrom: boolean;2293 readonly asTransferFrom: {2294 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2295 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2296 readonly collectionId: u32;2297 readonly itemId: u32;2298 readonly value: u128;2299 } & Struct;2300 readonly isSetCollectionLimits: boolean;2301 readonly asSetCollectionLimits: {2302 readonly collectionId: u32;2303 readonly newLimit: UpDataStructsCollectionLimits;2304 } & Struct;2305 readonly isSetCollectionPermissions: boolean;2306 readonly asSetCollectionPermissions: {2307 readonly collectionId: u32;2308 readonly newPermission: UpDataStructsCollectionPermissions;2309 } & Struct;2310 readonly isRepartition: boolean;2311 readonly asRepartition: {2312 readonly collectionId: u32;2313 readonly tokenId: u32;2314 readonly amount: u128;2315 } & Struct;2316 readonly isSetAllowanceForAll: boolean;2317 readonly asSetAllowanceForAll: {2318 readonly collectionId: u32;2319 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2320 readonly approve: bool;2321 } & Struct;2322 readonly isRepairItem: boolean;2323 readonly asRepairItem: {2324 readonly collectionId: u32;2325 readonly itemId: u32;2326 } & Struct;2327 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'RepairItem';2328}23292330/** @name PalletUniqueError */2331export interface PalletUniqueError extends Enum {2332 readonly isCollectionDecimalPointLimitExceeded: boolean;2333 readonly isEmptyArgument: boolean;2334 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2335 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2336}23372338/** @name PalletXcmCall */2339export interface PalletXcmCall extends Enum {2340 readonly isSend: boolean;2341 readonly asSend: {2342 readonly dest: XcmVersionedMultiLocation;2343 readonly message: XcmVersionedXcm;2344 } & Struct;2345 readonly isTeleportAssets: boolean;2346 readonly asTeleportAssets: {2347 readonly dest: XcmVersionedMultiLocation;2348 readonly beneficiary: XcmVersionedMultiLocation;2349 readonly assets: XcmVersionedMultiAssets;2350 readonly feeAssetItem: u32;2351 } & Struct;2352 readonly isReserveTransferAssets: boolean;2353 readonly asReserveTransferAssets: {2354 readonly dest: XcmVersionedMultiLocation;2355 readonly beneficiary: XcmVersionedMultiLocation;2356 readonly assets: XcmVersionedMultiAssets;2357 readonly feeAssetItem: u32;2358 } & Struct;2359 readonly isExecute: boolean;2360 readonly asExecute: {2361 readonly message: XcmVersionedXcm;2362 readonly maxWeight: u64;2363 } & Struct;2364 readonly isForceXcmVersion: boolean;2365 readonly asForceXcmVersion: {2366 readonly location: XcmV1MultiLocation;2367 readonly xcmVersion: u32;2368 } & Struct;2369 readonly isForceDefaultXcmVersion: boolean;2370 readonly asForceDefaultXcmVersion: {2371 readonly maybeXcmVersion: Option<u32>;2372 } & Struct;2373 readonly isForceSubscribeVersionNotify: boolean;2374 readonly asForceSubscribeVersionNotify: {2375 readonly location: XcmVersionedMultiLocation;2376 } & Struct;2377 readonly isForceUnsubscribeVersionNotify: boolean;2378 readonly asForceUnsubscribeVersionNotify: {2379 readonly location: XcmVersionedMultiLocation;2380 } & Struct;2381 readonly isLimitedReserveTransferAssets: boolean;2382 readonly asLimitedReserveTransferAssets: {2383 readonly dest: XcmVersionedMultiLocation;2384 readonly beneficiary: XcmVersionedMultiLocation;2385 readonly assets: XcmVersionedMultiAssets;2386 readonly feeAssetItem: u32;2387 readonly weightLimit: XcmV2WeightLimit;2388 } & Struct;2389 readonly isLimitedTeleportAssets: boolean;2390 readonly asLimitedTeleportAssets: {2391 readonly dest: XcmVersionedMultiLocation;2392 readonly beneficiary: XcmVersionedMultiLocation;2393 readonly assets: XcmVersionedMultiAssets;2394 readonly feeAssetItem: u32;2395 readonly weightLimit: XcmV2WeightLimit;2396 } & Struct;2397 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2398}23992400/** @name PalletXcmError */2401export interface PalletXcmError extends Enum {2402 readonly isUnreachable: boolean;2403 readonly isSendFailure: boolean;2404 readonly isFiltered: boolean;2405 readonly isUnweighableMessage: boolean;2406 readonly isDestinationNotInvertible: boolean;2407 readonly isEmpty: boolean;2408 readonly isCannotReanchor: boolean;2409 readonly isTooManyAssets: boolean;2410 readonly isInvalidOrigin: boolean;2411 readonly isBadVersion: boolean;2412 readonly isBadLocation: boolean;2413 readonly isNoSubscription: boolean;2414 readonly isAlreadySubscribed: boolean;2415 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2416}24172418/** @name PalletXcmEvent */2419export interface PalletXcmEvent extends Enum {2420 readonly isAttempted: boolean;2421 readonly asAttempted: XcmV2TraitsOutcome;2422 readonly isSent: boolean;2423 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2424 readonly isUnexpectedResponse: boolean;2425 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2426 readonly isResponseReady: boolean;2427 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2428 readonly isNotified: boolean;2429 readonly asNotified: ITuple<[u64, u8, u8]>;2430 readonly isNotifyOverweight: boolean;2431 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2432 readonly isNotifyDispatchError: boolean;2433 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2434 readonly isNotifyDecodeFailed: boolean;2435 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2436 readonly isInvalidResponder: boolean;2437 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2438 readonly isInvalidResponderVersion: boolean;2439 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2440 readonly isResponseTaken: boolean;2441 readonly asResponseTaken: u64;2442 readonly isAssetsTrapped: boolean;2443 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2444 readonly isVersionChangeNotified: boolean;2445 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2446 readonly isSupportedVersionChanged: boolean;2447 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2448 readonly isNotifyTargetSendFail: boolean;2449 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2450 readonly isNotifyTargetMigrationFail: boolean;2451 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2452 readonly isAssetsClaimed: boolean;2453 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2454 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2455}24562457/** @name PhantomTypeUpDataStructs */2458export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}24592460/** @name PolkadotCorePrimitivesInboundDownwardMessage */2461export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2462 readonly sentAt: u32;2463 readonly msg: Bytes;2464}24652466/** @name PolkadotCorePrimitivesInboundHrmpMessage */2467export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2468 readonly sentAt: u32;2469 readonly data: Bytes;2470}24712472/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2473export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2474 readonly recipient: u32;2475 readonly data: Bytes;2476}24772478/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2479export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2480 readonly isConcatenatedVersionedXcm: boolean;2481 readonly isConcatenatedEncodedBlob: boolean;2482 readonly isSignals: boolean;2483 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2484}24852486/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2487export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2488 readonly maxCodeSize: u32;2489 readonly maxHeadDataSize: u32;2490 readonly maxUpwardQueueCount: u32;2491 readonly maxUpwardQueueSize: u32;2492 readonly maxUpwardMessageSize: u32;2493 readonly maxUpwardMessageNumPerCandidate: u32;2494 readonly hrmpMaxMessageNumPerCandidate: u32;2495 readonly validationUpgradeCooldown: u32;2496 readonly validationUpgradeDelay: u32;2497}24982499/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2500export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2501 readonly maxCapacity: u32;2502 readonly maxTotalSize: u32;2503 readonly maxMessageSize: u32;2504 readonly msgCount: u32;2505 readonly totalSize: u32;2506 readonly mqcHead: Option<H256>;2507}25082509/** @name PolkadotPrimitivesV2PersistedValidationData */2510export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2511 readonly parentHead: Bytes;2512 readonly relayParentNumber: u32;2513 readonly relayParentStorageRoot: H256;2514 readonly maxPovSize: u32;2515}25162517/** @name PolkadotPrimitivesV2UpgradeRestriction */2518export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2519 readonly isPresent: boolean;2520 readonly type: 'Present';2521}25222523/** @name RmrkTraitsBaseBaseInfo */2524export interface RmrkTraitsBaseBaseInfo extends Struct {2525 readonly issuer: AccountId32;2526 readonly baseType: Bytes;2527 readonly symbol: Bytes;2528}25292530/** @name RmrkTraitsCollectionCollectionInfo */2531export interface RmrkTraitsCollectionCollectionInfo extends Struct {2532 readonly issuer: AccountId32;2533 readonly metadata: Bytes;2534 readonly max: Option<u32>;2535 readonly symbol: Bytes;2536 readonly nftsCount: u32;2537}25382539/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2540export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2541 readonly isAccountId: boolean;2542 readonly asAccountId: AccountId32;2543 readonly isCollectionAndNftTuple: boolean;2544 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2545 readonly type: 'AccountId' | 'CollectionAndNftTuple';2546}25472548/** @name RmrkTraitsNftNftChild */2549export interface RmrkTraitsNftNftChild extends Struct {2550 readonly collectionId: u32;2551 readonly nftId: u32;2552}25532554/** @name RmrkTraitsNftNftInfo */2555export interface RmrkTraitsNftNftInfo extends Struct {2556 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2557 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2558 readonly metadata: Bytes;2559 readonly equipped: bool;2560 readonly pending: bool;2561}25622563/** @name RmrkTraitsNftRoyaltyInfo */2564export interface RmrkTraitsNftRoyaltyInfo extends Struct {2565 readonly recipient: AccountId32;2566 readonly amount: Permill;2567}25682569/** @name RmrkTraitsPartEquippableList */2570export interface RmrkTraitsPartEquippableList extends Enum {2571 readonly isAll: boolean;2572 readonly isEmpty: boolean;2573 readonly isCustom: boolean;2574 readonly asCustom: Vec<u32>;2575 readonly type: 'All' | 'Empty' | 'Custom';2576}25772578/** @name RmrkTraitsPartFixedPart */2579export interface RmrkTraitsPartFixedPart extends Struct {2580 readonly id: u32;2581 readonly z: u32;2582 readonly src: Bytes;2583}25842585/** @name RmrkTraitsPartPartType */2586export interface RmrkTraitsPartPartType extends Enum {2587 readonly isFixedPart: boolean;2588 readonly asFixedPart: RmrkTraitsPartFixedPart;2589 readonly isSlotPart: boolean;2590 readonly asSlotPart: RmrkTraitsPartSlotPart;2591 readonly type: 'FixedPart' | 'SlotPart';2592}25932594/** @name RmrkTraitsPartSlotPart */2595export interface RmrkTraitsPartSlotPart extends Struct {2596 readonly id: u32;2597 readonly equippable: RmrkTraitsPartEquippableList;2598 readonly src: Bytes;2599 readonly z: u32;2600}26012602/** @name RmrkTraitsPropertyPropertyInfo */2603export interface RmrkTraitsPropertyPropertyInfo extends Struct {2604 readonly key: Bytes;2605 readonly value: Bytes;2606}26072608/** @name RmrkTraitsResourceBasicResource */2609export interface RmrkTraitsResourceBasicResource extends Struct {2610 readonly src: Option<Bytes>;2611 readonly metadata: Option<Bytes>;2612 readonly license: Option<Bytes>;2613 readonly thumb: Option<Bytes>;2614}26152616/** @name RmrkTraitsResourceComposableResource */2617export interface RmrkTraitsResourceComposableResource extends Struct {2618 readonly parts: Vec<u32>;2619 readonly base: u32;2620 readonly src: Option<Bytes>;2621 readonly metadata: Option<Bytes>;2622 readonly license: Option<Bytes>;2623 readonly thumb: Option<Bytes>;2624}26252626/** @name RmrkTraitsResourceResourceInfo */2627export interface RmrkTraitsResourceResourceInfo extends Struct {2628 readonly id: u32;2629 readonly resource: RmrkTraitsResourceResourceTypes;2630 readonly pending: bool;2631 readonly pendingRemoval: bool;2632}26332634/** @name RmrkTraitsResourceResourceTypes */2635export interface RmrkTraitsResourceResourceTypes extends Enum {2636 readonly isBasic: boolean;2637 readonly asBasic: RmrkTraitsResourceBasicResource;2638 readonly isComposable: boolean;2639 readonly asComposable: RmrkTraitsResourceComposableResource;2640 readonly isSlot: boolean;2641 readonly asSlot: RmrkTraitsResourceSlotResource;2642 readonly type: 'Basic' | 'Composable' | 'Slot';2643}26442645/** @name RmrkTraitsResourceSlotResource */2646export interface RmrkTraitsResourceSlotResource extends Struct {2647 readonly base: u32;2648 readonly src: Option<Bytes>;2649 readonly metadata: Option<Bytes>;2650 readonly slot: u32;2651 readonly license: Option<Bytes>;2652 readonly thumb: Option<Bytes>;2653}26542655/** @name RmrkTraitsTheme */2656export interface RmrkTraitsTheme extends Struct {2657 readonly name: Bytes;2658 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2659 readonly inherit: bool;2660}26612662/** @name RmrkTraitsThemeThemeProperty */2663export interface RmrkTraitsThemeThemeProperty extends Struct {2664 readonly key: Bytes;2665 readonly value: Bytes;2666}26672668/** @name SpCoreEcdsaSignature */2669export interface SpCoreEcdsaSignature extends U8aFixed {}26702671/** @name SpCoreEd25519Signature */2672export interface SpCoreEd25519Signature extends U8aFixed {}26732674/** @name SpCoreSr25519Signature */2675export interface SpCoreSr25519Signature extends U8aFixed {}26762677/** @name SpRuntimeArithmeticError */2678export interface SpRuntimeArithmeticError extends Enum {2679 readonly isUnderflow: boolean;2680 readonly isOverflow: boolean;2681 readonly isDivisionByZero: boolean;2682 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2683}26842685/** @name SpRuntimeDigest */2686export interface SpRuntimeDigest extends Struct {2687 readonly logs: Vec<SpRuntimeDigestDigestItem>;2688}26892690/** @name SpRuntimeDigestDigestItem */2691export interface SpRuntimeDigestDigestItem extends Enum {2692 readonly isOther: boolean;2693 readonly asOther: Bytes;2694 readonly isConsensus: boolean;2695 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2696 readonly isSeal: boolean;2697 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2698 readonly isPreRuntime: boolean;2699 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2700 readonly isRuntimeEnvironmentUpdated: boolean;2701 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2702}27032704/** @name SpRuntimeDispatchError */2705export interface SpRuntimeDispatchError extends Enum {2706 readonly isOther: boolean;2707 readonly isCannotLookup: boolean;2708 readonly isBadOrigin: boolean;2709 readonly isModule: boolean;2710 readonly asModule: SpRuntimeModuleError;2711 readonly isConsumerRemaining: boolean;2712 readonly isNoProviders: boolean;2713 readonly isTooManyConsumers: boolean;2714 readonly isToken: boolean;2715 readonly asToken: SpRuntimeTokenError;2716 readonly isArithmetic: boolean;2717 readonly asArithmetic: SpRuntimeArithmeticError;2718 readonly isTransactional: boolean;2719 readonly asTransactional: SpRuntimeTransactionalError;2720 readonly isExhausted: boolean;2721 readonly isCorruption: boolean;2722 readonly isUnavailable: boolean;2723 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';2724}27252726/** @name SpRuntimeModuleError */2727export interface SpRuntimeModuleError extends Struct {2728 readonly index: u8;2729 readonly error: U8aFixed;2730}27312732/** @name SpRuntimeMultiSignature */2733export interface SpRuntimeMultiSignature extends Enum {2734 readonly isEd25519: boolean;2735 readonly asEd25519: SpCoreEd25519Signature;2736 readonly isSr25519: boolean;2737 readonly asSr25519: SpCoreSr25519Signature;2738 readonly isEcdsa: boolean;2739 readonly asEcdsa: SpCoreEcdsaSignature;2740 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2741}27422743/** @name SpRuntimeTokenError */2744export interface SpRuntimeTokenError extends Enum {2745 readonly isNoFunds: boolean;2746 readonly isWouldDie: boolean;2747 readonly isBelowMinimum: boolean;2748 readonly isCannotCreate: boolean;2749 readonly isUnknownAsset: boolean;2750 readonly isFrozen: boolean;2751 readonly isUnsupported: boolean;2752 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2753}27542755/** @name SpRuntimeTransactionalError */2756export interface SpRuntimeTransactionalError extends Enum {2757 readonly isLimitReached: boolean;2758 readonly isNoLayer: boolean;2759 readonly type: 'LimitReached' | 'NoLayer';2760}27612762/** @name SpTrieStorageProof */2763export interface SpTrieStorageProof extends Struct {2764 readonly trieNodes: BTreeSet<Bytes>;2765}27662767/** @name SpVersionRuntimeVersion */2768export interface SpVersionRuntimeVersion extends Struct {2769 readonly specName: Text;2770 readonly implName: Text;2771 readonly authoringVersion: u32;2772 readonly specVersion: u32;2773 readonly implVersion: u32;2774 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2775 readonly transactionVersion: u32;2776 readonly stateVersion: u8;2777}27782779/** @name SpWeightsRuntimeDbWeight */2780export interface SpWeightsRuntimeDbWeight extends Struct {2781 readonly read: u64;2782 readonly write: u64;2783}27842785/** @name SpWeightsWeightV2Weight */2786export interface SpWeightsWeightV2Weight extends Struct {2787 readonly refTime: Compact<u64>;2788 readonly proofSize: Compact<u64>;2789}27902791/** @name UpDataStructsAccessMode */2792export interface UpDataStructsAccessMode extends Enum {2793 readonly isNormal: boolean;2794 readonly isAllowList: boolean;2795 readonly type: 'Normal' | 'AllowList';2796}27972798/** @name UpDataStructsCollection */2799export interface UpDataStructsCollection extends Struct {2800 readonly owner: AccountId32;2801 readonly mode: UpDataStructsCollectionMode;2802 readonly name: Vec<u16>;2803 readonly description: Vec<u16>;2804 readonly tokenPrefix: Bytes;2805 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2806 readonly limits: UpDataStructsCollectionLimits;2807 readonly permissions: UpDataStructsCollectionPermissions;2808 readonly flags: U8aFixed;2809}28102811/** @name UpDataStructsCollectionLimits */2812export interface UpDataStructsCollectionLimits extends Struct {2813 readonly accountTokenOwnershipLimit: Option<u32>;2814 readonly sponsoredDataSize: Option<u32>;2815 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2816 readonly tokenLimit: Option<u32>;2817 readonly sponsorTransferTimeout: Option<u32>;2818 readonly sponsorApproveTimeout: Option<u32>;2819 readonly ownerCanTransfer: Option<bool>;2820 readonly ownerCanDestroy: Option<bool>;2821 readonly transfersEnabled: Option<bool>;2822}28232824/** @name UpDataStructsCollectionMode */2825export interface UpDataStructsCollectionMode extends Enum {2826 readonly isNft: boolean;2827 readonly isFungible: boolean;2828 readonly asFungible: u8;2829 readonly isReFungible: boolean;2830 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2831}28322833/** @name UpDataStructsCollectionPermissions */2834export interface UpDataStructsCollectionPermissions extends Struct {2835 readonly access: Option<UpDataStructsAccessMode>;2836 readonly mintMode: Option<bool>;2837 readonly nesting: Option<UpDataStructsNestingPermissions>;2838}28392840/** @name UpDataStructsCollectionStats */2841export interface UpDataStructsCollectionStats extends Struct {2842 readonly created: u32;2843 readonly destroyed: u32;2844 readonly alive: u32;2845}28462847/** @name UpDataStructsCreateCollectionData */2848export interface UpDataStructsCreateCollectionData extends Struct {2849 readonly mode: UpDataStructsCollectionMode;2850 readonly access: Option<UpDataStructsAccessMode>;2851 readonly name: Vec<u16>;2852 readonly description: Vec<u16>;2853 readonly tokenPrefix: Bytes;2854 readonly pendingSponsor: Option<AccountId32>;2855 readonly limits: Option<UpDataStructsCollectionLimits>;2856 readonly permissions: Option<UpDataStructsCollectionPermissions>;2857 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2858 readonly properties: Vec<UpDataStructsProperty>;2859}28602861/** @name UpDataStructsCreateFungibleData */2862export interface UpDataStructsCreateFungibleData extends Struct {2863 readonly value: u128;2864}28652866/** @name UpDataStructsCreateItemData */2867export interface UpDataStructsCreateItemData extends Enum {2868 readonly isNft: boolean;2869 readonly asNft: UpDataStructsCreateNftData;2870 readonly isFungible: boolean;2871 readonly asFungible: UpDataStructsCreateFungibleData;2872 readonly isReFungible: boolean;2873 readonly asReFungible: UpDataStructsCreateReFungibleData;2874 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2875}28762877/** @name UpDataStructsCreateItemExData */2878export interface UpDataStructsCreateItemExData extends Enum {2879 readonly isNft: boolean;2880 readonly asNft: Vec<UpDataStructsCreateNftExData>;2881 readonly isFungible: boolean;2882 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2883 readonly isRefungibleMultipleItems: boolean;2884 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2885 readonly isRefungibleMultipleOwners: boolean;2886 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2887 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2888}28892890/** @name UpDataStructsCreateNftData */2891export interface UpDataStructsCreateNftData extends Struct {2892 readonly properties: Vec<UpDataStructsProperty>;2893}28942895/** @name UpDataStructsCreateNftExData */2896export interface UpDataStructsCreateNftExData extends Struct {2897 readonly properties: Vec<UpDataStructsProperty>;2898 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2899}29002901/** @name UpDataStructsCreateReFungibleData */2902export interface UpDataStructsCreateReFungibleData extends Struct {2903 readonly pieces: u128;2904 readonly properties: Vec<UpDataStructsProperty>;2905}29062907/** @name UpDataStructsCreateRefungibleExMultipleOwners */2908export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2909 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2910 readonly properties: Vec<UpDataStructsProperty>;2911}29122913/** @name UpDataStructsCreateRefungibleExSingleOwner */2914export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2915 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2916 readonly pieces: u128;2917 readonly properties: Vec<UpDataStructsProperty>;2918}29192920/** @name UpDataStructsNestingPermissions */2921export interface UpDataStructsNestingPermissions extends Struct {2922 readonly tokenOwner: bool;2923 readonly collectionAdmin: bool;2924 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2925}29262927/** @name UpDataStructsOwnerRestrictedSet */2928export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29292930/** @name UpDataStructsProperties */2931export interface UpDataStructsProperties extends Struct {2932 readonly map: UpDataStructsPropertiesMapBoundedVec;2933 readonly consumedSpace: u32;2934 readonly spaceLimit: u32;2935}29362937/** @name UpDataStructsPropertiesMapBoundedVec */2938export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}29392940/** @name UpDataStructsPropertiesMapPropertyPermission */2941export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}29422943/** @name UpDataStructsProperty */2944export interface UpDataStructsProperty extends Struct {2945 readonly key: Bytes;2946 readonly value: Bytes;2947}29482949/** @name UpDataStructsPropertyKeyPermission */2950export interface UpDataStructsPropertyKeyPermission extends Struct {2951 readonly key: Bytes;2952 readonly permission: UpDataStructsPropertyPermission;2953}29542955/** @name UpDataStructsPropertyPermission */2956export interface UpDataStructsPropertyPermission extends Struct {2957 readonly mutable: bool;2958 readonly collectionAdmin: bool;2959 readonly tokenOwner: bool;2960}29612962/** @name UpDataStructsPropertyScope */2963export interface UpDataStructsPropertyScope extends Enum {2964 readonly isNone: boolean;2965 readonly isRmrk: boolean;2966 readonly type: 'None' | 'Rmrk';2967}29682969/** @name UpDataStructsRpcCollection */2970export interface UpDataStructsRpcCollection extends Struct {2971 readonly owner: AccountId32;2972 readonly mode: UpDataStructsCollectionMode;2973 readonly name: Vec<u16>;2974 readonly description: Vec<u16>;2975 readonly tokenPrefix: Bytes;2976 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2977 readonly limits: UpDataStructsCollectionLimits;2978 readonly permissions: UpDataStructsCollectionPermissions;2979 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2980 readonly properties: Vec<UpDataStructsProperty>;2981 readonly readOnly: bool;2982 readonly flags: UpDataStructsRpcCollectionFlags;2983}29842985/** @name UpDataStructsRpcCollectionFlags */2986export interface UpDataStructsRpcCollectionFlags extends Struct {2987 readonly foreign: bool;2988 readonly erc721metadata: bool;2989}29902991/** @name UpDataStructsSponsoringRateLimit */2992export interface UpDataStructsSponsoringRateLimit extends Enum {2993 readonly isSponsoringDisabled: boolean;2994 readonly isBlocks: boolean;2995 readonly asBlocks: u32;2996 readonly type: 'SponsoringDisabled' | 'Blocks';2997}29982999/** @name UpDataStructsSponsorshipStateAccountId32 */3000export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3001 readonly isDisabled: boolean;3002 readonly isUnconfirmed: boolean;3003 readonly asUnconfirmed: AccountId32;3004 readonly isConfirmed: boolean;3005 readonly asConfirmed: AccountId32;3006 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3007}30083009/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3010export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3011 readonly isDisabled: boolean;3012 readonly isUnconfirmed: boolean;3013 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3014 readonly isConfirmed: boolean;3015 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3016 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3017}30183019/** @name UpDataStructsTokenChild */3020export interface UpDataStructsTokenChild extends Struct {3021 readonly token: u32;3022 readonly collection: u32;3023}30243025/** @name UpDataStructsTokenData */3026export interface UpDataStructsTokenData extends Struct {3027 readonly properties: Vec<UpDataStructsProperty>;3028 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3029 readonly pieces: u128;3030}30313032/** @name XcmDoubleEncoded */3033export interface XcmDoubleEncoded extends Struct {3034 readonly encoded: Bytes;3035}30363037/** @name XcmV0Junction */3038export interface XcmV0Junction extends Enum {3039 readonly isParent: boolean;3040 readonly isParachain: boolean;3041 readonly asParachain: Compact<u32>;3042 readonly isAccountId32: boolean;3043 readonly asAccountId32: {3044 readonly network: XcmV0JunctionNetworkId;3045 readonly id: U8aFixed;3046 } & Struct;3047 readonly isAccountIndex64: boolean;3048 readonly asAccountIndex64: {3049 readonly network: XcmV0JunctionNetworkId;3050 readonly index: Compact<u64>;3051 } & Struct;3052 readonly isAccountKey20: boolean;3053 readonly asAccountKey20: {3054 readonly network: XcmV0JunctionNetworkId;3055 readonly key: U8aFixed;3056 } & Struct;3057 readonly isPalletInstance: boolean;3058 readonly asPalletInstance: u8;3059 readonly isGeneralIndex: boolean;3060 readonly asGeneralIndex: Compact<u128>;3061 readonly isGeneralKey: boolean;3062 readonly asGeneralKey: Bytes;3063 readonly isOnlyChild: boolean;3064 readonly isPlurality: boolean;3065 readonly asPlurality: {3066 readonly id: XcmV0JunctionBodyId;3067 readonly part: XcmV0JunctionBodyPart;3068 } & Struct;3069 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3070}30713072/** @name XcmV0JunctionBodyId */3073export interface XcmV0JunctionBodyId extends Enum {3074 readonly isUnit: boolean;3075 readonly isNamed: boolean;3076 readonly asNamed: Bytes;3077 readonly isIndex: boolean;3078 readonly asIndex: Compact<u32>;3079 readonly isExecutive: boolean;3080 readonly isTechnical: boolean;3081 readonly isLegislative: boolean;3082 readonly isJudicial: boolean;3083 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3084}30853086/** @name XcmV0JunctionBodyPart */3087export interface XcmV0JunctionBodyPart extends Enum {3088 readonly isVoice: boolean;3089 readonly isMembers: boolean;3090 readonly asMembers: {3091 readonly count: Compact<u32>;3092 } & Struct;3093 readonly isFraction: boolean;3094 readonly asFraction: {3095 readonly nom: Compact<u32>;3096 readonly denom: Compact<u32>;3097 } & Struct;3098 readonly isAtLeastProportion: boolean;3099 readonly asAtLeastProportion: {3100 readonly nom: Compact<u32>;3101 readonly denom: Compact<u32>;3102 } & Struct;3103 readonly isMoreThanProportion: boolean;3104 readonly asMoreThanProportion: {3105 readonly nom: Compact<u32>;3106 readonly denom: Compact<u32>;3107 } & Struct;3108 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3109}31103111/** @name XcmV0JunctionNetworkId */3112export interface XcmV0JunctionNetworkId extends Enum {3113 readonly isAny: boolean;3114 readonly isNamed: boolean;3115 readonly asNamed: Bytes;3116 readonly isPolkadot: boolean;3117 readonly isKusama: boolean;3118 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3119}31203121/** @name XcmV0MultiAsset */3122export interface XcmV0MultiAsset extends Enum {3123 readonly isNone: boolean;3124 readonly isAll: boolean;3125 readonly isAllFungible: boolean;3126 readonly isAllNonFungible: boolean;3127 readonly isAllAbstractFungible: boolean;3128 readonly asAllAbstractFungible: {3129 readonly id: Bytes;3130 } & Struct;3131 readonly isAllAbstractNonFungible: boolean;3132 readonly asAllAbstractNonFungible: {3133 readonly class: Bytes;3134 } & Struct;3135 readonly isAllConcreteFungible: boolean;3136 readonly asAllConcreteFungible: {3137 readonly id: XcmV0MultiLocation;3138 } & Struct;3139 readonly isAllConcreteNonFungible: boolean;3140 readonly asAllConcreteNonFungible: {3141 readonly class: XcmV0MultiLocation;3142 } & Struct;3143 readonly isAbstractFungible: boolean;3144 readonly asAbstractFungible: {3145 readonly id: Bytes;3146 readonly amount: Compact<u128>;3147 } & Struct;3148 readonly isAbstractNonFungible: boolean;3149 readonly asAbstractNonFungible: {3150 readonly class: Bytes;3151 readonly instance: XcmV1MultiassetAssetInstance;3152 } & Struct;3153 readonly isConcreteFungible: boolean;3154 readonly asConcreteFungible: {3155 readonly id: XcmV0MultiLocation;3156 readonly amount: Compact<u128>;3157 } & Struct;3158 readonly isConcreteNonFungible: boolean;3159 readonly asConcreteNonFungible: {3160 readonly class: XcmV0MultiLocation;3161 readonly instance: XcmV1MultiassetAssetInstance;3162 } & Struct;3163 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3164}31653166/** @name XcmV0MultiLocation */3167export interface XcmV0MultiLocation extends Enum {3168 readonly isNull: boolean;3169 readonly isX1: boolean;3170 readonly asX1: XcmV0Junction;3171 readonly isX2: boolean;3172 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3173 readonly isX3: boolean;3174 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3175 readonly isX4: boolean;3176 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3177 readonly isX5: boolean;3178 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3179 readonly isX6: boolean;3180 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3181 readonly isX7: boolean;3182 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3183 readonly isX8: boolean;3184 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3185 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3186}31873188/** @name XcmV0Order */3189export interface XcmV0Order extends Enum {3190 readonly isNull: boolean;3191 readonly isDepositAsset: boolean;3192 readonly asDepositAsset: {3193 readonly assets: Vec<XcmV0MultiAsset>;3194 readonly dest: XcmV0MultiLocation;3195 } & Struct;3196 readonly isDepositReserveAsset: boolean;3197 readonly asDepositReserveAsset: {3198 readonly assets: Vec<XcmV0MultiAsset>;3199 readonly dest: XcmV0MultiLocation;3200 readonly effects: Vec<XcmV0Order>;3201 } & Struct;3202 readonly isExchangeAsset: boolean;3203 readonly asExchangeAsset: {3204 readonly give: Vec<XcmV0MultiAsset>;3205 readonly receive: Vec<XcmV0MultiAsset>;3206 } & Struct;3207 readonly isInitiateReserveWithdraw: boolean;3208 readonly asInitiateReserveWithdraw: {3209 readonly assets: Vec<XcmV0MultiAsset>;3210 readonly reserve: XcmV0MultiLocation;3211 readonly effects: Vec<XcmV0Order>;3212 } & Struct;3213 readonly isInitiateTeleport: boolean;3214 readonly asInitiateTeleport: {3215 readonly assets: Vec<XcmV0MultiAsset>;3216 readonly dest: XcmV0MultiLocation;3217 readonly effects: Vec<XcmV0Order>;3218 } & Struct;3219 readonly isQueryHolding: boolean;3220 readonly asQueryHolding: {3221 readonly queryId: Compact<u64>;3222 readonly dest: XcmV0MultiLocation;3223 readonly assets: Vec<XcmV0MultiAsset>;3224 } & Struct;3225 readonly isBuyExecution: boolean;3226 readonly asBuyExecution: {3227 readonly fees: XcmV0MultiAsset;3228 readonly weight: u64;3229 readonly debt: u64;3230 readonly haltOnError: bool;3231 readonly xcm: Vec<XcmV0Xcm>;3232 } & Struct;3233 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3234}32353236/** @name XcmV0OriginKind */3237export interface XcmV0OriginKind extends Enum {3238 readonly isNative: boolean;3239 readonly isSovereignAccount: boolean;3240 readonly isSuperuser: boolean;3241 readonly isXcm: boolean;3242 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3243}32443245/** @name XcmV0Response */3246export interface XcmV0Response extends Enum {3247 readonly isAssets: boolean;3248 readonly asAssets: Vec<XcmV0MultiAsset>;3249 readonly type: 'Assets';3250}32513252/** @name XcmV0Xcm */3253export interface XcmV0Xcm extends Enum {3254 readonly isWithdrawAsset: boolean;3255 readonly asWithdrawAsset: {3256 readonly assets: Vec<XcmV0MultiAsset>;3257 readonly effects: Vec<XcmV0Order>;3258 } & Struct;3259 readonly isReserveAssetDeposit: boolean;3260 readonly asReserveAssetDeposit: {3261 readonly assets: Vec<XcmV0MultiAsset>;3262 readonly effects: Vec<XcmV0Order>;3263 } & Struct;3264 readonly isTeleportAsset: boolean;3265 readonly asTeleportAsset: {3266 readonly assets: Vec<XcmV0MultiAsset>;3267 readonly effects: Vec<XcmV0Order>;3268 } & Struct;3269 readonly isQueryResponse: boolean;3270 readonly asQueryResponse: {3271 readonly queryId: Compact<u64>;3272 readonly response: XcmV0Response;3273 } & Struct;3274 readonly isTransferAsset: boolean;3275 readonly asTransferAsset: {3276 readonly assets: Vec<XcmV0MultiAsset>;3277 readonly dest: XcmV0MultiLocation;3278 } & Struct;3279 readonly isTransferReserveAsset: boolean;3280 readonly asTransferReserveAsset: {3281 readonly assets: Vec<XcmV0MultiAsset>;3282 readonly dest: XcmV0MultiLocation;3283 readonly effects: Vec<XcmV0Order>;3284 } & Struct;3285 readonly isTransact: boolean;3286 readonly asTransact: {3287 readonly originType: XcmV0OriginKind;3288 readonly requireWeightAtMost: u64;3289 readonly call: XcmDoubleEncoded;3290 } & Struct;3291 readonly isHrmpNewChannelOpenRequest: boolean;3292 readonly asHrmpNewChannelOpenRequest: {3293 readonly sender: Compact<u32>;3294 readonly maxMessageSize: Compact<u32>;3295 readonly maxCapacity: Compact<u32>;3296 } & Struct;3297 readonly isHrmpChannelAccepted: boolean;3298 readonly asHrmpChannelAccepted: {3299 readonly recipient: Compact<u32>;3300 } & Struct;3301 readonly isHrmpChannelClosing: boolean;3302 readonly asHrmpChannelClosing: {3303 readonly initiator: Compact<u32>;3304 readonly sender: Compact<u32>;3305 readonly recipient: Compact<u32>;3306 } & Struct;3307 readonly isRelayedFrom: boolean;3308 readonly asRelayedFrom: {3309 readonly who: XcmV0MultiLocation;3310 readonly message: XcmV0Xcm;3311 } & Struct;3312 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3313}33143315/** @name XcmV1Junction */3316export interface XcmV1Junction extends Enum {3317 readonly isParachain: boolean;3318 readonly asParachain: Compact<u32>;3319 readonly isAccountId32: boolean;3320 readonly asAccountId32: {3321 readonly network: XcmV0JunctionNetworkId;3322 readonly id: U8aFixed;3323 } & Struct;3324 readonly isAccountIndex64: boolean;3325 readonly asAccountIndex64: {3326 readonly network: XcmV0JunctionNetworkId;3327 readonly index: Compact<u64>;3328 } & Struct;3329 readonly isAccountKey20: boolean;3330 readonly asAccountKey20: {3331 readonly network: XcmV0JunctionNetworkId;3332 readonly key: U8aFixed;3333 } & Struct;3334 readonly isPalletInstance: boolean;3335 readonly asPalletInstance: u8;3336 readonly isGeneralIndex: boolean;3337 readonly asGeneralIndex: Compact<u128>;3338 readonly isGeneralKey: boolean;3339 readonly asGeneralKey: Bytes;3340 readonly isOnlyChild: boolean;3341 readonly isPlurality: boolean;3342 readonly asPlurality: {3343 readonly id: XcmV0JunctionBodyId;3344 readonly part: XcmV0JunctionBodyPart;3345 } & Struct;3346 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3347}33483349/** @name XcmV1MultiAsset */3350export interface XcmV1MultiAsset extends Struct {3351 readonly id: XcmV1MultiassetAssetId;3352 readonly fun: XcmV1MultiassetFungibility;3353}33543355/** @name XcmV1MultiassetAssetId */3356export interface XcmV1MultiassetAssetId extends Enum {3357 readonly isConcrete: boolean;3358 readonly asConcrete: XcmV1MultiLocation;3359 readonly isAbstract: boolean;3360 readonly asAbstract: Bytes;3361 readonly type: 'Concrete' | 'Abstract';3362}33633364/** @name XcmV1MultiassetAssetInstance */3365export interface XcmV1MultiassetAssetInstance extends Enum {3366 readonly isUndefined: boolean;3367 readonly isIndex: boolean;3368 readonly asIndex: Compact<u128>;3369 readonly isArray4: boolean;3370 readonly asArray4: U8aFixed;3371 readonly isArray8: boolean;3372 readonly asArray8: U8aFixed;3373 readonly isArray16: boolean;3374 readonly asArray16: U8aFixed;3375 readonly isArray32: boolean;3376 readonly asArray32: U8aFixed;3377 readonly isBlob: boolean;3378 readonly asBlob: Bytes;3379 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3380}33813382/** @name XcmV1MultiassetFungibility */3383export interface XcmV1MultiassetFungibility extends Enum {3384 readonly isFungible: boolean;3385 readonly asFungible: Compact<u128>;3386 readonly isNonFungible: boolean;3387 readonly asNonFungible: XcmV1MultiassetAssetInstance;3388 readonly type: 'Fungible' | 'NonFungible';3389}33903391/** @name XcmV1MultiassetMultiAssetFilter */3392export interface XcmV1MultiassetMultiAssetFilter extends Enum {3393 readonly isDefinite: boolean;3394 readonly asDefinite: XcmV1MultiassetMultiAssets;3395 readonly isWild: boolean;3396 readonly asWild: XcmV1MultiassetWildMultiAsset;3397 readonly type: 'Definite' | 'Wild';3398}33993400/** @name XcmV1MultiassetMultiAssets */3401export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}34023403/** @name XcmV1MultiassetWildFungibility */3404export interface XcmV1MultiassetWildFungibility extends Enum {3405 readonly isFungible: boolean;3406 readonly isNonFungible: boolean;3407 readonly type: 'Fungible' | 'NonFungible';3408}34093410/** @name XcmV1MultiassetWildMultiAsset */3411export interface XcmV1MultiassetWildMultiAsset extends Enum {3412 readonly isAll: boolean;3413 readonly isAllOf: boolean;3414 readonly asAllOf: {3415 readonly id: XcmV1MultiassetAssetId;3416 readonly fun: XcmV1MultiassetWildFungibility;3417 } & Struct;3418 readonly type: 'All' | 'AllOf';3419}34203421/** @name XcmV1MultiLocation */3422export interface XcmV1MultiLocation extends Struct {3423 readonly parents: u8;3424 readonly interior: XcmV1MultilocationJunctions;3425}34263427/** @name XcmV1MultilocationJunctions */3428export interface XcmV1MultilocationJunctions extends Enum {3429 readonly isHere: boolean;3430 readonly isX1: boolean;3431 readonly asX1: XcmV1Junction;3432 readonly isX2: boolean;3433 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3434 readonly isX3: boolean;3435 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3436 readonly isX4: boolean;3437 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3438 readonly isX5: boolean;3439 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3440 readonly isX6: boolean;3441 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3442 readonly isX7: boolean;3443 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3444 readonly isX8: boolean;3445 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3446 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3447}34483449/** @name XcmV1Order */3450export interface XcmV1Order extends Enum {3451 readonly isNoop: boolean;3452 readonly isDepositAsset: boolean;3453 readonly asDepositAsset: {3454 readonly assets: XcmV1MultiassetMultiAssetFilter;3455 readonly maxAssets: u32;3456 readonly beneficiary: XcmV1MultiLocation;3457 } & Struct;3458 readonly isDepositReserveAsset: boolean;3459 readonly asDepositReserveAsset: {3460 readonly assets: XcmV1MultiassetMultiAssetFilter;3461 readonly maxAssets: u32;3462 readonly dest: XcmV1MultiLocation;3463 readonly effects: Vec<XcmV1Order>;3464 } & Struct;3465 readonly isExchangeAsset: boolean;3466 readonly asExchangeAsset: {3467 readonly give: XcmV1MultiassetMultiAssetFilter;3468 readonly receive: XcmV1MultiassetMultiAssets;3469 } & Struct;3470 readonly isInitiateReserveWithdraw: boolean;3471 readonly asInitiateReserveWithdraw: {3472 readonly assets: XcmV1MultiassetMultiAssetFilter;3473 readonly reserve: XcmV1MultiLocation;3474 readonly effects: Vec<XcmV1Order>;3475 } & Struct;3476 readonly isInitiateTeleport: boolean;3477 readonly asInitiateTeleport: {3478 readonly assets: XcmV1MultiassetMultiAssetFilter;3479 readonly dest: XcmV1MultiLocation;3480 readonly effects: Vec<XcmV1Order>;3481 } & Struct;3482 readonly isQueryHolding: boolean;3483 readonly asQueryHolding: {3484 readonly queryId: Compact<u64>;3485 readonly dest: XcmV1MultiLocation;3486 readonly assets: XcmV1MultiassetMultiAssetFilter;3487 } & Struct;3488 readonly isBuyExecution: boolean;3489 readonly asBuyExecution: {3490 readonly fees: XcmV1MultiAsset;3491 readonly weight: u64;3492 readonly debt: u64;3493 readonly haltOnError: bool;3494 readonly instructions: Vec<XcmV1Xcm>;3495 } & Struct;3496 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3497}34983499/** @name XcmV1Response */3500export interface XcmV1Response extends Enum {3501 readonly isAssets: boolean;3502 readonly asAssets: XcmV1MultiassetMultiAssets;3503 readonly isVersion: boolean;3504 readonly asVersion: u32;3505 readonly type: 'Assets' | 'Version';3506}35073508/** @name XcmV1Xcm */3509export interface XcmV1Xcm extends Enum {3510 readonly isWithdrawAsset: boolean;3511 readonly asWithdrawAsset: {3512 readonly assets: XcmV1MultiassetMultiAssets;3513 readonly effects: Vec<XcmV1Order>;3514 } & Struct;3515 readonly isReserveAssetDeposited: boolean;3516 readonly asReserveAssetDeposited: {3517 readonly assets: XcmV1MultiassetMultiAssets;3518 readonly effects: Vec<XcmV1Order>;3519 } & Struct;3520 readonly isReceiveTeleportedAsset: boolean;3521 readonly asReceiveTeleportedAsset: {3522 readonly assets: XcmV1MultiassetMultiAssets;3523 readonly effects: Vec<XcmV1Order>;3524 } & Struct;3525 readonly isQueryResponse: boolean;3526 readonly asQueryResponse: {3527 readonly queryId: Compact<u64>;3528 readonly response: XcmV1Response;3529 } & Struct;3530 readonly isTransferAsset: boolean;3531 readonly asTransferAsset: {3532 readonly assets: XcmV1MultiassetMultiAssets;3533 readonly beneficiary: XcmV1MultiLocation;3534 } & Struct;3535 readonly isTransferReserveAsset: boolean;3536 readonly asTransferReserveAsset: {3537 readonly assets: XcmV1MultiassetMultiAssets;3538 readonly dest: XcmV1MultiLocation;3539 readonly effects: Vec<XcmV1Order>;3540 } & Struct;3541 readonly isTransact: boolean;3542 readonly asTransact: {3543 readonly originType: XcmV0OriginKind;3544 readonly requireWeightAtMost: u64;3545 readonly call: XcmDoubleEncoded;3546 } & Struct;3547 readonly isHrmpNewChannelOpenRequest: boolean;3548 readonly asHrmpNewChannelOpenRequest: {3549 readonly sender: Compact<u32>;3550 readonly maxMessageSize: Compact<u32>;3551 readonly maxCapacity: Compact<u32>;3552 } & Struct;3553 readonly isHrmpChannelAccepted: boolean;3554 readonly asHrmpChannelAccepted: {3555 readonly recipient: Compact<u32>;3556 } & Struct;3557 readonly isHrmpChannelClosing: boolean;3558 readonly asHrmpChannelClosing: {3559 readonly initiator: Compact<u32>;3560 readonly sender: Compact<u32>;3561 readonly recipient: Compact<u32>;3562 } & Struct;3563 readonly isRelayedFrom: boolean;3564 readonly asRelayedFrom: {3565 readonly who: XcmV1MultilocationJunctions;3566 readonly message: XcmV1Xcm;3567 } & Struct;3568 readonly isSubscribeVersion: boolean;3569 readonly asSubscribeVersion: {3570 readonly queryId: Compact<u64>;3571 readonly maxResponseWeight: Compact<u64>;3572 } & Struct;3573 readonly isUnsubscribeVersion: boolean;3574 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3575}35763577/** @name XcmV2Instruction */3578export interface XcmV2Instruction extends Enum {3579 readonly isWithdrawAsset: boolean;3580 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3581 readonly isReserveAssetDeposited: boolean;3582 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3583 readonly isReceiveTeleportedAsset: boolean;3584 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3585 readonly isQueryResponse: boolean;3586 readonly asQueryResponse: {3587 readonly queryId: Compact<u64>;3588 readonly response: XcmV2Response;3589 readonly maxWeight: Compact<u64>;3590 } & Struct;3591 readonly isTransferAsset: boolean;3592 readonly asTransferAsset: {3593 readonly assets: XcmV1MultiassetMultiAssets;3594 readonly beneficiary: XcmV1MultiLocation;3595 } & Struct;3596 readonly isTransferReserveAsset: boolean;3597 readonly asTransferReserveAsset: {3598 readonly assets: XcmV1MultiassetMultiAssets;3599 readonly dest: XcmV1MultiLocation;3600 readonly xcm: XcmV2Xcm;3601 } & Struct;3602 readonly isTransact: boolean;3603 readonly asTransact: {3604 readonly originType: XcmV0OriginKind;3605 readonly requireWeightAtMost: Compact<u64>;3606 readonly call: XcmDoubleEncoded;3607 } & Struct;3608 readonly isHrmpNewChannelOpenRequest: boolean;3609 readonly asHrmpNewChannelOpenRequest: {3610 readonly sender: Compact<u32>;3611 readonly maxMessageSize: Compact<u32>;3612 readonly maxCapacity: Compact<u32>;3613 } & Struct;3614 readonly isHrmpChannelAccepted: boolean;3615 readonly asHrmpChannelAccepted: {3616 readonly recipient: Compact<u32>;3617 } & Struct;3618 readonly isHrmpChannelClosing: boolean;3619 readonly asHrmpChannelClosing: {3620 readonly initiator: Compact<u32>;3621 readonly sender: Compact<u32>;3622 readonly recipient: Compact<u32>;3623 } & Struct;3624 readonly isClearOrigin: boolean;3625 readonly isDescendOrigin: boolean;3626 readonly asDescendOrigin: XcmV1MultilocationJunctions;3627 readonly isReportError: boolean;3628 readonly asReportError: {3629 readonly queryId: Compact<u64>;3630 readonly dest: XcmV1MultiLocation;3631 readonly maxResponseWeight: Compact<u64>;3632 } & Struct;3633 readonly isDepositAsset: boolean;3634 readonly asDepositAsset: {3635 readonly assets: XcmV1MultiassetMultiAssetFilter;3636 readonly maxAssets: Compact<u32>;3637 readonly beneficiary: XcmV1MultiLocation;3638 } & Struct;3639 readonly isDepositReserveAsset: boolean;3640 readonly asDepositReserveAsset: {3641 readonly assets: XcmV1MultiassetMultiAssetFilter;3642 readonly maxAssets: Compact<u32>;3643 readonly dest: XcmV1MultiLocation;3644 readonly xcm: XcmV2Xcm;3645 } & Struct;3646 readonly isExchangeAsset: boolean;3647 readonly asExchangeAsset: {3648 readonly give: XcmV1MultiassetMultiAssetFilter;3649 readonly receive: XcmV1MultiassetMultiAssets;3650 } & Struct;3651 readonly isInitiateReserveWithdraw: boolean;3652 readonly asInitiateReserveWithdraw: {3653 readonly assets: XcmV1MultiassetMultiAssetFilter;3654 readonly reserve: XcmV1MultiLocation;3655 readonly xcm: XcmV2Xcm;3656 } & Struct;3657 readonly isInitiateTeleport: boolean;3658 readonly asInitiateTeleport: {3659 readonly assets: XcmV1MultiassetMultiAssetFilter;3660 readonly dest: XcmV1MultiLocation;3661 readonly xcm: XcmV2Xcm;3662 } & Struct;3663 readonly isQueryHolding: boolean;3664 readonly asQueryHolding: {3665 readonly queryId: Compact<u64>;3666 readonly dest: XcmV1MultiLocation;3667 readonly assets: XcmV1MultiassetMultiAssetFilter;3668 readonly maxResponseWeight: Compact<u64>;3669 } & Struct;3670 readonly isBuyExecution: boolean;3671 readonly asBuyExecution: {3672 readonly fees: XcmV1MultiAsset;3673 readonly weightLimit: XcmV2WeightLimit;3674 } & Struct;3675 readonly isRefundSurplus: boolean;3676 readonly isSetErrorHandler: boolean;3677 readonly asSetErrorHandler: XcmV2Xcm;3678 readonly isSetAppendix: boolean;3679 readonly asSetAppendix: XcmV2Xcm;3680 readonly isClearError: boolean;3681 readonly isClaimAsset: boolean;3682 readonly asClaimAsset: {3683 readonly assets: XcmV1MultiassetMultiAssets;3684 readonly ticket: XcmV1MultiLocation;3685 } & Struct;3686 readonly isTrap: boolean;3687 readonly asTrap: Compact<u64>;3688 readonly isSubscribeVersion: boolean;3689 readonly asSubscribeVersion: {3690 readonly queryId: Compact<u64>;3691 readonly maxResponseWeight: Compact<u64>;3692 } & Struct;3693 readonly isUnsubscribeVersion: boolean;3694 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';3695}36963697/** @name XcmV2Response */3698export interface XcmV2Response extends Enum {3699 readonly isNull: boolean;3700 readonly isAssets: boolean;3701 readonly asAssets: XcmV1MultiassetMultiAssets;3702 readonly isExecutionResult: boolean;3703 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3704 readonly isVersion: boolean;3705 readonly asVersion: u32;3706 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3707}37083709/** @name XcmV2TraitsError */3710export interface XcmV2TraitsError extends Enum {3711 readonly isOverflow: boolean;3712 readonly isUnimplemented: boolean;3713 readonly isUntrustedReserveLocation: boolean;3714 readonly isUntrustedTeleportLocation: boolean;3715 readonly isMultiLocationFull: boolean;3716 readonly isMultiLocationNotInvertible: boolean;3717 readonly isBadOrigin: boolean;3718 readonly isInvalidLocation: boolean;3719 readonly isAssetNotFound: boolean;3720 readonly isFailedToTransactAsset: boolean;3721 readonly isNotWithdrawable: boolean;3722 readonly isLocationCannotHold: boolean;3723 readonly isExceedsMaxMessageSize: boolean;3724 readonly isDestinationUnsupported: boolean;3725 readonly isTransport: boolean;3726 readonly isUnroutable: boolean;3727 readonly isUnknownClaim: boolean;3728 readonly isFailedToDecode: boolean;3729 readonly isMaxWeightInvalid: boolean;3730 readonly isNotHoldingFees: boolean;3731 readonly isTooExpensive: boolean;3732 readonly isTrap: boolean;3733 readonly asTrap: u64;3734 readonly isUnhandledXcmVersion: boolean;3735 readonly isWeightLimitReached: boolean;3736 readonly asWeightLimitReached: u64;3737 readonly isBarrier: boolean;3738 readonly isWeightNotComputable: boolean;3739 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';3740}37413742/** @name XcmV2TraitsOutcome */3743export interface XcmV2TraitsOutcome extends Enum {3744 readonly isComplete: boolean;3745 readonly asComplete: u64;3746 readonly isIncomplete: boolean;3747 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3748 readonly isError: boolean;3749 readonly asError: XcmV2TraitsError;3750 readonly type: 'Complete' | 'Incomplete' | 'Error';3751}37523753/** @name XcmV2WeightLimit */3754export interface XcmV2WeightLimit extends Enum {3755 readonly isUnlimited: boolean;3756 readonly isLimited: boolean;3757 readonly asLimited: Compact<u64>;3758 readonly type: 'Unlimited' | 'Limited';3759}37603761/** @name XcmV2Xcm */3762export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}37633764/** @name XcmVersionedMultiAsset */3765export interface XcmVersionedMultiAsset extends Enum {3766 readonly isV0: boolean;3767 readonly asV0: XcmV0MultiAsset;3768 readonly isV1: boolean;3769 readonly asV1: XcmV1MultiAsset;3770 readonly type: 'V0' | 'V1';3771}37723773/** @name XcmVersionedMultiAssets */3774export interface XcmVersionedMultiAssets extends Enum {3775 readonly isV0: boolean;3776 readonly asV0: Vec<XcmV0MultiAsset>;3777 readonly isV1: boolean;3778 readonly asV1: XcmV1MultiassetMultiAssets;3779 readonly type: 'V0' | 'V1';3780}37813782/** @name XcmVersionedMultiLocation */3783export interface XcmVersionedMultiLocation extends Enum {3784 readonly isV0: boolean;3785 readonly asV0: XcmV0MultiLocation;3786 readonly isV1: boolean;3787 readonly asV1: XcmV1MultiLocation;3788 readonly type: 'V0' | 'V1';3789}37903791/** @name XcmVersionedXcm */3792export interface XcmVersionedXcm extends Enum {3793 readonly isV0: boolean;3794 readonly asV0: XcmV0Xcm;3795 readonly isV1: boolean;3796 readonly asV1: XcmV1Xcm;3797 readonly isV2: boolean;3798 readonly asV2: XcmV2Xcm;3799 readonly type: 'V0' | 'V1' | 'V2';3800}38013802export type PHANTOM_DEFAULT = 'default';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: SpWeightsWeightV2Weight;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: SpWeightsWeightV2Weight;50 readonly requiredWeight: SpWeightsWeightV2Weight;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: SpWeightsWeightV2Weight;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: SpWeightsWeightV2Weight;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: SpWeightsWeightV2Weight;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmpQueueCall */157export interface CumulusPalletXcmpQueueCall extends Enum {158 readonly isServiceOverweight: boolean;159 readonly asServiceOverweight: {160 readonly index: u64;161 readonly weightLimit: u64;162 } & Struct;163 readonly isSuspendXcmExecution: boolean;164 readonly isResumeXcmExecution: boolean;165 readonly isUpdateSuspendThreshold: boolean;166 readonly asUpdateSuspendThreshold: {167 readonly new_: u32;168 } & Struct;169 readonly isUpdateDropThreshold: boolean;170 readonly asUpdateDropThreshold: {171 readonly new_: u32;172 } & Struct;173 readonly isUpdateResumeThreshold: boolean;174 readonly asUpdateResumeThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateThresholdWeight: boolean;178 readonly asUpdateThresholdWeight: {179 readonly new_: u64;180 } & Struct;181 readonly isUpdateWeightRestrictDecay: boolean;182 readonly asUpdateWeightRestrictDecay: {183 readonly new_: u64;184 } & Struct;185 readonly isUpdateXcmpMaxIndividualWeight: boolean;186 readonly asUpdateXcmpMaxIndividualWeight: {187 readonly new_: u64;188 } & Struct;189 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';190}191192/** @name CumulusPalletXcmpQueueError */193export interface CumulusPalletXcmpQueueError extends Enum {194 readonly isFailedToSend: boolean;195 readonly isBadXcmOrigin: boolean;196 readonly isBadXcm: boolean;197 readonly isBadOverweightIndex: boolean;198 readonly isWeightOverLimit: boolean;199 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';200}201202/** @name CumulusPalletXcmpQueueEvent */203export interface CumulusPalletXcmpQueueEvent extends Enum {204 readonly isSuccess: boolean;205 readonly asSuccess: {206 readonly messageHash: Option<H256>;207 readonly weight: SpWeightsWeightV2Weight;208 } & Struct;209 readonly isFail: boolean;210 readonly asFail: {211 readonly messageHash: Option<H256>;212 readonly error: XcmV2TraitsError;213 readonly weight: SpWeightsWeightV2Weight;214 } & Struct;215 readonly isBadVersion: boolean;216 readonly asBadVersion: {217 readonly messageHash: Option<H256>;218 } & Struct;219 readonly isBadFormat: boolean;220 readonly asBadFormat: {221 readonly messageHash: Option<H256>;222 } & Struct;223 readonly isUpwardMessageSent: boolean;224 readonly asUpwardMessageSent: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isXcmpMessageSent: boolean;228 readonly asXcmpMessageSent: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isOverweightEnqueued: boolean;232 readonly asOverweightEnqueued: {233 readonly sender: u32;234 readonly sentAt: u32;235 readonly index: u64;236 readonly required: SpWeightsWeightV2Weight;237 } & Struct;238 readonly isOverweightServiced: boolean;239 readonly asOverweightServiced: {240 readonly index: u64;241 readonly used: SpWeightsWeightV2Weight;242 } & Struct;243 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';244}245246/** @name CumulusPalletXcmpQueueInboundChannelDetails */247export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {248 readonly sender: u32;249 readonly state: CumulusPalletXcmpQueueInboundState;250 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;251}252253/** @name CumulusPalletXcmpQueueInboundState */254export interface CumulusPalletXcmpQueueInboundState extends Enum {255 readonly isOk: boolean;256 readonly isSuspended: boolean;257 readonly type: 'Ok' | 'Suspended';258}259260/** @name CumulusPalletXcmpQueueOutboundChannelDetails */261export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {262 readonly recipient: u32;263 readonly state: CumulusPalletXcmpQueueOutboundState;264 readonly signalsExist: bool;265 readonly firstIndex: u16;266 readonly lastIndex: u16;267}268269/** @name CumulusPalletXcmpQueueOutboundState */270export interface CumulusPalletXcmpQueueOutboundState extends Enum {271 readonly isOk: boolean;272 readonly isSuspended: boolean;273 readonly type: 'Ok' | 'Suspended';274}275276/** @name CumulusPalletXcmpQueueQueueConfigData */277export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {278 readonly suspendThreshold: u32;279 readonly dropThreshold: u32;280 readonly resumeThreshold: u32;281 readonly thresholdWeight: SpWeightsWeightV2Weight;282 readonly weightRestrictDecay: SpWeightsWeightV2Weight;283 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;284}285286/** @name CumulusPrimitivesParachainInherentParachainInherentData */287export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {288 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;289 readonly relayChainState: SpTrieStorageProof;290 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;291 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;292}293294/** @name EthbloomBloom */295export interface EthbloomBloom extends U8aFixed {}296297/** @name EthereumBlock */298export interface EthereumBlock extends Struct {299 readonly header: EthereumHeader;300 readonly transactions: Vec<EthereumTransactionTransactionV2>;301 readonly ommers: Vec<EthereumHeader>;302}303304/** @name EthereumHeader */305export interface EthereumHeader extends Struct {306 readonly parentHash: H256;307 readonly ommersHash: H256;308 readonly beneficiary: H160;309 readonly stateRoot: H256;310 readonly transactionsRoot: H256;311 readonly receiptsRoot: H256;312 readonly logsBloom: EthbloomBloom;313 readonly difficulty: U256;314 readonly number: U256;315 readonly gasLimit: U256;316 readonly gasUsed: U256;317 readonly timestamp: u64;318 readonly extraData: Bytes;319 readonly mixHash: H256;320 readonly nonce: EthereumTypesHashH64;321}322323/** @name EthereumLog */324export interface EthereumLog extends Struct {325 readonly address: H160;326 readonly topics: Vec<H256>;327 readonly data: Bytes;328}329330/** @name EthereumReceiptEip658ReceiptData */331export interface EthereumReceiptEip658ReceiptData extends Struct {332 readonly statusCode: u8;333 readonly usedGas: U256;334 readonly logsBloom: EthbloomBloom;335 readonly logs: Vec<EthereumLog>;336}337338/** @name EthereumReceiptReceiptV3 */339export interface EthereumReceiptReceiptV3 extends Enum {340 readonly isLegacy: boolean;341 readonly asLegacy: EthereumReceiptEip658ReceiptData;342 readonly isEip2930: boolean;343 readonly asEip2930: EthereumReceiptEip658ReceiptData;344 readonly isEip1559: boolean;345 readonly asEip1559: EthereumReceiptEip658ReceiptData;346 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';347}348349/** @name EthereumTransactionAccessListItem */350export interface EthereumTransactionAccessListItem extends Struct {351 readonly address: H160;352 readonly storageKeys: Vec<H256>;353}354355/** @name EthereumTransactionEip1559Transaction */356export interface EthereumTransactionEip1559Transaction extends Struct {357 readonly chainId: u64;358 readonly nonce: U256;359 readonly maxPriorityFeePerGas: U256;360 readonly maxFeePerGas: U256;361 readonly gasLimit: U256;362 readonly action: EthereumTransactionTransactionAction;363 readonly value: U256;364 readonly input: Bytes;365 readonly accessList: Vec<EthereumTransactionAccessListItem>;366 readonly oddYParity: bool;367 readonly r: H256;368 readonly s: H256;369}370371/** @name EthereumTransactionEip2930Transaction */372export interface EthereumTransactionEip2930Transaction extends Struct {373 readonly chainId: u64;374 readonly nonce: U256;375 readonly gasPrice: U256;376 readonly gasLimit: U256;377 readonly action: EthereumTransactionTransactionAction;378 readonly value: U256;379 readonly input: Bytes;380 readonly accessList: Vec<EthereumTransactionAccessListItem>;381 readonly oddYParity: bool;382 readonly r: H256;383 readonly s: H256;384}385386/** @name EthereumTransactionLegacyTransaction */387export interface EthereumTransactionLegacyTransaction extends Struct {388 readonly nonce: U256;389 readonly gasPrice: U256;390 readonly gasLimit: U256;391 readonly action: EthereumTransactionTransactionAction;392 readonly value: U256;393 readonly input: Bytes;394 readonly signature: EthereumTransactionTransactionSignature;395}396397/** @name EthereumTransactionTransactionAction */398export interface EthereumTransactionTransactionAction extends Enum {399 readonly isCall: boolean;400 readonly asCall: H160;401 readonly isCreate: boolean;402 readonly type: 'Call' | 'Create';403}404405/** @name EthereumTransactionTransactionSignature */406export interface EthereumTransactionTransactionSignature extends Struct {407 readonly v: u64;408 readonly r: H256;409 readonly s: H256;410}411412/** @name EthereumTransactionTransactionV2 */413export interface EthereumTransactionTransactionV2 extends Enum {414 readonly isLegacy: boolean;415 readonly asLegacy: EthereumTransactionLegacyTransaction;416 readonly isEip2930: boolean;417 readonly asEip2930: EthereumTransactionEip2930Transaction;418 readonly isEip1559: boolean;419 readonly asEip1559: EthereumTransactionEip1559Transaction;420 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';421}422423/** @name EthereumTypesHashH64 */424export interface EthereumTypesHashH64 extends U8aFixed {}425426/** @name EvmCoreErrorExitError */427export interface EvmCoreErrorExitError extends Enum {428 readonly isStackUnderflow: boolean;429 readonly isStackOverflow: boolean;430 readonly isInvalidJump: boolean;431 readonly isInvalidRange: boolean;432 readonly isDesignatedInvalid: boolean;433 readonly isCallTooDeep: boolean;434 readonly isCreateCollision: boolean;435 readonly isCreateContractLimit: boolean;436 readonly isOutOfOffset: boolean;437 readonly isOutOfGas: boolean;438 readonly isOutOfFund: boolean;439 readonly isPcUnderflow: boolean;440 readonly isCreateEmpty: boolean;441 readonly isOther: boolean;442 readonly asOther: Text;443 readonly isInvalidCode: boolean;444 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';445}446447/** @name EvmCoreErrorExitFatal */448export interface EvmCoreErrorExitFatal extends Enum {449 readonly isNotSupported: boolean;450 readonly isUnhandledInterrupt: boolean;451 readonly isCallErrorAsFatal: boolean;452 readonly asCallErrorAsFatal: EvmCoreErrorExitError;453 readonly isOther: boolean;454 readonly asOther: Text;455 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';456}457458/** @name EvmCoreErrorExitReason */459export interface EvmCoreErrorExitReason extends Enum {460 readonly isSucceed: boolean;461 readonly asSucceed: EvmCoreErrorExitSucceed;462 readonly isError: boolean;463 readonly asError: EvmCoreErrorExitError;464 readonly isRevert: boolean;465 readonly asRevert: EvmCoreErrorExitRevert;466 readonly isFatal: boolean;467 readonly asFatal: EvmCoreErrorExitFatal;468 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';469}470471/** @name EvmCoreErrorExitRevert */472export interface EvmCoreErrorExitRevert extends Enum {473 readonly isReverted: boolean;474 readonly type: 'Reverted';475}476477/** @name EvmCoreErrorExitSucceed */478export interface EvmCoreErrorExitSucceed extends Enum {479 readonly isStopped: boolean;480 readonly isReturned: boolean;481 readonly isSuicided: boolean;482 readonly type: 'Stopped' | 'Returned' | 'Suicided';483}484485/** @name FpRpcTransactionStatus */486export interface FpRpcTransactionStatus extends Struct {487 readonly transactionHash: H256;488 readonly transactionIndex: u32;489 readonly from: H160;490 readonly to: Option<H160>;491 readonly contractAddress: Option<H160>;492 readonly logs: Vec<EthereumLog>;493 readonly logsBloom: EthbloomBloom;494}495496/** @name FrameSupportDispatchDispatchClass */497export interface FrameSupportDispatchDispatchClass extends Enum {498 readonly isNormal: boolean;499 readonly isOperational: boolean;500 readonly isMandatory: boolean;501 readonly type: 'Normal' | 'Operational' | 'Mandatory';502}503504/** @name FrameSupportDispatchDispatchInfo */505export interface FrameSupportDispatchDispatchInfo extends Struct {506 readonly weight: SpWeightsWeightV2Weight;507 readonly class: FrameSupportDispatchDispatchClass;508 readonly paysFee: FrameSupportDispatchPays;509}510511/** @name FrameSupportDispatchPays */512export interface FrameSupportDispatchPays extends Enum {513 readonly isYes: boolean;514 readonly isNo: boolean;515 readonly type: 'Yes' | 'No';516}517518/** @name FrameSupportDispatchPerDispatchClassU32 */519export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {520 readonly normal: u32;521 readonly operational: u32;522 readonly mandatory: u32;523}524525/** @name FrameSupportDispatchPerDispatchClassWeight */526export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {527 readonly normal: SpWeightsWeightV2Weight;528 readonly operational: SpWeightsWeightV2Weight;529 readonly mandatory: SpWeightsWeightV2Weight;530}531532/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */533export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {534 readonly normal: FrameSystemLimitsWeightsPerClass;535 readonly operational: FrameSystemLimitsWeightsPerClass;536 readonly mandatory: FrameSystemLimitsWeightsPerClass;537}538539/** @name FrameSupportPalletId */540export interface FrameSupportPalletId extends U8aFixed {}541542/** @name FrameSupportTokensMiscBalanceStatus */543export interface FrameSupportTokensMiscBalanceStatus extends Enum {544 readonly isFree: boolean;545 readonly isReserved: boolean;546 readonly type: 'Free' | 'Reserved';547}548549/** @name FrameSystemAccountInfo */550export interface FrameSystemAccountInfo extends Struct {551 readonly nonce: u32;552 readonly consumers: u32;553 readonly providers: u32;554 readonly sufficients: u32;555 readonly data: PalletBalancesAccountData;556}557558/** @name FrameSystemCall */559export interface FrameSystemCall extends Enum {560 readonly isFillBlock: boolean;561 readonly asFillBlock: {562 readonly ratio: Perbill;563 } & Struct;564 readonly isRemark: boolean;565 readonly asRemark: {566 readonly remark: Bytes;567 } & Struct;568 readonly isSetHeapPages: boolean;569 readonly asSetHeapPages: {570 readonly pages: u64;571 } & Struct;572 readonly isSetCode: boolean;573 readonly asSetCode: {574 readonly code: Bytes;575 } & Struct;576 readonly isSetCodeWithoutChecks: boolean;577 readonly asSetCodeWithoutChecks: {578 readonly code: Bytes;579 } & Struct;580 readonly isSetStorage: boolean;581 readonly asSetStorage: {582 readonly items: Vec<ITuple<[Bytes, Bytes]>>;583 } & Struct;584 readonly isKillStorage: boolean;585 readonly asKillStorage: {586 readonly keys_: Vec<Bytes>;587 } & Struct;588 readonly isKillPrefix: boolean;589 readonly asKillPrefix: {590 readonly prefix: Bytes;591 readonly subkeys: u32;592 } & Struct;593 readonly isRemarkWithEvent: boolean;594 readonly asRemarkWithEvent: {595 readonly remark: Bytes;596 } & Struct;597 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';598}599600/** @name FrameSystemError */601export interface FrameSystemError extends Enum {602 readonly isInvalidSpecName: boolean;603 readonly isSpecVersionNeedsToIncrease: boolean;604 readonly isFailedToExtractRuntimeVersion: boolean;605 readonly isNonDefaultComposite: boolean;606 readonly isNonZeroRefCount: boolean;607 readonly isCallFiltered: boolean;608 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';609}610611/** @name FrameSystemEvent */612export interface FrameSystemEvent extends Enum {613 readonly isExtrinsicSuccess: boolean;614 readonly asExtrinsicSuccess: {615 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;616 } & Struct;617 readonly isExtrinsicFailed: boolean;618 readonly asExtrinsicFailed: {619 readonly dispatchError: SpRuntimeDispatchError;620 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;621 } & Struct;622 readonly isCodeUpdated: boolean;623 readonly isNewAccount: boolean;624 readonly asNewAccount: {625 readonly account: AccountId32;626 } & Struct;627 readonly isKilledAccount: boolean;628 readonly asKilledAccount: {629 readonly account: AccountId32;630 } & Struct;631 readonly isRemarked: boolean;632 readonly asRemarked: {633 readonly sender: AccountId32;634 readonly hash_: H256;635 } & Struct;636 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';637}638639/** @name FrameSystemEventRecord */640export interface FrameSystemEventRecord extends Struct {641 readonly phase: FrameSystemPhase;642 readonly event: Event;643 readonly topics: Vec<H256>;644}645646/** @name FrameSystemExtensionsCheckGenesis */647export interface FrameSystemExtensionsCheckGenesis extends Null {}648649/** @name FrameSystemExtensionsCheckNonce */650export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}651652/** @name FrameSystemExtensionsCheckSpecVersion */653export interface FrameSystemExtensionsCheckSpecVersion extends Null {}654655/** @name FrameSystemExtensionsCheckTxVersion */656export interface FrameSystemExtensionsCheckTxVersion extends Null {}657658/** @name FrameSystemExtensionsCheckWeight */659export interface FrameSystemExtensionsCheckWeight extends Null {}660661/** @name FrameSystemLastRuntimeUpgradeInfo */662export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {663 readonly specVersion: Compact<u32>;664 readonly specName: Text;665}666667/** @name FrameSystemLimitsBlockLength */668export interface FrameSystemLimitsBlockLength extends Struct {669 readonly max: FrameSupportDispatchPerDispatchClassU32;670}671672/** @name FrameSystemLimitsBlockWeights */673export interface FrameSystemLimitsBlockWeights extends Struct {674 readonly baseBlock: SpWeightsWeightV2Weight;675 readonly maxBlock: SpWeightsWeightV2Weight;676 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;677}678679/** @name FrameSystemLimitsWeightsPerClass */680export interface FrameSystemLimitsWeightsPerClass extends Struct {681 readonly baseExtrinsic: SpWeightsWeightV2Weight;682 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;683 readonly maxTotal: Option<SpWeightsWeightV2Weight>;684 readonly reserved: Option<SpWeightsWeightV2Weight>;685}686687/** @name FrameSystemPhase */688export interface FrameSystemPhase extends Enum {689 readonly isApplyExtrinsic: boolean;690 readonly asApplyExtrinsic: u32;691 readonly isFinalization: boolean;692 readonly isInitialization: boolean;693 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';694}695696/** @name OpalRuntimeRuntime */697export interface OpalRuntimeRuntime extends Null {}698699/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */700export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}701702/** @name OrmlTokensAccountData */703export interface OrmlTokensAccountData extends Struct {704 readonly free: u128;705 readonly reserved: u128;706 readonly frozen: u128;707}708709/** @name OrmlTokensBalanceLock */710export interface OrmlTokensBalanceLock extends Struct {711 readonly id: U8aFixed;712 readonly amount: u128;713}714715/** @name OrmlTokensModuleCall */716export interface OrmlTokensModuleCall extends Enum {717 readonly isTransfer: boolean;718 readonly asTransfer: {719 readonly dest: MultiAddress;720 readonly currencyId: PalletForeignAssetsAssetIds;721 readonly amount: Compact<u128>;722 } & Struct;723 readonly isTransferAll: boolean;724 readonly asTransferAll: {725 readonly dest: MultiAddress;726 readonly currencyId: PalletForeignAssetsAssetIds;727 readonly keepAlive: bool;728 } & Struct;729 readonly isTransferKeepAlive: boolean;730 readonly asTransferKeepAlive: {731 readonly dest: MultiAddress;732 readonly currencyId: PalletForeignAssetsAssetIds;733 readonly amount: Compact<u128>;734 } & Struct;735 readonly isForceTransfer: boolean;736 readonly asForceTransfer: {737 readonly source: MultiAddress;738 readonly dest: MultiAddress;739 readonly currencyId: PalletForeignAssetsAssetIds;740 readonly amount: Compact<u128>;741 } & Struct;742 readonly isSetBalance: boolean;743 readonly asSetBalance: {744 readonly who: MultiAddress;745 readonly currencyId: PalletForeignAssetsAssetIds;746 readonly newFree: Compact<u128>;747 readonly newReserved: Compact<u128>;748 } & Struct;749 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';750}751752/** @name OrmlTokensModuleError */753export interface OrmlTokensModuleError extends Enum {754 readonly isBalanceTooLow: boolean;755 readonly isAmountIntoBalanceFailed: boolean;756 readonly isLiquidityRestrictions: boolean;757 readonly isMaxLocksExceeded: boolean;758 readonly isKeepAlive: boolean;759 readonly isExistentialDeposit: boolean;760 readonly isDeadAccount: boolean;761 readonly isTooManyReserves: boolean;762 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';763}764765/** @name OrmlTokensModuleEvent */766export interface OrmlTokensModuleEvent extends Enum {767 readonly isEndowed: boolean;768 readonly asEndowed: {769 readonly currencyId: PalletForeignAssetsAssetIds;770 readonly who: AccountId32;771 readonly amount: u128;772 } & Struct;773 readonly isDustLost: boolean;774 readonly asDustLost: {775 readonly currencyId: PalletForeignAssetsAssetIds;776 readonly who: AccountId32;777 readonly amount: u128;778 } & Struct;779 readonly isTransfer: boolean;780 readonly asTransfer: {781 readonly currencyId: PalletForeignAssetsAssetIds;782 readonly from: AccountId32;783 readonly to: AccountId32;784 readonly amount: u128;785 } & Struct;786 readonly isReserved: boolean;787 readonly asReserved: {788 readonly currencyId: PalletForeignAssetsAssetIds;789 readonly who: AccountId32;790 readonly amount: u128;791 } & Struct;792 readonly isUnreserved: boolean;793 readonly asUnreserved: {794 readonly currencyId: PalletForeignAssetsAssetIds;795 readonly who: AccountId32;796 readonly amount: u128;797 } & Struct;798 readonly isReserveRepatriated: boolean;799 readonly asReserveRepatriated: {800 readonly currencyId: PalletForeignAssetsAssetIds;801 readonly from: AccountId32;802 readonly to: AccountId32;803 readonly amount: u128;804 readonly status: FrameSupportTokensMiscBalanceStatus;805 } & Struct;806 readonly isBalanceSet: boolean;807 readonly asBalanceSet: {808 readonly currencyId: PalletForeignAssetsAssetIds;809 readonly who: AccountId32;810 readonly free: u128;811 readonly reserved: u128;812 } & Struct;813 readonly isTotalIssuanceSet: boolean;814 readonly asTotalIssuanceSet: {815 readonly currencyId: PalletForeignAssetsAssetIds;816 readonly amount: u128;817 } & Struct;818 readonly isWithdrawn: boolean;819 readonly asWithdrawn: {820 readonly currencyId: PalletForeignAssetsAssetIds;821 readonly who: AccountId32;822 readonly amount: u128;823 } & Struct;824 readonly isSlashed: boolean;825 readonly asSlashed: {826 readonly currencyId: PalletForeignAssetsAssetIds;827 readonly who: AccountId32;828 readonly freeAmount: u128;829 readonly reservedAmount: u128;830 } & Struct;831 readonly isDeposited: boolean;832 readonly asDeposited: {833 readonly currencyId: PalletForeignAssetsAssetIds;834 readonly who: AccountId32;835 readonly amount: u128;836 } & Struct;837 readonly isLockSet: boolean;838 readonly asLockSet: {839 readonly lockId: U8aFixed;840 readonly currencyId: PalletForeignAssetsAssetIds;841 readonly who: AccountId32;842 readonly amount: u128;843 } & Struct;844 readonly isLockRemoved: boolean;845 readonly asLockRemoved: {846 readonly lockId: U8aFixed;847 readonly currencyId: PalletForeignAssetsAssetIds;848 readonly who: AccountId32;849 } & Struct;850 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';851}852853/** @name OrmlTokensReserveData */854export interface OrmlTokensReserveData extends Struct {855 readonly id: Null;856 readonly amount: u128;857}858859/** @name OrmlVestingModuleCall */860export interface OrmlVestingModuleCall extends Enum {861 readonly isClaim: boolean;862 readonly isVestedTransfer: boolean;863 readonly asVestedTransfer: {864 readonly dest: MultiAddress;865 readonly schedule: OrmlVestingVestingSchedule;866 } & Struct;867 readonly isUpdateVestingSchedules: boolean;868 readonly asUpdateVestingSchedules: {869 readonly who: MultiAddress;870 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;871 } & Struct;872 readonly isClaimFor: boolean;873 readonly asClaimFor: {874 readonly dest: MultiAddress;875 } & Struct;876 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';877}878879/** @name OrmlVestingModuleError */880export interface OrmlVestingModuleError extends Enum {881 readonly isZeroVestingPeriod: boolean;882 readonly isZeroVestingPeriodCount: boolean;883 readonly isInsufficientBalanceToLock: boolean;884 readonly isTooManyVestingSchedules: boolean;885 readonly isAmountLow: boolean;886 readonly isMaxVestingSchedulesExceeded: boolean;887 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';888}889890/** @name OrmlVestingModuleEvent */891export interface OrmlVestingModuleEvent extends Enum {892 readonly isVestingScheduleAdded: boolean;893 readonly asVestingScheduleAdded: {894 readonly from: AccountId32;895 readonly to: AccountId32;896 readonly vestingSchedule: OrmlVestingVestingSchedule;897 } & Struct;898 readonly isClaimed: boolean;899 readonly asClaimed: {900 readonly who: AccountId32;901 readonly amount: u128;902 } & Struct;903 readonly isVestingSchedulesUpdated: boolean;904 readonly asVestingSchedulesUpdated: {905 readonly who: AccountId32;906 } & Struct;907 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';908}909910/** @name OrmlVestingVestingSchedule */911export interface OrmlVestingVestingSchedule extends Struct {912 readonly start: u32;913 readonly period: u32;914 readonly periodCount: u32;915 readonly perPeriod: Compact<u128>;916}917918/** @name OrmlXtokensModuleCall */919export interface OrmlXtokensModuleCall extends Enum {920 readonly isTransfer: boolean;921 readonly asTransfer: {922 readonly currencyId: PalletForeignAssetsAssetIds;923 readonly amount: u128;924 readonly dest: XcmVersionedMultiLocation;925 readonly destWeightLimit: XcmV2WeightLimit;926 } & Struct;927 readonly isTransferMultiasset: boolean;928 readonly asTransferMultiasset: {929 readonly asset: XcmVersionedMultiAsset;930 readonly dest: XcmVersionedMultiLocation;931 readonly destWeightLimit: XcmV2WeightLimit;932 } & Struct;933 readonly isTransferWithFee: boolean;934 readonly asTransferWithFee: {935 readonly currencyId: PalletForeignAssetsAssetIds;936 readonly amount: u128;937 readonly fee: u128;938 readonly dest: XcmVersionedMultiLocation;939 readonly destWeightLimit: XcmV2WeightLimit;940 } & Struct;941 readonly isTransferMultiassetWithFee: boolean;942 readonly asTransferMultiassetWithFee: {943 readonly asset: XcmVersionedMultiAsset;944 readonly fee: XcmVersionedMultiAsset;945 readonly dest: XcmVersionedMultiLocation;946 readonly destWeightLimit: XcmV2WeightLimit;947 } & Struct;948 readonly isTransferMulticurrencies: boolean;949 readonly asTransferMulticurrencies: {950 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;951 readonly feeItem: u32;952 readonly dest: XcmVersionedMultiLocation;953 readonly destWeightLimit: XcmV2WeightLimit;954 } & Struct;955 readonly isTransferMultiassets: boolean;956 readonly asTransferMultiassets: {957 readonly assets: XcmVersionedMultiAssets;958 readonly feeItem: u32;959 readonly dest: XcmVersionedMultiLocation;960 readonly destWeightLimit: XcmV2WeightLimit;961 } & Struct;962 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';963}964965/** @name OrmlXtokensModuleError */966export interface OrmlXtokensModuleError extends Enum {967 readonly isAssetHasNoReserve: boolean;968 readonly isNotCrossChainTransfer: boolean;969 readonly isInvalidDest: boolean;970 readonly isNotCrossChainTransferableCurrency: boolean;971 readonly isUnweighableMessage: boolean;972 readonly isXcmExecutionFailed: boolean;973 readonly isCannotReanchor: boolean;974 readonly isInvalidAncestry: boolean;975 readonly isInvalidAsset: boolean;976 readonly isDestinationNotInvertible: boolean;977 readonly isBadVersion: boolean;978 readonly isDistinctReserveForAssetAndFee: boolean;979 readonly isZeroFee: boolean;980 readonly isZeroAmount: boolean;981 readonly isTooManyAssetsBeingSent: boolean;982 readonly isAssetIndexNonExistent: boolean;983 readonly isFeeNotEnough: boolean;984 readonly isNotSupportedMultiLocation: boolean;985 readonly isMinXcmFeeNotDefined: boolean;986 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';987}988989/** @name OrmlXtokensModuleEvent */990export interface OrmlXtokensModuleEvent extends Enum {991 readonly isTransferredMultiAssets: boolean;992 readonly asTransferredMultiAssets: {993 readonly sender: AccountId32;994 readonly assets: XcmV1MultiassetMultiAssets;995 readonly fee: XcmV1MultiAsset;996 readonly dest: XcmV1MultiLocation;997 } & Struct;998 readonly type: 'TransferredMultiAssets';999}10001001/** @name PalletAppPromotionCall */1002export interface PalletAppPromotionCall extends Enum {1003 readonly isSetAdminAddress: boolean;1004 readonly asSetAdminAddress: {1005 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1006 } & Struct;1007 readonly isStake: boolean;1008 readonly asStake: {1009 readonly amount: u128;1010 } & Struct;1011 readonly isUnstake: boolean;1012 readonly isSponsorCollection: boolean;1013 readonly asSponsorCollection: {1014 readonly collectionId: u32;1015 } & Struct;1016 readonly isStopSponsoringCollection: boolean;1017 readonly asStopSponsoringCollection: {1018 readonly collectionId: u32;1019 } & Struct;1020 readonly isSponsorContract: boolean;1021 readonly asSponsorContract: {1022 readonly contractId: H160;1023 } & Struct;1024 readonly isStopSponsoringContract: boolean;1025 readonly asStopSponsoringContract: {1026 readonly contractId: H160;1027 } & Struct;1028 readonly isPayoutStakers: boolean;1029 readonly asPayoutStakers: {1030 readonly stakersNumber: Option<u8>;1031 } & Struct;1032 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1033}10341035/** @name PalletAppPromotionError */1036export interface PalletAppPromotionError extends Enum {1037 readonly isAdminNotSet: boolean;1038 readonly isNoPermission: boolean;1039 readonly isNotSufficientFunds: boolean;1040 readonly isPendingForBlockOverflow: boolean;1041 readonly isSponsorNotSet: boolean;1042 readonly isIncorrectLockedBalanceOperation: boolean;1043 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1044}10451046/** @name PalletAppPromotionEvent */1047export interface PalletAppPromotionEvent extends Enum {1048 readonly isStakingRecalculation: boolean;1049 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1050 readonly isStake: boolean;1051 readonly asStake: ITuple<[AccountId32, u128]>;1052 readonly isUnstake: boolean;1053 readonly asUnstake: ITuple<[AccountId32, u128]>;1054 readonly isSetAdmin: boolean;1055 readonly asSetAdmin: AccountId32;1056 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1057}10581059/** @name PalletBalancesAccountData */1060export interface PalletBalancesAccountData extends Struct {1061 readonly free: u128;1062 readonly reserved: u128;1063 readonly miscFrozen: u128;1064 readonly feeFrozen: u128;1065}10661067/** @name PalletBalancesBalanceLock */1068export interface PalletBalancesBalanceLock extends Struct {1069 readonly id: U8aFixed;1070 readonly amount: u128;1071 readonly reasons: PalletBalancesReasons;1072}10731074/** @name PalletBalancesCall */1075export interface PalletBalancesCall extends Enum {1076 readonly isTransfer: boolean;1077 readonly asTransfer: {1078 readonly dest: MultiAddress;1079 readonly value: Compact<u128>;1080 } & Struct;1081 readonly isSetBalance: boolean;1082 readonly asSetBalance: {1083 readonly who: MultiAddress;1084 readonly newFree: Compact<u128>;1085 readonly newReserved: Compact<u128>;1086 } & Struct;1087 readonly isForceTransfer: boolean;1088 readonly asForceTransfer: {1089 readonly source: MultiAddress;1090 readonly dest: MultiAddress;1091 readonly value: Compact<u128>;1092 } & Struct;1093 readonly isTransferKeepAlive: boolean;1094 readonly asTransferKeepAlive: {1095 readonly dest: MultiAddress;1096 readonly value: Compact<u128>;1097 } & Struct;1098 readonly isTransferAll: boolean;1099 readonly asTransferAll: {1100 readonly dest: MultiAddress;1101 readonly keepAlive: bool;1102 } & Struct;1103 readonly isForceUnreserve: boolean;1104 readonly asForceUnreserve: {1105 readonly who: MultiAddress;1106 readonly amount: u128;1107 } & Struct;1108 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1109}11101111/** @name PalletBalancesError */1112export interface PalletBalancesError extends Enum {1113 readonly isVestingBalance: boolean;1114 readonly isLiquidityRestrictions: boolean;1115 readonly isInsufficientBalance: boolean;1116 readonly isExistentialDeposit: boolean;1117 readonly isKeepAlive: boolean;1118 readonly isExistingVestingSchedule: boolean;1119 readonly isDeadAccount: boolean;1120 readonly isTooManyReserves: boolean;1121 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1122}11231124/** @name PalletBalancesEvent */1125export interface PalletBalancesEvent extends Enum {1126 readonly isEndowed: boolean;1127 readonly asEndowed: {1128 readonly account: AccountId32;1129 readonly freeBalance: u128;1130 } & Struct;1131 readonly isDustLost: boolean;1132 readonly asDustLost: {1133 readonly account: AccountId32;1134 readonly amount: u128;1135 } & Struct;1136 readonly isTransfer: boolean;1137 readonly asTransfer: {1138 readonly from: AccountId32;1139 readonly to: AccountId32;1140 readonly amount: u128;1141 } & Struct;1142 readonly isBalanceSet: boolean;1143 readonly asBalanceSet: {1144 readonly who: AccountId32;1145 readonly free: u128;1146 readonly reserved: u128;1147 } & Struct;1148 readonly isReserved: boolean;1149 readonly asReserved: {1150 readonly who: AccountId32;1151 readonly amount: u128;1152 } & Struct;1153 readonly isUnreserved: boolean;1154 readonly asUnreserved: {1155 readonly who: AccountId32;1156 readonly amount: u128;1157 } & Struct;1158 readonly isReserveRepatriated: boolean;1159 readonly asReserveRepatriated: {1160 readonly from: AccountId32;1161 readonly to: AccountId32;1162 readonly amount: u128;1163 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1164 } & Struct;1165 readonly isDeposit: boolean;1166 readonly asDeposit: {1167 readonly who: AccountId32;1168 readonly amount: u128;1169 } & Struct;1170 readonly isWithdraw: boolean;1171 readonly asWithdraw: {1172 readonly who: AccountId32;1173 readonly amount: u128;1174 } & Struct;1175 readonly isSlashed: boolean;1176 readonly asSlashed: {1177 readonly who: AccountId32;1178 readonly amount: u128;1179 } & Struct;1180 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1181}11821183/** @name PalletBalancesReasons */1184export interface PalletBalancesReasons extends Enum {1185 readonly isFee: boolean;1186 readonly isMisc: boolean;1187 readonly isAll: boolean;1188 readonly type: 'Fee' | 'Misc' | 'All';1189}11901191/** @name PalletBalancesReleases */1192export interface PalletBalancesReleases extends Enum {1193 readonly isV100: boolean;1194 readonly isV200: boolean;1195 readonly type: 'V100' | 'V200';1196}11971198/** @name PalletBalancesReserveData */1199export interface PalletBalancesReserveData extends Struct {1200 readonly id: U8aFixed;1201 readonly amount: u128;1202}12031204/** @name PalletCommonError */1205export interface PalletCommonError extends Enum {1206 readonly isCollectionNotFound: boolean;1207 readonly isMustBeTokenOwner: boolean;1208 readonly isNoPermission: boolean;1209 readonly isCantDestroyNotEmptyCollection: boolean;1210 readonly isPublicMintingNotAllowed: boolean;1211 readonly isAddressNotInAllowlist: boolean;1212 readonly isCollectionNameLimitExceeded: boolean;1213 readonly isCollectionDescriptionLimitExceeded: boolean;1214 readonly isCollectionTokenPrefixLimitExceeded: boolean;1215 readonly isTotalCollectionsLimitExceeded: boolean;1216 readonly isCollectionAdminCountExceeded: boolean;1217 readonly isCollectionLimitBoundsExceeded: boolean;1218 readonly isOwnerPermissionsCantBeReverted: boolean;1219 readonly isTransferNotAllowed: boolean;1220 readonly isAccountTokenLimitExceeded: boolean;1221 readonly isCollectionTokenLimitExceeded: boolean;1222 readonly isMetadataFlagFrozen: boolean;1223 readonly isTokenNotFound: boolean;1224 readonly isTokenValueTooLow: boolean;1225 readonly isApprovedValueTooLow: boolean;1226 readonly isCantApproveMoreThanOwned: boolean;1227 readonly isAddressIsZero: boolean;1228 readonly isUnsupportedOperation: boolean;1229 readonly isNotSufficientFounds: boolean;1230 readonly isUserIsNotAllowedToNest: boolean;1231 readonly isSourceCollectionIsNotAllowedToNest: boolean;1232 readonly isCollectionFieldSizeExceeded: boolean;1233 readonly isNoSpaceForProperty: boolean;1234 readonly isPropertyLimitReached: boolean;1235 readonly isPropertyKeyIsTooLong: boolean;1236 readonly isInvalidCharacterInPropertyKey: boolean;1237 readonly isEmptyPropertyKey: boolean;1238 readonly isCollectionIsExternal: boolean;1239 readonly isCollectionIsInternal: boolean;1240 readonly isConfirmSponsorshipFail: boolean;1241 readonly isUserIsNotCollectionAdmin: boolean;1242 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';1243}12441245/** @name PalletCommonEvent */1246export interface PalletCommonEvent extends Enum {1247 readonly isCollectionCreated: boolean;1248 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1249 readonly isCollectionDestroyed: boolean;1250 readonly asCollectionDestroyed: u32;1251 readonly isItemCreated: boolean;1252 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1253 readonly isItemDestroyed: boolean;1254 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1255 readonly isTransfer: boolean;1256 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1257 readonly isApproved: boolean;1258 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1259 readonly isApprovedForAll: boolean;1260 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1261 readonly isCollectionPropertySet: boolean;1262 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1263 readonly isCollectionPropertyDeleted: boolean;1264 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1265 readonly isTokenPropertySet: boolean;1266 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1267 readonly isTokenPropertyDeleted: boolean;1268 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1269 readonly isPropertyPermissionSet: boolean;1270 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1271 readonly isAllowListAddressAdded: boolean;1272 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1273 readonly isAllowListAddressRemoved: boolean;1274 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1275 readonly isCollectionAdminAdded: boolean;1276 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1277 readonly isCollectionAdminRemoved: boolean;1278 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1279 readonly isCollectionLimitSet: boolean;1280 readonly asCollectionLimitSet: u32;1281 readonly isCollectionOwnerChanged: boolean;1282 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1283 readonly isCollectionPermissionSet: boolean;1284 readonly asCollectionPermissionSet: u32;1285 readonly isCollectionSponsorSet: boolean;1286 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1287 readonly isSponsorshipConfirmed: boolean;1288 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1289 readonly isCollectionSponsorRemoved: boolean;1290 readonly asCollectionSponsorRemoved: u32;1291 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1292}12931294/** @name PalletConfigurationAppPromotionConfiguration */1295export interface PalletConfigurationAppPromotionConfiguration extends Struct {1296 readonly recalculationInterval: Option<u32>;1297 readonly pendingInterval: Option<u32>;1298 readonly intervalIncome: Option<Perbill>;1299 readonly maxStakersPerCalculation: Option<u8>;1300}13011302/** @name PalletConfigurationCall */1303export interface PalletConfigurationCall extends Enum {1304 readonly isSetWeightToFeeCoefficientOverride: boolean;1305 readonly asSetWeightToFeeCoefficientOverride: {1306 readonly coeff: Option<u64>;1307 } & Struct;1308 readonly isSetMinGasPriceOverride: boolean;1309 readonly asSetMinGasPriceOverride: {1310 readonly coeff: Option<u64>;1311 } & Struct;1312 readonly isSetXcmAllowedLocations: boolean;1313 readonly asSetXcmAllowedLocations: {1314 readonly locations: Option<Vec<XcmV1MultiLocation>>;1315 } & Struct;1316 readonly isSetAppPromotionConfigurationOverride: boolean;1317 readonly asSetAppPromotionConfigurationOverride: {1318 readonly configuration: PalletConfigurationAppPromotionConfiguration;1319 } & Struct;1320 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';1321}13221323/** @name PalletConfigurationError */1324export interface PalletConfigurationError extends Enum {1325 readonly isInconsistentConfiguration: boolean;1326 readonly type: 'InconsistentConfiguration';1327}13281329/** @name PalletEthereumCall */1330export interface PalletEthereumCall extends Enum {1331 readonly isTransact: boolean;1332 readonly asTransact: {1333 readonly transaction: EthereumTransactionTransactionV2;1334 } & Struct;1335 readonly type: 'Transact';1336}13371338/** @name PalletEthereumError */1339export interface PalletEthereumError extends Enum {1340 readonly isInvalidSignature: boolean;1341 readonly isPreLogExists: boolean;1342 readonly type: 'InvalidSignature' | 'PreLogExists';1343}13441345/** @name PalletEthereumEvent */1346export interface PalletEthereumEvent extends Enum {1347 readonly isExecuted: boolean;1348 readonly asExecuted: {1349 readonly from: H160;1350 readonly to: H160;1351 readonly transactionHash: H256;1352 readonly exitReason: EvmCoreErrorExitReason;1353 } & Struct;1354 readonly type: 'Executed';1355}13561357/** @name PalletEthereumFakeTransactionFinalizer */1358export interface PalletEthereumFakeTransactionFinalizer extends Null {}13591360/** @name PalletEvmAccountBasicCrossAccountIdRepr */1361export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1362 readonly isSubstrate: boolean;1363 readonly asSubstrate: AccountId32;1364 readonly isEthereum: boolean;1365 readonly asEthereum: H160;1366 readonly type: 'Substrate' | 'Ethereum';1367}13681369/** @name PalletEvmCall */1370export interface PalletEvmCall extends Enum {1371 readonly isWithdraw: boolean;1372 readonly asWithdraw: {1373 readonly address: H160;1374 readonly value: u128;1375 } & Struct;1376 readonly isCall: boolean;1377 readonly asCall: {1378 readonly source: H160;1379 readonly target: H160;1380 readonly input: Bytes;1381 readonly value: U256;1382 readonly gasLimit: u64;1383 readonly maxFeePerGas: U256;1384 readonly maxPriorityFeePerGas: Option<U256>;1385 readonly nonce: Option<U256>;1386 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1387 } & Struct;1388 readonly isCreate: boolean;1389 readonly asCreate: {1390 readonly source: H160;1391 readonly init: Bytes;1392 readonly value: U256;1393 readonly gasLimit: u64;1394 readonly maxFeePerGas: U256;1395 readonly maxPriorityFeePerGas: Option<U256>;1396 readonly nonce: Option<U256>;1397 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1398 } & Struct;1399 readonly isCreate2: boolean;1400 readonly asCreate2: {1401 readonly source: H160;1402 readonly init: Bytes;1403 readonly salt: H256;1404 readonly value: U256;1405 readonly gasLimit: u64;1406 readonly maxFeePerGas: U256;1407 readonly maxPriorityFeePerGas: Option<U256>;1408 readonly nonce: Option<U256>;1409 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1410 } & Struct;1411 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1412}14131414/** @name PalletEvmCoderSubstrateError */1415export interface PalletEvmCoderSubstrateError extends Enum {1416 readonly isOutOfGas: boolean;1417 readonly isOutOfFund: boolean;1418 readonly type: 'OutOfGas' | 'OutOfFund';1419}14201421/** @name PalletEvmContractHelpersError */1422export interface PalletEvmContractHelpersError extends Enum {1423 readonly isNoPermission: boolean;1424 readonly isNoPendingSponsor: boolean;1425 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1426 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1427}14281429/** @name PalletEvmContractHelpersEvent */1430export interface PalletEvmContractHelpersEvent extends Enum {1431 readonly isContractSponsorSet: boolean;1432 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1433 readonly isContractSponsorshipConfirmed: boolean;1434 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1435 readonly isContractSponsorRemoved: boolean;1436 readonly asContractSponsorRemoved: H160;1437 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1438}14391440/** @name PalletEvmContractHelpersSponsoringModeT */1441export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1442 readonly isDisabled: boolean;1443 readonly isAllowlisted: boolean;1444 readonly isGenerous: boolean;1445 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1446}14471448/** @name PalletEvmError */1449export interface PalletEvmError extends Enum {1450 readonly isBalanceLow: boolean;1451 readonly isFeeOverflow: boolean;1452 readonly isPaymentOverflow: boolean;1453 readonly isWithdrawFailed: boolean;1454 readonly isGasPriceTooLow: boolean;1455 readonly isInvalidNonce: boolean;1456 readonly isGasLimitTooLow: boolean;1457 readonly isGasLimitTooHigh: boolean;1458 readonly isUndefined: boolean;1459 readonly isReentrancy: boolean;1460 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';1461}14621463/** @name PalletEvmEvent */1464export interface PalletEvmEvent extends Enum {1465 readonly isLog: boolean;1466 readonly asLog: {1467 readonly log: EthereumLog;1468 } & Struct;1469 readonly isCreated: boolean;1470 readonly asCreated: {1471 readonly address: H160;1472 } & Struct;1473 readonly isCreatedFailed: boolean;1474 readonly asCreatedFailed: {1475 readonly address: H160;1476 } & Struct;1477 readonly isExecuted: boolean;1478 readonly asExecuted: {1479 readonly address: H160;1480 } & Struct;1481 readonly isExecutedFailed: boolean;1482 readonly asExecutedFailed: {1483 readonly address: H160;1484 } & Struct;1485 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1486}14871488/** @name PalletEvmMigrationCall */1489export interface PalletEvmMigrationCall extends Enum {1490 readonly isBegin: boolean;1491 readonly asBegin: {1492 readonly address: H160;1493 } & Struct;1494 readonly isSetData: boolean;1495 readonly asSetData: {1496 readonly address: H160;1497 readonly data: Vec<ITuple<[H256, H256]>>;1498 } & Struct;1499 readonly isFinish: boolean;1500 readonly asFinish: {1501 readonly address: H160;1502 readonly code: Bytes;1503 } & Struct;1504 readonly isInsertEthLogs: boolean;1505 readonly asInsertEthLogs: {1506 readonly logs: Vec<EthereumLog>;1507 } & Struct;1508 readonly isInsertEvents: boolean;1509 readonly asInsertEvents: {1510 readonly events: Vec<Bytes>;1511 } & Struct;1512 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';1513}15141515/** @name PalletEvmMigrationError */1516export interface PalletEvmMigrationError extends Enum {1517 readonly isAccountNotEmpty: boolean;1518 readonly isAccountIsNotMigrating: boolean;1519 readonly isBadEvent: boolean;1520 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1521}15221523/** @name PalletEvmMigrationEvent */1524export interface PalletEvmMigrationEvent extends Enum {1525 readonly isTestEvent: boolean;1526 readonly type: 'TestEvent';1527}15281529/** @name PalletForeignAssetsAssetIds */1530export interface PalletForeignAssetsAssetIds extends Enum {1531 readonly isForeignAssetId: boolean;1532 readonly asForeignAssetId: u32;1533 readonly isNativeAssetId: boolean;1534 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1535 readonly type: 'ForeignAssetId' | 'NativeAssetId';1536}15371538/** @name PalletForeignAssetsModuleAssetMetadata */1539export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1540 readonly name: Bytes;1541 readonly symbol: Bytes;1542 readonly decimals: u8;1543 readonly minimalBalance: u128;1544}15451546/** @name PalletForeignAssetsModuleCall */1547export interface PalletForeignAssetsModuleCall extends Enum {1548 readonly isRegisterForeignAsset: boolean;1549 readonly asRegisterForeignAsset: {1550 readonly owner: AccountId32;1551 readonly location: XcmVersionedMultiLocation;1552 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1553 } & Struct;1554 readonly isUpdateForeignAsset: boolean;1555 readonly asUpdateForeignAsset: {1556 readonly foreignAssetId: u32;1557 readonly location: XcmVersionedMultiLocation;1558 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1559 } & Struct;1560 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1561}15621563/** @name PalletForeignAssetsModuleError */1564export interface PalletForeignAssetsModuleError extends Enum {1565 readonly isBadLocation: boolean;1566 readonly isMultiLocationExisted: boolean;1567 readonly isAssetIdNotExists: boolean;1568 readonly isAssetIdExisted: boolean;1569 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1570}15711572/** @name PalletForeignAssetsModuleEvent */1573export interface PalletForeignAssetsModuleEvent extends Enum {1574 readonly isForeignAssetRegistered: boolean;1575 readonly asForeignAssetRegistered: {1576 readonly assetId: u32;1577 readonly assetAddress: XcmV1MultiLocation;1578 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1579 } & Struct;1580 readonly isForeignAssetUpdated: boolean;1581 readonly asForeignAssetUpdated: {1582 readonly assetId: u32;1583 readonly assetAddress: XcmV1MultiLocation;1584 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1585 } & Struct;1586 readonly isAssetRegistered: boolean;1587 readonly asAssetRegistered: {1588 readonly assetId: PalletForeignAssetsAssetIds;1589 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1590 } & Struct;1591 readonly isAssetUpdated: boolean;1592 readonly asAssetUpdated: {1593 readonly assetId: PalletForeignAssetsAssetIds;1594 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1595 } & Struct;1596 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1597}15981599/** @name PalletForeignAssetsNativeCurrency */1600export interface PalletForeignAssetsNativeCurrency extends Enum {1601 readonly isHere: boolean;1602 readonly isParent: boolean;1603 readonly type: 'Here' | 'Parent';1604}16051606/** @name PalletFungibleError */1607export interface PalletFungibleError extends Enum {1608 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1609 readonly isFungibleItemsHaveNoId: boolean;1610 readonly isFungibleItemsDontHaveData: boolean;1611 readonly isFungibleDisallowsNesting: boolean;1612 readonly isSettingPropertiesNotAllowed: boolean;1613 readonly isSettingAllowanceForAllNotAllowed: boolean;1614 readonly isFungibleTokensAreAlwaysValid: boolean;1615 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1616}16171618/** @name PalletInflationCall */1619export interface PalletInflationCall extends Enum {1620 readonly isStartInflation: boolean;1621 readonly asStartInflation: {1622 readonly inflationStartRelayBlock: u32;1623 } & Struct;1624 readonly type: 'StartInflation';1625}16261627/** @name PalletMaintenanceCall */1628export interface PalletMaintenanceCall extends Enum {1629 readonly isEnable: boolean;1630 readonly isDisable: boolean;1631 readonly type: 'Enable' | 'Disable';1632}16331634/** @name PalletMaintenanceError */1635export interface PalletMaintenanceError extends Null {}16361637/** @name PalletMaintenanceEvent */1638export interface PalletMaintenanceEvent extends Enum {1639 readonly isMaintenanceEnabled: boolean;1640 readonly isMaintenanceDisabled: boolean;1641 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1642}16431644/** @name PalletNonfungibleError */1645export interface PalletNonfungibleError extends Enum {1646 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1647 readonly isNonfungibleItemsHaveNoAmount: boolean;1648 readonly isCantBurnNftWithChildren: boolean;1649 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1650}16511652/** @name PalletNonfungibleItemData */1653export interface PalletNonfungibleItemData extends Struct {1654 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1655}16561657/** @name PalletRefungibleError */1658export interface PalletRefungibleError extends Enum {1659 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1660 readonly isWrongRefungiblePieces: boolean;1661 readonly isRepartitionWhileNotOwningAllPieces: boolean;1662 readonly isRefungibleDisallowsNesting: boolean;1663 readonly isSettingPropertiesNotAllowed: boolean;1664 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1665}16661667/** @name PalletRefungibleItemData */1668export interface PalletRefungibleItemData extends Struct {1669 readonly constData: Bytes;1670}16711672/** @name PalletRmrkCoreCall */1673export interface PalletRmrkCoreCall extends Enum {1674 readonly isCreateCollection: boolean;1675 readonly asCreateCollection: {1676 readonly metadata: Bytes;1677 readonly max: Option<u32>;1678 readonly symbol: Bytes;1679 } & Struct;1680 readonly isDestroyCollection: boolean;1681 readonly asDestroyCollection: {1682 readonly collectionId: u32;1683 } & Struct;1684 readonly isChangeCollectionIssuer: boolean;1685 readonly asChangeCollectionIssuer: {1686 readonly collectionId: u32;1687 readonly newIssuer: MultiAddress;1688 } & Struct;1689 readonly isLockCollection: boolean;1690 readonly asLockCollection: {1691 readonly collectionId: u32;1692 } & Struct;1693 readonly isMintNft: boolean;1694 readonly asMintNft: {1695 readonly owner: Option<AccountId32>;1696 readonly collectionId: u32;1697 readonly recipient: Option<AccountId32>;1698 readonly royaltyAmount: Option<Permill>;1699 readonly metadata: Bytes;1700 readonly transferable: bool;1701 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1702 } & Struct;1703 readonly isBurnNft: boolean;1704 readonly asBurnNft: {1705 readonly collectionId: u32;1706 readonly nftId: u32;1707 readonly maxBurns: u32;1708 } & Struct;1709 readonly isSend: boolean;1710 readonly asSend: {1711 readonly rmrkCollectionId: u32;1712 readonly rmrkNftId: u32;1713 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1714 } & Struct;1715 readonly isAcceptNft: boolean;1716 readonly asAcceptNft: {1717 readonly rmrkCollectionId: u32;1718 readonly rmrkNftId: u32;1719 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1720 } & Struct;1721 readonly isRejectNft: boolean;1722 readonly asRejectNft: {1723 readonly rmrkCollectionId: u32;1724 readonly rmrkNftId: u32;1725 } & Struct;1726 readonly isAcceptResource: boolean;1727 readonly asAcceptResource: {1728 readonly rmrkCollectionId: u32;1729 readonly rmrkNftId: u32;1730 readonly resourceId: u32;1731 } & Struct;1732 readonly isAcceptResourceRemoval: boolean;1733 readonly asAcceptResourceRemoval: {1734 readonly rmrkCollectionId: u32;1735 readonly rmrkNftId: u32;1736 readonly resourceId: u32;1737 } & Struct;1738 readonly isSetProperty: boolean;1739 readonly asSetProperty: {1740 readonly rmrkCollectionId: Compact<u32>;1741 readonly maybeNftId: Option<u32>;1742 readonly key: Bytes;1743 readonly value: Bytes;1744 } & Struct;1745 readonly isSetPriority: boolean;1746 readonly asSetPriority: {1747 readonly rmrkCollectionId: u32;1748 readonly rmrkNftId: u32;1749 readonly priorities: Vec<u32>;1750 } & Struct;1751 readonly isAddBasicResource: boolean;1752 readonly asAddBasicResource: {1753 readonly rmrkCollectionId: u32;1754 readonly nftId: u32;1755 readonly resource: RmrkTraitsResourceBasicResource;1756 } & Struct;1757 readonly isAddComposableResource: boolean;1758 readonly asAddComposableResource: {1759 readonly rmrkCollectionId: u32;1760 readonly nftId: u32;1761 readonly resource: RmrkTraitsResourceComposableResource;1762 } & Struct;1763 readonly isAddSlotResource: boolean;1764 readonly asAddSlotResource: {1765 readonly rmrkCollectionId: u32;1766 readonly nftId: u32;1767 readonly resource: RmrkTraitsResourceSlotResource;1768 } & Struct;1769 readonly isRemoveResource: boolean;1770 readonly asRemoveResource: {1771 readonly rmrkCollectionId: u32;1772 readonly nftId: u32;1773 readonly resourceId: u32;1774 } & Struct;1775 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1776}17771778/** @name PalletRmrkCoreError */1779export interface PalletRmrkCoreError extends Enum {1780 readonly isCorruptedCollectionType: boolean;1781 readonly isRmrkPropertyKeyIsTooLong: boolean;1782 readonly isRmrkPropertyValueIsTooLong: boolean;1783 readonly isRmrkPropertyIsNotFound: boolean;1784 readonly isUnableToDecodeRmrkData: boolean;1785 readonly isCollectionNotEmpty: boolean;1786 readonly isNoAvailableCollectionId: boolean;1787 readonly isNoAvailableNftId: boolean;1788 readonly isCollectionUnknown: boolean;1789 readonly isNoPermission: boolean;1790 readonly isNonTransferable: boolean;1791 readonly isCollectionFullOrLocked: boolean;1792 readonly isResourceDoesntExist: boolean;1793 readonly isCannotSendToDescendentOrSelf: boolean;1794 readonly isCannotAcceptNonOwnedNft: boolean;1795 readonly isCannotRejectNonOwnedNft: boolean;1796 readonly isCannotRejectNonPendingNft: boolean;1797 readonly isResourceNotPending: boolean;1798 readonly isNoAvailableResourceId: boolean;1799 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1800}18011802/** @name PalletRmrkCoreEvent */1803export interface PalletRmrkCoreEvent extends Enum {1804 readonly isCollectionCreated: boolean;1805 readonly asCollectionCreated: {1806 readonly issuer: AccountId32;1807 readonly collectionId: u32;1808 } & Struct;1809 readonly isCollectionDestroyed: boolean;1810 readonly asCollectionDestroyed: {1811 readonly issuer: AccountId32;1812 readonly collectionId: u32;1813 } & Struct;1814 readonly isIssuerChanged: boolean;1815 readonly asIssuerChanged: {1816 readonly oldIssuer: AccountId32;1817 readonly newIssuer: AccountId32;1818 readonly collectionId: u32;1819 } & Struct;1820 readonly isCollectionLocked: boolean;1821 readonly asCollectionLocked: {1822 readonly issuer: AccountId32;1823 readonly collectionId: u32;1824 } & Struct;1825 readonly isNftMinted: boolean;1826 readonly asNftMinted: {1827 readonly owner: AccountId32;1828 readonly collectionId: u32;1829 readonly nftId: u32;1830 } & Struct;1831 readonly isNftBurned: boolean;1832 readonly asNftBurned: {1833 readonly owner: AccountId32;1834 readonly nftId: u32;1835 } & Struct;1836 readonly isNftSent: boolean;1837 readonly asNftSent: {1838 readonly sender: AccountId32;1839 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1840 readonly collectionId: u32;1841 readonly nftId: u32;1842 readonly approvalRequired: bool;1843 } & Struct;1844 readonly isNftAccepted: boolean;1845 readonly asNftAccepted: {1846 readonly sender: AccountId32;1847 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1848 readonly collectionId: u32;1849 readonly nftId: u32;1850 } & Struct;1851 readonly isNftRejected: boolean;1852 readonly asNftRejected: {1853 readonly sender: AccountId32;1854 readonly collectionId: u32;1855 readonly nftId: u32;1856 } & Struct;1857 readonly isPropertySet: boolean;1858 readonly asPropertySet: {1859 readonly collectionId: u32;1860 readonly maybeNftId: Option<u32>;1861 readonly key: Bytes;1862 readonly value: Bytes;1863 } & Struct;1864 readonly isResourceAdded: boolean;1865 readonly asResourceAdded: {1866 readonly nftId: u32;1867 readonly resourceId: u32;1868 } & Struct;1869 readonly isResourceRemoval: boolean;1870 readonly asResourceRemoval: {1871 readonly nftId: u32;1872 readonly resourceId: u32;1873 } & Struct;1874 readonly isResourceAccepted: boolean;1875 readonly asResourceAccepted: {1876 readonly nftId: u32;1877 readonly resourceId: u32;1878 } & Struct;1879 readonly isResourceRemovalAccepted: boolean;1880 readonly asResourceRemovalAccepted: {1881 readonly nftId: u32;1882 readonly resourceId: u32;1883 } & Struct;1884 readonly isPrioritySet: boolean;1885 readonly asPrioritySet: {1886 readonly collectionId: u32;1887 readonly nftId: u32;1888 } & Struct;1889 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1890}18911892/** @name PalletRmrkEquipCall */1893export interface PalletRmrkEquipCall extends Enum {1894 readonly isCreateBase: boolean;1895 readonly asCreateBase: {1896 readonly baseType: Bytes;1897 readonly symbol: Bytes;1898 readonly parts: Vec<RmrkTraitsPartPartType>;1899 } & Struct;1900 readonly isThemeAdd: boolean;1901 readonly asThemeAdd: {1902 readonly baseId: u32;1903 readonly theme: RmrkTraitsTheme;1904 } & Struct;1905 readonly isEquippable: boolean;1906 readonly asEquippable: {1907 readonly baseId: u32;1908 readonly slotId: u32;1909 readonly equippables: RmrkTraitsPartEquippableList;1910 } & Struct;1911 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1912}19131914/** @name PalletRmrkEquipError */1915export interface PalletRmrkEquipError extends Enum {1916 readonly isPermissionError: boolean;1917 readonly isNoAvailableBaseId: boolean;1918 readonly isNoAvailablePartId: boolean;1919 readonly isBaseDoesntExist: boolean;1920 readonly isNeedsDefaultThemeFirst: boolean;1921 readonly isPartDoesntExist: boolean;1922 readonly isNoEquippableOnFixedPart: boolean;1923 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1924}19251926/** @name PalletRmrkEquipEvent */1927export interface PalletRmrkEquipEvent extends Enum {1928 readonly isBaseCreated: boolean;1929 readonly asBaseCreated: {1930 readonly issuer: AccountId32;1931 readonly baseId: u32;1932 } & Struct;1933 readonly isEquippablesUpdated: boolean;1934 readonly asEquippablesUpdated: {1935 readonly baseId: u32;1936 readonly slotId: u32;1937 } & Struct;1938 readonly type: 'BaseCreated' | 'EquippablesUpdated';1939}19401941/** @name PalletStructureCall */1942export interface PalletStructureCall extends Null {}19431944/** @name PalletStructureError */1945export interface PalletStructureError extends Enum {1946 readonly isOuroborosDetected: boolean;1947 readonly isDepthLimit: boolean;1948 readonly isBreadthLimit: boolean;1949 readonly isTokenNotFound: boolean;1950 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1951}19521953/** @name PalletStructureEvent */1954export interface PalletStructureEvent extends Enum {1955 readonly isExecuted: boolean;1956 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1957 readonly type: 'Executed';1958}19591960/** @name PalletSudoCall */1961export interface PalletSudoCall extends Enum {1962 readonly isSudo: boolean;1963 readonly asSudo: {1964 readonly call: Call;1965 } & Struct;1966 readonly isSudoUncheckedWeight: boolean;1967 readonly asSudoUncheckedWeight: {1968 readonly call: Call;1969 readonly weight: SpWeightsWeightV2Weight;1970 } & Struct;1971 readonly isSetKey: boolean;1972 readonly asSetKey: {1973 readonly new_: MultiAddress;1974 } & Struct;1975 readonly isSudoAs: boolean;1976 readonly asSudoAs: {1977 readonly who: MultiAddress;1978 readonly call: Call;1979 } & Struct;1980 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1981}19821983/** @name PalletSudoError */1984export interface PalletSudoError extends Enum {1985 readonly isRequireSudo: boolean;1986 readonly type: 'RequireSudo';1987}19881989/** @name PalletSudoEvent */1990export interface PalletSudoEvent extends Enum {1991 readonly isSudid: boolean;1992 readonly asSudid: {1993 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1994 } & Struct;1995 readonly isKeyChanged: boolean;1996 readonly asKeyChanged: {1997 readonly oldSudoer: Option<AccountId32>;1998 } & Struct;1999 readonly isSudoAsDone: boolean;2000 readonly asSudoAsDone: {2001 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2002 } & Struct;2003 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2004}20052006/** @name PalletTemplateTransactionPaymentCall */2007export interface PalletTemplateTransactionPaymentCall extends Null {}20082009/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2010export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}20112012/** @name PalletTestUtilsCall */2013export interface PalletTestUtilsCall extends Enum {2014 readonly isEnable: boolean;2015 readonly isSetTestValue: boolean;2016 readonly asSetTestValue: {2017 readonly value: u32;2018 } & Struct;2019 readonly isSetTestValueAndRollback: boolean;2020 readonly asSetTestValueAndRollback: {2021 readonly value: u32;2022 } & Struct;2023 readonly isIncTestValue: boolean;2024 readonly isJustTakeFee: boolean;2025 readonly isBatchAll: boolean;2026 readonly asBatchAll: {2027 readonly calls: Vec<Call>;2028 } & Struct;2029 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2030}20312032/** @name PalletTestUtilsError */2033export interface PalletTestUtilsError extends Enum {2034 readonly isTestPalletDisabled: boolean;2035 readonly isTriggerRollback: boolean;2036 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2037}20382039/** @name PalletTestUtilsEvent */2040export interface PalletTestUtilsEvent extends Enum {2041 readonly isValueIsSet: boolean;2042 readonly isShouldRollback: boolean;2043 readonly isBatchCompleted: boolean;2044 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2045}20462047/** @name PalletTimestampCall */2048export interface PalletTimestampCall extends Enum {2049 readonly isSet: boolean;2050 readonly asSet: {2051 readonly now: Compact<u64>;2052 } & Struct;2053 readonly type: 'Set';2054}20552056/** @name PalletTransactionPaymentEvent */2057export interface PalletTransactionPaymentEvent extends Enum {2058 readonly isTransactionFeePaid: boolean;2059 readonly asTransactionFeePaid: {2060 readonly who: AccountId32;2061 readonly actualFee: u128;2062 readonly tip: u128;2063 } & Struct;2064 readonly type: 'TransactionFeePaid';2065}20662067/** @name PalletTransactionPaymentReleases */2068export interface PalletTransactionPaymentReleases extends Enum {2069 readonly isV1Ancient: boolean;2070 readonly isV2: boolean;2071 readonly type: 'V1Ancient' | 'V2';2072}20732074/** @name PalletTreasuryCall */2075export interface PalletTreasuryCall extends Enum {2076 readonly isProposeSpend: boolean;2077 readonly asProposeSpend: {2078 readonly value: Compact<u128>;2079 readonly beneficiary: MultiAddress;2080 } & Struct;2081 readonly isRejectProposal: boolean;2082 readonly asRejectProposal: {2083 readonly proposalId: Compact<u32>;2084 } & Struct;2085 readonly isApproveProposal: boolean;2086 readonly asApproveProposal: {2087 readonly proposalId: Compact<u32>;2088 } & Struct;2089 readonly isSpend: boolean;2090 readonly asSpend: {2091 readonly amount: Compact<u128>;2092 readonly beneficiary: MultiAddress;2093 } & Struct;2094 readonly isRemoveApproval: boolean;2095 readonly asRemoveApproval: {2096 readonly proposalId: Compact<u32>;2097 } & Struct;2098 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2099}21002101/** @name PalletTreasuryError */2102export interface PalletTreasuryError extends Enum {2103 readonly isInsufficientProposersBalance: boolean;2104 readonly isInvalidIndex: boolean;2105 readonly isTooManyApprovals: boolean;2106 readonly isInsufficientPermission: boolean;2107 readonly isProposalNotApproved: boolean;2108 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2109}21102111/** @name PalletTreasuryEvent */2112export interface PalletTreasuryEvent extends Enum {2113 readonly isProposed: boolean;2114 readonly asProposed: {2115 readonly proposalIndex: u32;2116 } & Struct;2117 readonly isSpending: boolean;2118 readonly asSpending: {2119 readonly budgetRemaining: u128;2120 } & Struct;2121 readonly isAwarded: boolean;2122 readonly asAwarded: {2123 readonly proposalIndex: u32;2124 readonly award: u128;2125 readonly account: AccountId32;2126 } & Struct;2127 readonly isRejected: boolean;2128 readonly asRejected: {2129 readonly proposalIndex: u32;2130 readonly slashed: u128;2131 } & Struct;2132 readonly isBurnt: boolean;2133 readonly asBurnt: {2134 readonly burntFunds: u128;2135 } & Struct;2136 readonly isRollover: boolean;2137 readonly asRollover: {2138 readonly rolloverBalance: u128;2139 } & Struct;2140 readonly isDeposit: boolean;2141 readonly asDeposit: {2142 readonly value: u128;2143 } & Struct;2144 readonly isSpendApproved: boolean;2145 readonly asSpendApproved: {2146 readonly proposalIndex: u32;2147 readonly amount: u128;2148 readonly beneficiary: AccountId32;2149 } & Struct;2150 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2151}21522153/** @name PalletTreasuryProposal */2154export interface PalletTreasuryProposal extends Struct {2155 readonly proposer: AccountId32;2156 readonly value: u128;2157 readonly beneficiary: AccountId32;2158 readonly bond: u128;2159}21602161/** @name PalletUniqueCall */2162export interface PalletUniqueCall extends Enum {2163 readonly isCreateCollection: boolean;2164 readonly asCreateCollection: {2165 readonly collectionName: Vec<u16>;2166 readonly collectionDescription: Vec<u16>;2167 readonly tokenPrefix: Bytes;2168 readonly mode: UpDataStructsCollectionMode;2169 } & Struct;2170 readonly isCreateCollectionEx: boolean;2171 readonly asCreateCollectionEx: {2172 readonly data: UpDataStructsCreateCollectionData;2173 } & Struct;2174 readonly isDestroyCollection: boolean;2175 readonly asDestroyCollection: {2176 readonly collectionId: u32;2177 } & Struct;2178 readonly isAddToAllowList: boolean;2179 readonly asAddToAllowList: {2180 readonly collectionId: u32;2181 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2182 } & Struct;2183 readonly isRemoveFromAllowList: boolean;2184 readonly asRemoveFromAllowList: {2185 readonly collectionId: u32;2186 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2187 } & Struct;2188 readonly isChangeCollectionOwner: boolean;2189 readonly asChangeCollectionOwner: {2190 readonly collectionId: u32;2191 readonly newOwner: AccountId32;2192 } & Struct;2193 readonly isAddCollectionAdmin: boolean;2194 readonly asAddCollectionAdmin: {2195 readonly collectionId: u32;2196 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2197 } & Struct;2198 readonly isRemoveCollectionAdmin: boolean;2199 readonly asRemoveCollectionAdmin: {2200 readonly collectionId: u32;2201 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2202 } & Struct;2203 readonly isSetCollectionSponsor: boolean;2204 readonly asSetCollectionSponsor: {2205 readonly collectionId: u32;2206 readonly newSponsor: AccountId32;2207 } & Struct;2208 readonly isConfirmSponsorship: boolean;2209 readonly asConfirmSponsorship: {2210 readonly collectionId: u32;2211 } & Struct;2212 readonly isRemoveCollectionSponsor: boolean;2213 readonly asRemoveCollectionSponsor: {2214 readonly collectionId: u32;2215 } & Struct;2216 readonly isCreateItem: boolean;2217 readonly asCreateItem: {2218 readonly collectionId: u32;2219 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2220 readonly data: UpDataStructsCreateItemData;2221 } & Struct;2222 readonly isCreateMultipleItems: boolean;2223 readonly asCreateMultipleItems: {2224 readonly collectionId: u32;2225 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2226 readonly itemsData: Vec<UpDataStructsCreateItemData>;2227 } & Struct;2228 readonly isSetCollectionProperties: boolean;2229 readonly asSetCollectionProperties: {2230 readonly collectionId: u32;2231 readonly properties: Vec<UpDataStructsProperty>;2232 } & Struct;2233 readonly isDeleteCollectionProperties: boolean;2234 readonly asDeleteCollectionProperties: {2235 readonly collectionId: u32;2236 readonly propertyKeys: Vec<Bytes>;2237 } & Struct;2238 readonly isSetTokenProperties: boolean;2239 readonly asSetTokenProperties: {2240 readonly collectionId: u32;2241 readonly tokenId: u32;2242 readonly properties: Vec<UpDataStructsProperty>;2243 } & Struct;2244 readonly isDeleteTokenProperties: boolean;2245 readonly asDeleteTokenProperties: {2246 readonly collectionId: u32;2247 readonly tokenId: u32;2248 readonly propertyKeys: Vec<Bytes>;2249 } & Struct;2250 readonly isSetTokenPropertyPermissions: boolean;2251 readonly asSetTokenPropertyPermissions: {2252 readonly collectionId: u32;2253 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2254 } & Struct;2255 readonly isCreateMultipleItemsEx: boolean;2256 readonly asCreateMultipleItemsEx: {2257 readonly collectionId: u32;2258 readonly data: UpDataStructsCreateItemExData;2259 } & Struct;2260 readonly isSetTransfersEnabledFlag: boolean;2261 readonly asSetTransfersEnabledFlag: {2262 readonly collectionId: u32;2263 readonly value: bool;2264 } & Struct;2265 readonly isBurnItem: boolean;2266 readonly asBurnItem: {2267 readonly collectionId: u32;2268 readonly itemId: u32;2269 readonly value: u128;2270 } & Struct;2271 readonly isBurnFrom: boolean;2272 readonly asBurnFrom: {2273 readonly collectionId: u32;2274 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2275 readonly itemId: u32;2276 readonly value: u128;2277 } & Struct;2278 readonly isTransfer: boolean;2279 readonly asTransfer: {2280 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2281 readonly collectionId: u32;2282 readonly itemId: u32;2283 readonly value: u128;2284 } & Struct;2285 readonly isApprove: boolean;2286 readonly asApprove: {2287 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2288 readonly collectionId: u32;2289 readonly itemId: u32;2290 readonly amount: u128;2291 } & Struct;2292 readonly isTransferFrom: boolean;2293 readonly asTransferFrom: {2294 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2295 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2296 readonly collectionId: u32;2297 readonly itemId: u32;2298 readonly value: u128;2299 } & Struct;2300 readonly isSetCollectionLimits: boolean;2301 readonly asSetCollectionLimits: {2302 readonly collectionId: u32;2303 readonly newLimit: UpDataStructsCollectionLimits;2304 } & Struct;2305 readonly isSetCollectionPermissions: boolean;2306 readonly asSetCollectionPermissions: {2307 readonly collectionId: u32;2308 readonly newPermission: UpDataStructsCollectionPermissions;2309 } & Struct;2310 readonly isRepartition: boolean;2311 readonly asRepartition: {2312 readonly collectionId: u32;2313 readonly tokenId: u32;2314 readonly amount: u128;2315 } & Struct;2316 readonly isSetAllowanceForAll: boolean;2317 readonly asSetAllowanceForAll: {2318 readonly collectionId: u32;2319 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2320 readonly approve: bool;2321 } & Struct;2322 readonly isForceRepairCollection: boolean;2323 readonly asForceRepairCollection: {2324 readonly collectionId: u32;2325 } & Struct;2326 readonly isForceRepairItem: boolean;2327 readonly asForceRepairItem: {2328 readonly collectionId: u32;2329 readonly itemId: u32;2330 } & Struct;2331 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2332}23332334/** @name PalletUniqueError */2335export interface PalletUniqueError extends Enum {2336 readonly isCollectionDecimalPointLimitExceeded: boolean;2337 readonly isEmptyArgument: boolean;2338 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2339 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2340}23412342/** @name PalletXcmCall */2343export interface PalletXcmCall extends Enum {2344 readonly isSend: boolean;2345 readonly asSend: {2346 readonly dest: XcmVersionedMultiLocation;2347 readonly message: XcmVersionedXcm;2348 } & Struct;2349 readonly isTeleportAssets: boolean;2350 readonly asTeleportAssets: {2351 readonly dest: XcmVersionedMultiLocation;2352 readonly beneficiary: XcmVersionedMultiLocation;2353 readonly assets: XcmVersionedMultiAssets;2354 readonly feeAssetItem: u32;2355 } & Struct;2356 readonly isReserveTransferAssets: boolean;2357 readonly asReserveTransferAssets: {2358 readonly dest: XcmVersionedMultiLocation;2359 readonly beneficiary: XcmVersionedMultiLocation;2360 readonly assets: XcmVersionedMultiAssets;2361 readonly feeAssetItem: u32;2362 } & Struct;2363 readonly isExecute: boolean;2364 readonly asExecute: {2365 readonly message: XcmVersionedXcm;2366 readonly maxWeight: u64;2367 } & Struct;2368 readonly isForceXcmVersion: boolean;2369 readonly asForceXcmVersion: {2370 readonly location: XcmV1MultiLocation;2371 readonly xcmVersion: u32;2372 } & Struct;2373 readonly isForceDefaultXcmVersion: boolean;2374 readonly asForceDefaultXcmVersion: {2375 readonly maybeXcmVersion: Option<u32>;2376 } & Struct;2377 readonly isForceSubscribeVersionNotify: boolean;2378 readonly asForceSubscribeVersionNotify: {2379 readonly location: XcmVersionedMultiLocation;2380 } & Struct;2381 readonly isForceUnsubscribeVersionNotify: boolean;2382 readonly asForceUnsubscribeVersionNotify: {2383 readonly location: XcmVersionedMultiLocation;2384 } & Struct;2385 readonly isLimitedReserveTransferAssets: boolean;2386 readonly asLimitedReserveTransferAssets: {2387 readonly dest: XcmVersionedMultiLocation;2388 readonly beneficiary: XcmVersionedMultiLocation;2389 readonly assets: XcmVersionedMultiAssets;2390 readonly feeAssetItem: u32;2391 readonly weightLimit: XcmV2WeightLimit;2392 } & Struct;2393 readonly isLimitedTeleportAssets: boolean;2394 readonly asLimitedTeleportAssets: {2395 readonly dest: XcmVersionedMultiLocation;2396 readonly beneficiary: XcmVersionedMultiLocation;2397 readonly assets: XcmVersionedMultiAssets;2398 readonly feeAssetItem: u32;2399 readonly weightLimit: XcmV2WeightLimit;2400 } & Struct;2401 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2402}24032404/** @name PalletXcmError */2405export interface PalletXcmError extends Enum {2406 readonly isUnreachable: boolean;2407 readonly isSendFailure: boolean;2408 readonly isFiltered: boolean;2409 readonly isUnweighableMessage: boolean;2410 readonly isDestinationNotInvertible: boolean;2411 readonly isEmpty: boolean;2412 readonly isCannotReanchor: boolean;2413 readonly isTooManyAssets: boolean;2414 readonly isInvalidOrigin: boolean;2415 readonly isBadVersion: boolean;2416 readonly isBadLocation: boolean;2417 readonly isNoSubscription: boolean;2418 readonly isAlreadySubscribed: boolean;2419 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2420}24212422/** @name PalletXcmEvent */2423export interface PalletXcmEvent extends Enum {2424 readonly isAttempted: boolean;2425 readonly asAttempted: XcmV2TraitsOutcome;2426 readonly isSent: boolean;2427 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2428 readonly isUnexpectedResponse: boolean;2429 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2430 readonly isResponseReady: boolean;2431 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2432 readonly isNotified: boolean;2433 readonly asNotified: ITuple<[u64, u8, u8]>;2434 readonly isNotifyOverweight: boolean;2435 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2436 readonly isNotifyDispatchError: boolean;2437 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2438 readonly isNotifyDecodeFailed: boolean;2439 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2440 readonly isInvalidResponder: boolean;2441 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2442 readonly isInvalidResponderVersion: boolean;2443 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2444 readonly isResponseTaken: boolean;2445 readonly asResponseTaken: u64;2446 readonly isAssetsTrapped: boolean;2447 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2448 readonly isVersionChangeNotified: boolean;2449 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2450 readonly isSupportedVersionChanged: boolean;2451 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2452 readonly isNotifyTargetSendFail: boolean;2453 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2454 readonly isNotifyTargetMigrationFail: boolean;2455 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2456 readonly isAssetsClaimed: boolean;2457 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2458 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2459}24602461/** @name PhantomTypeUpDataStructs */2462export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}24632464/** @name PolkadotCorePrimitivesInboundDownwardMessage */2465export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2466 readonly sentAt: u32;2467 readonly msg: Bytes;2468}24692470/** @name PolkadotCorePrimitivesInboundHrmpMessage */2471export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2472 readonly sentAt: u32;2473 readonly data: Bytes;2474}24752476/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2477export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2478 readonly recipient: u32;2479 readonly data: Bytes;2480}24812482/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2483export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2484 readonly isConcatenatedVersionedXcm: boolean;2485 readonly isConcatenatedEncodedBlob: boolean;2486 readonly isSignals: boolean;2487 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2488}24892490/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2491export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2492 readonly maxCodeSize: u32;2493 readonly maxHeadDataSize: u32;2494 readonly maxUpwardQueueCount: u32;2495 readonly maxUpwardQueueSize: u32;2496 readonly maxUpwardMessageSize: u32;2497 readonly maxUpwardMessageNumPerCandidate: u32;2498 readonly hrmpMaxMessageNumPerCandidate: u32;2499 readonly validationUpgradeCooldown: u32;2500 readonly validationUpgradeDelay: u32;2501}25022503/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2504export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2505 readonly maxCapacity: u32;2506 readonly maxTotalSize: u32;2507 readonly maxMessageSize: u32;2508 readonly msgCount: u32;2509 readonly totalSize: u32;2510 readonly mqcHead: Option<H256>;2511}25122513/** @name PolkadotPrimitivesV2PersistedValidationData */2514export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2515 readonly parentHead: Bytes;2516 readonly relayParentNumber: u32;2517 readonly relayParentStorageRoot: H256;2518 readonly maxPovSize: u32;2519}25202521/** @name PolkadotPrimitivesV2UpgradeRestriction */2522export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2523 readonly isPresent: boolean;2524 readonly type: 'Present';2525}25262527/** @name RmrkTraitsBaseBaseInfo */2528export interface RmrkTraitsBaseBaseInfo extends Struct {2529 readonly issuer: AccountId32;2530 readonly baseType: Bytes;2531 readonly symbol: Bytes;2532}25332534/** @name RmrkTraitsCollectionCollectionInfo */2535export interface RmrkTraitsCollectionCollectionInfo extends Struct {2536 readonly issuer: AccountId32;2537 readonly metadata: Bytes;2538 readonly max: Option<u32>;2539 readonly symbol: Bytes;2540 readonly nftsCount: u32;2541}25422543/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2544export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2545 readonly isAccountId: boolean;2546 readonly asAccountId: AccountId32;2547 readonly isCollectionAndNftTuple: boolean;2548 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2549 readonly type: 'AccountId' | 'CollectionAndNftTuple';2550}25512552/** @name RmrkTraitsNftNftChild */2553export interface RmrkTraitsNftNftChild extends Struct {2554 readonly collectionId: u32;2555 readonly nftId: u32;2556}25572558/** @name RmrkTraitsNftNftInfo */2559export interface RmrkTraitsNftNftInfo extends Struct {2560 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2561 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2562 readonly metadata: Bytes;2563 readonly equipped: bool;2564 readonly pending: bool;2565}25662567/** @name RmrkTraitsNftRoyaltyInfo */2568export interface RmrkTraitsNftRoyaltyInfo extends Struct {2569 readonly recipient: AccountId32;2570 readonly amount: Permill;2571}25722573/** @name RmrkTraitsPartEquippableList */2574export interface RmrkTraitsPartEquippableList extends Enum {2575 readonly isAll: boolean;2576 readonly isEmpty: boolean;2577 readonly isCustom: boolean;2578 readonly asCustom: Vec<u32>;2579 readonly type: 'All' | 'Empty' | 'Custom';2580}25812582/** @name RmrkTraitsPartFixedPart */2583export interface RmrkTraitsPartFixedPart extends Struct {2584 readonly id: u32;2585 readonly z: u32;2586 readonly src: Bytes;2587}25882589/** @name RmrkTraitsPartPartType */2590export interface RmrkTraitsPartPartType extends Enum {2591 readonly isFixedPart: boolean;2592 readonly asFixedPart: RmrkTraitsPartFixedPart;2593 readonly isSlotPart: boolean;2594 readonly asSlotPart: RmrkTraitsPartSlotPart;2595 readonly type: 'FixedPart' | 'SlotPart';2596}25972598/** @name RmrkTraitsPartSlotPart */2599export interface RmrkTraitsPartSlotPart extends Struct {2600 readonly id: u32;2601 readonly equippable: RmrkTraitsPartEquippableList;2602 readonly src: Bytes;2603 readonly z: u32;2604}26052606/** @name RmrkTraitsPropertyPropertyInfo */2607export interface RmrkTraitsPropertyPropertyInfo extends Struct {2608 readonly key: Bytes;2609 readonly value: Bytes;2610}26112612/** @name RmrkTraitsResourceBasicResource */2613export interface RmrkTraitsResourceBasicResource extends Struct {2614 readonly src: Option<Bytes>;2615 readonly metadata: Option<Bytes>;2616 readonly license: Option<Bytes>;2617 readonly thumb: Option<Bytes>;2618}26192620/** @name RmrkTraitsResourceComposableResource */2621export interface RmrkTraitsResourceComposableResource extends Struct {2622 readonly parts: Vec<u32>;2623 readonly base: u32;2624 readonly src: Option<Bytes>;2625 readonly metadata: Option<Bytes>;2626 readonly license: Option<Bytes>;2627 readonly thumb: Option<Bytes>;2628}26292630/** @name RmrkTraitsResourceResourceInfo */2631export interface RmrkTraitsResourceResourceInfo extends Struct {2632 readonly id: u32;2633 readonly resource: RmrkTraitsResourceResourceTypes;2634 readonly pending: bool;2635 readonly pendingRemoval: bool;2636}26372638/** @name RmrkTraitsResourceResourceTypes */2639export interface RmrkTraitsResourceResourceTypes extends Enum {2640 readonly isBasic: boolean;2641 readonly asBasic: RmrkTraitsResourceBasicResource;2642 readonly isComposable: boolean;2643 readonly asComposable: RmrkTraitsResourceComposableResource;2644 readonly isSlot: boolean;2645 readonly asSlot: RmrkTraitsResourceSlotResource;2646 readonly type: 'Basic' | 'Composable' | 'Slot';2647}26482649/** @name RmrkTraitsResourceSlotResource */2650export interface RmrkTraitsResourceSlotResource extends Struct {2651 readonly base: u32;2652 readonly src: Option<Bytes>;2653 readonly metadata: Option<Bytes>;2654 readonly slot: u32;2655 readonly license: Option<Bytes>;2656 readonly thumb: Option<Bytes>;2657}26582659/** @name RmrkTraitsTheme */2660export interface RmrkTraitsTheme extends Struct {2661 readonly name: Bytes;2662 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2663 readonly inherit: bool;2664}26652666/** @name RmrkTraitsThemeThemeProperty */2667export interface RmrkTraitsThemeThemeProperty extends Struct {2668 readonly key: Bytes;2669 readonly value: Bytes;2670}26712672/** @name SpCoreEcdsaSignature */2673export interface SpCoreEcdsaSignature extends U8aFixed {}26742675/** @name SpCoreEd25519Signature */2676export interface SpCoreEd25519Signature extends U8aFixed {}26772678/** @name SpCoreSr25519Signature */2679export interface SpCoreSr25519Signature extends U8aFixed {}26802681/** @name SpRuntimeArithmeticError */2682export interface SpRuntimeArithmeticError extends Enum {2683 readonly isUnderflow: boolean;2684 readonly isOverflow: boolean;2685 readonly isDivisionByZero: boolean;2686 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2687}26882689/** @name SpRuntimeDigest */2690export interface SpRuntimeDigest extends Struct {2691 readonly logs: Vec<SpRuntimeDigestDigestItem>;2692}26932694/** @name SpRuntimeDigestDigestItem */2695export interface SpRuntimeDigestDigestItem extends Enum {2696 readonly isOther: boolean;2697 readonly asOther: Bytes;2698 readonly isConsensus: boolean;2699 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2700 readonly isSeal: boolean;2701 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2702 readonly isPreRuntime: boolean;2703 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2704 readonly isRuntimeEnvironmentUpdated: boolean;2705 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2706}27072708/** @name SpRuntimeDispatchError */2709export interface SpRuntimeDispatchError extends Enum {2710 readonly isOther: boolean;2711 readonly isCannotLookup: boolean;2712 readonly isBadOrigin: boolean;2713 readonly isModule: boolean;2714 readonly asModule: SpRuntimeModuleError;2715 readonly isConsumerRemaining: boolean;2716 readonly isNoProviders: boolean;2717 readonly isTooManyConsumers: boolean;2718 readonly isToken: boolean;2719 readonly asToken: SpRuntimeTokenError;2720 readonly isArithmetic: boolean;2721 readonly asArithmetic: SpRuntimeArithmeticError;2722 readonly isTransactional: boolean;2723 readonly asTransactional: SpRuntimeTransactionalError;2724 readonly isExhausted: boolean;2725 readonly isCorruption: boolean;2726 readonly isUnavailable: boolean;2727 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';2728}27292730/** @name SpRuntimeModuleError */2731export interface SpRuntimeModuleError extends Struct {2732 readonly index: u8;2733 readonly error: U8aFixed;2734}27352736/** @name SpRuntimeMultiSignature */2737export interface SpRuntimeMultiSignature extends Enum {2738 readonly isEd25519: boolean;2739 readonly asEd25519: SpCoreEd25519Signature;2740 readonly isSr25519: boolean;2741 readonly asSr25519: SpCoreSr25519Signature;2742 readonly isEcdsa: boolean;2743 readonly asEcdsa: SpCoreEcdsaSignature;2744 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2745}27462747/** @name SpRuntimeTokenError */2748export interface SpRuntimeTokenError extends Enum {2749 readonly isNoFunds: boolean;2750 readonly isWouldDie: boolean;2751 readonly isBelowMinimum: boolean;2752 readonly isCannotCreate: boolean;2753 readonly isUnknownAsset: boolean;2754 readonly isFrozen: boolean;2755 readonly isUnsupported: boolean;2756 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2757}27582759/** @name SpRuntimeTransactionalError */2760export interface SpRuntimeTransactionalError extends Enum {2761 readonly isLimitReached: boolean;2762 readonly isNoLayer: boolean;2763 readonly type: 'LimitReached' | 'NoLayer';2764}27652766/** @name SpTrieStorageProof */2767export interface SpTrieStorageProof extends Struct {2768 readonly trieNodes: BTreeSet<Bytes>;2769}27702771/** @name SpVersionRuntimeVersion */2772export interface SpVersionRuntimeVersion extends Struct {2773 readonly specName: Text;2774 readonly implName: Text;2775 readonly authoringVersion: u32;2776 readonly specVersion: u32;2777 readonly implVersion: u32;2778 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2779 readonly transactionVersion: u32;2780 readonly stateVersion: u8;2781}27822783/** @name SpWeightsRuntimeDbWeight */2784export interface SpWeightsRuntimeDbWeight extends Struct {2785 readonly read: u64;2786 readonly write: u64;2787}27882789/** @name SpWeightsWeightV2Weight */2790export interface SpWeightsWeightV2Weight extends Struct {2791 readonly refTime: Compact<u64>;2792 readonly proofSize: Compact<u64>;2793}27942795/** @name UpDataStructsAccessMode */2796export interface UpDataStructsAccessMode extends Enum {2797 readonly isNormal: boolean;2798 readonly isAllowList: boolean;2799 readonly type: 'Normal' | 'AllowList';2800}28012802/** @name UpDataStructsCollection */2803export interface UpDataStructsCollection extends Struct {2804 readonly owner: AccountId32;2805 readonly mode: UpDataStructsCollectionMode;2806 readonly name: Vec<u16>;2807 readonly description: Vec<u16>;2808 readonly tokenPrefix: Bytes;2809 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2810 readonly limits: UpDataStructsCollectionLimits;2811 readonly permissions: UpDataStructsCollectionPermissions;2812 readonly flags: U8aFixed;2813}28142815/** @name UpDataStructsCollectionLimits */2816export interface UpDataStructsCollectionLimits extends Struct {2817 readonly accountTokenOwnershipLimit: Option<u32>;2818 readonly sponsoredDataSize: Option<u32>;2819 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2820 readonly tokenLimit: Option<u32>;2821 readonly sponsorTransferTimeout: Option<u32>;2822 readonly sponsorApproveTimeout: Option<u32>;2823 readonly ownerCanTransfer: Option<bool>;2824 readonly ownerCanDestroy: Option<bool>;2825 readonly transfersEnabled: Option<bool>;2826}28272828/** @name UpDataStructsCollectionMode */2829export interface UpDataStructsCollectionMode extends Enum {2830 readonly isNft: boolean;2831 readonly isFungible: boolean;2832 readonly asFungible: u8;2833 readonly isReFungible: boolean;2834 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2835}28362837/** @name UpDataStructsCollectionPermissions */2838export interface UpDataStructsCollectionPermissions extends Struct {2839 readonly access: Option<UpDataStructsAccessMode>;2840 readonly mintMode: Option<bool>;2841 readonly nesting: Option<UpDataStructsNestingPermissions>;2842}28432844/** @name UpDataStructsCollectionStats */2845export interface UpDataStructsCollectionStats extends Struct {2846 readonly created: u32;2847 readonly destroyed: u32;2848 readonly alive: u32;2849}28502851/** @name UpDataStructsCreateCollectionData */2852export interface UpDataStructsCreateCollectionData extends Struct {2853 readonly mode: UpDataStructsCollectionMode;2854 readonly access: Option<UpDataStructsAccessMode>;2855 readonly name: Vec<u16>;2856 readonly description: Vec<u16>;2857 readonly tokenPrefix: Bytes;2858 readonly pendingSponsor: Option<AccountId32>;2859 readonly limits: Option<UpDataStructsCollectionLimits>;2860 readonly permissions: Option<UpDataStructsCollectionPermissions>;2861 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2862 readonly properties: Vec<UpDataStructsProperty>;2863}28642865/** @name UpDataStructsCreateFungibleData */2866export interface UpDataStructsCreateFungibleData extends Struct {2867 readonly value: u128;2868}28692870/** @name UpDataStructsCreateItemData */2871export interface UpDataStructsCreateItemData extends Enum {2872 readonly isNft: boolean;2873 readonly asNft: UpDataStructsCreateNftData;2874 readonly isFungible: boolean;2875 readonly asFungible: UpDataStructsCreateFungibleData;2876 readonly isReFungible: boolean;2877 readonly asReFungible: UpDataStructsCreateReFungibleData;2878 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2879}28802881/** @name UpDataStructsCreateItemExData */2882export interface UpDataStructsCreateItemExData extends Enum {2883 readonly isNft: boolean;2884 readonly asNft: Vec<UpDataStructsCreateNftExData>;2885 readonly isFungible: boolean;2886 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2887 readonly isRefungibleMultipleItems: boolean;2888 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2889 readonly isRefungibleMultipleOwners: boolean;2890 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2891 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2892}28932894/** @name UpDataStructsCreateNftData */2895export interface UpDataStructsCreateNftData extends Struct {2896 readonly properties: Vec<UpDataStructsProperty>;2897}28982899/** @name UpDataStructsCreateNftExData */2900export interface UpDataStructsCreateNftExData extends Struct {2901 readonly properties: Vec<UpDataStructsProperty>;2902 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2903}29042905/** @name UpDataStructsCreateReFungibleData */2906export interface UpDataStructsCreateReFungibleData extends Struct {2907 readonly pieces: u128;2908 readonly properties: Vec<UpDataStructsProperty>;2909}29102911/** @name UpDataStructsCreateRefungibleExMultipleOwners */2912export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2913 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2914 readonly properties: Vec<UpDataStructsProperty>;2915}29162917/** @name UpDataStructsCreateRefungibleExSingleOwner */2918export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2919 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2920 readonly pieces: u128;2921 readonly properties: Vec<UpDataStructsProperty>;2922}29232924/** @name UpDataStructsNestingPermissions */2925export interface UpDataStructsNestingPermissions extends Struct {2926 readonly tokenOwner: bool;2927 readonly collectionAdmin: bool;2928 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2929}29302931/** @name UpDataStructsOwnerRestrictedSet */2932export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29332934/** @name UpDataStructsProperties */2935export interface UpDataStructsProperties extends Struct {2936 readonly map: UpDataStructsPropertiesMapBoundedVec;2937 readonly consumedSpace: u32;2938 readonly spaceLimit: u32;2939}29402941/** @name UpDataStructsPropertiesMapBoundedVec */2942export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}29432944/** @name UpDataStructsPropertiesMapPropertyPermission */2945export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}29462947/** @name UpDataStructsProperty */2948export interface UpDataStructsProperty extends Struct {2949 readonly key: Bytes;2950 readonly value: Bytes;2951}29522953/** @name UpDataStructsPropertyKeyPermission */2954export interface UpDataStructsPropertyKeyPermission extends Struct {2955 readonly key: Bytes;2956 readonly permission: UpDataStructsPropertyPermission;2957}29582959/** @name UpDataStructsPropertyPermission */2960export interface UpDataStructsPropertyPermission extends Struct {2961 readonly mutable: bool;2962 readonly collectionAdmin: bool;2963 readonly tokenOwner: bool;2964}29652966/** @name UpDataStructsPropertyScope */2967export interface UpDataStructsPropertyScope extends Enum {2968 readonly isNone: boolean;2969 readonly isRmrk: boolean;2970 readonly type: 'None' | 'Rmrk';2971}29722973/** @name UpDataStructsRpcCollection */2974export interface UpDataStructsRpcCollection extends Struct {2975 readonly owner: AccountId32;2976 readonly mode: UpDataStructsCollectionMode;2977 readonly name: Vec<u16>;2978 readonly description: Vec<u16>;2979 readonly tokenPrefix: Bytes;2980 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2981 readonly limits: UpDataStructsCollectionLimits;2982 readonly permissions: UpDataStructsCollectionPermissions;2983 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2984 readonly properties: Vec<UpDataStructsProperty>;2985 readonly readOnly: bool;2986 readonly flags: UpDataStructsRpcCollectionFlags;2987}29882989/** @name UpDataStructsRpcCollectionFlags */2990export interface UpDataStructsRpcCollectionFlags extends Struct {2991 readonly foreign: bool;2992 readonly erc721metadata: bool;2993}29942995/** @name UpDataStructsSponsoringRateLimit */2996export interface UpDataStructsSponsoringRateLimit extends Enum {2997 readonly isSponsoringDisabled: boolean;2998 readonly isBlocks: boolean;2999 readonly asBlocks: u32;3000 readonly type: 'SponsoringDisabled' | 'Blocks';3001}30023003/** @name UpDataStructsSponsorshipStateAccountId32 */3004export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3005 readonly isDisabled: boolean;3006 readonly isUnconfirmed: boolean;3007 readonly asUnconfirmed: AccountId32;3008 readonly isConfirmed: boolean;3009 readonly asConfirmed: AccountId32;3010 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3011}30123013/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3014export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3015 readonly isDisabled: boolean;3016 readonly isUnconfirmed: boolean;3017 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3018 readonly isConfirmed: boolean;3019 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3020 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3021}30223023/** @name UpDataStructsTokenChild */3024export interface UpDataStructsTokenChild extends Struct {3025 readonly token: u32;3026 readonly collection: u32;3027}30283029/** @name UpDataStructsTokenData */3030export interface UpDataStructsTokenData extends Struct {3031 readonly properties: Vec<UpDataStructsProperty>;3032 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3033 readonly pieces: u128;3034}30353036/** @name XcmDoubleEncoded */3037export interface XcmDoubleEncoded extends Struct {3038 readonly encoded: Bytes;3039}30403041/** @name XcmV0Junction */3042export interface XcmV0Junction extends Enum {3043 readonly isParent: boolean;3044 readonly isParachain: boolean;3045 readonly asParachain: Compact<u32>;3046 readonly isAccountId32: boolean;3047 readonly asAccountId32: {3048 readonly network: XcmV0JunctionNetworkId;3049 readonly id: U8aFixed;3050 } & Struct;3051 readonly isAccountIndex64: boolean;3052 readonly asAccountIndex64: {3053 readonly network: XcmV0JunctionNetworkId;3054 readonly index: Compact<u64>;3055 } & Struct;3056 readonly isAccountKey20: boolean;3057 readonly asAccountKey20: {3058 readonly network: XcmV0JunctionNetworkId;3059 readonly key: U8aFixed;3060 } & Struct;3061 readonly isPalletInstance: boolean;3062 readonly asPalletInstance: u8;3063 readonly isGeneralIndex: boolean;3064 readonly asGeneralIndex: Compact<u128>;3065 readonly isGeneralKey: boolean;3066 readonly asGeneralKey: Bytes;3067 readonly isOnlyChild: boolean;3068 readonly isPlurality: boolean;3069 readonly asPlurality: {3070 readonly id: XcmV0JunctionBodyId;3071 readonly part: XcmV0JunctionBodyPart;3072 } & Struct;3073 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3074}30753076/** @name XcmV0JunctionBodyId */3077export interface XcmV0JunctionBodyId extends Enum {3078 readonly isUnit: boolean;3079 readonly isNamed: boolean;3080 readonly asNamed: Bytes;3081 readonly isIndex: boolean;3082 readonly asIndex: Compact<u32>;3083 readonly isExecutive: boolean;3084 readonly isTechnical: boolean;3085 readonly isLegislative: boolean;3086 readonly isJudicial: boolean;3087 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3088}30893090/** @name XcmV0JunctionBodyPart */3091export interface XcmV0JunctionBodyPart extends Enum {3092 readonly isVoice: boolean;3093 readonly isMembers: boolean;3094 readonly asMembers: {3095 readonly count: Compact<u32>;3096 } & Struct;3097 readonly isFraction: boolean;3098 readonly asFraction: {3099 readonly nom: Compact<u32>;3100 readonly denom: Compact<u32>;3101 } & Struct;3102 readonly isAtLeastProportion: boolean;3103 readonly asAtLeastProportion: {3104 readonly nom: Compact<u32>;3105 readonly denom: Compact<u32>;3106 } & Struct;3107 readonly isMoreThanProportion: boolean;3108 readonly asMoreThanProportion: {3109 readonly nom: Compact<u32>;3110 readonly denom: Compact<u32>;3111 } & Struct;3112 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3113}31143115/** @name XcmV0JunctionNetworkId */3116export interface XcmV0JunctionNetworkId extends Enum {3117 readonly isAny: boolean;3118 readonly isNamed: boolean;3119 readonly asNamed: Bytes;3120 readonly isPolkadot: boolean;3121 readonly isKusama: boolean;3122 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3123}31243125/** @name XcmV0MultiAsset */3126export interface XcmV0MultiAsset extends Enum {3127 readonly isNone: boolean;3128 readonly isAll: boolean;3129 readonly isAllFungible: boolean;3130 readonly isAllNonFungible: boolean;3131 readonly isAllAbstractFungible: boolean;3132 readonly asAllAbstractFungible: {3133 readonly id: Bytes;3134 } & Struct;3135 readonly isAllAbstractNonFungible: boolean;3136 readonly asAllAbstractNonFungible: {3137 readonly class: Bytes;3138 } & Struct;3139 readonly isAllConcreteFungible: boolean;3140 readonly asAllConcreteFungible: {3141 readonly id: XcmV0MultiLocation;3142 } & Struct;3143 readonly isAllConcreteNonFungible: boolean;3144 readonly asAllConcreteNonFungible: {3145 readonly class: XcmV0MultiLocation;3146 } & Struct;3147 readonly isAbstractFungible: boolean;3148 readonly asAbstractFungible: {3149 readonly id: Bytes;3150 readonly amount: Compact<u128>;3151 } & Struct;3152 readonly isAbstractNonFungible: boolean;3153 readonly asAbstractNonFungible: {3154 readonly class: Bytes;3155 readonly instance: XcmV1MultiassetAssetInstance;3156 } & Struct;3157 readonly isConcreteFungible: boolean;3158 readonly asConcreteFungible: {3159 readonly id: XcmV0MultiLocation;3160 readonly amount: Compact<u128>;3161 } & Struct;3162 readonly isConcreteNonFungible: boolean;3163 readonly asConcreteNonFungible: {3164 readonly class: XcmV0MultiLocation;3165 readonly instance: XcmV1MultiassetAssetInstance;3166 } & Struct;3167 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3168}31693170/** @name XcmV0MultiLocation */3171export interface XcmV0MultiLocation extends Enum {3172 readonly isNull: boolean;3173 readonly isX1: boolean;3174 readonly asX1: XcmV0Junction;3175 readonly isX2: boolean;3176 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3177 readonly isX3: boolean;3178 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3179 readonly isX4: boolean;3180 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3181 readonly isX5: boolean;3182 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3183 readonly isX6: boolean;3184 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3185 readonly isX7: boolean;3186 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3187 readonly isX8: boolean;3188 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3189 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3190}31913192/** @name XcmV0Order */3193export interface XcmV0Order extends Enum {3194 readonly isNull: boolean;3195 readonly isDepositAsset: boolean;3196 readonly asDepositAsset: {3197 readonly assets: Vec<XcmV0MultiAsset>;3198 readonly dest: XcmV0MultiLocation;3199 } & Struct;3200 readonly isDepositReserveAsset: boolean;3201 readonly asDepositReserveAsset: {3202 readonly assets: Vec<XcmV0MultiAsset>;3203 readonly dest: XcmV0MultiLocation;3204 readonly effects: Vec<XcmV0Order>;3205 } & Struct;3206 readonly isExchangeAsset: boolean;3207 readonly asExchangeAsset: {3208 readonly give: Vec<XcmV0MultiAsset>;3209 readonly receive: Vec<XcmV0MultiAsset>;3210 } & Struct;3211 readonly isInitiateReserveWithdraw: boolean;3212 readonly asInitiateReserveWithdraw: {3213 readonly assets: Vec<XcmV0MultiAsset>;3214 readonly reserve: XcmV0MultiLocation;3215 readonly effects: Vec<XcmV0Order>;3216 } & Struct;3217 readonly isInitiateTeleport: boolean;3218 readonly asInitiateTeleport: {3219 readonly assets: Vec<XcmV0MultiAsset>;3220 readonly dest: XcmV0MultiLocation;3221 readonly effects: Vec<XcmV0Order>;3222 } & Struct;3223 readonly isQueryHolding: boolean;3224 readonly asQueryHolding: {3225 readonly queryId: Compact<u64>;3226 readonly dest: XcmV0MultiLocation;3227 readonly assets: Vec<XcmV0MultiAsset>;3228 } & Struct;3229 readonly isBuyExecution: boolean;3230 readonly asBuyExecution: {3231 readonly fees: XcmV0MultiAsset;3232 readonly weight: u64;3233 readonly debt: u64;3234 readonly haltOnError: bool;3235 readonly xcm: Vec<XcmV0Xcm>;3236 } & Struct;3237 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3238}32393240/** @name XcmV0OriginKind */3241export interface XcmV0OriginKind extends Enum {3242 readonly isNative: boolean;3243 readonly isSovereignAccount: boolean;3244 readonly isSuperuser: boolean;3245 readonly isXcm: boolean;3246 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3247}32483249/** @name XcmV0Response */3250export interface XcmV0Response extends Enum {3251 readonly isAssets: boolean;3252 readonly asAssets: Vec<XcmV0MultiAsset>;3253 readonly type: 'Assets';3254}32553256/** @name XcmV0Xcm */3257export interface XcmV0Xcm extends Enum {3258 readonly isWithdrawAsset: boolean;3259 readonly asWithdrawAsset: {3260 readonly assets: Vec<XcmV0MultiAsset>;3261 readonly effects: Vec<XcmV0Order>;3262 } & Struct;3263 readonly isReserveAssetDeposit: boolean;3264 readonly asReserveAssetDeposit: {3265 readonly assets: Vec<XcmV0MultiAsset>;3266 readonly effects: Vec<XcmV0Order>;3267 } & Struct;3268 readonly isTeleportAsset: boolean;3269 readonly asTeleportAsset: {3270 readonly assets: Vec<XcmV0MultiAsset>;3271 readonly effects: Vec<XcmV0Order>;3272 } & Struct;3273 readonly isQueryResponse: boolean;3274 readonly asQueryResponse: {3275 readonly queryId: Compact<u64>;3276 readonly response: XcmV0Response;3277 } & Struct;3278 readonly isTransferAsset: boolean;3279 readonly asTransferAsset: {3280 readonly assets: Vec<XcmV0MultiAsset>;3281 readonly dest: XcmV0MultiLocation;3282 } & Struct;3283 readonly isTransferReserveAsset: boolean;3284 readonly asTransferReserveAsset: {3285 readonly assets: Vec<XcmV0MultiAsset>;3286 readonly dest: XcmV0MultiLocation;3287 readonly effects: Vec<XcmV0Order>;3288 } & Struct;3289 readonly isTransact: boolean;3290 readonly asTransact: {3291 readonly originType: XcmV0OriginKind;3292 readonly requireWeightAtMost: u64;3293 readonly call: XcmDoubleEncoded;3294 } & Struct;3295 readonly isHrmpNewChannelOpenRequest: boolean;3296 readonly asHrmpNewChannelOpenRequest: {3297 readonly sender: Compact<u32>;3298 readonly maxMessageSize: Compact<u32>;3299 readonly maxCapacity: Compact<u32>;3300 } & Struct;3301 readonly isHrmpChannelAccepted: boolean;3302 readonly asHrmpChannelAccepted: {3303 readonly recipient: Compact<u32>;3304 } & Struct;3305 readonly isHrmpChannelClosing: boolean;3306 readonly asHrmpChannelClosing: {3307 readonly initiator: Compact<u32>;3308 readonly sender: Compact<u32>;3309 readonly recipient: Compact<u32>;3310 } & Struct;3311 readonly isRelayedFrom: boolean;3312 readonly asRelayedFrom: {3313 readonly who: XcmV0MultiLocation;3314 readonly message: XcmV0Xcm;3315 } & Struct;3316 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3317}33183319/** @name XcmV1Junction */3320export interface XcmV1Junction extends Enum {3321 readonly isParachain: boolean;3322 readonly asParachain: Compact<u32>;3323 readonly isAccountId32: boolean;3324 readonly asAccountId32: {3325 readonly network: XcmV0JunctionNetworkId;3326 readonly id: U8aFixed;3327 } & Struct;3328 readonly isAccountIndex64: boolean;3329 readonly asAccountIndex64: {3330 readonly network: XcmV0JunctionNetworkId;3331 readonly index: Compact<u64>;3332 } & Struct;3333 readonly isAccountKey20: boolean;3334 readonly asAccountKey20: {3335 readonly network: XcmV0JunctionNetworkId;3336 readonly key: U8aFixed;3337 } & Struct;3338 readonly isPalletInstance: boolean;3339 readonly asPalletInstance: u8;3340 readonly isGeneralIndex: boolean;3341 readonly asGeneralIndex: Compact<u128>;3342 readonly isGeneralKey: boolean;3343 readonly asGeneralKey: Bytes;3344 readonly isOnlyChild: boolean;3345 readonly isPlurality: boolean;3346 readonly asPlurality: {3347 readonly id: XcmV0JunctionBodyId;3348 readonly part: XcmV0JunctionBodyPart;3349 } & Struct;3350 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3351}33523353/** @name XcmV1MultiAsset */3354export interface XcmV1MultiAsset extends Struct {3355 readonly id: XcmV1MultiassetAssetId;3356 readonly fun: XcmV1MultiassetFungibility;3357}33583359/** @name XcmV1MultiassetAssetId */3360export interface XcmV1MultiassetAssetId extends Enum {3361 readonly isConcrete: boolean;3362 readonly asConcrete: XcmV1MultiLocation;3363 readonly isAbstract: boolean;3364 readonly asAbstract: Bytes;3365 readonly type: 'Concrete' | 'Abstract';3366}33673368/** @name XcmV1MultiassetAssetInstance */3369export interface XcmV1MultiassetAssetInstance extends Enum {3370 readonly isUndefined: boolean;3371 readonly isIndex: boolean;3372 readonly asIndex: Compact<u128>;3373 readonly isArray4: boolean;3374 readonly asArray4: U8aFixed;3375 readonly isArray8: boolean;3376 readonly asArray8: U8aFixed;3377 readonly isArray16: boolean;3378 readonly asArray16: U8aFixed;3379 readonly isArray32: boolean;3380 readonly asArray32: U8aFixed;3381 readonly isBlob: boolean;3382 readonly asBlob: Bytes;3383 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3384}33853386/** @name XcmV1MultiassetFungibility */3387export interface XcmV1MultiassetFungibility extends Enum {3388 readonly isFungible: boolean;3389 readonly asFungible: Compact<u128>;3390 readonly isNonFungible: boolean;3391 readonly asNonFungible: XcmV1MultiassetAssetInstance;3392 readonly type: 'Fungible' | 'NonFungible';3393}33943395/** @name XcmV1MultiassetMultiAssetFilter */3396export interface XcmV1MultiassetMultiAssetFilter extends Enum {3397 readonly isDefinite: boolean;3398 readonly asDefinite: XcmV1MultiassetMultiAssets;3399 readonly isWild: boolean;3400 readonly asWild: XcmV1MultiassetWildMultiAsset;3401 readonly type: 'Definite' | 'Wild';3402}34033404/** @name XcmV1MultiassetMultiAssets */3405export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}34063407/** @name XcmV1MultiassetWildFungibility */3408export interface XcmV1MultiassetWildFungibility extends Enum {3409 readonly isFungible: boolean;3410 readonly isNonFungible: boolean;3411 readonly type: 'Fungible' | 'NonFungible';3412}34133414/** @name XcmV1MultiassetWildMultiAsset */3415export interface XcmV1MultiassetWildMultiAsset extends Enum {3416 readonly isAll: boolean;3417 readonly isAllOf: boolean;3418 readonly asAllOf: {3419 readonly id: XcmV1MultiassetAssetId;3420 readonly fun: XcmV1MultiassetWildFungibility;3421 } & Struct;3422 readonly type: 'All' | 'AllOf';3423}34243425/** @name XcmV1MultiLocation */3426export interface XcmV1MultiLocation extends Struct {3427 readonly parents: u8;3428 readonly interior: XcmV1MultilocationJunctions;3429}34303431/** @name XcmV1MultilocationJunctions */3432export interface XcmV1MultilocationJunctions extends Enum {3433 readonly isHere: boolean;3434 readonly isX1: boolean;3435 readonly asX1: XcmV1Junction;3436 readonly isX2: boolean;3437 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3438 readonly isX3: boolean;3439 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3440 readonly isX4: boolean;3441 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3442 readonly isX5: boolean;3443 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3444 readonly isX6: boolean;3445 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3446 readonly isX7: boolean;3447 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3448 readonly isX8: boolean;3449 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3450 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3451}34523453/** @name XcmV1Order */3454export interface XcmV1Order extends Enum {3455 readonly isNoop: boolean;3456 readonly isDepositAsset: boolean;3457 readonly asDepositAsset: {3458 readonly assets: XcmV1MultiassetMultiAssetFilter;3459 readonly maxAssets: u32;3460 readonly beneficiary: XcmV1MultiLocation;3461 } & Struct;3462 readonly isDepositReserveAsset: boolean;3463 readonly asDepositReserveAsset: {3464 readonly assets: XcmV1MultiassetMultiAssetFilter;3465 readonly maxAssets: u32;3466 readonly dest: XcmV1MultiLocation;3467 readonly effects: Vec<XcmV1Order>;3468 } & Struct;3469 readonly isExchangeAsset: boolean;3470 readonly asExchangeAsset: {3471 readonly give: XcmV1MultiassetMultiAssetFilter;3472 readonly receive: XcmV1MultiassetMultiAssets;3473 } & Struct;3474 readonly isInitiateReserveWithdraw: boolean;3475 readonly asInitiateReserveWithdraw: {3476 readonly assets: XcmV1MultiassetMultiAssetFilter;3477 readonly reserve: XcmV1MultiLocation;3478 readonly effects: Vec<XcmV1Order>;3479 } & Struct;3480 readonly isInitiateTeleport: boolean;3481 readonly asInitiateTeleport: {3482 readonly assets: XcmV1MultiassetMultiAssetFilter;3483 readonly dest: XcmV1MultiLocation;3484 readonly effects: Vec<XcmV1Order>;3485 } & Struct;3486 readonly isQueryHolding: boolean;3487 readonly asQueryHolding: {3488 readonly queryId: Compact<u64>;3489 readonly dest: XcmV1MultiLocation;3490 readonly assets: XcmV1MultiassetMultiAssetFilter;3491 } & Struct;3492 readonly isBuyExecution: boolean;3493 readonly asBuyExecution: {3494 readonly fees: XcmV1MultiAsset;3495 readonly weight: u64;3496 readonly debt: u64;3497 readonly haltOnError: bool;3498 readonly instructions: Vec<XcmV1Xcm>;3499 } & Struct;3500 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3501}35023503/** @name XcmV1Response */3504export interface XcmV1Response extends Enum {3505 readonly isAssets: boolean;3506 readonly asAssets: XcmV1MultiassetMultiAssets;3507 readonly isVersion: boolean;3508 readonly asVersion: u32;3509 readonly type: 'Assets' | 'Version';3510}35113512/** @name XcmV1Xcm */3513export interface XcmV1Xcm extends Enum {3514 readonly isWithdrawAsset: boolean;3515 readonly asWithdrawAsset: {3516 readonly assets: XcmV1MultiassetMultiAssets;3517 readonly effects: Vec<XcmV1Order>;3518 } & Struct;3519 readonly isReserveAssetDeposited: boolean;3520 readonly asReserveAssetDeposited: {3521 readonly assets: XcmV1MultiassetMultiAssets;3522 readonly effects: Vec<XcmV1Order>;3523 } & Struct;3524 readonly isReceiveTeleportedAsset: boolean;3525 readonly asReceiveTeleportedAsset: {3526 readonly assets: XcmV1MultiassetMultiAssets;3527 readonly effects: Vec<XcmV1Order>;3528 } & Struct;3529 readonly isQueryResponse: boolean;3530 readonly asQueryResponse: {3531 readonly queryId: Compact<u64>;3532 readonly response: XcmV1Response;3533 } & Struct;3534 readonly isTransferAsset: boolean;3535 readonly asTransferAsset: {3536 readonly assets: XcmV1MultiassetMultiAssets;3537 readonly beneficiary: XcmV1MultiLocation;3538 } & Struct;3539 readonly isTransferReserveAsset: boolean;3540 readonly asTransferReserveAsset: {3541 readonly assets: XcmV1MultiassetMultiAssets;3542 readonly dest: XcmV1MultiLocation;3543 readonly effects: Vec<XcmV1Order>;3544 } & Struct;3545 readonly isTransact: boolean;3546 readonly asTransact: {3547 readonly originType: XcmV0OriginKind;3548 readonly requireWeightAtMost: u64;3549 readonly call: XcmDoubleEncoded;3550 } & Struct;3551 readonly isHrmpNewChannelOpenRequest: boolean;3552 readonly asHrmpNewChannelOpenRequest: {3553 readonly sender: Compact<u32>;3554 readonly maxMessageSize: Compact<u32>;3555 readonly maxCapacity: Compact<u32>;3556 } & Struct;3557 readonly isHrmpChannelAccepted: boolean;3558 readonly asHrmpChannelAccepted: {3559 readonly recipient: Compact<u32>;3560 } & Struct;3561 readonly isHrmpChannelClosing: boolean;3562 readonly asHrmpChannelClosing: {3563 readonly initiator: Compact<u32>;3564 readonly sender: Compact<u32>;3565 readonly recipient: Compact<u32>;3566 } & Struct;3567 readonly isRelayedFrom: boolean;3568 readonly asRelayedFrom: {3569 readonly who: XcmV1MultilocationJunctions;3570 readonly message: XcmV1Xcm;3571 } & Struct;3572 readonly isSubscribeVersion: boolean;3573 readonly asSubscribeVersion: {3574 readonly queryId: Compact<u64>;3575 readonly maxResponseWeight: Compact<u64>;3576 } & Struct;3577 readonly isUnsubscribeVersion: boolean;3578 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3579}35803581/** @name XcmV2Instruction */3582export interface XcmV2Instruction extends Enum {3583 readonly isWithdrawAsset: boolean;3584 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3585 readonly isReserveAssetDeposited: boolean;3586 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3587 readonly isReceiveTeleportedAsset: boolean;3588 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3589 readonly isQueryResponse: boolean;3590 readonly asQueryResponse: {3591 readonly queryId: Compact<u64>;3592 readonly response: XcmV2Response;3593 readonly maxWeight: Compact<u64>;3594 } & Struct;3595 readonly isTransferAsset: boolean;3596 readonly asTransferAsset: {3597 readonly assets: XcmV1MultiassetMultiAssets;3598 readonly beneficiary: XcmV1MultiLocation;3599 } & Struct;3600 readonly isTransferReserveAsset: boolean;3601 readonly asTransferReserveAsset: {3602 readonly assets: XcmV1MultiassetMultiAssets;3603 readonly dest: XcmV1MultiLocation;3604 readonly xcm: XcmV2Xcm;3605 } & Struct;3606 readonly isTransact: boolean;3607 readonly asTransact: {3608 readonly originType: XcmV0OriginKind;3609 readonly requireWeightAtMost: Compact<u64>;3610 readonly call: XcmDoubleEncoded;3611 } & Struct;3612 readonly isHrmpNewChannelOpenRequest: boolean;3613 readonly asHrmpNewChannelOpenRequest: {3614 readonly sender: Compact<u32>;3615 readonly maxMessageSize: Compact<u32>;3616 readonly maxCapacity: Compact<u32>;3617 } & Struct;3618 readonly isHrmpChannelAccepted: boolean;3619 readonly asHrmpChannelAccepted: {3620 readonly recipient: Compact<u32>;3621 } & Struct;3622 readonly isHrmpChannelClosing: boolean;3623 readonly asHrmpChannelClosing: {3624 readonly initiator: Compact<u32>;3625 readonly sender: Compact<u32>;3626 readonly recipient: Compact<u32>;3627 } & Struct;3628 readonly isClearOrigin: boolean;3629 readonly isDescendOrigin: boolean;3630 readonly asDescendOrigin: XcmV1MultilocationJunctions;3631 readonly isReportError: boolean;3632 readonly asReportError: {3633 readonly queryId: Compact<u64>;3634 readonly dest: XcmV1MultiLocation;3635 readonly maxResponseWeight: Compact<u64>;3636 } & Struct;3637 readonly isDepositAsset: boolean;3638 readonly asDepositAsset: {3639 readonly assets: XcmV1MultiassetMultiAssetFilter;3640 readonly maxAssets: Compact<u32>;3641 readonly beneficiary: XcmV1MultiLocation;3642 } & Struct;3643 readonly isDepositReserveAsset: boolean;3644 readonly asDepositReserveAsset: {3645 readonly assets: XcmV1MultiassetMultiAssetFilter;3646 readonly maxAssets: Compact<u32>;3647 readonly dest: XcmV1MultiLocation;3648 readonly xcm: XcmV2Xcm;3649 } & Struct;3650 readonly isExchangeAsset: boolean;3651 readonly asExchangeAsset: {3652 readonly give: XcmV1MultiassetMultiAssetFilter;3653 readonly receive: XcmV1MultiassetMultiAssets;3654 } & Struct;3655 readonly isInitiateReserveWithdraw: boolean;3656 readonly asInitiateReserveWithdraw: {3657 readonly assets: XcmV1MultiassetMultiAssetFilter;3658 readonly reserve: XcmV1MultiLocation;3659 readonly xcm: XcmV2Xcm;3660 } & Struct;3661 readonly isInitiateTeleport: boolean;3662 readonly asInitiateTeleport: {3663 readonly assets: XcmV1MultiassetMultiAssetFilter;3664 readonly dest: XcmV1MultiLocation;3665 readonly xcm: XcmV2Xcm;3666 } & Struct;3667 readonly isQueryHolding: boolean;3668 readonly asQueryHolding: {3669 readonly queryId: Compact<u64>;3670 readonly dest: XcmV1MultiLocation;3671 readonly assets: XcmV1MultiassetMultiAssetFilter;3672 readonly maxResponseWeight: Compact<u64>;3673 } & Struct;3674 readonly isBuyExecution: boolean;3675 readonly asBuyExecution: {3676 readonly fees: XcmV1MultiAsset;3677 readonly weightLimit: XcmV2WeightLimit;3678 } & Struct;3679 readonly isRefundSurplus: boolean;3680 readonly isSetErrorHandler: boolean;3681 readonly asSetErrorHandler: XcmV2Xcm;3682 readonly isSetAppendix: boolean;3683 readonly asSetAppendix: XcmV2Xcm;3684 readonly isClearError: boolean;3685 readonly isClaimAsset: boolean;3686 readonly asClaimAsset: {3687 readonly assets: XcmV1MultiassetMultiAssets;3688 readonly ticket: XcmV1MultiLocation;3689 } & Struct;3690 readonly isTrap: boolean;3691 readonly asTrap: Compact<u64>;3692 readonly isSubscribeVersion: boolean;3693 readonly asSubscribeVersion: {3694 readonly queryId: Compact<u64>;3695 readonly maxResponseWeight: Compact<u64>;3696 } & Struct;3697 readonly isUnsubscribeVersion: boolean;3698 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';3699}37003701/** @name XcmV2Response */3702export interface XcmV2Response extends Enum {3703 readonly isNull: boolean;3704 readonly isAssets: boolean;3705 readonly asAssets: XcmV1MultiassetMultiAssets;3706 readonly isExecutionResult: boolean;3707 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3708 readonly isVersion: boolean;3709 readonly asVersion: u32;3710 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3711}37123713/** @name XcmV2TraitsError */3714export interface XcmV2TraitsError extends Enum {3715 readonly isOverflow: boolean;3716 readonly isUnimplemented: boolean;3717 readonly isUntrustedReserveLocation: boolean;3718 readonly isUntrustedTeleportLocation: boolean;3719 readonly isMultiLocationFull: boolean;3720 readonly isMultiLocationNotInvertible: boolean;3721 readonly isBadOrigin: boolean;3722 readonly isInvalidLocation: boolean;3723 readonly isAssetNotFound: boolean;3724 readonly isFailedToTransactAsset: boolean;3725 readonly isNotWithdrawable: boolean;3726 readonly isLocationCannotHold: boolean;3727 readonly isExceedsMaxMessageSize: boolean;3728 readonly isDestinationUnsupported: boolean;3729 readonly isTransport: boolean;3730 readonly isUnroutable: boolean;3731 readonly isUnknownClaim: boolean;3732 readonly isFailedToDecode: boolean;3733 readonly isMaxWeightInvalid: boolean;3734 readonly isNotHoldingFees: boolean;3735 readonly isTooExpensive: boolean;3736 readonly isTrap: boolean;3737 readonly asTrap: u64;3738 readonly isUnhandledXcmVersion: boolean;3739 readonly isWeightLimitReached: boolean;3740 readonly asWeightLimitReached: u64;3741 readonly isBarrier: boolean;3742 readonly isWeightNotComputable: boolean;3743 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';3744}37453746/** @name XcmV2TraitsOutcome */3747export interface XcmV2TraitsOutcome extends Enum {3748 readonly isComplete: boolean;3749 readonly asComplete: u64;3750 readonly isIncomplete: boolean;3751 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3752 readonly isError: boolean;3753 readonly asError: XcmV2TraitsError;3754 readonly type: 'Complete' | 'Incomplete' | 'Error';3755}37563757/** @name XcmV2WeightLimit */3758export interface XcmV2WeightLimit extends Enum {3759 readonly isUnlimited: boolean;3760 readonly isLimited: boolean;3761 readonly asLimited: Compact<u64>;3762 readonly type: 'Unlimited' | 'Limited';3763}37643765/** @name XcmV2Xcm */3766export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}37673768/** @name XcmVersionedMultiAsset */3769export interface XcmVersionedMultiAsset extends Enum {3770 readonly isV0: boolean;3771 readonly asV0: XcmV0MultiAsset;3772 readonly isV1: boolean;3773 readonly asV1: XcmV1MultiAsset;3774 readonly type: 'V0' | 'V1';3775}37763777/** @name XcmVersionedMultiAssets */3778export interface XcmVersionedMultiAssets extends Enum {3779 readonly isV0: boolean;3780 readonly asV0: Vec<XcmV0MultiAsset>;3781 readonly isV1: boolean;3782 readonly asV1: XcmV1MultiassetMultiAssets;3783 readonly type: 'V0' | 'V1';3784}37853786/** @name XcmVersionedMultiLocation */3787export interface XcmVersionedMultiLocation extends Enum {3788 readonly isV0: boolean;3789 readonly asV0: XcmV0MultiLocation;3790 readonly isV1: boolean;3791 readonly asV1: XcmV1MultiLocation;3792 readonly type: 'V0' | 'V1';3793}37943795/** @name XcmVersionedXcm */3796export interface XcmVersionedXcm extends Enum {3797 readonly isV0: boolean;3798 readonly asV0: XcmV0Xcm;3799 readonly isV1: boolean;3800 readonly asV1: XcmV1Xcm;3801 readonly isV2: boolean;3802 readonly asV2: XcmV2Xcm;3803 readonly type: 'V0' | 'V1' | 'V2';3804}38053806export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -2282,8 +2282,11 @@
operator: 'PalletEvmAccountBasicCrossAccountIdRepr',
approve: 'bool',
},
- repair_item: {
+ force_repair_collection: {
collectionId: 'u32',
+ },
+ force_repair_item: {
+ collectionId: 'u32',
itemId: 'u32'
}
}
@@ -2452,7 +2455,7 @@
PalletConfigurationCall: {
_enum: {
set_weight_to_fee_coefficient_override: {
- coeff: 'Option<u32>',
+ coeff: 'Option<u64>',
},
set_min_gas_price_override: {
coeff: 'Option<u64>',
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -2517,12 +2517,16 @@
readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;
readonly approve: bool;
} & Struct;
- readonly isRepairItem: boolean;
- readonly asRepairItem: {
+ readonly isForceRepairCollection: boolean;
+ readonly asForceRepairCollection: {
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isForceRepairItem: boolean;
+ readonly asForceRepairItem: {
readonly collectionId: u32;
readonly itemId: u32;
} & Struct;
- readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'RepairItem';
+ readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
}
/** @name UpDataStructsCollectionMode (237) */
@@ -2675,7 +2679,7 @@
interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
- readonly coeff: Option<u32>;
+ readonly coeff: Option<u64>;
} & Struct;
readonly isSetMinGasPriceOverride: boolean;
readonly asSetMinGasPriceOverride: {
tests/src/nesting/collectionProperties.test.tsdiffbeforeafterboth--- a/tests/src/nesting/collectionProperties.test.ts
+++ b/tests/src/nesting/collectionProperties.test.ts
@@ -209,7 +209,7 @@
before(async () => {
await usingPlaygrounds(async (helper, privateKey) => {
const donor = await privateKey({filename: __filename});
- [alice, bob] = await helper.arrange.createAccounts([100n, 10n], donor);
+ [alice, bob] = await helper.arrange.createAccounts([1000n, 100n], donor);
});
});