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.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -26,6 +26,9 @@
readonly trieNodes: BTreeSet<Bytes>;
}
+ /** @name BTreeSet (11) */
+ export interface BTreeSet extends Vec<Bytes> {}
+
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */
export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
tests/src/interfaces/unique/types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name BTreeSet */10export interface BTreeSet extends Vec<Bytes> {}1112/** @name CumulusPalletDmpQueueCall */13export interface CumulusPalletDmpQueueCall extends Enum {14 readonly isServiceOverweight: boolean;15 readonly asServiceOverweight: {16 readonly index: u64;17 readonly weightLimit: u64;18 } & Struct;19 readonly type: 'ServiceOverweight';20}2122/** @name CumulusPalletDmpQueueConfigData */23export interface CumulusPalletDmpQueueConfigData extends Struct {24 readonly maxIndividual: u64;25}2627/** @name CumulusPalletDmpQueueError */28export interface CumulusPalletDmpQueueError extends Enum {29 readonly isUnknown: boolean;30 readonly isOverLimit: boolean;31 readonly type: 'Unknown' | 'OverLimit';32}3334/** @name CumulusPalletDmpQueueEvent */35export interface CumulusPalletDmpQueueEvent extends Enum {36 readonly isInvalidFormat: boolean;37 readonly asInvalidFormat: U8aFixed;38 readonly isUnsupportedVersion: boolean;39 readonly asUnsupportedVersion: U8aFixed;40 readonly isExecutedDownward: boolean;41 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;42 readonly isWeightExhausted: boolean;43 readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;44 readonly isOverweightEnqueued: boolean;45 readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;46 readonly isOverweightServiced: boolean;47 readonly asOverweightServiced: ITuple<[u64, u64]>;48 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';49}5051/** @name CumulusPalletDmpQueuePageIndexData */52export interface CumulusPalletDmpQueuePageIndexData extends Struct {53 readonly beginUsed: u32;54 readonly endUsed: u32;55 readonly overweightCount: u64;56}5758/** @name CumulusPalletParachainSystemCall */59export interface CumulusPalletParachainSystemCall extends Enum {60 readonly isSetValidationData: boolean;61 readonly asSetValidationData: {62 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;63 } & Struct;64 readonly isSudoSendUpwardMessage: boolean;65 readonly asSudoSendUpwardMessage: {66 readonly message: Bytes;67 } & Struct;68 readonly isAuthorizeUpgrade: boolean;69 readonly asAuthorizeUpgrade: {70 readonly codeHash: H256;71 } & Struct;72 readonly isEnactAuthorizedUpgrade: boolean;73 readonly asEnactAuthorizedUpgrade: {74 readonly code: Bytes;75 } & Struct;76 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';77}7879/** @name CumulusPalletParachainSystemError */80export interface CumulusPalletParachainSystemError extends Enum {81 readonly isOverlappingUpgrades: boolean;82 readonly isProhibitedByPolkadot: boolean;83 readonly isTooBig: boolean;84 readonly isValidationDataNotAvailable: boolean;85 readonly isHostConfigurationNotAvailable: boolean;86 readonly isNotScheduled: boolean;87 readonly isNothingAuthorized: boolean;88 readonly isUnauthorized: boolean;89 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';90}9192/** @name CumulusPalletParachainSystemEvent */93export interface CumulusPalletParachainSystemEvent extends Enum {94 readonly isValidationFunctionStored: boolean;95 readonly isValidationFunctionApplied: boolean;96 readonly asValidationFunctionApplied: u32;97 readonly isValidationFunctionDiscarded: boolean;98 readonly isUpgradeAuthorized: boolean;99 readonly asUpgradeAuthorized: H256;100 readonly isDownwardMessagesReceived: boolean;101 readonly asDownwardMessagesReceived: u32;102 readonly isDownwardMessagesProcessed: boolean;103 readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;104 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';105}106107/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */108export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {109 readonly dmqMqcHead: H256;110 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;111 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;112 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;113}114115/** @name CumulusPalletXcmCall */116export interface CumulusPalletXcmCall extends Null {}117118/** @name CumulusPalletXcmError */119export interface CumulusPalletXcmError extends Null {}120121/** @name CumulusPalletXcmEvent */122export interface CumulusPalletXcmEvent extends Enum {123 readonly isInvalidFormat: boolean;124 readonly asInvalidFormat: U8aFixed;125 readonly isUnsupportedVersion: boolean;126 readonly asUnsupportedVersion: U8aFixed;127 readonly isExecutedDownward: boolean;128 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;129 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';130}131132/** @name CumulusPalletXcmpQueueCall */133export interface CumulusPalletXcmpQueueCall extends Enum {134 readonly isServiceOverweight: boolean;135 readonly asServiceOverweight: {136 readonly index: u64;137 readonly weightLimit: u64;138 } & Struct;139 readonly isSuspendXcmExecution: boolean;140 readonly isResumeXcmExecution: boolean;141 readonly isUpdateSuspendThreshold: boolean;142 readonly asUpdateSuspendThreshold: {143 readonly new_: u32;144 } & Struct;145 readonly isUpdateDropThreshold: boolean;146 readonly asUpdateDropThreshold: {147 readonly new_: u32;148 } & Struct;149 readonly isUpdateResumeThreshold: boolean;150 readonly asUpdateResumeThreshold: {151 readonly new_: u32;152 } & Struct;153 readonly isUpdateThresholdWeight: boolean;154 readonly asUpdateThresholdWeight: {155 readonly new_: u64;156 } & Struct;157 readonly isUpdateWeightRestrictDecay: boolean;158 readonly asUpdateWeightRestrictDecay: {159 readonly new_: u64;160 } & Struct;161 readonly isUpdateXcmpMaxIndividualWeight: boolean;162 readonly asUpdateXcmpMaxIndividualWeight: {163 readonly new_: u64;164 } & Struct;165 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';166}167168/** @name CumulusPalletXcmpQueueError */169export interface CumulusPalletXcmpQueueError extends Enum {170 readonly isFailedToSend: boolean;171 readonly isBadXcmOrigin: boolean;172 readonly isBadXcm: boolean;173 readonly isBadOverweightIndex: boolean;174 readonly isWeightOverLimit: boolean;175 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';176}177178/** @name CumulusPalletXcmpQueueEvent */179export interface CumulusPalletXcmpQueueEvent extends Enum {180 readonly isSuccess: boolean;181 readonly asSuccess: Option<H256>;182 readonly isFail: boolean;183 readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;184 readonly isBadVersion: boolean;185 readonly asBadVersion: Option<H256>;186 readonly isBadFormat: boolean;187 readonly asBadFormat: Option<H256>;188 readonly isUpwardMessageSent: boolean;189 readonly asUpwardMessageSent: Option<H256>;190 readonly isXcmpMessageSent: boolean;191 readonly asXcmpMessageSent: Option<H256>;192 readonly isOverweightEnqueued: boolean;193 readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;194 readonly isOverweightServiced: boolean;195 readonly asOverweightServiced: ITuple<[u64, u64]>;196 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';197}198199/** @name CumulusPalletXcmpQueueInboundChannelDetails */200export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {201 readonly sender: u32;202 readonly state: CumulusPalletXcmpQueueInboundState;203 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;204}205206/** @name CumulusPalletXcmpQueueInboundState */207export interface CumulusPalletXcmpQueueInboundState extends Enum {208 readonly isOk: boolean;209 readonly isSuspended: boolean;210 readonly type: 'Ok' | 'Suspended';211}212213/** @name CumulusPalletXcmpQueueOutboundChannelDetails */214export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {215 readonly recipient: u32;216 readonly state: CumulusPalletXcmpQueueOutboundState;217 readonly signalsExist: bool;218 readonly firstIndex: u16;219 readonly lastIndex: u16;220}221222/** @name CumulusPalletXcmpQueueOutboundState */223export interface CumulusPalletXcmpQueueOutboundState extends Enum {224 readonly isOk: boolean;225 readonly isSuspended: boolean;226 readonly type: 'Ok' | 'Suspended';227}228229/** @name CumulusPalletXcmpQueueQueueConfigData */230export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {231 readonly suspendThreshold: u32;232 readonly dropThreshold: u32;233 readonly resumeThreshold: u32;234 readonly thresholdWeight: u64;235 readonly weightRestrictDecay: u64;236 readonly xcmpMaxIndividualWeight: u64;237}238239/** @name CumulusPrimitivesParachainInherentParachainInherentData */240export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {241 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;242 readonly relayChainState: SpTrieStorageProof;243 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;244 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;245}246247/** @name EthbloomBloom */248export interface EthbloomBloom extends U8aFixed {}249250/** @name EthereumBlock */251export interface EthereumBlock extends Struct {252 readonly header: EthereumHeader;253 readonly transactions: Vec<EthereumTransactionTransactionV2>;254 readonly ommers: Vec<EthereumHeader>;255}256257/** @name EthereumHeader */258export interface EthereumHeader extends Struct {259 readonly parentHash: H256;260 readonly ommersHash: H256;261 readonly beneficiary: H160;262 readonly stateRoot: H256;263 readonly transactionsRoot: H256;264 readonly receiptsRoot: H256;265 readonly logsBloom: EthbloomBloom;266 readonly difficulty: U256;267 readonly number: U256;268 readonly gasLimit: U256;269 readonly gasUsed: U256;270 readonly timestamp: u64;271 readonly extraData: Bytes;272 readonly mixHash: H256;273 readonly nonce: EthereumTypesHashH64;274}275276/** @name EthereumLog */277export interface EthereumLog extends Struct {278 readonly address: H160;279 readonly topics: Vec<H256>;280 readonly data: Bytes;281}282283/** @name EthereumReceiptEip658ReceiptData */284export interface EthereumReceiptEip658ReceiptData extends Struct {285 readonly statusCode: u8;286 readonly usedGas: U256;287 readonly logsBloom: EthbloomBloom;288 readonly logs: Vec<EthereumLog>;289}290291/** @name EthereumReceiptReceiptV3 */292export interface EthereumReceiptReceiptV3 extends Enum {293 readonly isLegacy: boolean;294 readonly asLegacy: EthereumReceiptEip658ReceiptData;295 readonly isEip2930: boolean;296 readonly asEip2930: EthereumReceiptEip658ReceiptData;297 readonly isEip1559: boolean;298 readonly asEip1559: EthereumReceiptEip658ReceiptData;299 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';300}301302/** @name EthereumTransactionAccessListItem */303export interface EthereumTransactionAccessListItem extends Struct {304 readonly address: H160;305 readonly storageKeys: Vec<H256>;306}307308/** @name EthereumTransactionEip1559Transaction */309export interface EthereumTransactionEip1559Transaction extends Struct {310 readonly chainId: u64;311 readonly nonce: U256;312 readonly maxPriorityFeePerGas: U256;313 readonly maxFeePerGas: U256;314 readonly gasLimit: U256;315 readonly action: EthereumTransactionTransactionAction;316 readonly value: U256;317 readonly input: Bytes;318 readonly accessList: Vec<EthereumTransactionAccessListItem>;319 readonly oddYParity: bool;320 readonly r: H256;321 readonly s: H256;322}323324/** @name EthereumTransactionEip2930Transaction */325export interface EthereumTransactionEip2930Transaction extends Struct {326 readonly chainId: u64;327 readonly nonce: U256;328 readonly gasPrice: U256;329 readonly gasLimit: U256;330 readonly action: EthereumTransactionTransactionAction;331 readonly value: U256;332 readonly input: Bytes;333 readonly accessList: Vec<EthereumTransactionAccessListItem>;334 readonly oddYParity: bool;335 readonly r: H256;336 readonly s: H256;337}338339/** @name EthereumTransactionLegacyTransaction */340export interface EthereumTransactionLegacyTransaction extends Struct {341 readonly nonce: U256;342 readonly gasPrice: U256;343 readonly gasLimit: U256;344 readonly action: EthereumTransactionTransactionAction;345 readonly value: U256;346 readonly input: Bytes;347 readonly signature: EthereumTransactionTransactionSignature;348}349350/** @name EthereumTransactionTransactionAction */351export interface EthereumTransactionTransactionAction extends Enum {352 readonly isCall: boolean;353 readonly asCall: H160;354 readonly isCreate: boolean;355 readonly type: 'Call' | 'Create';356}357358/** @name EthereumTransactionTransactionSignature */359export interface EthereumTransactionTransactionSignature extends Struct {360 readonly v: u64;361 readonly r: H256;362 readonly s: H256;363}364365/** @name EthereumTransactionTransactionV2 */366export interface EthereumTransactionTransactionV2 extends Enum {367 readonly isLegacy: boolean;368 readonly asLegacy: EthereumTransactionLegacyTransaction;369 readonly isEip2930: boolean;370 readonly asEip2930: EthereumTransactionEip2930Transaction;371 readonly isEip1559: boolean;372 readonly asEip1559: EthereumTransactionEip1559Transaction;373 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';374}375376/** @name EthereumTypesHashH64 */377export interface EthereumTypesHashH64 extends U8aFixed {}378379/** @name EvmCoreErrorExitError */380export interface EvmCoreErrorExitError extends Enum {381 readonly isStackUnderflow: boolean;382 readonly isStackOverflow: boolean;383 readonly isInvalidJump: boolean;384 readonly isInvalidRange: boolean;385 readonly isDesignatedInvalid: boolean;386 readonly isCallTooDeep: boolean;387 readonly isCreateCollision: boolean;388 readonly isCreateContractLimit: boolean;389 readonly isOutOfOffset: boolean;390 readonly isOutOfGas: boolean;391 readonly isOutOfFund: boolean;392 readonly isPcUnderflow: boolean;393 readonly isCreateEmpty: boolean;394 readonly isOther: boolean;395 readonly asOther: Text;396 readonly isInvalidCode: boolean;397 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';398}399400/** @name EvmCoreErrorExitFatal */401export interface EvmCoreErrorExitFatal extends Enum {402 readonly isNotSupported: boolean;403 readonly isUnhandledInterrupt: boolean;404 readonly isCallErrorAsFatal: boolean;405 readonly asCallErrorAsFatal: EvmCoreErrorExitError;406 readonly isOther: boolean;407 readonly asOther: Text;408 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';409}410411/** @name EvmCoreErrorExitReason */412export interface EvmCoreErrorExitReason extends Enum {413 readonly isSucceed: boolean;414 readonly asSucceed: EvmCoreErrorExitSucceed;415 readonly isError: boolean;416 readonly asError: EvmCoreErrorExitError;417 readonly isRevert: boolean;418 readonly asRevert: EvmCoreErrorExitRevert;419 readonly isFatal: boolean;420 readonly asFatal: EvmCoreErrorExitFatal;421 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';422}423424/** @name EvmCoreErrorExitRevert */425export interface EvmCoreErrorExitRevert extends Enum {426 readonly isReverted: boolean;427 readonly type: 'Reverted';428}429430/** @name EvmCoreErrorExitSucceed */431export interface EvmCoreErrorExitSucceed extends Enum {432 readonly isStopped: boolean;433 readonly isReturned: boolean;434 readonly isSuicided: boolean;435 readonly type: 'Stopped' | 'Returned' | 'Suicided';436}437438/** @name FpRpcTransactionStatus */439export interface FpRpcTransactionStatus extends Struct {440 readonly transactionHash: H256;441 readonly transactionIndex: u32;442 readonly from: H160;443 readonly to: Option<H160>;444 readonly contractAddress: Option<H160>;445 readonly logs: Vec<EthereumLog>;446 readonly logsBloom: EthbloomBloom;447}448449/** @name FrameSupportPalletId */450export interface FrameSupportPalletId extends U8aFixed {}451452/** @name FrameSupportTokensMiscBalanceStatus */453export interface FrameSupportTokensMiscBalanceStatus extends Enum {454 readonly isFree: boolean;455 readonly isReserved: boolean;456 readonly type: 'Free' | 'Reserved';457}458459/** @name FrameSupportWeightsDispatchClass */460export interface FrameSupportWeightsDispatchClass extends Enum {461 readonly isNormal: boolean;462 readonly isOperational: boolean;463 readonly isMandatory: boolean;464 readonly type: 'Normal' | 'Operational' | 'Mandatory';465}466467/** @name FrameSupportWeightsDispatchInfo */468export interface FrameSupportWeightsDispatchInfo extends Struct {469 readonly weight: u64;470 readonly class: FrameSupportWeightsDispatchClass;471 readonly paysFee: FrameSupportWeightsPays;472}473474/** @name FrameSupportWeightsPays */475export interface FrameSupportWeightsPays extends Enum {476 readonly isYes: boolean;477 readonly isNo: boolean;478 readonly type: 'Yes' | 'No';479}480481/** @name FrameSupportWeightsPerDispatchClassU32 */482export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {483 readonly normal: u32;484 readonly operational: u32;485 readonly mandatory: u32;486}487488/** @name FrameSupportWeightsPerDispatchClassU64 */489export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {490 readonly normal: u64;491 readonly operational: u64;492 readonly mandatory: u64;493}494495/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */496export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {497 readonly normal: FrameSystemLimitsWeightsPerClass;498 readonly operational: FrameSystemLimitsWeightsPerClass;499 readonly mandatory: FrameSystemLimitsWeightsPerClass;500}501502/** @name FrameSupportWeightsRuntimeDbWeight */503export interface FrameSupportWeightsRuntimeDbWeight extends Struct {504 readonly read: u64;505 readonly write: u64;506}507508/** @name FrameSupportWeightsWeightToFeeCoefficient */509export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {510 readonly coeffInteger: u128;511 readonly coeffFrac: Perbill;512 readonly negative: bool;513 readonly degree: u8;514}515516/** @name FrameSystemAccountInfo */517export interface FrameSystemAccountInfo extends Struct {518 readonly nonce: u32;519 readonly consumers: u32;520 readonly providers: u32;521 readonly sufficients: u32;522 readonly data: PalletBalancesAccountData;523}524525/** @name FrameSystemCall */526export interface FrameSystemCall extends Enum {527 readonly isFillBlock: boolean;528 readonly asFillBlock: {529 readonly ratio: Perbill;530 } & Struct;531 readonly isRemark: boolean;532 readonly asRemark: {533 readonly remark: Bytes;534 } & Struct;535 readonly isSetHeapPages: boolean;536 readonly asSetHeapPages: {537 readonly pages: u64;538 } & Struct;539 readonly isSetCode: boolean;540 readonly asSetCode: {541 readonly code: Bytes;542 } & Struct;543 readonly isSetCodeWithoutChecks: boolean;544 readonly asSetCodeWithoutChecks: {545 readonly code: Bytes;546 } & Struct;547 readonly isSetStorage: boolean;548 readonly asSetStorage: {549 readonly items: Vec<ITuple<[Bytes, Bytes]>>;550 } & Struct;551 readonly isKillStorage: boolean;552 readonly asKillStorage: {553 readonly keys_: Vec<Bytes>;554 } & Struct;555 readonly isKillPrefix: boolean;556 readonly asKillPrefix: {557 readonly prefix: Bytes;558 readonly subkeys: u32;559 } & Struct;560 readonly isRemarkWithEvent: boolean;561 readonly asRemarkWithEvent: {562 readonly remark: Bytes;563 } & Struct;564 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';565}566567/** @name FrameSystemError */568export interface FrameSystemError extends Enum {569 readonly isInvalidSpecName: boolean;570 readonly isSpecVersionNeedsToIncrease: boolean;571 readonly isFailedToExtractRuntimeVersion: boolean;572 readonly isNonDefaultComposite: boolean;573 readonly isNonZeroRefCount: boolean;574 readonly isCallFiltered: boolean;575 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';576}577578/** @name FrameSystemEvent */579export interface FrameSystemEvent extends Enum {580 readonly isExtrinsicSuccess: boolean;581 readonly asExtrinsicSuccess: {582 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;583 } & Struct;584 readonly isExtrinsicFailed: boolean;585 readonly asExtrinsicFailed: {586 readonly dispatchError: SpRuntimeDispatchError;587 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;588 } & Struct;589 readonly isCodeUpdated: boolean;590 readonly isNewAccount: boolean;591 readonly asNewAccount: {592 readonly account: AccountId32;593 } & Struct;594 readonly isKilledAccount: boolean;595 readonly asKilledAccount: {596 readonly account: AccountId32;597 } & Struct;598 readonly isRemarked: boolean;599 readonly asRemarked: {600 readonly sender: AccountId32;601 readonly hash_: H256;602 } & Struct;603 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';604}605606/** @name FrameSystemEventRecord */607export interface FrameSystemEventRecord extends Struct {608 readonly phase: FrameSystemPhase;609 readonly event: Event;610 readonly topics: Vec<H256>;611}612613/** @name FrameSystemExtensionsCheckGenesis */614export interface FrameSystemExtensionsCheckGenesis extends Null {}615616/** @name FrameSystemExtensionsCheckNonce */617export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}618619/** @name FrameSystemExtensionsCheckSpecVersion */620export interface FrameSystemExtensionsCheckSpecVersion extends Null {}621622/** @name FrameSystemExtensionsCheckWeight */623export interface FrameSystemExtensionsCheckWeight extends Null {}624625/** @name FrameSystemLastRuntimeUpgradeInfo */626export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {627 readonly specVersion: Compact<u32>;628 readonly specName: Text;629}630631/** @name FrameSystemLimitsBlockLength */632export interface FrameSystemLimitsBlockLength extends Struct {633 readonly max: FrameSupportWeightsPerDispatchClassU32;634}635636/** @name FrameSystemLimitsBlockWeights */637export interface FrameSystemLimitsBlockWeights extends Struct {638 readonly baseBlock: u64;639 readonly maxBlock: u64;640 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;641}642643/** @name FrameSystemLimitsWeightsPerClass */644export interface FrameSystemLimitsWeightsPerClass extends Struct {645 readonly baseExtrinsic: u64;646 readonly maxExtrinsic: Option<u64>;647 readonly maxTotal: Option<u64>;648 readonly reserved: Option<u64>;649}650651/** @name FrameSystemPhase */652export interface FrameSystemPhase extends Enum {653 readonly isApplyExtrinsic: boolean;654 readonly asApplyExtrinsic: u32;655 readonly isFinalization: boolean;656 readonly isInitialization: boolean;657 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';658}659660/** @name OpalRuntimeRuntime */661export interface OpalRuntimeRuntime extends Null {}662663/** @name OrmlVestingModuleCall */664export interface OrmlVestingModuleCall extends Enum {665 readonly isClaim: boolean;666 readonly isVestedTransfer: boolean;667 readonly asVestedTransfer: {668 readonly dest: MultiAddress;669 readonly schedule: OrmlVestingVestingSchedule;670 } & Struct;671 readonly isUpdateVestingSchedules: boolean;672 readonly asUpdateVestingSchedules: {673 readonly who: MultiAddress;674 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;675 } & Struct;676 readonly isClaimFor: boolean;677 readonly asClaimFor: {678 readonly dest: MultiAddress;679 } & Struct;680 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';681}682683/** @name OrmlVestingModuleError */684export interface OrmlVestingModuleError extends Enum {685 readonly isZeroVestingPeriod: boolean;686 readonly isZeroVestingPeriodCount: boolean;687 readonly isInsufficientBalanceToLock: boolean;688 readonly isTooManyVestingSchedules: boolean;689 readonly isAmountLow: boolean;690 readonly isMaxVestingSchedulesExceeded: boolean;691 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';692}693694/** @name OrmlVestingModuleEvent */695export interface OrmlVestingModuleEvent extends Enum {696 readonly isVestingScheduleAdded: boolean;697 readonly asVestingScheduleAdded: {698 readonly from: AccountId32;699 readonly to: AccountId32;700 readonly vestingSchedule: OrmlVestingVestingSchedule;701 } & Struct;702 readonly isClaimed: boolean;703 readonly asClaimed: {704 readonly who: AccountId32;705 readonly amount: u128;706 } & Struct;707 readonly isVestingSchedulesUpdated: boolean;708 readonly asVestingSchedulesUpdated: {709 readonly who: AccountId32;710 } & Struct;711 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';712}713714/** @name OrmlVestingVestingSchedule */715export interface OrmlVestingVestingSchedule extends Struct {716 readonly start: u32;717 readonly period: u32;718 readonly periodCount: u32;719 readonly perPeriod: Compact<u128>;720}721722/** @name PalletBalancesAccountData */723export interface PalletBalancesAccountData extends Struct {724 readonly free: u128;725 readonly reserved: u128;726 readonly miscFrozen: u128;727 readonly feeFrozen: u128;728}729730/** @name PalletBalancesBalanceLock */731export interface PalletBalancesBalanceLock extends Struct {732 readonly id: U8aFixed;733 readonly amount: u128;734 readonly reasons: PalletBalancesReasons;735}736737/** @name PalletBalancesCall */738export interface PalletBalancesCall extends Enum {739 readonly isTransfer: boolean;740 readonly asTransfer: {741 readonly dest: MultiAddress;742 readonly value: Compact<u128>;743 } & Struct;744 readonly isSetBalance: boolean;745 readonly asSetBalance: {746 readonly who: MultiAddress;747 readonly newFree: Compact<u128>;748 readonly newReserved: Compact<u128>;749 } & Struct;750 readonly isForceTransfer: boolean;751 readonly asForceTransfer: {752 readonly source: MultiAddress;753 readonly dest: MultiAddress;754 readonly value: Compact<u128>;755 } & Struct;756 readonly isTransferKeepAlive: boolean;757 readonly asTransferKeepAlive: {758 readonly dest: MultiAddress;759 readonly value: Compact<u128>;760 } & Struct;761 readonly isTransferAll: boolean;762 readonly asTransferAll: {763 readonly dest: MultiAddress;764 readonly keepAlive: bool;765 } & Struct;766 readonly isForceUnreserve: boolean;767 readonly asForceUnreserve: {768 readonly who: MultiAddress;769 readonly amount: u128;770 } & Struct;771 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';772}773774/** @name PalletBalancesError */775export interface PalletBalancesError extends Enum {776 readonly isVestingBalance: boolean;777 readonly isLiquidityRestrictions: boolean;778 readonly isInsufficientBalance: boolean;779 readonly isExistentialDeposit: boolean;780 readonly isKeepAlive: boolean;781 readonly isExistingVestingSchedule: boolean;782 readonly isDeadAccount: boolean;783 readonly isTooManyReserves: boolean;784 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';785}786787/** @name PalletBalancesEvent */788export interface PalletBalancesEvent extends Enum {789 readonly isEndowed: boolean;790 readonly asEndowed: {791 readonly account: AccountId32;792 readonly freeBalance: u128;793 } & Struct;794 readonly isDustLost: boolean;795 readonly asDustLost: {796 readonly account: AccountId32;797 readonly amount: u128;798 } & Struct;799 readonly isTransfer: boolean;800 readonly asTransfer: {801 readonly from: AccountId32;802 readonly to: AccountId32;803 readonly amount: u128;804 } & Struct;805 readonly isBalanceSet: boolean;806 readonly asBalanceSet: {807 readonly who: AccountId32;808 readonly free: u128;809 readonly reserved: u128;810 } & Struct;811 readonly isReserved: boolean;812 readonly asReserved: {813 readonly who: AccountId32;814 readonly amount: u128;815 } & Struct;816 readonly isUnreserved: boolean;817 readonly asUnreserved: {818 readonly who: AccountId32;819 readonly amount: u128;820 } & Struct;821 readonly isReserveRepatriated: boolean;822 readonly asReserveRepatriated: {823 readonly from: AccountId32;824 readonly to: AccountId32;825 readonly amount: u128;826 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;827 } & Struct;828 readonly isDeposit: boolean;829 readonly asDeposit: {830 readonly who: AccountId32;831 readonly amount: u128;832 } & Struct;833 readonly isWithdraw: boolean;834 readonly asWithdraw: {835 readonly who: AccountId32;836 readonly amount: u128;837 } & Struct;838 readonly isSlashed: boolean;839 readonly asSlashed: {840 readonly who: AccountId32;841 readonly amount: u128;842 } & Struct;843 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';844}845846/** @name PalletBalancesReasons */847export interface PalletBalancesReasons extends Enum {848 readonly isFee: boolean;849 readonly isMisc: boolean;850 readonly isAll: boolean;851 readonly type: 'Fee' | 'Misc' | 'All';852}853854/** @name PalletBalancesReleases */855export interface PalletBalancesReleases extends Enum {856 readonly isV100: boolean;857 readonly isV200: boolean;858 readonly type: 'V100' | 'V200';859}860861/** @name PalletBalancesReserveData */862export interface PalletBalancesReserveData extends Struct {863 readonly id: U8aFixed;864 readonly amount: u128;865}866867/** @name PalletCommonError */868export interface PalletCommonError extends Enum {869 readonly isCollectionNotFound: boolean;870 readonly isMustBeTokenOwner: boolean;871 readonly isNoPermission: boolean;872 readonly isPublicMintingNotAllowed: boolean;873 readonly isAddressNotInAllowlist: boolean;874 readonly isCollectionNameLimitExceeded: boolean;875 readonly isCollectionDescriptionLimitExceeded: boolean;876 readonly isCollectionTokenPrefixLimitExceeded: boolean;877 readonly isTotalCollectionsLimitExceeded: boolean;878 readonly isCollectionAdminCountExceeded: boolean;879 readonly isCollectionLimitBoundsExceeded: boolean;880 readonly isOwnerPermissionsCantBeReverted: boolean;881 readonly isTransferNotAllowed: boolean;882 readonly isAccountTokenLimitExceeded: boolean;883 readonly isCollectionTokenLimitExceeded: boolean;884 readonly isMetadataFlagFrozen: boolean;885 readonly isTokenNotFound: boolean;886 readonly isTokenValueTooLow: boolean;887 readonly isApprovedValueTooLow: boolean;888 readonly isCantApproveMoreThanOwned: boolean;889 readonly isAddressIsZero: boolean;890 readonly isUnsupportedOperation: boolean;891 readonly isNotSufficientFounds: boolean;892 readonly isNestingIsDisabled: boolean;893 readonly isOnlyOwnerAllowedToNest: boolean;894 readonly isSourceCollectionIsNotAllowedToNest: boolean;895 readonly isCollectionFieldSizeExceeded: boolean;896 readonly isNoSpaceForProperty: boolean;897 readonly isPropertyLimitReached: boolean;898 readonly isPropertyKeyIsTooLong: boolean;899 readonly isInvalidCharacterInPropertyKey: boolean;900 readonly isEmptyPropertyKey: boolean;901 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';902}903904/** @name PalletCommonEvent */905export interface PalletCommonEvent extends Enum {906 readonly isCollectionCreated: boolean;907 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;908 readonly isCollectionDestroyed: boolean;909 readonly asCollectionDestroyed: u32;910 readonly isItemCreated: boolean;911 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;912 readonly isItemDestroyed: boolean;913 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;914 readonly isTransfer: boolean;915 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;916 readonly isApproved: boolean;917 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;918 readonly isCollectionPropertySet: boolean;919 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;920 readonly isCollectionPropertyDeleted: boolean;921 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;922 readonly isTokenPropertySet: boolean;923 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;924 readonly isTokenPropertyDeleted: boolean;925 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;926 readonly isPropertyPermissionSet: boolean;927 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;928 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';929}930931/** @name PalletEthereumCall */932export interface PalletEthereumCall extends Enum {933 readonly isTransact: boolean;934 readonly asTransact: {935 readonly transaction: EthereumTransactionTransactionV2;936 } & Struct;937 readonly type: 'Transact';938}939940/** @name PalletEthereumError */941export interface PalletEthereumError extends Enum {942 readonly isInvalidSignature: boolean;943 readonly isPreLogExists: boolean;944 readonly type: 'InvalidSignature' | 'PreLogExists';945}946947/** @name PalletEthereumEvent */948export interface PalletEthereumEvent extends Enum {949 readonly isExecuted: boolean;950 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;951 readonly type: 'Executed';952}953954/** @name PalletEthereumFakeTransactionFinalizer */955export interface PalletEthereumFakeTransactionFinalizer extends Null {}956957/** @name PalletEvmAccountBasicCrossAccountIdRepr */958export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {959 readonly isSubstrate: boolean;960 readonly asSubstrate: AccountId32;961 readonly isEthereum: boolean;962 readonly asEthereum: H160;963 readonly type: 'Substrate' | 'Ethereum';964}965966/** @name PalletEvmCall */967export interface PalletEvmCall extends Enum {968 readonly isWithdraw: boolean;969 readonly asWithdraw: {970 readonly address: H160;971 readonly value: u128;972 } & Struct;973 readonly isCall: boolean;974 readonly asCall: {975 readonly source: H160;976 readonly target: H160;977 readonly input: Bytes;978 readonly value: U256;979 readonly gasLimit: u64;980 readonly maxFeePerGas: U256;981 readonly maxPriorityFeePerGas: Option<U256>;982 readonly nonce: Option<U256>;983 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;984 } & Struct;985 readonly isCreate: boolean;986 readonly asCreate: {987 readonly source: H160;988 readonly init: Bytes;989 readonly value: U256;990 readonly gasLimit: u64;991 readonly maxFeePerGas: U256;992 readonly maxPriorityFeePerGas: Option<U256>;993 readonly nonce: Option<U256>;994 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;995 } & Struct;996 readonly isCreate2: boolean;997 readonly asCreate2: {998 readonly source: H160;999 readonly init: Bytes;1000 readonly salt: H256;1001 readonly value: U256;1002 readonly gasLimit: u64;1003 readonly maxFeePerGas: U256;1004 readonly maxPriorityFeePerGas: Option<U256>;1005 readonly nonce: Option<U256>;1006 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1007 } & Struct;1008 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1009}10101011/** @name PalletEvmCoderSubstrateError */1012export interface PalletEvmCoderSubstrateError extends Enum {1013 readonly isOutOfGas: boolean;1014 readonly isOutOfFund: boolean;1015 readonly type: 'OutOfGas' | 'OutOfFund';1016}10171018/** @name PalletEvmCollectionError */1019export interface PalletEvmCollectionError extends Enum {1020 readonly isNoPermission: boolean;1021 readonly type: 'NoPermission';1022}10231024/** @name PalletEvmContractHelpersError */1025export interface PalletEvmContractHelpersError extends Enum {1026 readonly isNoPermission: boolean;1027 readonly type: 'NoPermission';1028}10291030/** @name PalletEvmContractHelpersSponsoringModeT */1031export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1032 readonly isDisabled: boolean;1033 readonly isAllowlisted: boolean;1034 readonly isGenerous: boolean;1035 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1036}10371038/** @name PalletEvmError */1039export interface PalletEvmError extends Enum {1040 readonly isBalanceLow: boolean;1041 readonly isFeeOverflow: boolean;1042 readonly isPaymentOverflow: boolean;1043 readonly isWithdrawFailed: boolean;1044 readonly isGasPriceTooLow: boolean;1045 readonly isInvalidNonce: boolean;1046 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1047}10481049/** @name PalletEvmEvent */1050export interface PalletEvmEvent extends Enum {1051 readonly isLog: boolean;1052 readonly asLog: EthereumLog;1053 readonly isCreated: boolean;1054 readonly asCreated: H160;1055 readonly isCreatedFailed: boolean;1056 readonly asCreatedFailed: H160;1057 readonly isExecuted: boolean;1058 readonly asExecuted: H160;1059 readonly isExecutedFailed: boolean;1060 readonly asExecutedFailed: H160;1061 readonly isBalanceDeposit: boolean;1062 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1063 readonly isBalanceWithdraw: boolean;1064 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1065 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1066}10671068/** @name PalletEvmMigrationCall */1069export interface PalletEvmMigrationCall extends Enum {1070 readonly isBegin: boolean;1071 readonly asBegin: {1072 readonly address: H160;1073 } & Struct;1074 readonly isSetData: boolean;1075 readonly asSetData: {1076 readonly address: H160;1077 readonly data: Vec<ITuple<[H256, H256]>>;1078 } & Struct;1079 readonly isFinish: boolean;1080 readonly asFinish: {1081 readonly address: H160;1082 readonly code: Bytes;1083 } & Struct;1084 readonly type: 'Begin' | 'SetData' | 'Finish';1085}10861087/** @name PalletEvmMigrationError */1088export interface PalletEvmMigrationError extends Enum {1089 readonly isAccountNotEmpty: boolean;1090 readonly isAccountIsNotMigrating: boolean;1091 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1092}10931094/** @name PalletFungibleError */1095export interface PalletFungibleError extends Enum {1096 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1097 readonly isFungibleItemsHaveNoId: boolean;1098 readonly isFungibleItemsDontHaveData: boolean;1099 readonly isFungibleDisallowsNesting: boolean;1100 readonly isSettingPropertiesNotAllowed: boolean;1101 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1102}11031104/** @name PalletInflationCall */1105export interface PalletInflationCall extends Enum {1106 readonly isStartInflation: boolean;1107 readonly asStartInflation: {1108 readonly inflationStartRelayBlock: u32;1109 } & Struct;1110 readonly type: 'StartInflation';1111}11121113/** @name PalletNonfungibleError */1114export interface PalletNonfungibleError extends Enum {1115 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1116 readonly isNonfungibleItemsHaveNoAmount: boolean;1117 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';1118}11191120/** @name PalletNonfungibleItemData */1121export interface PalletNonfungibleItemData extends Struct {1122 readonly constData: Bytes;1123 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1124}11251126/** @name PalletRefungibleError */1127export interface PalletRefungibleError extends Enum {1128 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1129 readonly isWrongRefungiblePieces: boolean;1130 readonly isRefungibleDisallowsNesting: boolean;1131 readonly isSettingPropertiesNotAllowed: boolean;1132 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1133}11341135/** @name PalletRefungibleItemData */1136export interface PalletRefungibleItemData extends Struct {1137 readonly constData: Bytes;1138}11391140/** @name PalletRmrkCoreCall */1141export interface PalletRmrkCoreCall extends Enum {1142 readonly isCreateCollection: boolean;1143 readonly asCreateCollection: {1144 readonly metadata: Bytes;1145 readonly max: Option<u32>;1146 readonly symbol: Bytes;1147 } & Struct;1148 readonly isDestroyCollection: boolean;1149 readonly asDestroyCollection: {1150 readonly collectionId: u32;1151 } & Struct;1152 readonly isChangeCollectionIssuer: boolean;1153 readonly asChangeCollectionIssuer: {1154 readonly collectionId: u32;1155 readonly newIssuer: MultiAddress;1156 } & Struct;1157 readonly isLockCollection: boolean;1158 readonly asLockCollection: {1159 readonly collectionId: u32;1160 } & Struct;1161 readonly isMintNft: boolean;1162 readonly asMintNft: {1163 readonly owner: AccountId32;1164 readonly collectionId: u32;1165 readonly recipient: Option<AccountId32>;1166 readonly royaltyAmount: Option<Permill>;1167 readonly metadata: Bytes;1168 } & Struct;1169 readonly isBurnNft: boolean;1170 readonly asBurnNft: {1171 readonly collectionId: u32;1172 readonly nftId: u32;1173 } & Struct;1174 readonly isSetProperty: boolean;1175 readonly asSetProperty: {1176 readonly rmrkCollectionId: Compact<u32>;1177 readonly maybeNftId: Option<u32>;1178 readonly key: Bytes;1179 readonly value: Bytes;1180 } & Struct;1181 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty';1182}11831184/** @name PalletRmrkCoreError */1185export interface PalletRmrkCoreError extends Enum {1186 readonly isCorruptedCollectionType: boolean;1187 readonly isNftTypeEncodeError: boolean;1188 readonly isRmrkPropertyKeyIsTooLong: boolean;1189 readonly isRmrkPropertyValueIsTooLong: boolean;1190 readonly isCollectionNotEmpty: boolean;1191 readonly isNoAvailableCollectionId: boolean;1192 readonly isNoAvailableNftId: boolean;1193 readonly isCollectionUnknown: boolean;1194 readonly isNoPermission: boolean;1195 readonly isCollectionFullOrLocked: boolean;1196 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';1197}11981199/** @name PalletRmrkCoreEvent */1200export interface PalletRmrkCoreEvent extends Enum {1201 readonly isCollectionCreated: boolean;1202 readonly asCollectionCreated: {1203 readonly issuer: AccountId32;1204 readonly collectionId: u32;1205 } & Struct;1206 readonly isCollectionDestroyed: boolean;1207 readonly asCollectionDestroyed: {1208 readonly issuer: AccountId32;1209 readonly collectionId: u32;1210 } & Struct;1211 readonly isIssuerChanged: boolean;1212 readonly asIssuerChanged: {1213 readonly oldIssuer: AccountId32;1214 readonly newIssuer: AccountId32;1215 readonly collectionId: u32;1216 } & Struct;1217 readonly isCollectionLocked: boolean;1218 readonly asCollectionLocked: {1219 readonly issuer: AccountId32;1220 readonly collectionId: u32;1221 } & Struct;1222 readonly isNftMinted: boolean;1223 readonly asNftMinted: {1224 readonly owner: AccountId32;1225 readonly collectionId: u32;1226 readonly nftId: u32;1227 } & Struct;1228 readonly isNftBurned: boolean;1229 readonly asNftBurned: {1230 readonly owner: AccountId32;1231 readonly nftId: u32;1232 } & Struct;1233 readonly isPropertySet: boolean;1234 readonly asPropertySet: {1235 readonly collectionId: u32;1236 readonly maybeNftId: Option<u32>;1237 readonly key: Bytes;1238 readonly value: Bytes;1239 } & Struct;1240 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet';1241}12421243/** @name PalletRmrkEquipCall */1244export interface PalletRmrkEquipCall extends Enum {1245 readonly isCreateBase: boolean;1246 readonly asCreateBase: {1247 readonly baseType: Bytes;1248 readonly symbol: Bytes;1249 readonly parts: Vec<UpDataStructsRmrkPartType>;1250 } & Struct;1251 readonly isThemeAdd: boolean;1252 readonly asThemeAdd: {1253 readonly baseId: u32;1254 readonly theme: UpDataStructsRmrkTheme;1255 } & Struct;1256 readonly type: 'CreateBase' | 'ThemeAdd';1257}12581259/** @name PalletRmrkEquipError */1260export interface PalletRmrkEquipError extends Enum {1261 readonly isPermissionError: boolean;1262 readonly isNoAvailableBaseId: boolean;1263 readonly isNoAvailablePartId: boolean;1264 readonly isBaseDoesntExist: boolean;1265 readonly isNeedsDefaultThemeFirst: boolean;1266 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';1267}12681269/** @name PalletRmrkEquipEvent */1270export interface PalletRmrkEquipEvent extends Enum {1271 readonly isBaseCreated: boolean;1272 readonly asBaseCreated: {1273 readonly issuer: AccountId32;1274 readonly baseId: u32;1275 } & Struct;1276 readonly type: 'BaseCreated';1277}12781279/** @name PalletStructureCall */1280export interface PalletStructureCall extends Null {}12811282/** @name PalletStructureError */1283export interface PalletStructureError extends Enum {1284 readonly isOuroborosDetected: boolean;1285 readonly isDepthLimit: boolean;1286 readonly isTokenNotFound: boolean;1287 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';1288}12891290/** @name PalletStructureEvent */1291export interface PalletStructureEvent extends Enum {1292 readonly isExecuted: boolean;1293 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1294 readonly type: 'Executed';1295}12961297/** @name PalletSudoCall */1298export interface PalletSudoCall extends Enum {1299 readonly isSudo: boolean;1300 readonly asSudo: {1301 readonly call: Call;1302 } & Struct;1303 readonly isSudoUncheckedWeight: boolean;1304 readonly asSudoUncheckedWeight: {1305 readonly call: Call;1306 readonly weight: u64;1307 } & Struct;1308 readonly isSetKey: boolean;1309 readonly asSetKey: {1310 readonly new_: MultiAddress;1311 } & Struct;1312 readonly isSudoAs: boolean;1313 readonly asSudoAs: {1314 readonly who: MultiAddress;1315 readonly call: Call;1316 } & Struct;1317 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1318}13191320/** @name PalletSudoError */1321export interface PalletSudoError extends Enum {1322 readonly isRequireSudo: boolean;1323 readonly type: 'RequireSudo';1324}13251326/** @name PalletSudoEvent */1327export interface PalletSudoEvent extends Enum {1328 readonly isSudid: boolean;1329 readonly asSudid: {1330 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1331 } & Struct;1332 readonly isKeyChanged: boolean;1333 readonly asKeyChanged: {1334 readonly oldSudoer: Option<AccountId32>;1335 } & Struct;1336 readonly isSudoAsDone: boolean;1337 readonly asSudoAsDone: {1338 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1339 } & Struct;1340 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1341}13421343/** @name PalletTemplateTransactionPaymentCall */1344export interface PalletTemplateTransactionPaymentCall extends Null {}13451346/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1347export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}13481349/** @name PalletTimestampCall */1350export interface PalletTimestampCall extends Enum {1351 readonly isSet: boolean;1352 readonly asSet: {1353 readonly now: Compact<u64>;1354 } & Struct;1355 readonly type: 'Set';1356}13571358/** @name PalletTransactionPaymentReleases */1359export interface PalletTransactionPaymentReleases extends Enum {1360 readonly isV1Ancient: boolean;1361 readonly isV2: boolean;1362 readonly type: 'V1Ancient' | 'V2';1363}13641365/** @name PalletTreasuryCall */1366export interface PalletTreasuryCall extends Enum {1367 readonly isProposeSpend: boolean;1368 readonly asProposeSpend: {1369 readonly value: Compact<u128>;1370 readonly beneficiary: MultiAddress;1371 } & Struct;1372 readonly isRejectProposal: boolean;1373 readonly asRejectProposal: {1374 readonly proposalId: Compact<u32>;1375 } & Struct;1376 readonly isApproveProposal: boolean;1377 readonly asApproveProposal: {1378 readonly proposalId: Compact<u32>;1379 } & Struct;1380 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';1381}13821383/** @name PalletTreasuryError */1384export interface PalletTreasuryError extends Enum {1385 readonly isInsufficientProposersBalance: boolean;1386 readonly isInvalidIndex: boolean;1387 readonly isTooManyApprovals: boolean;1388 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';1389}13901391/** @name PalletTreasuryEvent */1392export interface PalletTreasuryEvent extends Enum {1393 readonly isProposed: boolean;1394 readonly asProposed: {1395 readonly proposalIndex: u32;1396 } & Struct;1397 readonly isSpending: boolean;1398 readonly asSpending: {1399 readonly budgetRemaining: u128;1400 } & Struct;1401 readonly isAwarded: boolean;1402 readonly asAwarded: {1403 readonly proposalIndex: u32;1404 readonly award: u128;1405 readonly account: AccountId32;1406 } & Struct;1407 readonly isRejected: boolean;1408 readonly asRejected: {1409 readonly proposalIndex: u32;1410 readonly slashed: u128;1411 } & Struct;1412 readonly isBurnt: boolean;1413 readonly asBurnt: {1414 readonly burntFunds: u128;1415 } & Struct;1416 readonly isRollover: boolean;1417 readonly asRollover: {1418 readonly rolloverBalance: u128;1419 } & Struct;1420 readonly isDeposit: boolean;1421 readonly asDeposit: {1422 readonly value: u128;1423 } & Struct;1424 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';1425}14261427/** @name PalletTreasuryProposal */1428export interface PalletTreasuryProposal extends Struct {1429 readonly proposer: AccountId32;1430 readonly value: u128;1431 readonly beneficiary: AccountId32;1432 readonly bond: u128;1433}14341435/** @name PalletUniqueCall */1436export interface PalletUniqueCall extends Enum {1437 readonly isCreateCollection: boolean;1438 readonly asCreateCollection: {1439 readonly collectionName: Vec<u16>;1440 readonly collectionDescription: Vec<u16>;1441 readonly tokenPrefix: Bytes;1442 readonly mode: UpDataStructsCollectionMode;1443 } & Struct;1444 readonly isCreateCollectionEx: boolean;1445 readonly asCreateCollectionEx: {1446 readonly data: UpDataStructsCreateCollectionData;1447 } & Struct;1448 readonly isDestroyCollection: boolean;1449 readonly asDestroyCollection: {1450 readonly collectionId: u32;1451 } & Struct;1452 readonly isAddToAllowList: boolean;1453 readonly asAddToAllowList: {1454 readonly collectionId: u32;1455 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1456 } & Struct;1457 readonly isRemoveFromAllowList: boolean;1458 readonly asRemoveFromAllowList: {1459 readonly collectionId: u32;1460 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1461 } & Struct;1462 readonly isSetPublicAccessMode: boolean;1463 readonly asSetPublicAccessMode: {1464 readonly collectionId: u32;1465 readonly mode: UpDataStructsAccessMode;1466 } & Struct;1467 readonly isSetMintPermission: boolean;1468 readonly asSetMintPermission: {1469 readonly collectionId: u32;1470 readonly mintPermission: bool;1471 } & Struct;1472 readonly isChangeCollectionOwner: boolean;1473 readonly asChangeCollectionOwner: {1474 readonly collectionId: u32;1475 readonly newOwner: AccountId32;1476 } & Struct;1477 readonly isAddCollectionAdmin: boolean;1478 readonly asAddCollectionAdmin: {1479 readonly collectionId: u32;1480 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1481 } & Struct;1482 readonly isRemoveCollectionAdmin: boolean;1483 readonly asRemoveCollectionAdmin: {1484 readonly collectionId: u32;1485 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1486 } & Struct;1487 readonly isSetCollectionSponsor: boolean;1488 readonly asSetCollectionSponsor: {1489 readonly collectionId: u32;1490 readonly newSponsor: AccountId32;1491 } & Struct;1492 readonly isConfirmSponsorship: boolean;1493 readonly asConfirmSponsorship: {1494 readonly collectionId: u32;1495 } & Struct;1496 readonly isRemoveCollectionSponsor: boolean;1497 readonly asRemoveCollectionSponsor: {1498 readonly collectionId: u32;1499 } & Struct;1500 readonly isCreateItem: boolean;1501 readonly asCreateItem: {1502 readonly collectionId: u32;1503 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1504 readonly data: UpDataStructsCreateItemData;1505 } & Struct;1506 readonly isCreateMultipleItems: boolean;1507 readonly asCreateMultipleItems: {1508 readonly collectionId: u32;1509 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1510 readonly itemsData: Vec<UpDataStructsCreateItemData>;1511 } & Struct;1512 readonly isSetCollectionProperties: boolean;1513 readonly asSetCollectionProperties: {1514 readonly collectionId: u32;1515 readonly properties: Vec<UpDataStructsProperty>;1516 } & Struct;1517 readonly isDeleteCollectionProperties: boolean;1518 readonly asDeleteCollectionProperties: {1519 readonly collectionId: u32;1520 readonly propertyKeys: Vec<Bytes>;1521 } & Struct;1522 readonly isSetTokenProperties: boolean;1523 readonly asSetTokenProperties: {1524 readonly collectionId: u32;1525 readonly tokenId: u32;1526 readonly properties: Vec<UpDataStructsProperty>;1527 } & Struct;1528 readonly isDeleteTokenProperties: boolean;1529 readonly asDeleteTokenProperties: {1530 readonly collectionId: u32;1531 readonly tokenId: u32;1532 readonly propertyKeys: Vec<Bytes>;1533 } & Struct;1534 readonly isSetPropertyPermissions: boolean;1535 readonly asSetPropertyPermissions: {1536 readonly collectionId: u32;1537 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1538 } & Struct;1539 readonly isCreateMultipleItemsEx: boolean;1540 readonly asCreateMultipleItemsEx: {1541 readonly collectionId: u32;1542 readonly data: UpDataStructsCreateItemExData;1543 } & Struct;1544 readonly isSetTransfersEnabledFlag: boolean;1545 readonly asSetTransfersEnabledFlag: {1546 readonly collectionId: u32;1547 readonly value: bool;1548 } & Struct;1549 readonly isBurnItem: boolean;1550 readonly asBurnItem: {1551 readonly collectionId: u32;1552 readonly itemId: u32;1553 readonly value: u128;1554 } & Struct;1555 readonly isBurnFrom: boolean;1556 readonly asBurnFrom: {1557 readonly collectionId: u32;1558 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1559 readonly itemId: u32;1560 readonly value: u128;1561 } & Struct;1562 readonly isTransfer: boolean;1563 readonly asTransfer: {1564 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1565 readonly collectionId: u32;1566 readonly itemId: u32;1567 readonly value: u128;1568 } & Struct;1569 readonly isApprove: boolean;1570 readonly asApprove: {1571 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1572 readonly collectionId: u32;1573 readonly itemId: u32;1574 readonly amount: u128;1575 } & Struct;1576 readonly isTransferFrom: boolean;1577 readonly asTransferFrom: {1578 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1579 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1580 readonly collectionId: u32;1581 readonly itemId: u32;1582 readonly value: u128;1583 } & Struct;1584 readonly isSetSchemaVersion: boolean;1585 readonly asSetSchemaVersion: {1586 readonly collectionId: u32;1587 readonly version: UpDataStructsSchemaVersion;1588 } & Struct;1589 readonly isSetOffchainSchema: boolean;1590 readonly asSetOffchainSchema: {1591 readonly collectionId: u32;1592 readonly schema: Bytes;1593 } & Struct;1594 readonly isSetConstOnChainSchema: boolean;1595 readonly asSetConstOnChainSchema: {1596 readonly collectionId: u32;1597 readonly schema: Bytes;1598 } & Struct;1599 readonly isSetCollectionLimits: boolean;1600 readonly asSetCollectionLimits: {1601 readonly collectionId: u32;1602 readonly newLimit: UpDataStructsCollectionLimits;1603 } & Struct;1604 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';1605}16061607/** @name PalletUniqueError */1608export interface PalletUniqueError extends Enum {1609 readonly isCollectionDecimalPointLimitExceeded: boolean;1610 readonly isConfirmUnsetSponsorFail: boolean;1611 readonly isEmptyArgument: boolean;1612 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';1613}16141615/** @name PalletUniqueRawEvent */1616export interface PalletUniqueRawEvent extends Enum {1617 readonly isCollectionSponsorRemoved: boolean;1618 readonly asCollectionSponsorRemoved: u32;1619 readonly isCollectionAdminAdded: boolean;1620 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1621 readonly isCollectionOwnedChanged: boolean;1622 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1623 readonly isCollectionSponsorSet: boolean;1624 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1625 readonly isConstOnChainSchemaSet: boolean;1626 readonly asConstOnChainSchemaSet: u32;1627 readonly isSponsorshipConfirmed: boolean;1628 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1629 readonly isCollectionAdminRemoved: boolean;1630 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1631 readonly isAllowListAddressRemoved: boolean;1632 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1633 readonly isAllowListAddressAdded: boolean;1634 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1635 readonly isCollectionLimitSet: boolean;1636 readonly asCollectionLimitSet: u32;1637 readonly isMintPermissionSet: boolean;1638 readonly asMintPermissionSet: u32;1639 readonly isOffchainSchemaSet: boolean;1640 readonly asOffchainSchemaSet: u32;1641 readonly isPublicAccessModeSet: boolean;1642 readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;1643 readonly isSchemaVersionSet: boolean;1644 readonly asSchemaVersionSet: u32;1645 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet';1646}16471648/** @name PalletXcmCall */1649export interface PalletXcmCall extends Enum {1650 readonly isSend: boolean;1651 readonly asSend: {1652 readonly dest: XcmVersionedMultiLocation;1653 readonly message: XcmVersionedXcm;1654 } & Struct;1655 readonly isTeleportAssets: boolean;1656 readonly asTeleportAssets: {1657 readonly dest: XcmVersionedMultiLocation;1658 readonly beneficiary: XcmVersionedMultiLocation;1659 readonly assets: XcmVersionedMultiAssets;1660 readonly feeAssetItem: u32;1661 } & Struct;1662 readonly isReserveTransferAssets: boolean;1663 readonly asReserveTransferAssets: {1664 readonly dest: XcmVersionedMultiLocation;1665 readonly beneficiary: XcmVersionedMultiLocation;1666 readonly assets: XcmVersionedMultiAssets;1667 readonly feeAssetItem: u32;1668 } & Struct;1669 readonly isExecute: boolean;1670 readonly asExecute: {1671 readonly message: XcmVersionedXcm;1672 readonly maxWeight: u64;1673 } & Struct;1674 readonly isForceXcmVersion: boolean;1675 readonly asForceXcmVersion: {1676 readonly location: XcmV1MultiLocation;1677 readonly xcmVersion: u32;1678 } & Struct;1679 readonly isForceDefaultXcmVersion: boolean;1680 readonly asForceDefaultXcmVersion: {1681 readonly maybeXcmVersion: Option<u32>;1682 } & Struct;1683 readonly isForceSubscribeVersionNotify: boolean;1684 readonly asForceSubscribeVersionNotify: {1685 readonly location: XcmVersionedMultiLocation;1686 } & Struct;1687 readonly isForceUnsubscribeVersionNotify: boolean;1688 readonly asForceUnsubscribeVersionNotify: {1689 readonly location: XcmVersionedMultiLocation;1690 } & Struct;1691 readonly isLimitedReserveTransferAssets: boolean;1692 readonly asLimitedReserveTransferAssets: {1693 readonly dest: XcmVersionedMultiLocation;1694 readonly beneficiary: XcmVersionedMultiLocation;1695 readonly assets: XcmVersionedMultiAssets;1696 readonly feeAssetItem: u32;1697 readonly weightLimit: XcmV2WeightLimit;1698 } & Struct;1699 readonly isLimitedTeleportAssets: boolean;1700 readonly asLimitedTeleportAssets: {1701 readonly dest: XcmVersionedMultiLocation;1702 readonly beneficiary: XcmVersionedMultiLocation;1703 readonly assets: XcmVersionedMultiAssets;1704 readonly feeAssetItem: u32;1705 readonly weightLimit: XcmV2WeightLimit;1706 } & Struct;1707 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1708}17091710/** @name PalletXcmError */1711export interface PalletXcmError extends Enum {1712 readonly isUnreachable: boolean;1713 readonly isSendFailure: boolean;1714 readonly isFiltered: boolean;1715 readonly isUnweighableMessage: boolean;1716 readonly isDestinationNotInvertible: boolean;1717 readonly isEmpty: boolean;1718 readonly isCannotReanchor: boolean;1719 readonly isTooManyAssets: boolean;1720 readonly isInvalidOrigin: boolean;1721 readonly isBadVersion: boolean;1722 readonly isBadLocation: boolean;1723 readonly isNoSubscription: boolean;1724 readonly isAlreadySubscribed: boolean;1725 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';1726}17271728/** @name PalletXcmEvent */1729export interface PalletXcmEvent extends Enum {1730 readonly isAttempted: boolean;1731 readonly asAttempted: XcmV2TraitsOutcome;1732 readonly isSent: boolean;1733 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;1734 readonly isUnexpectedResponse: boolean;1735 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;1736 readonly isResponseReady: boolean;1737 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;1738 readonly isNotified: boolean;1739 readonly asNotified: ITuple<[u64, u8, u8]>;1740 readonly isNotifyOverweight: boolean;1741 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;1742 readonly isNotifyDispatchError: boolean;1743 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;1744 readonly isNotifyDecodeFailed: boolean;1745 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;1746 readonly isInvalidResponder: boolean;1747 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;1748 readonly isInvalidResponderVersion: boolean;1749 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;1750 readonly isResponseTaken: boolean;1751 readonly asResponseTaken: u64;1752 readonly isAssetsTrapped: boolean;1753 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;1754 readonly isVersionChangeNotified: boolean;1755 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;1756 readonly isSupportedVersionChanged: boolean;1757 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;1758 readonly isNotifyTargetSendFail: boolean;1759 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;1760 readonly isNotifyTargetMigrationFail: boolean;1761 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;1762 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1763}17641765/** @name PhantomTypeUpDataStructsBaseInfo */1766export interface PhantomTypeUpDataStructsBaseInfo extends Vec<Lookup375> {}17671768/** @name PhantomTypeUpDataStructsCollectionInfo */1769export interface PhantomTypeUpDataStructsCollectionInfo extends Vec<Lookup353> {}17701771/** @name PhantomTypeUpDataStructsNftChild */1772export interface PhantomTypeUpDataStructsNftChild extends Vec<Lookup382> {}17731774/** @name PhantomTypeUpDataStructsNftInfo */1775export interface PhantomTypeUpDataStructsNftInfo extends Vec<Lookup356> {}17761777/** @name PhantomTypeUpDataStructsPartType */1778export interface PhantomTypeUpDataStructsPartType extends Vec<Lookup215> {}17791780/** @name PhantomTypeUpDataStructsPropertyInfo */1781export interface PhantomTypeUpDataStructsPropertyInfo extends Vec<Lookup372> {}17821783/** @name PhantomTypeUpDataStructsResourceInfo */1784export interface PhantomTypeUpDataStructsResourceInfo extends Vec<Lookup362> {}17851786/** @name PhantomTypeUpDataStructsRpcCollection */1787export interface PhantomTypeUpDataStructsRpcCollection extends Vec<Lookup350> {}17881789/** @name PhantomTypeUpDataStructsTheme */1790export interface PhantomTypeUpDataStructsTheme extends Vec<Lookup221> {}17911792/** @name PhantomTypeUpDataStructsTokenData */1793export interface PhantomTypeUpDataStructsTokenData extends Vec<Lookup346> {}17941795/** @name PolkadotCorePrimitivesInboundDownwardMessage */1796export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1797 readonly sentAt: u32;1798 readonly msg: Bytes;1799}18001801/** @name PolkadotCorePrimitivesInboundHrmpMessage */1802export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1803 readonly sentAt: u32;1804 readonly data: Bytes;1805}18061807/** @name PolkadotCorePrimitivesOutboundHrmpMessage */1808export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1809 readonly recipient: u32;1810 readonly data: Bytes;1811}18121813/** @name PolkadotParachainPrimitivesXcmpMessageFormat */1814export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {1815 readonly isConcatenatedVersionedXcm: boolean;1816 readonly isConcatenatedEncodedBlob: boolean;1817 readonly isSignals: boolean;1818 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';1819}18201821/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */1822export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1823 readonly maxCodeSize: u32;1824 readonly maxHeadDataSize: u32;1825 readonly maxUpwardQueueCount: u32;1826 readonly maxUpwardQueueSize: u32;1827 readonly maxUpwardMessageSize: u32;1828 readonly maxUpwardMessageNumPerCandidate: u32;1829 readonly hrmpMaxMessageNumPerCandidate: u32;1830 readonly validationUpgradeCooldown: u32;1831 readonly validationUpgradeDelay: u32;1832}18331834/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */1835export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1836 readonly maxCapacity: u32;1837 readonly maxTotalSize: u32;1838 readonly maxMessageSize: u32;1839 readonly msgCount: u32;1840 readonly totalSize: u32;1841 readonly mqcHead: Option<H256>;1842}18431844/** @name PolkadotPrimitivesV2PersistedValidationData */1845export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1846 readonly parentHead: Bytes;1847 readonly relayParentNumber: u32;1848 readonly relayParentStorageRoot: H256;1849 readonly maxPovSize: u32;1850}18511852/** @name PolkadotPrimitivesV2UpgradeRestriction */1853export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1854 readonly isPresent: boolean;1855 readonly type: 'Present';1856}18571858/** @name SpCoreEcdsaSignature */1859export interface SpCoreEcdsaSignature extends U8aFixed {}18601861/** @name SpCoreEd25519Signature */1862export interface SpCoreEd25519Signature extends U8aFixed {}18631864/** @name SpCoreSr25519Signature */1865export interface SpCoreSr25519Signature extends U8aFixed {}18661867/** @name SpRuntimeArithmeticError */1868export interface SpRuntimeArithmeticError extends Enum {1869 readonly isUnderflow: boolean;1870 readonly isOverflow: boolean;1871 readonly isDivisionByZero: boolean;1872 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1873}18741875/** @name SpRuntimeDigest */1876export interface SpRuntimeDigest extends Struct {1877 readonly logs: Vec<SpRuntimeDigestDigestItem>;1878}18791880/** @name SpRuntimeDigestDigestItem */1881export interface SpRuntimeDigestDigestItem extends Enum {1882 readonly isOther: boolean;1883 readonly asOther: Bytes;1884 readonly isConsensus: boolean;1885 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;1886 readonly isSeal: boolean;1887 readonly asSeal: ITuple<[U8aFixed, Bytes]>;1888 readonly isPreRuntime: boolean;1889 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;1890 readonly isRuntimeEnvironmentUpdated: boolean;1891 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1892}18931894/** @name SpRuntimeDispatchError */1895export interface SpRuntimeDispatchError extends Enum {1896 readonly isOther: boolean;1897 readonly isCannotLookup: boolean;1898 readonly isBadOrigin: boolean;1899 readonly isModule: boolean;1900 readonly asModule: SpRuntimeModuleError;1901 readonly isConsumerRemaining: boolean;1902 readonly isNoProviders: boolean;1903 readonly isTooManyConsumers: boolean;1904 readonly isToken: boolean;1905 readonly asToken: SpRuntimeTokenError;1906 readonly isArithmetic: boolean;1907 readonly asArithmetic: SpRuntimeArithmeticError;1908 readonly isTransactional: boolean;1909 readonly asTransactional: SpRuntimeTransactionalError;1910 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1911}19121913/** @name SpRuntimeModuleError */1914export interface SpRuntimeModuleError extends Struct {1915 readonly index: u8;1916 readonly error: U8aFixed;1917}19181919/** @name SpRuntimeMultiSignature */1920export interface SpRuntimeMultiSignature extends Enum {1921 readonly isEd25519: boolean;1922 readonly asEd25519: SpCoreEd25519Signature;1923 readonly isSr25519: boolean;1924 readonly asSr25519: SpCoreSr25519Signature;1925 readonly isEcdsa: boolean;1926 readonly asEcdsa: SpCoreEcdsaSignature;1927 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';1928}19291930/** @name SpRuntimeTokenError */1931export interface SpRuntimeTokenError extends Enum {1932 readonly isNoFunds: boolean;1933 readonly isWouldDie: boolean;1934 readonly isBelowMinimum: boolean;1935 readonly isCannotCreate: boolean;1936 readonly isUnknownAsset: boolean;1937 readonly isFrozen: boolean;1938 readonly isUnsupported: boolean;1939 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1940}19411942/** @name SpRuntimeTransactionalError */1943export interface SpRuntimeTransactionalError extends Enum {1944 readonly isLimitReached: boolean;1945 readonly isNoLayer: boolean;1946 readonly type: 'LimitReached' | 'NoLayer';1947}19481949/** @name SpTrieStorageProof */1950export interface SpTrieStorageProof extends Struct {1951 readonly trieNodes: BTreeSet<Bytes>;1952}19531954/** @name SpVersionRuntimeVersion */1955export interface SpVersionRuntimeVersion extends Struct {1956 readonly specName: Text;1957 readonly implName: Text;1958 readonly authoringVersion: u32;1959 readonly specVersion: u32;1960 readonly implVersion: u32;1961 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1962 readonly transactionVersion: u32;1963 readonly stateVersion: u8;1964}19651966/** @name UpDataStructsAccessMode */1967export interface UpDataStructsAccessMode extends Enum {1968 readonly isNormal: boolean;1969 readonly isAllowList: boolean;1970 readonly type: 'Normal' | 'AllowList';1971}19721973/** @name UpDataStructsCollection */1974export interface UpDataStructsCollection extends Struct {1975 readonly owner: AccountId32;1976 readonly mode: UpDataStructsCollectionMode;1977 readonly access: UpDataStructsAccessMode;1978 readonly name: Vec<u16>;1979 readonly description: Vec<u16>;1980 readonly tokenPrefix: Bytes;1981 readonly mintMode: bool;1982 readonly schemaVersion: UpDataStructsSchemaVersion;1983 readonly sponsorship: UpDataStructsSponsorshipState;1984 readonly limits: UpDataStructsCollectionLimits;1985}19861987/** @name UpDataStructsCollectionField */1988export interface UpDataStructsCollectionField extends Enum {1989 readonly isConstOnChainSchema: boolean;1990 readonly isOffchainSchema: boolean;1991 readonly type: 'ConstOnChainSchema' | 'OffchainSchema';1992}19931994/** @name UpDataStructsCollectionLimits */1995export interface UpDataStructsCollectionLimits extends Struct {1996 readonly accountTokenOwnershipLimit: Option<u32>;1997 readonly sponsoredDataSize: Option<u32>;1998 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1999 readonly tokenLimit: Option<u32>;2000 readonly sponsorTransferTimeout: Option<u32>;2001 readonly sponsorApproveTimeout: Option<u32>;2002 readonly ownerCanTransfer: Option<bool>;2003 readonly ownerCanDestroy: Option<bool>;2004 readonly transfersEnabled: Option<bool>;2005 readonly nestingRule: Option<UpDataStructsNestingRule>;2006}20072008/** @name UpDataStructsCollectionMode */2009export interface UpDataStructsCollectionMode extends Enum {2010 readonly isNft: boolean;2011 readonly isFungible: boolean;2012 readonly asFungible: u8;2013 readonly isReFungible: boolean;2014 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2015}20162017/** @name UpDataStructsCollectionStats */2018export interface UpDataStructsCollectionStats extends Struct {2019 readonly created: u32;2020 readonly destroyed: u32;2021 readonly alive: u32;2022}20232024/** @name UpDataStructsCreateCollectionData */2025export interface UpDataStructsCreateCollectionData extends Struct {2026 readonly mode: UpDataStructsCollectionMode;2027 readonly access: Option<UpDataStructsAccessMode>;2028 readonly name: Vec<u16>;2029 readonly description: Vec<u16>;2030 readonly tokenPrefix: Bytes;2031 readonly offchainSchema: Bytes;2032 readonly schemaVersion: Option<UpDataStructsSchemaVersion>;2033 readonly pendingSponsor: Option<AccountId32>;2034 readonly limits: Option<UpDataStructsCollectionLimits>;2035 readonly constOnChainSchema: Bytes;2036 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2037 readonly properties: Vec<UpDataStructsProperty>;2038}20392040/** @name UpDataStructsCreateFungibleData */2041export interface UpDataStructsCreateFungibleData extends Struct {2042 readonly value: u128;2043}20442045/** @name UpDataStructsCreateItemData */2046export interface UpDataStructsCreateItemData extends Enum {2047 readonly isNft: boolean;2048 readonly asNft: UpDataStructsCreateNftData;2049 readonly isFungible: boolean;2050 readonly asFungible: UpDataStructsCreateFungibleData;2051 readonly isReFungible: boolean;2052 readonly asReFungible: UpDataStructsCreateReFungibleData;2053 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2054}20552056/** @name UpDataStructsCreateItemExData */2057export interface UpDataStructsCreateItemExData extends Enum {2058 readonly isNft: boolean;2059 readonly asNft: Vec<UpDataStructsCreateNftExData>;2060 readonly isFungible: boolean;2061 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2062 readonly isRefungibleMultipleItems: boolean;2063 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;2064 readonly isRefungibleMultipleOwners: boolean;2065 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;2066 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2067}20682069/** @name UpDataStructsCreateNftData */2070export interface UpDataStructsCreateNftData extends Struct {2071 readonly constData: Bytes;2072 readonly properties: Vec<UpDataStructsProperty>;2073}20742075/** @name UpDataStructsCreateNftExData */2076export interface UpDataStructsCreateNftExData extends Struct {2077 readonly constData: Bytes;2078 readonly properties: Vec<UpDataStructsProperty>;2079 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2080}20812082/** @name UpDataStructsCreateReFungibleData */2083export interface UpDataStructsCreateReFungibleData extends Struct {2084 readonly constData: Bytes;2085 readonly pieces: u128;2086}20872088/** @name UpDataStructsCreateRefungibleExData */2089export interface UpDataStructsCreateRefungibleExData extends Struct {2090 readonly constData: Bytes;2091 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2092}20932094/** @name UpDataStructsNestingRule */2095export interface UpDataStructsNestingRule extends Enum {2096 readonly isDisabled: boolean;2097 readonly isOwner: boolean;2098 readonly isOwnerRestricted: boolean;2099 readonly asOwnerRestricted: BTreeSet<u32>;2100 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';2101}21022103/** @name UpDataStructsProperties */2104export interface UpDataStructsProperties extends Struct {2105 readonly map: UpDataStructsPropertiesMapBoundedVec;2106 readonly consumedSpace: u32;2107 readonly spaceLimit: u32;2108}21092110/** @name UpDataStructsPropertiesMapBoundedVec */2111export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}21122113/** @name UpDataStructsPropertiesMapPropertyPermission */2114export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}21152116/** @name UpDataStructsProperty */2117export interface UpDataStructsProperty extends Struct {2118 readonly key: Bytes;2119 readonly value: Bytes;2120}21212122/** @name UpDataStructsPropertyKeyPermission */2123export interface UpDataStructsPropertyKeyPermission extends Struct {2124 readonly key: Bytes;2125 readonly permission: UpDataStructsPropertyPermission;2126}21272128/** @name UpDataStructsPropertyPermission */2129export interface UpDataStructsPropertyPermission extends Struct {2130 readonly mutable: bool;2131 readonly collectionAdmin: bool;2132 readonly tokenOwner: bool;2133}21342135/** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple */2136export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {2137 readonly isAccountId: boolean;2138 readonly asAccountId: AccountId32;2139 readonly isCollectionAndNftTuple: boolean;2140 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2141 readonly type: 'AccountId' | 'CollectionAndNftTuple';2142}21432144/** @name UpDataStructsRmrkBaseInfo */2145export interface UpDataStructsRmrkBaseInfo extends Struct {2146 readonly issuer: AccountId32;2147 readonly baseType: Bytes;2148 readonly symbol: Bytes;2149}21502151/** @name UpDataStructsRmrkBasicResource */2152export interface UpDataStructsRmrkBasicResource extends Struct {2153 readonly src: Option<Bytes>;2154 readonly metadata: Option<Bytes>;2155 readonly license: Option<Bytes>;2156 readonly thumb: Option<Bytes>;2157}21582159/** @name UpDataStructsRmrkCollectionInfo */2160export interface UpDataStructsRmrkCollectionInfo extends Struct {2161 readonly issuer: AccountId32;2162 readonly metadata: Bytes;2163 readonly max: Option<u32>;2164 readonly symbol: Bytes;2165 readonly nftsCount: u32;2166}21672168/** @name UpDataStructsRmrkComposableResource */2169export interface UpDataStructsRmrkComposableResource extends Struct {2170 readonly parts: Vec<u32>;2171 readonly base: u32;2172 readonly src: Option<Bytes>;2173 readonly metadata: Option<Bytes>;2174 readonly license: Option<Bytes>;2175 readonly thumb: Option<Bytes>;2176}21772178/** @name UpDataStructsRmrkEquippableList */2179export interface UpDataStructsRmrkEquippableList extends Enum {2180 readonly isAll: boolean;2181 readonly isEmpty: boolean;2182 readonly isCustom: boolean;2183 readonly asCustom: Vec<u32>;2184 readonly type: 'All' | 'Empty' | 'Custom';2185}21862187/** @name UpDataStructsRmrkFixedPart */2188export interface UpDataStructsRmrkFixedPart extends Struct {2189 readonly id: u32;2190 readonly z: u32;2191 readonly src: Bytes;2192}21932194/** @name UpDataStructsRmrkNftChild */2195export interface UpDataStructsRmrkNftChild extends Struct {2196 readonly collectionId: u32;2197 readonly nftId: u32;2198}21992200/** @name UpDataStructsRmrkNftInfo */2201export interface UpDataStructsRmrkNftInfo extends Struct {2202 readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;2203 readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;2204 readonly metadata: Bytes;2205 readonly equipped: bool;2206 readonly pending: bool;2207}22082209/** @name UpDataStructsRmrkPartType */2210export interface UpDataStructsRmrkPartType extends Enum {2211 readonly isFixedPart: boolean;2212 readonly asFixedPart: UpDataStructsRmrkFixedPart;2213 readonly isSlotPart: boolean;2214 readonly asSlotPart: UpDataStructsRmrkSlotPart;2215 readonly type: 'FixedPart' | 'SlotPart';2216}22172218/** @name UpDataStructsRmrkPropertyInfo */2219export interface UpDataStructsRmrkPropertyInfo extends Struct {2220 readonly key: Bytes;2221 readonly value: Bytes;2222}22232224/** @name UpDataStructsRmrkResourceInfo */2225export interface UpDataStructsRmrkResourceInfo extends Struct {2226 readonly id: Bytes;2227 readonly resource: UpDataStructsRmrkResourceTypes;2228 readonly pending: bool;2229 readonly pendingRemoval: bool;2230}22312232/** @name UpDataStructsRmrkResourceTypes */2233export interface UpDataStructsRmrkResourceTypes extends Enum {2234 readonly isBasic: boolean;2235 readonly asBasic: UpDataStructsRmrkBasicResource;2236 readonly isComposable: boolean;2237 readonly asComposable: UpDataStructsRmrkComposableResource;2238 readonly isSlot: boolean;2239 readonly asSlot: UpDataStructsRmrkSlotResource;2240 readonly type: 'Basic' | 'Composable' | 'Slot';2241}22422243/** @name UpDataStructsRmrkRoyaltyInfo */2244export interface UpDataStructsRmrkRoyaltyInfo extends Struct {2245 readonly recipient: AccountId32;2246 readonly amount: Permill;2247}22482249/** @name UpDataStructsRmrkSlotPart */2250export interface UpDataStructsRmrkSlotPart extends Struct {2251 readonly id: u32;2252 readonly equippable: UpDataStructsRmrkEquippableList;2253 readonly src: Bytes;2254 readonly z: u32;2255}22562257/** @name UpDataStructsRmrkSlotResource */2258export interface UpDataStructsRmrkSlotResource extends Struct {2259 readonly base: u32;2260 readonly src: Option<Bytes>;2261 readonly metadata: Option<Bytes>;2262 readonly slot: u32;2263 readonly license: Option<Bytes>;2264 readonly thumb: Option<Bytes>;2265}22662267/** @name UpDataStructsRmrkTheme */2268export interface UpDataStructsRmrkTheme extends Struct {2269 readonly name: Bytes;2270 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;2271 readonly inherit: bool;2272}22732274/** @name UpDataStructsRmrkThemeProperty */2275export interface UpDataStructsRmrkThemeProperty extends Struct {2276 readonly key: Bytes;2277 readonly value: Bytes;2278}22792280/** @name UpDataStructsRpcCollection */2281export interface UpDataStructsRpcCollection extends Struct {2282 readonly owner: AccountId32;2283 readonly mode: UpDataStructsCollectionMode;2284 readonly access: UpDataStructsAccessMode;2285 readonly name: Vec<u16>;2286 readonly description: Vec<u16>;2287 readonly tokenPrefix: Bytes;2288 readonly mintMode: bool;2289 readonly offchainSchema: Bytes;2290 readonly schemaVersion: UpDataStructsSchemaVersion;2291 readonly sponsorship: UpDataStructsSponsorshipState;2292 readonly limits: UpDataStructsCollectionLimits;2293 readonly constOnChainSchema: Bytes;2294 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2295 readonly properties: Vec<UpDataStructsProperty>;2296}22972298/** @name UpDataStructsSchemaVersion */2299export interface UpDataStructsSchemaVersion extends Enum {2300 readonly isImageURL: boolean;2301 readonly isUnique: boolean;2302 readonly type: 'ImageURL' | 'Unique';2303}23042305/** @name UpDataStructsSponsoringRateLimit */2306export interface UpDataStructsSponsoringRateLimit extends Enum {2307 readonly isSponsoringDisabled: boolean;2308 readonly isBlocks: boolean;2309 readonly asBlocks: u32;2310 readonly type: 'SponsoringDisabled' | 'Blocks';2311}23122313/** @name UpDataStructsSponsorshipState */2314export interface UpDataStructsSponsorshipState extends Enum {2315 readonly isDisabled: boolean;2316 readonly isUnconfirmed: boolean;2317 readonly asUnconfirmed: AccountId32;2318 readonly isConfirmed: boolean;2319 readonly asConfirmed: AccountId32;2320 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2321}23222323/** @name UpDataStructsTokenData */2324export interface UpDataStructsTokenData extends Struct {2325 readonly constData: Bytes;2326 readonly properties: Vec<UpDataStructsProperty>;2327 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2328}23292330/** @name XcmDoubleEncoded */2331export interface XcmDoubleEncoded extends Struct {2332 readonly encoded: Bytes;2333}23342335/** @name XcmV0Junction */2336export interface XcmV0Junction extends Enum {2337 readonly isParent: boolean;2338 readonly isParachain: boolean;2339 readonly asParachain: Compact<u32>;2340 readonly isAccountId32: boolean;2341 readonly asAccountId32: {2342 readonly network: XcmV0JunctionNetworkId;2343 readonly id: U8aFixed;2344 } & Struct;2345 readonly isAccountIndex64: boolean;2346 readonly asAccountIndex64: {2347 readonly network: XcmV0JunctionNetworkId;2348 readonly index: Compact<u64>;2349 } & Struct;2350 readonly isAccountKey20: boolean;2351 readonly asAccountKey20: {2352 readonly network: XcmV0JunctionNetworkId;2353 readonly key: U8aFixed;2354 } & Struct;2355 readonly isPalletInstance: boolean;2356 readonly asPalletInstance: u8;2357 readonly isGeneralIndex: boolean;2358 readonly asGeneralIndex: Compact<u128>;2359 readonly isGeneralKey: boolean;2360 readonly asGeneralKey: Bytes;2361 readonly isOnlyChild: boolean;2362 readonly isPlurality: boolean;2363 readonly asPlurality: {2364 readonly id: XcmV0JunctionBodyId;2365 readonly part: XcmV0JunctionBodyPart;2366 } & Struct;2367 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2368}23692370/** @name XcmV0JunctionBodyId */2371export interface XcmV0JunctionBodyId extends Enum {2372 readonly isUnit: boolean;2373 readonly isNamed: boolean;2374 readonly asNamed: Bytes;2375 readonly isIndex: boolean;2376 readonly asIndex: Compact<u32>;2377 readonly isExecutive: boolean;2378 readonly isTechnical: boolean;2379 readonly isLegislative: boolean;2380 readonly isJudicial: boolean;2381 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2382}23832384/** @name XcmV0JunctionBodyPart */2385export interface XcmV0JunctionBodyPart extends Enum {2386 readonly isVoice: boolean;2387 readonly isMembers: boolean;2388 readonly asMembers: {2389 readonly count: Compact<u32>;2390 } & Struct;2391 readonly isFraction: boolean;2392 readonly asFraction: {2393 readonly nom: Compact<u32>;2394 readonly denom: Compact<u32>;2395 } & Struct;2396 readonly isAtLeastProportion: boolean;2397 readonly asAtLeastProportion: {2398 readonly nom: Compact<u32>;2399 readonly denom: Compact<u32>;2400 } & Struct;2401 readonly isMoreThanProportion: boolean;2402 readonly asMoreThanProportion: {2403 readonly nom: Compact<u32>;2404 readonly denom: Compact<u32>;2405 } & Struct;2406 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2407}24082409/** @name XcmV0JunctionNetworkId */2410export interface XcmV0JunctionNetworkId extends Enum {2411 readonly isAny: boolean;2412 readonly isNamed: boolean;2413 readonly asNamed: Bytes;2414 readonly isPolkadot: boolean;2415 readonly isKusama: boolean;2416 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2417}24182419/** @name XcmV0MultiAsset */2420export interface XcmV0MultiAsset extends Enum {2421 readonly isNone: boolean;2422 readonly isAll: boolean;2423 readonly isAllFungible: boolean;2424 readonly isAllNonFungible: boolean;2425 readonly isAllAbstractFungible: boolean;2426 readonly asAllAbstractFungible: {2427 readonly id: Bytes;2428 } & Struct;2429 readonly isAllAbstractNonFungible: boolean;2430 readonly asAllAbstractNonFungible: {2431 readonly class: Bytes;2432 } & Struct;2433 readonly isAllConcreteFungible: boolean;2434 readonly asAllConcreteFungible: {2435 readonly id: XcmV0MultiLocation;2436 } & Struct;2437 readonly isAllConcreteNonFungible: boolean;2438 readonly asAllConcreteNonFungible: {2439 readonly class: XcmV0MultiLocation;2440 } & Struct;2441 readonly isAbstractFungible: boolean;2442 readonly asAbstractFungible: {2443 readonly id: Bytes;2444 readonly amount: Compact<u128>;2445 } & Struct;2446 readonly isAbstractNonFungible: boolean;2447 readonly asAbstractNonFungible: {2448 readonly class: Bytes;2449 readonly instance: XcmV1MultiassetAssetInstance;2450 } & Struct;2451 readonly isConcreteFungible: boolean;2452 readonly asConcreteFungible: {2453 readonly id: XcmV0MultiLocation;2454 readonly amount: Compact<u128>;2455 } & Struct;2456 readonly isConcreteNonFungible: boolean;2457 readonly asConcreteNonFungible: {2458 readonly class: XcmV0MultiLocation;2459 readonly instance: XcmV1MultiassetAssetInstance;2460 } & Struct;2461 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2462}24632464/** @name XcmV0MultiLocation */2465export interface XcmV0MultiLocation extends Enum {2466 readonly isNull: boolean;2467 readonly isX1: boolean;2468 readonly asX1: XcmV0Junction;2469 readonly isX2: boolean;2470 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2471 readonly isX3: boolean;2472 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2473 readonly isX4: boolean;2474 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2475 readonly isX5: boolean;2476 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2477 readonly isX6: boolean;2478 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2479 readonly isX7: boolean;2480 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2481 readonly isX8: boolean;2482 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2483 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2484}24852486/** @name XcmV0Order */2487export interface XcmV0Order extends Enum {2488 readonly isNull: boolean;2489 readonly isDepositAsset: boolean;2490 readonly asDepositAsset: {2491 readonly assets: Vec<XcmV0MultiAsset>;2492 readonly dest: XcmV0MultiLocation;2493 } & Struct;2494 readonly isDepositReserveAsset: boolean;2495 readonly asDepositReserveAsset: {2496 readonly assets: Vec<XcmV0MultiAsset>;2497 readonly dest: XcmV0MultiLocation;2498 readonly effects: Vec<XcmV0Order>;2499 } & Struct;2500 readonly isExchangeAsset: boolean;2501 readonly asExchangeAsset: {2502 readonly give: Vec<XcmV0MultiAsset>;2503 readonly receive: Vec<XcmV0MultiAsset>;2504 } & Struct;2505 readonly isInitiateReserveWithdraw: boolean;2506 readonly asInitiateReserveWithdraw: {2507 readonly assets: Vec<XcmV0MultiAsset>;2508 readonly reserve: XcmV0MultiLocation;2509 readonly effects: Vec<XcmV0Order>;2510 } & Struct;2511 readonly isInitiateTeleport: boolean;2512 readonly asInitiateTeleport: {2513 readonly assets: Vec<XcmV0MultiAsset>;2514 readonly dest: XcmV0MultiLocation;2515 readonly effects: Vec<XcmV0Order>;2516 } & Struct;2517 readonly isQueryHolding: boolean;2518 readonly asQueryHolding: {2519 readonly queryId: Compact<u64>;2520 readonly dest: XcmV0MultiLocation;2521 readonly assets: Vec<XcmV0MultiAsset>;2522 } & Struct;2523 readonly isBuyExecution: boolean;2524 readonly asBuyExecution: {2525 readonly fees: XcmV0MultiAsset;2526 readonly weight: u64;2527 readonly debt: u64;2528 readonly haltOnError: bool;2529 readonly xcm: Vec<XcmV0Xcm>;2530 } & Struct;2531 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2532}25332534/** @name XcmV0OriginKind */2535export interface XcmV0OriginKind extends Enum {2536 readonly isNative: boolean;2537 readonly isSovereignAccount: boolean;2538 readonly isSuperuser: boolean;2539 readonly isXcm: boolean;2540 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2541}25422543/** @name XcmV0Response */2544export interface XcmV0Response extends Enum {2545 readonly isAssets: boolean;2546 readonly asAssets: Vec<XcmV0MultiAsset>;2547 readonly type: 'Assets';2548}25492550/** @name XcmV0Xcm */2551export interface XcmV0Xcm extends Enum {2552 readonly isWithdrawAsset: boolean;2553 readonly asWithdrawAsset: {2554 readonly assets: Vec<XcmV0MultiAsset>;2555 readonly effects: Vec<XcmV0Order>;2556 } & Struct;2557 readonly isReserveAssetDeposit: boolean;2558 readonly asReserveAssetDeposit: {2559 readonly assets: Vec<XcmV0MultiAsset>;2560 readonly effects: Vec<XcmV0Order>;2561 } & Struct;2562 readonly isTeleportAsset: boolean;2563 readonly asTeleportAsset: {2564 readonly assets: Vec<XcmV0MultiAsset>;2565 readonly effects: Vec<XcmV0Order>;2566 } & Struct;2567 readonly isQueryResponse: boolean;2568 readonly asQueryResponse: {2569 readonly queryId: Compact<u64>;2570 readonly response: XcmV0Response;2571 } & Struct;2572 readonly isTransferAsset: boolean;2573 readonly asTransferAsset: {2574 readonly assets: Vec<XcmV0MultiAsset>;2575 readonly dest: XcmV0MultiLocation;2576 } & Struct;2577 readonly isTransferReserveAsset: boolean;2578 readonly asTransferReserveAsset: {2579 readonly assets: Vec<XcmV0MultiAsset>;2580 readonly dest: XcmV0MultiLocation;2581 readonly effects: Vec<XcmV0Order>;2582 } & Struct;2583 readonly isTransact: boolean;2584 readonly asTransact: {2585 readonly originType: XcmV0OriginKind;2586 readonly requireWeightAtMost: u64;2587 readonly call: XcmDoubleEncoded;2588 } & Struct;2589 readonly isHrmpNewChannelOpenRequest: boolean;2590 readonly asHrmpNewChannelOpenRequest: {2591 readonly sender: Compact<u32>;2592 readonly maxMessageSize: Compact<u32>;2593 readonly maxCapacity: Compact<u32>;2594 } & Struct;2595 readonly isHrmpChannelAccepted: boolean;2596 readonly asHrmpChannelAccepted: {2597 readonly recipient: Compact<u32>;2598 } & Struct;2599 readonly isHrmpChannelClosing: boolean;2600 readonly asHrmpChannelClosing: {2601 readonly initiator: Compact<u32>;2602 readonly sender: Compact<u32>;2603 readonly recipient: Compact<u32>;2604 } & Struct;2605 readonly isRelayedFrom: boolean;2606 readonly asRelayedFrom: {2607 readonly who: XcmV0MultiLocation;2608 readonly message: XcmV0Xcm;2609 } & Struct;2610 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2611}26122613/** @name XcmV1Junction */2614export interface XcmV1Junction extends Enum {2615 readonly isParachain: boolean;2616 readonly asParachain: Compact<u32>;2617 readonly isAccountId32: boolean;2618 readonly asAccountId32: {2619 readonly network: XcmV0JunctionNetworkId;2620 readonly id: U8aFixed;2621 } & Struct;2622 readonly isAccountIndex64: boolean;2623 readonly asAccountIndex64: {2624 readonly network: XcmV0JunctionNetworkId;2625 readonly index: Compact<u64>;2626 } & Struct;2627 readonly isAccountKey20: boolean;2628 readonly asAccountKey20: {2629 readonly network: XcmV0JunctionNetworkId;2630 readonly key: U8aFixed;2631 } & Struct;2632 readonly isPalletInstance: boolean;2633 readonly asPalletInstance: u8;2634 readonly isGeneralIndex: boolean;2635 readonly asGeneralIndex: Compact<u128>;2636 readonly isGeneralKey: boolean;2637 readonly asGeneralKey: Bytes;2638 readonly isOnlyChild: boolean;2639 readonly isPlurality: boolean;2640 readonly asPlurality: {2641 readonly id: XcmV0JunctionBodyId;2642 readonly part: XcmV0JunctionBodyPart;2643 } & Struct;2644 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2645}26462647/** @name XcmV1MultiAsset */2648export interface XcmV1MultiAsset extends Struct {2649 readonly id: XcmV1MultiassetAssetId;2650 readonly fun: XcmV1MultiassetFungibility;2651}26522653/** @name XcmV1MultiassetAssetId */2654export interface XcmV1MultiassetAssetId extends Enum {2655 readonly isConcrete: boolean;2656 readonly asConcrete: XcmV1MultiLocation;2657 readonly isAbstract: boolean;2658 readonly asAbstract: Bytes;2659 readonly type: 'Concrete' | 'Abstract';2660}26612662/** @name XcmV1MultiassetAssetInstance */2663export interface XcmV1MultiassetAssetInstance extends Enum {2664 readonly isUndefined: boolean;2665 readonly isIndex: boolean;2666 readonly asIndex: Compact<u128>;2667 readonly isArray4: boolean;2668 readonly asArray4: U8aFixed;2669 readonly isArray8: boolean;2670 readonly asArray8: U8aFixed;2671 readonly isArray16: boolean;2672 readonly asArray16: U8aFixed;2673 readonly isArray32: boolean;2674 readonly asArray32: U8aFixed;2675 readonly isBlob: boolean;2676 readonly asBlob: Bytes;2677 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';2678}26792680/** @name XcmV1MultiassetFungibility */2681export interface XcmV1MultiassetFungibility extends Enum {2682 readonly isFungible: boolean;2683 readonly asFungible: Compact<u128>;2684 readonly isNonFungible: boolean;2685 readonly asNonFungible: XcmV1MultiassetAssetInstance;2686 readonly type: 'Fungible' | 'NonFungible';2687}26882689/** @name XcmV1MultiassetMultiAssetFilter */2690export interface XcmV1MultiassetMultiAssetFilter extends Enum {2691 readonly isDefinite: boolean;2692 readonly asDefinite: XcmV1MultiassetMultiAssets;2693 readonly isWild: boolean;2694 readonly asWild: XcmV1MultiassetWildMultiAsset;2695 readonly type: 'Definite' | 'Wild';2696}26972698/** @name XcmV1MultiassetMultiAssets */2699export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}27002701/** @name XcmV1MultiassetWildFungibility */2702export interface XcmV1MultiassetWildFungibility extends Enum {2703 readonly isFungible: boolean;2704 readonly isNonFungible: boolean;2705 readonly type: 'Fungible' | 'NonFungible';2706}27072708/** @name XcmV1MultiassetWildMultiAsset */2709export interface XcmV1MultiassetWildMultiAsset extends Enum {2710 readonly isAll: boolean;2711 readonly isAllOf: boolean;2712 readonly asAllOf: {2713 readonly id: XcmV1MultiassetAssetId;2714 readonly fun: XcmV1MultiassetWildFungibility;2715 } & Struct;2716 readonly type: 'All' | 'AllOf';2717}27182719/** @name XcmV1MultiLocation */2720export interface XcmV1MultiLocation extends Struct {2721 readonly parents: u8;2722 readonly interior: XcmV1MultilocationJunctions;2723}27242725/** @name XcmV1MultilocationJunctions */2726export interface XcmV1MultilocationJunctions extends Enum {2727 readonly isHere: boolean;2728 readonly isX1: boolean;2729 readonly asX1: XcmV1Junction;2730 readonly isX2: boolean;2731 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;2732 readonly isX3: boolean;2733 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2734 readonly isX4: boolean;2735 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2736 readonly isX5: boolean;2737 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2738 readonly isX6: boolean;2739 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2740 readonly isX7: boolean;2741 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2742 readonly isX8: boolean;2743 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2744 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2745}27462747/** @name XcmV1Order */2748export interface XcmV1Order extends Enum {2749 readonly isNoop: boolean;2750 readonly isDepositAsset: boolean;2751 readonly asDepositAsset: {2752 readonly assets: XcmV1MultiassetMultiAssetFilter;2753 readonly maxAssets: u32;2754 readonly beneficiary: XcmV1MultiLocation;2755 } & Struct;2756 readonly isDepositReserveAsset: boolean;2757 readonly asDepositReserveAsset: {2758 readonly assets: XcmV1MultiassetMultiAssetFilter;2759 readonly maxAssets: u32;2760 readonly dest: XcmV1MultiLocation;2761 readonly effects: Vec<XcmV1Order>;2762 } & Struct;2763 readonly isExchangeAsset: boolean;2764 readonly asExchangeAsset: {2765 readonly give: XcmV1MultiassetMultiAssetFilter;2766 readonly receive: XcmV1MultiassetMultiAssets;2767 } & Struct;2768 readonly isInitiateReserveWithdraw: boolean;2769 readonly asInitiateReserveWithdraw: {2770 readonly assets: XcmV1MultiassetMultiAssetFilter;2771 readonly reserve: XcmV1MultiLocation;2772 readonly effects: Vec<XcmV1Order>;2773 } & Struct;2774 readonly isInitiateTeleport: boolean;2775 readonly asInitiateTeleport: {2776 readonly assets: XcmV1MultiassetMultiAssetFilter;2777 readonly dest: XcmV1MultiLocation;2778 readonly effects: Vec<XcmV1Order>;2779 } & Struct;2780 readonly isQueryHolding: boolean;2781 readonly asQueryHolding: {2782 readonly queryId: Compact<u64>;2783 readonly dest: XcmV1MultiLocation;2784 readonly assets: XcmV1MultiassetMultiAssetFilter;2785 } & Struct;2786 readonly isBuyExecution: boolean;2787 readonly asBuyExecution: {2788 readonly fees: XcmV1MultiAsset;2789 readonly weight: u64;2790 readonly debt: u64;2791 readonly haltOnError: bool;2792 readonly instructions: Vec<XcmV1Xcm>;2793 } & Struct;2794 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2795}27962797/** @name XcmV1Response */2798export interface XcmV1Response extends Enum {2799 readonly isAssets: boolean;2800 readonly asAssets: XcmV1MultiassetMultiAssets;2801 readonly isVersion: boolean;2802 readonly asVersion: u32;2803 readonly type: 'Assets' | 'Version';2804}28052806/** @name XcmV1Xcm */2807export interface XcmV1Xcm extends Enum {2808 readonly isWithdrawAsset: boolean;2809 readonly asWithdrawAsset: {2810 readonly assets: XcmV1MultiassetMultiAssets;2811 readonly effects: Vec<XcmV1Order>;2812 } & Struct;2813 readonly isReserveAssetDeposited: boolean;2814 readonly asReserveAssetDeposited: {2815 readonly assets: XcmV1MultiassetMultiAssets;2816 readonly effects: Vec<XcmV1Order>;2817 } & Struct;2818 readonly isReceiveTeleportedAsset: boolean;2819 readonly asReceiveTeleportedAsset: {2820 readonly assets: XcmV1MultiassetMultiAssets;2821 readonly effects: Vec<XcmV1Order>;2822 } & Struct;2823 readonly isQueryResponse: boolean;2824 readonly asQueryResponse: {2825 readonly queryId: Compact<u64>;2826 readonly response: XcmV1Response;2827 } & Struct;2828 readonly isTransferAsset: boolean;2829 readonly asTransferAsset: {2830 readonly assets: XcmV1MultiassetMultiAssets;2831 readonly beneficiary: XcmV1MultiLocation;2832 } & Struct;2833 readonly isTransferReserveAsset: boolean;2834 readonly asTransferReserveAsset: {2835 readonly assets: XcmV1MultiassetMultiAssets;2836 readonly dest: XcmV1MultiLocation;2837 readonly effects: Vec<XcmV1Order>;2838 } & Struct;2839 readonly isTransact: boolean;2840 readonly asTransact: {2841 readonly originType: XcmV0OriginKind;2842 readonly requireWeightAtMost: u64;2843 readonly call: XcmDoubleEncoded;2844 } & Struct;2845 readonly isHrmpNewChannelOpenRequest: boolean;2846 readonly asHrmpNewChannelOpenRequest: {2847 readonly sender: Compact<u32>;2848 readonly maxMessageSize: Compact<u32>;2849 readonly maxCapacity: Compact<u32>;2850 } & Struct;2851 readonly isHrmpChannelAccepted: boolean;2852 readonly asHrmpChannelAccepted: {2853 readonly recipient: Compact<u32>;2854 } & Struct;2855 readonly isHrmpChannelClosing: boolean;2856 readonly asHrmpChannelClosing: {2857 readonly initiator: Compact<u32>;2858 readonly sender: Compact<u32>;2859 readonly recipient: Compact<u32>;2860 } & Struct;2861 readonly isRelayedFrom: boolean;2862 readonly asRelayedFrom: {2863 readonly who: XcmV1MultilocationJunctions;2864 readonly message: XcmV1Xcm;2865 } & Struct;2866 readonly isSubscribeVersion: boolean;2867 readonly asSubscribeVersion: {2868 readonly queryId: Compact<u64>;2869 readonly maxResponseWeight: Compact<u64>;2870 } & Struct;2871 readonly isUnsubscribeVersion: boolean;2872 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2873}28742875/** @name XcmV2Instruction */2876export interface XcmV2Instruction extends Enum {2877 readonly isWithdrawAsset: boolean;2878 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;2879 readonly isReserveAssetDeposited: boolean;2880 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;2881 readonly isReceiveTeleportedAsset: boolean;2882 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;2883 readonly isQueryResponse: boolean;2884 readonly asQueryResponse: {2885 readonly queryId: Compact<u64>;2886 readonly response: XcmV2Response;2887 readonly maxWeight: Compact<u64>;2888 } & Struct;2889 readonly isTransferAsset: boolean;2890 readonly asTransferAsset: {2891 readonly assets: XcmV1MultiassetMultiAssets;2892 readonly beneficiary: XcmV1MultiLocation;2893 } & Struct;2894 readonly isTransferReserveAsset: boolean;2895 readonly asTransferReserveAsset: {2896 readonly assets: XcmV1MultiassetMultiAssets;2897 readonly dest: XcmV1MultiLocation;2898 readonly xcm: XcmV2Xcm;2899 } & Struct;2900 readonly isTransact: boolean;2901 readonly asTransact: {2902 readonly originType: XcmV0OriginKind;2903 readonly requireWeightAtMost: Compact<u64>;2904 readonly call: XcmDoubleEncoded;2905 } & Struct;2906 readonly isHrmpNewChannelOpenRequest: boolean;2907 readonly asHrmpNewChannelOpenRequest: {2908 readonly sender: Compact<u32>;2909 readonly maxMessageSize: Compact<u32>;2910 readonly maxCapacity: Compact<u32>;2911 } & Struct;2912 readonly isHrmpChannelAccepted: boolean;2913 readonly asHrmpChannelAccepted: {2914 readonly recipient: Compact<u32>;2915 } & Struct;2916 readonly isHrmpChannelClosing: boolean;2917 readonly asHrmpChannelClosing: {2918 readonly initiator: Compact<u32>;2919 readonly sender: Compact<u32>;2920 readonly recipient: Compact<u32>;2921 } & Struct;2922 readonly isClearOrigin: boolean;2923 readonly isDescendOrigin: boolean;2924 readonly asDescendOrigin: XcmV1MultilocationJunctions;2925 readonly isReportError: boolean;2926 readonly asReportError: {2927 readonly queryId: Compact<u64>;2928 readonly dest: XcmV1MultiLocation;2929 readonly maxResponseWeight: Compact<u64>;2930 } & Struct;2931 readonly isDepositAsset: boolean;2932 readonly asDepositAsset: {2933 readonly assets: XcmV1MultiassetMultiAssetFilter;2934 readonly maxAssets: Compact<u32>;2935 readonly beneficiary: XcmV1MultiLocation;2936 } & Struct;2937 readonly isDepositReserveAsset: boolean;2938 readonly asDepositReserveAsset: {2939 readonly assets: XcmV1MultiassetMultiAssetFilter;2940 readonly maxAssets: Compact<u32>;2941 readonly dest: XcmV1MultiLocation;2942 readonly xcm: XcmV2Xcm;2943 } & Struct;2944 readonly isExchangeAsset: boolean;2945 readonly asExchangeAsset: {2946 readonly give: XcmV1MultiassetMultiAssetFilter;2947 readonly receive: XcmV1MultiassetMultiAssets;2948 } & Struct;2949 readonly isInitiateReserveWithdraw: boolean;2950 readonly asInitiateReserveWithdraw: {2951 readonly assets: XcmV1MultiassetMultiAssetFilter;2952 readonly reserve: XcmV1MultiLocation;2953 readonly xcm: XcmV2Xcm;2954 } & Struct;2955 readonly isInitiateTeleport: boolean;2956 readonly asInitiateTeleport: {2957 readonly assets: XcmV1MultiassetMultiAssetFilter;2958 readonly dest: XcmV1MultiLocation;2959 readonly xcm: XcmV2Xcm;2960 } & Struct;2961 readonly isQueryHolding: boolean;2962 readonly asQueryHolding: {2963 readonly queryId: Compact<u64>;2964 readonly dest: XcmV1MultiLocation;2965 readonly assets: XcmV1MultiassetMultiAssetFilter;2966 readonly maxResponseWeight: Compact<u64>;2967 } & Struct;2968 readonly isBuyExecution: boolean;2969 readonly asBuyExecution: {2970 readonly fees: XcmV1MultiAsset;2971 readonly weightLimit: XcmV2WeightLimit;2972 } & Struct;2973 readonly isRefundSurplus: boolean;2974 readonly isSetErrorHandler: boolean;2975 readonly asSetErrorHandler: XcmV2Xcm;2976 readonly isSetAppendix: boolean;2977 readonly asSetAppendix: XcmV2Xcm;2978 readonly isClearError: boolean;2979 readonly isClaimAsset: boolean;2980 readonly asClaimAsset: {2981 readonly assets: XcmV1MultiassetMultiAssets;2982 readonly ticket: XcmV1MultiLocation;2983 } & Struct;2984 readonly isTrap: boolean;2985 readonly asTrap: Compact<u64>;2986 readonly isSubscribeVersion: boolean;2987 readonly asSubscribeVersion: {2988 readonly queryId: Compact<u64>;2989 readonly maxResponseWeight: Compact<u64>;2990 } & Struct;2991 readonly isUnsubscribeVersion: boolean;2992 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';2993}29942995/** @name XcmV2Response */2996export interface XcmV2Response extends Enum {2997 readonly isNull: boolean;2998 readonly isAssets: boolean;2999 readonly asAssets: XcmV1MultiassetMultiAssets;3000 readonly isExecutionResult: boolean;3001 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3002 readonly isVersion: boolean;3003 readonly asVersion: u32;3004 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3005}30063007/** @name XcmV2TraitsError */3008export interface XcmV2TraitsError extends Enum {3009 readonly isOverflow: boolean;3010 readonly isUnimplemented: boolean;3011 readonly isUntrustedReserveLocation: boolean;3012 readonly isUntrustedTeleportLocation: boolean;3013 readonly isMultiLocationFull: boolean;3014 readonly isMultiLocationNotInvertible: boolean;3015 readonly isBadOrigin: boolean;3016 readonly isInvalidLocation: boolean;3017 readonly isAssetNotFound: boolean;3018 readonly isFailedToTransactAsset: boolean;3019 readonly isNotWithdrawable: boolean;3020 readonly isLocationCannotHold: boolean;3021 readonly isExceedsMaxMessageSize: boolean;3022 readonly isDestinationUnsupported: boolean;3023 readonly isTransport: boolean;3024 readonly isUnroutable: boolean;3025 readonly isUnknownClaim: boolean;3026 readonly isFailedToDecode: boolean;3027 readonly isMaxWeightInvalid: boolean;3028 readonly isNotHoldingFees: boolean;3029 readonly isTooExpensive: boolean;3030 readonly isTrap: boolean;3031 readonly asTrap: u64;3032 readonly isUnhandledXcmVersion: boolean;3033 readonly isWeightLimitReached: boolean;3034 readonly asWeightLimitReached: u64;3035 readonly isBarrier: boolean;3036 readonly isWeightNotComputable: boolean;3037 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';3038}30393040/** @name XcmV2TraitsOutcome */3041export interface XcmV2TraitsOutcome extends Enum {3042 readonly isComplete: boolean;3043 readonly asComplete: u64;3044 readonly isIncomplete: boolean;3045 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3046 readonly isError: boolean;3047 readonly asError: XcmV2TraitsError;3048 readonly type: 'Complete' | 'Incomplete' | 'Error';3049}30503051/** @name XcmV2WeightLimit */3052export interface XcmV2WeightLimit extends Enum {3053 readonly isUnlimited: boolean;3054 readonly isLimited: boolean;3055 readonly asLimited: Compact<u64>;3056 readonly type: 'Unlimited' | 'Limited';3057}30583059/** @name XcmV2Xcm */3060export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}30613062/** @name XcmVersionedMultiAssets */3063export interface XcmVersionedMultiAssets extends Enum {3064 readonly isV0: boolean;3065 readonly asV0: Vec<XcmV0MultiAsset>;3066 readonly isV1: boolean;3067 readonly asV1: XcmV1MultiassetMultiAssets;3068 readonly type: 'V0' | 'V1';3069}30703071/** @name XcmVersionedMultiLocation */3072export interface XcmVersionedMultiLocation extends Enum {3073 readonly isV0: boolean;3074 readonly asV0: XcmV0MultiLocation;3075 readonly isV1: boolean;3076 readonly asV1: XcmV1MultiLocation;3077 readonly type: 'V0' | 'V1';3078}30793080/** @name XcmVersionedXcm */3081export interface XcmVersionedXcm extends Enum {3082 readonly isV0: boolean;3083 readonly asV0: XcmV0Xcm;3084 readonly isV1: boolean;3085 readonly asV1: XcmV1Xcm;3086 readonly isV2: boolean;3087 readonly asV2: XcmV2Xcm;3088 readonly type: 'V0' | 'V1' | 'V2';3089}30903091export type PHANTOM_UNIQUE = 'unique';