git.delta.rocks / unique-network / refs/commits / 7f8cc7f16d35

difftreelog

Merge pull request #294 from UniqueNetwork/feature/create-collection-ex

kozyrevdev2022-02-24parents: #b4099fe #1141b20.patch.diff
in: master
Remove double option limit

6 files changed

modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
--- a/primitives/data-structs/src/lib.rs
+++ b/primitives/data-structs/src/lib.rs
@@ -27,6 +27,8 @@
 use derivative::Derivative;
 use scale_info::TypeInfo;
 
+mod migration;
+
 pub const MAX_DECIMAL_POINTS: DecimalPoints = 30;
 pub const MAX_REFUNGIBLE_PIECES: u128 = 1_000_000_000_000_000_000_000;
 pub const MAX_SPONSOR_TIMEOUT: u32 = 10_368_000;
@@ -319,7 +321,7 @@
 	/// None - setVariableMetadata is not sponsored
 	/// Some(v) - setVariableMetadata is sponsored
 	///           if there is v block between txs
-	pub sponsored_data_rate_limit: Option<(Option<u32>,)>,
+	pub sponsored_data_rate_limit: Option<SponsoringRateLimit>,
 	pub token_limit: Option<u32>,
 
 	// Timeouts for item types in passed blocks
@@ -366,13 +368,23 @@
 		self.transfers_enabled.unwrap_or(true)
 	}
 	pub fn sponsored_data_rate_limit(&self) -> Option<u32> {
-		self.sponsored_data_rate_limit
-			.unwrap_or((None,))
-			.0
-			.map(|v| v.min(MAX_SPONSOR_TIMEOUT))
+		match self
+			.sponsored_data_rate_limit
+			.unwrap_or(SponsoringRateLimit::SponsoringDisabled)
+		{
+			SponsoringRateLimit::SponsoringDisabled => None,
+			SponsoringRateLimit::Blocks(v) => Some(v.min(MAX_SPONSOR_TIMEOUT)),
+		}
 	}
 }
 
+#[derive(Encode, Decode, Debug, Clone, Copy, PartialEq, TypeInfo, MaxEncodedLen)]
+#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
+pub enum SponsoringRateLimit {
+	SponsoringDisabled,
+	Blocks(u32),
+}
+
 /// BoundedVec doesn't supports serde
 #[cfg(feature = "serde1")]
 mod bounded_serde {
addedprimitives/data-structs/src/migration.rsdiffbeforeafterboth
--- /dev/null
+++ b/primitives/data-structs/src/migration.rs
@@ -0,0 +1,24 @@
+/// Storage migration is not required for this change, as SponsoringRateLimit has same encoding as Option<u32>
+#[test]
+fn sponsoring_rate_limit_has_same_encoding_as_option_u32() {
+	use crate::SponsoringRateLimit;
+	use codec::Encode;
+
+	fn limit_to_option(limit: SponsoringRateLimit) -> Option<u32> {
+		match limit {
+			SponsoringRateLimit::SponsoringDisabled => None,
+			SponsoringRateLimit::Blocks(v) => Some(v),
+		}
+	}
+
+	fn test_to_option(limit: SponsoringRateLimit) {
+		let encoded = limit.encode();
+		let option = limit_to_option(limit);
+		let encoded_option = option.encode();
+
+		assert_eq!(encoded, encoded_option);
+	}
+
+	test_to_option(SponsoringRateLimit::SponsoringDisabled);
+	test_to_option(SponsoringRateLimit::Blocks(10));
+}
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,7 +1,7 @@
 // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
 /* eslint-disable */
 
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateNftData, UpDataStructsCreateReFungibleData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateNftData, UpDataStructsCreateReFungibleData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
 import type { Data, StorageKey } from '@polkadot/types';
 import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
 import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -1167,6 +1167,7 @@
     UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
     UpDataStructsMetaUpdatePermission: UpDataStructsMetaUpdatePermission;
     UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;
+    UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
     UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
     UpgradeGoAhead: UpgradeGoAhead;
     UpgradeRestriction: UpgradeRestriction;
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
before · tests/src/interfaces/types-lookup.ts
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34declare module '@polkadot/types/lookup' {5  import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6  import type { ITuple } from '@polkadot/types-codec/types';7  import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';8  import type { Event } from '@polkadot/types/interfaces/system';910  /** @name PolkadotPrimitivesV1PersistedValidationData (2) */11  export interface PolkadotPrimitivesV1PersistedValidationData extends Struct {12    readonly parentHead: Bytes;13    readonly relayParentNumber: u32;14    readonly relayParentStorageRoot: H256;15    readonly maxPovSize: u32;16  }1718  /** @name PolkadotPrimitivesV1UpgradeRestriction (9) */19  export interface PolkadotPrimitivesV1UpgradeRestriction extends Enum {20    readonly isPresent: boolean;21    readonly type: 'Present';22  }2324  /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (10) */25  export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {26    readonly dmqMqcHead: H256;27    readonly relayDispatchQueueSize: ITuple<[u32, u32]>;28    readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV1AbridgedHrmpChannel]>>;29    readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV1AbridgedHrmpChannel]>>;30  }3132  /** @name PolkadotPrimitivesV1AbridgedHrmpChannel (15) */33  export interface PolkadotPrimitivesV1AbridgedHrmpChannel extends Struct {34    readonly maxCapacity: u32;35    readonly maxTotalSize: u32;36    readonly maxMessageSize: u32;37    readonly msgCount: u32;38    readonly totalSize: u32;39    readonly mqcHead: Option<H256>;40  }4142  /** @name PolkadotPrimitivesV1AbridgedHostConfiguration (17) */43  export interface PolkadotPrimitivesV1AbridgedHostConfiguration extends Struct {44    readonly maxCodeSize: u32;45    readonly maxHeadDataSize: u32;46    readonly maxUpwardQueueCount: u32;47    readonly maxUpwardQueueSize: u32;48    readonly maxUpwardMessageSize: u32;49    readonly maxUpwardMessageNumPerCandidate: u32;50    readonly hrmpMaxMessageNumPerCandidate: u32;51    readonly validationUpgradeCooldown: u32;52    readonly validationUpgradeDelay: u32;53  }5455  /** @name PolkadotCorePrimitivesOutboundHrmpMessage (23) */56  export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {57    readonly recipient: u32;58    readonly data: Bytes;59  }6061  /** @name CumulusPalletParachainSystemCall (26) */62  export interface CumulusPalletParachainSystemCall extends Enum {63    readonly isSetValidationData: boolean;64    readonly asSetValidationData: {65      readonly data: CumulusPrimitivesParachainInherentParachainInherentData;66    } & Struct;67    readonly isSudoSendUpwardMessage: boolean;68    readonly asSudoSendUpwardMessage: {69      readonly message: Bytes;70    } & Struct;71    readonly isAuthorizeUpgrade: boolean;72    readonly asAuthorizeUpgrade: {73      readonly codeHash: H256;74    } & Struct;75    readonly isEnactAuthorizedUpgrade: boolean;76    readonly asEnactAuthorizedUpgrade: {77      readonly code: Bytes;78    } & Struct;79    readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';80  }8182  /** @name CumulusPrimitivesParachainInherentParachainInherentData (27) */83  export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {84    readonly validationData: PolkadotPrimitivesV1PersistedValidationData;85    readonly relayChainState: SpTrieStorageProof;86    readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;87    readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;88  }8990  /** @name SpTrieStorageProof (28) */91  export interface SpTrieStorageProof extends Struct {92    readonly trieNodes: Vec<Bytes>;93  }9495  /** @name PolkadotCorePrimitivesInboundDownwardMessage (30) */96  export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {97    readonly sentAt: u32;98    readonly msg: Bytes;99  }100101  /** @name PolkadotCorePrimitivesInboundHrmpMessage (33) */102  export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {103    readonly sentAt: u32;104    readonly data: Bytes;105  }106107  /** @name CumulusPalletParachainSystemEvent (36) */108  export interface CumulusPalletParachainSystemEvent extends Enum {109    readonly isValidationFunctionStored: boolean;110    readonly isValidationFunctionApplied: boolean;111    readonly asValidationFunctionApplied: u32;112    readonly isValidationFunctionDiscarded: boolean;113    readonly isUpgradeAuthorized: boolean;114    readonly asUpgradeAuthorized: H256;115    readonly isDownwardMessagesReceived: boolean;116    readonly asDownwardMessagesReceived: u32;117    readonly isDownwardMessagesProcessed: boolean;118    readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;119    readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';120  }121122  /** @name CumulusPalletParachainSystemError (37) */123  export interface CumulusPalletParachainSystemError extends Enum {124    readonly isOverlappingUpgrades: boolean;125    readonly isProhibitedByPolkadot: boolean;126    readonly isTooBig: boolean;127    readonly isValidationDataNotAvailable: boolean;128    readonly isHostConfigurationNotAvailable: boolean;129    readonly isNotScheduled: boolean;130    readonly isNothingAuthorized: boolean;131    readonly isUnauthorized: boolean;132    readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';133  }134135  /** @name PalletBalancesAccountData (40) */136  export interface PalletBalancesAccountData extends Struct {137    readonly free: u128;138    readonly reserved: u128;139    readonly miscFrozen: u128;140    readonly feeFrozen: u128;141  }142143  /** @name PalletBalancesBalanceLock (42) */144  export interface PalletBalancesBalanceLock extends Struct {145    readonly id: U8aFixed;146    readonly amount: u128;147    readonly reasons: PalletBalancesReasons;148  }149150  /** @name PalletBalancesReasons (44) */151  export interface PalletBalancesReasons extends Enum {152    readonly isFee: boolean;153    readonly isMisc: boolean;154    readonly isAll: boolean;155    readonly type: 'Fee' | 'Misc' | 'All';156  }157158  /** @name PalletBalancesReserveData (47) */159  export interface PalletBalancesReserveData extends Struct {160    readonly id: U8aFixed;161    readonly amount: u128;162  }163164  /** @name PalletBalancesReleases (49) */165  export interface PalletBalancesReleases extends Enum {166    readonly isV100: boolean;167    readonly isV200: boolean;168    readonly type: 'V100' | 'V200';169  }170171  /** @name PalletBalancesCall (50) */172  export interface PalletBalancesCall extends Enum {173    readonly isTransfer: boolean;174    readonly asTransfer: {175      readonly dest: MultiAddress;176      readonly value: Compact<u128>;177    } & Struct;178    readonly isSetBalance: boolean;179    readonly asSetBalance: {180      readonly who: MultiAddress;181      readonly newFree: Compact<u128>;182      readonly newReserved: Compact<u128>;183    } & Struct;184    readonly isForceTransfer: boolean;185    readonly asForceTransfer: {186      readonly source: MultiAddress;187      readonly dest: MultiAddress;188      readonly value: Compact<u128>;189    } & Struct;190    readonly isTransferKeepAlive: boolean;191    readonly asTransferKeepAlive: {192      readonly dest: MultiAddress;193      readonly value: Compact<u128>;194    } & Struct;195    readonly isTransferAll: boolean;196    readonly asTransferAll: {197      readonly dest: MultiAddress;198      readonly keepAlive: bool;199    } & Struct;200    readonly isForceUnreserve: boolean;201    readonly asForceUnreserve: {202      readonly who: MultiAddress;203      readonly amount: u128;204    } & Struct;205    readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';206  }207208  /** @name PalletBalancesEvent (56) */209  export interface PalletBalancesEvent extends Enum {210    readonly isEndowed: boolean;211    readonly asEndowed: {212      readonly account: AccountId32;213      readonly freeBalance: u128;214    } & Struct;215    readonly isDustLost: boolean;216    readonly asDustLost: {217      readonly account: AccountId32;218      readonly amount: u128;219    } & Struct;220    readonly isTransfer: boolean;221    readonly asTransfer: {222      readonly from: AccountId32;223      readonly to: AccountId32;224      readonly amount: u128;225    } & Struct;226    readonly isBalanceSet: boolean;227    readonly asBalanceSet: {228      readonly who: AccountId32;229      readonly free: u128;230      readonly reserved: u128;231    } & Struct;232    readonly isReserved: boolean;233    readonly asReserved: {234      readonly who: AccountId32;235      readonly amount: u128;236    } & Struct;237    readonly isUnreserved: boolean;238    readonly asUnreserved: {239      readonly who: AccountId32;240      readonly amount: u128;241    } & Struct;242    readonly isReserveRepatriated: boolean;243    readonly asReserveRepatriated: {244      readonly from: AccountId32;245      readonly to: AccountId32;246      readonly amount: u128;247      readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;248    } & Struct;249    readonly isDeposit: boolean;250    readonly asDeposit: {251      readonly who: AccountId32;252      readonly amount: u128;253    } & Struct;254    readonly isWithdraw: boolean;255    readonly asWithdraw: {256      readonly who: AccountId32;257      readonly amount: u128;258    } & Struct;259    readonly isSlashed: boolean;260    readonly asSlashed: {261      readonly who: AccountId32;262      readonly amount: u128;263    } & Struct;264    readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';265  }266267  /** @name FrameSupportTokensMiscBalanceStatus (57) */268  export interface FrameSupportTokensMiscBalanceStatus extends Enum {269    readonly isFree: boolean;270    readonly isReserved: boolean;271    readonly type: 'Free' | 'Reserved';272  }273274  /** @name PalletBalancesError (58) */275  export interface PalletBalancesError extends Enum {276    readonly isVestingBalance: boolean;277    readonly isLiquidityRestrictions: boolean;278    readonly isInsufficientBalance: boolean;279    readonly isExistentialDeposit: boolean;280    readonly isKeepAlive: boolean;281    readonly isExistingVestingSchedule: boolean;282    readonly isDeadAccount: boolean;283    readonly isTooManyReserves: boolean;284    readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';285  }286287  /** @name PalletTimestampCall (60) */288  export interface PalletTimestampCall extends Enum {289    readonly isSet: boolean;290    readonly asSet: {291      readonly now: Compact<u64>;292    } & Struct;293    readonly type: 'Set';294  }295296  /** @name PalletTransactionPaymentReleases (63) */297  export interface PalletTransactionPaymentReleases extends Enum {298    readonly isV1Ancient: boolean;299    readonly isV2: boolean;300    readonly type: 'V1Ancient' | 'V2';301  }302303  /** @name FrameSupportWeightsWeightToFeeCoefficient (65) */304  export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {305    readonly coeffInteger: u128;306    readonly coeffFrac: Perbill;307    readonly negative: bool;308    readonly degree: u8;309  }310311  /** @name PalletTreasuryProposal (67) */312  export interface PalletTreasuryProposal extends Struct {313    readonly proposer: AccountId32;314    readonly value: u128;315    readonly beneficiary: AccountId32;316    readonly bond: u128;317  }318319  /** @name PalletTreasuryCall (70) */320  export interface PalletTreasuryCall extends Enum {321    readonly isProposeSpend: boolean;322    readonly asProposeSpend: {323      readonly value: Compact<u128>;324      readonly beneficiary: MultiAddress;325    } & Struct;326    readonly isRejectProposal: boolean;327    readonly asRejectProposal: {328      readonly proposalId: Compact<u32>;329    } & Struct;330    readonly isApproveProposal: boolean;331    readonly asApproveProposal: {332      readonly proposalId: Compact<u32>;333    } & Struct;334    readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';335  }336337  /** @name PalletTreasuryEvent (72) */338  export interface PalletTreasuryEvent extends Enum {339    readonly isProposed: boolean;340    readonly asProposed: {341      readonly proposalIndex: u32;342    } & Struct;343    readonly isSpending: boolean;344    readonly asSpending: {345      readonly budgetRemaining: u128;346    } & Struct;347    readonly isAwarded: boolean;348    readonly asAwarded: {349      readonly proposalIndex: u32;350      readonly award: u128;351      readonly account: AccountId32;352    } & Struct;353    readonly isRejected: boolean;354    readonly asRejected: {355      readonly proposalIndex: u32;356      readonly slashed: u128;357    } & Struct;358    readonly isBurnt: boolean;359    readonly asBurnt: {360      readonly burntFunds: u128;361    } & Struct;362    readonly isRollover: boolean;363    readonly asRollover: {364      readonly rolloverBalance: u128;365    } & Struct;366    readonly isDeposit: boolean;367    readonly asDeposit: {368      readonly value: u128;369    } & Struct;370    readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';371  }372373  /** @name FrameSupportPalletId (75) */374  export interface FrameSupportPalletId extends U8aFixed {}375376  /** @name PalletTreasuryError (76) */377  export interface PalletTreasuryError extends Enum {378    readonly isInsufficientProposersBalance: boolean;379    readonly isInvalidIndex: boolean;380    readonly isTooManyApprovals: boolean;381    readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';382  }383384  /** @name PalletSudoCall (77) */385  export interface PalletSudoCall extends Enum {386    readonly isSudo: boolean;387    readonly asSudo: {388      readonly call: Call;389    } & Struct;390    readonly isSudoUncheckedWeight: boolean;391    readonly asSudoUncheckedWeight: {392      readonly call: Call;393      readonly weight: u64;394    } & Struct;395    readonly isSetKey: boolean;396    readonly asSetKey: {397      readonly new_: MultiAddress;398    } & Struct;399    readonly isSudoAs: boolean;400    readonly asSudoAs: {401      readonly who: MultiAddress;402      readonly call: Call;403    } & Struct;404    readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';405  }406407  /** @name FrameSystemCall (79) */408  export interface FrameSystemCall extends Enum {409    readonly isFillBlock: boolean;410    readonly asFillBlock: {411      readonly ratio: Perbill;412    } & Struct;413    readonly isRemark: boolean;414    readonly asRemark: {415      readonly remark: Bytes;416    } & Struct;417    readonly isSetHeapPages: boolean;418    readonly asSetHeapPages: {419      readonly pages: u64;420    } & Struct;421    readonly isSetCode: boolean;422    readonly asSetCode: {423      readonly code: Bytes;424    } & Struct;425    readonly isSetCodeWithoutChecks: boolean;426    readonly asSetCodeWithoutChecks: {427      readonly code: Bytes;428    } & Struct;429    readonly isSetStorage: boolean;430    readonly asSetStorage: {431      readonly items: Vec<ITuple<[Bytes, Bytes]>>;432    } & Struct;433    readonly isKillStorage: boolean;434    readonly asKillStorage: {435      readonly keys_: Vec<Bytes>;436    } & Struct;437    readonly isKillPrefix: boolean;438    readonly asKillPrefix: {439      readonly prefix: Bytes;440      readonly subkeys: u32;441    } & Struct;442    readonly isRemarkWithEvent: boolean;443    readonly asRemarkWithEvent: {444      readonly remark: Bytes;445    } & Struct;446    readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';447  }448449  /** @name OrmlVestingModuleCall (82) */450  export interface OrmlVestingModuleCall extends Enum {451    readonly isClaim: boolean;452    readonly isVestedTransfer: boolean;453    readonly asVestedTransfer: {454      readonly dest: MultiAddress;455      readonly schedule: OrmlVestingVestingSchedule;456    } & Struct;457    readonly isUpdateVestingSchedules: boolean;458    readonly asUpdateVestingSchedules: {459      readonly who: MultiAddress;460      readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;461    } & Struct;462    readonly isClaimFor: boolean;463    readonly asClaimFor: {464      readonly dest: MultiAddress;465    } & Struct;466    readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';467  }468469  /** @name OrmlVestingVestingSchedule (83) */470  export interface OrmlVestingVestingSchedule extends Struct {471    readonly start: u32;472    readonly period: u32;473    readonly periodCount: u32;474    readonly perPeriod: Compact<u128>;475  }476477  /** @name CumulusPalletXcmpQueueCall (85) */478  export interface CumulusPalletXcmpQueueCall extends Enum {479    readonly isServiceOverweight: boolean;480    readonly asServiceOverweight: {481      readonly index: u64;482      readonly weightLimit: u64;483    } & Struct;484    readonly type: 'ServiceOverweight';485  }486487  /** @name PalletXcmCall (86) */488  export interface PalletXcmCall extends Enum {489    readonly isSend: boolean;490    readonly asSend: {491      readonly dest: XcmVersionedMultiLocation;492      readonly message: XcmVersionedXcm;493    } & Struct;494    readonly isTeleportAssets: boolean;495    readonly asTeleportAssets: {496      readonly dest: XcmVersionedMultiLocation;497      readonly beneficiary: XcmVersionedMultiLocation;498      readonly assets: XcmVersionedMultiAssets;499      readonly feeAssetItem: u32;500    } & Struct;501    readonly isReserveTransferAssets: boolean;502    readonly asReserveTransferAssets: {503      readonly dest: XcmVersionedMultiLocation;504      readonly beneficiary: XcmVersionedMultiLocation;505      readonly assets: XcmVersionedMultiAssets;506      readonly feeAssetItem: u32;507    } & Struct;508    readonly isExecute: boolean;509    readonly asExecute: {510      readonly message: XcmVersionedXcm;511      readonly maxWeight: u64;512    } & Struct;513    readonly isForceXcmVersion: boolean;514    readonly asForceXcmVersion: {515      readonly location: XcmV1MultiLocation;516      readonly xcmVersion: u32;517    } & Struct;518    readonly isForceDefaultXcmVersion: boolean;519    readonly asForceDefaultXcmVersion: {520      readonly maybeXcmVersion: Option<u32>;521    } & Struct;522    readonly isForceSubscribeVersionNotify: boolean;523    readonly asForceSubscribeVersionNotify: {524      readonly location: XcmVersionedMultiLocation;525    } & Struct;526    readonly isForceUnsubscribeVersionNotify: boolean;527    readonly asForceUnsubscribeVersionNotify: {528      readonly location: XcmVersionedMultiLocation;529    } & Struct;530    readonly isLimitedReserveTransferAssets: boolean;531    readonly asLimitedReserveTransferAssets: {532      readonly dest: XcmVersionedMultiLocation;533      readonly beneficiary: XcmVersionedMultiLocation;534      readonly assets: XcmVersionedMultiAssets;535      readonly feeAssetItem: u32;536      readonly weightLimit: XcmV2WeightLimit;537    } & Struct;538    readonly isLimitedTeleportAssets: boolean;539    readonly asLimitedTeleportAssets: {540      readonly dest: XcmVersionedMultiLocation;541      readonly beneficiary: XcmVersionedMultiLocation;542      readonly assets: XcmVersionedMultiAssets;543      readonly feeAssetItem: u32;544      readonly weightLimit: XcmV2WeightLimit;545    } & Struct;546    readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';547  }548549  /** @name XcmVersionedMultiLocation (87) */550  export interface XcmVersionedMultiLocation extends Enum {551    readonly isV0: boolean;552    readonly asV0: XcmV0MultiLocation;553    readonly isV1: boolean;554    readonly asV1: XcmV1MultiLocation;555    readonly type: 'V0' | 'V1';556  }557558  /** @name XcmV0MultiLocation (88) */559  export interface XcmV0MultiLocation extends Enum {560    readonly isNull: boolean;561    readonly isX1: boolean;562    readonly asX1: XcmV0Junction;563    readonly isX2: boolean;564    readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;565    readonly isX3: boolean;566    readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;567    readonly isX4: boolean;568    readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;569    readonly isX5: boolean;570    readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;571    readonly isX6: boolean;572    readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;573    readonly isX7: boolean;574    readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;575    readonly isX8: boolean;576    readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;577    readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';578  }579580  /** @name XcmV0Junction (89) */581  export interface XcmV0Junction extends Enum {582    readonly isParent: boolean;583    readonly isParachain: boolean;584    readonly asParachain: Compact<u32>;585    readonly isAccountId32: boolean;586    readonly asAccountId32: {587      readonly network: XcmV0JunctionNetworkId;588      readonly id: U8aFixed;589    } & Struct;590    readonly isAccountIndex64: boolean;591    readonly asAccountIndex64: {592      readonly network: XcmV0JunctionNetworkId;593      readonly index: Compact<u64>;594    } & Struct;595    readonly isAccountKey20: boolean;596    readonly asAccountKey20: {597      readonly network: XcmV0JunctionNetworkId;598      readonly key: U8aFixed;599    } & Struct;600    readonly isPalletInstance: boolean;601    readonly asPalletInstance: u8;602    readonly isGeneralIndex: boolean;603    readonly asGeneralIndex: Compact<u128>;604    readonly isGeneralKey: boolean;605    readonly asGeneralKey: Bytes;606    readonly isOnlyChild: boolean;607    readonly isPlurality: boolean;608    readonly asPlurality: {609      readonly id: XcmV0JunctionBodyId;610      readonly part: XcmV0JunctionBodyPart;611    } & Struct;612    readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';613  }614615  /** @name XcmV0JunctionNetworkId (90) */616  export interface XcmV0JunctionNetworkId extends Enum {617    readonly isAny: boolean;618    readonly isNamed: boolean;619    readonly asNamed: Bytes;620    readonly isPolkadot: boolean;621    readonly isKusama: boolean;622    readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';623  }624625  /** @name XcmV0JunctionBodyId (91) */626  export interface XcmV0JunctionBodyId extends Enum {627    readonly isUnit: boolean;628    readonly isNamed: boolean;629    readonly asNamed: Bytes;630    readonly isIndex: boolean;631    readonly asIndex: Compact<u32>;632    readonly isExecutive: boolean;633    readonly isTechnical: boolean;634    readonly isLegislative: boolean;635    readonly isJudicial: boolean;636    readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';637  }638639  /** @name XcmV0JunctionBodyPart (92) */640  export interface XcmV0JunctionBodyPart extends Enum {641    readonly isVoice: boolean;642    readonly isMembers: boolean;643    readonly asMembers: {644      readonly count: Compact<u32>;645    } & Struct;646    readonly isFraction: boolean;647    readonly asFraction: {648      readonly nom: Compact<u32>;649      readonly denom: Compact<u32>;650    } & Struct;651    readonly isAtLeastProportion: boolean;652    readonly asAtLeastProportion: {653      readonly nom: Compact<u32>;654      readonly denom: Compact<u32>;655    } & Struct;656    readonly isMoreThanProportion: boolean;657    readonly asMoreThanProportion: {658      readonly nom: Compact<u32>;659      readonly denom: Compact<u32>;660    } & Struct;661    readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';662  }663664  /** @name XcmV1MultiLocation (93) */665  export interface XcmV1MultiLocation extends Struct {666    readonly parents: u8;667    readonly interior: XcmV1MultilocationJunctions;668  }669670  /** @name XcmV1MultilocationJunctions (94) */671  export interface XcmV1MultilocationJunctions extends Enum {672    readonly isHere: boolean;673    readonly isX1: boolean;674    readonly asX1: XcmV1Junction;675    readonly isX2: boolean;676    readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;677    readonly isX3: boolean;678    readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;679    readonly isX4: boolean;680    readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;681    readonly isX5: boolean;682    readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;683    readonly isX6: boolean;684    readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;685    readonly isX7: boolean;686    readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;687    readonly isX8: boolean;688    readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;689    readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';690  }691692  /** @name XcmV1Junction (95) */693  export interface XcmV1Junction extends Enum {694    readonly isParachain: boolean;695    readonly asParachain: Compact<u32>;696    readonly isAccountId32: boolean;697    readonly asAccountId32: {698      readonly network: XcmV0JunctionNetworkId;699      readonly id: U8aFixed;700    } & Struct;701    readonly isAccountIndex64: boolean;702    readonly asAccountIndex64: {703      readonly network: XcmV0JunctionNetworkId;704      readonly index: Compact<u64>;705    } & Struct;706    readonly isAccountKey20: boolean;707    readonly asAccountKey20: {708      readonly network: XcmV0JunctionNetworkId;709      readonly key: U8aFixed;710    } & Struct;711    readonly isPalletInstance: boolean;712    readonly asPalletInstance: u8;713    readonly isGeneralIndex: boolean;714    readonly asGeneralIndex: Compact<u128>;715    readonly isGeneralKey: boolean;716    readonly asGeneralKey: Bytes;717    readonly isOnlyChild: boolean;718    readonly isPlurality: boolean;719    readonly asPlurality: {720      readonly id: XcmV0JunctionBodyId;721      readonly part: XcmV0JunctionBodyPart;722    } & Struct;723    readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';724  }725726  /** @name XcmVersionedXcm (96) */727  export interface XcmVersionedXcm extends Enum {728    readonly isV0: boolean;729    readonly asV0: XcmV0Xcm;730    readonly isV1: boolean;731    readonly asV1: XcmV1Xcm;732    readonly isV2: boolean;733    readonly asV2: XcmV2Xcm;734    readonly type: 'V0' | 'V1' | 'V2';735  }736737  /** @name XcmV0Xcm (97) */738  export interface XcmV0Xcm extends Enum {739    readonly isWithdrawAsset: boolean;740    readonly asWithdrawAsset: {741      readonly assets: Vec<XcmV0MultiAsset>;742      readonly effects: Vec<XcmV0Order>;743    } & Struct;744    readonly isReserveAssetDeposit: boolean;745    readonly asReserveAssetDeposit: {746      readonly assets: Vec<XcmV0MultiAsset>;747      readonly effects: Vec<XcmV0Order>;748    } & Struct;749    readonly isTeleportAsset: boolean;750    readonly asTeleportAsset: {751      readonly assets: Vec<XcmV0MultiAsset>;752      readonly effects: Vec<XcmV0Order>;753    } & Struct;754    readonly isQueryResponse: boolean;755    readonly asQueryResponse: {756      readonly queryId: Compact<u64>;757      readonly response: XcmV0Response;758    } & Struct;759    readonly isTransferAsset: boolean;760    readonly asTransferAsset: {761      readonly assets: Vec<XcmV0MultiAsset>;762      readonly dest: XcmV0MultiLocation;763    } & Struct;764    readonly isTransferReserveAsset: boolean;765    readonly asTransferReserveAsset: {766      readonly assets: Vec<XcmV0MultiAsset>;767      readonly dest: XcmV0MultiLocation;768      readonly effects: Vec<XcmV0Order>;769    } & Struct;770    readonly isTransact: boolean;771    readonly asTransact: {772      readonly originType: XcmV0OriginKind;773      readonly requireWeightAtMost: u64;774      readonly call: XcmDoubleEncoded;775    } & Struct;776    readonly isHrmpNewChannelOpenRequest: boolean;777    readonly asHrmpNewChannelOpenRequest: {778      readonly sender: Compact<u32>;779      readonly maxMessageSize: Compact<u32>;780      readonly maxCapacity: Compact<u32>;781    } & Struct;782    readonly isHrmpChannelAccepted: boolean;783    readonly asHrmpChannelAccepted: {784      readonly recipient: Compact<u32>;785    } & Struct;786    readonly isHrmpChannelClosing: boolean;787    readonly asHrmpChannelClosing: {788      readonly initiator: Compact<u32>;789      readonly sender: Compact<u32>;790      readonly recipient: Compact<u32>;791    } & Struct;792    readonly isRelayedFrom: boolean;793    readonly asRelayedFrom: {794      readonly who: XcmV0MultiLocation;795      readonly message: XcmV0Xcm;796    } & Struct;797    readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';798  }799800  /** @name XcmV0MultiAsset (99) */801  export interface XcmV0MultiAsset extends Enum {802    readonly isNone: boolean;803    readonly isAll: boolean;804    readonly isAllFungible: boolean;805    readonly isAllNonFungible: boolean;806    readonly isAllAbstractFungible: boolean;807    readonly asAllAbstractFungible: {808      readonly id: Bytes;809    } & Struct;810    readonly isAllAbstractNonFungible: boolean;811    readonly asAllAbstractNonFungible: {812      readonly class: Bytes;813    } & Struct;814    readonly isAllConcreteFungible: boolean;815    readonly asAllConcreteFungible: {816      readonly id: XcmV0MultiLocation;817    } & Struct;818    readonly isAllConcreteNonFungible: boolean;819    readonly asAllConcreteNonFungible: {820      readonly class: XcmV0MultiLocation;821    } & Struct;822    readonly isAbstractFungible: boolean;823    readonly asAbstractFungible: {824      readonly id: Bytes;825      readonly amount: Compact<u128>;826    } & Struct;827    readonly isAbstractNonFungible: boolean;828    readonly asAbstractNonFungible: {829      readonly class: Bytes;830      readonly instance: XcmV1MultiassetAssetInstance;831    } & Struct;832    readonly isConcreteFungible: boolean;833    readonly asConcreteFungible: {834      readonly id: XcmV0MultiLocation;835      readonly amount: Compact<u128>;836    } & Struct;837    readonly isConcreteNonFungible: boolean;838    readonly asConcreteNonFungible: {839      readonly class: XcmV0MultiLocation;840      readonly instance: XcmV1MultiassetAssetInstance;841    } & Struct;842    readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';843  }844845  /** @name XcmV1MultiassetAssetInstance (100) */846  export interface XcmV1MultiassetAssetInstance extends Enum {847    readonly isUndefined: boolean;848    readonly isIndex: boolean;849    readonly asIndex: Compact<u128>;850    readonly isArray4: boolean;851    readonly asArray4: U8aFixed;852    readonly isArray8: boolean;853    readonly asArray8: U8aFixed;854    readonly isArray16: boolean;855    readonly asArray16: U8aFixed;856    readonly isArray32: boolean;857    readonly asArray32: U8aFixed;858    readonly isBlob: boolean;859    readonly asBlob: Bytes;860    readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';861  }862863  /** @name XcmV0Order (104) */864  export interface XcmV0Order extends Enum {865    readonly isNull: boolean;866    readonly isDepositAsset: boolean;867    readonly asDepositAsset: {868      readonly assets: Vec<XcmV0MultiAsset>;869      readonly dest: XcmV0MultiLocation;870    } & Struct;871    readonly isDepositReserveAsset: boolean;872    readonly asDepositReserveAsset: {873      readonly assets: Vec<XcmV0MultiAsset>;874      readonly dest: XcmV0MultiLocation;875      readonly effects: Vec<XcmV0Order>;876    } & Struct;877    readonly isExchangeAsset: boolean;878    readonly asExchangeAsset: {879      readonly give: Vec<XcmV0MultiAsset>;880      readonly receive: Vec<XcmV0MultiAsset>;881    } & Struct;882    readonly isInitiateReserveWithdraw: boolean;883    readonly asInitiateReserveWithdraw: {884      readonly assets: Vec<XcmV0MultiAsset>;885      readonly reserve: XcmV0MultiLocation;886      readonly effects: Vec<XcmV0Order>;887    } & Struct;888    readonly isInitiateTeleport: boolean;889    readonly asInitiateTeleport: {890      readonly assets: Vec<XcmV0MultiAsset>;891      readonly dest: XcmV0MultiLocation;892      readonly effects: Vec<XcmV0Order>;893    } & Struct;894    readonly isQueryHolding: boolean;895    readonly asQueryHolding: {896      readonly queryId: Compact<u64>;897      readonly dest: XcmV0MultiLocation;898      readonly assets: Vec<XcmV0MultiAsset>;899    } & Struct;900    readonly isBuyExecution: boolean;901    readonly asBuyExecution: {902      readonly fees: XcmV0MultiAsset;903      readonly weight: u64;904      readonly debt: u64;905      readonly haltOnError: bool;906      readonly xcm: Vec<XcmV0Xcm>;907    } & Struct;908    readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';909  }910911  /** @name XcmV0Response (106) */912  export interface XcmV0Response extends Enum {913    readonly isAssets: boolean;914    readonly asAssets: Vec<XcmV0MultiAsset>;915    readonly type: 'Assets';916  }917918  /** @name XcmV0OriginKind (107) */919  export interface XcmV0OriginKind extends Enum {920    readonly isNative: boolean;921    readonly isSovereignAccount: boolean;922    readonly isSuperuser: boolean;923    readonly isXcm: boolean;924    readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';925  }926927  /** @name XcmDoubleEncoded (108) */928  export interface XcmDoubleEncoded extends Struct {929    readonly encoded: Bytes;930  }931932  /** @name XcmV1Xcm (109) */933  export interface XcmV1Xcm extends Enum {934    readonly isWithdrawAsset: boolean;935    readonly asWithdrawAsset: {936      readonly assets: XcmV1MultiassetMultiAssets;937      readonly effects: Vec<XcmV1Order>;938    } & Struct;939    readonly isReserveAssetDeposited: boolean;940    readonly asReserveAssetDeposited: {941      readonly assets: XcmV1MultiassetMultiAssets;942      readonly effects: Vec<XcmV1Order>;943    } & Struct;944    readonly isReceiveTeleportedAsset: boolean;945    readonly asReceiveTeleportedAsset: {946      readonly assets: XcmV1MultiassetMultiAssets;947      readonly effects: Vec<XcmV1Order>;948    } & Struct;949    readonly isQueryResponse: boolean;950    readonly asQueryResponse: {951      readonly queryId: Compact<u64>;952      readonly response: XcmV1Response;953    } & Struct;954    readonly isTransferAsset: boolean;955    readonly asTransferAsset: {956      readonly assets: XcmV1MultiassetMultiAssets;957      readonly beneficiary: XcmV1MultiLocation;958    } & Struct;959    readonly isTransferReserveAsset: boolean;960    readonly asTransferReserveAsset: {961      readonly assets: XcmV1MultiassetMultiAssets;962      readonly dest: XcmV1MultiLocation;963      readonly effects: Vec<XcmV1Order>;964    } & Struct;965    readonly isTransact: boolean;966    readonly asTransact: {967      readonly originType: XcmV0OriginKind;968      readonly requireWeightAtMost: u64;969      readonly call: XcmDoubleEncoded;970    } & Struct;971    readonly isHrmpNewChannelOpenRequest: boolean;972    readonly asHrmpNewChannelOpenRequest: {973      readonly sender: Compact<u32>;974      readonly maxMessageSize: Compact<u32>;975      readonly maxCapacity: Compact<u32>;976    } & Struct;977    readonly isHrmpChannelAccepted: boolean;978    readonly asHrmpChannelAccepted: {979      readonly recipient: Compact<u32>;980    } & Struct;981    readonly isHrmpChannelClosing: boolean;982    readonly asHrmpChannelClosing: {983      readonly initiator: Compact<u32>;984      readonly sender: Compact<u32>;985      readonly recipient: Compact<u32>;986    } & Struct;987    readonly isRelayedFrom: boolean;988    readonly asRelayedFrom: {989      readonly who: XcmV1MultilocationJunctions;990      readonly message: XcmV1Xcm;991    } & Struct;992    readonly isSubscribeVersion: boolean;993    readonly asSubscribeVersion: {994      readonly queryId: Compact<u64>;995      readonly maxResponseWeight: Compact<u64>;996    } & Struct;997    readonly isUnsubscribeVersion: boolean;998    readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';999  }10001001  /** @name XcmV1MultiassetMultiAssets (110) */1002  export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}10031004  /** @name XcmV1MultiAsset (112) */1005  export interface XcmV1MultiAsset extends Struct {1006    readonly id: XcmV1MultiassetAssetId;1007    readonly fun: XcmV1MultiassetFungibility;1008  }10091010  /** @name XcmV1MultiassetAssetId (113) */1011  export interface XcmV1MultiassetAssetId extends Enum {1012    readonly isConcrete: boolean;1013    readonly asConcrete: XcmV1MultiLocation;1014    readonly isAbstract: boolean;1015    readonly asAbstract: Bytes;1016    readonly type: 'Concrete' | 'Abstract';1017  }10181019  /** @name XcmV1MultiassetFungibility (114) */1020  export interface XcmV1MultiassetFungibility extends Enum {1021    readonly isFungible: boolean;1022    readonly asFungible: Compact<u128>;1023    readonly isNonFungible: boolean;1024    readonly asNonFungible: XcmV1MultiassetAssetInstance;1025    readonly type: 'Fungible' | 'NonFungible';1026  }10271028  /** @name XcmV1Order (116) */1029  export interface XcmV1Order extends Enum {1030    readonly isNoop: boolean;1031    readonly isDepositAsset: boolean;1032    readonly asDepositAsset: {1033      readonly assets: XcmV1MultiassetMultiAssetFilter;1034      readonly maxAssets: u32;1035      readonly beneficiary: XcmV1MultiLocation;1036    } & Struct;1037    readonly isDepositReserveAsset: boolean;1038    readonly asDepositReserveAsset: {1039      readonly assets: XcmV1MultiassetMultiAssetFilter;1040      readonly maxAssets: u32;1041      readonly dest: XcmV1MultiLocation;1042      readonly effects: Vec<XcmV1Order>;1043    } & Struct;1044    readonly isExchangeAsset: boolean;1045    readonly asExchangeAsset: {1046      readonly give: XcmV1MultiassetMultiAssetFilter;1047      readonly receive: XcmV1MultiassetMultiAssets;1048    } & Struct;1049    readonly isInitiateReserveWithdraw: boolean;1050    readonly asInitiateReserveWithdraw: {1051      readonly assets: XcmV1MultiassetMultiAssetFilter;1052      readonly reserve: XcmV1MultiLocation;1053      readonly effects: Vec<XcmV1Order>;1054    } & Struct;1055    readonly isInitiateTeleport: boolean;1056    readonly asInitiateTeleport: {1057      readonly assets: XcmV1MultiassetMultiAssetFilter;1058      readonly dest: XcmV1MultiLocation;1059      readonly effects: Vec<XcmV1Order>;1060    } & Struct;1061    readonly isQueryHolding: boolean;1062    readonly asQueryHolding: {1063      readonly queryId: Compact<u64>;1064      readonly dest: XcmV1MultiLocation;1065      readonly assets: XcmV1MultiassetMultiAssetFilter;1066    } & Struct;1067    readonly isBuyExecution: boolean;1068    readonly asBuyExecution: {1069      readonly fees: XcmV1MultiAsset;1070      readonly weight: u64;1071      readonly debt: u64;1072      readonly haltOnError: bool;1073      readonly instructions: Vec<XcmV1Xcm>;1074    } & Struct;1075    readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1076  }10771078  /** @name XcmV1MultiassetMultiAssetFilter (117) */1079  export interface XcmV1MultiassetMultiAssetFilter extends Enum {1080    readonly isDefinite: boolean;1081    readonly asDefinite: XcmV1MultiassetMultiAssets;1082    readonly isWild: boolean;1083    readonly asWild: XcmV1MultiassetWildMultiAsset;1084    readonly type: 'Definite' | 'Wild';1085  }10861087  /** @name XcmV1MultiassetWildMultiAsset (118) */1088  export interface XcmV1MultiassetWildMultiAsset extends Enum {1089    readonly isAll: boolean;1090    readonly isAllOf: boolean;1091    readonly asAllOf: {1092      readonly id: XcmV1MultiassetAssetId;1093      readonly fun: XcmV1MultiassetWildFungibility;1094    } & Struct;1095    readonly type: 'All' | 'AllOf';1096  }10971098  /** @name XcmV1MultiassetWildFungibility (119) */1099  export interface XcmV1MultiassetWildFungibility extends Enum {1100    readonly isFungible: boolean;1101    readonly isNonFungible: boolean;1102    readonly type: 'Fungible' | 'NonFungible';1103  }11041105  /** @name XcmV1Response (121) */1106  export interface XcmV1Response extends Enum {1107    readonly isAssets: boolean;1108    readonly asAssets: XcmV1MultiassetMultiAssets;1109    readonly isVersion: boolean;1110    readonly asVersion: u32;1111    readonly type: 'Assets' | 'Version';1112  }11131114  /** @name XcmV2Xcm (122) */1115  export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}11161117  /** @name XcmV2Instruction (124) */1118  export interface XcmV2Instruction extends Enum {1119    readonly isWithdrawAsset: boolean;1120    readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1121    readonly isReserveAssetDeposited: boolean;1122    readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;1123    readonly isReceiveTeleportedAsset: boolean;1124    readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;1125    readonly isQueryResponse: boolean;1126    readonly asQueryResponse: {1127      readonly queryId: Compact<u64>;1128      readonly response: XcmV2Response;1129      readonly maxWeight: Compact<u64>;1130    } & Struct;1131    readonly isTransferAsset: boolean;1132    readonly asTransferAsset: {1133      readonly assets: XcmV1MultiassetMultiAssets;1134      readonly beneficiary: XcmV1MultiLocation;1135    } & Struct;1136    readonly isTransferReserveAsset: boolean;1137    readonly asTransferReserveAsset: {1138      readonly assets: XcmV1MultiassetMultiAssets;1139      readonly dest: XcmV1MultiLocation;1140      readonly xcm: XcmV2Xcm;1141    } & Struct;1142    readonly isTransact: boolean;1143    readonly asTransact: {1144      readonly originType: XcmV0OriginKind;1145      readonly requireWeightAtMost: Compact<u64>;1146      readonly call: XcmDoubleEncoded;1147    } & Struct;1148    readonly isHrmpNewChannelOpenRequest: boolean;1149    readonly asHrmpNewChannelOpenRequest: {1150      readonly sender: Compact<u32>;1151      readonly maxMessageSize: Compact<u32>;1152      readonly maxCapacity: Compact<u32>;1153    } & Struct;1154    readonly isHrmpChannelAccepted: boolean;1155    readonly asHrmpChannelAccepted: {1156      readonly recipient: Compact<u32>;1157    } & Struct;1158    readonly isHrmpChannelClosing: boolean;1159    readonly asHrmpChannelClosing: {1160      readonly initiator: Compact<u32>;1161      readonly sender: Compact<u32>;1162      readonly recipient: Compact<u32>;1163    } & Struct;1164    readonly isClearOrigin: boolean;1165    readonly isDescendOrigin: boolean;1166    readonly asDescendOrigin: XcmV1MultilocationJunctions;1167    readonly isReportError: boolean;1168    readonly asReportError: {1169      readonly queryId: Compact<u64>;1170      readonly dest: XcmV1MultiLocation;1171      readonly maxResponseWeight: Compact<u64>;1172    } & Struct;1173    readonly isDepositAsset: boolean;1174    readonly asDepositAsset: {1175      readonly assets: XcmV1MultiassetMultiAssetFilter;1176      readonly maxAssets: Compact<u32>;1177      readonly beneficiary: XcmV1MultiLocation;1178    } & Struct;1179    readonly isDepositReserveAsset: boolean;1180    readonly asDepositReserveAsset: {1181      readonly assets: XcmV1MultiassetMultiAssetFilter;1182      readonly maxAssets: Compact<u32>;1183      readonly dest: XcmV1MultiLocation;1184      readonly xcm: XcmV2Xcm;1185    } & Struct;1186    readonly isExchangeAsset: boolean;1187    readonly asExchangeAsset: {1188      readonly give: XcmV1MultiassetMultiAssetFilter;1189      readonly receive: XcmV1MultiassetMultiAssets;1190    } & Struct;1191    readonly isInitiateReserveWithdraw: boolean;1192    readonly asInitiateReserveWithdraw: {1193      readonly assets: XcmV1MultiassetMultiAssetFilter;1194      readonly reserve: XcmV1MultiLocation;1195      readonly xcm: XcmV2Xcm;1196    } & Struct;1197    readonly isInitiateTeleport: boolean;1198    readonly asInitiateTeleport: {1199      readonly assets: XcmV1MultiassetMultiAssetFilter;1200      readonly dest: XcmV1MultiLocation;1201      readonly xcm: XcmV2Xcm;1202    } & Struct;1203    readonly isQueryHolding: boolean;1204    readonly asQueryHolding: {1205      readonly queryId: Compact<u64>;1206      readonly dest: XcmV1MultiLocation;1207      readonly assets: XcmV1MultiassetMultiAssetFilter;1208      readonly maxResponseWeight: Compact<u64>;1209    } & Struct;1210    readonly isBuyExecution: boolean;1211    readonly asBuyExecution: {1212      readonly fees: XcmV1MultiAsset;1213      readonly weightLimit: XcmV2WeightLimit;1214    } & Struct;1215    readonly isRefundSurplus: boolean;1216    readonly isSetErrorHandler: boolean;1217    readonly asSetErrorHandler: XcmV2Xcm;1218    readonly isSetAppendix: boolean;1219    readonly asSetAppendix: XcmV2Xcm;1220    readonly isClearError: boolean;1221    readonly isClaimAsset: boolean;1222    readonly asClaimAsset: {1223      readonly assets: XcmV1MultiassetMultiAssets;1224      readonly ticket: XcmV1MultiLocation;1225    } & Struct;1226    readonly isTrap: boolean;1227    readonly asTrap: Compact<u64>;1228    readonly isSubscribeVersion: boolean;1229    readonly asSubscribeVersion: {1230      readonly queryId: Compact<u64>;1231      readonly maxResponseWeight: Compact<u64>;1232    } & Struct;1233    readonly isUnsubscribeVersion: boolean;1234    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';1235  }12361237  /** @name XcmV2Response (125) */1238  export interface XcmV2Response extends Enum {1239    readonly isNull: boolean;1240    readonly isAssets: boolean;1241    readonly asAssets: XcmV1MultiassetMultiAssets;1242    readonly isExecutionResult: boolean;1243    readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;1244    readonly isVersion: boolean;1245    readonly asVersion: u32;1246    readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1247  }12481249  /** @name XcmV2TraitsError (128) */1250  export interface XcmV2TraitsError extends Enum {1251    readonly isOverflow: boolean;1252    readonly isUnimplemented: boolean;1253    readonly isUntrustedReserveLocation: boolean;1254    readonly isUntrustedTeleportLocation: boolean;1255    readonly isMultiLocationFull: boolean;1256    readonly isMultiLocationNotInvertible: boolean;1257    readonly isBadOrigin: boolean;1258    readonly isInvalidLocation: boolean;1259    readonly isAssetNotFound: boolean;1260    readonly isFailedToTransactAsset: boolean;1261    readonly isNotWithdrawable: boolean;1262    readonly isLocationCannotHold: boolean;1263    readonly isExceedsMaxMessageSize: boolean;1264    readonly isDestinationUnsupported: boolean;1265    readonly isTransport: boolean;1266    readonly isUnroutable: boolean;1267    readonly isUnknownClaim: boolean;1268    readonly isFailedToDecode: boolean;1269    readonly isMaxWeightInvalid: boolean;1270    readonly isNotHoldingFees: boolean;1271    readonly isTooExpensive: boolean;1272    readonly isTrap: boolean;1273    readonly asTrap: u64;1274    readonly isUnhandledXcmVersion: boolean;1275    readonly isWeightLimitReached: boolean;1276    readonly asWeightLimitReached: u64;1277    readonly isBarrier: boolean;1278    readonly isWeightNotComputable: boolean;1279    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';1280  }12811282  /** @name XcmV2WeightLimit (129) */1283  export interface XcmV2WeightLimit extends Enum {1284    readonly isUnlimited: boolean;1285    readonly isLimited: boolean;1286    readonly asLimited: Compact<u64>;1287    readonly type: 'Unlimited' | 'Limited';1288  }12891290  /** @name XcmVersionedMultiAssets (130) */1291  export interface XcmVersionedMultiAssets extends Enum {1292    readonly isV0: boolean;1293    readonly asV0: Vec<XcmV0MultiAsset>;1294    readonly isV1: boolean;1295    readonly asV1: XcmV1MultiassetMultiAssets;1296    readonly type: 'V0' | 'V1';1297  }12981299  /** @name CumulusPalletXcmCall (145) */1300  export type CumulusPalletXcmCall = Null;13011302  /** @name CumulusPalletDmpQueueCall (146) */1303  export interface CumulusPalletDmpQueueCall extends Enum {1304    readonly isServiceOverweight: boolean;1305    readonly asServiceOverweight: {1306      readonly index: u64;1307      readonly weightLimit: u64;1308    } & Struct;1309    readonly type: 'ServiceOverweight';1310  }13111312  /** @name PalletInflationCall (147) */1313  export interface PalletInflationCall extends Enum {1314    readonly isStartInflation: boolean;1315    readonly asStartInflation: {1316      readonly inflationStartRelayBlock: u32;1317    } & Struct;1318    readonly type: 'StartInflation';1319  }13201321  /** @name PalletUniqueCall (148) */1322  export interface PalletUniqueCall extends Enum {1323    readonly isCreateCollection: boolean;1324    readonly asCreateCollection: {1325      readonly collectionName: Vec<u16>;1326      readonly collectionDescription: Vec<u16>;1327      readonly tokenPrefix: Bytes;1328      readonly mode: UpDataStructsCollectionMode;1329    } & Struct;1330    readonly isCreateCollectionEx: boolean;1331    readonly asCreateCollectionEx: {1332      readonly data: UpDataStructsCreateCollectionData;1333    } & Struct;1334    readonly isDestroyCollection: boolean;1335    readonly asDestroyCollection: {1336      readonly collectionId: u32;1337    } & Struct;1338    readonly isAddToAllowList: boolean;1339    readonly asAddToAllowList: {1340      readonly collectionId: u32;1341      readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1342    } & Struct;1343    readonly isRemoveFromAllowList: boolean;1344    readonly asRemoveFromAllowList: {1345      readonly collectionId: u32;1346      readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1347    } & Struct;1348    readonly isSetPublicAccessMode: boolean;1349    readonly asSetPublicAccessMode: {1350      readonly collectionId: u32;1351      readonly mode: UpDataStructsAccessMode;1352    } & Struct;1353    readonly isSetMintPermission: boolean;1354    readonly asSetMintPermission: {1355      readonly collectionId: u32;1356      readonly mintPermission: bool;1357    } & Struct;1358    readonly isChangeCollectionOwner: boolean;1359    readonly asChangeCollectionOwner: {1360      readonly collectionId: u32;1361      readonly newOwner: AccountId32;1362    } & Struct;1363    readonly isAddCollectionAdmin: boolean;1364    readonly asAddCollectionAdmin: {1365      readonly collectionId: u32;1366      readonly newAdminId: PalletCommonAccountBasicCrossAccountIdRepr;1367    } & Struct;1368    readonly isRemoveCollectionAdmin: boolean;1369    readonly asRemoveCollectionAdmin: {1370      readonly collectionId: u32;1371      readonly accountId: PalletCommonAccountBasicCrossAccountIdRepr;1372    } & Struct;1373    readonly isSetCollectionSponsor: boolean;1374    readonly asSetCollectionSponsor: {1375      readonly collectionId: u32;1376      readonly newSponsor: AccountId32;1377    } & Struct;1378    readonly isConfirmSponsorship: boolean;1379    readonly asConfirmSponsorship: {1380      readonly collectionId: u32;1381    } & Struct;1382    readonly isRemoveCollectionSponsor: boolean;1383    readonly asRemoveCollectionSponsor: {1384      readonly collectionId: u32;1385    } & Struct;1386    readonly isCreateItem: boolean;1387    readonly asCreateItem: {1388      readonly collectionId: u32;1389      readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1390      readonly data: UpDataStructsCreateItemData;1391    } & Struct;1392    readonly isCreateMultipleItems: boolean;1393    readonly asCreateMultipleItems: {1394      readonly collectionId: u32;1395      readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1396      readonly itemsData: Vec<UpDataStructsCreateItemData>;1397    } & Struct;1398    readonly isSetTransfersEnabledFlag: boolean;1399    readonly asSetTransfersEnabledFlag: {1400      readonly collectionId: u32;1401      readonly value: bool;1402    } & Struct;1403    readonly isBurnItem: boolean;1404    readonly asBurnItem: {1405      readonly collectionId: u32;1406      readonly itemId: u32;1407      readonly value: u128;1408    } & Struct;1409    readonly isBurnFrom: boolean;1410    readonly asBurnFrom: {1411      readonly collectionId: u32;1412      readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1413      readonly itemId: u32;1414      readonly value: u128;1415    } & Struct;1416    readonly isTransfer: boolean;1417    readonly asTransfer: {1418      readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1419      readonly collectionId: u32;1420      readonly itemId: u32;1421      readonly value: u128;1422    } & Struct;1423    readonly isApprove: boolean;1424    readonly asApprove: {1425      readonly spender: PalletCommonAccountBasicCrossAccountIdRepr;1426      readonly collectionId: u32;1427      readonly itemId: u32;1428      readonly amount: u128;1429    } & Struct;1430    readonly isTransferFrom: boolean;1431    readonly asTransferFrom: {1432      readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1433      readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1434      readonly collectionId: u32;1435      readonly itemId: u32;1436      readonly value: u128;1437    } & Struct;1438    readonly isSetVariableMetaData: boolean;1439    readonly asSetVariableMetaData: {1440      readonly collectionId: u32;1441      readonly itemId: u32;1442      readonly data: Bytes;1443    } & Struct;1444    readonly isSetMetaUpdatePermissionFlag: boolean;1445    readonly asSetMetaUpdatePermissionFlag: {1446      readonly collectionId: u32;1447      readonly value: UpDataStructsMetaUpdatePermission;1448    } & Struct;1449    readonly isSetSchemaVersion: boolean;1450    readonly asSetSchemaVersion: {1451      readonly collectionId: u32;1452      readonly version: UpDataStructsSchemaVersion;1453    } & Struct;1454    readonly isSetOffchainSchema: boolean;1455    readonly asSetOffchainSchema: {1456      readonly collectionId: u32;1457      readonly schema: Bytes;1458    } & Struct;1459    readonly isSetConstOnChainSchema: boolean;1460    readonly asSetConstOnChainSchema: {1461      readonly collectionId: u32;1462      readonly schema: Bytes;1463    } & Struct;1464    readonly isSetVariableOnChainSchema: boolean;1465    readonly asSetVariableOnChainSchema: {1466      readonly collectionId: u32;1467      readonly schema: Bytes;1468    } & Struct;1469    readonly isSetCollectionLimits: boolean;1470    readonly asSetCollectionLimits: {1471      readonly collectionId: u32;1472      readonly newLimit: UpDataStructsCollectionLimits;1473    } & Struct;1474    readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';1475  }14761477  /** @name UpDataStructsCollectionMode (154) */1478  export interface UpDataStructsCollectionMode extends Enum {1479    readonly isNft: boolean;1480    readonly isFungible: boolean;1481    readonly asFungible: u8;1482    readonly isReFungible: boolean;1483    readonly type: 'Nft' | 'Fungible' | 'ReFungible';1484  }14851486  /** @name UpDataStructsCreateCollectionData (155) */1487  export interface UpDataStructsCreateCollectionData extends Struct {1488    readonly mode: UpDataStructsCollectionMode;1489    readonly access: Option<UpDataStructsAccessMode>;1490    readonly name: Vec<u16>;1491    readonly description: Vec<u16>;1492    readonly tokenPrefix: Bytes;1493    readonly offchainSchema: Bytes;1494    readonly schemaVersion: Option<UpDataStructsSchemaVersion>;1495    readonly pendingSponsor: Option<AccountId32>;1496    readonly limits: Option<UpDataStructsCollectionLimits>;1497    readonly variableOnChainSchema: Bytes;1498    readonly constOnChainSchema: Bytes;1499    readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;1500  }15011502  /** @name UpDataStructsAccessMode (157) */1503  export interface UpDataStructsAccessMode extends Enum {1504    readonly isNormal: boolean;1505    readonly isAllowList: boolean;1506    readonly type: 'Normal' | 'AllowList';1507  }15081509  /** @name UpDataStructsSchemaVersion (160) */1510  export interface UpDataStructsSchemaVersion extends Enum {1511    readonly isImageURL: boolean;1512    readonly isUnique: boolean;1513    readonly type: 'ImageURL' | 'Unique';1514  }15151516  /** @name UpDataStructsCollectionLimits (163) */1517  export interface UpDataStructsCollectionLimits extends Struct {1518    readonly accountTokenOwnershipLimit: Option<u32>;1519    readonly sponsoredDataSize: Option<u32>;1520    readonly sponsoredDataRateLimit: Option<Option<u32>>;1521    readonly tokenLimit: Option<u32>;1522    readonly sponsorTransferTimeout: Option<u32>;1523    readonly sponsorApproveTimeout: Option<u32>;1524    readonly ownerCanTransfer: Option<bool>;1525    readonly ownerCanDestroy: Option<bool>;1526    readonly transfersEnabled: Option<bool>;1527  }15281529  /** @name UpDataStructsMetaUpdatePermission (169) */1530  export interface UpDataStructsMetaUpdatePermission extends Enum {1531    readonly isItemOwner: boolean;1532    readonly isAdmin: boolean;1533    readonly isNone: boolean;1534    readonly type: 'ItemOwner' | 'Admin' | 'None';1535  }15361537  /** @name PalletCommonAccountBasicCrossAccountIdRepr (171) */1538  export interface PalletCommonAccountBasicCrossAccountIdRepr extends Enum {1539    readonly isSubstrate: boolean;1540    readonly asSubstrate: AccountId32;1541    readonly isEthereum: boolean;1542    readonly asEthereum: H160;1543    readonly type: 'Substrate' | 'Ethereum';1544  }15451546  /** @name UpDataStructsCreateItemData (173) */1547  export interface UpDataStructsCreateItemData extends Enum {1548    readonly isNft: boolean;1549    readonly asNft: UpDataStructsCreateNftData;1550    readonly isFungible: boolean;1551    readonly asFungible: UpDataStructsCreateFungibleData;1552    readonly isReFungible: boolean;1553    readonly asReFungible: UpDataStructsCreateReFungibleData;1554    readonly type: 'Nft' | 'Fungible' | 'ReFungible';1555  }15561557  /** @name UpDataStructsCreateNftData (174) */1558  export interface UpDataStructsCreateNftData extends Struct {1559    readonly constData: Bytes;1560    readonly variableData: Bytes;1561  }15621563  /** @name UpDataStructsCreateFungibleData (176) */1564  export interface UpDataStructsCreateFungibleData extends Struct {1565    readonly value: u128;1566  }15671568  /** @name UpDataStructsCreateReFungibleData (177) */1569  export interface UpDataStructsCreateReFungibleData extends Struct {1570    readonly constData: Bytes;1571    readonly variableData: Bytes;1572    readonly pieces: u128;1573  }15741575  /** @name PalletTemplateTransactionPaymentCall (180) */1576  export type PalletTemplateTransactionPaymentCall = Null;15771578  /** @name PalletEvmCall (181) */1579  export interface PalletEvmCall extends Enum {1580    readonly isWithdraw: boolean;1581    readonly asWithdraw: {1582      readonly address: H160;1583      readonly value: u128;1584    } & Struct;1585    readonly isCall: boolean;1586    readonly asCall: {1587      readonly source: H160;1588      readonly target: H160;1589      readonly input: Bytes;1590      readonly value: U256;1591      readonly gasLimit: u64;1592      readonly maxFeePerGas: U256;1593      readonly maxPriorityFeePerGas: Option<U256>;1594      readonly nonce: Option<U256>;1595      readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1596    } & Struct;1597    readonly isCreate: boolean;1598    readonly asCreate: {1599      readonly source: H160;1600      readonly init: Bytes;1601      readonly value: U256;1602      readonly gasLimit: u64;1603      readonly maxFeePerGas: U256;1604      readonly maxPriorityFeePerGas: Option<U256>;1605      readonly nonce: Option<U256>;1606      readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1607    } & Struct;1608    readonly isCreate2: boolean;1609    readonly asCreate2: {1610      readonly source: H160;1611      readonly init: Bytes;1612      readonly salt: H256;1613      readonly value: U256;1614      readonly gasLimit: u64;1615      readonly maxFeePerGas: U256;1616      readonly maxPriorityFeePerGas: Option<U256>;1617      readonly nonce: Option<U256>;1618      readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1619    } & Struct;1620    readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1621  }16221623  /** @name PalletEthereumCall (187) */1624  export interface PalletEthereumCall extends Enum {1625    readonly isTransact: boolean;1626    readonly asTransact: {1627      readonly transaction: EthereumTransactionTransactionV2;1628    } & Struct;1629    readonly type: 'Transact';1630  }16311632  /** @name EthereumTransactionTransactionV2 (188) */1633  export interface EthereumTransactionTransactionV2 extends Enum {1634    readonly isLegacy: boolean;1635    readonly asLegacy: EthereumTransactionLegacyTransaction;1636    readonly isEip2930: boolean;1637    readonly asEip2930: EthereumTransactionEip2930Transaction;1638    readonly isEip1559: boolean;1639    readonly asEip1559: EthereumTransactionEip1559Transaction;1640    readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1641  }16421643  /** @name EthereumTransactionLegacyTransaction (189) */1644  export interface EthereumTransactionLegacyTransaction extends Struct {1645    readonly nonce: U256;1646    readonly gasPrice: U256;1647    readonly gasLimit: U256;1648    readonly action: EthereumTransactionTransactionAction;1649    readonly value: U256;1650    readonly input: Bytes;1651    readonly signature: EthereumTransactionTransactionSignature;1652  }16531654  /** @name EthereumTransactionTransactionAction (190) */1655  export interface EthereumTransactionTransactionAction extends Enum {1656    readonly isCall: boolean;1657    readonly asCall: H160;1658    readonly isCreate: boolean;1659    readonly type: 'Call' | 'Create';1660  }16611662  /** @name EthereumTransactionTransactionSignature (191) */1663  export interface EthereumTransactionTransactionSignature extends Struct {1664    readonly v: u64;1665    readonly r: H256;1666    readonly s: H256;1667  }16681669  /** @name EthereumTransactionEip2930Transaction (193) */1670  export interface EthereumTransactionEip2930Transaction extends Struct {1671    readonly chainId: u64;1672    readonly nonce: U256;1673    readonly gasPrice: U256;1674    readonly gasLimit: U256;1675    readonly action: EthereumTransactionTransactionAction;1676    readonly value: U256;1677    readonly input: Bytes;1678    readonly accessList: Vec<EthereumTransactionAccessListItem>;1679    readonly oddYParity: bool;1680    readonly r: H256;1681    readonly s: H256;1682  }16831684  /** @name EthereumTransactionAccessListItem (195) */1685  export interface EthereumTransactionAccessListItem extends Struct {1686    readonly address: H160;1687    readonly slots: Vec<H256>;1688  }16891690  /** @name EthereumTransactionEip1559Transaction (196) */1691  export interface EthereumTransactionEip1559Transaction extends Struct {1692    readonly chainId: u64;1693    readonly nonce: U256;1694    readonly maxPriorityFeePerGas: U256;1695    readonly maxFeePerGas: U256;1696    readonly gasLimit: U256;1697    readonly action: EthereumTransactionTransactionAction;1698    readonly value: U256;1699    readonly input: Bytes;1700    readonly accessList: Vec<EthereumTransactionAccessListItem>;1701    readonly oddYParity: bool;1702    readonly r: H256;1703    readonly s: H256;1704  }17051706  /** @name PalletEvmMigrationCall (197) */1707  export interface PalletEvmMigrationCall extends Enum {1708    readonly isBegin: boolean;1709    readonly asBegin: {1710      readonly address: H160;1711    } & Struct;1712    readonly isSetData: boolean;1713    readonly asSetData: {1714      readonly address: H160;1715      readonly data: Vec<ITuple<[H256, H256]>>;1716    } & Struct;1717    readonly isFinish: boolean;1718    readonly asFinish: {1719      readonly address: H160;1720      readonly code: Bytes;1721    } & Struct;1722    readonly type: 'Begin' | 'SetData' | 'Finish';1723  }17241725  /** @name PalletSudoEvent (200) */1726  export interface PalletSudoEvent extends Enum {1727    readonly isSudid: boolean;1728    readonly asSudid: {1729      readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1730    } & Struct;1731    readonly isKeyChanged: boolean;1732    readonly asKeyChanged: {1733      readonly oldSudoer: Option<AccountId32>;1734    } & Struct;1735    readonly isSudoAsDone: boolean;1736    readonly asSudoAsDone: {1737      readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1738    } & Struct;1739    readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1740  }17411742  /** @name SpRuntimeDispatchError (202) */1743  export interface SpRuntimeDispatchError extends Enum {1744    readonly isOther: boolean;1745    readonly isCannotLookup: boolean;1746    readonly isBadOrigin: boolean;1747    readonly isModule: boolean;1748    readonly asModule: {1749      readonly index: u8;1750      readonly error: u8;1751    } & Struct;1752    readonly isConsumerRemaining: boolean;1753    readonly isNoProviders: boolean;1754    readonly isTooManyConsumers: boolean;1755    readonly isToken: boolean;1756    readonly asToken: SpRuntimeTokenError;1757    readonly isArithmetic: boolean;1758    readonly asArithmetic: SpRuntimeArithmeticError;1759    readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic';1760  }17611762  /** @name SpRuntimeTokenError (203) */1763  export interface SpRuntimeTokenError extends Enum {1764    readonly isNoFunds: boolean;1765    readonly isWouldDie: boolean;1766    readonly isBelowMinimum: boolean;1767    readonly isCannotCreate: boolean;1768    readonly isUnknownAsset: boolean;1769    readonly isFrozen: boolean;1770    readonly isUnsupported: boolean;1771    readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1772  }17731774  /** @name SpRuntimeArithmeticError (204) */1775  export interface SpRuntimeArithmeticError extends Enum {1776    readonly isUnderflow: boolean;1777    readonly isOverflow: boolean;1778    readonly isDivisionByZero: boolean;1779    readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1780  }17811782  /** @name PalletSudoError (205) */1783  export interface PalletSudoError extends Enum {1784    readonly isRequireSudo: boolean;1785    readonly type: 'RequireSudo';1786  }17871788  /** @name FrameSystemAccountInfo (206) */1789  export interface FrameSystemAccountInfo extends Struct {1790    readonly nonce: u32;1791    readonly consumers: u32;1792    readonly providers: u32;1793    readonly sufficients: u32;1794    readonly data: PalletBalancesAccountData;1795  }17961797  /** @name FrameSupportWeightsPerDispatchClassU64 (207) */1798  export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {1799    readonly normal: u64;1800    readonly operational: u64;1801    readonly mandatory: u64;1802  }18031804  /** @name SpRuntimeDigest (208) */1805  export interface SpRuntimeDigest extends Struct {1806    readonly logs: Vec<SpRuntimeDigestDigestItem>;1807  }18081809  /** @name SpRuntimeDigestDigestItem (210) */1810  export interface SpRuntimeDigestDigestItem extends Enum {1811    readonly isOther: boolean;1812    readonly asOther: Bytes;1813    readonly isConsensus: boolean;1814    readonly asConsensus: ITuple<[U8aFixed, Bytes]>;1815    readonly isSeal: boolean;1816    readonly asSeal: ITuple<[U8aFixed, Bytes]>;1817    readonly isPreRuntime: boolean;1818    readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;1819    readonly isRuntimeEnvironmentUpdated: boolean;1820    readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1821  }18221823  /** @name FrameSystemEventRecord (212) */1824  export interface FrameSystemEventRecord extends Struct {1825    readonly phase: FrameSystemPhase;1826    readonly event: Event;1827    readonly topics: Vec<H256>;1828  }18291830  /** @name FrameSystemEvent (214) */1831  export interface FrameSystemEvent extends Enum {1832    readonly isExtrinsicSuccess: boolean;1833    readonly asExtrinsicSuccess: {1834      readonly dispatchInfo: FrameSupportWeightsDispatchInfo;1835    } & Struct;1836    readonly isExtrinsicFailed: boolean;1837    readonly asExtrinsicFailed: {1838      readonly dispatchError: SpRuntimeDispatchError;1839      readonly dispatchInfo: FrameSupportWeightsDispatchInfo;1840    } & Struct;1841    readonly isCodeUpdated: boolean;1842    readonly isNewAccount: boolean;1843    readonly asNewAccount: {1844      readonly account: AccountId32;1845    } & Struct;1846    readonly isKilledAccount: boolean;1847    readonly asKilledAccount: {1848      readonly account: AccountId32;1849    } & Struct;1850    readonly isRemarked: boolean;1851    readonly asRemarked: {1852      readonly sender: AccountId32;1853      readonly hash_: H256;1854    } & Struct;1855    readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';1856  }18571858  /** @name FrameSupportWeightsDispatchInfo (215) */1859  export interface FrameSupportWeightsDispatchInfo extends Struct {1860    readonly weight: u64;1861    readonly class: FrameSupportWeightsDispatchClass;1862    readonly paysFee: FrameSupportWeightsPays;1863  }18641865  /** @name FrameSupportWeightsDispatchClass (216) */1866  export interface FrameSupportWeightsDispatchClass extends Enum {1867    readonly isNormal: boolean;1868    readonly isOperational: boolean;1869    readonly isMandatory: boolean;1870    readonly type: 'Normal' | 'Operational' | 'Mandatory';1871  }18721873  /** @name FrameSupportWeightsPays (217) */1874  export interface FrameSupportWeightsPays extends Enum {1875    readonly isYes: boolean;1876    readonly isNo: boolean;1877    readonly type: 'Yes' | 'No';1878  }18791880  /** @name OrmlVestingModuleEvent (218) */1881  export interface OrmlVestingModuleEvent extends Enum {1882    readonly isVestingScheduleAdded: boolean;1883    readonly asVestingScheduleAdded: {1884      readonly from: AccountId32;1885      readonly to: AccountId32;1886      readonly vestingSchedule: OrmlVestingVestingSchedule;1887    } & Struct;1888    readonly isClaimed: boolean;1889    readonly asClaimed: {1890      readonly who: AccountId32;1891      readonly amount: u128;1892    } & Struct;1893    readonly isVestingSchedulesUpdated: boolean;1894    readonly asVestingSchedulesUpdated: {1895      readonly who: AccountId32;1896    } & Struct;1897    readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';1898  }18991900  /** @name CumulusPalletXcmpQueueEvent (219) */1901  export interface CumulusPalletXcmpQueueEvent extends Enum {1902    readonly isSuccess: boolean;1903    readonly asSuccess: Option<H256>;1904    readonly isFail: boolean;1905    readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;1906    readonly isBadVersion: boolean;1907    readonly asBadVersion: Option<H256>;1908    readonly isBadFormat: boolean;1909    readonly asBadFormat: Option<H256>;1910    readonly isUpwardMessageSent: boolean;1911    readonly asUpwardMessageSent: Option<H256>;1912    readonly isXcmpMessageSent: boolean;1913    readonly asXcmpMessageSent: Option<H256>;1914    readonly isOverweightEnqueued: boolean;1915    readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;1916    readonly isOverweightServiced: boolean;1917    readonly asOverweightServiced: ITuple<[u64, u64]>;1918    readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';1919  }19201921  /** @name PalletXcmEvent (220) */1922  export interface PalletXcmEvent extends Enum {1923    readonly isAttempted: boolean;1924    readonly asAttempted: XcmV2TraitsOutcome;1925    readonly isSent: boolean;1926    readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;1927    readonly isUnexpectedResponse: boolean;1928    readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;1929    readonly isResponseReady: boolean;1930    readonly asResponseReady: ITuple<[u64, XcmV2Response]>;1931    readonly isNotified: boolean;1932    readonly asNotified: ITuple<[u64, u8, u8]>;1933    readonly isNotifyOverweight: boolean;1934    readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;1935    readonly isNotifyDispatchError: boolean;1936    readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;1937    readonly isNotifyDecodeFailed: boolean;1938    readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;1939    readonly isInvalidResponder: boolean;1940    readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;1941    readonly isInvalidResponderVersion: boolean;1942    readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;1943    readonly isResponseTaken: boolean;1944    readonly asResponseTaken: u64;1945    readonly isAssetsTrapped: boolean;1946    readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;1947    readonly isVersionChangeNotified: boolean;1948    readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;1949    readonly isSupportedVersionChanged: boolean;1950    readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;1951    readonly isNotifyTargetSendFail: boolean;1952    readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;1953    readonly isNotifyTargetMigrationFail: boolean;1954    readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;1955    readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1956  }19571958  /** @name XcmV2TraitsOutcome (221) */1959  export interface XcmV2TraitsOutcome extends Enum {1960    readonly isComplete: boolean;1961    readonly asComplete: u64;1962    readonly isIncomplete: boolean;1963    readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;1964    readonly isError: boolean;1965    readonly asError: XcmV2TraitsError;1966    readonly type: 'Complete' | 'Incomplete' | 'Error';1967  }19681969  /** @name CumulusPalletXcmEvent (223) */1970  export interface CumulusPalletXcmEvent extends Enum {1971    readonly isInvalidFormat: boolean;1972    readonly asInvalidFormat: U8aFixed;1973    readonly isUnsupportedVersion: boolean;1974    readonly asUnsupportedVersion: U8aFixed;1975    readonly isExecutedDownward: boolean;1976    readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1977    readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1978  }19791980  /** @name CumulusPalletDmpQueueEvent (224) */1981  export interface CumulusPalletDmpQueueEvent extends Enum {1982    readonly isInvalidFormat: boolean;1983    readonly asInvalidFormat: U8aFixed;1984    readonly isUnsupportedVersion: boolean;1985    readonly asUnsupportedVersion: U8aFixed;1986    readonly isExecutedDownward: boolean;1987    readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1988    readonly isWeightExhausted: boolean;1989    readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;1990    readonly isOverweightEnqueued: boolean;1991    readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;1992    readonly isOverweightServiced: boolean;1993    readonly asOverweightServiced: ITuple<[u64, u64]>;1994    readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1995  }19961997  /** @name PalletUniqueRawEvent (225) */1998  export interface PalletUniqueRawEvent extends Enum {1999    readonly isCollectionSponsorRemoved: boolean;2000    readonly asCollectionSponsorRemoved: u32;2001    readonly isCollectionAdminAdded: boolean;2002    readonly asCollectionAdminAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2003    readonly isCollectionOwnedChanged: boolean;2004    readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2005    readonly isCollectionSponsorSet: boolean;2006    readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2007    readonly isConstOnChainSchemaSet: boolean;2008    readonly asConstOnChainSchemaSet: u32;2009    readonly isSponsorshipConfirmed: boolean;2010    readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2011    readonly isCollectionAdminRemoved: boolean;2012    readonly asCollectionAdminRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2013    readonly isAllowListAddressRemoved: boolean;2014    readonly asAllowListAddressRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2015    readonly isAllowListAddressAdded: boolean;2016    readonly asAllowListAddressAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2017    readonly isCollectionLimitSet: boolean;2018    readonly asCollectionLimitSet: u32;2019    readonly isMintPermissionSet: boolean;2020    readonly asMintPermissionSet: u32;2021    readonly isOffchainSchemaSet: boolean;2022    readonly asOffchainSchemaSet: u32;2023    readonly isPublicAccessModeSet: boolean;2024    readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;2025    readonly isSchemaVersionSet: boolean;2026    readonly asSchemaVersionSet: u32;2027    readonly isVariableOnChainSchemaSet: boolean;2028    readonly asVariableOnChainSchemaSet: u32;2029    readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';2030  }20312032  /** @name PalletCommonEvent (226) */2033  export interface PalletCommonEvent extends Enum {2034    readonly isCollectionCreated: boolean;2035    readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2036    readonly isCollectionDestroyed: boolean;2037    readonly asCollectionDestroyed: u32;2038    readonly isItemCreated: boolean;2039    readonly asItemCreated: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2040    readonly isItemDestroyed: boolean;2041    readonly asItemDestroyed: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2042    readonly isTransfer: boolean;2043    readonly asTransfer: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2044    readonly isApproved: boolean;2045    readonly asApproved: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2046    readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';2047  }20482049  /** @name PalletEvmEvent (227) */2050  export interface PalletEvmEvent extends Enum {2051    readonly isLog: boolean;2052    readonly asLog: EthereumLog;2053    readonly isCreated: boolean;2054    readonly asCreated: H160;2055    readonly isCreatedFailed: boolean;2056    readonly asCreatedFailed: H160;2057    readonly isExecuted: boolean;2058    readonly asExecuted: H160;2059    readonly isExecutedFailed: boolean;2060    readonly asExecutedFailed: H160;2061    readonly isBalanceDeposit: boolean;2062    readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;2063    readonly isBalanceWithdraw: boolean;2064    readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;2065    readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2066  }20672068  /** @name EthereumLog (228) */2069  export interface EthereumLog extends Struct {2070    readonly address: H160;2071    readonly topics: Vec<H256>;2072    readonly data: Bytes;2073  }20742075  /** @name PalletEthereumEvent (229) */2076  export interface PalletEthereumEvent extends Enum {2077    readonly isExecuted: boolean;2078    readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2079    readonly type: 'Executed';2080  }20812082  /** @name EvmCoreErrorExitReason (230) */2083  export interface EvmCoreErrorExitReason extends Enum {2084    readonly isSucceed: boolean;2085    readonly asSucceed: EvmCoreErrorExitSucceed;2086    readonly isError: boolean;2087    readonly asError: EvmCoreErrorExitError;2088    readonly isRevert: boolean;2089    readonly asRevert: EvmCoreErrorExitRevert;2090    readonly isFatal: boolean;2091    readonly asFatal: EvmCoreErrorExitFatal;2092    readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2093  }20942095  /** @name EvmCoreErrorExitSucceed (231) */2096  export interface EvmCoreErrorExitSucceed extends Enum {2097    readonly isStopped: boolean;2098    readonly isReturned: boolean;2099    readonly isSuicided: boolean;2100    readonly type: 'Stopped' | 'Returned' | 'Suicided';2101  }21022103  /** @name EvmCoreErrorExitError (232) */2104  export interface EvmCoreErrorExitError extends Enum {2105    readonly isStackUnderflow: boolean;2106    readonly isStackOverflow: boolean;2107    readonly isInvalidJump: boolean;2108    readonly isInvalidRange: boolean;2109    readonly isDesignatedInvalid: boolean;2110    readonly isCallTooDeep: boolean;2111    readonly isCreateCollision: boolean;2112    readonly isCreateContractLimit: boolean;2113    readonly isInvalidCode: boolean;2114    readonly isOutOfOffset: boolean;2115    readonly isOutOfGas: boolean;2116    readonly isOutOfFund: boolean;2117    readonly isPcUnderflow: boolean;2118    readonly isCreateEmpty: boolean;2119    readonly isOther: boolean;2120    readonly asOther: Text;2121    readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'InvalidCode' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other';2122  }21232124  /** @name EvmCoreErrorExitRevert (235) */2125  export interface EvmCoreErrorExitRevert extends Enum {2126    readonly isReverted: boolean;2127    readonly type: 'Reverted';2128  }21292130  /** @name EvmCoreErrorExitFatal (236) */2131  export interface EvmCoreErrorExitFatal extends Enum {2132    readonly isNotSupported: boolean;2133    readonly isUnhandledInterrupt: boolean;2134    readonly isCallErrorAsFatal: boolean;2135    readonly asCallErrorAsFatal: EvmCoreErrorExitError;2136    readonly isOther: boolean;2137    readonly asOther: Text;2138    readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2139  }21402141  /** @name FrameSystemPhase (237) */2142  export interface FrameSystemPhase extends Enum {2143    readonly isApplyExtrinsic: boolean;2144    readonly asApplyExtrinsic: u32;2145    readonly isFinalization: boolean;2146    readonly isInitialization: boolean;2147    readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2148  }21492150  /** @name FrameSystemLastRuntimeUpgradeInfo (239) */2151  export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2152    readonly specVersion: Compact<u32>;2153    readonly specName: Text;2154  }21552156  /** @name FrameSystemLimitsBlockWeights (240) */2157  export interface FrameSystemLimitsBlockWeights extends Struct {2158    readonly baseBlock: u64;2159    readonly maxBlock: u64;2160    readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2161  }21622163  /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (241) */2164  export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2165    readonly normal: FrameSystemLimitsWeightsPerClass;2166    readonly operational: FrameSystemLimitsWeightsPerClass;2167    readonly mandatory: FrameSystemLimitsWeightsPerClass;2168  }21692170  /** @name FrameSystemLimitsWeightsPerClass (242) */2171  export interface FrameSystemLimitsWeightsPerClass extends Struct {2172    readonly baseExtrinsic: u64;2173    readonly maxExtrinsic: Option<u64>;2174    readonly maxTotal: Option<u64>;2175    readonly reserved: Option<u64>;2176  }21772178  /** @name FrameSystemLimitsBlockLength (244) */2179  export interface FrameSystemLimitsBlockLength extends Struct {2180    readonly max: FrameSupportWeightsPerDispatchClassU32;2181  }21822183  /** @name FrameSupportWeightsPerDispatchClassU32 (245) */2184  export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2185    readonly normal: u32;2186    readonly operational: u32;2187    readonly mandatory: u32;2188  }21892190  /** @name FrameSupportWeightsRuntimeDbWeight (246) */2191  export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2192    readonly read: u64;2193    readonly write: u64;2194  }21952196  /** @name SpVersionRuntimeVersion (247) */2197  export interface SpVersionRuntimeVersion extends Struct {2198    readonly specName: Text;2199    readonly implName: Text;2200    readonly authoringVersion: u32;2201    readonly specVersion: u32;2202    readonly implVersion: u32;2203    readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2204    readonly transactionVersion: u32;2205    readonly stateVersion: u8;2206  }22072208  /** @name FrameSystemError (251) */2209  export interface FrameSystemError extends Enum {2210    readonly isInvalidSpecName: boolean;2211    readonly isSpecVersionNeedsToIncrease: boolean;2212    readonly isFailedToExtractRuntimeVersion: boolean;2213    readonly isNonDefaultComposite: boolean;2214    readonly isNonZeroRefCount: boolean;2215    readonly isCallFiltered: boolean;2216    readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2217  }22182219  /** @name OrmlVestingModuleError (253) */2220  export interface OrmlVestingModuleError extends Enum {2221    readonly isZeroVestingPeriod: boolean;2222    readonly isZeroVestingPeriodCount: boolean;2223    readonly isInsufficientBalanceToLock: boolean;2224    readonly isTooManyVestingSchedules: boolean;2225    readonly isAmountLow: boolean;2226    readonly isMaxVestingSchedulesExceeded: boolean;2227    readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2228  }22292230  /** @name CumulusPalletXcmpQueueInboundChannelDetails (255) */2231  export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2232    readonly sender: u32;2233    readonly state: CumulusPalletXcmpQueueInboundState;2234    readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2235  }22362237  /** @name CumulusPalletXcmpQueueInboundState (256) */2238  export interface CumulusPalletXcmpQueueInboundState extends Enum {2239    readonly isOk: boolean;2240    readonly isSuspended: boolean;2241    readonly type: 'Ok' | 'Suspended';2242  }22432244  /** @name PolkadotParachainPrimitivesXcmpMessageFormat (259) */2245  export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2246    readonly isConcatenatedVersionedXcm: boolean;2247    readonly isConcatenatedEncodedBlob: boolean;2248    readonly isSignals: boolean;2249    readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2250  }22512252  /** @name CumulusPalletXcmpQueueOutboundChannelDetails (262) */2253  export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2254    readonly recipient: u32;2255    readonly state: CumulusPalletXcmpQueueOutboundState;2256    readonly signalsExist: bool;2257    readonly firstIndex: u16;2258    readonly lastIndex: u16;2259  }22602261  /** @name CumulusPalletXcmpQueueOutboundState (263) */2262  export interface CumulusPalletXcmpQueueOutboundState extends Enum {2263    readonly isOk: boolean;2264    readonly isSuspended: boolean;2265    readonly type: 'Ok' | 'Suspended';2266  }22672268  /** @name CumulusPalletXcmpQueueQueueConfigData (265) */2269  export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2270    readonly suspendThreshold: u32;2271    readonly dropThreshold: u32;2272    readonly resumeThreshold: u32;2273    readonly thresholdWeight: u64;2274    readonly weightRestrictDecay: u64;2275    readonly xcmpMaxIndividualWeight: u64;2276  }22772278  /** @name CumulusPalletXcmpQueueError (267) */2279  export interface CumulusPalletXcmpQueueError extends Enum {2280    readonly isFailedToSend: boolean;2281    readonly isBadXcmOrigin: boolean;2282    readonly isBadXcm: boolean;2283    readonly isBadOverweightIndex: boolean;2284    readonly isWeightOverLimit: boolean;2285    readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2286  }22872288  /** @name PalletXcmError (268) */2289  export interface PalletXcmError extends Enum {2290    readonly isUnreachable: boolean;2291    readonly isSendFailure: boolean;2292    readonly isFiltered: boolean;2293    readonly isUnweighableMessage: boolean;2294    readonly isDestinationNotInvertible: boolean;2295    readonly isEmpty: boolean;2296    readonly isCannotReanchor: boolean;2297    readonly isTooManyAssets: boolean;2298    readonly isInvalidOrigin: boolean;2299    readonly isBadVersion: boolean;2300    readonly isBadLocation: boolean;2301    readonly isNoSubscription: boolean;2302    readonly isAlreadySubscribed: boolean;2303    readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2304  }23052306  /** @name CumulusPalletXcmError (269) */2307  export type CumulusPalletXcmError = Null;23082309  /** @name CumulusPalletDmpQueueConfigData (270) */2310  export interface CumulusPalletDmpQueueConfigData extends Struct {2311    readonly maxIndividual: u64;2312  }23132314  /** @name CumulusPalletDmpQueuePageIndexData (271) */2315  export interface CumulusPalletDmpQueuePageIndexData extends Struct {2316    readonly beginUsed: u32;2317    readonly endUsed: u32;2318    readonly overweightCount: u64;2319  }23202321  /** @name CumulusPalletDmpQueueError (274) */2322  export interface CumulusPalletDmpQueueError extends Enum {2323    readonly isUnknown: boolean;2324    readonly isOverLimit: boolean;2325    readonly type: 'Unknown' | 'OverLimit';2326  }23272328  /** @name PalletUniqueError (278) */2329  export interface PalletUniqueError extends Enum {2330    readonly isCollectionDecimalPointLimitExceeded: boolean;2331    readonly isConfirmUnsetSponsorFail: boolean;2332    readonly isEmptyArgument: boolean;2333    readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2334  }23352336  /** @name UpDataStructsCollection (279) */2337  export interface UpDataStructsCollection extends Struct {2338    readonly owner: AccountId32;2339    readonly mode: UpDataStructsCollectionMode;2340    readonly access: UpDataStructsAccessMode;2341    readonly name: Vec<u16>;2342    readonly description: Vec<u16>;2343    readonly tokenPrefix: Bytes;2344    readonly mintMode: bool;2345    readonly offchainSchema: Bytes;2346    readonly schemaVersion: UpDataStructsSchemaVersion;2347    readonly sponsorship: UpDataStructsSponsorshipState;2348    readonly limits: UpDataStructsCollectionLimits;2349    readonly variableOnChainSchema: Bytes;2350    readonly constOnChainSchema: Bytes;2351    readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;2352  }23532354  /** @name UpDataStructsSponsorshipState (280) */2355  export interface UpDataStructsSponsorshipState extends Enum {2356    readonly isDisabled: boolean;2357    readonly isUnconfirmed: boolean;2358    readonly asUnconfirmed: AccountId32;2359    readonly isConfirmed: boolean;2360    readonly asConfirmed: AccountId32;2361    readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2362  }23632364  /** @name UpDataStructsCollectionStats (283) */2365  export interface UpDataStructsCollectionStats extends Struct {2366    readonly created: u32;2367    readonly destroyed: u32;2368    readonly alive: u32;2369  }23702371  /** @name PalletCommonError (284) */2372  export interface PalletCommonError extends Enum {2373    readonly isCollectionNotFound: boolean;2374    readonly isMustBeTokenOwner: boolean;2375    readonly isNoPermission: boolean;2376    readonly isPublicMintingNotAllowed: boolean;2377    readonly isAddressNotInAllowlist: boolean;2378    readonly isCollectionNameLimitExceeded: boolean;2379    readonly isCollectionDescriptionLimitExceeded: boolean;2380    readonly isCollectionTokenPrefixLimitExceeded: boolean;2381    readonly isTotalCollectionsLimitExceeded: boolean;2382    readonly isTokenVariableDataLimitExceeded: boolean;2383    readonly isCollectionAdminCountExceeded: boolean;2384    readonly isCollectionLimitBoundsExceeded: boolean;2385    readonly isOwnerPermissionsCantBeReverted: boolean;2386    readonly isTransferNotAllowed: boolean;2387    readonly isAccountTokenLimitExceeded: boolean;2388    readonly isCollectionTokenLimitExceeded: boolean;2389    readonly isMetadataFlagFrozen: boolean;2390    readonly isTokenNotFound: boolean;2391    readonly isTokenValueTooLow: boolean;2392    readonly isApprovedValueTooLow: boolean;2393    readonly isCantApproveMoreThanOwned: boolean;2394    readonly isAddressIsZero: boolean;2395    readonly isUnsupportedOperation: boolean;2396    readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation';2397  }23982399  /** @name PalletFungibleError (286) */2400  export interface PalletFungibleError extends Enum {2401    readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2402    readonly isFungibleItemsHaveNoId: boolean;2403    readonly isFungibleItemsDontHaveData: boolean;2404    readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData';2405  }24062407  /** @name PalletRefungibleItemData (287) */2408  export interface PalletRefungibleItemData extends Struct {2409    readonly constData: Bytes;2410    readonly variableData: Bytes;2411  }24122413  /** @name PalletRefungibleError (291) */2414  export interface PalletRefungibleError extends Enum {2415    readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2416    readonly isWrongRefungiblePieces: boolean;2417    readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces';2418  }24192420  /** @name PalletNonfungibleItemData (292) */2421  export interface PalletNonfungibleItemData extends Struct {2422    readonly constData: Bytes;2423    readonly variableData: Bytes;2424    readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;2425  }24262427  /** @name PalletNonfungibleError (293) */2428  export interface PalletNonfungibleError extends Enum {2429    readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2430    readonly isNonfungibleItemsHaveNoAmount: boolean;2431    readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';2432  }24332434  /** @name PalletEvmError (295) */2435  export interface PalletEvmError extends Enum {2436    readonly isBalanceLow: boolean;2437    readonly isFeeOverflow: boolean;2438    readonly isPaymentOverflow: boolean;2439    readonly isWithdrawFailed: boolean;2440    readonly isGasPriceTooLow: boolean;2441    readonly isInvalidNonce: boolean;2442    readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2443  }24442445  /** @name FpRpcTransactionStatus (298) */2446  export interface FpRpcTransactionStatus extends Struct {2447    readonly transactionHash: H256;2448    readonly transactionIndex: u32;2449    readonly from: H160;2450    readonly to: Option<H160>;2451    readonly contractAddress: Option<H160>;2452    readonly logs: Vec<EthereumLog>;2453    readonly logsBloom: EthbloomBloom;2454  }24552456  /** @name EthbloomBloom (301) */2457  export interface EthbloomBloom extends U8aFixed {}24582459  /** @name EthereumReceiptReceiptV3 (303) */2460  export interface EthereumReceiptReceiptV3 extends Enum {2461    readonly isLegacy: boolean;2462    readonly asLegacy: EthereumReceiptEip658ReceiptData;2463    readonly isEip2930: boolean;2464    readonly asEip2930: EthereumReceiptEip658ReceiptData;2465    readonly isEip1559: boolean;2466    readonly asEip1559: EthereumReceiptEip658ReceiptData;2467    readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2468  }24692470  /** @name EthereumReceiptEip658ReceiptData (304) */2471  export interface EthereumReceiptEip658ReceiptData extends Struct {2472    readonly statusCode: u8;2473    readonly usedGas: U256;2474    readonly logsBloom: EthbloomBloom;2475    readonly logs: Vec<EthereumLog>;2476  }24772478  /** @name EthereumBlock (305) */2479  export interface EthereumBlock extends Struct {2480    readonly header: EthereumHeader;2481    readonly transactions: Vec<EthereumTransactionTransactionV2>;2482    readonly ommers: Vec<EthereumHeader>;2483  }24842485  /** @name EthereumHeader (306) */2486  export interface EthereumHeader extends Struct {2487    readonly parentHash: H256;2488    readonly ommersHash: H256;2489    readonly beneficiary: H160;2490    readonly stateRoot: H256;2491    readonly transactionsRoot: H256;2492    readonly receiptsRoot: H256;2493    readonly logsBloom: EthbloomBloom;2494    readonly difficulty: U256;2495    readonly number: U256;2496    readonly gasLimit: U256;2497    readonly gasUsed: U256;2498    readonly timestamp: u64;2499    readonly extraData: Bytes;2500    readonly mixHash: H256;2501    readonly nonce: EthereumTypesHashH64;2502  }25032504  /** @name EthereumTypesHashH64 (307) */2505  export interface EthereumTypesHashH64 extends U8aFixed {}25062507  /** @name PalletEthereumError (312) */2508  export interface PalletEthereumError extends Enum {2509    readonly isInvalidSignature: boolean;2510    readonly isPreLogExists: boolean;2511    readonly type: 'InvalidSignature' | 'PreLogExists';2512  }25132514  /** @name PalletEvmCoderSubstrateError (313) */2515  export interface PalletEvmCoderSubstrateError extends Enum {2516    readonly isOutOfGas: boolean;2517    readonly isOutOfFund: boolean;2518    readonly type: 'OutOfGas' | 'OutOfFund';2519  }25202521  /** @name PalletEvmContractHelpersSponsoringModeT (314) */2522  export interface PalletEvmContractHelpersSponsoringModeT extends Enum {2523    readonly isDisabled: boolean;2524    readonly isAllowlisted: boolean;2525    readonly isGenerous: boolean;2526    readonly type: 'Disabled' | 'Allowlisted' | 'Generous';2527  }25282529  /** @name PalletEvmContractHelpersError (316) */2530  export interface PalletEvmContractHelpersError extends Enum {2531    readonly isNoPermission: boolean;2532    readonly type: 'NoPermission';2533  }25342535  /** @name PalletEvmMigrationError (317) */2536  export interface PalletEvmMigrationError extends Enum {2537    readonly isAccountNotEmpty: boolean;2538    readonly isAccountIsNotMigrating: boolean;2539    readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';2540  }25412542  /** @name SpRuntimeMultiSignature (319) */2543  export interface SpRuntimeMultiSignature extends Enum {2544    readonly isEd25519: boolean;2545    readonly asEd25519: SpCoreEd25519Signature;2546    readonly isSr25519: boolean;2547    readonly asSr25519: SpCoreSr25519Signature;2548    readonly isEcdsa: boolean;2549    readonly asEcdsa: SpCoreEcdsaSignature;2550    readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2551  }25522553  /** @name SpCoreEd25519Signature (320) */2554  export interface SpCoreEd25519Signature extends U8aFixed {}25552556  /** @name SpCoreSr25519Signature (322) */2557  export interface SpCoreSr25519Signature extends U8aFixed {}25582559  /** @name SpCoreEcdsaSignature (323) */2560  export interface SpCoreEcdsaSignature extends U8aFixed {}25612562  /** @name FrameSystemExtensionsCheckSpecVersion (326) */2563  export type FrameSystemExtensionsCheckSpecVersion = Null;25642565  /** @name FrameSystemExtensionsCheckGenesis (327) */2566  export type FrameSystemExtensionsCheckGenesis = Null;25672568  /** @name FrameSystemExtensionsCheckNonce (330) */2569  export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}25702571  /** @name FrameSystemExtensionsCheckWeight (331) */2572  export type FrameSystemExtensionsCheckWeight = Null;25732574  /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (332) */2575  export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}25762577  /** @name UniqueRuntimeRuntime (333) */2578  export type UniqueRuntimeRuntime = Null;25792580} // declare module
modifiedtests/src/interfaces/unique/types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/unique/types.ts
+++ b/tests/src/interfaces/unique/types.ts
@@ -1720,7 +1720,7 @@
 export interface UpDataStructsCollectionLimits extends Struct {
   readonly accountTokenOwnershipLimit: Option<u32>;
   readonly sponsoredDataSize: Option<u32>;
-  readonly sponsoredDataRateLimit: Option<Option<u32>>;
+  readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;
   readonly tokenLimit: Option<u32>;
   readonly sponsorTransferTimeout: Option<u32>;
   readonly sponsorApproveTimeout: Option<u32>;
@@ -1805,6 +1805,13 @@
   readonly type: 'ImageURL' | 'Unique';
 }
 
+/** @name UpDataStructsSponsoringRateLimit */
+export interface UpDataStructsSponsoringRateLimit extends Enum {
+  readonly isSponsoringDisabled: boolean;
+  readonly isBlocks: boolean;
+  readonly asBlocks: u32;
+}
+
 /** @name UpDataStructsSponsorshipState */
 export interface UpDataStructsSponsorshipState extends Enum {
   readonly isDisabled: boolean;
modifiedtests/src/setVariableMetadataSponsoringRateLimit.test.tsdiffbeforeafterboth
--- a/tests/src/setVariableMetadataSponsoringRateLimit.test.ts
+++ b/tests/src/setVariableMetadataSponsoringRateLimit.test.ts
@@ -4,6 +4,7 @@
 //
 
 import {IKeyringPair} from '@polkadot/types/types';
+import {expect} from 'chai';
 import privateKey from './substrate/privateKey';
 import usingApi from './substrate/substrate-api';
 import {
@@ -11,6 +12,7 @@
   createCollectionExpectSuccess,
   createItemExpectSuccess,
   findUnusedAddress,
+  getDetailedCollectionInfo,
   setCollectionLimitsExpectSuccess,
   setCollectionSponsorExpectSuccess,
   setVariableMetaDataExpectFailure,
@@ -33,7 +35,7 @@
     await setCollectionSponsorExpectSuccess(collectionId, alice.address);
     await confirmSponsorshipExpectSuccess(collectionId);
     await setCollectionLimitsExpectSuccess(alice, collectionId, {
-      sponsoredDataRateLimit: 0,
+      sponsoredDataRateLimit: {Blocks: 0},
     });
 
     const itemId = await createItemExpectSuccess(alice, collectionId, 'NFT', userWithNoBalance.address);
@@ -46,7 +48,7 @@
     await setCollectionSponsorExpectSuccess(collectionId, alice.address);
     await confirmSponsorshipExpectSuccess(collectionId);
     await setCollectionLimitsExpectSuccess(alice, collectionId, {
-      sponsoredDataRateLimit: 10,
+      sponsoredDataRateLimit: {Blocks: 10},
     });
 
     const itemId = await createItemExpectSuccess(alice, collectionId, 'NFT', userWithNoBalance.address);
@@ -59,7 +61,7 @@
     await setCollectionSponsorExpectSuccess(collectionId, alice.address);
     await confirmSponsorshipExpectSuccess(collectionId);
     await setCollectionLimitsExpectSuccess(alice, collectionId, {
-      sponsoredDataRateLimit: 0,
+      sponsoredDataRateLimit: {Blocks: 0},
       sponsoredDataSize: 1,
     });
     const itemId = await createItemExpectSuccess(alice, collectionId, 'NFT', userWithNoBalance.address);
@@ -77,4 +79,32 @@
     await setVariableMetaDataExpectFailure(userWithNoBalance, collectionId, itemId, [1]);
   });
 
+  it('sponsoring of data is disabled by default', async () => {
+    await usingApi(async api => {
+      const collectionId = await createCollectionExpectSuccess();
+
+      const collection = (await getDetailedCollectionInfo(api, collectionId))!;
+      // limit is none = default is used
+      expect(collection?.limits.sponsoredDataRateLimit.isNone);
+    });
+  });
+
+  it('sponsoring can be disabled explicitly', async () => {
+    await usingApi(async api => {
+      const collectionId = await createCollectionExpectSuccess();
+
+      await setCollectionLimitsExpectSuccess(alice, collectionId, {sponsoredDataRateLimit: {Blocks: 6}});
+      {
+        const collection = (await getDetailedCollectionInfo(api, collectionId))!;
+        expect(collection?.limits.sponsoredDataRateLimit.unwrap().asBlocks.toNumber()).to.equal(6);
+      }
+
+      await setCollectionLimitsExpectSuccess(alice, collectionId, {sponsoredDataRateLimit: 'SponsoringDisabled'});
+      {
+        const collection = (await getDetailedCollectionInfo(api, collectionId))!;
+        // disabled sponsoring = default value
+        expect(collection?.limits.sponsoredDataRateLimit.unwrap().isNone).to.true;
+      }
+    });
+  });
 });