git.delta.rocks / unique-network / refs/commits / 68b26b95f7a0

difftreelog

CORE-238 add effective_collection_limits

Trubnikov Sergey2022-03-24parent: #c8aac15.patch.diff
in: master

13 files changed

modifiedCargo.lockdiffbeforeafterboth
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -9360,6 +9360,42 @@
 ]
 
 [[package]]
+name = "sc-consensus-manual-seal"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
+dependencies = [
+ "assert_matches",
+ "async-trait",
+ "futures 0.3.21",
+ "jsonrpc-core",
+ "jsonrpc-core-client",
+ "jsonrpc-derive",
+ "log",
+ "parity-scale-codec",
+ "sc-client-api",
+ "sc-consensus",
+ "sc-consensus-aura",
+ "sc-consensus-babe",
+ "sc-consensus-epochs",
+ "sc-transaction-pool",
+ "sc-transaction-pool-api",
+ "serde",
+ "sp-api",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-consensus-aura",
+ "sp-consensus-babe",
+ "sp-consensus-slots",
+ "sp-core",
+ "sp-inherents",
+ "sp-keystore",
+ "sp-runtime",
+ "sp-timestamp",
+ "substrate-prometheus-endpoint",
+ "thiserror",
+]
+
+[[package]]
 name = "sc-consensus-slots"
 version = "0.10.0-dev"
 source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
@@ -11697,7 +11733,7 @@
  "chrono",
  "lazy_static",
  "matchers",
- "parking_lot 0.11.2",
+ "parking_lot 0.10.2",
  "regex",
  "serde",
  "serde_json",
@@ -11957,6 +11993,7 @@
  "sc-client-api",
  "sc-consensus",
  "sc-consensus-aura",
+ "sc-consensus-manual-seal",
  "sc-executor",
  "sc-finality-grandpa",
  "sc-keystore",
modifiedclient/rpc/src/lib.rsdiffbeforeafterboth
--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -19,7 +19,7 @@
 use codec::Decode;
 use jsonrpc_core::{Error as RpcError, ErrorCode, Result};
 use jsonrpc_derive::rpc;
-use up_data_structs::{Collection, CollectionId, CollectionStats, TokenId};
+use up_data_structs::{Collection, CollectionId, CollectionStats, CollectionLimits, TokenId};
 use sp_api::{BlockId, BlockT, ProvideRuntimeApi, ApiExt};
 use sp_blockchain::HeaderBackend;
 use up_rpc::UniqueApi as UniqueRuntimeApi;
@@ -119,6 +119,12 @@
 	) -> Result<Option<Collection<AccountId>>>;
 	#[rpc(name = "unique_collectionStats")]
 	fn collection_stats(&self, at: Option<BlockHash>) -> Result<CollectionStats>;
+	#[rpc(name = "unique_effectiveCollectionLimits")]
+	fn effective_collection_limits(
+		&self,
+		collection_id: CollectionId,
+		at: Option<BlockHash>
+	) -> Result<Option<CollectionLimits>>;
 }
 
 pub struct Unique<C, P> {
@@ -222,4 +228,5 @@
 	pass_method!(last_token_id(collection: CollectionId) -> TokenId);
 	pass_method!(collection_by_id(collection: CollectionId) -> Option<Collection<AccountId>>);
 	pass_method!(collection_stats() -> CollectionStats);
+	pass_method!(effective_collection_limits(collection_id: CollectionId) -> Option<CollectionLimits>);
 }
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -33,7 +33,7 @@
 	TokenId, Weight, WithdrawReasons, CollectionStats, MAX_TOKEN_OWNERSHIP, CollectionMode,
 	NFT_SPONSOR_TRANSFER_TIMEOUT, FUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,
 	REFUNGIBLE_SPONSOR_TRANSFER_TIMEOUT, MAX_SPONSOR_TIMEOUT, CUSTOM_DATA_LIMIT, CollectionLimits,
-	CustomDataLimit, CreateCollectionData, SponsorshipState, CreateItemExData,
+	CustomDataLimit, CreateCollectionData, SponsorshipState, CreateItemExData, SponsoringRateLimit
 };
 pub use pallet::*;
 use sp_core::H160;
@@ -421,6 +421,30 @@
 			alive: created.0 - destroyed.0,
 		}
 	}
+
+	pub fn effective_collection_limits(collection: CollectionId) -> Option<CollectionLimits> {
+		let collection = <CollectionById<T>>::get(collection);
+		if collection.is_none() {
+			return None;
+		}
+		
+		let limits = collection.unwrap().limits;
+		let effective_limits = CollectionLimits {
+			account_token_ownership_limit: Some(limits.account_token_ownership_limit()),
+			sponsored_data_size: Some(limits.sponsored_data_size()),
+			sponsored_data_rate_limit: Some(
+				limits.sponsored_data_rate_limit
+				.unwrap_or(SponsoringRateLimit::SponsoringDisabled)),
+			token_limit: Some(limits.token_limit()),
+			sponsor_transfer_timeout: Some(limits.sponsor_transfer_timeout(MAX_SPONSOR_TIMEOUT)),
+			sponsor_approve_timeout: Some(limits.sponsor_approve_timeout()),
+			owner_can_transfer: Some(limits.owner_can_transfer()),
+			owner_can_destroy: Some(limits.owner_can_destroy()),
+			transfers_enabled: Some(limits.transfers_enabled()),
+		};
+
+		Some(effective_limits)
+	}
 }
 
 impl<T: Config> Pallet<T> {
modifiedprimitives/rpc/src/lib.rsdiffbeforeafterboth
--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -16,7 +16,7 @@
 
 #![cfg_attr(not(feature = "std"), no_std)]
 
-use up_data_structs::{CollectionId, TokenId, Collection, CollectionStats};
+use up_data_structs::{CollectionId, TokenId, Collection, CollectionStats, CollectionLimits};
 use sp_std::vec::Vec;
 use sp_core::H160;
 use codec::Decode;
@@ -59,5 +59,6 @@
 		fn last_token_id(collection: CollectionId) -> Result<TokenId>;
 		fn collection_by_id(collection: CollectionId) -> Result<Option<Collection<AccountId>>>;
 		fn collection_stats() -> Result<CollectionStats>;
+		fn effective_collection_limits(collection_id: CollectionId) -> Result<Option<CollectionLimits>>;
 	}
 }
modifiedruntime/common/src/runtime_apis.rsdiffbeforeafterboth
--- a/runtime/common/src/runtime_apis.rs
+++ b/runtime/common/src/runtime_apis.rs
@@ -69,6 +69,10 @@
                 fn collection_stats() -> Result<CollectionStats, DispatchError> {
                     Ok(<pallet_common::Pallet<Runtime>>::collection_stats())
                 }
+
+                fn effective_collection_limits(collection: CollectionId) -> Result<Option<CollectionLimits>, DispatchError> {
+                    Ok(<pallet_common::Pallet<Runtime>>::effective_collection_limits(collection))
+                }
             }
 
             impl sp_api::Core<Block> for Runtime {
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -105,6 +105,10 @@
        **/
       NoPermission: AugmentedError<ApiType>;
       /**
+       * Not sufficient founds to perform action
+       **/
+      NotSufficientFounds: AugmentedError<ApiType>;
+      /**
        * Tried to enable permissions which are only permitted to be disabled
        **/
       OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -1,7 +1,7 @@
 // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
 /* eslint-disable */
 
-import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsCollection, UpDataStructsCollectionStats } from './unique';
+import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionStats } from './unique';
 import type { AugmentedRpc } from '@polkadot/rpc-core/types';
 import type { Metadata, StorageKey } from '@polkadot/types';
 import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
@@ -604,6 +604,10 @@
        **/
       constMetadata: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
       /**
+       * Get effective collection limits
+       **/
+      effectiveCollectionLimits: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollectionLimits>>>;
+      /**
        * Get last token id
        **/
       lastTokenId: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;
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, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, 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 { 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, OpalRuntimeRuntime, 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, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, 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';
@@ -18,7 +18,7 @@
 import type { StatementKind } from '@polkadot/types/interfaces/claims';
 import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
 import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
-import type { AliveContractInfo, CodeHash, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
+import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
 import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
 import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
 import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
@@ -198,6 +198,7 @@
     ClassMetadata: ClassMetadata;
     CodecHash: CodecHash;
     CodeHash: CodeHash;
+    CodeSource: CodeSource;
     CodeUploadRequest: CodeUploadRequest;
     CodeUploadResult: CodeUploadResult;
     CodeUploadResultValue: CodeUploadResultValue;
@@ -250,6 +251,7 @@
     ContractInfo: ContractInfo;
     ContractInstantiateResult: ContractInstantiateResult;
     ContractInstantiateResultTo267: ContractInstantiateResultTo267;
+    ContractInstantiateResultTo299: ContractInstantiateResultTo299;
     ContractLayoutArray: ContractLayoutArray;
     ContractLayoutCell: ContractLayoutCell;
     ContractLayoutEnum: ContractLayoutEnum;
@@ -591,7 +593,10 @@
     InstanceId: InstanceId;
     InstanceMetadata: InstanceMetadata;
     InstantiateRequest: InstantiateRequest;
+    InstantiateRequestV1: InstantiateRequestV1;
+    InstantiateRequestV2: InstantiateRequestV2;
     InstantiateReturnValue: InstantiateReturnValue;
+    InstantiateReturnValueOk: InstantiateReturnValueOk;
     InstantiateReturnValueTo267: InstantiateReturnValueTo267;
     InstructionV2: InstructionV2;
     InstructionWeights: InstructionWeights;
@@ -707,6 +712,7 @@
     OffchainAccuracyCompact: OffchainAccuracyCompact;
     OffenceDetails: OffenceDetails;
     Offender: Offender;
+    OpalRuntimeRuntime: OpalRuntimeRuntime;
     OpaqueCall: OpaqueCall;
     OpaqueMultiaddr: OpaqueMultiaddr;
     OpaqueNetworkState: OpaqueNetworkState;
@@ -1146,7 +1152,6 @@
     UnappliedSlash: UnappliedSlash;
     UnappliedSlashOther: UnappliedSlashOther;
     UncleEntryItem: UncleEntryItem;
-    UniqueRuntimeRuntime: UniqueRuntimeRuntime;
     UnknownTransaction: UnknownTransaction;
     UnlockChunk: UnlockChunk;
     UnrewardedRelayer: UnrewardedRelayer;
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1756,7 +1756,7 @@
     }
   },
   /**
-   * Lookup225: frame_system::EventRecord<unique_runtime::Event, primitive_types::H256>
+   * Lookup225: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
    **/
   FrameSystemEventRecord: {
     phase: 'FrameSystemPhase',
@@ -2240,7 +2240,7 @@
    * Lookup297: pallet_common::pallet::Error<T>
    **/
   PalletCommonError: {
-    _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation']
+    _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds']
   },
   /**
    * Lookup299: pallet_fungible::pallet::Error<T>
@@ -2417,11 +2417,11 @@
    **/
   FrameSystemExtensionsCheckWeight: 'Null',
   /**
-   * Lookup345: pallet_template_transaction_payment::ChargeTransactionPayment<unique_runtime::Runtime>
+   * Lookup345: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
    **/
   PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
   /**
-   * Lookup346: unique_runtime::Runtime
+   * Lookup346: opal_runtime::Runtime
    **/
-  UniqueRuntimeRuntime: 'Null'
+  OpalRuntimeRuntime: 'Null'
 };
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 (61) */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 (64) */297  export interface PalletTransactionPaymentReleases extends Enum {298    readonly isV1Ancient: boolean;299    readonly isV2: boolean;300    readonly type: 'V1Ancient' | 'V2';301  }302303  /** @name FrameSupportWeightsWeightToFeeCoefficient (66) */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 (68) */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 (71) */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 (73) */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 (76) */374  export interface FrameSupportPalletId extends U8aFixed {}375376  /** @name PalletTreasuryError (77) */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 (78) */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 (80) */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 (83) */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 (84) */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 (86) */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 isSuspendXcmExecution: boolean;485    readonly isResumeXcmExecution: boolean;486    readonly isUpdateSuspendThreshold: boolean;487    readonly asUpdateSuspendThreshold: {488      readonly new_: u32;489    } & Struct;490    readonly isUpdateDropThreshold: boolean;491    readonly asUpdateDropThreshold: {492      readonly new_: u32;493    } & Struct;494    readonly isUpdateResumeThreshold: boolean;495    readonly asUpdateResumeThreshold: {496      readonly new_: u32;497    } & Struct;498    readonly isUpdateThresholdWeight: boolean;499    readonly asUpdateThresholdWeight: {500      readonly new_: u64;501    } & Struct;502    readonly isUpdateWeightRestrictDecay: boolean;503    readonly asUpdateWeightRestrictDecay: {504      readonly new_: u64;505    } & Struct;506    readonly isUpdateXcmpMaxIndividualWeight: boolean;507    readonly asUpdateXcmpMaxIndividualWeight: {508      readonly new_: u64;509    } & Struct;510    readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';511  }512513  /** @name PalletXcmCall (87) */514  export interface PalletXcmCall extends Enum {515    readonly isSend: boolean;516    readonly asSend: {517      readonly dest: XcmVersionedMultiLocation;518      readonly message: XcmVersionedXcm;519    } & Struct;520    readonly isTeleportAssets: boolean;521    readonly asTeleportAssets: {522      readonly dest: XcmVersionedMultiLocation;523      readonly beneficiary: XcmVersionedMultiLocation;524      readonly assets: XcmVersionedMultiAssets;525      readonly feeAssetItem: u32;526    } & Struct;527    readonly isReserveTransferAssets: boolean;528    readonly asReserveTransferAssets: {529      readonly dest: XcmVersionedMultiLocation;530      readonly beneficiary: XcmVersionedMultiLocation;531      readonly assets: XcmVersionedMultiAssets;532      readonly feeAssetItem: u32;533    } & Struct;534    readonly isExecute: boolean;535    readonly asExecute: {536      readonly message: XcmVersionedXcm;537      readonly maxWeight: u64;538    } & Struct;539    readonly isForceXcmVersion: boolean;540    readonly asForceXcmVersion: {541      readonly location: XcmV1MultiLocation;542      readonly xcmVersion: u32;543    } & Struct;544    readonly isForceDefaultXcmVersion: boolean;545    readonly asForceDefaultXcmVersion: {546      readonly maybeXcmVersion: Option<u32>;547    } & Struct;548    readonly isForceSubscribeVersionNotify: boolean;549    readonly asForceSubscribeVersionNotify: {550      readonly location: XcmVersionedMultiLocation;551    } & Struct;552    readonly isForceUnsubscribeVersionNotify: boolean;553    readonly asForceUnsubscribeVersionNotify: {554      readonly location: XcmVersionedMultiLocation;555    } & Struct;556    readonly isLimitedReserveTransferAssets: boolean;557    readonly asLimitedReserveTransferAssets: {558      readonly dest: XcmVersionedMultiLocation;559      readonly beneficiary: XcmVersionedMultiLocation;560      readonly assets: XcmVersionedMultiAssets;561      readonly feeAssetItem: u32;562      readonly weightLimit: XcmV2WeightLimit;563    } & Struct;564    readonly isLimitedTeleportAssets: boolean;565    readonly asLimitedTeleportAssets: {566      readonly dest: XcmVersionedMultiLocation;567      readonly beneficiary: XcmVersionedMultiLocation;568      readonly assets: XcmVersionedMultiAssets;569      readonly feeAssetItem: u32;570      readonly weightLimit: XcmV2WeightLimit;571    } & Struct;572    readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';573  }574575  /** @name XcmVersionedMultiLocation (88) */576  export interface XcmVersionedMultiLocation extends Enum {577    readonly isV0: boolean;578    readonly asV0: XcmV0MultiLocation;579    readonly isV1: boolean;580    readonly asV1: XcmV1MultiLocation;581    readonly type: 'V0' | 'V1';582  }583584  /** @name XcmV0MultiLocation (89) */585  export interface XcmV0MultiLocation extends Enum {586    readonly isNull: boolean;587    readonly isX1: boolean;588    readonly asX1: XcmV0Junction;589    readonly isX2: boolean;590    readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;591    readonly isX3: boolean;592    readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;593    readonly isX4: boolean;594    readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;595    readonly isX5: boolean;596    readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;597    readonly isX6: boolean;598    readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;599    readonly isX7: boolean;600    readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;601    readonly isX8: boolean;602    readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;603    readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';604  }605606  /** @name XcmV0Junction (90) */607  export interface XcmV0Junction extends Enum {608    readonly isParent: boolean;609    readonly isParachain: boolean;610    readonly asParachain: Compact<u32>;611    readonly isAccountId32: boolean;612    readonly asAccountId32: {613      readonly network: XcmV0JunctionNetworkId;614      readonly id: U8aFixed;615    } & Struct;616    readonly isAccountIndex64: boolean;617    readonly asAccountIndex64: {618      readonly network: XcmV0JunctionNetworkId;619      readonly index: Compact<u64>;620    } & Struct;621    readonly isAccountKey20: boolean;622    readonly asAccountKey20: {623      readonly network: XcmV0JunctionNetworkId;624      readonly key: U8aFixed;625    } & Struct;626    readonly isPalletInstance: boolean;627    readonly asPalletInstance: u8;628    readonly isGeneralIndex: boolean;629    readonly asGeneralIndex: Compact<u128>;630    readonly isGeneralKey: boolean;631    readonly asGeneralKey: Bytes;632    readonly isOnlyChild: boolean;633    readonly isPlurality: boolean;634    readonly asPlurality: {635      readonly id: XcmV0JunctionBodyId;636      readonly part: XcmV0JunctionBodyPart;637    } & Struct;638    readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';639  }640641  /** @name XcmV0JunctionNetworkId (91) */642  export interface XcmV0JunctionNetworkId extends Enum {643    readonly isAny: boolean;644    readonly isNamed: boolean;645    readonly asNamed: Bytes;646    readonly isPolkadot: boolean;647    readonly isKusama: boolean;648    readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';649  }650651  /** @name XcmV0JunctionBodyId (92) */652  export interface XcmV0JunctionBodyId extends Enum {653    readonly isUnit: boolean;654    readonly isNamed: boolean;655    readonly asNamed: Bytes;656    readonly isIndex: boolean;657    readonly asIndex: Compact<u32>;658    readonly isExecutive: boolean;659    readonly isTechnical: boolean;660    readonly isLegislative: boolean;661    readonly isJudicial: boolean;662    readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';663  }664665  /** @name XcmV0JunctionBodyPart (93) */666  export interface XcmV0JunctionBodyPart extends Enum {667    readonly isVoice: boolean;668    readonly isMembers: boolean;669    readonly asMembers: {670      readonly count: Compact<u32>;671    } & Struct;672    readonly isFraction: boolean;673    readonly asFraction: {674      readonly nom: Compact<u32>;675      readonly denom: Compact<u32>;676    } & Struct;677    readonly isAtLeastProportion: boolean;678    readonly asAtLeastProportion: {679      readonly nom: Compact<u32>;680      readonly denom: Compact<u32>;681    } & Struct;682    readonly isMoreThanProportion: boolean;683    readonly asMoreThanProportion: {684      readonly nom: Compact<u32>;685      readonly denom: Compact<u32>;686    } & Struct;687    readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';688  }689690  /** @name XcmV1MultiLocation (94) */691  export interface XcmV1MultiLocation extends Struct {692    readonly parents: u8;693    readonly interior: XcmV1MultilocationJunctions;694  }695696  /** @name XcmV1MultilocationJunctions (95) */697  export interface XcmV1MultilocationJunctions extends Enum {698    readonly isHere: boolean;699    readonly isX1: boolean;700    readonly asX1: XcmV1Junction;701    readonly isX2: boolean;702    readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;703    readonly isX3: boolean;704    readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;705    readonly isX4: boolean;706    readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;707    readonly isX5: boolean;708    readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;709    readonly isX6: boolean;710    readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;711    readonly isX7: boolean;712    readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;713    readonly isX8: boolean;714    readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;715    readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';716  }717718  /** @name XcmV1Junction (96) */719  export interface XcmV1Junction extends Enum {720    readonly isParachain: boolean;721    readonly asParachain: Compact<u32>;722    readonly isAccountId32: boolean;723    readonly asAccountId32: {724      readonly network: XcmV0JunctionNetworkId;725      readonly id: U8aFixed;726    } & Struct;727    readonly isAccountIndex64: boolean;728    readonly asAccountIndex64: {729      readonly network: XcmV0JunctionNetworkId;730      readonly index: Compact<u64>;731    } & Struct;732    readonly isAccountKey20: boolean;733    readonly asAccountKey20: {734      readonly network: XcmV0JunctionNetworkId;735      readonly key: U8aFixed;736    } & Struct;737    readonly isPalletInstance: boolean;738    readonly asPalletInstance: u8;739    readonly isGeneralIndex: boolean;740    readonly asGeneralIndex: Compact<u128>;741    readonly isGeneralKey: boolean;742    readonly asGeneralKey: Bytes;743    readonly isOnlyChild: boolean;744    readonly isPlurality: boolean;745    readonly asPlurality: {746      readonly id: XcmV0JunctionBodyId;747      readonly part: XcmV0JunctionBodyPart;748    } & Struct;749    readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';750  }751752  /** @name XcmVersionedXcm (97) */753  export interface XcmVersionedXcm extends Enum {754    readonly isV0: boolean;755    readonly asV0: XcmV0Xcm;756    readonly isV1: boolean;757    readonly asV1: XcmV1Xcm;758    readonly isV2: boolean;759    readonly asV2: XcmV2Xcm;760    readonly type: 'V0' | 'V1' | 'V2';761  }762763  /** @name XcmV0Xcm (98) */764  export interface XcmV0Xcm extends Enum {765    readonly isWithdrawAsset: boolean;766    readonly asWithdrawAsset: {767      readonly assets: Vec<XcmV0MultiAsset>;768      readonly effects: Vec<XcmV0Order>;769    } & Struct;770    readonly isReserveAssetDeposit: boolean;771    readonly asReserveAssetDeposit: {772      readonly assets: Vec<XcmV0MultiAsset>;773      readonly effects: Vec<XcmV0Order>;774    } & Struct;775    readonly isTeleportAsset: boolean;776    readonly asTeleportAsset: {777      readonly assets: Vec<XcmV0MultiAsset>;778      readonly effects: Vec<XcmV0Order>;779    } & Struct;780    readonly isQueryResponse: boolean;781    readonly asQueryResponse: {782      readonly queryId: Compact<u64>;783      readonly response: XcmV0Response;784    } & Struct;785    readonly isTransferAsset: boolean;786    readonly asTransferAsset: {787      readonly assets: Vec<XcmV0MultiAsset>;788      readonly dest: XcmV0MultiLocation;789    } & Struct;790    readonly isTransferReserveAsset: boolean;791    readonly asTransferReserveAsset: {792      readonly assets: Vec<XcmV0MultiAsset>;793      readonly dest: XcmV0MultiLocation;794      readonly effects: Vec<XcmV0Order>;795    } & Struct;796    readonly isTransact: boolean;797    readonly asTransact: {798      readonly originType: XcmV0OriginKind;799      readonly requireWeightAtMost: u64;800      readonly call: XcmDoubleEncoded;801    } & Struct;802    readonly isHrmpNewChannelOpenRequest: boolean;803    readonly asHrmpNewChannelOpenRequest: {804      readonly sender: Compact<u32>;805      readonly maxMessageSize: Compact<u32>;806      readonly maxCapacity: Compact<u32>;807    } & Struct;808    readonly isHrmpChannelAccepted: boolean;809    readonly asHrmpChannelAccepted: {810      readonly recipient: Compact<u32>;811    } & Struct;812    readonly isHrmpChannelClosing: boolean;813    readonly asHrmpChannelClosing: {814      readonly initiator: Compact<u32>;815      readonly sender: Compact<u32>;816      readonly recipient: Compact<u32>;817    } & Struct;818    readonly isRelayedFrom: boolean;819    readonly asRelayedFrom: {820      readonly who: XcmV0MultiLocation;821      readonly message: XcmV0Xcm;822    } & Struct;823    readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';824  }825826  /** @name XcmV0MultiAsset (100) */827  export interface XcmV0MultiAsset extends Enum {828    readonly isNone: boolean;829    readonly isAll: boolean;830    readonly isAllFungible: boolean;831    readonly isAllNonFungible: boolean;832    readonly isAllAbstractFungible: boolean;833    readonly asAllAbstractFungible: {834      readonly id: Bytes;835    } & Struct;836    readonly isAllAbstractNonFungible: boolean;837    readonly asAllAbstractNonFungible: {838      readonly class: Bytes;839    } & Struct;840    readonly isAllConcreteFungible: boolean;841    readonly asAllConcreteFungible: {842      readonly id: XcmV0MultiLocation;843    } & Struct;844    readonly isAllConcreteNonFungible: boolean;845    readonly asAllConcreteNonFungible: {846      readonly class: XcmV0MultiLocation;847    } & Struct;848    readonly isAbstractFungible: boolean;849    readonly asAbstractFungible: {850      readonly id: Bytes;851      readonly amount: Compact<u128>;852    } & Struct;853    readonly isAbstractNonFungible: boolean;854    readonly asAbstractNonFungible: {855      readonly class: Bytes;856      readonly instance: XcmV1MultiassetAssetInstance;857    } & Struct;858    readonly isConcreteFungible: boolean;859    readonly asConcreteFungible: {860      readonly id: XcmV0MultiLocation;861      readonly amount: Compact<u128>;862    } & Struct;863    readonly isConcreteNonFungible: boolean;864    readonly asConcreteNonFungible: {865      readonly class: XcmV0MultiLocation;866      readonly instance: XcmV1MultiassetAssetInstance;867    } & Struct;868    readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';869  }870871  /** @name XcmV1MultiassetAssetInstance (101) */872  export interface XcmV1MultiassetAssetInstance extends Enum {873    readonly isUndefined: boolean;874    readonly isIndex: boolean;875    readonly asIndex: Compact<u128>;876    readonly isArray4: boolean;877    readonly asArray4: U8aFixed;878    readonly isArray8: boolean;879    readonly asArray8: U8aFixed;880    readonly isArray16: boolean;881    readonly asArray16: U8aFixed;882    readonly isArray32: boolean;883    readonly asArray32: U8aFixed;884    readonly isBlob: boolean;885    readonly asBlob: Bytes;886    readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';887  }888889  /** @name XcmV0Order (105) */890  export interface XcmV0Order extends Enum {891    readonly isNull: boolean;892    readonly isDepositAsset: boolean;893    readonly asDepositAsset: {894      readonly assets: Vec<XcmV0MultiAsset>;895      readonly dest: XcmV0MultiLocation;896    } & Struct;897    readonly isDepositReserveAsset: boolean;898    readonly asDepositReserveAsset: {899      readonly assets: Vec<XcmV0MultiAsset>;900      readonly dest: XcmV0MultiLocation;901      readonly effects: Vec<XcmV0Order>;902    } & Struct;903    readonly isExchangeAsset: boolean;904    readonly asExchangeAsset: {905      readonly give: Vec<XcmV0MultiAsset>;906      readonly receive: Vec<XcmV0MultiAsset>;907    } & Struct;908    readonly isInitiateReserveWithdraw: boolean;909    readonly asInitiateReserveWithdraw: {910      readonly assets: Vec<XcmV0MultiAsset>;911      readonly reserve: XcmV0MultiLocation;912      readonly effects: Vec<XcmV0Order>;913    } & Struct;914    readonly isInitiateTeleport: boolean;915    readonly asInitiateTeleport: {916      readonly assets: Vec<XcmV0MultiAsset>;917      readonly dest: XcmV0MultiLocation;918      readonly effects: Vec<XcmV0Order>;919    } & Struct;920    readonly isQueryHolding: boolean;921    readonly asQueryHolding: {922      readonly queryId: Compact<u64>;923      readonly dest: XcmV0MultiLocation;924      readonly assets: Vec<XcmV0MultiAsset>;925    } & Struct;926    readonly isBuyExecution: boolean;927    readonly asBuyExecution: {928      readonly fees: XcmV0MultiAsset;929      readonly weight: u64;930      readonly debt: u64;931      readonly haltOnError: bool;932      readonly xcm: Vec<XcmV0Xcm>;933    } & Struct;934    readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';935  }936937  /** @name XcmV0Response (107) */938  export interface XcmV0Response extends Enum {939    readonly isAssets: boolean;940    readonly asAssets: Vec<XcmV0MultiAsset>;941    readonly type: 'Assets';942  }943944  /** @name XcmV0OriginKind (108) */945  export interface XcmV0OriginKind extends Enum {946    readonly isNative: boolean;947    readonly isSovereignAccount: boolean;948    readonly isSuperuser: boolean;949    readonly isXcm: boolean;950    readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';951  }952953  /** @name XcmDoubleEncoded (109) */954  export interface XcmDoubleEncoded extends Struct {955    readonly encoded: Bytes;956  }957958  /** @name XcmV1Xcm (110) */959  export interface XcmV1Xcm extends Enum {960    readonly isWithdrawAsset: boolean;961    readonly asWithdrawAsset: {962      readonly assets: XcmV1MultiassetMultiAssets;963      readonly effects: Vec<XcmV1Order>;964    } & Struct;965    readonly isReserveAssetDeposited: boolean;966    readonly asReserveAssetDeposited: {967      readonly assets: XcmV1MultiassetMultiAssets;968      readonly effects: Vec<XcmV1Order>;969    } & Struct;970    readonly isReceiveTeleportedAsset: boolean;971    readonly asReceiveTeleportedAsset: {972      readonly assets: XcmV1MultiassetMultiAssets;973      readonly effects: Vec<XcmV1Order>;974    } & Struct;975    readonly isQueryResponse: boolean;976    readonly asQueryResponse: {977      readonly queryId: Compact<u64>;978      readonly response: XcmV1Response;979    } & Struct;980    readonly isTransferAsset: boolean;981    readonly asTransferAsset: {982      readonly assets: XcmV1MultiassetMultiAssets;983      readonly beneficiary: XcmV1MultiLocation;984    } & Struct;985    readonly isTransferReserveAsset: boolean;986    readonly asTransferReserveAsset: {987      readonly assets: XcmV1MultiassetMultiAssets;988      readonly dest: XcmV1MultiLocation;989      readonly effects: Vec<XcmV1Order>;990    } & Struct;991    readonly isTransact: boolean;992    readonly asTransact: {993      readonly originType: XcmV0OriginKind;994      readonly requireWeightAtMost: u64;995      readonly call: XcmDoubleEncoded;996    } & Struct;997    readonly isHrmpNewChannelOpenRequest: boolean;998    readonly asHrmpNewChannelOpenRequest: {999      readonly sender: Compact<u32>;1000      readonly maxMessageSize: Compact<u32>;1001      readonly maxCapacity: Compact<u32>;1002    } & Struct;1003    readonly isHrmpChannelAccepted: boolean;1004    readonly asHrmpChannelAccepted: {1005      readonly recipient: Compact<u32>;1006    } & Struct;1007    readonly isHrmpChannelClosing: boolean;1008    readonly asHrmpChannelClosing: {1009      readonly initiator: Compact<u32>;1010      readonly sender: Compact<u32>;1011      readonly recipient: Compact<u32>;1012    } & Struct;1013    readonly isRelayedFrom: boolean;1014    readonly asRelayedFrom: {1015      readonly who: XcmV1MultilocationJunctions;1016      readonly message: XcmV1Xcm;1017    } & Struct;1018    readonly isSubscribeVersion: boolean;1019    readonly asSubscribeVersion: {1020      readonly queryId: Compact<u64>;1021      readonly maxResponseWeight: Compact<u64>;1022    } & Struct;1023    readonly isUnsubscribeVersion: boolean;1024    readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';1025  }10261027  /** @name XcmV1MultiassetMultiAssets (111) */1028  export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}10291030  /** @name XcmV1MultiAsset (113) */1031  export interface XcmV1MultiAsset extends Struct {1032    readonly id: XcmV1MultiassetAssetId;1033    readonly fun: XcmV1MultiassetFungibility;1034  }10351036  /** @name XcmV1MultiassetAssetId (114) */1037  export interface XcmV1MultiassetAssetId extends Enum {1038    readonly isConcrete: boolean;1039    readonly asConcrete: XcmV1MultiLocation;1040    readonly isAbstract: boolean;1041    readonly asAbstract: Bytes;1042    readonly type: 'Concrete' | 'Abstract';1043  }10441045  /** @name XcmV1MultiassetFungibility (115) */1046  export interface XcmV1MultiassetFungibility extends Enum {1047    readonly isFungible: boolean;1048    readonly asFungible: Compact<u128>;1049    readonly isNonFungible: boolean;1050    readonly asNonFungible: XcmV1MultiassetAssetInstance;1051    readonly type: 'Fungible' | 'NonFungible';1052  }10531054  /** @name XcmV1Order (117) */1055  export interface XcmV1Order extends Enum {1056    readonly isNoop: boolean;1057    readonly isDepositAsset: boolean;1058    readonly asDepositAsset: {1059      readonly assets: XcmV1MultiassetMultiAssetFilter;1060      readonly maxAssets: u32;1061      readonly beneficiary: XcmV1MultiLocation;1062    } & Struct;1063    readonly isDepositReserveAsset: boolean;1064    readonly asDepositReserveAsset: {1065      readonly assets: XcmV1MultiassetMultiAssetFilter;1066      readonly maxAssets: u32;1067      readonly dest: XcmV1MultiLocation;1068      readonly effects: Vec<XcmV1Order>;1069    } & Struct;1070    readonly isExchangeAsset: boolean;1071    readonly asExchangeAsset: {1072      readonly give: XcmV1MultiassetMultiAssetFilter;1073      readonly receive: XcmV1MultiassetMultiAssets;1074    } & Struct;1075    readonly isInitiateReserveWithdraw: boolean;1076    readonly asInitiateReserveWithdraw: {1077      readonly assets: XcmV1MultiassetMultiAssetFilter;1078      readonly reserve: XcmV1MultiLocation;1079      readonly effects: Vec<XcmV1Order>;1080    } & Struct;1081    readonly isInitiateTeleport: boolean;1082    readonly asInitiateTeleport: {1083      readonly assets: XcmV1MultiassetMultiAssetFilter;1084      readonly dest: XcmV1MultiLocation;1085      readonly effects: Vec<XcmV1Order>;1086    } & Struct;1087    readonly isQueryHolding: boolean;1088    readonly asQueryHolding: {1089      readonly queryId: Compact<u64>;1090      readonly dest: XcmV1MultiLocation;1091      readonly assets: XcmV1MultiassetMultiAssetFilter;1092    } & Struct;1093    readonly isBuyExecution: boolean;1094    readonly asBuyExecution: {1095      readonly fees: XcmV1MultiAsset;1096      readonly weight: u64;1097      readonly debt: u64;1098      readonly haltOnError: bool;1099      readonly instructions: Vec<XcmV1Xcm>;1100    } & Struct;1101    readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1102  }11031104  /** @name XcmV1MultiassetMultiAssetFilter (118) */1105  export interface XcmV1MultiassetMultiAssetFilter extends Enum {1106    readonly isDefinite: boolean;1107    readonly asDefinite: XcmV1MultiassetMultiAssets;1108    readonly isWild: boolean;1109    readonly asWild: XcmV1MultiassetWildMultiAsset;1110    readonly type: 'Definite' | 'Wild';1111  }11121113  /** @name XcmV1MultiassetWildMultiAsset (119) */1114  export interface XcmV1MultiassetWildMultiAsset extends Enum {1115    readonly isAll: boolean;1116    readonly isAllOf: boolean;1117    readonly asAllOf: {1118      readonly id: XcmV1MultiassetAssetId;1119      readonly fun: XcmV1MultiassetWildFungibility;1120    } & Struct;1121    readonly type: 'All' | 'AllOf';1122  }11231124  /** @name XcmV1MultiassetWildFungibility (120) */1125  export interface XcmV1MultiassetWildFungibility extends Enum {1126    readonly isFungible: boolean;1127    readonly isNonFungible: boolean;1128    readonly type: 'Fungible' | 'NonFungible';1129  }11301131  /** @name XcmV1Response (122) */1132  export interface XcmV1Response extends Enum {1133    readonly isAssets: boolean;1134    readonly asAssets: XcmV1MultiassetMultiAssets;1135    readonly isVersion: boolean;1136    readonly asVersion: u32;1137    readonly type: 'Assets' | 'Version';1138  }11391140  /** @name XcmV2Xcm (123) */1141  export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}11421143  /** @name XcmV2Instruction (125) */1144  export interface XcmV2Instruction extends Enum {1145    readonly isWithdrawAsset: boolean;1146    readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1147    readonly isReserveAssetDeposited: boolean;1148    readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;1149    readonly isReceiveTeleportedAsset: boolean;1150    readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;1151    readonly isQueryResponse: boolean;1152    readonly asQueryResponse: {1153      readonly queryId: Compact<u64>;1154      readonly response: XcmV2Response;1155      readonly maxWeight: Compact<u64>;1156    } & Struct;1157    readonly isTransferAsset: boolean;1158    readonly asTransferAsset: {1159      readonly assets: XcmV1MultiassetMultiAssets;1160      readonly beneficiary: XcmV1MultiLocation;1161    } & Struct;1162    readonly isTransferReserveAsset: boolean;1163    readonly asTransferReserveAsset: {1164      readonly assets: XcmV1MultiassetMultiAssets;1165      readonly dest: XcmV1MultiLocation;1166      readonly xcm: XcmV2Xcm;1167    } & Struct;1168    readonly isTransact: boolean;1169    readonly asTransact: {1170      readonly originType: XcmV0OriginKind;1171      readonly requireWeightAtMost: Compact<u64>;1172      readonly call: XcmDoubleEncoded;1173    } & Struct;1174    readonly isHrmpNewChannelOpenRequest: boolean;1175    readonly asHrmpNewChannelOpenRequest: {1176      readonly sender: Compact<u32>;1177      readonly maxMessageSize: Compact<u32>;1178      readonly maxCapacity: Compact<u32>;1179    } & Struct;1180    readonly isHrmpChannelAccepted: boolean;1181    readonly asHrmpChannelAccepted: {1182      readonly recipient: Compact<u32>;1183    } & Struct;1184    readonly isHrmpChannelClosing: boolean;1185    readonly asHrmpChannelClosing: {1186      readonly initiator: Compact<u32>;1187      readonly sender: Compact<u32>;1188      readonly recipient: Compact<u32>;1189    } & Struct;1190    readonly isClearOrigin: boolean;1191    readonly isDescendOrigin: boolean;1192    readonly asDescendOrigin: XcmV1MultilocationJunctions;1193    readonly isReportError: boolean;1194    readonly asReportError: {1195      readonly queryId: Compact<u64>;1196      readonly dest: XcmV1MultiLocation;1197      readonly maxResponseWeight: Compact<u64>;1198    } & Struct;1199    readonly isDepositAsset: boolean;1200    readonly asDepositAsset: {1201      readonly assets: XcmV1MultiassetMultiAssetFilter;1202      readonly maxAssets: Compact<u32>;1203      readonly beneficiary: XcmV1MultiLocation;1204    } & Struct;1205    readonly isDepositReserveAsset: boolean;1206    readonly asDepositReserveAsset: {1207      readonly assets: XcmV1MultiassetMultiAssetFilter;1208      readonly maxAssets: Compact<u32>;1209      readonly dest: XcmV1MultiLocation;1210      readonly xcm: XcmV2Xcm;1211    } & Struct;1212    readonly isExchangeAsset: boolean;1213    readonly asExchangeAsset: {1214      readonly give: XcmV1MultiassetMultiAssetFilter;1215      readonly receive: XcmV1MultiassetMultiAssets;1216    } & Struct;1217    readonly isInitiateReserveWithdraw: boolean;1218    readonly asInitiateReserveWithdraw: {1219      readonly assets: XcmV1MultiassetMultiAssetFilter;1220      readonly reserve: XcmV1MultiLocation;1221      readonly xcm: XcmV2Xcm;1222    } & Struct;1223    readonly isInitiateTeleport: boolean;1224    readonly asInitiateTeleport: {1225      readonly assets: XcmV1MultiassetMultiAssetFilter;1226      readonly dest: XcmV1MultiLocation;1227      readonly xcm: XcmV2Xcm;1228    } & Struct;1229    readonly isQueryHolding: boolean;1230    readonly asQueryHolding: {1231      readonly queryId: Compact<u64>;1232      readonly dest: XcmV1MultiLocation;1233      readonly assets: XcmV1MultiassetMultiAssetFilter;1234      readonly maxResponseWeight: Compact<u64>;1235    } & Struct;1236    readonly isBuyExecution: boolean;1237    readonly asBuyExecution: {1238      readonly fees: XcmV1MultiAsset;1239      readonly weightLimit: XcmV2WeightLimit;1240    } & Struct;1241    readonly isRefundSurplus: boolean;1242    readonly isSetErrorHandler: boolean;1243    readonly asSetErrorHandler: XcmV2Xcm;1244    readonly isSetAppendix: boolean;1245    readonly asSetAppendix: XcmV2Xcm;1246    readonly isClearError: boolean;1247    readonly isClaimAsset: boolean;1248    readonly asClaimAsset: {1249      readonly assets: XcmV1MultiassetMultiAssets;1250      readonly ticket: XcmV1MultiLocation;1251    } & Struct;1252    readonly isTrap: boolean;1253    readonly asTrap: Compact<u64>;1254    readonly isSubscribeVersion: boolean;1255    readonly asSubscribeVersion: {1256      readonly queryId: Compact<u64>;1257      readonly maxResponseWeight: Compact<u64>;1258    } & Struct;1259    readonly isUnsubscribeVersion: boolean;1260    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';1261  }12621263  /** @name XcmV2Response (126) */1264  export interface XcmV2Response extends Enum {1265    readonly isNull: boolean;1266    readonly isAssets: boolean;1267    readonly asAssets: XcmV1MultiassetMultiAssets;1268    readonly isExecutionResult: boolean;1269    readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;1270    readonly isVersion: boolean;1271    readonly asVersion: u32;1272    readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1273  }12741275  /** @name XcmV2TraitsError (129) */1276  export interface XcmV2TraitsError extends Enum {1277    readonly isOverflow: boolean;1278    readonly isUnimplemented: boolean;1279    readonly isUntrustedReserveLocation: boolean;1280    readonly isUntrustedTeleportLocation: boolean;1281    readonly isMultiLocationFull: boolean;1282    readonly isMultiLocationNotInvertible: boolean;1283    readonly isBadOrigin: boolean;1284    readonly isInvalidLocation: boolean;1285    readonly isAssetNotFound: boolean;1286    readonly isFailedToTransactAsset: boolean;1287    readonly isNotWithdrawable: boolean;1288    readonly isLocationCannotHold: boolean;1289    readonly isExceedsMaxMessageSize: boolean;1290    readonly isDestinationUnsupported: boolean;1291    readonly isTransport: boolean;1292    readonly isUnroutable: boolean;1293    readonly isUnknownClaim: boolean;1294    readonly isFailedToDecode: boolean;1295    readonly isMaxWeightInvalid: boolean;1296    readonly isNotHoldingFees: boolean;1297    readonly isTooExpensive: boolean;1298    readonly isTrap: boolean;1299    readonly asTrap: u64;1300    readonly isUnhandledXcmVersion: boolean;1301    readonly isWeightLimitReached: boolean;1302    readonly asWeightLimitReached: u64;1303    readonly isBarrier: boolean;1304    readonly isWeightNotComputable: boolean;1305    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';1306  }13071308  /** @name XcmV2WeightLimit (130) */1309  export interface XcmV2WeightLimit extends Enum {1310    readonly isUnlimited: boolean;1311    readonly isLimited: boolean;1312    readonly asLimited: Compact<u64>;1313    readonly type: 'Unlimited' | 'Limited';1314  }13151316  /** @name XcmVersionedMultiAssets (131) */1317  export interface XcmVersionedMultiAssets extends Enum {1318    readonly isV0: boolean;1319    readonly asV0: Vec<XcmV0MultiAsset>;1320    readonly isV1: boolean;1321    readonly asV1: XcmV1MultiassetMultiAssets;1322    readonly type: 'V0' | 'V1';1323  }13241325  /** @name CumulusPalletXcmCall (146) */1326  export type CumulusPalletXcmCall = Null;13271328  /** @name CumulusPalletDmpQueueCall (147) */1329  export interface CumulusPalletDmpQueueCall extends Enum {1330    readonly isServiceOverweight: boolean;1331    readonly asServiceOverweight: {1332      readonly index: u64;1333      readonly weightLimit: u64;1334    } & Struct;1335    readonly type: 'ServiceOverweight';1336  }13371338  /** @name PalletInflationCall (148) */1339  export interface PalletInflationCall extends Enum {1340    readonly isStartInflation: boolean;1341    readonly asStartInflation: {1342      readonly inflationStartRelayBlock: u32;1343    } & Struct;1344    readonly type: 'StartInflation';1345  }13461347  /** @name PalletUniqueCall (149) */1348  export interface PalletUniqueCall extends Enum {1349    readonly isCreateCollection: boolean;1350    readonly asCreateCollection: {1351      readonly collectionName: Vec<u16>;1352      readonly collectionDescription: Vec<u16>;1353      readonly tokenPrefix: Bytes;1354      readonly mode: UpDataStructsCollectionMode;1355    } & Struct;1356    readonly isCreateCollectionEx: boolean;1357    readonly asCreateCollectionEx: {1358      readonly data: UpDataStructsCreateCollectionData;1359    } & Struct;1360    readonly isDestroyCollection: boolean;1361    readonly asDestroyCollection: {1362      readonly collectionId: u32;1363    } & Struct;1364    readonly isAddToAllowList: boolean;1365    readonly asAddToAllowList: {1366      readonly collectionId: u32;1367      readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1368    } & Struct;1369    readonly isRemoveFromAllowList: boolean;1370    readonly asRemoveFromAllowList: {1371      readonly collectionId: u32;1372      readonly address: PalletCommonAccountBasicCrossAccountIdRepr;1373    } & Struct;1374    readonly isSetPublicAccessMode: boolean;1375    readonly asSetPublicAccessMode: {1376      readonly collectionId: u32;1377      readonly mode: UpDataStructsAccessMode;1378    } & Struct;1379    readonly isSetMintPermission: boolean;1380    readonly asSetMintPermission: {1381      readonly collectionId: u32;1382      readonly mintPermission: bool;1383    } & Struct;1384    readonly isChangeCollectionOwner: boolean;1385    readonly asChangeCollectionOwner: {1386      readonly collectionId: u32;1387      readonly newOwner: AccountId32;1388    } & Struct;1389    readonly isAddCollectionAdmin: boolean;1390    readonly asAddCollectionAdmin: {1391      readonly collectionId: u32;1392      readonly newAdminId: PalletCommonAccountBasicCrossAccountIdRepr;1393    } & Struct;1394    readonly isRemoveCollectionAdmin: boolean;1395    readonly asRemoveCollectionAdmin: {1396      readonly collectionId: u32;1397      readonly accountId: PalletCommonAccountBasicCrossAccountIdRepr;1398    } & Struct;1399    readonly isSetCollectionSponsor: boolean;1400    readonly asSetCollectionSponsor: {1401      readonly collectionId: u32;1402      readonly newSponsor: AccountId32;1403    } & Struct;1404    readonly isConfirmSponsorship: boolean;1405    readonly asConfirmSponsorship: {1406      readonly collectionId: u32;1407    } & Struct;1408    readonly isRemoveCollectionSponsor: boolean;1409    readonly asRemoveCollectionSponsor: {1410      readonly collectionId: u32;1411    } & Struct;1412    readonly isCreateItem: boolean;1413    readonly asCreateItem: {1414      readonly collectionId: u32;1415      readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1416      readonly data: UpDataStructsCreateItemData;1417    } & Struct;1418    readonly isCreateMultipleItems: boolean;1419    readonly asCreateMultipleItems: {1420      readonly collectionId: u32;1421      readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1422      readonly itemsData: Vec<UpDataStructsCreateItemData>;1423    } & Struct;1424    readonly isCreateMultipleItemsEx: boolean;1425    readonly asCreateMultipleItemsEx: {1426      readonly collectionId: u32;1427      readonly data: UpDataStructsCreateItemExData;1428    } & Struct;1429    readonly isSetTransfersEnabledFlag: boolean;1430    readonly asSetTransfersEnabledFlag: {1431      readonly collectionId: u32;1432      readonly value: bool;1433    } & Struct;1434    readonly isBurnItem: boolean;1435    readonly asBurnItem: {1436      readonly collectionId: u32;1437      readonly itemId: u32;1438      readonly value: u128;1439    } & Struct;1440    readonly isBurnFrom: boolean;1441    readonly asBurnFrom: {1442      readonly collectionId: u32;1443      readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1444      readonly itemId: u32;1445      readonly value: u128;1446    } & Struct;1447    readonly isTransfer: boolean;1448    readonly asTransfer: {1449      readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1450      readonly collectionId: u32;1451      readonly itemId: u32;1452      readonly value: u128;1453    } & Struct;1454    readonly isApprove: boolean;1455    readonly asApprove: {1456      readonly spender: PalletCommonAccountBasicCrossAccountIdRepr;1457      readonly collectionId: u32;1458      readonly itemId: u32;1459      readonly amount: u128;1460    } & Struct;1461    readonly isTransferFrom: boolean;1462    readonly asTransferFrom: {1463      readonly from: PalletCommonAccountBasicCrossAccountIdRepr;1464      readonly recipient: PalletCommonAccountBasicCrossAccountIdRepr;1465      readonly collectionId: u32;1466      readonly itemId: u32;1467      readonly value: u128;1468    } & Struct;1469    readonly isSetVariableMetaData: boolean;1470    readonly asSetVariableMetaData: {1471      readonly collectionId: u32;1472      readonly itemId: u32;1473      readonly data: Bytes;1474    } & Struct;1475    readonly isSetMetaUpdatePermissionFlag: boolean;1476    readonly asSetMetaUpdatePermissionFlag: {1477      readonly collectionId: u32;1478      readonly value: UpDataStructsMetaUpdatePermission;1479    } & Struct;1480    readonly isSetSchemaVersion: boolean;1481    readonly asSetSchemaVersion: {1482      readonly collectionId: u32;1483      readonly version: UpDataStructsSchemaVersion;1484    } & Struct;1485    readonly isSetOffchainSchema: boolean;1486    readonly asSetOffchainSchema: {1487      readonly collectionId: u32;1488      readonly schema: Bytes;1489    } & Struct;1490    readonly isSetConstOnChainSchema: boolean;1491    readonly asSetConstOnChainSchema: {1492      readonly collectionId: u32;1493      readonly schema: Bytes;1494    } & Struct;1495    readonly isSetVariableOnChainSchema: boolean;1496    readonly asSetVariableOnChainSchema: {1497      readonly collectionId: u32;1498      readonly schema: Bytes;1499    } & Struct;1500    readonly isSetCollectionLimits: boolean;1501    readonly asSetCollectionLimits: {1502      readonly collectionId: u32;1503      readonly newLimit: UpDataStructsCollectionLimits;1504    } & Struct;1505    readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';1506  }15071508  /** @name UpDataStructsCollectionMode (155) */1509  export interface UpDataStructsCollectionMode extends Enum {1510    readonly isNft: boolean;1511    readonly isFungible: boolean;1512    readonly asFungible: u8;1513    readonly isReFungible: boolean;1514    readonly type: 'Nft' | 'Fungible' | 'ReFungible';1515  }15161517  /** @name UpDataStructsCreateCollectionData (156) */1518  export interface UpDataStructsCreateCollectionData extends Struct {1519    readonly mode: UpDataStructsCollectionMode;1520    readonly access: Option<UpDataStructsAccessMode>;1521    readonly name: Vec<u16>;1522    readonly description: Vec<u16>;1523    readonly tokenPrefix: Bytes;1524    readonly offchainSchema: Bytes;1525    readonly schemaVersion: Option<UpDataStructsSchemaVersion>;1526    readonly pendingSponsor: Option<AccountId32>;1527    readonly limits: Option<UpDataStructsCollectionLimits>;1528    readonly variableOnChainSchema: Bytes;1529    readonly constOnChainSchema: Bytes;1530    readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;1531  }15321533  /** @name UpDataStructsAccessMode (158) */1534  export interface UpDataStructsAccessMode extends Enum {1535    readonly isNormal: boolean;1536    readonly isAllowList: boolean;1537    readonly type: 'Normal' | 'AllowList';1538  }15391540  /** @name UpDataStructsSchemaVersion (161) */1541  export interface UpDataStructsSchemaVersion extends Enum {1542    readonly isImageURL: boolean;1543    readonly isUnique: boolean;1544    readonly type: 'ImageURL' | 'Unique';1545  }15461547  /** @name UpDataStructsCollectionLimits (164) */1548  export interface UpDataStructsCollectionLimits extends Struct {1549    readonly accountTokenOwnershipLimit: Option<u32>;1550    readonly sponsoredDataSize: Option<u32>;1551    readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1552    readonly tokenLimit: Option<u32>;1553    readonly sponsorTransferTimeout: Option<u32>;1554    readonly sponsorApproveTimeout: Option<u32>;1555    readonly ownerCanTransfer: Option<bool>;1556    readonly ownerCanDestroy: Option<bool>;1557    readonly transfersEnabled: Option<bool>;1558  }15591560  /** @name UpDataStructsSponsoringRateLimit (166) */1561  export interface UpDataStructsSponsoringRateLimit extends Enum {1562    readonly isSponsoringDisabled: boolean;1563    readonly isBlocks: boolean;1564    readonly asBlocks: u32;1565    readonly type: 'SponsoringDisabled' | 'Blocks';1566  }15671568  /** @name UpDataStructsMetaUpdatePermission (170) */1569  export interface UpDataStructsMetaUpdatePermission extends Enum {1570    readonly isItemOwner: boolean;1571    readonly isAdmin: boolean;1572    readonly isNone: boolean;1573    readonly type: 'ItemOwner' | 'Admin' | 'None';1574  }15751576  /** @name PalletCommonAccountBasicCrossAccountIdRepr (172) */1577  export interface PalletCommonAccountBasicCrossAccountIdRepr extends Enum {1578    readonly isSubstrate: boolean;1579    readonly asSubstrate: AccountId32;1580    readonly isEthereum: boolean;1581    readonly asEthereum: H160;1582    readonly type: 'Substrate' | 'Ethereum';1583  }15841585  /** @name UpDataStructsCreateItemData (174) */1586  export interface UpDataStructsCreateItemData extends Enum {1587    readonly isNft: boolean;1588    readonly asNft: UpDataStructsCreateNftData;1589    readonly isFungible: boolean;1590    readonly asFungible: UpDataStructsCreateFungibleData;1591    readonly isReFungible: boolean;1592    readonly asReFungible: UpDataStructsCreateReFungibleData;1593    readonly type: 'Nft' | 'Fungible' | 'ReFungible';1594  }15951596  /** @name UpDataStructsCreateNftData (175) */1597  export interface UpDataStructsCreateNftData extends Struct {1598    readonly constData: Bytes;1599    readonly variableData: Bytes;1600  }16011602  /** @name UpDataStructsCreateFungibleData (177) */1603  export interface UpDataStructsCreateFungibleData extends Struct {1604    readonly value: u128;1605  }16061607  /** @name UpDataStructsCreateReFungibleData (178) */1608  export interface UpDataStructsCreateReFungibleData extends Struct {1609    readonly constData: Bytes;1610    readonly variableData: Bytes;1611    readonly pieces: u128;1612  }16131614  /** @name UpDataStructsCreateItemExData (180) */1615  export interface UpDataStructsCreateItemExData extends Enum {1616    readonly isNft: boolean;1617    readonly asNft: Vec<UpDataStructsCreateNftExData>;1618    readonly isFungible: boolean;1619    readonly asFungible: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;1620    readonly isRefungibleMultipleItems: boolean;1621    readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1622    readonly isRefungibleMultipleOwners: boolean;1623    readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1624    readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1625  }16261627  /** @name UpDataStructsCreateNftExData (182) */1628  export interface UpDataStructsCreateNftExData extends Struct {1629    readonly constData: Bytes;1630    readonly variableData: Bytes;1631    readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;1632  }16331634  /** @name UpDataStructsCreateRefungibleExData (189) */1635  export interface UpDataStructsCreateRefungibleExData extends Struct {1636    readonly constData: Bytes;1637    readonly variableData: Bytes;1638    readonly users: BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>;1639  }16401641  /** @name PalletTemplateTransactionPaymentCall (192) */1642  export type PalletTemplateTransactionPaymentCall = Null;16431644  /** @name PalletEvmCall (193) */1645  export interface PalletEvmCall extends Enum {1646    readonly isWithdraw: boolean;1647    readonly asWithdraw: {1648      readonly address: H160;1649      readonly value: u128;1650    } & Struct;1651    readonly isCall: boolean;1652    readonly asCall: {1653      readonly source: H160;1654      readonly target: H160;1655      readonly input: Bytes;1656      readonly value: U256;1657      readonly gasLimit: u64;1658      readonly maxFeePerGas: U256;1659      readonly maxPriorityFeePerGas: Option<U256>;1660      readonly nonce: Option<U256>;1661      readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1662    } & Struct;1663    readonly isCreate: boolean;1664    readonly asCreate: {1665      readonly source: H160;1666      readonly init: Bytes;1667      readonly value: U256;1668      readonly gasLimit: u64;1669      readonly maxFeePerGas: U256;1670      readonly maxPriorityFeePerGas: Option<U256>;1671      readonly nonce: Option<U256>;1672      readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1673    } & Struct;1674    readonly isCreate2: boolean;1675    readonly asCreate2: {1676      readonly source: H160;1677      readonly init: Bytes;1678      readonly salt: H256;1679      readonly value: U256;1680      readonly gasLimit: u64;1681      readonly maxFeePerGas: U256;1682      readonly maxPriorityFeePerGas: Option<U256>;1683      readonly nonce: Option<U256>;1684      readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1685    } & Struct;1686    readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1687  }16881689  /** @name PalletEthereumCall (199) */1690  export interface PalletEthereumCall extends Enum {1691    readonly isTransact: boolean;1692    readonly asTransact: {1693      readonly transaction: EthereumTransactionTransactionV2;1694    } & Struct;1695    readonly type: 'Transact';1696  }16971698  /** @name EthereumTransactionTransactionV2 (200) */1699  export interface EthereumTransactionTransactionV2 extends Enum {1700    readonly isLegacy: boolean;1701    readonly asLegacy: EthereumTransactionLegacyTransaction;1702    readonly isEip2930: boolean;1703    readonly asEip2930: EthereumTransactionEip2930Transaction;1704    readonly isEip1559: boolean;1705    readonly asEip1559: EthereumTransactionEip1559Transaction;1706    readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1707  }17081709  /** @name EthereumTransactionLegacyTransaction (201) */1710  export interface EthereumTransactionLegacyTransaction extends Struct {1711    readonly nonce: U256;1712    readonly gasPrice: U256;1713    readonly gasLimit: U256;1714    readonly action: EthereumTransactionTransactionAction;1715    readonly value: U256;1716    readonly input: Bytes;1717    readonly signature: EthereumTransactionTransactionSignature;1718  }17191720  /** @name EthereumTransactionTransactionAction (202) */1721  export interface EthereumTransactionTransactionAction extends Enum {1722    readonly isCall: boolean;1723    readonly asCall: H160;1724    readonly isCreate: boolean;1725    readonly type: 'Call' | 'Create';1726  }17271728  /** @name EthereumTransactionTransactionSignature (203) */1729  export interface EthereumTransactionTransactionSignature extends Struct {1730    readonly v: u64;1731    readonly r: H256;1732    readonly s: H256;1733  }17341735  /** @name EthereumTransactionEip2930Transaction (205) */1736  export interface EthereumTransactionEip2930Transaction extends Struct {1737    readonly chainId: u64;1738    readonly nonce: U256;1739    readonly gasPrice: U256;1740    readonly gasLimit: U256;1741    readonly action: EthereumTransactionTransactionAction;1742    readonly value: U256;1743    readonly input: Bytes;1744    readonly accessList: Vec<EthereumTransactionAccessListItem>;1745    readonly oddYParity: bool;1746    readonly r: H256;1747    readonly s: H256;1748  }17491750  /** @name EthereumTransactionAccessListItem (207) */1751  export interface EthereumTransactionAccessListItem extends Struct {1752    readonly address: H160;1753    readonly slots: Vec<H256>;1754  }17551756  /** @name EthereumTransactionEip1559Transaction (208) */1757  export interface EthereumTransactionEip1559Transaction extends Struct {1758    readonly chainId: u64;1759    readonly nonce: U256;1760    readonly maxPriorityFeePerGas: U256;1761    readonly maxFeePerGas: U256;1762    readonly gasLimit: U256;1763    readonly action: EthereumTransactionTransactionAction;1764    readonly value: U256;1765    readonly input: Bytes;1766    readonly accessList: Vec<EthereumTransactionAccessListItem>;1767    readonly oddYParity: bool;1768    readonly r: H256;1769    readonly s: H256;1770  }17711772  /** @name PalletEvmMigrationCall (209) */1773  export interface PalletEvmMigrationCall extends Enum {1774    readonly isBegin: boolean;1775    readonly asBegin: {1776      readonly address: H160;1777    } & Struct;1778    readonly isSetData: boolean;1779    readonly asSetData: {1780      readonly address: H160;1781      readonly data: Vec<ITuple<[H256, H256]>>;1782    } & Struct;1783    readonly isFinish: boolean;1784    readonly asFinish: {1785      readonly address: H160;1786      readonly code: Bytes;1787    } & Struct;1788    readonly type: 'Begin' | 'SetData' | 'Finish';1789  }17901791  /** @name PalletSudoEvent (212) */1792  export interface PalletSudoEvent extends Enum {1793    readonly isSudid: boolean;1794    readonly asSudid: {1795      readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1796    } & Struct;1797    readonly isKeyChanged: boolean;1798    readonly asKeyChanged: {1799      readonly oldSudoer: Option<AccountId32>;1800    } & Struct;1801    readonly isSudoAsDone: boolean;1802    readonly asSudoAsDone: {1803      readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1804    } & Struct;1805    readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1806  }18071808  /** @name SpRuntimeDispatchError (214) */1809  export interface SpRuntimeDispatchError extends Enum {1810    readonly isOther: boolean;1811    readonly isCannotLookup: boolean;1812    readonly isBadOrigin: boolean;1813    readonly isModule: boolean;1814    readonly asModule: SpRuntimeModuleError;1815    readonly isConsumerRemaining: boolean;1816    readonly isNoProviders: boolean;1817    readonly isTooManyConsumers: boolean;1818    readonly isToken: boolean;1819    readonly asToken: SpRuntimeTokenError;1820    readonly isArithmetic: boolean;1821    readonly asArithmetic: SpRuntimeArithmeticError;1822    readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic';1823  }18241825  /** @name SpRuntimeModuleError (215) */1826  export interface SpRuntimeModuleError extends Struct {1827    readonly index: u8;1828    readonly error: u8;1829  }18301831  /** @name SpRuntimeTokenError (216) */1832  export interface SpRuntimeTokenError extends Enum {1833    readonly isNoFunds: boolean;1834    readonly isWouldDie: boolean;1835    readonly isBelowMinimum: boolean;1836    readonly isCannotCreate: boolean;1837    readonly isUnknownAsset: boolean;1838    readonly isFrozen: boolean;1839    readonly isUnsupported: boolean;1840    readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1841  }18421843  /** @name SpRuntimeArithmeticError (217) */1844  export interface SpRuntimeArithmeticError extends Enum {1845    readonly isUnderflow: boolean;1846    readonly isOverflow: boolean;1847    readonly isDivisionByZero: boolean;1848    readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1849  }18501851  /** @name PalletSudoError (218) */1852  export interface PalletSudoError extends Enum {1853    readonly isRequireSudo: boolean;1854    readonly type: 'RequireSudo';1855  }18561857  /** @name FrameSystemAccountInfo (219) */1858  export interface FrameSystemAccountInfo extends Struct {1859    readonly nonce: u32;1860    readonly consumers: u32;1861    readonly providers: u32;1862    readonly sufficients: u32;1863    readonly data: PalletBalancesAccountData;1864  }18651866  /** @name FrameSupportWeightsPerDispatchClassU64 (220) */1867  export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {1868    readonly normal: u64;1869    readonly operational: u64;1870    readonly mandatory: u64;1871  }18721873  /** @name SpRuntimeDigest (221) */1874  export interface SpRuntimeDigest extends Struct {1875    readonly logs: Vec<SpRuntimeDigestDigestItem>;1876  }18771878  /** @name SpRuntimeDigestDigestItem (223) */1879  export interface SpRuntimeDigestDigestItem extends Enum {1880    readonly isOther: boolean;1881    readonly asOther: Bytes;1882    readonly isConsensus: boolean;1883    readonly asConsensus: ITuple<[U8aFixed, Bytes]>;1884    readonly isSeal: boolean;1885    readonly asSeal: ITuple<[U8aFixed, Bytes]>;1886    readonly isPreRuntime: boolean;1887    readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;1888    readonly isRuntimeEnvironmentUpdated: boolean;1889    readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1890  }18911892  /** @name FrameSystemEventRecord (225) */1893  export interface FrameSystemEventRecord extends Struct {1894    readonly phase: FrameSystemPhase;1895    readonly event: Event;1896    readonly topics: Vec<H256>;1897  }18981899  /** @name FrameSystemEvent (227) */1900  export interface FrameSystemEvent extends Enum {1901    readonly isExtrinsicSuccess: boolean;1902    readonly asExtrinsicSuccess: {1903      readonly dispatchInfo: FrameSupportWeightsDispatchInfo;1904    } & Struct;1905    readonly isExtrinsicFailed: boolean;1906    readonly asExtrinsicFailed: {1907      readonly dispatchError: SpRuntimeDispatchError;1908      readonly dispatchInfo: FrameSupportWeightsDispatchInfo;1909    } & Struct;1910    readonly isCodeUpdated: boolean;1911    readonly isNewAccount: boolean;1912    readonly asNewAccount: {1913      readonly account: AccountId32;1914    } & Struct;1915    readonly isKilledAccount: boolean;1916    readonly asKilledAccount: {1917      readonly account: AccountId32;1918    } & Struct;1919    readonly isRemarked: boolean;1920    readonly asRemarked: {1921      readonly sender: AccountId32;1922      readonly hash_: H256;1923    } & Struct;1924    readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';1925  }19261927  /** @name FrameSupportWeightsDispatchInfo (228) */1928  export interface FrameSupportWeightsDispatchInfo extends Struct {1929    readonly weight: u64;1930    readonly class: FrameSupportWeightsDispatchClass;1931    readonly paysFee: FrameSupportWeightsPays;1932  }19331934  /** @name FrameSupportWeightsDispatchClass (229) */1935  export interface FrameSupportWeightsDispatchClass extends Enum {1936    readonly isNormal: boolean;1937    readonly isOperational: boolean;1938    readonly isMandatory: boolean;1939    readonly type: 'Normal' | 'Operational' | 'Mandatory';1940  }19411942  /** @name FrameSupportWeightsPays (230) */1943  export interface FrameSupportWeightsPays extends Enum {1944    readonly isYes: boolean;1945    readonly isNo: boolean;1946    readonly type: 'Yes' | 'No';1947  }19481949  /** @name OrmlVestingModuleEvent (231) */1950  export interface OrmlVestingModuleEvent extends Enum {1951    readonly isVestingScheduleAdded: boolean;1952    readonly asVestingScheduleAdded: {1953      readonly from: AccountId32;1954      readonly to: AccountId32;1955      readonly vestingSchedule: OrmlVestingVestingSchedule;1956    } & Struct;1957    readonly isClaimed: boolean;1958    readonly asClaimed: {1959      readonly who: AccountId32;1960      readonly amount: u128;1961    } & Struct;1962    readonly isVestingSchedulesUpdated: boolean;1963    readonly asVestingSchedulesUpdated: {1964      readonly who: AccountId32;1965    } & Struct;1966    readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';1967  }19681969  /** @name CumulusPalletXcmpQueueEvent (232) */1970  export interface CumulusPalletXcmpQueueEvent extends Enum {1971    readonly isSuccess: boolean;1972    readonly asSuccess: Option<H256>;1973    readonly isFail: boolean;1974    readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;1975    readonly isBadVersion: boolean;1976    readonly asBadVersion: Option<H256>;1977    readonly isBadFormat: boolean;1978    readonly asBadFormat: Option<H256>;1979    readonly isUpwardMessageSent: boolean;1980    readonly asUpwardMessageSent: Option<H256>;1981    readonly isXcmpMessageSent: boolean;1982    readonly asXcmpMessageSent: Option<H256>;1983    readonly isOverweightEnqueued: boolean;1984    readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;1985    readonly isOverweightServiced: boolean;1986    readonly asOverweightServiced: ITuple<[u64, u64]>;1987    readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';1988  }19891990  /** @name PalletXcmEvent (233) */1991  export interface PalletXcmEvent extends Enum {1992    readonly isAttempted: boolean;1993    readonly asAttempted: XcmV2TraitsOutcome;1994    readonly isSent: boolean;1995    readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;1996    readonly isUnexpectedResponse: boolean;1997    readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;1998    readonly isResponseReady: boolean;1999    readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2000    readonly isNotified: boolean;2001    readonly asNotified: ITuple<[u64, u8, u8]>;2002    readonly isNotifyOverweight: boolean;2003    readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2004    readonly isNotifyDispatchError: boolean;2005    readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2006    readonly isNotifyDecodeFailed: boolean;2007    readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2008    readonly isInvalidResponder: boolean;2009    readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2010    readonly isInvalidResponderVersion: boolean;2011    readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2012    readonly isResponseTaken: boolean;2013    readonly asResponseTaken: u64;2014    readonly isAssetsTrapped: boolean;2015    readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2016    readonly isVersionChangeNotified: boolean;2017    readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2018    readonly isSupportedVersionChanged: boolean;2019    readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2020    readonly isNotifyTargetSendFail: boolean;2021    readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2022    readonly isNotifyTargetMigrationFail: boolean;2023    readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2024    readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2025  }20262027  /** @name XcmV2TraitsOutcome (234) */2028  export interface XcmV2TraitsOutcome extends Enum {2029    readonly isComplete: boolean;2030    readonly asComplete: u64;2031    readonly isIncomplete: boolean;2032    readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2033    readonly isError: boolean;2034    readonly asError: XcmV2TraitsError;2035    readonly type: 'Complete' | 'Incomplete' | 'Error';2036  }20372038  /** @name CumulusPalletXcmEvent (236) */2039  export interface CumulusPalletXcmEvent extends Enum {2040    readonly isInvalidFormat: boolean;2041    readonly asInvalidFormat: U8aFixed;2042    readonly isUnsupportedVersion: boolean;2043    readonly asUnsupportedVersion: U8aFixed;2044    readonly isExecutedDownward: boolean;2045    readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2046    readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2047  }20482049  /** @name CumulusPalletDmpQueueEvent (237) */2050  export interface CumulusPalletDmpQueueEvent extends Enum {2051    readonly isInvalidFormat: boolean;2052    readonly asInvalidFormat: U8aFixed;2053    readonly isUnsupportedVersion: boolean;2054    readonly asUnsupportedVersion: U8aFixed;2055    readonly isExecutedDownward: boolean;2056    readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2057    readonly isWeightExhausted: boolean;2058    readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;2059    readonly isOverweightEnqueued: boolean;2060    readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;2061    readonly isOverweightServiced: boolean;2062    readonly asOverweightServiced: ITuple<[u64, u64]>;2063    readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2064  }20652066  /** @name PalletUniqueRawEvent (238) */2067  export interface PalletUniqueRawEvent extends Enum {2068    readonly isCollectionSponsorRemoved: boolean;2069    readonly asCollectionSponsorRemoved: u32;2070    readonly isCollectionAdminAdded: boolean;2071    readonly asCollectionAdminAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2072    readonly isCollectionOwnedChanged: boolean;2073    readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2074    readonly isCollectionSponsorSet: boolean;2075    readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2076    readonly isConstOnChainSchemaSet: boolean;2077    readonly asConstOnChainSchemaSet: u32;2078    readonly isSponsorshipConfirmed: boolean;2079    readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2080    readonly isCollectionAdminRemoved: boolean;2081    readonly asCollectionAdminRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2082    readonly isAllowListAddressRemoved: boolean;2083    readonly asAllowListAddressRemoved: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2084    readonly isAllowListAddressAdded: boolean;2085    readonly asAllowListAddressAdded: ITuple<[u32, PalletCommonAccountBasicCrossAccountIdRepr]>;2086    readonly isCollectionLimitSet: boolean;2087    readonly asCollectionLimitSet: u32;2088    readonly isMintPermissionSet: boolean;2089    readonly asMintPermissionSet: u32;2090    readonly isOffchainSchemaSet: boolean;2091    readonly asOffchainSchemaSet: u32;2092    readonly isPublicAccessModeSet: boolean;2093    readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;2094    readonly isSchemaVersionSet: boolean;2095    readonly asSchemaVersionSet: u32;2096    readonly isVariableOnChainSchemaSet: boolean;2097    readonly asVariableOnChainSchemaSet: u32;2098    readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';2099  }21002101  /** @name PalletCommonEvent (239) */2102  export interface PalletCommonEvent extends Enum {2103    readonly isCollectionCreated: boolean;2104    readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2105    readonly isCollectionDestroyed: boolean;2106    readonly asCollectionDestroyed: u32;2107    readonly isItemCreated: boolean;2108    readonly asItemCreated: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2109    readonly isItemDestroyed: boolean;2110    readonly asItemDestroyed: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2111    readonly isTransfer: boolean;2112    readonly asTransfer: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2113    readonly isApproved: boolean;2114    readonly asApproved: ITuple<[u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;2115    readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';2116  }21172118  /** @name PalletEvmEvent (240) */2119  export interface PalletEvmEvent extends Enum {2120    readonly isLog: boolean;2121    readonly asLog: EthereumLog;2122    readonly isCreated: boolean;2123    readonly asCreated: H160;2124    readonly isCreatedFailed: boolean;2125    readonly asCreatedFailed: H160;2126    readonly isExecuted: boolean;2127    readonly asExecuted: H160;2128    readonly isExecutedFailed: boolean;2129    readonly asExecutedFailed: H160;2130    readonly isBalanceDeposit: boolean;2131    readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;2132    readonly isBalanceWithdraw: boolean;2133    readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;2134    readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2135  }21362137  /** @name EthereumLog (241) */2138  export interface EthereumLog extends Struct {2139    readonly address: H160;2140    readonly topics: Vec<H256>;2141    readonly data: Bytes;2142  }21432144  /** @name PalletEthereumEvent (242) */2145  export interface PalletEthereumEvent extends Enum {2146    readonly isExecuted: boolean;2147    readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2148    readonly type: 'Executed';2149  }21502151  /** @name EvmCoreErrorExitReason (243) */2152  export interface EvmCoreErrorExitReason extends Enum {2153    readonly isSucceed: boolean;2154    readonly asSucceed: EvmCoreErrorExitSucceed;2155    readonly isError: boolean;2156    readonly asError: EvmCoreErrorExitError;2157    readonly isRevert: boolean;2158    readonly asRevert: EvmCoreErrorExitRevert;2159    readonly isFatal: boolean;2160    readonly asFatal: EvmCoreErrorExitFatal;2161    readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2162  }21632164  /** @name EvmCoreErrorExitSucceed (244) */2165  export interface EvmCoreErrorExitSucceed extends Enum {2166    readonly isStopped: boolean;2167    readonly isReturned: boolean;2168    readonly isSuicided: boolean;2169    readonly type: 'Stopped' | 'Returned' | 'Suicided';2170  }21712172  /** @name EvmCoreErrorExitError (245) */2173  export interface EvmCoreErrorExitError extends Enum {2174    readonly isStackUnderflow: boolean;2175    readonly isStackOverflow: boolean;2176    readonly isInvalidJump: boolean;2177    readonly isInvalidRange: boolean;2178    readonly isDesignatedInvalid: boolean;2179    readonly isCallTooDeep: boolean;2180    readonly isCreateCollision: boolean;2181    readonly isCreateContractLimit: boolean;2182    readonly isInvalidCode: boolean;2183    readonly isOutOfOffset: boolean;2184    readonly isOutOfGas: boolean;2185    readonly isOutOfFund: boolean;2186    readonly isPcUnderflow: boolean;2187    readonly isCreateEmpty: boolean;2188    readonly isOther: boolean;2189    readonly asOther: Text;2190    readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'InvalidCode' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other';2191  }21922193  /** @name EvmCoreErrorExitRevert (248) */2194  export interface EvmCoreErrorExitRevert extends Enum {2195    readonly isReverted: boolean;2196    readonly type: 'Reverted';2197  }21982199  /** @name EvmCoreErrorExitFatal (249) */2200  export interface EvmCoreErrorExitFatal extends Enum {2201    readonly isNotSupported: boolean;2202    readonly isUnhandledInterrupt: boolean;2203    readonly isCallErrorAsFatal: boolean;2204    readonly asCallErrorAsFatal: EvmCoreErrorExitError;2205    readonly isOther: boolean;2206    readonly asOther: Text;2207    readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2208  }22092210  /** @name FrameSystemPhase (250) */2211  export interface FrameSystemPhase extends Enum {2212    readonly isApplyExtrinsic: boolean;2213    readonly asApplyExtrinsic: u32;2214    readonly isFinalization: boolean;2215    readonly isInitialization: boolean;2216    readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2217  }22182219  /** @name FrameSystemLastRuntimeUpgradeInfo (252) */2220  export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2221    readonly specVersion: Compact<u32>;2222    readonly specName: Text;2223  }22242225  /** @name FrameSystemLimitsBlockWeights (253) */2226  export interface FrameSystemLimitsBlockWeights extends Struct {2227    readonly baseBlock: u64;2228    readonly maxBlock: u64;2229    readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2230  }22312232  /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (254) */2233  export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2234    readonly normal: FrameSystemLimitsWeightsPerClass;2235    readonly operational: FrameSystemLimitsWeightsPerClass;2236    readonly mandatory: FrameSystemLimitsWeightsPerClass;2237  }22382239  /** @name FrameSystemLimitsWeightsPerClass (255) */2240  export interface FrameSystemLimitsWeightsPerClass extends Struct {2241    readonly baseExtrinsic: u64;2242    readonly maxExtrinsic: Option<u64>;2243    readonly maxTotal: Option<u64>;2244    readonly reserved: Option<u64>;2245  }22462247  /** @name FrameSystemLimitsBlockLength (257) */2248  export interface FrameSystemLimitsBlockLength extends Struct {2249    readonly max: FrameSupportWeightsPerDispatchClassU32;2250  }22512252  /** @name FrameSupportWeightsPerDispatchClassU32 (258) */2253  export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2254    readonly normal: u32;2255    readonly operational: u32;2256    readonly mandatory: u32;2257  }22582259  /** @name FrameSupportWeightsRuntimeDbWeight (259) */2260  export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2261    readonly read: u64;2262    readonly write: u64;2263  }22642265  /** @name SpVersionRuntimeVersion (260) */2266  export interface SpVersionRuntimeVersion extends Struct {2267    readonly specName: Text;2268    readonly implName: Text;2269    readonly authoringVersion: u32;2270    readonly specVersion: u32;2271    readonly implVersion: u32;2272    readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2273    readonly transactionVersion: u32;2274    readonly stateVersion: u8;2275  }22762277  /** @name FrameSystemError (264) */2278  export interface FrameSystemError extends Enum {2279    readonly isInvalidSpecName: boolean;2280    readonly isSpecVersionNeedsToIncrease: boolean;2281    readonly isFailedToExtractRuntimeVersion: boolean;2282    readonly isNonDefaultComposite: boolean;2283    readonly isNonZeroRefCount: boolean;2284    readonly isCallFiltered: boolean;2285    readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2286  }22872288  /** @name OrmlVestingModuleError (266) */2289  export interface OrmlVestingModuleError extends Enum {2290    readonly isZeroVestingPeriod: boolean;2291    readonly isZeroVestingPeriodCount: boolean;2292    readonly isInsufficientBalanceToLock: boolean;2293    readonly isTooManyVestingSchedules: boolean;2294    readonly isAmountLow: boolean;2295    readonly isMaxVestingSchedulesExceeded: boolean;2296    readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2297  }22982299  /** @name CumulusPalletXcmpQueueInboundChannelDetails (268) */2300  export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2301    readonly sender: u32;2302    readonly state: CumulusPalletXcmpQueueInboundState;2303    readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2304  }23052306  /** @name CumulusPalletXcmpQueueInboundState (269) */2307  export interface CumulusPalletXcmpQueueInboundState extends Enum {2308    readonly isOk: boolean;2309    readonly isSuspended: boolean;2310    readonly type: 'Ok' | 'Suspended';2311  }23122313  /** @name PolkadotParachainPrimitivesXcmpMessageFormat (272) */2314  export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2315    readonly isConcatenatedVersionedXcm: boolean;2316    readonly isConcatenatedEncodedBlob: boolean;2317    readonly isSignals: boolean;2318    readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2319  }23202321  /** @name CumulusPalletXcmpQueueOutboundChannelDetails (275) */2322  export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2323    readonly recipient: u32;2324    readonly state: CumulusPalletXcmpQueueOutboundState;2325    readonly signalsExist: bool;2326    readonly firstIndex: u16;2327    readonly lastIndex: u16;2328  }23292330  /** @name CumulusPalletXcmpQueueOutboundState (276) */2331  export interface CumulusPalletXcmpQueueOutboundState extends Enum {2332    readonly isOk: boolean;2333    readonly isSuspended: boolean;2334    readonly type: 'Ok' | 'Suspended';2335  }23362337  /** @name CumulusPalletXcmpQueueQueueConfigData (278) */2338  export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2339    readonly suspendThreshold: u32;2340    readonly dropThreshold: u32;2341    readonly resumeThreshold: u32;2342    readonly thresholdWeight: u64;2343    readonly weightRestrictDecay: u64;2344    readonly xcmpMaxIndividualWeight: u64;2345  }23462347  /** @name CumulusPalletXcmpQueueError (280) */2348  export interface CumulusPalletXcmpQueueError extends Enum {2349    readonly isFailedToSend: boolean;2350    readonly isBadXcmOrigin: boolean;2351    readonly isBadXcm: boolean;2352    readonly isBadOverweightIndex: boolean;2353    readonly isWeightOverLimit: boolean;2354    readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2355  }23562357  /** @name PalletXcmError (281) */2358  export interface PalletXcmError extends Enum {2359    readonly isUnreachable: boolean;2360    readonly isSendFailure: boolean;2361    readonly isFiltered: boolean;2362    readonly isUnweighableMessage: boolean;2363    readonly isDestinationNotInvertible: boolean;2364    readonly isEmpty: boolean;2365    readonly isCannotReanchor: boolean;2366    readonly isTooManyAssets: boolean;2367    readonly isInvalidOrigin: boolean;2368    readonly isBadVersion: boolean;2369    readonly isBadLocation: boolean;2370    readonly isNoSubscription: boolean;2371    readonly isAlreadySubscribed: boolean;2372    readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2373  }23742375  /** @name CumulusPalletXcmError (282) */2376  export type CumulusPalletXcmError = Null;23772378  /** @name CumulusPalletDmpQueueConfigData (283) */2379  export interface CumulusPalletDmpQueueConfigData extends Struct {2380    readonly maxIndividual: u64;2381  }23822383  /** @name CumulusPalletDmpQueuePageIndexData (284) */2384  export interface CumulusPalletDmpQueuePageIndexData extends Struct {2385    readonly beginUsed: u32;2386    readonly endUsed: u32;2387    readonly overweightCount: u64;2388  }23892390  /** @name CumulusPalletDmpQueueError (287) */2391  export interface CumulusPalletDmpQueueError extends Enum {2392    readonly isUnknown: boolean;2393    readonly isOverLimit: boolean;2394    readonly type: 'Unknown' | 'OverLimit';2395  }23962397  /** @name PalletUniqueError (291) */2398  export interface PalletUniqueError extends Enum {2399    readonly isCollectionDecimalPointLimitExceeded: boolean;2400    readonly isConfirmUnsetSponsorFail: boolean;2401    readonly isEmptyArgument: boolean;2402    readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2403  }24042405  /** @name UpDataStructsCollection (292) */2406  export interface UpDataStructsCollection extends Struct {2407    readonly owner: AccountId32;2408    readonly mode: UpDataStructsCollectionMode;2409    readonly access: UpDataStructsAccessMode;2410    readonly name: Vec<u16>;2411    readonly description: Vec<u16>;2412    readonly tokenPrefix: Bytes;2413    readonly mintMode: bool;2414    readonly offchainSchema: Bytes;2415    readonly schemaVersion: UpDataStructsSchemaVersion;2416    readonly sponsorship: UpDataStructsSponsorshipState;2417    readonly limits: UpDataStructsCollectionLimits;2418    readonly variableOnChainSchema: Bytes;2419    readonly constOnChainSchema: Bytes;2420    readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;2421  }24222423  /** @name UpDataStructsSponsorshipState (293) */2424  export interface UpDataStructsSponsorshipState extends Enum {2425    readonly isDisabled: boolean;2426    readonly isUnconfirmed: boolean;2427    readonly asUnconfirmed: AccountId32;2428    readonly isConfirmed: boolean;2429    readonly asConfirmed: AccountId32;2430    readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2431  }24322433  /** @name UpDataStructsCollectionStats (296) */2434  export interface UpDataStructsCollectionStats extends Struct {2435    readonly created: u32;2436    readonly destroyed: u32;2437    readonly alive: u32;2438  }24392440  /** @name PalletCommonError (297) */2441  export interface PalletCommonError extends Enum {2442    readonly isCollectionNotFound: boolean;2443    readonly isMustBeTokenOwner: boolean;2444    readonly isNoPermission: boolean;2445    readonly isPublicMintingNotAllowed: boolean;2446    readonly isAddressNotInAllowlist: boolean;2447    readonly isCollectionNameLimitExceeded: boolean;2448    readonly isCollectionDescriptionLimitExceeded: boolean;2449    readonly isCollectionTokenPrefixLimitExceeded: boolean;2450    readonly isTotalCollectionsLimitExceeded: boolean;2451    readonly isTokenVariableDataLimitExceeded: boolean;2452    readonly isCollectionAdminCountExceeded: boolean;2453    readonly isCollectionLimitBoundsExceeded: boolean;2454    readonly isOwnerPermissionsCantBeReverted: boolean;2455    readonly isTransferNotAllowed: boolean;2456    readonly isAccountTokenLimitExceeded: boolean;2457    readonly isCollectionTokenLimitExceeded: boolean;2458    readonly isMetadataFlagFrozen: boolean;2459    readonly isTokenNotFound: boolean;2460    readonly isTokenValueTooLow: boolean;2461    readonly isApprovedValueTooLow: boolean;2462    readonly isCantApproveMoreThanOwned: boolean;2463    readonly isAddressIsZero: boolean;2464    readonly isUnsupportedOperation: boolean;2465    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';2466  }24672468  /** @name PalletFungibleError (299) */2469  export interface PalletFungibleError extends Enum {2470    readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2471    readonly isFungibleItemsHaveNoId: boolean;2472    readonly isFungibleItemsDontHaveData: boolean;2473    readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData';2474  }24752476  /** @name PalletRefungibleItemData (300) */2477  export interface PalletRefungibleItemData extends Struct {2478    readonly constData: Bytes;2479    readonly variableData: Bytes;2480  }24812482  /** @name PalletRefungibleError (304) */2483  export interface PalletRefungibleError extends Enum {2484    readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2485    readonly isWrongRefungiblePieces: boolean;2486    readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces';2487  }24882489  /** @name PalletNonfungibleItemData (305) */2490  export interface PalletNonfungibleItemData extends Struct {2491    readonly constData: Bytes;2492    readonly variableData: Bytes;2493    readonly owner: PalletCommonAccountBasicCrossAccountIdRepr;2494  }24952496  /** @name PalletNonfungibleError (306) */2497  export interface PalletNonfungibleError extends Enum {2498    readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2499    readonly isNonfungibleItemsHaveNoAmount: boolean;2500    readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';2501  }25022503  /** @name PalletEvmError (308) */2504  export interface PalletEvmError extends Enum {2505    readonly isBalanceLow: boolean;2506    readonly isFeeOverflow: boolean;2507    readonly isPaymentOverflow: boolean;2508    readonly isWithdrawFailed: boolean;2509    readonly isGasPriceTooLow: boolean;2510    readonly isInvalidNonce: boolean;2511    readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2512  }25132514  /** @name FpRpcTransactionStatus (311) */2515  export interface FpRpcTransactionStatus extends Struct {2516    readonly transactionHash: H256;2517    readonly transactionIndex: u32;2518    readonly from: H160;2519    readonly to: Option<H160>;2520    readonly contractAddress: Option<H160>;2521    readonly logs: Vec<EthereumLog>;2522    readonly logsBloom: EthbloomBloom;2523  }25242525  /** @name EthbloomBloom (314) */2526  export interface EthbloomBloom extends U8aFixed {}25272528  /** @name EthereumReceiptReceiptV3 (316) */2529  export interface EthereumReceiptReceiptV3 extends Enum {2530    readonly isLegacy: boolean;2531    readonly asLegacy: EthereumReceiptEip658ReceiptData;2532    readonly isEip2930: boolean;2533    readonly asEip2930: EthereumReceiptEip658ReceiptData;2534    readonly isEip1559: boolean;2535    readonly asEip1559: EthereumReceiptEip658ReceiptData;2536    readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2537  }25382539  /** @name EthereumReceiptEip658ReceiptData (317) */2540  export interface EthereumReceiptEip658ReceiptData extends Struct {2541    readonly statusCode: u8;2542    readonly usedGas: U256;2543    readonly logsBloom: EthbloomBloom;2544    readonly logs: Vec<EthereumLog>;2545  }25462547  /** @name EthereumBlock (318) */2548  export interface EthereumBlock extends Struct {2549    readonly header: EthereumHeader;2550    readonly transactions: Vec<EthereumTransactionTransactionV2>;2551    readonly ommers: Vec<EthereumHeader>;2552  }25532554  /** @name EthereumHeader (319) */2555  export interface EthereumHeader extends Struct {2556    readonly parentHash: H256;2557    readonly ommersHash: H256;2558    readonly beneficiary: H160;2559    readonly stateRoot: H256;2560    readonly transactionsRoot: H256;2561    readonly receiptsRoot: H256;2562    readonly logsBloom: EthbloomBloom;2563    readonly difficulty: U256;2564    readonly number: U256;2565    readonly gasLimit: U256;2566    readonly gasUsed: U256;2567    readonly timestamp: u64;2568    readonly extraData: Bytes;2569    readonly mixHash: H256;2570    readonly nonce: EthereumTypesHashH64;2571  }25722573  /** @name EthereumTypesHashH64 (320) */2574  export interface EthereumTypesHashH64 extends U8aFixed {}25752576  /** @name PalletEthereumError (325) */2577  export interface PalletEthereumError extends Enum {2578    readonly isInvalidSignature: boolean;2579    readonly isPreLogExists: boolean;2580    readonly type: 'InvalidSignature' | 'PreLogExists';2581  }25822583  /** @name PalletEvmCoderSubstrateError (326) */2584  export interface PalletEvmCoderSubstrateError extends Enum {2585    readonly isOutOfGas: boolean;2586    readonly isOutOfFund: boolean;2587    readonly type: 'OutOfGas' | 'OutOfFund';2588  }25892590  /** @name PalletEvmContractHelpersSponsoringModeT (327) */2591  export interface PalletEvmContractHelpersSponsoringModeT extends Enum {2592    readonly isDisabled: boolean;2593    readonly isAllowlisted: boolean;2594    readonly isGenerous: boolean;2595    readonly type: 'Disabled' | 'Allowlisted' | 'Generous';2596  }25972598  /** @name PalletEvmContractHelpersError (329) */2599  export interface PalletEvmContractHelpersError extends Enum {2600    readonly isNoPermission: boolean;2601    readonly type: 'NoPermission';2602  }26032604  /** @name PalletEvmMigrationError (330) */2605  export interface PalletEvmMigrationError extends Enum {2606    readonly isAccountNotEmpty: boolean;2607    readonly isAccountIsNotMigrating: boolean;2608    readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';2609  }26102611  /** @name SpRuntimeMultiSignature (332) */2612  export interface SpRuntimeMultiSignature extends Enum {2613    readonly isEd25519: boolean;2614    readonly asEd25519: SpCoreEd25519Signature;2615    readonly isSr25519: boolean;2616    readonly asSr25519: SpCoreSr25519Signature;2617    readonly isEcdsa: boolean;2618    readonly asEcdsa: SpCoreEcdsaSignature;2619    readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2620  }26212622  /** @name SpCoreEd25519Signature (333) */2623  export interface SpCoreEd25519Signature extends U8aFixed {}26242625  /** @name SpCoreSr25519Signature (335) */2626  export interface SpCoreSr25519Signature extends U8aFixed {}26272628  /** @name SpCoreEcdsaSignature (336) */2629  export interface SpCoreEcdsaSignature extends U8aFixed {}26302631  /** @name FrameSystemExtensionsCheckSpecVersion (339) */2632  export type FrameSystemExtensionsCheckSpecVersion = Null;26332634  /** @name FrameSystemExtensionsCheckGenesis (340) */2635  export type FrameSystemExtensionsCheckGenesis = Null;26362637  /** @name FrameSystemExtensionsCheckNonce (343) */2638  export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}26392640  /** @name FrameSystemExtensionsCheckWeight (344) */2641  export type FrameSystemExtensionsCheckWeight = Null;26422643  /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (345) */2644  export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}26452646  /** @name UniqueRuntimeRuntime (346) */2647  export type UniqueRuntimeRuntime = Null;26482649} // declare module
modifiedtests/src/interfaces/unique/definitions.tsdiffbeforeafterboth
--- a/tests/src/interfaces/unique/definitions.ts
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -55,5 +55,6 @@
     collectionById: fun('Get collection by specified id', [collectionParam], 'Option<UpDataStructsCollection>'),
     collectionStats: fun('Get collection stats', [], 'UpDataStructsCollectionStats'),
     allowed: fun('Check if user is allowed to use collection', [collectionParam, crossAccountParam()], 'bool'),
+    effectiveCollectionLimits: fun('Get effective collection limits', [collectionParam], 'Option<UpDataStructsCollectionLimits>'),
   },
 };
modifiedtests/src/interfaces/unique/types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/unique/types.ts
+++ b/tests/src/interfaces/unique/types.ts
@@ -654,6 +654,9 @@
   readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
 }
 
+/** @name OpalRuntimeRuntime */
+export interface OpalRuntimeRuntime extends Null {}
+
 /** @name OrmlVestingModuleCall */
 export interface OrmlVestingModuleCall extends Enum {
   readonly isClaim: boolean;
@@ -892,7 +895,8 @@
   readonly isCantApproveMoreThanOwned: boolean;
   readonly isAddressIsZero: boolean;
   readonly isUnsupportedOperation: boolean;
-  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';
+  readonly isNotSufficientFounds: boolean;
+  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' | 'NotSufficientFounds';
 }
 
 /** @name PalletCommonEvent */
@@ -1721,9 +1725,6 @@
   readonly transactionVersion: u32;
   readonly stateVersion: u8;
 }
-
-/** @name UniqueRuntimeRuntime */
-export interface UniqueRuntimeRuntime extends Null {}
 
 /** @name UpDataStructsAccessMode */
 export interface UpDataStructsAccessMode extends Enum {
modifiedtests/src/limits.test.tsdiffbeforeafterboth
--- a/tests/src/limits.test.ts
+++ b/tests/src/limits.test.ts
@@ -396,3 +396,51 @@
     //expect(aliceBalanceAfterSponsoredTransaction1).to.be.lessThan(aliceBalanceBefore);
   });
 });
+
+describe.only('Effective collection limits', () => {
+  it('Test1', async () => {
+    await usingApi(async (api) => {
+      const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
+      
+      {
+        const collection = await api.rpc.unique.collectionById(collectionId);
+        expect(collection.isSome).to.be.true;
+        const limits = collection.unwrap().limits;
+        expect(limits).to.be.any;
+        
+        // Check that limits is undefined
+        expect(limits.accountTokenOwnershipLimit.isNone).to.be.true;
+        expect(limits.sponsoredDataSize.isNone).to.be.true;
+        expect(limits.sponsoredDataRateLimit.isNone).to.be.true;
+        expect(limits.tokenLimit.isNone).to.be.true;
+        expect(limits.sponsorTransferTimeout.isNone).to.be.true;
+        expect(limits.sponsorApproveTimeout.isNone).to.be.true;
+        expect(limits.ownerCanTransfer.isNone).to.be.true;
+        expect(limits.ownerCanDestroy.isNone).to.be.true;
+        expect(limits.transfersEnabled.isNone).to.be.true;
+      }
+
+      {
+        const limits = await api.rpc.unique.effectiveCollectionLimits(11111);
+        expect(limits.isNone).to.be.true;
+      }
+
+      {
+        const limitsOpt = await api.rpc.unique.effectiveCollectionLimits(collectionId);
+        expect(limitsOpt.isNone).to.be.false;
+        const limits = limitsOpt.unwrap();
+
+        console.log(limits);
+        expect(limits.accountTokenOwnershipLimit.isSome).to.be.true;
+        expect(limits.sponsoredDataSize.isSome).to.be.true;
+        expect(limits.sponsoredDataRateLimit.isSome).to.be.true;
+        expect(limits.tokenLimit.isSome).to.be.true;
+        expect(limits.sponsorTransferTimeout.isSome).to.be.true;
+        expect(limits.sponsorApproveTimeout.isSome).to.be.true;
+        expect(limits.ownerCanTransfer.isSome).to.be.true;
+        expect(limits.ownerCanDestroy.isSome).to.be.true;
+        expect(limits.transfersEnabled.isSome).to.be.true;
+      }
+    });
+  });
+});
\ No newline at end of file