git.delta.rocks / unique-network / refs/commits / 554134b0f679

difftreelog

Fix after rebase

Trubnikov Sergey2022-05-12parent: #fe6b71b.patch.diff
in: master

15 files changed

modifiedCargo.lockdiffbeforeafterboth
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -989,9 +989,9 @@
 
 [[package]]
 name = "camino"
-version = "1.0.9"
+version = "1.0.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "869119e97797867fd90f5e22af7d0bd274bd4635ebb9eb68c04f3f513ae6c412"
+checksum = "07fd178c5af4d59e83498ef15cf3f154e1a6f9d091270cb86283c65ef44e9ef0"
 dependencies = [
  "serde",
 ]
@@ -6099,6 +6099,29 @@
 ]
 
 [[package]]
+name = "pallet-evm-collection"
+version = "0.1.0"
+dependencies = [
+ "ethereum",
+ "evm-coder",
+ "fp-evm-mapping",
+ "frame-support",
+ "frame-system",
+ "log",
+ "pallet-common",
+ "pallet-evm",
+ "pallet-evm-coder-substrate",
+ "pallet-nonfungible",
+ "parity-scale-codec",
+ "scale-info",
+ "serde_json",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+ "up-data-structs",
+]
+
+[[package]]
 name = "pallet-evm-contract-helpers"
 version = "0.1.0"
 dependencies = [
modifiedpallets/evm-collection/src/stubs/Collection.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/evm-collection/src/stubs/Collection.soldiffbeforeafterboth
--- a/pallets/evm-collection/src/stubs/Collection.sol
+++ b/pallets/evm-collection/src/stubs/Collection.sol
@@ -56,13 +56,13 @@
 	}
 
 	// Selector: setOffchainSchema(address,string) 2c9d9d70
-	function setOffchainSchema(address collectionAddress, string memory shema)
+	function setOffchainSchema(address collectionAddress, string memory schema)
 		public
 		view
 	{
 		require(false, stub_error);
 		collectionAddress;
-		shema;
+		schema;
 		dummy;
 	}
 
modifiedpallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth
--- a/pallets/evm-contract-helpers/Cargo.toml
+++ b/pallets/evm-contract-helpers/Cargo.toml
@@ -28,7 +28,7 @@
 pallet-common = { default-features = false, path = '../../pallets/common' }
 pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
 pallet-nonfungible = { default-features = false, path = '../../pallets/nonfungible' }
-up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
+up-data-structs = { default-features = false, path = '../../primitives/data-structs', features = ['serde1'] }
 
 [dependencies.codec]
 default-features = false
modifiedprimitives/rpc/src/lib.rsdiffbeforeafterboth
--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -23,6 +23,7 @@
 use sp_std::vec::Vec;
 use codec::Decode;
 use sp_runtime::DispatchError;
+use sp_core::H160;
 
 type Result<T> = core::result::Result<T, DispatchError>;
 
@@ -71,6 +72,7 @@
 			token: TokenId,
 		) -> Result<u128>;
 
+		fn eth_contract_code(account: H160) -> Option<Vec<u8>>;
 		fn adminlist(collection: CollectionId) -> Result<Vec<CrossAccountId>>;
 		fn allowlist(collection: CollectionId) -> Result<Vec<CrossAccountId>>;
 		fn allowed(collection: CollectionId, user: CrossAccountId) -> Result<bool>;
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -79,7 +79,7 @@
 };
 use smallvec::smallvec;
 use codec::{Encode, Decode};
-use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping};
+use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};
 use fp_rpc::TransactionStatus;
 use sp_runtime::{
 	traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -84,7 +84,7 @@
 };
 use smallvec::smallvec;
 use codec::{Encode, Decode};
-use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping};
+use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, OnMethodCall};
 use fp_rpc::TransactionStatus;
 use sp_runtime::{
 	traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},
modifiedtests/src/eth/api/Collection.soldiffbeforeafterboth
--- a/tests/src/eth/api/Collection.sol
+++ b/tests/src/eth/api/Collection.sol
@@ -30,7 +30,7 @@
 	function confirmSponsorship(address collectionAddress) external view;
 
 	// Selector: setOffchainSchema(address,string) 2c9d9d70
-	function setOffchainSchema(address collectionAddress, string memory shema)
+	function setOffchainSchema(address collectionAddress, string memory schema)
 		external
 		view;
 
modifiedtests/src/eth/collectionAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/collectionAbi.json
+++ b/tests/src/eth/collectionAbi.json
@@ -58,7 +58,7 @@
         "name": "collectionAddress",
         "type": "address"
       },
-      { "internalType": "string", "name": "shema", "type": "string" }
+      { "internalType": "string", "name": "schema", "type": "string" }
     ],
     "name": "setOffchainSchema",
     "outputs": [],
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -249,6 +249,16 @@
        **/
       [key: string]: AugmentedError<ApiType>;
     };
+    evmCollection: {
+      /**
+       * This method is only executable by owner
+       **/
+      NoPermission: AugmentedError<ApiType>;
+      /**
+       * Generic error
+       **/
+      [key: string]: AugmentedError<ApiType>;
+    };
     evmContractHelpers: {
       /**
        * This method is only executable by owner
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -13,7 +13,6 @@
 import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
 import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
 import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
-import type { BlockStats } from '@polkadot/types/interfaces/dev';
 import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
 import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
 import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
@@ -22,8 +21,8 @@
 import type { StorageKind } from '@polkadot/types/interfaces/offchain';
 import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
 import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
-import type { AccountId, AccountId32, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
-import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
+import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
+import type { ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
 import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
 import type { IExtrinsic, Observable } from '@polkadot/types/types';
 
@@ -156,12 +155,6 @@
        * Upload new code without instantiating a contract from it
        **/
       uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<CodeUploadResult>>;
-    };
-    dev: {
-      /**
-       * Reexecute the specified `block_hash` and gather statistics while doing so
-       **/
-      getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable<Option<BlockStats>>>;
     };
     engine: {
       /**
@@ -338,20 +331,6 @@
        * Uninstalls filter.
        **/
       uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable<bool>>;
-    };
-    grandpa: {
-      /**
-       * Prove finality for the given block number, returning the Justification for the last block in the set.
-       **/
-      proveFinality: AugmentedRpc<(blockNumber: BlockNumber | AnyNumber | Uint8Array) => Observable<Option<EncodedFinalityProofs>>>;
-      /**
-       * Returns the state of the current best round state as well as the ongoing background rounds
-       **/
-      roundState: AugmentedRpc<() => Observable<ReportedRoundStates>>;
-      /**
-       * Subscribes to grandpa justifications
-       **/
-      subscribeJustifications: AugmentedRpc<() => Observable<JustificationNotification>>;
     };
     mmr: {
       /**
@@ -452,92 +431,6 @@
        * Retrieves the list of RPC methods that are exposed by the node
        **/
       methods: AugmentedRpc<() => Observable<RpcMethods>>;
-    };
-    state: {
-      /**
-       * Perform a call to a builtin on the chain
-       **/
-      call: AugmentedRpc<(method: Text | string, data: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<Bytes>>;
-      /**
-       * Retrieves the keys with prefix of a specific child storage
-       **/
-      getChildKeys: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Vec<StorageKey>>>;
-      /**
-       * Returns proof of storage for child key entries at a specific block state.
-       **/
-      getChildReadProof: AugmentedRpc<(childStorageKey: PrefixedStorageKey | string | Uint8Array, keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array) => Observable<ReadProof>>;
-      /**
-       * Retrieves the child storage for a key
-       **/
-      getChildStorage: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<StorageData>>;
-      /**
-       * Retrieves the child storage hash
-       **/
-      getChildStorageHash: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Hash>>;
-      /**
-       * Retrieves the child storage size
-       **/
-      getChildStorageSize: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<u64>>;
-      /**
-       * Retrieves the keys with a certain prefix
-       **/
-      getKeys: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Vec<StorageKey>>>;
-      /**
-       * Returns the keys with prefix with pagination support.
-       **/
-      getKeysPaged: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, count: u32 | AnyNumber | Uint8Array, startKey?: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Vec<StorageKey>>>;
-      /**
-       * Returns the runtime metadata
-       **/
-      getMetadata: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<Metadata>>;
-      /**
-       * Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged)
-       **/
-      getPairs: AugmentedRpc<(prefix: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Vec<KeyValue>>>;
-      /**
-       * Returns proof of storage entries at a specific block state
-       **/
-      getReadProof: AugmentedRpc<(keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array) => Observable<ReadProof>>;
-      /**
-       * Get the runtime version
-       **/
-      getRuntimeVersion: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<RuntimeVersion>>;
-      /**
-       * Retrieves the storage for a key
-       **/
-      getStorage: AugmentedRpc<<T = Codec>(key: StorageKey | string | Uint8Array | any, block?: Hash | Uint8Array | string) => Observable<T>>;
-      /**
-       * Retrieves the storage hash
-       **/
-      getStorageHash: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Hash>>;
-      /**
-       * Retrieves the storage size
-       **/
-      getStorageSize: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<u64>>;
-      /**
-       * Query historical storage entries (by key) starting from a start block
-       **/
-      queryStorage: AugmentedRpc<<T = Codec[]>(keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], fromBlock?: Hash | Uint8Array | string, toBlock?: Hash | Uint8Array | string) => Observable<[Hash, T][]>>;
-      /**
-       * Query storage entries (by key) starting at block hash given as the second parameter
-       **/
-      queryStorageAt: AugmentedRpc<<T = Codec[]>(keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: Hash | Uint8Array | string) => Observable<T>>;
-      /**
-       * Retrieves the runtime version via subscription
-       **/
-      subscribeRuntimeVersion: AugmentedRpc<() => Observable<RuntimeVersion>>;
-      /**
-       * Subscribes to storage changes for the provided keys
-       **/
-      subscribeStorage: AugmentedRpc<<T = Codec[]>(keys?: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[]) => Observable<T>>;
-      /**
-       * Provides a way to trace the re-execution of a single block
-       **/
-      traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array, methods: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>;
-      /**
-       * Check current migration state
-       **/
-      trieMigrationStatus: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<MigrationStatusResult>>;
     };
     syncstate: {
       /**
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -23,7 +23,6 @@
 import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
 import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
 import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
-import type { BlockStats } from '@polkadot/types/interfaces/dev';
 import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
 import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
 import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
@@ -52,9 +51,9 @@
 import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';
 import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';
 import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking';
-import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';
+import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';
 import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';
-import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8a, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';
+import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';
 import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';
 import type { Multiplier } from '@polkadot/types/interfaces/txpayment';
 import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';
@@ -154,7 +153,6 @@
     BlockNumber: BlockNumber;
     BlockNumberFor: BlockNumberFor;
     BlockNumberOf: BlockNumberOf;
-    BlockStats: BlockStats;
     BlockTrace: BlockTrace;
     BlockTraceEvent: BlockTraceEvent;
     BlockTraceEventData: BlockTraceEventData;
@@ -329,7 +327,6 @@
     DispatchClass: DispatchClass;
     DispatchError: DispatchError;
     DispatchErrorModule: DispatchErrorModule;
-    DispatchErrorModuleU8a: DispatchErrorModuleU8a;
     DispatchErrorTo198: DispatchErrorTo198;
     DispatchFeePayment: DispatchFeePayment;
     DispatchInfo: DispatchInfo;
@@ -660,7 +657,6 @@
     MetadataV13: MetadataV13;
     MetadataV14: MetadataV14;
     MetadataV9: MetadataV9;
-    MigrationStatusResult: MigrationStatusResult;
     MmrLeafProof: MmrLeafProof;
     MmrRootHash: MmrRootHash;
     ModuleConstantMetadataV10: ModuleConstantMetadataV10;
@@ -771,6 +767,7 @@
     PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;
     PalletEvmCall: PalletEvmCall;
     PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;
+    PalletEvmCollectionError: PalletEvmCollectionError;
     PalletEvmContractHelpersError: PalletEvmContractHelpersError;
     PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;
     PalletEvmError: PalletEvmError;
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -26,6 +26,10 @@
     trieNodes: 'BTreeSet<Bytes>'
   },
   /**
+   * Lookup11: BTreeSet<T>
+   **/
+  BTreeSet: 'Vec<Bytes>',
+  /**
    * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
    **/
   CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -26,6 +26,9 @@
     readonly trieNodes: BTreeSet<Bytes>;
   }
 
+  /** @name BTreeSet (11) */
+  export interface BTreeSet extends Vec<Bytes> {}
+
   /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */
   export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
     readonly dmqMqcHead: H256;
modifiedtests/src/interfaces/unique/types.tsdiffbeforeafterboth
before · tests/src/interfaces/unique/types.ts
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11  readonly isServiceOverweight: boolean;12  readonly asServiceOverweight: {13    readonly index: u64;14    readonly weightLimit: u64;15  } & Struct;16  readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21  readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26  readonly isUnknown: boolean;27  readonly isOverLimit: boolean;28  readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33  readonly isInvalidFormat: boolean;34  readonly asInvalidFormat: U8aFixed;35  readonly isUnsupportedVersion: boolean;36  readonly asUnsupportedVersion: U8aFixed;37  readonly isExecutedDownward: boolean;38  readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;39  readonly isWeightExhausted: boolean;40  readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;41  readonly isOverweightEnqueued: boolean;42  readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;43  readonly isOverweightServiced: boolean;44  readonly asOverweightServiced: ITuple<[u64, u64]>;45  readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';46}4748/** @name CumulusPalletDmpQueuePageIndexData */49export interface CumulusPalletDmpQueuePageIndexData extends Struct {50  readonly beginUsed: u32;51  readonly endUsed: u32;52  readonly overweightCount: u64;53}5455/** @name CumulusPalletParachainSystemCall */56export interface CumulusPalletParachainSystemCall extends Enum {57  readonly isSetValidationData: boolean;58  readonly asSetValidationData: {59    readonly data: CumulusPrimitivesParachainInherentParachainInherentData;60  } & Struct;61  readonly isSudoSendUpwardMessage: boolean;62  readonly asSudoSendUpwardMessage: {63    readonly message: Bytes;64  } & Struct;65  readonly isAuthorizeUpgrade: boolean;66  readonly asAuthorizeUpgrade: {67    readonly codeHash: H256;68  } & Struct;69  readonly isEnactAuthorizedUpgrade: boolean;70  readonly asEnactAuthorizedUpgrade: {71    readonly code: Bytes;72  } & Struct;73  readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';74}7576/** @name CumulusPalletParachainSystemError */77export interface CumulusPalletParachainSystemError extends Enum {78  readonly isOverlappingUpgrades: boolean;79  readonly isProhibitedByPolkadot: boolean;80  readonly isTooBig: boolean;81  readonly isValidationDataNotAvailable: boolean;82  readonly isHostConfigurationNotAvailable: boolean;83  readonly isNotScheduled: boolean;84  readonly isNothingAuthorized: boolean;85  readonly isUnauthorized: boolean;86  readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';87}8889/** @name CumulusPalletParachainSystemEvent */90export interface CumulusPalletParachainSystemEvent extends Enum {91  readonly isValidationFunctionStored: boolean;92  readonly isValidationFunctionApplied: boolean;93  readonly asValidationFunctionApplied: u32;94  readonly isValidationFunctionDiscarded: boolean;95  readonly isUpgradeAuthorized: boolean;96  readonly asUpgradeAuthorized: H256;97  readonly isDownwardMessagesReceived: boolean;98  readonly asDownwardMessagesReceived: u32;99  readonly isDownwardMessagesProcessed: boolean;100  readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;101  readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';102}103104/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */105export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {106  readonly dmqMqcHead: H256;107  readonly relayDispatchQueueSize: ITuple<[u32, u32]>;108  readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;109  readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;110}111112/** @name CumulusPalletXcmCall */113export interface CumulusPalletXcmCall extends Null {}114115/** @name CumulusPalletXcmError */116export interface CumulusPalletXcmError extends Null {}117118/** @name CumulusPalletXcmEvent */119export interface CumulusPalletXcmEvent extends Enum {120  readonly isInvalidFormat: boolean;121  readonly asInvalidFormat: U8aFixed;122  readonly isUnsupportedVersion: boolean;123  readonly asUnsupportedVersion: U8aFixed;124  readonly isExecutedDownward: boolean;125  readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;126  readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';127}128129/** @name CumulusPalletXcmpQueueCall */130export interface CumulusPalletXcmpQueueCall extends Enum {131  readonly isServiceOverweight: boolean;132  readonly asServiceOverweight: {133    readonly index: u64;134    readonly weightLimit: u64;135  } & Struct;136  readonly isSuspendXcmExecution: boolean;137  readonly isResumeXcmExecution: boolean;138  readonly isUpdateSuspendThreshold: boolean;139  readonly asUpdateSuspendThreshold: {140    readonly new_: u32;141  } & Struct;142  readonly isUpdateDropThreshold: boolean;143  readonly asUpdateDropThreshold: {144    readonly new_: u32;145  } & Struct;146  readonly isUpdateResumeThreshold: boolean;147  readonly asUpdateResumeThreshold: {148    readonly new_: u32;149  } & Struct;150  readonly isUpdateThresholdWeight: boolean;151  readonly asUpdateThresholdWeight: {152    readonly new_: u64;153  } & Struct;154  readonly isUpdateWeightRestrictDecay: boolean;155  readonly asUpdateWeightRestrictDecay: {156    readonly new_: u64;157  } & Struct;158  readonly isUpdateXcmpMaxIndividualWeight: boolean;159  readonly asUpdateXcmpMaxIndividualWeight: {160    readonly new_: u64;161  } & Struct;162  readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';163}164165/** @name CumulusPalletXcmpQueueError */166export interface CumulusPalletXcmpQueueError extends Enum {167  readonly isFailedToSend: boolean;168  readonly isBadXcmOrigin: boolean;169  readonly isBadXcm: boolean;170  readonly isBadOverweightIndex: boolean;171  readonly isWeightOverLimit: boolean;172  readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';173}174175/** @name CumulusPalletXcmpQueueEvent */176export interface CumulusPalletXcmpQueueEvent extends Enum {177  readonly isSuccess: boolean;178  readonly asSuccess: Option<H256>;179  readonly isFail: boolean;180  readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;181  readonly isBadVersion: boolean;182  readonly asBadVersion: Option<H256>;183  readonly isBadFormat: boolean;184  readonly asBadFormat: Option<H256>;185  readonly isUpwardMessageSent: boolean;186  readonly asUpwardMessageSent: Option<H256>;187  readonly isXcmpMessageSent: boolean;188  readonly asXcmpMessageSent: Option<H256>;189  readonly isOverweightEnqueued: boolean;190  readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;191  readonly isOverweightServiced: boolean;192  readonly asOverweightServiced: ITuple<[u64, u64]>;193  readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';194}195196/** @name CumulusPalletXcmpQueueInboundChannelDetails */197export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {198  readonly sender: u32;199  readonly state: CumulusPalletXcmpQueueInboundState;200  readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;201}202203/** @name CumulusPalletXcmpQueueInboundState */204export interface CumulusPalletXcmpQueueInboundState extends Enum {205  readonly isOk: boolean;206  readonly isSuspended: boolean;207  readonly type: 'Ok' | 'Suspended';208}209210/** @name CumulusPalletXcmpQueueOutboundChannelDetails */211export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {212  readonly recipient: u32;213  readonly state: CumulusPalletXcmpQueueOutboundState;214  readonly signalsExist: bool;215  readonly firstIndex: u16;216  readonly lastIndex: u16;217}218219/** @name CumulusPalletXcmpQueueOutboundState */220export interface CumulusPalletXcmpQueueOutboundState extends Enum {221  readonly isOk: boolean;222  readonly isSuspended: boolean;223  readonly type: 'Ok' | 'Suspended';224}225226/** @name CumulusPalletXcmpQueueQueueConfigData */227export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {228  readonly suspendThreshold: u32;229  readonly dropThreshold: u32;230  readonly resumeThreshold: u32;231  readonly thresholdWeight: u64;232  readonly weightRestrictDecay: u64;233  readonly xcmpMaxIndividualWeight: u64;234}235236/** @name CumulusPrimitivesParachainInherentParachainInherentData */237export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {238  readonly validationData: PolkadotPrimitivesV2PersistedValidationData;239  readonly relayChainState: SpTrieStorageProof;240  readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;241  readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;242}243244/** @name EthbloomBloom */245export interface EthbloomBloom extends U8aFixed {}246247/** @name EthereumBlock */248export interface EthereumBlock extends Struct {249  readonly header: EthereumHeader;250  readonly transactions: Vec<EthereumTransactionTransactionV2>;251  readonly ommers: Vec<EthereumHeader>;252}253254/** @name EthereumHeader */255export interface EthereumHeader extends Struct {256  readonly parentHash: H256;257  readonly ommersHash: H256;258  readonly beneficiary: H160;259  readonly stateRoot: H256;260  readonly transactionsRoot: H256;261  readonly receiptsRoot: H256;262  readonly logsBloom: EthbloomBloom;263  readonly difficulty: U256;264  readonly number: U256;265  readonly gasLimit: U256;266  readonly gasUsed: U256;267  readonly timestamp: u64;268  readonly extraData: Bytes;269  readonly mixHash: H256;270  readonly nonce: EthereumTypesHashH64;271}272273/** @name EthereumLog */274export interface EthereumLog extends Struct {275  readonly address: H160;276  readonly topics: Vec<H256>;277  readonly data: Bytes;278}279280/** @name EthereumReceiptEip658ReceiptData */281export interface EthereumReceiptEip658ReceiptData extends Struct {282  readonly statusCode: u8;283  readonly usedGas: U256;284  readonly logsBloom: EthbloomBloom;285  readonly logs: Vec<EthereumLog>;286}287288/** @name EthereumReceiptReceiptV3 */289export interface EthereumReceiptReceiptV3 extends Enum {290  readonly isLegacy: boolean;291  readonly asLegacy: EthereumReceiptEip658ReceiptData;292  readonly isEip2930: boolean;293  readonly asEip2930: EthereumReceiptEip658ReceiptData;294  readonly isEip1559: boolean;295  readonly asEip1559: EthereumReceiptEip658ReceiptData;296  readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';297}298299/** @name EthereumTransactionAccessListItem */300export interface EthereumTransactionAccessListItem extends Struct {301  readonly address: H160;302  readonly storageKeys: Vec<H256>;303}304305/** @name EthereumTransactionEip1559Transaction */306export interface EthereumTransactionEip1559Transaction extends Struct {307  readonly chainId: u64;308  readonly nonce: U256;309  readonly maxPriorityFeePerGas: U256;310  readonly maxFeePerGas: U256;311  readonly gasLimit: U256;312  readonly action: EthereumTransactionTransactionAction;313  readonly value: U256;314  readonly input: Bytes;315  readonly accessList: Vec<EthereumTransactionAccessListItem>;316  readonly oddYParity: bool;317  readonly r: H256;318  readonly s: H256;319}320321/** @name EthereumTransactionEip2930Transaction */322export interface EthereumTransactionEip2930Transaction extends Struct {323  readonly chainId: u64;324  readonly nonce: U256;325  readonly gasPrice: U256;326  readonly gasLimit: U256;327  readonly action: EthereumTransactionTransactionAction;328  readonly value: U256;329  readonly input: Bytes;330  readonly accessList: Vec<EthereumTransactionAccessListItem>;331  readonly oddYParity: bool;332  readonly r: H256;333  readonly s: H256;334}335336/** @name EthereumTransactionLegacyTransaction */337export interface EthereumTransactionLegacyTransaction extends Struct {338  readonly nonce: U256;339  readonly gasPrice: U256;340  readonly gasLimit: U256;341  readonly action: EthereumTransactionTransactionAction;342  readonly value: U256;343  readonly input: Bytes;344  readonly signature: EthereumTransactionTransactionSignature;345}346347/** @name EthereumTransactionTransactionAction */348export interface EthereumTransactionTransactionAction extends Enum {349  readonly isCall: boolean;350  readonly asCall: H160;351  readonly isCreate: boolean;352  readonly type: 'Call' | 'Create';353}354355/** @name EthereumTransactionTransactionSignature */356export interface EthereumTransactionTransactionSignature extends Struct {357  readonly v: u64;358  readonly r: H256;359  readonly s: H256;360}361362/** @name EthereumTransactionTransactionV2 */363export interface EthereumTransactionTransactionV2 extends Enum {364  readonly isLegacy: boolean;365  readonly asLegacy: EthereumTransactionLegacyTransaction;366  readonly isEip2930: boolean;367  readonly asEip2930: EthereumTransactionEip2930Transaction;368  readonly isEip1559: boolean;369  readonly asEip1559: EthereumTransactionEip1559Transaction;370  readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';371}372373/** @name EthereumTypesHashH64 */374export interface EthereumTypesHashH64 extends U8aFixed {}375376/** @name EvmCoreErrorExitError */377export interface EvmCoreErrorExitError extends Enum {378  readonly isStackUnderflow: boolean;379  readonly isStackOverflow: boolean;380  readonly isInvalidJump: boolean;381  readonly isInvalidRange: boolean;382  readonly isDesignatedInvalid: boolean;383  readonly isCallTooDeep: boolean;384  readonly isCreateCollision: boolean;385  readonly isCreateContractLimit: boolean;386  readonly isOutOfOffset: boolean;387  readonly isOutOfGas: boolean;388  readonly isOutOfFund: boolean;389  readonly isPcUnderflow: boolean;390  readonly isCreateEmpty: boolean;391  readonly isOther: boolean;392  readonly asOther: Text;393  readonly isInvalidCode: boolean;394  readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';395}396397/** @name EvmCoreErrorExitFatal */398export interface EvmCoreErrorExitFatal extends Enum {399  readonly isNotSupported: boolean;400  readonly isUnhandledInterrupt: boolean;401  readonly isCallErrorAsFatal: boolean;402  readonly asCallErrorAsFatal: EvmCoreErrorExitError;403  readonly isOther: boolean;404  readonly asOther: Text;405  readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';406}407408/** @name EvmCoreErrorExitReason */409export interface EvmCoreErrorExitReason extends Enum {410  readonly isSucceed: boolean;411  readonly asSucceed: EvmCoreErrorExitSucceed;412  readonly isError: boolean;413  readonly asError: EvmCoreErrorExitError;414  readonly isRevert: boolean;415  readonly asRevert: EvmCoreErrorExitRevert;416  readonly isFatal: boolean;417  readonly asFatal: EvmCoreErrorExitFatal;418  readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';419}420421/** @name EvmCoreErrorExitRevert */422export interface EvmCoreErrorExitRevert extends Enum {423  readonly isReverted: boolean;424  readonly type: 'Reverted';425}426427/** @name EvmCoreErrorExitSucceed */428export interface EvmCoreErrorExitSucceed extends Enum {429  readonly isStopped: boolean;430  readonly isReturned: boolean;431  readonly isSuicided: boolean;432  readonly type: 'Stopped' | 'Returned' | 'Suicided';433}434435/** @name FpRpcTransactionStatus */436export interface FpRpcTransactionStatus extends Struct {437  readonly transactionHash: H256;438  readonly transactionIndex: u32;439  readonly from: H160;440  readonly to: Option<H160>;441  readonly contractAddress: Option<H160>;442  readonly logs: Vec<EthereumLog>;443  readonly logsBloom: EthbloomBloom;444}445446/** @name FrameSupportPalletId */447export interface FrameSupportPalletId extends U8aFixed {}448449/** @name FrameSupportTokensMiscBalanceStatus */450export interface FrameSupportTokensMiscBalanceStatus extends Enum {451  readonly isFree: boolean;452  readonly isReserved: boolean;453  readonly type: 'Free' | 'Reserved';454}455456/** @name FrameSupportWeightsDispatchClass */457export interface FrameSupportWeightsDispatchClass extends Enum {458  readonly isNormal: boolean;459  readonly isOperational: boolean;460  readonly isMandatory: boolean;461  readonly type: 'Normal' | 'Operational' | 'Mandatory';462}463464/** @name FrameSupportWeightsDispatchInfo */465export interface FrameSupportWeightsDispatchInfo extends Struct {466  readonly weight: u64;467  readonly class: FrameSupportWeightsDispatchClass;468  readonly paysFee: FrameSupportWeightsPays;469}470471/** @name FrameSupportWeightsPays */472export interface FrameSupportWeightsPays extends Enum {473  readonly isYes: boolean;474  readonly isNo: boolean;475  readonly type: 'Yes' | 'No';476}477478/** @name FrameSupportWeightsPerDispatchClassU32 */479export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {480  readonly normal: u32;481  readonly operational: u32;482  readonly mandatory: u32;483}484485/** @name FrameSupportWeightsPerDispatchClassU64 */486export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {487  readonly normal: u64;488  readonly operational: u64;489  readonly mandatory: u64;490}491492/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */493export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {494  readonly normal: FrameSystemLimitsWeightsPerClass;495  readonly operational: FrameSystemLimitsWeightsPerClass;496  readonly mandatory: FrameSystemLimitsWeightsPerClass;497}498499/** @name FrameSupportWeightsRuntimeDbWeight */500export interface FrameSupportWeightsRuntimeDbWeight extends Struct {501  readonly read: u64;502  readonly write: u64;503}504505/** @name FrameSupportWeightsWeightToFeeCoefficient */506export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {507  readonly coeffInteger: u128;508  readonly coeffFrac: Perbill;509  readonly negative: bool;510  readonly degree: u8;511}512513/** @name FrameSystemAccountInfo */514export interface FrameSystemAccountInfo extends Struct {515  readonly nonce: u32;516  readonly consumers: u32;517  readonly providers: u32;518  readonly sufficients: u32;519  readonly data: PalletBalancesAccountData;520}521522/** @name FrameSystemCall */523export interface FrameSystemCall extends Enum {524  readonly isFillBlock: boolean;525  readonly asFillBlock: {526    readonly ratio: Perbill;527  } & Struct;528  readonly isRemark: boolean;529  readonly asRemark: {530    readonly remark: Bytes;531  } & Struct;532  readonly isSetHeapPages: boolean;533  readonly asSetHeapPages: {534    readonly pages: u64;535  } & Struct;536  readonly isSetCode: boolean;537  readonly asSetCode: {538    readonly code: Bytes;539  } & Struct;540  readonly isSetCodeWithoutChecks: boolean;541  readonly asSetCodeWithoutChecks: {542    readonly code: Bytes;543  } & Struct;544  readonly isSetStorage: boolean;545  readonly asSetStorage: {546    readonly items: Vec<ITuple<[Bytes, Bytes]>>;547  } & Struct;548  readonly isKillStorage: boolean;549  readonly asKillStorage: {550    readonly keys_: Vec<Bytes>;551  } & Struct;552  readonly isKillPrefix: boolean;553  readonly asKillPrefix: {554    readonly prefix: Bytes;555    readonly subkeys: u32;556  } & Struct;557  readonly isRemarkWithEvent: boolean;558  readonly asRemarkWithEvent: {559    readonly remark: Bytes;560  } & Struct;561  readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';562}563564/** @name FrameSystemError */565export interface FrameSystemError extends Enum {566  readonly isInvalidSpecName: boolean;567  readonly isSpecVersionNeedsToIncrease: boolean;568  readonly isFailedToExtractRuntimeVersion: boolean;569  readonly isNonDefaultComposite: boolean;570  readonly isNonZeroRefCount: boolean;571  readonly isCallFiltered: boolean;572  readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';573}574575/** @name FrameSystemEvent */576export interface FrameSystemEvent extends Enum {577  readonly isExtrinsicSuccess: boolean;578  readonly asExtrinsicSuccess: {579    readonly dispatchInfo: FrameSupportWeightsDispatchInfo;580  } & Struct;581  readonly isExtrinsicFailed: boolean;582  readonly asExtrinsicFailed: {583    readonly dispatchError: SpRuntimeDispatchError;584    readonly dispatchInfo: FrameSupportWeightsDispatchInfo;585  } & Struct;586  readonly isCodeUpdated: boolean;587  readonly isNewAccount: boolean;588  readonly asNewAccount: {589    readonly account: AccountId32;590  } & Struct;591  readonly isKilledAccount: boolean;592  readonly asKilledAccount: {593    readonly account: AccountId32;594  } & Struct;595  readonly isRemarked: boolean;596  readonly asRemarked: {597    readonly sender: AccountId32;598    readonly hash_: H256;599  } & Struct;600  readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';601}602603/** @name FrameSystemEventRecord */604export interface FrameSystemEventRecord extends Struct {605  readonly phase: FrameSystemPhase;606  readonly event: Event;607  readonly topics: Vec<H256>;608}609610/** @name FrameSystemExtensionsCheckGenesis */611export interface FrameSystemExtensionsCheckGenesis extends Null {}612613/** @name FrameSystemExtensionsCheckNonce */614export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}615616/** @name FrameSystemExtensionsCheckSpecVersion */617export interface FrameSystemExtensionsCheckSpecVersion extends Null {}618619/** @name FrameSystemExtensionsCheckWeight */620export interface FrameSystemExtensionsCheckWeight extends Null {}621622/** @name FrameSystemLastRuntimeUpgradeInfo */623export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {624  readonly specVersion: Compact<u32>;625  readonly specName: Text;626}627628/** @name FrameSystemLimitsBlockLength */629export interface FrameSystemLimitsBlockLength extends Struct {630  readonly max: FrameSupportWeightsPerDispatchClassU32;631}632633/** @name FrameSystemLimitsBlockWeights */634export interface FrameSystemLimitsBlockWeights extends Struct {635  readonly baseBlock: u64;636  readonly maxBlock: u64;637  readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;638}639640/** @name FrameSystemLimitsWeightsPerClass */641export interface FrameSystemLimitsWeightsPerClass extends Struct {642  readonly baseExtrinsic: u64;643  readonly maxExtrinsic: Option<u64>;644  readonly maxTotal: Option<u64>;645  readonly reserved: Option<u64>;646}647648/** @name FrameSystemPhase */649export interface FrameSystemPhase extends Enum {650  readonly isApplyExtrinsic: boolean;651  readonly asApplyExtrinsic: u32;652  readonly isFinalization: boolean;653  readonly isInitialization: boolean;654  readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';655}656657/** @name OpalRuntimeRuntime */658export interface OpalRuntimeRuntime extends Null {}659660/** @name OrmlVestingModuleCall */661export interface OrmlVestingModuleCall extends Enum {662  readonly isClaim: boolean;663  readonly isVestedTransfer: boolean;664  readonly asVestedTransfer: {665    readonly dest: MultiAddress;666    readonly schedule: OrmlVestingVestingSchedule;667  } & Struct;668  readonly isUpdateVestingSchedules: boolean;669  readonly asUpdateVestingSchedules: {670    readonly who: MultiAddress;671    readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;672  } & Struct;673  readonly isClaimFor: boolean;674  readonly asClaimFor: {675    readonly dest: MultiAddress;676  } & Struct;677  readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';678}679680/** @name OrmlVestingModuleError */681export interface OrmlVestingModuleError extends Enum {682  readonly isZeroVestingPeriod: boolean;683  readonly isZeroVestingPeriodCount: boolean;684  readonly isInsufficientBalanceToLock: boolean;685  readonly isTooManyVestingSchedules: boolean;686  readonly isAmountLow: boolean;687  readonly isMaxVestingSchedulesExceeded: boolean;688  readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';689}690691/** @name OrmlVestingModuleEvent */692export interface OrmlVestingModuleEvent extends Enum {693  readonly isVestingScheduleAdded: boolean;694  readonly asVestingScheduleAdded: {695    readonly from: AccountId32;696    readonly to: AccountId32;697    readonly vestingSchedule: OrmlVestingVestingSchedule;698  } & Struct;699  readonly isClaimed: boolean;700  readonly asClaimed: {701    readonly who: AccountId32;702    readonly amount: u128;703  } & Struct;704  readonly isVestingSchedulesUpdated: boolean;705  readonly asVestingSchedulesUpdated: {706    readonly who: AccountId32;707  } & Struct;708  readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';709}710711/** @name OrmlVestingVestingSchedule */712export interface OrmlVestingVestingSchedule extends Struct {713  readonly start: u32;714  readonly period: u32;715  readonly periodCount: u32;716  readonly perPeriod: Compact<u128>;717}718719/** @name PalletBalancesAccountData */720export interface PalletBalancesAccountData extends Struct {721  readonly free: u128;722  readonly reserved: u128;723  readonly miscFrozen: u128;724  readonly feeFrozen: u128;725}726727/** @name PalletBalancesBalanceLock */728export interface PalletBalancesBalanceLock extends Struct {729  readonly id: U8aFixed;730  readonly amount: u128;731  readonly reasons: PalletBalancesReasons;732}733734/** @name PalletBalancesCall */735export interface PalletBalancesCall extends Enum {736  readonly isTransfer: boolean;737  readonly asTransfer: {738    readonly dest: MultiAddress;739    readonly value: Compact<u128>;740  } & Struct;741  readonly isSetBalance: boolean;742  readonly asSetBalance: {743    readonly who: MultiAddress;744    readonly newFree: Compact<u128>;745    readonly newReserved: Compact<u128>;746  } & Struct;747  readonly isForceTransfer: boolean;748  readonly asForceTransfer: {749    readonly source: MultiAddress;750    readonly dest: MultiAddress;751    readonly value: Compact<u128>;752  } & Struct;753  readonly isTransferKeepAlive: boolean;754  readonly asTransferKeepAlive: {755    readonly dest: MultiAddress;756    readonly value: Compact<u128>;757  } & Struct;758  readonly isTransferAll: boolean;759  readonly asTransferAll: {760    readonly dest: MultiAddress;761    readonly keepAlive: bool;762  } & Struct;763  readonly isForceUnreserve: boolean;764  readonly asForceUnreserve: {765    readonly who: MultiAddress;766    readonly amount: u128;767  } & Struct;768  readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';769}770771/** @name PalletBalancesError */772export interface PalletBalancesError extends Enum {773  readonly isVestingBalance: boolean;774  readonly isLiquidityRestrictions: boolean;775  readonly isInsufficientBalance: boolean;776  readonly isExistentialDeposit: boolean;777  readonly isKeepAlive: boolean;778  readonly isExistingVestingSchedule: boolean;779  readonly isDeadAccount: boolean;780  readonly isTooManyReserves: boolean;781  readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';782}783784/** @name PalletBalancesEvent */785export interface PalletBalancesEvent extends Enum {786  readonly isEndowed: boolean;787  readonly asEndowed: {788    readonly account: AccountId32;789    readonly freeBalance: u128;790  } & Struct;791  readonly isDustLost: boolean;792  readonly asDustLost: {793    readonly account: AccountId32;794    readonly amount: u128;795  } & Struct;796  readonly isTransfer: boolean;797  readonly asTransfer: {798    readonly from: AccountId32;799    readonly to: AccountId32;800    readonly amount: u128;801  } & Struct;802  readonly isBalanceSet: boolean;803  readonly asBalanceSet: {804    readonly who: AccountId32;805    readonly free: u128;806    readonly reserved: u128;807  } & Struct;808  readonly isReserved: boolean;809  readonly asReserved: {810    readonly who: AccountId32;811    readonly amount: u128;812  } & Struct;813  readonly isUnreserved: boolean;814  readonly asUnreserved: {815    readonly who: AccountId32;816    readonly amount: u128;817  } & Struct;818  readonly isReserveRepatriated: boolean;819  readonly asReserveRepatriated: {820    readonly from: AccountId32;821    readonly to: AccountId32;822    readonly amount: u128;823    readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;824  } & Struct;825  readonly isDeposit: boolean;826  readonly asDeposit: {827    readonly who: AccountId32;828    readonly amount: u128;829  } & Struct;830  readonly isWithdraw: boolean;831  readonly asWithdraw: {832    readonly who: AccountId32;833    readonly amount: u128;834  } & Struct;835  readonly isSlashed: boolean;836  readonly asSlashed: {837    readonly who: AccountId32;838    readonly amount: u128;839  } & Struct;840  readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';841}842843/** @name PalletBalancesReasons */844export interface PalletBalancesReasons extends Enum {845  readonly isFee: boolean;846  readonly isMisc: boolean;847  readonly isAll: boolean;848  readonly type: 'Fee' | 'Misc' | 'All';849}850851/** @name PalletBalancesReleases */852export interface PalletBalancesReleases extends Enum {853  readonly isV100: boolean;854  readonly isV200: boolean;855  readonly type: 'V100' | 'V200';856}857858/** @name PalletBalancesReserveData */859export interface PalletBalancesReserveData extends Struct {860  readonly id: U8aFixed;861  readonly amount: u128;862}863864/** @name PalletCommonError */865export interface PalletCommonError extends Enum {866  readonly isCollectionNotFound: boolean;867  readonly isMustBeTokenOwner: boolean;868  readonly isNoPermission: boolean;869  readonly isPublicMintingNotAllowed: boolean;870  readonly isAddressNotInAllowlist: boolean;871  readonly isCollectionNameLimitExceeded: boolean;872  readonly isCollectionDescriptionLimitExceeded: boolean;873  readonly isCollectionTokenPrefixLimitExceeded: boolean;874  readonly isTotalCollectionsLimitExceeded: boolean;875  readonly isCollectionAdminCountExceeded: boolean;876  readonly isCollectionLimitBoundsExceeded: boolean;877  readonly isOwnerPermissionsCantBeReverted: boolean;878  readonly isTransferNotAllowed: boolean;879  readonly isAccountTokenLimitExceeded: boolean;880  readonly isCollectionTokenLimitExceeded: boolean;881  readonly isMetadataFlagFrozen: boolean;882  readonly isTokenNotFound: boolean;883  readonly isTokenValueTooLow: boolean;884  readonly isApprovedValueTooLow: boolean;885  readonly isCantApproveMoreThanOwned: boolean;886  readonly isAddressIsZero: boolean;887  readonly isUnsupportedOperation: boolean;888  readonly isNotSufficientFounds: boolean;889  readonly isNestingIsDisabled: boolean;890  readonly isOnlyOwnerAllowedToNest: boolean;891  readonly isSourceCollectionIsNotAllowedToNest: boolean;892  readonly isCollectionFieldSizeExceeded: boolean;893  readonly isNoSpaceForProperty: boolean;894  readonly isPropertyLimitReached: boolean;895  readonly isPropertyKeyIsTooLong: boolean;896  readonly isInvalidCharacterInPropertyKey: boolean;897  readonly isEmptyPropertyKey: boolean;898  readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';899}900901/** @name PalletCommonEvent */902export interface PalletCommonEvent extends Enum {903  readonly isCollectionCreated: boolean;904  readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;905  readonly isCollectionDestroyed: boolean;906  readonly asCollectionDestroyed: u32;907  readonly isItemCreated: boolean;908  readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;909  readonly isItemDestroyed: boolean;910  readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;911  readonly isTransfer: boolean;912  readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;913  readonly isApproved: boolean;914  readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;915  readonly isCollectionPropertySet: boolean;916  readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;917  readonly isCollectionPropertyDeleted: boolean;918  readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;919  readonly isTokenPropertySet: boolean;920  readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;921  readonly isTokenPropertyDeleted: boolean;922  readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;923  readonly isPropertyPermissionSet: boolean;924  readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;925  readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';926}927928/** @name PalletEthereumCall */929export interface PalletEthereumCall extends Enum {930  readonly isTransact: boolean;931  readonly asTransact: {932    readonly transaction: EthereumTransactionTransactionV2;933  } & Struct;934  readonly type: 'Transact';935}936937/** @name PalletEthereumError */938export interface PalletEthereumError extends Enum {939  readonly isInvalidSignature: boolean;940  readonly isPreLogExists: boolean;941  readonly type: 'InvalidSignature' | 'PreLogExists';942}943944/** @name PalletEthereumEvent */945export interface PalletEthereumEvent extends Enum {946  readonly isExecuted: boolean;947  readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;948  readonly type: 'Executed';949}950951/** @name PalletEthereumFakeTransactionFinalizer */952export interface PalletEthereumFakeTransactionFinalizer extends Null {}953954/** @name PalletEvmAccountBasicCrossAccountIdRepr */955export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {956  readonly isSubstrate: boolean;957  readonly asSubstrate: AccountId32;958  readonly isEthereum: boolean;959  readonly asEthereum: H160;960  readonly type: 'Substrate' | 'Ethereum';961}962963/** @name PalletEvmCall */964export interface PalletEvmCall extends Enum {965  readonly isWithdraw: boolean;966  readonly asWithdraw: {967    readonly address: H160;968    readonly value: u128;969  } & Struct;970  readonly isCall: boolean;971  readonly asCall: {972    readonly source: H160;973    readonly target: H160;974    readonly input: Bytes;975    readonly value: U256;976    readonly gasLimit: u64;977    readonly maxFeePerGas: U256;978    readonly maxPriorityFeePerGas: Option<U256>;979    readonly nonce: Option<U256>;980    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;981  } & Struct;982  readonly isCreate: boolean;983  readonly asCreate: {984    readonly source: H160;985    readonly init: Bytes;986    readonly value: U256;987    readonly gasLimit: u64;988    readonly maxFeePerGas: U256;989    readonly maxPriorityFeePerGas: Option<U256>;990    readonly nonce: Option<U256>;991    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;992  } & Struct;993  readonly isCreate2: boolean;994  readonly asCreate2: {995    readonly source: H160;996    readonly init: Bytes;997    readonly salt: H256;998    readonly value: U256;999    readonly gasLimit: u64;1000    readonly maxFeePerGas: U256;1001    readonly maxPriorityFeePerGas: Option<U256>;1002    readonly nonce: Option<U256>;1003    readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1004  } & Struct;1005  readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1006}10071008/** @name PalletEvmCoderSubstrateError */1009export interface PalletEvmCoderSubstrateError extends Enum {1010  readonly isOutOfGas: boolean;1011  readonly isOutOfFund: boolean;1012  readonly type: 'OutOfGas' | 'OutOfFund';1013}10141015/** @name PalletEvmContractHelpersError */1016export interface PalletEvmContractHelpersError extends Enum {1017  readonly isNoPermission: boolean;1018  readonly type: 'NoPermission';1019}10201021/** @name PalletEvmContractHelpersSponsoringModeT */1022export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1023  readonly isDisabled: boolean;1024  readonly isAllowlisted: boolean;1025  readonly isGenerous: boolean;1026  readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1027}10281029/** @name PalletEvmError */1030export interface PalletEvmError extends Enum {1031  readonly isBalanceLow: boolean;1032  readonly isFeeOverflow: boolean;1033  readonly isPaymentOverflow: boolean;1034  readonly isWithdrawFailed: boolean;1035  readonly isGasPriceTooLow: boolean;1036  readonly isInvalidNonce: boolean;1037  readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1038}10391040/** @name PalletEvmEvent */1041export interface PalletEvmEvent extends Enum {1042  readonly isLog: boolean;1043  readonly asLog: EthereumLog;1044  readonly isCreated: boolean;1045  readonly asCreated: H160;1046  readonly isCreatedFailed: boolean;1047  readonly asCreatedFailed: H160;1048  readonly isExecuted: boolean;1049  readonly asExecuted: H160;1050  readonly isExecutedFailed: boolean;1051  readonly asExecutedFailed: H160;1052  readonly isBalanceDeposit: boolean;1053  readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1054  readonly isBalanceWithdraw: boolean;1055  readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1056  readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1057}10581059/** @name PalletEvmMigrationCall */1060export interface PalletEvmMigrationCall extends Enum {1061  readonly isBegin: boolean;1062  readonly asBegin: {1063    readonly address: H160;1064  } & Struct;1065  readonly isSetData: boolean;1066  readonly asSetData: {1067    readonly address: H160;1068    readonly data: Vec<ITuple<[H256, H256]>>;1069  } & Struct;1070  readonly isFinish: boolean;1071  readonly asFinish: {1072    readonly address: H160;1073    readonly code: Bytes;1074  } & Struct;1075  readonly type: 'Begin' | 'SetData' | 'Finish';1076}10771078/** @name PalletEvmMigrationError */1079export interface PalletEvmMigrationError extends Enum {1080  readonly isAccountNotEmpty: boolean;1081  readonly isAccountIsNotMigrating: boolean;1082  readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1083}10841085/** @name PalletFungibleError */1086export interface PalletFungibleError extends Enum {1087  readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1088  readonly isFungibleItemsHaveNoId: boolean;1089  readonly isFungibleItemsDontHaveData: boolean;1090  readonly isFungibleDisallowsNesting: boolean;1091  readonly isSettingPropertiesNotAllowed: boolean;1092  readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1093}10941095/** @name PalletInflationCall */1096export interface PalletInflationCall extends Enum {1097  readonly isStartInflation: boolean;1098  readonly asStartInflation: {1099    readonly inflationStartRelayBlock: u32;1100  } & Struct;1101  readonly type: 'StartInflation';1102}11031104/** @name PalletNonfungibleError */1105export interface PalletNonfungibleError extends Enum {1106  readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1107  readonly isNonfungibleItemsHaveNoAmount: boolean;1108  readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';1109}11101111/** @name PalletNonfungibleItemData */1112export interface PalletNonfungibleItemData extends Struct {1113  readonly constData: Bytes;1114  readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1115}11161117/** @name PalletRefungibleError */1118export interface PalletRefungibleError extends Enum {1119  readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1120  readonly isWrongRefungiblePieces: boolean;1121  readonly isRefungibleDisallowsNesting: boolean;1122  readonly isSettingPropertiesNotAllowed: boolean;1123  readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1124}11251126/** @name PalletRefungibleItemData */1127export interface PalletRefungibleItemData extends Struct {1128  readonly constData: Bytes;1129}11301131/** @name PalletRmrkCoreCall */1132export interface PalletRmrkCoreCall extends Enum {1133  readonly isCreateCollection: boolean;1134  readonly asCreateCollection: {1135    readonly metadata: Bytes;1136    readonly max: Option<u32>;1137    readonly symbol: Bytes;1138  } & Struct;1139  readonly isDestroyCollection: boolean;1140  readonly asDestroyCollection: {1141    readonly collectionId: u32;1142  } & Struct;1143  readonly isChangeCollectionIssuer: boolean;1144  readonly asChangeCollectionIssuer: {1145    readonly collectionId: u32;1146    readonly newIssuer: MultiAddress;1147  } & Struct;1148  readonly isLockCollection: boolean;1149  readonly asLockCollection: {1150    readonly collectionId: u32;1151  } & Struct;1152  readonly isMintNft: boolean;1153  readonly asMintNft: {1154    readonly owner: AccountId32;1155    readonly collectionId: u32;1156    readonly recipient: Option<AccountId32>;1157    readonly royaltyAmount: Option<Permill>;1158    readonly metadata: Bytes;1159  } & Struct;1160  readonly isBurnNft: boolean;1161  readonly asBurnNft: {1162    readonly collectionId: u32;1163    readonly nftId: u32;1164  } & Struct;1165  readonly isSetProperty: boolean;1166  readonly asSetProperty: {1167    readonly rmrkCollectionId: Compact<u32>;1168    readonly maybeNftId: Option<u32>;1169    readonly key: Bytes;1170    readonly value: Bytes;1171  } & Struct;1172  readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty';1173}11741175/** @name PalletRmrkCoreError */1176export interface PalletRmrkCoreError extends Enum {1177  readonly isCorruptedCollectionType: boolean;1178  readonly isNftTypeEncodeError: boolean;1179  readonly isRmrkPropertyKeyIsTooLong: boolean;1180  readonly isRmrkPropertyValueIsTooLong: boolean;1181  readonly isCollectionNotEmpty: boolean;1182  readonly isNoAvailableCollectionId: boolean;1183  readonly isNoAvailableNftId: boolean;1184  readonly isCollectionUnknown: boolean;1185  readonly isNoPermission: boolean;1186  readonly isCollectionFullOrLocked: boolean;1187  readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';1188}11891190/** @name PalletRmrkCoreEvent */1191export interface PalletRmrkCoreEvent extends Enum {1192  readonly isCollectionCreated: boolean;1193  readonly asCollectionCreated: {1194    readonly issuer: AccountId32;1195    readonly collectionId: u32;1196  } & Struct;1197  readonly isCollectionDestroyed: boolean;1198  readonly asCollectionDestroyed: {1199    readonly issuer: AccountId32;1200    readonly collectionId: u32;1201  } & Struct;1202  readonly isIssuerChanged: boolean;1203  readonly asIssuerChanged: {1204    readonly oldIssuer: AccountId32;1205    readonly newIssuer: AccountId32;1206    readonly collectionId: u32;1207  } & Struct;1208  readonly isCollectionLocked: boolean;1209  readonly asCollectionLocked: {1210    readonly issuer: AccountId32;1211    readonly collectionId: u32;1212  } & Struct;1213  readonly isNftMinted: boolean;1214  readonly asNftMinted: {1215    readonly owner: AccountId32;1216    readonly collectionId: u32;1217    readonly nftId: u32;1218  } & Struct;1219  readonly isNftBurned: boolean;1220  readonly asNftBurned: {1221    readonly owner: AccountId32;1222    readonly nftId: u32;1223  } & Struct;1224  readonly isPropertySet: boolean;1225  readonly asPropertySet: {1226    readonly collectionId: u32;1227    readonly maybeNftId: Option<u32>;1228    readonly key: Bytes;1229    readonly value: Bytes;1230  } & Struct;1231  readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet';1232}12331234/** @name PalletRmrkEquipCall */1235export interface PalletRmrkEquipCall extends Enum {1236  readonly isCreateBase: boolean;1237  readonly asCreateBase: {1238    readonly baseType: Bytes;1239    readonly symbol: Bytes;1240    readonly parts: Vec<UpDataStructsRmrkPartType>;1241  } & Struct;1242  readonly isThemeAdd: boolean;1243  readonly asThemeAdd: {1244    readonly baseId: u32;1245    readonly theme: UpDataStructsRmrkTheme;1246  } & Struct;1247  readonly type: 'CreateBase' | 'ThemeAdd';1248}12491250/** @name PalletRmrkEquipError */1251export interface PalletRmrkEquipError extends Enum {1252  readonly isPermissionError: boolean;1253  readonly isNoAvailableBaseId: boolean;1254  readonly isNoAvailablePartId: boolean;1255  readonly isBaseDoesntExist: boolean;1256  readonly isNeedsDefaultThemeFirst: boolean;1257  readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';1258}12591260/** @name PalletRmrkEquipEvent */1261export interface PalletRmrkEquipEvent extends Enum {1262  readonly isBaseCreated: boolean;1263  readonly asBaseCreated: {1264    readonly issuer: AccountId32;1265    readonly baseId: u32;1266  } & Struct;1267  readonly type: 'BaseCreated';1268}12691270/** @name PalletStructureCall */1271export interface PalletStructureCall extends Null {}12721273/** @name PalletStructureError */1274export interface PalletStructureError extends Enum {1275  readonly isOuroborosDetected: boolean;1276  readonly isDepthLimit: boolean;1277  readonly isTokenNotFound: boolean;1278  readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';1279}12801281/** @name PalletStructureEvent */1282export interface PalletStructureEvent extends Enum {1283  readonly isExecuted: boolean;1284  readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1285  readonly type: 'Executed';1286}12871288/** @name PalletSudoCall */1289export interface PalletSudoCall extends Enum {1290  readonly isSudo: boolean;1291  readonly asSudo: {1292    readonly call: Call;1293  } & Struct;1294  readonly isSudoUncheckedWeight: boolean;1295  readonly asSudoUncheckedWeight: {1296    readonly call: Call;1297    readonly weight: u64;1298  } & Struct;1299  readonly isSetKey: boolean;1300  readonly asSetKey: {1301    readonly new_: MultiAddress;1302  } & Struct;1303  readonly isSudoAs: boolean;1304  readonly asSudoAs: {1305    readonly who: MultiAddress;1306    readonly call: Call;1307  } & Struct;1308  readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1309}13101311/** @name PalletSudoError */1312export interface PalletSudoError extends Enum {1313  readonly isRequireSudo: boolean;1314  readonly type: 'RequireSudo';1315}13161317/** @name PalletSudoEvent */1318export interface PalletSudoEvent extends Enum {1319  readonly isSudid: boolean;1320  readonly asSudid: {1321    readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1322  } & Struct;1323  readonly isKeyChanged: boolean;1324  readonly asKeyChanged: {1325    readonly oldSudoer: Option<AccountId32>;1326  } & Struct;1327  readonly isSudoAsDone: boolean;1328  readonly asSudoAsDone: {1329    readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1330  } & Struct;1331  readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1332}13331334/** @name PalletTemplateTransactionPaymentCall */1335export interface PalletTemplateTransactionPaymentCall extends Null {}13361337/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1338export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}13391340/** @name PalletTimestampCall */1341export interface PalletTimestampCall extends Enum {1342  readonly isSet: boolean;1343  readonly asSet: {1344    readonly now: Compact<u64>;1345  } & Struct;1346  readonly type: 'Set';1347}13481349/** @name PalletTransactionPaymentReleases */1350export interface PalletTransactionPaymentReleases extends Enum {1351  readonly isV1Ancient: boolean;1352  readonly isV2: boolean;1353  readonly type: 'V1Ancient' | 'V2';1354}13551356/** @name PalletTreasuryCall */1357export interface PalletTreasuryCall extends Enum {1358  readonly isProposeSpend: boolean;1359  readonly asProposeSpend: {1360    readonly value: Compact<u128>;1361    readonly beneficiary: MultiAddress;1362  } & Struct;1363  readonly isRejectProposal: boolean;1364  readonly asRejectProposal: {1365    readonly proposalId: Compact<u32>;1366  } & Struct;1367  readonly isApproveProposal: boolean;1368  readonly asApproveProposal: {1369    readonly proposalId: Compact<u32>;1370  } & Struct;1371  readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';1372}13731374/** @name PalletTreasuryError */1375export interface PalletTreasuryError extends Enum {1376  readonly isInsufficientProposersBalance: boolean;1377  readonly isInvalidIndex: boolean;1378  readonly isTooManyApprovals: boolean;1379  readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';1380}13811382/** @name PalletTreasuryEvent */1383export interface PalletTreasuryEvent extends Enum {1384  readonly isProposed: boolean;1385  readonly asProposed: {1386    readonly proposalIndex: u32;1387  } & Struct;1388  readonly isSpending: boolean;1389  readonly asSpending: {1390    readonly budgetRemaining: u128;1391  } & Struct;1392  readonly isAwarded: boolean;1393  readonly asAwarded: {1394    readonly proposalIndex: u32;1395    readonly award: u128;1396    readonly account: AccountId32;1397  } & Struct;1398  readonly isRejected: boolean;1399  readonly asRejected: {1400    readonly proposalIndex: u32;1401    readonly slashed: u128;1402  } & Struct;1403  readonly isBurnt: boolean;1404  readonly asBurnt: {1405    readonly burntFunds: u128;1406  } & Struct;1407  readonly isRollover: boolean;1408  readonly asRollover: {1409    readonly rolloverBalance: u128;1410  } & Struct;1411  readonly isDeposit: boolean;1412  readonly asDeposit: {1413    readonly value: u128;1414  } & Struct;1415  readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';1416}14171418/** @name PalletTreasuryProposal */1419export interface PalletTreasuryProposal extends Struct {1420  readonly proposer: AccountId32;1421  readonly value: u128;1422  readonly beneficiary: AccountId32;1423  readonly bond: u128;1424}14251426/** @name PalletUniqueCall */1427export interface PalletUniqueCall extends Enum {1428  readonly isCreateCollection: boolean;1429  readonly asCreateCollection: {1430    readonly collectionName: Vec<u16>;1431    readonly collectionDescription: Vec<u16>;1432    readonly tokenPrefix: Bytes;1433    readonly mode: UpDataStructsCollectionMode;1434  } & Struct;1435  readonly isCreateCollectionEx: boolean;1436  readonly asCreateCollectionEx: {1437    readonly data: UpDataStructsCreateCollectionData;1438  } & Struct;1439  readonly isDestroyCollection: boolean;1440  readonly asDestroyCollection: {1441    readonly collectionId: u32;1442  } & Struct;1443  readonly isAddToAllowList: boolean;1444  readonly asAddToAllowList: {1445    readonly collectionId: u32;1446    readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1447  } & Struct;1448  readonly isRemoveFromAllowList: boolean;1449  readonly asRemoveFromAllowList: {1450    readonly collectionId: u32;1451    readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1452  } & Struct;1453  readonly isSetPublicAccessMode: boolean;1454  readonly asSetPublicAccessMode: {1455    readonly collectionId: u32;1456    readonly mode: UpDataStructsAccessMode;1457  } & Struct;1458  readonly isSetMintPermission: boolean;1459  readonly asSetMintPermission: {1460    readonly collectionId: u32;1461    readonly mintPermission: bool;1462  } & Struct;1463  readonly isChangeCollectionOwner: boolean;1464  readonly asChangeCollectionOwner: {1465    readonly collectionId: u32;1466    readonly newOwner: AccountId32;1467  } & Struct;1468  readonly isAddCollectionAdmin: boolean;1469  readonly asAddCollectionAdmin: {1470    readonly collectionId: u32;1471    readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1472  } & Struct;1473  readonly isRemoveCollectionAdmin: boolean;1474  readonly asRemoveCollectionAdmin: {1475    readonly collectionId: u32;1476    readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1477  } & Struct;1478  readonly isSetCollectionSponsor: boolean;1479  readonly asSetCollectionSponsor: {1480    readonly collectionId: u32;1481    readonly newSponsor: AccountId32;1482  } & Struct;1483  readonly isConfirmSponsorship: boolean;1484  readonly asConfirmSponsorship: {1485    readonly collectionId: u32;1486  } & Struct;1487  readonly isRemoveCollectionSponsor: boolean;1488  readonly asRemoveCollectionSponsor: {1489    readonly collectionId: u32;1490  } & Struct;1491  readonly isCreateItem: boolean;1492  readonly asCreateItem: {1493    readonly collectionId: u32;1494    readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1495    readonly data: UpDataStructsCreateItemData;1496  } & Struct;1497  readonly isCreateMultipleItems: boolean;1498  readonly asCreateMultipleItems: {1499    readonly collectionId: u32;1500    readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1501    readonly itemsData: Vec<UpDataStructsCreateItemData>;1502  } & Struct;1503  readonly isSetCollectionProperties: boolean;1504  readonly asSetCollectionProperties: {1505    readonly collectionId: u32;1506    readonly properties: Vec<UpDataStructsProperty>;1507  } & Struct;1508  readonly isDeleteCollectionProperties: boolean;1509  readonly asDeleteCollectionProperties: {1510    readonly collectionId: u32;1511    readonly propertyKeys: Vec<Bytes>;1512  } & Struct;1513  readonly isSetTokenProperties: boolean;1514  readonly asSetTokenProperties: {1515    readonly collectionId: u32;1516    readonly tokenId: u32;1517    readonly properties: Vec<UpDataStructsProperty>;1518  } & Struct;1519  readonly isDeleteTokenProperties: boolean;1520  readonly asDeleteTokenProperties: {1521    readonly collectionId: u32;1522    readonly tokenId: u32;1523    readonly propertyKeys: Vec<Bytes>;1524  } & Struct;1525  readonly isSetPropertyPermissions: boolean;1526  readonly asSetPropertyPermissions: {1527    readonly collectionId: u32;1528    readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1529  } & Struct;1530  readonly isCreateMultipleItemsEx: boolean;1531  readonly asCreateMultipleItemsEx: {1532    readonly collectionId: u32;1533    readonly data: UpDataStructsCreateItemExData;1534  } & Struct;1535  readonly isSetTransfersEnabledFlag: boolean;1536  readonly asSetTransfersEnabledFlag: {1537    readonly collectionId: u32;1538    readonly value: bool;1539  } & Struct;1540  readonly isBurnItem: boolean;1541  readonly asBurnItem: {1542    readonly collectionId: u32;1543    readonly itemId: u32;1544    readonly value: u128;1545  } & Struct;1546  readonly isBurnFrom: boolean;1547  readonly asBurnFrom: {1548    readonly collectionId: u32;1549    readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1550    readonly itemId: u32;1551    readonly value: u128;1552  } & Struct;1553  readonly isTransfer: boolean;1554  readonly asTransfer: {1555    readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1556    readonly collectionId: u32;1557    readonly itemId: u32;1558    readonly value: u128;1559  } & Struct;1560  readonly isApprove: boolean;1561  readonly asApprove: {1562    readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1563    readonly collectionId: u32;1564    readonly itemId: u32;1565    readonly amount: u128;1566  } & Struct;1567  readonly isTransferFrom: boolean;1568  readonly asTransferFrom: {1569    readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1570    readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1571    readonly collectionId: u32;1572    readonly itemId: u32;1573    readonly value: u128;1574  } & Struct;1575  readonly isSetSchemaVersion: boolean;1576  readonly asSetSchemaVersion: {1577    readonly collectionId: u32;1578    readonly version: UpDataStructsSchemaVersion;1579  } & Struct;1580  readonly isSetOffchainSchema: boolean;1581  readonly asSetOffchainSchema: {1582    readonly collectionId: u32;1583    readonly schema: Bytes;1584  } & Struct;1585  readonly isSetConstOnChainSchema: boolean;1586  readonly asSetConstOnChainSchema: {1587    readonly collectionId: u32;1588    readonly schema: Bytes;1589  } & Struct;1590  readonly isSetCollectionLimits: boolean;1591  readonly asSetCollectionLimits: {1592    readonly collectionId: u32;1593    readonly newLimit: UpDataStructsCollectionLimits;1594  } & Struct;1595  readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetCollectionLimits';1596}15971598/** @name PalletUniqueError */1599export interface PalletUniqueError extends Enum {1600  readonly isCollectionDecimalPointLimitExceeded: boolean;1601  readonly isConfirmUnsetSponsorFail: boolean;1602  readonly isEmptyArgument: boolean;1603  readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';1604}16051606/** @name PalletUniqueRawEvent */1607export interface PalletUniqueRawEvent extends Enum {1608  readonly isCollectionSponsorRemoved: boolean;1609  readonly asCollectionSponsorRemoved: u32;1610  readonly isCollectionAdminAdded: boolean;1611  readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1612  readonly isCollectionOwnedChanged: boolean;1613  readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1614  readonly isCollectionSponsorSet: boolean;1615  readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1616  readonly isConstOnChainSchemaSet: boolean;1617  readonly asConstOnChainSchemaSet: u32;1618  readonly isSponsorshipConfirmed: boolean;1619  readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1620  readonly isCollectionAdminRemoved: boolean;1621  readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1622  readonly isAllowListAddressRemoved: boolean;1623  readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1624  readonly isAllowListAddressAdded: boolean;1625  readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1626  readonly isCollectionLimitSet: boolean;1627  readonly asCollectionLimitSet: u32;1628  readonly isMintPermissionSet: boolean;1629  readonly asMintPermissionSet: u32;1630  readonly isOffchainSchemaSet: boolean;1631  readonly asOffchainSchemaSet: u32;1632  readonly isPublicAccessModeSet: boolean;1633  readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;1634  readonly isSchemaVersionSet: boolean;1635  readonly asSchemaVersionSet: u32;1636  readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet';1637}16381639/** @name PalletXcmCall */1640export interface PalletXcmCall extends Enum {1641  readonly isSend: boolean;1642  readonly asSend: {1643    readonly dest: XcmVersionedMultiLocation;1644    readonly message: XcmVersionedXcm;1645  } & Struct;1646  readonly isTeleportAssets: boolean;1647  readonly asTeleportAssets: {1648    readonly dest: XcmVersionedMultiLocation;1649    readonly beneficiary: XcmVersionedMultiLocation;1650    readonly assets: XcmVersionedMultiAssets;1651    readonly feeAssetItem: u32;1652  } & Struct;1653  readonly isReserveTransferAssets: boolean;1654  readonly asReserveTransferAssets: {1655    readonly dest: XcmVersionedMultiLocation;1656    readonly beneficiary: XcmVersionedMultiLocation;1657    readonly assets: XcmVersionedMultiAssets;1658    readonly feeAssetItem: u32;1659  } & Struct;1660  readonly isExecute: boolean;1661  readonly asExecute: {1662    readonly message: XcmVersionedXcm;1663    readonly maxWeight: u64;1664  } & Struct;1665  readonly isForceXcmVersion: boolean;1666  readonly asForceXcmVersion: {1667    readonly location: XcmV1MultiLocation;1668    readonly xcmVersion: u32;1669  } & Struct;1670  readonly isForceDefaultXcmVersion: boolean;1671  readonly asForceDefaultXcmVersion: {1672    readonly maybeXcmVersion: Option<u32>;1673  } & Struct;1674  readonly isForceSubscribeVersionNotify: boolean;1675  readonly asForceSubscribeVersionNotify: {1676    readonly location: XcmVersionedMultiLocation;1677  } & Struct;1678  readonly isForceUnsubscribeVersionNotify: boolean;1679  readonly asForceUnsubscribeVersionNotify: {1680    readonly location: XcmVersionedMultiLocation;1681  } & Struct;1682  readonly isLimitedReserveTransferAssets: boolean;1683  readonly asLimitedReserveTransferAssets: {1684    readonly dest: XcmVersionedMultiLocation;1685    readonly beneficiary: XcmVersionedMultiLocation;1686    readonly assets: XcmVersionedMultiAssets;1687    readonly feeAssetItem: u32;1688    readonly weightLimit: XcmV2WeightLimit;1689  } & Struct;1690  readonly isLimitedTeleportAssets: boolean;1691  readonly asLimitedTeleportAssets: {1692    readonly dest: XcmVersionedMultiLocation;1693    readonly beneficiary: XcmVersionedMultiLocation;1694    readonly assets: XcmVersionedMultiAssets;1695    readonly feeAssetItem: u32;1696    readonly weightLimit: XcmV2WeightLimit;1697  } & Struct;1698  readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1699}17001701/** @name PalletXcmError */1702export interface PalletXcmError extends Enum {1703  readonly isUnreachable: boolean;1704  readonly isSendFailure: boolean;1705  readonly isFiltered: boolean;1706  readonly isUnweighableMessage: boolean;1707  readonly isDestinationNotInvertible: boolean;1708  readonly isEmpty: boolean;1709  readonly isCannotReanchor: boolean;1710  readonly isTooManyAssets: boolean;1711  readonly isInvalidOrigin: boolean;1712  readonly isBadVersion: boolean;1713  readonly isBadLocation: boolean;1714  readonly isNoSubscription: boolean;1715  readonly isAlreadySubscribed: boolean;1716  readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';1717}17181719/** @name PalletXcmEvent */1720export interface PalletXcmEvent extends Enum {1721  readonly isAttempted: boolean;1722  readonly asAttempted: XcmV2TraitsOutcome;1723  readonly isSent: boolean;1724  readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;1725  readonly isUnexpectedResponse: boolean;1726  readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;1727  readonly isResponseReady: boolean;1728  readonly asResponseReady: ITuple<[u64, XcmV2Response]>;1729  readonly isNotified: boolean;1730  readonly asNotified: ITuple<[u64, u8, u8]>;1731  readonly isNotifyOverweight: boolean;1732  readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;1733  readonly isNotifyDispatchError: boolean;1734  readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;1735  readonly isNotifyDecodeFailed: boolean;1736  readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;1737  readonly isInvalidResponder: boolean;1738  readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;1739  readonly isInvalidResponderVersion: boolean;1740  readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;1741  readonly isResponseTaken: boolean;1742  readonly asResponseTaken: u64;1743  readonly isAssetsTrapped: boolean;1744  readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;1745  readonly isVersionChangeNotified: boolean;1746  readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;1747  readonly isSupportedVersionChanged: boolean;1748  readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;1749  readonly isNotifyTargetSendFail: boolean;1750  readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;1751  readonly isNotifyTargetMigrationFail: boolean;1752  readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;1753  readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1754}17551756/** @name PhantomTypeUpDataStructsBaseInfo */1757export interface PhantomTypeUpDataStructsBaseInfo extends Vec<Lookup375> {}17581759/** @name PhantomTypeUpDataStructsCollectionInfo */1760export interface PhantomTypeUpDataStructsCollectionInfo extends Vec<Lookup353> {}17611762/** @name PhantomTypeUpDataStructsNftChild */1763export interface PhantomTypeUpDataStructsNftChild extends Vec<Lookup382> {}17641765/** @name PhantomTypeUpDataStructsNftInfo */1766export interface PhantomTypeUpDataStructsNftInfo extends Vec<Lookup356> {}17671768/** @name PhantomTypeUpDataStructsPartType */1769export interface PhantomTypeUpDataStructsPartType extends Vec<Lookup215> {}17701771/** @name PhantomTypeUpDataStructsPropertyInfo */1772export interface PhantomTypeUpDataStructsPropertyInfo extends Vec<Lookup372> {}17731774/** @name PhantomTypeUpDataStructsResourceInfo */1775export interface PhantomTypeUpDataStructsResourceInfo extends Vec<Lookup362> {}17761777/** @name PhantomTypeUpDataStructsRpcCollection */1778export interface PhantomTypeUpDataStructsRpcCollection extends Vec<Lookup350> {}17791780/** @name PhantomTypeUpDataStructsTheme */1781export interface PhantomTypeUpDataStructsTheme extends Vec<Lookup221> {}17821783/** @name PhantomTypeUpDataStructsTokenData */1784export interface PhantomTypeUpDataStructsTokenData extends Vec<Lookup346> {}17851786/** @name PolkadotCorePrimitivesInboundDownwardMessage */1787export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1788  readonly sentAt: u32;1789  readonly msg: Bytes;1790}17911792/** @name PolkadotCorePrimitivesInboundHrmpMessage */1793export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1794  readonly sentAt: u32;1795  readonly data: Bytes;1796}17971798/** @name PolkadotCorePrimitivesOutboundHrmpMessage */1799export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1800  readonly recipient: u32;1801  readonly data: Bytes;1802}18031804/** @name PolkadotParachainPrimitivesXcmpMessageFormat */1805export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {1806  readonly isConcatenatedVersionedXcm: boolean;1807  readonly isConcatenatedEncodedBlob: boolean;1808  readonly isSignals: boolean;1809  readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';1810}18111812/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */1813export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1814  readonly maxCodeSize: u32;1815  readonly maxHeadDataSize: u32;1816  readonly maxUpwardQueueCount: u32;1817  readonly maxUpwardQueueSize: u32;1818  readonly maxUpwardMessageSize: u32;1819  readonly maxUpwardMessageNumPerCandidate: u32;1820  readonly hrmpMaxMessageNumPerCandidate: u32;1821  readonly validationUpgradeCooldown: u32;1822  readonly validationUpgradeDelay: u32;1823}18241825/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */1826export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1827  readonly maxCapacity: u32;1828  readonly maxTotalSize: u32;1829  readonly maxMessageSize: u32;1830  readonly msgCount: u32;1831  readonly totalSize: u32;1832  readonly mqcHead: Option<H256>;1833}18341835/** @name PolkadotPrimitivesV2PersistedValidationData */1836export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1837  readonly parentHead: Bytes;1838  readonly relayParentNumber: u32;1839  readonly relayParentStorageRoot: H256;1840  readonly maxPovSize: u32;1841}18421843/** @name PolkadotPrimitivesV2UpgradeRestriction */1844export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1845  readonly isPresent: boolean;1846  readonly type: 'Present';1847}18481849/** @name SpCoreEcdsaSignature */1850export interface SpCoreEcdsaSignature extends U8aFixed {}18511852/** @name SpCoreEd25519Signature */1853export interface SpCoreEd25519Signature extends U8aFixed {}18541855/** @name SpCoreSr25519Signature */1856export interface SpCoreSr25519Signature extends U8aFixed {}18571858/** @name SpRuntimeArithmeticError */1859export interface SpRuntimeArithmeticError extends Enum {1860  readonly isUnderflow: boolean;1861  readonly isOverflow: boolean;1862  readonly isDivisionByZero: boolean;1863  readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1864}18651866/** @name SpRuntimeDigest */1867export interface SpRuntimeDigest extends Struct {1868  readonly logs: Vec<SpRuntimeDigestDigestItem>;1869}18701871/** @name SpRuntimeDigestDigestItem */1872export interface SpRuntimeDigestDigestItem extends Enum {1873  readonly isOther: boolean;1874  readonly asOther: Bytes;1875  readonly isConsensus: boolean;1876  readonly asConsensus: ITuple<[U8aFixed, Bytes]>;1877  readonly isSeal: boolean;1878  readonly asSeal: ITuple<[U8aFixed, Bytes]>;1879  readonly isPreRuntime: boolean;1880  readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;1881  readonly isRuntimeEnvironmentUpdated: boolean;1882  readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1883}18841885/** @name SpRuntimeDispatchError */1886export interface SpRuntimeDispatchError extends Enum {1887  readonly isOther: boolean;1888  readonly isCannotLookup: boolean;1889  readonly isBadOrigin: boolean;1890  readonly isModule: boolean;1891  readonly asModule: SpRuntimeModuleError;1892  readonly isConsumerRemaining: boolean;1893  readonly isNoProviders: boolean;1894  readonly isTooManyConsumers: boolean;1895  readonly isToken: boolean;1896  readonly asToken: SpRuntimeTokenError;1897  readonly isArithmetic: boolean;1898  readonly asArithmetic: SpRuntimeArithmeticError;1899  readonly isTransactional: boolean;1900  readonly asTransactional: SpRuntimeTransactionalError;1901  readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1902}19031904/** @name SpRuntimeModuleError */1905export interface SpRuntimeModuleError extends Struct {1906  readonly index: u8;1907  readonly error: U8aFixed;1908}19091910/** @name SpRuntimeMultiSignature */1911export interface SpRuntimeMultiSignature extends Enum {1912  readonly isEd25519: boolean;1913  readonly asEd25519: SpCoreEd25519Signature;1914  readonly isSr25519: boolean;1915  readonly asSr25519: SpCoreSr25519Signature;1916  readonly isEcdsa: boolean;1917  readonly asEcdsa: SpCoreEcdsaSignature;1918  readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';1919}19201921/** @name SpRuntimeTokenError */1922export interface SpRuntimeTokenError extends Enum {1923  readonly isNoFunds: boolean;1924  readonly isWouldDie: boolean;1925  readonly isBelowMinimum: boolean;1926  readonly isCannotCreate: boolean;1927  readonly isUnknownAsset: boolean;1928  readonly isFrozen: boolean;1929  readonly isUnsupported: boolean;1930  readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1931}19321933/** @name SpRuntimeTransactionalError */1934export interface SpRuntimeTransactionalError extends Enum {1935  readonly isLimitReached: boolean;1936  readonly isNoLayer: boolean;1937  readonly type: 'LimitReached' | 'NoLayer';1938}19391940/** @name SpTrieStorageProof */1941export interface SpTrieStorageProof extends Struct {1942  readonly trieNodes: BTreeSet<Bytes>;1943}19441945/** @name SpVersionRuntimeVersion */1946export interface SpVersionRuntimeVersion extends Struct {1947  readonly specName: Text;1948  readonly implName: Text;1949  readonly authoringVersion: u32;1950  readonly specVersion: u32;1951  readonly implVersion: u32;1952  readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1953  readonly transactionVersion: u32;1954  readonly stateVersion: u8;1955}19561957/** @name UpDataStructsAccessMode */1958export interface UpDataStructsAccessMode extends Enum {1959  readonly isNormal: boolean;1960  readonly isAllowList: boolean;1961  readonly type: 'Normal' | 'AllowList';1962}19631964/** @name UpDataStructsCollection */1965export interface UpDataStructsCollection extends Struct {1966  readonly owner: AccountId32;1967  readonly mode: UpDataStructsCollectionMode;1968  readonly access: UpDataStructsAccessMode;1969  readonly name: Vec<u16>;1970  readonly description: Vec<u16>;1971  readonly tokenPrefix: Bytes;1972  readonly mintMode: bool;1973  readonly schemaVersion: UpDataStructsSchemaVersion;1974  readonly sponsorship: UpDataStructsSponsorshipState;1975  readonly limits: UpDataStructsCollectionLimits;1976}19771978/** @name UpDataStructsCollectionField */1979export interface UpDataStructsCollectionField extends Enum {1980  readonly isConstOnChainSchema: boolean;1981  readonly isOffchainSchema: boolean;1982  readonly type: 'ConstOnChainSchema' | 'OffchainSchema';1983}19841985/** @name UpDataStructsCollectionLimits */1986export interface UpDataStructsCollectionLimits extends Struct {1987  readonly accountTokenOwnershipLimit: Option<u32>;1988  readonly sponsoredDataSize: Option<u32>;1989  readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1990  readonly tokenLimit: Option<u32>;1991  readonly sponsorTransferTimeout: Option<u32>;1992  readonly sponsorApproveTimeout: Option<u32>;1993  readonly ownerCanTransfer: Option<bool>;1994  readonly ownerCanDestroy: Option<bool>;1995  readonly transfersEnabled: Option<bool>;1996  readonly nestingRule: Option<UpDataStructsNestingRule>;1997}19981999/** @name UpDataStructsCollectionMode */2000export interface UpDataStructsCollectionMode extends Enum {2001  readonly isNft: boolean;2002  readonly isFungible: boolean;2003  readonly asFungible: u8;2004  readonly isReFungible: boolean;2005  readonly type: 'Nft' | 'Fungible' | 'ReFungible';2006}20072008/** @name UpDataStructsCollectionStats */2009export interface UpDataStructsCollectionStats extends Struct {2010  readonly created: u32;2011  readonly destroyed: u32;2012  readonly alive: u32;2013}20142015/** @name UpDataStructsCreateCollectionData */2016export interface UpDataStructsCreateCollectionData extends Struct {2017  readonly mode: UpDataStructsCollectionMode;2018  readonly access: Option<UpDataStructsAccessMode>;2019  readonly name: Vec<u16>;2020  readonly description: Vec<u16>;2021  readonly tokenPrefix: Bytes;2022  readonly offchainSchema: Bytes;2023  readonly schemaVersion: Option<UpDataStructsSchemaVersion>;2024  readonly pendingSponsor: Option<AccountId32>;2025  readonly limits: Option<UpDataStructsCollectionLimits>;2026  readonly constOnChainSchema: Bytes;2027  readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2028  readonly properties: Vec<UpDataStructsProperty>;2029}20302031/** @name UpDataStructsCreateFungibleData */2032export interface UpDataStructsCreateFungibleData extends Struct {2033  readonly value: u128;2034}20352036/** @name UpDataStructsCreateItemData */2037export interface UpDataStructsCreateItemData extends Enum {2038  readonly isNft: boolean;2039  readonly asNft: UpDataStructsCreateNftData;2040  readonly isFungible: boolean;2041  readonly asFungible: UpDataStructsCreateFungibleData;2042  readonly isReFungible: boolean;2043  readonly asReFungible: UpDataStructsCreateReFungibleData;2044  readonly type: 'Nft' | 'Fungible' | 'ReFungible';2045}20462047/** @name UpDataStructsCreateItemExData */2048export interface UpDataStructsCreateItemExData extends Enum {2049  readonly isNft: boolean;2050  readonly asNft: Vec<UpDataStructsCreateNftExData>;2051  readonly isFungible: boolean;2052  readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2053  readonly isRefungibleMultipleItems: boolean;2054  readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;2055  readonly isRefungibleMultipleOwners: boolean;2056  readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;2057  readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2058}20592060/** @name UpDataStructsCreateNftData */2061export interface UpDataStructsCreateNftData extends Struct {2062  readonly constData: Bytes;2063  readonly properties: Vec<UpDataStructsProperty>;2064}20652066/** @name UpDataStructsCreateNftExData */2067export interface UpDataStructsCreateNftExData extends Struct {2068  readonly constData: Bytes;2069  readonly properties: Vec<UpDataStructsProperty>;2070  readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2071}20722073/** @name UpDataStructsCreateReFungibleData */2074export interface UpDataStructsCreateReFungibleData extends Struct {2075  readonly constData: Bytes;2076  readonly pieces: u128;2077}20782079/** @name UpDataStructsCreateRefungibleExData */2080export interface UpDataStructsCreateRefungibleExData extends Struct {2081  readonly constData: Bytes;2082  readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2083}20842085/** @name UpDataStructsNestingRule */2086export interface UpDataStructsNestingRule extends Enum {2087  readonly isDisabled: boolean;2088  readonly isOwner: boolean;2089  readonly isOwnerRestricted: boolean;2090  readonly asOwnerRestricted: BTreeSet<u32>;2091  readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';2092}20932094/** @name UpDataStructsProperties */2095export interface UpDataStructsProperties extends Struct {2096  readonly map: UpDataStructsPropertiesMapBoundedVec;2097  readonly consumedSpace: u32;2098  readonly spaceLimit: u32;2099}21002101/** @name UpDataStructsPropertiesMapBoundedVec */2102export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}21032104/** @name UpDataStructsPropertiesMapPropertyPermission */2105export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}21062107/** @name UpDataStructsProperty */2108export interface UpDataStructsProperty extends Struct {2109  readonly key: Bytes;2110  readonly value: Bytes;2111}21122113/** @name UpDataStructsPropertyKeyPermission */2114export interface UpDataStructsPropertyKeyPermission extends Struct {2115  readonly key: Bytes;2116  readonly permission: UpDataStructsPropertyPermission;2117}21182119/** @name UpDataStructsPropertyPermission */2120export interface UpDataStructsPropertyPermission extends Struct {2121  readonly mutable: bool;2122  readonly collectionAdmin: bool;2123  readonly tokenOwner: bool;2124}21252126/** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple */2127export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {2128  readonly isAccountId: boolean;2129  readonly asAccountId: AccountId32;2130  readonly isCollectionAndNftTuple: boolean;2131  readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2132  readonly type: 'AccountId' | 'CollectionAndNftTuple';2133}21342135/** @name UpDataStructsRmrkBaseInfo */2136export interface UpDataStructsRmrkBaseInfo extends Struct {2137  readonly issuer: AccountId32;2138  readonly baseType: Bytes;2139  readonly symbol: Bytes;2140}21412142/** @name UpDataStructsRmrkBasicResource */2143export interface UpDataStructsRmrkBasicResource extends Struct {2144  readonly src: Option<Bytes>;2145  readonly metadata: Option<Bytes>;2146  readonly license: Option<Bytes>;2147  readonly thumb: Option<Bytes>;2148}21492150/** @name UpDataStructsRmrkCollectionInfo */2151export interface UpDataStructsRmrkCollectionInfo extends Struct {2152  readonly issuer: AccountId32;2153  readonly metadata: Bytes;2154  readonly max: Option<u32>;2155  readonly symbol: Bytes;2156  readonly nftsCount: u32;2157}21582159/** @name UpDataStructsRmrkComposableResource */2160export interface UpDataStructsRmrkComposableResource extends Struct {2161  readonly parts: Vec<u32>;2162  readonly base: u32;2163  readonly src: Option<Bytes>;2164  readonly metadata: Option<Bytes>;2165  readonly license: Option<Bytes>;2166  readonly thumb: Option<Bytes>;2167}21682169/** @name UpDataStructsRmrkEquippableList */2170export interface UpDataStructsRmrkEquippableList extends Enum {2171  readonly isAll: boolean;2172  readonly isEmpty: boolean;2173  readonly isCustom: boolean;2174  readonly asCustom: Vec<u32>;2175  readonly type: 'All' | 'Empty' | 'Custom';2176}21772178/** @name UpDataStructsRmrkFixedPart */2179export interface UpDataStructsRmrkFixedPart extends Struct {2180  readonly id: u32;2181  readonly z: u32;2182  readonly src: Bytes;2183}21842185/** @name UpDataStructsRmrkNftChild */2186export interface UpDataStructsRmrkNftChild extends Struct {2187  readonly collectionId: u32;2188  readonly nftId: u32;2189}21902191/** @name UpDataStructsRmrkNftInfo */2192export interface UpDataStructsRmrkNftInfo extends Struct {2193  readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;2194  readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;2195  readonly metadata: Bytes;2196  readonly equipped: bool;2197  readonly pending: bool;2198}21992200/** @name UpDataStructsRmrkPartType */2201export interface UpDataStructsRmrkPartType extends Enum {2202  readonly isFixedPart: boolean;2203  readonly asFixedPart: UpDataStructsRmrkFixedPart;2204  readonly isSlotPart: boolean;2205  readonly asSlotPart: UpDataStructsRmrkSlotPart;2206  readonly type: 'FixedPart' | 'SlotPart';2207}22082209/** @name UpDataStructsRmrkPropertyInfo */2210export interface UpDataStructsRmrkPropertyInfo extends Struct {2211  readonly key: Bytes;2212  readonly value: Bytes;2213}22142215/** @name UpDataStructsRmrkResourceInfo */2216export interface UpDataStructsRmrkResourceInfo extends Struct {2217  readonly id: Bytes;2218  readonly resource: UpDataStructsRmrkResourceTypes;2219  readonly pending: bool;2220  readonly pendingRemoval: bool;2221}22222223/** @name UpDataStructsRmrkResourceTypes */2224export interface UpDataStructsRmrkResourceTypes extends Enum {2225  readonly isBasic: boolean;2226  readonly asBasic: UpDataStructsRmrkBasicResource;2227  readonly isComposable: boolean;2228  readonly asComposable: UpDataStructsRmrkComposableResource;2229  readonly isSlot: boolean;2230  readonly asSlot: UpDataStructsRmrkSlotResource;2231  readonly type: 'Basic' | 'Composable' | 'Slot';2232}22332234/** @name UpDataStructsRmrkRoyaltyInfo */2235export interface UpDataStructsRmrkRoyaltyInfo extends Struct {2236  readonly recipient: AccountId32;2237  readonly amount: Permill;2238}22392240/** @name UpDataStructsRmrkSlotPart */2241export interface UpDataStructsRmrkSlotPart extends Struct {2242  readonly id: u32;2243  readonly equippable: UpDataStructsRmrkEquippableList;2244  readonly src: Bytes;2245  readonly z: u32;2246}22472248/** @name UpDataStructsRmrkSlotResource */2249export interface UpDataStructsRmrkSlotResource extends Struct {2250  readonly base: u32;2251  readonly src: Option<Bytes>;2252  readonly metadata: Option<Bytes>;2253  readonly slot: u32;2254  readonly license: Option<Bytes>;2255  readonly thumb: Option<Bytes>;2256}22572258/** @name UpDataStructsRmrkTheme */2259export interface UpDataStructsRmrkTheme extends Struct {2260  readonly name: Bytes;2261  readonly properties: Vec<UpDataStructsRmrkThemeProperty>;2262  readonly inherit: bool;2263}22642265/** @name UpDataStructsRmrkThemeProperty */2266export interface UpDataStructsRmrkThemeProperty extends Struct {2267  readonly key: Bytes;2268  readonly value: Bytes;2269}22702271/** @name UpDataStructsRpcCollection */2272export interface UpDataStructsRpcCollection extends Struct {2273  readonly owner: AccountId32;2274  readonly mode: UpDataStructsCollectionMode;2275  readonly access: UpDataStructsAccessMode;2276  readonly name: Vec<u16>;2277  readonly description: Vec<u16>;2278  readonly tokenPrefix: Bytes;2279  readonly mintMode: bool;2280  readonly offchainSchema: Bytes;2281  readonly schemaVersion: UpDataStructsSchemaVersion;2282  readonly sponsorship: UpDataStructsSponsorshipState;2283  readonly limits: UpDataStructsCollectionLimits;2284  readonly constOnChainSchema: Bytes;2285  readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2286  readonly properties: Vec<UpDataStructsProperty>;2287}22882289/** @name UpDataStructsSchemaVersion */2290export interface UpDataStructsSchemaVersion extends Enum {2291  readonly isImageURL: boolean;2292  readonly isUnique: boolean;2293  readonly type: 'ImageURL' | 'Unique';2294}22952296/** @name UpDataStructsSponsoringRateLimit */2297export interface UpDataStructsSponsoringRateLimit extends Enum {2298  readonly isSponsoringDisabled: boolean;2299  readonly isBlocks: boolean;2300  readonly asBlocks: u32;2301  readonly type: 'SponsoringDisabled' | 'Blocks';2302}23032304/** @name UpDataStructsSponsorshipState */2305export interface UpDataStructsSponsorshipState extends Enum {2306  readonly isDisabled: boolean;2307  readonly isUnconfirmed: boolean;2308  readonly asUnconfirmed: AccountId32;2309  readonly isConfirmed: boolean;2310  readonly asConfirmed: AccountId32;2311  readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2312}23132314/** @name UpDataStructsTokenData */2315export interface UpDataStructsTokenData extends Struct {2316  readonly constData: Bytes;2317  readonly properties: Vec<UpDataStructsProperty>;2318  readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2319}23202321/** @name XcmDoubleEncoded */2322export interface XcmDoubleEncoded extends Struct {2323  readonly encoded: Bytes;2324}23252326/** @name XcmV0Junction */2327export interface XcmV0Junction extends Enum {2328  readonly isParent: boolean;2329  readonly isParachain: boolean;2330  readonly asParachain: Compact<u32>;2331  readonly isAccountId32: boolean;2332  readonly asAccountId32: {2333    readonly network: XcmV0JunctionNetworkId;2334    readonly id: U8aFixed;2335  } & Struct;2336  readonly isAccountIndex64: boolean;2337  readonly asAccountIndex64: {2338    readonly network: XcmV0JunctionNetworkId;2339    readonly index: Compact<u64>;2340  } & Struct;2341  readonly isAccountKey20: boolean;2342  readonly asAccountKey20: {2343    readonly network: XcmV0JunctionNetworkId;2344    readonly key: U8aFixed;2345  } & Struct;2346  readonly isPalletInstance: boolean;2347  readonly asPalletInstance: u8;2348  readonly isGeneralIndex: boolean;2349  readonly asGeneralIndex: Compact<u128>;2350  readonly isGeneralKey: boolean;2351  readonly asGeneralKey: Bytes;2352  readonly isOnlyChild: boolean;2353  readonly isPlurality: boolean;2354  readonly asPlurality: {2355    readonly id: XcmV0JunctionBodyId;2356    readonly part: XcmV0JunctionBodyPart;2357  } & Struct;2358  readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2359}23602361/** @name XcmV0JunctionBodyId */2362export interface XcmV0JunctionBodyId extends Enum {2363  readonly isUnit: boolean;2364  readonly isNamed: boolean;2365  readonly asNamed: Bytes;2366  readonly isIndex: boolean;2367  readonly asIndex: Compact<u32>;2368  readonly isExecutive: boolean;2369  readonly isTechnical: boolean;2370  readonly isLegislative: boolean;2371  readonly isJudicial: boolean;2372  readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2373}23742375/** @name XcmV0JunctionBodyPart */2376export interface XcmV0JunctionBodyPart extends Enum {2377  readonly isVoice: boolean;2378  readonly isMembers: boolean;2379  readonly asMembers: {2380    readonly count: Compact<u32>;2381  } & Struct;2382  readonly isFraction: boolean;2383  readonly asFraction: {2384    readonly nom: Compact<u32>;2385    readonly denom: Compact<u32>;2386  } & Struct;2387  readonly isAtLeastProportion: boolean;2388  readonly asAtLeastProportion: {2389    readonly nom: Compact<u32>;2390    readonly denom: Compact<u32>;2391  } & Struct;2392  readonly isMoreThanProportion: boolean;2393  readonly asMoreThanProportion: {2394    readonly nom: Compact<u32>;2395    readonly denom: Compact<u32>;2396  } & Struct;2397  readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2398}23992400/** @name XcmV0JunctionNetworkId */2401export interface XcmV0JunctionNetworkId extends Enum {2402  readonly isAny: boolean;2403  readonly isNamed: boolean;2404  readonly asNamed: Bytes;2405  readonly isPolkadot: boolean;2406  readonly isKusama: boolean;2407  readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2408}24092410/** @name XcmV0MultiAsset */2411export interface XcmV0MultiAsset extends Enum {2412  readonly isNone: boolean;2413  readonly isAll: boolean;2414  readonly isAllFungible: boolean;2415  readonly isAllNonFungible: boolean;2416  readonly isAllAbstractFungible: boolean;2417  readonly asAllAbstractFungible: {2418    readonly id: Bytes;2419  } & Struct;2420  readonly isAllAbstractNonFungible: boolean;2421  readonly asAllAbstractNonFungible: {2422    readonly class: Bytes;2423  } & Struct;2424  readonly isAllConcreteFungible: boolean;2425  readonly asAllConcreteFungible: {2426    readonly id: XcmV0MultiLocation;2427  } & Struct;2428  readonly isAllConcreteNonFungible: boolean;2429  readonly asAllConcreteNonFungible: {2430    readonly class: XcmV0MultiLocation;2431  } & Struct;2432  readonly isAbstractFungible: boolean;2433  readonly asAbstractFungible: {2434    readonly id: Bytes;2435    readonly amount: Compact<u128>;2436  } & Struct;2437  readonly isAbstractNonFungible: boolean;2438  readonly asAbstractNonFungible: {2439    readonly class: Bytes;2440    readonly instance: XcmV1MultiassetAssetInstance;2441  } & Struct;2442  readonly isConcreteFungible: boolean;2443  readonly asConcreteFungible: {2444    readonly id: XcmV0MultiLocation;2445    readonly amount: Compact<u128>;2446  } & Struct;2447  readonly isConcreteNonFungible: boolean;2448  readonly asConcreteNonFungible: {2449    readonly class: XcmV0MultiLocation;2450    readonly instance: XcmV1MultiassetAssetInstance;2451  } & Struct;2452  readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2453}24542455/** @name XcmV0MultiLocation */2456export interface XcmV0MultiLocation extends Enum {2457  readonly isNull: boolean;2458  readonly isX1: boolean;2459  readonly asX1: XcmV0Junction;2460  readonly isX2: boolean;2461  readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2462  readonly isX3: boolean;2463  readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2464  readonly isX4: boolean;2465  readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2466  readonly isX5: boolean;2467  readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2468  readonly isX6: boolean;2469  readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2470  readonly isX7: boolean;2471  readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2472  readonly isX8: boolean;2473  readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2474  readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2475}24762477/** @name XcmV0Order */2478export interface XcmV0Order extends Enum {2479  readonly isNull: boolean;2480  readonly isDepositAsset: boolean;2481  readonly asDepositAsset: {2482    readonly assets: Vec<XcmV0MultiAsset>;2483    readonly dest: XcmV0MultiLocation;2484  } & Struct;2485  readonly isDepositReserveAsset: boolean;2486  readonly asDepositReserveAsset: {2487    readonly assets: Vec<XcmV0MultiAsset>;2488    readonly dest: XcmV0MultiLocation;2489    readonly effects: Vec<XcmV0Order>;2490  } & Struct;2491  readonly isExchangeAsset: boolean;2492  readonly asExchangeAsset: {2493    readonly give: Vec<XcmV0MultiAsset>;2494    readonly receive: Vec<XcmV0MultiAsset>;2495  } & Struct;2496  readonly isInitiateReserveWithdraw: boolean;2497  readonly asInitiateReserveWithdraw: {2498    readonly assets: Vec<XcmV0MultiAsset>;2499    readonly reserve: XcmV0MultiLocation;2500    readonly effects: Vec<XcmV0Order>;2501  } & Struct;2502  readonly isInitiateTeleport: boolean;2503  readonly asInitiateTeleport: {2504    readonly assets: Vec<XcmV0MultiAsset>;2505    readonly dest: XcmV0MultiLocation;2506    readonly effects: Vec<XcmV0Order>;2507  } & Struct;2508  readonly isQueryHolding: boolean;2509  readonly asQueryHolding: {2510    readonly queryId: Compact<u64>;2511    readonly dest: XcmV0MultiLocation;2512    readonly assets: Vec<XcmV0MultiAsset>;2513  } & Struct;2514  readonly isBuyExecution: boolean;2515  readonly asBuyExecution: {2516    readonly fees: XcmV0MultiAsset;2517    readonly weight: u64;2518    readonly debt: u64;2519    readonly haltOnError: bool;2520    readonly xcm: Vec<XcmV0Xcm>;2521  } & Struct;2522  readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2523}25242525/** @name XcmV0OriginKind */2526export interface XcmV0OriginKind extends Enum {2527  readonly isNative: boolean;2528  readonly isSovereignAccount: boolean;2529  readonly isSuperuser: boolean;2530  readonly isXcm: boolean;2531  readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2532}25332534/** @name XcmV0Response */2535export interface XcmV0Response extends Enum {2536  readonly isAssets: boolean;2537  readonly asAssets: Vec<XcmV0MultiAsset>;2538  readonly type: 'Assets';2539}25402541/** @name XcmV0Xcm */2542export interface XcmV0Xcm extends Enum {2543  readonly isWithdrawAsset: boolean;2544  readonly asWithdrawAsset: {2545    readonly assets: Vec<XcmV0MultiAsset>;2546    readonly effects: Vec<XcmV0Order>;2547  } & Struct;2548  readonly isReserveAssetDeposit: boolean;2549  readonly asReserveAssetDeposit: {2550    readonly assets: Vec<XcmV0MultiAsset>;2551    readonly effects: Vec<XcmV0Order>;2552  } & Struct;2553  readonly isTeleportAsset: boolean;2554  readonly asTeleportAsset: {2555    readonly assets: Vec<XcmV0MultiAsset>;2556    readonly effects: Vec<XcmV0Order>;2557  } & Struct;2558  readonly isQueryResponse: boolean;2559  readonly asQueryResponse: {2560    readonly queryId: Compact<u64>;2561    readonly response: XcmV0Response;2562  } & Struct;2563  readonly isTransferAsset: boolean;2564  readonly asTransferAsset: {2565    readonly assets: Vec<XcmV0MultiAsset>;2566    readonly dest: XcmV0MultiLocation;2567  } & Struct;2568  readonly isTransferReserveAsset: boolean;2569  readonly asTransferReserveAsset: {2570    readonly assets: Vec<XcmV0MultiAsset>;2571    readonly dest: XcmV0MultiLocation;2572    readonly effects: Vec<XcmV0Order>;2573  } & Struct;2574  readonly isTransact: boolean;2575  readonly asTransact: {2576    readonly originType: XcmV0OriginKind;2577    readonly requireWeightAtMost: u64;2578    readonly call: XcmDoubleEncoded;2579  } & Struct;2580  readonly isHrmpNewChannelOpenRequest: boolean;2581  readonly asHrmpNewChannelOpenRequest: {2582    readonly sender: Compact<u32>;2583    readonly maxMessageSize: Compact<u32>;2584    readonly maxCapacity: Compact<u32>;2585  } & Struct;2586  readonly isHrmpChannelAccepted: boolean;2587  readonly asHrmpChannelAccepted: {2588    readonly recipient: Compact<u32>;2589  } & Struct;2590  readonly isHrmpChannelClosing: boolean;2591  readonly asHrmpChannelClosing: {2592    readonly initiator: Compact<u32>;2593    readonly sender: Compact<u32>;2594    readonly recipient: Compact<u32>;2595  } & Struct;2596  readonly isRelayedFrom: boolean;2597  readonly asRelayedFrom: {2598    readonly who: XcmV0MultiLocation;2599    readonly message: XcmV0Xcm;2600  } & Struct;2601  readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2602}26032604/** @name XcmV1Junction */2605export interface XcmV1Junction extends Enum {2606  readonly isParachain: boolean;2607  readonly asParachain: Compact<u32>;2608  readonly isAccountId32: boolean;2609  readonly asAccountId32: {2610    readonly network: XcmV0JunctionNetworkId;2611    readonly id: U8aFixed;2612  } & Struct;2613  readonly isAccountIndex64: boolean;2614  readonly asAccountIndex64: {2615    readonly network: XcmV0JunctionNetworkId;2616    readonly index: Compact<u64>;2617  } & Struct;2618  readonly isAccountKey20: boolean;2619  readonly asAccountKey20: {2620    readonly network: XcmV0JunctionNetworkId;2621    readonly key: U8aFixed;2622  } & Struct;2623  readonly isPalletInstance: boolean;2624  readonly asPalletInstance: u8;2625  readonly isGeneralIndex: boolean;2626  readonly asGeneralIndex: Compact<u128>;2627  readonly isGeneralKey: boolean;2628  readonly asGeneralKey: Bytes;2629  readonly isOnlyChild: boolean;2630  readonly isPlurality: boolean;2631  readonly asPlurality: {2632    readonly id: XcmV0JunctionBodyId;2633    readonly part: XcmV0JunctionBodyPart;2634  } & Struct;2635  readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2636}26372638/** @name XcmV1MultiAsset */2639export interface XcmV1MultiAsset extends Struct {2640  readonly id: XcmV1MultiassetAssetId;2641  readonly fun: XcmV1MultiassetFungibility;2642}26432644/** @name XcmV1MultiassetAssetId */2645export interface XcmV1MultiassetAssetId extends Enum {2646  readonly isConcrete: boolean;2647  readonly asConcrete: XcmV1MultiLocation;2648  readonly isAbstract: boolean;2649  readonly asAbstract: Bytes;2650  readonly type: 'Concrete' | 'Abstract';2651}26522653/** @name XcmV1MultiassetAssetInstance */2654export interface XcmV1MultiassetAssetInstance extends Enum {2655  readonly isUndefined: boolean;2656  readonly isIndex: boolean;2657  readonly asIndex: Compact<u128>;2658  readonly isArray4: boolean;2659  readonly asArray4: U8aFixed;2660  readonly isArray8: boolean;2661  readonly asArray8: U8aFixed;2662  readonly isArray16: boolean;2663  readonly asArray16: U8aFixed;2664  readonly isArray32: boolean;2665  readonly asArray32: U8aFixed;2666  readonly isBlob: boolean;2667  readonly asBlob: Bytes;2668  readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';2669}26702671/** @name XcmV1MultiassetFungibility */2672export interface XcmV1MultiassetFungibility extends Enum {2673  readonly isFungible: boolean;2674  readonly asFungible: Compact<u128>;2675  readonly isNonFungible: boolean;2676  readonly asNonFungible: XcmV1MultiassetAssetInstance;2677  readonly type: 'Fungible' | 'NonFungible';2678}26792680/** @name XcmV1MultiassetMultiAssetFilter */2681export interface XcmV1MultiassetMultiAssetFilter extends Enum {2682  readonly isDefinite: boolean;2683  readonly asDefinite: XcmV1MultiassetMultiAssets;2684  readonly isWild: boolean;2685  readonly asWild: XcmV1MultiassetWildMultiAsset;2686  readonly type: 'Definite' | 'Wild';2687}26882689/** @name XcmV1MultiassetMultiAssets */2690export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}26912692/** @name XcmV1MultiassetWildFungibility */2693export interface XcmV1MultiassetWildFungibility extends Enum {2694  readonly isFungible: boolean;2695  readonly isNonFungible: boolean;2696  readonly type: 'Fungible' | 'NonFungible';2697}26982699/** @name XcmV1MultiassetWildMultiAsset */2700export interface XcmV1MultiassetWildMultiAsset extends Enum {2701  readonly isAll: boolean;2702  readonly isAllOf: boolean;2703  readonly asAllOf: {2704    readonly id: XcmV1MultiassetAssetId;2705    readonly fun: XcmV1MultiassetWildFungibility;2706  } & Struct;2707  readonly type: 'All' | 'AllOf';2708}27092710/** @name XcmV1MultiLocation */2711export interface XcmV1MultiLocation extends Struct {2712  readonly parents: u8;2713  readonly interior: XcmV1MultilocationJunctions;2714}27152716/** @name XcmV1MultilocationJunctions */2717export interface XcmV1MultilocationJunctions extends Enum {2718  readonly isHere: boolean;2719  readonly isX1: boolean;2720  readonly asX1: XcmV1Junction;2721  readonly isX2: boolean;2722  readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;2723  readonly isX3: boolean;2724  readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2725  readonly isX4: boolean;2726  readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2727  readonly isX5: boolean;2728  readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2729  readonly isX6: boolean;2730  readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2731  readonly isX7: boolean;2732  readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2733  readonly isX8: boolean;2734  readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2735  readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2736}27372738/** @name XcmV1Order */2739export interface XcmV1Order extends Enum {2740  readonly isNoop: boolean;2741  readonly isDepositAsset: boolean;2742  readonly asDepositAsset: {2743    readonly assets: XcmV1MultiassetMultiAssetFilter;2744    readonly maxAssets: u32;2745    readonly beneficiary: XcmV1MultiLocation;2746  } & Struct;2747  readonly isDepositReserveAsset: boolean;2748  readonly asDepositReserveAsset: {2749    readonly assets: XcmV1MultiassetMultiAssetFilter;2750    readonly maxAssets: u32;2751    readonly dest: XcmV1MultiLocation;2752    readonly effects: Vec<XcmV1Order>;2753  } & Struct;2754  readonly isExchangeAsset: boolean;2755  readonly asExchangeAsset: {2756    readonly give: XcmV1MultiassetMultiAssetFilter;2757    readonly receive: XcmV1MultiassetMultiAssets;2758  } & Struct;2759  readonly isInitiateReserveWithdraw: boolean;2760  readonly asInitiateReserveWithdraw: {2761    readonly assets: XcmV1MultiassetMultiAssetFilter;2762    readonly reserve: XcmV1MultiLocation;2763    readonly effects: Vec<XcmV1Order>;2764  } & Struct;2765  readonly isInitiateTeleport: boolean;2766  readonly asInitiateTeleport: {2767    readonly assets: XcmV1MultiassetMultiAssetFilter;2768    readonly dest: XcmV1MultiLocation;2769    readonly effects: Vec<XcmV1Order>;2770  } & Struct;2771  readonly isQueryHolding: boolean;2772  readonly asQueryHolding: {2773    readonly queryId: Compact<u64>;2774    readonly dest: XcmV1MultiLocation;2775    readonly assets: XcmV1MultiassetMultiAssetFilter;2776  } & Struct;2777  readonly isBuyExecution: boolean;2778  readonly asBuyExecution: {2779    readonly fees: XcmV1MultiAsset;2780    readonly weight: u64;2781    readonly debt: u64;2782    readonly haltOnError: bool;2783    readonly instructions: Vec<XcmV1Xcm>;2784  } & Struct;2785  readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2786}27872788/** @name XcmV1Response */2789export interface XcmV1Response extends Enum {2790  readonly isAssets: boolean;2791  readonly asAssets: XcmV1MultiassetMultiAssets;2792  readonly isVersion: boolean;2793  readonly asVersion: u32;2794  readonly type: 'Assets' | 'Version';2795}27962797/** @name XcmV1Xcm */2798export interface XcmV1Xcm extends Enum {2799  readonly isWithdrawAsset: boolean;2800  readonly asWithdrawAsset: {2801    readonly assets: XcmV1MultiassetMultiAssets;2802    readonly effects: Vec<XcmV1Order>;2803  } & Struct;2804  readonly isReserveAssetDeposited: boolean;2805  readonly asReserveAssetDeposited: {2806    readonly assets: XcmV1MultiassetMultiAssets;2807    readonly effects: Vec<XcmV1Order>;2808  } & Struct;2809  readonly isReceiveTeleportedAsset: boolean;2810  readonly asReceiveTeleportedAsset: {2811    readonly assets: XcmV1MultiassetMultiAssets;2812    readonly effects: Vec<XcmV1Order>;2813  } & Struct;2814  readonly isQueryResponse: boolean;2815  readonly asQueryResponse: {2816    readonly queryId: Compact<u64>;2817    readonly response: XcmV1Response;2818  } & Struct;2819  readonly isTransferAsset: boolean;2820  readonly asTransferAsset: {2821    readonly assets: XcmV1MultiassetMultiAssets;2822    readonly beneficiary: XcmV1MultiLocation;2823  } & Struct;2824  readonly isTransferReserveAsset: boolean;2825  readonly asTransferReserveAsset: {2826    readonly assets: XcmV1MultiassetMultiAssets;2827    readonly dest: XcmV1MultiLocation;2828    readonly effects: Vec<XcmV1Order>;2829  } & Struct;2830  readonly isTransact: boolean;2831  readonly asTransact: {2832    readonly originType: XcmV0OriginKind;2833    readonly requireWeightAtMost: u64;2834    readonly call: XcmDoubleEncoded;2835  } & Struct;2836  readonly isHrmpNewChannelOpenRequest: boolean;2837  readonly asHrmpNewChannelOpenRequest: {2838    readonly sender: Compact<u32>;2839    readonly maxMessageSize: Compact<u32>;2840    readonly maxCapacity: Compact<u32>;2841  } & Struct;2842  readonly isHrmpChannelAccepted: boolean;2843  readonly asHrmpChannelAccepted: {2844    readonly recipient: Compact<u32>;2845  } & Struct;2846  readonly isHrmpChannelClosing: boolean;2847  readonly asHrmpChannelClosing: {2848    readonly initiator: Compact<u32>;2849    readonly sender: Compact<u32>;2850    readonly recipient: Compact<u32>;2851  } & Struct;2852  readonly isRelayedFrom: boolean;2853  readonly asRelayedFrom: {2854    readonly who: XcmV1MultilocationJunctions;2855    readonly message: XcmV1Xcm;2856  } & Struct;2857  readonly isSubscribeVersion: boolean;2858  readonly asSubscribeVersion: {2859    readonly queryId: Compact<u64>;2860    readonly maxResponseWeight: Compact<u64>;2861  } & Struct;2862  readonly isUnsubscribeVersion: boolean;2863  readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2864}28652866/** @name XcmV2Instruction */2867export interface XcmV2Instruction extends Enum {2868  readonly isWithdrawAsset: boolean;2869  readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;2870  readonly isReserveAssetDeposited: boolean;2871  readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;2872  readonly isReceiveTeleportedAsset: boolean;2873  readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;2874  readonly isQueryResponse: boolean;2875  readonly asQueryResponse: {2876    readonly queryId: Compact<u64>;2877    readonly response: XcmV2Response;2878    readonly maxWeight: Compact<u64>;2879  } & Struct;2880  readonly isTransferAsset: boolean;2881  readonly asTransferAsset: {2882    readonly assets: XcmV1MultiassetMultiAssets;2883    readonly beneficiary: XcmV1MultiLocation;2884  } & Struct;2885  readonly isTransferReserveAsset: boolean;2886  readonly asTransferReserveAsset: {2887    readonly assets: XcmV1MultiassetMultiAssets;2888    readonly dest: XcmV1MultiLocation;2889    readonly xcm: XcmV2Xcm;2890  } & Struct;2891  readonly isTransact: boolean;2892  readonly asTransact: {2893    readonly originType: XcmV0OriginKind;2894    readonly requireWeightAtMost: Compact<u64>;2895    readonly call: XcmDoubleEncoded;2896  } & Struct;2897  readonly isHrmpNewChannelOpenRequest: boolean;2898  readonly asHrmpNewChannelOpenRequest: {2899    readonly sender: Compact<u32>;2900    readonly maxMessageSize: Compact<u32>;2901    readonly maxCapacity: Compact<u32>;2902  } & Struct;2903  readonly isHrmpChannelAccepted: boolean;2904  readonly asHrmpChannelAccepted: {2905    readonly recipient: Compact<u32>;2906  } & Struct;2907  readonly isHrmpChannelClosing: boolean;2908  readonly asHrmpChannelClosing: {2909    readonly initiator: Compact<u32>;2910    readonly sender: Compact<u32>;2911    readonly recipient: Compact<u32>;2912  } & Struct;2913  readonly isClearOrigin: boolean;2914  readonly isDescendOrigin: boolean;2915  readonly asDescendOrigin: XcmV1MultilocationJunctions;2916  readonly isReportError: boolean;2917  readonly asReportError: {2918    readonly queryId: Compact<u64>;2919    readonly dest: XcmV1MultiLocation;2920    readonly maxResponseWeight: Compact<u64>;2921  } & Struct;2922  readonly isDepositAsset: boolean;2923  readonly asDepositAsset: {2924    readonly assets: XcmV1MultiassetMultiAssetFilter;2925    readonly maxAssets: Compact<u32>;2926    readonly beneficiary: XcmV1MultiLocation;2927  } & Struct;2928  readonly isDepositReserveAsset: boolean;2929  readonly asDepositReserveAsset: {2930    readonly assets: XcmV1MultiassetMultiAssetFilter;2931    readonly maxAssets: Compact<u32>;2932    readonly dest: XcmV1MultiLocation;2933    readonly xcm: XcmV2Xcm;2934  } & Struct;2935  readonly isExchangeAsset: boolean;2936  readonly asExchangeAsset: {2937    readonly give: XcmV1MultiassetMultiAssetFilter;2938    readonly receive: XcmV1MultiassetMultiAssets;2939  } & Struct;2940  readonly isInitiateReserveWithdraw: boolean;2941  readonly asInitiateReserveWithdraw: {2942    readonly assets: XcmV1MultiassetMultiAssetFilter;2943    readonly reserve: XcmV1MultiLocation;2944    readonly xcm: XcmV2Xcm;2945  } & Struct;2946  readonly isInitiateTeleport: boolean;2947  readonly asInitiateTeleport: {2948    readonly assets: XcmV1MultiassetMultiAssetFilter;2949    readonly dest: XcmV1MultiLocation;2950    readonly xcm: XcmV2Xcm;2951  } & Struct;2952  readonly isQueryHolding: boolean;2953  readonly asQueryHolding: {2954    readonly queryId: Compact<u64>;2955    readonly dest: XcmV1MultiLocation;2956    readonly assets: XcmV1MultiassetMultiAssetFilter;2957    readonly maxResponseWeight: Compact<u64>;2958  } & Struct;2959  readonly isBuyExecution: boolean;2960  readonly asBuyExecution: {2961    readonly fees: XcmV1MultiAsset;2962    readonly weightLimit: XcmV2WeightLimit;2963  } & Struct;2964  readonly isRefundSurplus: boolean;2965  readonly isSetErrorHandler: boolean;2966  readonly asSetErrorHandler: XcmV2Xcm;2967  readonly isSetAppendix: boolean;2968  readonly asSetAppendix: XcmV2Xcm;2969  readonly isClearError: boolean;2970  readonly isClaimAsset: boolean;2971  readonly asClaimAsset: {2972    readonly assets: XcmV1MultiassetMultiAssets;2973    readonly ticket: XcmV1MultiLocation;2974  } & Struct;2975  readonly isTrap: boolean;2976  readonly asTrap: Compact<u64>;2977  readonly isSubscribeVersion: boolean;2978  readonly asSubscribeVersion: {2979    readonly queryId: Compact<u64>;2980    readonly maxResponseWeight: Compact<u64>;2981  } & Struct;2982  readonly isUnsubscribeVersion: boolean;2983  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';2984}29852986/** @name XcmV2Response */2987export interface XcmV2Response extends Enum {2988  readonly isNull: boolean;2989  readonly isAssets: boolean;2990  readonly asAssets: XcmV1MultiassetMultiAssets;2991  readonly isExecutionResult: boolean;2992  readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;2993  readonly isVersion: boolean;2994  readonly asVersion: u32;2995  readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';2996}29972998/** @name XcmV2TraitsError */2999export interface XcmV2TraitsError extends Enum {3000  readonly isOverflow: boolean;3001  readonly isUnimplemented: boolean;3002  readonly isUntrustedReserveLocation: boolean;3003  readonly isUntrustedTeleportLocation: boolean;3004  readonly isMultiLocationFull: boolean;3005  readonly isMultiLocationNotInvertible: boolean;3006  readonly isBadOrigin: boolean;3007  readonly isInvalidLocation: boolean;3008  readonly isAssetNotFound: boolean;3009  readonly isFailedToTransactAsset: boolean;3010  readonly isNotWithdrawable: boolean;3011  readonly isLocationCannotHold: boolean;3012  readonly isExceedsMaxMessageSize: boolean;3013  readonly isDestinationUnsupported: boolean;3014  readonly isTransport: boolean;3015  readonly isUnroutable: boolean;3016  readonly isUnknownClaim: boolean;3017  readonly isFailedToDecode: boolean;3018  readonly isMaxWeightInvalid: boolean;3019  readonly isNotHoldingFees: boolean;3020  readonly isTooExpensive: boolean;3021  readonly isTrap: boolean;3022  readonly asTrap: u64;3023  readonly isUnhandledXcmVersion: boolean;3024  readonly isWeightLimitReached: boolean;3025  readonly asWeightLimitReached: u64;3026  readonly isBarrier: boolean;3027  readonly isWeightNotComputable: boolean;3028  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';3029}30303031/** @name XcmV2TraitsOutcome */3032export interface XcmV2TraitsOutcome extends Enum {3033  readonly isComplete: boolean;3034  readonly asComplete: u64;3035  readonly isIncomplete: boolean;3036  readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3037  readonly isError: boolean;3038  readonly asError: XcmV2TraitsError;3039  readonly type: 'Complete' | 'Incomplete' | 'Error';3040}30413042/** @name XcmV2WeightLimit */3043export interface XcmV2WeightLimit extends Enum {3044  readonly isUnlimited: boolean;3045  readonly isLimited: boolean;3046  readonly asLimited: Compact<u64>;3047  readonly type: 'Unlimited' | 'Limited';3048}30493050/** @name XcmV2Xcm */3051export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}30523053/** @name XcmVersionedMultiAssets */3054export interface XcmVersionedMultiAssets extends Enum {3055  readonly isV0: boolean;3056  readonly asV0: Vec<XcmV0MultiAsset>;3057  readonly isV1: boolean;3058  readonly asV1: XcmV1MultiassetMultiAssets;3059  readonly type: 'V0' | 'V1';3060}30613062/** @name XcmVersionedMultiLocation */3063export interface XcmVersionedMultiLocation extends Enum {3064  readonly isV0: boolean;3065  readonly asV0: XcmV0MultiLocation;3066  readonly isV1: boolean;3067  readonly asV1: XcmV1MultiLocation;3068  readonly type: 'V0' | 'V1';3069}30703071/** @name XcmVersionedXcm */3072export interface XcmVersionedXcm extends Enum {3073  readonly isV0: boolean;3074  readonly asV0: XcmV0Xcm;3075  readonly isV1: boolean;3076  readonly asV1: XcmV1Xcm;3077  readonly isV2: boolean;3078  readonly asV2: XcmV2Xcm;3079  readonly type: 'V0' | 'V1' | 'V2';3080}30813082export type PHANTOM_UNIQUE = 'unique';