difftreelog
added totalstaked & fix bug with number in RPC Client
in: master
15 files changed
client/rpc/src/lib.rsdiffbeforeafterboth--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -247,7 +247,8 @@
/// Returns the total amount of staked tokens.
#[method(name = "unique_totalStaked")]
- fn total_staked(&self, staker: CrossAccountId, at: Option<BlockHash>) -> Result<u128>;
+ fn total_staked(&self, staker: Option<CrossAccountId>, at: Option<BlockHash>)
+ -> Result<String>;
///Returns the total amount of staked tokens per block when staked.
#[method(name = "unique_totalStakedPerBlock")]
@@ -255,11 +256,12 @@
&self,
staker: CrossAccountId,
at: Option<BlockHash>,
- ) -> Result<Vec<(BlockNumber, u128)>>;
+ ) -> Result<Vec<(BlockNumber, String)>>;
/// Return the total amount locked by staking tokens.
#[method(name = "unique_totalStakingLocked")]
- fn total_staking_locked(&self, staker: CrossAccountId, at: Option<BlockHash>) -> Result<u128>;
+ fn total_staking_locked(&self, staker: CrossAccountId, at: Option<BlockHash>)
+ -> Result<String>;
}
mod rmrk_unique_rpc {
@@ -539,9 +541,13 @@
pass_method!(effective_collection_limits(collection_id: CollectionId) -> Option<CollectionLimits>, unique_api);
pass_method!(total_pieces(collection_id: CollectionId, token_id: TokenId) -> Option<String> => |o| o.map(|number| number.to_string()) , unique_api);
pass_method!(token_owners(collection: CollectionId, token: TokenId) -> Vec<CrossAccountId>, unique_api);
- pass_method!(total_staked(staker: CrossAccountId) -> u128, unique_api);
- pass_method!(total_staked_per_block(staker: CrossAccountId) -> Vec<(BlockNumber, u128)>, unique_api);
- pass_method!(total_staking_locked(staker: CrossAccountId) -> u128, unique_api);
+ pass_method!(total_staked(staker: Option<CrossAccountId>) -> String => |v| v.to_string(), unique_api);
+ pass_method!(total_staked_per_block(staker: CrossAccountId) -> Vec<(BlockNumber, String)> =>
+ |v| v
+ .into_iter()
+ .map(|(b, a)| (b, a.to_string()))
+ .collect::<Vec<_>>(), unique_api);
+ pass_method!(total_staking_locked(staker: CrossAccountId) -> String => |v| v.to_string(), unique_api);
}
#[allow(deprecated)]
pallets/app-promotion/src/lib.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -448,8 +448,11 @@
}
}
- pub fn cross_id_total_staked(staker: T::CrossAccountId) -> Option<BalanceOf<T>> {
- Self::total_staked_by_id(staker.as_sub())
+ pub fn cross_id_total_staked(staker: Option<T::CrossAccountId>) -> Option<BalanceOf<T>> {
+ staker.map_or(Some(<TotalStaked<T>>::get()), |s| {
+ Self::total_staked_by_id(s.as_sub())
+ })
+ // Self::total_staked_by_id(staker.as_sub())
}
pub fn cross_id_locked_balance(staker: T::CrossAccountId) -> BalanceOf<T> {
primitives/rpc/src/lib.rsdiffbeforeafterboth--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -126,7 +126,7 @@
/// Get total pieces of token.
fn total_pieces(collection_id: CollectionId, token_id: TokenId) -> Result<Option<u128>>;
fn token_owners(collection: CollectionId, token: TokenId) -> Result<Vec<CrossAccountId>>;
- fn total_staked(staker: CrossAccountId) -> Result<u128>;
+ fn total_staked(staker: Option<CrossAccountId>) -> Result<u128>;
fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>>;
fn total_staking_locked(staker: CrossAccountId) -> Result<u128>;
}
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -188,7 +188,7 @@
dispatch_unique_runtime!(collection.total_pieces(token_id))
}
- fn total_staked(staker: CrossAccountId) -> Result<u128, DispatchError> {
+ fn total_staked(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {
Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked(staker).unwrap_or_default())
// Ok(0)
}
tests/package.jsondiffbeforeafterboth--- a/tests/package.json
+++ b/tests/package.json
@@ -83,6 +83,7 @@
"testRFT": "mocha --timeout 9999999 -r ts-node/register ./**/refungible.test.ts",
"testFT": "mocha --timeout 9999999 -r ts-node/register ./**/fungible.test.ts",
"testRPC": "mocha --timeout 9999999 -r ts-node/register ./**/rpc.test.ts",
+ "testPromotion": "mocha --timeout 9999999 -r ts-node/register ./**/app-promotion.test.ts",
"polkadot-types-fetch-metadata": "curl -H 'Content-Type: application/json' -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9933 > src/interfaces/metadata.json",
"polkadot-types-from-defs": "ts-node ./node_modules/.bin/polkadot-types-from-defs --endpoint src/interfaces/metadata.json --input src/interfaces/ --package .",
"polkadot-types-from-chain": "ts-node ./node_modules/.bin/polkadot-types-from-chain --endpoint src/interfaces/metadata.json --output src/interfaces/ --package .",
tests/src/app-promotion.test.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/app-promotion.test.ts
@@ -0,0 +1,90 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+import {default as usingApi, submitTransactionAsync} from './substrate/substrate-api';
+import {IKeyringPair} from '@polkadot/types/types';
+import {
+
+ createMultipleItemsExpectSuccess,
+ isTokenExists,
+ getLastTokenId,
+ getAllowance,
+ approve,
+ transferFrom,
+ createCollection,
+ transfer,
+ burnItem,
+ normalizeAccountId,
+ CrossAccountId,
+ createFungibleItemExpectSuccess,
+ U128_MAX,
+ burnFromExpectSuccess,
+ UNIQUE,
+} from './util/helpers';
+
+import chai from 'chai';
+import chaiAsPromised from 'chai-as-promised';
+import getBalance from './substrate/get-balance';
+import { unique } from './interfaces/definitions';
+chai.use(chaiAsPromised);
+const expect = chai.expect;
+
+let alice: IKeyringPair;
+let bob: IKeyringPair;
+let palletAdmin: IKeyringPair;
+
+describe('integration test: AppPromotion', () => {
+ before(async () => {
+ await usingApi(async (api, privateKeyWrapper) => {
+ alice = privateKeyWrapper('//Alice');
+ bob = privateKeyWrapper('//Bob');
+ palletAdmin = privateKeyWrapper('//palletAdmin');
+ const tx = api.tx.sudo.sudo(api.tx.promotion.setAdminAddress(palletAdmin.addressRaw));
+ await submitTransactionAsync(alice, tx);
+ });
+ });
+ it('will change balance state to "locked", add it to "staked" map, and increase "totalStaked" amount', async () => {
+ // arrange: Alice balance = 1000
+ // act: Alice calls appPromotion.stake(100)
+ // assert: Alice locked balance equal 100
+ // assert: Alice free balance closeTo 900
+ // assert: query appPromotion.staked(Alice) equal [100]
+ // assert: query appPromotion.totalStaked() increased by 100
+ // act: Alice extrinsic appPromotion.stake(200)
+
+ // assert: Alice locked balance equal 300
+ // assert: query appPromotion.staked(Alice) equal [100, 200]
+ // assert: query appPromotion.totalStaked() increased by 200
+
+ await usingApi(async (api, privateKeyWrapper) => {
+ await submitTransactionAsync(alice, api.tx.balances.transfer(bob.addressRaw, 10n * UNIQUE));
+ const [alicesBalanceBefore, bobsBalanceBefore] = await getBalance(api, [alice.address, bob.address]);
+
+ console.log(`alice: ${alicesBalanceBefore} \n bob: ${bobsBalanceBefore}`);
+
+ await submitTransactionAsync(alice, api.tx.promotion.stake(1n * UNIQUE));
+ await submitTransactionAsync(bob, api.tx.promotion.stake(1n * UNIQUE));
+ const alice_total_staked = (await (api.rpc.unique.totalStaked(normalizeAccountId(alice)))).toBigInt();
+ const bob_total_staked = (await api.rpc.unique.totalStaked(normalizeAccountId(bob))).toBigInt();
+
+ console.log(`alice staked: ${alice_total_staked} \n bob staked: ${bob_total_staked}, total staked: ${(await api.rpc.unique.totalStaked()).toBigInt()}`);
+
+
+
+ });
+ });
+
+});
\ No newline at end of file
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -456,6 +456,27 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ promotion: {
+ admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Next target block when interest is recalculated
+ **/
+ nextInterestBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ pendingUnstake: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
+ /**
+ * Amount of tokens staked by account in the blocknumber.
+ **/
+ staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
+ /**
+ * A block when app-promotion has started
+ **/
+ startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
+ totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
randomnessCollectiveFlip: {
/**
* Series of block headers from the last 81 blocks that acts as random seed material. This
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -8,8 +8,8 @@
import type { PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsPartPartType, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData } from './default';
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
import type { Metadata, StorageKey } from '@polkadot/types';
-import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec';
-import type { AnyNumber, Codec } from '@polkadot/types-codec/types';
+import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
+import type { AnyNumber, Codec, ITuple } from '@polkadot/types-codec/types';
import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';
@@ -739,6 +739,18 @@
**/
totalPieces: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u128>>>;
/**
+ * Returns the total amount of staked tokens
+ **/
+ totalStaked: AugmentedRpc<(staker?: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
+ /**
+ * Returns the total amount of staked tokens per block when staked
+ **/
+ totalStakedPerBlock: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>>;
+ /**
+ * Return the total amount locked by staking tokens
+ **/
+ totalStakingLocked: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
+ /**
* Get the amount of distinctive tokens present in a collection
**/
totalSupply: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -362,6 +362,16 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ promotion: {
+ setAdminAddress: AugmentedSubmittable<(admin: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
+ stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
+ startAppPromotion: AugmentedSubmittable<(promotionStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ unstake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
rmrkCore: {
/**
* Accept an NFT sent from another account to self or an owned NFT.
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -804,6 +804,7 @@
Owner: Owner;
PageCounter: PageCounter;
PageIndexData: PageIndexData;
+ PalletAppPromotionCall: PalletAppPromotionCall;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -806,6 +806,27 @@
readonly perPeriod: Compact<u128>;
}
+/** @name PalletAppPromotionCall */
+export interface PalletAppPromotionCall extends Enum {
+ readonly isSetAdminAddress: boolean;
+ readonly asSetAdminAddress: {
+ readonly admin: AccountId32;
+ } & Struct;
+ readonly isStartAppPromotion: boolean;
+ readonly asStartAppPromotion: {
+ readonly promotionStartRelayBlock: u32;
+ } & Struct;
+ readonly isStake: boolean;
+ readonly asStake: {
+ readonly amount: u128;
+ } & Struct;
+ readonly isUnstake: boolean;
+ readonly asUnstake: {
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';
+}
+
/** @name PalletBalancesAccountData */
export interface PalletBalancesAccountData extends Struct {
readonly free: u128;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1979,9 +1979,25 @@
collectionId: 'u32',
data: 'UpDataStructsCreateItemExData',
},
+<<<<<<< HEAD
set_transfers_enabled_flag: {
collectionId: 'u32',
value: 'bool',
+=======
+ finish: {
+ address: 'H160',
+ code: 'Bytes'
+ }
+ }
+ },
+ /**
+ * Lookup259: pallet_sudo::pallet::Event<T>
+ **/
+ PalletSudoEvent: {
+ _enum: {
+ Sudid: {
+ sudoResult: 'Result<Null, SpRuntimeDispatchError>',
+>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client
},
burn_item: {
collectionId: 'u32',
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -83,6 +83,7 @@
OrmlVestingModuleError: OrmlVestingModuleError;
OrmlVestingModuleEvent: OrmlVestingModuleEvent;
OrmlVestingVestingSchedule: OrmlVestingVestingSchedule;
+ PalletAppPromotionCall: PalletAppPromotionCall;
PalletBalancesAccountData: PalletBalancesAccountData;
PalletBalancesBalanceLock: PalletBalancesBalanceLock;
PalletBalancesCall: PalletBalancesCall;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';1213declare module '@polkadot/types/lookup' {14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {16 readonly nonce: u32;17 readonly consumers: u32;18 readonly providers: u32;19 readonly sufficients: u32;20 readonly data: PalletBalancesAccountData;21 }2223 /** @name PalletBalancesAccountData (5) */24 interface PalletBalancesAccountData extends Struct {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;28 readonly feeFrozen: u128;29 }3031 /** @name FrameSupportWeightsPerDispatchClassU64 (7) */32 interface FrameSupportWeightsPerDispatchClassU64 extends Struct {33 readonly normal: u64;34 readonly operational: u64;35 readonly mandatory: u64;36 }3738 /** @name SpRuntimeDigest (11) */39 interface SpRuntimeDigest extends Struct {40 readonly logs: Vec<SpRuntimeDigestDigestItem>;41 }4243 /** @name SpRuntimeDigestDigestItem (13) */44 interface SpRuntimeDigestDigestItem extends Enum {45 readonly isOther: boolean;46 readonly asOther: Bytes;47 readonly isConsensus: boolean;48 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;49 readonly isSeal: boolean;50 readonly asSeal: ITuple<[U8aFixed, Bytes]>;51 readonly isPreRuntime: boolean;52 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;53 readonly isRuntimeEnvironmentUpdated: boolean;54 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';55 }5657 /** @name FrameSystemEventRecord (16) */58 interface FrameSystemEventRecord extends Struct {59 readonly phase: FrameSystemPhase;60 readonly event: Event;61 readonly topics: Vec<H256>;62 }6364 /** @name FrameSystemEvent (18) */65 interface FrameSystemEvent extends Enum {66 readonly isExtrinsicSuccess: boolean;67 readonly asExtrinsicSuccess: {68 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;69 } & Struct;70 readonly isExtrinsicFailed: boolean;71 readonly asExtrinsicFailed: {72 readonly dispatchError: SpRuntimeDispatchError;73 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;74 } & Struct;75 readonly isCodeUpdated: boolean;76 readonly isNewAccount: boolean;77 readonly asNewAccount: {78 readonly account: AccountId32;79 } & Struct;80 readonly isKilledAccount: boolean;81 readonly asKilledAccount: {82 readonly account: AccountId32;83 } & Struct;84 readonly isRemarked: boolean;85 readonly asRemarked: {86 readonly sender: AccountId32;87 readonly hash_: H256;88 } & Struct;89 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';90 }9192 /** @name FrameSupportWeightsDispatchInfo (19) */93 interface FrameSupportWeightsDispatchInfo extends Struct {94 readonly weight: u64;95 readonly class: FrameSupportWeightsDispatchClass;96 readonly paysFee: FrameSupportWeightsPays;97 }9899 /** @name FrameSupportWeightsDispatchClass (20) */100 interface FrameSupportWeightsDispatchClass extends Enum {101 readonly isNormal: boolean;102 readonly isOperational: boolean;103 readonly isMandatory: boolean;104 readonly type: 'Normal' | 'Operational' | 'Mandatory';105 }106107 /** @name FrameSupportWeightsPays (21) */108 interface FrameSupportWeightsPays extends Enum {109 readonly isYes: boolean;110 readonly isNo: boolean;111 readonly type: 'Yes' | 'No';112 }113114 /** @name SpRuntimeDispatchError (22) */115 interface SpRuntimeDispatchError extends Enum {116 readonly isOther: boolean;117 readonly isCannotLookup: boolean;118 readonly isBadOrigin: boolean;119 readonly isModule: boolean;120 readonly asModule: SpRuntimeModuleError;121 readonly isConsumerRemaining: boolean;122 readonly isNoProviders: boolean;123 readonly isTooManyConsumers: boolean;124 readonly isToken: boolean;125 readonly asToken: SpRuntimeTokenError;126 readonly isArithmetic: boolean;127 readonly asArithmetic: SpRuntimeArithmeticError;128 readonly isTransactional: boolean;129 readonly asTransactional: SpRuntimeTransactionalError;130 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';131 }132133 /** @name SpRuntimeModuleError (23) */134 interface SpRuntimeModuleError extends Struct {135 readonly index: u8;136 readonly error: U8aFixed;137 }138139 /** @name SpRuntimeTokenError (24) */140 interface SpRuntimeTokenError extends Enum {141 readonly isNoFunds: boolean;142 readonly isWouldDie: boolean;143 readonly isBelowMinimum: boolean;144 readonly isCannotCreate: boolean;145 readonly isUnknownAsset: boolean;146 readonly isFrozen: boolean;147 readonly isUnsupported: boolean;148 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';149 }150151 /** @name SpRuntimeArithmeticError (25) */152 interface SpRuntimeArithmeticError extends Enum {153 readonly isUnderflow: boolean;154 readonly isOverflow: boolean;155 readonly isDivisionByZero: boolean;156 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';157 }158159 /** @name SpRuntimeTransactionalError (26) */160 interface SpRuntimeTransactionalError extends Enum {161 readonly isLimitReached: boolean;162 readonly isNoLayer: boolean;163 readonly type: 'LimitReached' | 'NoLayer';164 }165166 /** @name CumulusPalletParachainSystemEvent (27) */167 interface CumulusPalletParachainSystemEvent extends Enum {168 readonly isValidationFunctionStored: boolean;169 readonly isValidationFunctionApplied: boolean;170 readonly asValidationFunctionApplied: {171 readonly relayChainBlockNum: u32;172 } & Struct;173 readonly isValidationFunctionDiscarded: boolean;174 readonly isUpgradeAuthorized: boolean;175 readonly asUpgradeAuthorized: {176 readonly codeHash: H256;177 } & Struct;178 readonly isDownwardMessagesReceived: boolean;179 readonly asDownwardMessagesReceived: {180 readonly count: u32;181 } & Struct;182 readonly isDownwardMessagesProcessed: boolean;183 readonly asDownwardMessagesProcessed: {184 readonly weightUsed: u64;185 readonly dmqHead: H256;186 } & Struct;187 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';188 }189190 /** @name PalletBalancesEvent (28) */191 interface PalletBalancesEvent extends Enum {192 readonly isEndowed: boolean;193 readonly asEndowed: {194 readonly account: AccountId32;195 readonly freeBalance: u128;196 } & Struct;197 readonly isDustLost: boolean;198 readonly asDustLost: {199 readonly account: AccountId32;200 readonly amount: u128;201 } & Struct;202 readonly isTransfer: boolean;203 readonly asTransfer: {204 readonly from: AccountId32;205 readonly to: AccountId32;206 readonly amount: u128;207 } & Struct;208 readonly isBalanceSet: boolean;209 readonly asBalanceSet: {210 readonly who: AccountId32;211 readonly free: u128;212 readonly reserved: u128;213 } & Struct;214 readonly isReserved: boolean;215 readonly asReserved: {216 readonly who: AccountId32;217 readonly amount: u128;218 } & Struct;219 readonly isUnreserved: boolean;220 readonly asUnreserved: {221 readonly who: AccountId32;222 readonly amount: u128;223 } & Struct;224 readonly isReserveRepatriated: boolean;225 readonly asReserveRepatriated: {226 readonly from: AccountId32;227 readonly to: AccountId32;228 readonly amount: u128;229 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;230 } & Struct;231 readonly isDeposit: boolean;232 readonly asDeposit: {233 readonly who: AccountId32;234 readonly amount: u128;235 } & Struct;236 readonly isWithdraw: boolean;237 readonly asWithdraw: {238 readonly who: AccountId32;239 readonly amount: u128;240 } & Struct;241 readonly isSlashed: boolean;242 readonly asSlashed: {243 readonly who: AccountId32;244 readonly amount: u128;245 } & Struct;246 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';247 }248249 /** @name FrameSupportTokensMiscBalanceStatus (29) */250 interface FrameSupportTokensMiscBalanceStatus extends Enum {251 readonly isFree: boolean;252 readonly isReserved: boolean;253 readonly type: 'Free' | 'Reserved';254 }255256 /** @name PalletTransactionPaymentEvent (30) */257 interface PalletTransactionPaymentEvent extends Enum {258 readonly isTransactionFeePaid: boolean;259 readonly asTransactionFeePaid: {260 readonly who: AccountId32;261 readonly actualFee: u128;262 readonly tip: u128;263 } & Struct;264 readonly type: 'TransactionFeePaid';265 }266267 /** @name PalletTreasuryEvent (31) */268 interface PalletTreasuryEvent extends Enum {269 readonly isProposed: boolean;270 readonly asProposed: {271 readonly proposalIndex: u32;272 } & Struct;273 readonly isSpending: boolean;274 readonly asSpending: {275 readonly budgetRemaining: u128;276 } & Struct;277 readonly isAwarded: boolean;278 readonly asAwarded: {279 readonly proposalIndex: u32;280 readonly award: u128;281 readonly account: AccountId32;282 } & Struct;283 readonly isRejected: boolean;284 readonly asRejected: {285 readonly proposalIndex: u32;286 readonly slashed: u128;287 } & Struct;288 readonly isBurnt: boolean;289 readonly asBurnt: {290 readonly burntFunds: u128;291 } & Struct;292 readonly isRollover: boolean;293 readonly asRollover: {294 readonly rolloverBalance: u128;295 } & Struct;296 readonly isDeposit: boolean;297 readonly asDeposit: {298 readonly value: u128;299 } & Struct;300 readonly isSpendApproved: boolean;301 readonly asSpendApproved: {302 readonly proposalIndex: u32;303 readonly amount: u128;304 readonly beneficiary: AccountId32;305 } & Struct;306 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';307 }308309 /** @name PalletSudoEvent (32) */310 interface PalletSudoEvent extends Enum {311 readonly isSudid: boolean;312 readonly asSudid: {313 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;314 } & Struct;315 readonly isKeyChanged: boolean;316 readonly asKeyChanged: {317 readonly oldSudoer: Option<AccountId32>;318 } & Struct;319 readonly isSudoAsDone: boolean;320 readonly asSudoAsDone: {321 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;322 } & Struct;323 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';324 }325326 /** @name OrmlVestingModuleEvent (36) */327 interface OrmlVestingModuleEvent extends Enum {328 readonly isVestingScheduleAdded: boolean;329 readonly asVestingScheduleAdded: {330 readonly from: AccountId32;331 readonly to: AccountId32;332 readonly vestingSchedule: OrmlVestingVestingSchedule;333 } & Struct;334 readonly isClaimed: boolean;335 readonly asClaimed: {336 readonly who: AccountId32;337 readonly amount: u128;338 } & Struct;339 readonly isVestingSchedulesUpdated: boolean;340 readonly asVestingSchedulesUpdated: {341 readonly who: AccountId32;342 } & Struct;343 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';344 }345346 /** @name OrmlVestingVestingSchedule (37) */347 interface OrmlVestingVestingSchedule extends Struct {348 readonly start: u32;349 readonly period: u32;350 readonly periodCount: u32;351 readonly perPeriod: Compact<u128>;352 }353354 /** @name CumulusPalletXcmpQueueEvent (39) */355 interface CumulusPalletXcmpQueueEvent extends Enum {356 readonly isSuccess: boolean;357 readonly asSuccess: {358 readonly messageHash: Option<H256>;359 readonly weight: u64;360 } & Struct;361 readonly isFail: boolean;362 readonly asFail: {363 readonly messageHash: Option<H256>;364 readonly error: XcmV2TraitsError;365 readonly weight: u64;366 } & Struct;367 readonly isBadVersion: boolean;368 readonly asBadVersion: {369 readonly messageHash: Option<H256>;370 } & Struct;371 readonly isBadFormat: boolean;372 readonly asBadFormat: {373 readonly messageHash: Option<H256>;374 } & Struct;375 readonly isUpwardMessageSent: boolean;376 readonly asUpwardMessageSent: {377 readonly messageHash: Option<H256>;378 } & Struct;379 readonly isXcmpMessageSent: boolean;380 readonly asXcmpMessageSent: {381 readonly messageHash: Option<H256>;382 } & Struct;383 readonly isOverweightEnqueued: boolean;384 readonly asOverweightEnqueued: {385 readonly sender: u32;386 readonly sentAt: u32;387 readonly index: u64;388 readonly required: u64;389 } & Struct;390 readonly isOverweightServiced: boolean;391 readonly asOverweightServiced: {392 readonly index: u64;393 readonly used: u64;394 } & Struct;395 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';396 }397398 /** @name XcmV2TraitsError (41) */399 interface XcmV2TraitsError extends Enum {400 readonly isOverflow: boolean;401 readonly isUnimplemented: boolean;402 readonly isUntrustedReserveLocation: boolean;403 readonly isUntrustedTeleportLocation: boolean;404 readonly isMultiLocationFull: boolean;405 readonly isMultiLocationNotInvertible: boolean;406 readonly isBadOrigin: boolean;407 readonly isInvalidLocation: boolean;408 readonly isAssetNotFound: boolean;409 readonly isFailedToTransactAsset: boolean;410 readonly isNotWithdrawable: boolean;411 readonly isLocationCannotHold: boolean;412 readonly isExceedsMaxMessageSize: boolean;413 readonly isDestinationUnsupported: boolean;414 readonly isTransport: boolean;415 readonly isUnroutable: boolean;416 readonly isUnknownClaim: boolean;417 readonly isFailedToDecode: boolean;418 readonly isMaxWeightInvalid: boolean;419 readonly isNotHoldingFees: boolean;420 readonly isTooExpensive: boolean;421 readonly isTrap: boolean;422 readonly asTrap: u64;423 readonly isUnhandledXcmVersion: boolean;424 readonly isWeightLimitReached: boolean;425 readonly asWeightLimitReached: u64;426 readonly isBarrier: boolean;427 readonly isWeightNotComputable: boolean;428 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';429 }430431 /** @name PalletXcmEvent (43) */432 interface PalletXcmEvent extends Enum {433 readonly isAttempted: boolean;434 readonly asAttempted: XcmV2TraitsOutcome;435 readonly isSent: boolean;436 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;437 readonly isUnexpectedResponse: boolean;438 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;439 readonly isResponseReady: boolean;440 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;441 readonly isNotified: boolean;442 readonly asNotified: ITuple<[u64, u8, u8]>;443 readonly isNotifyOverweight: boolean;444 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;445 readonly isNotifyDispatchError: boolean;446 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;447 readonly isNotifyDecodeFailed: boolean;448 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;449 readonly isInvalidResponder: boolean;450 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;451 readonly isInvalidResponderVersion: boolean;452 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;453 readonly isResponseTaken: boolean;454 readonly asResponseTaken: u64;455 readonly isAssetsTrapped: boolean;456 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;457 readonly isVersionChangeNotified: boolean;458 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;459 readonly isSupportedVersionChanged: boolean;460 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;461 readonly isNotifyTargetSendFail: boolean;462 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;463 readonly isNotifyTargetMigrationFail: boolean;464 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;465 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';466 }467468 /** @name XcmV2TraitsOutcome (44) */469 interface XcmV2TraitsOutcome extends Enum {470 readonly isComplete: boolean;471 readonly asComplete: u64;472 readonly isIncomplete: boolean;473 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;474 readonly isError: boolean;475 readonly asError: XcmV2TraitsError;476 readonly type: 'Complete' | 'Incomplete' | 'Error';477 }478479 /** @name XcmV1MultiLocation (45) */480 interface XcmV1MultiLocation extends Struct {481 readonly parents: u8;482 readonly interior: XcmV1MultilocationJunctions;483 }484485 /** @name XcmV1MultilocationJunctions (46) */486 interface XcmV1MultilocationJunctions extends Enum {487 readonly isHere: boolean;488 readonly isX1: boolean;489 readonly asX1: XcmV1Junction;490 readonly isX2: boolean;491 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;492 readonly isX3: boolean;493 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;494 readonly isX4: boolean;495 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;496 readonly isX5: boolean;497 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;498 readonly isX6: boolean;499 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;500 readonly isX7: boolean;501 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;502 readonly isX8: boolean;503 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;504 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';505 }506507 /** @name XcmV1Junction (47) */508 interface XcmV1Junction extends Enum {509 readonly isParachain: boolean;510 readonly asParachain: Compact<u32>;511 readonly isAccountId32: boolean;512 readonly asAccountId32: {513 readonly network: XcmV0JunctionNetworkId;514 readonly id: U8aFixed;515 } & Struct;516 readonly isAccountIndex64: boolean;517 readonly asAccountIndex64: {518 readonly network: XcmV0JunctionNetworkId;519 readonly index: Compact<u64>;520 } & Struct;521 readonly isAccountKey20: boolean;522 readonly asAccountKey20: {523 readonly network: XcmV0JunctionNetworkId;524 readonly key: U8aFixed;525 } & Struct;526 readonly isPalletInstance: boolean;527 readonly asPalletInstance: u8;528 readonly isGeneralIndex: boolean;529 readonly asGeneralIndex: Compact<u128>;530 readonly isGeneralKey: boolean;531 readonly asGeneralKey: Bytes;532 readonly isOnlyChild: boolean;533 readonly isPlurality: boolean;534 readonly asPlurality: {535 readonly id: XcmV0JunctionBodyId;536 readonly part: XcmV0JunctionBodyPart;537 } & Struct;538 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';539 }540541 /** @name XcmV0JunctionNetworkId (49) */542 interface XcmV0JunctionNetworkId extends Enum {543 readonly isAny: boolean;544 readonly isNamed: boolean;545 readonly asNamed: Bytes;546 readonly isPolkadot: boolean;547 readonly isKusama: boolean;548 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';549 }550551 /** @name XcmV0JunctionBodyId (53) */552 interface XcmV0JunctionBodyId extends Enum {553 readonly isUnit: boolean;554 readonly isNamed: boolean;555 readonly asNamed: Bytes;556 readonly isIndex: boolean;557 readonly asIndex: Compact<u32>;558 readonly isExecutive: boolean;559 readonly isTechnical: boolean;560 readonly isLegislative: boolean;561 readonly isJudicial: boolean;562 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';563 }564565 /** @name XcmV0JunctionBodyPart (54) */566 interface XcmV0JunctionBodyPart extends Enum {567 readonly isVoice: boolean;568 readonly isMembers: boolean;569 readonly asMembers: {570 readonly count: Compact<u32>;571 } & Struct;572 readonly isFraction: boolean;573 readonly asFraction: {574 readonly nom: Compact<u32>;575 readonly denom: Compact<u32>;576 } & Struct;577 readonly isAtLeastProportion: boolean;578 readonly asAtLeastProportion: {579 readonly nom: Compact<u32>;580 readonly denom: Compact<u32>;581 } & Struct;582 readonly isMoreThanProportion: boolean;583 readonly asMoreThanProportion: {584 readonly nom: Compact<u32>;585 readonly denom: Compact<u32>;586 } & Struct;587 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';588 }589590 /** @name XcmV2Xcm (55) */591 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}592593 /** @name XcmV2Instruction (57) */594 interface XcmV2Instruction extends Enum {595 readonly isWithdrawAsset: boolean;596 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;597 readonly isReserveAssetDeposited: boolean;598 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;599 readonly isReceiveTeleportedAsset: boolean;600 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;601 readonly isQueryResponse: boolean;602 readonly asQueryResponse: {603 readonly queryId: Compact<u64>;604 readonly response: XcmV2Response;605 readonly maxWeight: Compact<u64>;606 } & Struct;607 readonly isTransferAsset: boolean;608 readonly asTransferAsset: {609 readonly assets: XcmV1MultiassetMultiAssets;610 readonly beneficiary: XcmV1MultiLocation;611 } & Struct;612 readonly isTransferReserveAsset: boolean;613 readonly asTransferReserveAsset: {614 readonly assets: XcmV1MultiassetMultiAssets;615 readonly dest: XcmV1MultiLocation;616 readonly xcm: XcmV2Xcm;617 } & Struct;618 readonly isTransact: boolean;619 readonly asTransact: {620 readonly originType: XcmV0OriginKind;621 readonly requireWeightAtMost: Compact<u64>;622 readonly call: XcmDoubleEncoded;623 } & Struct;624 readonly isHrmpNewChannelOpenRequest: boolean;625 readonly asHrmpNewChannelOpenRequest: {626 readonly sender: Compact<u32>;627 readonly maxMessageSize: Compact<u32>;628 readonly maxCapacity: Compact<u32>;629 } & Struct;630 readonly isHrmpChannelAccepted: boolean;631 readonly asHrmpChannelAccepted: {632 readonly recipient: Compact<u32>;633 } & Struct;634 readonly isHrmpChannelClosing: boolean;635 readonly asHrmpChannelClosing: {636 readonly initiator: Compact<u32>;637 readonly sender: Compact<u32>;638 readonly recipient: Compact<u32>;639 } & Struct;640 readonly isClearOrigin: boolean;641 readonly isDescendOrigin: boolean;642 readonly asDescendOrigin: XcmV1MultilocationJunctions;643 readonly isReportError: boolean;644 readonly asReportError: {645 readonly queryId: Compact<u64>;646 readonly dest: XcmV1MultiLocation;647 readonly maxResponseWeight: Compact<u64>;648 } & Struct;649 readonly isDepositAsset: boolean;650 readonly asDepositAsset: {651 readonly assets: XcmV1MultiassetMultiAssetFilter;652 readonly maxAssets: Compact<u32>;653 readonly beneficiary: XcmV1MultiLocation;654 } & Struct;655 readonly isDepositReserveAsset: boolean;656 readonly asDepositReserveAsset: {657 readonly assets: XcmV1MultiassetMultiAssetFilter;658 readonly maxAssets: Compact<u32>;659 readonly dest: XcmV1MultiLocation;660 readonly xcm: XcmV2Xcm;661 } & Struct;662 readonly isExchangeAsset: boolean;663 readonly asExchangeAsset: {664 readonly give: XcmV1MultiassetMultiAssetFilter;665 readonly receive: XcmV1MultiassetMultiAssets;666 } & Struct;667 readonly isInitiateReserveWithdraw: boolean;668 readonly asInitiateReserveWithdraw: {669 readonly assets: XcmV1MultiassetMultiAssetFilter;670 readonly reserve: XcmV1MultiLocation;671 readonly xcm: XcmV2Xcm;672 } & Struct;673 readonly isInitiateTeleport: boolean;674 readonly asInitiateTeleport: {675 readonly assets: XcmV1MultiassetMultiAssetFilter;676 readonly dest: XcmV1MultiLocation;677 readonly xcm: XcmV2Xcm;678 } & Struct;679 readonly isQueryHolding: boolean;680 readonly asQueryHolding: {681 readonly queryId: Compact<u64>;682 readonly dest: XcmV1MultiLocation;683 readonly assets: XcmV1MultiassetMultiAssetFilter;684 readonly maxResponseWeight: Compact<u64>;685 } & Struct;686 readonly isBuyExecution: boolean;687 readonly asBuyExecution: {688 readonly fees: XcmV1MultiAsset;689 readonly weightLimit: XcmV2WeightLimit;690 } & Struct;691 readonly isRefundSurplus: boolean;692 readonly isSetErrorHandler: boolean;693 readonly asSetErrorHandler: XcmV2Xcm;694 readonly isSetAppendix: boolean;695 readonly asSetAppendix: XcmV2Xcm;696 readonly isClearError: boolean;697 readonly isClaimAsset: boolean;698 readonly asClaimAsset: {699 readonly assets: XcmV1MultiassetMultiAssets;700 readonly ticket: XcmV1MultiLocation;701 } & Struct;702 readonly isTrap: boolean;703 readonly asTrap: Compact<u64>;704 readonly isSubscribeVersion: boolean;705 readonly asSubscribeVersion: {706 readonly queryId: Compact<u64>;707 readonly maxResponseWeight: Compact<u64>;708 } & Struct;709 readonly isUnsubscribeVersion: boolean;710 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';711 }712713 /** @name XcmV1MultiassetMultiAssets (58) */714 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}715716 /** @name XcmV1MultiAsset (60) */717 interface XcmV1MultiAsset extends Struct {718 readonly id: XcmV1MultiassetAssetId;719 readonly fun: XcmV1MultiassetFungibility;720 }721722 /** @name XcmV1MultiassetAssetId (61) */723 interface XcmV1MultiassetAssetId extends Enum {724 readonly isConcrete: boolean;725 readonly asConcrete: XcmV1MultiLocation;726 readonly isAbstract: boolean;727 readonly asAbstract: Bytes;728 readonly type: 'Concrete' | 'Abstract';729 }730731 /** @name XcmV1MultiassetFungibility (62) */732 interface XcmV1MultiassetFungibility extends Enum {733 readonly isFungible: boolean;734 readonly asFungible: Compact<u128>;735 readonly isNonFungible: boolean;736 readonly asNonFungible: XcmV1MultiassetAssetInstance;737 readonly type: 'Fungible' | 'NonFungible';738 }739740 /** @name XcmV1MultiassetAssetInstance (63) */741 interface XcmV1MultiassetAssetInstance extends Enum {742 readonly isUndefined: boolean;743 readonly isIndex: boolean;744 readonly asIndex: Compact<u128>;745 readonly isArray4: boolean;746 readonly asArray4: U8aFixed;747 readonly isArray8: boolean;748 readonly asArray8: U8aFixed;749 readonly isArray16: boolean;750 readonly asArray16: U8aFixed;751 readonly isArray32: boolean;752 readonly asArray32: U8aFixed;753 readonly isBlob: boolean;754 readonly asBlob: Bytes;755 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';756 }757758 /** @name XcmV2Response (66) */759 interface XcmV2Response extends Enum {760 readonly isNull: boolean;761 readonly isAssets: boolean;762 readonly asAssets: XcmV1MultiassetMultiAssets;763 readonly isExecutionResult: boolean;764 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;765 readonly isVersion: boolean;766 readonly asVersion: u32;767 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';768 }769770 /** @name XcmV0OriginKind (69) */771 interface XcmV0OriginKind extends Enum {772 readonly isNative: boolean;773 readonly isSovereignAccount: boolean;774 readonly isSuperuser: boolean;775 readonly isXcm: boolean;776 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';777 }778779 /** @name XcmDoubleEncoded (70) */780 interface XcmDoubleEncoded extends Struct {781 readonly encoded: Bytes;782 }783784 /** @name XcmV1MultiassetMultiAssetFilter (71) */785 interface XcmV1MultiassetMultiAssetFilter extends Enum {786 readonly isDefinite: boolean;787 readonly asDefinite: XcmV1MultiassetMultiAssets;788 readonly isWild: boolean;789 readonly asWild: XcmV1MultiassetWildMultiAsset;790 readonly type: 'Definite' | 'Wild';791 }792793 /** @name XcmV1MultiassetWildMultiAsset (72) */794 interface XcmV1MultiassetWildMultiAsset extends Enum {795 readonly isAll: boolean;796 readonly isAllOf: boolean;797 readonly asAllOf: {798 readonly id: XcmV1MultiassetAssetId;799 readonly fun: XcmV1MultiassetWildFungibility;800 } & Struct;801 readonly type: 'All' | 'AllOf';802 }803804 /** @name XcmV1MultiassetWildFungibility (73) */805 interface XcmV1MultiassetWildFungibility extends Enum {806 readonly isFungible: boolean;807 readonly isNonFungible: boolean;808 readonly type: 'Fungible' | 'NonFungible';809 }810811 /** @name XcmV2WeightLimit (74) */812 interface XcmV2WeightLimit extends Enum {813 readonly isUnlimited: boolean;814 readonly isLimited: boolean;815 readonly asLimited: Compact<u64>;816 readonly type: 'Unlimited' | 'Limited';817 }818819 /** @name XcmVersionedMultiAssets (76) */820 interface XcmVersionedMultiAssets extends Enum {821 readonly isV0: boolean;822 readonly asV0: Vec<XcmV0MultiAsset>;823 readonly isV1: boolean;824 readonly asV1: XcmV1MultiassetMultiAssets;825 readonly type: 'V0' | 'V1';826 }827828 /** @name XcmV0MultiAsset (78) */829 interface XcmV0MultiAsset extends Enum {830 readonly isNone: boolean;831 readonly isAll: boolean;832 readonly isAllFungible: boolean;833 readonly isAllNonFungible: boolean;834 readonly isAllAbstractFungible: boolean;835 readonly asAllAbstractFungible: {836 readonly id: Bytes;837 } & Struct;838 readonly isAllAbstractNonFungible: boolean;839 readonly asAllAbstractNonFungible: {840 readonly class: Bytes;841 } & Struct;842 readonly isAllConcreteFungible: boolean;843 readonly asAllConcreteFungible: {844 readonly id: XcmV0MultiLocation;845 } & Struct;846 readonly isAllConcreteNonFungible: boolean;847 readonly asAllConcreteNonFungible: {848 readonly class: XcmV0MultiLocation;849 } & Struct;850 readonly isAbstractFungible: boolean;851 readonly asAbstractFungible: {852 readonly id: Bytes;853 readonly amount: Compact<u128>;854 } & Struct;855 readonly isAbstractNonFungible: boolean;856 readonly asAbstractNonFungible: {857 readonly class: Bytes;858 readonly instance: XcmV1MultiassetAssetInstance;859 } & Struct;860 readonly isConcreteFungible: boolean;861 readonly asConcreteFungible: {862 readonly id: XcmV0MultiLocation;863 readonly amount: Compact<u128>;864 } & Struct;865 readonly isConcreteNonFungible: boolean;866 readonly asConcreteNonFungible: {867 readonly class: XcmV0MultiLocation;868 readonly instance: XcmV1MultiassetAssetInstance;869 } & Struct;870 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';871 }872873 /** @name XcmV0MultiLocation (79) */874 interface XcmV0MultiLocation extends Enum {875 readonly isNull: boolean;876 readonly isX1: boolean;877 readonly asX1: XcmV0Junction;878 readonly isX2: boolean;879 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;880 readonly isX3: boolean;881 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;882 readonly isX4: boolean;883 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;884 readonly isX5: boolean;885 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;886 readonly isX6: boolean;887 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;888 readonly isX7: boolean;889 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;890 readonly isX8: boolean;891 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;892 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';893 }894895 /** @name XcmV0Junction (80) */896 interface XcmV0Junction extends Enum {897 readonly isParent: boolean;898 readonly isParachain: boolean;899 readonly asParachain: Compact<u32>;900 readonly isAccountId32: boolean;901 readonly asAccountId32: {902 readonly network: XcmV0JunctionNetworkId;903 readonly id: U8aFixed;904 } & Struct;905 readonly isAccountIndex64: boolean;906 readonly asAccountIndex64: {907 readonly network: XcmV0JunctionNetworkId;908 readonly index: Compact<u64>;909 } & Struct;910 readonly isAccountKey20: boolean;911 readonly asAccountKey20: {912 readonly network: XcmV0JunctionNetworkId;913 readonly key: U8aFixed;914 } & Struct;915 readonly isPalletInstance: boolean;916 readonly asPalletInstance: u8;917 readonly isGeneralIndex: boolean;918 readonly asGeneralIndex: Compact<u128>;919 readonly isGeneralKey: boolean;920 readonly asGeneralKey: Bytes;921 readonly isOnlyChild: boolean;922 readonly isPlurality: boolean;923 readonly asPlurality: {924 readonly id: XcmV0JunctionBodyId;925 readonly part: XcmV0JunctionBodyPart;926 } & Struct;927 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';928 }929930 /** @name XcmVersionedMultiLocation (81) */931 interface XcmVersionedMultiLocation extends Enum {932 readonly isV0: boolean;933 readonly asV0: XcmV0MultiLocation;934 readonly isV1: boolean;935 readonly asV1: XcmV1MultiLocation;936 readonly type: 'V0' | 'V1';937 }938939 /** @name CumulusPalletXcmEvent (82) */940 interface CumulusPalletXcmEvent extends Enum {941 readonly isInvalidFormat: boolean;942 readonly asInvalidFormat: U8aFixed;943 readonly isUnsupportedVersion: boolean;944 readonly asUnsupportedVersion: U8aFixed;945 readonly isExecutedDownward: boolean;946 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;947 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';948 }949950 /** @name CumulusPalletDmpQueueEvent (83) */951 interface CumulusPalletDmpQueueEvent extends Enum {952 readonly isInvalidFormat: boolean;953 readonly asInvalidFormat: {954 readonly messageId: U8aFixed;955 } & Struct;956 readonly isUnsupportedVersion: boolean;957 readonly asUnsupportedVersion: {958 readonly messageId: U8aFixed;959 } & Struct;960 readonly isExecutedDownward: boolean;961 readonly asExecutedDownward: {962 readonly messageId: U8aFixed;963 readonly outcome: XcmV2TraitsOutcome;964 } & Struct;965 readonly isWeightExhausted: boolean;966 readonly asWeightExhausted: {967 readonly messageId: U8aFixed;968 readonly remainingWeight: u64;969 readonly requiredWeight: u64;970 } & Struct;971 readonly isOverweightEnqueued: boolean;972 readonly asOverweightEnqueued: {973 readonly messageId: U8aFixed;974 readonly overweightIndex: u64;975 readonly requiredWeight: u64;976 } & Struct;977 readonly isOverweightServiced: boolean;978 readonly asOverweightServiced: {979 readonly overweightIndex: u64;980 readonly weightUsed: u64;981 } & Struct;982 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';983 }984985 /** @name PalletUniqueRawEvent (84) */986 interface PalletUniqueRawEvent extends Enum {987 readonly isCollectionSponsorRemoved: boolean;988 readonly asCollectionSponsorRemoved: u32;989 readonly isCollectionAdminAdded: boolean;990 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;991 readonly isCollectionOwnedChanged: boolean;992 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;993 readonly isCollectionSponsorSet: boolean;994 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;995 readonly isSponsorshipConfirmed: boolean;996 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;997 readonly isCollectionAdminRemoved: boolean;998 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;999 readonly isAllowListAddressRemoved: boolean;1000 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1001 readonly isAllowListAddressAdded: boolean;1002 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1003 readonly isCollectionLimitSet: boolean;1004 readonly asCollectionLimitSet: u32;1005 readonly isCollectionPermissionSet: boolean;1006 readonly asCollectionPermissionSet: u32;1007 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1008 }10091010 /** @name PalletEvmAccountBasicCrossAccountIdRepr (85) */1011 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1012 readonly isSubstrate: boolean;1013 readonly asSubstrate: AccountId32;1014 readonly isEthereum: boolean;1015 readonly asEthereum: H160;1016 readonly type: 'Substrate' | 'Ethereum';1017 }10181019 /** @name PalletUniqueSchedulerEvent (88) */1020 interface PalletUniqueSchedulerEvent extends Enum {1021 readonly isScheduled: boolean;1022 readonly asScheduled: {1023 readonly when: u32;1024 readonly index: u32;1025 } & Struct;1026 readonly isCanceled: boolean;1027 readonly asCanceled: {1028 readonly when: u32;1029 readonly index: u32;1030 } & Struct;1031 readonly isDispatched: boolean;1032 readonly asDispatched: {1033 readonly task: ITuple<[u32, u32]>;1034 readonly id: Option<U8aFixed>;1035 readonly result: Result<Null, SpRuntimeDispatchError>;1036 } & Struct;1037 readonly isCallLookupFailed: boolean;1038 readonly asCallLookupFailed: {1039 readonly task: ITuple<[u32, u32]>;1040 readonly id: Option<U8aFixed>;1041 readonly error: FrameSupportScheduleLookupError;1042 } & Struct;1043 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1044 }10451046 /** @name FrameSupportScheduleLookupError (91) */1047 interface FrameSupportScheduleLookupError extends Enum {1048 readonly isUnknown: boolean;1049 readonly isBadFormat: boolean;1050 readonly type: 'Unknown' | 'BadFormat';1051 }10521053 /** @name PalletCommonEvent (92) */1054 interface PalletCommonEvent extends Enum {1055 readonly isCollectionCreated: boolean;1056 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1057 readonly isCollectionDestroyed: boolean;1058 readonly asCollectionDestroyed: u32;1059 readonly isItemCreated: boolean;1060 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1061 readonly isItemDestroyed: boolean;1062 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1063 readonly isTransfer: boolean;1064 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1065 readonly isApproved: boolean;1066 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1067 readonly isCollectionPropertySet: boolean;1068 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1069 readonly isCollectionPropertyDeleted: boolean;1070 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1071 readonly isTokenPropertySet: boolean;1072 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1073 readonly isTokenPropertyDeleted: boolean;1074 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1075 readonly isPropertyPermissionSet: boolean;1076 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1077 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1078 }10791080 /** @name PalletStructureEvent (95) */1081 interface PalletStructureEvent extends Enum {1082 readonly isExecuted: boolean;1083 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1084 readonly type: 'Executed';1085 }10861087 /** @name PalletRmrkCoreEvent (96) */1088 interface PalletRmrkCoreEvent extends Enum {1089 readonly isCollectionCreated: boolean;1090 readonly asCollectionCreated: {1091 readonly issuer: AccountId32;1092 readonly collectionId: u32;1093 } & Struct;1094 readonly isCollectionDestroyed: boolean;1095 readonly asCollectionDestroyed: {1096 readonly issuer: AccountId32;1097 readonly collectionId: u32;1098 } & Struct;1099 readonly isIssuerChanged: boolean;1100 readonly asIssuerChanged: {1101 readonly oldIssuer: AccountId32;1102 readonly newIssuer: AccountId32;1103 readonly collectionId: u32;1104 } & Struct;1105 readonly isCollectionLocked: boolean;1106 readonly asCollectionLocked: {1107 readonly issuer: AccountId32;1108 readonly collectionId: u32;1109 } & Struct;1110 readonly isNftMinted: boolean;1111 readonly asNftMinted: {1112 readonly owner: AccountId32;1113 readonly collectionId: u32;1114 readonly nftId: u32;1115 } & Struct;1116 readonly isNftBurned: boolean;1117 readonly asNftBurned: {1118 readonly owner: AccountId32;1119 readonly nftId: u32;1120 } & Struct;1121 readonly isNftSent: boolean;1122 readonly asNftSent: {1123 readonly sender: AccountId32;1124 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1125 readonly collectionId: u32;1126 readonly nftId: u32;1127 readonly approvalRequired: bool;1128 } & Struct;1129 readonly isNftAccepted: boolean;1130 readonly asNftAccepted: {1131 readonly sender: AccountId32;1132 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1133 readonly collectionId: u32;1134 readonly nftId: u32;1135 } & Struct;1136 readonly isNftRejected: boolean;1137 readonly asNftRejected: {1138 readonly sender: AccountId32;1139 readonly collectionId: u32;1140 readonly nftId: u32;1141 } & Struct;1142 readonly isPropertySet: boolean;1143 readonly asPropertySet: {1144 readonly collectionId: u32;1145 readonly maybeNftId: Option<u32>;1146 readonly key: Bytes;1147 readonly value: Bytes;1148 } & Struct;1149 readonly isResourceAdded: boolean;1150 readonly asResourceAdded: {1151 readonly nftId: u32;1152 readonly resourceId: u32;1153 } & Struct;1154 readonly isResourceRemoval: boolean;1155 readonly asResourceRemoval: {1156 readonly nftId: u32;1157 readonly resourceId: u32;1158 } & Struct;1159 readonly isResourceAccepted: boolean;1160 readonly asResourceAccepted: {1161 readonly nftId: u32;1162 readonly resourceId: u32;1163 } & Struct;1164 readonly isResourceRemovalAccepted: boolean;1165 readonly asResourceRemovalAccepted: {1166 readonly nftId: u32;1167 readonly resourceId: u32;1168 } & Struct;1169 readonly isPrioritySet: boolean;1170 readonly asPrioritySet: {1171 readonly collectionId: u32;1172 readonly nftId: u32;1173 } & Struct;1174 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1175 }11761177 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (97) */1178 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1179 readonly isAccountId: boolean;1180 readonly asAccountId: AccountId32;1181 readonly isCollectionAndNftTuple: boolean;1182 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1183 readonly type: 'AccountId' | 'CollectionAndNftTuple';1184 }11851186 /** @name PalletRmrkEquipEvent (102) */1187 interface PalletRmrkEquipEvent extends Enum {1188 readonly isBaseCreated: boolean;1189 readonly asBaseCreated: {1190 readonly issuer: AccountId32;1191 readonly baseId: u32;1192 } & Struct;1193 readonly isEquippablesUpdated: boolean;1194 readonly asEquippablesUpdated: {1195 readonly baseId: u32;1196 readonly slotId: u32;1197 } & Struct;1198 readonly type: 'BaseCreated' | 'EquippablesUpdated';1199 }12001201 /** @name PalletEvmEvent (103) */1202 interface PalletEvmEvent extends Enum {1203 readonly isLog: boolean;1204 readonly asLog: EthereumLog;1205 readonly isCreated: boolean;1206 readonly asCreated: H160;1207 readonly isCreatedFailed: boolean;1208 readonly asCreatedFailed: H160;1209 readonly isExecuted: boolean;1210 readonly asExecuted: H160;1211 readonly isExecutedFailed: boolean;1212 readonly asExecutedFailed: H160;1213 readonly isBalanceDeposit: boolean;1214 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1215 readonly isBalanceWithdraw: boolean;1216 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1217 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1218 }12191220 /** @name EthereumLog (104) */1221 interface EthereumLog extends Struct {1222 readonly address: H160;1223 readonly topics: Vec<H256>;1224 readonly data: Bytes;1225 }12261227 /** @name PalletEthereumEvent (108) */1228 interface PalletEthereumEvent extends Enum {1229 readonly isExecuted: boolean;1230 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1231 readonly type: 'Executed';1232 }12331234 /** @name EvmCoreErrorExitReason (109) */1235 interface EvmCoreErrorExitReason extends Enum {1236 readonly isSucceed: boolean;1237 readonly asSucceed: EvmCoreErrorExitSucceed;1238 readonly isError: boolean;1239 readonly asError: EvmCoreErrorExitError;1240 readonly isRevert: boolean;1241 readonly asRevert: EvmCoreErrorExitRevert;1242 readonly isFatal: boolean;1243 readonly asFatal: EvmCoreErrorExitFatal;1244 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1245 }12461247 /** @name EvmCoreErrorExitSucceed (110) */1248 interface EvmCoreErrorExitSucceed extends Enum {1249 readonly isStopped: boolean;1250 readonly isReturned: boolean;1251 readonly isSuicided: boolean;1252 readonly type: 'Stopped' | 'Returned' | 'Suicided';1253 }12541255 /** @name EvmCoreErrorExitError (111) */1256 interface EvmCoreErrorExitError extends Enum {1257 readonly isStackUnderflow: boolean;1258 readonly isStackOverflow: boolean;1259 readonly isInvalidJump: boolean;1260 readonly isInvalidRange: boolean;1261 readonly isDesignatedInvalid: boolean;1262 readonly isCallTooDeep: boolean;1263 readonly isCreateCollision: boolean;1264 readonly isCreateContractLimit: boolean;1265 readonly isOutOfOffset: boolean;1266 readonly isOutOfGas: boolean;1267 readonly isOutOfFund: boolean;1268 readonly isPcUnderflow: boolean;1269 readonly isCreateEmpty: boolean;1270 readonly isOther: boolean;1271 readonly asOther: Text;1272 readonly isInvalidCode: boolean;1273 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1274 }12751276 /** @name EvmCoreErrorExitRevert (114) */1277 interface EvmCoreErrorExitRevert extends Enum {1278 readonly isReverted: boolean;1279 readonly type: 'Reverted';1280 }12811282 /** @name EvmCoreErrorExitFatal (115) */1283 interface EvmCoreErrorExitFatal extends Enum {1284 readonly isNotSupported: boolean;1285 readonly isUnhandledInterrupt: boolean;1286 readonly isCallErrorAsFatal: boolean;1287 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1288 readonly isOther: boolean;1289 readonly asOther: Text;1290 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1291 }12921293 /** @name FrameSystemPhase (116) */1294 interface FrameSystemPhase extends Enum {1295 readonly isApplyExtrinsic: boolean;1296 readonly asApplyExtrinsic: u32;1297 readonly isFinalization: boolean;1298 readonly isInitialization: boolean;1299 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1300 }13011302 /** @name FrameSystemLastRuntimeUpgradeInfo (118) */1303 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1304 readonly specVersion: Compact<u32>;1305 readonly specName: Text;1306 }13071308 /** @name FrameSystemCall (119) */1309 interface FrameSystemCall extends Enum {1310 readonly isFillBlock: boolean;1311 readonly asFillBlock: {1312 readonly ratio: Perbill;1313 } & Struct;1314 readonly isRemark: boolean;1315 readonly asRemark: {1316 readonly remark: Bytes;1317 } & Struct;1318 readonly isSetHeapPages: boolean;1319 readonly asSetHeapPages: {1320 readonly pages: u64;1321 } & Struct;1322 readonly isSetCode: boolean;1323 readonly asSetCode: {1324 readonly code: Bytes;1325 } & Struct;1326 readonly isSetCodeWithoutChecks: boolean;1327 readonly asSetCodeWithoutChecks: {1328 readonly code: Bytes;1329 } & Struct;1330 readonly isSetStorage: boolean;1331 readonly asSetStorage: {1332 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1333 } & Struct;1334 readonly isKillStorage: boolean;1335 readonly asKillStorage: {1336 readonly keys_: Vec<Bytes>;1337 } & Struct;1338 readonly isKillPrefix: boolean;1339 readonly asKillPrefix: {1340 readonly prefix: Bytes;1341 readonly subkeys: u32;1342 } & Struct;1343 readonly isRemarkWithEvent: boolean;1344 readonly asRemarkWithEvent: {1345 readonly remark: Bytes;1346 } & Struct;1347 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1348 }13491350 /** @name FrameSystemLimitsBlockWeights (124) */1351 interface FrameSystemLimitsBlockWeights extends Struct {1352 readonly baseBlock: u64;1353 readonly maxBlock: u64;1354 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;1355 }13561357 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (125) */1358 interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {1359 readonly normal: FrameSystemLimitsWeightsPerClass;1360 readonly operational: FrameSystemLimitsWeightsPerClass;1361 readonly mandatory: FrameSystemLimitsWeightsPerClass;1362 }13631364 /** @name FrameSystemLimitsWeightsPerClass (126) */1365 interface FrameSystemLimitsWeightsPerClass extends Struct {1366 readonly baseExtrinsic: u64;1367 readonly maxExtrinsic: Option<u64>;1368 readonly maxTotal: Option<u64>;1369 readonly reserved: Option<u64>;1370 }13711372 /** @name FrameSystemLimitsBlockLength (128) */1373 interface FrameSystemLimitsBlockLength extends Struct {1374 readonly max: FrameSupportWeightsPerDispatchClassU32;1375 }13761377 /** @name FrameSupportWeightsPerDispatchClassU32 (129) */1378 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1379 readonly normal: u32;1380 readonly operational: u32;1381 readonly mandatory: u32;1382 }13831384 /** @name FrameSupportWeightsRuntimeDbWeight (130) */1385 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1386 readonly read: u64;1387 readonly write: u64;1388 }13891390 /** @name SpVersionRuntimeVersion (131) */1391 interface SpVersionRuntimeVersion extends Struct {1392 readonly specName: Text;1393 readonly implName: Text;1394 readonly authoringVersion: u32;1395 readonly specVersion: u32;1396 readonly implVersion: u32;1397 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1398 readonly transactionVersion: u32;1399 readonly stateVersion: u8;1400 }14011402 /** @name FrameSystemError (136) */1403 interface FrameSystemError extends Enum {1404 readonly isInvalidSpecName: boolean;1405 readonly isSpecVersionNeedsToIncrease: boolean;1406 readonly isFailedToExtractRuntimeVersion: boolean;1407 readonly isNonDefaultComposite: boolean;1408 readonly isNonZeroRefCount: boolean;1409 readonly isCallFiltered: boolean;1410 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1411 }14121413 /** @name PolkadotPrimitivesV2PersistedValidationData (137) */1414 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1415 readonly parentHead: Bytes;1416 readonly relayParentNumber: u32;1417 readonly relayParentStorageRoot: H256;1418 readonly maxPovSize: u32;1419 }14201421 /** @name PolkadotPrimitivesV2UpgradeRestriction (140) */1422 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1423 readonly isPresent: boolean;1424 readonly type: 'Present';1425 }14261427 /** @name SpTrieStorageProof (141) */1428 interface SpTrieStorageProof extends Struct {1429 readonly trieNodes: BTreeSet<Bytes>;1430 }14311432 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (143) */1433 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1434 readonly dmqMqcHead: H256;1435 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1436 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1437 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1438 }14391440 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (146) */1441 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1442 readonly maxCapacity: u32;1443 readonly maxTotalSize: u32;1444 readonly maxMessageSize: u32;1445 readonly msgCount: u32;1446 readonly totalSize: u32;1447 readonly mqcHead: Option<H256>;1448 }14491450 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (147) */1451 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1452 readonly maxCodeSize: u32;1453 readonly maxHeadDataSize: u32;1454 readonly maxUpwardQueueCount: u32;1455 readonly maxUpwardQueueSize: u32;1456 readonly maxUpwardMessageSize: u32;1457 readonly maxUpwardMessageNumPerCandidate: u32;1458 readonly hrmpMaxMessageNumPerCandidate: u32;1459 readonly validationUpgradeCooldown: u32;1460 readonly validationUpgradeDelay: u32;1461 }14621463 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (153) */1464 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1465 readonly recipient: u32;1466 readonly data: Bytes;1467 }14681469 /** @name CumulusPalletParachainSystemCall (154) */1470 interface CumulusPalletParachainSystemCall extends Enum {1471 readonly isSetValidationData: boolean;1472 readonly asSetValidationData: {1473 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1474 } & Struct;1475 readonly isSudoSendUpwardMessage: boolean;1476 readonly asSudoSendUpwardMessage: {1477 readonly message: Bytes;1478 } & Struct;1479 readonly isAuthorizeUpgrade: boolean;1480 readonly asAuthorizeUpgrade: {1481 readonly codeHash: H256;1482 } & Struct;1483 readonly isEnactAuthorizedUpgrade: boolean;1484 readonly asEnactAuthorizedUpgrade: {1485 readonly code: Bytes;1486 } & Struct;1487 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1488 }14891490 /** @name CumulusPrimitivesParachainInherentParachainInherentData (155) */1491 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1492 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1493 readonly relayChainState: SpTrieStorageProof;1494 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1495 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1496 }14971498 /** @name PolkadotCorePrimitivesInboundDownwardMessage (157) */1499 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1500 readonly sentAt: u32;1501 readonly msg: Bytes;1502 }15031504 /** @name PolkadotCorePrimitivesInboundHrmpMessage (160) */1505 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1506 readonly sentAt: u32;1507 readonly data: Bytes;1508 }15091510 /** @name CumulusPalletParachainSystemError (163) */1511 interface CumulusPalletParachainSystemError extends Enum {1512 readonly isOverlappingUpgrades: boolean;1513 readonly isProhibitedByPolkadot: boolean;1514 readonly isTooBig: boolean;1515 readonly isValidationDataNotAvailable: boolean;1516 readonly isHostConfigurationNotAvailable: boolean;1517 readonly isNotScheduled: boolean;1518 readonly isNothingAuthorized: boolean;1519 readonly isUnauthorized: boolean;1520 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1521 }15221523 /** @name PalletBalancesBalanceLock (165) */1524 interface PalletBalancesBalanceLock extends Struct {1525 readonly id: U8aFixed;1526 readonly amount: u128;1527 readonly reasons: PalletBalancesReasons;1528 }15291530 /** @name PalletBalancesReasons (166) */1531 interface PalletBalancesReasons extends Enum {1532 readonly isFee: boolean;1533 readonly isMisc: boolean;1534 readonly isAll: boolean;1535 readonly type: 'Fee' | 'Misc' | 'All';1536 }15371538 /** @name PalletBalancesReserveData (169) */1539 interface PalletBalancesReserveData extends Struct {1540 readonly id: U8aFixed;1541 readonly amount: u128;1542 }15431544 /** @name PalletBalancesReleases (171) */1545 interface PalletBalancesReleases extends Enum {1546 readonly isV100: boolean;1547 readonly isV200: boolean;1548 readonly type: 'V100' | 'V200';1549 }15501551 /** @name PalletBalancesCall (172) */1552 interface PalletBalancesCall extends Enum {1553 readonly isTransfer: boolean;1554 readonly asTransfer: {1555 readonly dest: MultiAddress;1556 readonly value: Compact<u128>;1557 } & Struct;1558 readonly isSetBalance: boolean;1559 readonly asSetBalance: {1560 readonly who: MultiAddress;1561 readonly newFree: Compact<u128>;1562 readonly newReserved: Compact<u128>;1563 } & Struct;1564 readonly isForceTransfer: boolean;1565 readonly asForceTransfer: {1566 readonly source: MultiAddress;1567 readonly dest: MultiAddress;1568 readonly value: Compact<u128>;1569 } & Struct;1570 readonly isTransferKeepAlive: boolean;1571 readonly asTransferKeepAlive: {1572 readonly dest: MultiAddress;1573 readonly value: Compact<u128>;1574 } & Struct;1575 readonly isTransferAll: boolean;1576 readonly asTransferAll: {1577 readonly dest: MultiAddress;1578 readonly keepAlive: bool;1579 } & Struct;1580 readonly isForceUnreserve: boolean;1581 readonly asForceUnreserve: {1582 readonly who: MultiAddress;1583 readonly amount: u128;1584 } & Struct;1585 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1586 }15871588 /** @name PalletBalancesError (175) */1589 interface PalletBalancesError extends Enum {1590 readonly isVestingBalance: boolean;1591 readonly isLiquidityRestrictions: boolean;1592 readonly isInsufficientBalance: boolean;1593 readonly isExistentialDeposit: boolean;1594 readonly isKeepAlive: boolean;1595 readonly isExistingVestingSchedule: boolean;1596 readonly isDeadAccount: boolean;1597 readonly isTooManyReserves: boolean;1598 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1599 }16001601 /** @name PalletTimestampCall (177) */1602 interface PalletTimestampCall extends Enum {1603 readonly isSet: boolean;1604 readonly asSet: {1605 readonly now: Compact<u64>;1606 } & Struct;1607 readonly type: 'Set';1608 }16091610 /** @name PalletTransactionPaymentReleases (179) */1611 interface PalletTransactionPaymentReleases extends Enum {1612 readonly isV1Ancient: boolean;1613 readonly isV2: boolean;1614 readonly type: 'V1Ancient' | 'V2';1615 }16161617 /** @name PalletTreasuryProposal (180) */1618 interface PalletTreasuryProposal extends Struct {1619 readonly proposer: AccountId32;1620 readonly value: u128;1621 readonly beneficiary: AccountId32;1622 readonly bond: u128;1623 }16241625 /** @name PalletTreasuryCall (183) */1626 interface PalletTreasuryCall extends Enum {1627 readonly isProposeSpend: boolean;1628 readonly asProposeSpend: {1629 readonly value: Compact<u128>;1630 readonly beneficiary: MultiAddress;1631 } & Struct;1632 readonly isRejectProposal: boolean;1633 readonly asRejectProposal: {1634 readonly proposalId: Compact<u32>;1635 } & Struct;1636 readonly isApproveProposal: boolean;1637 readonly asApproveProposal: {1638 readonly proposalId: Compact<u32>;1639 } & Struct;1640 readonly isSpend: boolean;1641 readonly asSpend: {1642 readonly amount: Compact<u128>;1643 readonly beneficiary: MultiAddress;1644 } & Struct;1645 readonly isRemoveApproval: boolean;1646 readonly asRemoveApproval: {1647 readonly proposalId: Compact<u32>;1648 } & Struct;1649 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1650 }16511652 /** @name FrameSupportPalletId (186) */1653 interface FrameSupportPalletId extends U8aFixed {}16541655 /** @name PalletTreasuryError (187) */1656 interface PalletTreasuryError extends Enum {1657 readonly isInsufficientProposersBalance: boolean;1658 readonly isInvalidIndex: boolean;1659 readonly isTooManyApprovals: boolean;1660 readonly isInsufficientPermission: boolean;1661 readonly isProposalNotApproved: boolean;1662 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1663 }16641665 /** @name PalletSudoCall (188) */1666 interface PalletSudoCall extends Enum {1667 readonly isSudo: boolean;1668 readonly asSudo: {1669 readonly call: Call;1670 } & Struct;1671 readonly isSudoUncheckedWeight: boolean;1672 readonly asSudoUncheckedWeight: {1673 readonly call: Call;1674 readonly weight: u64;1675 } & Struct;1676 readonly isSetKey: boolean;1677 readonly asSetKey: {1678 readonly new_: MultiAddress;1679 } & Struct;1680 readonly isSudoAs: boolean;1681 readonly asSudoAs: {1682 readonly who: MultiAddress;1683 readonly call: Call;1684 } & Struct;1685 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1686 }16871688 /** @name OrmlVestingModuleCall (190) */1689 interface OrmlVestingModuleCall extends Enum {1690 readonly isClaim: boolean;1691 readonly isVestedTransfer: boolean;1692 readonly asVestedTransfer: {1693 readonly dest: MultiAddress;1694 readonly schedule: OrmlVestingVestingSchedule;1695 } & Struct;1696 readonly isUpdateVestingSchedules: boolean;1697 readonly asUpdateVestingSchedules: {1698 readonly who: MultiAddress;1699 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1700 } & Struct;1701 readonly isClaimFor: boolean;1702 readonly asClaimFor: {1703 readonly dest: MultiAddress;1704 } & Struct;1705 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1706 }17071708 /** @name CumulusPalletXcmpQueueCall (192) */1709 interface CumulusPalletXcmpQueueCall extends Enum {1710 readonly isServiceOverweight: boolean;1711 readonly asServiceOverweight: {1712 readonly index: u64;1713 readonly weightLimit: u64;1714 } & Struct;1715 readonly isSuspendXcmExecution: boolean;1716 readonly isResumeXcmExecution: boolean;1717 readonly isUpdateSuspendThreshold: boolean;1718 readonly asUpdateSuspendThreshold: {1719 readonly new_: u32;1720 } & Struct;1721 readonly isUpdateDropThreshold: boolean;1722 readonly asUpdateDropThreshold: {1723 readonly new_: u32;1724 } & Struct;1725 readonly isUpdateResumeThreshold: boolean;1726 readonly asUpdateResumeThreshold: {1727 readonly new_: u32;1728 } & Struct;1729 readonly isUpdateThresholdWeight: boolean;1730 readonly asUpdateThresholdWeight: {1731 readonly new_: u64;1732 } & Struct;1733 readonly isUpdateWeightRestrictDecay: boolean;1734 readonly asUpdateWeightRestrictDecay: {1735 readonly new_: u64;1736 } & Struct;1737 readonly isUpdateXcmpMaxIndividualWeight: boolean;1738 readonly asUpdateXcmpMaxIndividualWeight: {1739 readonly new_: u64;1740 } & Struct;1741 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';1742 }17431744 /** @name PalletXcmCall (193) */1745 interface PalletXcmCall extends Enum {1746 readonly isSend: boolean;1747 readonly asSend: {1748 readonly dest: XcmVersionedMultiLocation;1749 readonly message: XcmVersionedXcm;1750 } & Struct;1751 readonly isTeleportAssets: boolean;1752 readonly asTeleportAssets: {1753 readonly dest: XcmVersionedMultiLocation;1754 readonly beneficiary: XcmVersionedMultiLocation;1755 readonly assets: XcmVersionedMultiAssets;1756 readonly feeAssetItem: u32;1757 } & Struct;1758 readonly isReserveTransferAssets: boolean;1759 readonly asReserveTransferAssets: {1760 readonly dest: XcmVersionedMultiLocation;1761 readonly beneficiary: XcmVersionedMultiLocation;1762 readonly assets: XcmVersionedMultiAssets;1763 readonly feeAssetItem: u32;1764 } & Struct;1765 readonly isExecute: boolean;1766 readonly asExecute: {1767 readonly message: XcmVersionedXcm;1768 readonly maxWeight: u64;1769 } & Struct;1770 readonly isForceXcmVersion: boolean;1771 readonly asForceXcmVersion: {1772 readonly location: XcmV1MultiLocation;1773 readonly xcmVersion: u32;1774 } & Struct;1775 readonly isForceDefaultXcmVersion: boolean;1776 readonly asForceDefaultXcmVersion: {1777 readonly maybeXcmVersion: Option<u32>;1778 } & Struct;1779 readonly isForceSubscribeVersionNotify: boolean;1780 readonly asForceSubscribeVersionNotify: {1781 readonly location: XcmVersionedMultiLocation;1782 } & Struct;1783 readonly isForceUnsubscribeVersionNotify: boolean;1784 readonly asForceUnsubscribeVersionNotify: {1785 readonly location: XcmVersionedMultiLocation;1786 } & Struct;1787 readonly isLimitedReserveTransferAssets: boolean;1788 readonly asLimitedReserveTransferAssets: {1789 readonly dest: XcmVersionedMultiLocation;1790 readonly beneficiary: XcmVersionedMultiLocation;1791 readonly assets: XcmVersionedMultiAssets;1792 readonly feeAssetItem: u32;1793 readonly weightLimit: XcmV2WeightLimit;1794 } & Struct;1795 readonly isLimitedTeleportAssets: boolean;1796 readonly asLimitedTeleportAssets: {1797 readonly dest: XcmVersionedMultiLocation;1798 readonly beneficiary: XcmVersionedMultiLocation;1799 readonly assets: XcmVersionedMultiAssets;1800 readonly feeAssetItem: u32;1801 readonly weightLimit: XcmV2WeightLimit;1802 } & Struct;1803 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1804 }18051806 /** @name XcmVersionedXcm (194) */1807 interface XcmVersionedXcm extends Enum {1808 readonly isV0: boolean;1809 readonly asV0: XcmV0Xcm;1810 readonly isV1: boolean;1811 readonly asV1: XcmV1Xcm;1812 readonly isV2: boolean;1813 readonly asV2: XcmV2Xcm;1814 readonly type: 'V0' | 'V1' | 'V2';1815 }18161817 /** @name XcmV0Xcm (195) */1818 interface XcmV0Xcm extends Enum {1819 readonly isWithdrawAsset: boolean;1820 readonly asWithdrawAsset: {1821 readonly assets: Vec<XcmV0MultiAsset>;1822 readonly effects: Vec<XcmV0Order>;1823 } & Struct;1824 readonly isReserveAssetDeposit: boolean;1825 readonly asReserveAssetDeposit: {1826 readonly assets: Vec<XcmV0MultiAsset>;1827 readonly effects: Vec<XcmV0Order>;1828 } & Struct;1829 readonly isTeleportAsset: boolean;1830 readonly asTeleportAsset: {1831 readonly assets: Vec<XcmV0MultiAsset>;1832 readonly effects: Vec<XcmV0Order>;1833 } & Struct;1834 readonly isQueryResponse: boolean;1835 readonly asQueryResponse: {1836 readonly queryId: Compact<u64>;1837 readonly response: XcmV0Response;1838 } & Struct;1839 readonly isTransferAsset: boolean;1840 readonly asTransferAsset: {1841 readonly assets: Vec<XcmV0MultiAsset>;1842 readonly dest: XcmV0MultiLocation;1843 } & Struct;1844 readonly isTransferReserveAsset: boolean;1845 readonly asTransferReserveAsset: {1846 readonly assets: Vec<XcmV0MultiAsset>;1847 readonly dest: XcmV0MultiLocation;1848 readonly effects: Vec<XcmV0Order>;1849 } & Struct;1850 readonly isTransact: boolean;1851 readonly asTransact: {1852 readonly originType: XcmV0OriginKind;1853 readonly requireWeightAtMost: u64;1854 readonly call: XcmDoubleEncoded;1855 } & Struct;1856 readonly isHrmpNewChannelOpenRequest: boolean;1857 readonly asHrmpNewChannelOpenRequest: {1858 readonly sender: Compact<u32>;1859 readonly maxMessageSize: Compact<u32>;1860 readonly maxCapacity: Compact<u32>;1861 } & Struct;1862 readonly isHrmpChannelAccepted: boolean;1863 readonly asHrmpChannelAccepted: {1864 readonly recipient: Compact<u32>;1865 } & Struct;1866 readonly isHrmpChannelClosing: boolean;1867 readonly asHrmpChannelClosing: {1868 readonly initiator: Compact<u32>;1869 readonly sender: Compact<u32>;1870 readonly recipient: Compact<u32>;1871 } & Struct;1872 readonly isRelayedFrom: boolean;1873 readonly asRelayedFrom: {1874 readonly who: XcmV0MultiLocation;1875 readonly message: XcmV0Xcm;1876 } & Struct;1877 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';1878 }18791880 /** @name XcmV0Order (197) */1881 interface XcmV0Order extends Enum {1882 readonly isNull: boolean;1883 readonly isDepositAsset: boolean;1884 readonly asDepositAsset: {1885 readonly assets: Vec<XcmV0MultiAsset>;1886 readonly dest: XcmV0MultiLocation;1887 } & Struct;1888 readonly isDepositReserveAsset: boolean;1889 readonly asDepositReserveAsset: {1890 readonly assets: Vec<XcmV0MultiAsset>;1891 readonly dest: XcmV0MultiLocation;1892 readonly effects: Vec<XcmV0Order>;1893 } & Struct;1894 readonly isExchangeAsset: boolean;1895 readonly asExchangeAsset: {1896 readonly give: Vec<XcmV0MultiAsset>;1897 readonly receive: Vec<XcmV0MultiAsset>;1898 } & Struct;1899 readonly isInitiateReserveWithdraw: boolean;1900 readonly asInitiateReserveWithdraw: {1901 readonly assets: Vec<XcmV0MultiAsset>;1902 readonly reserve: XcmV0MultiLocation;1903 readonly effects: Vec<XcmV0Order>;1904 } & Struct;1905 readonly isInitiateTeleport: boolean;1906 readonly asInitiateTeleport: {1907 readonly assets: Vec<XcmV0MultiAsset>;1908 readonly dest: XcmV0MultiLocation;1909 readonly effects: Vec<XcmV0Order>;1910 } & Struct;1911 readonly isQueryHolding: boolean;1912 readonly asQueryHolding: {1913 readonly queryId: Compact<u64>;1914 readonly dest: XcmV0MultiLocation;1915 readonly assets: Vec<XcmV0MultiAsset>;1916 } & Struct;1917 readonly isBuyExecution: boolean;1918 readonly asBuyExecution: {1919 readonly fees: XcmV0MultiAsset;1920 readonly weight: u64;1921 readonly debt: u64;1922 readonly haltOnError: bool;1923 readonly xcm: Vec<XcmV0Xcm>;1924 } & Struct;1925 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1926 }19271928 /** @name XcmV0Response (199) */1929 interface XcmV0Response extends Enum {1930 readonly isAssets: boolean;1931 readonly asAssets: Vec<XcmV0MultiAsset>;1932 readonly type: 'Assets';1933 }19341935 /** @name XcmV1Xcm (200) */1936 interface XcmV1Xcm extends Enum {1937 readonly isWithdrawAsset: boolean;1938 readonly asWithdrawAsset: {1939 readonly assets: XcmV1MultiassetMultiAssets;1940 readonly effects: Vec<XcmV1Order>;1941 } & Struct;1942 readonly isReserveAssetDeposited: boolean;1943 readonly asReserveAssetDeposited: {1944 readonly assets: XcmV1MultiassetMultiAssets;1945 readonly effects: Vec<XcmV1Order>;1946 } & Struct;1947 readonly isReceiveTeleportedAsset: boolean;1948 readonly asReceiveTeleportedAsset: {1949 readonly assets: XcmV1MultiassetMultiAssets;1950 readonly effects: Vec<XcmV1Order>;1951 } & Struct;1952 readonly isQueryResponse: boolean;1953 readonly asQueryResponse: {1954 readonly queryId: Compact<u64>;1955 readonly response: XcmV1Response;1956 } & Struct;1957 readonly isTransferAsset: boolean;1958 readonly asTransferAsset: {1959 readonly assets: XcmV1MultiassetMultiAssets;1960 readonly beneficiary: XcmV1MultiLocation;1961 } & Struct;1962 readonly isTransferReserveAsset: boolean;1963 readonly asTransferReserveAsset: {1964 readonly assets: XcmV1MultiassetMultiAssets;1965 readonly dest: XcmV1MultiLocation;1966 readonly effects: Vec<XcmV1Order>;1967 } & Struct;1968 readonly isTransact: boolean;1969 readonly asTransact: {1970 readonly originType: XcmV0OriginKind;1971 readonly requireWeightAtMost: u64;1972 readonly call: XcmDoubleEncoded;1973 } & Struct;1974 readonly isHrmpNewChannelOpenRequest: boolean;1975 readonly asHrmpNewChannelOpenRequest: {1976 readonly sender: Compact<u32>;1977 readonly maxMessageSize: Compact<u32>;1978 readonly maxCapacity: Compact<u32>;1979 } & Struct;1980 readonly isHrmpChannelAccepted: boolean;1981 readonly asHrmpChannelAccepted: {1982 readonly recipient: Compact<u32>;1983 } & Struct;1984 readonly isHrmpChannelClosing: boolean;1985 readonly asHrmpChannelClosing: {1986 readonly initiator: Compact<u32>;1987 readonly sender: Compact<u32>;1988 readonly recipient: Compact<u32>;1989 } & Struct;1990 readonly isRelayedFrom: boolean;1991 readonly asRelayedFrom: {1992 readonly who: XcmV1MultilocationJunctions;1993 readonly message: XcmV1Xcm;1994 } & Struct;1995 readonly isSubscribeVersion: boolean;1996 readonly asSubscribeVersion: {1997 readonly queryId: Compact<u64>;1998 readonly maxResponseWeight: Compact<u64>;1999 } & Struct;2000 readonly isUnsubscribeVersion: boolean;2001 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2002 }20032004 /** @name XcmV1Order (202) */2005 interface XcmV1Order extends Enum {2006 readonly isNoop: boolean;2007 readonly isDepositAsset: boolean;2008 readonly asDepositAsset: {2009 readonly assets: XcmV1MultiassetMultiAssetFilter;2010 readonly maxAssets: u32;2011 readonly beneficiary: XcmV1MultiLocation;2012 } & Struct;2013 readonly isDepositReserveAsset: boolean;2014 readonly asDepositReserveAsset: {2015 readonly assets: XcmV1MultiassetMultiAssetFilter;2016 readonly maxAssets: u32;2017 readonly dest: XcmV1MultiLocation;2018 readonly effects: Vec<XcmV1Order>;2019 } & Struct;2020 readonly isExchangeAsset: boolean;2021 readonly asExchangeAsset: {2022 readonly give: XcmV1MultiassetMultiAssetFilter;2023 readonly receive: XcmV1MultiassetMultiAssets;2024 } & Struct;2025 readonly isInitiateReserveWithdraw: boolean;2026 readonly asInitiateReserveWithdraw: {2027 readonly assets: XcmV1MultiassetMultiAssetFilter;2028 readonly reserve: XcmV1MultiLocation;2029 readonly effects: Vec<XcmV1Order>;2030 } & Struct;2031 readonly isInitiateTeleport: boolean;2032 readonly asInitiateTeleport: {2033 readonly assets: XcmV1MultiassetMultiAssetFilter;2034 readonly dest: XcmV1MultiLocation;2035 readonly effects: Vec<XcmV1Order>;2036 } & Struct;2037 readonly isQueryHolding: boolean;2038 readonly asQueryHolding: {2039 readonly queryId: Compact<u64>;2040 readonly dest: XcmV1MultiLocation;2041 readonly assets: XcmV1MultiassetMultiAssetFilter;2042 } & Struct;2043 readonly isBuyExecution: boolean;2044 readonly asBuyExecution: {2045 readonly fees: XcmV1MultiAsset;2046 readonly weight: u64;2047 readonly debt: u64;2048 readonly haltOnError: bool;2049 readonly instructions: Vec<XcmV1Xcm>;2050 } & Struct;2051 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2052 }20532054 /** @name XcmV1Response (204) */2055 interface XcmV1Response extends Enum {2056 readonly isAssets: boolean;2057 readonly asAssets: XcmV1MultiassetMultiAssets;2058 readonly isVersion: boolean;2059 readonly asVersion: u32;2060 readonly type: 'Assets' | 'Version';2061 }20622063 /** @name CumulusPalletXcmCall (218) */2064 type CumulusPalletXcmCall = Null;20652066 /** @name CumulusPalletDmpQueueCall (219) */2067 interface CumulusPalletDmpQueueCall extends Enum {2068 readonly isServiceOverweight: boolean;2069 readonly asServiceOverweight: {2070 readonly index: u64;2071 readonly weightLimit: u64;2072 } & Struct;2073 readonly type: 'ServiceOverweight';2074 }20752076 /** @name PalletInflationCall (220) */2077 interface PalletInflationCall extends Enum {2078 readonly isStartInflation: boolean;2079 readonly asStartInflation: {2080 readonly inflationStartRelayBlock: u32;2081 } & Struct;2082 readonly type: 'StartInflation';2083 }20842085 /** @name PalletUniqueCall (221) */2086 interface PalletUniqueCall extends Enum {2087 readonly isCreateCollection: boolean;2088 readonly asCreateCollection: {2089 readonly collectionName: Vec<u16>;2090 readonly collectionDescription: Vec<u16>;2091 readonly tokenPrefix: Bytes;2092 readonly mode: UpDataStructsCollectionMode;2093 } & Struct;2094 readonly isCreateCollectionEx: boolean;2095 readonly asCreateCollectionEx: {2096 readonly data: UpDataStructsCreateCollectionData;2097 } & Struct;2098 readonly isDestroyCollection: boolean;2099 readonly asDestroyCollection: {2100 readonly collectionId: u32;2101 } & Struct;2102 readonly isAddToAllowList: boolean;2103 readonly asAddToAllowList: {2104 readonly collectionId: u32;2105 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2106 } & Struct;2107 readonly isRemoveFromAllowList: boolean;2108 readonly asRemoveFromAllowList: {2109 readonly collectionId: u32;2110 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2111 } & Struct;2112 readonly isChangeCollectionOwner: boolean;2113 readonly asChangeCollectionOwner: {2114 readonly collectionId: u32;2115 readonly newOwner: AccountId32;2116 } & Struct;2117 readonly isAddCollectionAdmin: boolean;2118 readonly asAddCollectionAdmin: {2119 readonly collectionId: u32;2120 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2121 } & Struct;2122 readonly isRemoveCollectionAdmin: boolean;2123 readonly asRemoveCollectionAdmin: {2124 readonly collectionId: u32;2125 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2126 } & Struct;2127 readonly isSetCollectionSponsor: boolean;2128 readonly asSetCollectionSponsor: {2129 readonly collectionId: u32;2130 readonly newSponsor: AccountId32;2131 } & Struct;2132 readonly isConfirmSponsorship: boolean;2133 readonly asConfirmSponsorship: {2134 readonly collectionId: u32;2135 } & Struct;2136 readonly isRemoveCollectionSponsor: boolean;2137 readonly asRemoveCollectionSponsor: {2138 readonly collectionId: u32;2139 } & Struct;2140 readonly isCreateItem: boolean;2141 readonly asCreateItem: {2142 readonly collectionId: u32;2143 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2144 readonly data: UpDataStructsCreateItemData;2145 } & Struct;2146 readonly isCreateMultipleItems: boolean;2147 readonly asCreateMultipleItems: {2148 readonly collectionId: u32;2149 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2150 readonly itemsData: Vec<UpDataStructsCreateItemData>;2151 } & Struct;2152 readonly isSetCollectionProperties: boolean;2153 readonly asSetCollectionProperties: {2154 readonly collectionId: u32;2155 readonly properties: Vec<UpDataStructsProperty>;2156 } & Struct;2157 readonly isDeleteCollectionProperties: boolean;2158 readonly asDeleteCollectionProperties: {2159 readonly collectionId: u32;2160 readonly propertyKeys: Vec<Bytes>;2161 } & Struct;2162 readonly isSetTokenProperties: boolean;2163 readonly asSetTokenProperties: {2164 readonly collectionId: u32;2165 readonly tokenId: u32;2166 readonly properties: Vec<UpDataStructsProperty>;2167 } & Struct;2168 readonly isDeleteTokenProperties: boolean;2169 readonly asDeleteTokenProperties: {2170 readonly collectionId: u32;2171 readonly tokenId: u32;2172 readonly propertyKeys: Vec<Bytes>;2173 } & Struct;2174 readonly isSetTokenPropertyPermissions: boolean;2175 readonly asSetTokenPropertyPermissions: {2176 readonly collectionId: u32;2177 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2178 } & Struct;2179 readonly isCreateMultipleItemsEx: boolean;2180 readonly asCreateMultipleItemsEx: {2181 readonly collectionId: u32;2182 readonly data: UpDataStructsCreateItemExData;2183 } & Struct;2184 readonly isSetTransfersEnabledFlag: boolean;2185 readonly asSetTransfersEnabledFlag: {2186 readonly collectionId: u32;2187 readonly value: bool;2188 } & Struct;2189 readonly isBurnItem: boolean;2190 readonly asBurnItem: {2191 readonly collectionId: u32;2192 readonly itemId: u32;2193 readonly value: u128;2194 } & Struct;2195 readonly isBurnFrom: boolean;2196 readonly asBurnFrom: {2197 readonly collectionId: u32;2198 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2199 readonly itemId: u32;2200 readonly value: u128;2201 } & Struct;2202 readonly isTransfer: boolean;2203 readonly asTransfer: {2204 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2205 readonly collectionId: u32;2206 readonly itemId: u32;2207 readonly value: u128;2208 } & Struct;2209 readonly isApprove: boolean;2210 readonly asApprove: {2211 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2212 readonly collectionId: u32;2213 readonly itemId: u32;2214 readonly amount: u128;2215 } & Struct;2216 readonly isTransferFrom: boolean;2217 readonly asTransferFrom: {2218 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2219 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2220 readonly collectionId: u32;2221 readonly itemId: u32;2222 readonly value: u128;2223 } & Struct;2224 readonly isSetCollectionLimits: boolean;2225 readonly asSetCollectionLimits: {2226 readonly collectionId: u32;2227 readonly newLimit: UpDataStructsCollectionLimits;2228 } & Struct;2229 readonly isSetCollectionPermissions: boolean;2230 readonly asSetCollectionPermissions: {2231 readonly collectionId: u32;2232 readonly newPermission: UpDataStructsCollectionPermissions;2233 } & Struct;2234 readonly isRepartition: boolean;2235 readonly asRepartition: {2236 readonly collectionId: u32;2237 readonly tokenId: u32;2238 readonly amount: u128;2239 } & Struct;2240 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';2241 }22422243 /** @name UpDataStructsCollectionMode (226) */2244 interface UpDataStructsCollectionMode extends Enum {2245 readonly isNft: boolean;2246 readonly isFungible: boolean;2247 readonly asFungible: u8;2248 readonly isReFungible: boolean;2249 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2250 }22512252 /** @name UpDataStructsCreateCollectionData (227) */2253 interface UpDataStructsCreateCollectionData extends Struct {2254 readonly mode: UpDataStructsCollectionMode;2255 readonly access: Option<UpDataStructsAccessMode>;2256 readonly name: Vec<u16>;2257 readonly description: Vec<u16>;2258 readonly tokenPrefix: Bytes;2259 readonly pendingSponsor: Option<AccountId32>;2260 readonly limits: Option<UpDataStructsCollectionLimits>;2261 readonly permissions: Option<UpDataStructsCollectionPermissions>;2262 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2263 readonly properties: Vec<UpDataStructsProperty>;2264 }22652266 /** @name UpDataStructsAccessMode (229) */2267 interface UpDataStructsAccessMode extends Enum {2268 readonly isNormal: boolean;2269 readonly isAllowList: boolean;2270 readonly type: 'Normal' | 'AllowList';2271 }22722273 /** @name UpDataStructsCollectionLimits (231) */2274 interface UpDataStructsCollectionLimits extends Struct {2275 readonly accountTokenOwnershipLimit: Option<u32>;2276 readonly sponsoredDataSize: Option<u32>;2277 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2278 readonly tokenLimit: Option<u32>;2279 readonly sponsorTransferTimeout: Option<u32>;2280 readonly sponsorApproveTimeout: Option<u32>;2281 readonly ownerCanTransfer: Option<bool>;2282 readonly ownerCanDestroy: Option<bool>;2283 readonly transfersEnabled: Option<bool>;2284 }22852286 /** @name UpDataStructsSponsoringRateLimit (233) */2287 interface UpDataStructsSponsoringRateLimit extends Enum {2288 readonly isSponsoringDisabled: boolean;2289 readonly isBlocks: boolean;2290 readonly asBlocks: u32;2291 readonly type: 'SponsoringDisabled' | 'Blocks';2292 }22932294 /** @name UpDataStructsCollectionPermissions (236) */2295 interface UpDataStructsCollectionPermissions extends Struct {2296 readonly access: Option<UpDataStructsAccessMode>;2297 readonly mintMode: Option<bool>;2298 readonly nesting: Option<UpDataStructsNestingPermissions>;2299 }23002301 /** @name UpDataStructsNestingPermissions (238) */2302 interface UpDataStructsNestingPermissions extends Struct {2303 readonly tokenOwner: bool;2304 readonly collectionAdmin: bool;2305 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2306 }23072308 /** @name UpDataStructsOwnerRestrictedSet (240) */2309 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}23102311 /** @name UpDataStructsPropertyKeyPermission (245) */2312 interface UpDataStructsPropertyKeyPermission extends Struct {2313 readonly key: Bytes;2314 readonly permission: UpDataStructsPropertyPermission;2315 }23162317 /** @name UpDataStructsPropertyPermission (246) */2318 interface UpDataStructsPropertyPermission extends Struct {2319 readonly mutable: bool;2320 readonly collectionAdmin: bool;2321 readonly tokenOwner: bool;2322 }23232324 /** @name UpDataStructsProperty (249) */2325 interface UpDataStructsProperty extends Struct {2326 readonly key: Bytes;2327 readonly value: Bytes;2328 }23292330 /** @name UpDataStructsCreateItemData (252) */2331 interface UpDataStructsCreateItemData extends Enum {2332 readonly isNft: boolean;2333 readonly asNft: UpDataStructsCreateNftData;2334 readonly isFungible: boolean;2335 readonly asFungible: UpDataStructsCreateFungibleData;2336 readonly isReFungible: boolean;2337 readonly asReFungible: UpDataStructsCreateReFungibleData;2338 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2339 }23402341 /** @name UpDataStructsCreateNftData (253) */2342 interface UpDataStructsCreateNftData extends Struct {2343 readonly properties: Vec<UpDataStructsProperty>;2344 }23452346 /** @name UpDataStructsCreateFungibleData (254) */2347 interface UpDataStructsCreateFungibleData extends Struct {2348 readonly value: u128;2349 }23502351 /** @name UpDataStructsCreateReFungibleData (255) */2352 interface UpDataStructsCreateReFungibleData extends Struct {2353 readonly pieces: u128;2354 readonly properties: Vec<UpDataStructsProperty>;2355 }23562357 /** @name UpDataStructsCreateItemExData (258) */2358 interface UpDataStructsCreateItemExData extends Enum {2359 readonly isNft: boolean;2360 readonly asNft: Vec<UpDataStructsCreateNftExData>;2361 readonly isFungible: boolean;2362 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2363 readonly isRefungibleMultipleItems: boolean;2364 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2365 readonly isRefungibleMultipleOwners: boolean;2366 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2367 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2368 }23692370 /** @name UpDataStructsCreateNftExData (260) */2371 interface UpDataStructsCreateNftExData extends Struct {2372 readonly properties: Vec<UpDataStructsProperty>;2373 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2374 }23752376 /** @name UpDataStructsCreateRefungibleExSingleOwner (267) */2377 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2378 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2379 readonly pieces: u128;2380 readonly properties: Vec<UpDataStructsProperty>;2381 }23822383 /** @name UpDataStructsCreateRefungibleExMultipleOwners (269) */2384 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2385 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2386 readonly properties: Vec<UpDataStructsProperty>;2387 }23882389 /** @name PalletUniqueSchedulerCall (270) */2390 interface PalletUniqueSchedulerCall extends Enum {2391 readonly isScheduleNamed: boolean;2392 readonly asScheduleNamed: {2393 readonly id: U8aFixed;2394 readonly when: u32;2395 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2396 readonly priority: u8;2397 readonly call: FrameSupportScheduleMaybeHashed;2398 } & Struct;2399 readonly isCancelNamed: boolean;2400 readonly asCancelNamed: {2401 readonly id: U8aFixed;2402 } & Struct;2403 readonly isScheduleNamedAfter: boolean;2404 readonly asScheduleNamedAfter: {2405 readonly id: U8aFixed;2406 readonly after: u32;2407 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2408 readonly priority: u8;2409 readonly call: FrameSupportScheduleMaybeHashed;2410 } & Struct;2411 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2412 }24132414 /** @name FrameSupportScheduleMaybeHashed (272) */2415 interface FrameSupportScheduleMaybeHashed extends Enum {2416 readonly isValue: boolean;2417 readonly asValue: Call;2418 readonly isHash: boolean;2419 readonly asHash: H256;2420 readonly type: 'Value' | 'Hash';2421 }24222423 /** @name PalletConfigurationCall (273) */2424 interface PalletConfigurationCall extends Enum {2425 readonly isSetWeightToFeeCoefficientOverride: boolean;2426 readonly asSetWeightToFeeCoefficientOverride: {2427 readonly coeff: Option<u32>;2428 } & Struct;2429 readonly isSetMinGasPriceOverride: boolean;2430 readonly asSetMinGasPriceOverride: {2431 readonly coeff: Option<u64>;2432 } & Struct;2433 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2434 }24352436 /** @name PalletTemplateTransactionPaymentCall (274) */2437 type PalletTemplateTransactionPaymentCall = Null;24382439 /** @name PalletStructureCall (275) */2440 type PalletStructureCall = Null;24412442 /** @name PalletRmrkCoreCall (276) */2443 interface PalletRmrkCoreCall extends Enum {2444 readonly isCreateCollection: boolean;2445 readonly asCreateCollection: {2446 readonly metadata: Bytes;2447 readonly max: Option<u32>;2448 readonly symbol: Bytes;2449 } & Struct;2450 readonly isDestroyCollection: boolean;2451 readonly asDestroyCollection: {2452 readonly collectionId: u32;2453 } & Struct;2454 readonly isChangeCollectionIssuer: boolean;2455 readonly asChangeCollectionIssuer: {2456 readonly collectionId: u32;2457 readonly newIssuer: MultiAddress;2458 } & Struct;2459 readonly isLockCollection: boolean;2460 readonly asLockCollection: {2461 readonly collectionId: u32;2462 } & Struct;2463 readonly isMintNft: boolean;2464 readonly asMintNft: {2465 readonly owner: Option<AccountId32>;2466 readonly collectionId: u32;2467 readonly recipient: Option<AccountId32>;2468 readonly royaltyAmount: Option<Permill>;2469 readonly metadata: Bytes;2470 readonly transferable: bool;2471 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2472 } & Struct;2473 readonly isBurnNft: boolean;2474 readonly asBurnNft: {2475 readonly collectionId: u32;2476 readonly nftId: u32;2477 readonly maxBurns: u32;2478 } & Struct;2479 readonly isSend: boolean;2480 readonly asSend: {2481 readonly rmrkCollectionId: u32;2482 readonly rmrkNftId: u32;2483 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2484 } & Struct;2485 readonly isAcceptNft: boolean;2486 readonly asAcceptNft: {2487 readonly rmrkCollectionId: u32;2488 readonly rmrkNftId: u32;2489 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2490 } & Struct;2491 readonly isRejectNft: boolean;2492 readonly asRejectNft: {2493 readonly rmrkCollectionId: u32;2494 readonly rmrkNftId: u32;2495 } & Struct;2496 readonly isAcceptResource: boolean;2497 readonly asAcceptResource: {2498 readonly rmrkCollectionId: u32;2499 readonly rmrkNftId: u32;2500 readonly resourceId: u32;2501 } & Struct;2502 readonly isAcceptResourceRemoval: boolean;2503 readonly asAcceptResourceRemoval: {2504 readonly rmrkCollectionId: u32;2505 readonly rmrkNftId: u32;2506 readonly resourceId: u32;2507 } & Struct;2508 readonly isSetProperty: boolean;2509 readonly asSetProperty: {2510 readonly rmrkCollectionId: Compact<u32>;2511 readonly maybeNftId: Option<u32>;2512 readonly key: Bytes;2513 readonly value: Bytes;2514 } & Struct;2515 readonly isSetPriority: boolean;2516 readonly asSetPriority: {2517 readonly rmrkCollectionId: u32;2518 readonly rmrkNftId: u32;2519 readonly priorities: Vec<u32>;2520 } & Struct;2521 readonly isAddBasicResource: boolean;2522 readonly asAddBasicResource: {2523 readonly rmrkCollectionId: u32;2524 readonly nftId: u32;2525 readonly resource: RmrkTraitsResourceBasicResource;2526 } & Struct;2527 readonly isAddComposableResource: boolean;2528 readonly asAddComposableResource: {2529 readonly rmrkCollectionId: u32;2530 readonly nftId: u32;2531 readonly resource: RmrkTraitsResourceComposableResource;2532 } & Struct;2533 readonly isAddSlotResource: boolean;2534 readonly asAddSlotResource: {2535 readonly rmrkCollectionId: u32;2536 readonly nftId: u32;2537 readonly resource: RmrkTraitsResourceSlotResource;2538 } & Struct;2539 readonly isRemoveResource: boolean;2540 readonly asRemoveResource: {2541 readonly rmrkCollectionId: u32;2542 readonly nftId: u32;2543 readonly resourceId: u32;2544 } & Struct;2545 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2546 }25472548 /** @name RmrkTraitsResourceResourceTypes (282) */2549 interface RmrkTraitsResourceResourceTypes extends Enum {2550 readonly isBasic: boolean;2551 readonly asBasic: RmrkTraitsResourceBasicResource;2552 readonly isComposable: boolean;2553 readonly asComposable: RmrkTraitsResourceComposableResource;2554 readonly isSlot: boolean;2555 readonly asSlot: RmrkTraitsResourceSlotResource;2556 readonly type: 'Basic' | 'Composable' | 'Slot';2557 }25582559 /** @name RmrkTraitsResourceBasicResource (284) */2560 interface RmrkTraitsResourceBasicResource extends Struct {2561 readonly src: Option<Bytes>;2562 readonly metadata: Option<Bytes>;2563 readonly license: Option<Bytes>;2564 readonly thumb: Option<Bytes>;2565 }25662567 /** @name RmrkTraitsResourceComposableResource (286) */2568 interface RmrkTraitsResourceComposableResource extends Struct {2569 readonly parts: Vec<u32>;2570 readonly base: u32;2571 readonly src: Option<Bytes>;2572 readonly metadata: Option<Bytes>;2573 readonly license: Option<Bytes>;2574 readonly thumb: Option<Bytes>;2575 }25762577 /** @name RmrkTraitsResourceSlotResource (287) */2578 interface RmrkTraitsResourceSlotResource extends Struct {2579 readonly base: u32;2580 readonly src: Option<Bytes>;2581 readonly metadata: Option<Bytes>;2582 readonly slot: u32;2583 readonly license: Option<Bytes>;2584 readonly thumb: Option<Bytes>;2585 }25862587 /** @name PalletRmrkEquipCall (290) */2588 interface PalletRmrkEquipCall extends Enum {2589 readonly isCreateBase: boolean;2590 readonly asCreateBase: {2591 readonly baseType: Bytes;2592 readonly symbol: Bytes;2593 readonly parts: Vec<RmrkTraitsPartPartType>;2594 } & Struct;2595 readonly isThemeAdd: boolean;2596 readonly asThemeAdd: {2597 readonly baseId: u32;2598 readonly theme: RmrkTraitsTheme;2599 } & Struct;2600 readonly isEquippable: boolean;2601 readonly asEquippable: {2602 readonly baseId: u32;2603 readonly slotId: u32;2604 readonly equippables: RmrkTraitsPartEquippableList;2605 } & Struct;2606 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2607 }26082609 /** @name RmrkTraitsPartPartType (293) */2610 interface RmrkTraitsPartPartType extends Enum {2611 readonly isFixedPart: boolean;2612 readonly asFixedPart: RmrkTraitsPartFixedPart;2613 readonly isSlotPart: boolean;2614 readonly asSlotPart: RmrkTraitsPartSlotPart;2615 readonly type: 'FixedPart' | 'SlotPart';2616 }26172618 /** @name RmrkTraitsPartFixedPart (295) */2619 interface RmrkTraitsPartFixedPart extends Struct {2620 readonly id: u32;2621 readonly z: u32;2622 readonly src: Bytes;2623 }26242625 /** @name RmrkTraitsPartSlotPart (296) */2626 interface RmrkTraitsPartSlotPart extends Struct {2627 readonly id: u32;2628 readonly equippable: RmrkTraitsPartEquippableList;2629 readonly src: Bytes;2630 readonly z: u32;2631 }26322633 /** @name RmrkTraitsPartEquippableList (297) */2634 interface RmrkTraitsPartEquippableList extends Enum {2635 readonly isAll: boolean;2636 readonly isEmpty: boolean;2637 readonly isCustom: boolean;2638 readonly asCustom: Vec<u32>;2639 readonly type: 'All' | 'Empty' | 'Custom';2640 }26412642 /** @name RmrkTraitsTheme (299) */2643 interface RmrkTraitsTheme extends Struct {2644 readonly name: Bytes;2645 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2646 readonly inherit: bool;2647 }26482649 /** @name RmrkTraitsThemeThemeProperty (301) */2650 interface RmrkTraitsThemeThemeProperty extends Struct {2651 readonly key: Bytes;2652 readonly value: Bytes;2653 }26542655 /** @name PalletEvmCall (303) */2656 interface PalletEvmCall extends Enum {2657 readonly isWithdraw: boolean;2658 readonly asWithdraw: {2659 readonly address: H160;2660 readonly value: u128;2661 } & Struct;2662 readonly isCall: boolean;2663 readonly asCall: {2664 readonly source: H160;2665 readonly target: H160;2666 readonly input: Bytes;2667 readonly value: U256;2668 readonly gasLimit: u64;2669 readonly maxFeePerGas: U256;2670 readonly maxPriorityFeePerGas: Option<U256>;2671 readonly nonce: Option<U256>;2672 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2673 } & Struct;2674 readonly isCreate: boolean;2675 readonly asCreate: {2676 readonly source: H160;2677 readonly init: Bytes;2678 readonly value: U256;2679 readonly gasLimit: u64;2680 readonly maxFeePerGas: U256;2681 readonly maxPriorityFeePerGas: Option<U256>;2682 readonly nonce: Option<U256>;2683 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2684 } & Struct;2685 readonly isCreate2: boolean;2686 readonly asCreate2: {2687 readonly source: H160;2688 readonly init: Bytes;2689 readonly salt: H256;2690 readonly value: U256;2691 readonly gasLimit: u64;2692 readonly maxFeePerGas: U256;2693 readonly maxPriorityFeePerGas: Option<U256>;2694 readonly nonce: Option<U256>;2695 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2696 } & Struct;2697 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2698 }26992700 /** @name PalletEthereumCall (307) */2701 interface PalletEthereumCall extends Enum {2702 readonly isTransact: boolean;2703 readonly asTransact: {2704 readonly transaction: EthereumTransactionTransactionV2;2705 } & Struct;2706 readonly type: 'Transact';2707 }27082709 /** @name EthereumTransactionTransactionV2 (308) */2710 interface EthereumTransactionTransactionV2 extends Enum {2711 readonly isLegacy: boolean;2712 readonly asLegacy: EthereumTransactionLegacyTransaction;2713 readonly isEip2930: boolean;2714 readonly asEip2930: EthereumTransactionEip2930Transaction;2715 readonly isEip1559: boolean;2716 readonly asEip1559: EthereumTransactionEip1559Transaction;2717 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2718 }27192720 /** @name EthereumTransactionLegacyTransaction (309) */2721 interface EthereumTransactionLegacyTransaction extends Struct {2722 readonly nonce: U256;2723 readonly gasPrice: U256;2724 readonly gasLimit: U256;2725 readonly action: EthereumTransactionTransactionAction;2726 readonly value: U256;2727 readonly input: Bytes;2728 readonly signature: EthereumTransactionTransactionSignature;2729 }27302731 /** @name EthereumTransactionTransactionAction (310) */2732 interface EthereumTransactionTransactionAction extends Enum {2733 readonly isCall: boolean;2734 readonly asCall: H160;2735 readonly isCreate: boolean;2736 readonly type: 'Call' | 'Create';2737 }27382739 /** @name EthereumTransactionTransactionSignature (311) */2740 interface EthereumTransactionTransactionSignature extends Struct {2741 readonly v: u64;2742 readonly r: H256;2743 readonly s: H256;2744 }27452746 /** @name EthereumTransactionEip2930Transaction (313) */2747 interface EthereumTransactionEip2930Transaction extends Struct {2748 readonly chainId: u64;2749 readonly nonce: U256;2750 readonly gasPrice: U256;2751 readonly gasLimit: U256;2752 readonly action: EthereumTransactionTransactionAction;2753 readonly value: U256;2754 readonly input: Bytes;2755 readonly accessList: Vec<EthereumTransactionAccessListItem>;2756 readonly oddYParity: bool;2757 readonly r: H256;2758 readonly s: H256;2759 }27602761 /** @name EthereumTransactionAccessListItem (315) */2762 interface EthereumTransactionAccessListItem extends Struct {2763 readonly address: H160;2764 readonly storageKeys: Vec<H256>;2765 }27662767 /** @name EthereumTransactionEip1559Transaction (316) */2768 interface EthereumTransactionEip1559Transaction extends Struct {2769 readonly chainId: u64;2770 readonly nonce: U256;2771 readonly maxPriorityFeePerGas: U256;2772 readonly maxFeePerGas: U256;2773 readonly gasLimit: U256;2774 readonly action: EthereumTransactionTransactionAction;2775 readonly value: U256;2776 readonly input: Bytes;2777 readonly accessList: Vec<EthereumTransactionAccessListItem>;2778 readonly oddYParity: bool;2779 readonly r: H256;2780 readonly s: H256;2781 }27822783 /** @name PalletEvmMigrationCall (317) */2784 interface PalletEvmMigrationCall extends Enum {2785 readonly isBegin: boolean;2786 readonly asBegin: {2787 readonly address: H160;2788 } & Struct;2789 readonly isSetData: boolean;2790 readonly asSetData: {2791 readonly address: H160;2792 readonly data: Vec<ITuple<[H256, H256]>>;2793 } & Struct;2794 readonly isFinish: boolean;2795 readonly asFinish: {2796 readonly address: H160;2797 readonly code: Bytes;2798 } & Struct;2799 readonly type: 'Begin' | 'SetData' | 'Finish';2800 }28012802 /** @name PalletSudoError (320) */2803 interface PalletSudoError extends Enum {2804 readonly isRequireSudo: boolean;2805 readonly type: 'RequireSudo';2806 }28072808 /** @name OrmlVestingModuleError (322) */2809 interface OrmlVestingModuleError extends Enum {2810 readonly isZeroVestingPeriod: boolean;2811 readonly isZeroVestingPeriodCount: boolean;2812 readonly isInsufficientBalanceToLock: boolean;2813 readonly isTooManyVestingSchedules: boolean;2814 readonly isAmountLow: boolean;2815 readonly isMaxVestingSchedulesExceeded: boolean;2816 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2817 }28182819 /** @name CumulusPalletXcmpQueueInboundChannelDetails (324) */2820 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2821 readonly sender: u32;2822 readonly state: CumulusPalletXcmpQueueInboundState;2823 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2824 }28252826 /** @name CumulusPalletXcmpQueueInboundState (325) */2827 interface CumulusPalletXcmpQueueInboundState extends Enum {2828 readonly isOk: boolean;2829 readonly isSuspended: boolean;2830 readonly type: 'Ok' | 'Suspended';2831 }28322833 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (328) */2834 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2835 readonly isConcatenatedVersionedXcm: boolean;2836 readonly isConcatenatedEncodedBlob: boolean;2837 readonly isSignals: boolean;2838 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2839 }28402841 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (331) */2842 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2843 readonly recipient: u32;2844 readonly state: CumulusPalletXcmpQueueOutboundState;2845 readonly signalsExist: bool;2846 readonly firstIndex: u16;2847 readonly lastIndex: u16;2848 }28492850 /** @name CumulusPalletXcmpQueueOutboundState (332) */2851 interface CumulusPalletXcmpQueueOutboundState extends Enum {2852 readonly isOk: boolean;2853 readonly isSuspended: boolean;2854 readonly type: 'Ok' | 'Suspended';2855 }28562857 /** @name CumulusPalletXcmpQueueQueueConfigData (334) */2858 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2859 readonly suspendThreshold: u32;2860 readonly dropThreshold: u32;2861 readonly resumeThreshold: u32;2862 readonly thresholdWeight: u64;2863 readonly weightRestrictDecay: u64;2864 readonly xcmpMaxIndividualWeight: u64;2865 }28662867 /** @name CumulusPalletXcmpQueueError (336) */2868 interface CumulusPalletXcmpQueueError extends Enum {2869 readonly isFailedToSend: boolean;2870 readonly isBadXcmOrigin: boolean;2871 readonly isBadXcm: boolean;2872 readonly isBadOverweightIndex: boolean;2873 readonly isWeightOverLimit: boolean;2874 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2875 }28762877 /** @name PalletXcmError (337) */2878 interface PalletXcmError extends Enum {2879 readonly isUnreachable: boolean;2880 readonly isSendFailure: boolean;2881 readonly isFiltered: boolean;2882 readonly isUnweighableMessage: boolean;2883 readonly isDestinationNotInvertible: boolean;2884 readonly isEmpty: boolean;2885 readonly isCannotReanchor: boolean;2886 readonly isTooManyAssets: boolean;2887 readonly isInvalidOrigin: boolean;2888 readonly isBadVersion: boolean;2889 readonly isBadLocation: boolean;2890 readonly isNoSubscription: boolean;2891 readonly isAlreadySubscribed: boolean;2892 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2893 }28942895 /** @name CumulusPalletXcmError (338) */2896 type CumulusPalletXcmError = Null;28972898 /** @name CumulusPalletDmpQueueConfigData (339) */2899 interface CumulusPalletDmpQueueConfigData extends Struct {2900 readonly maxIndividual: u64;2901 }29022903 /** @name CumulusPalletDmpQueuePageIndexData (340) */2904 interface CumulusPalletDmpQueuePageIndexData extends Struct {2905 readonly beginUsed: u32;2906 readonly endUsed: u32;2907 readonly overweightCount: u64;2908 }29092910 /** @name CumulusPalletDmpQueueError (343) */2911 interface CumulusPalletDmpQueueError extends Enum {2912 readonly isUnknown: boolean;2913 readonly isOverLimit: boolean;2914 readonly type: 'Unknown' | 'OverLimit';2915 }29162917 /** @name PalletUniqueError (347) */2918 interface PalletUniqueError extends Enum {2919 readonly isCollectionDecimalPointLimitExceeded: boolean;2920 readonly isConfirmUnsetSponsorFail: boolean;2921 readonly isEmptyArgument: boolean;2922 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2923 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2924 }29252926 /** @name PalletUniqueSchedulerScheduledV3 (350) */2927 interface PalletUniqueSchedulerScheduledV3 extends Struct {2928 readonly maybeId: Option<U8aFixed>;2929 readonly priority: u8;2930 readonly call: FrameSupportScheduleMaybeHashed;2931 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2932 readonly origin: OpalRuntimeOriginCaller;2933 }29342935 /** @name OpalRuntimeOriginCaller (351) */2936 interface OpalRuntimeOriginCaller extends Enum {2937 readonly isSystem: boolean;2938 readonly asSystem: FrameSupportDispatchRawOrigin;2939 readonly isVoid: boolean;2940 readonly isPolkadotXcm: boolean;2941 readonly asPolkadotXcm: PalletXcmOrigin;2942 readonly isCumulusXcm: boolean;2943 readonly asCumulusXcm: CumulusPalletXcmOrigin;2944 readonly isEthereum: boolean;2945 readonly asEthereum: PalletEthereumRawOrigin;2946 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2947 }29482949 /** @name FrameSupportDispatchRawOrigin (352) */2950 interface FrameSupportDispatchRawOrigin extends Enum {2951 readonly isRoot: boolean;2952 readonly isSigned: boolean;2953 readonly asSigned: AccountId32;2954 readonly isNone: boolean;2955 readonly type: 'Root' | 'Signed' | 'None';2956 }29572958 /** @name PalletXcmOrigin (353) */2959 interface PalletXcmOrigin extends Enum {2960 readonly isXcm: boolean;2961 readonly asXcm: XcmV1MultiLocation;2962 readonly isResponse: boolean;2963 readonly asResponse: XcmV1MultiLocation;2964 readonly type: 'Xcm' | 'Response';2965 }29662967 /** @name CumulusPalletXcmOrigin (354) */2968 interface CumulusPalletXcmOrigin extends Enum {2969 readonly isRelay: boolean;2970 readonly isSiblingParachain: boolean;2971 readonly asSiblingParachain: u32;2972 readonly type: 'Relay' | 'SiblingParachain';2973 }29742975 /** @name PalletEthereumRawOrigin (355) */2976 interface PalletEthereumRawOrigin extends Enum {2977 readonly isEthereumTransaction: boolean;2978 readonly asEthereumTransaction: H160;2979 readonly type: 'EthereumTransaction';2980 }29812982 /** @name SpCoreVoid (356) */2983 type SpCoreVoid = Null;29842985 /** @name PalletUniqueSchedulerError (357) */2986 interface PalletUniqueSchedulerError extends Enum {2987 readonly isFailedToSchedule: boolean;2988 readonly isNotFound: boolean;2989 readonly isTargetBlockNumberInPast: boolean;2990 readonly isRescheduleNoChange: boolean;2991 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2992 }29932994 /** @name UpDataStructsCollection (358) */2995 interface UpDataStructsCollection extends Struct {2996 readonly owner: AccountId32;2997 readonly mode: UpDataStructsCollectionMode;2998 readonly name: Vec<u16>;2999 readonly description: Vec<u16>;3000 readonly tokenPrefix: Bytes;3001 readonly sponsorship: UpDataStructsSponsorshipState;3002 readonly limits: UpDataStructsCollectionLimits;3003 readonly permissions: UpDataStructsCollectionPermissions;3004 readonly externalCollection: bool;3005 }30063007 /** @name UpDataStructsSponsorshipState (359) */3008 interface UpDataStructsSponsorshipState extends Enum {3009 readonly isDisabled: boolean;3010 readonly isUnconfirmed: boolean;3011 readonly asUnconfirmed: AccountId32;3012 readonly isConfirmed: boolean;3013 readonly asConfirmed: AccountId32;3014 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3015 }30163017 /** @name UpDataStructsProperties (360) */3018 interface UpDataStructsProperties extends Struct {3019 readonly map: UpDataStructsPropertiesMapBoundedVec;3020 readonly consumedSpace: u32;3021 readonly spaceLimit: u32;3022 }30233024 /** @name UpDataStructsPropertiesMapBoundedVec (361) */3025 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}30263027 /** @name UpDataStructsPropertiesMapPropertyPermission (366) */3028 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}30293030 /** @name UpDataStructsCollectionStats (373) */3031 interface UpDataStructsCollectionStats extends Struct {3032 readonly created: u32;3033 readonly destroyed: u32;3034 readonly alive: u32;3035 }30363037 /** @name UpDataStructsTokenChild (374) */3038 interface UpDataStructsTokenChild extends Struct {3039 readonly token: u32;3040 readonly collection: u32;3041 }30423043 /** @name PhantomTypeUpDataStructs (375) */3044 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}30453046 /** @name UpDataStructsTokenData (377) */3047 interface UpDataStructsTokenData extends Struct {3048 readonly properties: Vec<UpDataStructsProperty>;3049 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3050 readonly pieces: u128;3051 }30523053 /** @name UpDataStructsRpcCollection (379) */3054 interface UpDataStructsRpcCollection extends Struct {3055 readonly owner: AccountId32;3056 readonly mode: UpDataStructsCollectionMode;3057 readonly name: Vec<u16>;3058 readonly description: Vec<u16>;3059 readonly tokenPrefix: Bytes;3060 readonly sponsorship: UpDataStructsSponsorshipState;3061 readonly limits: UpDataStructsCollectionLimits;3062 readonly permissions: UpDataStructsCollectionPermissions;3063 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3064 readonly properties: Vec<UpDataStructsProperty>;3065 readonly readOnly: bool;3066 }30673068 /** @name RmrkTraitsCollectionCollectionInfo (380) */3069 interface RmrkTraitsCollectionCollectionInfo extends Struct {3070 readonly issuer: AccountId32;3071 readonly metadata: Bytes;3072 readonly max: Option<u32>;3073 readonly symbol: Bytes;3074 readonly nftsCount: u32;3075 }30763077 /** @name RmrkTraitsNftNftInfo (381) */3078 interface RmrkTraitsNftNftInfo extends Struct {3079 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3080 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3081 readonly metadata: Bytes;3082 readonly equipped: bool;3083 readonly pending: bool;3084 }30853086 /** @name RmrkTraitsNftRoyaltyInfo (383) */3087 interface RmrkTraitsNftRoyaltyInfo extends Struct {3088 readonly recipient: AccountId32;3089 readonly amount: Permill;3090 }30913092 /** @name RmrkTraitsResourceResourceInfo (384) */3093 interface RmrkTraitsResourceResourceInfo extends Struct {3094 readonly id: u32;3095 readonly resource: RmrkTraitsResourceResourceTypes;3096 readonly pending: bool;3097 readonly pendingRemoval: bool;3098 }30993100 /** @name RmrkTraitsPropertyPropertyInfo (385) */3101 interface RmrkTraitsPropertyPropertyInfo extends Struct {3102 readonly key: Bytes;3103 readonly value: Bytes;3104 }31053106 /** @name RmrkTraitsBaseBaseInfo (386) */3107 interface RmrkTraitsBaseBaseInfo extends Struct {3108 readonly issuer: AccountId32;3109 readonly baseType: Bytes;3110 readonly symbol: Bytes;3111 }31123113 /** @name RmrkTraitsNftNftChild (387) */3114 interface RmrkTraitsNftNftChild extends Struct {3115 readonly collectionId: u32;3116 readonly nftId: u32;3117 }31183119 /** @name PalletCommonError (389) */3120 interface PalletCommonError extends Enum {3121 readonly isCollectionNotFound: boolean;3122 readonly isMustBeTokenOwner: boolean;3123 readonly isNoPermission: boolean;3124 readonly isCantDestroyNotEmptyCollection: boolean;3125 readonly isPublicMintingNotAllowed: boolean;3126 readonly isAddressNotInAllowlist: boolean;3127 readonly isCollectionNameLimitExceeded: boolean;3128 readonly isCollectionDescriptionLimitExceeded: boolean;3129 readonly isCollectionTokenPrefixLimitExceeded: boolean;3130 readonly isTotalCollectionsLimitExceeded: boolean;3131 readonly isCollectionAdminCountExceeded: boolean;3132 readonly isCollectionLimitBoundsExceeded: boolean;3133 readonly isOwnerPermissionsCantBeReverted: boolean;3134 readonly isTransferNotAllowed: boolean;3135 readonly isAccountTokenLimitExceeded: boolean;3136 readonly isCollectionTokenLimitExceeded: boolean;3137 readonly isMetadataFlagFrozen: boolean;3138 readonly isTokenNotFound: boolean;3139 readonly isTokenValueTooLow: boolean;3140 readonly isApprovedValueTooLow: boolean;3141 readonly isCantApproveMoreThanOwned: boolean;3142 readonly isAddressIsZero: boolean;3143 readonly isUnsupportedOperation: boolean;3144 readonly isNotSufficientFounds: boolean;3145 readonly isUserIsNotAllowedToNest: boolean;3146 readonly isSourceCollectionIsNotAllowedToNest: boolean;3147 readonly isCollectionFieldSizeExceeded: boolean;3148 readonly isNoSpaceForProperty: boolean;3149 readonly isPropertyLimitReached: boolean;3150 readonly isPropertyKeyIsTooLong: boolean;3151 readonly isInvalidCharacterInPropertyKey: boolean;3152 readonly isEmptyPropertyKey: boolean;3153 readonly isCollectionIsExternal: boolean;3154 readonly isCollectionIsInternal: boolean;3155 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';3156 }31573158 /** @name PalletFungibleError (391) */3159 interface PalletFungibleError extends Enum {3160 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3161 readonly isFungibleItemsHaveNoId: boolean;3162 readonly isFungibleItemsDontHaveData: boolean;3163 readonly isFungibleDisallowsNesting: boolean;3164 readonly isSettingPropertiesNotAllowed: boolean;3165 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3166 }31673168 /** @name PalletRefungibleItemData (392) */3169 interface PalletRefungibleItemData extends Struct {3170 readonly constData: Bytes;3171 }31723173 /** @name PalletRefungibleError (397) */3174 interface PalletRefungibleError extends Enum {3175 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3176 readonly isWrongRefungiblePieces: boolean;3177 readonly isRepartitionWhileNotOwningAllPieces: boolean;3178 readonly isRefungibleDisallowsNesting: boolean;3179 readonly isSettingPropertiesNotAllowed: boolean;3180 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3181 }31823183 /** @name PalletNonfungibleItemData (398) */3184 interface PalletNonfungibleItemData extends Struct {3185 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3186 }31873188 /** @name UpDataStructsPropertyScope (400) */3189 interface UpDataStructsPropertyScope extends Enum {3190 readonly isNone: boolean;3191 readonly isRmrk: boolean;3192 readonly isEth: boolean;3193 readonly type: 'None' | 'Rmrk' | 'Eth';3194 }31953196 /** @name PalletNonfungibleError (402) */3197 interface PalletNonfungibleError extends Enum {3198 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3199 readonly isNonfungibleItemsHaveNoAmount: boolean;3200 readonly isCantBurnNftWithChildren: boolean;3201 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3202 }32033204 /** @name PalletStructureError (403) */3205 interface PalletStructureError extends Enum {3206 readonly isOuroborosDetected: boolean;3207 readonly isDepthLimit: boolean;3208 readonly isBreadthLimit: boolean;3209 readonly isTokenNotFound: boolean;3210 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3211 }32123213 /** @name PalletRmrkCoreError (404) */3214 interface PalletRmrkCoreError extends Enum {3215 readonly isCorruptedCollectionType: boolean;3216 readonly isRmrkPropertyKeyIsTooLong: boolean;3217 readonly isRmrkPropertyValueIsTooLong: boolean;3218 readonly isRmrkPropertyIsNotFound: boolean;3219 readonly isUnableToDecodeRmrkData: boolean;3220 readonly isCollectionNotEmpty: boolean;3221 readonly isNoAvailableCollectionId: boolean;3222 readonly isNoAvailableNftId: boolean;3223 readonly isCollectionUnknown: boolean;3224 readonly isNoPermission: boolean;3225 readonly isNonTransferable: boolean;3226 readonly isCollectionFullOrLocked: boolean;3227 readonly isResourceDoesntExist: boolean;3228 readonly isCannotSendToDescendentOrSelf: boolean;3229 readonly isCannotAcceptNonOwnedNft: boolean;3230 readonly isCannotRejectNonOwnedNft: boolean;3231 readonly isCannotRejectNonPendingNft: boolean;3232 readonly isResourceNotPending: boolean;3233 readonly isNoAvailableResourceId: boolean;3234 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3235 }32363237 /** @name PalletRmrkEquipError (406) */3238 interface PalletRmrkEquipError extends Enum {3239 readonly isPermissionError: boolean;3240 readonly isNoAvailableBaseId: boolean;3241 readonly isNoAvailablePartId: boolean;3242 readonly isBaseDoesntExist: boolean;3243 readonly isNeedsDefaultThemeFirst: boolean;3244 readonly isPartDoesntExist: boolean;3245 readonly isNoEquippableOnFixedPart: boolean;3246 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3247 }32483249 /** @name PalletEvmError (409) */3250 interface PalletEvmError extends Enum {3251 readonly isBalanceLow: boolean;3252 readonly isFeeOverflow: boolean;3253 readonly isPaymentOverflow: boolean;3254 readonly isWithdrawFailed: boolean;3255 readonly isGasPriceTooLow: boolean;3256 readonly isInvalidNonce: boolean;3257 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3258 }32593260 /** @name FpRpcTransactionStatus (412) */3261 interface FpRpcTransactionStatus extends Struct {3262 readonly transactionHash: H256;3263 readonly transactionIndex: u32;3264 readonly from: H160;3265 readonly to: Option<H160>;3266 readonly contractAddress: Option<H160>;3267 readonly logs: Vec<EthereumLog>;3268 readonly logsBloom: EthbloomBloom;3269 }32703271 /** @name EthbloomBloom (414) */3272 interface EthbloomBloom extends U8aFixed {}32733274 /** @name EthereumReceiptReceiptV3 (416) */3275 interface EthereumReceiptReceiptV3 extends Enum {3276 readonly isLegacy: boolean;3277 readonly asLegacy: EthereumReceiptEip658ReceiptData;3278 readonly isEip2930: boolean;3279 readonly asEip2930: EthereumReceiptEip658ReceiptData;3280 readonly isEip1559: boolean;3281 readonly asEip1559: EthereumReceiptEip658ReceiptData;3282 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3283 }32843285 /** @name EthereumReceiptEip658ReceiptData (417) */3286 interface EthereumReceiptEip658ReceiptData extends Struct {3287 readonly statusCode: u8;3288 readonly usedGas: U256;3289 readonly logsBloom: EthbloomBloom;3290 readonly logs: Vec<EthereumLog>;3291 }32923293 /** @name EthereumBlock (418) */3294 interface EthereumBlock extends Struct {3295 readonly header: EthereumHeader;3296 readonly transactions: Vec<EthereumTransactionTransactionV2>;3297 readonly ommers: Vec<EthereumHeader>;3298 }32993300 /** @name EthereumHeader (419) */3301 interface EthereumHeader extends Struct {3302 readonly parentHash: H256;3303 readonly ommersHash: H256;3304 readonly beneficiary: H160;3305 readonly stateRoot: H256;3306 readonly transactionsRoot: H256;3307 readonly receiptsRoot: H256;3308 readonly logsBloom: EthbloomBloom;3309 readonly difficulty: U256;3310 readonly number: U256;3311 readonly gasLimit: U256;3312 readonly gasUsed: U256;3313 readonly timestamp: u64;3314 readonly extraData: Bytes;3315 readonly mixHash: H256;3316 readonly nonce: EthereumTypesHashH64;3317 }33183319 /** @name EthereumTypesHashH64 (420) */3320 interface EthereumTypesHashH64 extends U8aFixed {}33213322 /** @name PalletEthereumError (425) */3323 interface PalletEthereumError extends Enum {3324 readonly isInvalidSignature: boolean;3325 readonly isPreLogExists: boolean;3326 readonly type: 'InvalidSignature' | 'PreLogExists';3327 }33283329 /** @name PalletEvmCoderSubstrateError (426) */3330 interface PalletEvmCoderSubstrateError extends Enum {3331 readonly isOutOfGas: boolean;3332 readonly isOutOfFund: boolean;3333 readonly type: 'OutOfGas' | 'OutOfFund';3334 }33353336 /** @name PalletEvmContractHelpersSponsoringModeT (427) */3337 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3338 readonly isDisabled: boolean;3339 readonly isAllowlisted: boolean;3340 readonly isGenerous: boolean;3341 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3342 }33433344 /** @name PalletEvmContractHelpersError (429) */3345 interface PalletEvmContractHelpersError extends Enum {3346 readonly isNoPermission: boolean;3347 readonly type: 'NoPermission';3348 }33493350 /** @name PalletEvmMigrationError (430) */3351 interface PalletEvmMigrationError extends Enum {3352 readonly isAccountNotEmpty: boolean;3353 readonly isAccountIsNotMigrating: boolean;3354 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3355 }33563357 /** @name SpRuntimeMultiSignature (432) */3358 interface SpRuntimeMultiSignature extends Enum {3359 readonly isEd25519: boolean;3360 readonly asEd25519: SpCoreEd25519Signature;3361 readonly isSr25519: boolean;3362 readonly asSr25519: SpCoreSr25519Signature;3363 readonly isEcdsa: boolean;3364 readonly asEcdsa: SpCoreEcdsaSignature;3365 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3366 }33673368 /** @name SpCoreEd25519Signature (433) */3369 interface SpCoreEd25519Signature extends U8aFixed {}33703371 /** @name SpCoreSr25519Signature (435) */3372 interface SpCoreSr25519Signature extends U8aFixed {}33733374 /** @name SpCoreEcdsaSignature (436) */3375 interface SpCoreEcdsaSignature extends U8aFixed {}33763377 /** @name FrameSystemExtensionsCheckSpecVersion (439) */3378 type FrameSystemExtensionsCheckSpecVersion = Null;33793380 /** @name FrameSystemExtensionsCheckGenesis (440) */3381 type FrameSystemExtensionsCheckGenesis = Null;33823383 /** @name FrameSystemExtensionsCheckNonce (443) */3384 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}33853386 /** @name FrameSystemExtensionsCheckWeight (444) */3387 type FrameSystemExtensionsCheckWeight = Null;33883389 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (445) */3390 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}33913392 /** @name OpalRuntimeRuntime (446) */3393 type OpalRuntimeRuntime = Null;33943395 /** @name PalletEthereumFakeTransactionFinalizer (447) */3396 type PalletEthereumFakeTransactionFinalizer = Null;33973398} // declare moduletests/src/interfaces/unique/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/definitions.ts
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -175,5 +175,20 @@
[collectionParam, tokenParam],
'Option<u128>',
),
+ totalStaked: fun(
+ 'Returns the total amount of staked tokens',
+ [{name: 'staker', type: CROSS_ACCOUNT_ID_TYPE, isOptional: true}],
+ 'u128',
+ ),
+ totalStakedPerBlock: fun(
+ 'Returns the total amount of staked tokens per block when staked',
+ [crossAccountParam('staker')],
+ 'Vec<(u32, u128)>',
+ ),
+ totalStakingLocked: fun(
+ 'Return the total amount locked by staking tokens',
+ [crossAccountParam('staker')],
+ 'u128',
+ ),
},
};