difftreelog
added totalstaked & fix bug with number in RPC Client
in: master
15 files changed
client/rpc/src/lib.rsdiffbeforeafterboth247247248 /// Returns the total amount of staked tokens.248 /// Returns the total amount of staked tokens.249 #[method(name = "unique_totalStaked")]249 #[method(name = "unique_totalStaked")]250 fn total_staked(&self, staker: CrossAccountId, at: Option<BlockHash>) -> Result<u128>;250 fn total_staked(&self, staker: Option<CrossAccountId>, at: Option<BlockHash>)251 -> Result<String>;251252252 ///Returns the total amount of staked tokens per block when staked.253 ///Returns the total amount of staked tokens per block when staked.253 #[method(name = "unique_totalStakedPerBlock")]254 #[method(name = "unique_totalStakedPerBlock")]254 fn total_staked_per_block(255 fn total_staked_per_block(255 &self,256 &self,256 staker: CrossAccountId,257 staker: CrossAccountId,257 at: Option<BlockHash>,258 at: Option<BlockHash>,258 ) -> Result<Vec<(BlockNumber, u128)>>;259 ) -> Result<Vec<(BlockNumber, String)>>;259260260 /// Return the total amount locked by staking tokens.261 /// Return the total amount locked by staking tokens.261 #[method(name = "unique_totalStakingLocked")]262 #[method(name = "unique_totalStakingLocked")]262 fn total_staking_locked(&self, staker: CrossAccountId, at: Option<BlockHash>) -> Result<u128>;263 fn total_staking_locked(&self, staker: CrossAccountId, at: Option<BlockHash>)264 -> Result<String>;263}265}264266265mod rmrk_unique_rpc {267mod rmrk_unique_rpc {539 pass_method!(effective_collection_limits(collection_id: CollectionId) -> Option<CollectionLimits>, unique_api);541 pass_method!(effective_collection_limits(collection_id: CollectionId) -> Option<CollectionLimits>, unique_api);540 pass_method!(total_pieces(collection_id: CollectionId, token_id: TokenId) -> Option<String> => |o| o.map(|number| number.to_string()) , unique_api);542 pass_method!(total_pieces(collection_id: CollectionId, token_id: TokenId) -> Option<String> => |o| o.map(|number| number.to_string()) , unique_api);541 pass_method!(token_owners(collection: CollectionId, token: TokenId) -> Vec<CrossAccountId>, unique_api);543 pass_method!(token_owners(collection: CollectionId, token: TokenId) -> Vec<CrossAccountId>, unique_api);542 pass_method!(total_staked(staker: CrossAccountId) -> u128, unique_api);544 pass_method!(total_staked(staker: Option<CrossAccountId>) -> String => |v| v.to_string(), unique_api);543 pass_method!(total_staked_per_block(staker: CrossAccountId) -> Vec<(BlockNumber, u128)>, unique_api);545 pass_method!(total_staked_per_block(staker: CrossAccountId) -> Vec<(BlockNumber, String)> =>546 |v| v547 .into_iter()548 .map(|(b, a)| (b, a.to_string()))549 .collect::<Vec<_>>(), unique_api);544 pass_method!(total_staking_locked(staker: CrossAccountId) -> u128, unique_api);550 pass_method!(total_staking_locked(staker: CrossAccountId) -> String => |v| v.to_string(), unique_api);545}551}546552547#[allow(deprecated)]553#[allow(deprecated)]pallets/app-promotion/src/lib.rsdiffbeforeafterboth448 }448 }449 }449 }450450451 pub fn cross_id_total_staked(staker: T::CrossAccountId) -> Option<BalanceOf<T>> {451 pub fn cross_id_total_staked(staker: Option<T::CrossAccountId>) -> Option<BalanceOf<T>> {452 staker.map_or(Some(<TotalStaked<T>>::get()), |s| {452 Self::total_staked_by_id(staker.as_sub())453 Self::total_staked_by_id(s.as_sub())454 })455 // Self::total_staked_by_id(staker.as_sub())453 }456 }454457455 pub fn cross_id_locked_balance(staker: T::CrossAccountId) -> BalanceOf<T> {458 pub fn cross_id_locked_balance(staker: T::CrossAccountId) -> BalanceOf<T> {primitives/rpc/src/lib.rsdiffbeforeafterboth126 /// Get total pieces of token.126 /// Get total pieces of token.127 fn total_pieces(collection_id: CollectionId, token_id: TokenId) -> Result<Option<u128>>;127 fn total_pieces(collection_id: CollectionId, token_id: TokenId) -> Result<Option<u128>>;128 fn token_owners(collection: CollectionId, token: TokenId) -> Result<Vec<CrossAccountId>>;128 fn token_owners(collection: CollectionId, token: TokenId) -> Result<Vec<CrossAccountId>>;129 fn total_staked(staker: CrossAccountId) -> Result<u128>;129 fn total_staked(staker: Option<CrossAccountId>) -> Result<u128>;130 fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>>;130 fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>>;131 fn total_staking_locked(staker: CrossAccountId) -> Result<u128>;131 fn total_staking_locked(staker: CrossAccountId) -> Result<u128>;132 }132 }runtime/common/runtime_apis.rsdiffbeforeafterboth188 dispatch_unique_runtime!(collection.total_pieces(token_id))188 dispatch_unique_runtime!(collection.total_pieces(token_id))189 }189 }190190191 fn total_staked(staker: CrossAccountId) -> Result<u128, DispatchError> {191 fn total_staked(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {192 Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked(staker).unwrap_or_default())192 Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked(staker).unwrap_or_default())193 // Ok(0)193 // Ok(0)194 }194 }tests/package.jsondiffbeforeafterboth83 "testRFT": "mocha --timeout 9999999 -r ts-node/register ./**/refungible.test.ts",83 "testRFT": "mocha --timeout 9999999 -r ts-node/register ./**/refungible.test.ts",84 "testFT": "mocha --timeout 9999999 -r ts-node/register ./**/fungible.test.ts",84 "testFT": "mocha --timeout 9999999 -r ts-node/register ./**/fungible.test.ts",85 "testRPC": "mocha --timeout 9999999 -r ts-node/register ./**/rpc.test.ts",85 "testRPC": "mocha --timeout 9999999 -r ts-node/register ./**/rpc.test.ts",86 "testPromotion": "mocha --timeout 9999999 -r ts-node/register ./**/app-promotion.test.ts",86 "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",87 "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",87 "polkadot-types-from-defs": "ts-node ./node_modules/.bin/polkadot-types-from-defs --endpoint src/interfaces/metadata.json --input src/interfaces/ --package .",88 "polkadot-types-from-defs": "ts-node ./node_modules/.bin/polkadot-types-from-defs --endpoint src/interfaces/metadata.json --input src/interfaces/ --package .",88 "polkadot-types-from-chain": "ts-node ./node_modules/.bin/polkadot-types-from-chain --endpoint src/interfaces/metadata.json --output src/interfaces/ --package .",89 "polkadot-types-from-chain": "ts-node ./node_modules/.bin/polkadot-types-from-chain --endpoint src/interfaces/metadata.json --output src/interfaces/ --package .",tests/src/app-promotion.test.tsdiffbeforeafterbothno changes
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth456 **/456 **/457 [key: string]: QueryableStorageEntry<ApiType>;457 [key: string]: QueryableStorageEntry<ApiType>;458 };458 };459 promotion: {460 admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;461 /**462 * Next target block when interest is recalculated463 **/464 nextInterestBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;465 pendingUnstake: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;466 /**467 * Amount of tokens staked by account in the blocknumber.468 **/469 staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;470 /**471 * A block when app-promotion has started472 **/473 startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;474 totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;475 /**476 * Generic query477 **/478 [key: string]: QueryableStorageEntry<ApiType>;479 };459 randomnessCollectiveFlip: {480 randomnessCollectiveFlip: {460 /**481 /**461 * Series of block headers from the last 81 blocks that acts as random seed material. This482 * Series of block headers from the last 81 blocks that acts as random seed material. Thistests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth8import type { PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsPartPartType, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData } from './default';8import type { PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsPartPartType, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData } from './default';9import type { AugmentedRpc } from '@polkadot/rpc-core/types';9import type { AugmentedRpc } from '@polkadot/rpc-core/types';10import type { Metadata, StorageKey } from '@polkadot/types';10import type { Metadata, StorageKey } from '@polkadot/types';11import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec';11import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';12import type { AnyNumber, Codec } from '@polkadot/types-codec/types';12import type { AnyNumber, Codec, ITuple } from '@polkadot/types-codec/types';13import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';13import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';14import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';14import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';15import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';15import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';738 * Get the total amount of pieces of an RFT738 * Get the total amount of pieces of an RFT739 **/739 **/740 totalPieces: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u128>>>;740 totalPieces: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u128>>>;741 /**742 * Returns the total amount of staked tokens743 **/744 totalStaked: AugmentedRpc<(staker?: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;745 /**746 * Returns the total amount of staked tokens per block when staked747 **/748 totalStakedPerBlock: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>>;749 /**750 * Return the total amount locked by staking tokens751 **/752 totalStakingLocked: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;741 /**753 /**742 * Get the amount of distinctive tokens present in a collection754 * Get the amount of distinctive tokens present in a collection743 **/755 **/tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth362 **/362 **/363 [key: string]: SubmittableExtrinsicFunction<ApiType>;363 [key: string]: SubmittableExtrinsicFunction<ApiType>;364 };364 };365 promotion: {366 setAdminAddress: AugmentedSubmittable<(admin: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;367 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;368 startAppPromotion: AugmentedSubmittable<(promotionStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;369 unstake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;370 /**371 * Generic tx372 **/373 [key: string]: SubmittableExtrinsicFunction<ApiType>;374 };365 rmrkCore: {375 rmrkCore: {366 /**376 /**367 * Accept an NFT sent from another account to self or an owned NFT.377 * Accept an NFT sent from another account to self or an owned NFT.tests/src/interfaces/augment-types.tsdiffbeforeafterboth804 Owner: Owner;804 Owner: Owner;805 PageCounter: PageCounter;805 PageCounter: PageCounter;806 PageIndexData: PageIndexData;806 PageIndexData: PageIndexData;807 PalletAppPromotionCall: PalletAppPromotionCall;807 PalletBalancesAccountData: PalletBalancesAccountData;808 PalletBalancesAccountData: PalletBalancesAccountData;808 PalletBalancesBalanceLock: PalletBalancesBalanceLock;809 PalletBalancesBalanceLock: PalletBalancesBalanceLock;809 PalletBalancesCall: PalletBalancesCall;810 PalletBalancesCall: PalletBalancesCall;tests/src/interfaces/default/types.tsdiffbeforeafterboth806 readonly perPeriod: Compact<u128>;806 readonly perPeriod: Compact<u128>;807}807}808809/** @name PalletAppPromotionCall */810export interface PalletAppPromotionCall extends Enum {811 readonly isSetAdminAddress: boolean;812 readonly asSetAdminAddress: {813 readonly admin: AccountId32;814 } & Struct;815 readonly isStartAppPromotion: boolean;816 readonly asStartAppPromotion: {817 readonly promotionStartRelayBlock: u32;818 } & Struct;819 readonly isStake: boolean;820 readonly asStake: {821 readonly amount: u128;822 } & Struct;823 readonly isUnstake: boolean;824 readonly asUnstake: {825 readonly amount: u128;826 } & Struct;827 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';828}808829809/** @name PalletBalancesAccountData */830/** @name PalletBalancesAccountData */810export interface PalletBalancesAccountData extends Struct {831export interface PalletBalancesAccountData extends Struct {tests/src/interfaces/lookup.tsdiffbeforeafterboth1979 collectionId: 'u32',1979 collectionId: 'u32',1980 data: 'UpDataStructsCreateItemExData',1980 data: 'UpDataStructsCreateItemExData',1981 },1981 },1982<<<<<<< HEAD1982 set_transfers_enabled_flag: {1983 set_transfers_enabled_flag: {1983 collectionId: 'u32',1984 collectionId: 'u32',1984 value: 'bool',1985 value: 'bool',1986=======1987 finish: {1988 address: 'H160',1989 code: 'Bytes'1990 }1991 }1992 },1993 /**1994 * Lookup259: pallet_sudo::pallet::Event<T>1995 **/1996 PalletSudoEvent: {1997 _enum: {1998 Sudid: {1999 sudoResult: 'Result<Null, SpRuntimeDispatchError>',2000>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client1985 },2001 },1986 burn_item: {2002 burn_item: {1987 collectionId: 'u32',2003 collectionId: 'u32',tests/src/interfaces/registry.tsdiffbeforeafterboth83 OrmlVestingModuleError: OrmlVestingModuleError;83 OrmlVestingModuleError: OrmlVestingModuleError;84 OrmlVestingModuleEvent: OrmlVestingModuleEvent;84 OrmlVestingModuleEvent: OrmlVestingModuleEvent;85 OrmlVestingVestingSchedule: OrmlVestingVestingSchedule;85 OrmlVestingVestingSchedule: OrmlVestingVestingSchedule;86 PalletAppPromotionCall: PalletAppPromotionCall;86 PalletBalancesAccountData: PalletBalancesAccountData;87 PalletBalancesAccountData: PalletBalancesAccountData;87 PalletBalancesBalanceLock: PalletBalancesBalanceLock;88 PalletBalancesBalanceLock: PalletBalancesBalanceLock;88 PalletBalancesCall: PalletBalancesCall;89 PalletBalancesCall: PalletBalancesCall;tests/src/interfaces/types-lookup.tsdiffbeforeafterboth10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';11import type { Event } from '@polkadot/types/interfaces/system';121213declare module '@polkadot/types/lookup' {13 /** @name PolkadotPrimitivesV2PersistedValidationData (2) */14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {14 export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {16 readonly nonce: u32;15 readonly parentHead: Bytes;17 readonly consumers: u32;16 readonly relayParentNumber: u32;18 readonly providers: u32;17 readonly relayParentStorageRoot: H256;19 readonly sufficients: u32;18 readonly maxPovSize: u32;20 readonly data: PalletBalancesAccountData;21 }19 }222023 /** @name PalletBalancesAccountData (5) */21 /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */24 interface PalletBalancesAccountData extends Struct {22 export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;23 readonly isPresent: boolean;28 readonly feeFrozen: u128;24 readonly type: 'Present';29 }25 }302631 /** @name FrameSupportWeightsPerDispatchClassU64 (7) */27 /** @name SpTrieStorageProof (10) */32 interface FrameSupportWeightsPerDispatchClassU64 extends Struct {28 export interface SpTrieStorageProof extends Struct {33 readonly normal: u64;34 readonly operational: u64;35 readonly mandatory: u64;29 readonly trieNodes: BTreeSet<Bytes>;36 }30 }373138 /** @name SpRuntimeDigest (11) */32 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */39 interface SpRuntimeDigest extends Struct {33 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {40 readonly logs: Vec<SpRuntimeDigestDigestItem>;34 readonly dmqMqcHead: H256;35 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;36 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;37 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;41 }38 }423943 /** @name SpRuntimeDigestDigestItem (13) */40 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */44 interface SpRuntimeDigestDigestItem extends Enum {41 export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {45 readonly isOther: boolean;42 readonly maxCapacity: u32;46 readonly asOther: Bytes;43 readonly maxTotalSize: u32;47 readonly isConsensus: boolean;44 readonly maxMessageSize: u32;48 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;45 readonly msgCount: u32;49 readonly isSeal: boolean;46 readonly totalSize: u32;50 readonly asSeal: ITuple<[U8aFixed, Bytes]>;47 readonly mqcHead: Option<H256>;51 readonly isPreRuntime: boolean;52 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;53 readonly isRuntimeEnvironmentUpdated: boolean;54 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';55 }48 }564957 /** @name FrameSystemEventRecord (16) */50 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */58 interface FrameSystemEventRecord extends Struct {51 export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {52 readonly maxCodeSize: u32;53 readonly maxHeadDataSize: u32;54 readonly maxUpwardQueueCount: u32;55 readonly maxUpwardQueueSize: u32;56 readonly maxUpwardMessageSize: u32;57 readonly maxUpwardMessageNumPerCandidate: u32;59 readonly phase: FrameSystemPhase;58 readonly hrmpMaxMessageNumPerCandidate: u32;60 readonly event: Event;59 readonly validationUpgradeCooldown: u32;61 readonly topics: Vec<H256>;60 readonly validationUpgradeDelay: u32;62 }61 }636264 /** @name FrameSystemEvent (18) */63 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */65 interface FrameSystemEvent extends Enum {64 export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {65 readonly recipient: u32;66 readonly data: Bytes;67 }6869 /** @name CumulusPalletParachainSystemCall (28) */70 export interface CumulusPalletParachainSystemCall extends Enum {66 readonly isExtrinsicSuccess: boolean;71 readonly isSetValidationData: boolean;67 readonly asExtrinsicSuccess: {72 readonly asSetValidationData: {68 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;73 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;69 } & Struct;74 } & Struct;70 readonly isExtrinsicFailed: boolean;75 readonly isExtrinsicFailed: boolean;71 readonly asExtrinsicFailed: {76 readonly asExtrinsicFailed: {89 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';94 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';90 }95 }919692 /** @name FrameSupportWeightsDispatchInfo (19) */97 /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */93 interface FrameSupportWeightsDispatchInfo extends Struct {98 export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {94 readonly weight: u64;99 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;95 readonly class: FrameSupportWeightsDispatchClass;100 readonly relayChainState: SpTrieStorageProof;96 readonly paysFee: FrameSupportWeightsPays;101 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;102 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;97 }103 }9810499 /** @name FrameSupportWeightsDispatchClass (20) */105 /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */100 interface FrameSupportWeightsDispatchClass extends Enum {106 export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {101 readonly isNormal: boolean;107 readonly sentAt: u32;102 readonly isOperational: boolean;108 readonly msg: Bytes;103 readonly isMandatory: boolean;104 readonly type: 'Normal' | 'Operational' | 'Mandatory';105 }109 }106110107 /** @name FrameSupportWeightsPays (21) */111 /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */108 interface FrameSupportWeightsPays extends Enum {112 export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {109 readonly isYes: boolean;113 readonly sentAt: u32;110 readonly isNo: boolean;114 readonly data: Bytes;111 readonly type: 'Yes' | 'No';112 }115 }113116114 /** @name SpRuntimeDispatchError (22) */117 /** @name CumulusPalletParachainSystemEvent (37) */115 interface SpRuntimeDispatchError extends Enum {116 readonly isOther: boolean;117 readonly isCannotLookup: boolean;118 readonly isBadOrigin: boolean;119 readonly isModule: boolean;120 readonly asModule: SpRuntimeModuleError;121 readonly isConsumerRemaining: boolean;122 readonly isNoProviders: boolean;123 readonly isTooManyConsumers: boolean;124 readonly isToken: boolean;125 readonly asToken: SpRuntimeTokenError;126 readonly isArithmetic: boolean;127 readonly asArithmetic: SpRuntimeArithmeticError;128 readonly isTransactional: boolean;129 readonly asTransactional: SpRuntimeTransactionalError;130 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';131 }132133 /** @name SpRuntimeModuleError (23) */134 interface SpRuntimeModuleError extends Struct {135 readonly index: u8;136 readonly error: U8aFixed;137 }138139 /** @name SpRuntimeTokenError (24) */140 interface SpRuntimeTokenError extends Enum {141 readonly isNoFunds: boolean;142 readonly isWouldDie: boolean;143 readonly isBelowMinimum: boolean;144 readonly isCannotCreate: boolean;145 readonly isUnknownAsset: boolean;146 readonly isFrozen: boolean;147 readonly isUnsupported: boolean;148 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';149 }150151 /** @name SpRuntimeArithmeticError (25) */152 interface SpRuntimeArithmeticError extends Enum {153 readonly isUnderflow: boolean;154 readonly isOverflow: boolean;155 readonly isDivisionByZero: boolean;156 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';157 }158159 /** @name SpRuntimeTransactionalError (26) */160 interface SpRuntimeTransactionalError extends Enum {161 readonly isLimitReached: boolean;162 readonly isNoLayer: boolean;163 readonly type: 'LimitReached' | 'NoLayer';164 }165166 /** @name CumulusPalletParachainSystemEvent (27) */167 interface CumulusPalletParachainSystemEvent extends Enum {118 export interface CumulusPalletParachainSystemEvent extends Enum {168 readonly isValidationFunctionStored: boolean;119 readonly isValidationFunctionStored: boolean;169 readonly isValidationFunctionApplied: boolean;120 readonly isValidationFunctionApplied: boolean;170 readonly asValidationFunctionApplied: {121 readonly asValidationFunctionApplied: {187 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';138 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';188 }139 }189140190 /** @name PalletBalancesEvent (28) */141 /** @name CumulusPalletParachainSystemError (38) */191 interface PalletBalancesEvent extends Enum {142 export interface CumulusPalletParachainSystemError extends Enum {143 readonly isOverlappingUpgrades: boolean;144 readonly isProhibitedByPolkadot: boolean;145 readonly isTooBig: boolean;146 readonly isValidationDataNotAvailable: boolean;147 readonly isHostConfigurationNotAvailable: boolean;148 readonly isNotScheduled: boolean;149 readonly isNothingAuthorized: boolean;150 readonly isUnauthorized: boolean;151 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';152 }153154 /** @name PalletBalancesAccountData (41) */155 export interface PalletBalancesAccountData extends Struct {156 readonly free: u128;157 readonly reserved: u128;158 readonly miscFrozen: u128;159 readonly feeFrozen: u128;160 }161162 /** @name PalletBalancesBalanceLock (43) */163 export interface PalletBalancesBalanceLock extends Struct {164 readonly id: U8aFixed;165 readonly amount: u128;166 readonly reasons: PalletBalancesReasons;167 }168169 /** @name PalletBalancesReasons (45) */170 export interface PalletBalancesReasons extends Enum {171 readonly isFee: boolean;172 readonly isMisc: boolean;173 readonly isAll: boolean;174 readonly type: 'Fee' | 'Misc' | 'All';175 }176177 /** @name PalletBalancesReserveData (48) */178 export interface PalletBalancesReserveData extends Struct {179 readonly id: U8aFixed;180 readonly amount: u128;181 }182183 /** @name PalletBalancesReleases (51) */184 export interface PalletBalancesReleases extends Enum {185 readonly isV100: boolean;186 readonly isV200: boolean;187 readonly type: 'V100' | 'V200';188 }189190 /** @name PalletBalancesCall (52) */191 export interface PalletBalancesCall extends Enum {192 readonly isTransfer: boolean;193 readonly asTransfer: {194 readonly dest: MultiAddress;195 readonly value: Compact<u128>;196 } & Struct;197 readonly isSetBalance: boolean;198 readonly asSetBalance: {199 readonly who: MultiAddress;200 readonly newFree: Compact<u128>;201 readonly newReserved: Compact<u128>;202 } & Struct;203 readonly isForceTransfer: boolean;204 readonly asForceTransfer: {205 readonly source: MultiAddress;206 readonly dest: MultiAddress;207 readonly value: Compact<u128>;208 } & Struct;209 readonly isTransferKeepAlive: boolean;210 readonly asTransferKeepAlive: {211 readonly dest: MultiAddress;212 readonly value: Compact<u128>;213 } & Struct;214 readonly isTransferAll: boolean;215 readonly asTransferAll: {216 readonly dest: MultiAddress;217 readonly keepAlive: bool;218 } & Struct;219 readonly isForceUnreserve: boolean;220 readonly asForceUnreserve: {221 readonly who: MultiAddress;222 readonly amount: u128;223 } & Struct;224 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';225 }226227 /** @name PalletBalancesEvent (58) */228 export interface PalletBalancesEvent extends Enum {192 readonly isEndowed: boolean;229 readonly isEndowed: boolean;193 readonly asEndowed: {230 readonly asEndowed: {194 readonly account: AccountId32;231 readonly account: AccountId32;246 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';283 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';247 }284 }248285249 /** @name FrameSupportTokensMiscBalanceStatus (29) */286 /** @name FrameSupportTokensMiscBalanceStatus (59) */250 interface FrameSupportTokensMiscBalanceStatus extends Enum {287 export interface FrameSupportTokensMiscBalanceStatus extends Enum {251 readonly isFree: boolean;288 readonly isFree: boolean;252 readonly isReserved: boolean;289 readonly isReserved: boolean;253 readonly type: 'Free' | 'Reserved';290 readonly type: 'Free' | 'Reserved';254 }291 }255292256 /** @name PalletTransactionPaymentEvent (30) */293 /** @name PalletBalancesError (60) */257 interface PalletTransactionPaymentEvent extends Enum {294 export interface PalletBalancesError extends Enum {258 readonly isTransactionFeePaid: boolean;295 readonly isVestingBalance: boolean;259 readonly asTransactionFeePaid: {296 readonly isLiquidityRestrictions: boolean;260 readonly who: AccountId32;297 readonly isInsufficientBalance: boolean;298 readonly isExistentialDeposit: boolean;261 readonly actualFee: u128;299 readonly isKeepAlive: boolean;300 readonly isExistingVestingSchedule: boolean;301 readonly isDeadAccount: boolean;302 readonly isTooManyReserves: boolean;303 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';304 }305306 /** @name PalletTimestampCall (63) */307 export interface PalletTimestampCall extends Enum {308 readonly isSet: boolean;309 readonly asSet: {262 readonly tip: u128;310 readonly now: Compact<u64>;263 } & Struct;311 } & Struct;264 readonly type: 'TransactionFeePaid';312 readonly type: 'Set';265 }313 }266314267 /** @name PalletTreasuryEvent (31) */315 /** @name PalletTransactionPaymentReleases (66) */316 export interface PalletTransactionPaymentReleases extends Enum {317 readonly isV1Ancient: boolean;318 readonly isV2: boolean;319 readonly type: 'V1Ancient' | 'V2';320 }321322 /** @name PalletTreasuryProposal (67) */323 export interface PalletTreasuryProposal extends Struct {324 readonly proposer: AccountId32;325 readonly value: u128;326 readonly beneficiary: AccountId32;327 readonly bond: u128;328 }329330 /** @name PalletTreasuryCall (70) */331 export interface PalletTreasuryCall extends Enum {332 readonly isProposeSpend: boolean;333 readonly asProposeSpend: {334 readonly value: Compact<u128>;335 readonly beneficiary: MultiAddress;336 } & Struct;337 readonly isRejectProposal: boolean;338 readonly asRejectProposal: {339 readonly proposalId: Compact<u32>;340 } & Struct;341 readonly isApproveProposal: boolean;342 readonly asApproveProposal: {343 readonly proposalId: Compact<u32>;344 } & Struct;345 readonly isRemoveApproval: boolean;346 readonly asRemoveApproval: {347 readonly proposalId: Compact<u32>;348 } & Struct;349 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'RemoveApproval';350 }351352 /** @name PalletTreasuryEvent (72) */268 interface PalletTreasuryEvent extends Enum {353 export interface PalletTreasuryEvent extends Enum {269 readonly isProposed: boolean;354 readonly isProposed: boolean;270 readonly asProposed: {355 readonly asProposed: {271 readonly proposalIndex: u32;356 readonly proposalIndex: u32;297 readonly asDeposit: {382 readonly asDeposit: {298 readonly value: u128;383 readonly value: u128;299 } & Struct;384 } & Struct;300 readonly isSpendApproved: boolean;385 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';386 }387388 /** @name FrameSupportPalletId (75) */389 export interface FrameSupportPalletId extends U8aFixed {}390391 /** @name PalletTreasuryError (76) */392 export interface PalletTreasuryError extends Enum {393 readonly isInsufficientProposersBalance: boolean;301 readonly asSpendApproved: {394 readonly isInvalidIndex: boolean;302 readonly proposalIndex: u32;395 readonly isTooManyApprovals: boolean;396 readonly isProposalNotApproved: boolean;303 readonly amount: u128;397 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'ProposalNotApproved';398 }399400 /** @name PalletSudoCall (77) */401 export interface PalletSudoCall extends Enum {402 readonly isSudo: boolean;403 readonly asSudo: {304 readonly beneficiary: AccountId32;404 readonly call: Call;305 } & Struct;405 } & Struct;406 readonly isSudoUncheckedWeight: boolean;407 readonly asSudoUncheckedWeight: {408 readonly call: Call;409 readonly weight: u64;410 } & Struct;411 readonly isSetKey: boolean;412 readonly asSetKey: {413 readonly new_: MultiAddress;414 } & Struct;415 readonly isSudoAs: boolean;416 readonly asSudoAs: {417 readonly who: MultiAddress;418 readonly call: Call;419 } & Struct;306 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';420 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';307 }421 }308422309 /** @name PalletSudoEvent (32) */423 /** @name FrameSystemCall (79) */310 interface PalletSudoEvent extends Enum {424 export interface FrameSystemCall extends Enum {311 readonly isSudid: boolean;425 readonly isFillBlock: boolean;312 readonly asSudid: {426 readonly asFillBlock: {313 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;427 readonly ratio: Perbill;314 } & Struct;428 } & Struct;315 readonly isKeyChanged: boolean;429 readonly isRemark: boolean;316 readonly asKeyChanged: {430 readonly asRemark: {317 readonly oldSudoer: Option<AccountId32>;431 readonly remark: Bytes;318 } & Struct;432 } & Struct;319 readonly isSudoAsDone: boolean;433 readonly isSetHeapPages: boolean;320 readonly asSudoAsDone: {434 readonly asSetHeapPages: {321 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;435 readonly pages: u64;322 } & Struct;436 } & Struct;323 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';437 readonly isSetCode: boolean;438 readonly asSetCode: {439 readonly code: Bytes;440 } & Struct;441 readonly isSetCodeWithoutChecks: boolean;442 readonly asSetCodeWithoutChecks: {443 readonly code: Bytes;444 } & Struct;445 readonly isSetStorage: boolean;446 readonly asSetStorage: {447 readonly items: Vec<ITuple<[Bytes, Bytes]>>;448 } & Struct;449 readonly isKillStorage: boolean;450 readonly asKillStorage: {451 readonly keys_: Vec<Bytes>;452 } & Struct;453 readonly isKillPrefix: boolean;454 readonly asKillPrefix: {455 readonly prefix: Bytes;456 readonly subkeys: u32;457 } & Struct;458 readonly isRemarkWithEvent: boolean;459 readonly asRemarkWithEvent: {460 readonly remark: Bytes;461 } & Struct;462 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';324 }463 }325464326 /** @name OrmlVestingModuleEvent (36) */465 /** @name OrmlVestingModuleCall (83) */327 interface OrmlVestingModuleEvent extends Enum {466 export interface OrmlVestingModuleCall extends Enum {328 readonly isVestingScheduleAdded: boolean;467 readonly isClaim: boolean;329 readonly asVestingScheduleAdded: {468 readonly isVestedTransfer: boolean;330 readonly from: AccountId32;469 readonly asVestedTransfer: {331 readonly to: AccountId32;470 readonly dest: MultiAddress;332 readonly vestingSchedule: OrmlVestingVestingSchedule;471 readonly schedule: OrmlVestingVestingSchedule;333 } & Struct;472 } & Struct;334 readonly isClaimed: boolean;473 readonly isClaimed: boolean;335 readonly asClaimed: {474 readonly asClaimed: {343 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';482 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';344 }483 }345484346 /** @name OrmlVestingVestingSchedule (37) */485 /** @name OrmlVestingVestingSchedule (84) */347 interface OrmlVestingVestingSchedule extends Struct {486 export interface OrmlVestingVestingSchedule extends Struct {348 readonly start: u32;487 readonly start: u32;349 readonly period: u32;488 readonly period: u32;350 readonly periodCount: u32;489 readonly periodCount: u32;351 readonly perPeriod: Compact<u128>;490 readonly perPeriod: Compact<u128>;352 }491 }353492354 /** @name CumulusPalletXcmpQueueEvent (39) */493 /** @name CumulusPalletXcmpQueueCall (86) */355 interface CumulusPalletXcmpQueueEvent extends Enum {494 export interface CumulusPalletXcmpQueueCall extends Enum {356 readonly isSuccess: boolean;495 readonly isServiceOverweight: boolean;357 readonly asSuccess: {496 readonly asServiceOverweight: {358 readonly messageHash: Option<H256>;497 readonly index: u64;359 readonly weight: u64;498 readonly weightLimit: u64;360 } & Struct;499 } & Struct;361 readonly isFail: boolean;500 readonly isFail: boolean;362 readonly asFail: {501 readonly asFail: {395 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';534 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';396 }535 }397536398 /** @name XcmV2TraitsError (41) */537 /** @name PalletXcmCall (87) */399 interface XcmV2TraitsError extends Enum {538 export interface PalletXcmCall extends Enum {400 readonly isOverflow: boolean;539 readonly isSend: boolean;401 readonly isUnimplemented: boolean;540 readonly asSend: {541 readonly dest: XcmVersionedMultiLocation;402 readonly isUntrustedReserveLocation: boolean;542 readonly message: XcmVersionedXcm;403 readonly isUntrustedTeleportLocation: boolean;543 } & Struct;544 readonly isTeleportAssets: boolean;404 readonly isMultiLocationFull: boolean;545 readonly asTeleportAssets: {546 readonly dest: XcmVersionedMultiLocation;405 readonly isMultiLocationNotInvertible: boolean;547 readonly beneficiary: XcmVersionedMultiLocation;406 readonly isBadOrigin: boolean;548 readonly assets: XcmVersionedMultiAssets;407 readonly isInvalidLocation: boolean;549 readonly feeAssetItem: u32;408 readonly isAssetNotFound: boolean;550 } & Struct;551 readonly isReserveTransferAssets: boolean;409 readonly isFailedToTransactAsset: boolean;552 readonly asReserveTransferAssets: {553 readonly dest: XcmVersionedMultiLocation;410 readonly isNotWithdrawable: boolean;554 readonly beneficiary: XcmVersionedMultiLocation;411 readonly isLocationCannotHold: boolean;555 readonly assets: XcmVersionedMultiAssets;412 readonly isExceedsMaxMessageSize: boolean;556 readonly feeAssetItem: u32;413 readonly isDestinationUnsupported: boolean;557 } & Struct;558 readonly isExecute: boolean;414 readonly isTransport: boolean;559 readonly asExecute: {560 readonly message: XcmVersionedXcm;415 readonly isUnroutable: boolean;561 readonly maxWeight: u64;416 readonly isUnknownClaim: boolean;562 } & Struct;563 readonly isForceXcmVersion: boolean;417 readonly isFailedToDecode: boolean;564 readonly asForceXcmVersion: {565 readonly location: XcmV1MultiLocation;418 readonly isMaxWeightInvalid: boolean;566 readonly xcmVersion: u32;419 readonly isNotHoldingFees: boolean;567 } & Struct;568 readonly isForceDefaultXcmVersion: boolean;420 readonly isTooExpensive: boolean;569 readonly asForceDefaultXcmVersion: {570 readonly maybeXcmVersion: Option<u32>;421 readonly isTrap: boolean;571 } & Struct;572 readonly isForceSubscribeVersionNotify: boolean;422 readonly asTrap: u64;573 readonly asForceSubscribeVersionNotify: {574 readonly location: XcmVersionedMultiLocation;423 readonly isUnhandledXcmVersion: boolean;575 } & Struct;576 readonly isForceUnsubscribeVersionNotify: boolean;424 readonly isWeightLimitReached: boolean;577 readonly asForceUnsubscribeVersionNotify: {578 readonly location: XcmVersionedMultiLocation;579 } & Struct;580 readonly isLimitedReserveTransferAssets: boolean;425 readonly asWeightLimitReached: u64;581 readonly asLimitedReserveTransferAssets: {582 readonly dest: XcmVersionedMultiLocation;426 readonly isBarrier: boolean;583 readonly beneficiary: XcmVersionedMultiLocation;427 readonly isWeightNotComputable: boolean;584 readonly assets: XcmVersionedMultiAssets;585 readonly feeAssetItem: u32;586 readonly weightLimit: XcmV2WeightLimit;587 } & Struct;588 readonly isLimitedTeleportAssets: boolean;428 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';589 readonly asLimitedTeleportAssets: {590 readonly dest: XcmVersionedMultiLocation;591 readonly beneficiary: XcmVersionedMultiLocation;592 readonly assets: XcmVersionedMultiAssets;593 readonly feeAssetItem: u32;594 readonly weightLimit: XcmV2WeightLimit;595 } & Struct;596 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';429 }597 }430598431 /** @name PalletXcmEvent (43) */599 /** @name XcmVersionedMultiLocation (88) */432 interface PalletXcmEvent extends Enum {600 export interface XcmVersionedMultiLocation extends Enum {433 readonly isAttempted: boolean;601 readonly isV0: boolean;434 readonly asAttempted: XcmV2TraitsOutcome;602 readonly asV0: XcmV0MultiLocation;435 readonly isSent: boolean;603 readonly isV1: boolean;436 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;604 readonly asV1: XcmV1MultiLocation;437 readonly isUnexpectedResponse: boolean;605 readonly type: 'V0' | 'V1';438 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;439 readonly isResponseReady: boolean;440 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;441 readonly isNotified: boolean;442 readonly asNotified: ITuple<[u64, u8, u8]>;443 readonly isNotifyOverweight: boolean;444 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;445 readonly isNotifyDispatchError: boolean;446 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;447 readonly isNotifyDecodeFailed: boolean;448 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;449 readonly isInvalidResponder: boolean;450 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;451 readonly isInvalidResponderVersion: boolean;452 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;453 readonly isResponseTaken: boolean;454 readonly asResponseTaken: u64;455 readonly isAssetsTrapped: boolean;456 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;457 readonly isVersionChangeNotified: boolean;458 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;459 readonly isSupportedVersionChanged: boolean;460 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;461 readonly isNotifyTargetSendFail: boolean;462 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;463 readonly isNotifyTargetMigrationFail: boolean;464 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;465 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';466 }606 }467607468 /** @name XcmV2TraitsOutcome (44) */608 /** @name XcmV0MultiLocation (89) */469 interface XcmV2TraitsOutcome extends Enum {609 export interface XcmV0MultiLocation extends Enum {470 readonly isComplete: boolean;471 readonly asComplete: u64;472 readonly isIncomplete: boolean;473 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;474 readonly isError: boolean;475 readonly asError: XcmV2TraitsError;476 readonly type: 'Complete' | 'Incomplete' | 'Error';477 }478479 /** @name XcmV1MultiLocation (45) */480 interface XcmV1MultiLocation extends Struct {481 readonly parents: u8;482 readonly interior: XcmV1MultilocationJunctions;483 }484485 /** @name XcmV1MultilocationJunctions (46) */486 interface XcmV1MultilocationJunctions extends Enum {487 readonly isHere: boolean;610 readonly isNull: boolean;488 readonly isX1: boolean;611 readonly isX1: boolean;489 readonly asX1: XcmV1Junction;612 readonly asX1: XcmV0Junction;490 readonly isX2: boolean;613 readonly isX2: boolean;491 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;614 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;492 readonly isX3: boolean;615 readonly isX3: boolean;493 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;616 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;494 readonly isX4: boolean;617 readonly isX4: boolean;495 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;618 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;496 readonly isX5: boolean;619 readonly isX5: boolean;497 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;620 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;498 readonly isX6: boolean;621 readonly isX6: boolean;499 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;622 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;500 readonly isX7: boolean;623 readonly isX7: boolean;501 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;624 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;502 readonly isX8: boolean;625 readonly isX8: boolean;503 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;626 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;504 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';627 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';505 }628 }506629507 /** @name XcmV1Junction (47) */630 /** @name XcmV0Junction (90) */508 interface XcmV1Junction extends Enum {631 export interface XcmV0Junction extends Enum {632 readonly isParent: boolean;509 readonly isParachain: boolean;633 readonly isParachain: boolean;510 readonly asParachain: Compact<u32>;634 readonly asParachain: Compact<u32>;511 readonly isAccountId32: boolean;635 readonly isAccountId32: boolean;535 readonly id: XcmV0JunctionBodyId;659 readonly id: XcmV0JunctionBodyId;536 readonly part: XcmV0JunctionBodyPart;660 readonly part: XcmV0JunctionBodyPart;537 } & Struct;661 } & Struct;538 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';662 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';539 }663 }540664541 /** @name XcmV0JunctionNetworkId (49) */665 /** @name XcmV0JunctionNetworkId (91) */542 interface XcmV0JunctionNetworkId extends Enum {666 export interface XcmV0JunctionNetworkId extends Enum {543 readonly isAny: boolean;667 readonly isAny: boolean;544 readonly isNamed: boolean;668 readonly isNamed: boolean;545 readonly asNamed: Bytes;669 readonly asNamed: Bytes;548 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';672 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';549 }673 }550674551 /** @name XcmV0JunctionBodyId (53) */675 /** @name XcmV0JunctionBodyId (92) */552 interface XcmV0JunctionBodyId extends Enum {676 export interface XcmV0JunctionBodyId extends Enum {553 readonly isUnit: boolean;677 readonly isUnit: boolean;554 readonly isNamed: boolean;678 readonly isNamed: boolean;555 readonly asNamed: Bytes;679 readonly asNamed: Bytes;562 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';686 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';563 }687 }564688565 /** @name XcmV0JunctionBodyPart (54) */689 /** @name XcmV0JunctionBodyPart (93) */566 interface XcmV0JunctionBodyPart extends Enum {690 export interface XcmV0JunctionBodyPart extends Enum {567 readonly isVoice: boolean;691 readonly isVoice: boolean;568 readonly isMembers: boolean;692 readonly isMembers: boolean;569 readonly asMembers: {693 readonly asMembers: {587 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';711 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';588 }712 }589713590 /** @name XcmV2Xcm (55) */714 /** @name XcmV1MultiLocation (94) */591 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}715 export interface XcmV1MultiLocation extends Struct {716 readonly parents: u8;717 readonly interior: XcmV1MultilocationJunctions;718 }592719593 /** @name XcmV2Instruction (57) */720 /** @name XcmV1MultilocationJunctions (95) */594 interface XcmV2Instruction extends Enum {721 export interface XcmV1MultilocationJunctions extends Enum {722 readonly isHere: boolean;723 readonly isX1: boolean;724 readonly asX1: XcmV1Junction;725 readonly isX2: boolean;726 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;727 readonly isX3: boolean;728 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;729 readonly isX4: boolean;730 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;731 readonly isX5: boolean;732 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;733 readonly isX6: boolean;734 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;735 readonly isX7: boolean;736 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;737 readonly isX8: boolean;738 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;739 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';740 }741742 /** @name XcmV1Junction (96) */743 export interface XcmV1Junction extends Enum {744 readonly isParachain: boolean;745 readonly asParachain: Compact<u32>;746 readonly isAccountId32: boolean;747 readonly asAccountId32: {748 readonly network: XcmV0JunctionNetworkId;749 readonly id: U8aFixed;750 } & Struct;751 readonly isAccountIndex64: boolean;752 readonly asAccountIndex64: {753 readonly network: XcmV0JunctionNetworkId;754 readonly index: Compact<u64>;755 } & Struct;756 readonly isAccountKey20: boolean;757 readonly asAccountKey20: {758 readonly network: XcmV0JunctionNetworkId;759 readonly key: U8aFixed;760 } & Struct;761 readonly isPalletInstance: boolean;762 readonly asPalletInstance: u8;763 readonly isGeneralIndex: boolean;764 readonly asGeneralIndex: Compact<u128>;765 readonly isGeneralKey: boolean;766 readonly asGeneralKey: Bytes;767 readonly isOnlyChild: boolean;768 readonly isPlurality: boolean;769 readonly asPlurality: {770 readonly id: XcmV0JunctionBodyId;771 readonly part: XcmV0JunctionBodyPart;772 } & Struct;773 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';774 }775776 /** @name XcmVersionedXcm (97) */777 export interface XcmVersionedXcm extends Enum {778 readonly isV0: boolean;779 readonly asV0: XcmV0Xcm;780 readonly isV1: boolean;781 readonly asV1: XcmV1Xcm;782 readonly isV2: boolean;783 readonly asV2: XcmV2Xcm;784 readonly type: 'V0' | 'V1' | 'V2';785 }786787 /** @name XcmV0Xcm (98) */788 export interface XcmV0Xcm extends Enum {595 readonly isWithdrawAsset: boolean;789 readonly isWithdrawAsset: boolean;790 readonly asWithdrawAsset: {791 readonly assets: Vec<XcmV0MultiAsset>;792 readonly effects: Vec<XcmV0Order>;793 } & Struct;794 readonly isReserveAssetDeposit: boolean;795 readonly asReserveAssetDeposit: {796 readonly assets: Vec<XcmV0MultiAsset>;797 readonly effects: Vec<XcmV0Order>;798 } & Struct;799 readonly isTeleportAsset: boolean;800 readonly asTeleportAsset: {801 readonly assets: Vec<XcmV0MultiAsset>;802 readonly effects: Vec<XcmV0Order>;803 } & Struct;804 readonly isQueryResponse: boolean;805 readonly asQueryResponse: {806 readonly queryId: Compact<u64>;807 readonly response: XcmV0Response;808 } & Struct;809 readonly isTransferAsset: boolean;810 readonly asTransferAsset: {811 readonly assets: Vec<XcmV0MultiAsset>;812 readonly dest: XcmV0MultiLocation;813 } & Struct;814 readonly isTransferReserveAsset: boolean;815 readonly asTransferReserveAsset: {816 readonly assets: Vec<XcmV0MultiAsset>;817 readonly dest: XcmV0MultiLocation;818 readonly effects: Vec<XcmV0Order>;819 } & Struct;820 readonly isTransact: boolean;821 readonly asTransact: {822 readonly originType: XcmV0OriginKind;823 readonly requireWeightAtMost: u64;824 readonly call: XcmDoubleEncoded;825 } & Struct;826 readonly isHrmpNewChannelOpenRequest: boolean;827 readonly asHrmpNewChannelOpenRequest: {828 readonly sender: Compact<u32>;829 readonly maxMessageSize: Compact<u32>;830 readonly maxCapacity: Compact<u32>;831 } & Struct;832 readonly isHrmpChannelAccepted: boolean;833 readonly asHrmpChannelAccepted: {834 readonly recipient: Compact<u32>;835 } & Struct;836 readonly isHrmpChannelClosing: boolean;837 readonly asHrmpChannelClosing: {838 readonly initiator: Compact<u32>;839 readonly sender: Compact<u32>;840 readonly recipient: Compact<u32>;841 } & Struct;842 readonly isRelayedFrom: boolean;843 readonly asRelayedFrom: {844 readonly who: XcmV0MultiLocation;845 readonly message: XcmV0Xcm;846 } & Struct;847 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';848 }849850 /** @name XcmV0MultiAsset (100) */851 export interface XcmV0MultiAsset extends Enum {852 readonly isNone: boolean;853 readonly isAll: boolean;854 readonly isAllFungible: boolean;855 readonly isAllNonFungible: boolean;856 readonly isAllAbstractFungible: boolean;857 readonly asAllAbstractFungible: {858 readonly id: Bytes;859 } & Struct;860 readonly isAllAbstractNonFungible: boolean;861 readonly asAllAbstractNonFungible: {862 readonly class: Bytes;863 } & Struct;864 readonly isAllConcreteFungible: boolean;865 readonly asAllConcreteFungible: {866 readonly id: XcmV0MultiLocation;867 } & Struct;868 readonly isAllConcreteNonFungible: boolean;869 readonly asAllConcreteNonFungible: {870 readonly class: XcmV0MultiLocation;871 } & Struct;872 readonly isAbstractFungible: boolean;873 readonly asAbstractFungible: {874 readonly id: Bytes;875 readonly amount: Compact<u128>;876 } & Struct;877 readonly isAbstractNonFungible: boolean;878 readonly asAbstractNonFungible: {879 readonly class: Bytes;880 readonly instance: XcmV1MultiassetAssetInstance;881 } & Struct;882 readonly isConcreteFungible: boolean;883 readonly asConcreteFungible: {884 readonly id: XcmV0MultiLocation;885 readonly amount: Compact<u128>;886 } & Struct;887 readonly isConcreteNonFungible: boolean;888 readonly asConcreteNonFungible: {889 readonly class: XcmV0MultiLocation;890 readonly instance: XcmV1MultiassetAssetInstance;891 } & Struct;892 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';893 }894895 /** @name XcmV1MultiassetAssetInstance (101) */896 export interface XcmV1MultiassetAssetInstance extends Enum {897 readonly isUndefined: boolean;898 readonly isIndex: boolean;899 readonly asIndex: Compact<u128>;900 readonly isArray4: boolean;901 readonly asArray4: U8aFixed;902 readonly isArray8: boolean;903 readonly asArray8: U8aFixed;904 readonly isArray16: boolean;905 readonly asArray16: U8aFixed;906 readonly isArray32: boolean;907 readonly asArray32: U8aFixed;908 readonly isBlob: boolean;909 readonly asBlob: Bytes;910 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';911 }912913 /** @name XcmV0Order (104) */914 export interface XcmV0Order extends Enum {915 readonly isNull: boolean;916 readonly isDepositAsset: boolean;917 readonly asDepositAsset: {918 readonly assets: Vec<XcmV0MultiAsset>;919 readonly dest: XcmV0MultiLocation;920 } & Struct;921 readonly isDepositReserveAsset: boolean;922 readonly asDepositReserveAsset: {923 readonly assets: Vec<XcmV0MultiAsset>;924 readonly dest: XcmV0MultiLocation;925 readonly effects: Vec<XcmV0Order>;926 } & Struct;927 readonly isExchangeAsset: boolean;928 readonly asExchangeAsset: {929 readonly give: Vec<XcmV0MultiAsset>;930 readonly receive: Vec<XcmV0MultiAsset>;931 } & Struct;932 readonly isInitiateReserveWithdraw: boolean;933 readonly asInitiateReserveWithdraw: {934 readonly assets: Vec<XcmV0MultiAsset>;935 readonly reserve: XcmV0MultiLocation;936 readonly effects: Vec<XcmV0Order>;937 } & Struct;938 readonly isInitiateTeleport: boolean;939 readonly asInitiateTeleport: {940 readonly assets: Vec<XcmV0MultiAsset>;941 readonly dest: XcmV0MultiLocation;942 readonly effects: Vec<XcmV0Order>;943 } & Struct;944 readonly isQueryHolding: boolean;945 readonly asQueryHolding: {946 readonly queryId: Compact<u64>;947 readonly dest: XcmV0MultiLocation;948 readonly assets: Vec<XcmV0MultiAsset>;949 } & Struct;950 readonly isBuyExecution: boolean;951 readonly asBuyExecution: {952 readonly fees: XcmV0MultiAsset;953 readonly weight: u64;954 readonly debt: u64;955 readonly haltOnError: bool;956 readonly xcm: Vec<XcmV0Xcm>;957 } & Struct;958 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';959 }960961 /** @name XcmV0Response (106) */962 export interface XcmV0Response extends Enum {963 readonly isAssets: boolean;964 readonly asAssets: Vec<XcmV0MultiAsset>;965 readonly type: 'Assets';966 }967968 /** @name XcmV0OriginKind (107) */969 export interface XcmV0OriginKind extends Enum {970 readonly isNative: boolean;971 readonly isSovereignAccount: boolean;972 readonly isSuperuser: boolean;973 readonly isXcm: boolean;974 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';975 }976977 /** @name XcmDoubleEncoded (108) */978 export interface XcmDoubleEncoded extends Struct {979 readonly encoded: Bytes;980 }981982 /** @name XcmV1Xcm (109) */983 export interface XcmV1Xcm extends Enum {984 readonly isWithdrawAsset: boolean;985 readonly asWithdrawAsset: {986 readonly assets: XcmV1MultiassetMultiAssets;987 readonly effects: Vec<XcmV1Order>;988 } & Struct;989 readonly isReserveAssetDeposited: boolean;990 readonly asReserveAssetDeposited: {991 readonly assets: XcmV1MultiassetMultiAssets;992 readonly effects: Vec<XcmV1Order>;993 } & Struct;994 readonly isReceiveTeleportedAsset: boolean;995 readonly asReceiveTeleportedAsset: {996 readonly assets: XcmV1MultiassetMultiAssets;997 readonly effects: Vec<XcmV1Order>;998 } & Struct;999 readonly isQueryResponse: boolean;1000 readonly asQueryResponse: {1001 readonly queryId: Compact<u64>;1002 readonly response: XcmV1Response;1003 } & Struct;1004 readonly isTransferAsset: boolean;1005 readonly asTransferAsset: {1006 readonly assets: XcmV1MultiassetMultiAssets;1007 readonly beneficiary: XcmV1MultiLocation;1008 } & Struct;1009 readonly isTransferReserveAsset: boolean;1010 readonly asTransferReserveAsset: {1011 readonly assets: XcmV1MultiassetMultiAssets;1012 readonly dest: XcmV1MultiLocation;1013 readonly effects: Vec<XcmV1Order>;1014 } & Struct;1015 readonly isTransact: boolean;1016 readonly asTransact: {1017 readonly originType: XcmV0OriginKind;1018 readonly requireWeightAtMost: u64;1019 readonly call: XcmDoubleEncoded;1020 } & Struct;1021 readonly isHrmpNewChannelOpenRequest: boolean;1022 readonly asHrmpNewChannelOpenRequest: {1023 readonly sender: Compact<u32>;1024 readonly maxMessageSize: Compact<u32>;1025 readonly maxCapacity: Compact<u32>;1026 } & Struct;1027 readonly isHrmpChannelAccepted: boolean;1028 readonly asHrmpChannelAccepted: {1029 readonly recipient: Compact<u32>;1030 } & Struct;1031 readonly isHrmpChannelClosing: boolean;1032 readonly asHrmpChannelClosing: {1033 readonly initiator: Compact<u32>;1034 readonly sender: Compact<u32>;1035 readonly recipient: Compact<u32>;1036 } & Struct;1037 readonly isRelayedFrom: boolean;1038 readonly asRelayedFrom: {1039 readonly who: XcmV1MultilocationJunctions;1040 readonly message: XcmV1Xcm;1041 } & Struct;1042 readonly isSubscribeVersion: boolean;1043 readonly asSubscribeVersion: {1044 readonly queryId: Compact<u64>;1045 readonly maxResponseWeight: Compact<u64>;1046 } & Struct;1047 readonly isUnsubscribeVersion: boolean;1048 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';1049 }10501051 /** @name XcmV1MultiassetMultiAssets (110) */1052 export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}10531054 /** @name XcmV1MultiAsset (112) */1055 export interface XcmV1MultiAsset extends Struct {1056 readonly id: XcmV1MultiassetAssetId;1057 readonly fun: XcmV1MultiassetFungibility;1058 }10591060 /** @name XcmV1MultiassetAssetId (113) */1061 export interface XcmV1MultiassetAssetId extends Enum {1062 readonly isConcrete: boolean;1063 readonly asConcrete: XcmV1MultiLocation;1064 readonly isAbstract: boolean;1065 readonly asAbstract: Bytes;1066 readonly type: 'Concrete' | 'Abstract';1067 }10681069 /** @name XcmV1MultiassetFungibility (114) */1070 export interface XcmV1MultiassetFungibility extends Enum {1071 readonly isFungible: boolean;1072 readonly asFungible: Compact<u128>;1073 readonly isNonFungible: boolean;1074 readonly asNonFungible: XcmV1MultiassetAssetInstance;1075 readonly type: 'Fungible' | 'NonFungible';1076 }10771078 /** @name XcmV1Order (116) */1079 export interface XcmV1Order extends Enum {1080 readonly isNoop: boolean;1081 readonly isDepositAsset: boolean;1082 readonly asDepositAsset: {1083 readonly assets: XcmV1MultiassetMultiAssetFilter;1084 readonly maxAssets: u32;1085 readonly beneficiary: XcmV1MultiLocation;1086 } & Struct;1087 readonly isDepositReserveAsset: boolean;1088 readonly asDepositReserveAsset: {1089 readonly assets: XcmV1MultiassetMultiAssetFilter;1090 readonly maxAssets: u32;1091 readonly dest: XcmV1MultiLocation;1092 readonly effects: Vec<XcmV1Order>;1093 } & Struct;1094 readonly isExchangeAsset: boolean;1095 readonly asExchangeAsset: {1096 readonly give: XcmV1MultiassetMultiAssetFilter;1097 readonly receive: XcmV1MultiassetMultiAssets;1098 } & Struct;1099 readonly isInitiateReserveWithdraw: boolean;1100 readonly asInitiateReserveWithdraw: {1101 readonly assets: XcmV1MultiassetMultiAssetFilter;1102 readonly reserve: XcmV1MultiLocation;1103 readonly effects: Vec<XcmV1Order>;1104 } & Struct;1105 readonly isInitiateTeleport: boolean;1106 readonly asInitiateTeleport: {1107 readonly assets: XcmV1MultiassetMultiAssetFilter;1108 readonly dest: XcmV1MultiLocation;1109 readonly effects: Vec<XcmV1Order>;1110 } & Struct;1111 readonly isQueryHolding: boolean;1112 readonly asQueryHolding: {1113 readonly queryId: Compact<u64>;1114 readonly dest: XcmV1MultiLocation;1115 readonly assets: XcmV1MultiassetMultiAssetFilter;1116 } & Struct;1117 readonly isBuyExecution: boolean;1118 readonly asBuyExecution: {1119 readonly fees: XcmV1MultiAsset;1120 readonly weight: u64;1121 readonly debt: u64;1122 readonly haltOnError: bool;1123 readonly instructions: Vec<XcmV1Xcm>;1124 } & Struct;1125 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1126 }11271128 /** @name XcmV1MultiassetMultiAssetFilter (117) */1129 export interface XcmV1MultiassetMultiAssetFilter extends Enum {1130 readonly isDefinite: boolean;1131 readonly asDefinite: XcmV1MultiassetMultiAssets;1132 readonly isWild: boolean;1133 readonly asWild: XcmV1MultiassetWildMultiAsset;1134 readonly type: 'Definite' | 'Wild';1135 }11361137 /** @name XcmV1MultiassetWildMultiAsset (118) */1138 export interface XcmV1MultiassetWildMultiAsset extends Enum {1139 readonly isAll: boolean;1140 readonly isAllOf: boolean;1141 readonly asAllOf: {1142 readonly id: XcmV1MultiassetAssetId;1143 readonly fun: XcmV1MultiassetWildFungibility;1144 } & Struct;1145 readonly type: 'All' | 'AllOf';1146 }11471148 /** @name XcmV1MultiassetWildFungibility (119) */1149 export interface XcmV1MultiassetWildFungibility extends Enum {1150 readonly isFungible: boolean;1151 readonly isNonFungible: boolean;1152 readonly type: 'Fungible' | 'NonFungible';1153 }11541155 /** @name XcmV1Response (121) */1156 export interface XcmV1Response extends Enum {1157 readonly isAssets: boolean;1158 readonly asAssets: XcmV1MultiassetMultiAssets;1159 readonly isVersion: boolean;1160 readonly asVersion: u32;1161 readonly type: 'Assets' | 'Version';1162 }11631164 /** @name XcmV2Xcm (122) */1165 export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}11661167 /** @name XcmV2Instruction (124) */1168 export interface XcmV2Instruction extends Enum {1169 readonly isWithdrawAsset: boolean;596 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1170 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;597 readonly isReserveAssetDeposited: boolean;1171 readonly isReserveAssetDeposited: boolean;598 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;1172 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;710 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';1284 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';711 }1285 }7121286713 /** @name XcmV1MultiassetMultiAssets (58) */1287 /** @name XcmV2Response (125) */714 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}715716 /** @name XcmV1MultiAsset (60) */717 interface XcmV1MultiAsset extends Struct {718 readonly id: XcmV1MultiassetAssetId;719 readonly fun: XcmV1MultiassetFungibility;720 }721722 /** @name XcmV1MultiassetAssetId (61) */723 interface XcmV1MultiassetAssetId extends Enum {724 readonly isConcrete: boolean;725 readonly asConcrete: XcmV1MultiLocation;726 readonly isAbstract: boolean;727 readonly asAbstract: Bytes;728 readonly type: 'Concrete' | 'Abstract';729 }730731 /** @name XcmV1MultiassetFungibility (62) */732 interface XcmV1MultiassetFungibility extends Enum {733 readonly isFungible: boolean;734 readonly asFungible: Compact<u128>;735 readonly isNonFungible: boolean;736 readonly asNonFungible: XcmV1MultiassetAssetInstance;737 readonly type: 'Fungible' | 'NonFungible';738 }739740 /** @name XcmV1MultiassetAssetInstance (63) */741 interface XcmV1MultiassetAssetInstance extends Enum {742 readonly isUndefined: boolean;743 readonly isIndex: boolean;744 readonly asIndex: Compact<u128>;745 readonly isArray4: boolean;746 readonly asArray4: U8aFixed;747 readonly isArray8: boolean;748 readonly asArray8: U8aFixed;749 readonly isArray16: boolean;750 readonly asArray16: U8aFixed;751 readonly isArray32: boolean;752 readonly asArray32: U8aFixed;753 readonly isBlob: boolean;754 readonly asBlob: Bytes;755 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';756 }757758 /** @name XcmV2Response (66) */759 interface XcmV2Response extends Enum {1288 export interface XcmV2Response extends Enum {760 readonly isNull: boolean;1289 readonly isNull: boolean;761 readonly isAssets: boolean;1290 readonly isAssets: boolean;762 readonly asAssets: XcmV1MultiassetMultiAssets;1291 readonly asAssets: XcmV1MultiassetMultiAssets;767 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1296 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';768 }1297 }7691298770 /** @name XcmV0OriginKind (69) */1299 /** @name XcmV2TraitsError (128) */771 interface XcmV0OriginKind extends Enum {1300 export interface XcmV2TraitsError extends Enum {772 readonly isNative: boolean;1301 readonly isOverflow: boolean;773 readonly isSovereignAccount: boolean;1302 readonly isUnimplemented: boolean;774 readonly isSuperuser: boolean;1303 readonly isUntrustedReserveLocation: boolean;775 readonly isXcm: boolean;1304 readonly isUntrustedTeleportLocation: boolean;776 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';1305 readonly isMultiLocationFull: boolean;1306 readonly isMultiLocationNotInvertible: boolean;1307 readonly isBadOrigin: boolean;1308 readonly isInvalidLocation: boolean;1309 readonly isAssetNotFound: boolean;1310 readonly isFailedToTransactAsset: boolean;1311 readonly isNotWithdrawable: boolean;1312 readonly isLocationCannotHold: boolean;1313 readonly isExceedsMaxMessageSize: boolean;1314 readonly isDestinationUnsupported: boolean;1315 readonly isTransport: boolean;1316 readonly isUnroutable: boolean;1317 readonly isUnknownClaim: boolean;1318 readonly isFailedToDecode: boolean;1319 readonly isMaxWeightInvalid: boolean;1320 readonly isNotHoldingFees: boolean;1321 readonly isTooExpensive: boolean;1322 readonly isTrap: boolean;1323 readonly asTrap: u64;1324 readonly isUnhandledXcmVersion: boolean;1325 readonly isWeightLimitReached: boolean;1326 readonly asWeightLimitReached: u64;1327 readonly isBarrier: boolean;1328 readonly isWeightNotComputable: boolean;1329 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';777 }1330 }7781331779 /** @name XcmDoubleEncoded (70) */1332 /** @name XcmV2WeightLimit (129) */780 interface XcmDoubleEncoded extends Struct {781 readonly encoded: Bytes;782 }783784 /** @name XcmV1MultiassetMultiAssetFilter (71) */785 interface XcmV1MultiassetMultiAssetFilter extends Enum {786 readonly isDefinite: boolean;787 readonly asDefinite: XcmV1MultiassetMultiAssets;788 readonly isWild: boolean;789 readonly asWild: XcmV1MultiassetWildMultiAsset;790 readonly type: 'Definite' | 'Wild';791 }792793 /** @name XcmV1MultiassetWildMultiAsset (72) */794 interface XcmV1MultiassetWildMultiAsset extends Enum {795 readonly isAll: boolean;796 readonly isAllOf: boolean;797 readonly asAllOf: {798 readonly id: XcmV1MultiassetAssetId;799 readonly fun: XcmV1MultiassetWildFungibility;800 } & Struct;801 readonly type: 'All' | 'AllOf';802 }803804 /** @name XcmV1MultiassetWildFungibility (73) */805 interface XcmV1MultiassetWildFungibility extends Enum {806 readonly isFungible: boolean;807 readonly isNonFungible: boolean;808 readonly type: 'Fungible' | 'NonFungible';809 }810811 /** @name XcmV2WeightLimit (74) */812 interface XcmV2WeightLimit extends Enum {1333 export interface XcmV2WeightLimit extends Enum {813 readonly isUnlimited: boolean;1334 readonly isUnlimited: boolean;814 readonly isLimited: boolean;1335 readonly isLimited: boolean;815 readonly asLimited: Compact<u64>;1336 readonly asLimited: Compact<u64>;816 readonly type: 'Unlimited' | 'Limited';1337 readonly type: 'Unlimited' | 'Limited';817 }1338 }8181339819 /** @name XcmVersionedMultiAssets (76) */1340 /** @name XcmVersionedMultiAssets (130) */820 interface XcmVersionedMultiAssets extends Enum {1341 export interface XcmVersionedMultiAssets extends Enum {821 readonly isV0: boolean;1342 readonly isV0: boolean;822 readonly asV0: Vec<XcmV0MultiAsset>;1343 readonly asV0: Vec<XcmV0MultiAsset>;823 readonly isV1: boolean;1344 readonly isV1: boolean;824 readonly asV1: XcmV1MultiassetMultiAssets;1345 readonly asV1: XcmV1MultiassetMultiAssets;825 readonly type: 'V0' | 'V1';1346 readonly type: 'V0' | 'V1';826 }1347 }8271348828 /** @name XcmV0MultiAsset (78) */1349 /** @name CumulusPalletXcmCall (145) */829 interface XcmV0MultiAsset extends Enum {1350 export type CumulusPalletXcmCall = Null;830 readonly isNone: boolean;831 readonly isAll: boolean;832 readonly isAllFungible: boolean;833 readonly isAllNonFungible: boolean;834 readonly isAllAbstractFungible: boolean;835 readonly asAllAbstractFungible: {836 readonly id: Bytes;837 } & Struct;838 readonly isAllAbstractNonFungible: boolean;839 readonly asAllAbstractNonFungible: {840 readonly class: Bytes;841 } & Struct;842 readonly isAllConcreteFungible: boolean;843 readonly asAllConcreteFungible: {844 readonly id: XcmV0MultiLocation;845 } & Struct;846 readonly isAllConcreteNonFungible: boolean;847 readonly asAllConcreteNonFungible: {848 readonly class: XcmV0MultiLocation;849 } & Struct;850 readonly isAbstractFungible: boolean;851 readonly asAbstractFungible: {852 readonly id: Bytes;853 readonly amount: Compact<u128>;854 } & Struct;855 readonly isAbstractNonFungible: boolean;856 readonly asAbstractNonFungible: {857 readonly class: Bytes;858 readonly instance: XcmV1MultiassetAssetInstance;859 } & Struct;860 readonly isConcreteFungible: boolean;861 readonly asConcreteFungible: {862 readonly id: XcmV0MultiLocation;863 readonly amount: Compact<u128>;864 } & Struct;865 readonly isConcreteNonFungible: boolean;866 readonly asConcreteNonFungible: {867 readonly class: XcmV0MultiLocation;868 readonly instance: XcmV1MultiassetAssetInstance;869 } & Struct;870 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';871 }8721351873 /** @name XcmV0MultiLocation (79) */1352 /** @name CumulusPalletDmpQueueCall (146) */874 interface XcmV0MultiLocation extends Enum {1353 export interface CumulusPalletDmpQueueCall extends Enum {875 readonly isNull: boolean;876 readonly isX1: boolean;877 readonly asX1: XcmV0Junction;878 readonly isX2: boolean;879 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;880 readonly isX3: boolean;881 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;882 readonly isX4: boolean;883 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;884 readonly isX5: boolean;885 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;886 readonly isX6: boolean;887 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;888 readonly isX7: boolean;889 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;890 readonly isX8: boolean;891 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;892 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';893 }894895 /** @name XcmV0Junction (80) */896 interface XcmV0Junction extends Enum {897 readonly isParent: boolean;898 readonly isParachain: boolean;899 readonly asParachain: Compact<u32>;900 readonly isAccountId32: boolean;1354 readonly isServiceOverweight: boolean;901 readonly asAccountId32: {1355 readonly asServiceOverweight: {902 readonly network: XcmV0JunctionNetworkId;1356 readonly index: u64;903 readonly id: U8aFixed;1357 readonly weightLimit: u64;904 } & Struct;1358 } & Struct;905 readonly isAccountIndex64: boolean;906 readonly asAccountIndex64: {907 readonly network: XcmV0JunctionNetworkId;908 readonly index: Compact<u64>;909 } & Struct;910 readonly isAccountKey20: boolean;911 readonly asAccountKey20: {912 readonly network: XcmV0JunctionNetworkId;913 readonly key: U8aFixed;914 } & Struct;915 readonly isPalletInstance: boolean;916 readonly asPalletInstance: u8;917 readonly isGeneralIndex: boolean;918 readonly asGeneralIndex: Compact<u128>;919 readonly isGeneralKey: boolean;920 readonly asGeneralKey: Bytes;921 readonly isOnlyChild: boolean;922 readonly isPlurality: boolean;923 readonly asPlurality: {924 readonly id: XcmV0JunctionBodyId;925 readonly part: XcmV0JunctionBodyPart;926 } & Struct;927 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1359 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';928 }1360 }9291361947 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1379 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';948 }1380 }9491381950 /** @name CumulusPalletDmpQueueEvent (83) */1382 /** @name PalletInflationCall (147) */951 interface CumulusPalletDmpQueueEvent extends Enum {1383 export interface PalletInflationCall extends Enum {952 readonly isInvalidFormat: boolean;1384 readonly isStartInflation: boolean;953 readonly asInvalidFormat: {1385 readonly asStartInflation: {954 readonly messageId: U8aFixed;1386 readonly inflationStartRelayBlock: u32;955 } & Struct;1387 } & Struct;1388<<<<<<< HEAD956 readonly isUnsupportedVersion: boolean;1389 readonly isUnsupportedVersion: boolean;957 readonly asUnsupportedVersion: {1390 readonly asUnsupportedVersion: {958 readonly messageId: U8aFixed;1391 readonly messageId: U8aFixed;1392=======1393 readonly type: 'StartInflation';1394 }13951396 /** @name PalletAppPromotionCall (148) */1397 export interface PalletAppPromotionCall extends Enum {1398 readonly isSetAdminAddress: boolean;1399 readonly asSetAdminAddress: {1400 readonly admin: AccountId32;959 } & Struct;1401 } & Struct;1402 readonly isStartAppPromotion: boolean;1403 readonly asStartAppPromotion: {1404 readonly promotionStartRelayBlock: u32;1405 } & Struct;1406 readonly isStake: boolean;1407 readonly asStake: {1408 readonly amount: u128;1409 } & Struct;1410 readonly isUnstake: boolean;1411 readonly asUnstake: {1412 readonly amount: u128;1413 } & Struct;1414 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake';1415 }14161417 /** @name PalletUniqueCall (149) */1418 export interface PalletUniqueCall extends Enum {1419 readonly isCreateCollection: boolean;1420 readonly asCreateCollection: {1421 readonly collectionName: Vec<u16>;1422 readonly collectionDescription: Vec<u16>;1423 readonly tokenPrefix: Bytes;1424 readonly mode: UpDataStructsCollectionMode;1425>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client1426 } & Struct;960 readonly isExecutedDownward: boolean;1427 readonly isExecutedDownward: boolean;961 readonly asExecutedDownward: {1428 readonly asExecutedDownward: {962 readonly messageId: U8aFixed;1429 readonly messageId: U8aFixed;1095 readonly asCollectionDestroyed: {1562 readonly asCollectionDestroyed: {1096 readonly issuer: AccountId32;1563 readonly issuer: AccountId32;1097 readonly collectionId: u32;1564 readonly collectionId: u32;1565 readonly newAdmin: PalletEvmAccountBasicCrossAccountIdRepr;1098 } & Struct;1566 } & Struct;1099 readonly isIssuerChanged: boolean;1567 readonly isIssuerChanged: boolean;1100 readonly asIssuerChanged: {1568 readonly asIssuerChanged: {1174 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1642 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1175 }1643 }117616441645<<<<<<< HEAD1177 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (97) */1646 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (97) */1178 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1647 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1179 readonly isAccountId: boolean;1648 readonly isAccountId: boolean;1361 readonly mandatory: FrameSystemLimitsWeightsPerClass;1830 readonly mandatory: FrameSystemLimitsWeightsPerClass;1362 }1831 }136318321364 /** @name FrameSystemLimitsWeightsPerClass (126) */1833 /** @name UpDataStructsCollectionMode (155) */1365 interface FrameSystemLimitsWeightsPerClass extends Struct {1834 export interface UpDataStructsCollectionMode extends Enum {1366 readonly baseExtrinsic: u64;1367 readonly maxExtrinsic: Option<u64>;1368 readonly maxTotal: Option<u64>;1369 readonly reserved: Option<u64>;1370 }13711372 /** @name FrameSystemLimitsBlockLength (128) */1373 interface FrameSystemLimitsBlockLength extends Struct {1374 readonly max: FrameSupportWeightsPerDispatchClassU32;1375 }13761377 /** @name FrameSupportWeightsPerDispatchClassU32 (129) */1378 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1379 readonly normal: u32;1380 readonly operational: u32;1381 readonly mandatory: u32;1382 }13831384 /** @name FrameSupportWeightsRuntimeDbWeight (130) */1385 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1386 readonly read: u64;1387 readonly write: u64;1388 }13891390 /** @name SpVersionRuntimeVersion (131) */1391 interface SpVersionRuntimeVersion extends Struct {1392 readonly specName: Text;1393 readonly implName: Text;1394 readonly authoringVersion: u32;1395 readonly specVersion: u32;1396 readonly implVersion: u32;1397 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1398 readonly transactionVersion: u32;1399 readonly stateVersion: u8;1400 }14011402 /** @name FrameSystemError (136) */1403 interface FrameSystemError extends Enum {1404 readonly isInvalidSpecName: boolean;1405 readonly isSpecVersionNeedsToIncrease: boolean;1406 readonly isFailedToExtractRuntimeVersion: boolean;1407 readonly isNonDefaultComposite: boolean;1408 readonly isNonZeroRefCount: boolean;1409 readonly isCallFiltered: boolean;1410 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1411 }14121413 /** @name PolkadotPrimitivesV2PersistedValidationData (137) */1414 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1415 readonly parentHead: Bytes;1416 readonly relayParentNumber: u32;1417 readonly relayParentStorageRoot: H256;1418 readonly maxPovSize: u32;1419 }14201421 /** @name PolkadotPrimitivesV2UpgradeRestriction (140) */1422 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1423 readonly isPresent: boolean;1424 readonly type: 'Present';1425 }14261427 /** @name SpTrieStorageProof (141) */1428 interface SpTrieStorageProof extends Struct {1429 readonly trieNodes: BTreeSet<Bytes>;1430 }14311432 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (143) */1433 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1434 readonly dmqMqcHead: H256;1435 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1436 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1437 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1438 }14391440 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (146) */1441 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1442 readonly maxCapacity: u32;1443 readonly maxTotalSize: u32;1444 readonly maxMessageSize: u32;1445 readonly msgCount: u32;1446 readonly totalSize: u32;1447 readonly mqcHead: Option<H256>;1448 }14491450 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (147) */1451 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1452 readonly maxCodeSize: u32;1453 readonly maxHeadDataSize: u32;1454 readonly maxUpwardQueueCount: u32;1455 readonly maxUpwardQueueSize: u32;1456 readonly maxUpwardMessageSize: u32;1457 readonly maxUpwardMessageNumPerCandidate: u32;1458 readonly hrmpMaxMessageNumPerCandidate: u32;1459 readonly validationUpgradeCooldown: u32;1460 readonly validationUpgradeDelay: u32;1461 }14621463 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (153) */1464 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1465 readonly recipient: u32;1466 readonly data: Bytes;1467 }14681469 /** @name CumulusPalletParachainSystemCall (154) */1470 interface CumulusPalletParachainSystemCall extends Enum {1471 readonly isSetValidationData: boolean;1472 readonly asSetValidationData: {1473 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1474 } & Struct;1475 readonly isSudoSendUpwardMessage: boolean;1476 readonly asSudoSendUpwardMessage: {1477 readonly message: Bytes;1478 } & Struct;1479 readonly isAuthorizeUpgrade: boolean;1480 readonly asAuthorizeUpgrade: {1481 readonly codeHash: H256;1482 } & Struct;1483 readonly isEnactAuthorizedUpgrade: boolean;1484 readonly asEnactAuthorizedUpgrade: {1485 readonly code: Bytes;1486 } & Struct;1487 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1488 }14891490 /** @name CumulusPrimitivesParachainInherentParachainInherentData (155) */1491 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1492 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1493 readonly relayChainState: SpTrieStorageProof;1494 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1495 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1496 }14971498 /** @name PolkadotCorePrimitivesInboundDownwardMessage (157) */1499 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1500 readonly sentAt: u32;1501 readonly msg: Bytes;1502 }15031504 /** @name PolkadotCorePrimitivesInboundHrmpMessage (160) */1505 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1506 readonly sentAt: u32;1507 readonly data: Bytes;1508 }15091510 /** @name CumulusPalletParachainSystemError (163) */1511 interface CumulusPalletParachainSystemError extends Enum {1512 readonly isOverlappingUpgrades: boolean;1513 readonly isProhibitedByPolkadot: boolean;1514 readonly isTooBig: boolean;1515 readonly isValidationDataNotAvailable: boolean;1516 readonly isHostConfigurationNotAvailable: boolean;1517 readonly isNotScheduled: boolean;1518 readonly isNothingAuthorized: boolean;1519 readonly isUnauthorized: boolean;1520 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1521 }15221523 /** @name PalletBalancesBalanceLock (165) */1524 interface PalletBalancesBalanceLock extends Struct {1525 readonly id: U8aFixed;1526 readonly amount: u128;1527 readonly reasons: PalletBalancesReasons;1528 }15291530 /** @name PalletBalancesReasons (166) */1531 interface PalletBalancesReasons extends Enum {1532 readonly isFee: boolean;1533 readonly isMisc: boolean;1534 readonly isAll: boolean;1535 readonly type: 'Fee' | 'Misc' | 'All';1536 }15371538 /** @name PalletBalancesReserveData (169) */1539 interface PalletBalancesReserveData extends Struct {1540 readonly id: U8aFixed;1541 readonly amount: u128;1542 }15431544 /** @name PalletBalancesReleases (171) */1545 interface PalletBalancesReleases extends Enum {1546 readonly isV100: boolean;1547 readonly isV200: boolean;1548 readonly type: 'V100' | 'V200';1549 }15501551 /** @name PalletBalancesCall (172) */1552 interface PalletBalancesCall extends Enum {1553 readonly isTransfer: boolean;1554 readonly asTransfer: {1555 readonly dest: MultiAddress;1556 readonly value: Compact<u128>;1557 } & Struct;1558 readonly isSetBalance: boolean;1559 readonly asSetBalance: {1560 readonly who: MultiAddress;1561 readonly newFree: Compact<u128>;1562 readonly newReserved: Compact<u128>;1563 } & Struct;1564 readonly isForceTransfer: boolean;1565 readonly asForceTransfer: {1566 readonly source: MultiAddress;1567 readonly dest: MultiAddress;1568 readonly value: Compact<u128>;1569 } & Struct;1570 readonly isTransferKeepAlive: boolean;1571 readonly asTransferKeepAlive: {1572 readonly dest: MultiAddress;1573 readonly value: Compact<u128>;1574 } & Struct;1575 readonly isTransferAll: boolean;1576 readonly asTransferAll: {1577 readonly dest: MultiAddress;1578 readonly keepAlive: bool;1579 } & Struct;1580 readonly isForceUnreserve: boolean;1581 readonly asForceUnreserve: {1582 readonly who: MultiAddress;1583 readonly amount: u128;1584 } & Struct;1585 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1586 }15871588 /** @name PalletBalancesError (175) */1589 interface PalletBalancesError extends Enum {1590 readonly isVestingBalance: boolean;1591 readonly isLiquidityRestrictions: boolean;1592 readonly isInsufficientBalance: boolean;1593 readonly isExistentialDeposit: boolean;1594 readonly isKeepAlive: boolean;1595 readonly isExistingVestingSchedule: boolean;1596 readonly isDeadAccount: boolean;1597 readonly isTooManyReserves: boolean;1598 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1599 }16001601 /** @name PalletTimestampCall (177) */1602 interface PalletTimestampCall extends Enum {1603 readonly isSet: boolean;1604 readonly asSet: {1605 readonly now: Compact<u64>;1606 } & Struct;1607 readonly type: 'Set';1608 }16091610 /** @name PalletTransactionPaymentReleases (179) */1611 interface PalletTransactionPaymentReleases extends Enum {1612 readonly isV1Ancient: boolean;1613 readonly isV2: boolean;1614 readonly type: 'V1Ancient' | 'V2';1615 }16161617 /** @name PalletTreasuryProposal (180) */1618 interface PalletTreasuryProposal extends Struct {1619 readonly proposer: AccountId32;1620 readonly value: u128;1621 readonly beneficiary: AccountId32;1622 readonly bond: u128;1623 }16241625 /** @name PalletTreasuryCall (183) */1626 interface PalletTreasuryCall extends Enum {1627 readonly isProposeSpend: boolean;1628 readonly asProposeSpend: {1629 readonly value: Compact<u128>;1630 readonly beneficiary: MultiAddress;1631 } & Struct;1632 readonly isRejectProposal: boolean;1633 readonly asRejectProposal: {1634 readonly proposalId: Compact<u32>;1635 } & Struct;1636 readonly isApproveProposal: boolean;1637 readonly asApproveProposal: {1638 readonly proposalId: Compact<u32>;1639 } & Struct;1640 readonly isSpend: boolean;1641 readonly asSpend: {1642 readonly amount: Compact<u128>;1643 readonly beneficiary: MultiAddress;1644 } & Struct;1645 readonly isRemoveApproval: boolean;1646 readonly asRemoveApproval: {1647 readonly proposalId: Compact<u32>;1648 } & Struct;1649 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1650 }16511652 /** @name FrameSupportPalletId (186) */1653 interface FrameSupportPalletId extends U8aFixed {}16541655 /** @name PalletTreasuryError (187) */1656 interface PalletTreasuryError extends Enum {1657 readonly isInsufficientProposersBalance: boolean;1658 readonly isInvalidIndex: boolean;1659 readonly isTooManyApprovals: boolean;1660 readonly isInsufficientPermission: boolean;1661 readonly isProposalNotApproved: boolean;1662 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1663 }16641665 /** @name PalletSudoCall (188) */1666 interface PalletSudoCall extends Enum {1667 readonly isSudo: boolean;1668 readonly asSudo: {1669 readonly call: Call;1670 } & Struct;1671 readonly isSudoUncheckedWeight: boolean;1672 readonly asSudoUncheckedWeight: {1673 readonly call: Call;1674 readonly weight: u64;1675 } & Struct;1676 readonly isSetKey: boolean;1677 readonly asSetKey: {1678 readonly new_: MultiAddress;1679 } & Struct;1680 readonly isSudoAs: boolean;1681 readonly asSudoAs: {1682 readonly who: MultiAddress;1683 readonly call: Call;1684 } & Struct;1685 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1686 }16871688 /** @name OrmlVestingModuleCall (190) */1689 interface OrmlVestingModuleCall extends Enum {1690 readonly isClaim: boolean;1691 readonly isVestedTransfer: boolean;1692 readonly asVestedTransfer: {1693 readonly dest: MultiAddress;1694 readonly schedule: OrmlVestingVestingSchedule;1695 } & Struct;1696 readonly isUpdateVestingSchedules: boolean;1697 readonly asUpdateVestingSchedules: {1698 readonly who: MultiAddress;1699 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1700 } & Struct;1701 readonly isClaimFor: boolean;1702 readonly asClaimFor: {1703 readonly dest: MultiAddress;1704 } & Struct;1705 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1706 }17071708 /** @name CumulusPalletXcmpQueueCall (192) */1709 interface CumulusPalletXcmpQueueCall extends Enum {1710 readonly isServiceOverweight: boolean;1711 readonly asServiceOverweight: {1712 readonly index: u64;1713 readonly weightLimit: u64;1714 } & Struct;1715 readonly isSuspendXcmExecution: boolean;1716 readonly isResumeXcmExecution: boolean;1717 readonly isUpdateSuspendThreshold: boolean;1718 readonly asUpdateSuspendThreshold: {1719 readonly new_: u32;1720 } & Struct;1721 readonly isUpdateDropThreshold: boolean;1722 readonly asUpdateDropThreshold: {1723 readonly new_: u32;1724 } & Struct;1725 readonly isUpdateResumeThreshold: boolean;1726 readonly asUpdateResumeThreshold: {1727 readonly new_: u32;1728 } & Struct;1729 readonly isUpdateThresholdWeight: boolean;1730 readonly asUpdateThresholdWeight: {1731 readonly new_: u64;1732 } & Struct;1733 readonly isUpdateWeightRestrictDecay: boolean;1734 readonly asUpdateWeightRestrictDecay: {1735 readonly new_: u64;1736 } & Struct;1737 readonly isUpdateXcmpMaxIndividualWeight: boolean;1738 readonly asUpdateXcmpMaxIndividualWeight: {1739 readonly new_: u64;1740 } & Struct;1741 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';1742 }17431744 /** @name PalletXcmCall (193) */1745 interface PalletXcmCall extends Enum {1746 readonly isSend: boolean;1747 readonly asSend: {1748 readonly dest: XcmVersionedMultiLocation;1749 readonly message: XcmVersionedXcm;1750 } & Struct;1751 readonly isTeleportAssets: boolean;1752 readonly asTeleportAssets: {1753 readonly dest: XcmVersionedMultiLocation;1754 readonly beneficiary: XcmVersionedMultiLocation;1755 readonly assets: XcmVersionedMultiAssets;1756 readonly feeAssetItem: u32;1757 } & Struct;1758 readonly isReserveTransferAssets: boolean;1759 readonly asReserveTransferAssets: {1760 readonly dest: XcmVersionedMultiLocation;1761 readonly beneficiary: XcmVersionedMultiLocation;1762 readonly assets: XcmVersionedMultiAssets;1763 readonly feeAssetItem: u32;1764 } & Struct;1765 readonly isExecute: boolean;1766 readonly asExecute: {1767 readonly message: XcmVersionedXcm;1768 readonly maxWeight: u64;1769 } & Struct;1770 readonly isForceXcmVersion: boolean;1771 readonly asForceXcmVersion: {1772 readonly location: XcmV1MultiLocation;1773 readonly xcmVersion: u32;1774 } & Struct;1775 readonly isForceDefaultXcmVersion: boolean;1776 readonly asForceDefaultXcmVersion: {1777 readonly maybeXcmVersion: Option<u32>;1778 } & Struct;1779 readonly isForceSubscribeVersionNotify: boolean;1780 readonly asForceSubscribeVersionNotify: {1781 readonly location: XcmVersionedMultiLocation;1782 } & Struct;1783 readonly isForceUnsubscribeVersionNotify: boolean;1784 readonly asForceUnsubscribeVersionNotify: {1785 readonly location: XcmVersionedMultiLocation;1786 } & Struct;1787 readonly isLimitedReserveTransferAssets: boolean;1788 readonly asLimitedReserveTransferAssets: {1789 readonly dest: XcmVersionedMultiLocation;1790 readonly beneficiary: XcmVersionedMultiLocation;1791 readonly assets: XcmVersionedMultiAssets;1792 readonly feeAssetItem: u32;1793 readonly weightLimit: XcmV2WeightLimit;1794 } & Struct;1795 readonly isLimitedTeleportAssets: boolean;1796 readonly asLimitedTeleportAssets: {1797 readonly dest: XcmVersionedMultiLocation;1798 readonly beneficiary: XcmVersionedMultiLocation;1799 readonly assets: XcmVersionedMultiAssets;1800 readonly feeAssetItem: u32;1801 readonly weightLimit: XcmV2WeightLimit;1802 } & Struct;1803 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1804 }18051806 /** @name XcmVersionedXcm (194) */1807 interface XcmVersionedXcm extends Enum {1808 readonly isV0: boolean;1809 readonly asV0: XcmV0Xcm;1810 readonly isV1: boolean;1811 readonly asV1: XcmV1Xcm;1812 readonly isV2: boolean;1813 readonly asV2: XcmV2Xcm;1814 readonly type: 'V0' | 'V1' | 'V2';1815 }18161817 /** @name XcmV0Xcm (195) */1818 interface XcmV0Xcm extends Enum {1819 readonly isWithdrawAsset: boolean;1820 readonly asWithdrawAsset: {1821 readonly assets: Vec<XcmV0MultiAsset>;1822 readonly effects: Vec<XcmV0Order>;1823 } & Struct;1824 readonly isReserveAssetDeposit: boolean;1825 readonly asReserveAssetDeposit: {1826 readonly assets: Vec<XcmV0MultiAsset>;1827 readonly effects: Vec<XcmV0Order>;1828 } & Struct;1829 readonly isTeleportAsset: boolean;1830 readonly asTeleportAsset: {1831 readonly assets: Vec<XcmV0MultiAsset>;1832 readonly effects: Vec<XcmV0Order>;1833 } & Struct;1834 readonly isQueryResponse: boolean;1835 readonly asQueryResponse: {1836 readonly queryId: Compact<u64>;1837 readonly response: XcmV0Response;1838 } & Struct;1839 readonly isTransferAsset: boolean;1840 readonly asTransferAsset: {1841 readonly assets: Vec<XcmV0MultiAsset>;1842 readonly dest: XcmV0MultiLocation;1843 } & Struct;1844 readonly isTransferReserveAsset: boolean;1845 readonly asTransferReserveAsset: {1846 readonly assets: Vec<XcmV0MultiAsset>;1847 readonly dest: XcmV0MultiLocation;1848 readonly effects: Vec<XcmV0Order>;1849 } & Struct;1850 readonly isTransact: boolean;1851 readonly asTransact: {1852 readonly originType: XcmV0OriginKind;1853 readonly requireWeightAtMost: u64;1854 readonly call: XcmDoubleEncoded;1855 } & Struct;1856 readonly isHrmpNewChannelOpenRequest: boolean;1857 readonly asHrmpNewChannelOpenRequest: {1858 readonly sender: Compact<u32>;1859 readonly maxMessageSize: Compact<u32>;1860 readonly maxCapacity: Compact<u32>;1861 } & Struct;1862 readonly isHrmpChannelAccepted: boolean;1863 readonly asHrmpChannelAccepted: {1864 readonly recipient: Compact<u32>;1865 } & Struct;1866 readonly isHrmpChannelClosing: boolean;1867 readonly asHrmpChannelClosing: {1868 readonly initiator: Compact<u32>;1869 readonly sender: Compact<u32>;1870 readonly recipient: Compact<u32>;1871 } & Struct;1872 readonly isRelayedFrom: boolean;1873 readonly asRelayedFrom: {1874 readonly who: XcmV0MultiLocation;1875 readonly message: XcmV0Xcm;1876 } & Struct;1877 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';1878 }18791880 /** @name XcmV0Order (197) */1881 interface XcmV0Order extends Enum {1882 readonly isNull: boolean;1883 readonly isDepositAsset: boolean;1884 readonly asDepositAsset: {1885 readonly assets: Vec<XcmV0MultiAsset>;1886 readonly dest: XcmV0MultiLocation;1887 } & Struct;1888 readonly isDepositReserveAsset: boolean;1889 readonly asDepositReserveAsset: {1890 readonly assets: Vec<XcmV0MultiAsset>;1891 readonly dest: XcmV0MultiLocation;1892 readonly effects: Vec<XcmV0Order>;1893 } & Struct;1894 readonly isExchangeAsset: boolean;1895 readonly asExchangeAsset: {1896 readonly give: Vec<XcmV0MultiAsset>;1897 readonly receive: Vec<XcmV0MultiAsset>;1898 } & Struct;1899 readonly isInitiateReserveWithdraw: boolean;1900 readonly asInitiateReserveWithdraw: {1901 readonly assets: Vec<XcmV0MultiAsset>;1902 readonly reserve: XcmV0MultiLocation;1903 readonly effects: Vec<XcmV0Order>;1904 } & Struct;1905 readonly isInitiateTeleport: boolean;1906 readonly asInitiateTeleport: {1907 readonly assets: Vec<XcmV0MultiAsset>;1908 readonly dest: XcmV0MultiLocation;1909 readonly effects: Vec<XcmV0Order>;1910 } & Struct;1911 readonly isQueryHolding: boolean;1912 readonly asQueryHolding: {1913 readonly queryId: Compact<u64>;1914 readonly dest: XcmV0MultiLocation;1915 readonly assets: Vec<XcmV0MultiAsset>;1916 } & Struct;1917 readonly isBuyExecution: boolean;1918 readonly asBuyExecution: {1919 readonly fees: XcmV0MultiAsset;1920 readonly weight: u64;1921 readonly debt: u64;1922 readonly haltOnError: bool;1923 readonly xcm: Vec<XcmV0Xcm>;1924 } & Struct;1925 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1926 }19271928 /** @name XcmV0Response (199) */1929 interface XcmV0Response extends Enum {1930 readonly isAssets: boolean;1931 readonly asAssets: Vec<XcmV0MultiAsset>;1932 readonly type: 'Assets';1933 }19341935 /** @name XcmV1Xcm (200) */1936 interface XcmV1Xcm extends Enum {1937 readonly isWithdrawAsset: boolean;1938 readonly asWithdrawAsset: {1939 readonly assets: XcmV1MultiassetMultiAssets;1940 readonly effects: Vec<XcmV1Order>;1941 } & Struct;1942 readonly isReserveAssetDeposited: boolean;1943 readonly asReserveAssetDeposited: {1944 readonly assets: XcmV1MultiassetMultiAssets;1945 readonly effects: Vec<XcmV1Order>;1946 } & Struct;1947 readonly isReceiveTeleportedAsset: boolean;1948 readonly asReceiveTeleportedAsset: {1949 readonly assets: XcmV1MultiassetMultiAssets;1950 readonly effects: Vec<XcmV1Order>;1951 } & Struct;1952 readonly isQueryResponse: boolean;1953 readonly asQueryResponse: {1954 readonly queryId: Compact<u64>;1955 readonly response: XcmV1Response;1956 } & Struct;1957 readonly isTransferAsset: boolean;1958 readonly asTransferAsset: {1959 readonly assets: XcmV1MultiassetMultiAssets;1960 readonly beneficiary: XcmV1MultiLocation;1961 } & Struct;1962 readonly isTransferReserveAsset: boolean;1963 readonly asTransferReserveAsset: {1964 readonly assets: XcmV1MultiassetMultiAssets;1965 readonly dest: XcmV1MultiLocation;1966 readonly effects: Vec<XcmV1Order>;1967 } & Struct;1968 readonly isTransact: boolean;1969 readonly asTransact: {1970 readonly originType: XcmV0OriginKind;1971 readonly requireWeightAtMost: u64;1972 readonly call: XcmDoubleEncoded;1973 } & Struct;1974 readonly isHrmpNewChannelOpenRequest: boolean;1975 readonly asHrmpNewChannelOpenRequest: {1976 readonly sender: Compact<u32>;1977 readonly maxMessageSize: Compact<u32>;1978 readonly maxCapacity: Compact<u32>;1979 } & Struct;1980 readonly isHrmpChannelAccepted: boolean;1981 readonly asHrmpChannelAccepted: {1982 readonly recipient: Compact<u32>;1983 } & Struct;1984 readonly isHrmpChannelClosing: boolean;1985 readonly asHrmpChannelClosing: {1986 readonly initiator: Compact<u32>;1987 readonly sender: Compact<u32>;1988 readonly recipient: Compact<u32>;1989 } & Struct;1990 readonly isRelayedFrom: boolean;1991 readonly asRelayedFrom: {1992 readonly who: XcmV1MultilocationJunctions;1993 readonly message: XcmV1Xcm;1994 } & Struct;1995 readonly isSubscribeVersion: boolean;1996 readonly asSubscribeVersion: {1997 readonly queryId: Compact<u64>;1998 readonly maxResponseWeight: Compact<u64>;1999 } & Struct;2000 readonly isUnsubscribeVersion: boolean;2001 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2002 }20032004 /** @name XcmV1Order (202) */2005 interface XcmV1Order extends Enum {2006 readonly isNoop: boolean;2007 readonly isDepositAsset: boolean;2008 readonly asDepositAsset: {2009 readonly assets: XcmV1MultiassetMultiAssetFilter;2010 readonly maxAssets: u32;2011 readonly beneficiary: XcmV1MultiLocation;2012 } & Struct;2013 readonly isDepositReserveAsset: boolean;2014 readonly asDepositReserveAsset: {2015 readonly assets: XcmV1MultiassetMultiAssetFilter;2016 readonly maxAssets: u32;2017 readonly dest: XcmV1MultiLocation;2018 readonly effects: Vec<XcmV1Order>;2019 } & Struct;2020 readonly isExchangeAsset: boolean;2021 readonly asExchangeAsset: {2022 readonly give: XcmV1MultiassetMultiAssetFilter;2023 readonly receive: XcmV1MultiassetMultiAssets;2024 } & Struct;2025 readonly isInitiateReserveWithdraw: boolean;2026 readonly asInitiateReserveWithdraw: {2027 readonly assets: XcmV1MultiassetMultiAssetFilter;2028 readonly reserve: XcmV1MultiLocation;2029 readonly effects: Vec<XcmV1Order>;2030 } & Struct;2031 readonly isInitiateTeleport: boolean;2032 readonly asInitiateTeleport: {2033 readonly assets: XcmV1MultiassetMultiAssetFilter;2034 readonly dest: XcmV1MultiLocation;2035 readonly effects: Vec<XcmV1Order>;2036 } & Struct;2037 readonly isQueryHolding: boolean;2038 readonly asQueryHolding: {2039 readonly queryId: Compact<u64>;2040 readonly dest: XcmV1MultiLocation;2041 readonly assets: XcmV1MultiassetMultiAssetFilter;2042 } & Struct;2043 readonly isBuyExecution: boolean;2044 readonly asBuyExecution: {2045 readonly fees: XcmV1MultiAsset;2046 readonly weight: u64;2047 readonly debt: u64;2048 readonly haltOnError: bool;2049 readonly instructions: Vec<XcmV1Xcm>;2050 } & Struct;2051 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2052 }20532054 /** @name XcmV1Response (204) */2055 interface XcmV1Response extends Enum {2056 readonly isAssets: boolean;2057 readonly asAssets: XcmV1MultiassetMultiAssets;2058 readonly isVersion: boolean;2059 readonly asVersion: u32;2060 readonly type: 'Assets' | 'Version';2061 }20622063 /** @name CumulusPalletXcmCall (218) */2064 type CumulusPalletXcmCall = Null;20652066 /** @name CumulusPalletDmpQueueCall (219) */2067 interface CumulusPalletDmpQueueCall extends Enum {2068 readonly isServiceOverweight: boolean;2069 readonly asServiceOverweight: {2070 readonly index: u64;2071 readonly weightLimit: u64;2072 } & Struct;2073 readonly type: 'ServiceOverweight';2074 }20752076 /** @name PalletInflationCall (220) */2077 interface PalletInflationCall extends Enum {2078 readonly isStartInflation: boolean;2079 readonly asStartInflation: {2080 readonly inflationStartRelayBlock: u32;2081 } & Struct;2082 readonly type: 'StartInflation';2083 }20842085 /** @name PalletUniqueCall (221) */2086 interface PalletUniqueCall extends Enum {2087 readonly isCreateCollection: boolean;2088 readonly asCreateCollection: {2089 readonly collectionName: Vec<u16>;2090 readonly collectionDescription: Vec<u16>;2091 readonly tokenPrefix: Bytes;2092 readonly mode: UpDataStructsCollectionMode;2093 } & Struct;2094 readonly isCreateCollectionEx: boolean;2095 readonly asCreateCollectionEx: {2096 readonly data: UpDataStructsCreateCollectionData;2097 } & Struct;2098 readonly isDestroyCollection: boolean;2099 readonly asDestroyCollection: {2100 readonly collectionId: u32;2101 } & Struct;2102 readonly isAddToAllowList: boolean;2103 readonly asAddToAllowList: {2104 readonly collectionId: u32;2105 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2106 } & Struct;2107 readonly isRemoveFromAllowList: boolean;2108 readonly asRemoveFromAllowList: {2109 readonly collectionId: u32;2110 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2111 } & Struct;2112 readonly isChangeCollectionOwner: boolean;2113 readonly asChangeCollectionOwner: {2114 readonly collectionId: u32;2115 readonly newOwner: AccountId32;2116 } & Struct;2117 readonly isAddCollectionAdmin: boolean;2118 readonly asAddCollectionAdmin: {2119 readonly collectionId: u32;2120 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2121 } & Struct;2122 readonly isRemoveCollectionAdmin: boolean;2123 readonly asRemoveCollectionAdmin: {2124 readonly collectionId: u32;2125 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2126 } & Struct;2127 readonly isSetCollectionSponsor: boolean;2128 readonly asSetCollectionSponsor: {2129 readonly collectionId: u32;2130 readonly newSponsor: AccountId32;2131 } & Struct;2132 readonly isConfirmSponsorship: boolean;2133 readonly asConfirmSponsorship: {2134 readonly collectionId: u32;2135 } & Struct;2136 readonly isRemoveCollectionSponsor: boolean;2137 readonly asRemoveCollectionSponsor: {2138 readonly collectionId: u32;2139 } & Struct;2140 readonly isCreateItem: boolean;2141 readonly asCreateItem: {2142 readonly collectionId: u32;2143 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2144 readonly data: UpDataStructsCreateItemData;2145 } & Struct;2146 readonly isCreateMultipleItems: boolean;2147 readonly asCreateMultipleItems: {2148 readonly collectionId: u32;2149 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2150 readonly itemsData: Vec<UpDataStructsCreateItemData>;2151 } & Struct;2152 readonly isSetCollectionProperties: boolean;2153 readonly asSetCollectionProperties: {2154 readonly collectionId: u32;2155 readonly properties: Vec<UpDataStructsProperty>;2156 } & Struct;2157 readonly isDeleteCollectionProperties: boolean;2158 readonly asDeleteCollectionProperties: {2159 readonly collectionId: u32;2160 readonly propertyKeys: Vec<Bytes>;2161 } & Struct;2162 readonly isSetTokenProperties: boolean;2163 readonly asSetTokenProperties: {2164 readonly collectionId: u32;2165 readonly tokenId: u32;2166 readonly properties: Vec<UpDataStructsProperty>;2167 } & Struct;2168 readonly isDeleteTokenProperties: boolean;2169 readonly asDeleteTokenProperties: {2170 readonly collectionId: u32;2171 readonly tokenId: u32;2172 readonly propertyKeys: Vec<Bytes>;2173 } & Struct;2174 readonly isSetTokenPropertyPermissions: boolean;2175 readonly asSetTokenPropertyPermissions: {2176 readonly collectionId: u32;2177 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2178 } & Struct;2179 readonly isCreateMultipleItemsEx: boolean;2180 readonly asCreateMultipleItemsEx: {2181 readonly collectionId: u32;2182 readonly data: UpDataStructsCreateItemExData;2183 } & Struct;2184 readonly isSetTransfersEnabledFlag: boolean;2185 readonly asSetTransfersEnabledFlag: {2186 readonly collectionId: u32;2187 readonly value: bool;2188 } & Struct;2189 readonly isBurnItem: boolean;2190 readonly asBurnItem: {2191 readonly collectionId: u32;2192 readonly itemId: u32;2193 readonly value: u128;2194 } & Struct;2195 readonly isBurnFrom: boolean;2196 readonly asBurnFrom: {2197 readonly collectionId: u32;2198 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2199 readonly itemId: u32;2200 readonly value: u128;2201 } & Struct;2202 readonly isTransfer: boolean;2203 readonly asTransfer: {2204 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2205 readonly collectionId: u32;2206 readonly itemId: u32;2207 readonly value: u128;2208 } & Struct;2209 readonly isApprove: boolean;2210 readonly asApprove: {2211 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2212 readonly collectionId: u32;2213 readonly itemId: u32;2214 readonly amount: u128;2215 } & Struct;2216 readonly isTransferFrom: boolean;2217 readonly asTransferFrom: {2218 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2219 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2220 readonly collectionId: u32;2221 readonly itemId: u32;2222 readonly value: u128;2223 } & Struct;2224 readonly isSetCollectionLimits: boolean;2225 readonly asSetCollectionLimits: {2226 readonly collectionId: u32;2227 readonly newLimit: UpDataStructsCollectionLimits;2228 } & Struct;2229 readonly isSetCollectionPermissions: boolean;2230 readonly asSetCollectionPermissions: {2231 readonly collectionId: u32;2232 readonly newPermission: UpDataStructsCollectionPermissions;2233 } & Struct;2234 readonly isRepartition: boolean;2235 readonly asRepartition: {2236 readonly collectionId: u32;2237 readonly tokenId: u32;2238 readonly amount: u128;2239 } & Struct;2240 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';2241 }22422243 /** @name UpDataStructsCollectionMode (226) */2244 interface UpDataStructsCollectionMode extends Enum {2245 readonly isNft: boolean;1835 readonly isNft: boolean;2246 readonly isFungible: boolean;1836 readonly isFungible: boolean;2247 readonly asFungible: u8;1837 readonly asFungible: u8;2248 readonly isReFungible: boolean;1838 readonly isReFungible: boolean;2249 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1839 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2250 }1840 }225118412252 /** @name UpDataStructsCreateCollectionData (227) */1842 /** @name UpDataStructsCreateCollectionData (156) */2253 interface UpDataStructsCreateCollectionData extends Struct {1843 export interface UpDataStructsCreateCollectionData extends Struct {2254 readonly mode: UpDataStructsCollectionMode;1844 readonly mode: UpDataStructsCollectionMode;2255 readonly access: Option<UpDataStructsAccessMode>;1845 readonly access: Option<UpDataStructsAccessMode>;2256 readonly name: Vec<u16>;1846 readonly name: Vec<u16>;2263 readonly properties: Vec<UpDataStructsProperty>;1853 readonly properties: Vec<UpDataStructsProperty>;2264 }1854 }226518552266 /** @name UpDataStructsAccessMode (229) */1856 /** @name UpDataStructsAccessMode (158) */2267 interface UpDataStructsAccessMode extends Enum {1857 export interface UpDataStructsAccessMode extends Enum {2268 readonly isNormal: boolean;1858 readonly isNormal: boolean;2269 readonly isAllowList: boolean;1859 readonly isAllowList: boolean;2270 readonly type: 'Normal' | 'AllowList';1860 readonly type: 'Normal' | 'AllowList';2271 }1861 }227218622273 /** @name UpDataStructsCollectionLimits (231) */1863 /** @name UpDataStructsCollectionLimits (161) */2274 interface UpDataStructsCollectionLimits extends Struct {1864 export interface UpDataStructsCollectionLimits extends Struct {2275 readonly accountTokenOwnershipLimit: Option<u32>;1865 readonly accountTokenOwnershipLimit: Option<u32>;2276 readonly sponsoredDataSize: Option<u32>;1866 readonly sponsoredDataSize: Option<u32>;2277 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1867 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2283 readonly transfersEnabled: Option<bool>;1873 readonly transfersEnabled: Option<bool>;2284 }1874 }228518752286 /** @name UpDataStructsSponsoringRateLimit (233) */1876 /** @name UpDataStructsSponsoringRateLimit (163) */2287 interface UpDataStructsSponsoringRateLimit extends Enum {1877 export interface UpDataStructsSponsoringRateLimit extends Enum {2288 readonly isSponsoringDisabled: boolean;1878 readonly isSponsoringDisabled: boolean;2289 readonly isBlocks: boolean;1879 readonly isBlocks: boolean;2290 readonly asBlocks: u32;1880 readonly asBlocks: u32;2291 readonly type: 'SponsoringDisabled' | 'Blocks';1881 readonly type: 'SponsoringDisabled' | 'Blocks';2292 }1882 }229318832294 /** @name UpDataStructsCollectionPermissions (236) */1884 /** @name UpDataStructsCollectionPermissions (166) */2295 interface UpDataStructsCollectionPermissions extends Struct {1885 export interface UpDataStructsCollectionPermissions extends Struct {2296 readonly access: Option<UpDataStructsAccessMode>;1886 readonly access: Option<UpDataStructsAccessMode>;2297 readonly mintMode: Option<bool>;1887 readonly mintMode: Option<bool>;2298 readonly nesting: Option<UpDataStructsNestingPermissions>;1888 readonly nesting: Option<UpDataStructsNestingPermissions>;2299 }1889 }230018902301 /** @name UpDataStructsNestingPermissions (238) */1891 /** @name UpDataStructsNestingPermissions (168) */2302 interface UpDataStructsNestingPermissions extends Struct {1892 export interface UpDataStructsNestingPermissions extends Struct {2303 readonly tokenOwner: bool;1893 readonly tokenOwner: bool;2304 readonly collectionAdmin: bool;1894 readonly collectionAdmin: bool;2305 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;1895 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2306 }1896 }230718972308 /** @name UpDataStructsOwnerRestrictedSet (240) */1898 /** @name UpDataStructsOwnerRestrictedSet (170) */2309 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}1899 export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}231019002311 /** @name UpDataStructsPropertyKeyPermission (245) */1901 /** @name UpDataStructsPropertyKeyPermission (176) */2312 interface UpDataStructsPropertyKeyPermission extends Struct {1902 export interface UpDataStructsPropertyKeyPermission extends Struct {2313 readonly key: Bytes;1903 readonly key: Bytes;2314 readonly permission: UpDataStructsPropertyPermission;1904 readonly permission: UpDataStructsPropertyPermission;2315 }1905 }231619062317 /** @name UpDataStructsPropertyPermission (246) */1907 /** @name UpDataStructsPropertyPermission (178) */2318 interface UpDataStructsPropertyPermission extends Struct {1908 export interface UpDataStructsPropertyPermission extends Struct {2319 readonly mutable: bool;1909 readonly mutable: bool;2320 readonly collectionAdmin: bool;1910 readonly collectionAdmin: bool;2321 readonly tokenOwner: bool;1911 readonly tokenOwner: bool;2322 }1912 }232319132324 /** @name UpDataStructsProperty (249) */1914 /** @name UpDataStructsProperty (181) */2325 interface UpDataStructsProperty extends Struct {1915 export interface UpDataStructsProperty extends Struct {2326 readonly key: Bytes;1916 readonly key: Bytes;2327 readonly value: Bytes;1917 readonly value: Bytes;2328 }1918 }232919192330 /** @name UpDataStructsCreateItemData (252) */1920 /** @name PalletEvmAccountBasicCrossAccountIdRepr (184) */1921 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1922 readonly isSubstrate: boolean;1923 readonly asSubstrate: AccountId32;1924 readonly isEthereum: boolean;1925 readonly asEthereum: H160;1926 readonly type: 'Substrate' | 'Ethereum';1927 }19281929 /** @name UpDataStructsCreateItemData (186) */2331 interface UpDataStructsCreateItemData extends Enum {1930 export interface UpDataStructsCreateItemData extends Enum {2332 readonly isNft: boolean;1931 readonly isNft: boolean;2333 readonly asNft: UpDataStructsCreateNftData;1932 readonly asNft: UpDataStructsCreateNftData;2334 readonly isFungible: boolean;1933 readonly isFungible: boolean;2338 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1937 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2339 }1938 }234019392341 /** @name UpDataStructsCreateNftData (253) */1940 /** @name UpDataStructsCreateNftData (187) */2342 interface UpDataStructsCreateNftData extends Struct {1941 export interface UpDataStructsCreateNftData extends Struct {2343 readonly properties: Vec<UpDataStructsProperty>;1942 readonly properties: Vec<UpDataStructsProperty>;2344 }1943 }234519442346 /** @name UpDataStructsCreateFungibleData (254) */1945 /** @name UpDataStructsCreateFungibleData (188) */2347 interface UpDataStructsCreateFungibleData extends Struct {1946 export interface UpDataStructsCreateFungibleData extends Struct {2348 readonly value: u128;1947 readonly value: u128;2349 }1948 }235019492351 /** @name UpDataStructsCreateReFungibleData (255) */1950 /** @name UpDataStructsCreateReFungibleData (189) */2352 interface UpDataStructsCreateReFungibleData extends Struct {1951 export interface UpDataStructsCreateReFungibleData extends Struct {2353 readonly pieces: u128;1952 readonly pieces: u128;2354 readonly properties: Vec<UpDataStructsProperty>;1953 readonly properties: Vec<UpDataStructsProperty>;1954>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client2355 }1955 }235619562357 /** @name UpDataStructsCreateItemExData (258) */1957 /** @name FrameSystemLimitsBlockLength (128) */1958 interface FrameSystemLimitsBlockLength extends Struct {1959 readonly max: FrameSupportWeightsPerDispatchClassU32;1960 }19611962 /** @name FrameSupportWeightsPerDispatchClassU32 (129) */1963 interface FrameSupportWeightsPerDispatchClassU32 extends Struct {1964 readonly normal: u32;1965 readonly operational: u32;1966 readonly mandatory: u32;1967 }19681969 /** @name FrameSupportWeightsRuntimeDbWeight (130) */1970 interface FrameSupportWeightsRuntimeDbWeight extends Struct {1971 readonly read: u64;1972 readonly write: u64;1973 }19741975 /** @name SpVersionRuntimeVersion (131) */1976 interface SpVersionRuntimeVersion extends Struct {1977 readonly specName: Text;1978 readonly implName: Text;1979 readonly authoringVersion: u32;1980 readonly specVersion: u32;1981 readonly implVersion: u32;1982 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1983 readonly transactionVersion: u32;1984 readonly stateVersion: u8;1985 }19861987<<<<<<< HEAD1988 /** @name FrameSystemError (136) */1989 interface FrameSystemError extends Enum {1990 readonly isInvalidSpecName: boolean;1991 readonly isSpecVersionNeedsToIncrease: boolean;1992 readonly isFailedToExtractRuntimeVersion: boolean;1993 readonly isNonDefaultComposite: boolean;1994 readonly isNonZeroRefCount: boolean;1995 readonly isCallFiltered: boolean;1996 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1997 }19981999 /** @name UpDataStructsCreateItemExData (192) */2358 interface UpDataStructsCreateItemExData extends Enum {2000 export interface UpDataStructsCreateItemExData extends Enum {2359 readonly isNft: boolean;2001 readonly isNft: boolean;2360 readonly asNft: Vec<UpDataStructsCreateNftExData>;2002 readonly asNft: Vec<UpDataStructsCreateNftExData>;2361 readonly isFungible: boolean;2003 readonly isFungible: boolean;2367 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2009 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2368 }2010 }236920112370 /** @name UpDataStructsCreateNftExData (260) */2012 /** @name UpDataStructsCreateNftExData (194) */2371 interface UpDataStructsCreateNftExData extends Struct {2013 export interface UpDataStructsCreateNftExData extends Struct {2372 readonly properties: Vec<UpDataStructsProperty>;2014 readonly properties: Vec<UpDataStructsProperty>;2373 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2015 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2374 }2016 }237520172376 /** @name UpDataStructsCreateRefungibleExSingleOwner (267) */2018 /** @name UpDataStructsCreateRefungibleExSingleOwner (201) */2377 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2019 export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2378 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2020 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2379 readonly pieces: u128;2021 readonly pieces: u128;2380 readonly properties: Vec<UpDataStructsProperty>;2022 readonly properties: Vec<UpDataStructsProperty>;2381 }2023 }238220242383 /** @name UpDataStructsCreateRefungibleExMultipleOwners (269) */2025 /** @name UpDataStructsCreateRefungibleExMultipleOwners (203) */2384 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2026 export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2385 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2027 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2386 readonly properties: Vec<UpDataStructsProperty>;2028 readonly properties: Vec<UpDataStructsProperty>;2387 }2029 }238820302389 /** @name PalletUniqueSchedulerCall (270) */2031 /** @name PalletUniqueSchedulerCall (205) */2390 interface PalletUniqueSchedulerCall extends Enum {2032 export interface PalletUniqueSchedulerCall extends Enum {2391 readonly isScheduleNamed: boolean;2033 readonly isScheduleNamed: boolean;2392 readonly asScheduleNamed: {2034 readonly asScheduleNamed: {2393 readonly id: U8aFixed;2035 readonly id: U8aFixed;2411 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2053 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';2412 }2054 }241320552414 /** @name FrameSupportScheduleMaybeHashed (272) */2056 /** @name FrameSupportScheduleMaybeHashed (207) */2415 interface FrameSupportScheduleMaybeHashed extends Enum {2057 export interface FrameSupportScheduleMaybeHashed extends Enum {2416 readonly isValue: boolean;2058 readonly isValue: boolean;2417 readonly asValue: Call;2059 readonly asValue: Call;2418 readonly isHash: boolean;2060 readonly isHash: boolean;2419 readonly asHash: H256;2061 readonly asHash: H256;2420 readonly type: 'Value' | 'Hash';2062 readonly type: 'Value' | 'Hash';2421 }2063 }242220642423 /** @name PalletConfigurationCall (273) */2065 /** @name PalletTemplateTransactionPaymentCall (208) */2424 interface PalletConfigurationCall extends Enum {2066 export type PalletTemplateTransactionPaymentCall = Null;2425 readonly isSetWeightToFeeCoefficientOverride: boolean;2426 readonly asSetWeightToFeeCoefficientOverride: {2427 readonly coeff: Option<u32>;2428 } & Struct;2429 readonly isSetMinGasPriceOverride: boolean;2430 readonly asSetMinGasPriceOverride: {2431 readonly coeff: Option<u64>;2432 } & Struct;2433 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';2434 }243520672436 /** @name PalletTemplateTransactionPaymentCall (274) */2068 /** @name PalletStructureCall (209) */2437 type PalletTemplateTransactionPaymentCall = Null;2069 export type PalletStructureCall = Null;243820702439 /** @name PalletStructureCall (275) */2071 /** @name PalletRmrkCoreCall (210) */2440 type PalletStructureCall = Null;24412442 /** @name PalletRmrkCoreCall (276) */2443 interface PalletRmrkCoreCall extends Enum {2072 export interface PalletRmrkCoreCall extends Enum {2444 readonly isCreateCollection: boolean;2073 readonly isCreateCollection: boolean;2445 readonly asCreateCollection: {2074 readonly asCreateCollection: {2446 readonly metadata: Bytes;2075 readonly metadata: Bytes;2545 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2174 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2546 }2175 }254721762548 /** @name RmrkTraitsResourceResourceTypes (282) */2177 /** @name RmrkTraitsResourceResourceTypes (216) */2549 interface RmrkTraitsResourceResourceTypes extends Enum {2178 export interface RmrkTraitsResourceResourceTypes extends Enum {2550 readonly isBasic: boolean;2179 readonly isBasic: boolean;2551 readonly asBasic: RmrkTraitsResourceBasicResource;2180 readonly asBasic: RmrkTraitsResourceBasicResource;2552 readonly isComposable: boolean;2181 readonly isComposable: boolean;2556 readonly type: 'Basic' | 'Composable' | 'Slot';2185 readonly type: 'Basic' | 'Composable' | 'Slot';2557 }2186 }255821872559 /** @name RmrkTraitsResourceBasicResource (284) */2188 /** @name RmrkTraitsResourceBasicResource (218) */2560 interface RmrkTraitsResourceBasicResource extends Struct {2189 export interface RmrkTraitsResourceBasicResource extends Struct {2561 readonly src: Option<Bytes>;2190 readonly src: Option<Bytes>;2562 readonly metadata: Option<Bytes>;2191 readonly metadata: Option<Bytes>;2563 readonly license: Option<Bytes>;2192 readonly license: Option<Bytes>;2564 readonly thumb: Option<Bytes>;2193 readonly thumb: Option<Bytes>;2565 }2194 }256621952567 /** @name RmrkTraitsResourceComposableResource (286) */2196 /** @name RmrkTraitsResourceComposableResource (220) */2568 interface RmrkTraitsResourceComposableResource extends Struct {2197 export interface RmrkTraitsResourceComposableResource extends Struct {2569 readonly parts: Vec<u32>;2198 readonly parts: Vec<u32>;2570 readonly base: u32;2199 readonly base: u32;2571 readonly src: Option<Bytes>;2200 readonly src: Option<Bytes>;2574 readonly thumb: Option<Bytes>;2203 readonly thumb: Option<Bytes>;2575 }2204 }257622052577 /** @name RmrkTraitsResourceSlotResource (287) */2206 /** @name RmrkTraitsResourceSlotResource (221) */2578 interface RmrkTraitsResourceSlotResource extends Struct {2207 export interface RmrkTraitsResourceSlotResource extends Struct {2579 readonly base: u32;2208 readonly base: u32;2580 readonly src: Option<Bytes>;2209 readonly src: Option<Bytes>;2581 readonly metadata: Option<Bytes>;2210 readonly metadata: Option<Bytes>;2584 readonly thumb: Option<Bytes>;2213 readonly thumb: Option<Bytes>;2585 }2214 }258622152587 /** @name PalletRmrkEquipCall (290) */2216 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (223) */2217 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2218 readonly isAccountId: boolean;2219 readonly asAccountId: AccountId32;2220 readonly isCollectionAndNftTuple: boolean;2221 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2222 readonly type: 'AccountId' | 'CollectionAndNftTuple';2223 }22242225 /** @name PalletRmrkEquipCall (227) */2588 interface PalletRmrkEquipCall extends Enum {2226 export interface PalletRmrkEquipCall extends Enum {2589 readonly isCreateBase: boolean;2227 readonly isCreateBase: boolean;2590 readonly asCreateBase: {2228 readonly asCreateBase: {2591 readonly baseType: Bytes;2229 readonly baseType: Bytes;2606 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2244 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2607 }2245 }260822462609 /** @name RmrkTraitsPartPartType (293) */2247 /** @name RmrkTraitsPartPartType (230) */2610 interface RmrkTraitsPartPartType extends Enum {2248 export interface RmrkTraitsPartPartType extends Enum {2611 readonly isFixedPart: boolean;2249 readonly isFixedPart: boolean;2612 readonly asFixedPart: RmrkTraitsPartFixedPart;2250 readonly asFixedPart: RmrkTraitsPartFixedPart;2613 readonly isSlotPart: boolean;2251 readonly isSlotPart: boolean;2614 readonly asSlotPart: RmrkTraitsPartSlotPart;2252 readonly asSlotPart: RmrkTraitsPartSlotPart;2615 readonly type: 'FixedPart' | 'SlotPart';2253 readonly type: 'FixedPart' | 'SlotPart';2616 }2254 }261722552618 /** @name RmrkTraitsPartFixedPart (295) */2256 /** @name RmrkTraitsPartFixedPart (232) */2619 interface RmrkTraitsPartFixedPart extends Struct {2257 export interface RmrkTraitsPartFixedPart extends Struct {2620 readonly id: u32;2258 readonly id: u32;2621 readonly z: u32;2259 readonly z: u32;2622 readonly src: Bytes;2260 readonly src: Bytes;2623 }2261 }262422622625 /** @name RmrkTraitsPartSlotPart (296) */2263 /** @name RmrkTraitsPartSlotPart (233) */2626 interface RmrkTraitsPartSlotPart extends Struct {2264 export interface RmrkTraitsPartSlotPart extends Struct {2627 readonly id: u32;2265 readonly id: u32;2628 readonly equippable: RmrkTraitsPartEquippableList;2266 readonly equippable: RmrkTraitsPartEquippableList;2629 readonly src: Bytes;2267 readonly src: Bytes;2630 readonly z: u32;2268 readonly z: u32;2631 }2269 }263222702633 /** @name RmrkTraitsPartEquippableList (297) */2271 /** @name RmrkTraitsPartEquippableList (234) */2634 interface RmrkTraitsPartEquippableList extends Enum {2272 export interface RmrkTraitsPartEquippableList extends Enum {2635 readonly isAll: boolean;2273 readonly isAll: boolean;2636 readonly isEmpty: boolean;2274 readonly type: 'Fee' | 'Misc' | 'All';2637 readonly isCustom: boolean;2638 readonly asCustom: Vec<u32>;2639 readonly type: 'All' | 'Empty' | 'Custom';2640 }2275 }264122762642 /** @name RmrkTraitsTheme (299) */2277 /** @name RmrkTraitsTheme (236) */2643 interface RmrkTraitsTheme extends Struct {2278 export interface RmrkTraitsTheme extends Struct {2644 readonly name: Bytes;2279 readonly name: Bytes;2645 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2280 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2646 readonly inherit: bool;2281 readonly inherit: bool;2647 }2282 }264822832649 /** @name RmrkTraitsThemeThemeProperty (301) */2284 /** @name RmrkTraitsThemeThemeProperty (238) */2650 interface RmrkTraitsThemeThemeProperty extends Struct {2285 export interface RmrkTraitsThemeThemeProperty extends Struct {2651 readonly key: Bytes;2286 readonly key: Bytes;2652 readonly value: Bytes;2287 readonly value: Bytes;2653 }2288 }265422892655 /** @name PalletEvmCall (303) */2290 /** @name PalletEvmCall (240) */2656 interface PalletEvmCall extends Enum {2291 export interface PalletEvmCall extends Enum {2657 readonly isWithdraw: boolean;2292 readonly isWithdraw: boolean;2658 readonly asWithdraw: {2293 readonly asWithdraw: {2659 readonly address: H160;2294 readonly address: H160;2660 readonly value: u128;2295 readonly value: u128;2296>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client2661 } & Struct;2297 } & Struct;2662 readonly isCall: boolean;2298 readonly isSetBalance: boolean;2663 readonly asCall: {2299 readonly asSetBalance: {2664 readonly source: H160;2300 readonly who: MultiAddress;2665 readonly target: H160;2301 readonly newFree: Compact<u128>;2666 readonly input: Bytes;2667 readonly value: U256;2668 readonly gasLimit: u64;2669 readonly maxFeePerGas: U256;2670 readonly maxPriorityFeePerGas: Option<U256>;2671 readonly nonce: Option<U256>;2302 readonly newReserved: Compact<u128>;2672 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2673 } & Struct;2303 } & Struct;2674 readonly isCreate: boolean;2304 readonly isForceTransfer: boolean;2675 readonly asCreate: {2305 readonly asForceTransfer: {2676 readonly source: H160;2306 readonly source: MultiAddress;2677 readonly init: Bytes;2307 readonly dest: MultiAddress;2678 readonly value: U256;2308 readonly value: Compact<u128>;2679 readonly gasLimit: u64;2680 readonly maxFeePerGas: U256;2681 readonly maxPriorityFeePerGas: Option<U256>;2682 readonly nonce: Option<U256>;2683 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2684 } & Struct;2309 } & Struct;2685 readonly isCreate2: boolean;2310 readonly isTransferKeepAlive: boolean;2686 readonly asCreate2: {2311 readonly asTransferKeepAlive: {2687 readonly source: H160;2312 readonly dest: MultiAddress;2688 readonly init: Bytes;2313 readonly value: Compact<u128>;2689 readonly salt: H256;2690 readonly value: U256;2691 readonly gasLimit: u64;2692 readonly maxFeePerGas: U256;2693 readonly maxPriorityFeePerGas: Option<U256>;2694 readonly nonce: Option<U256>;2695 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2696 } & Struct;2314 } & Struct;2315<<<<<<< HEAD2316 readonly isTransferAll: boolean;2317 readonly asTransferAll: {2318 readonly dest: MultiAddress;2319 readonly keepAlive: bool;2320=======2697 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2321 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';2698 }2322 }269923232700 /** @name PalletEthereumCall (307) */2324 /** @name PalletEthereumCall (246) */2701 interface PalletEthereumCall extends Enum {2325 export interface PalletEthereumCall extends Enum {2702 readonly isTransact: boolean;2326 readonly isTransact: boolean;2703 readonly asTransact: {2327 readonly asTransact: {2704 readonly transaction: EthereumTransactionTransactionV2;2328 readonly transaction: EthereumTransactionTransactionV2;2329>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client2705 } & Struct;2330 } & Struct;2706 readonly type: 'Transact';2331 readonly isForceUnreserve: boolean;2332 readonly asForceUnreserve: {2333 readonly who: MultiAddress;2334 readonly amount: u128;2335 } & Struct;2336 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';2707 }2337 }270823382709 /** @name EthereumTransactionTransactionV2 (308) */2339 /** @name EthereumTransactionTransactionV2 (247) */2710 interface EthereumTransactionTransactionV2 extends Enum {2340 export interface EthereumTransactionTransactionV2 extends Enum {2711 readonly isLegacy: boolean;2341 readonly isLegacy: boolean;2712 readonly asLegacy: EthereumTransactionLegacyTransaction;2342 readonly asLegacy: EthereumTransactionLegacyTransaction;2713 readonly isEip2930: boolean;2343 readonly isEip2930: boolean;2717 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2347 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2718 }2348 }271923492720 /** @name EthereumTransactionLegacyTransaction (309) */2350 /** @name EthereumTransactionLegacyTransaction (248) */2721 interface EthereumTransactionLegacyTransaction extends Struct {2351 export interface EthereumTransactionLegacyTransaction extends Struct {2722 readonly nonce: U256;2352 readonly nonce: U256;2723 readonly gasPrice: U256;2353 readonly gasPrice: U256;2724 readonly gasLimit: U256;2354 readonly gasLimit: U256;2728 readonly signature: EthereumTransactionTransactionSignature;2358 readonly signature: EthereumTransactionTransactionSignature;2729 }2359 }273023602731 /** @name EthereumTransactionTransactionAction (310) */2361 /** @name EthereumTransactionTransactionAction (249) */2732 interface EthereumTransactionTransactionAction extends Enum {2362 export interface EthereumTransactionTransactionAction extends Enum {2733 readonly isCall: boolean;2363 readonly isCall: boolean;2734 readonly asCall: H160;2364 readonly asCall: H160;2735 readonly isCreate: boolean;2365 readonly isCreate: boolean;2736 readonly type: 'Call' | 'Create';2366 readonly type: 'Call' | 'Create';2737 }2367 }273823682739 /** @name EthereumTransactionTransactionSignature (311) */2369 /** @name EthereumTransactionTransactionSignature (250) */2740 interface EthereumTransactionTransactionSignature extends Struct {2370 export interface EthereumTransactionTransactionSignature extends Struct {2741 readonly v: u64;2371 readonly v: u64;2742 readonly r: H256;2372 readonly r: H256;2743 readonly s: H256;2373 readonly s: H256;2744 }2374 }274523752746 /** @name EthereumTransactionEip2930Transaction (313) */2376 /** @name EthereumTransactionEip2930Transaction (252) */2747 interface EthereumTransactionEip2930Transaction extends Struct {2377 export interface EthereumTransactionEip2930Transaction extends Struct {2748 readonly chainId: u64;2378 readonly chainId: u64;2749 readonly nonce: U256;2379 readonly nonce: U256;2750 readonly gasPrice: U256;2380 readonly gasPrice: U256;2758 readonly s: H256;2388 readonly s: H256;2759 }2389 }276023902761 /** @name EthereumTransactionAccessListItem (315) */2391 /** @name EthereumTransactionAccessListItem (254) */2762 interface EthereumTransactionAccessListItem extends Struct {2392 export interface EthereumTransactionAccessListItem extends Struct {2763 readonly address: H160;2393 readonly address: H160;2764 readonly storageKeys: Vec<H256>;2394 readonly storageKeys: Vec<H256>;2765 }2395 }276623962767 /** @name EthereumTransactionEip1559Transaction (316) */2397 /** @name EthereumTransactionEip1559Transaction (255) */2768 interface EthereumTransactionEip1559Transaction extends Struct {2398 export interface EthereumTransactionEip1559Transaction extends Struct {2769 readonly chainId: u64;2399 readonly chainId: u64;2770 readonly nonce: U256;2400 readonly nonce: U256;2771 readonly maxPriorityFeePerGas: U256;2401 readonly maxPriorityFeePerGas: U256;2780 readonly s: H256;2410 readonly s: H256;2781 }2411 }278224122783 /** @name PalletEvmMigrationCall (317) */2413 /** @name PalletEvmMigrationCall (256) */2784 interface PalletEvmMigrationCall extends Enum {2414 export interface PalletEvmMigrationCall extends Enum {2785 readonly isBegin: boolean;2415 readonly isBegin: boolean;2786 readonly asBegin: {2416 readonly asBegin: {2787 readonly address: H160;2417 readonly address: H160;2418>>>>>>> b43f8da0... added totalstaked & fix bug with number in RPC Client2788 } & Struct;2419 } & Struct;2789 readonly isSetData: boolean;2420 readonly isSudoUncheckedWeight: boolean;2790 readonly asSetData: {2421 readonly asSudoUncheckedWeight: {2791 readonly address: H160;2422 readonly call: Call;2792 readonly data: Vec<ITuple<[H256, H256]>>;2423 readonly weight: u64;2793 } & Struct;2424 } & Struct;2794 readonly isFinish: boolean;2425 readonly isSetKey: boolean;2795 readonly asFinish: {2426 readonly asSetKey: {2796 readonly address: H160;2427 readonly new_: MultiAddress;2797 readonly code: Bytes;2798 } & Struct;2428 } & Struct;2799 readonly type: 'Begin' | 'SetData' | 'Finish';2429 readonly isSudoAs: boolean;2430 readonly asSudoAs: {2431 readonly who: MultiAddress;2432 readonly call: Call;2433 } & Struct;2434 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';2800 }2435 }280124362802 /** @name PalletSudoError (320) */2437 /** @name PalletSudoEvent (259) */2438 export interface PalletSudoEvent extends Enum {2439 readonly isSudid: boolean;2440 readonly asSudid: {2441 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2442 } & Struct;2443 readonly isKeyChanged: boolean;2444 readonly asKeyChanged: {2445 readonly oldSudoer: Option<AccountId32>;2446 } & Struct;2447 readonly isSudoAsDone: boolean;2448 readonly asSudoAsDone: {2449 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2450 } & Struct;2451 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2452 }24532454 /** @name SpRuntimeDispatchError (261) */2455 export interface SpRuntimeDispatchError extends Enum {2456 readonly isOther: boolean;2457 readonly isCannotLookup: boolean;2458 readonly isBadOrigin: boolean;2459 readonly isModule: boolean;2460 readonly asModule: SpRuntimeModuleError;2461 readonly isConsumerRemaining: boolean;2462 readonly isNoProviders: boolean;2463 readonly isTooManyConsumers: boolean;2464 readonly isToken: boolean;2465 readonly asToken: SpRuntimeTokenError;2466 readonly isArithmetic: boolean;2467 readonly asArithmetic: SpRuntimeArithmeticError;2468 readonly isTransactional: boolean;2469 readonly asTransactional: SpRuntimeTransactionalError;2470 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2471 }24722473 /** @name SpRuntimeModuleError (262) */2474 export interface SpRuntimeModuleError extends Struct {2475 readonly index: u8;2476 readonly error: U8aFixed;2477 }24782479 /** @name SpRuntimeTokenError (263) */2480 export interface SpRuntimeTokenError extends Enum {2481 readonly isNoFunds: boolean;2482 readonly isWouldDie: boolean;2483 readonly isBelowMinimum: boolean;2484 readonly isCannotCreate: boolean;2485 readonly isUnknownAsset: boolean;2486 readonly isFrozen: boolean;2487 readonly isUnsupported: boolean;2488 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2489 }24902491 /** @name SpRuntimeArithmeticError (264) */2492 export interface SpRuntimeArithmeticError extends Enum {2493 readonly isUnderflow: boolean;2494 readonly isOverflow: boolean;2495 readonly isDivisionByZero: boolean;2496 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2497 }24982499 /** @name SpRuntimeTransactionalError (265) */2500 export interface SpRuntimeTransactionalError extends Enum {2501 readonly isLimitReached: boolean;2502 readonly isNoLayer: boolean;2503 readonly type: 'LimitReached' | 'NoLayer';2504 }25052506 /** @name PalletSudoError (266) */2803 interface PalletSudoError extends Enum {2507 export interface PalletSudoError extends Enum {2804 readonly isRequireSudo: boolean;2508 readonly isRequireSudo: boolean;2805 readonly type: 'RequireSudo';2509 readonly type: 'RequireSudo';2806 }2510 }280725112808 /** @name OrmlVestingModuleError (322) */2512 /** @name FrameSystemAccountInfo (267) */2809 interface OrmlVestingModuleError extends Enum {2513 export interface FrameSystemAccountInfo extends Struct {2514 readonly nonce: u32;2515 readonly consumers: u32;2516 readonly providers: u32;2517 readonly sufficients: u32;2518 readonly data: PalletBalancesAccountData;2519 }25202521 /** @name FrameSupportWeightsPerDispatchClassU64 (268) */2522 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2523 readonly normal: u64;2524 readonly operational: u64;2525 readonly mandatory: u64;2526 }25272528 /** @name SpRuntimeDigest (269) */2529 export interface SpRuntimeDigest extends Struct {2530 readonly logs: Vec<SpRuntimeDigestDigestItem>;2531 }25322533 /** @name SpRuntimeDigestDigestItem (271) */2534 export interface SpRuntimeDigestDigestItem extends Enum {2535 readonly isOther: boolean;2536 readonly asOther: Bytes;2537 readonly isConsensus: boolean;2538 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2539 readonly isSeal: boolean;2540 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2541 readonly isPreRuntime: boolean;2542 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2543 readonly isRuntimeEnvironmentUpdated: boolean;2544 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2545 }25462547 /** @name FrameSystemEventRecord (273) */2548 export interface FrameSystemEventRecord extends Struct {2549 readonly phase: FrameSystemPhase;2550 readonly event: Event;2551 readonly topics: Vec<H256>;2552 }25532554 /** @name FrameSystemEvent (275) */2555 export interface FrameSystemEvent extends Enum {2556 readonly isExtrinsicSuccess: boolean;2557 readonly asExtrinsicSuccess: {2558 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2559 } & Struct;2560 readonly isExtrinsicFailed: boolean;2561 readonly asExtrinsicFailed: {2562 readonly dispatchError: SpRuntimeDispatchError;2563 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2564 } & Struct;2565 readonly isCodeUpdated: boolean;2566 readonly isNewAccount: boolean;2567 readonly asNewAccount: {2568 readonly account: AccountId32;2569 } & Struct;2570 readonly isKilledAccount: boolean;2571 readonly asKilledAccount: {2572 readonly account: AccountId32;2573 } & Struct;2574 readonly isRemarked: boolean;2575 readonly asRemarked: {2576 readonly sender: AccountId32;2577 readonly hash_: H256;2578 } & Struct;2579 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2580 }25812582 /** @name FrameSupportWeightsDispatchInfo (276) */2583 export interface FrameSupportWeightsDispatchInfo extends Struct {2584 readonly weight: u64;2585 readonly class: FrameSupportWeightsDispatchClass;2586 readonly paysFee: FrameSupportWeightsPays;2587 }25882589 /** @name FrameSupportWeightsDispatchClass (277) */2590 export interface FrameSupportWeightsDispatchClass extends Enum {2591 readonly isNormal: boolean;2592 readonly isOperational: boolean;2593 readonly isMandatory: boolean;2594 readonly type: 'Normal' | 'Operational' | 'Mandatory';2595 }25962597 /** @name FrameSupportWeightsPays (278) */2598 export interface FrameSupportWeightsPays extends Enum {2599 readonly isYes: boolean;2600 readonly isNo: boolean;2601 readonly type: 'Yes' | 'No';2602 }26032604 /** @name OrmlVestingModuleEvent (279) */2605 export interface OrmlVestingModuleEvent extends Enum {2606 readonly isVestingScheduleAdded: boolean;2607 readonly asVestingScheduleAdded: {2608 readonly from: AccountId32;2609 readonly to: AccountId32;2610 readonly vestingSchedule: OrmlVestingVestingSchedule;2611 } & Struct;2612 readonly isClaimed: boolean;2613 readonly asClaimed: {2614 readonly who: AccountId32;2615 readonly amount: u128;2616 } & Struct;2617 readonly isVestingSchedulesUpdated: boolean;2618 readonly asVestingSchedulesUpdated: {2619 readonly who: AccountId32;2620 } & Struct;2621 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2622 }26232624 /** @name CumulusPalletXcmpQueueEvent (280) */2625 export interface CumulusPalletXcmpQueueEvent extends Enum {2626 readonly isSuccess: boolean;2627 readonly asSuccess: Option<H256>;2628 readonly isFail: boolean;2629 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;2630 readonly isBadVersion: boolean;2631 readonly asBadVersion: Option<H256>;2632 readonly isBadFormat: boolean;2633 readonly asBadFormat: Option<H256>;2634 readonly isUpwardMessageSent: boolean;2635 readonly asUpwardMessageSent: Option<H256>;2636 readonly isXcmpMessageSent: boolean;2637 readonly asXcmpMessageSent: Option<H256>;2638 readonly isOverweightEnqueued: boolean;2639 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;2640 readonly isOverweightServiced: boolean;2641 readonly asOverweightServiced: ITuple<[u64, u64]>;2642 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2643 }26442645 /** @name PalletXcmEvent (281) */2646 export interface PalletXcmEvent extends Enum {2647 readonly isAttempted: boolean;2648 readonly asAttempted: XcmV2TraitsOutcome;2649 readonly isSent: boolean;2650 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2651 readonly isUnexpectedResponse: boolean;2652 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2653 readonly isResponseReady: boolean;2654 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2655 readonly isNotified: boolean;2656 readonly asNotified: ITuple<[u64, u8, u8]>;2657 readonly isNotifyOverweight: boolean;2658 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2659 readonly isNotifyDispatchError: boolean;2660 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2661 readonly isNotifyDecodeFailed: boolean;2662 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2663 readonly isInvalidResponder: boolean;2664 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2665 readonly isInvalidResponderVersion: boolean;2666 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2667 readonly isResponseTaken: boolean;2668 readonly asResponseTaken: u64;2669 readonly isAssetsTrapped: boolean;2670 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2671 readonly isVersionChangeNotified: boolean;2672 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2673 readonly isSupportedVersionChanged: boolean;2674 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2675 readonly isNotifyTargetSendFail: boolean;2676 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2677 readonly isNotifyTargetMigrationFail: boolean;2678 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2679 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2680 }26812682 /** @name XcmV2TraitsOutcome (282) */2683 export interface XcmV2TraitsOutcome extends Enum {2684 readonly isComplete: boolean;2685 readonly asComplete: u64;2686 readonly isIncomplete: boolean;2687 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2688 readonly isError: boolean;2689 readonly asError: XcmV2TraitsError;2690 readonly type: 'Complete' | 'Incomplete' | 'Error';2691 }26922693 /** @name CumulusPalletXcmEvent (284) */2694 export interface CumulusPalletXcmEvent extends Enum {2695 readonly isInvalidFormat: boolean;2696 readonly asInvalidFormat: U8aFixed;2697 readonly isUnsupportedVersion: boolean;2698 readonly asUnsupportedVersion: U8aFixed;2699 readonly isExecutedDownward: boolean;2700 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2701 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2702 }27032704 /** @name CumulusPalletDmpQueueEvent (285) */2705 export interface CumulusPalletDmpQueueEvent extends Enum {2706 readonly isInvalidFormat: boolean;2707 readonly asInvalidFormat: {2708 readonly messageId: U8aFixed;2709 } & Struct;2710 readonly isUnsupportedVersion: boolean;2711 readonly asUnsupportedVersion: {2712 readonly messageId: U8aFixed;2713 } & Struct;2714 readonly isExecutedDownward: boolean;2715 readonly asExecutedDownward: {2716 readonly messageId: U8aFixed;2717 readonly outcome: XcmV2TraitsOutcome;2718 } & Struct;2719 readonly isWeightExhausted: boolean;2720 readonly asWeightExhausted: {2721 readonly messageId: U8aFixed;2722 readonly remainingWeight: u64;2723 readonly requiredWeight: u64;2724 } & Struct;2725 readonly isOverweightEnqueued: boolean;2726 readonly asOverweightEnqueued: {2727 readonly messageId: U8aFixed;2728 readonly overweightIndex: u64;2729 readonly requiredWeight: u64;2730 } & Struct;2731 readonly isOverweightServiced: boolean;2732 readonly asOverweightServiced: {2733 readonly overweightIndex: u64;2734 readonly weightUsed: u64;2735 } & Struct;2736 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2737 }27382739 /** @name PalletUniqueRawEvent (286) */2740 export interface PalletUniqueRawEvent extends Enum {2741 readonly isCollectionSponsorRemoved: boolean;2742 readonly asCollectionSponsorRemoved: u32;2743 readonly isCollectionAdminAdded: boolean;2744 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2745 readonly isCollectionOwnedChanged: boolean;2746 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2747 readonly isCollectionSponsorSet: boolean;2748 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2749 readonly isSponsorshipConfirmed: boolean;2750 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2751 readonly isCollectionAdminRemoved: boolean;2752 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2753 readonly isAllowListAddressRemoved: boolean;2754 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2755 readonly isAllowListAddressAdded: boolean;2756 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2757 readonly isCollectionLimitSet: boolean;2758 readonly asCollectionLimitSet: u32;2759 readonly isCollectionPermissionSet: boolean;2760 readonly asCollectionPermissionSet: u32;2761 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2762 }27632764 /** @name PalletUniqueSchedulerEvent (287) */2765 export interface PalletUniqueSchedulerEvent extends Enum {2766 readonly isScheduled: boolean;2767 readonly asScheduled: {2768 readonly when: u32;2769 readonly index: u32;2770 } & Struct;2771 readonly isCanceled: boolean;2772 readonly asCanceled: {2773 readonly when: u32;2774 readonly index: u32;2775 } & Struct;2776 readonly isDispatched: boolean;2777 readonly asDispatched: {2778 readonly task: ITuple<[u32, u32]>;2779 readonly id: Option<U8aFixed>;2780 readonly result: Result<Null, SpRuntimeDispatchError>;2781 } & Struct;2782 readonly isCallLookupFailed: boolean;2783 readonly asCallLookupFailed: {2784 readonly task: ITuple<[u32, u32]>;2785 readonly id: Option<U8aFixed>;2786 readonly error: FrameSupportScheduleLookupError;2787 } & Struct;2788 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2789 }27902791 /** @name FrameSupportScheduleLookupError (289) */2792 export interface FrameSupportScheduleLookupError extends Enum {2793 readonly isUnknown: boolean;2794 readonly isBadFormat: boolean;2795 readonly type: 'Unknown' | 'BadFormat';2796 }27972798 /** @name PalletCommonEvent (290) */2799 export interface PalletCommonEvent extends Enum {2800 readonly isCollectionCreated: boolean;2801 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2802 readonly isCollectionDestroyed: boolean;2803 readonly asCollectionDestroyed: u32;2804 readonly isItemCreated: boolean;2805 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2806 readonly isItemDestroyed: boolean;2807 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2808 readonly isTransfer: boolean;2809 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2810 readonly isApproved: boolean;2811 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2812 readonly isCollectionPropertySet: boolean;2813 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;2814 readonly isCollectionPropertyDeleted: boolean;2815 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;2816 readonly isTokenPropertySet: boolean;2817 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;2818 readonly isTokenPropertyDeleted: boolean;2819 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;2820 readonly isPropertyPermissionSet: boolean;2821 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;2822 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2823 }28242825 /** @name PalletStructureEvent (291) */2826 export interface PalletStructureEvent extends Enum {2827 readonly isExecuted: boolean;2828 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2829 readonly type: 'Executed';2830 }28312832 /** @name PalletRmrkCoreEvent (292) */2833 export interface PalletRmrkCoreEvent extends Enum {2834 readonly isCollectionCreated: boolean;2835 readonly asCollectionCreated: {2836 readonly issuer: AccountId32;2837 readonly collectionId: u32;2838 } & Struct;2839 readonly isCollectionDestroyed: boolean;2840 readonly asCollectionDestroyed: {2841 readonly issuer: AccountId32;2842 readonly collectionId: u32;2843 } & Struct;2844 readonly isIssuerChanged: boolean;2845 readonly asIssuerChanged: {2846 readonly oldIssuer: AccountId32;2847 readonly newIssuer: AccountId32;2848 readonly collectionId: u32;2849 } & Struct;2850 readonly isCollectionLocked: boolean;2851 readonly asCollectionLocked: {2852 readonly issuer: AccountId32;2853 readonly collectionId: u32;2854 } & Struct;2855 readonly isNftMinted: boolean;2856 readonly asNftMinted: {2857 readonly owner: AccountId32;2858 readonly collectionId: u32;2859 readonly nftId: u32;2860 } & Struct;2861 readonly isNftBurned: boolean;2862 readonly asNftBurned: {2863 readonly owner: AccountId32;2864 readonly nftId: u32;2865 } & Struct;2866 readonly isNftSent: boolean;2867 readonly asNftSent: {2868 readonly sender: AccountId32;2869 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2870 readonly collectionId: u32;2871 readonly nftId: u32;2872 readonly approvalRequired: bool;2873 } & Struct;2874 readonly isNftAccepted: boolean;2875 readonly asNftAccepted: {2876 readonly sender: AccountId32;2877 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;2878 readonly collectionId: u32;2879 readonly nftId: u32;2880 } & Struct;2881 readonly isNftRejected: boolean;2882 readonly asNftRejected: {2883 readonly sender: AccountId32;2884 readonly collectionId: u32;2885 readonly nftId: u32;2886 } & Struct;2887 readonly isPropertySet: boolean;2888 readonly asPropertySet: {2889 readonly collectionId: u32;2890 readonly maybeNftId: Option<u32>;2891 readonly key: Bytes;2892 readonly value: Bytes;2893 } & Struct;2894 readonly isResourceAdded: boolean;2895 readonly asResourceAdded: {2896 readonly nftId: u32;2897 readonly resourceId: u32;2898 } & Struct;2899 readonly isResourceRemoval: boolean;2900 readonly asResourceRemoval: {2901 readonly nftId: u32;2902 readonly resourceId: u32;2903 } & Struct;2904 readonly isResourceAccepted: boolean;2905 readonly asResourceAccepted: {2906 readonly nftId: u32;2907 readonly resourceId: u32;2908 } & Struct;2909 readonly isResourceRemovalAccepted: boolean;2910 readonly asResourceRemovalAccepted: {2911 readonly nftId: u32;2912 readonly resourceId: u32;2913 } & Struct;2914 readonly isPrioritySet: boolean;2915 readonly asPrioritySet: {2916 readonly collectionId: u32;2917 readonly nftId: u32;2918 } & Struct;2919 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2920 }29212922 /** @name PalletRmrkEquipEvent (293) */2923 export interface PalletRmrkEquipEvent extends Enum {2924 readonly isBaseCreated: boolean;2925 readonly asBaseCreated: {2926 readonly issuer: AccountId32;2927 readonly baseId: u32;2928 } & Struct;2929 readonly isEquippablesUpdated: boolean;2930 readonly asEquippablesUpdated: {2931 readonly baseId: u32;2932 readonly slotId: u32;2933 } & Struct;2934 readonly type: 'BaseCreated' | 'EquippablesUpdated';2935 }29362937 /** @name PalletEvmEvent (294) */2938 export interface PalletEvmEvent extends Enum {2939 readonly isLog: boolean;2940 readonly asLog: EthereumLog;2941 readonly isCreated: boolean;2942 readonly asCreated: H160;2943 readonly isCreatedFailed: boolean;2944 readonly asCreatedFailed: H160;2945 readonly isExecuted: boolean;2946 readonly asExecuted: H160;2947 readonly isExecutedFailed: boolean;2948 readonly asExecutedFailed: H160;2949 readonly isBalanceDeposit: boolean;2950 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;2951 readonly isBalanceWithdraw: boolean;2952 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;2953 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2954 }29552956 /** @name EthereumLog (295) */2957 export interface EthereumLog extends Struct {2958 readonly address: H160;2959 readonly topics: Vec<H256>;2960 readonly data: Bytes;2961 }29622963 /** @name PalletEthereumEvent (296) */2964 export interface PalletEthereumEvent extends Enum {2965 readonly isExecuted: boolean;2966 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2967 readonly type: 'Executed';2968 }29692970 /** @name EvmCoreErrorExitReason (297) */2971 export interface EvmCoreErrorExitReason extends Enum {2972 readonly isSucceed: boolean;2973 readonly asSucceed: EvmCoreErrorExitSucceed;2974 readonly isError: boolean;2975 readonly asError: EvmCoreErrorExitError;2976 readonly isRevert: boolean;2977 readonly asRevert: EvmCoreErrorExitRevert;2978 readonly isFatal: boolean;2979 readonly asFatal: EvmCoreErrorExitFatal;2980 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2981 }29822983 /** @name EvmCoreErrorExitSucceed (298) */2984 export interface EvmCoreErrorExitSucceed extends Enum {2985 readonly isStopped: boolean;2986 readonly isReturned: boolean;2987 readonly isSuicided: boolean;2988 readonly type: 'Stopped' | 'Returned' | 'Suicided';2989 }29902991 /** @name EvmCoreErrorExitError (299) */2992 export interface EvmCoreErrorExitError extends Enum {2993 readonly isStackUnderflow: boolean;2994 readonly isStackOverflow: boolean;2995 readonly isInvalidJump: boolean;2996 readonly isInvalidRange: boolean;2997 readonly isDesignatedInvalid: boolean;2998 readonly isCallTooDeep: boolean;2999 readonly isCreateCollision: boolean;3000 readonly isCreateContractLimit: boolean;3001 readonly isOutOfOffset: boolean;3002 readonly isOutOfGas: boolean;3003 readonly isOutOfFund: boolean;3004 readonly isPcUnderflow: boolean;3005 readonly isCreateEmpty: boolean;3006 readonly isOther: boolean;3007 readonly asOther: Text;3008 readonly isInvalidCode: boolean;3009 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';3010 }30113012 /** @name EvmCoreErrorExitRevert (302) */3013 export interface EvmCoreErrorExitRevert extends Enum {3014 readonly isReverted: boolean;3015 readonly type: 'Reverted';3016 }30173018 /** @name EvmCoreErrorExitFatal (303) */3019 export interface EvmCoreErrorExitFatal extends Enum {3020 readonly isNotSupported: boolean;3021 readonly isUnhandledInterrupt: boolean;3022 readonly isCallErrorAsFatal: boolean;3023 readonly asCallErrorAsFatal: EvmCoreErrorExitError;3024 readonly isOther: boolean;3025 readonly asOther: Text;3026 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';3027 }30283029 /** @name FrameSystemPhase (304) */3030 export interface FrameSystemPhase extends Enum {3031 readonly isApplyExtrinsic: boolean;3032 readonly asApplyExtrinsic: u32;3033 readonly isFinalization: boolean;3034 readonly isInitialization: boolean;3035 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';3036 }30373038 /** @name FrameSystemLastRuntimeUpgradeInfo (306) */3039 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {3040 readonly specVersion: Compact<u32>;3041 readonly specName: Text;3042 }30433044 /** @name FrameSystemLimitsBlockWeights (307) */3045 export interface FrameSystemLimitsBlockWeights extends Struct {3046 readonly baseBlock: u64;3047 readonly maxBlock: u64;3048 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;3049 }30503051 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (308) */3052 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {3053 readonly normal: FrameSystemLimitsWeightsPerClass;3054 readonly operational: FrameSystemLimitsWeightsPerClass;3055 readonly mandatory: FrameSystemLimitsWeightsPerClass;3056 }30573058 /** @name FrameSystemLimitsWeightsPerClass (309) */3059 export interface FrameSystemLimitsWeightsPerClass extends Struct {3060 readonly baseExtrinsic: u64;3061 readonly maxExtrinsic: Option<u64>;3062 readonly maxTotal: Option<u64>;3063 readonly reserved: Option<u64>;3064 }30653066 /** @name FrameSystemLimitsBlockLength (311) */3067 export interface FrameSystemLimitsBlockLength extends Struct {3068 readonly max: FrameSupportWeightsPerDispatchClassU32;3069 }30703071 /** @name FrameSupportWeightsPerDispatchClassU32 (312) */3072 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {3073 readonly normal: u32;3074 readonly operational: u32;3075 readonly mandatory: u32;3076 }30773078 /** @name FrameSupportWeightsRuntimeDbWeight (313) */3079 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {3080 readonly read: u64;3081 readonly write: u64;3082 }30833084 /** @name SpVersionRuntimeVersion (314) */3085 export interface SpVersionRuntimeVersion extends Struct {3086 readonly specName: Text;3087 readonly implName: Text;3088 readonly authoringVersion: u32;3089 readonly specVersion: u32;3090 readonly implVersion: u32;3091 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;3092 readonly transactionVersion: u32;3093 readonly stateVersion: u8;3094 }30953096 /** @name FrameSystemError (318) */3097 export interface FrameSystemError extends Enum {3098 readonly isInvalidSpecName: boolean;3099 readonly isSpecVersionNeedsToIncrease: boolean;3100 readonly isFailedToExtractRuntimeVersion: boolean;3101 readonly isNonDefaultComposite: boolean;3102 readonly isNonZeroRefCount: boolean;3103 readonly isCallFiltered: boolean;3104 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';3105 }31063107 /** @name OrmlVestingModuleError (320) */3108 export interface OrmlVestingModuleError extends Enum {2810 readonly isZeroVestingPeriod: boolean;3109 readonly isZeroVestingPeriod: boolean;2811 readonly isZeroVestingPeriodCount: boolean;3110 readonly isZeroVestingPeriodCount: boolean;2812 readonly isInsufficientBalanceToLock: boolean;3111 readonly isInsufficientBalanceToLock: boolean;2816 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3115 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2817 }3116 }281831172819 /** @name CumulusPalletXcmpQueueInboundChannelDetails (324) */3118 /** @name CumulusPalletXcmpQueueInboundChannelDetails (322) */2820 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3119 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2821 readonly sender: u32;3120 readonly sender: u32;2822 readonly state: CumulusPalletXcmpQueueInboundState;3121 readonly state: CumulusPalletXcmpQueueInboundState;2823 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3122 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2824 }3123 }282531242826 /** @name CumulusPalletXcmpQueueInboundState (325) */3125 /** @name CumulusPalletXcmpQueueInboundState (323) */2827 interface CumulusPalletXcmpQueueInboundState extends Enum {3126 export interface CumulusPalletXcmpQueueInboundState extends Enum {2828 readonly isOk: boolean;3127 readonly isOk: boolean;2829 readonly isSuspended: boolean;3128 readonly isSuspended: boolean;2830 readonly type: 'Ok' | 'Suspended';3129 readonly type: 'Ok' | 'Suspended';2831 }3130 }283231312833 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (328) */3132 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (326) */2834 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3133 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2835 readonly isConcatenatedVersionedXcm: boolean;3134 readonly isConcatenatedVersionedXcm: boolean;2836 readonly isConcatenatedEncodedBlob: boolean;3135 readonly isConcatenatedEncodedBlob: boolean;2837 readonly isSignals: boolean;3136 readonly isSignals: boolean;2838 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3137 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2839 }3138 }284031392841 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (331) */3140 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (329) */2842 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3141 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2843 readonly recipient: u32;3142 readonly recipient: u32;2844 readonly state: CumulusPalletXcmpQueueOutboundState;3143 readonly state: CumulusPalletXcmpQueueOutboundState;2845 readonly signalsExist: bool;3144 readonly signalsExist: bool;2846 readonly firstIndex: u16;3145 readonly firstIndex: u16;2847 readonly lastIndex: u16;3146 readonly lastIndex: u16;2848 }3147 }284931482850 /** @name CumulusPalletXcmpQueueOutboundState (332) */3149 /** @name CumulusPalletXcmpQueueOutboundState (330) */2851 interface CumulusPalletXcmpQueueOutboundState extends Enum {3150 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2852 readonly isOk: boolean;3151 readonly isOk: boolean;2853 readonly isSuspended: boolean;3152 readonly isSuspended: boolean;2854 readonly type: 'Ok' | 'Suspended';3153 readonly type: 'Ok' | 'Suspended';2855 }3154 }285631552857 /** @name CumulusPalletXcmpQueueQueueConfigData (334) */3156 /** @name CumulusPalletXcmpQueueQueueConfigData (332) */2858 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3157 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2859 readonly suspendThreshold: u32;3158 readonly suspendThreshold: u32;2860 readonly dropThreshold: u32;3159 readonly dropThreshold: u32;2861 readonly resumeThreshold: u32;3160 readonly resumeThreshold: u32;2864 readonly xcmpMaxIndividualWeight: u64;3163 readonly xcmpMaxIndividualWeight: u64;2865 }3164 }286631652867 /** @name CumulusPalletXcmpQueueError (336) */3166 /** @name CumulusPalletXcmpQueueError (334) */2868 interface CumulusPalletXcmpQueueError extends Enum {3167 export interface CumulusPalletXcmpQueueError extends Enum {2869 readonly isFailedToSend: boolean;3168 readonly isFailedToSend: boolean;2870 readonly isBadXcmOrigin: boolean;3169 readonly isBadXcmOrigin: boolean;2871 readonly isBadXcm: boolean;3170 readonly isBadXcm: boolean;2874 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3173 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2875 }3174 }287631752877 /** @name PalletXcmError (337) */3176 /** @name PalletXcmError (335) */2878 interface PalletXcmError extends Enum {3177 export interface PalletXcmError extends Enum {2879 readonly isUnreachable: boolean;3178 readonly isUnreachable: boolean;2880 readonly isSendFailure: boolean;3179 readonly isSendFailure: boolean;2881 readonly isFiltered: boolean;3180 readonly isFiltered: boolean;2892 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3191 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2893 }3192 }289431932895 /** @name CumulusPalletXcmError (338) */3194 /** @name CumulusPalletXcmError (336) */2896 type CumulusPalletXcmError = Null;3195 export type CumulusPalletXcmError = Null;289731962898 /** @name CumulusPalletDmpQueueConfigData (339) */3197 /** @name CumulusPalletDmpQueueConfigData (337) */2899 interface CumulusPalletDmpQueueConfigData extends Struct {3198 export interface CumulusPalletDmpQueueConfigData extends Struct {2900 readonly maxIndividual: u64;3199 readonly maxIndividual: u64;2901 }3200 }290232012903 /** @name CumulusPalletDmpQueuePageIndexData (340) */3202 /** @name CumulusPalletDmpQueuePageIndexData (338) */2904 interface CumulusPalletDmpQueuePageIndexData extends Struct {3203 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2905 readonly beginUsed: u32;3204 readonly beginUsed: u32;2906 readonly endUsed: u32;3205 readonly endUsed: u32;2907 readonly overweightCount: u64;3206 readonly overweightCount: u64;2908 }3207 }290932082910 /** @name CumulusPalletDmpQueueError (343) */3209 /** @name CumulusPalletDmpQueueError (341) */2911 interface CumulusPalletDmpQueueError extends Enum {3210 export interface CumulusPalletDmpQueueError extends Enum {2912 readonly isUnknown: boolean;3211 readonly isUnknown: boolean;2913 readonly isOverLimit: boolean;3212 readonly isOverLimit: boolean;2914 readonly type: 'Unknown' | 'OverLimit';3213 readonly type: 'Unknown' | 'OverLimit';2915 }3214 }291632152917 /** @name PalletUniqueError (347) */3216 /** @name PalletUniqueError (346) */2918 interface PalletUniqueError extends Enum {3217 export interface PalletUniqueError extends Enum {2919 readonly isCollectionDecimalPointLimitExceeded: boolean;3218 readonly isCollectionDecimalPointLimitExceeded: boolean;2920 readonly isConfirmUnsetSponsorFail: boolean;3219 readonly isConfirmUnsetSponsorFail: boolean;2921 readonly isEmptyArgument: boolean;3220 readonly isEmptyArgument: boolean;2922 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3221 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2923 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3222 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2924 }3223 }292532242926 /** @name PalletUniqueSchedulerScheduledV3 (350) */3225 /** @name PalletUniqueSchedulerScheduledV3 (349) */2927 interface PalletUniqueSchedulerScheduledV3 extends Struct {3226 export interface PalletUniqueSchedulerScheduledV3 extends Struct {2928 readonly maybeId: Option<U8aFixed>;3227 readonly maybeId: Option<U8aFixed>;2929 readonly priority: u8;3228 readonly priority: u8;2930 readonly call: FrameSupportScheduleMaybeHashed;3229 readonly call: FrameSupportScheduleMaybeHashed;2931 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;3230 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2932 readonly origin: OpalRuntimeOriginCaller;3231 readonly origin: OpalRuntimeOriginCaller;2933 }3232 }293432332935 /** @name OpalRuntimeOriginCaller (351) */3234 /** @name OpalRuntimeOriginCaller (350) */2936 interface OpalRuntimeOriginCaller extends Enum {3235 export interface OpalRuntimeOriginCaller extends Enum {3236 readonly isVoid: boolean;2937 readonly isSystem: boolean;3237 readonly isSystem: boolean;2938 readonly asSystem: FrameSupportDispatchRawOrigin;3238 readonly asSystem: FrameSupportDispatchRawOrigin;2939 readonly isVoid: boolean;3239 readonly isVoid: boolean;2946 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';3246 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2947 }3247 }294832482949 /** @name FrameSupportDispatchRawOrigin (352) */3249 /** @name FrameSupportDispatchRawOrigin (351) */2950 interface FrameSupportDispatchRawOrigin extends Enum {3250 export interface FrameSupportDispatchRawOrigin extends Enum {2951 readonly isRoot: boolean;3251 readonly isRoot: boolean;2952 readonly isSigned: boolean;3252 readonly isSigned: boolean;2953 readonly asSigned: AccountId32;3253 readonly asSigned: AccountId32;2954 readonly isNone: boolean;3254 readonly isNone: boolean;2955 readonly type: 'Root' | 'Signed' | 'None';3255 readonly type: 'Root' | 'Signed' | 'None';2956 }3256 }295732572958 /** @name PalletXcmOrigin (353) */3258 /** @name PalletXcmOrigin (352) */2959 interface PalletXcmOrigin extends Enum {3259 export interface PalletXcmOrigin extends Enum {2960 readonly isXcm: boolean;3260 readonly isXcm: boolean;2961 readonly asXcm: XcmV1MultiLocation;3261 readonly asXcm: XcmV1MultiLocation;2962 readonly isResponse: boolean;3262 readonly isResponse: boolean;2963 readonly asResponse: XcmV1MultiLocation;3263 readonly asResponse: XcmV1MultiLocation;2964 readonly type: 'Xcm' | 'Response';3264 readonly type: 'Xcm' | 'Response';2965 }3265 }296632662967 /** @name CumulusPalletXcmOrigin (354) */3267 /** @name CumulusPalletXcmOrigin (353) */2968 interface CumulusPalletXcmOrigin extends Enum {3268 export interface CumulusPalletXcmOrigin extends Enum {2969 readonly isRelay: boolean;3269 readonly isRelay: boolean;2970 readonly isSiblingParachain: boolean;3270 readonly isSiblingParachain: boolean;2971 readonly asSiblingParachain: u32;3271 readonly asSiblingParachain: u32;2972 readonly type: 'Relay' | 'SiblingParachain';3272 readonly type: 'Relay' | 'SiblingParachain';2973 }3273 }297432742975 /** @name PalletEthereumRawOrigin (355) */3275 /** @name PalletEthereumRawOrigin (354) */2976 interface PalletEthereumRawOrigin extends Enum {3276 export interface PalletEthereumRawOrigin extends Enum {2977 readonly isEthereumTransaction: boolean;3277 readonly isEthereumTransaction: boolean;2978 readonly asEthereumTransaction: H160;3278 readonly asEthereumTransaction: H160;2979 readonly type: 'EthereumTransaction';3279 readonly type: 'EthereumTransaction';2980 }3280 }298132812982 /** @name SpCoreVoid (356) */3282 /** @name SpCoreVoid (355) */2983 type SpCoreVoid = Null;3283 export type SpCoreVoid = Null;298432842985 /** @name PalletUniqueSchedulerError (357) */3285 /** @name PalletUniqueSchedulerError (356) */2986 interface PalletUniqueSchedulerError extends Enum {3286 export interface PalletUniqueSchedulerError extends Enum {2987 readonly isFailedToSchedule: boolean;3287 readonly isFailedToSchedule: boolean;2988 readonly isNotFound: boolean;3288 readonly isNotFound: boolean;2989 readonly isTargetBlockNumberInPast: boolean;3289 readonly isTargetBlockNumberInPast: boolean;2990 readonly isRescheduleNoChange: boolean;3290 readonly isRescheduleNoChange: boolean;2991 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';3291 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2992 }3292 }299332932994 /** @name UpDataStructsCollection (358) */3294 /** @name UpDataStructsCollection (357) */2995 interface UpDataStructsCollection extends Struct {3295 export interface UpDataStructsCollection extends Struct {2996 readonly owner: AccountId32;3296 readonly owner: AccountId32;2997 readonly mode: UpDataStructsCollectionMode;3297 readonly mode: UpDataStructsCollectionMode;2998 readonly name: Vec<u16>;3298 readonly name: Vec<u16>;3004 readonly externalCollection: bool;3304 readonly externalCollection: bool;3005 }3305 }300633063007 /** @name UpDataStructsSponsorshipState (359) */3307 /** @name UpDataStructsSponsorshipState (358) */3008 interface UpDataStructsSponsorshipState extends Enum {3308 export interface UpDataStructsSponsorshipState extends Enum {3009 readonly isDisabled: boolean;3309 readonly isDisabled: boolean;3010 readonly isUnconfirmed: boolean;3310 readonly isUnconfirmed: boolean;3011 readonly asUnconfirmed: AccountId32;3311 readonly asUnconfirmed: AccountId32;3014 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3314 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3015 }3315 }301633163017 /** @name UpDataStructsProperties (360) */3317 /** @name UpDataStructsProperties (359) */3018 interface UpDataStructsProperties extends Struct {3318 export interface UpDataStructsProperties extends Struct {3019 readonly map: UpDataStructsPropertiesMapBoundedVec;3319 readonly map: UpDataStructsPropertiesMapBoundedVec;3020 readonly consumedSpace: u32;3320 readonly consumedSpace: u32;3021 readonly spaceLimit: u32;3321 readonly spaceLimit: u32;3022 }3322 }302333233024 /** @name UpDataStructsPropertiesMapBoundedVec (361) */3324 /** @name UpDataStructsPropertiesMapBoundedVec (360) */3025 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}3325 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}302633263027 /** @name UpDataStructsPropertiesMapPropertyPermission (366) */3327 /** @name UpDataStructsPropertiesMapPropertyPermission (365) */3028 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}3328 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}302933293030 /** @name UpDataStructsCollectionStats (373) */3330 /** @name UpDataStructsCollectionStats (372) */3031 interface UpDataStructsCollectionStats extends Struct {3331 export interface UpDataStructsCollectionStats extends Struct {3032 readonly created: u32;3332 readonly created: u32;3033 readonly destroyed: u32;3333 readonly destroyed: u32;3034 readonly alive: u32;3334 readonly alive: u32;3035 }3335 }303633363037 /** @name UpDataStructsTokenChild (374) */3337 /** @name UpDataStructsTokenChild (373) */3038 interface UpDataStructsTokenChild extends Struct {3338 export interface UpDataStructsTokenChild extends Struct {3039 readonly token: u32;3339 readonly token: u32;3040 readonly collection: u32;3340 readonly collection: u32;3041 }3341 }304233423043 /** @name PhantomTypeUpDataStructs (375) */3343 /** @name PhantomTypeUpDataStructs (374) */3044 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}3344 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}304533453046 /** @name UpDataStructsTokenData (377) */3346 /** @name UpDataStructsTokenData (376) */3047 interface UpDataStructsTokenData extends Struct {3347 export interface UpDataStructsTokenData extends Struct {3048 readonly properties: Vec<UpDataStructsProperty>;3348 readonly properties: Vec<UpDataStructsProperty>;3049 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3349 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3050 readonly pieces: u128;3350 readonly pieces: u128;3051 }3351 }305233523053 /** @name UpDataStructsRpcCollection (379) */3353 /** @name UpDataStructsRpcCollection (378) */3054 interface UpDataStructsRpcCollection extends Struct {3354 export interface UpDataStructsRpcCollection extends Struct {3055 readonly owner: AccountId32;3355 readonly owner: AccountId32;3056 readonly mode: UpDataStructsCollectionMode;3356 readonly mode: UpDataStructsCollectionMode;3057 readonly name: Vec<u16>;3357 readonly name: Vec<u16>;3065 readonly readOnly: bool;3365 readonly readOnly: bool;3066 }3366 }306733673068 /** @name RmrkTraitsCollectionCollectionInfo (380) */3368 /** @name RmrkTraitsCollectionCollectionInfo (379) */3069 interface RmrkTraitsCollectionCollectionInfo extends Struct {3369 export interface RmrkTraitsCollectionCollectionInfo extends Struct {3070 readonly issuer: AccountId32;3370 readonly issuer: AccountId32;3071 readonly metadata: Bytes;3371 readonly metadata: Bytes;3072 readonly max: Option<u32>;3372 readonly max: Option<u32>;3073 readonly symbol: Bytes;3373 readonly symbol: Bytes;3074 readonly nftsCount: u32;3374 readonly nftsCount: u32;3075 }3375 }307633763077 /** @name RmrkTraitsNftNftInfo (381) */3377 /** @name RmrkTraitsNftNftInfo (380) */3078 interface RmrkTraitsNftNftInfo extends Struct {3378 export interface RmrkTraitsNftNftInfo extends Struct {3079 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3379 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3080 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3380 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3081 readonly metadata: Bytes;3381 readonly metadata: Bytes;3082 readonly equipped: bool;3382 readonly equipped: bool;3083 readonly pending: bool;3383 readonly pending: bool;3084 }3384 }308533853086 /** @name RmrkTraitsNftRoyaltyInfo (383) */3386 /** @name RmrkTraitsNftRoyaltyInfo (382) */3087 interface RmrkTraitsNftRoyaltyInfo extends Struct {3387 export interface RmrkTraitsNftRoyaltyInfo extends Struct {3088 readonly recipient: AccountId32;3388 readonly recipient: AccountId32;3089 readonly amount: Permill;3389 readonly amount: Permill;3090 }3390 }309133913092 /** @name RmrkTraitsResourceResourceInfo (384) */3392 /** @name RmrkTraitsResourceResourceInfo (383) */3093 interface RmrkTraitsResourceResourceInfo extends Struct {3393 export interface RmrkTraitsResourceResourceInfo extends Struct {3094 readonly id: u32;3394 readonly id: u32;3095 readonly resource: RmrkTraitsResourceResourceTypes;3395 readonly resource: RmrkTraitsResourceResourceTypes;3096 readonly pending: bool;3396 readonly pending: bool;3097 readonly pendingRemoval: bool;3397 readonly pendingRemoval: bool;3098 }3398 }309933993100 /** @name RmrkTraitsPropertyPropertyInfo (385) */3400 /** @name RmrkTraitsPropertyPropertyInfo (384) */3101 interface RmrkTraitsPropertyPropertyInfo extends Struct {3401 export interface RmrkTraitsPropertyPropertyInfo extends Struct {3102 readonly key: Bytes;3402 readonly key: Bytes;3103 readonly value: Bytes;3403 readonly value: Bytes;3104 }3404 }310534053106 /** @name RmrkTraitsBaseBaseInfo (386) */3406 /** @name RmrkTraitsBaseBaseInfo (385) */3107 interface RmrkTraitsBaseBaseInfo extends Struct {3407 export interface RmrkTraitsBaseBaseInfo extends Struct {3108 readonly issuer: AccountId32;3408 readonly issuer: AccountId32;3109 readonly baseType: Bytes;3409 readonly baseType: Bytes;3110 readonly symbol: Bytes;3410 readonly symbol: Bytes;3111 }3411 }311234123113 /** @name RmrkTraitsNftNftChild (387) */3413 /** @name RmrkTraitsNftNftChild (386) */3114 interface RmrkTraitsNftNftChild extends Struct {3414 export interface RmrkTraitsNftNftChild extends Struct {3115 readonly collectionId: u32;3415 readonly collectionId: u32;3116 readonly nftId: u32;3416 readonly nftId: u32;3117 }3417 }311834183119 /** @name PalletCommonError (389) */3419 /** @name PalletCommonError (388) */3120 interface PalletCommonError extends Enum {3420 export interface PalletCommonError extends Enum {3121 readonly isCollectionNotFound: boolean;3421 readonly isCollectionNotFound: boolean;3122 readonly isMustBeTokenOwner: boolean;3422 readonly isMustBeTokenOwner: boolean;3123 readonly isNoPermission: boolean;3423 readonly isNoPermission: boolean;3155 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';3455 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';3156 }3456 }315734573158 /** @name PalletFungibleError (391) */3458 /** @name PalletFungibleError (390) */3159 interface PalletFungibleError extends Enum {3459 export interface PalletFungibleError extends Enum {3160 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3460 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3161 readonly isFungibleItemsHaveNoId: boolean;3461 readonly isFungibleItemsHaveNoId: boolean;3162 readonly isFungibleItemsDontHaveData: boolean;3462 readonly isFungibleItemsDontHaveData: boolean;3165 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3465 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3166 }3466 }316734673168 /** @name PalletRefungibleItemData (392) */3468 /** @name PalletRefungibleItemData (391) */3169 interface PalletRefungibleItemData extends Struct {3469 export interface PalletRefungibleItemData extends Struct {3170 readonly constData: Bytes;3470 readonly constData: Bytes;3171 }3471 }31723472tests/src/interfaces/unique/definitions.tsdiffbeforeafterboth175 [collectionParam, tokenParam], 175 [collectionParam, tokenParam], 176 'Option<u128>',176 'Option<u128>',177 ),177 ),178 totalStaked: fun(179 'Returns the total amount of staked tokens',180 [{name: 'staker', type: CROSS_ACCOUNT_ID_TYPE, isOptional: true}],181 'u128',182 ),183 totalStakedPerBlock: fun(184 'Returns the total amount of staked tokens per block when staked',185 [crossAccountParam('staker')],186 'Vec<(u32, u128)>',187 ),188 totalStakingLocked: fun(189 'Return the total amount locked by staking tokens',190 [crossAccountParam('staker')],191 'u128',192 ),178 },193 },179};194};180195