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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: u64;50 readonly requiredWeight: u64;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: u64;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: u64;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: u64;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmOrigin */157export interface CumulusPalletXcmOrigin extends Enum {158 readonly isRelay: boolean;159 readonly isSiblingParachain: boolean;160 readonly asSiblingParachain: u32;161 readonly type: 'Relay' | 'SiblingParachain';162}163164/** @name CumulusPalletXcmpQueueCall */165export interface CumulusPalletXcmpQueueCall extends Enum {166 readonly isServiceOverweight: boolean;167 readonly asServiceOverweight: {168 readonly index: u64;169 readonly weightLimit: u64;170 } & Struct;171 readonly isSuspendXcmExecution: boolean;172 readonly isResumeXcmExecution: boolean;173 readonly isUpdateSuspendThreshold: boolean;174 readonly asUpdateSuspendThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateDropThreshold: boolean;178 readonly asUpdateDropThreshold: {179 readonly new_: u32;180 } & Struct;181 readonly isUpdateResumeThreshold: boolean;182 readonly asUpdateResumeThreshold: {183 readonly new_: u32;184 } & Struct;185 readonly isUpdateThresholdWeight: boolean;186 readonly asUpdateThresholdWeight: {187 readonly new_: u64;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: u64;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: u64;196 } & Struct;197 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';198}199200/** @name CumulusPalletXcmpQueueError */201export interface CumulusPalletXcmpQueueError extends Enum {202 readonly isFailedToSend: boolean;203 readonly isBadXcmOrigin: boolean;204 readonly isBadXcm: boolean;205 readonly isBadOverweightIndex: boolean;206 readonly isWeightOverLimit: boolean;207 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';208}209210/** @name CumulusPalletXcmpQueueEvent */211export interface CumulusPalletXcmpQueueEvent extends Enum {212 readonly isSuccess: boolean;213 readonly asSuccess: {214 readonly messageHash: Option<H256>;215 readonly weight: u64;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: u64;222 } & Struct;223 readonly isBadVersion: boolean;224 readonly asBadVersion: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isBadFormat: boolean;228 readonly asBadFormat: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isUpwardMessageSent: boolean;232 readonly asUpwardMessageSent: {233 readonly messageHash: Option<H256>;234 } & Struct;235 readonly isXcmpMessageSent: boolean;236 readonly asXcmpMessageSent: {237 readonly messageHash: Option<H256>;238 } & Struct;239 readonly isOverweightEnqueued: boolean;240 readonly asOverweightEnqueued: {241 readonly sender: u32;242 readonly sentAt: u32;243 readonly index: u64;244 readonly required: u64;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: u64;250 } & Struct;251 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';252}253254/** @name CumulusPalletXcmpQueueInboundChannelDetails */255export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {256 readonly sender: u32;257 readonly state: CumulusPalletXcmpQueueInboundState;258 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;259}260261/** @name CumulusPalletXcmpQueueInboundState */262export interface CumulusPalletXcmpQueueInboundState extends Enum {263 readonly isOk: boolean;264 readonly isSuspended: boolean;265 readonly type: 'Ok' | 'Suspended';266}267268/** @name CumulusPalletXcmpQueueOutboundChannelDetails */269export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {270 readonly recipient: u32;271 readonly state: CumulusPalletXcmpQueueOutboundState;272 readonly signalsExist: bool;273 readonly firstIndex: u16;274 readonly lastIndex: u16;275}276277/** @name CumulusPalletXcmpQueueOutboundState */278export interface CumulusPalletXcmpQueueOutboundState extends Enum {279 readonly isOk: boolean;280 readonly isSuspended: boolean;281 readonly type: 'Ok' | 'Suspended';282}283284/** @name CumulusPalletXcmpQueueQueueConfigData */285export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {286 readonly suspendThreshold: u32;287 readonly dropThreshold: u32;288 readonly resumeThreshold: u32;289 readonly thresholdWeight: u64;290 readonly weightRestrictDecay: u64;291 readonly xcmpMaxIndividualWeight: u64;292}293294/** @name CumulusPrimitivesParachainInherentParachainInherentData */295export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {296 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;297 readonly relayChainState: SpTrieStorageProof;298 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;299 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;300}301302/** @name EthbloomBloom */303export interface EthbloomBloom extends U8aFixed {}304305/** @name EthereumBlock */306export interface EthereumBlock extends Struct {307 readonly header: EthereumHeader;308 readonly transactions: Vec<EthereumTransactionTransactionV2>;309 readonly ommers: Vec<EthereumHeader>;310}311312/** @name EthereumHeader */313export interface EthereumHeader extends Struct {314 readonly parentHash: H256;315 readonly ommersHash: H256;316 readonly beneficiary: H160;317 readonly stateRoot: H256;318 readonly transactionsRoot: H256;319 readonly receiptsRoot: H256;320 readonly logsBloom: EthbloomBloom;321 readonly difficulty: U256;322 readonly number: U256;323 readonly gasLimit: U256;324 readonly gasUsed: U256;325 readonly timestamp: u64;326 readonly extraData: Bytes;327 readonly mixHash: H256;328 readonly nonce: EthereumTypesHashH64;329}330331/** @name EthereumLog */332export interface EthereumLog extends Struct {333 readonly address: H160;334 readonly topics: Vec<H256>;335 readonly data: Bytes;336}337338/** @name EthereumReceiptEip658ReceiptData */339export interface EthereumReceiptEip658ReceiptData extends Struct {340 readonly statusCode: u8;341 readonly usedGas: U256;342 readonly logsBloom: EthbloomBloom;343 readonly logs: Vec<EthereumLog>;344}345346/** @name EthereumReceiptReceiptV3 */347export interface EthereumReceiptReceiptV3 extends Enum {348 readonly isLegacy: boolean;349 readonly asLegacy: EthereumReceiptEip658ReceiptData;350 readonly isEip2930: boolean;351 readonly asEip2930: EthereumReceiptEip658ReceiptData;352 readonly isEip1559: boolean;353 readonly asEip1559: EthereumReceiptEip658ReceiptData;354 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';355}356357/** @name EthereumTransactionAccessListItem */358export interface EthereumTransactionAccessListItem extends Struct {359 readonly address: H160;360 readonly storageKeys: Vec<H256>;361}362363/** @name EthereumTransactionEip1559Transaction */364export interface EthereumTransactionEip1559Transaction extends Struct {365 readonly chainId: u64;366 readonly nonce: U256;367 readonly maxPriorityFeePerGas: U256;368 readonly maxFeePerGas: U256;369 readonly gasLimit: U256;370 readonly action: EthereumTransactionTransactionAction;371 readonly value: U256;372 readonly input: Bytes;373 readonly accessList: Vec<EthereumTransactionAccessListItem>;374 readonly oddYParity: bool;375 readonly r: H256;376 readonly s: H256;377}378379/** @name EthereumTransactionEip2930Transaction */380export interface EthereumTransactionEip2930Transaction extends Struct {381 readonly chainId: u64;382 readonly nonce: U256;383 readonly gasPrice: U256;384 readonly gasLimit: U256;385 readonly action: EthereumTransactionTransactionAction;386 readonly value: U256;387 readonly input: Bytes;388 readonly accessList: Vec<EthereumTransactionAccessListItem>;389 readonly oddYParity: bool;390 readonly r: H256;391 readonly s: H256;392}393394/** @name EthereumTransactionLegacyTransaction */395export interface EthereumTransactionLegacyTransaction extends Struct {396 readonly nonce: U256;397 readonly gasPrice: U256;398 readonly gasLimit: U256;399 readonly action: EthereumTransactionTransactionAction;400 readonly value: U256;401 readonly input: Bytes;402 readonly signature: EthereumTransactionTransactionSignature;403}404405/** @name EthereumTransactionTransactionAction */406export interface EthereumTransactionTransactionAction extends Enum {407 readonly isCall: boolean;408 readonly asCall: H160;409 readonly isCreate: boolean;410 readonly type: 'Call' | 'Create';411}412413/** @name EthereumTransactionTransactionSignature */414export interface EthereumTransactionTransactionSignature extends Struct {415 readonly v: u64;416 readonly r: H256;417 readonly s: H256;418}419420/** @name EthereumTransactionTransactionV2 */421export interface EthereumTransactionTransactionV2 extends Enum {422 readonly isLegacy: boolean;423 readonly asLegacy: EthereumTransactionLegacyTransaction;424 readonly isEip2930: boolean;425 readonly asEip2930: EthereumTransactionEip2930Transaction;426 readonly isEip1559: boolean;427 readonly asEip1559: EthereumTransactionEip1559Transaction;428 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';429}430431/** @name EthereumTypesHashH64 */432export interface EthereumTypesHashH64 extends U8aFixed {}433434/** @name EvmCoreErrorExitError */435export interface EvmCoreErrorExitError extends Enum {436 readonly isStackUnderflow: boolean;437 readonly isStackOverflow: boolean;438 readonly isInvalidJump: boolean;439 readonly isInvalidRange: boolean;440 readonly isDesignatedInvalid: boolean;441 readonly isCallTooDeep: boolean;442 readonly isCreateCollision: boolean;443 readonly isCreateContractLimit: boolean;444 readonly isOutOfOffset: boolean;445 readonly isOutOfGas: boolean;446 readonly isOutOfFund: boolean;447 readonly isPcUnderflow: boolean;448 readonly isCreateEmpty: boolean;449 readonly isOther: boolean;450 readonly asOther: Text;451 readonly isInvalidCode: boolean;452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';453}454455/** @name EvmCoreErrorExitFatal */456export interface EvmCoreErrorExitFatal extends Enum {457 readonly isNotSupported: boolean;458 readonly isUnhandledInterrupt: boolean;459 readonly isCallErrorAsFatal: boolean;460 readonly asCallErrorAsFatal: EvmCoreErrorExitError;461 readonly isOther: boolean;462 readonly asOther: Text;463 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';464}465466/** @name EvmCoreErrorExitReason */467export interface EvmCoreErrorExitReason extends Enum {468 readonly isSucceed: boolean;469 readonly asSucceed: EvmCoreErrorExitSucceed;470 readonly isError: boolean;471 readonly asError: EvmCoreErrorExitError;472 readonly isRevert: boolean;473 readonly asRevert: EvmCoreErrorExitRevert;474 readonly isFatal: boolean;475 readonly asFatal: EvmCoreErrorExitFatal;476 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';477}478479/** @name EvmCoreErrorExitRevert */480export interface EvmCoreErrorExitRevert extends Enum {481 readonly isReverted: boolean;482 readonly type: 'Reverted';483}484485/** @name EvmCoreErrorExitSucceed */486export interface EvmCoreErrorExitSucceed extends Enum {487 readonly isStopped: boolean;488 readonly isReturned: boolean;489 readonly isSuicided: boolean;490 readonly type: 'Stopped' | 'Returned' | 'Suicided';491}492493/** @name FpRpcTransactionStatus */494export interface FpRpcTransactionStatus extends Struct {495 readonly transactionHash: H256;496 readonly transactionIndex: u32;497 readonly from: H160;498 readonly to: Option<H160>;499 readonly contractAddress: Option<H160>;500 readonly logs: Vec<EthereumLog>;501 readonly logsBloom: EthbloomBloom;502}503504/** @name FrameSupportDispatchRawOrigin */505export interface FrameSupportDispatchRawOrigin extends Enum {506 readonly isRoot: boolean;507 readonly isSigned: boolean;508 readonly asSigned: AccountId32;509 readonly isNone: boolean;510 readonly type: 'Root' | 'Signed' | 'None';511}512513/** @name FrameSupportPalletId */514export interface FrameSupportPalletId extends U8aFixed {}515516/** @name FrameSupportScheduleLookupError */517export interface FrameSupportScheduleLookupError extends Enum {518 readonly isUnknown: boolean;519 readonly isBadFormat: boolean;520 readonly type: 'Unknown' | 'BadFormat';521}522523/** @name FrameSupportScheduleMaybeHashed */524export interface FrameSupportScheduleMaybeHashed extends Enum {525 readonly isValue: boolean;526 readonly asValue: Call;527 readonly isHash: boolean;528 readonly asHash: H256;529 readonly type: 'Value' | 'Hash';530}531532/** @name FrameSupportTokensMiscBalanceStatus */533export interface FrameSupportTokensMiscBalanceStatus extends Enum {534 readonly isFree: boolean;535 readonly isReserved: boolean;536 readonly type: 'Free' | 'Reserved';537}538539/** @name FrameSupportWeightsDispatchClass */540export interface FrameSupportWeightsDispatchClass extends Enum {541 readonly isNormal: boolean;542 readonly isOperational: boolean;543 readonly isMandatory: boolean;544 readonly type: 'Normal' | 'Operational' | 'Mandatory';545}546547/** @name FrameSupportWeightsDispatchInfo */548export interface FrameSupportWeightsDispatchInfo extends Struct {549 readonly weight: u64;550 readonly class: FrameSupportWeightsDispatchClass;551 readonly paysFee: FrameSupportWeightsPays;552}553554/** @name FrameSupportWeightsPays */555export interface FrameSupportWeightsPays extends Enum {556 readonly isYes: boolean;557 readonly isNo: boolean;558 readonly type: 'Yes' | 'No';559}560561/** @name FrameSupportWeightsPerDispatchClassU32 */562export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {563 readonly normal: u32;564 readonly operational: u32;565 readonly mandatory: u32;566}567568/** @name FrameSupportWeightsPerDispatchClassU64 */569export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {570 readonly normal: u64;571 readonly operational: u64;572 readonly mandatory: u64;573}574575/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */576export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {577 readonly normal: FrameSystemLimitsWeightsPerClass;578 readonly operational: FrameSystemLimitsWeightsPerClass;579 readonly mandatory: FrameSystemLimitsWeightsPerClass;580}581582/** @name FrameSupportWeightsRuntimeDbWeight */583export interface FrameSupportWeightsRuntimeDbWeight extends Struct {584 readonly read: u64;585 readonly write: u64;586}587588/** @name FrameSystemAccountInfo */589export interface FrameSystemAccountInfo extends Struct {590 readonly nonce: u32;591 readonly consumers: u32;592 readonly providers: u32;593 readonly sufficients: u32;594 readonly data: PalletBalancesAccountData;595}596597/** @name FrameSystemCall */598export interface FrameSystemCall extends Enum {599 readonly isFillBlock: boolean;600 readonly asFillBlock: {601 readonly ratio: Perbill;602 } & Struct;603 readonly isRemark: boolean;604 readonly asRemark: {605 readonly remark: Bytes;606 } & Struct;607 readonly isSetHeapPages: boolean;608 readonly asSetHeapPages: {609 readonly pages: u64;610 } & Struct;611 readonly isSetCode: boolean;612 readonly asSetCode: {613 readonly code: Bytes;614 } & Struct;615 readonly isSetCodeWithoutChecks: boolean;616 readonly asSetCodeWithoutChecks: {617 readonly code: Bytes;618 } & Struct;619 readonly isSetStorage: boolean;620 readonly asSetStorage: {621 readonly items: Vec<ITuple<[Bytes, Bytes]>>;622 } & Struct;623 readonly isKillStorage: boolean;624 readonly asKillStorage: {625 readonly keys_: Vec<Bytes>;626 } & Struct;627 readonly isKillPrefix: boolean;628 readonly asKillPrefix: {629 readonly prefix: Bytes;630 readonly subkeys: u32;631 } & Struct;632 readonly isRemarkWithEvent: boolean;633 readonly asRemarkWithEvent: {634 readonly remark: Bytes;635 } & Struct;636 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';637}638639/** @name FrameSystemError */640export interface FrameSystemError extends Enum {641 readonly isInvalidSpecName: boolean;642 readonly isSpecVersionNeedsToIncrease: boolean;643 readonly isFailedToExtractRuntimeVersion: boolean;644 readonly isNonDefaultComposite: boolean;645 readonly isNonZeroRefCount: boolean;646 readonly isCallFiltered: boolean;647 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';648}649650/** @name FrameSystemEvent */651export interface FrameSystemEvent extends Enum {652 readonly isExtrinsicSuccess: boolean;653 readonly asExtrinsicSuccess: {654 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;655 } & Struct;656 readonly isExtrinsicFailed: boolean;657 readonly asExtrinsicFailed: {658 readonly dispatchError: SpRuntimeDispatchError;659 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;660 } & Struct;661 readonly isCodeUpdated: boolean;662 readonly isNewAccount: boolean;663 readonly asNewAccount: {664 readonly account: AccountId32;665 } & Struct;666 readonly isKilledAccount: boolean;667 readonly asKilledAccount: {668 readonly account: AccountId32;669 } & Struct;670 readonly isRemarked: boolean;671 readonly asRemarked: {672 readonly sender: AccountId32;673 readonly hash_: H256;674 } & Struct;675 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';676}677678/** @name FrameSystemEventRecord */679export interface FrameSystemEventRecord extends Struct {680 readonly phase: FrameSystemPhase;681 readonly event: Event;682 readonly topics: Vec<H256>;683}684685/** @name FrameSystemExtensionsCheckGenesis */686export interface FrameSystemExtensionsCheckGenesis extends Null {}687688/** @name FrameSystemExtensionsCheckNonce */689export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}690691/** @name FrameSystemExtensionsCheckSpecVersion */692export interface FrameSystemExtensionsCheckSpecVersion extends Null {}693694/** @name FrameSystemExtensionsCheckWeight */695export interface FrameSystemExtensionsCheckWeight extends Null {}696697/** @name FrameSystemLastRuntimeUpgradeInfo */698export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {699 readonly specVersion: Compact<u32>;700 readonly specName: Text;701}702703/** @name FrameSystemLimitsBlockLength */704export interface FrameSystemLimitsBlockLength extends Struct {705 readonly max: FrameSupportWeightsPerDispatchClassU32;706}707708/** @name FrameSystemLimitsBlockWeights */709export interface FrameSystemLimitsBlockWeights extends Struct {710 readonly baseBlock: u64;711 readonly maxBlock: u64;712 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;713}714715/** @name FrameSystemLimitsWeightsPerClass */716export interface FrameSystemLimitsWeightsPerClass extends Struct {717 readonly baseExtrinsic: u64;718 readonly maxExtrinsic: Option<u64>;719 readonly maxTotal: Option<u64>;720 readonly reserved: Option<u64>;721}722723/** @name FrameSystemPhase */724export interface FrameSystemPhase extends Enum {725 readonly isApplyExtrinsic: boolean;726 readonly asApplyExtrinsic: u32;727 readonly isFinalization: boolean;728 readonly isInitialization: boolean;729 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';730}731732/** @name OpalRuntimeOriginCaller */733export interface OpalRuntimeOriginCaller extends Enum {734 readonly isSystem: boolean;735 readonly asSystem: FrameSupportDispatchRawOrigin;736 readonly isVoid: boolean;737 readonly asVoid: SpCoreVoid;738 readonly isPolkadotXcm: boolean;739 readonly asPolkadotXcm: PalletXcmOrigin;740 readonly isCumulusXcm: boolean;741 readonly asCumulusXcm: CumulusPalletXcmOrigin;742 readonly isEthereum: boolean;743 readonly asEthereum: PalletEthereumRawOrigin;744 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';745}746747/** @name OpalRuntimeRuntime */748export interface OpalRuntimeRuntime extends Null {}749750/** @name OrmlVestingModuleCall */751export interface OrmlVestingModuleCall extends Enum {752 readonly isClaim: boolean;753 readonly isVestedTransfer: boolean;754 readonly asVestedTransfer: {755 readonly dest: MultiAddress;756 readonly schedule: OrmlVestingVestingSchedule;757 } & Struct;758 readonly isUpdateVestingSchedules: boolean;759 readonly asUpdateVestingSchedules: {760 readonly who: MultiAddress;761 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;762 } & Struct;763 readonly isClaimFor: boolean;764 readonly asClaimFor: {765 readonly dest: MultiAddress;766 } & Struct;767 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';768}769770/** @name OrmlVestingModuleError */771export interface OrmlVestingModuleError extends Enum {772 readonly isZeroVestingPeriod: boolean;773 readonly isZeroVestingPeriodCount: boolean;774 readonly isInsufficientBalanceToLock: boolean;775 readonly isTooManyVestingSchedules: boolean;776 readonly isAmountLow: boolean;777 readonly isMaxVestingSchedulesExceeded: boolean;778 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';779}780781/** @name OrmlVestingModuleEvent */782export interface OrmlVestingModuleEvent extends Enum {783 readonly isVestingScheduleAdded: boolean;784 readonly asVestingScheduleAdded: {785 readonly from: AccountId32;786 readonly to: AccountId32;787 readonly vestingSchedule: OrmlVestingVestingSchedule;788 } & Struct;789 readonly isClaimed: boolean;790 readonly asClaimed: {791 readonly who: AccountId32;792 readonly amount: u128;793 } & Struct;794 readonly isVestingSchedulesUpdated: boolean;795 readonly asVestingSchedulesUpdated: {796 readonly who: AccountId32;797 } & Struct;798 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';799}800801/** @name OrmlVestingVestingSchedule */802export interface OrmlVestingVestingSchedule extends Struct {803 readonly start: u32;804 readonly period: u32;805 readonly periodCount: u32;806 readonly perPeriod: Compact<u128>;807}808809/** @name PalletBalancesAccountData */810export interface PalletBalancesAccountData extends Struct {811 readonly free: u128;812 readonly reserved: u128;813 readonly miscFrozen: u128;814 readonly feeFrozen: u128;815}816817/** @name PalletBalancesBalanceLock */818export interface PalletBalancesBalanceLock extends Struct {819 readonly id: U8aFixed;820 readonly amount: u128;821 readonly reasons: PalletBalancesReasons;822}823824/** @name PalletBalancesCall */825export interface PalletBalancesCall extends Enum {826 readonly isTransfer: boolean;827 readonly asTransfer: {828 readonly dest: MultiAddress;829 readonly value: Compact<u128>;830 } & Struct;831 readonly isSetBalance: boolean;832 readonly asSetBalance: {833 readonly who: MultiAddress;834 readonly newFree: Compact<u128>;835 readonly newReserved: Compact<u128>;836 } & Struct;837 readonly isForceTransfer: boolean;838 readonly asForceTransfer: {839 readonly source: MultiAddress;840 readonly dest: MultiAddress;841 readonly value: Compact<u128>;842 } & Struct;843 readonly isTransferKeepAlive: boolean;844 readonly asTransferKeepAlive: {845 readonly dest: MultiAddress;846 readonly value: Compact<u128>;847 } & Struct;848 readonly isTransferAll: boolean;849 readonly asTransferAll: {850 readonly dest: MultiAddress;851 readonly keepAlive: bool;852 } & Struct;853 readonly isForceUnreserve: boolean;854 readonly asForceUnreserve: {855 readonly who: MultiAddress;856 readonly amount: u128;857 } & Struct;858 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';859}860861/** @name PalletBalancesError */862export interface PalletBalancesError extends Enum {863 readonly isVestingBalance: boolean;864 readonly isLiquidityRestrictions: boolean;865 readonly isInsufficientBalance: boolean;866 readonly isExistentialDeposit: boolean;867 readonly isKeepAlive: boolean;868 readonly isExistingVestingSchedule: boolean;869 readonly isDeadAccount: boolean;870 readonly isTooManyReserves: boolean;871 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';872}873874/** @name PalletBalancesEvent */875export interface PalletBalancesEvent extends Enum {876 readonly isEndowed: boolean;877 readonly asEndowed: {878 readonly account: AccountId32;879 readonly freeBalance: u128;880 } & Struct;881 readonly isDustLost: boolean;882 readonly asDustLost: {883 readonly account: AccountId32;884 readonly amount: u128;885 } & Struct;886 readonly isTransfer: boolean;887 readonly asTransfer: {888 readonly from: AccountId32;889 readonly to: AccountId32;890 readonly amount: u128;891 } & Struct;892 readonly isBalanceSet: boolean;893 readonly asBalanceSet: {894 readonly who: AccountId32;895 readonly free: u128;896 readonly reserved: u128;897 } & Struct;898 readonly isReserved: boolean;899 readonly asReserved: {900 readonly who: AccountId32;901 readonly amount: u128;902 } & Struct;903 readonly isUnreserved: boolean;904 readonly asUnreserved: {905 readonly who: AccountId32;906 readonly amount: u128;907 } & Struct;908 readonly isReserveRepatriated: boolean;909 readonly asReserveRepatriated: {910 readonly from: AccountId32;911 readonly to: AccountId32;912 readonly amount: u128;913 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;914 } & Struct;915 readonly isDeposit: boolean;916 readonly asDeposit: {917 readonly who: AccountId32;918 readonly amount: u128;919 } & Struct;920 readonly isWithdraw: boolean;921 readonly asWithdraw: {922 readonly who: AccountId32;923 readonly amount: u128;924 } & Struct;925 readonly isSlashed: boolean;926 readonly asSlashed: {927 readonly who: AccountId32;928 readonly amount: u128;929 } & Struct;930 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';931}932933/** @name PalletBalancesReasons */934export interface PalletBalancesReasons extends Enum {935 readonly isFee: boolean;936 readonly isMisc: boolean;937 readonly isAll: boolean;938 readonly type: 'Fee' | 'Misc' | 'All';939}940941/** @name PalletBalancesReleases */942export interface PalletBalancesReleases extends Enum {943 readonly isV100: boolean;944 readonly isV200: boolean;945 readonly type: 'V100' | 'V200';946}947948/** @name PalletBalancesReserveData */949export interface PalletBalancesReserveData extends Struct {950 readonly id: U8aFixed;951 readonly amount: u128;952}953954/** @name PalletCommonError */955export interface PalletCommonError extends Enum {956 readonly isCollectionNotFound: boolean;957 readonly isMustBeTokenOwner: boolean;958 readonly isNoPermission: boolean;959 readonly isCantDestroyNotEmptyCollection: boolean;960 readonly isPublicMintingNotAllowed: boolean;961 readonly isAddressNotInAllowlist: boolean;962 readonly isCollectionNameLimitExceeded: boolean;963 readonly isCollectionDescriptionLimitExceeded: boolean;964 readonly isCollectionTokenPrefixLimitExceeded: boolean;965 readonly isTotalCollectionsLimitExceeded: boolean;966 readonly isCollectionAdminCountExceeded: boolean;967 readonly isCollectionLimitBoundsExceeded: boolean;968 readonly isOwnerPermissionsCantBeReverted: boolean;969 readonly isTransferNotAllowed: boolean;970 readonly isAccountTokenLimitExceeded: boolean;971 readonly isCollectionTokenLimitExceeded: boolean;972 readonly isMetadataFlagFrozen: boolean;973 readonly isTokenNotFound: boolean;974 readonly isTokenValueTooLow: boolean;975 readonly isApprovedValueTooLow: boolean;976 readonly isCantApproveMoreThanOwned: boolean;977 readonly isAddressIsZero: boolean;978 readonly isUnsupportedOperation: boolean;979 readonly isNotSufficientFounds: boolean;980 readonly isUserIsNotAllowedToNest: boolean;981 readonly isSourceCollectionIsNotAllowedToNest: boolean;982 readonly isCollectionFieldSizeExceeded: boolean;983 readonly isNoSpaceForProperty: boolean;984 readonly isPropertyLimitReached: boolean;985 readonly isPropertyKeyIsTooLong: boolean;986 readonly isInvalidCharacterInPropertyKey: boolean;987 readonly isEmptyPropertyKey: boolean;988 readonly isCollectionIsExternal: boolean;989 readonly isCollectionIsInternal: boolean;990 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';991}992993/** @name PalletCommonEvent */994export interface PalletCommonEvent extends Enum {995 readonly isCollectionCreated: boolean;996 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;997 readonly isCollectionDestroyed: boolean;998 readonly asCollectionDestroyed: u32;999 readonly isItemCreated: boolean;1000 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1001 readonly isItemDestroyed: boolean;1002 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1003 readonly isTransfer: boolean;1004 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1005 readonly isApproved: boolean;1006 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1007 readonly isCollectionPropertySet: boolean;1008 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1009 readonly isCollectionPropertyDeleted: boolean;1010 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1011 readonly isTokenPropertySet: boolean;1012 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1013 readonly isTokenPropertyDeleted: boolean;1014 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1015 readonly isPropertyPermissionSet: boolean;1016 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1017 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1018}10191020/** @name PalletConfigurationCall */1021export interface PalletConfigurationCall extends Enum {1022 readonly isSetWeightToFeeCoefficientOverride: boolean;1023 readonly asSetWeightToFeeCoefficientOverride: {1024 readonly coeff: Option<u32>;1025 } & Struct;1026 readonly isSetMinGasPriceOverride: boolean;1027 readonly asSetMinGasPriceOverride: {1028 readonly coeff: Option<u64>;1029 } & Struct;1030 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1031}10321033/** @name PalletEthereumCall */1034export interface PalletEthereumCall extends Enum {1035 readonly isTransact: boolean;1036 readonly asTransact: {1037 readonly transaction: EthereumTransactionTransactionV2;1038 } & Struct;1039 readonly type: 'Transact';1040}10411042/** @name PalletEthereumError */1043export interface PalletEthereumError extends Enum {1044 readonly isInvalidSignature: boolean;1045 readonly isPreLogExists: boolean;1046 readonly type: 'InvalidSignature' | 'PreLogExists';1047}10481049/** @name PalletEthereumEvent */1050export interface PalletEthereumEvent extends Enum {1051 readonly isExecuted: boolean;1052 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1053 readonly type: 'Executed';1054}10551056/** @name PalletEthereumFakeTransactionFinalizer */1057export interface PalletEthereumFakeTransactionFinalizer extends Null {}10581059/** @name PalletEthereumRawOrigin */1060export interface PalletEthereumRawOrigin extends Enum {1061 readonly isEthereumTransaction: boolean;1062 readonly asEthereumTransaction: H160;1063 readonly type: 'EthereumTransaction';1064}10651066/** @name PalletEvmAccountBasicCrossAccountIdRepr */1067export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1068 readonly isSubstrate: boolean;1069 readonly asSubstrate: AccountId32;1070 readonly isEthereum: boolean;1071 readonly asEthereum: H160;1072 readonly type: 'Substrate' | 'Ethereum';1073}10741075/** @name PalletEvmCall */1076export interface PalletEvmCall extends Enum {1077 readonly isWithdraw: boolean;1078 readonly asWithdraw: {1079 readonly address: H160;1080 readonly value: u128;1081 } & Struct;1082 readonly isCall: boolean;1083 readonly asCall: {1084 readonly source: H160;1085 readonly target: H160;1086 readonly input: Bytes;1087 readonly value: U256;1088 readonly gasLimit: u64;1089 readonly maxFeePerGas: U256;1090 readonly maxPriorityFeePerGas: Option<U256>;1091 readonly nonce: Option<U256>;1092 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1093 } & Struct;1094 readonly isCreate: boolean;1095 readonly asCreate: {1096 readonly source: H160;1097 readonly init: Bytes;1098 readonly value: U256;1099 readonly gasLimit: u64;1100 readonly maxFeePerGas: U256;1101 readonly maxPriorityFeePerGas: Option<U256>;1102 readonly nonce: Option<U256>;1103 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1104 } & Struct;1105 readonly isCreate2: boolean;1106 readonly asCreate2: {1107 readonly source: H160;1108 readonly init: Bytes;1109 readonly salt: H256;1110 readonly value: U256;1111 readonly gasLimit: u64;1112 readonly maxFeePerGas: U256;1113 readonly maxPriorityFeePerGas: Option<U256>;1114 readonly nonce: Option<U256>;1115 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1116 } & Struct;1117 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1118}11191120/** @name PalletEvmCoderSubstrateError */1121export interface PalletEvmCoderSubstrateError extends Enum {1122 readonly isOutOfGas: boolean;1123 readonly isOutOfFund: boolean;1124 readonly type: 'OutOfGas' | 'OutOfFund';1125}11261127/** @name PalletEvmContractHelpersError */1128export interface PalletEvmContractHelpersError extends Enum {1129 readonly isNoPermission: boolean;1130 readonly type: 'NoPermission';1131}11321133/** @name PalletEvmContractHelpersSponsoringModeT */1134export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1135 readonly isDisabled: boolean;1136 readonly isAllowlisted: boolean;1137 readonly isGenerous: boolean;1138 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1139}11401141/** @name PalletEvmError */1142export interface PalletEvmError extends Enum {1143 readonly isBalanceLow: boolean;1144 readonly isFeeOverflow: boolean;1145 readonly isPaymentOverflow: boolean;1146 readonly isWithdrawFailed: boolean;1147 readonly isGasPriceTooLow: boolean;1148 readonly isInvalidNonce: boolean;1149 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1150}11511152/** @name PalletEvmEvent */1153export interface PalletEvmEvent extends Enum {1154 readonly isLog: boolean;1155 readonly asLog: EthereumLog;1156 readonly isCreated: boolean;1157 readonly asCreated: H160;1158 readonly isCreatedFailed: boolean;1159 readonly asCreatedFailed: H160;1160 readonly isExecuted: boolean;1161 readonly asExecuted: H160;1162 readonly isExecutedFailed: boolean;1163 readonly asExecutedFailed: H160;1164 readonly isBalanceDeposit: boolean;1165 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1166 readonly isBalanceWithdraw: boolean;1167 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1168 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1169}11701171/** @name PalletEvmMigrationCall */1172export interface PalletEvmMigrationCall extends Enum {1173 readonly isBegin: boolean;1174 readonly asBegin: {1175 readonly address: H160;1176 } & Struct;1177 readonly isSetData: boolean;1178 readonly asSetData: {1179 readonly address: H160;1180 readonly data: Vec<ITuple<[H256, H256]>>;1181 } & Struct;1182 readonly isFinish: boolean;1183 readonly asFinish: {1184 readonly address: H160;1185 readonly code: Bytes;1186 } & Struct;1187 readonly type: 'Begin' | 'SetData' | 'Finish';1188}11891190/** @name PalletEvmMigrationError */1191export interface PalletEvmMigrationError extends Enum {1192 readonly isAccountNotEmpty: boolean;1193 readonly isAccountIsNotMigrating: boolean;1194 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1195}11961197/** @name PalletFungibleError */1198export interface PalletFungibleError extends Enum {1199 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1200 readonly isFungibleItemsHaveNoId: boolean;1201 readonly isFungibleItemsDontHaveData: boolean;1202 readonly isFungibleDisallowsNesting: boolean;1203 readonly isSettingPropertiesNotAllowed: boolean;1204 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1205}12061207/** @name PalletInflationCall */1208export interface PalletInflationCall extends Enum {1209 readonly isStartInflation: boolean;1210 readonly asStartInflation: {1211 readonly inflationStartRelayBlock: u32;1212 } & Struct;1213 readonly type: 'StartInflation';1214}12151216/** @name PalletNonfungibleError */1217export interface PalletNonfungibleError extends Enum {1218 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1219 readonly isNonfungibleItemsHaveNoAmount: boolean;1220 readonly isCantBurnNftWithChildren: boolean;1221 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1222}12231224/** @name PalletNonfungibleItemData */1225export interface PalletNonfungibleItemData extends Struct {1226 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1227}12281229/** @name PalletRefungibleError */1230export interface PalletRefungibleError extends Enum {1231 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1232 readonly isWrongRefungiblePieces: boolean;1233 readonly isRepartitionWhileNotOwningAllPieces: boolean;1234 readonly isRefungibleDisallowsNesting: boolean;1235 readonly isSettingPropertiesNotAllowed: boolean;1236 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1237}12381239/** @name PalletRefungibleItemData */1240export interface PalletRefungibleItemData extends Struct {1241 readonly constData: Bytes;1242}12431244/** @name PalletRmrkCoreCall */1245export interface PalletRmrkCoreCall extends Enum {1246 readonly isCreateCollection: boolean;1247 readonly asCreateCollection: {1248 readonly metadata: Bytes;1249 readonly max: Option<u32>;1250 readonly symbol: Bytes;1251 } & Struct;1252 readonly isDestroyCollection: boolean;1253 readonly asDestroyCollection: {1254 readonly collectionId: u32;1255 } & Struct;1256 readonly isChangeCollectionIssuer: boolean;1257 readonly asChangeCollectionIssuer: {1258 readonly collectionId: u32;1259 readonly newIssuer: MultiAddress;1260 } & Struct;1261 readonly isLockCollection: boolean;1262 readonly asLockCollection: {1263 readonly collectionId: u32;1264 } & Struct;1265 readonly isMintNft: boolean;1266 readonly asMintNft: {1267 readonly owner: Option<AccountId32>;1268 readonly collectionId: u32;1269 readonly recipient: Option<AccountId32>;1270 readonly royaltyAmount: Option<Permill>;1271 readonly metadata: Bytes;1272 readonly transferable: bool;1273 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1274 } & Struct;1275 readonly isBurnNft: boolean;1276 readonly asBurnNft: {1277 readonly collectionId: u32;1278 readonly nftId: u32;1279 readonly maxBurns: u32;1280 } & Struct;1281 readonly isSend: boolean;1282 readonly asSend: {1283 readonly rmrkCollectionId: u32;1284 readonly rmrkNftId: u32;1285 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1286 } & Struct;1287 readonly isAcceptNft: boolean;1288 readonly asAcceptNft: {1289 readonly rmrkCollectionId: u32;1290 readonly rmrkNftId: u32;1291 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1292 } & Struct;1293 readonly isRejectNft: boolean;1294 readonly asRejectNft: {1295 readonly rmrkCollectionId: u32;1296 readonly rmrkNftId: u32;1297 } & Struct;1298 readonly isAcceptResource: boolean;1299 readonly asAcceptResource: {1300 readonly rmrkCollectionId: u32;1301 readonly rmrkNftId: u32;1302 readonly resourceId: u32;1303 } & Struct;1304 readonly isAcceptResourceRemoval: boolean;1305 readonly asAcceptResourceRemoval: {1306 readonly rmrkCollectionId: u32;1307 readonly rmrkNftId: u32;1308 readonly resourceId: u32;1309 } & Struct;1310 readonly isSetProperty: boolean;1311 readonly asSetProperty: {1312 readonly rmrkCollectionId: Compact<u32>;1313 readonly maybeNftId: Option<u32>;1314 readonly key: Bytes;1315 readonly value: Bytes;1316 } & Struct;1317 readonly isSetPriority: boolean;1318 readonly asSetPriority: {1319 readonly rmrkCollectionId: u32;1320 readonly rmrkNftId: u32;1321 readonly priorities: Vec<u32>;1322 } & Struct;1323 readonly isAddBasicResource: boolean;1324 readonly asAddBasicResource: {1325 readonly rmrkCollectionId: u32;1326 readonly nftId: u32;1327 readonly resource: RmrkTraitsResourceBasicResource;1328 } & Struct;1329 readonly isAddComposableResource: boolean;1330 readonly asAddComposableResource: {1331 readonly rmrkCollectionId: u32;1332 readonly nftId: u32;1333 readonly resource: RmrkTraitsResourceComposableResource;1334 } & Struct;1335 readonly isAddSlotResource: boolean;1336 readonly asAddSlotResource: {1337 readonly rmrkCollectionId: u32;1338 readonly nftId: u32;1339 readonly resource: RmrkTraitsResourceSlotResource;1340 } & Struct;1341 readonly isRemoveResource: boolean;1342 readonly asRemoveResource: {1343 readonly rmrkCollectionId: u32;1344 readonly nftId: u32;1345 readonly resourceId: u32;1346 } & Struct;1347 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1348}13491350/** @name PalletRmrkCoreError */1351export interface PalletRmrkCoreError extends Enum {1352 readonly isCorruptedCollectionType: boolean;1353 readonly isRmrkPropertyKeyIsTooLong: boolean;1354 readonly isRmrkPropertyValueIsTooLong: boolean;1355 readonly isRmrkPropertyIsNotFound: boolean;1356 readonly isUnableToDecodeRmrkData: boolean;1357 readonly isCollectionNotEmpty: boolean;1358 readonly isNoAvailableCollectionId: boolean;1359 readonly isNoAvailableNftId: boolean;1360 readonly isCollectionUnknown: boolean;1361 readonly isNoPermission: boolean;1362 readonly isNonTransferable: boolean;1363 readonly isCollectionFullOrLocked: boolean;1364 readonly isResourceDoesntExist: boolean;1365 readonly isCannotSendToDescendentOrSelf: boolean;1366 readonly isCannotAcceptNonOwnedNft: boolean;1367 readonly isCannotRejectNonOwnedNft: boolean;1368 readonly isCannotRejectNonPendingNft: boolean;1369 readonly isResourceNotPending: boolean;1370 readonly isNoAvailableResourceId: boolean;1371 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1372}13731374/** @name PalletRmrkCoreEvent */1375export interface PalletRmrkCoreEvent extends Enum {1376 readonly isCollectionCreated: boolean;1377 readonly asCollectionCreated: {1378 readonly issuer: AccountId32;1379 readonly collectionId: u32;1380 } & Struct;1381 readonly isCollectionDestroyed: boolean;1382 readonly asCollectionDestroyed: {1383 readonly issuer: AccountId32;1384 readonly collectionId: u32;1385 } & Struct;1386 readonly isIssuerChanged: boolean;1387 readonly asIssuerChanged: {1388 readonly oldIssuer: AccountId32;1389 readonly newIssuer: AccountId32;1390 readonly collectionId: u32;1391 } & Struct;1392 readonly isCollectionLocked: boolean;1393 readonly asCollectionLocked: {1394 readonly issuer: AccountId32;1395 readonly collectionId: u32;1396 } & Struct;1397 readonly isNftMinted: boolean;1398 readonly asNftMinted: {1399 readonly owner: AccountId32;1400 readonly collectionId: u32;1401 readonly nftId: u32;1402 } & Struct;1403 readonly isNftBurned: boolean;1404 readonly asNftBurned: {1405 readonly owner: AccountId32;1406 readonly nftId: u32;1407 } & Struct;1408 readonly isNftSent: boolean;1409 readonly asNftSent: {1410 readonly sender: AccountId32;1411 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1412 readonly collectionId: u32;1413 readonly nftId: u32;1414 readonly approvalRequired: bool;1415 } & Struct;1416 readonly isNftAccepted: boolean;1417 readonly asNftAccepted: {1418 readonly sender: AccountId32;1419 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1420 readonly collectionId: u32;1421 readonly nftId: u32;1422 } & Struct;1423 readonly isNftRejected: boolean;1424 readonly asNftRejected: {1425 readonly sender: AccountId32;1426 readonly collectionId: u32;1427 readonly nftId: u32;1428 } & Struct;1429 readonly isPropertySet: boolean;1430 readonly asPropertySet: {1431 readonly collectionId: u32;1432 readonly maybeNftId: Option<u32>;1433 readonly key: Bytes;1434 readonly value: Bytes;1435 } & Struct;1436 readonly isResourceAdded: boolean;1437 readonly asResourceAdded: {1438 readonly nftId: u32;1439 readonly resourceId: u32;1440 } & Struct;1441 readonly isResourceRemoval: boolean;1442 readonly asResourceRemoval: {1443 readonly nftId: u32;1444 readonly resourceId: u32;1445 } & Struct;1446 readonly isResourceAccepted: boolean;1447 readonly asResourceAccepted: {1448 readonly nftId: u32;1449 readonly resourceId: u32;1450 } & Struct;1451 readonly isResourceRemovalAccepted: boolean;1452 readonly asResourceRemovalAccepted: {1453 readonly nftId: u32;1454 readonly resourceId: u32;1455 } & Struct;1456 readonly isPrioritySet: boolean;1457 readonly asPrioritySet: {1458 readonly collectionId: u32;1459 readonly nftId: u32;1460 } & Struct;1461 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1462}14631464/** @name PalletRmrkEquipCall */1465export interface PalletRmrkEquipCall extends Enum {1466 readonly isCreateBase: boolean;1467 readonly asCreateBase: {1468 readonly baseType: Bytes;1469 readonly symbol: Bytes;1470 readonly parts: Vec<RmrkTraitsPartPartType>;1471 } & Struct;1472 readonly isThemeAdd: boolean;1473 readonly asThemeAdd: {1474 readonly baseId: u32;1475 readonly theme: RmrkTraitsTheme;1476 } & Struct;1477 readonly isEquippable: boolean;1478 readonly asEquippable: {1479 readonly baseId: u32;1480 readonly slotId: u32;1481 readonly equippables: RmrkTraitsPartEquippableList;1482 } & Struct;1483 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1484}14851486/** @name PalletRmrkEquipError */1487export interface PalletRmrkEquipError extends Enum {1488 readonly isPermissionError: boolean;1489 readonly isNoAvailableBaseId: boolean;1490 readonly isNoAvailablePartId: boolean;1491 readonly isBaseDoesntExist: boolean;1492 readonly isNeedsDefaultThemeFirst: boolean;1493 readonly isPartDoesntExist: boolean;1494 readonly isNoEquippableOnFixedPart: boolean;1495 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1496}14971498/** @name PalletRmrkEquipEvent */1499export interface PalletRmrkEquipEvent extends Enum {1500 readonly isBaseCreated: boolean;1501 readonly asBaseCreated: {1502 readonly issuer: AccountId32;1503 readonly baseId: u32;1504 } & Struct;1505 readonly isEquippablesUpdated: boolean;1506 readonly asEquippablesUpdated: {1507 readonly baseId: u32;1508 readonly slotId: u32;1509 } & Struct;1510 readonly type: 'BaseCreated' | 'EquippablesUpdated';1511}15121513/** @name PalletStructureCall */1514export interface PalletStructureCall extends Null {}15151516/** @name PalletStructureError */1517export interface PalletStructureError extends Enum {1518 readonly isOuroborosDetected: boolean;1519 readonly isDepthLimit: boolean;1520 readonly isBreadthLimit: boolean;1521 readonly isTokenNotFound: boolean;1522 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1523}15241525/** @name PalletStructureEvent */1526export interface PalletStructureEvent extends Enum {1527 readonly isExecuted: boolean;1528 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1529 readonly type: 'Executed';1530}15311532/** @name PalletSudoCall */1533export interface PalletSudoCall extends Enum {1534 readonly isSudo: boolean;1535 readonly asSudo: {1536 readonly call: Call;1537 } & Struct;1538 readonly isSudoUncheckedWeight: boolean;1539 readonly asSudoUncheckedWeight: {1540 readonly call: Call;1541 readonly weight: u64;1542 } & Struct;1543 readonly isSetKey: boolean;1544 readonly asSetKey: {1545 readonly new_: MultiAddress;1546 } & Struct;1547 readonly isSudoAs: boolean;1548 readonly asSudoAs: {1549 readonly who: MultiAddress;1550 readonly call: Call;1551 } & Struct;1552 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1553}15541555/** @name PalletSudoError */1556export interface PalletSudoError extends Enum {1557 readonly isRequireSudo: boolean;1558 readonly type: 'RequireSudo';1559}15601561/** @name PalletSudoEvent */1562export interface PalletSudoEvent extends Enum {1563 readonly isSudid: boolean;1564 readonly asSudid: {1565 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1566 } & Struct;1567 readonly isKeyChanged: boolean;1568 readonly asKeyChanged: {1569 readonly oldSudoer: Option<AccountId32>;1570 } & Struct;1571 readonly isSudoAsDone: boolean;1572 readonly asSudoAsDone: {1573 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1574 } & Struct;1575 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1576}15771578/** @name PalletTemplateTransactionPaymentCall */1579export interface PalletTemplateTransactionPaymentCall extends Null {}15801581/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1582export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}15831584/** @name PalletTimestampCall */1585export interface PalletTimestampCall extends Enum {1586 readonly isSet: boolean;1587 readonly asSet: {1588 readonly now: Compact<u64>;1589 } & Struct;1590 readonly type: 'Set';1591}15921593/** @name PalletTransactionPaymentEvent */1594export interface PalletTransactionPaymentEvent extends Enum {1595 readonly isTransactionFeePaid: boolean;1596 readonly asTransactionFeePaid: {1597 readonly who: AccountId32;1598 readonly actualFee: u128;1599 readonly tip: u128;1600 } & Struct;1601 readonly type: 'TransactionFeePaid';1602}16031604/** @name PalletTransactionPaymentReleases */1605export interface PalletTransactionPaymentReleases extends Enum {1606 readonly isV1Ancient: boolean;1607 readonly isV2: boolean;1608 readonly type: 'V1Ancient' | 'V2';1609}16101611/** @name PalletTreasuryCall */1612export interface PalletTreasuryCall extends Enum {1613 readonly isProposeSpend: boolean;1614 readonly asProposeSpend: {1615 readonly value: Compact<u128>;1616 readonly beneficiary: MultiAddress;1617 } & Struct;1618 readonly isRejectProposal: boolean;1619 readonly asRejectProposal: {1620 readonly proposalId: Compact<u32>;1621 } & Struct;1622 readonly isApproveProposal: boolean;1623 readonly asApproveProposal: {1624 readonly proposalId: Compact<u32>;1625 } & Struct;1626 readonly isSpend: boolean;1627 readonly asSpend: {1628 readonly amount: Compact<u128>;1629 readonly beneficiary: MultiAddress;1630 } & Struct;1631 readonly isRemoveApproval: boolean;1632 readonly asRemoveApproval: {1633 readonly proposalId: Compact<u32>;1634 } & Struct;1635 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1636}16371638/** @name PalletTreasuryError */1639export interface PalletTreasuryError extends Enum {1640 readonly isInsufficientProposersBalance: boolean;1641 readonly isInvalidIndex: boolean;1642 readonly isTooManyApprovals: boolean;1643 readonly isInsufficientPermission: boolean;1644 readonly isProposalNotApproved: boolean;1645 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1646}16471648/** @name PalletTreasuryEvent */1649export interface PalletTreasuryEvent extends Enum {1650 readonly isProposed: boolean;1651 readonly asProposed: {1652 readonly proposalIndex: u32;1653 } & Struct;1654 readonly isSpending: boolean;1655 readonly asSpending: {1656 readonly budgetRemaining: u128;1657 } & Struct;1658 readonly isAwarded: boolean;1659 readonly asAwarded: {1660 readonly proposalIndex: u32;1661 readonly award: u128;1662 readonly account: AccountId32;1663 } & Struct;1664 readonly isRejected: boolean;1665 readonly asRejected: {1666 readonly proposalIndex: u32;1667 readonly slashed: u128;1668 } & Struct;1669 readonly isBurnt: boolean;1670 readonly asBurnt: {1671 readonly burntFunds: u128;1672 } & Struct;1673 readonly isRollover: boolean;1674 readonly asRollover: {1675 readonly rolloverBalance: u128;1676 } & Struct;1677 readonly isDeposit: boolean;1678 readonly asDeposit: {1679 readonly value: u128;1680 } & Struct;1681 readonly isSpendApproved: boolean;1682 readonly asSpendApproved: {1683 readonly proposalIndex: u32;1684 readonly amount: u128;1685 readonly beneficiary: AccountId32;1686 } & Struct;1687 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';1688}16891690/** @name PalletTreasuryProposal */1691export interface PalletTreasuryProposal extends Struct {1692 readonly proposer: AccountId32;1693 readonly value: u128;1694 readonly beneficiary: AccountId32;1695 readonly bond: u128;1696}16971698/** @name PalletUniqueCall */1699export interface PalletUniqueCall extends Enum {1700 readonly isCreateCollection: boolean;1701 readonly asCreateCollection: {1702 readonly collectionName: Vec<u16>;1703 readonly collectionDescription: Vec<u16>;1704 readonly tokenPrefix: Bytes;1705 readonly mode: UpDataStructsCollectionMode;1706 } & Struct;1707 readonly isCreateCollectionEx: boolean;1708 readonly asCreateCollectionEx: {1709 readonly data: UpDataStructsCreateCollectionData;1710 } & Struct;1711 readonly isDestroyCollection: boolean;1712 readonly asDestroyCollection: {1713 readonly collectionId: u32;1714 } & Struct;1715 readonly isAddToAllowList: boolean;1716 readonly asAddToAllowList: {1717 readonly collectionId: u32;1718 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1719 } & Struct;1720 readonly isRemoveFromAllowList: boolean;1721 readonly asRemoveFromAllowList: {1722 readonly collectionId: u32;1723 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1724 } & Struct;1725 readonly isChangeCollectionOwner: boolean;1726 readonly asChangeCollectionOwner: {1727 readonly collectionId: u32;1728 readonly newOwner: AccountId32;1729 } & Struct;1730 readonly isAddCollectionAdmin: boolean;1731 readonly asAddCollectionAdmin: {1732 readonly collectionId: u32;1733 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1734 } & Struct;1735 readonly isRemoveCollectionAdmin: boolean;1736 readonly asRemoveCollectionAdmin: {1737 readonly collectionId: u32;1738 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1739 } & Struct;1740 readonly isSetCollectionSponsor: boolean;1741 readonly asSetCollectionSponsor: {1742 readonly collectionId: u32;1743 readonly newSponsor: AccountId32;1744 } & Struct;1745 readonly isConfirmSponsorship: boolean;1746 readonly asConfirmSponsorship: {1747 readonly collectionId: u32;1748 } & Struct;1749 readonly isRemoveCollectionSponsor: boolean;1750 readonly asRemoveCollectionSponsor: {1751 readonly collectionId: u32;1752 } & Struct;1753 readonly isCreateItem: boolean;1754 readonly asCreateItem: {1755 readonly collectionId: u32;1756 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1757 readonly data: UpDataStructsCreateItemData;1758 } & Struct;1759 readonly isCreateMultipleItems: boolean;1760 readonly asCreateMultipleItems: {1761 readonly collectionId: u32;1762 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1763 readonly itemsData: Vec<UpDataStructsCreateItemData>;1764 } & Struct;1765 readonly isSetCollectionProperties: boolean;1766 readonly asSetCollectionProperties: {1767 readonly collectionId: u32;1768 readonly properties: Vec<UpDataStructsProperty>;1769 } & Struct;1770 readonly isDeleteCollectionProperties: boolean;1771 readonly asDeleteCollectionProperties: {1772 readonly collectionId: u32;1773 readonly propertyKeys: Vec<Bytes>;1774 } & Struct;1775 readonly isSetTokenProperties: boolean;1776 readonly asSetTokenProperties: {1777 readonly collectionId: u32;1778 readonly tokenId: u32;1779 readonly properties: Vec<UpDataStructsProperty>;1780 } & Struct;1781 readonly isDeleteTokenProperties: boolean;1782 readonly asDeleteTokenProperties: {1783 readonly collectionId: u32;1784 readonly tokenId: u32;1785 readonly propertyKeys: Vec<Bytes>;1786 } & Struct;1787 readonly isSetTokenPropertyPermissions: boolean;1788 readonly asSetTokenPropertyPermissions: {1789 readonly collectionId: u32;1790 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1791 } & Struct;1792 readonly isCreateMultipleItemsEx: boolean;1793 readonly asCreateMultipleItemsEx: {1794 readonly collectionId: u32;1795 readonly data: UpDataStructsCreateItemExData;1796 } & Struct;1797 readonly isSetTransfersEnabledFlag: boolean;1798 readonly asSetTransfersEnabledFlag: {1799 readonly collectionId: u32;1800 readonly value: bool;1801 } & Struct;1802 readonly isBurnItem: boolean;1803 readonly asBurnItem: {1804 readonly collectionId: u32;1805 readonly itemId: u32;1806 readonly value: u128;1807 } & Struct;1808 readonly isBurnFrom: boolean;1809 readonly asBurnFrom: {1810 readonly collectionId: u32;1811 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1812 readonly itemId: u32;1813 readonly value: u128;1814 } & Struct;1815 readonly isTransfer: boolean;1816 readonly asTransfer: {1817 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1818 readonly collectionId: u32;1819 readonly itemId: u32;1820 readonly value: u128;1821 } & Struct;1822 readonly isApprove: boolean;1823 readonly asApprove: {1824 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1825 readonly collectionId: u32;1826 readonly itemId: u32;1827 readonly amount: u128;1828 } & Struct;1829 readonly isTransferFrom: boolean;1830 readonly asTransferFrom: {1831 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1832 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1833 readonly collectionId: u32;1834 readonly itemId: u32;1835 readonly value: u128;1836 } & Struct;1837 readonly isSetCollectionLimits: boolean;1838 readonly asSetCollectionLimits: {1839 readonly collectionId: u32;1840 readonly newLimit: UpDataStructsCollectionLimits;1841 } & Struct;1842 readonly isSetCollectionPermissions: boolean;1843 readonly asSetCollectionPermissions: {1844 readonly collectionId: u32;1845 readonly newPermission: UpDataStructsCollectionPermissions;1846 } & Struct;1847 readonly isRepartition: boolean;1848 readonly asRepartition: {1849 readonly collectionId: u32;1850 readonly tokenId: u32;1851 readonly amount: u128;1852 } & Struct;1853 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';1854}18551856/** @name PalletUniqueError */1857export interface PalletUniqueError extends Enum {1858 readonly isCollectionDecimalPointLimitExceeded: boolean;1859 readonly isConfirmUnsetSponsorFail: boolean;1860 readonly isEmptyArgument: boolean;1861 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;1862 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';1863}18641865/** @name PalletUniqueRawEvent */1866export interface PalletUniqueRawEvent extends Enum {1867 readonly isCollectionSponsorRemoved: boolean;1868 readonly asCollectionSponsorRemoved: u32;1869 readonly isCollectionAdminAdded: boolean;1870 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1871 readonly isCollectionOwnedChanged: boolean;1872 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1873 readonly isCollectionSponsorSet: boolean;1874 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1875 readonly isSponsorshipConfirmed: boolean;1876 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1877 readonly isCollectionAdminRemoved: boolean;1878 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1879 readonly isAllowListAddressRemoved: boolean;1880 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1881 readonly isAllowListAddressAdded: boolean;1882 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1883 readonly isCollectionLimitSet: boolean;1884 readonly asCollectionLimitSet: u32;1885 readonly isCollectionPermissionSet: boolean;1886 readonly asCollectionPermissionSet: u32;1887 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1888}18891890/** @name PalletUniqueSchedulerCall */1891export interface PalletUniqueSchedulerCall extends Enum {1892 readonly isScheduleNamed: boolean;1893 readonly asScheduleNamed: {1894 readonly id: U8aFixed;1895 readonly when: u32;1896 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1897 readonly priority: u8;1898 readonly call: FrameSupportScheduleMaybeHashed;1899 } & Struct;1900 readonly isCancelNamed: boolean;1901 readonly asCancelNamed: {1902 readonly id: U8aFixed;1903 } & Struct;1904 readonly isScheduleNamedAfter: boolean;1905 readonly asScheduleNamedAfter: {1906 readonly id: U8aFixed;1907 readonly after: u32;1908 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1909 readonly priority: u8;1910 readonly call: FrameSupportScheduleMaybeHashed;1911 } & Struct;1912 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1913}19141915/** @name PalletUniqueSchedulerError */1916export interface PalletUniqueSchedulerError extends Enum {1917 readonly isFailedToSchedule: boolean;1918 readonly isNotFound: boolean;1919 readonly isTargetBlockNumberInPast: boolean;1920 readonly isRescheduleNoChange: boolean;1921 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1922}19231924/** @name PalletUniqueSchedulerEvent */1925export interface PalletUniqueSchedulerEvent extends Enum {1926 readonly isScheduled: boolean;1927 readonly asScheduled: {1928 readonly when: u32;1929 readonly index: u32;1930 } & Struct;1931 readonly isCanceled: boolean;1932 readonly asCanceled: {1933 readonly when: u32;1934 readonly index: u32;1935 } & Struct;1936 readonly isDispatched: boolean;1937 readonly asDispatched: {1938 readonly task: ITuple<[u32, u32]>;1939 readonly id: Option<U8aFixed>;1940 readonly result: Result<Null, SpRuntimeDispatchError>;1941 } & Struct;1942 readonly isCallLookupFailed: boolean;1943 readonly asCallLookupFailed: {1944 readonly task: ITuple<[u32, u32]>;1945 readonly id: Option<U8aFixed>;1946 readonly error: FrameSupportScheduleLookupError;1947 } & Struct;1948 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1949}19501951/** @name PalletUniqueSchedulerScheduledV3 */1952export interface PalletUniqueSchedulerScheduledV3 extends Struct {1953 readonly maybeId: Option<U8aFixed>;1954 readonly priority: u8;1955 readonly call: FrameSupportScheduleMaybeHashed;1956 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1957 readonly origin: OpalRuntimeOriginCaller;1958}19591960/** @name PalletXcmCall */1961export interface PalletXcmCall extends Enum {1962 readonly isSend: boolean;1963 readonly asSend: {1964 readonly dest: XcmVersionedMultiLocation;1965 readonly message: XcmVersionedXcm;1966 } & Struct;1967 readonly isTeleportAssets: boolean;1968 readonly asTeleportAssets: {1969 readonly dest: XcmVersionedMultiLocation;1970 readonly beneficiary: XcmVersionedMultiLocation;1971 readonly assets: XcmVersionedMultiAssets;1972 readonly feeAssetItem: u32;1973 } & Struct;1974 readonly isReserveTransferAssets: boolean;1975 readonly asReserveTransferAssets: {1976 readonly dest: XcmVersionedMultiLocation;1977 readonly beneficiary: XcmVersionedMultiLocation;1978 readonly assets: XcmVersionedMultiAssets;1979 readonly feeAssetItem: u32;1980 } & Struct;1981 readonly isExecute: boolean;1982 readonly asExecute: {1983 readonly message: XcmVersionedXcm;1984 readonly maxWeight: u64;1985 } & Struct;1986 readonly isForceXcmVersion: boolean;1987 readonly asForceXcmVersion: {1988 readonly location: XcmV1MultiLocation;1989 readonly xcmVersion: u32;1990 } & Struct;1991 readonly isForceDefaultXcmVersion: boolean;1992 readonly asForceDefaultXcmVersion: {1993 readonly maybeXcmVersion: Option<u32>;1994 } & Struct;1995 readonly isForceSubscribeVersionNotify: boolean;1996 readonly asForceSubscribeVersionNotify: {1997 readonly location: XcmVersionedMultiLocation;1998 } & Struct;1999 readonly isForceUnsubscribeVersionNotify: boolean;2000 readonly asForceUnsubscribeVersionNotify: {2001 readonly location: XcmVersionedMultiLocation;2002 } & Struct;2003 readonly isLimitedReserveTransferAssets: boolean;2004 readonly asLimitedReserveTransferAssets: {2005 readonly dest: XcmVersionedMultiLocation;2006 readonly beneficiary: XcmVersionedMultiLocation;2007 readonly assets: XcmVersionedMultiAssets;2008 readonly feeAssetItem: u32;2009 readonly weightLimit: XcmV2WeightLimit;2010 } & Struct;2011 readonly isLimitedTeleportAssets: boolean;2012 readonly asLimitedTeleportAssets: {2013 readonly dest: XcmVersionedMultiLocation;2014 readonly beneficiary: XcmVersionedMultiLocation;2015 readonly assets: XcmVersionedMultiAssets;2016 readonly feeAssetItem: u32;2017 readonly weightLimit: XcmV2WeightLimit;2018 } & Struct;2019 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2020}20212022/** @name PalletXcmError */2023export interface PalletXcmError extends Enum {2024 readonly isUnreachable: boolean;2025 readonly isSendFailure: boolean;2026 readonly isFiltered: boolean;2027 readonly isUnweighableMessage: boolean;2028 readonly isDestinationNotInvertible: boolean;2029 readonly isEmpty: boolean;2030 readonly isCannotReanchor: boolean;2031 readonly isTooManyAssets: boolean;2032 readonly isInvalidOrigin: boolean;2033 readonly isBadVersion: boolean;2034 readonly isBadLocation: boolean;2035 readonly isNoSubscription: boolean;2036 readonly isAlreadySubscribed: boolean;2037 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2038}20392040/** @name PalletXcmEvent */2041export interface PalletXcmEvent extends Enum {2042 readonly isAttempted: boolean;2043 readonly asAttempted: XcmV2TraitsOutcome;2044 readonly isSent: boolean;2045 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2046 readonly isUnexpectedResponse: boolean;2047 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2048 readonly isResponseReady: boolean;2049 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2050 readonly isNotified: boolean;2051 readonly asNotified: ITuple<[u64, u8, u8]>;2052 readonly isNotifyOverweight: boolean;2053 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2054 readonly isNotifyDispatchError: boolean;2055 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2056 readonly isNotifyDecodeFailed: boolean;2057 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2058 readonly isInvalidResponder: boolean;2059 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2060 readonly isInvalidResponderVersion: boolean;2061 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2062 readonly isResponseTaken: boolean;2063 readonly asResponseTaken: u64;2064 readonly isAssetsTrapped: boolean;2065 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2066 readonly isVersionChangeNotified: boolean;2067 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2068 readonly isSupportedVersionChanged: boolean;2069 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2070 readonly isNotifyTargetSendFail: boolean;2071 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2072 readonly isNotifyTargetMigrationFail: boolean;2073 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2074 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2075}20762077/** @name PalletXcmOrigin */2078export interface PalletXcmOrigin extends Enum {2079 readonly isXcm: boolean;2080 readonly asXcm: XcmV1MultiLocation;2081 readonly isResponse: boolean;2082 readonly asResponse: XcmV1MultiLocation;2083 readonly type: 'Xcm' | 'Response';2084}20852086/** @name PhantomTypeUpDataStructs */2087export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}20882089/** @name PolkadotCorePrimitivesInboundDownwardMessage */2090export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2091 readonly sentAt: u32;2092 readonly msg: Bytes;2093}20942095/** @name PolkadotCorePrimitivesInboundHrmpMessage */2096export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2097 readonly sentAt: u32;2098 readonly data: Bytes;2099}21002101/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2102export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2103 readonly recipient: u32;2104 readonly data: Bytes;2105}21062107/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2108export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2109 readonly isConcatenatedVersionedXcm: boolean;2110 readonly isConcatenatedEncodedBlob: boolean;2111 readonly isSignals: boolean;2112 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2113}21142115/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2116export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2117 readonly maxCodeSize: u32;2118 readonly maxHeadDataSize: u32;2119 readonly maxUpwardQueueCount: u32;2120 readonly maxUpwardQueueSize: u32;2121 readonly maxUpwardMessageSize: u32;2122 readonly maxUpwardMessageNumPerCandidate: u32;2123 readonly hrmpMaxMessageNumPerCandidate: u32;2124 readonly validationUpgradeCooldown: u32;2125 readonly validationUpgradeDelay: u32;2126}21272128/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2129export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2130 readonly maxCapacity: u32;2131 readonly maxTotalSize: u32;2132 readonly maxMessageSize: u32;2133 readonly msgCount: u32;2134 readonly totalSize: u32;2135 readonly mqcHead: Option<H256>;2136}21372138/** @name PolkadotPrimitivesV2PersistedValidationData */2139export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2140 readonly parentHead: Bytes;2141 readonly relayParentNumber: u32;2142 readonly relayParentStorageRoot: H256;2143 readonly maxPovSize: u32;2144}21452146/** @name PolkadotPrimitivesV2UpgradeRestriction */2147export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2148 readonly isPresent: boolean;2149 readonly type: 'Present';2150}21512152/** @name RmrkTraitsBaseBaseInfo */2153export interface RmrkTraitsBaseBaseInfo extends Struct {2154 readonly issuer: AccountId32;2155 readonly baseType: Bytes;2156 readonly symbol: Bytes;2157}21582159/** @name RmrkTraitsCollectionCollectionInfo */2160export interface RmrkTraitsCollectionCollectionInfo extends Struct {2161 readonly issuer: AccountId32;2162 readonly metadata: Bytes;2163 readonly max: Option<u32>;2164 readonly symbol: Bytes;2165 readonly nftsCount: u32;2166}21672168/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2169export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2170 readonly isAccountId: boolean;2171 readonly asAccountId: AccountId32;2172 readonly isCollectionAndNftTuple: boolean;2173 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2174 readonly type: 'AccountId' | 'CollectionAndNftTuple';2175}21762177/** @name RmrkTraitsNftNftChild */2178export interface RmrkTraitsNftNftChild extends Struct {2179 readonly collectionId: u32;2180 readonly nftId: u32;2181}21822183/** @name RmrkTraitsNftNftInfo */2184export interface RmrkTraitsNftNftInfo extends Struct {2185 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2186 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2187 readonly metadata: Bytes;2188 readonly equipped: bool;2189 readonly pending: bool;2190}21912192/** @name RmrkTraitsNftRoyaltyInfo */2193export interface RmrkTraitsNftRoyaltyInfo extends Struct {2194 readonly recipient: AccountId32;2195 readonly amount: Permill;2196}21972198/** @name RmrkTraitsPartEquippableList */2199export interface RmrkTraitsPartEquippableList extends Enum {2200 readonly isAll: boolean;2201 readonly isEmpty: boolean;2202 readonly isCustom: boolean;2203 readonly asCustom: Vec<u32>;2204 readonly type: 'All' | 'Empty' | 'Custom';2205}22062207/** @name RmrkTraitsPartFixedPart */2208export interface RmrkTraitsPartFixedPart extends Struct {2209 readonly id: u32;2210 readonly z: u32;2211 readonly src: Bytes;2212}22132214/** @name RmrkTraitsPartPartType */2215export interface RmrkTraitsPartPartType extends Enum {2216 readonly isFixedPart: boolean;2217 readonly asFixedPart: RmrkTraitsPartFixedPart;2218 readonly isSlotPart: boolean;2219 readonly asSlotPart: RmrkTraitsPartSlotPart;2220 readonly type: 'FixedPart' | 'SlotPart';2221}22222223/** @name RmrkTraitsPartSlotPart */2224export interface RmrkTraitsPartSlotPart extends Struct {2225 readonly id: u32;2226 readonly equippable: RmrkTraitsPartEquippableList;2227 readonly src: Bytes;2228 readonly z: u32;2229}22302231/** @name RmrkTraitsPropertyPropertyInfo */2232export interface RmrkTraitsPropertyPropertyInfo extends Struct {2233 readonly key: Bytes;2234 readonly value: Bytes;2235}22362237/** @name RmrkTraitsResourceBasicResource */2238export interface RmrkTraitsResourceBasicResource extends Struct {2239 readonly src: Option<Bytes>;2240 readonly metadata: Option<Bytes>;2241 readonly license: Option<Bytes>;2242 readonly thumb: Option<Bytes>;2243}22442245/** @name RmrkTraitsResourceComposableResource */2246export interface RmrkTraitsResourceComposableResource extends Struct {2247 readonly parts: Vec<u32>;2248 readonly base: u32;2249 readonly src: Option<Bytes>;2250 readonly metadata: Option<Bytes>;2251 readonly license: Option<Bytes>;2252 readonly thumb: Option<Bytes>;2253}22542255/** @name RmrkTraitsResourceResourceInfo */2256export interface RmrkTraitsResourceResourceInfo extends Struct {2257 readonly id: u32;2258 readonly resource: RmrkTraitsResourceResourceTypes;2259 readonly pending: bool;2260 readonly pendingRemoval: bool;2261}22622263/** @name RmrkTraitsResourceResourceTypes */2264export interface RmrkTraitsResourceResourceTypes extends Enum {2265 readonly isBasic: boolean;2266 readonly asBasic: RmrkTraitsResourceBasicResource;2267 readonly isComposable: boolean;2268 readonly asComposable: RmrkTraitsResourceComposableResource;2269 readonly isSlot: boolean;2270 readonly asSlot: RmrkTraitsResourceSlotResource;2271 readonly type: 'Basic' | 'Composable' | 'Slot';2272}22732274/** @name RmrkTraitsResourceSlotResource */2275export interface RmrkTraitsResourceSlotResource extends Struct {2276 readonly base: u32;2277 readonly src: Option<Bytes>;2278 readonly metadata: Option<Bytes>;2279 readonly slot: u32;2280 readonly license: Option<Bytes>;2281 readonly thumb: Option<Bytes>;2282}22832284/** @name RmrkTraitsTheme */2285export interface RmrkTraitsTheme extends Struct {2286 readonly name: Bytes;2287 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2288 readonly inherit: bool;2289}22902291/** @name RmrkTraitsThemeThemeProperty */2292export interface RmrkTraitsThemeThemeProperty extends Struct {2293 readonly key: Bytes;2294 readonly value: Bytes;2295}22962297/** @name SpCoreEcdsaSignature */2298export interface SpCoreEcdsaSignature extends U8aFixed {}22992300/** @name SpCoreEd25519Signature */2301export interface SpCoreEd25519Signature extends U8aFixed {}23022303/** @name SpCoreSr25519Signature */2304export interface SpCoreSr25519Signature extends U8aFixed {}23052306/** @name SpCoreVoid */2307export interface SpCoreVoid extends Null {}23082309/** @name SpRuntimeArithmeticError */2310export interface SpRuntimeArithmeticError extends Enum {2311 readonly isUnderflow: boolean;2312 readonly isOverflow: boolean;2313 readonly isDivisionByZero: boolean;2314 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2315}23162317/** @name SpRuntimeDigest */2318export interface SpRuntimeDigest extends Struct {2319 readonly logs: Vec<SpRuntimeDigestDigestItem>;2320}23212322/** @name SpRuntimeDigestDigestItem */2323export interface SpRuntimeDigestDigestItem extends Enum {2324 readonly isOther: boolean;2325 readonly asOther: Bytes;2326 readonly isConsensus: boolean;2327 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2328 readonly isSeal: boolean;2329 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2330 readonly isPreRuntime: boolean;2331 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2332 readonly isRuntimeEnvironmentUpdated: boolean;2333 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2334}23352336/** @name SpRuntimeDispatchError */2337export interface SpRuntimeDispatchError extends Enum {2338 readonly isOther: boolean;2339 readonly isCannotLookup: boolean;2340 readonly isBadOrigin: boolean;2341 readonly isModule: boolean;2342 readonly asModule: SpRuntimeModuleError;2343 readonly isConsumerRemaining: boolean;2344 readonly isNoProviders: boolean;2345 readonly isTooManyConsumers: boolean;2346 readonly isToken: boolean;2347 readonly asToken: SpRuntimeTokenError;2348 readonly isArithmetic: boolean;2349 readonly asArithmetic: SpRuntimeArithmeticError;2350 readonly isTransactional: boolean;2351 readonly asTransactional: SpRuntimeTransactionalError;2352 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2353}23542355/** @name SpRuntimeModuleError */2356export interface SpRuntimeModuleError extends Struct {2357 readonly index: u8;2358 readonly error: U8aFixed;2359}23602361/** @name SpRuntimeMultiSignature */2362export interface SpRuntimeMultiSignature extends Enum {2363 readonly isEd25519: boolean;2364 readonly asEd25519: SpCoreEd25519Signature;2365 readonly isSr25519: boolean;2366 readonly asSr25519: SpCoreSr25519Signature;2367 readonly isEcdsa: boolean;2368 readonly asEcdsa: SpCoreEcdsaSignature;2369 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2370}23712372/** @name SpRuntimeTokenError */2373export interface SpRuntimeTokenError extends Enum {2374 readonly isNoFunds: boolean;2375 readonly isWouldDie: boolean;2376 readonly isBelowMinimum: boolean;2377 readonly isCannotCreate: boolean;2378 readonly isUnknownAsset: boolean;2379 readonly isFrozen: boolean;2380 readonly isUnsupported: boolean;2381 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2382}23832384/** @name SpRuntimeTransactionalError */2385export interface SpRuntimeTransactionalError extends Enum {2386 readonly isLimitReached: boolean;2387 readonly isNoLayer: boolean;2388 readonly type: 'LimitReached' | 'NoLayer';2389}23902391/** @name SpTrieStorageProof */2392export interface SpTrieStorageProof extends Struct {2393 readonly trieNodes: BTreeSet<Bytes>;2394}23952396/** @name SpVersionRuntimeVersion */2397export interface SpVersionRuntimeVersion extends Struct {2398 readonly specName: Text;2399 readonly implName: Text;2400 readonly authoringVersion: u32;2401 readonly specVersion: u32;2402 readonly implVersion: u32;2403 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2404 readonly transactionVersion: u32;2405 readonly stateVersion: u8;2406}24072408/** @name UpDataStructsAccessMode */2409export interface UpDataStructsAccessMode extends Enum {2410 readonly isNormal: boolean;2411 readonly isAllowList: boolean;2412 readonly type: 'Normal' | 'AllowList';2413}24142415/** @name UpDataStructsCollection */2416export interface UpDataStructsCollection extends Struct {2417 readonly owner: AccountId32;2418 readonly mode: UpDataStructsCollectionMode;2419 readonly name: Vec<u16>;2420 readonly description: Vec<u16>;2421 readonly tokenPrefix: Bytes;2422 readonly sponsorship: UpDataStructsSponsorshipState;2423 readonly limits: UpDataStructsCollectionLimits;2424 readonly permissions: UpDataStructsCollectionPermissions;2425 readonly externalCollection: bool;2426}24272428/** @name UpDataStructsCollectionLimits */2429export interface UpDataStructsCollectionLimits extends Struct {2430 readonly accountTokenOwnershipLimit: Option<u32>;2431 readonly sponsoredDataSize: Option<u32>;2432 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2433 readonly tokenLimit: Option<u32>;2434 readonly sponsorTransferTimeout: Option<u32>;2435 readonly sponsorApproveTimeout: Option<u32>;2436 readonly ownerCanTransfer: Option<bool>;2437 readonly ownerCanDestroy: Option<bool>;2438 readonly transfersEnabled: Option<bool>;2439}24402441/** @name UpDataStructsCollectionMode */2442export interface UpDataStructsCollectionMode extends Enum {2443 readonly isNft: boolean;2444 readonly isFungible: boolean;2445 readonly asFungible: u8;2446 readonly isReFungible: boolean;2447 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2448}24492450/** @name UpDataStructsCollectionPermissions */2451export interface UpDataStructsCollectionPermissions extends Struct {2452 readonly access: Option<UpDataStructsAccessMode>;2453 readonly mintMode: Option<bool>;2454 readonly nesting: Option<UpDataStructsNestingPermissions>;2455}24562457/** @name UpDataStructsCollectionStats */2458export interface UpDataStructsCollectionStats extends Struct {2459 readonly created: u32;2460 readonly destroyed: u32;2461 readonly alive: u32;2462}24632464/** @name UpDataStructsCreateCollectionData */2465export interface UpDataStructsCreateCollectionData extends Struct {2466 readonly mode: UpDataStructsCollectionMode;2467 readonly access: Option<UpDataStructsAccessMode>;2468 readonly name: Vec<u16>;2469 readonly description: Vec<u16>;2470 readonly tokenPrefix: Bytes;2471 readonly pendingSponsor: Option<AccountId32>;2472 readonly limits: Option<UpDataStructsCollectionLimits>;2473 readonly permissions: Option<UpDataStructsCollectionPermissions>;2474 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2475 readonly properties: Vec<UpDataStructsProperty>;2476}24772478/** @name UpDataStructsCreateFungibleData */2479export interface UpDataStructsCreateFungibleData extends Struct {2480 readonly value: u128;2481}24822483/** @name UpDataStructsCreateItemData */2484export interface UpDataStructsCreateItemData extends Enum {2485 readonly isNft: boolean;2486 readonly asNft: UpDataStructsCreateNftData;2487 readonly isFungible: boolean;2488 readonly asFungible: UpDataStructsCreateFungibleData;2489 readonly isReFungible: boolean;2490 readonly asReFungible: UpDataStructsCreateReFungibleData;2491 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2492}24932494/** @name UpDataStructsCreateItemExData */2495export interface UpDataStructsCreateItemExData extends Enum {2496 readonly isNft: boolean;2497 readonly asNft: Vec<UpDataStructsCreateNftExData>;2498 readonly isFungible: boolean;2499 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2500 readonly isRefungibleMultipleItems: boolean;2501 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2502 readonly isRefungibleMultipleOwners: boolean;2503 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2504 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2505}25062507/** @name UpDataStructsCreateNftData */2508export interface UpDataStructsCreateNftData extends Struct {2509 readonly properties: Vec<UpDataStructsProperty>;2510}25112512/** @name UpDataStructsCreateNftExData */2513export interface UpDataStructsCreateNftExData extends Struct {2514 readonly properties: Vec<UpDataStructsProperty>;2515 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2516}25172518/** @name UpDataStructsCreateReFungibleData */2519export interface UpDataStructsCreateReFungibleData extends Struct {2520 readonly pieces: u128;2521 readonly properties: Vec<UpDataStructsProperty>;2522}25232524/** @name UpDataStructsCreateRefungibleExMultipleOwners */2525export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2526 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2527 readonly properties: Vec<UpDataStructsProperty>;2528}25292530/** @name UpDataStructsCreateRefungibleExSingleOwner */2531export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2532 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2533 readonly pieces: u128;2534 readonly properties: Vec<UpDataStructsProperty>;2535}25362537/** @name UpDataStructsNestingPermissions */2538export interface UpDataStructsNestingPermissions extends Struct {2539 readonly tokenOwner: bool;2540 readonly collectionAdmin: bool;2541 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2542}25432544/** @name UpDataStructsOwnerRestrictedSet */2545export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25462547/** @name UpDataStructsProperties */2548export interface UpDataStructsProperties extends Struct {2549 readonly map: UpDataStructsPropertiesMapBoundedVec;2550 readonly consumedSpace: u32;2551 readonly spaceLimit: u32;2552}25532554/** @name UpDataStructsPropertiesMapBoundedVec */2555export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}25562557/** @name UpDataStructsPropertiesMapPropertyPermission */2558export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}25592560/** @name UpDataStructsProperty */2561export interface UpDataStructsProperty extends Struct {2562 readonly key: Bytes;2563 readonly value: Bytes;2564}25652566/** @name UpDataStructsPropertyKeyPermission */2567export interface UpDataStructsPropertyKeyPermission extends Struct {2568 readonly key: Bytes;2569 readonly permission: UpDataStructsPropertyPermission;2570}25712572/** @name UpDataStructsPropertyPermission */2573export interface UpDataStructsPropertyPermission extends Struct {2574 readonly mutable: bool;2575 readonly collectionAdmin: bool;2576 readonly tokenOwner: bool;2577}25782579/** @name UpDataStructsPropertyScope */2580export interface UpDataStructsPropertyScope extends Enum {2581 readonly isNone: boolean;2582 readonly isRmrk: boolean;2583 readonly isEth: boolean;2584 readonly type: 'None' | 'Rmrk' | 'Eth';2585}25862587/** @name UpDataStructsRpcCollection */2588export interface UpDataStructsRpcCollection extends Struct {2589 readonly owner: AccountId32;2590 readonly mode: UpDataStructsCollectionMode;2591 readonly name: Vec<u16>;2592 readonly description: Vec<u16>;2593 readonly tokenPrefix: Bytes;2594 readonly sponsorship: UpDataStructsSponsorshipState;2595 readonly limits: UpDataStructsCollectionLimits;2596 readonly permissions: UpDataStructsCollectionPermissions;2597 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2598 readonly properties: Vec<UpDataStructsProperty>;2599 readonly readOnly: bool;2600}26012602/** @name UpDataStructsSponsoringRateLimit */2603export interface UpDataStructsSponsoringRateLimit extends Enum {2604 readonly isSponsoringDisabled: boolean;2605 readonly isBlocks: boolean;2606 readonly asBlocks: u32;2607 readonly type: 'SponsoringDisabled' | 'Blocks';2608}26092610/** @name UpDataStructsSponsorshipState */2611export interface UpDataStructsSponsorshipState extends Enum {2612 readonly isDisabled: boolean;2613 readonly isUnconfirmed: boolean;2614 readonly asUnconfirmed: AccountId32;2615 readonly isConfirmed: boolean;2616 readonly asConfirmed: AccountId32;2617 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2618}26192620/** @name UpDataStructsTokenChild */2621export interface UpDataStructsTokenChild extends Struct {2622 readonly token: u32;2623 readonly collection: u32;2624}26252626/** @name UpDataStructsTokenData */2627export interface UpDataStructsTokenData extends Struct {2628 readonly properties: Vec<UpDataStructsProperty>;2629 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2630 readonly pieces: u128;2631}26322633/** @name XcmDoubleEncoded */2634export interface XcmDoubleEncoded extends Struct {2635 readonly encoded: Bytes;2636}26372638/** @name XcmV0Junction */2639export interface XcmV0Junction extends Enum {2640 readonly isParent: boolean;2641 readonly isParachain: boolean;2642 readonly asParachain: Compact<u32>;2643 readonly isAccountId32: boolean;2644 readonly asAccountId32: {2645 readonly network: XcmV0JunctionNetworkId;2646 readonly id: U8aFixed;2647 } & Struct;2648 readonly isAccountIndex64: boolean;2649 readonly asAccountIndex64: {2650 readonly network: XcmV0JunctionNetworkId;2651 readonly index: Compact<u64>;2652 } & Struct;2653 readonly isAccountKey20: boolean;2654 readonly asAccountKey20: {2655 readonly network: XcmV0JunctionNetworkId;2656 readonly key: U8aFixed;2657 } & Struct;2658 readonly isPalletInstance: boolean;2659 readonly asPalletInstance: u8;2660 readonly isGeneralIndex: boolean;2661 readonly asGeneralIndex: Compact<u128>;2662 readonly isGeneralKey: boolean;2663 readonly asGeneralKey: Bytes;2664 readonly isOnlyChild: boolean;2665 readonly isPlurality: boolean;2666 readonly asPlurality: {2667 readonly id: XcmV0JunctionBodyId;2668 readonly part: XcmV0JunctionBodyPart;2669 } & Struct;2670 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2671}26722673/** @name XcmV0JunctionBodyId */2674export interface XcmV0JunctionBodyId extends Enum {2675 readonly isUnit: boolean;2676 readonly isNamed: boolean;2677 readonly asNamed: Bytes;2678 readonly isIndex: boolean;2679 readonly asIndex: Compact<u32>;2680 readonly isExecutive: boolean;2681 readonly isTechnical: boolean;2682 readonly isLegislative: boolean;2683 readonly isJudicial: boolean;2684 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2685}26862687/** @name XcmV0JunctionBodyPart */2688export interface XcmV0JunctionBodyPart extends Enum {2689 readonly isVoice: boolean;2690 readonly isMembers: boolean;2691 readonly asMembers: {2692 readonly count: Compact<u32>;2693 } & Struct;2694 readonly isFraction: boolean;2695 readonly asFraction: {2696 readonly nom: Compact<u32>;2697 readonly denom: Compact<u32>;2698 } & Struct;2699 readonly isAtLeastProportion: boolean;2700 readonly asAtLeastProportion: {2701 readonly nom: Compact<u32>;2702 readonly denom: Compact<u32>;2703 } & Struct;2704 readonly isMoreThanProportion: boolean;2705 readonly asMoreThanProportion: {2706 readonly nom: Compact<u32>;2707 readonly denom: Compact<u32>;2708 } & Struct;2709 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2710}27112712/** @name XcmV0JunctionNetworkId */2713export interface XcmV0JunctionNetworkId extends Enum {2714 readonly isAny: boolean;2715 readonly isNamed: boolean;2716 readonly asNamed: Bytes;2717 readonly isPolkadot: boolean;2718 readonly isKusama: boolean;2719 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2720}27212722/** @name XcmV0MultiAsset */2723export interface XcmV0MultiAsset extends Enum {2724 readonly isNone: boolean;2725 readonly isAll: boolean;2726 readonly isAllFungible: boolean;2727 readonly isAllNonFungible: boolean;2728 readonly isAllAbstractFungible: boolean;2729 readonly asAllAbstractFungible: {2730 readonly id: Bytes;2731 } & Struct;2732 readonly isAllAbstractNonFungible: boolean;2733 readonly asAllAbstractNonFungible: {2734 readonly class: Bytes;2735 } & Struct;2736 readonly isAllConcreteFungible: boolean;2737 readonly asAllConcreteFungible: {2738 readonly id: XcmV0MultiLocation;2739 } & Struct;2740 readonly isAllConcreteNonFungible: boolean;2741 readonly asAllConcreteNonFungible: {2742 readonly class: XcmV0MultiLocation;2743 } & Struct;2744 readonly isAbstractFungible: boolean;2745 readonly asAbstractFungible: {2746 readonly id: Bytes;2747 readonly amount: Compact<u128>;2748 } & Struct;2749 readonly isAbstractNonFungible: boolean;2750 readonly asAbstractNonFungible: {2751 readonly class: Bytes;2752 readonly instance: XcmV1MultiassetAssetInstance;2753 } & Struct;2754 readonly isConcreteFungible: boolean;2755 readonly asConcreteFungible: {2756 readonly id: XcmV0MultiLocation;2757 readonly amount: Compact<u128>;2758 } & Struct;2759 readonly isConcreteNonFungible: boolean;2760 readonly asConcreteNonFungible: {2761 readonly class: XcmV0MultiLocation;2762 readonly instance: XcmV1MultiassetAssetInstance;2763 } & Struct;2764 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2765}27662767/** @name XcmV0MultiLocation */2768export interface XcmV0MultiLocation extends Enum {2769 readonly isNull: boolean;2770 readonly isX1: boolean;2771 readonly asX1: XcmV0Junction;2772 readonly isX2: boolean;2773 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2774 readonly isX3: boolean;2775 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2776 readonly isX4: boolean;2777 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2778 readonly isX5: boolean;2779 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2780 readonly isX6: boolean;2781 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2782 readonly isX7: boolean;2783 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2784 readonly isX8: boolean;2785 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2786 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2787}27882789/** @name XcmV0Order */2790export interface XcmV0Order extends Enum {2791 readonly isNull: boolean;2792 readonly isDepositAsset: boolean;2793 readonly asDepositAsset: {2794 readonly assets: Vec<XcmV0MultiAsset>;2795 readonly dest: XcmV0MultiLocation;2796 } & Struct;2797 readonly isDepositReserveAsset: boolean;2798 readonly asDepositReserveAsset: {2799 readonly assets: Vec<XcmV0MultiAsset>;2800 readonly dest: XcmV0MultiLocation;2801 readonly effects: Vec<XcmV0Order>;2802 } & Struct;2803 readonly isExchangeAsset: boolean;2804 readonly asExchangeAsset: {2805 readonly give: Vec<XcmV0MultiAsset>;2806 readonly receive: Vec<XcmV0MultiAsset>;2807 } & Struct;2808 readonly isInitiateReserveWithdraw: boolean;2809 readonly asInitiateReserveWithdraw: {2810 readonly assets: Vec<XcmV0MultiAsset>;2811 readonly reserve: XcmV0MultiLocation;2812 readonly effects: Vec<XcmV0Order>;2813 } & Struct;2814 readonly isInitiateTeleport: boolean;2815 readonly asInitiateTeleport: {2816 readonly assets: Vec<XcmV0MultiAsset>;2817 readonly dest: XcmV0MultiLocation;2818 readonly effects: Vec<XcmV0Order>;2819 } & Struct;2820 readonly isQueryHolding: boolean;2821 readonly asQueryHolding: {2822 readonly queryId: Compact<u64>;2823 readonly dest: XcmV0MultiLocation;2824 readonly assets: Vec<XcmV0MultiAsset>;2825 } & Struct;2826 readonly isBuyExecution: boolean;2827 readonly asBuyExecution: {2828 readonly fees: XcmV0MultiAsset;2829 readonly weight: u64;2830 readonly debt: u64;2831 readonly haltOnError: bool;2832 readonly xcm: Vec<XcmV0Xcm>;2833 } & Struct;2834 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2835}28362837/** @name XcmV0OriginKind */2838export interface XcmV0OriginKind extends Enum {2839 readonly isNative: boolean;2840 readonly isSovereignAccount: boolean;2841 readonly isSuperuser: boolean;2842 readonly isXcm: boolean;2843 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2844}28452846/** @name XcmV0Response */2847export interface XcmV0Response extends Enum {2848 readonly isAssets: boolean;2849 readonly asAssets: Vec<XcmV0MultiAsset>;2850 readonly type: 'Assets';2851}28522853/** @name XcmV0Xcm */2854export interface XcmV0Xcm extends Enum {2855 readonly isWithdrawAsset: boolean;2856 readonly asWithdrawAsset: {2857 readonly assets: Vec<XcmV0MultiAsset>;2858 readonly effects: Vec<XcmV0Order>;2859 } & Struct;2860 readonly isReserveAssetDeposit: boolean;2861 readonly asReserveAssetDeposit: {2862 readonly assets: Vec<XcmV0MultiAsset>;2863 readonly effects: Vec<XcmV0Order>;2864 } & Struct;2865 readonly isTeleportAsset: boolean;2866 readonly asTeleportAsset: {2867 readonly assets: Vec<XcmV0MultiAsset>;2868 readonly effects: Vec<XcmV0Order>;2869 } & Struct;2870 readonly isQueryResponse: boolean;2871 readonly asQueryResponse: {2872 readonly queryId: Compact<u64>;2873 readonly response: XcmV0Response;2874 } & Struct;2875 readonly isTransferAsset: boolean;2876 readonly asTransferAsset: {2877 readonly assets: Vec<XcmV0MultiAsset>;2878 readonly dest: XcmV0MultiLocation;2879 } & Struct;2880 readonly isTransferReserveAsset: boolean;2881 readonly asTransferReserveAsset: {2882 readonly assets: Vec<XcmV0MultiAsset>;2883 readonly dest: XcmV0MultiLocation;2884 readonly effects: Vec<XcmV0Order>;2885 } & Struct;2886 readonly isTransact: boolean;2887 readonly asTransact: {2888 readonly originType: XcmV0OriginKind;2889 readonly requireWeightAtMost: u64;2890 readonly call: XcmDoubleEncoded;2891 } & Struct;2892 readonly isHrmpNewChannelOpenRequest: boolean;2893 readonly asHrmpNewChannelOpenRequest: {2894 readonly sender: Compact<u32>;2895 readonly maxMessageSize: Compact<u32>;2896 readonly maxCapacity: Compact<u32>;2897 } & Struct;2898 readonly isHrmpChannelAccepted: boolean;2899 readonly asHrmpChannelAccepted: {2900 readonly recipient: Compact<u32>;2901 } & Struct;2902 readonly isHrmpChannelClosing: boolean;2903 readonly asHrmpChannelClosing: {2904 readonly initiator: Compact<u32>;2905 readonly sender: Compact<u32>;2906 readonly recipient: Compact<u32>;2907 } & Struct;2908 readonly isRelayedFrom: boolean;2909 readonly asRelayedFrom: {2910 readonly who: XcmV0MultiLocation;2911 readonly message: XcmV0Xcm;2912 } & Struct;2913 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2914}29152916/** @name XcmV1Junction */2917export interface XcmV1Junction extends Enum {2918 readonly isParachain: boolean;2919 readonly asParachain: Compact<u32>;2920 readonly isAccountId32: boolean;2921 readonly asAccountId32: {2922 readonly network: XcmV0JunctionNetworkId;2923 readonly id: U8aFixed;2924 } & Struct;2925 readonly isAccountIndex64: boolean;2926 readonly asAccountIndex64: {2927 readonly network: XcmV0JunctionNetworkId;2928 readonly index: Compact<u64>;2929 } & Struct;2930 readonly isAccountKey20: boolean;2931 readonly asAccountKey20: {2932 readonly network: XcmV0JunctionNetworkId;2933 readonly key: U8aFixed;2934 } & Struct;2935 readonly isPalletInstance: boolean;2936 readonly asPalletInstance: u8;2937 readonly isGeneralIndex: boolean;2938 readonly asGeneralIndex: Compact<u128>;2939 readonly isGeneralKey: boolean;2940 readonly asGeneralKey: Bytes;2941 readonly isOnlyChild: boolean;2942 readonly isPlurality: boolean;2943 readonly asPlurality: {2944 readonly id: XcmV0JunctionBodyId;2945 readonly part: XcmV0JunctionBodyPart;2946 } & Struct;2947 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2948}29492950/** @name XcmV1MultiAsset */2951export interface XcmV1MultiAsset extends Struct {2952 readonly id: XcmV1MultiassetAssetId;2953 readonly fun: XcmV1MultiassetFungibility;2954}29552956/** @name XcmV1MultiassetAssetId */2957export interface XcmV1MultiassetAssetId extends Enum {2958 readonly isConcrete: boolean;2959 readonly asConcrete: XcmV1MultiLocation;2960 readonly isAbstract: boolean;2961 readonly asAbstract: Bytes;2962 readonly type: 'Concrete' | 'Abstract';2963}29642965/** @name XcmV1MultiassetAssetInstance */2966export interface XcmV1MultiassetAssetInstance extends Enum {2967 readonly isUndefined: boolean;2968 readonly isIndex: boolean;2969 readonly asIndex: Compact<u128>;2970 readonly isArray4: boolean;2971 readonly asArray4: U8aFixed;2972 readonly isArray8: boolean;2973 readonly asArray8: U8aFixed;2974 readonly isArray16: boolean;2975 readonly asArray16: U8aFixed;2976 readonly isArray32: boolean;2977 readonly asArray32: U8aFixed;2978 readonly isBlob: boolean;2979 readonly asBlob: Bytes;2980 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';2981}29822983/** @name XcmV1MultiassetFungibility */2984export interface XcmV1MultiassetFungibility extends Enum {2985 readonly isFungible: boolean;2986 readonly asFungible: Compact<u128>;2987 readonly isNonFungible: boolean;2988 readonly asNonFungible: XcmV1MultiassetAssetInstance;2989 readonly type: 'Fungible' | 'NonFungible';2990}29912992/** @name XcmV1MultiassetMultiAssetFilter */2993export interface XcmV1MultiassetMultiAssetFilter extends Enum {2994 readonly isDefinite: boolean;2995 readonly asDefinite: XcmV1MultiassetMultiAssets;2996 readonly isWild: boolean;2997 readonly asWild: XcmV1MultiassetWildMultiAsset;2998 readonly type: 'Definite' | 'Wild';2999}30003001/** @name XcmV1MultiassetMultiAssets */3002export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}30033004/** @name XcmV1MultiassetWildFungibility */3005export interface XcmV1MultiassetWildFungibility extends Enum {3006 readonly isFungible: boolean;3007 readonly isNonFungible: boolean;3008 readonly type: 'Fungible' | 'NonFungible';3009}30103011/** @name XcmV1MultiassetWildMultiAsset */3012export interface XcmV1MultiassetWildMultiAsset extends Enum {3013 readonly isAll: boolean;3014 readonly isAllOf: boolean;3015 readonly asAllOf: {3016 readonly id: XcmV1MultiassetAssetId;3017 readonly fun: XcmV1MultiassetWildFungibility;3018 } & Struct;3019 readonly type: 'All' | 'AllOf';3020}30213022/** @name XcmV1MultiLocation */3023export interface XcmV1MultiLocation extends Struct {3024 readonly parents: u8;3025 readonly interior: XcmV1MultilocationJunctions;3026}30273028/** @name XcmV1MultilocationJunctions */3029export interface XcmV1MultilocationJunctions extends Enum {3030 readonly isHere: boolean;3031 readonly isX1: boolean;3032 readonly asX1: XcmV1Junction;3033 readonly isX2: boolean;3034 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3035 readonly isX3: boolean;3036 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3037 readonly isX4: boolean;3038 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3039 readonly isX5: boolean;3040 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3041 readonly isX6: boolean;3042 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3043 readonly isX7: boolean;3044 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3045 readonly isX8: boolean;3046 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3047 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3048}30493050/** @name XcmV1Order */3051export interface XcmV1Order extends Enum {3052 readonly isNoop: boolean;3053 readonly isDepositAsset: boolean;3054 readonly asDepositAsset: {3055 readonly assets: XcmV1MultiassetMultiAssetFilter;3056 readonly maxAssets: u32;3057 readonly beneficiary: XcmV1MultiLocation;3058 } & Struct;3059 readonly isDepositReserveAsset: boolean;3060 readonly asDepositReserveAsset: {3061 readonly assets: XcmV1MultiassetMultiAssetFilter;3062 readonly maxAssets: u32;3063 readonly dest: XcmV1MultiLocation;3064 readonly effects: Vec<XcmV1Order>;3065 } & Struct;3066 readonly isExchangeAsset: boolean;3067 readonly asExchangeAsset: {3068 readonly give: XcmV1MultiassetMultiAssetFilter;3069 readonly receive: XcmV1MultiassetMultiAssets;3070 } & Struct;3071 readonly isInitiateReserveWithdraw: boolean;3072 readonly asInitiateReserveWithdraw: {3073 readonly assets: XcmV1MultiassetMultiAssetFilter;3074 readonly reserve: XcmV1MultiLocation;3075 readonly effects: Vec<XcmV1Order>;3076 } & Struct;3077 readonly isInitiateTeleport: boolean;3078 readonly asInitiateTeleport: {3079 readonly assets: XcmV1MultiassetMultiAssetFilter;3080 readonly dest: XcmV1MultiLocation;3081 readonly effects: Vec<XcmV1Order>;3082 } & Struct;3083 readonly isQueryHolding: boolean;3084 readonly asQueryHolding: {3085 readonly queryId: Compact<u64>;3086 readonly dest: XcmV1MultiLocation;3087 readonly assets: XcmV1MultiassetMultiAssetFilter;3088 } & Struct;3089 readonly isBuyExecution: boolean;3090 readonly asBuyExecution: {3091 readonly fees: XcmV1MultiAsset;3092 readonly weight: u64;3093 readonly debt: u64;3094 readonly haltOnError: bool;3095 readonly instructions: Vec<XcmV1Xcm>;3096 } & Struct;3097 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3098}30993100/** @name XcmV1Response */3101export interface XcmV1Response extends Enum {3102 readonly isAssets: boolean;3103 readonly asAssets: XcmV1MultiassetMultiAssets;3104 readonly isVersion: boolean;3105 readonly asVersion: u32;3106 readonly type: 'Assets' | 'Version';3107}31083109/** @name XcmV1Xcm */3110export interface XcmV1Xcm extends Enum {3111 readonly isWithdrawAsset: boolean;3112 readonly asWithdrawAsset: {3113 readonly assets: XcmV1MultiassetMultiAssets;3114 readonly effects: Vec<XcmV1Order>;3115 } & Struct;3116 readonly isReserveAssetDeposited: boolean;3117 readonly asReserveAssetDeposited: {3118 readonly assets: XcmV1MultiassetMultiAssets;3119 readonly effects: Vec<XcmV1Order>;3120 } & Struct;3121 readonly isReceiveTeleportedAsset: boolean;3122 readonly asReceiveTeleportedAsset: {3123 readonly assets: XcmV1MultiassetMultiAssets;3124 readonly effects: Vec<XcmV1Order>;3125 } & Struct;3126 readonly isQueryResponse: boolean;3127 readonly asQueryResponse: {3128 readonly queryId: Compact<u64>;3129 readonly response: XcmV1Response;3130 } & Struct;3131 readonly isTransferAsset: boolean;3132 readonly asTransferAsset: {3133 readonly assets: XcmV1MultiassetMultiAssets;3134 readonly beneficiary: XcmV1MultiLocation;3135 } & Struct;3136 readonly isTransferReserveAsset: boolean;3137 readonly asTransferReserveAsset: {3138 readonly assets: XcmV1MultiassetMultiAssets;3139 readonly dest: XcmV1MultiLocation;3140 readonly effects: Vec<XcmV1Order>;3141 } & Struct;3142 readonly isTransact: boolean;3143 readonly asTransact: {3144 readonly originType: XcmV0OriginKind;3145 readonly requireWeightAtMost: u64;3146 readonly call: XcmDoubleEncoded;3147 } & Struct;3148 readonly isHrmpNewChannelOpenRequest: boolean;3149 readonly asHrmpNewChannelOpenRequest: {3150 readonly sender: Compact<u32>;3151 readonly maxMessageSize: Compact<u32>;3152 readonly maxCapacity: Compact<u32>;3153 } & Struct;3154 readonly isHrmpChannelAccepted: boolean;3155 readonly asHrmpChannelAccepted: {3156 readonly recipient: Compact<u32>;3157 } & Struct;3158 readonly isHrmpChannelClosing: boolean;3159 readonly asHrmpChannelClosing: {3160 readonly initiator: Compact<u32>;3161 readonly sender: Compact<u32>;3162 readonly recipient: Compact<u32>;3163 } & Struct;3164 readonly isRelayedFrom: boolean;3165 readonly asRelayedFrom: {3166 readonly who: XcmV1MultilocationJunctions;3167 readonly message: XcmV1Xcm;3168 } & Struct;3169 readonly isSubscribeVersion: boolean;3170 readonly asSubscribeVersion: {3171 readonly queryId: Compact<u64>;3172 readonly maxResponseWeight: Compact<u64>;3173 } & Struct;3174 readonly isUnsubscribeVersion: boolean;3175 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3176}31773178/** @name XcmV2Instruction */3179export interface XcmV2Instruction extends Enum {3180 readonly isWithdrawAsset: boolean;3181 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3182 readonly isReserveAssetDeposited: boolean;3183 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3184 readonly isReceiveTeleportedAsset: boolean;3185 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3186 readonly isQueryResponse: boolean;3187 readonly asQueryResponse: {3188 readonly queryId: Compact<u64>;3189 readonly response: XcmV2Response;3190 readonly maxWeight: Compact<u64>;3191 } & Struct;3192 readonly isTransferAsset: boolean;3193 readonly asTransferAsset: {3194 readonly assets: XcmV1MultiassetMultiAssets;3195 readonly beneficiary: XcmV1MultiLocation;3196 } & Struct;3197 readonly isTransferReserveAsset: boolean;3198 readonly asTransferReserveAsset: {3199 readonly assets: XcmV1MultiassetMultiAssets;3200 readonly dest: XcmV1MultiLocation;3201 readonly xcm: XcmV2Xcm;3202 } & Struct;3203 readonly isTransact: boolean;3204 readonly asTransact: {3205 readonly originType: XcmV0OriginKind;3206 readonly requireWeightAtMost: Compact<u64>;3207 readonly call: XcmDoubleEncoded;3208 } & Struct;3209 readonly isHrmpNewChannelOpenRequest: boolean;3210 readonly asHrmpNewChannelOpenRequest: {3211 readonly sender: Compact<u32>;3212 readonly maxMessageSize: Compact<u32>;3213 readonly maxCapacity: Compact<u32>;3214 } & Struct;3215 readonly isHrmpChannelAccepted: boolean;3216 readonly asHrmpChannelAccepted: {3217 readonly recipient: Compact<u32>;3218 } & Struct;3219 readonly isHrmpChannelClosing: boolean;3220 readonly asHrmpChannelClosing: {3221 readonly initiator: Compact<u32>;3222 readonly sender: Compact<u32>;3223 readonly recipient: Compact<u32>;3224 } & Struct;3225 readonly isClearOrigin: boolean;3226 readonly isDescendOrigin: boolean;3227 readonly asDescendOrigin: XcmV1MultilocationJunctions;3228 readonly isReportError: boolean;3229 readonly asReportError: {3230 readonly queryId: Compact<u64>;3231 readonly dest: XcmV1MultiLocation;3232 readonly maxResponseWeight: Compact<u64>;3233 } & Struct;3234 readonly isDepositAsset: boolean;3235 readonly asDepositAsset: {3236 readonly assets: XcmV1MultiassetMultiAssetFilter;3237 readonly maxAssets: Compact<u32>;3238 readonly beneficiary: XcmV1MultiLocation;3239 } & Struct;3240 readonly isDepositReserveAsset: boolean;3241 readonly asDepositReserveAsset: {3242 readonly assets: XcmV1MultiassetMultiAssetFilter;3243 readonly maxAssets: Compact<u32>;3244 readonly dest: XcmV1MultiLocation;3245 readonly xcm: XcmV2Xcm;3246 } & Struct;3247 readonly isExchangeAsset: boolean;3248 readonly asExchangeAsset: {3249 readonly give: XcmV1MultiassetMultiAssetFilter;3250 readonly receive: XcmV1MultiassetMultiAssets;3251 } & Struct;3252 readonly isInitiateReserveWithdraw: boolean;3253 readonly asInitiateReserveWithdraw: {3254 readonly assets: XcmV1MultiassetMultiAssetFilter;3255 readonly reserve: XcmV1MultiLocation;3256 readonly xcm: XcmV2Xcm;3257 } & Struct;3258 readonly isInitiateTeleport: boolean;3259 readonly asInitiateTeleport: {3260 readonly assets: XcmV1MultiassetMultiAssetFilter;3261 readonly dest: XcmV1MultiLocation;3262 readonly xcm: XcmV2Xcm;3263 } & Struct;3264 readonly isQueryHolding: boolean;3265 readonly asQueryHolding: {3266 readonly queryId: Compact<u64>;3267 readonly dest: XcmV1MultiLocation;3268 readonly assets: XcmV1MultiassetMultiAssetFilter;3269 readonly maxResponseWeight: Compact<u64>;3270 } & Struct;3271 readonly isBuyExecution: boolean;3272 readonly asBuyExecution: {3273 readonly fees: XcmV1MultiAsset;3274 readonly weightLimit: XcmV2WeightLimit;3275 } & Struct;3276 readonly isRefundSurplus: boolean;3277 readonly isSetErrorHandler: boolean;3278 readonly asSetErrorHandler: XcmV2Xcm;3279 readonly isSetAppendix: boolean;3280 readonly asSetAppendix: XcmV2Xcm;3281 readonly isClearError: boolean;3282 readonly isClaimAsset: boolean;3283 readonly asClaimAsset: {3284 readonly assets: XcmV1MultiassetMultiAssets;3285 readonly ticket: XcmV1MultiLocation;3286 } & Struct;3287 readonly isTrap: boolean;3288 readonly asTrap: Compact<u64>;3289 readonly isSubscribeVersion: boolean;3290 readonly asSubscribeVersion: {3291 readonly queryId: Compact<u64>;3292 readonly maxResponseWeight: Compact<u64>;3293 } & Struct;3294 readonly isUnsubscribeVersion: boolean;3295 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';3296}32973298/** @name XcmV2Response */3299export interface XcmV2Response extends Enum {3300 readonly isNull: boolean;3301 readonly isAssets: boolean;3302 readonly asAssets: XcmV1MultiassetMultiAssets;3303 readonly isExecutionResult: boolean;3304 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3305 readonly isVersion: boolean;3306 readonly asVersion: u32;3307 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3308}33093310/** @name XcmV2TraitsError */3311export interface XcmV2TraitsError extends Enum {3312 readonly isOverflow: boolean;3313 readonly isUnimplemented: boolean;3314 readonly isUntrustedReserveLocation: boolean;3315 readonly isUntrustedTeleportLocation: boolean;3316 readonly isMultiLocationFull: boolean;3317 readonly isMultiLocationNotInvertible: boolean;3318 readonly isBadOrigin: boolean;3319 readonly isInvalidLocation: boolean;3320 readonly isAssetNotFound: boolean;3321 readonly isFailedToTransactAsset: boolean;3322 readonly isNotWithdrawable: boolean;3323 readonly isLocationCannotHold: boolean;3324 readonly isExceedsMaxMessageSize: boolean;3325 readonly isDestinationUnsupported: boolean;3326 readonly isTransport: boolean;3327 readonly isUnroutable: boolean;3328 readonly isUnknownClaim: boolean;3329 readonly isFailedToDecode: boolean;3330 readonly isMaxWeightInvalid: boolean;3331 readonly isNotHoldingFees: boolean;3332 readonly isTooExpensive: boolean;3333 readonly isTrap: boolean;3334 readonly asTrap: u64;3335 readonly isUnhandledXcmVersion: boolean;3336 readonly isWeightLimitReached: boolean;3337 readonly asWeightLimitReached: u64;3338 readonly isBarrier: boolean;3339 readonly isWeightNotComputable: boolean;3340 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';3341}33423343/** @name XcmV2TraitsOutcome */3344export interface XcmV2TraitsOutcome extends Enum {3345 readonly isComplete: boolean;3346 readonly asComplete: u64;3347 readonly isIncomplete: boolean;3348 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3349 readonly isError: boolean;3350 readonly asError: XcmV2TraitsError;3351 readonly type: 'Complete' | 'Incomplete' | 'Error';3352}33533354/** @name XcmV2WeightLimit */3355export interface XcmV2WeightLimit extends Enum {3356 readonly isUnlimited: boolean;3357 readonly isLimited: boolean;3358 readonly asLimited: Compact<u64>;3359 readonly type: 'Unlimited' | 'Limited';3360}33613362/** @name XcmV2Xcm */3363export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}33643365/** @name XcmVersionedMultiAssets */3366export interface XcmVersionedMultiAssets extends Enum {3367 readonly isV0: boolean;3368 readonly asV0: Vec<XcmV0MultiAsset>;3369 readonly isV1: boolean;3370 readonly asV1: XcmV1MultiassetMultiAssets;3371 readonly type: 'V0' | 'V1';3372}33733374/** @name XcmVersionedMultiLocation */3375export interface XcmVersionedMultiLocation extends Enum {3376 readonly isV0: boolean;3377 readonly asV0: XcmV0MultiLocation;3378 readonly isV1: boolean;3379 readonly asV1: XcmV1MultiLocation;3380 readonly type: 'V0' | 'V1';3381}33823383/** @name XcmVersionedXcm */3384export interface XcmVersionedXcm extends Enum {3385 readonly isV0: boolean;3386 readonly asV0: XcmV0Xcm;3387 readonly isV1: boolean;3388 readonly asV1: XcmV1Xcm;3389 readonly isV2: boolean;3390 readonly asV2: XcmV2Xcm;3391 readonly type: 'V0' | 'V1' | 'V2';3392}33933394export type PHANTOM_DEFAULT = 'default';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.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -10,62 +10,67 @@
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
-declare module '@polkadot/types/lookup' {
- /** @name FrameSystemAccountInfo (3) */
- interface FrameSystemAccountInfo extends Struct {
- readonly nonce: u32;
- readonly consumers: u32;
- readonly providers: u32;
- readonly sufficients: u32;
- readonly data: PalletBalancesAccountData;
+ /** @name PolkadotPrimitivesV2PersistedValidationData (2) */
+ export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
+ readonly parentHead: Bytes;
+ readonly relayParentNumber: u32;
+ readonly relayParentStorageRoot: H256;
+ readonly maxPovSize: u32;
}
- /** @name PalletBalancesAccountData (5) */
- interface PalletBalancesAccountData extends Struct {
- readonly free: u128;
- readonly reserved: u128;
- readonly miscFrozen: u128;
- readonly feeFrozen: u128;
+ /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */
+ export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
+ readonly isPresent: boolean;
+ readonly type: 'Present';
+ }
+
+ /** @name SpTrieStorageProof (10) */
+ export interface SpTrieStorageProof extends Struct {
+ readonly trieNodes: BTreeSet<Bytes>;
}
- /** @name FrameSupportWeightsPerDispatchClassU64 (7) */
- interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
- readonly normal: u64;
- readonly operational: u64;
- readonly mandatory: u64;
+ /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */
+ export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
+ readonly dmqMqcHead: H256;
+ readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
+ readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
+ readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
}
- /** @name SpRuntimeDigest (11) */
- interface SpRuntimeDigest extends Struct {
- readonly logs: Vec<SpRuntimeDigestDigestItem>;
+ /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */
+ export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
+ readonly maxCapacity: u32;
+ readonly maxTotalSize: u32;
+ readonly maxMessageSize: u32;
+ readonly msgCount: u32;
+ readonly totalSize: u32;
+ readonly mqcHead: Option<H256>;
}
- /** @name SpRuntimeDigestDigestItem (13) */
- interface SpRuntimeDigestDigestItem extends Enum {
- readonly isOther: boolean;
- readonly asOther: Bytes;
- readonly isConsensus: boolean;
- readonly asConsensus: ITuple<[U8aFixed, Bytes]>;
- readonly isSeal: boolean;
- readonly asSeal: ITuple<[U8aFixed, Bytes]>;
- readonly isPreRuntime: boolean;
- readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;
- readonly isRuntimeEnvironmentUpdated: boolean;
- readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
+ /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */
+ export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
+ readonly maxCodeSize: u32;
+ readonly maxHeadDataSize: u32;
+ readonly maxUpwardQueueCount: u32;
+ readonly maxUpwardQueueSize: u32;
+ readonly maxUpwardMessageSize: u32;
+ readonly maxUpwardMessageNumPerCandidate: u32;
+ readonly hrmpMaxMessageNumPerCandidate: u32;
+ readonly validationUpgradeCooldown: u32;
+ readonly validationUpgradeDelay: u32;
}
- /** @name FrameSystemEventRecord (16) */
- interface FrameSystemEventRecord extends Struct {
- readonly phase: FrameSystemPhase;
- readonly event: Event;
- readonly topics: Vec<H256>;
+ /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */
+ export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
+ readonly recipient: u32;
+ readonly data: Bytes;
}
- /** @name FrameSystemEvent (18) */
- interface FrameSystemEvent extends Enum {
- readonly isExtrinsicSuccess: boolean;
- readonly asExtrinsicSuccess: {
- readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
+ /** @name CumulusPalletParachainSystemCall (28) */
+ export interface CumulusPalletParachainSystemCall extends Enum {
+ readonly isSetValidationData: boolean;
+ readonly asSetValidationData: {
+ readonly data: CumulusPrimitivesParachainInherentParachainInherentData;
} & Struct;
readonly isExtrinsicFailed: boolean;
readonly asExtrinsicFailed: {
@@ -89,82 +94,28 @@
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
}
- /** @name FrameSupportWeightsDispatchInfo (19) */
- interface FrameSupportWeightsDispatchInfo extends Struct {
- readonly weight: u64;
- readonly class: FrameSupportWeightsDispatchClass;
- readonly paysFee: FrameSupportWeightsPays;
+ /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */
+ export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
+ readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
+ readonly relayChainState: SpTrieStorageProof;
+ readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
+ readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
}
- /** @name FrameSupportWeightsDispatchClass (20) */
- interface FrameSupportWeightsDispatchClass extends Enum {
- readonly isNormal: boolean;
- readonly isOperational: boolean;
- readonly isMandatory: boolean;
- readonly type: 'Normal' | 'Operational' | 'Mandatory';
+ /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */
+ export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
+ readonly sentAt: u32;
+ readonly msg: Bytes;
}
- /** @name FrameSupportWeightsPays (21) */
- interface FrameSupportWeightsPays extends Enum {
- readonly isYes: boolean;
- readonly isNo: boolean;
- readonly type: 'Yes' | 'No';
+ /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */
+ export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
+ readonly sentAt: u32;
+ readonly data: Bytes;
}
- /** @name SpRuntimeDispatchError (22) */
- interface SpRuntimeDispatchError extends Enum {
- readonly isOther: boolean;
- readonly isCannotLookup: boolean;
- readonly isBadOrigin: boolean;
- readonly isModule: boolean;
- readonly asModule: SpRuntimeModuleError;
- readonly isConsumerRemaining: boolean;
- readonly isNoProviders: boolean;
- readonly isTooManyConsumers: boolean;
- readonly isToken: boolean;
- readonly asToken: SpRuntimeTokenError;
- readonly isArithmetic: boolean;
- readonly asArithmetic: SpRuntimeArithmeticError;
- readonly isTransactional: boolean;
- readonly asTransactional: SpRuntimeTransactionalError;
- readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
- }
-
- /** @name SpRuntimeModuleError (23) */
- interface SpRuntimeModuleError extends Struct {
- readonly index: u8;
- readonly error: U8aFixed;
- }
-
- /** @name SpRuntimeTokenError (24) */
- interface SpRuntimeTokenError extends Enum {
- readonly isNoFunds: boolean;
- readonly isWouldDie: boolean;
- readonly isBelowMinimum: boolean;
- readonly isCannotCreate: boolean;
- readonly isUnknownAsset: boolean;
- readonly isFrozen: boolean;
- readonly isUnsupported: boolean;
- readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
- }
-
- /** @name SpRuntimeArithmeticError (25) */
- interface SpRuntimeArithmeticError extends Enum {
- readonly isUnderflow: boolean;
- readonly isOverflow: boolean;
- readonly isDivisionByZero: boolean;
- readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
- }
-
- /** @name SpRuntimeTransactionalError (26) */
- interface SpRuntimeTransactionalError extends Enum {
- readonly isLimitReached: boolean;
- readonly isNoLayer: boolean;
- readonly type: 'LimitReached' | 'NoLayer';
- }
-
- /** @name CumulusPalletParachainSystemEvent (27) */
- interface CumulusPalletParachainSystemEvent extends Enum {
+ /** @name CumulusPalletParachainSystemEvent (37) */
+ export interface CumulusPalletParachainSystemEvent extends Enum {
readonly isValidationFunctionStored: boolean;
readonly isValidationFunctionApplied: boolean;
readonly asValidationFunctionApplied: {
@@ -187,8 +138,94 @@
readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';
}
- /** @name PalletBalancesEvent (28) */
- interface PalletBalancesEvent extends Enum {
+ /** @name CumulusPalletParachainSystemError (38) */
+ export interface CumulusPalletParachainSystemError extends Enum {
+ readonly isOverlappingUpgrades: boolean;
+ readonly isProhibitedByPolkadot: boolean;
+ readonly isTooBig: boolean;
+ readonly isValidationDataNotAvailable: boolean;
+ readonly isHostConfigurationNotAvailable: boolean;
+ readonly isNotScheduled: boolean;
+ readonly isNothingAuthorized: boolean;
+ readonly isUnauthorized: boolean;
+ readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
+ }
+
+ /** @name PalletBalancesAccountData (41) */
+ export interface PalletBalancesAccountData extends Struct {
+ readonly free: u128;
+ readonly reserved: u128;
+ readonly miscFrozen: u128;
+ readonly feeFrozen: u128;
+ }
+
+ /** @name PalletBalancesBalanceLock (43) */
+ export interface PalletBalancesBalanceLock extends Struct {
+ readonly id: U8aFixed;
+ readonly amount: u128;
+ readonly reasons: PalletBalancesReasons;
+ }
+
+ /** @name PalletBalancesReasons (45) */
+ export interface PalletBalancesReasons extends Enum {
+ readonly isFee: boolean;
+ readonly isMisc: boolean;
+ readonly isAll: boolean;
+ readonly type: 'Fee' | 'Misc' | 'All';
+ }
+
+ /** @name PalletBalancesReserveData (48) */
+ export interface PalletBalancesReserveData extends Struct {
+ readonly id: U8aFixed;
+ readonly amount: u128;
+ }
+
+ /** @name PalletBalancesReleases (51) */
+ export interface PalletBalancesReleases extends Enum {
+ readonly isV100: boolean;
+ readonly isV200: boolean;
+ readonly type: 'V100' | 'V200';
+ }
+
+ /** @name PalletBalancesCall (52) */
+ export interface PalletBalancesCall extends Enum {
+ readonly isTransfer: boolean;
+ readonly asTransfer: {
+ readonly dest: MultiAddress;
+ readonly value: Compact<u128>;
+ } & Struct;
+ readonly isSetBalance: boolean;
+ readonly asSetBalance: {
+ readonly who: MultiAddress;
+ readonly newFree: Compact<u128>;
+ readonly newReserved: Compact<u128>;
+ } & Struct;
+ readonly isForceTransfer: boolean;
+ readonly asForceTransfer: {
+ readonly source: MultiAddress;
+ readonly dest: MultiAddress;
+ readonly value: Compact<u128>;
+ } & Struct;
+ readonly isTransferKeepAlive: boolean;
+ readonly asTransferKeepAlive: {
+ readonly dest: MultiAddress;
+ readonly value: Compact<u128>;
+ } & Struct;
+ readonly isTransferAll: boolean;
+ readonly asTransferAll: {
+ readonly dest: MultiAddress;
+ readonly keepAlive: bool;
+ } & Struct;
+ readonly isForceUnreserve: boolean;
+ readonly asForceUnreserve: {
+ readonly who: MultiAddress;
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
+ }
+
+ /** @name PalletBalancesEvent (58) */
+ export interface PalletBalancesEvent extends Enum {
readonly isEndowed: boolean;
readonly asEndowed: {
readonly account: AccountId32;
@@ -246,26 +283,74 @@
readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';
}
- /** @name FrameSupportTokensMiscBalanceStatus (29) */
- interface FrameSupportTokensMiscBalanceStatus extends Enum {
+ /** @name FrameSupportTokensMiscBalanceStatus (59) */
+ export interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
readonly isReserved: boolean;
readonly type: 'Free' | 'Reserved';
}
- /** @name PalletTransactionPaymentEvent (30) */
- interface PalletTransactionPaymentEvent extends Enum {
- readonly isTransactionFeePaid: boolean;
- readonly asTransactionFeePaid: {
- readonly who: AccountId32;
- readonly actualFee: u128;
- readonly tip: u128;
+ /** @name PalletBalancesError (60) */
+ export interface PalletBalancesError extends Enum {
+ readonly isVestingBalance: boolean;
+ readonly isLiquidityRestrictions: boolean;
+ readonly isInsufficientBalance: boolean;
+ readonly isExistentialDeposit: boolean;
+ readonly isKeepAlive: boolean;
+ readonly isExistingVestingSchedule: boolean;
+ readonly isDeadAccount: boolean;
+ readonly isTooManyReserves: boolean;
+ readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
+ }
+
+ /** @name PalletTimestampCall (63) */
+ export interface PalletTimestampCall extends Enum {
+ readonly isSet: boolean;
+ readonly asSet: {
+ readonly now: Compact<u64>;
} & Struct;
- readonly type: 'TransactionFeePaid';
+ readonly type: 'Set';
+ }
+
+ /** @name PalletTransactionPaymentReleases (66) */
+ export interface PalletTransactionPaymentReleases extends Enum {
+ readonly isV1Ancient: boolean;
+ readonly isV2: boolean;
+ readonly type: 'V1Ancient' | 'V2';
}
- /** @name PalletTreasuryEvent (31) */
- interface PalletTreasuryEvent extends Enum {
+ /** @name PalletTreasuryProposal (67) */
+ export interface PalletTreasuryProposal extends Struct {
+ readonly proposer: AccountId32;
+ readonly value: u128;
+ readonly beneficiary: AccountId32;
+ readonly bond: u128;
+ }
+
+ /** @name PalletTreasuryCall (70) */
+ export interface PalletTreasuryCall extends Enum {
+ readonly isProposeSpend: boolean;
+ readonly asProposeSpend: {
+ readonly value: Compact<u128>;
+ readonly beneficiary: MultiAddress;
+ } & Struct;
+ readonly isRejectProposal: boolean;
+ readonly asRejectProposal: {
+ readonly proposalId: Compact<u32>;
+ } & Struct;
+ readonly isApproveProposal: boolean;
+ readonly asApproveProposal: {
+ readonly proposalId: Compact<u32>;
+ } & Struct;
+ readonly isRemoveApproval: boolean;
+ readonly asRemoveApproval: {
+ readonly proposalId: Compact<u32>;
+ } & Struct;
+ readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'RemoveApproval';
+ }
+
+ /** @name PalletTreasuryEvent (72) */
+ export interface PalletTreasuryEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: {
readonly proposalIndex: u32;
@@ -297,39 +382,93 @@
readonly asDeposit: {
readonly value: u128;
} & Struct;
- readonly isSpendApproved: boolean;
- readonly asSpendApproved: {
- readonly proposalIndex: u32;
- readonly amount: u128;
- readonly beneficiary: AccountId32;
+ readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';
+ }
+
+ /** @name FrameSupportPalletId (75) */
+ export interface FrameSupportPalletId extends U8aFixed {}
+
+ /** @name PalletTreasuryError (76) */
+ export interface PalletTreasuryError extends Enum {
+ readonly isInsufficientProposersBalance: boolean;
+ readonly isInvalidIndex: boolean;
+ readonly isTooManyApprovals: boolean;
+ readonly isProposalNotApproved: boolean;
+ readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'ProposalNotApproved';
+ }
+
+ /** @name PalletSudoCall (77) */
+ export interface PalletSudoCall extends Enum {
+ readonly isSudo: boolean;
+ readonly asSudo: {
+ readonly call: Call;
+ } & Struct;
+ readonly isSudoUncheckedWeight: boolean;
+ readonly asSudoUncheckedWeight: {
+ readonly call: Call;
+ readonly weight: u64;
} & Struct;
+ readonly isSetKey: boolean;
+ readonly asSetKey: {
+ readonly new_: MultiAddress;
+ } & Struct;
+ readonly isSudoAs: boolean;
+ readonly asSudoAs: {
+ readonly who: MultiAddress;
+ readonly call: Call;
+ } & Struct;
readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';
}
- /** @name PalletSudoEvent (32) */
- interface PalletSudoEvent extends Enum {
- readonly isSudid: boolean;
- readonly asSudid: {
- readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
+ /** @name FrameSystemCall (79) */
+ export interface FrameSystemCall extends Enum {
+ readonly isFillBlock: boolean;
+ readonly asFillBlock: {
+ readonly ratio: Perbill;
} & Struct;
- readonly isKeyChanged: boolean;
- readonly asKeyChanged: {
- readonly oldSudoer: Option<AccountId32>;
+ readonly isRemark: boolean;
+ readonly asRemark: {
+ readonly remark: Bytes;
} & Struct;
- readonly isSudoAsDone: boolean;
- readonly asSudoAsDone: {
- readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
+ readonly isSetHeapPages: boolean;
+ readonly asSetHeapPages: {
+ readonly pages: u64;
} & Struct;
- readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
+ readonly isSetCode: boolean;
+ readonly asSetCode: {
+ readonly code: Bytes;
+ } & Struct;
+ readonly isSetCodeWithoutChecks: boolean;
+ readonly asSetCodeWithoutChecks: {
+ readonly code: Bytes;
+ } & Struct;
+ readonly isSetStorage: boolean;
+ readonly asSetStorage: {
+ readonly items: Vec<ITuple<[Bytes, Bytes]>>;
+ } & Struct;
+ readonly isKillStorage: boolean;
+ readonly asKillStorage: {
+ readonly keys_: Vec<Bytes>;
+ } & Struct;
+ readonly isKillPrefix: boolean;
+ readonly asKillPrefix: {
+ readonly prefix: Bytes;
+ readonly subkeys: u32;
+ } & Struct;
+ readonly isRemarkWithEvent: boolean;
+ readonly asRemarkWithEvent: {
+ readonly remark: Bytes;
+ } & Struct;
+ readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
}
- /** @name OrmlVestingModuleEvent (36) */
- interface OrmlVestingModuleEvent extends Enum {
- readonly isVestingScheduleAdded: boolean;
- readonly asVestingScheduleAdded: {
- readonly from: AccountId32;
- readonly to: AccountId32;
- readonly vestingSchedule: OrmlVestingVestingSchedule;
+ /** @name OrmlVestingModuleCall (83) */
+ export interface OrmlVestingModuleCall extends Enum {
+ readonly isClaim: boolean;
+ readonly isVestedTransfer: boolean;
+ readonly asVestedTransfer: {
+ readonly dest: MultiAddress;
+ readonly schedule: OrmlVestingVestingSchedule;
} & Struct;
readonly isClaimed: boolean;
readonly asClaimed: {
@@ -343,20 +482,20 @@
readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
}
- /** @name OrmlVestingVestingSchedule (37) */
- interface OrmlVestingVestingSchedule extends Struct {
+ /** @name OrmlVestingVestingSchedule (84) */
+ export interface OrmlVestingVestingSchedule extends Struct {
readonly start: u32;
readonly period: u32;
readonly periodCount: u32;
readonly perPeriod: Compact<u128>;
}
- /** @name CumulusPalletXcmpQueueEvent (39) */
- interface CumulusPalletXcmpQueueEvent extends Enum {
- readonly isSuccess: boolean;
- readonly asSuccess: {
- readonly messageHash: Option<H256>;
- readonly weight: u64;
+ /** @name CumulusPalletXcmpQueueCall (86) */
+ export interface CumulusPalletXcmpQueueCall extends Enum {
+ readonly isServiceOverweight: boolean;
+ readonly asServiceOverweight: {
+ readonly index: u64;
+ readonly weightLimit: u64;
} & Struct;
readonly isFail: boolean;
readonly asFail: {
@@ -395,117 +534,102 @@
readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name XcmV2TraitsError (41) */
- interface XcmV2TraitsError extends Enum {
- readonly isOverflow: boolean;
- readonly isUnimplemented: boolean;
- readonly isUntrustedReserveLocation: boolean;
- readonly isUntrustedTeleportLocation: boolean;
- readonly isMultiLocationFull: boolean;
- readonly isMultiLocationNotInvertible: boolean;
- readonly isBadOrigin: boolean;
- readonly isInvalidLocation: boolean;
- readonly isAssetNotFound: boolean;
- readonly isFailedToTransactAsset: boolean;
- readonly isNotWithdrawable: boolean;
- readonly isLocationCannotHold: boolean;
- readonly isExceedsMaxMessageSize: boolean;
- readonly isDestinationUnsupported: boolean;
- readonly isTransport: boolean;
- readonly isUnroutable: boolean;
- readonly isUnknownClaim: boolean;
- readonly isFailedToDecode: boolean;
- readonly isMaxWeightInvalid: boolean;
- readonly isNotHoldingFees: boolean;
- readonly isTooExpensive: boolean;
- readonly isTrap: boolean;
- readonly asTrap: u64;
- readonly isUnhandledXcmVersion: boolean;
- readonly isWeightLimitReached: boolean;
- readonly asWeightLimitReached: u64;
- readonly isBarrier: boolean;
- readonly isWeightNotComputable: boolean;
- 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';
+ /** @name PalletXcmCall (87) */
+ export interface PalletXcmCall extends Enum {
+ readonly isSend: boolean;
+ readonly asSend: {
+ readonly dest: XcmVersionedMultiLocation;
+ readonly message: XcmVersionedXcm;
+ } & Struct;
+ readonly isTeleportAssets: boolean;
+ readonly asTeleportAssets: {
+ readonly dest: XcmVersionedMultiLocation;
+ readonly beneficiary: XcmVersionedMultiLocation;
+ readonly assets: XcmVersionedMultiAssets;
+ readonly feeAssetItem: u32;
+ } & Struct;
+ readonly isReserveTransferAssets: boolean;
+ readonly asReserveTransferAssets: {
+ readonly dest: XcmVersionedMultiLocation;
+ readonly beneficiary: XcmVersionedMultiLocation;
+ readonly assets: XcmVersionedMultiAssets;
+ readonly feeAssetItem: u32;
+ } & Struct;
+ readonly isExecute: boolean;
+ readonly asExecute: {
+ readonly message: XcmVersionedXcm;
+ readonly maxWeight: u64;
+ } & Struct;
+ readonly isForceXcmVersion: boolean;
+ readonly asForceXcmVersion: {
+ readonly location: XcmV1MultiLocation;
+ readonly xcmVersion: u32;
+ } & Struct;
+ readonly isForceDefaultXcmVersion: boolean;
+ readonly asForceDefaultXcmVersion: {
+ readonly maybeXcmVersion: Option<u32>;
+ } & Struct;
+ readonly isForceSubscribeVersionNotify: boolean;
+ readonly asForceSubscribeVersionNotify: {
+ readonly location: XcmVersionedMultiLocation;
+ } & Struct;
+ readonly isForceUnsubscribeVersionNotify: boolean;
+ readonly asForceUnsubscribeVersionNotify: {
+ readonly location: XcmVersionedMultiLocation;
+ } & Struct;
+ readonly isLimitedReserveTransferAssets: boolean;
+ readonly asLimitedReserveTransferAssets: {
+ readonly dest: XcmVersionedMultiLocation;
+ readonly beneficiary: XcmVersionedMultiLocation;
+ readonly assets: XcmVersionedMultiAssets;
+ readonly feeAssetItem: u32;
+ readonly weightLimit: XcmV2WeightLimit;
+ } & Struct;
+ readonly isLimitedTeleportAssets: boolean;
+ readonly asLimitedTeleportAssets: {
+ readonly dest: XcmVersionedMultiLocation;
+ readonly beneficiary: XcmVersionedMultiLocation;
+ readonly assets: XcmVersionedMultiAssets;
+ readonly feeAssetItem: u32;
+ readonly weightLimit: XcmV2WeightLimit;
+ } & Struct;
+ readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name PalletXcmEvent (43) */
- interface PalletXcmEvent extends Enum {
- readonly isAttempted: boolean;
- readonly asAttempted: XcmV2TraitsOutcome;
- readonly isSent: boolean;
- readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
- readonly isUnexpectedResponse: boolean;
- readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;
- readonly isResponseReady: boolean;
- readonly asResponseReady: ITuple<[u64, XcmV2Response]>;
- readonly isNotified: boolean;
- readonly asNotified: ITuple<[u64, u8, u8]>;
- readonly isNotifyOverweight: boolean;
- readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;
- readonly isNotifyDispatchError: boolean;
- readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;
- readonly isNotifyDecodeFailed: boolean;
- readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;
- readonly isInvalidResponder: boolean;
- readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
- readonly isInvalidResponderVersion: boolean;
- readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;
- readonly isResponseTaken: boolean;
- readonly asResponseTaken: u64;
- readonly isAssetsTrapped: boolean;
- readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
- readonly isVersionChangeNotified: boolean;
- readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;
- readonly isSupportedVersionChanged: boolean;
- readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;
- readonly isNotifyTargetSendFail: boolean;
- readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;
- readonly isNotifyTargetMigrationFail: boolean;
- readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;
- readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
+ /** @name XcmVersionedMultiLocation (88) */
+ export interface XcmVersionedMultiLocation extends Enum {
+ readonly isV0: boolean;
+ readonly asV0: XcmV0MultiLocation;
+ readonly isV1: boolean;
+ readonly asV1: XcmV1MultiLocation;
+ readonly type: 'V0' | 'V1';
}
- /** @name XcmV2TraitsOutcome (44) */
- interface XcmV2TraitsOutcome extends Enum {
- readonly isComplete: boolean;
- readonly asComplete: u64;
- readonly isIncomplete: boolean;
- readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;
- readonly isError: boolean;
- readonly asError: XcmV2TraitsError;
- readonly type: 'Complete' | 'Incomplete' | 'Error';
- }
-
- /** @name XcmV1MultiLocation (45) */
- interface XcmV1MultiLocation extends Struct {
- readonly parents: u8;
- readonly interior: XcmV1MultilocationJunctions;
- }
-
- /** @name XcmV1MultilocationJunctions (46) */
- interface XcmV1MultilocationJunctions extends Enum {
- readonly isHere: boolean;
+ /** @name XcmV0MultiLocation (89) */
+ export interface XcmV0MultiLocation extends Enum {
+ readonly isNull: boolean;
readonly isX1: boolean;
- readonly asX1: XcmV1Junction;
+ readonly asX1: XcmV0Junction;
readonly isX2: boolean;
- readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;
+ readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;
readonly isX3: boolean;
- readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX4: boolean;
- readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX5: boolean;
- readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX6: boolean;
- readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX7: boolean;
- readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX8: boolean;
- readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
- readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
+ readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
+ readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV1Junction (47) */
- interface XcmV1Junction extends Enum {
+ /** @name XcmV0Junction (90) */
+ export interface XcmV0Junction extends Enum {
+ readonly isParent: boolean;
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
@@ -535,11 +659,11 @@
readonly id: XcmV0JunctionBodyId;
readonly part: XcmV0JunctionBodyPart;
} & Struct;
- readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
+ readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmV0JunctionNetworkId (49) */
- interface XcmV0JunctionNetworkId extends Enum {
+ /** @name XcmV0JunctionNetworkId (91) */
+ export interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
@@ -548,8 +672,8 @@
readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
}
- /** @name XcmV0JunctionBodyId (53) */
- interface XcmV0JunctionBodyId extends Enum {
+ /** @name XcmV0JunctionBodyId (92) */
+ export interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
@@ -562,8 +686,8 @@
readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
}
- /** @name XcmV0JunctionBodyPart (54) */
- interface XcmV0JunctionBodyPart extends Enum {
+ /** @name XcmV0JunctionBodyPart (93) */
+ export interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
readonly asMembers: {
@@ -587,12 +711,462 @@
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
- /** @name XcmV2Xcm (55) */
- interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
+ /** @name XcmV1MultiLocation (94) */
+ export interface XcmV1MultiLocation extends Struct {
+ readonly parents: u8;
+ readonly interior: XcmV1MultilocationJunctions;
+ }
+
+ /** @name XcmV1MultilocationJunctions (95) */
+ export interface XcmV1MultilocationJunctions extends Enum {
+ readonly isHere: boolean;
+ readonly isX1: boolean;
+ readonly asX1: XcmV1Junction;
+ readonly isX2: boolean;
+ readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;
+ readonly isX3: boolean;
+ readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly isX4: boolean;
+ readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly isX5: boolean;
+ readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly isX6: boolean;
+ readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly isX7: boolean;
+ readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly isX8: boolean;
+ readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
+ readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
+ }
+
+ /** @name XcmV1Junction (96) */
+ export interface XcmV1Junction extends Enum {
+ readonly isParachain: boolean;
+ readonly asParachain: Compact<u32>;
+ readonly isAccountId32: boolean;
+ readonly asAccountId32: {
+ readonly network: XcmV0JunctionNetworkId;
+ readonly id: U8aFixed;
+ } & Struct;
+ readonly isAccountIndex64: boolean;
+ readonly asAccountIndex64: {
+ readonly network: XcmV0JunctionNetworkId;
+ readonly index: Compact<u64>;
+ } & Struct;
+ readonly isAccountKey20: boolean;
+ readonly asAccountKey20: {
+ readonly network: XcmV0JunctionNetworkId;
+ readonly key: U8aFixed;
+ } & Struct;
+ readonly isPalletInstance: boolean;
+ readonly asPalletInstance: u8;
+ readonly isGeneralIndex: boolean;
+ readonly asGeneralIndex: Compact<u128>;
+ readonly isGeneralKey: boolean;
+ readonly asGeneralKey: Bytes;
+ readonly isOnlyChild: boolean;
+ readonly isPlurality: boolean;
+ readonly asPlurality: {
+ readonly id: XcmV0JunctionBodyId;
+ readonly part: XcmV0JunctionBodyPart;
+ } & Struct;
+ readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
+ }
+
+ /** @name XcmVersionedXcm (97) */
+ export interface XcmVersionedXcm extends Enum {
+ readonly isV0: boolean;
+ readonly asV0: XcmV0Xcm;
+ readonly isV1: boolean;
+ readonly asV1: XcmV1Xcm;
+ readonly isV2: boolean;
+ readonly asV2: XcmV2Xcm;
+ readonly type: 'V0' | 'V1' | 'V2';
+ }
+
+ /** @name XcmV0Xcm (98) */
+ export interface XcmV0Xcm extends Enum {
+ readonly isWithdrawAsset: boolean;
+ readonly asWithdrawAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isReserveAssetDeposit: boolean;
+ readonly asReserveAssetDeposit: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isTeleportAsset: boolean;
+ readonly asTeleportAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isQueryResponse: boolean;
+ readonly asQueryResponse: {
+ readonly queryId: Compact<u64>;
+ readonly response: XcmV0Response;
+ } & Struct;
+ readonly isTransferAsset: boolean;
+ readonly asTransferAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV0MultiLocation;
+ } & Struct;
+ readonly isTransferReserveAsset: boolean;
+ readonly asTransferReserveAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV0MultiLocation;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isTransact: boolean;
+ readonly asTransact: {
+ readonly originType: XcmV0OriginKind;
+ readonly requireWeightAtMost: u64;
+ readonly call: XcmDoubleEncoded;
+ } & Struct;
+ readonly isHrmpNewChannelOpenRequest: boolean;
+ readonly asHrmpNewChannelOpenRequest: {
+ readonly sender: Compact<u32>;
+ readonly maxMessageSize: Compact<u32>;
+ readonly maxCapacity: Compact<u32>;
+ } & Struct;
+ readonly isHrmpChannelAccepted: boolean;
+ readonly asHrmpChannelAccepted: {
+ readonly recipient: Compact<u32>;
+ } & Struct;
+ readonly isHrmpChannelClosing: boolean;
+ readonly asHrmpChannelClosing: {
+ readonly initiator: Compact<u32>;
+ readonly sender: Compact<u32>;
+ readonly recipient: Compact<u32>;
+ } & Struct;
+ readonly isRelayedFrom: boolean;
+ readonly asRelayedFrom: {
+ readonly who: XcmV0MultiLocation;
+ readonly message: XcmV0Xcm;
+ } & Struct;
+ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
+ }
+
+ /** @name XcmV0MultiAsset (100) */
+ export interface XcmV0MultiAsset extends Enum {
+ readonly isNone: boolean;
+ readonly isAll: boolean;
+ readonly isAllFungible: boolean;
+ readonly isAllNonFungible: boolean;
+ readonly isAllAbstractFungible: boolean;
+ readonly asAllAbstractFungible: {
+ readonly id: Bytes;
+ } & Struct;
+ readonly isAllAbstractNonFungible: boolean;
+ readonly asAllAbstractNonFungible: {
+ readonly class: Bytes;
+ } & Struct;
+ readonly isAllConcreteFungible: boolean;
+ readonly asAllConcreteFungible: {
+ readonly id: XcmV0MultiLocation;
+ } & Struct;
+ readonly isAllConcreteNonFungible: boolean;
+ readonly asAllConcreteNonFungible: {
+ readonly class: XcmV0MultiLocation;
+ } & Struct;
+ readonly isAbstractFungible: boolean;
+ readonly asAbstractFungible: {
+ readonly id: Bytes;
+ readonly amount: Compact<u128>;
+ } & Struct;
+ readonly isAbstractNonFungible: boolean;
+ readonly asAbstractNonFungible: {
+ readonly class: Bytes;
+ readonly instance: XcmV1MultiassetAssetInstance;
+ } & Struct;
+ readonly isConcreteFungible: boolean;
+ readonly asConcreteFungible: {
+ readonly id: XcmV0MultiLocation;
+ readonly amount: Compact<u128>;
+ } & Struct;
+ readonly isConcreteNonFungible: boolean;
+ readonly asConcreteNonFungible: {
+ readonly class: XcmV0MultiLocation;
+ readonly instance: XcmV1MultiassetAssetInstance;
+ } & Struct;
+ readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
+ }
+
+ /** @name XcmV1MultiassetAssetInstance (101) */
+ export interface XcmV1MultiassetAssetInstance extends Enum {
+ readonly isUndefined: boolean;
+ readonly isIndex: boolean;
+ readonly asIndex: Compact<u128>;
+ readonly isArray4: boolean;
+ readonly asArray4: U8aFixed;
+ readonly isArray8: boolean;
+ readonly asArray8: U8aFixed;
+ readonly isArray16: boolean;
+ readonly asArray16: U8aFixed;
+ readonly isArray32: boolean;
+ readonly asArray32: U8aFixed;
+ readonly isBlob: boolean;
+ readonly asBlob: Bytes;
+ readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
+ }
+
+ /** @name XcmV0Order (104) */
+ export interface XcmV0Order extends Enum {
+ readonly isNull: boolean;
+ readonly isDepositAsset: boolean;
+ readonly asDepositAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV0MultiLocation;
+ } & Struct;
+ readonly isDepositReserveAsset: boolean;
+ readonly asDepositReserveAsset: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV0MultiLocation;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isExchangeAsset: boolean;
+ readonly asExchangeAsset: {
+ readonly give: Vec<XcmV0MultiAsset>;
+ readonly receive: Vec<XcmV0MultiAsset>;
+ } & Struct;
+ readonly isInitiateReserveWithdraw: boolean;
+ readonly asInitiateReserveWithdraw: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly reserve: XcmV0MultiLocation;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isInitiateTeleport: boolean;
+ readonly asInitiateTeleport: {
+ readonly assets: Vec<XcmV0MultiAsset>;
+ readonly dest: XcmV0MultiLocation;
+ readonly effects: Vec<XcmV0Order>;
+ } & Struct;
+ readonly isQueryHolding: boolean;
+ readonly asQueryHolding: {
+ readonly queryId: Compact<u64>;
+ readonly dest: XcmV0MultiLocation;
+ readonly assets: Vec<XcmV0MultiAsset>;
+ } & Struct;
+ readonly isBuyExecution: boolean;
+ readonly asBuyExecution: {
+ readonly fees: XcmV0MultiAsset;
+ readonly weight: u64;
+ readonly debt: u64;
+ readonly haltOnError: bool;
+ readonly xcm: Vec<XcmV0Xcm>;
+ } & Struct;
+ readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
+ }
+
+ /** @name XcmV0Response (106) */
+ export interface XcmV0Response extends Enum {
+ readonly isAssets: boolean;
+ readonly asAssets: Vec<XcmV0MultiAsset>;
+ readonly type: 'Assets';
+ }
+
+ /** @name XcmV0OriginKind (107) */
+ export interface XcmV0OriginKind extends Enum {
+ readonly isNative: boolean;
+ readonly isSovereignAccount: boolean;
+ readonly isSuperuser: boolean;
+ readonly isXcm: boolean;
+ readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
+ }
+
+ /** @name XcmDoubleEncoded (108) */
+ export interface XcmDoubleEncoded extends Struct {
+ readonly encoded: Bytes;
+ }
- /** @name XcmV2Instruction (57) */
- interface XcmV2Instruction extends Enum {
+ /** @name XcmV1Xcm (109) */
+ export interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
+ readonly asWithdrawAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isReserveAssetDeposited: boolean;
+ readonly asReserveAssetDeposited: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isReceiveTeleportedAsset: boolean;
+ readonly asReceiveTeleportedAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isQueryResponse: boolean;
+ readonly asQueryResponse: {
+ readonly queryId: Compact<u64>;
+ readonly response: XcmV1Response;
+ } & Struct;
+ readonly isTransferAsset: boolean;
+ readonly asTransferAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly beneficiary: XcmV1MultiLocation;
+ } & Struct;
+ readonly isTransferReserveAsset: boolean;
+ readonly asTransferReserveAsset: {
+ readonly assets: XcmV1MultiassetMultiAssets;
+ readonly dest: XcmV1MultiLocation;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isTransact: boolean;
+ readonly asTransact: {
+ readonly originType: XcmV0OriginKind;
+ readonly requireWeightAtMost: u64;
+ readonly call: XcmDoubleEncoded;
+ } & Struct;
+ readonly isHrmpNewChannelOpenRequest: boolean;
+ readonly asHrmpNewChannelOpenRequest: {
+ readonly sender: Compact<u32>;
+ readonly maxMessageSize: Compact<u32>;
+ readonly maxCapacity: Compact<u32>;
+ } & Struct;
+ readonly isHrmpChannelAccepted: boolean;
+ readonly asHrmpChannelAccepted: {
+ readonly recipient: Compact<u32>;
+ } & Struct;
+ readonly isHrmpChannelClosing: boolean;
+ readonly asHrmpChannelClosing: {
+ readonly initiator: Compact<u32>;
+ readonly sender: Compact<u32>;
+ readonly recipient: Compact<u32>;
+ } & Struct;
+ readonly isRelayedFrom: boolean;
+ readonly asRelayedFrom: {
+ readonly who: XcmV1MultilocationJunctions;
+ readonly message: XcmV1Xcm;
+ } & Struct;
+ readonly isSubscribeVersion: boolean;
+ readonly asSubscribeVersion: {
+ readonly queryId: Compact<u64>;
+ readonly maxResponseWeight: Compact<u64>;
+ } & Struct;
+ readonly isUnsubscribeVersion: boolean;
+ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
+ }
+
+ /** @name XcmV1MultiassetMultiAssets (110) */
+ export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
+
+ /** @name XcmV1MultiAsset (112) */
+ export interface XcmV1MultiAsset extends Struct {
+ readonly id: XcmV1MultiassetAssetId;
+ readonly fun: XcmV1MultiassetFungibility;
+ }
+
+ /** @name XcmV1MultiassetAssetId (113) */
+ export interface XcmV1MultiassetAssetId extends Enum {
+ readonly isConcrete: boolean;
+ readonly asConcrete: XcmV1MultiLocation;
+ readonly isAbstract: boolean;
+ readonly asAbstract: Bytes;
+ readonly type: 'Concrete' | 'Abstract';
+ }
+
+ /** @name XcmV1MultiassetFungibility (114) */
+ export interface XcmV1MultiassetFungibility extends Enum {
+ readonly isFungible: boolean;
+ readonly asFungible: Compact<u128>;
+ readonly isNonFungible: boolean;
+ readonly asNonFungible: XcmV1MultiassetAssetInstance;
+ readonly type: 'Fungible' | 'NonFungible';
+ }
+
+ /** @name XcmV1Order (116) */
+ export interface XcmV1Order extends Enum {
+ readonly isNoop: boolean;
+ readonly isDepositAsset: boolean;
+ readonly asDepositAsset: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly maxAssets: u32;
+ readonly beneficiary: XcmV1MultiLocation;
+ } & Struct;
+ readonly isDepositReserveAsset: boolean;
+ readonly asDepositReserveAsset: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly maxAssets: u32;
+ readonly dest: XcmV1MultiLocation;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isExchangeAsset: boolean;
+ readonly asExchangeAsset: {
+ readonly give: XcmV1MultiassetMultiAssetFilter;
+ readonly receive: XcmV1MultiassetMultiAssets;
+ } & Struct;
+ readonly isInitiateReserveWithdraw: boolean;
+ readonly asInitiateReserveWithdraw: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly reserve: XcmV1MultiLocation;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isInitiateTeleport: boolean;
+ readonly asInitiateTeleport: {
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ readonly dest: XcmV1MultiLocation;
+ readonly effects: Vec<XcmV1Order>;
+ } & Struct;
+ readonly isQueryHolding: boolean;
+ readonly asQueryHolding: {
+ readonly queryId: Compact<u64>;
+ readonly dest: XcmV1MultiLocation;
+ readonly assets: XcmV1MultiassetMultiAssetFilter;
+ } & Struct;
+ readonly isBuyExecution: boolean;
+ readonly asBuyExecution: {
+ readonly fees: XcmV1MultiAsset;
+ readonly weight: u64;
+ readonly debt: u64;
+ readonly haltOnError: bool;
+ readonly instructions: Vec<XcmV1Xcm>;
+ } & Struct;
+ readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
+ }
+
+ /** @name XcmV1MultiassetMultiAssetFilter (117) */
+ export interface XcmV1MultiassetMultiAssetFilter extends Enum {
+ readonly isDefinite: boolean;
+ readonly asDefinite: XcmV1MultiassetMultiAssets;
+ readonly isWild: boolean;
+ readonly asWild: XcmV1MultiassetWildMultiAsset;
+ readonly type: 'Definite' | 'Wild';
+ }
+
+ /** @name XcmV1MultiassetWildMultiAsset (118) */
+ export interface XcmV1MultiassetWildMultiAsset extends Enum {
+ readonly isAll: boolean;
+ readonly isAllOf: boolean;
+ readonly asAllOf: {
+ readonly id: XcmV1MultiassetAssetId;
+ readonly fun: XcmV1MultiassetWildFungibility;
+ } & Struct;
+ readonly type: 'All' | 'AllOf';
+ }
+
+ /** @name XcmV1MultiassetWildFungibility (119) */
+ export interface XcmV1MultiassetWildFungibility extends Enum {
+ readonly isFungible: boolean;
+ readonly isNonFungible: boolean;
+ readonly type: 'Fungible' | 'NonFungible';
+ }
+
+ /** @name XcmV1Response (121) */
+ export interface XcmV1Response extends Enum {
+ readonly isAssets: boolean;
+ readonly asAssets: XcmV1MultiassetMultiAssets;
+ readonly isVersion: boolean;
+ readonly asVersion: u32;
+ readonly type: 'Assets' | 'Version';
+ }
+
+ /** @name XcmV2Xcm (122) */
+ export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
+
+ /** @name XcmV2Instruction (124) */
+ export interface XcmV2Instruction extends Enum {
+ readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
readonly isReserveAssetDeposited: boolean;
readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;
@@ -708,55 +1282,10 @@
} & Struct;
readonly isUnsubscribeVersion: boolean;
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';
- }
-
- /** @name XcmV1MultiassetMultiAssets (58) */
- interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
-
- /** @name XcmV1MultiAsset (60) */
- interface XcmV1MultiAsset extends Struct {
- readonly id: XcmV1MultiassetAssetId;
- readonly fun: XcmV1MultiassetFungibility;
}
- /** @name XcmV1MultiassetAssetId (61) */
- interface XcmV1MultiassetAssetId extends Enum {
- readonly isConcrete: boolean;
- readonly asConcrete: XcmV1MultiLocation;
- readonly isAbstract: boolean;
- readonly asAbstract: Bytes;
- readonly type: 'Concrete' | 'Abstract';
- }
-
- /** @name XcmV1MultiassetFungibility (62) */
- interface XcmV1MultiassetFungibility extends Enum {
- readonly isFungible: boolean;
- readonly asFungible: Compact<u128>;
- readonly isNonFungible: boolean;
- readonly asNonFungible: XcmV1MultiassetAssetInstance;
- readonly type: 'Fungible' | 'NonFungible';
- }
-
- /** @name XcmV1MultiassetAssetInstance (63) */
- interface XcmV1MultiassetAssetInstance extends Enum {
- readonly isUndefined: boolean;
- readonly isIndex: boolean;
- readonly asIndex: Compact<u128>;
- readonly isArray4: boolean;
- readonly asArray4: U8aFixed;
- readonly isArray8: boolean;
- readonly asArray8: U8aFixed;
- readonly isArray16: boolean;
- readonly asArray16: U8aFixed;
- readonly isArray32: boolean;
- readonly asArray32: U8aFixed;
- readonly isBlob: boolean;
- readonly asBlob: Bytes;
- readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
- }
-
- /** @name XcmV2Response (66) */
- interface XcmV2Response extends Enum {
+ /** @name XcmV2Response (125) */
+ export interface XcmV2Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -767,57 +1296,49 @@
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
}
- /** @name XcmV0OriginKind (69) */
- interface XcmV0OriginKind extends Enum {
- readonly isNative: boolean;
- readonly isSovereignAccount: boolean;
- readonly isSuperuser: boolean;
- readonly isXcm: boolean;
- readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
- }
-
- /** @name XcmDoubleEncoded (70) */
- interface XcmDoubleEncoded extends Struct {
- readonly encoded: Bytes;
- }
-
- /** @name XcmV1MultiassetMultiAssetFilter (71) */
- interface XcmV1MultiassetMultiAssetFilter extends Enum {
- readonly isDefinite: boolean;
- readonly asDefinite: XcmV1MultiassetMultiAssets;
- readonly isWild: boolean;
- readonly asWild: XcmV1MultiassetWildMultiAsset;
- readonly type: 'Definite' | 'Wild';
- }
-
- /** @name XcmV1MultiassetWildMultiAsset (72) */
- interface XcmV1MultiassetWildMultiAsset extends Enum {
- readonly isAll: boolean;
- readonly isAllOf: boolean;
- readonly asAllOf: {
- readonly id: XcmV1MultiassetAssetId;
- readonly fun: XcmV1MultiassetWildFungibility;
- } & Struct;
- readonly type: 'All' | 'AllOf';
- }
-
- /** @name XcmV1MultiassetWildFungibility (73) */
- interface XcmV1MultiassetWildFungibility extends Enum {
- readonly isFungible: boolean;
- readonly isNonFungible: boolean;
- readonly type: 'Fungible' | 'NonFungible';
+ /** @name XcmV2TraitsError (128) */
+ export interface XcmV2TraitsError extends Enum {
+ readonly isOverflow: boolean;
+ readonly isUnimplemented: boolean;
+ readonly isUntrustedReserveLocation: boolean;
+ readonly isUntrustedTeleportLocation: boolean;
+ readonly isMultiLocationFull: boolean;
+ readonly isMultiLocationNotInvertible: boolean;
+ readonly isBadOrigin: boolean;
+ readonly isInvalidLocation: boolean;
+ readonly isAssetNotFound: boolean;
+ readonly isFailedToTransactAsset: boolean;
+ readonly isNotWithdrawable: boolean;
+ readonly isLocationCannotHold: boolean;
+ readonly isExceedsMaxMessageSize: boolean;
+ readonly isDestinationUnsupported: boolean;
+ readonly isTransport: boolean;
+ readonly isUnroutable: boolean;
+ readonly isUnknownClaim: boolean;
+ readonly isFailedToDecode: boolean;
+ readonly isMaxWeightInvalid: boolean;
+ readonly isNotHoldingFees: boolean;
+ readonly isTooExpensive: boolean;
+ readonly isTrap: boolean;
+ readonly asTrap: u64;
+ readonly isUnhandledXcmVersion: boolean;
+ readonly isWeightLimitReached: boolean;
+ readonly asWeightLimitReached: u64;
+ readonly isBarrier: boolean;
+ readonly isWeightNotComputable: boolean;
+ 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';
}
- /** @name XcmV2WeightLimit (74) */
- interface XcmV2WeightLimit extends Enum {
+ /** @name XcmV2WeightLimit (129) */
+ export interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
readonly asLimited: Compact<u64>;
readonly type: 'Unlimited' | 'Limited';
}
- /** @name XcmVersionedMultiAssets (76) */
- interface XcmVersionedMultiAssets extends Enum {
+ /** @name XcmVersionedMultiAssets (130) */
+ export interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>;
readonly isV1: boolean;
@@ -825,105 +1346,16 @@
readonly type: 'V0' | 'V1';
}
- /** @name XcmV0MultiAsset (78) */
- interface XcmV0MultiAsset extends Enum {
- readonly isNone: boolean;
- readonly isAll: boolean;
- readonly isAllFungible: boolean;
- readonly isAllNonFungible: boolean;
- readonly isAllAbstractFungible: boolean;
- readonly asAllAbstractFungible: {
- readonly id: Bytes;
- } & Struct;
- readonly isAllAbstractNonFungible: boolean;
- readonly asAllAbstractNonFungible: {
- readonly class: Bytes;
- } & Struct;
- readonly isAllConcreteFungible: boolean;
- readonly asAllConcreteFungible: {
- readonly id: XcmV0MultiLocation;
- } & Struct;
- readonly isAllConcreteNonFungible: boolean;
- readonly asAllConcreteNonFungible: {
- readonly class: XcmV0MultiLocation;
- } & Struct;
- readonly isAbstractFungible: boolean;
- readonly asAbstractFungible: {
- readonly id: Bytes;
- readonly amount: Compact<u128>;
- } & Struct;
- readonly isAbstractNonFungible: boolean;
- readonly asAbstractNonFungible: {
- readonly class: Bytes;
- readonly instance: XcmV1MultiassetAssetInstance;
- } & Struct;
- readonly isConcreteFungible: boolean;
- readonly asConcreteFungible: {
- readonly id: XcmV0MultiLocation;
- readonly amount: Compact<u128>;
- } & Struct;
- readonly isConcreteNonFungible: boolean;
- readonly asConcreteNonFungible: {
- readonly class: XcmV0MultiLocation;
- readonly instance: XcmV1MultiassetAssetInstance;
- } & Struct;
- readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
- }
+ /** @name CumulusPalletXcmCall (145) */
+ export type CumulusPalletXcmCall = Null;
- /** @name XcmV0MultiLocation (79) */
- interface XcmV0MultiLocation extends Enum {
- readonly isNull: boolean;
- readonly isX1: boolean;
- readonly asX1: XcmV0Junction;
- readonly isX2: boolean;
- readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;
- readonly isX3: boolean;
- readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX4: boolean;
- readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX5: boolean;
- readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX6: boolean;
- readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX7: boolean;
- readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX8: boolean;
- readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
- }
-
- /** @name XcmV0Junction (80) */
- interface XcmV0Junction extends Enum {
- readonly isParent: boolean;
- readonly isParachain: boolean;
- readonly asParachain: Compact<u32>;
- readonly isAccountId32: boolean;
- readonly asAccountId32: {
- readonly network: XcmV0JunctionNetworkId;
- readonly id: U8aFixed;
+ /** @name CumulusPalletDmpQueueCall (146) */
+ export interface CumulusPalletDmpQueueCall extends Enum {
+ readonly isServiceOverweight: boolean;
+ readonly asServiceOverweight: {
+ readonly index: u64;
+ readonly weightLimit: u64;
} & Struct;
- readonly isAccountIndex64: boolean;
- readonly asAccountIndex64: {
- readonly network: XcmV0JunctionNetworkId;
- readonly index: Compact<u64>;
- } & Struct;
- readonly isAccountKey20: boolean;
- readonly asAccountKey20: {
- readonly network: XcmV0JunctionNetworkId;
- readonly key: U8aFixed;
- } & Struct;
- readonly isPalletInstance: boolean;
- readonly asPalletInstance: u8;
- readonly isGeneralIndex: boolean;
- readonly asGeneralIndex: Compact<u128>;
- readonly isGeneralKey: boolean;
- readonly asGeneralKey: Bytes;
- readonly isOnlyChild: boolean;
- readonly isPlurality: boolean;
- readonly asPlurality: {
- readonly id: XcmV0JunctionBodyId;
- readonly part: XcmV0JunctionBodyPart;
- } & Struct;
readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
@@ -947,16 +1379,51 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
- /** @name CumulusPalletDmpQueueEvent (83) */
- interface CumulusPalletDmpQueueEvent extends Enum {
- readonly isInvalidFormat: boolean;
- readonly asInvalidFormat: {
- readonly messageId: U8aFixed;
+ /** @name PalletInflationCall (147) */
+ export interface PalletInflationCall extends Enum {
+ readonly isStartInflation: boolean;
+ readonly asStartInflation: {
+ readonly inflationStartRelayBlock: u32;
} & Struct;
+<<<<<<< HEAD
readonly isUnsupportedVersion: boolean;
readonly asUnsupportedVersion: {
readonly messageId: U8aFixed;
+=======
+ readonly type: 'StartInflation';
+ }
+
+ /** @name PalletAppPromotionCall (148) */
+ 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 PalletUniqueCall (149) */
+ export interface PalletUniqueCall extends Enum {
+ readonly isCreateCollection: boolean;
+ readonly asCreateCollection: {
+ readonly collectionName: Vec<u16>;
+ readonly collectionDescription: Vec<u16>;
+ readonly tokenPrefix: Bytes;
+ readonly mode: UpDataStructsCollectionMode;
+>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client
+ } & Struct;
readonly isExecutedDownward: boolean;
readonly asExecutedDownward: {
readonly messageId: U8aFixed;
@@ -1095,6 +1562,7 @@
readonly asCollectionDestroyed: {
readonly issuer: AccountId32;
readonly collectionId: u32;
+ readonly newAdmin: PalletEvmAccountBasicCrossAccountIdRepr;
} & Struct;
readonly isIssuerChanged: boolean;
readonly asIssuerChanged: {
@@ -1174,6 +1642,7 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
}
+<<<<<<< HEAD
/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (97) */
interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
readonly isAccountId: boolean;
@@ -1359,889 +1828,10 @@
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
- }
-
- /** @name FrameSystemLimitsWeightsPerClass (126) */
- interface FrameSystemLimitsWeightsPerClass extends Struct {
- readonly baseExtrinsic: u64;
- readonly maxExtrinsic: Option<u64>;
- readonly maxTotal: Option<u64>;
- readonly reserved: Option<u64>;
- }
-
- /** @name FrameSystemLimitsBlockLength (128) */
- interface FrameSystemLimitsBlockLength extends Struct {
- readonly max: FrameSupportWeightsPerDispatchClassU32;
- }
-
- /** @name FrameSupportWeightsPerDispatchClassU32 (129) */
- interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
- readonly normal: u32;
- readonly operational: u32;
- readonly mandatory: u32;
- }
-
- /** @name FrameSupportWeightsRuntimeDbWeight (130) */
- interface FrameSupportWeightsRuntimeDbWeight extends Struct {
- readonly read: u64;
- readonly write: u64;
- }
-
- /** @name SpVersionRuntimeVersion (131) */
- interface SpVersionRuntimeVersion extends Struct {
- readonly specName: Text;
- readonly implName: Text;
- readonly authoringVersion: u32;
- readonly specVersion: u32;
- readonly implVersion: u32;
- readonly apis: Vec<ITuple<[U8aFixed, u32]>>;
- readonly transactionVersion: u32;
- readonly stateVersion: u8;
- }
-
- /** @name FrameSystemError (136) */
- interface FrameSystemError extends Enum {
- readonly isInvalidSpecName: boolean;
- readonly isSpecVersionNeedsToIncrease: boolean;
- readonly isFailedToExtractRuntimeVersion: boolean;
- readonly isNonDefaultComposite: boolean;
- readonly isNonZeroRefCount: boolean;
- readonly isCallFiltered: boolean;
- readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
- }
-
- /** @name PolkadotPrimitivesV2PersistedValidationData (137) */
- interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
- readonly parentHead: Bytes;
- readonly relayParentNumber: u32;
- readonly relayParentStorageRoot: H256;
- readonly maxPovSize: u32;
- }
-
- /** @name PolkadotPrimitivesV2UpgradeRestriction (140) */
- interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
- readonly isPresent: boolean;
- readonly type: 'Present';
- }
-
- /** @name SpTrieStorageProof (141) */
- interface SpTrieStorageProof extends Struct {
- readonly trieNodes: BTreeSet<Bytes>;
- }
-
- /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (143) */
- interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
- readonly dmqMqcHead: H256;
- readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
- readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
- readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
- }
-
- /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (146) */
- interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
- readonly maxCapacity: u32;
- readonly maxTotalSize: u32;
- readonly maxMessageSize: u32;
- readonly msgCount: u32;
- readonly totalSize: u32;
- readonly mqcHead: Option<H256>;
- }
-
- /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (147) */
- interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
- readonly maxCodeSize: u32;
- readonly maxHeadDataSize: u32;
- readonly maxUpwardQueueCount: u32;
- readonly maxUpwardQueueSize: u32;
- readonly maxUpwardMessageSize: u32;
- readonly maxUpwardMessageNumPerCandidate: u32;
- readonly hrmpMaxMessageNumPerCandidate: u32;
- readonly validationUpgradeCooldown: u32;
- readonly validationUpgradeDelay: u32;
- }
-
- /** @name PolkadotCorePrimitivesOutboundHrmpMessage (153) */
- interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
- readonly recipient: u32;
- readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemCall (154) */
- interface CumulusPalletParachainSystemCall extends Enum {
- readonly isSetValidationData: boolean;
- readonly asSetValidationData: {
- readonly data: CumulusPrimitivesParachainInherentParachainInherentData;
- } & Struct;
- readonly isSudoSendUpwardMessage: boolean;
- readonly asSudoSendUpwardMessage: {
- readonly message: Bytes;
- } & Struct;
- readonly isAuthorizeUpgrade: boolean;
- readonly asAuthorizeUpgrade: {
- readonly codeHash: H256;
- } & Struct;
- readonly isEnactAuthorizedUpgrade: boolean;
- readonly asEnactAuthorizedUpgrade: {
- readonly code: Bytes;
- } & Struct;
- readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
- }
-
- /** @name CumulusPrimitivesParachainInherentParachainInherentData (155) */
- interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
- readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
- readonly relayChainState: SpTrieStorageProof;
- readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
- readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
- }
-
- /** @name PolkadotCorePrimitivesInboundDownwardMessage (157) */
- interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
- readonly sentAt: u32;
- readonly msg: Bytes;
- }
-
- /** @name PolkadotCorePrimitivesInboundHrmpMessage (160) */
- interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
- readonly sentAt: u32;
- readonly data: Bytes;
- }
-
- /** @name CumulusPalletParachainSystemError (163) */
- interface CumulusPalletParachainSystemError extends Enum {
- readonly isOverlappingUpgrades: boolean;
- readonly isProhibitedByPolkadot: boolean;
- readonly isTooBig: boolean;
- readonly isValidationDataNotAvailable: boolean;
- readonly isHostConfigurationNotAvailable: boolean;
- readonly isNotScheduled: boolean;
- readonly isNothingAuthorized: boolean;
- readonly isUnauthorized: boolean;
- readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
- }
-
- /** @name PalletBalancesBalanceLock (165) */
- interface PalletBalancesBalanceLock extends Struct {
- readonly id: U8aFixed;
- readonly amount: u128;
- readonly reasons: PalletBalancesReasons;
- }
-
- /** @name PalletBalancesReasons (166) */
- interface PalletBalancesReasons extends Enum {
- readonly isFee: boolean;
- readonly isMisc: boolean;
- readonly isAll: boolean;
- readonly type: 'Fee' | 'Misc' | 'All';
- }
-
- /** @name PalletBalancesReserveData (169) */
- interface PalletBalancesReserveData extends Struct {
- readonly id: U8aFixed;
- readonly amount: u128;
- }
-
- /** @name PalletBalancesReleases (171) */
- interface PalletBalancesReleases extends Enum {
- readonly isV100: boolean;
- readonly isV200: boolean;
- readonly type: 'V100' | 'V200';
- }
-
- /** @name PalletBalancesCall (172) */
- interface PalletBalancesCall extends Enum {
- readonly isTransfer: boolean;
- readonly asTransfer: {
- readonly dest: MultiAddress;
- readonly value: Compact<u128>;
- } & Struct;
- readonly isSetBalance: boolean;
- readonly asSetBalance: {
- readonly who: MultiAddress;
- readonly newFree: Compact<u128>;
- readonly newReserved: Compact<u128>;
- } & Struct;
- readonly isForceTransfer: boolean;
- readonly asForceTransfer: {
- readonly source: MultiAddress;
- readonly dest: MultiAddress;
- readonly value: Compact<u128>;
- } & Struct;
- readonly isTransferKeepAlive: boolean;
- readonly asTransferKeepAlive: {
- readonly dest: MultiAddress;
- readonly value: Compact<u128>;
- } & Struct;
- readonly isTransferAll: boolean;
- readonly asTransferAll: {
- readonly dest: MultiAddress;
- readonly keepAlive: bool;
- } & Struct;
- readonly isForceUnreserve: boolean;
- readonly asForceUnreserve: {
- readonly who: MultiAddress;
- readonly amount: u128;
- } & Struct;
- readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
- }
-
- /** @name PalletBalancesError (175) */
- interface PalletBalancesError extends Enum {
- readonly isVestingBalance: boolean;
- readonly isLiquidityRestrictions: boolean;
- readonly isInsufficientBalance: boolean;
- readonly isExistentialDeposit: boolean;
- readonly isKeepAlive: boolean;
- readonly isExistingVestingSchedule: boolean;
- readonly isDeadAccount: boolean;
- readonly isTooManyReserves: boolean;
- readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
- }
-
- /** @name PalletTimestampCall (177) */
- interface PalletTimestampCall extends Enum {
- readonly isSet: boolean;
- readonly asSet: {
- readonly now: Compact<u64>;
- } & Struct;
- readonly type: 'Set';
- }
-
- /** @name PalletTransactionPaymentReleases (179) */
- interface PalletTransactionPaymentReleases extends Enum {
- readonly isV1Ancient: boolean;
- readonly isV2: boolean;
- readonly type: 'V1Ancient' | 'V2';
- }
-
- /** @name PalletTreasuryProposal (180) */
- interface PalletTreasuryProposal extends Struct {
- readonly proposer: AccountId32;
- readonly value: u128;
- readonly beneficiary: AccountId32;
- readonly bond: u128;
- }
-
- /** @name PalletTreasuryCall (183) */
- interface PalletTreasuryCall extends Enum {
- readonly isProposeSpend: boolean;
- readonly asProposeSpend: {
- readonly value: Compact<u128>;
- readonly beneficiary: MultiAddress;
- } & Struct;
- readonly isRejectProposal: boolean;
- readonly asRejectProposal: {
- readonly proposalId: Compact<u32>;
- } & Struct;
- readonly isApproveProposal: boolean;
- readonly asApproveProposal: {
- readonly proposalId: Compact<u32>;
- } & Struct;
- readonly isSpend: boolean;
- readonly asSpend: {
- readonly amount: Compact<u128>;
- readonly beneficiary: MultiAddress;
- } & Struct;
- readonly isRemoveApproval: boolean;
- readonly asRemoveApproval: {
- readonly proposalId: Compact<u32>;
- } & Struct;
- readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
- }
-
- /** @name FrameSupportPalletId (186) */
- interface FrameSupportPalletId extends U8aFixed {}
-
- /** @name PalletTreasuryError (187) */
- interface PalletTreasuryError extends Enum {
- readonly isInsufficientProposersBalance: boolean;
- readonly isInvalidIndex: boolean;
- readonly isTooManyApprovals: boolean;
- readonly isInsufficientPermission: boolean;
- readonly isProposalNotApproved: boolean;
- readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
- }
-
- /** @name PalletSudoCall (188) */
- interface PalletSudoCall extends Enum {
- readonly isSudo: boolean;
- readonly asSudo: {
- readonly call: Call;
- } & Struct;
- readonly isSudoUncheckedWeight: boolean;
- readonly asSudoUncheckedWeight: {
- readonly call: Call;
- readonly weight: u64;
- } & Struct;
- readonly isSetKey: boolean;
- readonly asSetKey: {
- readonly new_: MultiAddress;
- } & Struct;
- readonly isSudoAs: boolean;
- readonly asSudoAs: {
- readonly who: MultiAddress;
- readonly call: Call;
- } & Struct;
- readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
- }
-
- /** @name OrmlVestingModuleCall (190) */
- interface OrmlVestingModuleCall extends Enum {
- readonly isClaim: boolean;
- readonly isVestedTransfer: boolean;
- readonly asVestedTransfer: {
- readonly dest: MultiAddress;
- readonly schedule: OrmlVestingVestingSchedule;
- } & Struct;
- readonly isUpdateVestingSchedules: boolean;
- readonly asUpdateVestingSchedules: {
- readonly who: MultiAddress;
- readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;
- } & Struct;
- readonly isClaimFor: boolean;
- readonly asClaimFor: {
- readonly dest: MultiAddress;
- } & Struct;
- readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
- }
-
- /** @name CumulusPalletXcmpQueueCall (192) */
- interface CumulusPalletXcmpQueueCall extends Enum {
- readonly isServiceOverweight: boolean;
- readonly asServiceOverweight: {
- readonly index: u64;
- readonly weightLimit: u64;
- } & Struct;
- readonly isSuspendXcmExecution: boolean;
- readonly isResumeXcmExecution: boolean;
- readonly isUpdateSuspendThreshold: boolean;
- readonly asUpdateSuspendThreshold: {
- readonly new_: u32;
- } & Struct;
- readonly isUpdateDropThreshold: boolean;
- readonly asUpdateDropThreshold: {
- readonly new_: u32;
- } & Struct;
- readonly isUpdateResumeThreshold: boolean;
- readonly asUpdateResumeThreshold: {
- readonly new_: u32;
- } & Struct;
- readonly isUpdateThresholdWeight: boolean;
- readonly asUpdateThresholdWeight: {
- readonly new_: u64;
- } & Struct;
- readonly isUpdateWeightRestrictDecay: boolean;
- readonly asUpdateWeightRestrictDecay: {
- readonly new_: u64;
- } & Struct;
- readonly isUpdateXcmpMaxIndividualWeight: boolean;
- readonly asUpdateXcmpMaxIndividualWeight: {
- readonly new_: u64;
- } & Struct;
- readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
- }
-
- /** @name PalletXcmCall (193) */
- interface PalletXcmCall extends Enum {
- readonly isSend: boolean;
- readonly asSend: {
- readonly dest: XcmVersionedMultiLocation;
- readonly message: XcmVersionedXcm;
- } & Struct;
- readonly isTeleportAssets: boolean;
- readonly asTeleportAssets: {
- readonly dest: XcmVersionedMultiLocation;
- readonly beneficiary: XcmVersionedMultiLocation;
- readonly assets: XcmVersionedMultiAssets;
- readonly feeAssetItem: u32;
- } & Struct;
- readonly isReserveTransferAssets: boolean;
- readonly asReserveTransferAssets: {
- readonly dest: XcmVersionedMultiLocation;
- readonly beneficiary: XcmVersionedMultiLocation;
- readonly assets: XcmVersionedMultiAssets;
- readonly feeAssetItem: u32;
- } & Struct;
- readonly isExecute: boolean;
- readonly asExecute: {
- readonly message: XcmVersionedXcm;
- readonly maxWeight: u64;
- } & Struct;
- readonly isForceXcmVersion: boolean;
- readonly asForceXcmVersion: {
- readonly location: XcmV1MultiLocation;
- readonly xcmVersion: u32;
- } & Struct;
- readonly isForceDefaultXcmVersion: boolean;
- readonly asForceDefaultXcmVersion: {
- readonly maybeXcmVersion: Option<u32>;
- } & Struct;
- readonly isForceSubscribeVersionNotify: boolean;
- readonly asForceSubscribeVersionNotify: {
- readonly location: XcmVersionedMultiLocation;
- } & Struct;
- readonly isForceUnsubscribeVersionNotify: boolean;
- readonly asForceUnsubscribeVersionNotify: {
- readonly location: XcmVersionedMultiLocation;
- } & Struct;
- readonly isLimitedReserveTransferAssets: boolean;
- readonly asLimitedReserveTransferAssets: {
- readonly dest: XcmVersionedMultiLocation;
- readonly beneficiary: XcmVersionedMultiLocation;
- readonly assets: XcmVersionedMultiAssets;
- readonly feeAssetItem: u32;
- readonly weightLimit: XcmV2WeightLimit;
- } & Struct;
- readonly isLimitedTeleportAssets: boolean;
- readonly asLimitedTeleportAssets: {
- readonly dest: XcmVersionedMultiLocation;
- readonly beneficiary: XcmVersionedMultiLocation;
- readonly assets: XcmVersionedMultiAssets;
- readonly feeAssetItem: u32;
- readonly weightLimit: XcmV2WeightLimit;
- } & Struct;
- readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
- }
-
- /** @name XcmVersionedXcm (194) */
- interface XcmVersionedXcm extends Enum {
- readonly isV0: boolean;
- readonly asV0: XcmV0Xcm;
- readonly isV1: boolean;
- readonly asV1: XcmV1Xcm;
- readonly isV2: boolean;
- readonly asV2: XcmV2Xcm;
- readonly type: 'V0' | 'V1' | 'V2';
- }
-
- /** @name XcmV0Xcm (195) */
- interface XcmV0Xcm extends Enum {
- readonly isWithdrawAsset: boolean;
- readonly asWithdrawAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isReserveAssetDeposit: boolean;
- readonly asReserveAssetDeposit: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isTeleportAsset: boolean;
- readonly asTeleportAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isQueryResponse: boolean;
- readonly asQueryResponse: {
- readonly queryId: Compact<u64>;
- readonly response: XcmV0Response;
- } & Struct;
- readonly isTransferAsset: boolean;
- readonly asTransferAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- } & Struct;
- readonly isTransferReserveAsset: boolean;
- readonly asTransferReserveAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isTransact: boolean;
- readonly asTransact: {
- readonly originType: XcmV0OriginKind;
- readonly requireWeightAtMost: u64;
- readonly call: XcmDoubleEncoded;
- } & Struct;
- readonly isHrmpNewChannelOpenRequest: boolean;
- readonly asHrmpNewChannelOpenRequest: {
- readonly sender: Compact<u32>;
- readonly maxMessageSize: Compact<u32>;
- readonly maxCapacity: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelAccepted: boolean;
- readonly asHrmpChannelAccepted: {
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelClosing: boolean;
- readonly asHrmpChannelClosing: {
- readonly initiator: Compact<u32>;
- readonly sender: Compact<u32>;
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isRelayedFrom: boolean;
- readonly asRelayedFrom: {
- readonly who: XcmV0MultiLocation;
- readonly message: XcmV0Xcm;
- } & Struct;
- readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
- }
-
- /** @name XcmV0Order (197) */
- interface XcmV0Order extends Enum {
- readonly isNull: boolean;
- readonly isDepositAsset: boolean;
- readonly asDepositAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- } & Struct;
- readonly isDepositReserveAsset: boolean;
- readonly asDepositReserveAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isExchangeAsset: boolean;
- readonly asExchangeAsset: {
- readonly give: Vec<XcmV0MultiAsset>;
- readonly receive: Vec<XcmV0MultiAsset>;
- } & Struct;
- readonly isInitiateReserveWithdraw: boolean;
- readonly asInitiateReserveWithdraw: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly reserve: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isInitiateTeleport: boolean;
- readonly asInitiateTeleport: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isQueryHolding: boolean;
- readonly asQueryHolding: {
- readonly queryId: Compact<u64>;
- readonly dest: XcmV0MultiLocation;
- readonly assets: Vec<XcmV0MultiAsset>;
- } & Struct;
- readonly isBuyExecution: boolean;
- readonly asBuyExecution: {
- readonly fees: XcmV0MultiAsset;
- readonly weight: u64;
- readonly debt: u64;
- readonly haltOnError: bool;
- readonly xcm: Vec<XcmV0Xcm>;
- } & Struct;
- readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
- }
-
- /** @name XcmV0Response (199) */
- interface XcmV0Response extends Enum {
- readonly isAssets: boolean;
- readonly asAssets: Vec<XcmV0MultiAsset>;
- readonly type: 'Assets';
- }
-
- /** @name XcmV1Xcm (200) */
- interface XcmV1Xcm extends Enum {
- readonly isWithdrawAsset: boolean;
- readonly asWithdrawAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isReserveAssetDeposited: boolean;
- readonly asReserveAssetDeposited: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isReceiveTeleportedAsset: boolean;
- readonly asReceiveTeleportedAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isQueryResponse: boolean;
- readonly asQueryResponse: {
- readonly queryId: Compact<u64>;
- readonly response: XcmV1Response;
- } & Struct;
- readonly isTransferAsset: boolean;
- readonly asTransferAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly beneficiary: XcmV1MultiLocation;
- } & Struct;
- readonly isTransferReserveAsset: boolean;
- readonly asTransferReserveAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly dest: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isTransact: boolean;
- readonly asTransact: {
- readonly originType: XcmV0OriginKind;
- readonly requireWeightAtMost: u64;
- readonly call: XcmDoubleEncoded;
- } & Struct;
- readonly isHrmpNewChannelOpenRequest: boolean;
- readonly asHrmpNewChannelOpenRequest: {
- readonly sender: Compact<u32>;
- readonly maxMessageSize: Compact<u32>;
- readonly maxCapacity: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelAccepted: boolean;
- readonly asHrmpChannelAccepted: {
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelClosing: boolean;
- readonly asHrmpChannelClosing: {
- readonly initiator: Compact<u32>;
- readonly sender: Compact<u32>;
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isRelayedFrom: boolean;
- readonly asRelayedFrom: {
- readonly who: XcmV1MultilocationJunctions;
- readonly message: XcmV1Xcm;
- } & Struct;
- readonly isSubscribeVersion: boolean;
- readonly asSubscribeVersion: {
- readonly queryId: Compact<u64>;
- readonly maxResponseWeight: Compact<u64>;
- } & Struct;
- readonly isUnsubscribeVersion: boolean;
- readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
- }
-
- /** @name XcmV1Order (202) */
- interface XcmV1Order extends Enum {
- readonly isNoop: boolean;
- readonly isDepositAsset: boolean;
- readonly asDepositAsset: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxAssets: u32;
- readonly beneficiary: XcmV1MultiLocation;
- } & Struct;
- readonly isDepositReserveAsset: boolean;
- readonly asDepositReserveAsset: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxAssets: u32;
- readonly dest: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isExchangeAsset: boolean;
- readonly asExchangeAsset: {
- readonly give: XcmV1MultiassetMultiAssetFilter;
- readonly receive: XcmV1MultiassetMultiAssets;
- } & Struct;
- readonly isInitiateReserveWithdraw: boolean;
- readonly asInitiateReserveWithdraw: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly reserve: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isInitiateTeleport: boolean;
- readonly asInitiateTeleport: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly dest: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isQueryHolding: boolean;
- readonly asQueryHolding: {
- readonly queryId: Compact<u64>;
- readonly dest: XcmV1MultiLocation;
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- } & Struct;
- readonly isBuyExecution: boolean;
- readonly asBuyExecution: {
- readonly fees: XcmV1MultiAsset;
- readonly weight: u64;
- readonly debt: u64;
- readonly haltOnError: bool;
- readonly instructions: Vec<XcmV1Xcm>;
- } & Struct;
- readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
- }
-
- /** @name XcmV1Response (204) */
- interface XcmV1Response extends Enum {
- readonly isAssets: boolean;
- readonly asAssets: XcmV1MultiassetMultiAssets;
- readonly isVersion: boolean;
- readonly asVersion: u32;
- readonly type: 'Assets' | 'Version';
- }
-
- /** @name CumulusPalletXcmCall (218) */
- type CumulusPalletXcmCall = Null;
-
- /** @name CumulusPalletDmpQueueCall (219) */
- interface CumulusPalletDmpQueueCall extends Enum {
- readonly isServiceOverweight: boolean;
- readonly asServiceOverweight: {
- readonly index: u64;
- readonly weightLimit: u64;
- } & Struct;
- readonly type: 'ServiceOverweight';
- }
-
- /** @name PalletInflationCall (220) */
- interface PalletInflationCall extends Enum {
- readonly isStartInflation: boolean;
- readonly asStartInflation: {
- readonly inflationStartRelayBlock: u32;
- } & Struct;
- readonly type: 'StartInflation';
- }
-
- /** @name PalletUniqueCall (221) */
- interface PalletUniqueCall extends Enum {
- readonly isCreateCollection: boolean;
- readonly asCreateCollection: {
- readonly collectionName: Vec<u16>;
- readonly collectionDescription: Vec<u16>;
- readonly tokenPrefix: Bytes;
- readonly mode: UpDataStructsCollectionMode;
- } & Struct;
- readonly isCreateCollectionEx: boolean;
- readonly asCreateCollectionEx: {
- readonly data: UpDataStructsCreateCollectionData;
- } & Struct;
- readonly isDestroyCollection: boolean;
- readonly asDestroyCollection: {
- readonly collectionId: u32;
- } & Struct;
- readonly isAddToAllowList: boolean;
- readonly asAddToAllowList: {
- readonly collectionId: u32;
- readonly address: PalletEvmAccountBasicCrossAccountIdRepr;
- } & Struct;
- readonly isRemoveFromAllowList: boolean;
- readonly asRemoveFromAllowList: {
- readonly collectionId: u32;
- readonly address: PalletEvmAccountBasicCrossAccountIdRepr;
- } & Struct;
- readonly isChangeCollectionOwner: boolean;
- readonly asChangeCollectionOwner: {
- readonly collectionId: u32;
- readonly newOwner: AccountId32;
- } & Struct;
- readonly isAddCollectionAdmin: boolean;
- readonly asAddCollectionAdmin: {
- readonly collectionId: u32;
- readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;
- } & Struct;
- readonly isRemoveCollectionAdmin: boolean;
- readonly asRemoveCollectionAdmin: {
- readonly collectionId: u32;
- readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;
- } & Struct;
- readonly isSetCollectionSponsor: boolean;
- readonly asSetCollectionSponsor: {
- readonly collectionId: u32;
- readonly newSponsor: AccountId32;
- } & Struct;
- readonly isConfirmSponsorship: boolean;
- readonly asConfirmSponsorship: {
- readonly collectionId: u32;
- } & Struct;
- readonly isRemoveCollectionSponsor: boolean;
- readonly asRemoveCollectionSponsor: {
- readonly collectionId: u32;
- } & Struct;
- readonly isCreateItem: boolean;
- readonly asCreateItem: {
- readonly collectionId: u32;
- readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly data: UpDataStructsCreateItemData;
- } & Struct;
- readonly isCreateMultipleItems: boolean;
- readonly asCreateMultipleItems: {
- readonly collectionId: u32;
- readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly itemsData: Vec<UpDataStructsCreateItemData>;
- } & Struct;
- readonly isSetCollectionProperties: boolean;
- readonly asSetCollectionProperties: {
- readonly collectionId: u32;
- readonly properties: Vec<UpDataStructsProperty>;
- } & Struct;
- readonly isDeleteCollectionProperties: boolean;
- readonly asDeleteCollectionProperties: {
- readonly collectionId: u32;
- readonly propertyKeys: Vec<Bytes>;
- } & Struct;
- readonly isSetTokenProperties: boolean;
- readonly asSetTokenProperties: {
- readonly collectionId: u32;
- readonly tokenId: u32;
- readonly properties: Vec<UpDataStructsProperty>;
- } & Struct;
- readonly isDeleteTokenProperties: boolean;
- readonly asDeleteTokenProperties: {
- readonly collectionId: u32;
- readonly tokenId: u32;
- readonly propertyKeys: Vec<Bytes>;
- } & Struct;
- readonly isSetTokenPropertyPermissions: boolean;
- readonly asSetTokenPropertyPermissions: {
- readonly collectionId: u32;
- readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
- } & Struct;
- readonly isCreateMultipleItemsEx: boolean;
- readonly asCreateMultipleItemsEx: {
- readonly collectionId: u32;
- readonly data: UpDataStructsCreateItemExData;
- } & Struct;
- readonly isSetTransfersEnabledFlag: boolean;
- readonly asSetTransfersEnabledFlag: {
- readonly collectionId: u32;
- readonly value: bool;
- } & Struct;
- readonly isBurnItem: boolean;
- readonly asBurnItem: {
- readonly collectionId: u32;
- readonly itemId: u32;
- readonly value: u128;
- } & Struct;
- readonly isBurnFrom: boolean;
- readonly asBurnFrom: {
- readonly collectionId: u32;
- readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly itemId: u32;
- readonly value: u128;
- } & Struct;
- readonly isTransfer: boolean;
- readonly asTransfer: {
- readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly collectionId: u32;
- readonly itemId: u32;
- readonly value: u128;
- } & Struct;
- readonly isApprove: boolean;
- readonly asApprove: {
- readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly collectionId: u32;
- readonly itemId: u32;
- readonly amount: u128;
- } & Struct;
- readonly isTransferFrom: boolean;
- readonly asTransferFrom: {
- readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly collectionId: u32;
- readonly itemId: u32;
- readonly value: u128;
- } & Struct;
- readonly isSetCollectionLimits: boolean;
- readonly asSetCollectionLimits: {
- readonly collectionId: u32;
- readonly newLimit: UpDataStructsCollectionLimits;
- } & Struct;
- readonly isSetCollectionPermissions: boolean;
- readonly asSetCollectionPermissions: {
- readonly collectionId: u32;
- readonly newPermission: UpDataStructsCollectionPermissions;
- } & Struct;
- readonly isRepartition: boolean;
- readonly asRepartition: {
- readonly collectionId: u32;
- readonly tokenId: u32;
- readonly amount: u128;
- } & Struct;
- readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';
- }
-
- /** @name UpDataStructsCollectionMode (226) */
- interface UpDataStructsCollectionMode extends Enum {
+ /** @name UpDataStructsCollectionMode (155) */
+ export interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
readonly asFungible: u8;
@@ -2249,8 +1839,8 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (227) */
- interface UpDataStructsCreateCollectionData extends Struct {
+ /** @name UpDataStructsCreateCollectionData (156) */
+ export interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
readonly name: Vec<u16>;
@@ -2263,15 +1853,15 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (229) */
- interface UpDataStructsAccessMode extends Enum {
+ /** @name UpDataStructsAccessMode (158) */
+ export interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (231) */
- interface UpDataStructsCollectionLimits extends Struct {
+ /** @name UpDataStructsCollectionLimits (161) */
+ export interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;
@@ -2283,52 +1873,61 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (233) */
- interface UpDataStructsSponsoringRateLimit extends Enum {
+ /** @name UpDataStructsSponsoringRateLimit (163) */
+ export interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
readonly asBlocks: u32;
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (236) */
- interface UpDataStructsCollectionPermissions extends Struct {
+ /** @name UpDataStructsCollectionPermissions (166) */
+ export interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (238) */
- interface UpDataStructsNestingPermissions extends Struct {
+ /** @name UpDataStructsNestingPermissions (168) */
+ export interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (240) */
- interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
+ /** @name UpDataStructsOwnerRestrictedSet (170) */
+ export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (245) */
- interface UpDataStructsPropertyKeyPermission extends Struct {
+ /** @name UpDataStructsPropertyKeyPermission (176) */
+ export interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (246) */
- interface UpDataStructsPropertyPermission extends Struct {
+ /** @name UpDataStructsPropertyPermission (178) */
+ export interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (249) */
- interface UpDataStructsProperty extends Struct {
+ /** @name UpDataStructsProperty (181) */
+ export interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsCreateItemData (252) */
- interface UpDataStructsCreateItemData extends Enum {
+ /** @name PalletEvmAccountBasicCrossAccountIdRepr (184) */
+ export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
+ readonly isSubstrate: boolean;
+ readonly asSubstrate: AccountId32;
+ readonly isEthereum: boolean;
+ readonly asEthereum: H160;
+ readonly type: 'Substrate' | 'Ethereum';
+ }
+
+ /** @name UpDataStructsCreateItemData (186) */
+ export interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
readonly isFungible: boolean;
@@ -2338,24 +1937,67 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (253) */
- interface UpDataStructsCreateNftData extends Struct {
+ /** @name UpDataStructsCreateNftData (187) */
+ export interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (254) */
- interface UpDataStructsCreateFungibleData extends Struct {
+ /** @name UpDataStructsCreateFungibleData (188) */
+ export interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (255) */
- interface UpDataStructsCreateReFungibleData extends Struct {
+ /** @name UpDataStructsCreateReFungibleData (189) */
+ export interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
+>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client
+ }
+
+ /** @name FrameSystemLimitsBlockLength (128) */
+ interface FrameSystemLimitsBlockLength extends Struct {
+ readonly max: FrameSupportWeightsPerDispatchClassU32;
+ }
+
+ /** @name FrameSupportWeightsPerDispatchClassU32 (129) */
+ interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
+ readonly normal: u32;
+ readonly operational: u32;
+ readonly mandatory: u32;
+ }
+
+ /** @name FrameSupportWeightsRuntimeDbWeight (130) */
+ interface FrameSupportWeightsRuntimeDbWeight extends Struct {
+ readonly read: u64;
+ readonly write: u64;
}
- /** @name UpDataStructsCreateItemExData (258) */
- interface UpDataStructsCreateItemExData extends Enum {
+ /** @name SpVersionRuntimeVersion (131) */
+ interface SpVersionRuntimeVersion extends Struct {
+ readonly specName: Text;
+ readonly implName: Text;
+ readonly authoringVersion: u32;
+ readonly specVersion: u32;
+ readonly implVersion: u32;
+ readonly apis: Vec<ITuple<[U8aFixed, u32]>>;
+ readonly transactionVersion: u32;
+ readonly stateVersion: u8;
+ }
+
+<<<<<<< HEAD
+ /** @name FrameSystemError (136) */
+ interface FrameSystemError extends Enum {
+ readonly isInvalidSpecName: boolean;
+ readonly isSpecVersionNeedsToIncrease: boolean;
+ readonly isFailedToExtractRuntimeVersion: boolean;
+ readonly isNonDefaultComposite: boolean;
+ readonly isNonZeroRefCount: boolean;
+ readonly isCallFiltered: boolean;
+ readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
+ }
+
+ /** @name UpDataStructsCreateItemExData (192) */
+ export interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
readonly isFungible: boolean;
@@ -2367,27 +2009,27 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (260) */
- interface UpDataStructsCreateNftExData extends Struct {
+ /** @name UpDataStructsCreateNftExData (194) */
+ export interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExSingleOwner (267) */
- interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
+ /** @name UpDataStructsCreateRefungibleExSingleOwner (201) */
+ export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateRefungibleExMultipleOwners (269) */
- interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
+ /** @name UpDataStructsCreateRefungibleExMultipleOwners (203) */
+ export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletUniqueSchedulerCall (270) */
- interface PalletUniqueSchedulerCall extends Enum {
+ /** @name PalletUniqueSchedulerCall (205) */
+ export interface PalletUniqueSchedulerCall extends Enum {
readonly isScheduleNamed: boolean;
readonly asScheduleNamed: {
readonly id: U8aFixed;
@@ -2411,8 +2053,8 @@
readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';
}
- /** @name FrameSupportScheduleMaybeHashed (272) */
- interface FrameSupportScheduleMaybeHashed extends Enum {
+ /** @name FrameSupportScheduleMaybeHashed (207) */
+ export interface FrameSupportScheduleMaybeHashed extends Enum {
readonly isValue: boolean;
readonly asValue: Call;
readonly isHash: boolean;
@@ -2420,27 +2062,14 @@
readonly type: 'Value' | 'Hash';
}
- /** @name PalletConfigurationCall (273) */
- interface PalletConfigurationCall extends Enum {
- readonly isSetWeightToFeeCoefficientOverride: boolean;
- readonly asSetWeightToFeeCoefficientOverride: {
- readonly coeff: Option<u32>;
- } & Struct;
- readonly isSetMinGasPriceOverride: boolean;
- readonly asSetMinGasPriceOverride: {
- readonly coeff: Option<u64>;
- } & Struct;
- readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';
- }
+ /** @name PalletTemplateTransactionPaymentCall (208) */
+ export type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletTemplateTransactionPaymentCall (274) */
- type PalletTemplateTransactionPaymentCall = Null;
+ /** @name PalletStructureCall (209) */
+ export type PalletStructureCall = Null;
- /** @name PalletStructureCall (275) */
- type PalletStructureCall = Null;
-
- /** @name PalletRmrkCoreCall (276) */
- interface PalletRmrkCoreCall extends Enum {
+ /** @name PalletRmrkCoreCall (210) */
+ export interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
readonly metadata: Bytes;
@@ -2545,8 +2174,8 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsResourceResourceTypes (282) */
- interface RmrkTraitsResourceResourceTypes extends Enum {
+ /** @name RmrkTraitsResourceResourceTypes (216) */
+ export interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
readonly isComposable: boolean;
@@ -2556,16 +2185,16 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsResourceBasicResource (284) */
- interface RmrkTraitsResourceBasicResource extends Struct {
+ /** @name RmrkTraitsResourceBasicResource (218) */
+ export interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
readonly license: Option<Bytes>;
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (286) */
- interface RmrkTraitsResourceComposableResource extends Struct {
+ /** @name RmrkTraitsResourceComposableResource (220) */
+ export interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
readonly src: Option<Bytes>;
@@ -2574,8 +2203,8 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (287) */
- interface RmrkTraitsResourceSlotResource extends Struct {
+ /** @name RmrkTraitsResourceSlotResource (221) */
+ export interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -2584,8 +2213,17 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (290) */
- interface PalletRmrkEquipCall extends Enum {
+ /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (223) */
+ export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
+ readonly isAccountId: boolean;
+ readonly asAccountId: AccountId32;
+ readonly isCollectionAndNftTuple: boolean;
+ readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;
+ readonly type: 'AccountId' | 'CollectionAndNftTuple';
+ }
+
+ /** @name PalletRmrkEquipCall (227) */
+ export interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
readonly baseType: Bytes;
@@ -2606,8 +2244,8 @@
readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
- /** @name RmrkTraitsPartPartType (293) */
- interface RmrkTraitsPartPartType extends Enum {
+ /** @name RmrkTraitsPartPartType (230) */
+ export interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
readonly isSlotPart: boolean;
@@ -2615,99 +2253,91 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (295) */
- interface RmrkTraitsPartFixedPart extends Struct {
+ /** @name RmrkTraitsPartFixedPart (232) */
+ export interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (296) */
- interface RmrkTraitsPartSlotPart extends Struct {
+ /** @name RmrkTraitsPartSlotPart (233) */
+ export interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
readonly src: Bytes;
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (297) */
- interface RmrkTraitsPartEquippableList extends Enum {
+ /** @name RmrkTraitsPartEquippableList (234) */
+ export interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
- readonly isEmpty: boolean;
- readonly isCustom: boolean;
- readonly asCustom: Vec<u32>;
- readonly type: 'All' | 'Empty' | 'Custom';
+ readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name RmrkTraitsTheme (299) */
- interface RmrkTraitsTheme extends Struct {
+ /** @name RmrkTraitsTheme (236) */
+ export interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (301) */
- interface RmrkTraitsThemeThemeProperty extends Struct {
+ /** @name RmrkTraitsThemeThemeProperty (238) */
+ export interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletEvmCall (303) */
- interface PalletEvmCall extends Enum {
+ /** @name PalletEvmCall (240) */
+ export interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
readonly address: H160;
readonly value: u128;
+>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client
} & Struct;
- readonly isCall: boolean;
- readonly asCall: {
- readonly source: H160;
- readonly target: H160;
- readonly input: Bytes;
- readonly value: U256;
- readonly gasLimit: u64;
- readonly maxFeePerGas: U256;
- readonly maxPriorityFeePerGas: Option<U256>;
- readonly nonce: Option<U256>;
- readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
+ readonly isSetBalance: boolean;
+ readonly asSetBalance: {
+ readonly who: MultiAddress;
+ readonly newFree: Compact<u128>;
+ readonly newReserved: Compact<u128>;
} & Struct;
- readonly isCreate: boolean;
- readonly asCreate: {
- readonly source: H160;
- readonly init: Bytes;
- readonly value: U256;
- readonly gasLimit: u64;
- readonly maxFeePerGas: U256;
- readonly maxPriorityFeePerGas: Option<U256>;
- readonly nonce: Option<U256>;
- readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
+ readonly isForceTransfer: boolean;
+ readonly asForceTransfer: {
+ readonly source: MultiAddress;
+ readonly dest: MultiAddress;
+ readonly value: Compact<u128>;
} & Struct;
- readonly isCreate2: boolean;
- readonly asCreate2: {
- readonly source: H160;
- readonly init: Bytes;
- readonly salt: H256;
- readonly value: U256;
- readonly gasLimit: u64;
- readonly maxFeePerGas: U256;
- readonly maxPriorityFeePerGas: Option<U256>;
- readonly nonce: Option<U256>;
- readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
+ readonly isTransferKeepAlive: boolean;
+ readonly asTransferKeepAlive: {
+ readonly dest: MultiAddress;
+ readonly value: Compact<u128>;
} & Struct;
+<<<<<<< HEAD
+ readonly isTransferAll: boolean;
+ readonly asTransferAll: {
+ readonly dest: MultiAddress;
+ readonly keepAlive: bool;
+=======
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (307) */
- interface PalletEthereumCall extends Enum {
+ /** @name PalletEthereumCall (246) */
+ export interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
readonly transaction: EthereumTransactionTransactionV2;
+>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client
} & Struct;
- readonly type: 'Transact';
+ readonly isForceUnreserve: boolean;
+ readonly asForceUnreserve: {
+ readonly who: MultiAddress;
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
- /** @name EthereumTransactionTransactionV2 (308) */
- interface EthereumTransactionTransactionV2 extends Enum {
+ /** @name EthereumTransactionTransactionV2 (247) */
+ export interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
readonly isEip2930: boolean;
@@ -2717,8 +2347,8 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (309) */
- interface EthereumTransactionLegacyTransaction extends Struct {
+ /** @name EthereumTransactionLegacyTransaction (248) */
+ export interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
readonly gasLimit: U256;
@@ -2728,23 +2358,23 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (310) */
- interface EthereumTransactionTransactionAction extends Enum {
+ /** @name EthereumTransactionTransactionAction (249) */
+ export interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
readonly isCreate: boolean;
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (311) */
- interface EthereumTransactionTransactionSignature extends Struct {
+ /** @name EthereumTransactionTransactionSignature (250) */
+ export interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (313) */
- interface EthereumTransactionEip2930Transaction extends Struct {
+ /** @name EthereumTransactionEip2930Transaction (252) */
+ export interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
readonly gasPrice: U256;
@@ -2758,14 +2388,14 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (315) */
- interface EthereumTransactionAccessListItem extends Struct {
+ /** @name EthereumTransactionAccessListItem (254) */
+ export interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (316) */
- interface EthereumTransactionEip1559Transaction extends Struct {
+ /** @name EthereumTransactionEip1559Transaction (255) */
+ export interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
readonly maxPriorityFeePerGas: U256;
@@ -2780,33 +2410,702 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (317) */
- interface PalletEvmMigrationCall extends Enum {
+ /** @name PalletEvmMigrationCall (256) */
+ export interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
readonly address: H160;
+>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client
+ } & Struct;
+ readonly isSudoUncheckedWeight: boolean;
+ readonly asSudoUncheckedWeight: {
+ readonly call: Call;
+ readonly weight: u64;
} & Struct;
- readonly isSetData: boolean;
- readonly asSetData: {
- readonly address: H160;
- readonly data: Vec<ITuple<[H256, H256]>>;
+ readonly isSetKey: boolean;
+ readonly asSetKey: {
+ readonly new_: MultiAddress;
+ } & Struct;
+ readonly isSudoAs: boolean;
+ readonly asSudoAs: {
+ readonly who: MultiAddress;
+ readonly call: Call;
+ } & Struct;
+ readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
+ }
+
+ /** @name PalletSudoEvent (259) */
+ export interface PalletSudoEvent extends Enum {
+ readonly isSudid: boolean;
+ readonly asSudid: {
+ readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
+ } & Struct;
+ readonly isKeyChanged: boolean;
+ readonly asKeyChanged: {
+ readonly oldSudoer: Option<AccountId32>;
} & Struct;
- readonly isFinish: boolean;
- readonly asFinish: {
- readonly address: H160;
- readonly code: Bytes;
+ readonly isSudoAsDone: boolean;
+ readonly asSudoAsDone: {
+ readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
} & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish';
+ readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
+ }
+
+ /** @name SpRuntimeDispatchError (261) */
+ export interface SpRuntimeDispatchError extends Enum {
+ readonly isOther: boolean;
+ readonly isCannotLookup: boolean;
+ readonly isBadOrigin: boolean;
+ readonly isModule: boolean;
+ readonly asModule: SpRuntimeModuleError;
+ readonly isConsumerRemaining: boolean;
+ readonly isNoProviders: boolean;
+ readonly isTooManyConsumers: boolean;
+ readonly isToken: boolean;
+ readonly asToken: SpRuntimeTokenError;
+ readonly isArithmetic: boolean;
+ readonly asArithmetic: SpRuntimeArithmeticError;
+ readonly isTransactional: boolean;
+ readonly asTransactional: SpRuntimeTransactionalError;
+ readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
+ }
+
+ /** @name SpRuntimeModuleError (262) */
+ export interface SpRuntimeModuleError extends Struct {
+ readonly index: u8;
+ readonly error: U8aFixed;
+ }
+
+ /** @name SpRuntimeTokenError (263) */
+ export interface SpRuntimeTokenError extends Enum {
+ readonly isNoFunds: boolean;
+ readonly isWouldDie: boolean;
+ readonly isBelowMinimum: boolean;
+ readonly isCannotCreate: boolean;
+ readonly isUnknownAsset: boolean;
+ readonly isFrozen: boolean;
+ readonly isUnsupported: boolean;
+ readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
+ }
+
+ /** @name SpRuntimeArithmeticError (264) */
+ export interface SpRuntimeArithmeticError extends Enum {
+ readonly isUnderflow: boolean;
+ readonly isOverflow: boolean;
+ readonly isDivisionByZero: boolean;
+ readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
- /** @name PalletSudoError (320) */
- interface PalletSudoError extends Enum {
+ /** @name SpRuntimeTransactionalError (265) */
+ export interface SpRuntimeTransactionalError extends Enum {
+ readonly isLimitReached: boolean;
+ readonly isNoLayer: boolean;
+ readonly type: 'LimitReached' | 'NoLayer';
+ }
+
+ /** @name PalletSudoError (266) */
+ export interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name OrmlVestingModuleError (322) */
- interface OrmlVestingModuleError extends Enum {
+ /** @name FrameSystemAccountInfo (267) */
+ export interface FrameSystemAccountInfo extends Struct {
+ readonly nonce: u32;
+ readonly consumers: u32;
+ readonly providers: u32;
+ readonly sufficients: u32;
+ readonly data: PalletBalancesAccountData;
+ }
+
+ /** @name FrameSupportWeightsPerDispatchClassU64 (268) */
+ export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
+ readonly normal: u64;
+ readonly operational: u64;
+ readonly mandatory: u64;
+ }
+
+ /** @name SpRuntimeDigest (269) */
+ export interface SpRuntimeDigest extends Struct {
+ readonly logs: Vec<SpRuntimeDigestDigestItem>;
+ }
+
+ /** @name SpRuntimeDigestDigestItem (271) */
+ export interface SpRuntimeDigestDigestItem extends Enum {
+ readonly isOther: boolean;
+ readonly asOther: Bytes;
+ readonly isConsensus: boolean;
+ readonly asConsensus: ITuple<[U8aFixed, Bytes]>;
+ readonly isSeal: boolean;
+ readonly asSeal: ITuple<[U8aFixed, Bytes]>;
+ readonly isPreRuntime: boolean;
+ readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;
+ readonly isRuntimeEnvironmentUpdated: boolean;
+ readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
+ }
+
+ /** @name FrameSystemEventRecord (273) */
+ export interface FrameSystemEventRecord extends Struct {
+ readonly phase: FrameSystemPhase;
+ readonly event: Event;
+ readonly topics: Vec<H256>;
+ }
+
+ /** @name FrameSystemEvent (275) */
+ export interface FrameSystemEvent extends Enum {
+ readonly isExtrinsicSuccess: boolean;
+ readonly asExtrinsicSuccess: {
+ readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
+ } & Struct;
+ readonly isExtrinsicFailed: boolean;
+ readonly asExtrinsicFailed: {
+ readonly dispatchError: SpRuntimeDispatchError;
+ readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
+ } & Struct;
+ readonly isCodeUpdated: boolean;
+ readonly isNewAccount: boolean;
+ readonly asNewAccount: {
+ readonly account: AccountId32;
+ } & Struct;
+ readonly isKilledAccount: boolean;
+ readonly asKilledAccount: {
+ readonly account: AccountId32;
+ } & Struct;
+ readonly isRemarked: boolean;
+ readonly asRemarked: {
+ readonly sender: AccountId32;
+ readonly hash_: H256;
+ } & Struct;
+ readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
+ }
+
+ /** @name FrameSupportWeightsDispatchInfo (276) */
+ export interface FrameSupportWeightsDispatchInfo extends Struct {
+ readonly weight: u64;
+ readonly class: FrameSupportWeightsDispatchClass;
+ readonly paysFee: FrameSupportWeightsPays;
+ }
+
+ /** @name FrameSupportWeightsDispatchClass (277) */
+ export interface FrameSupportWeightsDispatchClass extends Enum {
+ readonly isNormal: boolean;
+ readonly isOperational: boolean;
+ readonly isMandatory: boolean;
+ readonly type: 'Normal' | 'Operational' | 'Mandatory';
+ }
+
+ /** @name FrameSupportWeightsPays (278) */
+ export interface FrameSupportWeightsPays extends Enum {
+ readonly isYes: boolean;
+ readonly isNo: boolean;
+ readonly type: 'Yes' | 'No';
+ }
+
+ /** @name OrmlVestingModuleEvent (279) */
+ export interface OrmlVestingModuleEvent extends Enum {
+ readonly isVestingScheduleAdded: boolean;
+ readonly asVestingScheduleAdded: {
+ readonly from: AccountId32;
+ readonly to: AccountId32;
+ readonly vestingSchedule: OrmlVestingVestingSchedule;
+ } & Struct;
+ readonly isClaimed: boolean;
+ readonly asClaimed: {
+ readonly who: AccountId32;
+ readonly amount: u128;
+ } & Struct;
+ readonly isVestingSchedulesUpdated: boolean;
+ readonly asVestingSchedulesUpdated: {
+ readonly who: AccountId32;
+ } & Struct;
+ readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
+ }
+
+ /** @name CumulusPalletXcmpQueueEvent (280) */
+ export interface CumulusPalletXcmpQueueEvent extends Enum {
+ readonly isSuccess: boolean;
+ readonly asSuccess: Option<H256>;
+ readonly isFail: boolean;
+ readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;
+ readonly isBadVersion: boolean;
+ readonly asBadVersion: Option<H256>;
+ readonly isBadFormat: boolean;
+ readonly asBadFormat: Option<H256>;
+ readonly isUpwardMessageSent: boolean;
+ readonly asUpwardMessageSent: Option<H256>;
+ readonly isXcmpMessageSent: boolean;
+ readonly asXcmpMessageSent: Option<H256>;
+ readonly isOverweightEnqueued: boolean;
+ readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;
+ readonly isOverweightServiced: boolean;
+ readonly asOverweightServiced: ITuple<[u64, u64]>;
+ readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
+ }
+
+ /** @name PalletXcmEvent (281) */
+ export interface PalletXcmEvent extends Enum {
+ readonly isAttempted: boolean;
+ readonly asAttempted: XcmV2TraitsOutcome;
+ readonly isSent: boolean;
+ readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
+ readonly isUnexpectedResponse: boolean;
+ readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;
+ readonly isResponseReady: boolean;
+ readonly asResponseReady: ITuple<[u64, XcmV2Response]>;
+ readonly isNotified: boolean;
+ readonly asNotified: ITuple<[u64, u8, u8]>;
+ readonly isNotifyOverweight: boolean;
+ readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;
+ readonly isNotifyDispatchError: boolean;
+ readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;
+ readonly isNotifyDecodeFailed: boolean;
+ readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;
+ readonly isInvalidResponder: boolean;
+ readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
+ readonly isInvalidResponderVersion: boolean;
+ readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;
+ readonly isResponseTaken: boolean;
+ readonly asResponseTaken: u64;
+ readonly isAssetsTrapped: boolean;
+ readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
+ readonly isVersionChangeNotified: boolean;
+ readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;
+ readonly isSupportedVersionChanged: boolean;
+ readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;
+ readonly isNotifyTargetSendFail: boolean;
+ readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;
+ readonly isNotifyTargetMigrationFail: boolean;
+ readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;
+ readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
+ }
+
+ /** @name XcmV2TraitsOutcome (282) */
+ export interface XcmV2TraitsOutcome extends Enum {
+ readonly isComplete: boolean;
+ readonly asComplete: u64;
+ readonly isIncomplete: boolean;
+ readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;
+ readonly isError: boolean;
+ readonly asError: XcmV2TraitsError;
+ readonly type: 'Complete' | 'Incomplete' | 'Error';
+ }
+
+ /** @name CumulusPalletXcmEvent (284) */
+ export interface CumulusPalletXcmEvent extends Enum {
+ readonly isInvalidFormat: boolean;
+ readonly asInvalidFormat: U8aFixed;
+ readonly isUnsupportedVersion: boolean;
+ readonly asUnsupportedVersion: U8aFixed;
+ readonly isExecutedDownward: boolean;
+ readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
+ readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
+ }
+
+ /** @name CumulusPalletDmpQueueEvent (285) */
+ export interface CumulusPalletDmpQueueEvent extends Enum {
+ readonly isInvalidFormat: boolean;
+ readonly asInvalidFormat: {
+ readonly messageId: U8aFixed;
+ } & Struct;
+ readonly isUnsupportedVersion: boolean;
+ readonly asUnsupportedVersion: {
+ readonly messageId: U8aFixed;
+ } & Struct;
+ readonly isExecutedDownward: boolean;
+ readonly asExecutedDownward: {
+ readonly messageId: U8aFixed;
+ readonly outcome: XcmV2TraitsOutcome;
+ } & Struct;
+ readonly isWeightExhausted: boolean;
+ readonly asWeightExhausted: {
+ readonly messageId: U8aFixed;
+ readonly remainingWeight: u64;
+ readonly requiredWeight: u64;
+ } & Struct;
+ readonly isOverweightEnqueued: boolean;
+ readonly asOverweightEnqueued: {
+ readonly messageId: U8aFixed;
+ readonly overweightIndex: u64;
+ readonly requiredWeight: u64;
+ } & Struct;
+ readonly isOverweightServiced: boolean;
+ readonly asOverweightServiced: {
+ readonly overweightIndex: u64;
+ readonly weightUsed: u64;
+ } & Struct;
+ readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
+ }
+
+ /** @name PalletUniqueRawEvent (286) */
+ export interface PalletUniqueRawEvent extends Enum {
+ readonly isCollectionSponsorRemoved: boolean;
+ readonly asCollectionSponsorRemoved: u32;
+ readonly isCollectionAdminAdded: boolean;
+ readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ readonly isCollectionOwnedChanged: boolean;
+ readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;
+ readonly isCollectionSponsorSet: boolean;
+ readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;
+ readonly isSponsorshipConfirmed: boolean;
+ readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;
+ readonly isCollectionAdminRemoved: boolean;
+ readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ readonly isAllowListAddressRemoved: boolean;
+ readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ readonly isAllowListAddressAdded: boolean;
+ readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ readonly isCollectionLimitSet: boolean;
+ readonly asCollectionLimitSet: u32;
+ readonly isCollectionPermissionSet: boolean;
+ readonly asCollectionPermissionSet: u32;
+ readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';
+ }
+
+ /** @name PalletUniqueSchedulerEvent (287) */
+ export interface PalletUniqueSchedulerEvent extends Enum {
+ readonly isScheduled: boolean;
+ readonly asScheduled: {
+ readonly when: u32;
+ readonly index: u32;
+ } & Struct;
+ readonly isCanceled: boolean;
+ readonly asCanceled: {
+ readonly when: u32;
+ readonly index: u32;
+ } & Struct;
+ readonly isDispatched: boolean;
+ readonly asDispatched: {
+ readonly task: ITuple<[u32, u32]>;
+ readonly id: Option<U8aFixed>;
+ readonly result: Result<Null, SpRuntimeDispatchError>;
+ } & Struct;
+ readonly isCallLookupFailed: boolean;
+ readonly asCallLookupFailed: {
+ readonly task: ITuple<[u32, u32]>;
+ readonly id: Option<U8aFixed>;
+ readonly error: FrameSupportScheduleLookupError;
+ } & Struct;
+ readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';
+ }
+
+ /** @name FrameSupportScheduleLookupError (289) */
+ export interface FrameSupportScheduleLookupError extends Enum {
+ readonly isUnknown: boolean;
+ readonly isBadFormat: boolean;
+ readonly type: 'Unknown' | 'BadFormat';
+ }
+
+ /** @name PalletCommonEvent (290) */
+ export interface PalletCommonEvent extends Enum {
+ readonly isCollectionCreated: boolean;
+ readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
+ readonly isCollectionDestroyed: boolean;
+ readonly asCollectionDestroyed: u32;
+ readonly isItemCreated: boolean;
+ readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
+ readonly isItemDestroyed: boolean;
+ readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
+ readonly isTransfer: boolean;
+ readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
+ readonly isApproved: boolean;
+ readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
+ readonly isCollectionPropertySet: boolean;
+ readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;
+ readonly isCollectionPropertyDeleted: boolean;
+ readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;
+ readonly isTokenPropertySet: boolean;
+ readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;
+ readonly isTokenPropertyDeleted: boolean;
+ readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;
+ readonly isPropertyPermissionSet: boolean;
+ readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;
+ readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';
+ }
+
+ /** @name PalletStructureEvent (291) */
+ export interface PalletStructureEvent extends Enum {
+ readonly isExecuted: boolean;
+ readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
+ readonly type: 'Executed';
+ }
+
+ /** @name PalletRmrkCoreEvent (292) */
+ export interface PalletRmrkCoreEvent extends Enum {
+ readonly isCollectionCreated: boolean;
+ readonly asCollectionCreated: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isCollectionDestroyed: boolean;
+ readonly asCollectionDestroyed: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isIssuerChanged: boolean;
+ readonly asIssuerChanged: {
+ readonly oldIssuer: AccountId32;
+ readonly newIssuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isCollectionLocked: boolean;
+ readonly asCollectionLocked: {
+ readonly issuer: AccountId32;
+ readonly collectionId: u32;
+ } & Struct;
+ readonly isNftMinted: boolean;
+ readonly asNftMinted: {
+ readonly owner: AccountId32;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isNftBurned: boolean;
+ readonly asNftBurned: {
+ readonly owner: AccountId32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isNftSent: boolean;
+ readonly asNftSent: {
+ readonly sender: AccountId32;
+ readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ readonly approvalRequired: bool;
+ } & Struct;
+ readonly isNftAccepted: boolean;
+ readonly asNftAccepted: {
+ readonly sender: AccountId32;
+ readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isNftRejected: boolean;
+ readonly asNftRejected: {
+ readonly sender: AccountId32;
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly isPropertySet: boolean;
+ readonly asPropertySet: {
+ readonly collectionId: u32;
+ readonly maybeNftId: Option<u32>;
+ readonly key: Bytes;
+ readonly value: Bytes;
+ } & Struct;
+ readonly isResourceAdded: boolean;
+ readonly asResourceAdded: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly isResourceRemoval: boolean;
+ readonly asResourceRemoval: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly isResourceAccepted: boolean;
+ readonly asResourceAccepted: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly isResourceRemovalAccepted: boolean;
+ readonly asResourceRemovalAccepted: {
+ readonly nftId: u32;
+ readonly resourceId: u32;
+ } & Struct;
+ readonly isPrioritySet: boolean;
+ readonly asPrioritySet: {
+ readonly collectionId: u32;
+ readonly nftId: u32;
+ } & Struct;
+ readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
+ }
+
+ /** @name PalletRmrkEquipEvent (293) */
+ export interface PalletRmrkEquipEvent extends Enum {
+ readonly isBaseCreated: boolean;
+ readonly asBaseCreated: {
+ readonly issuer: AccountId32;
+ readonly baseId: u32;
+ } & Struct;
+ readonly isEquippablesUpdated: boolean;
+ readonly asEquippablesUpdated: {
+ readonly baseId: u32;
+ readonly slotId: u32;
+ } & Struct;
+ readonly type: 'BaseCreated' | 'EquippablesUpdated';
+ }
+
+ /** @name PalletEvmEvent (294) */
+ export interface PalletEvmEvent extends Enum {
+ readonly isLog: boolean;
+ readonly asLog: EthereumLog;
+ readonly isCreated: boolean;
+ readonly asCreated: H160;
+ readonly isCreatedFailed: boolean;
+ readonly asCreatedFailed: H160;
+ readonly isExecuted: boolean;
+ readonly asExecuted: H160;
+ readonly isExecutedFailed: boolean;
+ readonly asExecutedFailed: H160;
+ readonly isBalanceDeposit: boolean;
+ readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;
+ readonly isBalanceWithdraw: boolean;
+ readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;
+ readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
+ }
+
+ /** @name EthereumLog (295) */
+ export interface EthereumLog extends Struct {
+ readonly address: H160;
+ readonly topics: Vec<H256>;
+ readonly data: Bytes;
+ }
+
+ /** @name PalletEthereumEvent (296) */
+ export interface PalletEthereumEvent extends Enum {
+ readonly isExecuted: boolean;
+ readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
+ readonly type: 'Executed';
+ }
+
+ /** @name EvmCoreErrorExitReason (297) */
+ export interface EvmCoreErrorExitReason extends Enum {
+ readonly isSucceed: boolean;
+ readonly asSucceed: EvmCoreErrorExitSucceed;
+ readonly isError: boolean;
+ readonly asError: EvmCoreErrorExitError;
+ readonly isRevert: boolean;
+ readonly asRevert: EvmCoreErrorExitRevert;
+ readonly isFatal: boolean;
+ readonly asFatal: EvmCoreErrorExitFatal;
+ readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
+ }
+
+ /** @name EvmCoreErrorExitSucceed (298) */
+ export interface EvmCoreErrorExitSucceed extends Enum {
+ readonly isStopped: boolean;
+ readonly isReturned: boolean;
+ readonly isSuicided: boolean;
+ readonly type: 'Stopped' | 'Returned' | 'Suicided';
+ }
+
+ /** @name EvmCoreErrorExitError (299) */
+ export interface EvmCoreErrorExitError extends Enum {
+ readonly isStackUnderflow: boolean;
+ readonly isStackOverflow: boolean;
+ readonly isInvalidJump: boolean;
+ readonly isInvalidRange: boolean;
+ readonly isDesignatedInvalid: boolean;
+ readonly isCallTooDeep: boolean;
+ readonly isCreateCollision: boolean;
+ readonly isCreateContractLimit: boolean;
+ readonly isOutOfOffset: boolean;
+ readonly isOutOfGas: boolean;
+ readonly isOutOfFund: boolean;
+ readonly isPcUnderflow: boolean;
+ readonly isCreateEmpty: boolean;
+ readonly isOther: boolean;
+ readonly asOther: Text;
+ readonly isInvalidCode: boolean;
+ readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
+ }
+
+ /** @name EvmCoreErrorExitRevert (302) */
+ export interface EvmCoreErrorExitRevert extends Enum {
+ readonly isReverted: boolean;
+ readonly type: 'Reverted';
+ }
+
+ /** @name EvmCoreErrorExitFatal (303) */
+ export interface EvmCoreErrorExitFatal extends Enum {
+ readonly isNotSupported: boolean;
+ readonly isUnhandledInterrupt: boolean;
+ readonly isCallErrorAsFatal: boolean;
+ readonly asCallErrorAsFatal: EvmCoreErrorExitError;
+ readonly isOther: boolean;
+ readonly asOther: Text;
+ readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
+ }
+
+ /** @name FrameSystemPhase (304) */
+ export interface FrameSystemPhase extends Enum {
+ readonly isApplyExtrinsic: boolean;
+ readonly asApplyExtrinsic: u32;
+ readonly isFinalization: boolean;
+ readonly isInitialization: boolean;
+ readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
+ }
+
+ /** @name FrameSystemLastRuntimeUpgradeInfo (306) */
+ export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
+ readonly specVersion: Compact<u32>;
+ readonly specName: Text;
+ }
+
+ /** @name FrameSystemLimitsBlockWeights (307) */
+ export interface FrameSystemLimitsBlockWeights extends Struct {
+ readonly baseBlock: u64;
+ readonly maxBlock: u64;
+ readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
+ }
+
+ /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (308) */
+ export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
+ readonly normal: FrameSystemLimitsWeightsPerClass;
+ readonly operational: FrameSystemLimitsWeightsPerClass;
+ readonly mandatory: FrameSystemLimitsWeightsPerClass;
+ }
+
+ /** @name FrameSystemLimitsWeightsPerClass (309) */
+ export interface FrameSystemLimitsWeightsPerClass extends Struct {
+ readonly baseExtrinsic: u64;
+ readonly maxExtrinsic: Option<u64>;
+ readonly maxTotal: Option<u64>;
+ readonly reserved: Option<u64>;
+ }
+
+ /** @name FrameSystemLimitsBlockLength (311) */
+ export interface FrameSystemLimitsBlockLength extends Struct {
+ readonly max: FrameSupportWeightsPerDispatchClassU32;
+ }
+
+ /** @name FrameSupportWeightsPerDispatchClassU32 (312) */
+ export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
+ readonly normal: u32;
+ readonly operational: u32;
+ readonly mandatory: u32;
+ }
+
+ /** @name FrameSupportWeightsRuntimeDbWeight (313) */
+ export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
+ readonly read: u64;
+ readonly write: u64;
+ }
+
+ /** @name SpVersionRuntimeVersion (314) */
+ export interface SpVersionRuntimeVersion extends Struct {
+ readonly specName: Text;
+ readonly implName: Text;
+ readonly authoringVersion: u32;
+ readonly specVersion: u32;
+ readonly implVersion: u32;
+ readonly apis: Vec<ITuple<[U8aFixed, u32]>>;
+ readonly transactionVersion: u32;
+ readonly stateVersion: u8;
+ }
+
+ /** @name FrameSystemError (318) */
+ export interface FrameSystemError extends Enum {
+ readonly isInvalidSpecName: boolean;
+ readonly isSpecVersionNeedsToIncrease: boolean;
+ readonly isFailedToExtractRuntimeVersion: boolean;
+ readonly isNonDefaultComposite: boolean;
+ readonly isNonZeroRefCount: boolean;
+ readonly isCallFiltered: boolean;
+ readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
+ }
+
+ /** @name OrmlVestingModuleError (320) */
+ export interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
readonly isInsufficientBalanceToLock: boolean;
@@ -2816,30 +3115,30 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (324) */
- interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (322) */
+ export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (325) */
- interface CumulusPalletXcmpQueueInboundState extends Enum {
+ /** @name CumulusPalletXcmpQueueInboundState (323) */
+ export interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (328) */
- interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (326) */
+ export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
readonly isSignals: boolean;
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (331) */
- interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (329) */
+ export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
readonly signalsExist: bool;
@@ -2847,15 +3146,15 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (332) */
- interface CumulusPalletXcmpQueueOutboundState extends Enum {
+ /** @name CumulusPalletXcmpQueueOutboundState (330) */
+ export interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (334) */
- interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
+ /** @name CumulusPalletXcmpQueueQueueConfigData (332) */
+ export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
readonly resumeThreshold: u32;
@@ -2864,8 +3163,8 @@
readonly xcmpMaxIndividualWeight: u64;
}
- /** @name CumulusPalletXcmpQueueError (336) */
- interface CumulusPalletXcmpQueueError extends Enum {
+ /** @name CumulusPalletXcmpQueueError (334) */
+ export interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
readonly isBadXcm: boolean;
@@ -2874,8 +3173,8 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (337) */
- interface PalletXcmError extends Enum {
+ /** @name PalletXcmError (335) */
+ export interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
readonly isFiltered: boolean;
@@ -2892,30 +3191,30 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (338) */
- type CumulusPalletXcmError = Null;
+ /** @name CumulusPalletXcmError (336) */
+ export type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (339) */
- interface CumulusPalletDmpQueueConfigData extends Struct {
+ /** @name CumulusPalletDmpQueueConfigData (337) */
+ export interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: u64;
}
- /** @name CumulusPalletDmpQueuePageIndexData (340) */
- interface CumulusPalletDmpQueuePageIndexData extends Struct {
+ /** @name CumulusPalletDmpQueuePageIndexData (338) */
+ export interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (343) */
- interface CumulusPalletDmpQueueError extends Enum {
+ /** @name CumulusPalletDmpQueueError (341) */
+ export interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (347) */
- interface PalletUniqueError extends Enum {
+ /** @name PalletUniqueError (346) */
+ export interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
readonly isEmptyArgument: boolean;
@@ -2923,8 +3222,8 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
- /** @name PalletUniqueSchedulerScheduledV3 (350) */
- interface PalletUniqueSchedulerScheduledV3 extends Struct {
+ /** @name PalletUniqueSchedulerScheduledV3 (349) */
+ export interface PalletUniqueSchedulerScheduledV3 extends Struct {
readonly maybeId: Option<U8aFixed>;
readonly priority: u8;
readonly call: FrameSupportScheduleMaybeHashed;
@@ -2932,8 +3231,9 @@
readonly origin: OpalRuntimeOriginCaller;
}
- /** @name OpalRuntimeOriginCaller (351) */
- interface OpalRuntimeOriginCaller extends Enum {
+ /** @name OpalRuntimeOriginCaller (350) */
+ export interface OpalRuntimeOriginCaller extends Enum {
+ readonly isVoid: boolean;
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
readonly isVoid: boolean;
@@ -2946,8 +3246,8 @@
readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';
}
- /** @name FrameSupportDispatchRawOrigin (352) */
- interface FrameSupportDispatchRawOrigin extends Enum {
+ /** @name FrameSupportDispatchRawOrigin (351) */
+ export interface FrameSupportDispatchRawOrigin extends Enum {
readonly isRoot: boolean;
readonly isSigned: boolean;
readonly asSigned: AccountId32;
@@ -2955,8 +3255,8 @@
readonly type: 'Root' | 'Signed' | 'None';
}
- /** @name PalletXcmOrigin (353) */
- interface PalletXcmOrigin extends Enum {
+ /** @name PalletXcmOrigin (352) */
+ export interface PalletXcmOrigin extends Enum {
readonly isXcm: boolean;
readonly asXcm: XcmV1MultiLocation;
readonly isResponse: boolean;
@@ -2964,26 +3264,26 @@
readonly type: 'Xcm' | 'Response';
}
- /** @name CumulusPalletXcmOrigin (354) */
- interface CumulusPalletXcmOrigin extends Enum {
+ /** @name CumulusPalletXcmOrigin (353) */
+ export interface CumulusPalletXcmOrigin extends Enum {
readonly isRelay: boolean;
readonly isSiblingParachain: boolean;
readonly asSiblingParachain: u32;
readonly type: 'Relay' | 'SiblingParachain';
}
- /** @name PalletEthereumRawOrigin (355) */
- interface PalletEthereumRawOrigin extends Enum {
+ /** @name PalletEthereumRawOrigin (354) */
+ export interface PalletEthereumRawOrigin extends Enum {
readonly isEthereumTransaction: boolean;
readonly asEthereumTransaction: H160;
readonly type: 'EthereumTransaction';
}
- /** @name SpCoreVoid (356) */
- type SpCoreVoid = Null;
+ /** @name SpCoreVoid (355) */
+ export type SpCoreVoid = Null;
- /** @name PalletUniqueSchedulerError (357) */
- interface PalletUniqueSchedulerError extends Enum {
+ /** @name PalletUniqueSchedulerError (356) */
+ export interface PalletUniqueSchedulerError extends Enum {
readonly isFailedToSchedule: boolean;
readonly isNotFound: boolean;
readonly isTargetBlockNumberInPast: boolean;
@@ -2991,8 +3291,8 @@
readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';
}
- /** @name UpDataStructsCollection (358) */
- interface UpDataStructsCollection extends Struct {
+ /** @name UpDataStructsCollection (357) */
+ export interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
readonly name: Vec<u16>;
@@ -3004,8 +3304,8 @@
readonly externalCollection: bool;
}
- /** @name UpDataStructsSponsorshipState (359) */
- interface UpDataStructsSponsorshipState extends Enum {
+ /** @name UpDataStructsSponsorshipState (358) */
+ export interface UpDataStructsSponsorshipState extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
readonly asUnconfirmed: AccountId32;
@@ -3014,44 +3314,44 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (360) */
- interface UpDataStructsProperties extends Struct {
+ /** @name UpDataStructsProperties (359) */
+ export interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (361) */
- interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
+ /** @name UpDataStructsPropertiesMapBoundedVec (360) */
+ export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (366) */
- interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
+ /** @name UpDataStructsPropertiesMapPropertyPermission (365) */
+ export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (373) */
- interface UpDataStructsCollectionStats extends Struct {
+ /** @name UpDataStructsCollectionStats (372) */
+ export interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (374) */
- interface UpDataStructsTokenChild extends Struct {
+ /** @name UpDataStructsTokenChild (373) */
+ export interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (375) */
- interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
+ /** @name PhantomTypeUpDataStructs (374) */
+ export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
- /** @name UpDataStructsTokenData (377) */
- interface UpDataStructsTokenData extends Struct {
+ /** @name UpDataStructsTokenData (376) */
+ export interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (379) */
- interface UpDataStructsRpcCollection extends Struct {
+ /** @name UpDataStructsRpcCollection (378) */
+ export interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
readonly name: Vec<u16>;
@@ -3065,8 +3365,8 @@
readonly readOnly: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (380) */
- interface RmrkTraitsCollectionCollectionInfo extends Struct {
+ /** @name RmrkTraitsCollectionCollectionInfo (379) */
+ export interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
readonly max: Option<u32>;
@@ -3074,8 +3374,8 @@
readonly nftsCount: u32;
}
- /** @name RmrkTraitsNftNftInfo (381) */
- interface RmrkTraitsNftNftInfo extends Struct {
+ /** @name RmrkTraitsNftNftInfo (380) */
+ export interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
readonly metadata: Bytes;
@@ -3083,41 +3383,41 @@
readonly pending: bool;
}
- /** @name RmrkTraitsNftRoyaltyInfo (383) */
- interface RmrkTraitsNftRoyaltyInfo extends Struct {
+ /** @name RmrkTraitsNftRoyaltyInfo (382) */
+ export interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name RmrkTraitsResourceResourceInfo (384) */
- interface RmrkTraitsResourceResourceInfo extends Struct {
+ /** @name RmrkTraitsResourceResourceInfo (383) */
+ export interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
readonly pending: bool;
readonly pendingRemoval: bool;
}
- /** @name RmrkTraitsPropertyPropertyInfo (385) */
- interface RmrkTraitsPropertyPropertyInfo extends Struct {
+ /** @name RmrkTraitsPropertyPropertyInfo (384) */
+ export interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name RmrkTraitsBaseBaseInfo (386) */
- interface RmrkTraitsBaseBaseInfo extends Struct {
+ /** @name RmrkTraitsBaseBaseInfo (385) */
+ export interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name RmrkTraitsNftNftChild (387) */
- interface RmrkTraitsNftNftChild extends Struct {
+ /** @name RmrkTraitsNftNftChild (386) */
+ export interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name PalletCommonError (389) */
- interface PalletCommonError extends Enum {
+ /** @name PalletCommonError (388) */
+ export interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
readonly isNoPermission: boolean;
@@ -3155,8 +3455,8 @@
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';
}
- /** @name PalletFungibleError (391) */
- interface PalletFungibleError extends Enum {
+ /** @name PalletFungibleError (390) */
+ export interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
readonly isFungibleItemsDontHaveData: boolean;
@@ -3165,8 +3465,8 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletRefungibleItemData (392) */
- interface PalletRefungibleItemData extends Struct {
+ /** @name PalletRefungibleItemData (391) */
+ export interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
tests/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',
+ ),
},
};