difftreelog
feat(rpc) topmostTokenOwner
in: master
15 files changed
client/rpc/src/lib.rsdiffbeforeafterboth--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -48,6 +48,13 @@
token: TokenId,
at: Option<BlockHash>,
) -> Result<Option<CrossAccountId>>;
+ #[rpc(name = "unique_topmostTokenOwner")]
+ fn topmost_token_owner(
+ &self,
+ collection: CollectionId,
+ token: TokenId,
+ at: Option<BlockHash>,
+ ) -> Result<Option<CrossAccountId>>;
#[rpc(name = "unique_constMetadata")]
fn const_metadata(
&self,
@@ -224,6 +231,7 @@
token_owner(collection: CollectionId, token: TokenId) -> Option<CrossAccountId>;
changed_in 2, token_owner_before_version_2(collection, token) => |u| Some(u)
);
+ pass_method!(topmost_token_owner(collection: CollectionId, token: TokenId) -> Option<CrossAccountId>);
pass_method!(const_metadata(collection: CollectionId, token: TokenId) -> Vec<u8>);
pass_method!(variable_metadata(collection: CollectionId, token: TokenId) -> Vec<u8>);
pass_method!(collection_tokens(collection: CollectionId) -> u32);
primitives/rpc/src/lib.rsdiffbeforeafterboth--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -36,6 +36,7 @@
fn token_exists(collection: CollectionId, token: TokenId) -> Result<bool>;
fn token_owner(collection: CollectionId, token: TokenId) -> Result<Option<CrossAccountId>>;
+ fn topmost_token_owner(collection: CollectionId, token: TokenId) -> Result<Option<CrossAccountId>>;
fn const_metadata(collection: CollectionId, token: TokenId) -> Result<Vec<u8>>;
fn variable_metadata(collection: CollectionId, token: TokenId) -> Result<Vec<u8>>;
runtime/common/src/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/src/runtime_apis.rs
+++ b/runtime/common/src/runtime_apis.rs
@@ -21,6 +21,11 @@
fn token_owner(collection: CollectionId, token: TokenId) -> Result<Option<CrossAccountId>, DispatchError> {
dispatch_unique_runtime!(collection.token_owner(token))
}
+ fn topmost_token_owner(collection: CollectionId, token: TokenId) -> Result<Option<CrossAccountId>, DispatchError> {
+ let budget = up_data_structs::budget::Value::new(5);
+
+ Ok(Some(<pallet_structure::Pallet<Runtime>>::find_topmost_owner(collection, token, &budget)?))
+ }
fn const_metadata(collection: CollectionId, token: TokenId) -> Result<Vec<u8>, DispatchError> {
dispatch_unique_runtime!(collection.const_metadata(token))
}
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -73,6 +73,10 @@
**/
CollectionDescriptionLimitExceeded: AugmentedError<ApiType>;
/**
+ * Tried to store more data than allowed in collection field
+ **/
+ CollectionFieldSizeExceeded: AugmentedError<ApiType>;
+ /**
* Collection limit bounds per collection exceeded
**/
CollectionLimitBoundsExceeded: AugmentedError<ApiType>;
@@ -101,6 +105,10 @@
**/
MustBeTokenOwner: AugmentedError<ApiType>;
/**
+ * Collection has nesting disabled
+ **/
+ NestingIsDisabled: AugmentedError<ApiType>;
+ /**
* No permission to perform action
**/
NoPermission: AugmentedError<ApiType>;
@@ -109,6 +117,10 @@
**/
NotSufficientFounds: AugmentedError<ApiType>;
/**
+ * Only owner may nest tokens under this collection
+ **/
+ OnlyOwnerAllowedToNest: AugmentedError<ApiType>;
+ /**
* Tried to enable permissions which are only permitted to be disabled
**/
OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;
@@ -117,6 +129,10 @@
**/
PublicMintingNotAllowed: AugmentedError<ApiType>;
/**
+ * Only tokens from specific collections may nest tokens under this
+ **/
+ SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;
+ /**
* Item not exists.
**/
TokenNotFound: AugmentedError<ApiType>;
@@ -237,6 +253,10 @@
};
fungible: {
/**
+ * Fungible token does not support nested
+ **/
+ FungibleDisallowsNesting: AugmentedError<ApiType>;
+ /**
* Tried to set data for fungible item
**/
FungibleItemsDontHaveData: AugmentedError<ApiType>;
@@ -373,6 +393,10 @@
**/
NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
/**
+ * Refungible token can't nest other tokens
+ **/
+ RefungibleDisallowsNesting: AugmentedError<ApiType>;
+ /**
* Maximum refungibility exceeded
**/
WrongRefungiblePieces: AugmentedError<ApiType>;
@@ -381,6 +405,24 @@
**/
[key: string]: AugmentedError<ApiType>;
};
+ structure: {
+ /**
+ * While searched for owner, encountered depth limit
+ **/
+ DepthLimit: AugmentedError<ApiType>;
+ /**
+ * While searched for owner, got already checked account
+ **/
+ OuroborosDetected: AugmentedError<ApiType>;
+ /**
+ * While searched for owner, found token owner by not-yet-existing token
+ **/
+ TokenNotFound: AugmentedError<ApiType>;
+ /**
+ * Generic error
+ **/
+ [key: string]: AugmentedError<ApiType>;
+ };
sudo: {
/**
* Sender must be the Sudo account
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -391,6 +391,16 @@
**/
[key: string]: AugmentedEvent<ApiType>;
};
+ structure: {
+ /**
+ * Executed call on behalf of token
+ **/
+ Executed: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
+ /**
+ * Generic event
+ **/
+ [key: string]: AugmentedEvent<ApiType>;
+ };
sudo: {
/**
* The \[sudoer\] just switched identity; the old key is supplied if one existed.
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -5,7 +5,7 @@
import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollectionField, UpDataStructsCollectionStats, UpDataStructsCollectionVersion2 } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
declare module '@polkadot/api-base/types/storage' {
@@ -13,25 +13,25 @@
balances: {
/**
* The Balances pallet example of storing the balance of an account.
- *
+ *
* # Example
- *
+ *
* ```nocompile
* impl pallet_balances::Config for Runtime {
* type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
* }
* ```
- *
+ *
* You can also store the balance of an account in the `System` pallet.
- *
+ *
* # Example
- *
+ *
* ```nocompile
* impl pallet_balances::Config for Runtime {
* type AccountStore = System
* }
* ```
- *
+ *
* But this comes with tradeoffs, storing account balances in the system pallet stores
* `frame_system` data alongside the account data contrary to storing account balances in the
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
@@ -49,7 +49,7 @@
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Storage version of the pallet.
- *
+ *
* This is set to v2.0.0 for new networks.
**/
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;
@@ -77,13 +77,17 @@
/**
* Collection info
**/
- collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollectionVersion2>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ /**
+ * Large variable-size collection fields are extracted here
+ **/
+ collectionData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: UpDataStructsCollectionField | 'VariableOnChainSchema' | 'ConstOnChainSchema' | 'OffchainSchema' | number | Uint8Array) => Observable<Bytes>, [u32, UpDataStructsCollectionField]> & QueryableStorageEntry<ApiType, [u32, UpDataStructsCollectionField]>;
createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Not used by code, exists only to provide some types to metadata
**/
- dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
+ dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* List of collection admins
**/
@@ -245,7 +249,7 @@
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A custom head data that should be returned as result of `validate_block`.
- *
+ *
* See [`Pallet::set_custom_validation_head_data`] for more information.
**/
customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -255,35 +259,35 @@
didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The parachain host configuration that was obtained from the relay parent.
- *
+ *
* This field is meant to be updated each block with the validation data inherent. Therefore,
* before processing of the inherent, e.g. in `on_initialize` this data may be stale.
- *
+ *
* This data is also absent from the genesis.
**/
hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* HRMP messages that were sent in a block.
- *
+ *
* This will be cleared in `on_initialize` of each new block.
**/
hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* HRMP watermark that was set in a block.
- *
+ *
* This will be cleared in `on_initialize` of each new block.
**/
hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The last downward message queue chain head we have observed.
- *
+ *
* This value is loaded before and saved after processing inbound downward messages carried
* by the system inherent.
**/
lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The message queue chain heads we have observed per each channel incoming channel.
- *
+ *
* This value is loaded before and saved after processing inbound downward messages carried
* by the system inherent.
**/
@@ -291,7 +295,7 @@
/**
* Validation code that is set by the parachain and is to be communicated to collator and
* consequently the relay-chain.
- *
+ *
* This will be cleared in `on_initialize` of each new block if no other pallet already set
* the value.
**/
@@ -302,35 +306,35 @@
pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* In case of a scheduled upgrade, this storage field contains the validation code to be applied.
- *
+ *
* As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]
* which will result the next block process with the new validation code. This concludes the upgrade process.
- *
+ *
* [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE
**/
pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of downward messages processed in a block.
- *
+ *
* This will be cleared in `on_initialize` of each new block.
**/
processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The state proof for the last relay parent block.
- *
+ *
* This field is meant to be updated each block with the validation data inherent. Therefore,
* before processing of the inherent, e.g. in `on_initialize` this data may be stale.
- *
+ *
* This data is also absent from the genesis.
**/
relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The snapshot of some state related to messaging relevant to the current parachain as per
* the relay parent.
- *
+ *
* This field is meant to be updated each block with the validation data inherent. Therefore,
* before processing of the inherent, e.g. in `on_initialize` this data may be stale.
- *
+ *
* This data is also absent from the genesis.
**/
relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -348,7 +352,7 @@
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
* In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
* candidate will be invalid.
- *
+ *
* This storage item is a mirror of the corresponding value for the current parachain from the
* relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
* set after the inherent.
@@ -356,7 +360,7 @@
upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Upward messages that were sent in a block.
- *
+ *
* This will be cleared in `on_initialize` of each new block.
**/
upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
@@ -400,6 +404,12 @@
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
+ structure: {
+ /**
+ * Generic query
+ **/
+ [key: string]: QueryableStorageEntry<ApiType>;
+ };
sudo: {
/**
* The `AccountId` of the sudo key.
@@ -437,10 +447,10 @@
eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Events deposited for the current block.
- *
+ *
* NOTE: The item is unbound and should therefore never be read on chain.
* It could otherwise inflate the PoV size of a block.
- *
+ *
* Events have a large in-memory size. Box the events to not go out-of-memory
* just in case someone still reads them from within the runtime.
**/
@@ -448,11 +458,11 @@
/**
* Mapping between a topic (represented by T::Hash) and a vector of indexes
* of events in the `<Events<T>>` list.
- *
+ *
* All topic vectors have deterministic storage locations depending on the topic. This
* allows light-clients to leverage the changes trie storage tracking mechanism and
* in case of changes fetch the list of events of interest.
- *
+ *
* The value has the type `(T::BlockNumber, EventIndex)` because if we used only just
* the `EventIndex` then in case if the topic has the same contents on the next block
* no notification will be triggered thus the event might be lost.
@@ -577,7 +587,7 @@
vesting: {
/**
* Vesting schedules of an account.
- *
+ *
* VestingSchedules: map AccountId => Vec<VestingSchedule>
**/
vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
@@ -610,7 +620,7 @@
outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The messages that exceeded max individual message weight budget.
- *
+ *
* These message stay in this storage map until they are manually dispatched via
* `service_overweight`.
**/
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
-import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionStats } from './unique';
+import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimitsVersion2, UpDataStructsCollectionStats, UpDataStructsRpcCollection } from './unique';
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
import type { Metadata, StorageKey } from '@polkadot/types';
import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
@@ -601,7 +601,7 @@
/**
* Get collection by specified id
**/
- collectionById: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollection>>>;
+ collectionById: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRpcCollection>>>;
/**
* Get collection stats
**/
@@ -617,7 +617,7 @@
/**
* Get effective collection limits
**/
- effectiveCollectionLimits: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollectionLimits>>>;
+ effectiveCollectionLimits: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollectionLimitsVersion2>>>;
/**
* Get last token id
**/
@@ -635,6 +635,10 @@
**/
tokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<PalletEvmAccountBasicCrossAccountIdRepr>>;
/**
+ * Get token owner, in case of nested token - find parent recursive
+ **/
+ topmostTokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<PalletEvmAccountBasicCrossAccountIdRepr>>;
+ /**
* Get token variable metadata
**/
variableMetadata: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -5,7 +5,7 @@
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimitsVersion2, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -346,6 +346,12 @@
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
+ structure: {
+ /**
+ * Generic tx
+ **/
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
+ };
sudo: {
/**
* Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
@@ -771,7 +777,7 @@
* * address.
**/
removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
- setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;
+ setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimitsVersion2 | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any; nestingRule?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimitsVersion2]>;
/**
* # Permissions
*
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollectionField, UpDataStructsCollectionLimitsVersion2, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCollectionVersion2, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsNestingRule, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
import type { Data, StorageKey } from '@polkadot/types';
import type { BTreeSet, BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -479,6 +479,7 @@
ForkTreePendingChangeNode: ForkTreePendingChangeNode;
FpRpcTransactionStatus: FpRpcTransactionStatus;
FrameSupportPalletId: FrameSupportPalletId;
+ FrameSupportStorageBoundedBTreeSet: FrameSupportStorageBoundedBTreeSet;
FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus;
FrameSupportWeightsDispatchClass: FrameSupportWeightsDispatchClass;
FrameSupportWeightsDispatchInfo: FrameSupportWeightsDispatchInfo;
@@ -789,6 +790,9 @@
PalletsOrigin: PalletsOrigin;
PalletStorageMetadataLatest: PalletStorageMetadataLatest;
PalletStorageMetadataV14: PalletStorageMetadataV14;
+ PalletStructureCall: PalletStructureCall;
+ PalletStructureError: PalletStructureError;
+ PalletStructureEvent: PalletStructureEvent;
PalletSudoCall: PalletSudoCall;
PalletSudoError: PalletSudoError;
PalletSudoEvent: PalletSudoEvent;
@@ -846,6 +850,7 @@
PerU16: PerU16;
Phantom: Phantom;
PhantomData: PhantomData;
+ PhantomTypeUpDataStructs: PhantomTypeUpDataStructs;
Phase: Phase;
PhragmenScore: PhragmenScore;
Points: Points;
@@ -1163,10 +1168,11 @@
UnrewardedRelayer: UnrewardedRelayer;
UnrewardedRelayersState: UnrewardedRelayersState;
UpDataStructsAccessMode: UpDataStructsAccessMode;
- UpDataStructsCollection: UpDataStructsCollection;
- UpDataStructsCollectionLimits: UpDataStructsCollectionLimits;
+ UpDataStructsCollectionField: UpDataStructsCollectionField;
+ UpDataStructsCollectionLimitsVersion2: UpDataStructsCollectionLimitsVersion2;
UpDataStructsCollectionMode: UpDataStructsCollectionMode;
UpDataStructsCollectionStats: UpDataStructsCollectionStats;
+ UpDataStructsCollectionVersion2: UpDataStructsCollectionVersion2;
UpDataStructsCreateCollectionData: UpDataStructsCreateCollectionData;
UpDataStructsCreateFungibleData: UpDataStructsCreateFungibleData;
UpDataStructsCreateItemData: UpDataStructsCreateItemData;
@@ -1176,6 +1182,8 @@
UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
UpDataStructsMetaUpdatePermission: UpDataStructsMetaUpdatePermission;
+ UpDataStructsNestingRule: UpDataStructsNestingRule;
+ UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ /dev/null
@@ -1,2438 +0,0 @@
-// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
-/* eslint-disable */
-
-/* eslint-disable sort-keys */
-
-export default {
- /**
- * Lookup2: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
- **/
- PolkadotPrimitivesV2PersistedValidationData: {
- parentHead: 'Bytes',
- relayParentNumber: 'u32',
- relayParentStorageRoot: 'H256',
- maxPovSize: 'u32'
- },
- /**
- * Lookup9: polkadot_primitives::v2::UpgradeRestriction
- **/
- PolkadotPrimitivesV2UpgradeRestriction: {
- _enum: ['Present']
- },
- /**
- * Lookup10: sp_trie::storage_proof::StorageProof
- **/
- SpTrieStorageProof: {
- trieNodes: 'BTreeSet'
- },
- /**
- * Lookup11: BTreeSet<T>
- **/
- BTreeSet: 'BTreeSet<Bytes>',
- /**
- * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
- **/
- CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
- dmqMqcHead: 'H256',
- relayDispatchQueueSize: '(u32,u32)',
- ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',
- egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
- },
- /**
- * Lookup18: polkadot_primitives::v2::AbridgedHrmpChannel
- **/
- PolkadotPrimitivesV2AbridgedHrmpChannel: {
- maxCapacity: 'u32',
- maxTotalSize: 'u32',
- maxMessageSize: 'u32',
- msgCount: 'u32',
- totalSize: 'u32',
- mqcHead: 'Option<H256>'
- },
- /**
- * Lookup20: polkadot_primitives::v2::AbridgedHostConfiguration
- **/
- PolkadotPrimitivesV2AbridgedHostConfiguration: {
- maxCodeSize: 'u32',
- maxHeadDataSize: 'u32',
- maxUpwardQueueCount: 'u32',
- maxUpwardQueueSize: 'u32',
- maxUpwardMessageSize: 'u32',
- maxUpwardMessageNumPerCandidate: 'u32',
- hrmpMaxMessageNumPerCandidate: 'u32',
- validationUpgradeCooldown: 'u32',
- validationUpgradeDelay: 'u32'
- },
- /**
- * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
- **/
- PolkadotCorePrimitivesOutboundHrmpMessage: {
- recipient: 'u32',
- data: 'Bytes'
- },
- /**
- * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>
- **/
- CumulusPalletParachainSystemCall: {
- _enum: {
- set_validation_data: {
- data: 'CumulusPrimitivesParachainInherentParachainInherentData',
- },
- sudo_send_upward_message: {
- message: 'Bytes',
- },
- authorize_upgrade: {
- codeHash: 'H256',
- },
- enact_authorized_upgrade: {
- code: 'Bytes'
- }
- }
- },
- /**
- * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData
- **/
- CumulusPrimitivesParachainInherentParachainInherentData: {
- validationData: 'PolkadotPrimitivesV2PersistedValidationData',
- relayChainState: 'SpTrieStorageProof',
- downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',
- horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
- },
- /**
- * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
- **/
- PolkadotCorePrimitivesInboundDownwardMessage: {
- sentAt: 'u32',
- msg: 'Bytes'
- },
- /**
- * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
- **/
- PolkadotCorePrimitivesInboundHrmpMessage: {
- sentAt: 'u32',
- data: 'Bytes'
- },
- /**
- * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>
- **/
- CumulusPalletParachainSystemEvent: {
- _enum: {
- ValidationFunctionStored: 'Null',
- ValidationFunctionApplied: 'u32',
- ValidationFunctionDiscarded: 'Null',
- UpgradeAuthorized: 'H256',
- DownwardMessagesReceived: 'u32',
- DownwardMessagesProcessed: '(u64,H256)'
- }
- },
- /**
- * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>
- **/
- CumulusPalletParachainSystemError: {
- _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
- },
- /**
- * Lookup41: pallet_balances::AccountData<Balance>
- **/
- PalletBalancesAccountData: {
- free: 'u128',
- reserved: 'u128',
- miscFrozen: 'u128',
- feeFrozen: 'u128'
- },
- /**
- * Lookup43: pallet_balances::BalanceLock<Balance>
- **/
- PalletBalancesBalanceLock: {
- id: '[u8;8]',
- amount: 'u128',
- reasons: 'PalletBalancesReasons'
- },
- /**
- * Lookup45: pallet_balances::Reasons
- **/
- PalletBalancesReasons: {
- _enum: ['Fee', 'Misc', 'All']
- },
- /**
- * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>
- **/
- PalletBalancesReserveData: {
- id: '[u8;8]',
- amount: 'u128'
- },
- /**
- * Lookup50: pallet_balances::Releases
- **/
- PalletBalancesReleases: {
- _enum: ['V1_0_0', 'V2_0_0']
- },
- /**
- * Lookup51: pallet_balances::pallet::Call<T, I>
- **/
- PalletBalancesCall: {
- _enum: {
- transfer: {
- dest: 'MultiAddress',
- value: 'Compact<u128>',
- },
- set_balance: {
- who: 'MultiAddress',
- newFree: 'Compact<u128>',
- newReserved: 'Compact<u128>',
- },
- force_transfer: {
- source: 'MultiAddress',
- dest: 'MultiAddress',
- value: 'Compact<u128>',
- },
- transfer_keep_alive: {
- dest: 'MultiAddress',
- value: 'Compact<u128>',
- },
- transfer_all: {
- dest: 'MultiAddress',
- keepAlive: 'bool',
- },
- force_unreserve: {
- who: 'MultiAddress',
- amount: 'u128'
- }
- }
- },
- /**
- * Lookup57: pallet_balances::pallet::Event<T, I>
- **/
- PalletBalancesEvent: {
- _enum: {
- Endowed: {
- account: 'AccountId32',
- freeBalance: 'u128',
- },
- DustLost: {
- account: 'AccountId32',
- amount: 'u128',
- },
- Transfer: {
- from: 'AccountId32',
- to: 'AccountId32',
- amount: 'u128',
- },
- BalanceSet: {
- who: 'AccountId32',
- free: 'u128',
- reserved: 'u128',
- },
- Reserved: {
- who: 'AccountId32',
- amount: 'u128',
- },
- Unreserved: {
- who: 'AccountId32',
- amount: 'u128',
- },
- ReserveRepatriated: {
- from: 'AccountId32',
- to: 'AccountId32',
- amount: 'u128',
- destinationStatus: 'FrameSupportTokensMiscBalanceStatus',
- },
- Deposit: {
- who: 'AccountId32',
- amount: 'u128',
- },
- Withdraw: {
- who: 'AccountId32',
- amount: 'u128',
- },
- Slashed: {
- who: 'AccountId32',
- amount: 'u128'
- }
- }
- },
- /**
- * Lookup58: frame_support::traits::tokens::misc::BalanceStatus
- **/
- FrameSupportTokensMiscBalanceStatus: {
- _enum: ['Free', 'Reserved']
- },
- /**
- * Lookup59: pallet_balances::pallet::Error<T, I>
- **/
- PalletBalancesError: {
- _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
- },
- /**
- * Lookup62: pallet_timestamp::pallet::Call<T>
- **/
- PalletTimestampCall: {
- _enum: {
- set: {
- now: 'Compact<u64>'
- }
- }
- },
- /**
- * Lookup65: pallet_transaction_payment::Releases
- **/
- PalletTransactionPaymentReleases: {
- _enum: ['V1Ancient', 'V2']
- },
- /**
- * Lookup67: frame_support::weights::WeightToFeeCoefficient<Balance>
- **/
- FrameSupportWeightsWeightToFeeCoefficient: {
- coeffInteger: 'u128',
- coeffFrac: 'Perbill',
- negative: 'bool',
- degree: 'u8'
- },
- /**
- * Lookup69: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
- **/
- PalletTreasuryProposal: {
- proposer: 'AccountId32',
- value: 'u128',
- beneficiary: 'AccountId32',
- bond: 'u128'
- },
- /**
- * Lookup72: pallet_treasury::pallet::Call<T, I>
- **/
- PalletTreasuryCall: {
- _enum: {
- propose_spend: {
- value: 'Compact<u128>',
- beneficiary: 'MultiAddress',
- },
- reject_proposal: {
- proposalId: 'Compact<u32>',
- },
- approve_proposal: {
- proposalId: 'Compact<u32>'
- }
- }
- },
- /**
- * Lookup74: pallet_treasury::pallet::Event<T, I>
- **/
- PalletTreasuryEvent: {
- _enum: {
- Proposed: {
- proposalIndex: 'u32',
- },
- Spending: {
- budgetRemaining: 'u128',
- },
- Awarded: {
- proposalIndex: 'u32',
- award: 'u128',
- account: 'AccountId32',
- },
- Rejected: {
- proposalIndex: 'u32',
- slashed: 'u128',
- },
- Burnt: {
- burntFunds: 'u128',
- },
- Rollover: {
- rolloverBalance: 'u128',
- },
- Deposit: {
- value: 'u128'
- }
- }
- },
- /**
- * Lookup77: frame_support::PalletId
- **/
- FrameSupportPalletId: '[u8;8]',
- /**
- * Lookup78: pallet_treasury::pallet::Error<T, I>
- **/
- PalletTreasuryError: {
- _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']
- },
- /**
- * Lookup79: pallet_sudo::pallet::Call<T>
- **/
- PalletSudoCall: {
- _enum: {
- sudo: {
- call: 'Call',
- },
- sudo_unchecked_weight: {
- call: 'Call',
- weight: 'u64',
- },
- set_key: {
- _alias: {
- new_: 'new',
- },
- new_: 'MultiAddress',
- },
- sudo_as: {
- who: 'MultiAddress',
- call: 'Call'
- }
- }
- },
- /**
- * Lookup81: frame_system::pallet::Call<T>
- **/
- FrameSystemCall: {
- _enum: {
- fill_block: {
- ratio: 'Perbill',
- },
- remark: {
- remark: 'Bytes',
- },
- set_heap_pages: {
- pages: 'u64',
- },
- set_code: {
- code: 'Bytes',
- },
- set_code_without_checks: {
- code: 'Bytes',
- },
- set_storage: {
- items: 'Vec<(Bytes,Bytes)>',
- },
- kill_storage: {
- _alias: {
- keys_: 'keys',
- },
- keys_: 'Vec<Bytes>',
- },
- kill_prefix: {
- prefix: 'Bytes',
- subkeys: 'u32',
- },
- remark_with_event: {
- remark: 'Bytes'
- }
- }
- },
- /**
- * Lookup84: orml_vesting::module::Call<T>
- **/
- OrmlVestingModuleCall: {
- _enum: {
- claim: 'Null',
- vested_transfer: {
- dest: 'MultiAddress',
- schedule: 'OrmlVestingVestingSchedule',
- },
- update_vesting_schedules: {
- who: 'MultiAddress',
- vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',
- },
- claim_for: {
- dest: 'MultiAddress'
- }
- }
- },
- /**
- * Lookup85: orml_vesting::VestingSchedule<BlockNumber, Balance>
- **/
- OrmlVestingVestingSchedule: {
- start: 'u32',
- period: 'u32',
- periodCount: 'u32',
- perPeriod: 'Compact<u128>'
- },
- /**
- * Lookup87: cumulus_pallet_xcmp_queue::pallet::Call<T>
- **/
- CumulusPalletXcmpQueueCall: {
- _enum: {
- service_overweight: {
- index: 'u64',
- weightLimit: 'u64',
- },
- suspend_xcm_execution: 'Null',
- resume_xcm_execution: 'Null',
- update_suspend_threshold: {
- _alias: {
- new_: 'new',
- },
- new_: 'u32',
- },
- update_drop_threshold: {
- _alias: {
- new_: 'new',
- },
- new_: 'u32',
- },
- update_resume_threshold: {
- _alias: {
- new_: 'new',
- },
- new_: 'u32',
- },
- update_threshold_weight: {
- _alias: {
- new_: 'new',
- },
- new_: 'u64',
- },
- update_weight_restrict_decay: {
- _alias: {
- new_: 'new',
- },
- new_: 'u64',
- },
- update_xcmp_max_individual_weight: {
- _alias: {
- new_: 'new',
- },
- new_: 'u64'
- }
- }
- },
- /**
- * Lookup88: pallet_xcm::pallet::Call<T>
- **/
- PalletXcmCall: {
- _enum: {
- send: {
- dest: 'XcmVersionedMultiLocation',
- message: 'XcmVersionedXcm',
- },
- teleport_assets: {
- dest: 'XcmVersionedMultiLocation',
- beneficiary: 'XcmVersionedMultiLocation',
- assets: 'XcmVersionedMultiAssets',
- feeAssetItem: 'u32',
- },
- reserve_transfer_assets: {
- dest: 'XcmVersionedMultiLocation',
- beneficiary: 'XcmVersionedMultiLocation',
- assets: 'XcmVersionedMultiAssets',
- feeAssetItem: 'u32',
- },
- execute: {
- message: 'XcmVersionedXcm',
- maxWeight: 'u64',
- },
- force_xcm_version: {
- location: 'XcmV1MultiLocation',
- xcmVersion: 'u32',
- },
- force_default_xcm_version: {
- maybeXcmVersion: 'Option<u32>',
- },
- force_subscribe_version_notify: {
- location: 'XcmVersionedMultiLocation',
- },
- force_unsubscribe_version_notify: {
- location: 'XcmVersionedMultiLocation',
- },
- limited_reserve_transfer_assets: {
- dest: 'XcmVersionedMultiLocation',
- beneficiary: 'XcmVersionedMultiLocation',
- assets: 'XcmVersionedMultiAssets',
- feeAssetItem: 'u32',
- weightLimit: 'XcmV2WeightLimit',
- },
- limited_teleport_assets: {
- dest: 'XcmVersionedMultiLocation',
- beneficiary: 'XcmVersionedMultiLocation',
- assets: 'XcmVersionedMultiAssets',
- feeAssetItem: 'u32',
- weightLimit: 'XcmV2WeightLimit'
- }
- }
- },
- /**
- * Lookup89: xcm::VersionedMultiLocation
- **/
- XcmVersionedMultiLocation: {
- _enum: {
- V0: 'XcmV0MultiLocation',
- V1: 'XcmV1MultiLocation'
- }
- },
- /**
- * Lookup90: xcm::v0::multi_location::MultiLocation
- **/
- XcmV0MultiLocation: {
- _enum: {
- Null: 'Null',
- X1: 'XcmV0Junction',
- X2: '(XcmV0Junction,XcmV0Junction)',
- X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
- X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'
- }
- },
- /**
- * Lookup91: xcm::v0::junction::Junction
- **/
- XcmV0Junction: {
- _enum: {
- Parent: 'Null',
- Parachain: 'Compact<u32>',
- AccountId32: {
- network: 'XcmV0JunctionNetworkId',
- id: '[u8;32]',
- },
- AccountIndex64: {
- network: 'XcmV0JunctionNetworkId',
- index: 'Compact<u64>',
- },
- AccountKey20: {
- network: 'XcmV0JunctionNetworkId',
- key: '[u8;20]',
- },
- PalletInstance: 'u8',
- GeneralIndex: 'Compact<u128>',
- GeneralKey: 'Bytes',
- OnlyChild: 'Null',
- Plurality: {
- id: 'XcmV0JunctionBodyId',
- part: 'XcmV0JunctionBodyPart'
- }
- }
- },
- /**
- * Lookup92: xcm::v0::junction::NetworkId
- **/
- XcmV0JunctionNetworkId: {
- _enum: {
- Any: 'Null',
- Named: 'Bytes',
- Polkadot: 'Null',
- Kusama: 'Null'
- }
- },
- /**
- * Lookup93: xcm::v0::junction::BodyId
- **/
- XcmV0JunctionBodyId: {
- _enum: {
- Unit: 'Null',
- Named: 'Bytes',
- Index: 'Compact<u32>',
- Executive: 'Null',
- Technical: 'Null',
- Legislative: 'Null',
- Judicial: 'Null'
- }
- },
- /**
- * Lookup94: xcm::v0::junction::BodyPart
- **/
- XcmV0JunctionBodyPart: {
- _enum: {
- Voice: 'Null',
- Members: {
- count: 'Compact<u32>',
- },
- Fraction: {
- nom: 'Compact<u32>',
- denom: 'Compact<u32>',
- },
- AtLeastProportion: {
- nom: 'Compact<u32>',
- denom: 'Compact<u32>',
- },
- MoreThanProportion: {
- nom: 'Compact<u32>',
- denom: 'Compact<u32>'
- }
- }
- },
- /**
- * Lookup95: xcm::v1::multilocation::MultiLocation
- **/
- XcmV1MultiLocation: {
- parents: 'u8',
- interior: 'XcmV1MultilocationJunctions'
- },
- /**
- * Lookup96: xcm::v1::multilocation::Junctions
- **/
- XcmV1MultilocationJunctions: {
- _enum: {
- Here: 'Null',
- X1: 'XcmV1Junction',
- X2: '(XcmV1Junction,XcmV1Junction)',
- X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
- X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'
- }
- },
- /**
- * Lookup97: xcm::v1::junction::Junction
- **/
- XcmV1Junction: {
- _enum: {
- Parachain: 'Compact<u32>',
- AccountId32: {
- network: 'XcmV0JunctionNetworkId',
- id: '[u8;32]',
- },
- AccountIndex64: {
- network: 'XcmV0JunctionNetworkId',
- index: 'Compact<u64>',
- },
- AccountKey20: {
- network: 'XcmV0JunctionNetworkId',
- key: '[u8;20]',
- },
- PalletInstance: 'u8',
- GeneralIndex: 'Compact<u128>',
- GeneralKey: 'Bytes',
- OnlyChild: 'Null',
- Plurality: {
- id: 'XcmV0JunctionBodyId',
- part: 'XcmV0JunctionBodyPart'
- }
- }
- },
- /**
- * Lookup98: xcm::VersionedXcm<Call>
- **/
- XcmVersionedXcm: {
- _enum: {
- V0: 'XcmV0Xcm',
- V1: 'XcmV1Xcm',
- V2: 'XcmV2Xcm'
- }
- },
- /**
- * Lookup99: xcm::v0::Xcm<Call>
- **/
- XcmV0Xcm: {
- _enum: {
- WithdrawAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- effects: 'Vec<XcmV0Order>',
- },
- ReserveAssetDeposit: {
- assets: 'Vec<XcmV0MultiAsset>',
- effects: 'Vec<XcmV0Order>',
- },
- TeleportAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- effects: 'Vec<XcmV0Order>',
- },
- QueryResponse: {
- queryId: 'Compact<u64>',
- response: 'XcmV0Response',
- },
- TransferAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- },
- TransferReserveAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
- },
- Transact: {
- originType: 'XcmV0OriginKind',
- requireWeightAtMost: 'u64',
- call: 'XcmDoubleEncoded',
- },
- HrmpNewChannelOpenRequest: {
- sender: 'Compact<u32>',
- maxMessageSize: 'Compact<u32>',
- maxCapacity: 'Compact<u32>',
- },
- HrmpChannelAccepted: {
- recipient: 'Compact<u32>',
- },
- HrmpChannelClosing: {
- initiator: 'Compact<u32>',
- sender: 'Compact<u32>',
- recipient: 'Compact<u32>',
- },
- RelayedFrom: {
- who: 'XcmV0MultiLocation',
- message: 'XcmV0Xcm'
- }
- }
- },
- /**
- * Lookup101: xcm::v0::multi_asset::MultiAsset
- **/
- XcmV0MultiAsset: {
- _enum: {
- None: 'Null',
- All: 'Null',
- AllFungible: 'Null',
- AllNonFungible: 'Null',
- AllAbstractFungible: {
- id: 'Bytes',
- },
- AllAbstractNonFungible: {
- class: 'Bytes',
- },
- AllConcreteFungible: {
- id: 'XcmV0MultiLocation',
- },
- AllConcreteNonFungible: {
- class: 'XcmV0MultiLocation',
- },
- AbstractFungible: {
- id: 'Bytes',
- amount: 'Compact<u128>',
- },
- AbstractNonFungible: {
- class: 'Bytes',
- instance: 'XcmV1MultiassetAssetInstance',
- },
- ConcreteFungible: {
- id: 'XcmV0MultiLocation',
- amount: 'Compact<u128>',
- },
- ConcreteNonFungible: {
- class: 'XcmV0MultiLocation',
- instance: 'XcmV1MultiassetAssetInstance'
- }
- }
- },
- /**
- * Lookup102: xcm::v1::multiasset::AssetInstance
- **/
- XcmV1MultiassetAssetInstance: {
- _enum: {
- Undefined: 'Null',
- Index: 'Compact<u128>',
- Array4: '[u8;4]',
- Array8: '[u8;8]',
- Array16: '[u8;16]',
- Array32: '[u8;32]',
- Blob: 'Bytes'
- }
- },
- /**
- * Lookup106: xcm::v0::order::Order<Call>
- **/
- XcmV0Order: {
- _enum: {
- Null: 'Null',
- DepositAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- },
- DepositReserveAsset: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
- },
- ExchangeAsset: {
- give: 'Vec<XcmV0MultiAsset>',
- receive: 'Vec<XcmV0MultiAsset>',
- },
- InitiateReserveWithdraw: {
- assets: 'Vec<XcmV0MultiAsset>',
- reserve: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
- },
- InitiateTeleport: {
- assets: 'Vec<XcmV0MultiAsset>',
- dest: 'XcmV0MultiLocation',
- effects: 'Vec<XcmV0Order>',
- },
- QueryHolding: {
- queryId: 'Compact<u64>',
- dest: 'XcmV0MultiLocation',
- assets: 'Vec<XcmV0MultiAsset>',
- },
- BuyExecution: {
- fees: 'XcmV0MultiAsset',
- weight: 'u64',
- debt: 'u64',
- haltOnError: 'bool',
- xcm: 'Vec<XcmV0Xcm>'
- }
- }
- },
- /**
- * Lookup108: xcm::v0::Response
- **/
- XcmV0Response: {
- _enum: {
- Assets: 'Vec<XcmV0MultiAsset>'
- }
- },
- /**
- * Lookup109: xcm::v0::OriginKind
- **/
- XcmV0OriginKind: {
- _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
- },
- /**
- * Lookup110: xcm::double_encoded::DoubleEncoded<T>
- **/
- XcmDoubleEncoded: {
- encoded: 'Bytes'
- },
- /**
- * Lookup111: xcm::v1::Xcm<Call>
- **/
- XcmV1Xcm: {
- _enum: {
- WithdrawAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- effects: 'Vec<XcmV1Order>',
- },
- ReserveAssetDeposited: {
- assets: 'XcmV1MultiassetMultiAssets',
- effects: 'Vec<XcmV1Order>',
- },
- ReceiveTeleportedAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- effects: 'Vec<XcmV1Order>',
- },
- QueryResponse: {
- queryId: 'Compact<u64>',
- response: 'XcmV1Response',
- },
- TransferAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- beneficiary: 'XcmV1MultiLocation',
- },
- TransferReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- dest: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- Transact: {
- originType: 'XcmV0OriginKind',
- requireWeightAtMost: 'u64',
- call: 'XcmDoubleEncoded',
- },
- HrmpNewChannelOpenRequest: {
- sender: 'Compact<u32>',
- maxMessageSize: 'Compact<u32>',
- maxCapacity: 'Compact<u32>',
- },
- HrmpChannelAccepted: {
- recipient: 'Compact<u32>',
- },
- HrmpChannelClosing: {
- initiator: 'Compact<u32>',
- sender: 'Compact<u32>',
- recipient: 'Compact<u32>',
- },
- RelayedFrom: {
- who: 'XcmV1MultilocationJunctions',
- message: 'XcmV1Xcm',
- },
- SubscribeVersion: {
- queryId: 'Compact<u64>',
- maxResponseWeight: 'Compact<u64>',
- },
- UnsubscribeVersion: 'Null'
- }
- },
- /**
- * Lookup112: xcm::v1::multiasset::MultiAssets
- **/
- XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
- /**
- * Lookup114: xcm::v1::multiasset::MultiAsset
- **/
- XcmV1MultiAsset: {
- id: 'XcmV1MultiassetAssetId',
- fun: 'XcmV1MultiassetFungibility'
- },
- /**
- * Lookup115: xcm::v1::multiasset::AssetId
- **/
- XcmV1MultiassetAssetId: {
- _enum: {
- Concrete: 'XcmV1MultiLocation',
- Abstract: 'Bytes'
- }
- },
- /**
- * Lookup116: xcm::v1::multiasset::Fungibility
- **/
- XcmV1MultiassetFungibility: {
- _enum: {
- Fungible: 'Compact<u128>',
- NonFungible: 'XcmV1MultiassetAssetInstance'
- }
- },
- /**
- * Lookup118: xcm::v1::order::Order<Call>
- **/
- XcmV1Order: {
- _enum: {
- Noop: 'Null',
- DepositAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'u32',
- beneficiary: 'XcmV1MultiLocation',
- },
- DepositReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'u32',
- dest: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- ExchangeAsset: {
- give: 'XcmV1MultiassetMultiAssetFilter',
- receive: 'XcmV1MultiassetMultiAssets',
- },
- InitiateReserveWithdraw: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- reserve: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- InitiateTeleport: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- dest: 'XcmV1MultiLocation',
- effects: 'Vec<XcmV1Order>',
- },
- QueryHolding: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- assets: 'XcmV1MultiassetMultiAssetFilter',
- },
- BuyExecution: {
- fees: 'XcmV1MultiAsset',
- weight: 'u64',
- debt: 'u64',
- haltOnError: 'bool',
- instructions: 'Vec<XcmV1Xcm>'
- }
- }
- },
- /**
- * Lookup119: xcm::v1::multiasset::MultiAssetFilter
- **/
- XcmV1MultiassetMultiAssetFilter: {
- _enum: {
- Definite: 'XcmV1MultiassetMultiAssets',
- Wild: 'XcmV1MultiassetWildMultiAsset'
- }
- },
- /**
- * Lookup120: xcm::v1::multiasset::WildMultiAsset
- **/
- XcmV1MultiassetWildMultiAsset: {
- _enum: {
- All: 'Null',
- AllOf: {
- id: 'XcmV1MultiassetAssetId',
- fun: 'XcmV1MultiassetWildFungibility'
- }
- }
- },
- /**
- * Lookup121: xcm::v1::multiasset::WildFungibility
- **/
- XcmV1MultiassetWildFungibility: {
- _enum: ['Fungible', 'NonFungible']
- },
- /**
- * Lookup123: xcm::v1::Response
- **/
- XcmV1Response: {
- _enum: {
- Assets: 'XcmV1MultiassetMultiAssets',
- Version: 'u32'
- }
- },
- /**
- * Lookup124: xcm::v2::Xcm<Call>
- **/
- XcmV2Xcm: 'Vec<XcmV2Instruction>',
- /**
- * Lookup126: xcm::v2::Instruction<Call>
- **/
- XcmV2Instruction: {
- _enum: {
- WithdrawAsset: 'XcmV1MultiassetMultiAssets',
- ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',
- ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',
- QueryResponse: {
- queryId: 'Compact<u64>',
- response: 'XcmV2Response',
- maxWeight: 'Compact<u64>',
- },
- TransferAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- beneficiary: 'XcmV1MultiLocation',
- },
- TransferReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
- },
- Transact: {
- originType: 'XcmV0OriginKind',
- requireWeightAtMost: 'Compact<u64>',
- call: 'XcmDoubleEncoded',
- },
- HrmpNewChannelOpenRequest: {
- sender: 'Compact<u32>',
- maxMessageSize: 'Compact<u32>',
- maxCapacity: 'Compact<u32>',
- },
- HrmpChannelAccepted: {
- recipient: 'Compact<u32>',
- },
- HrmpChannelClosing: {
- initiator: 'Compact<u32>',
- sender: 'Compact<u32>',
- recipient: 'Compact<u32>',
- },
- ClearOrigin: 'Null',
- DescendOrigin: 'XcmV1MultilocationJunctions',
- ReportError: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- maxResponseWeight: 'Compact<u64>',
- },
- DepositAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'Compact<u32>',
- beneficiary: 'XcmV1MultiLocation',
- },
- DepositReserveAsset: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxAssets: 'Compact<u32>',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
- },
- ExchangeAsset: {
- give: 'XcmV1MultiassetMultiAssetFilter',
- receive: 'XcmV1MultiassetMultiAssets',
- },
- InitiateReserveWithdraw: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- reserve: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
- },
- InitiateTeleport: {
- assets: 'XcmV1MultiassetMultiAssetFilter',
- dest: 'XcmV1MultiLocation',
- xcm: 'XcmV2Xcm',
- },
- QueryHolding: {
- queryId: 'Compact<u64>',
- dest: 'XcmV1MultiLocation',
- assets: 'XcmV1MultiassetMultiAssetFilter',
- maxResponseWeight: 'Compact<u64>',
- },
- BuyExecution: {
- fees: 'XcmV1MultiAsset',
- weightLimit: 'XcmV2WeightLimit',
- },
- RefundSurplus: 'Null',
- SetErrorHandler: 'XcmV2Xcm',
- SetAppendix: 'XcmV2Xcm',
- ClearError: 'Null',
- ClaimAsset: {
- assets: 'XcmV1MultiassetMultiAssets',
- ticket: 'XcmV1MultiLocation',
- },
- Trap: 'Compact<u64>',
- SubscribeVersion: {
- queryId: 'Compact<u64>',
- maxResponseWeight: 'Compact<u64>',
- },
- UnsubscribeVersion: 'Null'
- }
- },
- /**
- * Lookup127: xcm::v2::Response
- **/
- XcmV2Response: {
- _enum: {
- Null: 'Null',
- Assets: 'XcmV1MultiassetMultiAssets',
- ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',
- Version: 'u32'
- }
- },
- /**
- * Lookup130: xcm::v2::traits::Error
- **/
- XcmV2TraitsError: {
- _enum: {
- Overflow: 'Null',
- Unimplemented: 'Null',
- UntrustedReserveLocation: 'Null',
- UntrustedTeleportLocation: 'Null',
- MultiLocationFull: 'Null',
- MultiLocationNotInvertible: 'Null',
- BadOrigin: 'Null',
- InvalidLocation: 'Null',
- AssetNotFound: 'Null',
- FailedToTransactAsset: 'Null',
- NotWithdrawable: 'Null',
- LocationCannotHold: 'Null',
- ExceedsMaxMessageSize: 'Null',
- DestinationUnsupported: 'Null',
- Transport: 'Null',
- Unroutable: 'Null',
- UnknownClaim: 'Null',
- FailedToDecode: 'Null',
- MaxWeightInvalid: 'Null',
- NotHoldingFees: 'Null',
- TooExpensive: 'Null',
- Trap: 'u64',
- UnhandledXcmVersion: 'Null',
- WeightLimitReached: 'u64',
- Barrier: 'Null',
- WeightNotComputable: 'Null'
- }
- },
- /**
- * Lookup131: xcm::v2::WeightLimit
- **/
- XcmV2WeightLimit: {
- _enum: {
- Unlimited: 'Null',
- Limited: 'Compact<u64>'
- }
- },
- /**
- * Lookup132: xcm::VersionedMultiAssets
- **/
- XcmVersionedMultiAssets: {
- _enum: {
- V0: 'Vec<XcmV0MultiAsset>',
- V1: 'XcmV1MultiassetMultiAssets'
- }
- },
- /**
- * Lookup147: cumulus_pallet_xcm::pallet::Call<T>
- **/
- CumulusPalletXcmCall: 'Null',
- /**
- * Lookup148: cumulus_pallet_dmp_queue::pallet::Call<T>
- **/
- CumulusPalletDmpQueueCall: {
- _enum: {
- service_overweight: {
- index: 'u64',
- weightLimit: 'u64'
- }
- }
- },
- /**
- * Lookup149: pallet_inflation::pallet::Call<T>
- **/
- PalletInflationCall: {
- _enum: {
- start_inflation: {
- inflationStartRelayBlock: 'u32'
- }
- }
- },
- /**
- * Lookup150: pallet_unique::Call<T>
- **/
- PalletUniqueCall: {
- _enum: {
- create_collection: {
- collectionName: 'Vec<u16>',
- collectionDescription: 'Vec<u16>',
- tokenPrefix: 'Bytes',
- mode: 'UpDataStructsCollectionMode',
- },
- create_collection_ex: {
- data: 'UpDataStructsCreateCollectionData',
- },
- destroy_collection: {
- collectionId: 'u32',
- },
- add_to_allow_list: {
- collectionId: 'u32',
- address: 'PalletEvmAccountBasicCrossAccountIdRepr',
- },
- remove_from_allow_list: {
- collectionId: 'u32',
- address: 'PalletEvmAccountBasicCrossAccountIdRepr',
- },
- set_public_access_mode: {
- collectionId: 'u32',
- mode: 'UpDataStructsAccessMode',
- },
- set_mint_permission: {
- collectionId: 'u32',
- mintPermission: 'bool',
- },
- change_collection_owner: {
- collectionId: 'u32',
- newOwner: 'AccountId32',
- },
- add_collection_admin: {
- collectionId: 'u32',
- newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',
- },
- remove_collection_admin: {
- collectionId: 'u32',
- accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',
- },
- set_collection_sponsor: {
- collectionId: 'u32',
- newSponsor: 'AccountId32',
- },
- confirm_sponsorship: {
- collectionId: 'u32',
- },
- remove_collection_sponsor: {
- collectionId: 'u32',
- },
- create_item: {
- collectionId: 'u32',
- owner: 'PalletEvmAccountBasicCrossAccountIdRepr',
- data: 'UpDataStructsCreateItemData',
- },
- create_multiple_items: {
- collectionId: 'u32',
- owner: 'PalletEvmAccountBasicCrossAccountIdRepr',
- itemsData: 'Vec<UpDataStructsCreateItemData>',
- },
- create_multiple_items_ex: {
- collectionId: 'u32',
- data: 'UpDataStructsCreateItemExData',
- },
- set_transfers_enabled_flag: {
- collectionId: 'u32',
- value: 'bool',
- },
- burn_item: {
- collectionId: 'u32',
- itemId: 'u32',
- value: 'u128',
- },
- burn_from: {
- collectionId: 'u32',
- from: 'PalletEvmAccountBasicCrossAccountIdRepr',
- itemId: 'u32',
- value: 'u128',
- },
- transfer: {
- recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',
- collectionId: 'u32',
- itemId: 'u32',
- value: 'u128',
- },
- approve: {
- spender: 'PalletEvmAccountBasicCrossAccountIdRepr',
- collectionId: 'u32',
- itemId: 'u32',
- amount: 'u128',
- },
- transfer_from: {
- from: 'PalletEvmAccountBasicCrossAccountIdRepr',
- recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',
- collectionId: 'u32',
- itemId: 'u32',
- value: 'u128',
- },
- set_variable_meta_data: {
- collectionId: 'u32',
- itemId: 'u32',
- data: 'Bytes',
- },
- set_meta_update_permission_flag: {
- collectionId: 'u32',
- value: 'UpDataStructsMetaUpdatePermission',
- },
- set_schema_version: {
- collectionId: 'u32',
- version: 'UpDataStructsSchemaVersion',
- },
- set_offchain_schema: {
- collectionId: 'u32',
- schema: 'Bytes',
- },
- set_const_on_chain_schema: {
- collectionId: 'u32',
- schema: 'Bytes',
- },
- set_variable_on_chain_schema: {
- collectionId: 'u32',
- schema: 'Bytes',
- },
- set_collection_limits: {
- collectionId: 'u32',
- newLimit: 'UpDataStructsCollectionLimits'
- }
- }
- },
- /**
- * Lookup156: up_data_structs::CollectionMode
- **/
- UpDataStructsCollectionMode: {
- _enum: {
- NFT: 'Null',
- Fungible: 'u8',
- ReFungible: 'Null'
- }
- },
- /**
- * Lookup157: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
- **/
- UpDataStructsCreateCollectionData: {
- mode: 'UpDataStructsCollectionMode',
- access: 'Option<UpDataStructsAccessMode>',
- name: 'Vec<u16>',
- description: 'Vec<u16>',
- tokenPrefix: 'Bytes',
- offchainSchema: 'Bytes',
- schemaVersion: 'Option<UpDataStructsSchemaVersion>',
- pendingSponsor: 'Option<AccountId32>',
- limits: 'Option<UpDataStructsCollectionLimits>',
- variableOnChainSchema: 'Bytes',
- constOnChainSchema: 'Bytes',
- metaUpdatePermission: 'Option<UpDataStructsMetaUpdatePermission>'
- },
- /**
- * Lookup159: up_data_structs::AccessMode
- **/
- UpDataStructsAccessMode: {
- _enum: ['Normal', 'AllowList']
- },
- /**
- * Lookup162: up_data_structs::SchemaVersion
- **/
- UpDataStructsSchemaVersion: {
- _enum: ['ImageURL', 'Unique']
- },
- /**
- * Lookup165: up_data_structs::CollectionLimits
- **/
- UpDataStructsCollectionLimits: {
- accountTokenOwnershipLimit: 'Option<u32>',
- sponsoredDataSize: 'Option<u32>',
- sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',
- tokenLimit: 'Option<u32>',
- sponsorTransferTimeout: 'Option<u32>',
- sponsorApproveTimeout: 'Option<u32>',
- ownerCanTransfer: 'Option<bool>',
- ownerCanDestroy: 'Option<bool>',
- transfersEnabled: 'Option<bool>'
- },
- /**
- * Lookup167: up_data_structs::SponsoringRateLimit
- **/
- UpDataStructsSponsoringRateLimit: {
- _enum: {
- SponsoringDisabled: 'Null',
- Blocks: 'u32'
- }
- },
- /**
- * Lookup171: up_data_structs::MetaUpdatePermission
- **/
- UpDataStructsMetaUpdatePermission: {
- _enum: ['ItemOwner', 'Admin', 'None']
- },
- /**
- * Lookup173: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>
- **/
- PalletEvmAccountBasicCrossAccountIdRepr: {
- _enum: {
- Substrate: 'AccountId32',
- Ethereum: 'H160'
- }
- },
- /**
- * Lookup175: up_data_structs::CreateItemData
- **/
- UpDataStructsCreateItemData: {
- _enum: {
- NFT: 'UpDataStructsCreateNftData',
- Fungible: 'UpDataStructsCreateFungibleData',
- ReFungible: 'UpDataStructsCreateReFungibleData'
- }
- },
- /**
- * Lookup176: up_data_structs::CreateNftData
- **/
- UpDataStructsCreateNftData: {
- constData: 'Bytes',
- variableData: 'Bytes'
- },
- /**
- * Lookup178: up_data_structs::CreateFungibleData
- **/
- UpDataStructsCreateFungibleData: {
- value: 'u128'
- },
- /**
- * Lookup179: up_data_structs::CreateReFungibleData
- **/
- UpDataStructsCreateReFungibleData: {
- constData: 'Bytes',
- variableData: 'Bytes',
- pieces: 'u128'
- },
- /**
- * Lookup181: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
- **/
- UpDataStructsCreateItemExData: {
- _enum: {
- NFT: 'Vec<UpDataStructsCreateNftExData>',
- Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
- RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',
- RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'
- }
- },
- /**
- * Lookup183: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
- **/
- UpDataStructsCreateNftExData: {
- constData: 'Bytes',
- variableData: 'Bytes',
- owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
- },
- /**
- * Lookup190: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
- **/
- UpDataStructsCreateRefungibleExData: {
- constData: 'Bytes',
- variableData: 'Bytes',
- users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'
- },
- /**
- * Lookup193: pallet_template_transaction_payment::Call<T>
- **/
- PalletTemplateTransactionPaymentCall: 'Null',
- /**
- * Lookup194: pallet_evm::pallet::Call<T>
- **/
- PalletEvmCall: {
- _enum: {
- withdraw: {
- address: 'H160',
- value: 'u128',
- },
- call: {
- source: 'H160',
- target: 'H160',
- input: 'Bytes',
- value: 'U256',
- gasLimit: 'u64',
- maxFeePerGas: 'U256',
- maxPriorityFeePerGas: 'Option<U256>',
- nonce: 'Option<U256>',
- accessList: 'Vec<(H160,Vec<H256>)>',
- },
- create: {
- source: 'H160',
- init: 'Bytes',
- value: 'U256',
- gasLimit: 'u64',
- maxFeePerGas: 'U256',
- maxPriorityFeePerGas: 'Option<U256>',
- nonce: 'Option<U256>',
- accessList: 'Vec<(H160,Vec<H256>)>',
- },
- create2: {
- source: 'H160',
- init: 'Bytes',
- salt: 'H256',
- value: 'U256',
- gasLimit: 'u64',
- maxFeePerGas: 'U256',
- maxPriorityFeePerGas: 'Option<U256>',
- nonce: 'Option<U256>',
- accessList: 'Vec<(H160,Vec<H256>)>'
- }
- }
- },
- /**
- * Lookup200: pallet_ethereum::pallet::Call<T>
- **/
- PalletEthereumCall: {
- _enum: {
- transact: {
- transaction: 'EthereumTransactionTransactionV2'
- }
- }
- },
- /**
- * Lookup201: ethereum::transaction::TransactionV2
- **/
- EthereumTransactionTransactionV2: {
- _enum: {
- Legacy: 'EthereumTransactionLegacyTransaction',
- EIP2930: 'EthereumTransactionEip2930Transaction',
- EIP1559: 'EthereumTransactionEip1559Transaction'
- }
- },
- /**
- * Lookup202: ethereum::transaction::LegacyTransaction
- **/
- EthereumTransactionLegacyTransaction: {
- nonce: 'U256',
- gasPrice: 'U256',
- gasLimit: 'U256',
- action: 'EthereumTransactionTransactionAction',
- value: 'U256',
- input: 'Bytes',
- signature: 'EthereumTransactionTransactionSignature'
- },
- /**
- * Lookup203: ethereum::transaction::TransactionAction
- **/
- EthereumTransactionTransactionAction: {
- _enum: {
- Call: 'H160',
- Create: 'Null'
- }
- },
- /**
- * Lookup204: ethereum::transaction::TransactionSignature
- **/
- EthereumTransactionTransactionSignature: {
- v: 'u64',
- r: 'H256',
- s: 'H256'
- },
- /**
- * Lookup206: ethereum::transaction::EIP2930Transaction
- **/
- EthereumTransactionEip2930Transaction: {
- chainId: 'u64',
- nonce: 'U256',
- gasPrice: 'U256',
- gasLimit: 'U256',
- action: 'EthereumTransactionTransactionAction',
- value: 'U256',
- input: 'Bytes',
- accessList: 'Vec<EthereumTransactionAccessListItem>',
- oddYParity: 'bool',
- r: 'H256',
- s: 'H256'
- },
- /**
- * Lookup208: ethereum::transaction::AccessListItem
- **/
- EthereumTransactionAccessListItem: {
- address: 'H160',
- storageKeys: 'Vec<H256>'
- },
- /**
- * Lookup209: ethereum::transaction::EIP1559Transaction
- **/
- EthereumTransactionEip1559Transaction: {
- chainId: 'u64',
- nonce: 'U256',
- maxPriorityFeePerGas: 'U256',
- maxFeePerGas: 'U256',
- gasLimit: 'U256',
- action: 'EthereumTransactionTransactionAction',
- value: 'U256',
- input: 'Bytes',
- accessList: 'Vec<EthereumTransactionAccessListItem>',
- oddYParity: 'bool',
- r: 'H256',
- s: 'H256'
- },
- /**
- * Lookup210: pallet_evm_migration::pallet::Call<T>
- **/
- PalletEvmMigrationCall: {
- _enum: {
- begin: {
- address: 'H160',
- },
- set_data: {
- address: 'H160',
- data: 'Vec<(H256,H256)>',
- },
- finish: {
- address: 'H160',
- code: 'Bytes'
- }
- }
- },
- /**
- * Lookup213: pallet_sudo::pallet::Event<T>
- **/
- PalletSudoEvent: {
- _enum: {
- Sudid: {
- sudoResult: 'Result<Null, SpRuntimeDispatchError>',
- },
- KeyChanged: {
- oldSudoer: 'Option<AccountId32>',
- },
- SudoAsDone: {
- sudoResult: 'Result<Null, SpRuntimeDispatchError>'
- }
- }
- },
- /**
- * Lookup215: sp_runtime::DispatchError
- **/
- SpRuntimeDispatchError: {
- _enum: {
- Other: 'Null',
- CannotLookup: 'Null',
- BadOrigin: 'Null',
- Module: 'SpRuntimeModuleError',
- ConsumerRemaining: 'Null',
- NoProviders: 'Null',
- TooManyConsumers: 'Null',
- Token: 'SpRuntimeTokenError',
- Arithmetic: 'SpRuntimeArithmeticError',
- Transactional: 'SpRuntimeTransactionalError'
- }
- },
- /**
- * Lookup216: sp_runtime::ModuleError
- **/
- SpRuntimeModuleError: {
- index: 'u8',
- error: '[u8;4]'
- },
- /**
- * Lookup217: sp_runtime::TokenError
- **/
- SpRuntimeTokenError: {
- _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
- },
- /**
- * Lookup218: sp_runtime::ArithmeticError
- **/
- SpRuntimeArithmeticError: {
- _enum: ['Underflow', 'Overflow', 'DivisionByZero']
- },
- /**
- * Lookup219: sp_runtime::TransactionalError
- **/
- SpRuntimeTransactionalError: {
- _enum: ['LimitReached', 'NoLayer']
- },
- /**
- * Lookup220: pallet_sudo::pallet::Error<T>
- **/
- PalletSudoError: {
- _enum: ['RequireSudo']
- },
- /**
- * Lookup221: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
- **/
- FrameSystemAccountInfo: {
- nonce: 'u32',
- consumers: 'u32',
- providers: 'u32',
- sufficients: 'u32',
- data: 'PalletBalancesAccountData'
- },
- /**
- * Lookup222: frame_support::weights::PerDispatchClass<T>
- **/
- FrameSupportWeightsPerDispatchClassU64: {
- normal: 'u64',
- operational: 'u64',
- mandatory: 'u64'
- },
- /**
- * Lookup223: sp_runtime::generic::digest::Digest
- **/
- SpRuntimeDigest: {
- logs: 'Vec<SpRuntimeDigestDigestItem>'
- },
- /**
- * Lookup225: sp_runtime::generic::digest::DigestItem
- **/
- SpRuntimeDigestDigestItem: {
- _enum: {
- Other: 'Bytes',
- __Unused1: 'Null',
- __Unused2: 'Null',
- __Unused3: 'Null',
- Consensus: '([u8;4],Bytes)',
- Seal: '([u8;4],Bytes)',
- PreRuntime: '([u8;4],Bytes)',
- __Unused7: 'Null',
- RuntimeEnvironmentUpdated: 'Null'
- }
- },
- /**
- * Lookup227: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
- **/
- FrameSystemEventRecord: {
- phase: 'FrameSystemPhase',
- event: 'Event',
- topics: 'Vec<H256>'
- },
- /**
- * Lookup229: frame_system::pallet::Event<T>
- **/
- FrameSystemEvent: {
- _enum: {
- ExtrinsicSuccess: {
- dispatchInfo: 'FrameSupportWeightsDispatchInfo',
- },
- ExtrinsicFailed: {
- dispatchError: 'SpRuntimeDispatchError',
- dispatchInfo: 'FrameSupportWeightsDispatchInfo',
- },
- CodeUpdated: 'Null',
- NewAccount: {
- account: 'AccountId32',
- },
- KilledAccount: {
- account: 'AccountId32',
- },
- Remarked: {
- _alias: {
- hash_: 'hash',
- },
- sender: 'AccountId32',
- hash_: 'H256'
- }
- }
- },
- /**
- * Lookup230: frame_support::weights::DispatchInfo
- **/
- FrameSupportWeightsDispatchInfo: {
- weight: 'u64',
- class: 'FrameSupportWeightsDispatchClass',
- paysFee: 'FrameSupportWeightsPays'
- },
- /**
- * Lookup231: frame_support::weights::DispatchClass
- **/
- FrameSupportWeightsDispatchClass: {
- _enum: ['Normal', 'Operational', 'Mandatory']
- },
- /**
- * Lookup232: frame_support::weights::Pays
- **/
- FrameSupportWeightsPays: {
- _enum: ['Yes', 'No']
- },
- /**
- * Lookup233: orml_vesting::module::Event<T>
- **/
- OrmlVestingModuleEvent: {
- _enum: {
- VestingScheduleAdded: {
- from: 'AccountId32',
- to: 'AccountId32',
- vestingSchedule: 'OrmlVestingVestingSchedule',
- },
- Claimed: {
- who: 'AccountId32',
- amount: 'u128',
- },
- VestingSchedulesUpdated: {
- who: 'AccountId32'
- }
- }
- },
- /**
- * Lookup234: cumulus_pallet_xcmp_queue::pallet::Event<T>
- **/
- CumulusPalletXcmpQueueEvent: {
- _enum: {
- Success: 'Option<H256>',
- Fail: '(Option<H256>,XcmV2TraitsError)',
- BadVersion: 'Option<H256>',
- BadFormat: 'Option<H256>',
- UpwardMessageSent: 'Option<H256>',
- XcmpMessageSent: 'Option<H256>',
- OverweightEnqueued: '(u32,u32,u64,u64)',
- OverweightServiced: '(u64,u64)'
- }
- },
- /**
- * Lookup235: pallet_xcm::pallet::Event<T>
- **/
- PalletXcmEvent: {
- _enum: {
- Attempted: 'XcmV2TraitsOutcome',
- Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',
- UnexpectedResponse: '(XcmV1MultiLocation,u64)',
- ResponseReady: '(u64,XcmV2Response)',
- Notified: '(u64,u8,u8)',
- NotifyOverweight: '(u64,u8,u8,u64,u64)',
- NotifyDispatchError: '(u64,u8,u8)',
- NotifyDecodeFailed: '(u64,u8,u8)',
- InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',
- InvalidResponderVersion: '(XcmV1MultiLocation,u64)',
- ResponseTaken: 'u64',
- AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',
- VersionChangeNotified: '(XcmV1MultiLocation,u32)',
- SupportedVersionChanged: '(XcmV1MultiLocation,u32)',
- NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',
- NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'
- }
- },
- /**
- * Lookup236: xcm::v2::traits::Outcome
- **/
- XcmV2TraitsOutcome: {
- _enum: {
- Complete: 'u64',
- Incomplete: '(u64,XcmV2TraitsError)',
- Error: 'XcmV2TraitsError'
- }
- },
- /**
- * Lookup238: cumulus_pallet_xcm::pallet::Event<T>
- **/
- CumulusPalletXcmEvent: {
- _enum: {
- InvalidFormat: '[u8;8]',
- UnsupportedVersion: '[u8;8]',
- ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'
- }
- },
- /**
- * Lookup239: cumulus_pallet_dmp_queue::pallet::Event<T>
- **/
- CumulusPalletDmpQueueEvent: {
- _enum: {
- InvalidFormat: '[u8;32]',
- UnsupportedVersion: '[u8;32]',
- ExecutedDownward: '([u8;32],XcmV2TraitsOutcome)',
- WeightExhausted: '([u8;32],u64,u64)',
- OverweightEnqueued: '([u8;32],u64,u64)',
- OverweightServiced: '(u64,u64)'
- }
- },
- /**
- * Lookup240: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
- **/
- PalletUniqueRawEvent: {
- _enum: {
- CollectionSponsorRemoved: 'u32',
- CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
- CollectionOwnedChanged: '(u32,AccountId32)',
- CollectionSponsorSet: '(u32,AccountId32)',
- ConstOnChainSchemaSet: 'u32',
- SponsorshipConfirmed: '(u32,AccountId32)',
- CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
- AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
- AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',
- CollectionLimitSet: 'u32',
- MintPermissionSet: 'u32',
- OffchainSchemaSet: 'u32',
- PublicAccessModeSet: '(u32,UpDataStructsAccessMode)',
- SchemaVersionSet: 'u32',
- VariableOnChainSchemaSet: 'u32'
- }
- },
- /**
- * Lookup241: pallet_common::pallet::Event<T>
- **/
- PalletCommonEvent: {
- _enum: {
- CollectionCreated: '(u32,u8,AccountId32)',
- CollectionDestroyed: 'u32',
- ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
- ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
- Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',
- Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)'
- }
- },
- /**
- * Lookup242: pallet_evm::pallet::Event<T>
- **/
- PalletEvmEvent: {
- _enum: {
- Log: 'EthereumLog',
- Created: 'H160',
- CreatedFailed: 'H160',
- Executed: 'H160',
- ExecutedFailed: 'H160',
- BalanceDeposit: '(AccountId32,H160,U256)',
- BalanceWithdraw: '(AccountId32,H160,U256)'
- }
- },
- /**
- * Lookup243: ethereum::log::Log
- **/
- EthereumLog: {
- address: 'H160',
- topics: 'Vec<H256>',
- data: 'Bytes'
- },
- /**
- * Lookup244: pallet_ethereum::pallet::Event
- **/
- PalletEthereumEvent: {
- _enum: {
- Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'
- }
- },
- /**
- * Lookup245: evm_core::error::ExitReason
- **/
- EvmCoreErrorExitReason: {
- _enum: {
- Succeed: 'EvmCoreErrorExitSucceed',
- Error: 'EvmCoreErrorExitError',
- Revert: 'EvmCoreErrorExitRevert',
- Fatal: 'EvmCoreErrorExitFatal'
- }
- },
- /**
- * Lookup246: evm_core::error::ExitSucceed
- **/
- EvmCoreErrorExitSucceed: {
- _enum: ['Stopped', 'Returned', 'Suicided']
- },
- /**
- * Lookup247: evm_core::error::ExitError
- **/
- EvmCoreErrorExitError: {
- _enum: {
- StackUnderflow: 'Null',
- StackOverflow: 'Null',
- InvalidJump: 'Null',
- InvalidRange: 'Null',
- DesignatedInvalid: 'Null',
- CallTooDeep: 'Null',
- CreateCollision: 'Null',
- CreateContractLimit: 'Null',
- OutOfOffset: 'Null',
- OutOfGas: 'Null',
- OutOfFund: 'Null',
- PCUnderflow: 'Null',
- CreateEmpty: 'Null',
- Other: 'Text',
- InvalidCode: 'Null'
- }
- },
- /**
- * Lookup250: evm_core::error::ExitRevert
- **/
- EvmCoreErrorExitRevert: {
- _enum: ['Reverted']
- },
- /**
- * Lookup251: evm_core::error::ExitFatal
- **/
- EvmCoreErrorExitFatal: {
- _enum: {
- NotSupported: 'Null',
- UnhandledInterrupt: 'Null',
- CallErrorAsFatal: 'EvmCoreErrorExitError',
- Other: 'Text'
- }
- },
- /**
- * Lookup252: frame_system::Phase
- **/
- FrameSystemPhase: {
- _enum: {
- ApplyExtrinsic: 'u32',
- Finalization: 'Null',
- Initialization: 'Null'
- }
- },
- /**
- * Lookup254: frame_system::LastRuntimeUpgradeInfo
- **/
- FrameSystemLastRuntimeUpgradeInfo: {
- specVersion: 'Compact<u32>',
- specName: 'Text'
- },
- /**
- * Lookup255: frame_system::limits::BlockWeights
- **/
- FrameSystemLimitsBlockWeights: {
- baseBlock: 'u64',
- maxBlock: 'u64',
- perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
- },
- /**
- * Lookup256: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
- **/
- FrameSupportWeightsPerDispatchClassWeightsPerClass: {
- normal: 'FrameSystemLimitsWeightsPerClass',
- operational: 'FrameSystemLimitsWeightsPerClass',
- mandatory: 'FrameSystemLimitsWeightsPerClass'
- },
- /**
- * Lookup257: frame_system::limits::WeightsPerClass
- **/
- FrameSystemLimitsWeightsPerClass: {
- baseExtrinsic: 'u64',
- maxExtrinsic: 'Option<u64>',
- maxTotal: 'Option<u64>',
- reserved: 'Option<u64>'
- },
- /**
- * Lookup259: frame_system::limits::BlockLength
- **/
- FrameSystemLimitsBlockLength: {
- max: 'FrameSupportWeightsPerDispatchClassU32'
- },
- /**
- * Lookup260: frame_support::weights::PerDispatchClass<T>
- **/
- FrameSupportWeightsPerDispatchClassU32: {
- normal: 'u32',
- operational: 'u32',
- mandatory: 'u32'
- },
- /**
- * Lookup261: frame_support::weights::RuntimeDbWeight
- **/
- FrameSupportWeightsRuntimeDbWeight: {
- read: 'u64',
- write: 'u64'
- },
- /**
- * Lookup262: sp_version::RuntimeVersion
- **/
- SpVersionRuntimeVersion: {
- specName: 'Text',
- implName: 'Text',
- authoringVersion: 'u32',
- specVersion: 'u32',
- implVersion: 'u32',
- apis: 'Vec<([u8;8],u32)>',
- transactionVersion: 'u32',
- stateVersion: 'u8'
- },
- /**
- * Lookup266: frame_system::pallet::Error<T>
- **/
- FrameSystemError: {
- _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
- },
- /**
- * Lookup268: orml_vesting::module::Error<T>
- **/
- OrmlVestingModuleError: {
- _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
- },
- /**
- * Lookup270: cumulus_pallet_xcmp_queue::InboundChannelDetails
- **/
- CumulusPalletXcmpQueueInboundChannelDetails: {
- sender: 'u32',
- state: 'CumulusPalletXcmpQueueInboundState',
- messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
- },
- /**
- * Lookup271: cumulus_pallet_xcmp_queue::InboundState
- **/
- CumulusPalletXcmpQueueInboundState: {
- _enum: ['Ok', 'Suspended']
- },
- /**
- * Lookup274: polkadot_parachain::primitives::XcmpMessageFormat
- **/
- PolkadotParachainPrimitivesXcmpMessageFormat: {
- _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
- },
- /**
- * Lookup277: cumulus_pallet_xcmp_queue::OutboundChannelDetails
- **/
- CumulusPalletXcmpQueueOutboundChannelDetails: {
- recipient: 'u32',
- state: 'CumulusPalletXcmpQueueOutboundState',
- signalsExist: 'bool',
- firstIndex: 'u16',
- lastIndex: 'u16'
- },
- /**
- * Lookup278: cumulus_pallet_xcmp_queue::OutboundState
- **/
- CumulusPalletXcmpQueueOutboundState: {
- _enum: ['Ok', 'Suspended']
- },
- /**
- * Lookup280: cumulus_pallet_xcmp_queue::QueueConfigData
- **/
- CumulusPalletXcmpQueueQueueConfigData: {
- suspendThreshold: 'u32',
- dropThreshold: 'u32',
- resumeThreshold: 'u32',
- thresholdWeight: 'u64',
- weightRestrictDecay: 'u64',
- xcmpMaxIndividualWeight: 'u64'
- },
- /**
- * Lookup282: cumulus_pallet_xcmp_queue::pallet::Error<T>
- **/
- CumulusPalletXcmpQueueError: {
- _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
- },
- /**
- * Lookup283: pallet_xcm::pallet::Error<T>
- **/
- PalletXcmError: {
- _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
- },
- /**
- * Lookup284: cumulus_pallet_xcm::pallet::Error<T>
- **/
- CumulusPalletXcmError: 'Null',
- /**
- * Lookup285: cumulus_pallet_dmp_queue::ConfigData
- **/
- CumulusPalletDmpQueueConfigData: {
- maxIndividual: 'u64'
- },
- /**
- * Lookup286: cumulus_pallet_dmp_queue::PageIndexData
- **/
- CumulusPalletDmpQueuePageIndexData: {
- beginUsed: 'u32',
- endUsed: 'u32',
- overweightCount: 'u64'
- },
- /**
- * Lookup289: cumulus_pallet_dmp_queue::pallet::Error<T>
- **/
- CumulusPalletDmpQueueError: {
- _enum: ['Unknown', 'OverLimit']
- },
- /**
- * Lookup293: pallet_unique::Error<T>
- **/
- PalletUniqueError: {
- _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
- },
- /**
- * Lookup294: up_data_structs::Collection<sp_core::crypto::AccountId32>
- **/
- UpDataStructsCollection: {
- owner: 'AccountId32',
- mode: 'UpDataStructsCollectionMode',
- access: 'UpDataStructsAccessMode',
- name: 'Vec<u16>',
- description: 'Vec<u16>',
- tokenPrefix: 'Bytes',
- mintMode: 'bool',
- offchainSchema: 'Bytes',
- schemaVersion: 'UpDataStructsSchemaVersion',
- sponsorship: 'UpDataStructsSponsorshipState',
- limits: 'UpDataStructsCollectionLimits',
- variableOnChainSchema: 'Bytes',
- constOnChainSchema: 'Bytes',
- metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'
- },
- /**
- * Lookup295: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
- **/
- UpDataStructsSponsorshipState: {
- _enum: {
- Disabled: 'Null',
- Unconfirmed: 'AccountId32',
- Confirmed: 'AccountId32'
- }
- },
- /**
- * Lookup298: up_data_structs::CollectionStats
- **/
- UpDataStructsCollectionStats: {
- created: 'u32',
- destroyed: 'u32',
- alive: 'u32'
- },
- /**
- * Lookup299: pallet_common::pallet::Error<T>
- **/
- PalletCommonError: {
- _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds']
- },
- /**
- * Lookup301: pallet_fungible::pallet::Error<T>
- **/
- PalletFungibleError: {
- _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData']
- },
- /**
- * Lookup302: pallet_refungible::ItemData
- **/
- PalletRefungibleItemData: {
- constData: 'Bytes',
- variableData: 'Bytes'
- },
- /**
- * Lookup306: pallet_refungible::pallet::Error<T>
- **/
- PalletRefungibleError: {
- _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces']
- },
- /**
- * Lookup307: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
- **/
- PalletNonfungibleItemData: {
- constData: 'Bytes',
- variableData: 'Bytes',
- owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
- },
- /**
- * Lookup308: pallet_nonfungible::pallet::Error<T>
- **/
- PalletNonfungibleError: {
- _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']
- },
- /**
- * Lookup310: pallet_evm::pallet::Error<T>
- **/
- PalletEvmError: {
- _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
- },
- /**
- * Lookup313: fp_rpc::TransactionStatus
- **/
- FpRpcTransactionStatus: {
- transactionHash: 'H256',
- transactionIndex: 'u32',
- from: 'H160',
- to: 'Option<H160>',
- contractAddress: 'Option<H160>',
- logs: 'Vec<EthereumLog>',
- logsBloom: 'EthbloomBloom'
- },
- /**
- * Lookup316: ethbloom::Bloom
- **/
- EthbloomBloom: '[u8;256]',
- /**
- * Lookup318: ethereum::receipt::ReceiptV3
- **/
- EthereumReceiptReceiptV3: {
- _enum: {
- Legacy: 'EthereumReceiptEip658ReceiptData',
- EIP2930: 'EthereumReceiptEip658ReceiptData',
- EIP1559: 'EthereumReceiptEip658ReceiptData'
- }
- },
- /**
- * Lookup319: ethereum::receipt::EIP658ReceiptData
- **/
- EthereumReceiptEip658ReceiptData: {
- statusCode: 'u8',
- usedGas: 'U256',
- logsBloom: 'EthbloomBloom',
- logs: 'Vec<EthereumLog>'
- },
- /**
- * Lookup320: ethereum::block::Block<ethereum::transaction::TransactionV2>
- **/
- EthereumBlock: {
- header: 'EthereumHeader',
- transactions: 'Vec<EthereumTransactionTransactionV2>',
- ommers: 'Vec<EthereumHeader>'
- },
- /**
- * Lookup321: ethereum::header::Header
- **/
- EthereumHeader: {
- parentHash: 'H256',
- ommersHash: 'H256',
- beneficiary: 'H160',
- stateRoot: 'H256',
- transactionsRoot: 'H256',
- receiptsRoot: 'H256',
- logsBloom: 'EthbloomBloom',
- difficulty: 'U256',
- number: 'U256',
- gasLimit: 'U256',
- gasUsed: 'U256',
- timestamp: 'u64',
- extraData: 'Bytes',
- mixHash: 'H256',
- nonce: 'EthereumTypesHashH64'
- },
- /**
- * Lookup322: ethereum_types::hash::H64
- **/
- EthereumTypesHashH64: '[u8;8]',
- /**
- * Lookup327: pallet_ethereum::pallet::Error<T>
- **/
- PalletEthereumError: {
- _enum: ['InvalidSignature', 'PreLogExists']
- },
- /**
- * Lookup328: pallet_evm_coder_substrate::pallet::Error<T>
- **/
- PalletEvmCoderSubstrateError: {
- _enum: ['OutOfGas', 'OutOfFund']
- },
- /**
- * Lookup329: pallet_evm_contract_helpers::SponsoringModeT
- **/
- PalletEvmContractHelpersSponsoringModeT: {
- _enum: ['Disabled', 'Allowlisted', 'Generous']
- },
- /**
- * Lookup331: pallet_evm_contract_helpers::pallet::Error<T>
- **/
- PalletEvmContractHelpersError: {
- _enum: ['NoPermission']
- },
- /**
- * Lookup332: pallet_evm_migration::pallet::Error<T>
- **/
- PalletEvmMigrationError: {
- _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
- },
- /**
- * Lookup334: sp_runtime::MultiSignature
- **/
- SpRuntimeMultiSignature: {
- _enum: {
- Ed25519: 'SpCoreEd25519Signature',
- Sr25519: 'SpCoreSr25519Signature',
- Ecdsa: 'SpCoreEcdsaSignature'
- }
- },
- /**
- * Lookup335: sp_core::ed25519::Signature
- **/
- SpCoreEd25519Signature: '[u8;64]',
- /**
- * Lookup337: sp_core::sr25519::Signature
- **/
- SpCoreSr25519Signature: '[u8;64]',
- /**
- * Lookup338: sp_core::ecdsa::Signature
- **/
- SpCoreEcdsaSignature: '[u8;65]',
- /**
- * Lookup341: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
- **/
- FrameSystemExtensionsCheckSpecVersion: 'Null',
- /**
- * Lookup342: frame_system::extensions::check_genesis::CheckGenesis<T>
- **/
- FrameSystemExtensionsCheckGenesis: 'Null',
- /**
- * Lookup345: frame_system::extensions::check_nonce::CheckNonce<T>
- **/
- FrameSystemExtensionsCheckNonce: 'Compact<u32>',
- /**
- * Lookup346: frame_system::extensions::check_weight::CheckWeight<T>
- **/
- FrameSystemExtensionsCheckWeight: 'Null',
- /**
- * Lookup347: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
- **/
- PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
- /**
- * Lookup348: opal_runtime::Runtime
- **/
- OpalRuntimeRuntime: 'Null'
-};
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ /dev/null
@@ -1,2662 +0,0 @@
-// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
-/* eslint-disable */
-
-declare module '@polkadot/types/lookup' {
- import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
- import type { ITuple } from '@polkadot/types-codec/types';
- import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
- import type { Event } from '@polkadot/types/interfaces/system';
-
- /** @name PolkadotPrimitivesV2PersistedValidationData (2) */
- export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
- readonly parentHead: Bytes;
- readonly relayParentNumber: u32;
- readonly relayParentStorageRoot: H256;
- readonly maxPovSize: u32;
- }
-
- /** @name PolkadotPrimitivesV2UpgradeRestriction (9) */
- export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
- readonly isPresent: boolean;
- readonly type: 'Present';
- }
-
- /** @name SpTrieStorageProof (10) */
- export interface SpTrieStorageProof extends Struct {
- readonly trieNodes: BTreeSet;
- }
-
- /** @name BTreeSet (11) */
- export interface BTreeSet extends BTreeSet<Bytes> {}
-
- /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */
- export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
- readonly dmqMqcHead: H256;
- readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
- readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
- readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
- }
-
- /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (18) */
- export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
- readonly maxCapacity: u32;
- readonly maxTotalSize: u32;
- readonly maxMessageSize: u32;
- readonly msgCount: u32;
- readonly totalSize: u32;
- readonly mqcHead: Option<H256>;
- }
-
- /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (20) */
- export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
- readonly maxCodeSize: u32;
- readonly maxHeadDataSize: u32;
- readonly maxUpwardQueueCount: u32;
- readonly maxUpwardQueueSize: u32;
- readonly maxUpwardMessageSize: u32;
- readonly maxUpwardMessageNumPerCandidate: u32;
- readonly hrmpMaxMessageNumPerCandidate: u32;
- readonly validationUpgradeCooldown: u32;
- readonly validationUpgradeDelay: u32;
- }
-
- /** @name PolkadotCorePrimitivesOutboundHrmpMessage (26) */
- export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
- readonly recipient: u32;
- readonly data: Bytes;
- }
-
- /** @name CumulusPalletParachainSystemCall (28) */
- export interface CumulusPalletParachainSystemCall extends Enum {
- readonly isSetValidationData: boolean;
- readonly asSetValidationData: {
- readonly data: CumulusPrimitivesParachainInherentParachainInherentData;
- } & Struct;
- readonly isSudoSendUpwardMessage: boolean;
- readonly asSudoSendUpwardMessage: {
- readonly message: Bytes;
- } & Struct;
- readonly isAuthorizeUpgrade: boolean;
- readonly asAuthorizeUpgrade: {
- readonly codeHash: H256;
- } & Struct;
- readonly isEnactAuthorizedUpgrade: boolean;
- readonly asEnactAuthorizedUpgrade: {
- readonly code: Bytes;
- } & Struct;
- readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
- }
-
- /** @name CumulusPrimitivesParachainInherentParachainInherentData (29) */
- export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
- readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
- readonly relayChainState: SpTrieStorageProof;
- readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
- readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
- }
-
- /** @name PolkadotCorePrimitivesInboundDownwardMessage (31) */
- export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
- readonly sentAt: u32;
- readonly msg: Bytes;
- }
-
- /** @name PolkadotCorePrimitivesInboundHrmpMessage (34) */
- export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
- readonly sentAt: u32;
- readonly data: Bytes;
- }
-
- /** @name CumulusPalletParachainSystemEvent (37) */
- export interface CumulusPalletParachainSystemEvent extends Enum {
- readonly isValidationFunctionStored: boolean;
- readonly isValidationFunctionApplied: boolean;
- readonly asValidationFunctionApplied: u32;
- readonly isValidationFunctionDiscarded: boolean;
- readonly isUpgradeAuthorized: boolean;
- readonly asUpgradeAuthorized: H256;
- readonly isDownwardMessagesReceived: boolean;
- readonly asDownwardMessagesReceived: u32;
- readonly isDownwardMessagesProcessed: boolean;
- readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;
- readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';
- }
-
- /** @name CumulusPalletParachainSystemError (38) */
- export interface CumulusPalletParachainSystemError extends Enum {
- readonly isOverlappingUpgrades: boolean;
- readonly isProhibitedByPolkadot: boolean;
- readonly isTooBig: boolean;
- readonly isValidationDataNotAvailable: boolean;
- readonly isHostConfigurationNotAvailable: boolean;
- readonly isNotScheduled: boolean;
- readonly isNothingAuthorized: boolean;
- readonly isUnauthorized: boolean;
- readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
- }
-
- /** @name PalletBalancesAccountData (41) */
- export interface PalletBalancesAccountData extends Struct {
- readonly free: u128;
- readonly reserved: u128;
- readonly miscFrozen: u128;
- readonly feeFrozen: u128;
- }
-
- /** @name PalletBalancesBalanceLock (43) */
- export interface PalletBalancesBalanceLock extends Struct {
- readonly id: U8aFixed;
- readonly amount: u128;
- readonly reasons: PalletBalancesReasons;
- }
-
- /** @name PalletBalancesReasons (45) */
- export interface PalletBalancesReasons extends Enum {
- readonly isFee: boolean;
- readonly isMisc: boolean;
- readonly isAll: boolean;
- readonly type: 'Fee' | 'Misc' | 'All';
- }
-
- /** @name PalletBalancesReserveData (48) */
- export interface PalletBalancesReserveData extends Struct {
- readonly id: U8aFixed;
- readonly amount: u128;
- }
-
- /** @name PalletBalancesReleases (50) */
- export interface PalletBalancesReleases extends Enum {
- readonly isV100: boolean;
- readonly isV200: boolean;
- readonly type: 'V100' | 'V200';
- }
-
- /** @name PalletBalancesCall (51) */
- export interface PalletBalancesCall extends Enum {
- readonly isTransfer: boolean;
- readonly asTransfer: {
- readonly dest: MultiAddress;
- readonly value: Compact<u128>;
- } & Struct;
- readonly isSetBalance: boolean;
- readonly asSetBalance: {
- readonly who: MultiAddress;
- readonly newFree: Compact<u128>;
- readonly newReserved: Compact<u128>;
- } & Struct;
- readonly isForceTransfer: boolean;
- readonly asForceTransfer: {
- readonly source: MultiAddress;
- readonly dest: MultiAddress;
- readonly value: Compact<u128>;
- } & Struct;
- readonly isTransferKeepAlive: boolean;
- readonly asTransferKeepAlive: {
- readonly dest: MultiAddress;
- readonly value: Compact<u128>;
- } & Struct;
- readonly isTransferAll: boolean;
- readonly asTransferAll: {
- readonly dest: MultiAddress;
- readonly keepAlive: bool;
- } & Struct;
- readonly isForceUnreserve: boolean;
- readonly asForceUnreserve: {
- readonly who: MultiAddress;
- readonly amount: u128;
- } & Struct;
- readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
- }
-
- /** @name PalletBalancesEvent (57) */
- export interface PalletBalancesEvent extends Enum {
- readonly isEndowed: boolean;
- readonly asEndowed: {
- readonly account: AccountId32;
- readonly freeBalance: u128;
- } & Struct;
- readonly isDustLost: boolean;
- readonly asDustLost: {
- readonly account: AccountId32;
- readonly amount: u128;
- } & Struct;
- readonly isTransfer: boolean;
- readonly asTransfer: {
- readonly from: AccountId32;
- readonly to: AccountId32;
- readonly amount: u128;
- } & Struct;
- readonly isBalanceSet: boolean;
- readonly asBalanceSet: {
- readonly who: AccountId32;
- readonly free: u128;
- readonly reserved: u128;
- } & Struct;
- readonly isReserved: boolean;
- readonly asReserved: {
- readonly who: AccountId32;
- readonly amount: u128;
- } & Struct;
- readonly isUnreserved: boolean;
- readonly asUnreserved: {
- readonly who: AccountId32;
- readonly amount: u128;
- } & Struct;
- readonly isReserveRepatriated: boolean;
- readonly asReserveRepatriated: {
- readonly from: AccountId32;
- readonly to: AccountId32;
- readonly amount: u128;
- readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;
- } & Struct;
- readonly isDeposit: boolean;
- readonly asDeposit: {
- readonly who: AccountId32;
- readonly amount: u128;
- } & Struct;
- readonly isWithdraw: boolean;
- readonly asWithdraw: {
- readonly who: AccountId32;
- readonly amount: u128;
- } & Struct;
- readonly isSlashed: boolean;
- readonly asSlashed: {
- readonly who: AccountId32;
- readonly amount: u128;
- } & Struct;
- readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';
- }
-
- /** @name FrameSupportTokensMiscBalanceStatus (58) */
- export interface FrameSupportTokensMiscBalanceStatus extends Enum {
- readonly isFree: boolean;
- readonly isReserved: boolean;
- readonly type: 'Free' | 'Reserved';
- }
-
- /** @name PalletBalancesError (59) */
- export interface PalletBalancesError extends Enum {
- readonly isVestingBalance: boolean;
- readonly isLiquidityRestrictions: boolean;
- readonly isInsufficientBalance: boolean;
- readonly isExistentialDeposit: boolean;
- readonly isKeepAlive: boolean;
- readonly isExistingVestingSchedule: boolean;
- readonly isDeadAccount: boolean;
- readonly isTooManyReserves: boolean;
- readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
- }
-
- /** @name PalletTimestampCall (62) */
- export interface PalletTimestampCall extends Enum {
- readonly isSet: boolean;
- readonly asSet: {
- readonly now: Compact<u64>;
- } & Struct;
- readonly type: 'Set';
- }
-
- /** @name PalletTransactionPaymentReleases (65) */
- export interface PalletTransactionPaymentReleases extends Enum {
- readonly isV1Ancient: boolean;
- readonly isV2: boolean;
- readonly type: 'V1Ancient' | 'V2';
- }
-
- /** @name FrameSupportWeightsWeightToFeeCoefficient (67) */
- export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {
- readonly coeffInteger: u128;
- readonly coeffFrac: Perbill;
- readonly negative: bool;
- readonly degree: u8;
- }
-
- /** @name PalletTreasuryProposal (69) */
- export interface PalletTreasuryProposal extends Struct {
- readonly proposer: AccountId32;
- readonly value: u128;
- readonly beneficiary: AccountId32;
- readonly bond: u128;
- }
-
- /** @name PalletTreasuryCall (72) */
- export interface PalletTreasuryCall extends Enum {
- readonly isProposeSpend: boolean;
- readonly asProposeSpend: {
- readonly value: Compact<u128>;
- readonly beneficiary: MultiAddress;
- } & Struct;
- readonly isRejectProposal: boolean;
- readonly asRejectProposal: {
- readonly proposalId: Compact<u32>;
- } & Struct;
- readonly isApproveProposal: boolean;
- readonly asApproveProposal: {
- readonly proposalId: Compact<u32>;
- } & Struct;
- readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';
- }
-
- /** @name PalletTreasuryEvent (74) */
- export interface PalletTreasuryEvent extends Enum {
- readonly isProposed: boolean;
- readonly asProposed: {
- readonly proposalIndex: u32;
- } & Struct;
- readonly isSpending: boolean;
- readonly asSpending: {
- readonly budgetRemaining: u128;
- } & Struct;
- readonly isAwarded: boolean;
- readonly asAwarded: {
- readonly proposalIndex: u32;
- readonly award: u128;
- readonly account: AccountId32;
- } & Struct;
- readonly isRejected: boolean;
- readonly asRejected: {
- readonly proposalIndex: u32;
- readonly slashed: u128;
- } & Struct;
- readonly isBurnt: boolean;
- readonly asBurnt: {
- readonly burntFunds: u128;
- } & Struct;
- readonly isRollover: boolean;
- readonly asRollover: {
- readonly rolloverBalance: u128;
- } & Struct;
- readonly isDeposit: boolean;
- readonly asDeposit: {
- readonly value: u128;
- } & Struct;
- readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';
- }
-
- /** @name FrameSupportPalletId (77) */
- export interface FrameSupportPalletId extends U8aFixed {}
-
- /** @name PalletTreasuryError (78) */
- export interface PalletTreasuryError extends Enum {
- readonly isInsufficientProposersBalance: boolean;
- readonly isInvalidIndex: boolean;
- readonly isTooManyApprovals: boolean;
- readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';
- }
-
- /** @name PalletSudoCall (79) */
- export interface PalletSudoCall extends Enum {
- readonly isSudo: boolean;
- readonly asSudo: {
- readonly call: Call;
- } & Struct;
- readonly isSudoUncheckedWeight: boolean;
- readonly asSudoUncheckedWeight: {
- readonly call: Call;
- readonly weight: u64;
- } & Struct;
- readonly isSetKey: boolean;
- readonly asSetKey: {
- readonly new_: MultiAddress;
- } & Struct;
- readonly isSudoAs: boolean;
- readonly asSudoAs: {
- readonly who: MultiAddress;
- readonly call: Call;
- } & Struct;
- readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
- }
-
- /** @name FrameSystemCall (81) */
- export interface FrameSystemCall extends Enum {
- readonly isFillBlock: boolean;
- readonly asFillBlock: {
- readonly ratio: Perbill;
- } & Struct;
- readonly isRemark: boolean;
- readonly asRemark: {
- readonly remark: Bytes;
- } & Struct;
- readonly isSetHeapPages: boolean;
- readonly asSetHeapPages: {
- readonly pages: u64;
- } & Struct;
- readonly isSetCode: boolean;
- readonly asSetCode: {
- readonly code: Bytes;
- } & Struct;
- readonly isSetCodeWithoutChecks: boolean;
- readonly asSetCodeWithoutChecks: {
- readonly code: Bytes;
- } & Struct;
- readonly isSetStorage: boolean;
- readonly asSetStorage: {
- readonly items: Vec<ITuple<[Bytes, Bytes]>>;
- } & Struct;
- readonly isKillStorage: boolean;
- readonly asKillStorage: {
- readonly keys_: Vec<Bytes>;
- } & Struct;
- readonly isKillPrefix: boolean;
- readonly asKillPrefix: {
- readonly prefix: Bytes;
- readonly subkeys: u32;
- } & Struct;
- readonly isRemarkWithEvent: boolean;
- readonly asRemarkWithEvent: {
- readonly remark: Bytes;
- } & Struct;
- readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
- }
-
- /** @name OrmlVestingModuleCall (84) */
- export interface OrmlVestingModuleCall extends Enum {
- readonly isClaim: boolean;
- readonly isVestedTransfer: boolean;
- readonly asVestedTransfer: {
- readonly dest: MultiAddress;
- readonly schedule: OrmlVestingVestingSchedule;
- } & Struct;
- readonly isUpdateVestingSchedules: boolean;
- readonly asUpdateVestingSchedules: {
- readonly who: MultiAddress;
- readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;
- } & Struct;
- readonly isClaimFor: boolean;
- readonly asClaimFor: {
- readonly dest: MultiAddress;
- } & Struct;
- readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
- }
-
- /** @name OrmlVestingVestingSchedule (85) */
- export interface OrmlVestingVestingSchedule extends Struct {
- readonly start: u32;
- readonly period: u32;
- readonly periodCount: u32;
- readonly perPeriod: Compact<u128>;
- }
-
- /** @name CumulusPalletXcmpQueueCall (87) */
- export interface CumulusPalletXcmpQueueCall extends Enum {
- readonly isServiceOverweight: boolean;
- readonly asServiceOverweight: {
- readonly index: u64;
- readonly weightLimit: u64;
- } & Struct;
- readonly isSuspendXcmExecution: boolean;
- readonly isResumeXcmExecution: boolean;
- readonly isUpdateSuspendThreshold: boolean;
- readonly asUpdateSuspendThreshold: {
- readonly new_: u32;
- } & Struct;
- readonly isUpdateDropThreshold: boolean;
- readonly asUpdateDropThreshold: {
- readonly new_: u32;
- } & Struct;
- readonly isUpdateResumeThreshold: boolean;
- readonly asUpdateResumeThreshold: {
- readonly new_: u32;
- } & Struct;
- readonly isUpdateThresholdWeight: boolean;
- readonly asUpdateThresholdWeight: {
- readonly new_: u64;
- } & Struct;
- readonly isUpdateWeightRestrictDecay: boolean;
- readonly asUpdateWeightRestrictDecay: {
- readonly new_: u64;
- } & Struct;
- readonly isUpdateXcmpMaxIndividualWeight: boolean;
- readonly asUpdateXcmpMaxIndividualWeight: {
- readonly new_: u64;
- } & Struct;
- readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
- }
-
- /** @name PalletXcmCall (88) */
- export interface PalletXcmCall extends Enum {
- readonly isSend: boolean;
- readonly asSend: {
- readonly dest: XcmVersionedMultiLocation;
- readonly message: XcmVersionedXcm;
- } & Struct;
- readonly isTeleportAssets: boolean;
- readonly asTeleportAssets: {
- readonly dest: XcmVersionedMultiLocation;
- readonly beneficiary: XcmVersionedMultiLocation;
- readonly assets: XcmVersionedMultiAssets;
- readonly feeAssetItem: u32;
- } & Struct;
- readonly isReserveTransferAssets: boolean;
- readonly asReserveTransferAssets: {
- readonly dest: XcmVersionedMultiLocation;
- readonly beneficiary: XcmVersionedMultiLocation;
- readonly assets: XcmVersionedMultiAssets;
- readonly feeAssetItem: u32;
- } & Struct;
- readonly isExecute: boolean;
- readonly asExecute: {
- readonly message: XcmVersionedXcm;
- readonly maxWeight: u64;
- } & Struct;
- readonly isForceXcmVersion: boolean;
- readonly asForceXcmVersion: {
- readonly location: XcmV1MultiLocation;
- readonly xcmVersion: u32;
- } & Struct;
- readonly isForceDefaultXcmVersion: boolean;
- readonly asForceDefaultXcmVersion: {
- readonly maybeXcmVersion: Option<u32>;
- } & Struct;
- readonly isForceSubscribeVersionNotify: boolean;
- readonly asForceSubscribeVersionNotify: {
- readonly location: XcmVersionedMultiLocation;
- } & Struct;
- readonly isForceUnsubscribeVersionNotify: boolean;
- readonly asForceUnsubscribeVersionNotify: {
- readonly location: XcmVersionedMultiLocation;
- } & Struct;
- readonly isLimitedReserveTransferAssets: boolean;
- readonly asLimitedReserveTransferAssets: {
- readonly dest: XcmVersionedMultiLocation;
- readonly beneficiary: XcmVersionedMultiLocation;
- readonly assets: XcmVersionedMultiAssets;
- readonly feeAssetItem: u32;
- readonly weightLimit: XcmV2WeightLimit;
- } & Struct;
- readonly isLimitedTeleportAssets: boolean;
- readonly asLimitedTeleportAssets: {
- readonly dest: XcmVersionedMultiLocation;
- readonly beneficiary: XcmVersionedMultiLocation;
- readonly assets: XcmVersionedMultiAssets;
- readonly feeAssetItem: u32;
- readonly weightLimit: XcmV2WeightLimit;
- } & Struct;
- readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
- }
-
- /** @name XcmVersionedMultiLocation (89) */
- export interface XcmVersionedMultiLocation extends Enum {
- readonly isV0: boolean;
- readonly asV0: XcmV0MultiLocation;
- readonly isV1: boolean;
- readonly asV1: XcmV1MultiLocation;
- readonly type: 'V0' | 'V1';
- }
-
- /** @name XcmV0MultiLocation (90) */
- export interface XcmV0MultiLocation extends Enum {
- readonly isNull: boolean;
- readonly isX1: boolean;
- readonly asX1: XcmV0Junction;
- readonly isX2: boolean;
- readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;
- readonly isX3: boolean;
- readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX4: boolean;
- readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX5: boolean;
- readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX6: boolean;
- readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX7: boolean;
- readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly isX8: boolean;
- readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
- readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
- }
-
- /** @name XcmV0Junction (91) */
- export interface XcmV0Junction extends Enum {
- readonly isParent: boolean;
- readonly isParachain: boolean;
- readonly asParachain: Compact<u32>;
- readonly isAccountId32: boolean;
- readonly asAccountId32: {
- readonly network: XcmV0JunctionNetworkId;
- readonly id: U8aFixed;
- } & Struct;
- readonly isAccountIndex64: boolean;
- readonly asAccountIndex64: {
- readonly network: XcmV0JunctionNetworkId;
- readonly index: Compact<u64>;
- } & Struct;
- readonly isAccountKey20: boolean;
- readonly asAccountKey20: {
- readonly network: XcmV0JunctionNetworkId;
- readonly key: U8aFixed;
- } & Struct;
- readonly isPalletInstance: boolean;
- readonly asPalletInstance: u8;
- readonly isGeneralIndex: boolean;
- readonly asGeneralIndex: Compact<u128>;
- readonly isGeneralKey: boolean;
- readonly asGeneralKey: Bytes;
- readonly isOnlyChild: boolean;
- readonly isPlurality: boolean;
- readonly asPlurality: {
- readonly id: XcmV0JunctionBodyId;
- readonly part: XcmV0JunctionBodyPart;
- } & Struct;
- readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
- }
-
- /** @name XcmV0JunctionNetworkId (92) */
- export interface XcmV0JunctionNetworkId extends Enum {
- readonly isAny: boolean;
- readonly isNamed: boolean;
- readonly asNamed: Bytes;
- readonly isPolkadot: boolean;
- readonly isKusama: boolean;
- readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
- }
-
- /** @name XcmV0JunctionBodyId (93) */
- export interface XcmV0JunctionBodyId extends Enum {
- readonly isUnit: boolean;
- readonly isNamed: boolean;
- readonly asNamed: Bytes;
- readonly isIndex: boolean;
- readonly asIndex: Compact<u32>;
- readonly isExecutive: boolean;
- readonly isTechnical: boolean;
- readonly isLegislative: boolean;
- readonly isJudicial: boolean;
- readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
- }
-
- /** @name XcmV0JunctionBodyPart (94) */
- export interface XcmV0JunctionBodyPart extends Enum {
- readonly isVoice: boolean;
- readonly isMembers: boolean;
- readonly asMembers: {
- readonly count: Compact<u32>;
- } & Struct;
- readonly isFraction: boolean;
- readonly asFraction: {
- readonly nom: Compact<u32>;
- readonly denom: Compact<u32>;
- } & Struct;
- readonly isAtLeastProportion: boolean;
- readonly asAtLeastProportion: {
- readonly nom: Compact<u32>;
- readonly denom: Compact<u32>;
- } & Struct;
- readonly isMoreThanProportion: boolean;
- readonly asMoreThanProportion: {
- readonly nom: Compact<u32>;
- readonly denom: Compact<u32>;
- } & Struct;
- readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
- }
-
- /** @name XcmV1MultiLocation (95) */
- export interface XcmV1MultiLocation extends Struct {
- readonly parents: u8;
- readonly interior: XcmV1MultilocationJunctions;
- }
-
- /** @name XcmV1MultilocationJunctions (96) */
- export interface XcmV1MultilocationJunctions extends Enum {
- readonly isHere: boolean;
- readonly isX1: boolean;
- readonly asX1: XcmV1Junction;
- readonly isX2: boolean;
- readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;
- readonly isX3: boolean;
- readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
- readonly isX4: boolean;
- readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
- readonly isX5: boolean;
- readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
- readonly isX6: boolean;
- readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
- readonly isX7: boolean;
- readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
- readonly isX8: boolean;
- readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
- readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
- }
-
- /** @name XcmV1Junction (97) */
- export interface XcmV1Junction extends Enum {
- readonly isParachain: boolean;
- readonly asParachain: Compact<u32>;
- readonly isAccountId32: boolean;
- readonly asAccountId32: {
- readonly network: XcmV0JunctionNetworkId;
- readonly id: U8aFixed;
- } & Struct;
- readonly isAccountIndex64: boolean;
- readonly asAccountIndex64: {
- readonly network: XcmV0JunctionNetworkId;
- readonly index: Compact<u64>;
- } & Struct;
- readonly isAccountKey20: boolean;
- readonly asAccountKey20: {
- readonly network: XcmV0JunctionNetworkId;
- readonly key: U8aFixed;
- } & Struct;
- readonly isPalletInstance: boolean;
- readonly asPalletInstance: u8;
- readonly isGeneralIndex: boolean;
- readonly asGeneralIndex: Compact<u128>;
- readonly isGeneralKey: boolean;
- readonly asGeneralKey: Bytes;
- readonly isOnlyChild: boolean;
- readonly isPlurality: boolean;
- readonly asPlurality: {
- readonly id: XcmV0JunctionBodyId;
- readonly part: XcmV0JunctionBodyPart;
- } & Struct;
- readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
- }
-
- /** @name XcmVersionedXcm (98) */
- export interface XcmVersionedXcm extends Enum {
- readonly isV0: boolean;
- readonly asV0: XcmV0Xcm;
- readonly isV1: boolean;
- readonly asV1: XcmV1Xcm;
- readonly isV2: boolean;
- readonly asV2: XcmV2Xcm;
- readonly type: 'V0' | 'V1' | 'V2';
- }
-
- /** @name XcmV0Xcm (99) */
- export interface XcmV0Xcm extends Enum {
- readonly isWithdrawAsset: boolean;
- readonly asWithdrawAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isReserveAssetDeposit: boolean;
- readonly asReserveAssetDeposit: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isTeleportAsset: boolean;
- readonly asTeleportAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isQueryResponse: boolean;
- readonly asQueryResponse: {
- readonly queryId: Compact<u64>;
- readonly response: XcmV0Response;
- } & Struct;
- readonly isTransferAsset: boolean;
- readonly asTransferAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- } & Struct;
- readonly isTransferReserveAsset: boolean;
- readonly asTransferReserveAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isTransact: boolean;
- readonly asTransact: {
- readonly originType: XcmV0OriginKind;
- readonly requireWeightAtMost: u64;
- readonly call: XcmDoubleEncoded;
- } & Struct;
- readonly isHrmpNewChannelOpenRequest: boolean;
- readonly asHrmpNewChannelOpenRequest: {
- readonly sender: Compact<u32>;
- readonly maxMessageSize: Compact<u32>;
- readonly maxCapacity: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelAccepted: boolean;
- readonly asHrmpChannelAccepted: {
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelClosing: boolean;
- readonly asHrmpChannelClosing: {
- readonly initiator: Compact<u32>;
- readonly sender: Compact<u32>;
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isRelayedFrom: boolean;
- readonly asRelayedFrom: {
- readonly who: XcmV0MultiLocation;
- readonly message: XcmV0Xcm;
- } & Struct;
- readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
- }
-
- /** @name XcmV0MultiAsset (101) */
- export interface XcmV0MultiAsset extends Enum {
- readonly isNone: boolean;
- readonly isAll: boolean;
- readonly isAllFungible: boolean;
- readonly isAllNonFungible: boolean;
- readonly isAllAbstractFungible: boolean;
- readonly asAllAbstractFungible: {
- readonly id: Bytes;
- } & Struct;
- readonly isAllAbstractNonFungible: boolean;
- readonly asAllAbstractNonFungible: {
- readonly class: Bytes;
- } & Struct;
- readonly isAllConcreteFungible: boolean;
- readonly asAllConcreteFungible: {
- readonly id: XcmV0MultiLocation;
- } & Struct;
- readonly isAllConcreteNonFungible: boolean;
- readonly asAllConcreteNonFungible: {
- readonly class: XcmV0MultiLocation;
- } & Struct;
- readonly isAbstractFungible: boolean;
- readonly asAbstractFungible: {
- readonly id: Bytes;
- readonly amount: Compact<u128>;
- } & Struct;
- readonly isAbstractNonFungible: boolean;
- readonly asAbstractNonFungible: {
- readonly class: Bytes;
- readonly instance: XcmV1MultiassetAssetInstance;
- } & Struct;
- readonly isConcreteFungible: boolean;
- readonly asConcreteFungible: {
- readonly id: XcmV0MultiLocation;
- readonly amount: Compact<u128>;
- } & Struct;
- readonly isConcreteNonFungible: boolean;
- readonly asConcreteNonFungible: {
- readonly class: XcmV0MultiLocation;
- readonly instance: XcmV1MultiassetAssetInstance;
- } & Struct;
- readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
- }
-
- /** @name XcmV1MultiassetAssetInstance (102) */
- export interface XcmV1MultiassetAssetInstance extends Enum {
- readonly isUndefined: boolean;
- readonly isIndex: boolean;
- readonly asIndex: Compact<u128>;
- readonly isArray4: boolean;
- readonly asArray4: U8aFixed;
- readonly isArray8: boolean;
- readonly asArray8: U8aFixed;
- readonly isArray16: boolean;
- readonly asArray16: U8aFixed;
- readonly isArray32: boolean;
- readonly asArray32: U8aFixed;
- readonly isBlob: boolean;
- readonly asBlob: Bytes;
- readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
- }
-
- /** @name XcmV0Order (106) */
- export interface XcmV0Order extends Enum {
- readonly isNull: boolean;
- readonly isDepositAsset: boolean;
- readonly asDepositAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- } & Struct;
- readonly isDepositReserveAsset: boolean;
- readonly asDepositReserveAsset: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isExchangeAsset: boolean;
- readonly asExchangeAsset: {
- readonly give: Vec<XcmV0MultiAsset>;
- readonly receive: Vec<XcmV0MultiAsset>;
- } & Struct;
- readonly isInitiateReserveWithdraw: boolean;
- readonly asInitiateReserveWithdraw: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly reserve: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isInitiateTeleport: boolean;
- readonly asInitiateTeleport: {
- readonly assets: Vec<XcmV0MultiAsset>;
- readonly dest: XcmV0MultiLocation;
- readonly effects: Vec<XcmV0Order>;
- } & Struct;
- readonly isQueryHolding: boolean;
- readonly asQueryHolding: {
- readonly queryId: Compact<u64>;
- readonly dest: XcmV0MultiLocation;
- readonly assets: Vec<XcmV0MultiAsset>;
- } & Struct;
- readonly isBuyExecution: boolean;
- readonly asBuyExecution: {
- readonly fees: XcmV0MultiAsset;
- readonly weight: u64;
- readonly debt: u64;
- readonly haltOnError: bool;
- readonly xcm: Vec<XcmV0Xcm>;
- } & Struct;
- readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
- }
-
- /** @name XcmV0Response (108) */
- export interface XcmV0Response extends Enum {
- readonly isAssets: boolean;
- readonly asAssets: Vec<XcmV0MultiAsset>;
- readonly type: 'Assets';
- }
-
- /** @name XcmV0OriginKind (109) */
- export interface XcmV0OriginKind extends Enum {
- readonly isNative: boolean;
- readonly isSovereignAccount: boolean;
- readonly isSuperuser: boolean;
- readonly isXcm: boolean;
- readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
- }
-
- /** @name XcmDoubleEncoded (110) */
- export interface XcmDoubleEncoded extends Struct {
- readonly encoded: Bytes;
- }
-
- /** @name XcmV1Xcm (111) */
- export interface XcmV1Xcm extends Enum {
- readonly isWithdrawAsset: boolean;
- readonly asWithdrawAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isReserveAssetDeposited: boolean;
- readonly asReserveAssetDeposited: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isReceiveTeleportedAsset: boolean;
- readonly asReceiveTeleportedAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isQueryResponse: boolean;
- readonly asQueryResponse: {
- readonly queryId: Compact<u64>;
- readonly response: XcmV1Response;
- } & Struct;
- readonly isTransferAsset: boolean;
- readonly asTransferAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly beneficiary: XcmV1MultiLocation;
- } & Struct;
- readonly isTransferReserveAsset: boolean;
- readonly asTransferReserveAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly dest: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isTransact: boolean;
- readonly asTransact: {
- readonly originType: XcmV0OriginKind;
- readonly requireWeightAtMost: u64;
- readonly call: XcmDoubleEncoded;
- } & Struct;
- readonly isHrmpNewChannelOpenRequest: boolean;
- readonly asHrmpNewChannelOpenRequest: {
- readonly sender: Compact<u32>;
- readonly maxMessageSize: Compact<u32>;
- readonly maxCapacity: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelAccepted: boolean;
- readonly asHrmpChannelAccepted: {
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelClosing: boolean;
- readonly asHrmpChannelClosing: {
- readonly initiator: Compact<u32>;
- readonly sender: Compact<u32>;
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isRelayedFrom: boolean;
- readonly asRelayedFrom: {
- readonly who: XcmV1MultilocationJunctions;
- readonly message: XcmV1Xcm;
- } & Struct;
- readonly isSubscribeVersion: boolean;
- readonly asSubscribeVersion: {
- readonly queryId: Compact<u64>;
- readonly maxResponseWeight: Compact<u64>;
- } & Struct;
- readonly isUnsubscribeVersion: boolean;
- readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
- }
-
- /** @name XcmV1MultiassetMultiAssets (112) */
- export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
-
- /** @name XcmV1MultiAsset (114) */
- export interface XcmV1MultiAsset extends Struct {
- readonly id: XcmV1MultiassetAssetId;
- readonly fun: XcmV1MultiassetFungibility;
- }
-
- /** @name XcmV1MultiassetAssetId (115) */
- export interface XcmV1MultiassetAssetId extends Enum {
- readonly isConcrete: boolean;
- readonly asConcrete: XcmV1MultiLocation;
- readonly isAbstract: boolean;
- readonly asAbstract: Bytes;
- readonly type: 'Concrete' | 'Abstract';
- }
-
- /** @name XcmV1MultiassetFungibility (116) */
- export interface XcmV1MultiassetFungibility extends Enum {
- readonly isFungible: boolean;
- readonly asFungible: Compact<u128>;
- readonly isNonFungible: boolean;
- readonly asNonFungible: XcmV1MultiassetAssetInstance;
- readonly type: 'Fungible' | 'NonFungible';
- }
-
- /** @name XcmV1Order (118) */
- export interface XcmV1Order extends Enum {
- readonly isNoop: boolean;
- readonly isDepositAsset: boolean;
- readonly asDepositAsset: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxAssets: u32;
- readonly beneficiary: XcmV1MultiLocation;
- } & Struct;
- readonly isDepositReserveAsset: boolean;
- readonly asDepositReserveAsset: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxAssets: u32;
- readonly dest: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isExchangeAsset: boolean;
- readonly asExchangeAsset: {
- readonly give: XcmV1MultiassetMultiAssetFilter;
- readonly receive: XcmV1MultiassetMultiAssets;
- } & Struct;
- readonly isInitiateReserveWithdraw: boolean;
- readonly asInitiateReserveWithdraw: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly reserve: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isInitiateTeleport: boolean;
- readonly asInitiateTeleport: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly dest: XcmV1MultiLocation;
- readonly effects: Vec<XcmV1Order>;
- } & Struct;
- readonly isQueryHolding: boolean;
- readonly asQueryHolding: {
- readonly queryId: Compact<u64>;
- readonly dest: XcmV1MultiLocation;
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- } & Struct;
- readonly isBuyExecution: boolean;
- readonly asBuyExecution: {
- readonly fees: XcmV1MultiAsset;
- readonly weight: u64;
- readonly debt: u64;
- readonly haltOnError: bool;
- readonly instructions: Vec<XcmV1Xcm>;
- } & Struct;
- readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
- }
-
- /** @name XcmV1MultiassetMultiAssetFilter (119) */
- export interface XcmV1MultiassetMultiAssetFilter extends Enum {
- readonly isDefinite: boolean;
- readonly asDefinite: XcmV1MultiassetMultiAssets;
- readonly isWild: boolean;
- readonly asWild: XcmV1MultiassetWildMultiAsset;
- readonly type: 'Definite' | 'Wild';
- }
-
- /** @name XcmV1MultiassetWildMultiAsset (120) */
- export interface XcmV1MultiassetWildMultiAsset extends Enum {
- readonly isAll: boolean;
- readonly isAllOf: boolean;
- readonly asAllOf: {
- readonly id: XcmV1MultiassetAssetId;
- readonly fun: XcmV1MultiassetWildFungibility;
- } & Struct;
- readonly type: 'All' | 'AllOf';
- }
-
- /** @name XcmV1MultiassetWildFungibility (121) */
- export interface XcmV1MultiassetWildFungibility extends Enum {
- readonly isFungible: boolean;
- readonly isNonFungible: boolean;
- readonly type: 'Fungible' | 'NonFungible';
- }
-
- /** @name XcmV1Response (123) */
- export interface XcmV1Response extends Enum {
- readonly isAssets: boolean;
- readonly asAssets: XcmV1MultiassetMultiAssets;
- readonly isVersion: boolean;
- readonly asVersion: u32;
- readonly type: 'Assets' | 'Version';
- }
-
- /** @name XcmV2Xcm (124) */
- export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
-
- /** @name XcmV2Instruction (126) */
- export interface XcmV2Instruction extends Enum {
- readonly isWithdrawAsset: boolean;
- readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
- readonly isReserveAssetDeposited: boolean;
- readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;
- readonly isReceiveTeleportedAsset: boolean;
- readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;
- readonly isQueryResponse: boolean;
- readonly asQueryResponse: {
- readonly queryId: Compact<u64>;
- readonly response: XcmV2Response;
- readonly maxWeight: Compact<u64>;
- } & Struct;
- readonly isTransferAsset: boolean;
- readonly asTransferAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly beneficiary: XcmV1MultiLocation;
- } & Struct;
- readonly isTransferReserveAsset: boolean;
- readonly asTransferReserveAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly dest: XcmV1MultiLocation;
- readonly xcm: XcmV2Xcm;
- } & Struct;
- readonly isTransact: boolean;
- readonly asTransact: {
- readonly originType: XcmV0OriginKind;
- readonly requireWeightAtMost: Compact<u64>;
- readonly call: XcmDoubleEncoded;
- } & Struct;
- readonly isHrmpNewChannelOpenRequest: boolean;
- readonly asHrmpNewChannelOpenRequest: {
- readonly sender: Compact<u32>;
- readonly maxMessageSize: Compact<u32>;
- readonly maxCapacity: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelAccepted: boolean;
- readonly asHrmpChannelAccepted: {
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isHrmpChannelClosing: boolean;
- readonly asHrmpChannelClosing: {
- readonly initiator: Compact<u32>;
- readonly sender: Compact<u32>;
- readonly recipient: Compact<u32>;
- } & Struct;
- readonly isClearOrigin: boolean;
- readonly isDescendOrigin: boolean;
- readonly asDescendOrigin: XcmV1MultilocationJunctions;
- readonly isReportError: boolean;
- readonly asReportError: {
- readonly queryId: Compact<u64>;
- readonly dest: XcmV1MultiLocation;
- readonly maxResponseWeight: Compact<u64>;
- } & Struct;
- readonly isDepositAsset: boolean;
- readonly asDepositAsset: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxAssets: Compact<u32>;
- readonly beneficiary: XcmV1MultiLocation;
- } & Struct;
- readonly isDepositReserveAsset: boolean;
- readonly asDepositReserveAsset: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxAssets: Compact<u32>;
- readonly dest: XcmV1MultiLocation;
- readonly xcm: XcmV2Xcm;
- } & Struct;
- readonly isExchangeAsset: boolean;
- readonly asExchangeAsset: {
- readonly give: XcmV1MultiassetMultiAssetFilter;
- readonly receive: XcmV1MultiassetMultiAssets;
- } & Struct;
- readonly isInitiateReserveWithdraw: boolean;
- readonly asInitiateReserveWithdraw: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly reserve: XcmV1MultiLocation;
- readonly xcm: XcmV2Xcm;
- } & Struct;
- readonly isInitiateTeleport: boolean;
- readonly asInitiateTeleport: {
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly dest: XcmV1MultiLocation;
- readonly xcm: XcmV2Xcm;
- } & Struct;
- readonly isQueryHolding: boolean;
- readonly asQueryHolding: {
- readonly queryId: Compact<u64>;
- readonly dest: XcmV1MultiLocation;
- readonly assets: XcmV1MultiassetMultiAssetFilter;
- readonly maxResponseWeight: Compact<u64>;
- } & Struct;
- readonly isBuyExecution: boolean;
- readonly asBuyExecution: {
- readonly fees: XcmV1MultiAsset;
- readonly weightLimit: XcmV2WeightLimit;
- } & Struct;
- readonly isRefundSurplus: boolean;
- readonly isSetErrorHandler: boolean;
- readonly asSetErrorHandler: XcmV2Xcm;
- readonly isSetAppendix: boolean;
- readonly asSetAppendix: XcmV2Xcm;
- readonly isClearError: boolean;
- readonly isClaimAsset: boolean;
- readonly asClaimAsset: {
- readonly assets: XcmV1MultiassetMultiAssets;
- readonly ticket: XcmV1MultiLocation;
- } & Struct;
- readonly isTrap: boolean;
- readonly asTrap: Compact<u64>;
- readonly isSubscribeVersion: boolean;
- readonly asSubscribeVersion: {
- readonly queryId: Compact<u64>;
- readonly maxResponseWeight: Compact<u64>;
- } & Struct;
- readonly isUnsubscribeVersion: boolean;
- 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';
- }
-
- /** @name XcmV2Response (127) */
- export interface XcmV2Response extends Enum {
- readonly isNull: boolean;
- readonly isAssets: boolean;
- readonly asAssets: XcmV1MultiassetMultiAssets;
- readonly isExecutionResult: boolean;
- readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;
- readonly isVersion: boolean;
- readonly asVersion: u32;
- readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
- }
-
- /** @name XcmV2TraitsError (130) */
- export interface XcmV2TraitsError extends Enum {
- readonly isOverflow: boolean;
- readonly isUnimplemented: boolean;
- readonly isUntrustedReserveLocation: boolean;
- readonly isUntrustedTeleportLocation: boolean;
- readonly isMultiLocationFull: boolean;
- readonly isMultiLocationNotInvertible: boolean;
- readonly isBadOrigin: boolean;
- readonly isInvalidLocation: boolean;
- readonly isAssetNotFound: boolean;
- readonly isFailedToTransactAsset: boolean;
- readonly isNotWithdrawable: boolean;
- readonly isLocationCannotHold: boolean;
- readonly isExceedsMaxMessageSize: boolean;
- readonly isDestinationUnsupported: boolean;
- readonly isTransport: boolean;
- readonly isUnroutable: boolean;
- readonly isUnknownClaim: boolean;
- readonly isFailedToDecode: boolean;
- readonly isMaxWeightInvalid: boolean;
- readonly isNotHoldingFees: boolean;
- readonly isTooExpensive: boolean;
- readonly isTrap: boolean;
- readonly asTrap: u64;
- readonly isUnhandledXcmVersion: boolean;
- readonly isWeightLimitReached: boolean;
- readonly asWeightLimitReached: u64;
- readonly isBarrier: boolean;
- readonly isWeightNotComputable: boolean;
- 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';
- }
-
- /** @name XcmV2WeightLimit (131) */
- export interface XcmV2WeightLimit extends Enum {
- readonly isUnlimited: boolean;
- readonly isLimited: boolean;
- readonly asLimited: Compact<u64>;
- readonly type: 'Unlimited' | 'Limited';
- }
-
- /** @name XcmVersionedMultiAssets (132) */
- export interface XcmVersionedMultiAssets extends Enum {
- readonly isV0: boolean;
- readonly asV0: Vec<XcmV0MultiAsset>;
- readonly isV1: boolean;
- readonly asV1: XcmV1MultiassetMultiAssets;
- readonly type: 'V0' | 'V1';
- }
-
- /** @name CumulusPalletXcmCall (147) */
- export type CumulusPalletXcmCall = Null;
-
- /** @name CumulusPalletDmpQueueCall (148) */
- export interface CumulusPalletDmpQueueCall extends Enum {
- readonly isServiceOverweight: boolean;
- readonly asServiceOverweight: {
- readonly index: u64;
- readonly weightLimit: u64;
- } & Struct;
- readonly type: 'ServiceOverweight';
- }
-
- /** @name PalletInflationCall (149) */
- export interface PalletInflationCall extends Enum {
- readonly isStartInflation: boolean;
- readonly asStartInflation: {
- readonly inflationStartRelayBlock: u32;
- } & Struct;
- readonly type: 'StartInflation';
- }
-
- /** @name PalletUniqueCall (150) */
- export interface PalletUniqueCall extends Enum {
- readonly isCreateCollection: boolean;
- readonly asCreateCollection: {
- readonly collectionName: Vec<u16>;
- readonly collectionDescription: Vec<u16>;
- readonly tokenPrefix: Bytes;
- readonly mode: UpDataStructsCollectionMode;
- } & Struct;
- readonly isCreateCollectionEx: boolean;
- readonly asCreateCollectionEx: {
- readonly data: UpDataStructsCreateCollectionData;
- } & Struct;
- readonly isDestroyCollection: boolean;
- readonly asDestroyCollection: {
- readonly collectionId: u32;
- } & Struct;
- readonly isAddToAllowList: boolean;
- readonly asAddToAllowList: {
- readonly collectionId: u32;
- readonly address: PalletEvmAccountBasicCrossAccountIdRepr;
- } & Struct;
- readonly isRemoveFromAllowList: boolean;
- readonly asRemoveFromAllowList: {
- readonly collectionId: u32;
- readonly address: PalletEvmAccountBasicCrossAccountIdRepr;
- } & Struct;
- readonly isSetPublicAccessMode: boolean;
- readonly asSetPublicAccessMode: {
- readonly collectionId: u32;
- readonly mode: UpDataStructsAccessMode;
- } & Struct;
- readonly isSetMintPermission: boolean;
- readonly asSetMintPermission: {
- readonly collectionId: u32;
- readonly mintPermission: bool;
- } & Struct;
- readonly isChangeCollectionOwner: boolean;
- readonly asChangeCollectionOwner: {
- readonly collectionId: u32;
- readonly newOwner: AccountId32;
- } & Struct;
- readonly isAddCollectionAdmin: boolean;
- readonly asAddCollectionAdmin: {
- readonly collectionId: u32;
- readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;
- } & Struct;
- readonly isRemoveCollectionAdmin: boolean;
- readonly asRemoveCollectionAdmin: {
- readonly collectionId: u32;
- readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;
- } & Struct;
- readonly isSetCollectionSponsor: boolean;
- readonly asSetCollectionSponsor: {
- readonly collectionId: u32;
- readonly newSponsor: AccountId32;
- } & Struct;
- readonly isConfirmSponsorship: boolean;
- readonly asConfirmSponsorship: {
- readonly collectionId: u32;
- } & Struct;
- readonly isRemoveCollectionSponsor: boolean;
- readonly asRemoveCollectionSponsor: {
- readonly collectionId: u32;
- } & Struct;
- readonly isCreateItem: boolean;
- readonly asCreateItem: {
- readonly collectionId: u32;
- readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly data: UpDataStructsCreateItemData;
- } & Struct;
- readonly isCreateMultipleItems: boolean;
- readonly asCreateMultipleItems: {
- readonly collectionId: u32;
- readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly itemsData: Vec<UpDataStructsCreateItemData>;
- } & Struct;
- readonly isCreateMultipleItemsEx: boolean;
- readonly asCreateMultipleItemsEx: {
- readonly collectionId: u32;
- readonly data: UpDataStructsCreateItemExData;
- } & Struct;
- readonly isSetTransfersEnabledFlag: boolean;
- readonly asSetTransfersEnabledFlag: {
- readonly collectionId: u32;
- readonly value: bool;
- } & Struct;
- readonly isBurnItem: boolean;
- readonly asBurnItem: {
- readonly collectionId: u32;
- readonly itemId: u32;
- readonly value: u128;
- } & Struct;
- readonly isBurnFrom: boolean;
- readonly asBurnFrom: {
- readonly collectionId: u32;
- readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly itemId: u32;
- readonly value: u128;
- } & Struct;
- readonly isTransfer: boolean;
- readonly asTransfer: {
- readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly collectionId: u32;
- readonly itemId: u32;
- readonly value: u128;
- } & Struct;
- readonly isApprove: boolean;
- readonly asApprove: {
- readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly collectionId: u32;
- readonly itemId: u32;
- readonly amount: u128;
- } & Struct;
- readonly isTransferFrom: boolean;
- readonly asTransferFrom: {
- readonly from: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;
- readonly collectionId: u32;
- readonly itemId: u32;
- readonly value: u128;
- } & Struct;
- readonly isSetVariableMetaData: boolean;
- readonly asSetVariableMetaData: {
- readonly collectionId: u32;
- readonly itemId: u32;
- readonly data: Bytes;
- } & Struct;
- readonly isSetMetaUpdatePermissionFlag: boolean;
- readonly asSetMetaUpdatePermissionFlag: {
- readonly collectionId: u32;
- readonly value: UpDataStructsMetaUpdatePermission;
- } & Struct;
- readonly isSetSchemaVersion: boolean;
- readonly asSetSchemaVersion: {
- readonly collectionId: u32;
- readonly version: UpDataStructsSchemaVersion;
- } & Struct;
- readonly isSetOffchainSchema: boolean;
- readonly asSetOffchainSchema: {
- readonly collectionId: u32;
- readonly schema: Bytes;
- } & Struct;
- readonly isSetConstOnChainSchema: boolean;
- readonly asSetConstOnChainSchema: {
- readonly collectionId: u32;
- readonly schema: Bytes;
- } & Struct;
- readonly isSetVariableOnChainSchema: boolean;
- readonly asSetVariableOnChainSchema: {
- readonly collectionId: u32;
- readonly schema: Bytes;
- } & Struct;
- readonly isSetCollectionLimits: boolean;
- readonly asSetCollectionLimits: {
- readonly collectionId: u32;
- readonly newLimit: UpDataStructsCollectionLimits;
- } & Struct;
- readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';
- }
-
- /** @name UpDataStructsCollectionMode (156) */
- export interface UpDataStructsCollectionMode extends Enum {
- readonly isNft: boolean;
- readonly isFungible: boolean;
- readonly asFungible: u8;
- readonly isReFungible: boolean;
- readonly type: 'Nft' | 'Fungible' | 'ReFungible';
- }
-
- /** @name UpDataStructsCreateCollectionData (157) */
- export interface UpDataStructsCreateCollectionData extends Struct {
- readonly mode: UpDataStructsCollectionMode;
- readonly access: Option<UpDataStructsAccessMode>;
- readonly name: Vec<u16>;
- readonly description: Vec<u16>;
- readonly tokenPrefix: Bytes;
- readonly offchainSchema: Bytes;
- readonly schemaVersion: Option<UpDataStructsSchemaVersion>;
- readonly pendingSponsor: Option<AccountId32>;
- readonly limits: Option<UpDataStructsCollectionLimits>;
- readonly variableOnChainSchema: Bytes;
- readonly constOnChainSchema: Bytes;
- readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;
- }
-
- /** @name UpDataStructsAccessMode (159) */
- export interface UpDataStructsAccessMode extends Enum {
- readonly isNormal: boolean;
- readonly isAllowList: boolean;
- readonly type: 'Normal' | 'AllowList';
- }
-
- /** @name UpDataStructsSchemaVersion (162) */
- export interface UpDataStructsSchemaVersion extends Enum {
- readonly isImageURL: boolean;
- readonly isUnique: boolean;
- readonly type: 'ImageURL' | 'Unique';
- }
-
- /** @name UpDataStructsCollectionLimits (165) */
- export interface UpDataStructsCollectionLimits extends Struct {
- readonly accountTokenOwnershipLimit: Option<u32>;
- readonly sponsoredDataSize: Option<u32>;
- readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;
- readonly tokenLimit: Option<u32>;
- readonly sponsorTransferTimeout: Option<u32>;
- readonly sponsorApproveTimeout: Option<u32>;
- readonly ownerCanTransfer: Option<bool>;
- readonly ownerCanDestroy: Option<bool>;
- readonly transfersEnabled: Option<bool>;
- }
-
- /** @name UpDataStructsSponsoringRateLimit (167) */
- export interface UpDataStructsSponsoringRateLimit extends Enum {
- readonly isSponsoringDisabled: boolean;
- readonly isBlocks: boolean;
- readonly asBlocks: u32;
- readonly type: 'SponsoringDisabled' | 'Blocks';
- }
-
- /** @name UpDataStructsMetaUpdatePermission (171) */
- export interface UpDataStructsMetaUpdatePermission extends Enum {
- readonly isItemOwner: boolean;
- readonly isAdmin: boolean;
- readonly isNone: boolean;
- readonly type: 'ItemOwner' | 'Admin' | 'None';
- }
-
- /** @name PalletEvmAccountBasicCrossAccountIdRepr (173) */
- export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
- readonly isSubstrate: boolean;
- readonly asSubstrate: AccountId32;
- readonly isEthereum: boolean;
- readonly asEthereum: H160;
- readonly type: 'Substrate' | 'Ethereum';
- }
-
- /** @name UpDataStructsCreateItemData (175) */
- export interface UpDataStructsCreateItemData extends Enum {
- readonly isNft: boolean;
- readonly asNft: UpDataStructsCreateNftData;
- readonly isFungible: boolean;
- readonly asFungible: UpDataStructsCreateFungibleData;
- readonly isReFungible: boolean;
- readonly asReFungible: UpDataStructsCreateReFungibleData;
- readonly type: 'Nft' | 'Fungible' | 'ReFungible';
- }
-
- /** @name UpDataStructsCreateNftData (176) */
- export interface UpDataStructsCreateNftData extends Struct {
- readonly constData: Bytes;
- readonly variableData: Bytes;
- }
-
- /** @name UpDataStructsCreateFungibleData (178) */
- export interface UpDataStructsCreateFungibleData extends Struct {
- readonly value: u128;
- }
-
- /** @name UpDataStructsCreateReFungibleData (179) */
- export interface UpDataStructsCreateReFungibleData extends Struct {
- readonly constData: Bytes;
- readonly variableData: Bytes;
- readonly pieces: u128;
- }
-
- /** @name UpDataStructsCreateItemExData (181) */
- export interface UpDataStructsCreateItemExData extends Enum {
- readonly isNft: boolean;
- readonly asNft: Vec<UpDataStructsCreateNftExData>;
- readonly isFungible: boolean;
- readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
- readonly isRefungibleMultipleItems: boolean;
- readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;
- readonly isRefungibleMultipleOwners: boolean;
- readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;
- readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
- }
-
- /** @name UpDataStructsCreateNftExData (183) */
- export interface UpDataStructsCreateNftExData extends Struct {
- readonly constData: Bytes;
- readonly variableData: Bytes;
- readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
- }
-
- /** @name UpDataStructsCreateRefungibleExData (190) */
- export interface UpDataStructsCreateRefungibleExData extends Struct {
- readonly constData: Bytes;
- readonly variableData: Bytes;
- readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
- }
-
- /** @name PalletTemplateTransactionPaymentCall (193) */
- export type PalletTemplateTransactionPaymentCall = Null;
-
- /** @name PalletEvmCall (194) */
- export interface PalletEvmCall extends Enum {
- readonly isWithdraw: boolean;
- readonly asWithdraw: {
- readonly address: H160;
- readonly value: u128;
- } & Struct;
- readonly isCall: boolean;
- readonly asCall: {
- readonly source: H160;
- readonly target: H160;
- readonly input: Bytes;
- readonly value: U256;
- readonly gasLimit: u64;
- readonly maxFeePerGas: U256;
- readonly maxPriorityFeePerGas: Option<U256>;
- readonly nonce: Option<U256>;
- readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
- } & Struct;
- readonly isCreate: boolean;
- readonly asCreate: {
- readonly source: H160;
- readonly init: Bytes;
- readonly value: U256;
- readonly gasLimit: u64;
- readonly maxFeePerGas: U256;
- readonly maxPriorityFeePerGas: Option<U256>;
- readonly nonce: Option<U256>;
- readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
- } & Struct;
- readonly isCreate2: boolean;
- readonly asCreate2: {
- readonly source: H160;
- readonly init: Bytes;
- readonly salt: H256;
- readonly value: U256;
- readonly gasLimit: u64;
- readonly maxFeePerGas: U256;
- readonly maxPriorityFeePerGas: Option<U256>;
- readonly nonce: Option<U256>;
- readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;
- } & Struct;
- readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
- }
-
- /** @name PalletEthereumCall (200) */
- export interface PalletEthereumCall extends Enum {
- readonly isTransact: boolean;
- readonly asTransact: {
- readonly transaction: EthereumTransactionTransactionV2;
- } & Struct;
- readonly type: 'Transact';
- }
-
- /** @name EthereumTransactionTransactionV2 (201) */
- export interface EthereumTransactionTransactionV2 extends Enum {
- readonly isLegacy: boolean;
- readonly asLegacy: EthereumTransactionLegacyTransaction;
- readonly isEip2930: boolean;
- readonly asEip2930: EthereumTransactionEip2930Transaction;
- readonly isEip1559: boolean;
- readonly asEip1559: EthereumTransactionEip1559Transaction;
- readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
- }
-
- /** @name EthereumTransactionLegacyTransaction (202) */
- export interface EthereumTransactionLegacyTransaction extends Struct {
- readonly nonce: U256;
- readonly gasPrice: U256;
- readonly gasLimit: U256;
- readonly action: EthereumTransactionTransactionAction;
- readonly value: U256;
- readonly input: Bytes;
- readonly signature: EthereumTransactionTransactionSignature;
- }
-
- /** @name EthereumTransactionTransactionAction (203) */
- export interface EthereumTransactionTransactionAction extends Enum {
- readonly isCall: boolean;
- readonly asCall: H160;
- readonly isCreate: boolean;
- readonly type: 'Call' | 'Create';
- }
-
- /** @name EthereumTransactionTransactionSignature (204) */
- export interface EthereumTransactionTransactionSignature extends Struct {
- readonly v: u64;
- readonly r: H256;
- readonly s: H256;
- }
-
- /** @name EthereumTransactionEip2930Transaction (206) */
- export interface EthereumTransactionEip2930Transaction extends Struct {
- readonly chainId: u64;
- readonly nonce: U256;
- readonly gasPrice: U256;
- readonly gasLimit: U256;
- readonly action: EthereumTransactionTransactionAction;
- readonly value: U256;
- readonly input: Bytes;
- readonly accessList: Vec<EthereumTransactionAccessListItem>;
- readonly oddYParity: bool;
- readonly r: H256;
- readonly s: H256;
- }
-
- /** @name EthereumTransactionAccessListItem (208) */
- export interface EthereumTransactionAccessListItem extends Struct {
- readonly address: H160;
- readonly storageKeys: Vec<H256>;
- }
-
- /** @name EthereumTransactionEip1559Transaction (209) */
- export interface EthereumTransactionEip1559Transaction extends Struct {
- readonly chainId: u64;
- readonly nonce: U256;
- readonly maxPriorityFeePerGas: U256;
- readonly maxFeePerGas: U256;
- readonly gasLimit: U256;
- readonly action: EthereumTransactionTransactionAction;
- readonly value: U256;
- readonly input: Bytes;
- readonly accessList: Vec<EthereumTransactionAccessListItem>;
- readonly oddYParity: bool;
- readonly r: H256;
- readonly s: H256;
- }
-
- /** @name PalletEvmMigrationCall (210) */
- export interface PalletEvmMigrationCall extends Enum {
- readonly isBegin: boolean;
- readonly asBegin: {
- readonly address: H160;
- } & Struct;
- readonly isSetData: boolean;
- readonly asSetData: {
- readonly address: H160;
- readonly data: Vec<ITuple<[H256, H256]>>;
- } & Struct;
- readonly isFinish: boolean;
- readonly asFinish: {
- readonly address: H160;
- readonly code: Bytes;
- } & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish';
- }
-
- /** @name PalletSudoEvent (213) */
- export interface PalletSudoEvent extends Enum {
- readonly isSudid: boolean;
- readonly asSudid: {
- readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
- } & Struct;
- readonly isKeyChanged: boolean;
- readonly asKeyChanged: {
- readonly oldSudoer: Option<AccountId32>;
- } & Struct;
- readonly isSudoAsDone: boolean;
- readonly asSudoAsDone: {
- readonly sudoResult: Result<Null, SpRuntimeDispatchError>;
- } & Struct;
- readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
- }
-
- /** @name SpRuntimeDispatchError (215) */
- export interface SpRuntimeDispatchError extends Enum {
- readonly isOther: boolean;
- readonly isCannotLookup: boolean;
- readonly isBadOrigin: boolean;
- readonly isModule: boolean;
- readonly asModule: SpRuntimeModuleError;
- readonly isConsumerRemaining: boolean;
- readonly isNoProviders: boolean;
- readonly isTooManyConsumers: boolean;
- readonly isToken: boolean;
- readonly asToken: SpRuntimeTokenError;
- readonly isArithmetic: boolean;
- readonly asArithmetic: SpRuntimeArithmeticError;
- readonly isTransactional: boolean;
- readonly asTransactional: SpRuntimeTransactionalError;
- readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
- }
-
- /** @name SpRuntimeModuleError (216) */
- export interface SpRuntimeModuleError extends Struct {
- readonly index: u8;
- readonly error: U8aFixed;
- }
-
- /** @name SpRuntimeTokenError (217) */
- export interface SpRuntimeTokenError extends Enum {
- readonly isNoFunds: boolean;
- readonly isWouldDie: boolean;
- readonly isBelowMinimum: boolean;
- readonly isCannotCreate: boolean;
- readonly isUnknownAsset: boolean;
- readonly isFrozen: boolean;
- readonly isUnsupported: boolean;
- readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
- }
-
- /** @name SpRuntimeArithmeticError (218) */
- export interface SpRuntimeArithmeticError extends Enum {
- readonly isUnderflow: boolean;
- readonly isOverflow: boolean;
- readonly isDivisionByZero: boolean;
- readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
- }
-
- /** @name SpRuntimeTransactionalError (219) */
- export interface SpRuntimeTransactionalError extends Enum {
- readonly isLimitReached: boolean;
- readonly isNoLayer: boolean;
- readonly type: 'LimitReached' | 'NoLayer';
- }
-
- /** @name PalletSudoError (220) */
- export interface PalletSudoError extends Enum {
- readonly isRequireSudo: boolean;
- readonly type: 'RequireSudo';
- }
-
- /** @name FrameSystemAccountInfo (221) */
- export interface FrameSystemAccountInfo extends Struct {
- readonly nonce: u32;
- readonly consumers: u32;
- readonly providers: u32;
- readonly sufficients: u32;
- readonly data: PalletBalancesAccountData;
- }
-
- /** @name FrameSupportWeightsPerDispatchClassU64 (222) */
- export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
- readonly normal: u64;
- readonly operational: u64;
- readonly mandatory: u64;
- }
-
- /** @name SpRuntimeDigest (223) */
- export interface SpRuntimeDigest extends Struct {
- readonly logs: Vec<SpRuntimeDigestDigestItem>;
- }
-
- /** @name SpRuntimeDigestDigestItem (225) */
- export interface SpRuntimeDigestDigestItem extends Enum {
- readonly isOther: boolean;
- readonly asOther: Bytes;
- readonly isConsensus: boolean;
- readonly asConsensus: ITuple<[U8aFixed, Bytes]>;
- readonly isSeal: boolean;
- readonly asSeal: ITuple<[U8aFixed, Bytes]>;
- readonly isPreRuntime: boolean;
- readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;
- readonly isRuntimeEnvironmentUpdated: boolean;
- readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
- }
-
- /** @name FrameSystemEventRecord (227) */
- export interface FrameSystemEventRecord extends Struct {
- readonly phase: FrameSystemPhase;
- readonly event: Event;
- readonly topics: Vec<H256>;
- }
-
- /** @name FrameSystemEvent (229) */
- export interface FrameSystemEvent extends Enum {
- readonly isExtrinsicSuccess: boolean;
- readonly asExtrinsicSuccess: {
- readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
- } & Struct;
- readonly isExtrinsicFailed: boolean;
- readonly asExtrinsicFailed: {
- readonly dispatchError: SpRuntimeDispatchError;
- readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
- } & Struct;
- readonly isCodeUpdated: boolean;
- readonly isNewAccount: boolean;
- readonly asNewAccount: {
- readonly account: AccountId32;
- } & Struct;
- readonly isKilledAccount: boolean;
- readonly asKilledAccount: {
- readonly account: AccountId32;
- } & Struct;
- readonly isRemarked: boolean;
- readonly asRemarked: {
- readonly sender: AccountId32;
- readonly hash_: H256;
- } & Struct;
- readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
- }
-
- /** @name FrameSupportWeightsDispatchInfo (230) */
- export interface FrameSupportWeightsDispatchInfo extends Struct {
- readonly weight: u64;
- readonly class: FrameSupportWeightsDispatchClass;
- readonly paysFee: FrameSupportWeightsPays;
- }
-
- /** @name FrameSupportWeightsDispatchClass (231) */
- export interface FrameSupportWeightsDispatchClass extends Enum {
- readonly isNormal: boolean;
- readonly isOperational: boolean;
- readonly isMandatory: boolean;
- readonly type: 'Normal' | 'Operational' | 'Mandatory';
- }
-
- /** @name FrameSupportWeightsPays (232) */
- export interface FrameSupportWeightsPays extends Enum {
- readonly isYes: boolean;
- readonly isNo: boolean;
- readonly type: 'Yes' | 'No';
- }
-
- /** @name OrmlVestingModuleEvent (233) */
- export interface OrmlVestingModuleEvent extends Enum {
- readonly isVestingScheduleAdded: boolean;
- readonly asVestingScheduleAdded: {
- readonly from: AccountId32;
- readonly to: AccountId32;
- readonly vestingSchedule: OrmlVestingVestingSchedule;
- } & Struct;
- readonly isClaimed: boolean;
- readonly asClaimed: {
- readonly who: AccountId32;
- readonly amount: u128;
- } & Struct;
- readonly isVestingSchedulesUpdated: boolean;
- readonly asVestingSchedulesUpdated: {
- readonly who: AccountId32;
- } & Struct;
- readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
- }
-
- /** @name CumulusPalletXcmpQueueEvent (234) */
- export interface CumulusPalletXcmpQueueEvent extends Enum {
- readonly isSuccess: boolean;
- readonly asSuccess: Option<H256>;
- readonly isFail: boolean;
- readonly asFail: ITuple<[Option<H256>, XcmV2TraitsError]>;
- readonly isBadVersion: boolean;
- readonly asBadVersion: Option<H256>;
- readonly isBadFormat: boolean;
- readonly asBadFormat: Option<H256>;
- readonly isUpwardMessageSent: boolean;
- readonly asUpwardMessageSent: Option<H256>;
- readonly isXcmpMessageSent: boolean;
- readonly asXcmpMessageSent: Option<H256>;
- readonly isOverweightEnqueued: boolean;
- readonly asOverweightEnqueued: ITuple<[u32, u32, u64, u64]>;
- readonly isOverweightServiced: boolean;
- readonly asOverweightServiced: ITuple<[u64, u64]>;
- readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
- }
-
- /** @name PalletXcmEvent (235) */
- export interface PalletXcmEvent extends Enum {
- readonly isAttempted: boolean;
- readonly asAttempted: XcmV2TraitsOutcome;
- readonly isSent: boolean;
- readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
- readonly isUnexpectedResponse: boolean;
- readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;
- readonly isResponseReady: boolean;
- readonly asResponseReady: ITuple<[u64, XcmV2Response]>;
- readonly isNotified: boolean;
- readonly asNotified: ITuple<[u64, u8, u8]>;
- readonly isNotifyOverweight: boolean;
- readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;
- readonly isNotifyDispatchError: boolean;
- readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;
- readonly isNotifyDecodeFailed: boolean;
- readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;
- readonly isInvalidResponder: boolean;
- readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
- readonly isInvalidResponderVersion: boolean;
- readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;
- readonly isResponseTaken: boolean;
- readonly asResponseTaken: u64;
- readonly isAssetsTrapped: boolean;
- readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
- readonly isVersionChangeNotified: boolean;
- readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;
- readonly isSupportedVersionChanged: boolean;
- readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;
- readonly isNotifyTargetSendFail: boolean;
- readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;
- readonly isNotifyTargetMigrationFail: boolean;
- readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;
- readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
- }
-
- /** @name XcmV2TraitsOutcome (236) */
- export interface XcmV2TraitsOutcome extends Enum {
- readonly isComplete: boolean;
- readonly asComplete: u64;
- readonly isIncomplete: boolean;
- readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;
- readonly isError: boolean;
- readonly asError: XcmV2TraitsError;
- readonly type: 'Complete' | 'Incomplete' | 'Error';
- }
-
- /** @name CumulusPalletXcmEvent (238) */
- export interface CumulusPalletXcmEvent extends Enum {
- readonly isInvalidFormat: boolean;
- readonly asInvalidFormat: U8aFixed;
- readonly isUnsupportedVersion: boolean;
- readonly asUnsupportedVersion: U8aFixed;
- readonly isExecutedDownward: boolean;
- readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
- readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
- }
-
- /** @name CumulusPalletDmpQueueEvent (239) */
- export interface CumulusPalletDmpQueueEvent extends Enum {
- readonly isInvalidFormat: boolean;
- readonly asInvalidFormat: U8aFixed;
- readonly isUnsupportedVersion: boolean;
- readonly asUnsupportedVersion: U8aFixed;
- readonly isExecutedDownward: boolean;
- readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
- readonly isWeightExhausted: boolean;
- readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;
- readonly isOverweightEnqueued: boolean;
- readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;
- readonly isOverweightServiced: boolean;
- readonly asOverweightServiced: ITuple<[u64, u64]>;
- readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
- }
-
- /** @name PalletUniqueRawEvent (240) */
- export interface PalletUniqueRawEvent extends Enum {
- readonly isCollectionSponsorRemoved: boolean;
- readonly asCollectionSponsorRemoved: u32;
- readonly isCollectionAdminAdded: boolean;
- readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
- readonly isCollectionOwnedChanged: boolean;
- readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;
- readonly isCollectionSponsorSet: boolean;
- readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;
- readonly isConstOnChainSchemaSet: boolean;
- readonly asConstOnChainSchemaSet: u32;
- readonly isSponsorshipConfirmed: boolean;
- readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;
- readonly isCollectionAdminRemoved: boolean;
- readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
- readonly isAllowListAddressRemoved: boolean;
- readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
- readonly isAllowListAddressAdded: boolean;
- readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
- readonly isCollectionLimitSet: boolean;
- readonly asCollectionLimitSet: u32;
- readonly isMintPermissionSet: boolean;
- readonly asMintPermissionSet: u32;
- readonly isOffchainSchemaSet: boolean;
- readonly asOffchainSchemaSet: u32;
- readonly isPublicAccessModeSet: boolean;
- readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;
- readonly isSchemaVersionSet: boolean;
- readonly asSchemaVersionSet: u32;
- readonly isVariableOnChainSchemaSet: boolean;
- readonly asVariableOnChainSchemaSet: u32;
- readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';
- }
-
- /** @name PalletCommonEvent (241) */
- export interface PalletCommonEvent extends Enum {
- readonly isCollectionCreated: boolean;
- readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
- readonly isCollectionDestroyed: boolean;
- readonly asCollectionDestroyed: u32;
- readonly isItemCreated: boolean;
- readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
- readonly isItemDestroyed: boolean;
- readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
- readonly isTransfer: boolean;
- readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
- readonly isApproved: boolean;
- readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
- readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';
- }
-
- /** @name PalletEvmEvent (242) */
- export interface PalletEvmEvent extends Enum {
- readonly isLog: boolean;
- readonly asLog: EthereumLog;
- readonly isCreated: boolean;
- readonly asCreated: H160;
- readonly isCreatedFailed: boolean;
- readonly asCreatedFailed: H160;
- readonly isExecuted: boolean;
- readonly asExecuted: H160;
- readonly isExecutedFailed: boolean;
- readonly asExecutedFailed: H160;
- readonly isBalanceDeposit: boolean;
- readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;
- readonly isBalanceWithdraw: boolean;
- readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;
- readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
- }
-
- /** @name EthereumLog (243) */
- export interface EthereumLog extends Struct {
- readonly address: H160;
- readonly topics: Vec<H256>;
- readonly data: Bytes;
- }
-
- /** @name PalletEthereumEvent (244) */
- export interface PalletEthereumEvent extends Enum {
- readonly isExecuted: boolean;
- readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
- readonly type: 'Executed';
- }
-
- /** @name EvmCoreErrorExitReason (245) */
- export interface EvmCoreErrorExitReason extends Enum {
- readonly isSucceed: boolean;
- readonly asSucceed: EvmCoreErrorExitSucceed;
- readonly isError: boolean;
- readonly asError: EvmCoreErrorExitError;
- readonly isRevert: boolean;
- readonly asRevert: EvmCoreErrorExitRevert;
- readonly isFatal: boolean;
- readonly asFatal: EvmCoreErrorExitFatal;
- readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
- }
-
- /** @name EvmCoreErrorExitSucceed (246) */
- export interface EvmCoreErrorExitSucceed extends Enum {
- readonly isStopped: boolean;
- readonly isReturned: boolean;
- readonly isSuicided: boolean;
- readonly type: 'Stopped' | 'Returned' | 'Suicided';
- }
-
- /** @name EvmCoreErrorExitError (247) */
- export interface EvmCoreErrorExitError extends Enum {
- readonly isStackUnderflow: boolean;
- readonly isStackOverflow: boolean;
- readonly isInvalidJump: boolean;
- readonly isInvalidRange: boolean;
- readonly isDesignatedInvalid: boolean;
- readonly isCallTooDeep: boolean;
- readonly isCreateCollision: boolean;
- readonly isCreateContractLimit: boolean;
- readonly isOutOfOffset: boolean;
- readonly isOutOfGas: boolean;
- readonly isOutOfFund: boolean;
- readonly isPcUnderflow: boolean;
- readonly isCreateEmpty: boolean;
- readonly isOther: boolean;
- readonly asOther: Text;
- readonly isInvalidCode: boolean;
- readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
- }
-
- /** @name EvmCoreErrorExitRevert (250) */
- export interface EvmCoreErrorExitRevert extends Enum {
- readonly isReverted: boolean;
- readonly type: 'Reverted';
- }
-
- /** @name EvmCoreErrorExitFatal (251) */
- export interface EvmCoreErrorExitFatal extends Enum {
- readonly isNotSupported: boolean;
- readonly isUnhandledInterrupt: boolean;
- readonly isCallErrorAsFatal: boolean;
- readonly asCallErrorAsFatal: EvmCoreErrorExitError;
- readonly isOther: boolean;
- readonly asOther: Text;
- readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
- }
-
- /** @name FrameSystemPhase (252) */
- export interface FrameSystemPhase extends Enum {
- readonly isApplyExtrinsic: boolean;
- readonly asApplyExtrinsic: u32;
- readonly isFinalization: boolean;
- readonly isInitialization: boolean;
- readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
- }
-
- /** @name FrameSystemLastRuntimeUpgradeInfo (254) */
- export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
- readonly specVersion: Compact<u32>;
- readonly specName: Text;
- }
-
- /** @name FrameSystemLimitsBlockWeights (255) */
- export interface FrameSystemLimitsBlockWeights extends Struct {
- readonly baseBlock: u64;
- readonly maxBlock: u64;
- readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
- }
-
- /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (256) */
- export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
- readonly normal: FrameSystemLimitsWeightsPerClass;
- readonly operational: FrameSystemLimitsWeightsPerClass;
- readonly mandatory: FrameSystemLimitsWeightsPerClass;
- }
-
- /** @name FrameSystemLimitsWeightsPerClass (257) */
- export interface FrameSystemLimitsWeightsPerClass extends Struct {
- readonly baseExtrinsic: u64;
- readonly maxExtrinsic: Option<u64>;
- readonly maxTotal: Option<u64>;
- readonly reserved: Option<u64>;
- }
-
- /** @name FrameSystemLimitsBlockLength (259) */
- export interface FrameSystemLimitsBlockLength extends Struct {
- readonly max: FrameSupportWeightsPerDispatchClassU32;
- }
-
- /** @name FrameSupportWeightsPerDispatchClassU32 (260) */
- export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
- readonly normal: u32;
- readonly operational: u32;
- readonly mandatory: u32;
- }
-
- /** @name FrameSupportWeightsRuntimeDbWeight (261) */
- export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
- readonly read: u64;
- readonly write: u64;
- }
-
- /** @name SpVersionRuntimeVersion (262) */
- export interface SpVersionRuntimeVersion extends Struct {
- readonly specName: Text;
- readonly implName: Text;
- readonly authoringVersion: u32;
- readonly specVersion: u32;
- readonly implVersion: u32;
- readonly apis: Vec<ITuple<[U8aFixed, u32]>>;
- readonly transactionVersion: u32;
- readonly stateVersion: u8;
- }
-
- /** @name FrameSystemError (266) */
- export interface FrameSystemError extends Enum {
- readonly isInvalidSpecName: boolean;
- readonly isSpecVersionNeedsToIncrease: boolean;
- readonly isFailedToExtractRuntimeVersion: boolean;
- readonly isNonDefaultComposite: boolean;
- readonly isNonZeroRefCount: boolean;
- readonly isCallFiltered: boolean;
- readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
- }
-
- /** @name OrmlVestingModuleError (268) */
- export interface OrmlVestingModuleError extends Enum {
- readonly isZeroVestingPeriod: boolean;
- readonly isZeroVestingPeriodCount: boolean;
- readonly isInsufficientBalanceToLock: boolean;
- readonly isTooManyVestingSchedules: boolean;
- readonly isAmountLow: boolean;
- readonly isMaxVestingSchedulesExceeded: boolean;
- readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
- }
-
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (270) */
- export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
- readonly sender: u32;
- readonly state: CumulusPalletXcmpQueueInboundState;
- readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
- }
-
- /** @name CumulusPalletXcmpQueueInboundState (271) */
- export interface CumulusPalletXcmpQueueInboundState extends Enum {
- readonly isOk: boolean;
- readonly isSuspended: boolean;
- readonly type: 'Ok' | 'Suspended';
- }
-
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (274) */
- export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
- readonly isConcatenatedVersionedXcm: boolean;
- readonly isConcatenatedEncodedBlob: boolean;
- readonly isSignals: boolean;
- readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
- }
-
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (277) */
- export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
- readonly recipient: u32;
- readonly state: CumulusPalletXcmpQueueOutboundState;
- readonly signalsExist: bool;
- readonly firstIndex: u16;
- readonly lastIndex: u16;
- }
-
- /** @name CumulusPalletXcmpQueueOutboundState (278) */
- export interface CumulusPalletXcmpQueueOutboundState extends Enum {
- readonly isOk: boolean;
- readonly isSuspended: boolean;
- readonly type: 'Ok' | 'Suspended';
- }
-
- /** @name CumulusPalletXcmpQueueQueueConfigData (280) */
- export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
- readonly suspendThreshold: u32;
- readonly dropThreshold: u32;
- readonly resumeThreshold: u32;
- readonly thresholdWeight: u64;
- readonly weightRestrictDecay: u64;
- readonly xcmpMaxIndividualWeight: u64;
- }
-
- /** @name CumulusPalletXcmpQueueError (282) */
- export interface CumulusPalletXcmpQueueError extends Enum {
- readonly isFailedToSend: boolean;
- readonly isBadXcmOrigin: boolean;
- readonly isBadXcm: boolean;
- readonly isBadOverweightIndex: boolean;
- readonly isWeightOverLimit: boolean;
- readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
- }
-
- /** @name PalletXcmError (283) */
- export interface PalletXcmError extends Enum {
- readonly isUnreachable: boolean;
- readonly isSendFailure: boolean;
- readonly isFiltered: boolean;
- readonly isUnweighableMessage: boolean;
- readonly isDestinationNotInvertible: boolean;
- readonly isEmpty: boolean;
- readonly isCannotReanchor: boolean;
- readonly isTooManyAssets: boolean;
- readonly isInvalidOrigin: boolean;
- readonly isBadVersion: boolean;
- readonly isBadLocation: boolean;
- readonly isNoSubscription: boolean;
- readonly isAlreadySubscribed: boolean;
- readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
- }
-
- /** @name CumulusPalletXcmError (284) */
- export type CumulusPalletXcmError = Null;
-
- /** @name CumulusPalletDmpQueueConfigData (285) */
- export interface CumulusPalletDmpQueueConfigData extends Struct {
- readonly maxIndividual: u64;
- }
-
- /** @name CumulusPalletDmpQueuePageIndexData (286) */
- export interface CumulusPalletDmpQueuePageIndexData extends Struct {
- readonly beginUsed: u32;
- readonly endUsed: u32;
- readonly overweightCount: u64;
- }
-
- /** @name CumulusPalletDmpQueueError (289) */
- export interface CumulusPalletDmpQueueError extends Enum {
- readonly isUnknown: boolean;
- readonly isOverLimit: boolean;
- readonly type: 'Unknown' | 'OverLimit';
- }
-
- /** @name PalletUniqueError (293) */
- export interface PalletUniqueError extends Enum {
- readonly isCollectionDecimalPointLimitExceeded: boolean;
- readonly isConfirmUnsetSponsorFail: boolean;
- readonly isEmptyArgument: boolean;
- readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
- }
-
- /** @name UpDataStructsCollection (294) */
- export interface UpDataStructsCollection extends Struct {
- readonly owner: AccountId32;
- readonly mode: UpDataStructsCollectionMode;
- readonly access: UpDataStructsAccessMode;
- readonly name: Vec<u16>;
- readonly description: Vec<u16>;
- readonly tokenPrefix: Bytes;
- readonly mintMode: bool;
- readonly offchainSchema: Bytes;
- readonly schemaVersion: UpDataStructsSchemaVersion;
- readonly sponsorship: UpDataStructsSponsorshipState;
- readonly limits: UpDataStructsCollectionLimits;
- readonly variableOnChainSchema: Bytes;
- readonly constOnChainSchema: Bytes;
- readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
- }
-
- /** @name UpDataStructsSponsorshipState (295) */
- export interface UpDataStructsSponsorshipState extends Enum {
- readonly isDisabled: boolean;
- readonly isUnconfirmed: boolean;
- readonly asUnconfirmed: AccountId32;
- readonly isConfirmed: boolean;
- readonly asConfirmed: AccountId32;
- readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
- }
-
- /** @name UpDataStructsCollectionStats (298) */
- export interface UpDataStructsCollectionStats extends Struct {
- readonly created: u32;
- readonly destroyed: u32;
- readonly alive: u32;
- }
-
- /** @name PalletCommonError (299) */
- export interface PalletCommonError extends Enum {
- readonly isCollectionNotFound: boolean;
- readonly isMustBeTokenOwner: boolean;
- readonly isNoPermission: boolean;
- readonly isPublicMintingNotAllowed: boolean;
- readonly isAddressNotInAllowlist: boolean;
- readonly isCollectionNameLimitExceeded: boolean;
- readonly isCollectionDescriptionLimitExceeded: boolean;
- readonly isCollectionTokenPrefixLimitExceeded: boolean;
- readonly isTotalCollectionsLimitExceeded: boolean;
- readonly isTokenVariableDataLimitExceeded: boolean;
- readonly isCollectionAdminCountExceeded: boolean;
- readonly isCollectionLimitBoundsExceeded: boolean;
- readonly isOwnerPermissionsCantBeReverted: boolean;
- readonly isTransferNotAllowed: boolean;
- readonly isAccountTokenLimitExceeded: boolean;
- readonly isCollectionTokenLimitExceeded: boolean;
- readonly isMetadataFlagFrozen: boolean;
- readonly isTokenNotFound: boolean;
- readonly isTokenValueTooLow: boolean;
- readonly isApprovedValueTooLow: boolean;
- readonly isCantApproveMoreThanOwned: boolean;
- readonly isAddressIsZero: boolean;
- readonly isUnsupportedOperation: boolean;
- readonly isNotSufficientFounds: boolean;
- readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds';
- }
-
- /** @name PalletFungibleError (301) */
- export interface PalletFungibleError extends Enum {
- readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
- readonly isFungibleItemsHaveNoId: boolean;
- readonly isFungibleItemsDontHaveData: boolean;
- readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData';
- }
-
- /** @name PalletRefungibleItemData (302) */
- export interface PalletRefungibleItemData extends Struct {
- readonly constData: Bytes;
- readonly variableData: Bytes;
- }
-
- /** @name PalletRefungibleError (306) */
- export interface PalletRefungibleError extends Enum {
- readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
- readonly isWrongRefungiblePieces: boolean;
- readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces';
- }
-
- /** @name PalletNonfungibleItemData (307) */
- export interface PalletNonfungibleItemData extends Struct {
- readonly constData: Bytes;
- readonly variableData: Bytes;
- readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
- }
-
- /** @name PalletNonfungibleError (308) */
- export interface PalletNonfungibleError extends Enum {
- readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
- readonly isNonfungibleItemsHaveNoAmount: boolean;
- readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';
- }
-
- /** @name PalletEvmError (310) */
- export interface PalletEvmError extends Enum {
- readonly isBalanceLow: boolean;
- readonly isFeeOverflow: boolean;
- readonly isPaymentOverflow: boolean;
- readonly isWithdrawFailed: boolean;
- readonly isGasPriceTooLow: boolean;
- readonly isInvalidNonce: boolean;
- readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
- }
-
- /** @name FpRpcTransactionStatus (313) */
- export interface FpRpcTransactionStatus extends Struct {
- readonly transactionHash: H256;
- readonly transactionIndex: u32;
- readonly from: H160;
- readonly to: Option<H160>;
- readonly contractAddress: Option<H160>;
- readonly logs: Vec<EthereumLog>;
- readonly logsBloom: EthbloomBloom;
- }
-
- /** @name EthbloomBloom (316) */
- export interface EthbloomBloom extends U8aFixed {}
-
- /** @name EthereumReceiptReceiptV3 (318) */
- export interface EthereumReceiptReceiptV3 extends Enum {
- readonly isLegacy: boolean;
- readonly asLegacy: EthereumReceiptEip658ReceiptData;
- readonly isEip2930: boolean;
- readonly asEip2930: EthereumReceiptEip658ReceiptData;
- readonly isEip1559: boolean;
- readonly asEip1559: EthereumReceiptEip658ReceiptData;
- readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
- }
-
- /** @name EthereumReceiptEip658ReceiptData (319) */
- export interface EthereumReceiptEip658ReceiptData extends Struct {
- readonly statusCode: u8;
- readonly usedGas: U256;
- readonly logsBloom: EthbloomBloom;
- readonly logs: Vec<EthereumLog>;
- }
-
- /** @name EthereumBlock (320) */
- export interface EthereumBlock extends Struct {
- readonly header: EthereumHeader;
- readonly transactions: Vec<EthereumTransactionTransactionV2>;
- readonly ommers: Vec<EthereumHeader>;
- }
-
- /** @name EthereumHeader (321) */
- export interface EthereumHeader extends Struct {
- readonly parentHash: H256;
- readonly ommersHash: H256;
- readonly beneficiary: H160;
- readonly stateRoot: H256;
- readonly transactionsRoot: H256;
- readonly receiptsRoot: H256;
- readonly logsBloom: EthbloomBloom;
- readonly difficulty: U256;
- readonly number: U256;
- readonly gasLimit: U256;
- readonly gasUsed: U256;
- readonly timestamp: u64;
- readonly extraData: Bytes;
- readonly mixHash: H256;
- readonly nonce: EthereumTypesHashH64;
- }
-
- /** @name EthereumTypesHashH64 (322) */
- export interface EthereumTypesHashH64 extends U8aFixed {}
-
- /** @name PalletEthereumError (327) */
- export interface PalletEthereumError extends Enum {
- readonly isInvalidSignature: boolean;
- readonly isPreLogExists: boolean;
- readonly type: 'InvalidSignature' | 'PreLogExists';
- }
-
- /** @name PalletEvmCoderSubstrateError (328) */
- export interface PalletEvmCoderSubstrateError extends Enum {
- readonly isOutOfGas: boolean;
- readonly isOutOfFund: boolean;
- readonly type: 'OutOfGas' | 'OutOfFund';
- }
-
- /** @name PalletEvmContractHelpersSponsoringModeT (329) */
- export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
- readonly isDisabled: boolean;
- readonly isAllowlisted: boolean;
- readonly isGenerous: boolean;
- readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
- }
-
- /** @name PalletEvmContractHelpersError (331) */
- export interface PalletEvmContractHelpersError extends Enum {
- readonly isNoPermission: boolean;
- readonly type: 'NoPermission';
- }
-
- /** @name PalletEvmMigrationError (332) */
- export interface PalletEvmMigrationError extends Enum {
- readonly isAccountNotEmpty: boolean;
- readonly isAccountIsNotMigrating: boolean;
- readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
- }
-
- /** @name SpRuntimeMultiSignature (334) */
- export interface SpRuntimeMultiSignature extends Enum {
- readonly isEd25519: boolean;
- readonly asEd25519: SpCoreEd25519Signature;
- readonly isSr25519: boolean;
- readonly asSr25519: SpCoreSr25519Signature;
- readonly isEcdsa: boolean;
- readonly asEcdsa: SpCoreEcdsaSignature;
- readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
- }
-
- /** @name SpCoreEd25519Signature (335) */
- export interface SpCoreEd25519Signature extends U8aFixed {}
-
- /** @name SpCoreSr25519Signature (337) */
- export interface SpCoreSr25519Signature extends U8aFixed {}
-
- /** @name SpCoreEcdsaSignature (338) */
- export interface SpCoreEcdsaSignature extends U8aFixed {}
-
- /** @name FrameSystemExtensionsCheckSpecVersion (341) */
- export type FrameSystemExtensionsCheckSpecVersion = Null;
-
- /** @name FrameSystemExtensionsCheckGenesis (342) */
- export type FrameSystemExtensionsCheckGenesis = Null;
-
- /** @name FrameSystemExtensionsCheckNonce (345) */
- export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
-
- /** @name FrameSystemExtensionsCheckWeight (346) */
- export type FrameSystemExtensionsCheckWeight = Null;
-
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (347) */
- export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
-
- /** @name OpalRuntimeRuntime (348) */
- export type OpalRuntimeRuntime = Null;
-
-} // declare module
tests/src/interfaces/unique/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/definitions.ts
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -49,6 +49,7 @@
balance: fun('Get amount of specific account token', [collectionParam, crossAccountParam(), tokenParam], 'u128'),
allowance: fun('Get allowed amount', [collectionParam, crossAccountParam('sender'), crossAccountParam('spender'), tokenParam], 'u128'),
tokenOwner: fun('Get token owner', [collectionParam, tokenParam], CROSS_ACCOUNT_ID_TYPE),
+ topmostTokenOwner: fun('Get token owner, in case of nested token - find parent recursive', [collectionParam, tokenParam], CROSS_ACCOUNT_ID_TYPE),
constMetadata: fun('Get token constant metadata', [collectionParam, tokenParam], 'Vec<u8>'),
variableMetadata: fun('Get token variable metadata', [collectionParam, tokenParam], 'Vec<u8>'),
tokenExists: fun('Check if token exists', [collectionParam, tokenParam], 'bool'),
tests/src/interfaces/unique/types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, 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 } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name BTreeSet */10export interface BTreeSet extends BTreeSet<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 isTokenVariableDataLimitExceeded: boolean;879 readonly isCollectionAdminCountExceeded: boolean;880 readonly isCollectionLimitBoundsExceeded: boolean;881 readonly isOwnerPermissionsCantBeReverted: boolean;882 readonly isTransferNotAllowed: boolean;883 readonly isAccountTokenLimitExceeded: boolean;884 readonly isCollectionTokenLimitExceeded: boolean;885 readonly isMetadataFlagFrozen: boolean;886 readonly isTokenNotFound: boolean;887 readonly isTokenValueTooLow: boolean;888 readonly isApprovedValueTooLow: boolean;889 readonly isCantApproveMoreThanOwned: boolean;890 readonly isAddressIsZero: boolean;891 readonly isUnsupportedOperation: boolean;892 readonly isNotSufficientFounds: boolean;893 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds';894}895896/** @name PalletCommonEvent */897export interface PalletCommonEvent extends Enum {898 readonly isCollectionCreated: boolean;899 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;900 readonly isCollectionDestroyed: boolean;901 readonly asCollectionDestroyed: u32;902 readonly isItemCreated: boolean;903 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;904 readonly isItemDestroyed: boolean;905 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;906 readonly isTransfer: boolean;907 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;908 readonly isApproved: boolean;909 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;910 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';911}912913/** @name PalletEthereumCall */914export interface PalletEthereumCall extends Enum {915 readonly isTransact: boolean;916 readonly asTransact: {917 readonly transaction: EthereumTransactionTransactionV2;918 } & Struct;919 readonly type: 'Transact';920}921922/** @name PalletEthereumError */923export interface PalletEthereumError extends Enum {924 readonly isInvalidSignature: boolean;925 readonly isPreLogExists: boolean;926 readonly type: 'InvalidSignature' | 'PreLogExists';927}928929/** @name PalletEthereumEvent */930export interface PalletEthereumEvent extends Enum {931 readonly isExecuted: boolean;932 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;933 readonly type: 'Executed';934}935936/** @name PalletEvmAccountBasicCrossAccountIdRepr */937export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {938 readonly isSubstrate: boolean;939 readonly asSubstrate: AccountId32;940 readonly isEthereum: boolean;941 readonly asEthereum: H160;942 readonly type: 'Substrate' | 'Ethereum';943}944945/** @name PalletEvmCall */946export interface PalletEvmCall extends Enum {947 readonly isWithdraw: boolean;948 readonly asWithdraw: {949 readonly address: H160;950 readonly value: u128;951 } & Struct;952 readonly isCall: boolean;953 readonly asCall: {954 readonly source: H160;955 readonly target: H160;956 readonly input: Bytes;957 readonly value: U256;958 readonly gasLimit: u64;959 readonly maxFeePerGas: U256;960 readonly maxPriorityFeePerGas: Option<U256>;961 readonly nonce: Option<U256>;962 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;963 } & Struct;964 readonly isCreate: boolean;965 readonly asCreate: {966 readonly source: H160;967 readonly init: Bytes;968 readonly value: U256;969 readonly gasLimit: u64;970 readonly maxFeePerGas: U256;971 readonly maxPriorityFeePerGas: Option<U256>;972 readonly nonce: Option<U256>;973 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;974 } & Struct;975 readonly isCreate2: boolean;976 readonly asCreate2: {977 readonly source: H160;978 readonly init: Bytes;979 readonly salt: H256;980 readonly value: U256;981 readonly gasLimit: u64;982 readonly maxFeePerGas: U256;983 readonly maxPriorityFeePerGas: Option<U256>;984 readonly nonce: Option<U256>;985 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;986 } & Struct;987 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';988}989990/** @name PalletEvmCoderSubstrateError */991export interface PalletEvmCoderSubstrateError extends Enum {992 readonly isOutOfGas: boolean;993 readonly isOutOfFund: boolean;994 readonly type: 'OutOfGas' | 'OutOfFund';995}996997/** @name PalletEvmContractHelpersError */998export interface PalletEvmContractHelpersError extends Enum {999 readonly isNoPermission: boolean;1000 readonly type: 'NoPermission';1001}10021003/** @name PalletEvmContractHelpersSponsoringModeT */1004export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1005 readonly isDisabled: boolean;1006 readonly isAllowlisted: boolean;1007 readonly isGenerous: boolean;1008 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1009}10101011/** @name PalletEvmError */1012export interface PalletEvmError extends Enum {1013 readonly isBalanceLow: boolean;1014 readonly isFeeOverflow: boolean;1015 readonly isPaymentOverflow: boolean;1016 readonly isWithdrawFailed: boolean;1017 readonly isGasPriceTooLow: boolean;1018 readonly isInvalidNonce: boolean;1019 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1020}10211022/** @name PalletEvmEvent */1023export interface PalletEvmEvent extends Enum {1024 readonly isLog: boolean;1025 readonly asLog: EthereumLog;1026 readonly isCreated: boolean;1027 readonly asCreated: H160;1028 readonly isCreatedFailed: boolean;1029 readonly asCreatedFailed: H160;1030 readonly isExecuted: boolean;1031 readonly asExecuted: H160;1032 readonly isExecutedFailed: boolean;1033 readonly asExecutedFailed: H160;1034 readonly isBalanceDeposit: boolean;1035 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1036 readonly isBalanceWithdraw: boolean;1037 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1038 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1039}10401041/** @name PalletEvmMigrationCall */1042export interface PalletEvmMigrationCall extends Enum {1043 readonly isBegin: boolean;1044 readonly asBegin: {1045 readonly address: H160;1046 } & Struct;1047 readonly isSetData: boolean;1048 readonly asSetData: {1049 readonly address: H160;1050 readonly data: Vec<ITuple<[H256, H256]>>;1051 } & Struct;1052 readonly isFinish: boolean;1053 readonly asFinish: {1054 readonly address: H160;1055 readonly code: Bytes;1056 } & Struct;1057 readonly type: 'Begin' | 'SetData' | 'Finish';1058}10591060/** @name PalletEvmMigrationError */1061export interface PalletEvmMigrationError extends Enum {1062 readonly isAccountNotEmpty: boolean;1063 readonly isAccountIsNotMigrating: boolean;1064 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1065}10661067/** @name PalletFungibleError */1068export interface PalletFungibleError extends Enum {1069 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1070 readonly isFungibleItemsHaveNoId: boolean;1071 readonly isFungibleItemsDontHaveData: boolean;1072 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData';1073}10741075/** @name PalletInflationCall */1076export interface PalletInflationCall extends Enum {1077 readonly isStartInflation: boolean;1078 readonly asStartInflation: {1079 readonly inflationStartRelayBlock: u32;1080 } & Struct;1081 readonly type: 'StartInflation';1082}10831084/** @name PalletNonfungibleError */1085export interface PalletNonfungibleError extends Enum {1086 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1087 readonly isNonfungibleItemsHaveNoAmount: boolean;1088 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';1089}10901091/** @name PalletNonfungibleItemData */1092export interface PalletNonfungibleItemData extends Struct {1093 readonly constData: Bytes;1094 readonly variableData: Bytes;1095 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1096}10971098/** @name PalletRefungibleError */1099export interface PalletRefungibleError extends Enum {1100 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1101 readonly isWrongRefungiblePieces: boolean;1102 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces';1103}11041105/** @name PalletRefungibleItemData */1106export interface PalletRefungibleItemData extends Struct {1107 readonly constData: Bytes;1108 readonly variableData: Bytes;1109}11101111/** @name PalletSudoCall */1112export interface PalletSudoCall extends Enum {1113 readonly isSudo: boolean;1114 readonly asSudo: {1115 readonly call: Call;1116 } & Struct;1117 readonly isSudoUncheckedWeight: boolean;1118 readonly asSudoUncheckedWeight: {1119 readonly call: Call;1120 readonly weight: u64;1121 } & Struct;1122 readonly isSetKey: boolean;1123 readonly asSetKey: {1124 readonly new_: MultiAddress;1125 } & Struct;1126 readonly isSudoAs: boolean;1127 readonly asSudoAs: {1128 readonly who: MultiAddress;1129 readonly call: Call;1130 } & Struct;1131 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1132}11331134/** @name PalletSudoError */1135export interface PalletSudoError extends Enum {1136 readonly isRequireSudo: boolean;1137 readonly type: 'RequireSudo';1138}11391140/** @name PalletSudoEvent */1141export interface PalletSudoEvent extends Enum {1142 readonly isSudid: boolean;1143 readonly asSudid: {1144 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1145 } & Struct;1146 readonly isKeyChanged: boolean;1147 readonly asKeyChanged: {1148 readonly oldSudoer: Option<AccountId32>;1149 } & Struct;1150 readonly isSudoAsDone: boolean;1151 readonly asSudoAsDone: {1152 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1153 } & Struct;1154 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1155}11561157/** @name PalletTemplateTransactionPaymentCall */1158export interface PalletTemplateTransactionPaymentCall extends Null {}11591160/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1161export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}11621163/** @name PalletTimestampCall */1164export interface PalletTimestampCall extends Enum {1165 readonly isSet: boolean;1166 readonly asSet: {1167 readonly now: Compact<u64>;1168 } & Struct;1169 readonly type: 'Set';1170}11711172/** @name PalletTransactionPaymentReleases */1173export interface PalletTransactionPaymentReleases extends Enum {1174 readonly isV1Ancient: boolean;1175 readonly isV2: boolean;1176 readonly type: 'V1Ancient' | 'V2';1177}11781179/** @name PalletTreasuryCall */1180export interface PalletTreasuryCall extends Enum {1181 readonly isProposeSpend: boolean;1182 readonly asProposeSpend: {1183 readonly value: Compact<u128>;1184 readonly beneficiary: MultiAddress;1185 } & Struct;1186 readonly isRejectProposal: boolean;1187 readonly asRejectProposal: {1188 readonly proposalId: Compact<u32>;1189 } & Struct;1190 readonly isApproveProposal: boolean;1191 readonly asApproveProposal: {1192 readonly proposalId: Compact<u32>;1193 } & Struct;1194 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';1195}11961197/** @name PalletTreasuryError */1198export interface PalletTreasuryError extends Enum {1199 readonly isInsufficientProposersBalance: boolean;1200 readonly isInvalidIndex: boolean;1201 readonly isTooManyApprovals: boolean;1202 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';1203}12041205/** @name PalletTreasuryEvent */1206export interface PalletTreasuryEvent extends Enum {1207 readonly isProposed: boolean;1208 readonly asProposed: {1209 readonly proposalIndex: u32;1210 } & Struct;1211 readonly isSpending: boolean;1212 readonly asSpending: {1213 readonly budgetRemaining: u128;1214 } & Struct;1215 readonly isAwarded: boolean;1216 readonly asAwarded: {1217 readonly proposalIndex: u32;1218 readonly award: u128;1219 readonly account: AccountId32;1220 } & Struct;1221 readonly isRejected: boolean;1222 readonly asRejected: {1223 readonly proposalIndex: u32;1224 readonly slashed: u128;1225 } & Struct;1226 readonly isBurnt: boolean;1227 readonly asBurnt: {1228 readonly burntFunds: u128;1229 } & Struct;1230 readonly isRollover: boolean;1231 readonly asRollover: {1232 readonly rolloverBalance: u128;1233 } & Struct;1234 readonly isDeposit: boolean;1235 readonly asDeposit: {1236 readonly value: u128;1237 } & Struct;1238 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';1239}12401241/** @name PalletTreasuryProposal */1242export interface PalletTreasuryProposal extends Struct {1243 readonly proposer: AccountId32;1244 readonly value: u128;1245 readonly beneficiary: AccountId32;1246 readonly bond: u128;1247}12481249/** @name PalletUniqueCall */1250export interface PalletUniqueCall extends Enum {1251 readonly isCreateCollection: boolean;1252 readonly asCreateCollection: {1253 readonly collectionName: Vec<u16>;1254 readonly collectionDescription: Vec<u16>;1255 readonly tokenPrefix: Bytes;1256 readonly mode: UpDataStructsCollectionMode;1257 } & Struct;1258 readonly isCreateCollectionEx: boolean;1259 readonly asCreateCollectionEx: {1260 readonly data: UpDataStructsCreateCollectionData;1261 } & Struct;1262 readonly isDestroyCollection: boolean;1263 readonly asDestroyCollection: {1264 readonly collectionId: u32;1265 } & Struct;1266 readonly isAddToAllowList: boolean;1267 readonly asAddToAllowList: {1268 readonly collectionId: u32;1269 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1270 } & Struct;1271 readonly isRemoveFromAllowList: boolean;1272 readonly asRemoveFromAllowList: {1273 readonly collectionId: u32;1274 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1275 } & Struct;1276 readonly isSetPublicAccessMode: boolean;1277 readonly asSetPublicAccessMode: {1278 readonly collectionId: u32;1279 readonly mode: UpDataStructsAccessMode;1280 } & Struct;1281 readonly isSetMintPermission: boolean;1282 readonly asSetMintPermission: {1283 readonly collectionId: u32;1284 readonly mintPermission: bool;1285 } & Struct;1286 readonly isChangeCollectionOwner: boolean;1287 readonly asChangeCollectionOwner: {1288 readonly collectionId: u32;1289 readonly newOwner: AccountId32;1290 } & Struct;1291 readonly isAddCollectionAdmin: boolean;1292 readonly asAddCollectionAdmin: {1293 readonly collectionId: u32;1294 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1295 } & Struct;1296 readonly isRemoveCollectionAdmin: boolean;1297 readonly asRemoveCollectionAdmin: {1298 readonly collectionId: u32;1299 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1300 } & Struct;1301 readonly isSetCollectionSponsor: boolean;1302 readonly asSetCollectionSponsor: {1303 readonly collectionId: u32;1304 readonly newSponsor: AccountId32;1305 } & Struct;1306 readonly isConfirmSponsorship: boolean;1307 readonly asConfirmSponsorship: {1308 readonly collectionId: u32;1309 } & Struct;1310 readonly isRemoveCollectionSponsor: boolean;1311 readonly asRemoveCollectionSponsor: {1312 readonly collectionId: u32;1313 } & Struct;1314 readonly isCreateItem: boolean;1315 readonly asCreateItem: {1316 readonly collectionId: u32;1317 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1318 readonly data: UpDataStructsCreateItemData;1319 } & Struct;1320 readonly isCreateMultipleItems: boolean;1321 readonly asCreateMultipleItems: {1322 readonly collectionId: u32;1323 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1324 readonly itemsData: Vec<UpDataStructsCreateItemData>;1325 } & Struct;1326 readonly isCreateMultipleItemsEx: boolean;1327 readonly asCreateMultipleItemsEx: {1328 readonly collectionId: u32;1329 readonly data: UpDataStructsCreateItemExData;1330 } & Struct;1331 readonly isSetTransfersEnabledFlag: boolean;1332 readonly asSetTransfersEnabledFlag: {1333 readonly collectionId: u32;1334 readonly value: bool;1335 } & Struct;1336 readonly isBurnItem: boolean;1337 readonly asBurnItem: {1338 readonly collectionId: u32;1339 readonly itemId: u32;1340 readonly value: u128;1341 } & Struct;1342 readonly isBurnFrom: boolean;1343 readonly asBurnFrom: {1344 readonly collectionId: u32;1345 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1346 readonly itemId: u32;1347 readonly value: u128;1348 } & Struct;1349 readonly isTransfer: boolean;1350 readonly asTransfer: {1351 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1352 readonly collectionId: u32;1353 readonly itemId: u32;1354 readonly value: u128;1355 } & Struct;1356 readonly isApprove: boolean;1357 readonly asApprove: {1358 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1359 readonly collectionId: u32;1360 readonly itemId: u32;1361 readonly amount: u128;1362 } & Struct;1363 readonly isTransferFrom: boolean;1364 readonly asTransferFrom: {1365 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1366 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1367 readonly collectionId: u32;1368 readonly itemId: u32;1369 readonly value: u128;1370 } & Struct;1371 readonly isSetVariableMetaData: boolean;1372 readonly asSetVariableMetaData: {1373 readonly collectionId: u32;1374 readonly itemId: u32;1375 readonly data: Bytes;1376 } & Struct;1377 readonly isSetMetaUpdatePermissionFlag: boolean;1378 readonly asSetMetaUpdatePermissionFlag: {1379 readonly collectionId: u32;1380 readonly value: UpDataStructsMetaUpdatePermission;1381 } & Struct;1382 readonly isSetSchemaVersion: boolean;1383 readonly asSetSchemaVersion: {1384 readonly collectionId: u32;1385 readonly version: UpDataStructsSchemaVersion;1386 } & Struct;1387 readonly isSetOffchainSchema: boolean;1388 readonly asSetOffchainSchema: {1389 readonly collectionId: u32;1390 readonly schema: Bytes;1391 } & Struct;1392 readonly isSetConstOnChainSchema: boolean;1393 readonly asSetConstOnChainSchema: {1394 readonly collectionId: u32;1395 readonly schema: Bytes;1396 } & Struct;1397 readonly isSetVariableOnChainSchema: boolean;1398 readonly asSetVariableOnChainSchema: {1399 readonly collectionId: u32;1400 readonly schema: Bytes;1401 } & Struct;1402 readonly isSetCollectionLimits: boolean;1403 readonly asSetCollectionLimits: {1404 readonly collectionId: u32;1405 readonly newLimit: UpDataStructsCollectionLimits;1406 } & Struct;1407 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';1408}14091410/** @name PalletUniqueError */1411export interface PalletUniqueError extends Enum {1412 readonly isCollectionDecimalPointLimitExceeded: boolean;1413 readonly isConfirmUnsetSponsorFail: boolean;1414 readonly isEmptyArgument: boolean;1415 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';1416}14171418/** @name PalletUniqueRawEvent */1419export interface PalletUniqueRawEvent extends Enum {1420 readonly isCollectionSponsorRemoved: boolean;1421 readonly asCollectionSponsorRemoved: u32;1422 readonly isCollectionAdminAdded: boolean;1423 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1424 readonly isCollectionOwnedChanged: boolean;1425 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1426 readonly isCollectionSponsorSet: boolean;1427 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1428 readonly isConstOnChainSchemaSet: boolean;1429 readonly asConstOnChainSchemaSet: u32;1430 readonly isSponsorshipConfirmed: boolean;1431 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1432 readonly isCollectionAdminRemoved: boolean;1433 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1434 readonly isAllowListAddressRemoved: boolean;1435 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1436 readonly isAllowListAddressAdded: boolean;1437 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1438 readonly isCollectionLimitSet: boolean;1439 readonly asCollectionLimitSet: u32;1440 readonly isMintPermissionSet: boolean;1441 readonly asMintPermissionSet: u32;1442 readonly isOffchainSchemaSet: boolean;1443 readonly asOffchainSchemaSet: u32;1444 readonly isPublicAccessModeSet: boolean;1445 readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;1446 readonly isSchemaVersionSet: boolean;1447 readonly asSchemaVersionSet: u32;1448 readonly isVariableOnChainSchemaSet: boolean;1449 readonly asVariableOnChainSchemaSet: u32;1450 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';1451}14521453/** @name PalletXcmCall */1454export interface PalletXcmCall extends Enum {1455 readonly isSend: boolean;1456 readonly asSend: {1457 readonly dest: XcmVersionedMultiLocation;1458 readonly message: XcmVersionedXcm;1459 } & Struct;1460 readonly isTeleportAssets: boolean;1461 readonly asTeleportAssets: {1462 readonly dest: XcmVersionedMultiLocation;1463 readonly beneficiary: XcmVersionedMultiLocation;1464 readonly assets: XcmVersionedMultiAssets;1465 readonly feeAssetItem: u32;1466 } & Struct;1467 readonly isReserveTransferAssets: boolean;1468 readonly asReserveTransferAssets: {1469 readonly dest: XcmVersionedMultiLocation;1470 readonly beneficiary: XcmVersionedMultiLocation;1471 readonly assets: XcmVersionedMultiAssets;1472 readonly feeAssetItem: u32;1473 } & Struct;1474 readonly isExecute: boolean;1475 readonly asExecute: {1476 readonly message: XcmVersionedXcm;1477 readonly maxWeight: u64;1478 } & Struct;1479 readonly isForceXcmVersion: boolean;1480 readonly asForceXcmVersion: {1481 readonly location: XcmV1MultiLocation;1482 readonly xcmVersion: u32;1483 } & Struct;1484 readonly isForceDefaultXcmVersion: boolean;1485 readonly asForceDefaultXcmVersion: {1486 readonly maybeXcmVersion: Option<u32>;1487 } & Struct;1488 readonly isForceSubscribeVersionNotify: boolean;1489 readonly asForceSubscribeVersionNotify: {1490 readonly location: XcmVersionedMultiLocation;1491 } & Struct;1492 readonly isForceUnsubscribeVersionNotify: boolean;1493 readonly asForceUnsubscribeVersionNotify: {1494 readonly location: XcmVersionedMultiLocation;1495 } & Struct;1496 readonly isLimitedReserveTransferAssets: boolean;1497 readonly asLimitedReserveTransferAssets: {1498 readonly dest: XcmVersionedMultiLocation;1499 readonly beneficiary: XcmVersionedMultiLocation;1500 readonly assets: XcmVersionedMultiAssets;1501 readonly feeAssetItem: u32;1502 readonly weightLimit: XcmV2WeightLimit;1503 } & Struct;1504 readonly isLimitedTeleportAssets: boolean;1505 readonly asLimitedTeleportAssets: {1506 readonly dest: XcmVersionedMultiLocation;1507 readonly beneficiary: XcmVersionedMultiLocation;1508 readonly assets: XcmVersionedMultiAssets;1509 readonly feeAssetItem: u32;1510 readonly weightLimit: XcmV2WeightLimit;1511 } & Struct;1512 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1513}15141515/** @name PalletXcmError */1516export interface PalletXcmError extends Enum {1517 readonly isUnreachable: boolean;1518 readonly isSendFailure: boolean;1519 readonly isFiltered: boolean;1520 readonly isUnweighableMessage: boolean;1521 readonly isDestinationNotInvertible: boolean;1522 readonly isEmpty: boolean;1523 readonly isCannotReanchor: boolean;1524 readonly isTooManyAssets: boolean;1525 readonly isInvalidOrigin: boolean;1526 readonly isBadVersion: boolean;1527 readonly isBadLocation: boolean;1528 readonly isNoSubscription: boolean;1529 readonly isAlreadySubscribed: boolean;1530 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';1531}15321533/** @name PalletXcmEvent */1534export interface PalletXcmEvent extends Enum {1535 readonly isAttempted: boolean;1536 readonly asAttempted: XcmV2TraitsOutcome;1537 readonly isSent: boolean;1538 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;1539 readonly isUnexpectedResponse: boolean;1540 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;1541 readonly isResponseReady: boolean;1542 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;1543 readonly isNotified: boolean;1544 readonly asNotified: ITuple<[u64, u8, u8]>;1545 readonly isNotifyOverweight: boolean;1546 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;1547 readonly isNotifyDispatchError: boolean;1548 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;1549 readonly isNotifyDecodeFailed: boolean;1550 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;1551 readonly isInvalidResponder: boolean;1552 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;1553 readonly isInvalidResponderVersion: boolean;1554 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;1555 readonly isResponseTaken: boolean;1556 readonly asResponseTaken: u64;1557 readonly isAssetsTrapped: boolean;1558 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;1559 readonly isVersionChangeNotified: boolean;1560 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;1561 readonly isSupportedVersionChanged: boolean;1562 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;1563 readonly isNotifyTargetSendFail: boolean;1564 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;1565 readonly isNotifyTargetMigrationFail: boolean;1566 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;1567 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1568}15691570/** @name PolkadotCorePrimitivesInboundDownwardMessage */1571export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1572 readonly sentAt: u32;1573 readonly msg: Bytes;1574}15751576/** @name PolkadotCorePrimitivesInboundHrmpMessage */1577export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1578 readonly sentAt: u32;1579 readonly data: Bytes;1580}15811582/** @name PolkadotCorePrimitivesOutboundHrmpMessage */1583export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1584 readonly recipient: u32;1585 readonly data: Bytes;1586}15871588/** @name PolkadotParachainPrimitivesXcmpMessageFormat */1589export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {1590 readonly isConcatenatedVersionedXcm: boolean;1591 readonly isConcatenatedEncodedBlob: boolean;1592 readonly isSignals: boolean;1593 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';1594}15951596/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */1597export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1598 readonly maxCodeSize: u32;1599 readonly maxHeadDataSize: u32;1600 readonly maxUpwardQueueCount: u32;1601 readonly maxUpwardQueueSize: u32;1602 readonly maxUpwardMessageSize: u32;1603 readonly maxUpwardMessageNumPerCandidate: u32;1604 readonly hrmpMaxMessageNumPerCandidate: u32;1605 readonly validationUpgradeCooldown: u32;1606 readonly validationUpgradeDelay: u32;1607}16081609/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */1610export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1611 readonly maxCapacity: u32;1612 readonly maxTotalSize: u32;1613 readonly maxMessageSize: u32;1614 readonly msgCount: u32;1615 readonly totalSize: u32;1616 readonly mqcHead: Option<H256>;1617}16181619/** @name PolkadotPrimitivesV2PersistedValidationData */1620export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1621 readonly parentHead: Bytes;1622 readonly relayParentNumber: u32;1623 readonly relayParentStorageRoot: H256;1624 readonly maxPovSize: u32;1625}16261627/** @name PolkadotPrimitivesV2UpgradeRestriction */1628export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1629 readonly isPresent: boolean;1630 readonly type: 'Present';1631}16321633/** @name SpCoreEcdsaSignature */1634export interface SpCoreEcdsaSignature extends U8aFixed {}16351636/** @name SpCoreEd25519Signature */1637export interface SpCoreEd25519Signature extends U8aFixed {}16381639/** @name SpCoreSr25519Signature */1640export interface SpCoreSr25519Signature extends U8aFixed {}16411642/** @name SpRuntimeArithmeticError */1643export interface SpRuntimeArithmeticError extends Enum {1644 readonly isUnderflow: boolean;1645 readonly isOverflow: boolean;1646 readonly isDivisionByZero: boolean;1647 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1648}16491650/** @name SpRuntimeDigest */1651export interface SpRuntimeDigest extends Struct {1652 readonly logs: Vec<SpRuntimeDigestDigestItem>;1653}16541655/** @name SpRuntimeDigestDigestItem */1656export interface SpRuntimeDigestDigestItem extends Enum {1657 readonly isOther: boolean;1658 readonly asOther: Bytes;1659 readonly isConsensus: boolean;1660 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;1661 readonly isSeal: boolean;1662 readonly asSeal: ITuple<[U8aFixed, Bytes]>;1663 readonly isPreRuntime: boolean;1664 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;1665 readonly isRuntimeEnvironmentUpdated: boolean;1666 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1667}16681669/** @name SpRuntimeDispatchError */1670export interface SpRuntimeDispatchError extends Enum {1671 readonly isOther: boolean;1672 readonly isCannotLookup: boolean;1673 readonly isBadOrigin: boolean;1674 readonly isModule: boolean;1675 readonly asModule: SpRuntimeModuleError;1676 readonly isConsumerRemaining: boolean;1677 readonly isNoProviders: boolean;1678 readonly isTooManyConsumers: boolean;1679 readonly isToken: boolean;1680 readonly asToken: SpRuntimeTokenError;1681 readonly isArithmetic: boolean;1682 readonly asArithmetic: SpRuntimeArithmeticError;1683 readonly isTransactional: boolean;1684 readonly asTransactional: SpRuntimeTransactionalError;1685 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1686}16871688/** @name SpRuntimeModuleError */1689export interface SpRuntimeModuleError extends Struct {1690 readonly index: u8;1691 readonly error: U8aFixed;1692}16931694/** @name SpRuntimeMultiSignature */1695export interface SpRuntimeMultiSignature extends Enum {1696 readonly isEd25519: boolean;1697 readonly asEd25519: SpCoreEd25519Signature;1698 readonly isSr25519: boolean;1699 readonly asSr25519: SpCoreSr25519Signature;1700 readonly isEcdsa: boolean;1701 readonly asEcdsa: SpCoreEcdsaSignature;1702 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';1703}17041705/** @name SpRuntimeTokenError */1706export interface SpRuntimeTokenError extends Enum {1707 readonly isNoFunds: boolean;1708 readonly isWouldDie: boolean;1709 readonly isBelowMinimum: boolean;1710 readonly isCannotCreate: boolean;1711 readonly isUnknownAsset: boolean;1712 readonly isFrozen: boolean;1713 readonly isUnsupported: boolean;1714 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1715}17161717/** @name SpRuntimeTransactionalError */1718export interface SpRuntimeTransactionalError extends Enum {1719 readonly isLimitReached: boolean;1720 readonly isNoLayer: boolean;1721 readonly type: 'LimitReached' | 'NoLayer';1722}17231724/** @name SpTrieStorageProof */1725export interface SpTrieStorageProof extends Struct {1726 readonly trieNodes: BTreeSet;1727}17281729/** @name SpVersionRuntimeVersion */1730export interface SpVersionRuntimeVersion extends Struct {1731 readonly specName: Text;1732 readonly implName: Text;1733 readonly authoringVersion: u32;1734 readonly specVersion: u32;1735 readonly implVersion: u32;1736 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1737 readonly transactionVersion: u32;1738 readonly stateVersion: u8;1739}17401741/** @name UpDataStructsAccessMode */1742export interface UpDataStructsAccessMode extends Enum {1743 readonly isNormal: boolean;1744 readonly isAllowList: boolean;1745 readonly type: 'Normal' | 'AllowList';1746}17471748/** @name UpDataStructsCollection */1749export interface UpDataStructsCollection extends Struct {1750 readonly owner: AccountId32;1751 readonly mode: UpDataStructsCollectionMode;1752 readonly access: UpDataStructsAccessMode;1753 readonly name: Vec<u16>;1754 readonly description: Vec<u16>;1755 readonly tokenPrefix: Bytes;1756 readonly mintMode: bool;1757 readonly offchainSchema: Bytes;1758 readonly schemaVersion: UpDataStructsSchemaVersion;1759 readonly sponsorship: UpDataStructsSponsorshipState;1760 readonly limits: UpDataStructsCollectionLimits;1761 readonly variableOnChainSchema: Bytes;1762 readonly constOnChainSchema: Bytes;1763 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;1764}17651766/** @name UpDataStructsCollectionLimits */1767export interface UpDataStructsCollectionLimits extends Struct {1768 readonly accountTokenOwnershipLimit: Option<u32>;1769 readonly sponsoredDataSize: Option<u32>;1770 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1771 readonly tokenLimit: Option<u32>;1772 readonly sponsorTransferTimeout: Option<u32>;1773 readonly sponsorApproveTimeout: Option<u32>;1774 readonly ownerCanTransfer: Option<bool>;1775 readonly ownerCanDestroy: Option<bool>;1776 readonly transfersEnabled: Option<bool>;1777}17781779/** @name UpDataStructsCollectionMode */1780export interface UpDataStructsCollectionMode extends Enum {1781 readonly isNft: boolean;1782 readonly isFungible: boolean;1783 readonly asFungible: u8;1784 readonly isReFungible: boolean;1785 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1786}17871788/** @name UpDataStructsCollectionStats */1789export interface UpDataStructsCollectionStats extends Struct {1790 readonly created: u32;1791 readonly destroyed: u32;1792 readonly alive: u32;1793}17941795/** @name UpDataStructsCreateCollectionData */1796export interface UpDataStructsCreateCollectionData extends Struct {1797 readonly mode: UpDataStructsCollectionMode;1798 readonly access: Option<UpDataStructsAccessMode>;1799 readonly name: Vec<u16>;1800 readonly description: Vec<u16>;1801 readonly tokenPrefix: Bytes;1802 readonly offchainSchema: Bytes;1803 readonly schemaVersion: Option<UpDataStructsSchemaVersion>;1804 readonly pendingSponsor: Option<AccountId32>;1805 readonly limits: Option<UpDataStructsCollectionLimits>;1806 readonly variableOnChainSchema: Bytes;1807 readonly constOnChainSchema: Bytes;1808 readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;1809}18101811/** @name UpDataStructsCreateFungibleData */1812export interface UpDataStructsCreateFungibleData extends Struct {1813 readonly value: u128;1814}18151816/** @name UpDataStructsCreateItemData */1817export interface UpDataStructsCreateItemData extends Enum {1818 readonly isNft: boolean;1819 readonly asNft: UpDataStructsCreateNftData;1820 readonly isFungible: boolean;1821 readonly asFungible: UpDataStructsCreateFungibleData;1822 readonly isReFungible: boolean;1823 readonly asReFungible: UpDataStructsCreateReFungibleData;1824 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1825}18261827/** @name UpDataStructsCreateItemExData */1828export interface UpDataStructsCreateItemExData extends Enum {1829 readonly isNft: boolean;1830 readonly asNft: Vec<UpDataStructsCreateNftExData>;1831 readonly isFungible: boolean;1832 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;1833 readonly isRefungibleMultipleItems: boolean;1834 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1835 readonly isRefungibleMultipleOwners: boolean;1836 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1837 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1838}18391840/** @name UpDataStructsCreateNftData */1841export interface UpDataStructsCreateNftData extends Struct {1842 readonly constData: Bytes;1843 readonly variableData: Bytes;1844}18451846/** @name UpDataStructsCreateNftExData */1847export interface UpDataStructsCreateNftExData extends Struct {1848 readonly constData: Bytes;1849 readonly variableData: Bytes;1850 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1851}18521853/** @name UpDataStructsCreateReFungibleData */1854export interface UpDataStructsCreateReFungibleData extends Struct {1855 readonly constData: Bytes;1856 readonly variableData: Bytes;1857 readonly pieces: u128;1858}18591860/** @name UpDataStructsCreateRefungibleExData */1861export interface UpDataStructsCreateRefungibleExData extends Struct {1862 readonly constData: Bytes;1863 readonly variableData: Bytes;1864 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1865}18661867/** @name UpDataStructsMetaUpdatePermission */1868export interface UpDataStructsMetaUpdatePermission extends Enum {1869 readonly isItemOwner: boolean;1870 readonly isAdmin: boolean;1871 readonly isNone: boolean;1872 readonly type: 'ItemOwner' | 'Admin' | 'None';1873}18741875/** @name UpDataStructsSchemaVersion */1876export interface UpDataStructsSchemaVersion extends Enum {1877 readonly isImageURL: boolean;1878 readonly isUnique: boolean;1879 readonly type: 'ImageURL' | 'Unique';1880}18811882/** @name UpDataStructsSponsoringRateLimit */1883export interface UpDataStructsSponsoringRateLimit extends Enum {1884 readonly isSponsoringDisabled: boolean;1885 readonly isBlocks: boolean;1886 readonly asBlocks: u32;1887 readonly type: 'SponsoringDisabled' | 'Blocks';1888}18891890/** @name UpDataStructsSponsorshipState */1891export interface UpDataStructsSponsorshipState extends Enum {1892 readonly isDisabled: boolean;1893 readonly isUnconfirmed: boolean;1894 readonly asUnconfirmed: AccountId32;1895 readonly isConfirmed: boolean;1896 readonly asConfirmed: AccountId32;1897 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';1898}18991900/** @name XcmDoubleEncoded */1901export interface XcmDoubleEncoded extends Struct {1902 readonly encoded: Bytes;1903}19041905/** @name XcmV0Junction */1906export interface XcmV0Junction extends Enum {1907 readonly isParent: boolean;1908 readonly isParachain: boolean;1909 readonly asParachain: Compact<u32>;1910 readonly isAccountId32: boolean;1911 readonly asAccountId32: {1912 readonly network: XcmV0JunctionNetworkId;1913 readonly id: U8aFixed;1914 } & Struct;1915 readonly isAccountIndex64: boolean;1916 readonly asAccountIndex64: {1917 readonly network: XcmV0JunctionNetworkId;1918 readonly index: Compact<u64>;1919 } & Struct;1920 readonly isAccountKey20: boolean;1921 readonly asAccountKey20: {1922 readonly network: XcmV0JunctionNetworkId;1923 readonly key: U8aFixed;1924 } & Struct;1925 readonly isPalletInstance: boolean;1926 readonly asPalletInstance: u8;1927 readonly isGeneralIndex: boolean;1928 readonly asGeneralIndex: Compact<u128>;1929 readonly isGeneralKey: boolean;1930 readonly asGeneralKey: Bytes;1931 readonly isOnlyChild: boolean;1932 readonly isPlurality: boolean;1933 readonly asPlurality: {1934 readonly id: XcmV0JunctionBodyId;1935 readonly part: XcmV0JunctionBodyPart;1936 } & Struct;1937 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1938}19391940/** @name XcmV0JunctionBodyId */1941export interface XcmV0JunctionBodyId extends Enum {1942 readonly isUnit: boolean;1943 readonly isNamed: boolean;1944 readonly asNamed: Bytes;1945 readonly isIndex: boolean;1946 readonly asIndex: Compact<u32>;1947 readonly isExecutive: boolean;1948 readonly isTechnical: boolean;1949 readonly isLegislative: boolean;1950 readonly isJudicial: boolean;1951 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';1952}19531954/** @name XcmV0JunctionBodyPart */1955export interface XcmV0JunctionBodyPart extends Enum {1956 readonly isVoice: boolean;1957 readonly isMembers: boolean;1958 readonly asMembers: {1959 readonly count: Compact<u32>;1960 } & Struct;1961 readonly isFraction: boolean;1962 readonly asFraction: {1963 readonly nom: Compact<u32>;1964 readonly denom: Compact<u32>;1965 } & Struct;1966 readonly isAtLeastProportion: boolean;1967 readonly asAtLeastProportion: {1968 readonly nom: Compact<u32>;1969 readonly denom: Compact<u32>;1970 } & Struct;1971 readonly isMoreThanProportion: boolean;1972 readonly asMoreThanProportion: {1973 readonly nom: Compact<u32>;1974 readonly denom: Compact<u32>;1975 } & Struct;1976 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';1977}19781979/** @name XcmV0JunctionNetworkId */1980export interface XcmV0JunctionNetworkId extends Enum {1981 readonly isAny: boolean;1982 readonly isNamed: boolean;1983 readonly asNamed: Bytes;1984 readonly isPolkadot: boolean;1985 readonly isKusama: boolean;1986 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';1987}19881989/** @name XcmV0MultiAsset */1990export interface XcmV0MultiAsset extends Enum {1991 readonly isNone: boolean;1992 readonly isAll: boolean;1993 readonly isAllFungible: boolean;1994 readonly isAllNonFungible: boolean;1995 readonly isAllAbstractFungible: boolean;1996 readonly asAllAbstractFungible: {1997 readonly id: Bytes;1998 } & Struct;1999 readonly isAllAbstractNonFungible: boolean;2000 readonly asAllAbstractNonFungible: {2001 readonly class: Bytes;2002 } & Struct;2003 readonly isAllConcreteFungible: boolean;2004 readonly asAllConcreteFungible: {2005 readonly id: XcmV0MultiLocation;2006 } & Struct;2007 readonly isAllConcreteNonFungible: boolean;2008 readonly asAllConcreteNonFungible: {2009 readonly class: XcmV0MultiLocation;2010 } & Struct;2011 readonly isAbstractFungible: boolean;2012 readonly asAbstractFungible: {2013 readonly id: Bytes;2014 readonly amount: Compact<u128>;2015 } & Struct;2016 readonly isAbstractNonFungible: boolean;2017 readonly asAbstractNonFungible: {2018 readonly class: Bytes;2019 readonly instance: XcmV1MultiassetAssetInstance;2020 } & Struct;2021 readonly isConcreteFungible: boolean;2022 readonly asConcreteFungible: {2023 readonly id: XcmV0MultiLocation;2024 readonly amount: Compact<u128>;2025 } & Struct;2026 readonly isConcreteNonFungible: boolean;2027 readonly asConcreteNonFungible: {2028 readonly class: XcmV0MultiLocation;2029 readonly instance: XcmV1MultiassetAssetInstance;2030 } & Struct;2031 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2032}20332034/** @name XcmV0MultiLocation */2035export interface XcmV0MultiLocation extends Enum {2036 readonly isNull: boolean;2037 readonly isX1: boolean;2038 readonly asX1: XcmV0Junction;2039 readonly isX2: boolean;2040 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2041 readonly isX3: boolean;2042 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2043 readonly isX4: boolean;2044 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2045 readonly isX5: boolean;2046 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2047 readonly isX6: boolean;2048 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2049 readonly isX7: boolean;2050 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2051 readonly isX8: boolean;2052 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2053 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2054}20552056/** @name XcmV0Order */2057export interface XcmV0Order extends Enum {2058 readonly isNull: boolean;2059 readonly isDepositAsset: boolean;2060 readonly asDepositAsset: {2061 readonly assets: Vec<XcmV0MultiAsset>;2062 readonly dest: XcmV0MultiLocation;2063 } & Struct;2064 readonly isDepositReserveAsset: boolean;2065 readonly asDepositReserveAsset: {2066 readonly assets: Vec<XcmV0MultiAsset>;2067 readonly dest: XcmV0MultiLocation;2068 readonly effects: Vec<XcmV0Order>;2069 } & Struct;2070 readonly isExchangeAsset: boolean;2071 readonly asExchangeAsset: {2072 readonly give: Vec<XcmV0MultiAsset>;2073 readonly receive: Vec<XcmV0MultiAsset>;2074 } & Struct;2075 readonly isInitiateReserveWithdraw: boolean;2076 readonly asInitiateReserveWithdraw: {2077 readonly assets: Vec<XcmV0MultiAsset>;2078 readonly reserve: XcmV0MultiLocation;2079 readonly effects: Vec<XcmV0Order>;2080 } & Struct;2081 readonly isInitiateTeleport: boolean;2082 readonly asInitiateTeleport: {2083 readonly assets: Vec<XcmV0MultiAsset>;2084 readonly dest: XcmV0MultiLocation;2085 readonly effects: Vec<XcmV0Order>;2086 } & Struct;2087 readonly isQueryHolding: boolean;2088 readonly asQueryHolding: {2089 readonly queryId: Compact<u64>;2090 readonly dest: XcmV0MultiLocation;2091 readonly assets: Vec<XcmV0MultiAsset>;2092 } & Struct;2093 readonly isBuyExecution: boolean;2094 readonly asBuyExecution: {2095 readonly fees: XcmV0MultiAsset;2096 readonly weight: u64;2097 readonly debt: u64;2098 readonly haltOnError: bool;2099 readonly xcm: Vec<XcmV0Xcm>;2100 } & Struct;2101 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2102}21032104/** @name XcmV0OriginKind */2105export interface XcmV0OriginKind extends Enum {2106 readonly isNative: boolean;2107 readonly isSovereignAccount: boolean;2108 readonly isSuperuser: boolean;2109 readonly isXcm: boolean;2110 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2111}21122113/** @name XcmV0Response */2114export interface XcmV0Response extends Enum {2115 readonly isAssets: boolean;2116 readonly asAssets: Vec<XcmV0MultiAsset>;2117 readonly type: 'Assets';2118}21192120/** @name XcmV0Xcm */2121export interface XcmV0Xcm extends Enum {2122 readonly isWithdrawAsset: boolean;2123 readonly asWithdrawAsset: {2124 readonly assets: Vec<XcmV0MultiAsset>;2125 readonly effects: Vec<XcmV0Order>;2126 } & Struct;2127 readonly isReserveAssetDeposit: boolean;2128 readonly asReserveAssetDeposit: {2129 readonly assets: Vec<XcmV0MultiAsset>;2130 readonly effects: Vec<XcmV0Order>;2131 } & Struct;2132 readonly isTeleportAsset: boolean;2133 readonly asTeleportAsset: {2134 readonly assets: Vec<XcmV0MultiAsset>;2135 readonly effects: Vec<XcmV0Order>;2136 } & Struct;2137 readonly isQueryResponse: boolean;2138 readonly asQueryResponse: {2139 readonly queryId: Compact<u64>;2140 readonly response: XcmV0Response;2141 } & Struct;2142 readonly isTransferAsset: boolean;2143 readonly asTransferAsset: {2144 readonly assets: Vec<XcmV0MultiAsset>;2145 readonly dest: XcmV0MultiLocation;2146 } & Struct;2147 readonly isTransferReserveAsset: boolean;2148 readonly asTransferReserveAsset: {2149 readonly assets: Vec<XcmV0MultiAsset>;2150 readonly dest: XcmV0MultiLocation;2151 readonly effects: Vec<XcmV0Order>;2152 } & Struct;2153 readonly isTransact: boolean;2154 readonly asTransact: {2155 readonly originType: XcmV0OriginKind;2156 readonly requireWeightAtMost: u64;2157 readonly call: XcmDoubleEncoded;2158 } & Struct;2159 readonly isHrmpNewChannelOpenRequest: boolean;2160 readonly asHrmpNewChannelOpenRequest: {2161 readonly sender: Compact<u32>;2162 readonly maxMessageSize: Compact<u32>;2163 readonly maxCapacity: Compact<u32>;2164 } & Struct;2165 readonly isHrmpChannelAccepted: boolean;2166 readonly asHrmpChannelAccepted: {2167 readonly recipient: Compact<u32>;2168 } & Struct;2169 readonly isHrmpChannelClosing: boolean;2170 readonly asHrmpChannelClosing: {2171 readonly initiator: Compact<u32>;2172 readonly sender: Compact<u32>;2173 readonly recipient: Compact<u32>;2174 } & Struct;2175 readonly isRelayedFrom: boolean;2176 readonly asRelayedFrom: {2177 readonly who: XcmV0MultiLocation;2178 readonly message: XcmV0Xcm;2179 } & Struct;2180 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2181}21822183/** @name XcmV1Junction */2184export interface XcmV1Junction extends Enum {2185 readonly isParachain: boolean;2186 readonly asParachain: Compact<u32>;2187 readonly isAccountId32: boolean;2188 readonly asAccountId32: {2189 readonly network: XcmV0JunctionNetworkId;2190 readonly id: U8aFixed;2191 } & Struct;2192 readonly isAccountIndex64: boolean;2193 readonly asAccountIndex64: {2194 readonly network: XcmV0JunctionNetworkId;2195 readonly index: Compact<u64>;2196 } & Struct;2197 readonly isAccountKey20: boolean;2198 readonly asAccountKey20: {2199 readonly network: XcmV0JunctionNetworkId;2200 readonly key: U8aFixed;2201 } & Struct;2202 readonly isPalletInstance: boolean;2203 readonly asPalletInstance: u8;2204 readonly isGeneralIndex: boolean;2205 readonly asGeneralIndex: Compact<u128>;2206 readonly isGeneralKey: boolean;2207 readonly asGeneralKey: Bytes;2208 readonly isOnlyChild: boolean;2209 readonly isPlurality: boolean;2210 readonly asPlurality: {2211 readonly id: XcmV0JunctionBodyId;2212 readonly part: XcmV0JunctionBodyPart;2213 } & Struct;2214 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2215}22162217/** @name XcmV1MultiAsset */2218export interface XcmV1MultiAsset extends Struct {2219 readonly id: XcmV1MultiassetAssetId;2220 readonly fun: XcmV1MultiassetFungibility;2221}22222223/** @name XcmV1MultiassetAssetId */2224export interface XcmV1MultiassetAssetId extends Enum {2225 readonly isConcrete: boolean;2226 readonly asConcrete: XcmV1MultiLocation;2227 readonly isAbstract: boolean;2228 readonly asAbstract: Bytes;2229 readonly type: 'Concrete' | 'Abstract';2230}22312232/** @name XcmV1MultiassetAssetInstance */2233export interface XcmV1MultiassetAssetInstance extends Enum {2234 readonly isUndefined: boolean;2235 readonly isIndex: boolean;2236 readonly asIndex: Compact<u128>;2237 readonly isArray4: boolean;2238 readonly asArray4: U8aFixed;2239 readonly isArray8: boolean;2240 readonly asArray8: U8aFixed;2241 readonly isArray16: boolean;2242 readonly asArray16: U8aFixed;2243 readonly isArray32: boolean;2244 readonly asArray32: U8aFixed;2245 readonly isBlob: boolean;2246 readonly asBlob: Bytes;2247 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';2248}22492250/** @name XcmV1MultiassetFungibility */2251export interface XcmV1MultiassetFungibility extends Enum {2252 readonly isFungible: boolean;2253 readonly asFungible: Compact<u128>;2254 readonly isNonFungible: boolean;2255 readonly asNonFungible: XcmV1MultiassetAssetInstance;2256 readonly type: 'Fungible' | 'NonFungible';2257}22582259/** @name XcmV1MultiassetMultiAssetFilter */2260export interface XcmV1MultiassetMultiAssetFilter extends Enum {2261 readonly isDefinite: boolean;2262 readonly asDefinite: XcmV1MultiassetMultiAssets;2263 readonly isWild: boolean;2264 readonly asWild: XcmV1MultiassetWildMultiAsset;2265 readonly type: 'Definite' | 'Wild';2266}22672268/** @name XcmV1MultiassetMultiAssets */2269export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}22702271/** @name XcmV1MultiassetWildFungibility */2272export interface XcmV1MultiassetWildFungibility extends Enum {2273 readonly isFungible: boolean;2274 readonly isNonFungible: boolean;2275 readonly type: 'Fungible' | 'NonFungible';2276}22772278/** @name XcmV1MultiassetWildMultiAsset */2279export interface XcmV1MultiassetWildMultiAsset extends Enum {2280 readonly isAll: boolean;2281 readonly isAllOf: boolean;2282 readonly asAllOf: {2283 readonly id: XcmV1MultiassetAssetId;2284 readonly fun: XcmV1MultiassetWildFungibility;2285 } & Struct;2286 readonly type: 'All' | 'AllOf';2287}22882289/** @name XcmV1MultiLocation */2290export interface XcmV1MultiLocation extends Struct {2291 readonly parents: u8;2292 readonly interior: XcmV1MultilocationJunctions;2293}22942295/** @name XcmV1MultilocationJunctions */2296export interface XcmV1MultilocationJunctions extends Enum {2297 readonly isHere: boolean;2298 readonly isX1: boolean;2299 readonly asX1: XcmV1Junction;2300 readonly isX2: boolean;2301 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;2302 readonly isX3: boolean;2303 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2304 readonly isX4: boolean;2305 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2306 readonly isX5: boolean;2307 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2308 readonly isX6: boolean;2309 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2310 readonly isX7: boolean;2311 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2312 readonly isX8: boolean;2313 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2314 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2315}23162317/** @name XcmV1Order */2318export interface XcmV1Order extends Enum {2319 readonly isNoop: boolean;2320 readonly isDepositAsset: boolean;2321 readonly asDepositAsset: {2322 readonly assets: XcmV1MultiassetMultiAssetFilter;2323 readonly maxAssets: u32;2324 readonly beneficiary: XcmV1MultiLocation;2325 } & Struct;2326 readonly isDepositReserveAsset: boolean;2327 readonly asDepositReserveAsset: {2328 readonly assets: XcmV1MultiassetMultiAssetFilter;2329 readonly maxAssets: u32;2330 readonly dest: XcmV1MultiLocation;2331 readonly effects: Vec<XcmV1Order>;2332 } & Struct;2333 readonly isExchangeAsset: boolean;2334 readonly asExchangeAsset: {2335 readonly give: XcmV1MultiassetMultiAssetFilter;2336 readonly receive: XcmV1MultiassetMultiAssets;2337 } & Struct;2338 readonly isInitiateReserveWithdraw: boolean;2339 readonly asInitiateReserveWithdraw: {2340 readonly assets: XcmV1MultiassetMultiAssetFilter;2341 readonly reserve: XcmV1MultiLocation;2342 readonly effects: Vec<XcmV1Order>;2343 } & Struct;2344 readonly isInitiateTeleport: boolean;2345 readonly asInitiateTeleport: {2346 readonly assets: XcmV1MultiassetMultiAssetFilter;2347 readonly dest: XcmV1MultiLocation;2348 readonly effects: Vec<XcmV1Order>;2349 } & Struct;2350 readonly isQueryHolding: boolean;2351 readonly asQueryHolding: {2352 readonly queryId: Compact<u64>;2353 readonly dest: XcmV1MultiLocation;2354 readonly assets: XcmV1MultiassetMultiAssetFilter;2355 } & Struct;2356 readonly isBuyExecution: boolean;2357 readonly asBuyExecution: {2358 readonly fees: XcmV1MultiAsset;2359 readonly weight: u64;2360 readonly debt: u64;2361 readonly haltOnError: bool;2362 readonly instructions: Vec<XcmV1Xcm>;2363 } & Struct;2364 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2365}23662367/** @name XcmV1Response */2368export interface XcmV1Response extends Enum {2369 readonly isAssets: boolean;2370 readonly asAssets: XcmV1MultiassetMultiAssets;2371 readonly isVersion: boolean;2372 readonly asVersion: u32;2373 readonly type: 'Assets' | 'Version';2374}23752376/** @name XcmV1Xcm */2377export interface XcmV1Xcm extends Enum {2378 readonly isWithdrawAsset: boolean;2379 readonly asWithdrawAsset: {2380 readonly assets: XcmV1MultiassetMultiAssets;2381 readonly effects: Vec<XcmV1Order>;2382 } & Struct;2383 readonly isReserveAssetDeposited: boolean;2384 readonly asReserveAssetDeposited: {2385 readonly assets: XcmV1MultiassetMultiAssets;2386 readonly effects: Vec<XcmV1Order>;2387 } & Struct;2388 readonly isReceiveTeleportedAsset: boolean;2389 readonly asReceiveTeleportedAsset: {2390 readonly assets: XcmV1MultiassetMultiAssets;2391 readonly effects: Vec<XcmV1Order>;2392 } & Struct;2393 readonly isQueryResponse: boolean;2394 readonly asQueryResponse: {2395 readonly queryId: Compact<u64>;2396 readonly response: XcmV1Response;2397 } & Struct;2398 readonly isTransferAsset: boolean;2399 readonly asTransferAsset: {2400 readonly assets: XcmV1MultiassetMultiAssets;2401 readonly beneficiary: XcmV1MultiLocation;2402 } & Struct;2403 readonly isTransferReserveAsset: boolean;2404 readonly asTransferReserveAsset: {2405 readonly assets: XcmV1MultiassetMultiAssets;2406 readonly dest: XcmV1MultiLocation;2407 readonly effects: Vec<XcmV1Order>;2408 } & Struct;2409 readonly isTransact: boolean;2410 readonly asTransact: {2411 readonly originType: XcmV0OriginKind;2412 readonly requireWeightAtMost: u64;2413 readonly call: XcmDoubleEncoded;2414 } & Struct;2415 readonly isHrmpNewChannelOpenRequest: boolean;2416 readonly asHrmpNewChannelOpenRequest: {2417 readonly sender: Compact<u32>;2418 readonly maxMessageSize: Compact<u32>;2419 readonly maxCapacity: Compact<u32>;2420 } & Struct;2421 readonly isHrmpChannelAccepted: boolean;2422 readonly asHrmpChannelAccepted: {2423 readonly recipient: Compact<u32>;2424 } & Struct;2425 readonly isHrmpChannelClosing: boolean;2426 readonly asHrmpChannelClosing: {2427 readonly initiator: Compact<u32>;2428 readonly sender: Compact<u32>;2429 readonly recipient: Compact<u32>;2430 } & Struct;2431 readonly isRelayedFrom: boolean;2432 readonly asRelayedFrom: {2433 readonly who: XcmV1MultilocationJunctions;2434 readonly message: XcmV1Xcm;2435 } & Struct;2436 readonly isSubscribeVersion: boolean;2437 readonly asSubscribeVersion: {2438 readonly queryId: Compact<u64>;2439 readonly maxResponseWeight: Compact<u64>;2440 } & Struct;2441 readonly isUnsubscribeVersion: boolean;2442 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2443}24442445/** @name XcmV2Instruction */2446export interface XcmV2Instruction extends Enum {2447 readonly isWithdrawAsset: boolean;2448 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;2449 readonly isReserveAssetDeposited: boolean;2450 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;2451 readonly isReceiveTeleportedAsset: boolean;2452 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;2453 readonly isQueryResponse: boolean;2454 readonly asQueryResponse: {2455 readonly queryId: Compact<u64>;2456 readonly response: XcmV2Response;2457 readonly maxWeight: Compact<u64>;2458 } & Struct;2459 readonly isTransferAsset: boolean;2460 readonly asTransferAsset: {2461 readonly assets: XcmV1MultiassetMultiAssets;2462 readonly beneficiary: XcmV1MultiLocation;2463 } & Struct;2464 readonly isTransferReserveAsset: boolean;2465 readonly asTransferReserveAsset: {2466 readonly assets: XcmV1MultiassetMultiAssets;2467 readonly dest: XcmV1MultiLocation;2468 readonly xcm: XcmV2Xcm;2469 } & Struct;2470 readonly isTransact: boolean;2471 readonly asTransact: {2472 readonly originType: XcmV0OriginKind;2473 readonly requireWeightAtMost: Compact<u64>;2474 readonly call: XcmDoubleEncoded;2475 } & Struct;2476 readonly isHrmpNewChannelOpenRequest: boolean;2477 readonly asHrmpNewChannelOpenRequest: {2478 readonly sender: Compact<u32>;2479 readonly maxMessageSize: Compact<u32>;2480 readonly maxCapacity: Compact<u32>;2481 } & Struct;2482 readonly isHrmpChannelAccepted: boolean;2483 readonly asHrmpChannelAccepted: {2484 readonly recipient: Compact<u32>;2485 } & Struct;2486 readonly isHrmpChannelClosing: boolean;2487 readonly asHrmpChannelClosing: {2488 readonly initiator: Compact<u32>;2489 readonly sender: Compact<u32>;2490 readonly recipient: Compact<u32>;2491 } & Struct;2492 readonly isClearOrigin: boolean;2493 readonly isDescendOrigin: boolean;2494 readonly asDescendOrigin: XcmV1MultilocationJunctions;2495 readonly isReportError: boolean;2496 readonly asReportError: {2497 readonly queryId: Compact<u64>;2498 readonly dest: XcmV1MultiLocation;2499 readonly maxResponseWeight: Compact<u64>;2500 } & Struct;2501 readonly isDepositAsset: boolean;2502 readonly asDepositAsset: {2503 readonly assets: XcmV1MultiassetMultiAssetFilter;2504 readonly maxAssets: Compact<u32>;2505 readonly beneficiary: XcmV1MultiLocation;2506 } & Struct;2507 readonly isDepositReserveAsset: boolean;2508 readonly asDepositReserveAsset: {2509 readonly assets: XcmV1MultiassetMultiAssetFilter;2510 readonly maxAssets: Compact<u32>;2511 readonly dest: XcmV1MultiLocation;2512 readonly xcm: XcmV2Xcm;2513 } & Struct;2514 readonly isExchangeAsset: boolean;2515 readonly asExchangeAsset: {2516 readonly give: XcmV1MultiassetMultiAssetFilter;2517 readonly receive: XcmV1MultiassetMultiAssets;2518 } & Struct;2519 readonly isInitiateReserveWithdraw: boolean;2520 readonly asInitiateReserveWithdraw: {2521 readonly assets: XcmV1MultiassetMultiAssetFilter;2522 readonly reserve: XcmV1MultiLocation;2523 readonly xcm: XcmV2Xcm;2524 } & Struct;2525 readonly isInitiateTeleport: boolean;2526 readonly asInitiateTeleport: {2527 readonly assets: XcmV1MultiassetMultiAssetFilter;2528 readonly dest: XcmV1MultiLocation;2529 readonly xcm: XcmV2Xcm;2530 } & Struct;2531 readonly isQueryHolding: boolean;2532 readonly asQueryHolding: {2533 readonly queryId: Compact<u64>;2534 readonly dest: XcmV1MultiLocation;2535 readonly assets: XcmV1MultiassetMultiAssetFilter;2536 readonly maxResponseWeight: Compact<u64>;2537 } & Struct;2538 readonly isBuyExecution: boolean;2539 readonly asBuyExecution: {2540 readonly fees: XcmV1MultiAsset;2541 readonly weightLimit: XcmV2WeightLimit;2542 } & Struct;2543 readonly isRefundSurplus: boolean;2544 readonly isSetErrorHandler: boolean;2545 readonly asSetErrorHandler: XcmV2Xcm;2546 readonly isSetAppendix: boolean;2547 readonly asSetAppendix: XcmV2Xcm;2548 readonly isClearError: boolean;2549 readonly isClaimAsset: boolean;2550 readonly asClaimAsset: {2551 readonly assets: XcmV1MultiassetMultiAssets;2552 readonly ticket: XcmV1MultiLocation;2553 } & Struct;2554 readonly isTrap: boolean;2555 readonly asTrap: Compact<u64>;2556 readonly isSubscribeVersion: boolean;2557 readonly asSubscribeVersion: {2558 readonly queryId: Compact<u64>;2559 readonly maxResponseWeight: Compact<u64>;2560 } & Struct;2561 readonly isUnsubscribeVersion: boolean;2562 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';2563}25642565/** @name XcmV2Response */2566export interface XcmV2Response extends Enum {2567 readonly isNull: boolean;2568 readonly isAssets: boolean;2569 readonly asAssets: XcmV1MultiassetMultiAssets;2570 readonly isExecutionResult: boolean;2571 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;2572 readonly isVersion: boolean;2573 readonly asVersion: u32;2574 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';2575}25762577/** @name XcmV2TraitsError */2578export interface XcmV2TraitsError extends Enum {2579 readonly isOverflow: boolean;2580 readonly isUnimplemented: boolean;2581 readonly isUntrustedReserveLocation: boolean;2582 readonly isUntrustedTeleportLocation: boolean;2583 readonly isMultiLocationFull: boolean;2584 readonly isMultiLocationNotInvertible: boolean;2585 readonly isBadOrigin: boolean;2586 readonly isInvalidLocation: boolean;2587 readonly isAssetNotFound: boolean;2588 readonly isFailedToTransactAsset: boolean;2589 readonly isNotWithdrawable: boolean;2590 readonly isLocationCannotHold: boolean;2591 readonly isExceedsMaxMessageSize: boolean;2592 readonly isDestinationUnsupported: boolean;2593 readonly isTransport: boolean;2594 readonly isUnroutable: boolean;2595 readonly isUnknownClaim: boolean;2596 readonly isFailedToDecode: boolean;2597 readonly isMaxWeightInvalid: boolean;2598 readonly isNotHoldingFees: boolean;2599 readonly isTooExpensive: boolean;2600 readonly isTrap: boolean;2601 readonly asTrap: u64;2602 readonly isUnhandledXcmVersion: boolean;2603 readonly isWeightLimitReached: boolean;2604 readonly asWeightLimitReached: u64;2605 readonly isBarrier: boolean;2606 readonly isWeightNotComputable: boolean;2607 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';2608}26092610/** @name XcmV2TraitsOutcome */2611export interface XcmV2TraitsOutcome extends Enum {2612 readonly isComplete: boolean;2613 readonly asComplete: u64;2614 readonly isIncomplete: boolean;2615 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2616 readonly isError: boolean;2617 readonly asError: XcmV2TraitsError;2618 readonly type: 'Complete' | 'Incomplete' | 'Error';2619}26202621/** @name XcmV2WeightLimit */2622export interface XcmV2WeightLimit extends Enum {2623 readonly isUnlimited: boolean;2624 readonly isLimited: boolean;2625 readonly asLimited: Compact<u64>;2626 readonly type: 'Unlimited' | 'Limited';2627}26282629/** @name XcmV2Xcm */2630export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}26312632/** @name XcmVersionedMultiAssets */2633export interface XcmVersionedMultiAssets extends Enum {2634 readonly isV0: boolean;2635 readonly asV0: Vec<XcmV0MultiAsset>;2636 readonly isV1: boolean;2637 readonly asV1: XcmV1MultiassetMultiAssets;2638 readonly type: 'V0' | 'V1';2639}26402641/** @name XcmVersionedMultiLocation */2642export interface XcmVersionedMultiLocation extends Enum {2643 readonly isV0: boolean;2644 readonly asV0: XcmV0MultiLocation;2645 readonly isV1: boolean;2646 readonly asV1: XcmV1MultiLocation;2647 readonly type: 'V0' | 'V1';2648}26492650/** @name XcmVersionedXcm */2651export interface XcmVersionedXcm extends Enum {2652 readonly isV0: boolean;2653 readonly asV0: XcmV0Xcm;2654 readonly isV1: boolean;2655 readonly asV1: XcmV1Xcm;2656 readonly isV2: boolean;2657 readonly asV2: XcmV2Xcm;2658 readonly type: 'V0' | 'V1' | 'V2';2659}26602661export type PHANTOM_UNIQUE = 'unique';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, 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 } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name BTreeSet */10export interface BTreeSet extends BTreeSet<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 FrameSupportStorageBoundedBTreeSet */453export interface FrameSupportStorageBoundedBTreeSet extends Vec<u32> {}454455/** @name FrameSupportTokensMiscBalanceStatus */456export interface FrameSupportTokensMiscBalanceStatus extends Enum {457 readonly isFree: boolean;458 readonly isReserved: boolean;459 readonly type: 'Free' | 'Reserved';460}461462/** @name FrameSupportWeightsDispatchClass */463export interface FrameSupportWeightsDispatchClass extends Enum {464 readonly isNormal: boolean;465 readonly isOperational: boolean;466 readonly isMandatory: boolean;467 readonly type: 'Normal' | 'Operational' | 'Mandatory';468}469470/** @name FrameSupportWeightsDispatchInfo */471export interface FrameSupportWeightsDispatchInfo extends Struct {472 readonly weight: u64;473 readonly class: FrameSupportWeightsDispatchClass;474 readonly paysFee: FrameSupportWeightsPays;475}476477/** @name FrameSupportWeightsPays */478export interface FrameSupportWeightsPays extends Enum {479 readonly isYes: boolean;480 readonly isNo: boolean;481 readonly type: 'Yes' | 'No';482}483484/** @name FrameSupportWeightsPerDispatchClassU32 */485export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {486 readonly normal: u32;487 readonly operational: u32;488 readonly mandatory: u32;489}490491/** @name FrameSupportWeightsPerDispatchClassU64 */492export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {493 readonly normal: u64;494 readonly operational: u64;495 readonly mandatory: u64;496}497498/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */499export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {500 readonly normal: FrameSystemLimitsWeightsPerClass;501 readonly operational: FrameSystemLimitsWeightsPerClass;502 readonly mandatory: FrameSystemLimitsWeightsPerClass;503}504505/** @name FrameSupportWeightsRuntimeDbWeight */506export interface FrameSupportWeightsRuntimeDbWeight extends Struct {507 readonly read: u64;508 readonly write: u64;509}510511/** @name FrameSupportWeightsWeightToFeeCoefficient */512export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {513 readonly coeffInteger: u128;514 readonly coeffFrac: Perbill;515 readonly negative: bool;516 readonly degree: u8;517}518519/** @name FrameSystemAccountInfo */520export interface FrameSystemAccountInfo extends Struct {521 readonly nonce: u32;522 readonly consumers: u32;523 readonly providers: u32;524 readonly sufficients: u32;525 readonly data: PalletBalancesAccountData;526}527528/** @name FrameSystemCall */529export interface FrameSystemCall extends Enum {530 readonly isFillBlock: boolean;531 readonly asFillBlock: {532 readonly ratio: Perbill;533 } & Struct;534 readonly isRemark: boolean;535 readonly asRemark: {536 readonly remark: Bytes;537 } & Struct;538 readonly isSetHeapPages: boolean;539 readonly asSetHeapPages: {540 readonly pages: u64;541 } & Struct;542 readonly isSetCode: boolean;543 readonly asSetCode: {544 readonly code: Bytes;545 } & Struct;546 readonly isSetCodeWithoutChecks: boolean;547 readonly asSetCodeWithoutChecks: {548 readonly code: Bytes;549 } & Struct;550 readonly isSetStorage: boolean;551 readonly asSetStorage: {552 readonly items: Vec<ITuple<[Bytes, Bytes]>>;553 } & Struct;554 readonly isKillStorage: boolean;555 readonly asKillStorage: {556 readonly keys_: Vec<Bytes>;557 } & Struct;558 readonly isKillPrefix: boolean;559 readonly asKillPrefix: {560 readonly prefix: Bytes;561 readonly subkeys: u32;562 } & Struct;563 readonly isRemarkWithEvent: boolean;564 readonly asRemarkWithEvent: {565 readonly remark: Bytes;566 } & Struct;567 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';568}569570/** @name FrameSystemError */571export interface FrameSystemError extends Enum {572 readonly isInvalidSpecName: boolean;573 readonly isSpecVersionNeedsToIncrease: boolean;574 readonly isFailedToExtractRuntimeVersion: boolean;575 readonly isNonDefaultComposite: boolean;576 readonly isNonZeroRefCount: boolean;577 readonly isCallFiltered: boolean;578 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';579}580581/** @name FrameSystemEvent */582export interface FrameSystemEvent extends Enum {583 readonly isExtrinsicSuccess: boolean;584 readonly asExtrinsicSuccess: {585 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;586 } & Struct;587 readonly isExtrinsicFailed: boolean;588 readonly asExtrinsicFailed: {589 readonly dispatchError: SpRuntimeDispatchError;590 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;591 } & Struct;592 readonly isCodeUpdated: boolean;593 readonly isNewAccount: boolean;594 readonly asNewAccount: {595 readonly account: AccountId32;596 } & Struct;597 readonly isKilledAccount: boolean;598 readonly asKilledAccount: {599 readonly account: AccountId32;600 } & Struct;601 readonly isRemarked: boolean;602 readonly asRemarked: {603 readonly sender: AccountId32;604 readonly hash_: H256;605 } & Struct;606 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';607}608609/** @name FrameSystemEventRecord */610export interface FrameSystemEventRecord extends Struct {611 readonly phase: FrameSystemPhase;612 readonly event: Event;613 readonly topics: Vec<H256>;614}615616/** @name FrameSystemExtensionsCheckGenesis */617export interface FrameSystemExtensionsCheckGenesis extends Null {}618619/** @name FrameSystemExtensionsCheckNonce */620export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}621622/** @name FrameSystemExtensionsCheckSpecVersion */623export interface FrameSystemExtensionsCheckSpecVersion extends Null {}624625/** @name FrameSystemExtensionsCheckWeight */626export interface FrameSystemExtensionsCheckWeight extends Null {}627628/** @name FrameSystemLastRuntimeUpgradeInfo */629export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {630 readonly specVersion: Compact<u32>;631 readonly specName: Text;632}633634/** @name FrameSystemLimitsBlockLength */635export interface FrameSystemLimitsBlockLength extends Struct {636 readonly max: FrameSupportWeightsPerDispatchClassU32;637}638639/** @name FrameSystemLimitsBlockWeights */640export interface FrameSystemLimitsBlockWeights extends Struct {641 readonly baseBlock: u64;642 readonly maxBlock: u64;643 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;644}645646/** @name FrameSystemLimitsWeightsPerClass */647export interface FrameSystemLimitsWeightsPerClass extends Struct {648 readonly baseExtrinsic: u64;649 readonly maxExtrinsic: Option<u64>;650 readonly maxTotal: Option<u64>;651 readonly reserved: Option<u64>;652}653654/** @name FrameSystemPhase */655export interface FrameSystemPhase extends Enum {656 readonly isApplyExtrinsic: boolean;657 readonly asApplyExtrinsic: u32;658 readonly isFinalization: boolean;659 readonly isInitialization: boolean;660 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';661}662663/** @name OpalRuntimeRuntime */664export interface OpalRuntimeRuntime extends Null {}665666/** @name OrmlVestingModuleCall */667export interface OrmlVestingModuleCall extends Enum {668 readonly isClaim: boolean;669 readonly isVestedTransfer: boolean;670 readonly asVestedTransfer: {671 readonly dest: MultiAddress;672 readonly schedule: OrmlVestingVestingSchedule;673 } & Struct;674 readonly isUpdateVestingSchedules: boolean;675 readonly asUpdateVestingSchedules: {676 readonly who: MultiAddress;677 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;678 } & Struct;679 readonly isClaimFor: boolean;680 readonly asClaimFor: {681 readonly dest: MultiAddress;682 } & Struct;683 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';684}685686/** @name OrmlVestingModuleError */687export interface OrmlVestingModuleError extends Enum {688 readonly isZeroVestingPeriod: boolean;689 readonly isZeroVestingPeriodCount: boolean;690 readonly isInsufficientBalanceToLock: boolean;691 readonly isTooManyVestingSchedules: boolean;692 readonly isAmountLow: boolean;693 readonly isMaxVestingSchedulesExceeded: boolean;694 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';695}696697/** @name OrmlVestingModuleEvent */698export interface OrmlVestingModuleEvent extends Enum {699 readonly isVestingScheduleAdded: boolean;700 readonly asVestingScheduleAdded: {701 readonly from: AccountId32;702 readonly to: AccountId32;703 readonly vestingSchedule: OrmlVestingVestingSchedule;704 } & Struct;705 readonly isClaimed: boolean;706 readonly asClaimed: {707 readonly who: AccountId32;708 readonly amount: u128;709 } & Struct;710 readonly isVestingSchedulesUpdated: boolean;711 readonly asVestingSchedulesUpdated: {712 readonly who: AccountId32;713 } & Struct;714 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';715}716717/** @name OrmlVestingVestingSchedule */718export interface OrmlVestingVestingSchedule extends Struct {719 readonly start: u32;720 readonly period: u32;721 readonly periodCount: u32;722 readonly perPeriod: Compact<u128>;723}724725/** @name PalletBalancesAccountData */726export interface PalletBalancesAccountData extends Struct {727 readonly free: u128;728 readonly reserved: u128;729 readonly miscFrozen: u128;730 readonly feeFrozen: u128;731}732733/** @name PalletBalancesBalanceLock */734export interface PalletBalancesBalanceLock extends Struct {735 readonly id: U8aFixed;736 readonly amount: u128;737 readonly reasons: PalletBalancesReasons;738}739740/** @name PalletBalancesCall */741export interface PalletBalancesCall extends Enum {742 readonly isTransfer: boolean;743 readonly asTransfer: {744 readonly dest: MultiAddress;745 readonly value: Compact<u128>;746 } & Struct;747 readonly isSetBalance: boolean;748 readonly asSetBalance: {749 readonly who: MultiAddress;750 readonly newFree: Compact<u128>;751 readonly newReserved: Compact<u128>;752 } & Struct;753 readonly isForceTransfer: boolean;754 readonly asForceTransfer: {755 readonly source: MultiAddress;756 readonly dest: MultiAddress;757 readonly value: Compact<u128>;758 } & Struct;759 readonly isTransferKeepAlive: boolean;760 readonly asTransferKeepAlive: {761 readonly dest: MultiAddress;762 readonly value: Compact<u128>;763 } & Struct;764 readonly isTransferAll: boolean;765 readonly asTransferAll: {766 readonly dest: MultiAddress;767 readonly keepAlive: bool;768 } & Struct;769 readonly isForceUnreserve: boolean;770 readonly asForceUnreserve: {771 readonly who: MultiAddress;772 readonly amount: u128;773 } & Struct;774 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';775}776777/** @name PalletBalancesError */778export interface PalletBalancesError extends Enum {779 readonly isVestingBalance: boolean;780 readonly isLiquidityRestrictions: boolean;781 readonly isInsufficientBalance: boolean;782 readonly isExistentialDeposit: boolean;783 readonly isKeepAlive: boolean;784 readonly isExistingVestingSchedule: boolean;785 readonly isDeadAccount: boolean;786 readonly isTooManyReserves: boolean;787 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';788}789790/** @name PalletBalancesEvent */791export interface PalletBalancesEvent extends Enum {792 readonly isEndowed: boolean;793 readonly asEndowed: {794 readonly account: AccountId32;795 readonly freeBalance: u128;796 } & Struct;797 readonly isDustLost: boolean;798 readonly asDustLost: {799 readonly account: AccountId32;800 readonly amount: u128;801 } & Struct;802 readonly isTransfer: boolean;803 readonly asTransfer: {804 readonly from: AccountId32;805 readonly to: AccountId32;806 readonly amount: u128;807 } & Struct;808 readonly isBalanceSet: boolean;809 readonly asBalanceSet: {810 readonly who: AccountId32;811 readonly free: u128;812 readonly reserved: u128;813 } & Struct;814 readonly isReserved: boolean;815 readonly asReserved: {816 readonly who: AccountId32;817 readonly amount: u128;818 } & Struct;819 readonly isUnreserved: boolean;820 readonly asUnreserved: {821 readonly who: AccountId32;822 readonly amount: u128;823 } & Struct;824 readonly isReserveRepatriated: boolean;825 readonly asReserveRepatriated: {826 readonly from: AccountId32;827 readonly to: AccountId32;828 readonly amount: u128;829 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;830 } & Struct;831 readonly isDeposit: boolean;832 readonly asDeposit: {833 readonly who: AccountId32;834 readonly amount: u128;835 } & Struct;836 readonly isWithdraw: boolean;837 readonly asWithdraw: {838 readonly who: AccountId32;839 readonly amount: u128;840 } & Struct;841 readonly isSlashed: boolean;842 readonly asSlashed: {843 readonly who: AccountId32;844 readonly amount: u128;845 } & Struct;846 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';847}848849/** @name PalletBalancesReasons */850export interface PalletBalancesReasons extends Enum {851 readonly isFee: boolean;852 readonly isMisc: boolean;853 readonly isAll: boolean;854 readonly type: 'Fee' | 'Misc' | 'All';855}856857/** @name PalletBalancesReleases */858export interface PalletBalancesReleases extends Enum {859 readonly isV100: boolean;860 readonly isV200: boolean;861 readonly type: 'V100' | 'V200';862}863864/** @name PalletBalancesReserveData */865export interface PalletBalancesReserveData extends Struct {866 readonly id: U8aFixed;867 readonly amount: u128;868}869870/** @name PalletCommonError */871export interface PalletCommonError extends Enum {872 readonly isCollectionNotFound: boolean;873 readonly isMustBeTokenOwner: boolean;874 readonly isNoPermission: boolean;875 readonly isPublicMintingNotAllowed: boolean;876 readonly isAddressNotInAllowlist: boolean;877 readonly isCollectionNameLimitExceeded: boolean;878 readonly isCollectionDescriptionLimitExceeded: boolean;879 readonly isCollectionTokenPrefixLimitExceeded: boolean;880 readonly isTotalCollectionsLimitExceeded: boolean;881 readonly isTokenVariableDataLimitExceeded: boolean;882 readonly isCollectionAdminCountExceeded: boolean;883 readonly isCollectionLimitBoundsExceeded: boolean;884 readonly isOwnerPermissionsCantBeReverted: boolean;885 readonly isTransferNotAllowed: boolean;886 readonly isAccountTokenLimitExceeded: boolean;887 readonly isCollectionTokenLimitExceeded: boolean;888 readonly isMetadataFlagFrozen: boolean;889 readonly isTokenNotFound: boolean;890 readonly isTokenValueTooLow: boolean;891 readonly isApprovedValueTooLow: boolean;892 readonly isCantApproveMoreThanOwned: boolean;893 readonly isAddressIsZero: boolean;894 readonly isUnsupportedOperation: boolean;895 readonly isNotSufficientFounds: boolean;896 readonly isNestingIsDisabled: boolean;897 readonly isOnlyOwnerAllowedToNest: boolean;898 readonly isSourceCollectionIsNotAllowedToNest: boolean;899 readonly isCollectionFieldSizeExceeded: boolean;900 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded';901}902903/** @name PalletCommonEvent */904export interface PalletCommonEvent extends Enum {905 readonly isCollectionCreated: boolean;906 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;907 readonly isCollectionDestroyed: boolean;908 readonly asCollectionDestroyed: u32;909 readonly isItemCreated: boolean;910 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;911 readonly isItemDestroyed: boolean;912 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;913 readonly isTransfer: boolean;914 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;915 readonly isApproved: boolean;916 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;917 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved';918}919920/** @name PalletEthereumCall */921export interface PalletEthereumCall extends Enum {922 readonly isTransact: boolean;923 readonly asTransact: {924 readonly transaction: EthereumTransactionTransactionV2;925 } & Struct;926 readonly type: 'Transact';927}928929/** @name PalletEthereumError */930export interface PalletEthereumError extends Enum {931 readonly isInvalidSignature: boolean;932 readonly isPreLogExists: boolean;933 readonly type: 'InvalidSignature' | 'PreLogExists';934}935936/** @name PalletEthereumEvent */937export interface PalletEthereumEvent extends Enum {938 readonly isExecuted: boolean;939 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;940 readonly type: 'Executed';941}942943/** @name PalletEvmAccountBasicCrossAccountIdRepr */944export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {945 readonly isSubstrate: boolean;946 readonly asSubstrate: AccountId32;947 readonly isEthereum: boolean;948 readonly asEthereum: H160;949 readonly type: 'Substrate' | 'Ethereum';950}951952/** @name PalletEvmCall */953export interface PalletEvmCall extends Enum {954 readonly isWithdraw: boolean;955 readonly asWithdraw: {956 readonly address: H160;957 readonly value: u128;958 } & Struct;959 readonly isCall: boolean;960 readonly asCall: {961 readonly source: H160;962 readonly target: H160;963 readonly input: Bytes;964 readonly value: U256;965 readonly gasLimit: u64;966 readonly maxFeePerGas: U256;967 readonly maxPriorityFeePerGas: Option<U256>;968 readonly nonce: Option<U256>;969 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;970 } & Struct;971 readonly isCreate: boolean;972 readonly asCreate: {973 readonly source: H160;974 readonly init: Bytes;975 readonly value: U256;976 readonly gasLimit: u64;977 readonly maxFeePerGas: U256;978 readonly maxPriorityFeePerGas: Option<U256>;979 readonly nonce: Option<U256>;980 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;981 } & Struct;982 readonly isCreate2: boolean;983 readonly asCreate2: {984 readonly source: H160;985 readonly init: Bytes;986 readonly salt: H256;987 readonly value: U256;988 readonly gasLimit: u64;989 readonly maxFeePerGas: U256;990 readonly maxPriorityFeePerGas: Option<U256>;991 readonly nonce: Option<U256>;992 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;993 } & Struct;994 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';995}996997/** @name PalletEvmCoderSubstrateError */998export interface PalletEvmCoderSubstrateError extends Enum {999 readonly isOutOfGas: boolean;1000 readonly isOutOfFund: boolean;1001 readonly type: 'OutOfGas' | 'OutOfFund';1002}10031004/** @name PalletEvmContractHelpersError */1005export interface PalletEvmContractHelpersError extends Enum {1006 readonly isNoPermission: boolean;1007 readonly type: 'NoPermission';1008}10091010/** @name PalletEvmContractHelpersSponsoringModeT */1011export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1012 readonly isDisabled: boolean;1013 readonly isAllowlisted: boolean;1014 readonly isGenerous: boolean;1015 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1016}10171018/** @name PalletEvmError */1019export interface PalletEvmError extends Enum {1020 readonly isBalanceLow: boolean;1021 readonly isFeeOverflow: boolean;1022 readonly isPaymentOverflow: boolean;1023 readonly isWithdrawFailed: boolean;1024 readonly isGasPriceTooLow: boolean;1025 readonly isInvalidNonce: boolean;1026 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1027}10281029/** @name PalletEvmEvent */1030export interface PalletEvmEvent extends Enum {1031 readonly isLog: boolean;1032 readonly asLog: EthereumLog;1033 readonly isCreated: boolean;1034 readonly asCreated: H160;1035 readonly isCreatedFailed: boolean;1036 readonly asCreatedFailed: H160;1037 readonly isExecuted: boolean;1038 readonly asExecuted: H160;1039 readonly isExecutedFailed: boolean;1040 readonly asExecutedFailed: H160;1041 readonly isBalanceDeposit: boolean;1042 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1043 readonly isBalanceWithdraw: boolean;1044 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1045 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1046}10471048/** @name PalletEvmMigrationCall */1049export interface PalletEvmMigrationCall extends Enum {1050 readonly isBegin: boolean;1051 readonly asBegin: {1052 readonly address: H160;1053 } & Struct;1054 readonly isSetData: boolean;1055 readonly asSetData: {1056 readonly address: H160;1057 readonly data: Vec<ITuple<[H256, H256]>>;1058 } & Struct;1059 readonly isFinish: boolean;1060 readonly asFinish: {1061 readonly address: H160;1062 readonly code: Bytes;1063 } & Struct;1064 readonly type: 'Begin' | 'SetData' | 'Finish';1065}10661067/** @name PalletEvmMigrationError */1068export interface PalletEvmMigrationError extends Enum {1069 readonly isAccountNotEmpty: boolean;1070 readonly isAccountIsNotMigrating: boolean;1071 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1072}10731074/** @name PalletFungibleError */1075export interface PalletFungibleError extends Enum {1076 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1077 readonly isFungibleItemsHaveNoId: boolean;1078 readonly isFungibleItemsDontHaveData: boolean;1079 readonly isFungibleDisallowsNesting: boolean;1080 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting';1081}10821083/** @name PalletInflationCall */1084export interface PalletInflationCall extends Enum {1085 readonly isStartInflation: boolean;1086 readonly asStartInflation: {1087 readonly inflationStartRelayBlock: u32;1088 } & Struct;1089 readonly type: 'StartInflation';1090}10911092/** @name PalletNonfungibleError */1093export interface PalletNonfungibleError extends Enum {1094 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1095 readonly isNonfungibleItemsHaveNoAmount: boolean;1096 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';1097}10981099/** @name PalletNonfungibleItemData */1100export interface PalletNonfungibleItemData extends Struct {1101 readonly constData: Bytes;1102 readonly variableData: Bytes;1103 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1104}11051106/** @name PalletRefungibleError */1107export interface PalletRefungibleError extends Enum {1108 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1109 readonly isWrongRefungiblePieces: boolean;1110 readonly isRefungibleDisallowsNesting: boolean;1111 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting';1112}11131114/** @name PalletRefungibleItemData */1115export interface PalletRefungibleItemData extends Struct {1116 readonly constData: Bytes;1117 readonly variableData: Bytes;1118}11191120/** @name PalletStructureCall */1121export interface PalletStructureCall extends Null {}11221123/** @name PalletStructureError */1124export interface PalletStructureError extends Enum {1125 readonly isOuroborosDetected: boolean;1126 readonly isDepthLimit: boolean;1127 readonly isTokenNotFound: boolean;1128 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';1129}11301131/** @name PalletStructureEvent */1132export interface PalletStructureEvent extends Enum {1133 readonly isExecuted: boolean;1134 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1135 readonly type: 'Executed';1136}11371138/** @name PalletSudoCall */1139export interface PalletSudoCall extends Enum {1140 readonly isSudo: boolean;1141 readonly asSudo: {1142 readonly call: Call;1143 } & Struct;1144 readonly isSudoUncheckedWeight: boolean;1145 readonly asSudoUncheckedWeight: {1146 readonly call: Call;1147 readonly weight: u64;1148 } & Struct;1149 readonly isSetKey: boolean;1150 readonly asSetKey: {1151 readonly new_: MultiAddress;1152 } & Struct;1153 readonly isSudoAs: boolean;1154 readonly asSudoAs: {1155 readonly who: MultiAddress;1156 readonly call: Call;1157 } & Struct;1158 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1159}11601161/** @name PalletSudoError */1162export interface PalletSudoError extends Enum {1163 readonly isRequireSudo: boolean;1164 readonly type: 'RequireSudo';1165}11661167/** @name PalletSudoEvent */1168export interface PalletSudoEvent extends Enum {1169 readonly isSudid: boolean;1170 readonly asSudid: {1171 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1172 } & Struct;1173 readonly isKeyChanged: boolean;1174 readonly asKeyChanged: {1175 readonly oldSudoer: Option<AccountId32>;1176 } & Struct;1177 readonly isSudoAsDone: boolean;1178 readonly asSudoAsDone: {1179 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1180 } & Struct;1181 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1182}11831184/** @name PalletTemplateTransactionPaymentCall */1185export interface PalletTemplateTransactionPaymentCall extends Null {}11861187/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1188export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}11891190/** @name PalletTimestampCall */1191export interface PalletTimestampCall extends Enum {1192 readonly isSet: boolean;1193 readonly asSet: {1194 readonly now: Compact<u64>;1195 } & Struct;1196 readonly type: 'Set';1197}11981199/** @name PalletTransactionPaymentReleases */1200export interface PalletTransactionPaymentReleases extends Enum {1201 readonly isV1Ancient: boolean;1202 readonly isV2: boolean;1203 readonly type: 'V1Ancient' | 'V2';1204}12051206/** @name PalletTreasuryCall */1207export interface PalletTreasuryCall extends Enum {1208 readonly isProposeSpend: boolean;1209 readonly asProposeSpend: {1210 readonly value: Compact<u128>;1211 readonly beneficiary: MultiAddress;1212 } & Struct;1213 readonly isRejectProposal: boolean;1214 readonly asRejectProposal: {1215 readonly proposalId: Compact<u32>;1216 } & Struct;1217 readonly isApproveProposal: boolean;1218 readonly asApproveProposal: {1219 readonly proposalId: Compact<u32>;1220 } & Struct;1221 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal';1222}12231224/** @name PalletTreasuryError */1225export interface PalletTreasuryError extends Enum {1226 readonly isInsufficientProposersBalance: boolean;1227 readonly isInvalidIndex: boolean;1228 readonly isTooManyApprovals: boolean;1229 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';1230}12311232/** @name PalletTreasuryEvent */1233export interface PalletTreasuryEvent extends Enum {1234 readonly isProposed: boolean;1235 readonly asProposed: {1236 readonly proposalIndex: u32;1237 } & Struct;1238 readonly isSpending: boolean;1239 readonly asSpending: {1240 readonly budgetRemaining: u128;1241 } & Struct;1242 readonly isAwarded: boolean;1243 readonly asAwarded: {1244 readonly proposalIndex: u32;1245 readonly award: u128;1246 readonly account: AccountId32;1247 } & Struct;1248 readonly isRejected: boolean;1249 readonly asRejected: {1250 readonly proposalIndex: u32;1251 readonly slashed: u128;1252 } & Struct;1253 readonly isBurnt: boolean;1254 readonly asBurnt: {1255 readonly burntFunds: u128;1256 } & Struct;1257 readonly isRollover: boolean;1258 readonly asRollover: {1259 readonly rolloverBalance: u128;1260 } & Struct;1261 readonly isDeposit: boolean;1262 readonly asDeposit: {1263 readonly value: u128;1264 } & Struct;1265 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';1266}12671268/** @name PalletTreasuryProposal */1269export interface PalletTreasuryProposal extends Struct {1270 readonly proposer: AccountId32;1271 readonly value: u128;1272 readonly beneficiary: AccountId32;1273 readonly bond: u128;1274}12751276/** @name PalletUniqueCall */1277export interface PalletUniqueCall extends Enum {1278 readonly isCreateCollection: boolean;1279 readonly asCreateCollection: {1280 readonly collectionName: Vec<u16>;1281 readonly collectionDescription: Vec<u16>;1282 readonly tokenPrefix: Bytes;1283 readonly mode: UpDataStructsCollectionMode;1284 } & Struct;1285 readonly isCreateCollectionEx: boolean;1286 readonly asCreateCollectionEx: {1287 readonly data: UpDataStructsCreateCollectionData;1288 } & Struct;1289 readonly isDestroyCollection: boolean;1290 readonly asDestroyCollection: {1291 readonly collectionId: u32;1292 } & Struct;1293 readonly isAddToAllowList: boolean;1294 readonly asAddToAllowList: {1295 readonly collectionId: u32;1296 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1297 } & Struct;1298 readonly isRemoveFromAllowList: boolean;1299 readonly asRemoveFromAllowList: {1300 readonly collectionId: u32;1301 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1302 } & Struct;1303 readonly isSetPublicAccessMode: boolean;1304 readonly asSetPublicAccessMode: {1305 readonly collectionId: u32;1306 readonly mode: UpDataStructsAccessMode;1307 } & Struct;1308 readonly isSetMintPermission: boolean;1309 readonly asSetMintPermission: {1310 readonly collectionId: u32;1311 readonly mintPermission: bool;1312 } & Struct;1313 readonly isChangeCollectionOwner: boolean;1314 readonly asChangeCollectionOwner: {1315 readonly collectionId: u32;1316 readonly newOwner: AccountId32;1317 } & Struct;1318 readonly isAddCollectionAdmin: boolean;1319 readonly asAddCollectionAdmin: {1320 readonly collectionId: u32;1321 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1322 } & Struct;1323 readonly isRemoveCollectionAdmin: boolean;1324 readonly asRemoveCollectionAdmin: {1325 readonly collectionId: u32;1326 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1327 } & Struct;1328 readonly isSetCollectionSponsor: boolean;1329 readonly asSetCollectionSponsor: {1330 readonly collectionId: u32;1331 readonly newSponsor: AccountId32;1332 } & Struct;1333 readonly isConfirmSponsorship: boolean;1334 readonly asConfirmSponsorship: {1335 readonly collectionId: u32;1336 } & Struct;1337 readonly isRemoveCollectionSponsor: boolean;1338 readonly asRemoveCollectionSponsor: {1339 readonly collectionId: u32;1340 } & Struct;1341 readonly isCreateItem: boolean;1342 readonly asCreateItem: {1343 readonly collectionId: u32;1344 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1345 readonly data: UpDataStructsCreateItemData;1346 } & Struct;1347 readonly isCreateMultipleItems: boolean;1348 readonly asCreateMultipleItems: {1349 readonly collectionId: u32;1350 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1351 readonly itemsData: Vec<UpDataStructsCreateItemData>;1352 } & Struct;1353 readonly isCreateMultipleItemsEx: boolean;1354 readonly asCreateMultipleItemsEx: {1355 readonly collectionId: u32;1356 readonly data: UpDataStructsCreateItemExData;1357 } & Struct;1358 readonly isSetTransfersEnabledFlag: boolean;1359 readonly asSetTransfersEnabledFlag: {1360 readonly collectionId: u32;1361 readonly value: bool;1362 } & Struct;1363 readonly isBurnItem: boolean;1364 readonly asBurnItem: {1365 readonly collectionId: u32;1366 readonly itemId: u32;1367 readonly value: u128;1368 } & Struct;1369 readonly isBurnFrom: boolean;1370 readonly asBurnFrom: {1371 readonly collectionId: u32;1372 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1373 readonly itemId: u32;1374 readonly value: u128;1375 } & Struct;1376 readonly isTransfer: boolean;1377 readonly asTransfer: {1378 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1379 readonly collectionId: u32;1380 readonly itemId: u32;1381 readonly value: u128;1382 } & Struct;1383 readonly isApprove: boolean;1384 readonly asApprove: {1385 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1386 readonly collectionId: u32;1387 readonly itemId: u32;1388 readonly amount: u128;1389 } & Struct;1390 readonly isTransferFrom: boolean;1391 readonly asTransferFrom: {1392 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1393 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1394 readonly collectionId: u32;1395 readonly itemId: u32;1396 readonly value: u128;1397 } & Struct;1398 readonly isSetVariableMetaData: boolean;1399 readonly asSetVariableMetaData: {1400 readonly collectionId: u32;1401 readonly itemId: u32;1402 readonly data: Bytes;1403 } & Struct;1404 readonly isSetMetaUpdatePermissionFlag: boolean;1405 readonly asSetMetaUpdatePermissionFlag: {1406 readonly collectionId: u32;1407 readonly value: UpDataStructsMetaUpdatePermission;1408 } & Struct;1409 readonly isSetSchemaVersion: boolean;1410 readonly asSetSchemaVersion: {1411 readonly collectionId: u32;1412 readonly version: UpDataStructsSchemaVersion;1413 } & Struct;1414 readonly isSetOffchainSchema: boolean;1415 readonly asSetOffchainSchema: {1416 readonly collectionId: u32;1417 readonly schema: Bytes;1418 } & Struct;1419 readonly isSetConstOnChainSchema: boolean;1420 readonly asSetConstOnChainSchema: {1421 readonly collectionId: u32;1422 readonly schema: Bytes;1423 } & Struct;1424 readonly isSetVariableOnChainSchema: boolean;1425 readonly asSetVariableOnChainSchema: {1426 readonly collectionId: u32;1427 readonly schema: Bytes;1428 } & Struct;1429 readonly isSetCollectionLimits: boolean;1430 readonly asSetCollectionLimits: {1431 readonly collectionId: u32;1432 readonly newLimit: UpDataStructsCollectionLimitsVersion2;1433 } & Struct;1434 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits';1435}14361437/** @name PalletUniqueError */1438export interface PalletUniqueError extends Enum {1439 readonly isCollectionDecimalPointLimitExceeded: boolean;1440 readonly isConfirmUnsetSponsorFail: boolean;1441 readonly isEmptyArgument: boolean;1442 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';1443}14441445/** @name PalletUniqueRawEvent */1446export interface PalletUniqueRawEvent extends Enum {1447 readonly isCollectionSponsorRemoved: boolean;1448 readonly asCollectionSponsorRemoved: u32;1449 readonly isCollectionAdminAdded: boolean;1450 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1451 readonly isCollectionOwnedChanged: boolean;1452 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1453 readonly isCollectionSponsorSet: boolean;1454 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1455 readonly isConstOnChainSchemaSet: boolean;1456 readonly asConstOnChainSchemaSet: u32;1457 readonly isSponsorshipConfirmed: boolean;1458 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1459 readonly isCollectionAdminRemoved: boolean;1460 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1461 readonly isAllowListAddressRemoved: boolean;1462 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1463 readonly isAllowListAddressAdded: boolean;1464 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1465 readonly isCollectionLimitSet: boolean;1466 readonly asCollectionLimitSet: u32;1467 readonly isMintPermissionSet: boolean;1468 readonly asMintPermissionSet: u32;1469 readonly isOffchainSchemaSet: boolean;1470 readonly asOffchainSchemaSet: u32;1471 readonly isPublicAccessModeSet: boolean;1472 readonly asPublicAccessModeSet: ITuple<[u32, UpDataStructsAccessMode]>;1473 readonly isSchemaVersionSet: boolean;1474 readonly asSchemaVersionSet: u32;1475 readonly isVariableOnChainSchemaSet: boolean;1476 readonly asVariableOnChainSchemaSet: u32;1477 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet';1478}14791480/** @name PalletXcmCall */1481export interface PalletXcmCall extends Enum {1482 readonly isSend: boolean;1483 readonly asSend: {1484 readonly dest: XcmVersionedMultiLocation;1485 readonly message: XcmVersionedXcm;1486 } & Struct;1487 readonly isTeleportAssets: boolean;1488 readonly asTeleportAssets: {1489 readonly dest: XcmVersionedMultiLocation;1490 readonly beneficiary: XcmVersionedMultiLocation;1491 readonly assets: XcmVersionedMultiAssets;1492 readonly feeAssetItem: u32;1493 } & Struct;1494 readonly isReserveTransferAssets: boolean;1495 readonly asReserveTransferAssets: {1496 readonly dest: XcmVersionedMultiLocation;1497 readonly beneficiary: XcmVersionedMultiLocation;1498 readonly assets: XcmVersionedMultiAssets;1499 readonly feeAssetItem: u32;1500 } & Struct;1501 readonly isExecute: boolean;1502 readonly asExecute: {1503 readonly message: XcmVersionedXcm;1504 readonly maxWeight: u64;1505 } & Struct;1506 readonly isForceXcmVersion: boolean;1507 readonly asForceXcmVersion: {1508 readonly location: XcmV1MultiLocation;1509 readonly xcmVersion: u32;1510 } & Struct;1511 readonly isForceDefaultXcmVersion: boolean;1512 readonly asForceDefaultXcmVersion: {1513 readonly maybeXcmVersion: Option<u32>;1514 } & Struct;1515 readonly isForceSubscribeVersionNotify: boolean;1516 readonly asForceSubscribeVersionNotify: {1517 readonly location: XcmVersionedMultiLocation;1518 } & Struct;1519 readonly isForceUnsubscribeVersionNotify: boolean;1520 readonly asForceUnsubscribeVersionNotify: {1521 readonly location: XcmVersionedMultiLocation;1522 } & Struct;1523 readonly isLimitedReserveTransferAssets: boolean;1524 readonly asLimitedReserveTransferAssets: {1525 readonly dest: XcmVersionedMultiLocation;1526 readonly beneficiary: XcmVersionedMultiLocation;1527 readonly assets: XcmVersionedMultiAssets;1528 readonly feeAssetItem: u32;1529 readonly weightLimit: XcmV2WeightLimit;1530 } & Struct;1531 readonly isLimitedTeleportAssets: boolean;1532 readonly asLimitedTeleportAssets: {1533 readonly dest: XcmVersionedMultiLocation;1534 readonly beneficiary: XcmVersionedMultiLocation;1535 readonly assets: XcmVersionedMultiAssets;1536 readonly feeAssetItem: u32;1537 readonly weightLimit: XcmV2WeightLimit;1538 } & Struct;1539 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';1540}15411542/** @name PalletXcmError */1543export interface PalletXcmError extends Enum {1544 readonly isUnreachable: boolean;1545 readonly isSendFailure: boolean;1546 readonly isFiltered: boolean;1547 readonly isUnweighableMessage: boolean;1548 readonly isDestinationNotInvertible: boolean;1549 readonly isEmpty: boolean;1550 readonly isCannotReanchor: boolean;1551 readonly isTooManyAssets: boolean;1552 readonly isInvalidOrigin: boolean;1553 readonly isBadVersion: boolean;1554 readonly isBadLocation: boolean;1555 readonly isNoSubscription: boolean;1556 readonly isAlreadySubscribed: boolean;1557 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';1558}15591560/** @name PalletXcmEvent */1561export interface PalletXcmEvent extends Enum {1562 readonly isAttempted: boolean;1563 readonly asAttempted: XcmV2TraitsOutcome;1564 readonly isSent: boolean;1565 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;1566 readonly isUnexpectedResponse: boolean;1567 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;1568 readonly isResponseReady: boolean;1569 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;1570 readonly isNotified: boolean;1571 readonly asNotified: ITuple<[u64, u8, u8]>;1572 readonly isNotifyOverweight: boolean;1573 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;1574 readonly isNotifyDispatchError: boolean;1575 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;1576 readonly isNotifyDecodeFailed: boolean;1577 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;1578 readonly isInvalidResponder: boolean;1579 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;1580 readonly isInvalidResponderVersion: boolean;1581 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;1582 readonly isResponseTaken: boolean;1583 readonly asResponseTaken: u64;1584 readonly isAssetsTrapped: boolean;1585 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;1586 readonly isVersionChangeNotified: boolean;1587 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;1588 readonly isSupportedVersionChanged: boolean;1589 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;1590 readonly isNotifyTargetSendFail: boolean;1591 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;1592 readonly isNotifyTargetMigrationFail: boolean;1593 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;1594 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1595}15961597/** @name PhantomTypeUpDataStructs */1598export interface PhantomTypeUpDataStructs extends Vec<Lookup309> {}15991600/** @name PolkadotCorePrimitivesInboundDownwardMessage */1601export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1602 readonly sentAt: u32;1603 readonly msg: Bytes;1604}16051606/** @name PolkadotCorePrimitivesInboundHrmpMessage */1607export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1608 readonly sentAt: u32;1609 readonly data: Bytes;1610}16111612/** @name PolkadotCorePrimitivesOutboundHrmpMessage */1613export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1614 readonly recipient: u32;1615 readonly data: Bytes;1616}16171618/** @name PolkadotParachainPrimitivesXcmpMessageFormat */1619export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {1620 readonly isConcatenatedVersionedXcm: boolean;1621 readonly isConcatenatedEncodedBlob: boolean;1622 readonly isSignals: boolean;1623 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';1624}16251626/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */1627export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1628 readonly maxCodeSize: u32;1629 readonly maxHeadDataSize: u32;1630 readonly maxUpwardQueueCount: u32;1631 readonly maxUpwardQueueSize: u32;1632 readonly maxUpwardMessageSize: u32;1633 readonly maxUpwardMessageNumPerCandidate: u32;1634 readonly hrmpMaxMessageNumPerCandidate: u32;1635 readonly validationUpgradeCooldown: u32;1636 readonly validationUpgradeDelay: u32;1637}16381639/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */1640export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1641 readonly maxCapacity: u32;1642 readonly maxTotalSize: u32;1643 readonly maxMessageSize: u32;1644 readonly msgCount: u32;1645 readonly totalSize: u32;1646 readonly mqcHead: Option<H256>;1647}16481649/** @name PolkadotPrimitivesV2PersistedValidationData */1650export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1651 readonly parentHead: Bytes;1652 readonly relayParentNumber: u32;1653 readonly relayParentStorageRoot: H256;1654 readonly maxPovSize: u32;1655}16561657/** @name PolkadotPrimitivesV2UpgradeRestriction */1658export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1659 readonly isPresent: boolean;1660 readonly type: 'Present';1661}16621663/** @name SpCoreEcdsaSignature */1664export interface SpCoreEcdsaSignature extends U8aFixed {}16651666/** @name SpCoreEd25519Signature */1667export interface SpCoreEd25519Signature extends U8aFixed {}16681669/** @name SpCoreSr25519Signature */1670export interface SpCoreSr25519Signature extends U8aFixed {}16711672/** @name SpRuntimeArithmeticError */1673export interface SpRuntimeArithmeticError extends Enum {1674 readonly isUnderflow: boolean;1675 readonly isOverflow: boolean;1676 readonly isDivisionByZero: boolean;1677 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';1678}16791680/** @name SpRuntimeDigest */1681export interface SpRuntimeDigest extends Struct {1682 readonly logs: Vec<SpRuntimeDigestDigestItem>;1683}16841685/** @name SpRuntimeDigestDigestItem */1686export interface SpRuntimeDigestDigestItem extends Enum {1687 readonly isOther: boolean;1688 readonly asOther: Bytes;1689 readonly isConsensus: boolean;1690 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;1691 readonly isSeal: boolean;1692 readonly asSeal: ITuple<[U8aFixed, Bytes]>;1693 readonly isPreRuntime: boolean;1694 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;1695 readonly isRuntimeEnvironmentUpdated: boolean;1696 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';1697}16981699/** @name SpRuntimeDispatchError */1700export interface SpRuntimeDispatchError extends Enum {1701 readonly isOther: boolean;1702 readonly isCannotLookup: boolean;1703 readonly isBadOrigin: boolean;1704 readonly isModule: boolean;1705 readonly asModule: SpRuntimeModuleError;1706 readonly isConsumerRemaining: boolean;1707 readonly isNoProviders: boolean;1708 readonly isTooManyConsumers: boolean;1709 readonly isToken: boolean;1710 readonly asToken: SpRuntimeTokenError;1711 readonly isArithmetic: boolean;1712 readonly asArithmetic: SpRuntimeArithmeticError;1713 readonly isTransactional: boolean;1714 readonly asTransactional: SpRuntimeTransactionalError;1715 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';1716}17171718/** @name SpRuntimeModuleError */1719export interface SpRuntimeModuleError extends Struct {1720 readonly index: u8;1721 readonly error: U8aFixed;1722}17231724/** @name SpRuntimeMultiSignature */1725export interface SpRuntimeMultiSignature extends Enum {1726 readonly isEd25519: boolean;1727 readonly asEd25519: SpCoreEd25519Signature;1728 readonly isSr25519: boolean;1729 readonly asSr25519: SpCoreSr25519Signature;1730 readonly isEcdsa: boolean;1731 readonly asEcdsa: SpCoreEcdsaSignature;1732 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';1733}17341735/** @name SpRuntimeTokenError */1736export interface SpRuntimeTokenError extends Enum {1737 readonly isNoFunds: boolean;1738 readonly isWouldDie: boolean;1739 readonly isBelowMinimum: boolean;1740 readonly isCannotCreate: boolean;1741 readonly isUnknownAsset: boolean;1742 readonly isFrozen: boolean;1743 readonly isUnsupported: boolean;1744 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';1745}17461747/** @name SpRuntimeTransactionalError */1748export interface SpRuntimeTransactionalError extends Enum {1749 readonly isLimitReached: boolean;1750 readonly isNoLayer: boolean;1751 readonly type: 'LimitReached' | 'NoLayer';1752}17531754/** @name SpTrieStorageProof */1755export interface SpTrieStorageProof extends Struct {1756 readonly trieNodes: BTreeSet;1757}17581759/** @name SpVersionRuntimeVersion */1760export interface SpVersionRuntimeVersion extends Struct {1761 readonly specName: Text;1762 readonly implName: Text;1763 readonly authoringVersion: u32;1764 readonly specVersion: u32;1765 readonly implVersion: u32;1766 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1767 readonly transactionVersion: u32;1768 readonly stateVersion: u8;1769}17701771/** @name UpDataStructsAccessMode */1772export interface UpDataStructsAccessMode extends Enum {1773 readonly isNormal: boolean;1774 readonly isAllowList: boolean;1775 readonly type: 'Normal' | 'AllowList';1776}17771778/** @name UpDataStructsCollectionField */1779export interface UpDataStructsCollectionField extends Enum {1780 readonly isVariableOnChainSchema: boolean;1781 readonly isConstOnChainSchema: boolean;1782 readonly isOffchainSchema: boolean;1783 readonly type: 'VariableOnChainSchema' | 'ConstOnChainSchema' | 'OffchainSchema';1784}17851786/** @name UpDataStructsCollectionLimitsVersion2 */1787export interface UpDataStructsCollectionLimitsVersion2 extends Struct {1788 readonly accountTokenOwnershipLimit: Option<u32>;1789 readonly sponsoredDataSize: Option<u32>;1790 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;1791 readonly tokenLimit: Option<u32>;1792 readonly sponsorTransferTimeout: Option<u32>;1793 readonly sponsorApproveTimeout: Option<u32>;1794 readonly ownerCanTransfer: Option<bool>;1795 readonly ownerCanDestroy: Option<bool>;1796 readonly transfersEnabled: Option<bool>;1797 readonly nestingRule: Option<UpDataStructsNestingRule>;1798}17991800/** @name UpDataStructsCollectionMode */1801export interface UpDataStructsCollectionMode extends Enum {1802 readonly isNft: boolean;1803 readonly isFungible: boolean;1804 readonly asFungible: u8;1805 readonly isReFungible: boolean;1806 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1807}18081809/** @name UpDataStructsCollectionStats */1810export interface UpDataStructsCollectionStats extends Struct {1811 readonly created: u32;1812 readonly destroyed: u32;1813 readonly alive: u32;1814}18151816/** @name UpDataStructsCollectionVersion2 */1817export interface UpDataStructsCollectionVersion2 extends Struct {1818 readonly owner: AccountId32;1819 readonly mode: UpDataStructsCollectionMode;1820 readonly access: UpDataStructsAccessMode;1821 readonly name: Vec<u16>;1822 readonly description: Vec<u16>;1823 readonly tokenPrefix: Bytes;1824 readonly mintMode: bool;1825 readonly schemaVersion: UpDataStructsSchemaVersion;1826 readonly sponsorship: UpDataStructsSponsorshipState;1827 readonly limits: UpDataStructsCollectionLimitsVersion2;1828 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;1829}18301831/** @name UpDataStructsCreateCollectionData */1832export interface UpDataStructsCreateCollectionData extends Struct {1833 readonly mode: UpDataStructsCollectionMode;1834 readonly access: Option<UpDataStructsAccessMode>;1835 readonly name: Vec<u16>;1836 readonly description: Vec<u16>;1837 readonly tokenPrefix: Bytes;1838 readonly offchainSchema: Bytes;1839 readonly schemaVersion: Option<UpDataStructsSchemaVersion>;1840 readonly pendingSponsor: Option<AccountId32>;1841 readonly limits: Option<UpDataStructsCollectionLimitsVersion2>;1842 readonly variableOnChainSchema: Bytes;1843 readonly constOnChainSchema: Bytes;1844 readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;1845}18461847/** @name UpDataStructsCreateFungibleData */1848export interface UpDataStructsCreateFungibleData extends Struct {1849 readonly value: u128;1850}18511852/** @name UpDataStructsCreateItemData */1853export interface UpDataStructsCreateItemData extends Enum {1854 readonly isNft: boolean;1855 readonly asNft: UpDataStructsCreateNftData;1856 readonly isFungible: boolean;1857 readonly asFungible: UpDataStructsCreateFungibleData;1858 readonly isReFungible: boolean;1859 readonly asReFungible: UpDataStructsCreateReFungibleData;1860 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1861}18621863/** @name UpDataStructsCreateItemExData */1864export interface UpDataStructsCreateItemExData extends Enum {1865 readonly isNft: boolean;1866 readonly asNft: Vec<UpDataStructsCreateNftExData>;1867 readonly isFungible: boolean;1868 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;1869 readonly isRefungibleMultipleItems: boolean;1870 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExData>;1871 readonly isRefungibleMultipleOwners: boolean;1872 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExData;1873 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1874}18751876/** @name UpDataStructsCreateNftData */1877export interface UpDataStructsCreateNftData extends Struct {1878 readonly constData: Bytes;1879 readonly variableData: Bytes;1880}18811882/** @name UpDataStructsCreateNftExData */1883export interface UpDataStructsCreateNftExData extends Struct {1884 readonly constData: Bytes;1885 readonly variableData: Bytes;1886 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1887}18881889/** @name UpDataStructsCreateReFungibleData */1890export interface UpDataStructsCreateReFungibleData extends Struct {1891 readonly constData: Bytes;1892 readonly variableData: Bytes;1893 readonly pieces: u128;1894}18951896/** @name UpDataStructsCreateRefungibleExData */1897export interface UpDataStructsCreateRefungibleExData extends Struct {1898 readonly constData: Bytes;1899 readonly variableData: Bytes;1900 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1901}19021903/** @name UpDataStructsMetaUpdatePermission */1904export interface UpDataStructsMetaUpdatePermission extends Enum {1905 readonly isItemOwner: boolean;1906 readonly isAdmin: boolean;1907 readonly isNone: boolean;1908 readonly type: 'ItemOwner' | 'Admin' | 'None';1909}19101911/** @name UpDataStructsNestingRule */1912export interface UpDataStructsNestingRule extends Enum {1913 readonly isDisabled: boolean;1914 readonly isOwner: boolean;1915 readonly isOwnerRestricted: boolean;1916 readonly asOwnerRestricted: FrameSupportStorageBoundedBTreeSet;1917 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1918}19191920/** @name UpDataStructsRpcCollection */1921export interface UpDataStructsRpcCollection extends Struct {1922 readonly owner: AccountId32;1923 readonly mode: UpDataStructsCollectionMode;1924 readonly access: UpDataStructsAccessMode;1925 readonly name: Vec<u16>;1926 readonly description: Vec<u16>;1927 readonly tokenPrefix: Bytes;1928 readonly mintMode: bool;1929 readonly offchainSchema: Bytes;1930 readonly schemaVersion: UpDataStructsSchemaVersion;1931 readonly sponsorship: UpDataStructsSponsorshipState;1932 readonly limits: UpDataStructsCollectionLimitsVersion2;1933 readonly variableOnChainSchema: Bytes;1934 readonly constOnChainSchema: Bytes;1935 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;1936}19371938/** @name UpDataStructsSchemaVersion */1939export interface UpDataStructsSchemaVersion extends Enum {1940 readonly isImageURL: boolean;1941 readonly isUnique: boolean;1942 readonly type: 'ImageURL' | 'Unique';1943}19441945/** @name UpDataStructsSponsoringRateLimit */1946export interface UpDataStructsSponsoringRateLimit extends Enum {1947 readonly isSponsoringDisabled: boolean;1948 readonly isBlocks: boolean;1949 readonly asBlocks: u32;1950 readonly type: 'SponsoringDisabled' | 'Blocks';1951}19521953/** @name UpDataStructsSponsorshipState */1954export interface UpDataStructsSponsorshipState extends Enum {1955 readonly isDisabled: boolean;1956 readonly isUnconfirmed: boolean;1957 readonly asUnconfirmed: AccountId32;1958 readonly isConfirmed: boolean;1959 readonly asConfirmed: AccountId32;1960 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';1961}19621963/** @name XcmDoubleEncoded */1964export interface XcmDoubleEncoded extends Struct {1965 readonly encoded: Bytes;1966}19671968/** @name XcmV0Junction */1969export interface XcmV0Junction extends Enum {1970 readonly isParent: boolean;1971 readonly isParachain: boolean;1972 readonly asParachain: Compact<u32>;1973 readonly isAccountId32: boolean;1974 readonly asAccountId32: {1975 readonly network: XcmV0JunctionNetworkId;1976 readonly id: U8aFixed;1977 } & Struct;1978 readonly isAccountIndex64: boolean;1979 readonly asAccountIndex64: {1980 readonly network: XcmV0JunctionNetworkId;1981 readonly index: Compact<u64>;1982 } & Struct;1983 readonly isAccountKey20: boolean;1984 readonly asAccountKey20: {1985 readonly network: XcmV0JunctionNetworkId;1986 readonly key: U8aFixed;1987 } & Struct;1988 readonly isPalletInstance: boolean;1989 readonly asPalletInstance: u8;1990 readonly isGeneralIndex: boolean;1991 readonly asGeneralIndex: Compact<u128>;1992 readonly isGeneralKey: boolean;1993 readonly asGeneralKey: Bytes;1994 readonly isOnlyChild: boolean;1995 readonly isPlurality: boolean;1996 readonly asPlurality: {1997 readonly id: XcmV0JunctionBodyId;1998 readonly part: XcmV0JunctionBodyPart;1999 } & Struct;2000 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2001}20022003/** @name XcmV0JunctionBodyId */2004export interface XcmV0JunctionBodyId extends Enum {2005 readonly isUnit: boolean;2006 readonly isNamed: boolean;2007 readonly asNamed: Bytes;2008 readonly isIndex: boolean;2009 readonly asIndex: Compact<u32>;2010 readonly isExecutive: boolean;2011 readonly isTechnical: boolean;2012 readonly isLegislative: boolean;2013 readonly isJudicial: boolean;2014 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2015}20162017/** @name XcmV0JunctionBodyPart */2018export interface XcmV0JunctionBodyPart extends Enum {2019 readonly isVoice: boolean;2020 readonly isMembers: boolean;2021 readonly asMembers: {2022 readonly count: Compact<u32>;2023 } & Struct;2024 readonly isFraction: boolean;2025 readonly asFraction: {2026 readonly nom: Compact<u32>;2027 readonly denom: Compact<u32>;2028 } & Struct;2029 readonly isAtLeastProportion: boolean;2030 readonly asAtLeastProportion: {2031 readonly nom: Compact<u32>;2032 readonly denom: Compact<u32>;2033 } & Struct;2034 readonly isMoreThanProportion: boolean;2035 readonly asMoreThanProportion: {2036 readonly nom: Compact<u32>;2037 readonly denom: Compact<u32>;2038 } & Struct;2039 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2040}20412042/** @name XcmV0JunctionNetworkId */2043export interface XcmV0JunctionNetworkId extends Enum {2044 readonly isAny: boolean;2045 readonly isNamed: boolean;2046 readonly asNamed: Bytes;2047 readonly isPolkadot: boolean;2048 readonly isKusama: boolean;2049 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2050}20512052/** @name XcmV0MultiAsset */2053export interface XcmV0MultiAsset extends Enum {2054 readonly isNone: boolean;2055 readonly isAll: boolean;2056 readonly isAllFungible: boolean;2057 readonly isAllNonFungible: boolean;2058 readonly isAllAbstractFungible: boolean;2059 readonly asAllAbstractFungible: {2060 readonly id: Bytes;2061 } & Struct;2062 readonly isAllAbstractNonFungible: boolean;2063 readonly asAllAbstractNonFungible: {2064 readonly class: Bytes;2065 } & Struct;2066 readonly isAllConcreteFungible: boolean;2067 readonly asAllConcreteFungible: {2068 readonly id: XcmV0MultiLocation;2069 } & Struct;2070 readonly isAllConcreteNonFungible: boolean;2071 readonly asAllConcreteNonFungible: {2072 readonly class: XcmV0MultiLocation;2073 } & Struct;2074 readonly isAbstractFungible: boolean;2075 readonly asAbstractFungible: {2076 readonly id: Bytes;2077 readonly amount: Compact<u128>;2078 } & Struct;2079 readonly isAbstractNonFungible: boolean;2080 readonly asAbstractNonFungible: {2081 readonly class: Bytes;2082 readonly instance: XcmV1MultiassetAssetInstance;2083 } & Struct;2084 readonly isConcreteFungible: boolean;2085 readonly asConcreteFungible: {2086 readonly id: XcmV0MultiLocation;2087 readonly amount: Compact<u128>;2088 } & Struct;2089 readonly isConcreteNonFungible: boolean;2090 readonly asConcreteNonFungible: {2091 readonly class: XcmV0MultiLocation;2092 readonly instance: XcmV1MultiassetAssetInstance;2093 } & Struct;2094 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2095}20962097/** @name XcmV0MultiLocation */2098export interface XcmV0MultiLocation extends Enum {2099 readonly isNull: boolean;2100 readonly isX1: boolean;2101 readonly asX1: XcmV0Junction;2102 readonly isX2: boolean;2103 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2104 readonly isX3: boolean;2105 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2106 readonly isX4: boolean;2107 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2108 readonly isX5: boolean;2109 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2110 readonly isX6: boolean;2111 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2112 readonly isX7: boolean;2113 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2114 readonly isX8: boolean;2115 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2116 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2117}21182119/** @name XcmV0Order */2120export interface XcmV0Order extends Enum {2121 readonly isNull: boolean;2122 readonly isDepositAsset: boolean;2123 readonly asDepositAsset: {2124 readonly assets: Vec<XcmV0MultiAsset>;2125 readonly dest: XcmV0MultiLocation;2126 } & Struct;2127 readonly isDepositReserveAsset: boolean;2128 readonly asDepositReserveAsset: {2129 readonly assets: Vec<XcmV0MultiAsset>;2130 readonly dest: XcmV0MultiLocation;2131 readonly effects: Vec<XcmV0Order>;2132 } & Struct;2133 readonly isExchangeAsset: boolean;2134 readonly asExchangeAsset: {2135 readonly give: Vec<XcmV0MultiAsset>;2136 readonly receive: Vec<XcmV0MultiAsset>;2137 } & Struct;2138 readonly isInitiateReserveWithdraw: boolean;2139 readonly asInitiateReserveWithdraw: {2140 readonly assets: Vec<XcmV0MultiAsset>;2141 readonly reserve: XcmV0MultiLocation;2142 readonly effects: Vec<XcmV0Order>;2143 } & Struct;2144 readonly isInitiateTeleport: boolean;2145 readonly asInitiateTeleport: {2146 readonly assets: Vec<XcmV0MultiAsset>;2147 readonly dest: XcmV0MultiLocation;2148 readonly effects: Vec<XcmV0Order>;2149 } & Struct;2150 readonly isQueryHolding: boolean;2151 readonly asQueryHolding: {2152 readonly queryId: Compact<u64>;2153 readonly dest: XcmV0MultiLocation;2154 readonly assets: Vec<XcmV0MultiAsset>;2155 } & Struct;2156 readonly isBuyExecution: boolean;2157 readonly asBuyExecution: {2158 readonly fees: XcmV0MultiAsset;2159 readonly weight: u64;2160 readonly debt: u64;2161 readonly haltOnError: bool;2162 readonly xcm: Vec<XcmV0Xcm>;2163 } & Struct;2164 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2165}21662167/** @name XcmV0OriginKind */2168export interface XcmV0OriginKind extends Enum {2169 readonly isNative: boolean;2170 readonly isSovereignAccount: boolean;2171 readonly isSuperuser: boolean;2172 readonly isXcm: boolean;2173 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2174}21752176/** @name XcmV0Response */2177export interface XcmV0Response extends Enum {2178 readonly isAssets: boolean;2179 readonly asAssets: Vec<XcmV0MultiAsset>;2180 readonly type: 'Assets';2181}21822183/** @name XcmV0Xcm */2184export interface XcmV0Xcm extends Enum {2185 readonly isWithdrawAsset: boolean;2186 readonly asWithdrawAsset: {2187 readonly assets: Vec<XcmV0MultiAsset>;2188 readonly effects: Vec<XcmV0Order>;2189 } & Struct;2190 readonly isReserveAssetDeposit: boolean;2191 readonly asReserveAssetDeposit: {2192 readonly assets: Vec<XcmV0MultiAsset>;2193 readonly effects: Vec<XcmV0Order>;2194 } & Struct;2195 readonly isTeleportAsset: boolean;2196 readonly asTeleportAsset: {2197 readonly assets: Vec<XcmV0MultiAsset>;2198 readonly effects: Vec<XcmV0Order>;2199 } & Struct;2200 readonly isQueryResponse: boolean;2201 readonly asQueryResponse: {2202 readonly queryId: Compact<u64>;2203 readonly response: XcmV0Response;2204 } & Struct;2205 readonly isTransferAsset: boolean;2206 readonly asTransferAsset: {2207 readonly assets: Vec<XcmV0MultiAsset>;2208 readonly dest: XcmV0MultiLocation;2209 } & Struct;2210 readonly isTransferReserveAsset: boolean;2211 readonly asTransferReserveAsset: {2212 readonly assets: Vec<XcmV0MultiAsset>;2213 readonly dest: XcmV0MultiLocation;2214 readonly effects: Vec<XcmV0Order>;2215 } & Struct;2216 readonly isTransact: boolean;2217 readonly asTransact: {2218 readonly originType: XcmV0OriginKind;2219 readonly requireWeightAtMost: u64;2220 readonly call: XcmDoubleEncoded;2221 } & Struct;2222 readonly isHrmpNewChannelOpenRequest: boolean;2223 readonly asHrmpNewChannelOpenRequest: {2224 readonly sender: Compact<u32>;2225 readonly maxMessageSize: Compact<u32>;2226 readonly maxCapacity: Compact<u32>;2227 } & Struct;2228 readonly isHrmpChannelAccepted: boolean;2229 readonly asHrmpChannelAccepted: {2230 readonly recipient: Compact<u32>;2231 } & Struct;2232 readonly isHrmpChannelClosing: boolean;2233 readonly asHrmpChannelClosing: {2234 readonly initiator: Compact<u32>;2235 readonly sender: Compact<u32>;2236 readonly recipient: Compact<u32>;2237 } & Struct;2238 readonly isRelayedFrom: boolean;2239 readonly asRelayedFrom: {2240 readonly who: XcmV0MultiLocation;2241 readonly message: XcmV0Xcm;2242 } & Struct;2243 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2244}22452246/** @name XcmV1Junction */2247export interface XcmV1Junction extends Enum {2248 readonly isParachain: boolean;2249 readonly asParachain: Compact<u32>;2250 readonly isAccountId32: boolean;2251 readonly asAccountId32: {2252 readonly network: XcmV0JunctionNetworkId;2253 readonly id: U8aFixed;2254 } & Struct;2255 readonly isAccountIndex64: boolean;2256 readonly asAccountIndex64: {2257 readonly network: XcmV0JunctionNetworkId;2258 readonly index: Compact<u64>;2259 } & Struct;2260 readonly isAccountKey20: boolean;2261 readonly asAccountKey20: {2262 readonly network: XcmV0JunctionNetworkId;2263 readonly key: U8aFixed;2264 } & Struct;2265 readonly isPalletInstance: boolean;2266 readonly asPalletInstance: u8;2267 readonly isGeneralIndex: boolean;2268 readonly asGeneralIndex: Compact<u128>;2269 readonly isGeneralKey: boolean;2270 readonly asGeneralKey: Bytes;2271 readonly isOnlyChild: boolean;2272 readonly isPlurality: boolean;2273 readonly asPlurality: {2274 readonly id: XcmV0JunctionBodyId;2275 readonly part: XcmV0JunctionBodyPart;2276 } & Struct;2277 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2278}22792280/** @name XcmV1MultiAsset */2281export interface XcmV1MultiAsset extends Struct {2282 readonly id: XcmV1MultiassetAssetId;2283 readonly fun: XcmV1MultiassetFungibility;2284}22852286/** @name XcmV1MultiassetAssetId */2287export interface XcmV1MultiassetAssetId extends Enum {2288 readonly isConcrete: boolean;2289 readonly asConcrete: XcmV1MultiLocation;2290 readonly isAbstract: boolean;2291 readonly asAbstract: Bytes;2292 readonly type: 'Concrete' | 'Abstract';2293}22942295/** @name XcmV1MultiassetAssetInstance */2296export interface XcmV1MultiassetAssetInstance extends Enum {2297 readonly isUndefined: boolean;2298 readonly isIndex: boolean;2299 readonly asIndex: Compact<u128>;2300 readonly isArray4: boolean;2301 readonly asArray4: U8aFixed;2302 readonly isArray8: boolean;2303 readonly asArray8: U8aFixed;2304 readonly isArray16: boolean;2305 readonly asArray16: U8aFixed;2306 readonly isArray32: boolean;2307 readonly asArray32: U8aFixed;2308 readonly isBlob: boolean;2309 readonly asBlob: Bytes;2310 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';2311}23122313/** @name XcmV1MultiassetFungibility */2314export interface XcmV1MultiassetFungibility extends Enum {2315 readonly isFungible: boolean;2316 readonly asFungible: Compact<u128>;2317 readonly isNonFungible: boolean;2318 readonly asNonFungible: XcmV1MultiassetAssetInstance;2319 readonly type: 'Fungible' | 'NonFungible';2320}23212322/** @name XcmV1MultiassetMultiAssetFilter */2323export interface XcmV1MultiassetMultiAssetFilter extends Enum {2324 readonly isDefinite: boolean;2325 readonly asDefinite: XcmV1MultiassetMultiAssets;2326 readonly isWild: boolean;2327 readonly asWild: XcmV1MultiassetWildMultiAsset;2328 readonly type: 'Definite' | 'Wild';2329}23302331/** @name XcmV1MultiassetMultiAssets */2332export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}23332334/** @name XcmV1MultiassetWildFungibility */2335export interface XcmV1MultiassetWildFungibility extends Enum {2336 readonly isFungible: boolean;2337 readonly isNonFungible: boolean;2338 readonly type: 'Fungible' | 'NonFungible';2339}23402341/** @name XcmV1MultiassetWildMultiAsset */2342export interface XcmV1MultiassetWildMultiAsset extends Enum {2343 readonly isAll: boolean;2344 readonly isAllOf: boolean;2345 readonly asAllOf: {2346 readonly id: XcmV1MultiassetAssetId;2347 readonly fun: XcmV1MultiassetWildFungibility;2348 } & Struct;2349 readonly type: 'All' | 'AllOf';2350}23512352/** @name XcmV1MultiLocation */2353export interface XcmV1MultiLocation extends Struct {2354 readonly parents: u8;2355 readonly interior: XcmV1MultilocationJunctions;2356}23572358/** @name XcmV1MultilocationJunctions */2359export interface XcmV1MultilocationJunctions extends Enum {2360 readonly isHere: boolean;2361 readonly isX1: boolean;2362 readonly asX1: XcmV1Junction;2363 readonly isX2: boolean;2364 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;2365 readonly isX3: boolean;2366 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2367 readonly isX4: boolean;2368 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2369 readonly isX5: boolean;2370 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2371 readonly isX6: boolean;2372 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2373 readonly isX7: boolean;2374 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2375 readonly isX8: boolean;2376 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;2377 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2378}23792380/** @name XcmV1Order */2381export interface XcmV1Order extends Enum {2382 readonly isNoop: boolean;2383 readonly isDepositAsset: boolean;2384 readonly asDepositAsset: {2385 readonly assets: XcmV1MultiassetMultiAssetFilter;2386 readonly maxAssets: u32;2387 readonly beneficiary: XcmV1MultiLocation;2388 } & Struct;2389 readonly isDepositReserveAsset: boolean;2390 readonly asDepositReserveAsset: {2391 readonly assets: XcmV1MultiassetMultiAssetFilter;2392 readonly maxAssets: u32;2393 readonly dest: XcmV1MultiLocation;2394 readonly effects: Vec<XcmV1Order>;2395 } & Struct;2396 readonly isExchangeAsset: boolean;2397 readonly asExchangeAsset: {2398 readonly give: XcmV1MultiassetMultiAssetFilter;2399 readonly receive: XcmV1MultiassetMultiAssets;2400 } & Struct;2401 readonly isInitiateReserveWithdraw: boolean;2402 readonly asInitiateReserveWithdraw: {2403 readonly assets: XcmV1MultiassetMultiAssetFilter;2404 readonly reserve: XcmV1MultiLocation;2405 readonly effects: Vec<XcmV1Order>;2406 } & Struct;2407 readonly isInitiateTeleport: boolean;2408 readonly asInitiateTeleport: {2409 readonly assets: XcmV1MultiassetMultiAssetFilter;2410 readonly dest: XcmV1MultiLocation;2411 readonly effects: Vec<XcmV1Order>;2412 } & Struct;2413 readonly isQueryHolding: boolean;2414 readonly asQueryHolding: {2415 readonly queryId: Compact<u64>;2416 readonly dest: XcmV1MultiLocation;2417 readonly assets: XcmV1MultiassetMultiAssetFilter;2418 } & Struct;2419 readonly isBuyExecution: boolean;2420 readonly asBuyExecution: {2421 readonly fees: XcmV1MultiAsset;2422 readonly weight: u64;2423 readonly debt: u64;2424 readonly haltOnError: bool;2425 readonly instructions: Vec<XcmV1Xcm>;2426 } & Struct;2427 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2428}24292430/** @name XcmV1Response */2431export interface XcmV1Response extends Enum {2432 readonly isAssets: boolean;2433 readonly asAssets: XcmV1MultiassetMultiAssets;2434 readonly isVersion: boolean;2435 readonly asVersion: u32;2436 readonly type: 'Assets' | 'Version';2437}24382439/** @name XcmV1Xcm */2440export interface XcmV1Xcm extends Enum {2441 readonly isWithdrawAsset: boolean;2442 readonly asWithdrawAsset: {2443 readonly assets: XcmV1MultiassetMultiAssets;2444 readonly effects: Vec<XcmV1Order>;2445 } & Struct;2446 readonly isReserveAssetDeposited: boolean;2447 readonly asReserveAssetDeposited: {2448 readonly assets: XcmV1MultiassetMultiAssets;2449 readonly effects: Vec<XcmV1Order>;2450 } & Struct;2451 readonly isReceiveTeleportedAsset: boolean;2452 readonly asReceiveTeleportedAsset: {2453 readonly assets: XcmV1MultiassetMultiAssets;2454 readonly effects: Vec<XcmV1Order>;2455 } & Struct;2456 readonly isQueryResponse: boolean;2457 readonly asQueryResponse: {2458 readonly queryId: Compact<u64>;2459 readonly response: XcmV1Response;2460 } & Struct;2461 readonly isTransferAsset: boolean;2462 readonly asTransferAsset: {2463 readonly assets: XcmV1MultiassetMultiAssets;2464 readonly beneficiary: XcmV1MultiLocation;2465 } & Struct;2466 readonly isTransferReserveAsset: boolean;2467 readonly asTransferReserveAsset: {2468 readonly assets: XcmV1MultiassetMultiAssets;2469 readonly dest: XcmV1MultiLocation;2470 readonly effects: Vec<XcmV1Order>;2471 } & Struct;2472 readonly isTransact: boolean;2473 readonly asTransact: {2474 readonly originType: XcmV0OriginKind;2475 readonly requireWeightAtMost: u64;2476 readonly call: XcmDoubleEncoded;2477 } & Struct;2478 readonly isHrmpNewChannelOpenRequest: boolean;2479 readonly asHrmpNewChannelOpenRequest: {2480 readonly sender: Compact<u32>;2481 readonly maxMessageSize: Compact<u32>;2482 readonly maxCapacity: Compact<u32>;2483 } & Struct;2484 readonly isHrmpChannelAccepted: boolean;2485 readonly asHrmpChannelAccepted: {2486 readonly recipient: Compact<u32>;2487 } & Struct;2488 readonly isHrmpChannelClosing: boolean;2489 readonly asHrmpChannelClosing: {2490 readonly initiator: Compact<u32>;2491 readonly sender: Compact<u32>;2492 readonly recipient: Compact<u32>;2493 } & Struct;2494 readonly isRelayedFrom: boolean;2495 readonly asRelayedFrom: {2496 readonly who: XcmV1MultilocationJunctions;2497 readonly message: XcmV1Xcm;2498 } & Struct;2499 readonly isSubscribeVersion: boolean;2500 readonly asSubscribeVersion: {2501 readonly queryId: Compact<u64>;2502 readonly maxResponseWeight: Compact<u64>;2503 } & Struct;2504 readonly isUnsubscribeVersion: boolean;2505 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2506}25072508/** @name XcmV2Instruction */2509export interface XcmV2Instruction extends Enum {2510 readonly isWithdrawAsset: boolean;2511 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;2512 readonly isReserveAssetDeposited: boolean;2513 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;2514 readonly isReceiveTeleportedAsset: boolean;2515 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;2516 readonly isQueryResponse: boolean;2517 readonly asQueryResponse: {2518 readonly queryId: Compact<u64>;2519 readonly response: XcmV2Response;2520 readonly maxWeight: Compact<u64>;2521 } & Struct;2522 readonly isTransferAsset: boolean;2523 readonly asTransferAsset: {2524 readonly assets: XcmV1MultiassetMultiAssets;2525 readonly beneficiary: XcmV1MultiLocation;2526 } & Struct;2527 readonly isTransferReserveAsset: boolean;2528 readonly asTransferReserveAsset: {2529 readonly assets: XcmV1MultiassetMultiAssets;2530 readonly dest: XcmV1MultiLocation;2531 readonly xcm: XcmV2Xcm;2532 } & Struct;2533 readonly isTransact: boolean;2534 readonly asTransact: {2535 readonly originType: XcmV0OriginKind;2536 readonly requireWeightAtMost: Compact<u64>;2537 readonly call: XcmDoubleEncoded;2538 } & Struct;2539 readonly isHrmpNewChannelOpenRequest: boolean;2540 readonly asHrmpNewChannelOpenRequest: {2541 readonly sender: Compact<u32>;2542 readonly maxMessageSize: Compact<u32>;2543 readonly maxCapacity: Compact<u32>;2544 } & Struct;2545 readonly isHrmpChannelAccepted: boolean;2546 readonly asHrmpChannelAccepted: {2547 readonly recipient: Compact<u32>;2548 } & Struct;2549 readonly isHrmpChannelClosing: boolean;2550 readonly asHrmpChannelClosing: {2551 readonly initiator: Compact<u32>;2552 readonly sender: Compact<u32>;2553 readonly recipient: Compact<u32>;2554 } & Struct;2555 readonly isClearOrigin: boolean;2556 readonly isDescendOrigin: boolean;2557 readonly asDescendOrigin: XcmV1MultilocationJunctions;2558 readonly isReportError: boolean;2559 readonly asReportError: {2560 readonly queryId: Compact<u64>;2561 readonly dest: XcmV1MultiLocation;2562 readonly maxResponseWeight: Compact<u64>;2563 } & Struct;2564 readonly isDepositAsset: boolean;2565 readonly asDepositAsset: {2566 readonly assets: XcmV1MultiassetMultiAssetFilter;2567 readonly maxAssets: Compact<u32>;2568 readonly beneficiary: XcmV1MultiLocation;2569 } & Struct;2570 readonly isDepositReserveAsset: boolean;2571 readonly asDepositReserveAsset: {2572 readonly assets: XcmV1MultiassetMultiAssetFilter;2573 readonly maxAssets: Compact<u32>;2574 readonly dest: XcmV1MultiLocation;2575 readonly xcm: XcmV2Xcm;2576 } & Struct;2577 readonly isExchangeAsset: boolean;2578 readonly asExchangeAsset: {2579 readonly give: XcmV1MultiassetMultiAssetFilter;2580 readonly receive: XcmV1MultiassetMultiAssets;2581 } & Struct;2582 readonly isInitiateReserveWithdraw: boolean;2583 readonly asInitiateReserveWithdraw: {2584 readonly assets: XcmV1MultiassetMultiAssetFilter;2585 readonly reserve: XcmV1MultiLocation;2586 readonly xcm: XcmV2Xcm;2587 } & Struct;2588 readonly isInitiateTeleport: boolean;2589 readonly asInitiateTeleport: {2590 readonly assets: XcmV1MultiassetMultiAssetFilter;2591 readonly dest: XcmV1MultiLocation;2592 readonly xcm: XcmV2Xcm;2593 } & Struct;2594 readonly isQueryHolding: boolean;2595 readonly asQueryHolding: {2596 readonly queryId: Compact<u64>;2597 readonly dest: XcmV1MultiLocation;2598 readonly assets: XcmV1MultiassetMultiAssetFilter;2599 readonly maxResponseWeight: Compact<u64>;2600 } & Struct;2601 readonly isBuyExecution: boolean;2602 readonly asBuyExecution: {2603 readonly fees: XcmV1MultiAsset;2604 readonly weightLimit: XcmV2WeightLimit;2605 } & Struct;2606 readonly isRefundSurplus: boolean;2607 readonly isSetErrorHandler: boolean;2608 readonly asSetErrorHandler: XcmV2Xcm;2609 readonly isSetAppendix: boolean;2610 readonly asSetAppendix: XcmV2Xcm;2611 readonly isClearError: boolean;2612 readonly isClaimAsset: boolean;2613 readonly asClaimAsset: {2614 readonly assets: XcmV1MultiassetMultiAssets;2615 readonly ticket: XcmV1MultiLocation;2616 } & Struct;2617 readonly isTrap: boolean;2618 readonly asTrap: Compact<u64>;2619 readonly isSubscribeVersion: boolean;2620 readonly asSubscribeVersion: {2621 readonly queryId: Compact<u64>;2622 readonly maxResponseWeight: Compact<u64>;2623 } & Struct;2624 readonly isUnsubscribeVersion: boolean;2625 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';2626}26272628/** @name XcmV2Response */2629export interface XcmV2Response extends Enum {2630 readonly isNull: boolean;2631 readonly isAssets: boolean;2632 readonly asAssets: XcmV1MultiassetMultiAssets;2633 readonly isExecutionResult: boolean;2634 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;2635 readonly isVersion: boolean;2636 readonly asVersion: u32;2637 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';2638}26392640/** @name XcmV2TraitsError */2641export interface XcmV2TraitsError extends Enum {2642 readonly isOverflow: boolean;2643 readonly isUnimplemented: boolean;2644 readonly isUntrustedReserveLocation: boolean;2645 readonly isUntrustedTeleportLocation: boolean;2646 readonly isMultiLocationFull: boolean;2647 readonly isMultiLocationNotInvertible: boolean;2648 readonly isBadOrigin: boolean;2649 readonly isInvalidLocation: boolean;2650 readonly isAssetNotFound: boolean;2651 readonly isFailedToTransactAsset: boolean;2652 readonly isNotWithdrawable: boolean;2653 readonly isLocationCannotHold: boolean;2654 readonly isExceedsMaxMessageSize: boolean;2655 readonly isDestinationUnsupported: boolean;2656 readonly isTransport: boolean;2657 readonly isUnroutable: boolean;2658 readonly isUnknownClaim: boolean;2659 readonly isFailedToDecode: boolean;2660 readonly isMaxWeightInvalid: boolean;2661 readonly isNotHoldingFees: boolean;2662 readonly isTooExpensive: boolean;2663 readonly isTrap: boolean;2664 readonly asTrap: u64;2665 readonly isUnhandledXcmVersion: boolean;2666 readonly isWeightLimitReached: boolean;2667 readonly asWeightLimitReached: u64;2668 readonly isBarrier: boolean;2669 readonly isWeightNotComputable: boolean;2670 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';2671}26722673/** @name XcmV2TraitsOutcome */2674export interface XcmV2TraitsOutcome extends Enum {2675 readonly isComplete: boolean;2676 readonly asComplete: u64;2677 readonly isIncomplete: boolean;2678 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;2679 readonly isError: boolean;2680 readonly asError: XcmV2TraitsError;2681 readonly type: 'Complete' | 'Incomplete' | 'Error';2682}26832684/** @name XcmV2WeightLimit */2685export interface XcmV2WeightLimit extends Enum {2686 readonly isUnlimited: boolean;2687 readonly isLimited: boolean;2688 readonly asLimited: Compact<u64>;2689 readonly type: 'Unlimited' | 'Limited';2690}26912692/** @name XcmV2Xcm */2693export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}26942695/** @name XcmVersionedMultiAssets */2696export interface XcmVersionedMultiAssets extends Enum {2697 readonly isV0: boolean;2698 readonly asV0: Vec<XcmV0MultiAsset>;2699 readonly isV1: boolean;2700 readonly asV1: XcmV1MultiassetMultiAssets;2701 readonly type: 'V0' | 'V1';2702}27032704/** @name XcmVersionedMultiLocation */2705export interface XcmVersionedMultiLocation extends Enum {2706 readonly isV0: boolean;2707 readonly asV0: XcmV0MultiLocation;2708 readonly isV1: boolean;2709 readonly asV1: XcmV1MultiLocation;2710 readonly type: 'V0' | 'V1';2711}27122713/** @name XcmVersionedXcm */2714export interface XcmVersionedXcm extends Enum {2715 readonly isV0: boolean;2716 readonly asV0: XcmV0Xcm;2717 readonly isV1: boolean;2718 readonly asV1: XcmV1Xcm;2719 readonly isV2: boolean;2720 readonly asV2: XcmV2Xcm;2721 readonly type: 'V0' | 'V1' | 'V2';2722}27232724export type PHANTOM_UNIQUE = 'unique';tests/src/nesting/nest.test.tsdiffbeforeafterboth--- a/tests/src/nesting/nest.test.ts
+++ b/tests/src/nesting/nest.test.ts
@@ -2,9 +2,9 @@
import {tokenIdToAddress} from '../eth/util/helpers';
import privateKey from '../substrate/privateKey';
import usingApi from '../substrate/substrate-api';
-import {createCollectionExpectSuccess, createItemExpectSuccess, getTokenOwner, setCollectionLimitsExpectSuccess, transferExpectSuccess, transferFromExpectSuccess} from '../util/helpers';
+import {createCollectionExpectSuccess, createItemExpectSuccess, getTokenOwner, getTopmostTokenOwner, setCollectionLimitsExpectSuccess, transferExpectSuccess, transferFromExpectSuccess} from '../util/helpers';
-describe('nesting', () => {
+describe.only('nesting', () => {
it('allows to nest/unnest token', async () => {
await usingApi(async api => {
const alice = privateKey('//Alice');
@@ -18,9 +18,15 @@
// Nest
await transferExpectSuccess(collection, nestedToken, alice, {Ethereum: tokenIdToAddress(collection, targetToken)});
+
+ expect(await getTopmostTokenOwner(api, collection, nestedToken)).to.be.deep.equal({Substrate: alice.address});
+ expect(await getTokenOwner(api, collection, nestedToken)).to.be.deep.equal({Ethereum: tokenIdToAddress(collection, targetToken).toLowerCase()});
// Move bundle to different user
await transferExpectSuccess(collection, targetToken, alice, {Substrate: bob.address});
+
+ expect(await getTopmostTokenOwner(api, collection, nestedToken)).to.be.deep.equal({Substrate: bob.address});
+ expect(await getTokenOwner(api, collection, nestedToken)).to.be.deep.equal({Ethereum: tokenIdToAddress(collection, targetToken).toLowerCase()});
// Unnest
await transferFromExpectSuccess(collection, nestedToken, bob, {Ethereum: tokenIdToAddress(collection, targetToken)}, {Substrate: bob.address});
tests/src/util/helpers.tsdiffbeforeafterboth--- a/tests/src/util/helpers.ts
+++ b/tests/src/util/helpers.ts
@@ -27,7 +27,7 @@
import privateKey from '../substrate/privateKey';
import {default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync} from '../substrate/substrate-api';
import {hexToStr, strToUTF16, utf16ToStr} from './util';
-import {UpDataStructsCollection} from '@polkadot/types/lookup';
+import {UpDataStructsRpcCollection} from '@polkadot/types/lookup';
chai.use(chaiAsPromised);
const expect = chai.expect;
@@ -987,6 +987,13 @@
): Promise<CrossAccountId> {
return normalizeAccountId((await api.rpc.unique.tokenOwner(collectionId, token)).toJSON() as any);
}
+export async function getTopmostTokenOwner(
+ api: ApiPromise,
+ collectionId: number,
+ token: number,
+): Promise<CrossAccountId> {
+ return normalizeAccountId((await api.rpc.unique.topmostTokenOwner(collectionId, token)).toJSON() as any);
+}
export async function isTokenExists(
api: ApiPromise,
collectionId: number,
@@ -1256,7 +1263,7 @@
}
export const getDetailedCollectionInfo = async (api: ApiPromise, collectionId: number)
- : Promise<UpDataStructsCollection | null> => {
+ : Promise<UpDataStructsRpcCollection | null> => {
return (await api.rpc.unique.collectionById(collectionId)).unwrapOr(null);
};
@@ -1265,7 +1272,7 @@
return (await api.rpc.unique.collectionStats()).created.toNumber();
};
-export async function queryCollectionExpectSuccess(api: ApiPromise, collectionId: number): Promise<UpDataStructsCollection> {
+export async function queryCollectionExpectSuccess(api: ApiPromise, collectionId: number): Promise<UpDataStructsRpcCollection> {
return (await api.rpc.unique.collectionById(collectionId)).unwrap();
}