difftreelog
Fix after rebase
in: master
15 files changed
Cargo.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 = [
pallets/evm-collection/src/stubs/Collection.rawdiffbeforeafterbothbinary blob — no preview
pallets/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;
}
pallets/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
primitives/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>;
runtime/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},
runtime/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},
tests/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;
tests/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": [],
tests/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
tests/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: {
/**
tests/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;
tests/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: {
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34declare module '@polkadot/types/lookup' {5 import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6 import type { ITuple } from '@polkadot/types-codec/types';7 import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8 import type { Event } from '@polkadot/types/interfaces/system';910 /** @name PolkadotPrimitivesV2PersistedValidationData (2) */11 export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {12 readonly parentHead: Bytes;13 readonly relayParentNumber: u32;14 readonly relayParentStorageRoot: H256;15 readonly maxPovSize: u32;16 }1718 /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */19 export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {20 readonly isPresent: boolean;21 readonly type: 'Present';22 }2324 /** @name SpTrieStorageProof (10) */25 export interface SpTrieStorageProof extends Struct {26 readonly trieNodes: BTreeSet<Bytes>;27 }2829 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */30 export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {31 readonly dmqMqcHead: H256;32 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;33 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;34 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;35 }3637 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */38 export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {39 readonly maxCapacity: u32;40 readonly maxTotalSize: u32;41 readonly maxMessageSize: u32;42 readonly msgCount: u32;43 readonly totalSize: u32;44 readonly mqcHead: Option<H256>;45 }4647 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */48 export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {49 readonly maxCodeSize: u32;50 readonly maxHeadDataSize: u32;51 readonly maxUpwardQueueCount: u32;52 readonly maxUpwardQueueSize: u32;53 readonly maxUpwardMessageSize: u32;54 readonly maxUpwardMessageNumPerCandidate: u32;55 readonly hrmpMaxMessageNumPerCandidate: u32;56 readonly validationUpgradeCooldown: u32;57 readonly validationUpgradeDelay: u32;58 }5960 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */61 export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {62 readonly recipient: u32;63 readonly data: Bytes;64 }6566 /** @name CumulusPalletParachainSystemCall (28) */67 export interface CumulusPalletParachainSystemCall extends Enum {68 readonly isSetValidationData: boolean;69 readonly asSetValidationData: {70 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;71 } & Struct;72 readonly isSudoSendUpwardMessage: boolean;73 readonly asSudoSendUpwardMessage: {74 readonly message: Bytes;75 } & Struct;76 readonly isAuthorizeUpgrade: boolean;77 readonly asAuthorizeUpgrade: {78 readonly codeHash: H256;79 } & Struct;80 readonly isEnactAuthorizedUpgrade: boolean;81 readonly asEnactAuthorizedUpgrade: {82 readonly code: Bytes;83 } & Struct;84 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';85 }8687 /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */88 export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {89 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;90 readonly relayChainState: SpTrieStorageProof;91 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;92 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;93 }9495 /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */96 export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {97 readonly sentAt: u32;98 readonly msg: Bytes;99 }100101 /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */102 export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {103 readonly sentAt: u32;104 readonly data: Bytes;105 }106107 /** @name CumulusPalletParachainSystemEvent (37) */108 export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: u32;112 readonly isValidationFunctionDiscarded: boolean;113 readonly isUpgradeAuthorized: boolean;114 readonly asUpgradeAuthorized: H256;115 readonly isDownwardMessagesReceived: boolean;116 readonly asDownwardMessagesReceived: u32;117 readonly isDownwardMessagesProcessed: boolean;118 readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;119 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';120 }121122 /** @name CumulusPalletParachainSystemError (38) */123 export interface CumulusPalletParachainSystemError extends Enum {124 readonly isOverlappingUpgrades: boolean;125 readonly isProhibitedByPolkadot: boolean;126 readonly isTooBig: boolean;127 readonly isValidationDataNotAvailable: boolean;128 readonly isHostConfigurationNotAvailable: boolean;129 readonly isNotScheduled: boolean;130 readonly isNothingAuthorized: boolean;131 readonly isUnauthorized: boolean;132 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';133 }134135 /** @name PalletBalancesAccountData (41) */136 export interface PalletBalancesAccountData extends Struct {137 readonly free: u128;138 readonly reserved: u128;139 readonly miscFrozen: u128;140 readonly feeFrozen: u128;141 }142143 /** @name PalletBalancesBalanceLock (43) */144 export interface PalletBalancesBalanceLock extends Struct {145 readonly id: U8aFixed;146 readonly amount: u128;147 readonly reasons: PalletBalancesReasons;148 }149150 /** @name PalletBalancesReasons (45) */151 export interface PalletBalancesReasons extends Enum {152 readonly isFee: boolean;153 readonly isMisc: boolean;154 readonly isAll: boolean;155 readonly type: 'Fee' | 'Misc' | 'All';156 }157158 /** @name PalletBalancesReserveData (48) */159 export interface PalletBalancesReserveData extends Struct {160 readonly id: U8aFixed;161 readonly amount: u128;162 }163164 /** @name PalletBalancesReleases (50) */165 export interface PalletBalancesReleases extends Enum {166 readonly isV100: boolean;167 readonly isV200: boolean;168 readonly type: 'V100' | 'V200';169 }170171 /** @name PalletBalancesCall (51) */172 export interface PalletBalancesCall extends Enum {173 readonly isTransfer: boolean;174 readonly asTransfer: {175 readonly dest: MultiAddress;176 readonly value: Compact<u128>;177 } & Struct;178 readonly isSetBalance: boolean;179 readonly asSetBalance: {180 readonly who: MultiAddress;181 readonly newFree: Compact<u128>;182 readonly newReserved: Compact<u128>;183 } & Struct;184 readonly isForceTransfer: boolean;185 readonly asForceTransfer: {186 readonly source: MultiAddress;187 readonly dest: MultiAddress;188 readonly value: Compact<u128>;189 } & Struct;190 readonly isTransferKeepAlive: boolean;191 readonly asTransferKeepAlive: {192 readonly dest: MultiAddress;193 readonly value: Compact<u128>;194 } & Struct;195 readonly isTransferAll: boolean;196 readonly asTransferAll: {197 readonly dest: MultiAddress;198 readonly keepAlive: bool;199 } & Struct;200 readonly isForceUnreserve: boolean;201 readonly asForceUnreserve: {202 readonly who: MultiAddress;203 readonly amount: u128;204 } & Struct;205 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';206 }207208 /** @name PalletBalancesEvent (57) */209 export interface PalletBalancesEvent extends Enum {210 readonly isEndowed: boolean;211 readonly asEndowed: {212 readonly account: AccountId32;213 readonly freeBalance: u128;214 } & Struct;215 readonly isDustLost: boolean;216 readonly asDustLost: {217 readonly account: AccountId32;218 readonly amount: u128;219 } & Struct;220 readonly isTransfer: boolean;221 readonly asTransfer: {222 readonly from: AccountId32;223 readonly to: AccountId32;224 readonly amount: u128;225 } & Struct;226 readonly isBalanceSet: boolean;227 readonly asBalanceSet: {228 readonly who: AccountId32;229 readonly free: u128;230 readonly reserved: u128;231 } & Struct;232 readonly isReserved: boolean;233 readonly asReserved: {234 readonly who: AccountId32;235 readonly amount: u128;236 } & Struct;237 readonly isUnreserved: boolean;238 readonly asUnreserved: {239 readonly who: AccountId32;240 readonly amount: u128;241 } & Struct;242 readonly isReserveRepatriated: boolean;243 readonly asReserveRepatriated: {244 readonly from: AccountId32;245 readonly to: AccountId32;246 readonly amount: u128;247 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;248 } & Struct;249 readonly isDeposit: boolean;250 readonly asDeposit: {251 readonly who: AccountId32;252 readonly amount: u128;253 } & Struct;254 readonly isWithdraw: boolean;255 readonly asWithdraw: {256 readonly who: AccountId32;257 readonly amount: u128;258 } & Struct;259 readonly isSlashed: boolean;260 readonly asSlashed: {261 readonly who: AccountId32;262 readonly amount: u128;263 } & Struct;264 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';265 }266267 /** @name FrameSupportTokensMiscBalanceStatus (58) */268 export interface FrameSupportTokensMiscBalanceStatus extends Enum {269 readonly isFree: boolean;270 readonly isReserved: boolean;271 readonly type: 'Free' | 'Reserved';272 }273274 /** @name PalletBalancesError (59) */275 export interface PalletBalancesError extends Enum {276 readonly isVestingBalance: boolean;277 readonly isLiquidityRestrictions: boolean;278 readonly isInsufficientBalance: boolean;279 readonly isExistentialDeposit: boolean;280 readonly isKeepAlive: boolean;281 readonly isExistingVestingSchedule: boolean;282 readonly isDeadAccount: boolean;283 readonly isTooManyReserves: boolean;284 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';285 }286287 /** @name PalletTimestampCall (62) */288 export interface PalletTimestampCall extends Enum {289 readonly isSet: boolean;290 readonly asSet: {291 readonly now: Compact<u64>;292 } & Struct;293 readonly type: 'Set';294 }295296 /** @name PalletTransactionPaymentReleases (65) */297 export interface PalletTransactionPaymentReleases extends Enum {298 readonly isV1Ancient: boolean;299 readonly isV2: boolean;300 readonly type: 'V1Ancient' | 'V2';301 }302303 /** @name FrameSupportWeightsWeightToFeeCoefficient (67) */304 export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {305 readonly coeffInteger: u128;306 readonly coeffFrac: Perbill;307 readonly negative: bool;308 readonly degree: u8;309 }310311 /** @name PalletTreasuryProposal (69) */312 export interface PalletTreasuryProposal extends Struct {313 readonly proposer: AccountId32;314 readonly value: u128;315 readonly beneficiary: AccountId32;316 readonly bond: u128;317 }318319 /** @name PalletTreasuryCall (72) */320 export interface PalletTreasuryCall extends Enum {321 readonly isProposeSpend: boolean;322 readonly asProposeSpend: {323 readonly value: Compact<u128>;324 readonly beneficiary: MultiAddress;325 } & Struct;326 readonly isRejectProposal: boolean;327 readonly asRejectProposal: {328 readonly proposalId: Compact<u32>;329 } & Struct;330 readonly isApproveProposal: boolean;331 readonly asApproveProposal: {332 readonly proposalId: Compact<u32>;333 } & Struct;334 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';335 }336337 /** @name PalletTreasuryEvent (74) */338 export interface PalletTreasuryEvent extends Enum {339 readonly isProposed: boolean;340 readonly asProposed: {341 readonly proposalIndex: u32;342 } & Struct;343 readonly isSpending: boolean;344 readonly asSpending: {345 readonly budgetRemaining: u128;346 } & Struct;347 readonly isAwarded: boolean;348 readonly asAwarded: {349 readonly proposalIndex: u32;350 readonly award: u128;351 readonly account: AccountId32;352 } & Struct;353 readonly isRejected: boolean;354 readonly asRejected: {355 readonly proposalIndex: u32;356 readonly slashed: u128;357 } & Struct;358 readonly isBurnt: boolean;359 readonly asBurnt: {360 readonly burntFunds: u128;361 } & Struct;362 readonly isRollover: boolean;363 readonly asRollover: {364 readonly rolloverBalance: u128;365 } & Struct;366 readonly isDeposit: boolean;367 readonly asDeposit: {368 readonly value: u128;369 } & Struct;370 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';371 }372373 /** @name FrameSupportPalletId (77) */374 export interface FrameSupportPalletId extends U8aFixed {}375376 /** @name PalletTreasuryError (78) */377 export interface PalletTreasuryError extends Enum {378 readonly isInsufficientProposersBalance: boolean;379 readonly isInvalidIndex: boolean;380 readonly isTooManyApprovals: boolean;381 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';382 }383384 /** @name PalletSudoCall (79) */385 export interface PalletSudoCall extends Enum {386 readonly isSudo: boolean;387 readonly asSudo: {388 readonly call: Call;389 } & Struct;390 readonly isSudoUncheckedWeight: boolean;391 readonly asSudoUncheckedWeight: {392 readonly call: Call;393 readonly weight: u64;394 } & Struct;395 readonly isSetKey: boolean;396 readonly asSetKey: {397 readonly new_: MultiAddress;398 } & Struct;399 readonly isSudoAs: boolean;400 readonly asSudoAs: {401 readonly who: MultiAddress;402 readonly call: Call;403 } & Struct;404 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';405 }406407 /** @name FrameSystemCall (81) */408 export interface FrameSystemCall extends Enum {409 readonly isFillBlock: boolean;410 readonly asFillBlock: {411 readonly ratio: Perbill;412 } & Struct;413 readonly isRemark: boolean;414 readonly asRemark: {415 readonly remark: Bytes;416 } & Struct;417 readonly isSetHeapPages: boolean;418 readonly asSetHeapPages: {419 readonly pages: u64;420 } & Struct;421 readonly isSetCode: boolean;422 readonly asSetCode: {423 readonly code: Bytes;424 } & Struct;425 readonly isSetCodeWithoutChecks: boolean;426 readonly asSetCodeWithoutChecks: {427 readonly code: Bytes;428 } & Struct;429 readonly isSetStorage: boolean;430 readonly asSetStorage: {431 readonly items: Vec<ITuple<[Bytes, Bytes]>>;432 } & Struct;433 readonly isKillStorage: boolean;434 readonly asKillStorage: {435 readonly keys_: Vec<Bytes>;436 } & Struct;437 readonly isKillPrefix: boolean;438 readonly asKillPrefix: {439 readonly prefix: Bytes;440 readonly subkeys: u32;441 } & Struct;442 readonly isRemarkWithEvent: boolean;443 readonly asRemarkWithEvent: {444 readonly remark: Bytes;445 } & Struct;446 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';447 }448449 /** @name OrmlVestingModuleCall (84) */450 export interface OrmlVestingModuleCall extends Enum {451 readonly isClaim: boolean;452 readonly isVestedTransfer: boolean;453 readonly asVestedTransfer: {454 readonly dest: MultiAddress;455 readonly schedule: OrmlVestingVestingSchedule;456 } & Struct;457 readonly isUpdateVestingSchedules: boolean;458 readonly asUpdateVestingSchedules: {459 readonly who: MultiAddress;460 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;461 } & Struct;462 readonly isClaimFor: boolean;463 readonly asClaimFor: {464 readonly dest: MultiAddress;465 } & Struct;466 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';467 }468469 /** @name OrmlVestingVestingSchedule (85) */470 export interface OrmlVestingVestingSchedule extends Struct {471 readonly start: u32;472 readonly period: u32;473 readonly periodCount: u32;474 readonly perPeriod: Compact<u128>;475 }476477 /** @name CumulusPalletXcmpQueueCall (87) */478 export interface CumulusPalletXcmpQueueCall extends Enum {479 readonly isServiceOverweight: boolean;480 readonly asServiceOverweight: {481 readonly index: u64;482 readonly weightLimit: u64;483 } & Struct;484 readonly isSuspendXcmExecution: boolean;485 readonly isResumeXcmExecution: boolean;486 readonly isUpdateSuspendThreshold: boolean;487 readonly asUpdateSuspendThreshold: {488 readonly new_: u32;489 } & Struct;490 readonly isUpdateDropThreshold: boolean;491 readonly asUpdateDropThreshold: {492 readonly new_: u32;493 } & Struct;494 readonly isUpdateResumeThreshold: boolean;495 readonly asUpdateResumeThreshold: {496 readonly new_: u32;497 } & Struct;498 readonly isUpdateThresholdWeight: boolean;499 readonly asUpdateThresholdWeight: {500 readonly new_: u64;501 } & Struct;502 readonly isUpdateWeightRestrictDecay: boolean;503 readonly asUpdateWeightRestrictDecay: {504 readonly new_: u64;505 } & Struct;506 readonly isUpdateXcmpMaxIndividualWeight: boolean;507 readonly asUpdateXcmpMaxIndividualWeight: {508 readonly new_: u64;509 } & Struct;510 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';511 }512513 /** @name PalletXcmCall (88) */514 export interface PalletXcmCall extends Enum {515 readonly isSend: boolean;516 readonly asSend: {517 readonly dest: XcmVersionedMultiLocation;518 readonly message: XcmVersionedXcm;519 } & Struct;520 readonly isTeleportAssets: boolean;521 readonly asTeleportAssets: {522 readonly dest: XcmVersionedMultiLocation;523 readonly beneficiary: XcmVersionedMultiLocation;524 readonly assets: XcmVersionedMultiAssets;525 readonly feeAssetItem: u32;526 } & Struct;527 readonly isReserveTransferAssets: boolean;528 readonly asReserveTransferAssets: {529 readonly dest: XcmVersionedMultiLocation;530 readonly beneficiary: XcmVersionedMultiLocation;531 readonly assets: XcmVersionedMultiAssets;532 readonly feeAssetItem: u32;533 } & Struct;534 readonly isExecute: boolean;535 readonly asExecute: {536 readonly message: XcmVersionedXcm;537 readonly maxWeight: u64;538 } & Struct;539 readonly isForceXcmVersion: boolean;540 readonly asForceXcmVersion: {541 readonly location: XcmV1MultiLocation;542 readonly xcmVersion: u32;543 } & Struct;544 readonly isForceDefaultXcmVersion: boolean;545 readonly asForceDefaultXcmVersion: {546 readonly maybeXcmVersion: Option<u32>;547 } & Struct;548 readonly isForceSubscribeVersionNotify: boolean;549 readonly asForceSubscribeVersionNotify: {550 readonly location: XcmVersionedMultiLocation;551 } & Struct;552 readonly isForceUnsubscribeVersionNotify: boolean;553 readonly asForceUnsubscribeVersionNotify: {554 readonly location: XcmVersionedMultiLocation;555 } & Struct;556 readonly isLimitedReserveTransferAssets: boolean;557 readonly asLimitedReserveTransferAssets: {558 readonly dest: XcmVersionedMultiLocation;559 readonly beneficiary: XcmVersionedMultiLocation;560 readonly assets: XcmVersionedMultiAssets;561 readonly feeAssetItem: u32;562 readonly weightLimit: XcmV2WeightLimit;563 } & Struct;564 readonly isLimitedTeleportAssets: boolean;565 readonly asLimitedTeleportAssets: {566 readonly dest: XcmVersionedMultiLocation;567 readonly beneficiary: XcmVersionedMultiLocation;568 readonly assets: XcmVersionedMultiAssets;569 readonly feeAssetItem: u32;570 readonly weightLimit: XcmV2WeightLimit;571 } & Struct;572 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';573 }574575 /** @name XcmVersionedMultiLocation (89) */576 export interface XcmVersionedMultiLocation extends Enum {577 readonly isV0: boolean;578 readonly asV0: XcmV0MultiLocation;579 readonly isV1: boolean;580 readonly asV1: XcmV1MultiLocation;581 readonly type: 'V0' | 'V1';582 }583584 /** @name XcmV0MultiLocation (90) */585 export interface XcmV0MultiLocation extends Enum {586 readonly isNull: boolean;587 readonly isX1: boolean;588 readonly asX1: XcmV0Junction;589 readonly isX2: boolean;590 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;591 readonly isX3: boolean;592 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;593 readonly isX4: boolean;594 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;595 readonly isX5: boolean;596 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;597 readonly isX6: boolean;598 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;599 readonly isX7: boolean;600 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;601 readonly isX8: boolean;602 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;603 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';604 }605606 /** @name XcmV0Junction (91) */607 export interface XcmV0Junction extends Enum {608 readonly isParent: boolean;609 readonly isParachain: boolean;610 readonly asParachain: Compact<u32>;611 readonly isAccountId32: boolean;612 readonly asAccountId32: {613 readonly network: XcmV0JunctionNetworkId;614 readonly id: U8aFixed;615 } & Struct;616 readonly isAccountIndex64: boolean;617 readonly asAccountIndex64: {618 readonly network: XcmV0JunctionNetworkId;619 readonly index: Compact<u64>;620 } & Struct;621 readonly isAccountKey20: boolean;622 readonly asAccountKey20: {623 readonly network: XcmV0JunctionNetworkId;624 readonly key: U8aFixed;625 } & Struct;626 readonly isPalletInstance: boolean;627 readonly asPalletInstance: u8;628 readonly isGeneralIndex: boolean;629 readonly asGeneralIndex: Compact<u128>;630 readonly isGeneralKey: boolean;631 readonly asGeneralKey: Bytes;632 readonly isOnlyChild: boolean;633 readonly isPlurality: boolean;634 readonly asPlurality: {635 readonly id: XcmV0JunctionBodyId;636 readonly part: XcmV0JunctionBodyPart;637 } & Struct;638 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';639 }640641 /** @name XcmV0JunctionNetworkId (92) */642 export interface XcmV0JunctionNetworkId extends Enum {643 readonly isAny: boolean;644 readonly isNamed: boolean;645 readonly asNamed: Bytes;646 readonly isPolkadot: boolean;647 readonly isKusama: boolean;648 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';649 }650651 /** @name XcmV0JunctionBodyId (93) */652 export interface XcmV0JunctionBodyId extends Enum {653 readonly isUnit: boolean;654 readonly isNamed: boolean;655 readonly asNamed: Bytes;656 readonly isIndex: boolean;657 readonly asIndex: Compact<u32>;658 readonly isExecutive: boolean;659 readonly isTechnical: boolean;660 readonly isLegislative: boolean;661 readonly isJudicial: boolean;662 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';663 }664665 /** @name XcmV0JunctionBodyPart (94) */666 export interface XcmV0JunctionBodyPart extends Enum {667 readonly isVoice: boolean;668 readonly isMembers: boolean;669 readonly asMembers: {670 readonly count: Compact<u32>;671 } & Struct;672 readonly isFraction: boolean;673 readonly asFraction: {674 readonly nom: Compact<u32>;675 readonly denom: Compact<u32>;676 } & Struct;677 readonly isAtLeastProportion: boolean;678 readonly asAtLeastProportion: {679 readonly nom: Compact<u32>;680 readonly denom: Compact<u32>;681 } & Struct;682 readonly isMoreThanProportion: boolean;683 readonly asMoreThanProportion: {684 readonly nom: Compact<u32>;685 readonly denom: Compact<u32>;686 } & Struct;687 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';688 }689690 /** @name XcmV1MultiLocation (95) */691 export interface XcmV1MultiLocation extends Struct {692 readonly parents: u8;693 readonly interior: XcmV1MultilocationJunctions;694 }695696 /** @name XcmV1MultilocationJunctions (96) */697 export interface XcmV1MultilocationJunctions extends Enum {698 readonly isHere: boolean;699 readonly isX1: boolean;700 readonly asX1: XcmV1Junction;701 readonly isX2: boolean;702 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;703 readonly isX3: boolean;704 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;705 readonly isX4: boolean;706 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;707 readonly isX5: boolean;708 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;709 readonly isX6: boolean;710 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;711 readonly isX7: boolean;712 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;713 readonly isX8: boolean;714 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;715 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';716 }717718 /** @name XcmV1Junction (97) */719 export interface XcmV1Junction extends Enum {720 readonly isParachain: boolean;721 readonly asParachain: Compact<u32>;722 readonly isAccountId32: boolean;723 readonly asAccountId32: {724 readonly network: XcmV0JunctionNetworkId;725 readonly id: U8aFixed;726 } & Struct;727 readonly isAccountIndex64: boolean;728 readonly asAccountIndex64: {729 readonly network: XcmV0JunctionNetworkId;730 readonly index: Compact<u64>;731 } & Struct;732 readonly isAccountKey20: boolean;733 readonly asAccountKey20: {734 readonly network: XcmV0JunctionNetworkId;735 readonly key: U8aFixed;736 } & Struct;737 readonly isPalletInstance: boolean;738 readonly asPalletInstance: u8;739 readonly isGeneralIndex: boolean;740 readonly asGeneralIndex: Compact<u128>;741 readonly isGeneralKey: boolean;742 readonly asGeneralKey: Bytes;743 readonly isOnlyChild: boolean;744 readonly isPlurality: boolean;745 readonly asPlurality: {746 readonly id: XcmV0JunctionBodyId;747 readonly part: XcmV0JunctionBodyPart;748 } & Struct;749 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';750 }751752 /** @name XcmVersionedXcm (98) */753 export interface XcmVersionedXcm extends Enum {754 readonly isV0: boolean;755 readonly asV0: XcmV0Xcm;756 readonly isV1: boolean;757 readonly asV1: XcmV1Xcm;758 readonly isV2: boolean;759 readonly asV2: XcmV2Xcm;760 readonly type: 'V0' | 'V1' | 'V2';761 }762763 /** @name XcmV0Xcm (99) */764 export interface XcmV0Xcm extends Enum {765 readonly isWithdrawAsset: boolean;766 readonly asWithdrawAsset: {767 readonly assets: Vec<XcmV0MultiAsset>;768 readonly effects: Vec<XcmV0Order>;769 } & Struct;770 readonly isReserveAssetDeposit: boolean;771 readonly asReserveAssetDeposit: {772 readonly assets: Vec<XcmV0MultiAsset>;773 readonly effects: Vec<XcmV0Order>;774 } & Struct;775 readonly isTeleportAsset: boolean;776 readonly asTeleportAsset: {777 readonly assets: Vec<XcmV0MultiAsset>;778 readonly effects: Vec<XcmV0Order>;779 } & Struct;780 readonly isQueryResponse: boolean;781 readonly asQueryResponse: {782 readonly queryId: Compact<u64>;783 readonly response: XcmV0Response;784 } & Struct;785 readonly isTransferAsset: boolean;786 readonly asTransferAsset: {787 readonly assets: Vec<XcmV0MultiAsset>;788 readonly dest: XcmV0MultiLocation;789 } & Struct;790 readonly isTransferReserveAsset: boolean;791 readonly asTransferReserveAsset: {792 readonly assets: Vec<XcmV0MultiAsset>;793 readonly dest: XcmV0MultiLocation;794 readonly effects: Vec<XcmV0Order>;795 } & Struct;796 readonly isTransact: boolean;797 readonly asTransact: {798 readonly originType: XcmV0OriginKind;799 readonly requireWeightAtMost: u64;800 readonly call: XcmDoubleEncoded;801 } & Struct;802 readonly isHrmpNewChannelOpenRequest: boolean;803 readonly asHrmpNewChannelOpenRequest: {804 readonly sender: Compact<u32>;805 readonly maxMessageSize: Compact<u32>;806 readonly maxCapacity: Compact<u32>;807 } & Struct;808 readonly isHrmpChannelAccepted: boolean;809 readonly asHrmpChannelAccepted: {810 readonly recipient: Compact<u32>;811 } & Struct;812 readonly isHrmpChannelClosing: boolean;813 readonly asHrmpChannelClosing: {814 readonly initiator: Compact<u32>;815 readonly sender: Compact<u32>;816 readonly recipient: Compact<u32>;817 } & Struct;818 readonly isRelayedFrom: boolean;819 readonly asRelayedFrom: {820 readonly who: XcmV0MultiLocation;821 readonly message: XcmV0Xcm;822 } & Struct;823 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';824 }825826 /** @name XcmV0MultiAsset (101) */827 export interface XcmV0MultiAsset extends Enum {828 readonly isNone: boolean;829 readonly isAll: boolean;830 readonly isAllFungible: boolean;831 readonly isAllNonFungible: boolean;832 readonly isAllAbstractFungible: boolean;833 readonly asAllAbstractFungible: {834 readonly id: Bytes;835 } & Struct;836 readonly isAllAbstractNonFungible: boolean;837 readonly asAllAbstractNonFungible: {838 readonly class: Bytes;839 } & Struct;840 readonly isAllConcreteFungible: boolean;841 readonly asAllConcreteFungible: {842 readonly id: XcmV0MultiLocation;843 } & Struct;844 readonly isAllConcreteNonFungible: boolean;845 readonly asAllConcreteNonFungible: {846 readonly class: XcmV0MultiLocation;847 } & Struct;848 readonly isAbstractFungible: boolean;849 readonly asAbstractFungible: {850 readonly id: Bytes;851 readonly amount: Compact<u128>;852 } & Struct;853 readonly isAbstractNonFungible: boolean;854 readonly asAbstractNonFungible: {855 readonly class: Bytes;856 readonly instance: XcmV1MultiassetAssetInstance;857 } & Struct;858 readonly isConcreteFungible: boolean;859 readonly asConcreteFungible: {860 readonly id: XcmV0MultiLocation;861 readonly amount: Compact<u128>;862 } & Struct;863 readonly isConcreteNonFungible: boolean;864 readonly asConcreteNonFungible: {865 readonly class: XcmV0MultiLocation;866 readonly instance: XcmV1MultiassetAssetInstance;867 } & Struct;868 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';869 }870871 /** @name XcmV1MultiassetAssetInstance (102) */872 export interface XcmV1MultiassetAssetInstance extends Enum {873 readonly isUndefined: boolean;874 readonly isIndex: boolean;875 readonly asIndex: Compact<u128>;876 readonly isArray4: boolean;877 readonly asArray4: U8aFixed;878 readonly isArray8: boolean;879 readonly asArray8: U8aFixed;880 readonly isArray16: boolean;881 readonly asArray16: U8aFixed;882 readonly isArray32: boolean;883 readonly asArray32: U8aFixed;884 readonly isBlob: boolean;885 readonly asBlob: Bytes;886 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';887 }888889 /** @name XcmV0Order (106) */890 export interface XcmV0Order extends Enum {891 readonly isNull: boolean;892 readonly isDepositAsset: boolean;893 readonly asDepositAsset: {894 readonly assets: Vec<XcmV0MultiAsset>;895 readonly dest: XcmV0MultiLocation;896 } & Struct;897 readonly isDepositReserveAsset: boolean;898 readonly asDepositReserveAsset: {899 readonly assets: Vec<XcmV0MultiAsset>;900 readonly dest: XcmV0MultiLocation;901 readonly effects: Vec<XcmV0Order>;902 } & Struct;903 readonly isExchangeAsset: boolean;904 readonly asExchangeAsset: {905 readonly give: Vec<XcmV0MultiAsset>;906 readonly receive: Vec<XcmV0MultiAsset>;907 } & Struct;908 readonly isInitiateReserveWithdraw: boolean;909 readonly asInitiateReserveWithdraw: {910 readonly assets: Vec<XcmV0MultiAsset>;911 readonly reserve: XcmV0MultiLocation;912 readonly effects: Vec<XcmV0Order>;913 } & Struct;914 readonly isInitiateTeleport: boolean;915 readonly asInitiateTeleport: {916 readonly assets: Vec<XcmV0MultiAsset>;917 readonly dest: XcmV0MultiLocation;918 readonly effects: Vec<XcmV0Order>;919 } & Struct;920 readonly isQueryHolding: boolean;921 readonly asQueryHolding: {922 readonly queryId: Compact<u64>;923 readonly dest: XcmV0MultiLocation;924 readonly assets: Vec<XcmV0MultiAsset>;925 } & Struct;926 readonly isBuyExecution: boolean;927 readonly asBuyExecution: {928 readonly fees: XcmV0MultiAsset;929 readonly weight: u64;930 readonly debt: u64;931 readonly haltOnError: bool;932 readonly xcm: Vec<XcmV0Xcm>;933 } & Struct;934 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';935 }936937 /** @name XcmV0Response (108) */938 export interface XcmV0Response extends Enum {939 readonly isAssets: boolean;940 readonly asAssets: Vec<XcmV0MultiAsset>;941 readonly type: 'Assets';942 }943944 /** @name XcmV0OriginKind (109) */945 export interface XcmV0OriginKind extends Enum {946 readonly isNative: boolean;947 readonly isSovereignAccount: boolean;948 readonly isSuperuser: boolean;949 readonly isXcm: boolean;950 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';951 }952953 /** @name XcmDoubleEncoded (110) */954 export interface XcmDoubleEncoded extends Struct {955 readonly encoded: Bytes;956 }957958 /** @name XcmV1Xcm (111) */959 export interface XcmV1Xcm extends Enum {960 readonly isWithdrawAsset: boolean;961 readonly asWithdrawAsset: {962 readonly assets: XcmV1MultiassetMultiAssets;963 readonly effects: Vec<XcmV1Order>;964 } & Struct;965 readonly isReserveAssetDeposited: boolean;966 readonly asReserveAssetDeposited: {967 readonly assets: XcmV1MultiassetMultiAssets;968 readonly effects: Vec<XcmV1Order>;969 } & Struct;970 readonly isReceiveTeleportedAsset: boolean;971 readonly asReceiveTeleportedAsset: {972 readonly assets: XcmV1MultiassetMultiAssets;973 readonly effects: Vec<XcmV1Order>;974 } & Struct;975 readonly isQueryResponse: boolean;976 readonly asQueryResponse: {977 readonly queryId: Compact<u64>;978 readonly response: XcmV1Response;979 } & Struct;980 readonly isTransferAsset: boolean;981 readonly asTransferAsset: {982 readonly assets: XcmV1MultiassetMultiAssets;983 readonly beneficiary: XcmV1MultiLocation;984 } & Struct;985 readonly isTransferReserveAsset: boolean;986 readonly asTransferReserveAsset: {987 readonly assets: XcmV1MultiassetMultiAssets;988 readonly dest: XcmV1MultiLocation;989 readonly effects: Vec<XcmV1Order>;990 } & Struct;991 readonly isTransact: boolean;992 readonly asTransact: {993 readonly originType: XcmV0OriginKind;994 readonly requireWeightAtMost: u64;995 readonly call: XcmDoubleEncoded;996 } & Struct;997 readonly isHrmpNewChannelOpenRequest: boolean;998 readonly asHrmpNewChannelOpenRequest: {999 readonly sender: Compact<u32>;1000 readonly maxMessageSize: Compact<u32>;1001 readonly maxCapacity: Compact<u32>;1002 } & Struct;1003 readonly isHrmpChannelAccepted: boolean;1004 readonly asHrmpChannelAccepted: {1005 readonly recipient: Compact<u32>;1006 } & Struct;1007 readonly isHrmpChannelClosing: boolean;1008 readonly asHrmpChannelClosing: {1009 readonly initiator: Compact<u32>;1010 readonly sender: Compact<u32>;1011 readonly recipient: Compact<u32>;1012 } & Struct;1013 readonly isRelayedFrom: boolean;1014 readonly asRelayedFrom: {1015 readonly who: XcmV1MultilocationJunctions;1016 readonly message: XcmV1Xcm;1017 } & Struct;1018 readonly isSubscribeVersion: boolean;1019 readonly asSubscribeVersion: {1020 readonly queryId: Compact<u64>;1021 readonly maxResponseWeight: Compact<u64>;1022 } & Struct;1023 readonly isUnsubscribeVersion: boolean;1024 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';1025 }10261027 /** @name XcmV1MultiassetMultiAssets (112) */1028 export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}10291030 /** @name XcmV1MultiAsset (114) */1031 export interface XcmV1MultiAsset extends Struct {1032 readonly id: XcmV1MultiassetAssetId;1033 readonly fun: XcmV1MultiassetFungibility;1034 }10351036 /** @name XcmV1MultiassetAssetId (115) */1037 export interface XcmV1MultiassetAssetId extends Enum {1038 readonly isConcrete: boolean;1039 readonly asConcrete: XcmV1MultiLocation;1040 readonly isAbstract: boolean;1041 readonly asAbstract: Bytes;1042 readonly type: 'Concrete' | 'Abstract';1043 }10441045 /** @name XcmV1MultiassetFungibility (116) */1046 export interface XcmV1MultiassetFungibility extends Enum {1047 readonly isFungible: boolean;1048 readonly asFungible: Compact<u128>;1049 readonly isNonFungible: boolean;1050 readonly asNonFungible: XcmV1MultiassetAssetInstance;1051 readonly type: 'Fungible' | 'NonFungible';1052 }10531054 /** @name XcmV1Order (118) */1055 export interface XcmV1Order extends Enum {1056 readonly isNoop: boolean;1057 readonly isDepositAsset: boolean;1058 readonly asDepositAsset: {1059 readonly assets: XcmV1MultiassetMultiAssetFilter;1060 readonly maxAssets: u32;1061 readonly beneficiary: XcmV1MultiLocation;1062 } & Struct;1063 readonly isDepositReserveAsset: boolean;1064 readonly asDepositReserveAsset: {1065 readonly assets: XcmV1MultiassetMultiAssetFilter;1066 readonly maxAssets: u32;1067 readonly dest: XcmV1MultiLocation;1068 readonly effects: Vec<XcmV1Order>;1069 } & Struct;1070 readonly isExchangeAsset: boolean;1071 readonly asExchangeAsset: {1072 readonly give: XcmV1MultiassetMultiAssetFilter;1073 readonly receive: XcmV1MultiassetMultiAssets;1074 } & Struct;1075 readonly isInitiateReserveWithdraw: boolean;1076 readonly asInitiateReserveWithdraw: {1077 readonly assets: XcmV1MultiassetMultiAssetFilter;1078 readonly reserve: XcmV1MultiLocation;1079 readonly effects: Vec<XcmV1Order>;1080 } & Struct;1081 readonly isInitiateTeleport: boolean;1082 readonly asInitiateTeleport: {1083 readonly assets: XcmV1MultiassetMultiAssetFilter;1084 readonly dest: XcmV1MultiLocation;1085 readonly effects: Vec<XcmV1Order>;1086 } & Struct;1087 readonly isQueryHolding: boolean;1088 readonly asQueryHolding: {1089 readonly queryId: Compact<u64>;1090 readonly dest: XcmV1MultiLocation;1091 readonly assets: XcmV1MultiassetMultiAssetFilter;1092 } & Struct;1093 readonly isBuyExecution: boolean;1094 readonly asBuyExecution: {1095 readonly fees: XcmV1MultiAsset;1096 readonly weight: u64;1097 readonly debt: u64;1098 readonly haltOnError: bool;1099 readonly instructions: Vec<XcmV1Xcm>;1100 } & Struct;1101 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';1102 }11031104 /** @name XcmV1MultiassetMultiAssetFilter (119) */1105 export interface XcmV1MultiassetMultiAssetFilter extends Enum {1106 readonly isDefinite: boolean;1107 readonly asDefinite: XcmV1MultiassetMultiAssets;1108 readonly isWild: boolean;1109 readonly asWild: XcmV1MultiassetWildMultiAsset;1110 readonly type: 'Definite' | 'Wild';1111 }11121113 /** @name XcmV1MultiassetWildMultiAsset (120) */1114 export interface XcmV1MultiassetWildMultiAsset extends Enum {1115 readonly isAll: boolean;1116 readonly isAllOf: boolean;1117 readonly asAllOf: {1118 readonly id: XcmV1MultiassetAssetId;1119 readonly fun: XcmV1MultiassetWildFungibility;1120 } & Struct;1121 readonly type: 'All' | 'AllOf';1122 }11231124 /** @name XcmV1MultiassetWildFungibility (121) */1125 export interface XcmV1MultiassetWildFungibility extends Enum {1126 readonly isFungible: boolean;1127 readonly isNonFungible: boolean;1128 readonly type: 'Fungible' | 'NonFungible';1129 }11301131 /** @name XcmV1Response (123) */1132 export interface XcmV1Response extends Enum {1133 readonly isAssets: boolean;1134 readonly asAssets: XcmV1MultiassetMultiAssets;1135 readonly isVersion: boolean;1136 readonly asVersion: u32;1137 readonly type: 'Assets' | 'Version';1138 }11391140 /** @name XcmV2Xcm (124) */1141 export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}11421143 /** @name XcmV2Instruction (126) */1144 export interface XcmV2Instruction extends Enum {1145 readonly isWithdrawAsset: boolean;1146 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;1147 readonly isReserveAssetDeposited: boolean;1148 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;1149 readonly isReceiveTeleportedAsset: boolean;1150 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;1151 readonly isQueryResponse: boolean;1152 readonly asQueryResponse: {1153 readonly queryId: Compact<u64>;1154 readonly response: XcmV2Response;1155 readonly maxWeight: Compact<u64>;1156 } & Struct;1157 readonly isTransferAsset: boolean;1158 readonly asTransferAsset: {1159 readonly assets: XcmV1MultiassetMultiAssets;1160 readonly beneficiary: XcmV1MultiLocation;1161 } & Struct;1162 readonly isTransferReserveAsset: boolean;1163 readonly asTransferReserveAsset: {1164 readonly assets: XcmV1MultiassetMultiAssets;1165 readonly dest: XcmV1MultiLocation;1166 readonly xcm: XcmV2Xcm;1167 } & Struct;1168 readonly isTransact: boolean;1169 readonly asTransact: {1170 readonly originType: XcmV0OriginKind;1171 readonly requireWeightAtMost: Compact<u64>;1172 readonly call: XcmDoubleEncoded;1173 } & Struct;1174 readonly isHrmpNewChannelOpenRequest: boolean;1175 readonly asHrmpNewChannelOpenRequest: {1176 readonly sender: Compact<u32>;1177 readonly maxMessageSize: Compact<u32>;1178 readonly maxCapacity: Compact<u32>;1179 } & Struct;1180 readonly isHrmpChannelAccepted: boolean;1181 readonly asHrmpChannelAccepted: {1182 readonly recipient: Compact<u32>;1183 } & Struct;1184 readonly isHrmpChannelClosing: boolean;1185 readonly asHrmpChannelClosing: {1186 readonly initiator: Compact<u32>;1187 readonly sender: Compact<u32>;1188 readonly recipient: Compact<u32>;1189 } & Struct;1190 readonly isClearOrigin: boolean;1191 readonly isDescendOrigin: boolean;1192 readonly asDescendOrigin: XcmV1MultilocationJunctions;1193 readonly isReportError: boolean;1194 readonly asReportError: {1195 readonly queryId: Compact<u64>;1196 readonly dest: XcmV1MultiLocation;1197 readonly maxResponseWeight: Compact<u64>;1198 } & Struct;1199 readonly isDepositAsset: boolean;1200 readonly asDepositAsset: {1201 readonly assets: XcmV1MultiassetMultiAssetFilter;1202 readonly maxAssets: Compact<u32>;1203 readonly beneficiary: XcmV1MultiLocation;1204 } & Struct;1205 readonly isDepositReserveAsset: boolean;1206 readonly asDepositReserveAsset: {1207 readonly assets: XcmV1MultiassetMultiAssetFilter;1208 readonly maxAssets: Compact<u32>;1209 readonly dest: XcmV1MultiLocation;1210 readonly xcm: XcmV2Xcm;1211 } & Struct;1212 readonly isExchangeAsset: boolean;1213 readonly asExchangeAsset: {1214 readonly give: XcmV1MultiassetMultiAssetFilter;1215 readonly receive: XcmV1MultiassetMultiAssets;1216 } & Struct;1217 readonly isInitiateReserveWithdraw: boolean;1218 readonly asInitiateReserveWithdraw: {1219 readonly assets: XcmV1MultiassetMultiAssetFilter;1220 readonly reserve: XcmV1MultiLocation;1221 readonly xcm: XcmV2Xcm;1222 } & Struct;1223 readonly isInitiateTeleport: boolean;1224 readonly asInitiateTeleport: {1225 readonly assets: XcmV1MultiassetMultiAssetFilter;1226 readonly dest: XcmV1MultiLocation;1227 readonly xcm: XcmV2Xcm;1228 } & Struct;1229 readonly isQueryHolding: boolean;1230 readonly asQueryHolding: {1231 readonly queryId: Compact<u64>;1232 readonly dest: XcmV1MultiLocation;1233 readonly assets: XcmV1MultiassetMultiAssetFilter;1234 readonly maxResponseWeight: Compact<u64>;1235 } & Struct;1236 readonly isBuyExecution: boolean;1237 readonly asBuyExecution: {1238 readonly fees: XcmV1MultiAsset;1239 readonly weightLimit: XcmV2WeightLimit;1240 } & Struct;1241 readonly isRefundSurplus: boolean;1242 readonly isSetErrorHandler: boolean;1243 readonly asSetErrorHandler: XcmV2Xcm;1244 readonly isSetAppendix: boolean;1245 readonly asSetAppendix: XcmV2Xcm;1246 readonly isClearError: boolean;1247 readonly isClaimAsset: boolean;1248 readonly asClaimAsset: {1249 readonly assets: XcmV1MultiassetMultiAssets;1250 readonly ticket: XcmV1MultiLocation;1251 } & Struct;1252 readonly isTrap: boolean;1253 readonly asTrap: Compact<u64>;1254 readonly isSubscribeVersion: boolean;1255 readonly asSubscribeVersion: {1256 readonly queryId: Compact<u64>;1257 readonly maxResponseWeight: Compact<u64>;1258 } & Struct;1259 readonly isUnsubscribeVersion: boolean;1260 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';1261 }12621263 /** @name XcmV2Response (127) */1264 export interface XcmV2Response extends Enum {1265 readonly isNull: boolean;1266 readonly isAssets: boolean;1267 readonly asAssets: XcmV1MultiassetMultiAssets;1268 readonly isExecutionResult: boolean;1269 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;1270 readonly isVersion: boolean;1271 readonly asVersion: u32;1272 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';1273 }12741275 /** @name XcmV2TraitsError (130) */1276 export interface XcmV2TraitsError extends Enum {1277 readonly isOverflow: boolean;1278 readonly isUnimplemented: boolean;1279 readonly isUntrustedReserveLocation: boolean;1280 readonly isUntrustedTeleportLocation: boolean;1281 readonly isMultiLocationFull: boolean;1282 readonly isMultiLocationNotInvertible: boolean;1283 readonly isBadOrigin: boolean;1284 readonly isInvalidLocation: boolean;1285 readonly isAssetNotFound: boolean;1286 readonly isFailedToTransactAsset: boolean;1287 readonly isNotWithdrawable: boolean;1288 readonly isLocationCannotHold: boolean;1289 readonly isExceedsMaxMessageSize: boolean;1290 readonly isDestinationUnsupported: boolean;1291 readonly isTransport: boolean;1292 readonly isUnroutable: boolean;1293 readonly isUnknownClaim: boolean;1294 readonly isFailedToDecode: boolean;1295 readonly isMaxWeightInvalid: boolean;1296 readonly isNotHoldingFees: boolean;1297 readonly isTooExpensive: boolean;1298 readonly isTrap: boolean;1299 readonly asTrap: u64;1300 readonly isUnhandledXcmVersion: boolean;1301 readonly isWeightLimitReached: boolean;1302 readonly asWeightLimitReached: u64;1303 readonly isBarrier: boolean;1304 readonly isWeightNotComputable: boolean;1305 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';1306 }13071308 /** @name XcmV2WeightLimit (131) */1309 export interface XcmV2WeightLimit extends Enum {1310 readonly isUnlimited: boolean;1311 readonly isLimited: boolean;1312 readonly asLimited: Compact<u64>;1313 readonly type: 'Unlimited' | 'Limited';1314 }13151316 /** @name XcmVersionedMultiAssets (132) */1317 export interface XcmVersionedMultiAssets extends Enum {1318 readonly isV0: boolean;1319 readonly asV0: Vec<XcmV0MultiAsset>;1320 readonly isV1: boolean;1321 readonly asV1: XcmV1MultiassetMultiAssets;1322 readonly type: 'V0' | 'V1';1323 }13241325 /** @name CumulusPalletXcmCall (147) */1326 export type CumulusPalletXcmCall = Null;13271328 /** @name CumulusPalletDmpQueueCall (148) */1329 export interface CumulusPalletDmpQueueCall extends Enum {1330 readonly isServiceOverweight: boolean;1331 readonly asServiceOverweight: {1332 readonly index: u64;1333 readonly weightLimit: u64;1334 } & Struct;1335 readonly type: 'ServiceOverweight';1336 }13371338 /** @name PalletInflationCall (149) */1339 export interface PalletInflationCall extends Enum {1340 readonly isStartInflation: boolean;1341 readonly asStartInflation: {1342 readonly inflationStartRelayBlock: u32;1343 } & Struct;1344 readonly type: 'StartInflation';1345 }13461347 /** @name PalletUniqueCall (150) */1348 export interface PalletUniqueCall extends Enum {1349 readonly isCreateCollection: boolean;1350 readonly asCreateCollection: {1351 readonly collectionName: Vec<u16>;1352 readonly collectionDescription: Vec<u16>;1353 readonly tokenPrefix: Bytes;1354 readonly mode: UpDataStructsCollectionMode;1355 } & Struct;1356 readonly isCreateCollectionEx: boolean;1357 readonly asCreateCollectionEx: {1358 readonly data: UpDataStructsCreateCollectionData;1359 } & Struct;1360 readonly isDestroyCollection: boolean;1361 readonly asDestroyCollection: {1362 readonly collectionId: u32;1363 } & Struct;1364 readonly isAddToAllowList: boolean;1365 readonly asAddToAllowList: {1366 readonly collectionId: u32;1367 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1368 } & Struct;1369 readonly isRemoveFromAllowList: boolean;1370 readonly asRemoveFromAllowList: {1371 readonly collectionId: u32;1372 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1373 } & Struct;1374 readonly isSetPublicAccessMode: boolean;1375 readonly asSetPublicAccessMode: {1376 readonly collectionId: u32;1377 readonly mode: UpDataStructsAccessMode;1378 } & Struct;1379 readonly isSetMintPermission: boolean;1380 readonly asSetMintPermission: {1381 readonly collectionId: u32;1382 readonly mintPermission: bool;1383 } & Struct;1384 readonly isChangeCollectionOwner: boolean;1385 readonly asChangeCollectionOwner: {1386 readonly collectionId: u32;1387 readonly newOwner: AccountId32;1388 } & Struct;1389 readonly isAddCollectionAdmin: boolean;1390 readonly asAddCollectionAdmin: {1391 readonly collectionId: u32;1392 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1393 } & Struct;1394 readonly isRemoveCollectionAdmin: boolean;1395 readonly asRemoveCollectionAdmin: {1396 readonly collectionId: u32;1397 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1398 } & Struct;1399 readonly isSetCollectionSponsor: boolean;1400 readonly asSetCollectionSponsor: {1401 readonly collectionId: u32;1402 readonly newSponsor: AccountId32;1403 } & Struct;1404 readonly isConfirmSponsorship: boolean;1405 readonly asConfirmSponsorship: {1406 readonly collectionId: u32;1407 } & Struct;1408 readonly isRemoveCollectionSponsor: boolean;1409 readonly asRemoveCollectionSponsor: {1410 readonly collectionId: u32;1411 } & Struct;1412 readonly isCreateItem: boolean;1413 readonly asCreateItem: {1414 readonly collectionId: u32;1415 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1416 readonly data: UpDataStructsCreateItemData;1417 } & Struct;1418 readonly isCreateMultipleItems: boolean;1419 readonly asCreateMultipleItems: {1420 readonly collectionId: u32;1421 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1422 readonly itemsData: Vec<UpDataStructsCreateItemData>;1423 } & Struct;1424 readonly isSetCollectionProperties: boolean;1425 readonly asSetCollectionProperties: {1426 readonly collectionId: u32;1427 readonly properties: Vec<UpDataStructsProperty>;1428 } & Struct;1429 readonly isDeleteCollectionProperties: boolean;1430 readonly asDeleteCollectionProperties: {1431 readonly collectionId: u32;1432 readonly propertyKeys: Vec<Bytes>;1433 } & Struct;1434 readonly isSetTokenProperties: boolean;1435 readonly asSetTokenProperties: {1436 readonly collectionId: u32;1437 readonly tokenId: u32;1438 readonly properties: Vec<UpDataStructsProperty>;1439 } & Struct;1440 readonly isDeleteTokenProperties: boolean;1441 readonly asDeleteTokenProperties: {1442 readonly collectionId: u32;1443 readonly tokenId: u32;1444 readonly propertyKeys: Vec<Bytes>;1445 } & Struct;1446 readonly isSetPropertyPermissions: boolean;1447 readonly asSetPropertyPermissions: {1448 readonly collectionId: u32;1449 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1450 } & Struct;1451 readonly isCreateMultipleItemsEx: boolean;1452 readonly asCreateMultipleItemsEx: {1453 readonly collectionId: u32;1454 readonly data: UpDataStructsCreateItemExData;1455 } & Struct;1456 readonly isSetTransfersEnabledFlag: boolean;1457 readonly asSetTransfersEnabledFlag: {1458 readonly collectionId: u32;1459 readonly value: bool;1460 } & Struct;1461 readonly isBurnItem: boolean;1462 readonly asBurnItem: {1463 readonly collectionId: u32;1464 readonly itemId: u32;1465 readonly value: u128;1466 } & Struct;1467 readonly isBurnFrom: boolean;1468 readonly asBurnFrom: {1469 readonly collectionId: u32;1470 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1471 readonly itemId: u32;1472 readonly value: u128;1473 } & Struct;1474 readonly isTransfer: boolean;1475 readonly asTransfer: {1476 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1477 readonly collectionId: u32;1478 readonly itemId: u32;1479 readonly value: u128;1480 } & Struct;1481 readonly isApprove: boolean;1482 readonly asApprove: {1483 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1484 readonly collectionId: u32;1485 readonly itemId: u32;1486 readonly amount: u128;1487 } & Struct;1488 readonly isTransferFrom: boolean;1489 readonly asTransferFrom: {1490 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1491 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1492 readonly collectionId: u32;1493 readonly itemId: u32;1494 readonly value: u128;1495 } & Struct;1496 readonly isSetSchemaVersion: boolean;1497 readonly asSetSchemaVersion: {1498 readonly collectionId: u32;1499 readonly version: UpDataStructsSchemaVersion;1500 } & Struct;1501 readonly isSetOffchainSchema: boolean;1502 readonly asSetOffchainSchema: {1503 readonly collectionId: u32;1504 readonly schema: Bytes;1505 } & Struct;1506 readonly isSetConstOnChainSchema: boolean;1507 readonly asSetConstOnChainSchema: {1508 readonly collectionId: u32;1509 readonly schema: Bytes;1510 } & Struct;1511 readonly isSetCollectionLimits: boolean;1512 readonly asSetCollectionLimits: {1513 readonly collectionId: u32;1514 readonly newLimit: UpDataStructsCollectionLimits;1515 } & Struct;1516 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';1517 }15181519 /** @name UpDataStructsCollectionMode (156) */1520 export interface UpDataStructsCollectionMode extends Enum {1521 readonly isNft: boolean;1522 readonly isFungible: boolean;1523 readonly asFungible: u8;1524 readonly isReFungible: boolean;1525 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1526 }15271528 /** @name UpDataStructsCreateCollectionData (157) */1529 export interface UpDataStructsCreateCollectionData extends Struct {1530 readonly mode: UpDataStructsCollectionMode;1531 readonly access: Option<UpDataStructsAccessMode>;1532 readonly name: Vec<u16>;1533 readonly description: Vec<u16>;1534 readonly tokenPrefix: Bytes;1535 readonly offchainSchema: Bytes;1536 readonly schemaVersion: Option<UpDataStructsSchemaVersion>;1537 readonly pendingSponsor: Option<AccountId32>;1538 readonly limits: Option<UpDataStructsCollectionLimits>;1539 readonly constOnChainSchema: Bytes;1540 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1541 readonly properties: Vec<UpDataStructsProperty>;1542 }15431544 /** @name UpDataStructsAccessMode (159) */1545 export interface UpDataStructsAccessMode extends Enum {1546 readonly isNormal: boolean;1547 readonly isAllowList: boolean;1548 readonly type: 'Normal' | 'AllowList';1549 }15501551 /** @name UpDataStructsSchemaVersion (162) */1552 export interface UpDataStructsSchemaVersion extends Enum {1553 readonly isImageURL: boolean;1554 readonly isUnique: boolean;1555 readonly type: 'ImageURL' | 'Unique';1556 }15571558 /** @name UpDataStructsCollectionLimits (165) */1559 export interface UpDataStructsCollectionLimits extends Struct {1560 readonly accountTokenOwnershipLimit: Option<u32>;1561 readonly sponsoredDataSize: Option<u32>;1562 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1563 readonly tokenLimit: Option<u32>;1564 readonly sponsorTransferTimeout: Option<u32>;1565 readonly sponsorApproveTimeout: Option<u32>;1566 readonly ownerCanTransfer: Option<bool>;1567 readonly ownerCanDestroy: Option<bool>;1568 readonly transfersEnabled: Option<bool>;1569 readonly nestingRule: Option<UpDataStructsNestingRule>;1570 }15711572 /** @name UpDataStructsSponsoringRateLimit (167) */1573 export interface UpDataStructsSponsoringRateLimit extends Enum {1574 readonly isSponsoringDisabled: boolean;1575 readonly isBlocks: boolean;1576 readonly asBlocks: u32;1577 readonly type: 'SponsoringDisabled' | 'Blocks';1578 }15791580 /** @name UpDataStructsNestingRule (170) */1581 export interface UpDataStructsNestingRule extends Enum {1582 readonly isDisabled: boolean;1583 readonly isOwner: boolean;1584 readonly isOwnerRestricted: boolean;1585 readonly asOwnerRestricted: BTreeSet<u32>;1586 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1587 }15881589 /** @name UpDataStructsPropertyKeyPermission (177) */1590 export interface UpDataStructsPropertyKeyPermission extends Struct {1591 readonly key: Bytes;1592 readonly permission: UpDataStructsPropertyPermission;1593 }15941595 /** @name UpDataStructsPropertyPermission (179) */1596 export interface UpDataStructsPropertyPermission extends Struct {1597 readonly mutable: bool;1598 readonly collectionAdmin: bool;1599 readonly tokenOwner: bool;1600 }16011602 /** @name UpDataStructsProperty (182) */1603 export interface UpDataStructsProperty extends Struct {1604 readonly key: Bytes;1605 readonly value: Bytes;1606 }16071608 /** @name PalletEvmAccountBasicCrossAccountIdRepr (184) */1609 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1610 readonly isSubstrate: boolean;1611 readonly asSubstrate: AccountId32;1612 readonly isEthereum: boolean;1613 readonly asEthereum: H160;1614 readonly type: 'Substrate' | 'Ethereum';1615 }16161617 /** @name UpDataStructsCreateItemData (186) */1618 export interface UpDataStructsCreateItemData extends Enum {1619 readonly isNft: boolean;1620 readonly asNft: UpDataStructsCreateNftData;1621 readonly isFungible: boolean;1622 readonly asFungible: UpDataStructsCreateFungibleData;1623 readonly isReFungible: boolean;1624 readonly asReFungible: UpDataStructsCreateReFungibleData;1625 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1626 }16271628 /** @name UpDataStructsCreateNftData (187) */1629 export interface UpDataStructsCreateNftData extends Struct {1630 readonly constData: Bytes;1631 readonly properties: Vec<UpDataStructsProperty>;1632 }16331634 /** @name UpDataStructsCreateFungibleData (189) */1635 export interface UpDataStructsCreateFungibleData extends Struct {1636 readonly value: u128;1637 }16381639 /** @name UpDataStructsCreateReFungibleData (190) */1640 export interface UpDataStructsCreateReFungibleData extends Struct {1641 readonly constData: Bytes;1642 readonly pieces: u128;1643 }16441645 /** @name UpDataStructsCreateItemExData (194) */1646 export interface UpDataStructsCreateItemExData extends Enum {1647 readonly isNft: boolean;1648 readonly asNft: Vec<UpDataStructsCreateNftExData>;1649 readonly isFungible: boolean;1650 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1651 readonly isRefungibleMultipleItems: boolean;1652 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1653 readonly isRefungibleMultipleOwners: boolean;1654 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1655 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1656 }16571658 /** @name UpDataStructsCreateNftExData (196) */1659 export interface UpDataStructsCreateNftExData extends Struct {1660 readonly constData: Bytes;1661 readonly properties: Vec<UpDataStructsProperty>;1662 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1663 }16641665 /** @name UpDataStructsCreateRefungibleExData (203) */1666 export interface UpDataStructsCreateRefungibleExData extends Struct {1667 readonly constData: Bytes;1668 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1669 }16701671 /** @name PalletTemplateTransactionPaymentCall (205) */1672 export type PalletTemplateTransactionPaymentCall = Null;16731674 /** @name PalletStructureCall (206) */1675 export type PalletStructureCall = Null;16761677 /** @name PalletRmrkCoreCall (207) */1678 export interface PalletRmrkCoreCall extends Enum {1679 readonly isCreateCollection: boolean;1680 readonly asCreateCollection: {1681 readonly metadata: Bytes;1682 readonly max: Option<u32>;1683 readonly symbol: Bytes;1684 } & Struct;1685 readonly isDestroyCollection: boolean;1686 readonly asDestroyCollection: {1687 readonly collectionId: u32;1688 } & Struct;1689 readonly isChangeCollectionIssuer: boolean;1690 readonly asChangeCollectionIssuer: {1691 readonly collectionId: u32;1692 readonly newIssuer: MultiAddress;1693 } & Struct;1694 readonly isLockCollection: boolean;1695 readonly asLockCollection: {1696 readonly collectionId: u32;1697 } & Struct;1698 readonly isMintNft: boolean;1699 readonly asMintNft: {1700 readonly owner: AccountId32;1701 readonly collectionId: u32;1702 readonly recipient: Option<AccountId32>;1703 readonly royaltyAmount: Option<Permill>;1704 readonly metadata: Bytes;1705 } & Struct;1706 readonly isBurnNft: boolean;1707 readonly asBurnNft: {1708 readonly collectionId: u32;1709 readonly nftId: u32;1710 } & Struct;1711 readonly isSetProperty: boolean;1712 readonly asSetProperty: {1713 readonly rmrkCollectionId: Compact<u32>;1714 readonly maybeNftId: Option<u32>;1715 readonly key: Bytes;1716 readonly value: Bytes;1717 } & Struct;1718 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty';1719 }17201721 /** @name PalletRmrkEquipCall (213) */1722 export interface PalletRmrkEquipCall extends Enum {1723 readonly isCreateBase: boolean;1724 readonly asCreateBase: {1725 readonly baseType: Bytes;1726 readonly symbol: Bytes;1727 readonly parts: Vec<UpDataStructsRmrkPartType>;1728 } & Struct;1729 readonly isThemeAdd: boolean;1730 readonly asThemeAdd: {1731 readonly baseId: u32;1732 readonly theme: UpDataStructsRmrkTheme;1733 } & Struct;1734 readonly type: 'CreateBase' | 'ThemeAdd';1735 }17361737 /** @name UpDataStructsRmrkPartType (215) */1738 export interface UpDataStructsRmrkPartType extends Enum {1739 readonly isFixedPart: boolean;1740 readonly asFixedPart: UpDataStructsRmrkFixedPart;1741 readonly isSlotPart: boolean;1742 readonly asSlotPart: UpDataStructsRmrkSlotPart;1743 readonly type: 'FixedPart' | 'SlotPart';1744 }17451746 /** @name UpDataStructsRmrkFixedPart (217) */1747 export interface UpDataStructsRmrkFixedPart extends Struct {1748 readonly id: u32;1749 readonly z: u32;1750 readonly src: Bytes;1751 }17521753 /** @name UpDataStructsRmrkSlotPart (218) */1754 export interface UpDataStructsRmrkSlotPart extends Struct {1755 readonly id: u32;1756 readonly equippable: UpDataStructsRmrkEquippableList;1757 readonly src: Bytes;1758 readonly z: u32;1759 }17601761 /** @name UpDataStructsRmrkEquippableList (219) */1762 export interface UpDataStructsRmrkEquippableList extends Enum {1763 readonly isAll: boolean;1764 readonly isEmpty: boolean;1765 readonly isCustom: boolean;1766 readonly asCustom: Vec<u32>;1767 readonly type: 'All' | 'Empty' | 'Custom';1768 }17691770 /** @name UpDataStructsRmrkTheme (221) */1771 export interface UpDataStructsRmrkTheme extends Struct {1772 readonly name: Bytes;1773 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;1774 readonly inherit: bool;1775 }17761777 /** @name UpDataStructsRmrkThemeProperty (223) */1778 export interface UpDataStructsRmrkThemeProperty extends Struct {1779 readonly key: Bytes;1780 readonly value: Bytes;1781 }17821783 /** @name PalletEvmCall (224) */1784 export interface PalletEvmCall extends Enum {1785 readonly isWithdraw: boolean;1786 readonly asWithdraw: {1787 readonly address: H160;1788 readonly value: u128;1789 } & Struct;1790 readonly isCall: boolean;1791 readonly asCall: {1792 readonly source: H160;1793 readonly target: H160;1794 readonly input: Bytes;1795 readonly value: U256;1796 readonly gasLimit: u64;1797 readonly maxFeePerGas: U256;1798 readonly maxPriorityFeePerGas: Option<U256>;1799 readonly nonce: Option<U256>;1800 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1801 } & Struct;1802 readonly isCreate: boolean;1803 readonly asCreate: {1804 readonly source: H160;1805 readonly init: Bytes;1806 readonly value: U256;1807 readonly gasLimit: u64;1808 readonly maxFeePerGas: U256;1809 readonly maxPriorityFeePerGas: Option<U256>;1810 readonly nonce: Option<U256>;1811 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1812 } & Struct;1813 readonly isCreate2: boolean;1814 readonly asCreate2: {1815 readonly source: H160;1816 readonly init: Bytes;1817 readonly salt: H256;1818 readonly value: U256;1819 readonly gasLimit: u64;1820 readonly maxFeePerGas: U256;1821 readonly maxPriorityFeePerGas: Option<U256>;1822 readonly nonce: Option<U256>;1823 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1824 } & Struct;1825 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1826 }18271828 /** @name PalletEthereumCall (230) */1829 export interface PalletEthereumCall extends Enum {1830 readonly isTransact: boolean;1831 readonly asTransact: {1832 readonly transaction: EthereumTransactionTransactionV2;1833 } & Struct;1834 readonly type: 'Transact';1835 }18361837 /** @name EthereumTransactionTransactionV2 (231) */1838 export interface EthereumTransactionTransactionV2 extends Enum {1839 readonly isLegacy: boolean;1840 readonly asLegacy: EthereumTransactionLegacyTransaction;1841 readonly isEip2930: boolean;1842 readonly asEip2930: EthereumTransactionEip2930Transaction;1843 readonly isEip1559: boolean;1844 readonly asEip1559: EthereumTransactionEip1559Transaction;1845 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1846 }18471848 /** @name EthereumTransactionLegacyTransaction (232) */1849 export interface EthereumTransactionLegacyTransaction extends Struct {1850 readonly nonce: U256;1851 readonly gasPrice: U256;1852 readonly gasLimit: U256;1853 readonly action: EthereumTransactionTransactionAction;1854 readonly value: U256;1855 readonly input: Bytes;1856 readonly signature: EthereumTransactionTransactionSignature;1857 }18581859 /** @name EthereumTransactionTransactionAction (233) */1860 export interface EthereumTransactionTransactionAction extends Enum {1861 readonly isCall: boolean;1862 readonly asCall: H160;1863 readonly isCreate: boolean;1864 readonly type: 'Call' | 'Create';1865 }18661867 /** @name EthereumTransactionTransactionSignature (234) */1868 export interface EthereumTransactionTransactionSignature extends Struct {1869 readonly v: u64;1870 readonly r: H256;1871 readonly s: H256;1872 }18731874 /** @name EthereumTransactionEip2930Transaction (236) */1875 export interface EthereumTransactionEip2930Transaction extends Struct {1876 readonly chainId: u64;1877 readonly nonce: U256;1878 readonly gasPrice: U256;1879 readonly gasLimit: U256;1880 readonly action: EthereumTransactionTransactionAction;1881 readonly value: U256;1882 readonly input: Bytes;1883 readonly accessList: Vec<EthereumTransactionAccessListItem>;1884 readonly oddYParity: bool;1885 readonly r: H256;1886 readonly s: H256;1887 }18881889 /** @name EthereumTransactionAccessListItem (238) */1890 export interface EthereumTransactionAccessListItem extends Struct {1891 readonly address: H160;1892 readonly storageKeys: Vec<H256>;1893 }18941895 /** @name EthereumTransactionEip1559Transaction (239) */1896 export interface EthereumTransactionEip1559Transaction extends Struct {1897 readonly chainId: u64;1898 readonly nonce: U256;1899 readonly maxPriorityFeePerGas: U256;1900 readonly maxFeePerGas: U256;1901 readonly gasLimit: U256;1902 readonly action: EthereumTransactionTransactionAction;1903 readonly value: U256;1904 readonly input: Bytes;1905 readonly accessList: Vec<EthereumTransactionAccessListItem>;1906 readonly oddYParity: bool;1907 readonly r: H256;1908 readonly s: H256;1909 }19101911 /** @name PalletEvmMigrationCall (240) */1912 export interface PalletEvmMigrationCall extends Enum {1913 readonly isBegin: boolean;1914 readonly asBegin: {1915 readonly address: H160;1916 } & Struct;1917 readonly isSetData: boolean;1918 readonly asSetData: {1919 readonly address: H160;1920 readonly data: Vec<ITuple<[H256, H256]>>;1921 } & Struct;1922 readonly isFinish: boolean;1923 readonly asFinish: {1924 readonly address: H160;1925 readonly code: Bytes;1926 } & Struct;1927 readonly type: 'Begin' | 'SetData' | 'Finish';1928 }19291930 /** @name PalletSudoEvent (243) */1931 export interface PalletSudoEvent extends Enum {1932 readonly isSudid: boolean;1933 readonly asSudid: {1934 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1935 } & Struct;1936 readonly isKeyChanged: boolean;1937 readonly asKeyChanged: {1938 readonly oldSudoer: Option<AccountId32>;1939 } & Struct;1940 readonly isSudoAsDone: boolean;1941 readonly asSudoAsDone: {1942 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1943 } & Struct;1944 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1945 }19461947 /** @name SpRuntimeDispatchError (245) */1948 export interface SpRuntimeDispatchError extends Enum {1949 readonly isOther: boolean;1950 readonly isCannotLookup: boolean;1951 readonly isBadOrigin: boolean;1952 readonly isModule: boolean;1953 readonly asModule: SpRuntimeModuleError;1954 readonly isConsumerRemaining: boolean;1955 readonly isNoProviders: boolean;1956 readonly isTooManyConsumers: boolean;1957 readonly isToken: boolean;1958 readonly asToken: SpRuntimeTokenError;1959 readonly isArithmetic: boolean;1960 readonly asArithmetic: SpRuntimeArithmeticError;1961 readonly isTransactional: boolean;1962 readonly asTransactional: SpRuntimeTransactionalError;1963 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1964 }19651966 /** @name SpRuntimeModuleError (246) */1967 export interface SpRuntimeModuleError extends Struct {1968 readonly index: u8;1969 readonly error: U8aFixed;1970 }19711972 /** @name SpRuntimeTokenError (247) */1973 export interface SpRuntimeTokenError extends Enum {1974 readonly isNoFunds: boolean;1975 readonly isWouldDie: boolean;1976 readonly isBelowMinimum: boolean;1977 readonly isCannotCreate: boolean;1978 readonly isUnknownAsset: boolean;1979 readonly isFrozen: boolean;1980 readonly isUnsupported: boolean;1981 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1982 }19831984 /** @name SpRuntimeArithmeticError (248) */1985 export interface SpRuntimeArithmeticError extends Enum {1986 readonly isUnderflow: boolean;1987 readonly isOverflow: boolean;1988 readonly isDivisionByZero: boolean;1989 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1990 }19911992 /** @name SpRuntimeTransactionalError (249) */1993 export interface SpRuntimeTransactionalError extends Enum {1994 readonly isLimitReached: boolean;1995 readonly isNoLayer: boolean;1996 readonly type: 'LimitReached' | 'NoLayer';1997 }19981999 /** @name PalletSudoError (250) */2000 export interface PalletSudoError extends Enum {2001 readonly isRequireSudo: boolean;2002 readonly type: 'RequireSudo';2003 }20042005 /** @name FrameSystemAccountInfo (251) */2006 export interface FrameSystemAccountInfo extends Struct {2007 readonly nonce: u32;2008 readonly consumers: u32;2009 readonly providers: u32;2010 readonly sufficients: u32;2011 readonly data: PalletBalancesAccountData;2012 }20132014 /** @name FrameSupportWeightsPerDispatchClassU64 (252) */2015 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2016 readonly normal: u64;2017 readonly operational: u64;2018 readonly mandatory: u64;2019 }20202021 /** @name SpRuntimeDigest (253) */2022 export interface SpRuntimeDigest extends Struct {2023 readonly logs: Vec<SpRuntimeDigestDigestItem>;2024 }20252026 /** @name SpRuntimeDigestDigestItem (255) */2027 export interface SpRuntimeDigestDigestItem extends Enum {2028 readonly isOther: boolean;2029 readonly asOther: Bytes;2030 readonly isConsensus: boolean;2031 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2032 readonly isSeal: boolean;2033 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2034 readonly isPreRuntime: boolean;2035 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2036 readonly isRuntimeEnvironmentUpdated: boolean;2037 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2038 }20392040 /** @name FrameSystemEventRecord (257) */2041 export interface FrameSystemEventRecord extends Struct {2042 readonly phase: FrameSystemPhase;2043 readonly event: Event;2044 readonly topics: Vec<H256>;2045 }20462047 /** @name FrameSystemEvent (259) */2048 export interface FrameSystemEvent extends Enum {2049 readonly isExtrinsicSuccess: boolean;2050 readonly asExtrinsicSuccess: {2051 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2052 } & Struct;2053 readonly isExtrinsicFailed: boolean;2054 readonly asExtrinsicFailed: {2055 readonly dispatchError: SpRuntimeDispatchError;2056 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;2057 } & Struct;2058 readonly isCodeUpdated: boolean;2059 readonly isNewAccount: boolean;2060 readonly asNewAccount: {2061 readonly account: AccountId32;2062 } & Struct;2063 readonly isKilledAccount: boolean;2064 readonly asKilledAccount: {2065 readonly account: AccountId32;2066 } & Struct;2067 readonly isRemarked: boolean;2068 readonly asRemarked: {2069 readonly sender: AccountId32;2070 readonly hash_: H256;2071 } & Struct;2072 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2073 }20742075 /** @name FrameSupportWeightsDispatchInfo (260) */2076 export interface FrameSupportWeightsDispatchInfo extends Struct {2077 readonly weight: u64;2078 readonly class: FrameSupportWeightsDispatchClass;2079 readonly paysFee: FrameSupportWeightsPays;2080 }20812082 /** @name FrameSupportWeightsDispatchClass (261) */2083 export interface FrameSupportWeightsDispatchClass extends Enum {2084 readonly isNormal: boolean;2085 readonly isOperational: boolean;2086 readonly isMandatory: boolean;2087 readonly type: 'Normal' | 'Operational' | 'Mandatory';2088 }20892090 /** @name FrameSupportWeightsPays (262) */2091 export interface FrameSupportWeightsPays extends Enum {2092 readonly isYes: boolean;2093 readonly isNo: boolean;2094 readonly type: 'Yes' | 'No';2095 }20962097 /** @name OrmlVestingModuleEvent (263) */2098 export interface OrmlVestingModuleEvent extends Enum {2099 readonly isVestingScheduleAdded: boolean;2100 readonly asVestingScheduleAdded: {2101 readonly from: AccountId32;2102 readonly to: AccountId32;2103 readonly vestingSchedule: OrmlVestingVestingSchedule;2104 } & Struct;2105 readonly isClaimed: boolean;2106 readonly asClaimed: {2107 readonly who: AccountId32;2108 readonly amount: u128;2109 } & Struct;2110 readonly isVestingSchedulesUpdated: boolean;2111 readonly asVestingSchedulesUpdated: {2112 readonly who: AccountId32;2113 } & Struct;2114 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2115 }21162117 /** @name CumulusPalletXcmpQueueEvent (264) */2118 export interface CumulusPalletXcmpQueueEvent extends Enum {2119 readonly isSuccess: boolean;2120 readonly asSuccess: Option<H256>;2121 readonly isFail: boolean;2122 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;2123 readonly isBadVersion: boolean;2124 readonly asBadVersion: Option<H256>;2125 readonly isBadFormat: boolean;2126 readonly asBadFormat: Option<H256>;2127 readonly isUpwardMessageSent: boolean;2128 readonly asUpwardMessageSent: Option<H256>;2129 readonly isXcmpMessageSent: boolean;2130 readonly asXcmpMessageSent: Option<H256>;2131 readonly isOverweightEnqueued: boolean;2132 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;2133 readonly isOverweightServiced: boolean;2134 readonly asOverweightServiced: ITuple<[u64, u64]>;2135 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2136 }21372138 /** @name PalletXcmEvent (265) */2139 export interface PalletXcmEvent extends Enum {2140 readonly isAttempted: boolean;2141 readonly asAttempted: XcmV2TraitsOutcome;2142 readonly isSent: boolean;2143 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2144 readonly isUnexpectedResponse: boolean;2145 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2146 readonly isResponseReady: boolean;2147 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2148 readonly isNotified: boolean;2149 readonly asNotified: ITuple<[u64, u8, u8]>;2150 readonly isNotifyOverweight: boolean;2151 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2152 readonly isNotifyDispatchError: boolean;2153 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2154 readonly isNotifyDecodeFailed: boolean;2155 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2156 readonly isInvalidResponder: boolean;2157 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2158 readonly isInvalidResponderVersion: boolean;2159 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2160 readonly isResponseTaken: boolean;2161 readonly asResponseTaken: u64;2162 readonly isAssetsTrapped: boolean;2163 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2164 readonly isVersionChangeNotified: boolean;2165 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2166 readonly isSupportedVersionChanged: boolean;2167 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2168 readonly isNotifyTargetSendFail: boolean;2169 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2170 readonly isNotifyTargetMigrationFail: boolean;2171 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2172 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2173 }21742175 /** @name XcmV2TraitsOutcome (266) */2176 export interface XcmV2TraitsOutcome extends Enum {2177 readonly isComplete: boolean;2178 readonly asComplete: u64;2179 readonly isIncomplete: boolean;2180 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2181 readonly isError: boolean;2182 readonly asError: XcmV2TraitsError;2183 readonly type: 'Complete' | 'Incomplete' | 'Error';2184 }21852186 /** @name CumulusPalletXcmEvent (268) */2187 export interface CumulusPalletXcmEvent extends Enum {2188 readonly isInvalidFormat: boolean;2189 readonly asInvalidFormat: U8aFixed;2190 readonly isUnsupportedVersion: boolean;2191 readonly asUnsupportedVersion: U8aFixed;2192 readonly isExecutedDownward: boolean;2193 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2194 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2195 }21962197 /** @name CumulusPalletDmpQueueEvent (269) */2198 export interface CumulusPalletDmpQueueEvent extends Enum {2199 readonly isInvalidFormat: boolean;2200 readonly asInvalidFormat: U8aFixed;2201 readonly isUnsupportedVersion: boolean;2202 readonly asUnsupportedVersion: U8aFixed;2203 readonly isExecutedDownward: boolean;2204 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;2205 readonly isWeightExhausted: boolean;2206 readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;2207 readonly isOverweightEnqueued: boolean;2208 readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;2209 readonly isOverweightServiced: boolean;2210 readonly asOverweightServiced: ITuple<[u64, u64]>;2211 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2212 }22132214 /** @name PalletUniqueRawEvent (270) */2215 export interface PalletUniqueRawEvent extends Enum {2216 readonly isCollectionSponsorRemoved: boolean;2217 readonly asCollectionSponsorRemoved: u32;2218 readonly isCollectionAdminAdded: boolean;2219 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2220 readonly isCollectionOwnedChanged: boolean;2221 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;2222 readonly isCollectionSponsorSet: boolean;2223 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;2224 readonly isConstOnChainSchemaSet: boolean;2225 readonly asConstOnChainSchemaSet: u32;2226 readonly isSponsorshipConfirmed: boolean;2227 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;2228 readonly isCollectionAdminRemoved: boolean;2229 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2230 readonly isAllowListAddressRemoved: boolean;2231 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2232 readonly isAllowListAddressAdded: boolean;2233 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;2234 readonly isCollectionLimitSet: boolean;2235 readonly asCollectionLimitSet: u32;2236 readonly isMintPermissionSet: boolean;2237 readonly asMintPermissionSet: u32;2238 readonly isOffchainSchemaSet: boolean;2239 readonly asOffchainSchemaSet: u32;2240 readonly isPublicAccessModeSet: boolean;2241 readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;2242 readonly isSchemaVersionSet: boolean;2243 readonly asSchemaVersionSet: u32;2244 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet';2245 }22462247 /** @name PalletCommonEvent (271) */2248 export interface PalletCommonEvent extends Enum {2249 readonly isCollectionCreated: boolean;2250 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2251 readonly isCollectionDestroyed: boolean;2252 readonly asCollectionDestroyed: u32;2253 readonly isItemCreated: boolean;2254 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2255 readonly isItemDestroyed: boolean;2256 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2257 readonly isTransfer: boolean;2258 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2259 readonly isApproved: boolean;2260 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;2261 readonly isCollectionPropertySet: boolean;2262 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;2263 readonly isCollectionPropertyDeleted: boolean;2264 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;2265 readonly isTokenPropertySet: boolean;2266 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;2267 readonly isTokenPropertyDeleted: boolean;2268 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;2269 readonly isPropertyPermissionSet: boolean;2270 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;2271 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2272 }22732274 /** @name PalletStructureEvent (272) */2275 export interface PalletStructureEvent extends Enum {2276 readonly isExecuted: boolean;2277 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2278 readonly type: 'Executed';2279 }22802281 /** @name PalletRmrkCoreEvent (273) */2282 export interface PalletRmrkCoreEvent extends Enum {2283 readonly isCollectionCreated: boolean;2284 readonly asCollectionCreated: {2285 readonly issuer: AccountId32;2286 readonly collectionId: u32;2287 } & Struct;2288 readonly isCollectionDestroyed: boolean;2289 readonly asCollectionDestroyed: {2290 readonly issuer: AccountId32;2291 readonly collectionId: u32;2292 } & Struct;2293 readonly isIssuerChanged: boolean;2294 readonly asIssuerChanged: {2295 readonly oldIssuer: AccountId32;2296 readonly newIssuer: AccountId32;2297 readonly collectionId: u32;2298 } & Struct;2299 readonly isCollectionLocked: boolean;2300 readonly asCollectionLocked: {2301 readonly issuer: AccountId32;2302 readonly collectionId: u32;2303 } & Struct;2304 readonly isNftMinted: boolean;2305 readonly asNftMinted: {2306 readonly owner: AccountId32;2307 readonly collectionId: u32;2308 readonly nftId: u32;2309 } & Struct;2310 readonly isNftBurned: boolean;2311 readonly asNftBurned: {2312 readonly owner: AccountId32;2313 readonly nftId: u32;2314 } & Struct;2315 readonly isPropertySet: boolean;2316 readonly asPropertySet: {2317 readonly collectionId: u32;2318 readonly maybeNftId: Option<u32>;2319 readonly key: Bytes;2320 readonly value: Bytes;2321 } & Struct;2322 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet';2323 }23242325 /** @name PalletRmrkEquipEvent (274) */2326 export interface PalletRmrkEquipEvent extends Enum {2327 readonly isBaseCreated: boolean;2328 readonly asBaseCreated: {2329 readonly issuer: AccountId32;2330 readonly baseId: u32;2331 } & Struct;2332 readonly type: 'BaseCreated';2333 }23342335 /** @name PalletEvmEvent (275) */2336 export interface PalletEvmEvent extends Enum {2337 readonly isLog: boolean;2338 readonly asLog: EthereumLog;2339 readonly isCreated: boolean;2340 readonly asCreated: H160;2341 readonly isCreatedFailed: boolean;2342 readonly asCreatedFailed: H160;2343 readonly isExecuted: boolean;2344 readonly asExecuted: H160;2345 readonly isExecutedFailed: boolean;2346 readonly asExecutedFailed: H160;2347 readonly isBalanceDeposit: boolean;2348 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;2349 readonly isBalanceWithdraw: boolean;2350 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;2351 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2352 }23532354 /** @name EthereumLog (276) */2355 export interface EthereumLog extends Struct {2356 readonly address: H160;2357 readonly topics: Vec<H256>;2358 readonly data: Bytes;2359 }23602361 /** @name PalletEthereumEvent (277) */2362 export interface PalletEthereumEvent extends Enum {2363 readonly isExecuted: boolean;2364 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2365 readonly type: 'Executed';2366 }23672368 /** @name EvmCoreErrorExitReason (278) */2369 export interface EvmCoreErrorExitReason extends Enum {2370 readonly isSucceed: boolean;2371 readonly asSucceed: EvmCoreErrorExitSucceed;2372 readonly isError: boolean;2373 readonly asError: EvmCoreErrorExitError;2374 readonly isRevert: boolean;2375 readonly asRevert: EvmCoreErrorExitRevert;2376 readonly isFatal: boolean;2377 readonly asFatal: EvmCoreErrorExitFatal;2378 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2379 }23802381 /** @name EvmCoreErrorExitSucceed (279) */2382 export interface EvmCoreErrorExitSucceed extends Enum {2383 readonly isStopped: boolean;2384 readonly isReturned: boolean;2385 readonly isSuicided: boolean;2386 readonly type: 'Stopped' | 'Returned' | 'Suicided';2387 }23882389 /** @name EvmCoreErrorExitError (280) */2390 export interface EvmCoreErrorExitError extends Enum {2391 readonly isStackUnderflow: boolean;2392 readonly isStackOverflow: boolean;2393 readonly isInvalidJump: boolean;2394 readonly isInvalidRange: boolean;2395 readonly isDesignatedInvalid: boolean;2396 readonly isCallTooDeep: boolean;2397 readonly isCreateCollision: boolean;2398 readonly isCreateContractLimit: boolean;2399 readonly isOutOfOffset: boolean;2400 readonly isOutOfGas: boolean;2401 readonly isOutOfFund: boolean;2402 readonly isPcUnderflow: boolean;2403 readonly isCreateEmpty: boolean;2404 readonly isOther: boolean;2405 readonly asOther: Text;2406 readonly isInvalidCode: boolean;2407 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2408 }24092410 /** @name EvmCoreErrorExitRevert (283) */2411 export interface EvmCoreErrorExitRevert extends Enum {2412 readonly isReverted: boolean;2413 readonly type: 'Reverted';2414 }24152416 /** @name EvmCoreErrorExitFatal (284) */2417 export interface EvmCoreErrorExitFatal extends Enum {2418 readonly isNotSupported: boolean;2419 readonly isUnhandledInterrupt: boolean;2420 readonly isCallErrorAsFatal: boolean;2421 readonly asCallErrorAsFatal: EvmCoreErrorExitError;2422 readonly isOther: boolean;2423 readonly asOther: Text;2424 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2425 }24262427 /** @name FrameSystemPhase (285) */2428 export interface FrameSystemPhase extends Enum {2429 readonly isApplyExtrinsic: boolean;2430 readonly asApplyExtrinsic: u32;2431 readonly isFinalization: boolean;2432 readonly isInitialization: boolean;2433 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2434 }24352436 /** @name FrameSystemLastRuntimeUpgradeInfo (287) */2437 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2438 readonly specVersion: Compact<u32>;2439 readonly specName: Text;2440 }24412442 /** @name FrameSystemLimitsBlockWeights (288) */2443 export interface FrameSystemLimitsBlockWeights extends Struct {2444 readonly baseBlock: u64;2445 readonly maxBlock: u64;2446 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2447 }24482449 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (289) */2450 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2451 readonly normal: FrameSystemLimitsWeightsPerClass;2452 readonly operational: FrameSystemLimitsWeightsPerClass;2453 readonly mandatory: FrameSystemLimitsWeightsPerClass;2454 }24552456 /** @name FrameSystemLimitsWeightsPerClass (290) */2457 export interface FrameSystemLimitsWeightsPerClass extends Struct {2458 readonly baseExtrinsic: u64;2459 readonly maxExtrinsic: Option<u64>;2460 readonly maxTotal: Option<u64>;2461 readonly reserved: Option<u64>;2462 }24632464 /** @name FrameSystemLimitsBlockLength (292) */2465 export interface FrameSystemLimitsBlockLength extends Struct {2466 readonly max: FrameSupportWeightsPerDispatchClassU32;2467 }24682469 /** @name FrameSupportWeightsPerDispatchClassU32 (293) */2470 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2471 readonly normal: u32;2472 readonly operational: u32;2473 readonly mandatory: u32;2474 }24752476 /** @name FrameSupportWeightsRuntimeDbWeight (294) */2477 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2478 readonly read: u64;2479 readonly write: u64;2480 }24812482 /** @name SpVersionRuntimeVersion (295) */2483 export interface SpVersionRuntimeVersion extends Struct {2484 readonly specName: Text;2485 readonly implName: Text;2486 readonly authoringVersion: u32;2487 readonly specVersion: u32;2488 readonly implVersion: u32;2489 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2490 readonly transactionVersion: u32;2491 readonly stateVersion: u8;2492 }24932494 /** @name FrameSystemError (299) */2495 export interface FrameSystemError extends Enum {2496 readonly isInvalidSpecName: boolean;2497 readonly isSpecVersionNeedsToIncrease: boolean;2498 readonly isFailedToExtractRuntimeVersion: boolean;2499 readonly isNonDefaultComposite: boolean;2500 readonly isNonZeroRefCount: boolean;2501 readonly isCallFiltered: boolean;2502 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2503 }25042505 /** @name OrmlVestingModuleError (301) */2506 export interface OrmlVestingModuleError extends Enum {2507 readonly isZeroVestingPeriod: boolean;2508 readonly isZeroVestingPeriodCount: boolean;2509 readonly isInsufficientBalanceToLock: boolean;2510 readonly isTooManyVestingSchedules: boolean;2511 readonly isAmountLow: boolean;2512 readonly isMaxVestingSchedulesExceeded: boolean;2513 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2514 }25152516 /** @name CumulusPalletXcmpQueueInboundChannelDetails (303) */2517 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2518 readonly sender: u32;2519 readonly state: CumulusPalletXcmpQueueInboundState;2520 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2521 }25222523 /** @name CumulusPalletXcmpQueueInboundState (304) */2524 export interface CumulusPalletXcmpQueueInboundState extends Enum {2525 readonly isOk: boolean;2526 readonly isSuspended: boolean;2527 readonly type: 'Ok' | 'Suspended';2528 }25292530 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (307) */2531 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2532 readonly isConcatenatedVersionedXcm: boolean;2533 readonly isConcatenatedEncodedBlob: boolean;2534 readonly isSignals: boolean;2535 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2536 }25372538 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (310) */2539 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2540 readonly recipient: u32;2541 readonly state: CumulusPalletXcmpQueueOutboundState;2542 readonly signalsExist: bool;2543 readonly firstIndex: u16;2544 readonly lastIndex: u16;2545 }25462547 /** @name CumulusPalletXcmpQueueOutboundState (311) */2548 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2549 readonly isOk: boolean;2550 readonly isSuspended: boolean;2551 readonly type: 'Ok' | 'Suspended';2552 }25532554 /** @name CumulusPalletXcmpQueueQueueConfigData (313) */2555 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2556 readonly suspendThreshold: u32;2557 readonly dropThreshold: u32;2558 readonly resumeThreshold: u32;2559 readonly thresholdWeight: u64;2560 readonly weightRestrictDecay: u64;2561 readonly xcmpMaxIndividualWeight: u64;2562 }25632564 /** @name CumulusPalletXcmpQueueError (315) */2565 export interface CumulusPalletXcmpQueueError extends Enum {2566 readonly isFailedToSend: boolean;2567 readonly isBadXcmOrigin: boolean;2568 readonly isBadXcm: boolean;2569 readonly isBadOverweightIndex: boolean;2570 readonly isWeightOverLimit: boolean;2571 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2572 }25732574 /** @name PalletXcmError (316) */2575 export interface PalletXcmError extends Enum {2576 readonly isUnreachable: boolean;2577 readonly isSendFailure: boolean;2578 readonly isFiltered: boolean;2579 readonly isUnweighableMessage: boolean;2580 readonly isDestinationNotInvertible: boolean;2581 readonly isEmpty: boolean;2582 readonly isCannotReanchor: boolean;2583 readonly isTooManyAssets: boolean;2584 readonly isInvalidOrigin: boolean;2585 readonly isBadVersion: boolean;2586 readonly isBadLocation: boolean;2587 readonly isNoSubscription: boolean;2588 readonly isAlreadySubscribed: boolean;2589 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2590 }25912592 /** @name CumulusPalletXcmError (317) */2593 export type CumulusPalletXcmError = Null;25942595 /** @name CumulusPalletDmpQueueConfigData (318) */2596 export interface CumulusPalletDmpQueueConfigData extends Struct {2597 readonly maxIndividual: u64;2598 }25992600 /** @name CumulusPalletDmpQueuePageIndexData (319) */2601 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2602 readonly beginUsed: u32;2603 readonly endUsed: u32;2604 readonly overweightCount: u64;2605 }26062607 /** @name CumulusPalletDmpQueueError (322) */2608 export interface CumulusPalletDmpQueueError extends Enum {2609 readonly isUnknown: boolean;2610 readonly isOverLimit: boolean;2611 readonly type: 'Unknown' | 'OverLimit';2612 }26132614 /** @name PalletUniqueError (326) */2615 export interface PalletUniqueError extends Enum {2616 readonly isCollectionDecimalPointLimitExceeded: boolean;2617 readonly isConfirmUnsetSponsorFail: boolean;2618 readonly isEmptyArgument: boolean;2619 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2620 }26212622 /** @name UpDataStructsCollection (327) */2623 export interface UpDataStructsCollection extends Struct {2624 readonly owner: AccountId32;2625 readonly mode: UpDataStructsCollectionMode;2626 readonly access: UpDataStructsAccessMode;2627 readonly name: Vec<u16>;2628 readonly description: Vec<u16>;2629 readonly tokenPrefix: Bytes;2630 readonly mintMode: bool;2631 readonly schemaVersion: UpDataStructsSchemaVersion;2632 readonly sponsorship: UpDataStructsSponsorshipState;2633 readonly limits: UpDataStructsCollectionLimits;2634 }26352636 /** @name UpDataStructsSponsorshipState (328) */2637 export interface UpDataStructsSponsorshipState extends Enum {2638 readonly isDisabled: boolean;2639 readonly isUnconfirmed: boolean;2640 readonly asUnconfirmed: AccountId32;2641 readonly isConfirmed: boolean;2642 readonly asConfirmed: AccountId32;2643 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2644 }26452646 /** @name UpDataStructsProperties (329) */2647 export interface UpDataStructsProperties extends Struct {2648 readonly map: UpDataStructsPropertiesMapBoundedVec;2649 readonly consumedSpace: u32;2650 readonly spaceLimit: u32;2651 }26522653 /** @name UpDataStructsPropertiesMapBoundedVec (330) */2654 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26552656 /** @name UpDataStructsPropertiesMapPropertyPermission (335) */2657 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26582659 /** @name UpDataStructsCollectionField (341) */2660 export interface UpDataStructsCollectionField extends Enum {2661 readonly isConstOnChainSchema: boolean;2662 readonly isOffchainSchema: boolean;2663 readonly type: 'ConstOnChainSchema' | 'OffchainSchema';2664 }26652666 /** @name UpDataStructsCollectionStats (344) */2667 export interface UpDataStructsCollectionStats extends Struct {2668 readonly created: u32;2669 readonly destroyed: u32;2670 readonly alive: u32;2671 }26722673 /** @name PhantomTypeUpDataStructsTokenData (345) */2674 export interface PhantomTypeUpDataStructsTokenData extends Vec<UpDataStructsTokenData> {}26752676 /** @name UpDataStructsTokenData (346) */2677 export interface UpDataStructsTokenData extends Struct {2678 readonly constData: Bytes;2679 readonly properties: Vec<UpDataStructsProperty>;2680 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2681 }26822683 /** @name PhantomTypeUpDataStructsRpcCollection (349) */2684 export interface PhantomTypeUpDataStructsRpcCollection extends Vec<UpDataStructsRpcCollection> {}26852686 /** @name UpDataStructsRpcCollection (350) */2687 export interface UpDataStructsRpcCollection extends Struct {2688 readonly owner: AccountId32;2689 readonly mode: UpDataStructsCollectionMode;2690 readonly access: UpDataStructsAccessMode;2691 readonly name: Vec<u16>;2692 readonly description: Vec<u16>;2693 readonly tokenPrefix: Bytes;2694 readonly mintMode: bool;2695 readonly offchainSchema: Bytes;2696 readonly schemaVersion: UpDataStructsSchemaVersion;2697 readonly sponsorship: UpDataStructsSponsorshipState;2698 readonly limits: UpDataStructsCollectionLimits;2699 readonly constOnChainSchema: Bytes;2700 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2701 readonly properties: Vec<UpDataStructsProperty>;2702 }27032704 /** @name PhantomTypeUpDataStructsCollectionInfo (352) */2705 export interface PhantomTypeUpDataStructsCollectionInfo extends Vec<UpDataStructsRmrkCollectionInfo> {}27062707 /** @name UpDataStructsRmrkCollectionInfo (353) */2708 export interface UpDataStructsRmrkCollectionInfo extends Struct {2709 readonly issuer: AccountId32;2710 readonly metadata: Bytes;2711 readonly max: Option<u32>;2712 readonly symbol: Bytes;2713 readonly nftsCount: u32;2714 }27152716 /** @name PhantomTypeUpDataStructsNftInfo (355) */2717 export interface PhantomTypeUpDataStructsNftInfo extends Vec<UpDataStructsRmrkNftInfo> {}27182719 /** @name UpDataStructsRmrkNftInfo (356) */2720 export interface UpDataStructsRmrkNftInfo extends Struct {2721 readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;2722 readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;2723 readonly metadata: Bytes;2724 readonly equipped: bool;2725 readonly pending: bool;2726 }27272728 /** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple (357) */2729 export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {2730 readonly isAccountId: boolean;2731 readonly asAccountId: AccountId32;2732 readonly isCollectionAndNftTuple: boolean;2733 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2734 readonly type: 'AccountId' | 'CollectionAndNftTuple';2735 }27362737 /** @name UpDataStructsRmrkRoyaltyInfo (359) */2738 export interface UpDataStructsRmrkRoyaltyInfo extends Struct {2739 readonly recipient: AccountId32;2740 readonly amount: Permill;2741 }27422743 /** @name PhantomTypeUpDataStructsResourceInfo (361) */2744 export interface PhantomTypeUpDataStructsResourceInfo extends Vec<UpDataStructsRmrkResourceInfo> {}27452746 /** @name UpDataStructsRmrkResourceInfo (362) */2747 export interface UpDataStructsRmrkResourceInfo extends Struct {2748 readonly id: Bytes;2749 readonly resource: UpDataStructsRmrkResourceTypes;2750 readonly pending: bool;2751 readonly pendingRemoval: bool;2752 }27532754 /** @name UpDataStructsRmrkResourceTypes (365) */2755 export interface UpDataStructsRmrkResourceTypes extends Enum {2756 readonly isBasic: boolean;2757 readonly asBasic: UpDataStructsRmrkBasicResource;2758 readonly isComposable: boolean;2759 readonly asComposable: UpDataStructsRmrkComposableResource;2760 readonly isSlot: boolean;2761 readonly asSlot: UpDataStructsRmrkSlotResource;2762 readonly type: 'Basic' | 'Composable' | 'Slot';2763 }27642765 /** @name UpDataStructsRmrkBasicResource (366) */2766 export interface UpDataStructsRmrkBasicResource extends Struct {2767 readonly src: Option<Bytes>;2768 readonly metadata: Option<Bytes>;2769 readonly license: Option<Bytes>;2770 readonly thumb: Option<Bytes>;2771 }27722773 /** @name UpDataStructsRmrkComposableResource (368) */2774 export interface UpDataStructsRmrkComposableResource extends Struct {2775 readonly parts: Vec<u32>;2776 readonly base: u32;2777 readonly src: Option<Bytes>;2778 readonly metadata: Option<Bytes>;2779 readonly license: Option<Bytes>;2780 readonly thumb: Option<Bytes>;2781 }27822783 /** @name UpDataStructsRmrkSlotResource (369) */2784 export interface UpDataStructsRmrkSlotResource extends Struct {2785 readonly base: u32;2786 readonly src: Option<Bytes>;2787 readonly metadata: Option<Bytes>;2788 readonly slot: u32;2789 readonly license: Option<Bytes>;2790 readonly thumb: Option<Bytes>;2791 }27922793 /** @name PhantomTypeUpDataStructsPropertyInfo (371) */2794 export interface PhantomTypeUpDataStructsPropertyInfo extends Vec<UpDataStructsRmrkPropertyInfo> {}27952796 /** @name UpDataStructsRmrkPropertyInfo (372) */2797 export interface UpDataStructsRmrkPropertyInfo extends Struct {2798 readonly key: Bytes;2799 readonly value: Bytes;2800 }28012802 /** @name PhantomTypeUpDataStructsBaseInfo (374) */2803 export interface PhantomTypeUpDataStructsBaseInfo extends Vec<UpDataStructsRmrkBaseInfo> {}28042805 /** @name UpDataStructsRmrkBaseInfo (375) */2806 export interface UpDataStructsRmrkBaseInfo extends Struct {2807 readonly issuer: AccountId32;2808 readonly baseType: Bytes;2809 readonly symbol: Bytes;2810 }28112812 /** @name PhantomTypeUpDataStructsPartType (377) */2813 export interface PhantomTypeUpDataStructsPartType extends Vec<UpDataStructsRmrkPartType> {}28142815 /** @name PhantomTypeUpDataStructsTheme (379) */2816 export interface PhantomTypeUpDataStructsTheme extends Vec<UpDataStructsRmrkTheme> {}28172818 /** @name PhantomTypeUpDataStructsNftChild (381) */2819 export interface PhantomTypeUpDataStructsNftChild extends Vec<UpDataStructsRmrkNftChild> {}28202821 /** @name UpDataStructsRmrkNftChild (382) */2822 export interface UpDataStructsRmrkNftChild extends Struct {2823 readonly collectionId: u32;2824 readonly nftId: u32;2825 }28262827 /** @name PalletCommonError (384) */2828 export interface PalletCommonError extends Enum {2829 readonly isCollectionNotFound: boolean;2830 readonly isMustBeTokenOwner: boolean;2831 readonly isNoPermission: boolean;2832 readonly isPublicMintingNotAllowed: boolean;2833 readonly isAddressNotInAllowlist: boolean;2834 readonly isCollectionNameLimitExceeded: boolean;2835 readonly isCollectionDescriptionLimitExceeded: boolean;2836 readonly isCollectionTokenPrefixLimitExceeded: boolean;2837 readonly isTotalCollectionsLimitExceeded: boolean;2838 readonly isCollectionAdminCountExceeded: boolean;2839 readonly isCollectionLimitBoundsExceeded: boolean;2840 readonly isOwnerPermissionsCantBeReverted: boolean;2841 readonly isTransferNotAllowed: boolean;2842 readonly isAccountTokenLimitExceeded: boolean;2843 readonly isCollectionTokenLimitExceeded: boolean;2844 readonly isMetadataFlagFrozen: boolean;2845 readonly isTokenNotFound: boolean;2846 readonly isTokenValueTooLow: boolean;2847 readonly isApprovedValueTooLow: boolean;2848 readonly isCantApproveMoreThanOwned: boolean;2849 readonly isAddressIsZero: boolean;2850 readonly isUnsupportedOperation: boolean;2851 readonly isNotSufficientFounds: boolean;2852 readonly isNestingIsDisabled: boolean;2853 readonly isOnlyOwnerAllowedToNest: boolean;2854 readonly isSourceCollectionIsNotAllowedToNest: boolean;2855 readonly isCollectionFieldSizeExceeded: boolean;2856 readonly isNoSpaceForProperty: boolean;2857 readonly isPropertyLimitReached: boolean;2858 readonly isPropertyKeyIsTooLong: boolean;2859 readonly isInvalidCharacterInPropertyKey: boolean;2860 readonly isEmptyPropertyKey: boolean;2861 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';2862 }28632864 /** @name PalletFungibleError (386) */2865 export interface PalletFungibleError extends Enum {2866 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2867 readonly isFungibleItemsHaveNoId: boolean;2868 readonly isFungibleItemsDontHaveData: boolean;2869 readonly isFungibleDisallowsNesting: boolean;2870 readonly isSettingPropertiesNotAllowed: boolean;2871 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2872 }28732874 /** @name PalletRefungibleItemData (387) */2875 export interface PalletRefungibleItemData extends Struct {2876 readonly constData: Bytes;2877 }28782879 /** @name PalletRefungibleError (391) */2880 export interface PalletRefungibleError extends Enum {2881 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2882 readonly isWrongRefungiblePieces: boolean;2883 readonly isRefungibleDisallowsNesting: boolean;2884 readonly isSettingPropertiesNotAllowed: boolean;2885 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2886 }28872888 /** @name PalletNonfungibleItemData (392) */2889 export interface PalletNonfungibleItemData extends Struct {2890 readonly constData: Bytes;2891 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2892 }28932894 /** @name PalletNonfungibleError (393) */2895 export interface PalletNonfungibleError extends Enum {2896 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2897 readonly isNonfungibleItemsHaveNoAmount: boolean;2898 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';2899 }29002901 /** @name PalletStructureError (394) */2902 export interface PalletStructureError extends Enum {2903 readonly isOuroborosDetected: boolean;2904 readonly isDepthLimit: boolean;2905 readonly isTokenNotFound: boolean;2906 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';2907 }29082909 /** @name PalletRmrkCoreError (395) */2910 export interface PalletRmrkCoreError extends Enum {2911 readonly isCorruptedCollectionType: boolean;2912 readonly isNftTypeEncodeError: boolean;2913 readonly isRmrkPropertyKeyIsTooLong: boolean;2914 readonly isRmrkPropertyValueIsTooLong: boolean;2915 readonly isCollectionNotEmpty: boolean;2916 readonly isNoAvailableCollectionId: boolean;2917 readonly isNoAvailableNftId: boolean;2918 readonly isCollectionUnknown: boolean;2919 readonly isNoPermission: boolean;2920 readonly isCollectionFullOrLocked: boolean;2921 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';2922 }29232924 /** @name PalletRmrkEquipError (397) */2925 export interface PalletRmrkEquipError extends Enum {2926 readonly isPermissionError: boolean;2927 readonly isNoAvailableBaseId: boolean;2928 readonly isNoAvailablePartId: boolean;2929 readonly isBaseDoesntExist: boolean;2930 readonly isNeedsDefaultThemeFirst: boolean;2931 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';2932 }29332934 /** @name PalletEvmError (400) */2935 export interface PalletEvmError extends Enum {2936 readonly isBalanceLow: boolean;2937 readonly isFeeOverflow: boolean;2938 readonly isPaymentOverflow: boolean;2939 readonly isWithdrawFailed: boolean;2940 readonly isGasPriceTooLow: boolean;2941 readonly isInvalidNonce: boolean;2942 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2943 }29442945 /** @name FpRpcTransactionStatus (403) */2946 export interface FpRpcTransactionStatus extends Struct {2947 readonly transactionHash: H256;2948 readonly transactionIndex: u32;2949 readonly from: H160;2950 readonly to: Option<H160>;2951 readonly contractAddress: Option<H160>;2952 readonly logs: Vec<EthereumLog>;2953 readonly logsBloom: EthbloomBloom;2954 }29552956 /** @name EthbloomBloom (405) */2957 export interface EthbloomBloom extends U8aFixed {}29582959 /** @name EthereumReceiptReceiptV3 (407) */2960 export interface EthereumReceiptReceiptV3 extends Enum {2961 readonly isLegacy: boolean;2962 readonly asLegacy: EthereumReceiptEip658ReceiptData;2963 readonly isEip2930: boolean;2964 readonly asEip2930: EthereumReceiptEip658ReceiptData;2965 readonly isEip1559: boolean;2966 readonly asEip1559: EthereumReceiptEip658ReceiptData;2967 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2968 }29692970 /** @name EthereumReceiptEip658ReceiptData (408) */2971 export interface EthereumReceiptEip658ReceiptData extends Struct {2972 readonly statusCode: u8;2973 readonly usedGas: U256;2974 readonly logsBloom: EthbloomBloom;2975 readonly logs: Vec<EthereumLog>;2976 }29772978 /** @name EthereumBlock (409) */2979 export interface EthereumBlock extends Struct {2980 readonly header: EthereumHeader;2981 readonly transactions: Vec<EthereumTransactionTransactionV2>;2982 readonly ommers: Vec<EthereumHeader>;2983 }29842985 /** @name EthereumHeader (410) */2986 export interface EthereumHeader extends Struct {2987 readonly parentHash: H256;2988 readonly ommersHash: H256;2989 readonly beneficiary: H160;2990 readonly stateRoot: H256;2991 readonly transactionsRoot: H256;2992 readonly receiptsRoot: H256;2993 readonly logsBloom: EthbloomBloom;2994 readonly difficulty: U256;2995 readonly number: U256;2996 readonly gasLimit: U256;2997 readonly gasUsed: U256;2998 readonly timestamp: u64;2999 readonly extraData: Bytes;3000 readonly mixHash: H256;3001 readonly nonce: EthereumTypesHashH64;3002 }30033004 /** @name EthereumTypesHashH64 (411) */3005 export interface EthereumTypesHashH64 extends U8aFixed {}30063007 /** @name PalletEthereumError (416) */3008 export interface PalletEthereumError extends Enum {3009 readonly isInvalidSignature: boolean;3010 readonly isPreLogExists: boolean;3011 readonly type: 'InvalidSignature' | 'PreLogExists';3012 }30133014 /** @name PalletEvmCoderSubstrateError (417) */3015 export interface PalletEvmCoderSubstrateError extends Enum {3016 readonly isOutOfGas: boolean;3017 readonly isOutOfFund: boolean;3018 readonly type: 'OutOfGas' | 'OutOfFund';3019 }30203021 /** @name PalletEvmContractHelpersSponsoringModeT (418) */3022 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3023 readonly isDisabled: boolean;3024 readonly isAllowlisted: boolean;3025 readonly isGenerous: boolean;3026 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3027 }30283029 /** @name PalletEvmContractHelpersError (420) */3030 export interface PalletEvmContractHelpersError extends Enum {3031 readonly isNoPermission: boolean;3032 readonly type: 'NoPermission';3033 }30343035 /** @name PalletEvmMigrationError (421) */3036 export interface PalletEvmMigrationError extends Enum {3037 readonly isAccountNotEmpty: boolean;3038 readonly isAccountIsNotMigrating: boolean;3039 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3040 }30413042 /** @name SpRuntimeMultiSignature (423) */3043 export interface SpRuntimeMultiSignature extends Enum {3044 readonly isEd25519: boolean;3045 readonly asEd25519: SpCoreEd25519Signature;3046 readonly isSr25519: boolean;3047 readonly asSr25519: SpCoreSr25519Signature;3048 readonly isEcdsa: boolean;3049 readonly asEcdsa: SpCoreEcdsaSignature;3050 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3051 }30523053 /** @name SpCoreEd25519Signature (424) */3054 export interface SpCoreEd25519Signature extends U8aFixed {}30553056 /** @name SpCoreSr25519Signature (426) */3057 export interface SpCoreSr25519Signature extends U8aFixed {}30583059 /** @name SpCoreEcdsaSignature (427) */3060 export interface SpCoreEcdsaSignature extends U8aFixed {}30613062 /** @name FrameSystemExtensionsCheckSpecVersion (430) */3063 export type FrameSystemExtensionsCheckSpecVersion = Null;30643065 /** @name FrameSystemExtensionsCheckGenesis (431) */3066 export type FrameSystemExtensionsCheckGenesis = Null;30673068 /** @name FrameSystemExtensionsCheckNonce (434) */3069 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}30703071 /** @name FrameSystemExtensionsCheckWeight (435) */3072 export type FrameSystemExtensionsCheckWeight = Null;30733074 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (436) */3075 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}30763077 /** @name OpalRuntimeRuntime (437) */3078 export type OpalRuntimeRuntime = Null;30793080 /** @name PalletEthereumFakeTransactionFinalizer (438) */3081 export type PalletEthereumFakeTransactionFinalizer = Null;30823083} // declare moduletests/src/interfaces/unique/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/types.ts
+++ b/tests/src/interfaces/unique/types.ts
@@ -6,6 +6,9 @@
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
+/** @name BTreeSet */
+export interface BTreeSet extends Vec<Bytes> {}
+
/** @name CumulusPalletDmpQueueCall */
export interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
@@ -1012,6 +1015,12 @@
readonly type: 'OutOfGas' | 'OutOfFund';
}
+/** @name PalletEvmCollectionError */
+export interface PalletEvmCollectionError extends Enum {
+ readonly isNoPermission: boolean;
+ readonly type: 'NoPermission';
+}
+
/** @name PalletEvmContractHelpersError */
export interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;