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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34/* eslint-disable sort-keys */56export default {7 /**8 * Lookup2: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>9 **/10 PolkadotPrimitivesV2PersistedValidationData: {11 parentHead: 'Bytes',12 relayParentNumber: 'u32',13 relayParentStorageRoot: 'H256',14 maxPovSize: 'u32'15 },16 /**17 * Lookup9: polkadot_primitives::v2::UpgradeRestriction18 **/19 PolkadotPrimitivesV2UpgradeRestriction: {20 _enum: ['Present']21 },22 /**23 * Lookup10: sp_trie::storage_proof::StorageProof24 **/25 SpTrieStorageProof: {26 trieNodes: 'BTreeSet'27 },28 /**29 * Lookup11: BTreeSet<T>30 **/31 BTreeSet: 'BTreeSet<Bytes>',32 /**33 * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot34 **/35 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {36 dmqMqcHead: 'H256',37 relayDispatchQueueSize: '(u32,u32)',38 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',39 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'40 },41 /**42 * Lookup18: polkadot_primitives::v2::AbridgedHrmpChannel43 **/44 PolkadotPrimitivesV2AbridgedHrmpChannel: {45 maxCapacity: 'u32',46 maxTotalSize: 'u32',47 maxMessageSize: 'u32',48 msgCount: 'u32',49 totalSize: 'u32',50 mqcHead: 'Option<H256>'51 },52 /**53 * Lookup20: polkadot_primitives::v2::AbridgedHostConfiguration54 **/55 PolkadotPrimitivesV2AbridgedHostConfiguration: {56 maxCodeSize: 'u32',57 maxHeadDataSize: 'u32',58 maxUpwardQueueCount: 'u32',59 maxUpwardQueueSize: 'u32',60 maxUpwardMessageSize: 'u32',61 maxUpwardMessageNumPerCandidate: 'u32',62 hrmpMaxMessageNumPerCandidate: 'u32',63 validationUpgradeCooldown: 'u32',64 validationUpgradeDelay: 'u32'65 },66 /**67 * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>68 **/69 PolkadotCorePrimitivesOutboundHrmpMessage: {70 recipient: 'u32',71 data: 'Bytes'72 },73 /**74 * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>75 **/76 CumulusPalletParachainSystemCall: {77 _enum: {78 set_validation_data: {79 data: 'CumulusPrimitivesParachainInherentParachainInherentData',80 },81 sudo_send_upward_message: {82 message: 'Bytes',83 },84 authorize_upgrade: {85 codeHash: 'H256',86 },87 enact_authorized_upgrade: {88 code: 'Bytes'89 }90 }91 },92 /**93 * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData94 **/95 CumulusPrimitivesParachainInherentParachainInherentData: {96 validationData: 'PolkadotPrimitivesV2PersistedValidationData',97 relayChainState: 'SpTrieStorageProof',98 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',99 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'100 },101 /**102 * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>103 **/104 PolkadotCorePrimitivesInboundDownwardMessage: {105 sentAt: 'u32',106 msg: 'Bytes'107 },108 /**109 * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>110 **/111 PolkadotCorePrimitivesInboundHrmpMessage: {112 sentAt: 'u32',113 data: 'Bytes'114 },115 /**116 * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>117 **/118 CumulusPalletParachainSystemEvent: {119 _enum: {120 ValidationFunctionStored: 'Null',121 ValidationFunctionApplied: 'u32',122 ValidationFunctionDiscarded: 'Null',123 UpgradeAuthorized: 'H256',124 DownwardMessagesReceived: 'u32',125 DownwardMessagesProcessed: '(u64,H256)'126 }127 },128 /**129 * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>130 **/131 CumulusPalletParachainSystemError: {132 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']133 },134 /**135 * Lookup41: pallet_balances::AccountData<Balance>136 **/137 PalletBalancesAccountData: {138 free: 'u128',139 reserved: 'u128',140 miscFrozen: 'u128',141 feeFrozen: 'u128'142 },143 /**144 * Lookup43: pallet_balances::BalanceLock<Balance>145 **/146 PalletBalancesBalanceLock: {147 id: '[u8;8]',148 amount: 'u128',149 reasons: 'PalletBalancesReasons'150 },151 /**152 * Lookup45: pallet_balances::Reasons153 **/154 PalletBalancesReasons: {155 _enum: ['Fee', 'Misc', 'All']156 },157 /**158 * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>159 **/160 PalletBalancesReserveData: {161 id: '[u8;8]',162 amount: 'u128'163 },164 /**165 * Lookup50: pallet_balances::Releases166 **/167 PalletBalancesReleases: {168 _enum: ['V1_0_0', 'V2_0_0']169 },170 /**171 * Lookup51: pallet_balances::pallet::Call<T, I>172 **/173 PalletBalancesCall: {174 _enum: {175 transfer: {176 dest: 'MultiAddress',177 value: 'Compact<u128>',178 },179 set_balance: {180 who: 'MultiAddress',181 newFree: 'Compact<u128>',182 newReserved: 'Compact<u128>',183 },184 force_transfer: {185 source: 'MultiAddress',186 dest: 'MultiAddress',187 value: 'Compact<u128>',188 },189 transfer_keep_alive: {190 dest: 'MultiAddress',191 value: 'Compact<u128>',192 },193 transfer_all: {194 dest: 'MultiAddress',195 keepAlive: 'bool',196 },197 force_unreserve: {198 who: 'MultiAddress',199 amount: 'u128'200 }201 }202 },203 /**204 * Lookup57: pallet_balances::pallet::Event<T, I>205 **/206 PalletBalancesEvent: {207 _enum: {208 Endowed: {209 account: 'AccountId32',210 freeBalance: 'u128',211 },212 DustLost: {213 account: 'AccountId32',214 amount: 'u128',215 },216 Transfer: {217 from: 'AccountId32',218 to: 'AccountId32',219 amount: 'u128',220 },221 BalanceSet: {222 who: 'AccountId32',223 free: 'u128',224 reserved: 'u128',225 },226 Reserved: {227 who: 'AccountId32',228 amount: 'u128',229 },230 Unreserved: {231 who: 'AccountId32',232 amount: 'u128',233 },234 ReserveRepatriated: {235 from: 'AccountId32',236 to: 'AccountId32',237 amount: 'u128',238 destinationStatus: 'FrameSupportTokensMiscBalanceStatus',239 },240 Deposit: {241 who: 'AccountId32',242 amount: 'u128',243 },244 Withdraw: {245 who: 'AccountId32',246 amount: 'u128',247 },248 Slashed: {249 who: 'AccountId32',250 amount: 'u128'251 }252 }253 },254 /**255 * Lookup58: frame_support::traits::tokens::misc::BalanceStatus256 **/257 FrameSupportTokensMiscBalanceStatus: {258 _enum: ['Free', 'Reserved']259 },260 /**261 * Lookup59: pallet_balances::pallet::Error<T, I>262 **/263 PalletBalancesError: {264 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']265 },266 /**267 * Lookup62: pallet_timestamp::pallet::Call<T>268 **/269 PalletTimestampCall: {270 _enum: {271 set: {272 now: 'Compact<u64>'273 }274 }275 },276 /**277 * Lookup65: pallet_transaction_payment::Releases278 **/279 PalletTransactionPaymentReleases: {280 _enum: ['V1Ancient', 'V2']281 },282 /**283 * Lookup67: frame_support::weights::WeightToFeeCoefficient<Balance>284 **/285 FrameSupportWeightsWeightToFeeCoefficient: {286 coeffInteger: 'u128',287 coeffFrac: 'Perbill',288 negative: 'bool',289 degree: 'u8'290 },291 /**292 * Lookup69: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>293 **/294 PalletTreasuryProposal: {295 proposer: 'AccountId32',296 value: 'u128',297 beneficiary: 'AccountId32',298 bond: 'u128'299 },300 /**301 * Lookup72: pallet_treasury::pallet::Call<T, I>302 **/303 PalletTreasuryCall: {304 _enum: {305 propose_spend: {306 value: 'Compact<u128>',307 beneficiary: 'MultiAddress',308 },309 reject_proposal: {310 proposalId: 'Compact<u32>',311 },312 approve_proposal: {313 proposalId: 'Compact<u32>'314 }315 }316 },317 /**318 * Lookup74: pallet_treasury::pallet::Event<T, I>319 **/320 PalletTreasuryEvent: {321 _enum: {322 Proposed: {323 proposalIndex: 'u32',324 },325 Spending: {326 budgetRemaining: 'u128',327 },328 Awarded: {329 proposalIndex: 'u32',330 award: 'u128',331 account: 'AccountId32',332 },333 Rejected: {334 proposalIndex: 'u32',335 slashed: 'u128',336 },337 Burnt: {338 burntFunds: 'u128',339 },340 Rollover: {341 rolloverBalance: 'u128',342 },343 Deposit: {344 value: 'u128'345 }346 }347 },348 /**349 * Lookup77: frame_support::PalletId350 **/351 FrameSupportPalletId: '[u8;8]',352 /**353 * Lookup78: pallet_treasury::pallet::Error<T, I>354 **/355 PalletTreasuryError: {356 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']357 },358 /**359 * Lookup79: pallet_sudo::pallet::Call<T>360 **/361 PalletSudoCall: {362 _enum: {363 sudo: {364 call: 'Call',365 },366 sudo_unchecked_weight: {367 call: 'Call',368 weight: 'u64',369 },370 set_key: {371 _alias: {372 new_: 'new',373 },374 new_: 'MultiAddress',375 },376 sudo_as: {377 who: 'MultiAddress',378 call: 'Call'379 }380 }381 },382 /**383 * Lookup81: frame_system::pallet::Call<T>384 **/385 FrameSystemCall: {386 _enum: {387 fill_block: {388 ratio: 'Perbill',389 },390 remark: {391 remark: 'Bytes',392 },393 set_heap_pages: {394 pages: 'u64',395 },396 set_code: {397 code: 'Bytes',398 },399 set_code_without_checks: {400 code: 'Bytes',401 },402 set_storage: {403 items: 'Vec<(Bytes,Bytes)>',404 },405 kill_storage: {406 _alias: {407 keys_: 'keys',408 },409 keys_: 'Vec<Bytes>',410 },411 kill_prefix: {412 prefix: 'Bytes',413 subkeys: 'u32',414 },415 remark_with_event: {416 remark: 'Bytes'417 }418 }419 },420 /**421 * Lookup84: orml_vesting::module::Call<T>422 **/423 OrmlVestingModuleCall: {424 _enum: {425 claim: 'Null',426 vested_transfer: {427 dest: 'MultiAddress',428 schedule: 'OrmlVestingVestingSchedule',429 },430 update_vesting_schedules: {431 who: 'MultiAddress',432 vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',433 },434 claim_for: {435 dest: 'MultiAddress'436 }437 }438 },439 /**440 * Lookup85: orml_vesting::VestingSchedule<BlockNumber, Balance>441 **/442 OrmlVestingVestingSchedule: {443 start: 'u32',444 period: 'u32',445 periodCount: 'u32',446 perPeriod: 'Compact<u128>'447 },448 /**449 * Lookup87: cumulus_pallet_xcmp_queue::pallet::Call<T>450 **/451 CumulusPalletXcmpQueueCall: {452 _enum: {453 service_overweight: {454 index: 'u64',455 weightLimit: 'u64',456 },457 suspend_xcm_execution: 'Null',458 resume_xcm_execution: 'Null',459 update_suspend_threshold: {460 _alias: {461 new_: 'new',462 },463 new_: 'u32',464 },465 update_drop_threshold: {466 _alias: {467 new_: 'new',468 },469 new_: 'u32',470 },471 update_resume_threshold: {472 _alias: {473 new_: 'new',474 },475 new_: 'u32',476 },477 update_threshold_weight: {478 _alias: {479 new_: 'new',480 },481 new_: 'u64',482 },483 update_weight_restrict_decay: {484 _alias: {485 new_: 'new',486 },487 new_: 'u64',488 },489 update_xcmp_max_individual_weight: {490 _alias: {491 new_: 'new',492 },493 new_: 'u64'494 }495 }496 },497 /**498 * Lookup88: pallet_xcm::pallet::Call<T>499 **/500 PalletXcmCall: {501 _enum: {502 send: {503 dest: 'XcmVersionedMultiLocation',504 message: 'XcmVersionedXcm',505 },506 teleport_assets: {507 dest: 'XcmVersionedMultiLocation',508 beneficiary: 'XcmVersionedMultiLocation',509 assets: 'XcmVersionedMultiAssets',510 feeAssetItem: 'u32',511 },512 reserve_transfer_assets: {513 dest: 'XcmVersionedMultiLocation',514 beneficiary: 'XcmVersionedMultiLocation',515 assets: 'XcmVersionedMultiAssets',516 feeAssetItem: 'u32',517 },518 execute: {519 message: 'XcmVersionedXcm',520 maxWeight: 'u64',521 },522 force_xcm_version: {523 location: 'XcmV1MultiLocation',524 xcmVersion: 'u32',525 },526 force_default_xcm_version: {527 maybeXcmVersion: 'Option<u32>',528 },529 force_subscribe_version_notify: {530 location: 'XcmVersionedMultiLocation',531 },532 force_unsubscribe_version_notify: {533 location: 'XcmVersionedMultiLocation',534 },535 limited_reserve_transfer_assets: {536 dest: 'XcmVersionedMultiLocation',537 beneficiary: 'XcmVersionedMultiLocation',538 assets: 'XcmVersionedMultiAssets',539 feeAssetItem: 'u32',540 weightLimit: 'XcmV2WeightLimit',541 },542 limited_teleport_assets: {543 dest: 'XcmVersionedMultiLocation',544 beneficiary: 'XcmVersionedMultiLocation',545 assets: 'XcmVersionedMultiAssets',546 feeAssetItem: 'u32',547 weightLimit: 'XcmV2WeightLimit'548 }549 }550 },551 /**552 * Lookup89: xcm::VersionedMultiLocation553 **/554 XcmVersionedMultiLocation: {555 _enum: {556 V0: 'XcmV0MultiLocation',557 V1: 'XcmV1MultiLocation'558 }559 },560 /**561 * Lookup90: xcm::v0::multi_location::MultiLocation562 **/563 XcmV0MultiLocation: {564 _enum: {565 Null: 'Null',566 X1: 'XcmV0Junction',567 X2: '(XcmV0Junction,XcmV0Junction)',568 X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',569 X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',570 X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',571 X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',572 X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',573 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'574 }575 },576 /**577 * Lookup91: xcm::v0::junction::Junction578 **/579 XcmV0Junction: {580 _enum: {581 Parent: 'Null',582 Parachain: 'Compact<u32>',583 AccountId32: {584 network: 'XcmV0JunctionNetworkId',585 id: '[u8;32]',586 },587 AccountIndex64: {588 network: 'XcmV0JunctionNetworkId',589 index: 'Compact<u64>',590 },591 AccountKey20: {592 network: 'XcmV0JunctionNetworkId',593 key: '[u8;20]',594 },595 PalletInstance: 'u8',596 GeneralIndex: 'Compact<u128>',597 GeneralKey: 'Bytes',598 OnlyChild: 'Null',599 Plurality: {600 id: 'XcmV0JunctionBodyId',601 part: 'XcmV0JunctionBodyPart'602 }603 }604 },605 /**606 * Lookup92: xcm::v0::junction::NetworkId607 **/608 XcmV0JunctionNetworkId: {609 _enum: {610 Any: 'Null',611 Named: 'Bytes',612 Polkadot: 'Null',613 Kusama: 'Null'614 }615 },616 /**617 * Lookup93: xcm::v0::junction::BodyId618 **/619 XcmV0JunctionBodyId: {620 _enum: {621 Unit: 'Null',622 Named: 'Bytes',623 Index: 'Compact<u32>',624 Executive: 'Null',625 Technical: 'Null',626 Legislative: 'Null',627 Judicial: 'Null'628 }629 },630 /**631 * Lookup94: xcm::v0::junction::BodyPart632 **/633 XcmV0JunctionBodyPart: {634 _enum: {635 Voice: 'Null',636 Members: {637 count: 'Compact<u32>',638 },639 Fraction: {640 nom: 'Compact<u32>',641 denom: 'Compact<u32>',642 },643 AtLeastProportion: {644 nom: 'Compact<u32>',645 denom: 'Compact<u32>',646 },647 MoreThanProportion: {648 nom: 'Compact<u32>',649 denom: 'Compact<u32>'650 }651 }652 },653 /**654 * Lookup95: xcm::v1::multilocation::MultiLocation655 **/656 XcmV1MultiLocation: {657 parents: 'u8',658 interior: 'XcmV1MultilocationJunctions'659 },660 /**661 * Lookup96: xcm::v1::multilocation::Junctions662 **/663 XcmV1MultilocationJunctions: {664 _enum: {665 Here: 'Null',666 X1: 'XcmV1Junction',667 X2: '(XcmV1Junction,XcmV1Junction)',668 X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',669 X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',670 X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',671 X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',672 X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',673 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'674 }675 },676 /**677 * Lookup97: xcm::v1::junction::Junction678 **/679 XcmV1Junction: {680 _enum: {681 Parachain: 'Compact<u32>',682 AccountId32: {683 network: 'XcmV0JunctionNetworkId',684 id: '[u8;32]',685 },686 AccountIndex64: {687 network: 'XcmV0JunctionNetworkId',688 index: 'Compact<u64>',689 },690 AccountKey20: {691 network: 'XcmV0JunctionNetworkId',692 key: '[u8;20]',693 },694 PalletInstance: 'u8',695 GeneralIndex: 'Compact<u128>',696 GeneralKey: 'Bytes',697 OnlyChild: 'Null',698 Plurality: {699 id: 'XcmV0JunctionBodyId',700 part: 'XcmV0JunctionBodyPart'701 }702 }703 },704 /**705 * Lookup98: xcm::VersionedXcm<Call>706 **/707 XcmVersionedXcm: {708 _enum: {709 V0: 'XcmV0Xcm',710 V1: 'XcmV1Xcm',711 V2: 'XcmV2Xcm'712 }713 },714 /**715 * Lookup99: xcm::v0::Xcm<Call>716 **/717 XcmV0Xcm: {718 _enum: {719 WithdrawAsset: {720 assets: 'Vec<XcmV0MultiAsset>',721 effects: 'Vec<XcmV0Order>',722 },723 ReserveAssetDeposit: {724 assets: 'Vec<XcmV0MultiAsset>',725 effects: 'Vec<XcmV0Order>',726 },727 TeleportAsset: {728 assets: 'Vec<XcmV0MultiAsset>',729 effects: 'Vec<XcmV0Order>',730 },731 QueryResponse: {732 queryId: 'Compact<u64>',733 response: 'XcmV0Response',734 },735 TransferAsset: {736 assets: 'Vec<XcmV0MultiAsset>',737 dest: 'XcmV0MultiLocation',738 },739 TransferReserveAsset: {740 assets: 'Vec<XcmV0MultiAsset>',741 dest: 'XcmV0MultiLocation',742 effects: 'Vec<XcmV0Order>',743 },744 Transact: {745 originType: 'XcmV0OriginKind',746 requireWeightAtMost: 'u64',747 call: 'XcmDoubleEncoded',748 },749 HrmpNewChannelOpenRequest: {750 sender: 'Compact<u32>',751 maxMessageSize: 'Compact<u32>',752 maxCapacity: 'Compact<u32>',753 },754 HrmpChannelAccepted: {755 recipient: 'Compact<u32>',756 },757 HrmpChannelClosing: {758 initiator: 'Compact<u32>',759 sender: 'Compact<u32>',760 recipient: 'Compact<u32>',761 },762 RelayedFrom: {763 who: 'XcmV0MultiLocation',764 message: 'XcmV0Xcm'765 }766 }767 },768 /**769 * Lookup101: xcm::v0::multi_asset::MultiAsset770 **/771 XcmV0MultiAsset: {772 _enum: {773 None: 'Null',774 All: 'Null',775 AllFungible: 'Null',776 AllNonFungible: 'Null',777 AllAbstractFungible: {778 id: 'Bytes',779 },780 AllAbstractNonFungible: {781 class: 'Bytes',782 },783 AllConcreteFungible: {784 id: 'XcmV0MultiLocation',785 },786 AllConcreteNonFungible: {787 class: 'XcmV0MultiLocation',788 },789 AbstractFungible: {790 id: 'Bytes',791 amount: 'Compact<u128>',792 },793 AbstractNonFungible: {794 class: 'Bytes',795 instance: 'XcmV1MultiassetAssetInstance',796 },797 ConcreteFungible: {798 id: 'XcmV0MultiLocation',799 amount: 'Compact<u128>',800 },801 ConcreteNonFungible: {802 class: 'XcmV0MultiLocation',803 instance: 'XcmV1MultiassetAssetInstance'804 }805 }806 },807 /**808 * Lookup102: xcm::v1::multiasset::AssetInstance809 **/810 XcmV1MultiassetAssetInstance: {811 _enum: {812 Undefined: 'Null',813 Index: 'Compact<u128>',814 Array4: '[u8;4]',815 Array8: '[u8;8]',816 Array16: '[u8;16]',817 Array32: '[u8;32]',818 Blob: 'Bytes'819 }820 },821 /**822 * Lookup106: xcm::v0::order::Order<Call>823 **/824 XcmV0Order: {825 _enum: {826 Null: 'Null',827 DepositAsset: {828 assets: 'Vec<XcmV0MultiAsset>',829 dest: 'XcmV0MultiLocation',830 },831 DepositReserveAsset: {832 assets: 'Vec<XcmV0MultiAsset>',833 dest: 'XcmV0MultiLocation',834 effects: 'Vec<XcmV0Order>',835 },836 ExchangeAsset: {837 give: 'Vec<XcmV0MultiAsset>',838 receive: 'Vec<XcmV0MultiAsset>',839 },840 InitiateReserveWithdraw: {841 assets: 'Vec<XcmV0MultiAsset>',842 reserve: 'XcmV0MultiLocation',843 effects: 'Vec<XcmV0Order>',844 },845 InitiateTeleport: {846 assets: 'Vec<XcmV0MultiAsset>',847 dest: 'XcmV0MultiLocation',848 effects: 'Vec<XcmV0Order>',849 },850 QueryHolding: {851 queryId: 'Compact<u64>',852 dest: 'XcmV0MultiLocation',853 assets: 'Vec<XcmV0MultiAsset>',854 },855 BuyExecution: {856 fees: 'XcmV0MultiAsset',857 weight: 'u64',858 debt: 'u64',859 haltOnError: 'bool',860 xcm: 'Vec<XcmV0Xcm>'861 }862 }863 },864 /**865 * Lookup108: xcm::v0::Response866 **/867 XcmV0Response: {868 _enum: {869 Assets: 'Vec<XcmV0MultiAsset>'870 }871 },872 /**873 * Lookup109: xcm::v0::OriginKind874 **/875 XcmV0OriginKind: {876 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']877 },878 /**879 * Lookup110: xcm::double_encoded::DoubleEncoded<T>880 **/881 XcmDoubleEncoded: {882 encoded: 'Bytes'883 },884 /**885 * Lookup111: xcm::v1::Xcm<Call>886 **/887 XcmV1Xcm: {888 _enum: {889 WithdrawAsset: {890 assets: 'XcmV1MultiassetMultiAssets',891 effects: 'Vec<XcmV1Order>',892 },893 ReserveAssetDeposited: {894 assets: 'XcmV1MultiassetMultiAssets',895 effects: 'Vec<XcmV1Order>',896 },897 ReceiveTeleportedAsset: {898 assets: 'XcmV1MultiassetMultiAssets',899 effects: 'Vec<XcmV1Order>',900 },901 QueryResponse: {902 queryId: 'Compact<u64>',903 response: 'XcmV1Response',904 },905 TransferAsset: {906 assets: 'XcmV1MultiassetMultiAssets',907 beneficiary: 'XcmV1MultiLocation',908 },909 TransferReserveAsset: {910 assets: 'XcmV1MultiassetMultiAssets',911 dest: 'XcmV1MultiLocation',912 effects: 'Vec<XcmV1Order>',913 },914 Transact: {915 originType: 'XcmV0OriginKind',916 requireWeightAtMost: 'u64',917 call: 'XcmDoubleEncoded',918 },919 HrmpNewChannelOpenRequest: {920 sender: 'Compact<u32>',921 maxMessageSize: 'Compact<u32>',922 maxCapacity: 'Compact<u32>',923 },924 HrmpChannelAccepted: {925 recipient: 'Compact<u32>',926 },927 HrmpChannelClosing: {928 initiator: 'Compact<u32>',929 sender: 'Compact<u32>',930 recipient: 'Compact<u32>',931 },932 RelayedFrom: {933 who: 'XcmV1MultilocationJunctions',934 message: 'XcmV1Xcm',935 },936 SubscribeVersion: {937 queryId: 'Compact<u64>',938 maxResponseWeight: 'Compact<u64>',939 },940 UnsubscribeVersion: 'Null'941 }942 },943 /**944 * Lookup112: xcm::v1::multiasset::MultiAssets945 **/946 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',947 /**948 * Lookup114: xcm::v1::multiasset::MultiAsset949 **/950 XcmV1MultiAsset: {951 id: 'XcmV1MultiassetAssetId',952 fun: 'XcmV1MultiassetFungibility'953 },954 /**955 * Lookup115: xcm::v1::multiasset::AssetId956 **/957 XcmV1MultiassetAssetId: {958 _enum: {959 Concrete: 'XcmV1MultiLocation',960 Abstract: 'Bytes'961 }962 },963 /**964 * Lookup116: xcm::v1::multiasset::Fungibility965 **/966 XcmV1MultiassetFungibility: {967 _enum: {968 Fungible: 'Compact<u128>',969 NonFungible: 'XcmV1MultiassetAssetInstance'970 }971 },972 /**973 * Lookup118: xcm::v1::order::Order<Call>974 **/975 XcmV1Order: {976 _enum: {977 Noop: 'Null',978 DepositAsset: {979 assets: 'XcmV1MultiassetMultiAssetFilter',980 maxAssets: 'u32',981 beneficiary: 'XcmV1MultiLocation',982 },983 DepositReserveAsset: {984 assets: 'XcmV1MultiassetMultiAssetFilter',985 maxAssets: 'u32',986 dest: 'XcmV1MultiLocation',987 effects: 'Vec<XcmV1Order>',988 },989 ExchangeAsset: {990 give: 'XcmV1MultiassetMultiAssetFilter',991 receive: 'XcmV1MultiassetMultiAssets',992 },993 InitiateReserveWithdraw: {994 assets: 'XcmV1MultiassetMultiAssetFilter',995 reserve: 'XcmV1MultiLocation',996 effects: 'Vec<XcmV1Order>',997 },998 InitiateTeleport: {999 assets: 'XcmV1MultiassetMultiAssetFilter',1000 dest: 'XcmV1MultiLocation',1001 effects: 'Vec<XcmV1Order>',1002 },1003 QueryHolding: {1004 queryId: 'Compact<u64>',1005 dest: 'XcmV1MultiLocation',1006 assets: 'XcmV1MultiassetMultiAssetFilter',1007 },1008 BuyExecution: {1009 fees: 'XcmV1MultiAsset',1010 weight: 'u64',1011 debt: 'u64',1012 haltOnError: 'bool',1013 instructions: 'Vec<XcmV1Xcm>'1014 }1015 }1016 },1017 /**1018 * Lookup119: xcm::v1::multiasset::MultiAssetFilter1019 **/1020 XcmV1MultiassetMultiAssetFilter: {1021 _enum: {1022 Definite: 'XcmV1MultiassetMultiAssets',1023 Wild: 'XcmV1MultiassetWildMultiAsset'1024 }1025 },1026 /**1027 * Lookup120: xcm::v1::multiasset::WildMultiAsset1028 **/1029 XcmV1MultiassetWildMultiAsset: {1030 _enum: {1031 All: 'Null',1032 AllOf: {1033 id: 'XcmV1MultiassetAssetId',1034 fun: 'XcmV1MultiassetWildFungibility'1035 }1036 }1037 },1038 /**1039 * Lookup121: xcm::v1::multiasset::WildFungibility1040 **/1041 XcmV1MultiassetWildFungibility: {1042 _enum: ['Fungible', 'NonFungible']1043 },1044 /**1045 * Lookup123: xcm::v1::Response1046 **/1047 XcmV1Response: {1048 _enum: {1049 Assets: 'XcmV1MultiassetMultiAssets',1050 Version: 'u32'1051 }1052 },1053 /**1054 * Lookup124: xcm::v2::Xcm<Call>1055 **/1056 XcmV2Xcm: 'Vec<XcmV2Instruction>',1057 /**1058 * Lookup126: xcm::v2::Instruction<Call>1059 **/1060 XcmV2Instruction: {1061 _enum: {1062 WithdrawAsset: 'XcmV1MultiassetMultiAssets',1063 ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',1064 ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',1065 QueryResponse: {1066 queryId: 'Compact<u64>',1067 response: 'XcmV2Response',1068 maxWeight: 'Compact<u64>',1069 },1070 TransferAsset: {1071 assets: 'XcmV1MultiassetMultiAssets',1072 beneficiary: 'XcmV1MultiLocation',1073 },1074 TransferReserveAsset: {1075 assets: 'XcmV1MultiassetMultiAssets',1076 dest: 'XcmV1MultiLocation',1077 xcm: 'XcmV2Xcm',1078 },1079 Transact: {1080 originType: 'XcmV0OriginKind',1081 requireWeightAtMost: 'Compact<u64>',1082 call: 'XcmDoubleEncoded',1083 },1084 HrmpNewChannelOpenRequest: {1085 sender: 'Compact<u32>',1086 maxMessageSize: 'Compact<u32>',1087 maxCapacity: 'Compact<u32>',1088 },1089 HrmpChannelAccepted: {1090 recipient: 'Compact<u32>',1091 },1092 HrmpChannelClosing: {1093 initiator: 'Compact<u32>',1094 sender: 'Compact<u32>',1095 recipient: 'Compact<u32>',1096 },1097 ClearOrigin: 'Null',1098 DescendOrigin: 'XcmV1MultilocationJunctions',1099 ReportError: {1100 queryId: 'Compact<u64>',1101 dest: 'XcmV1MultiLocation',1102 maxResponseWeight: 'Compact<u64>',1103 },1104 DepositAsset: {1105 assets: 'XcmV1MultiassetMultiAssetFilter',1106 maxAssets: 'Compact<u32>',1107 beneficiary: 'XcmV1MultiLocation',1108 },1109 DepositReserveAsset: {1110 assets: 'XcmV1MultiassetMultiAssetFilter',1111 maxAssets: 'Compact<u32>',1112 dest: 'XcmV1MultiLocation',1113 xcm: 'XcmV2Xcm',1114 },1115 ExchangeAsset: {1116 give: 'XcmV1MultiassetMultiAssetFilter',1117 receive: 'XcmV1MultiassetMultiAssets',1118 },1119 InitiateReserveWithdraw: {1120 assets: 'XcmV1MultiassetMultiAssetFilter',1121 reserve: 'XcmV1MultiLocation',1122 xcm: 'XcmV2Xcm',1123 },1124 InitiateTeleport: {1125 assets: 'XcmV1MultiassetMultiAssetFilter',1126 dest: 'XcmV1MultiLocation',1127 xcm: 'XcmV2Xcm',1128 },1129 QueryHolding: {1130 queryId: 'Compact<u64>',1131 dest: 'XcmV1MultiLocation',1132 assets: 'XcmV1MultiassetMultiAssetFilter',1133 maxResponseWeight: 'Compact<u64>',1134 },1135 BuyExecution: {1136 fees: 'XcmV1MultiAsset',1137 weightLimit: 'XcmV2WeightLimit',1138 },1139 RefundSurplus: 'Null',1140 SetErrorHandler: 'XcmV2Xcm',1141 SetAppendix: 'XcmV2Xcm',1142 ClearError: 'Null',1143 ClaimAsset: {1144 assets: 'XcmV1MultiassetMultiAssets',1145 ticket: 'XcmV1MultiLocation',1146 },1147 Trap: 'Compact<u64>',1148 SubscribeVersion: {1149 queryId: 'Compact<u64>',1150 maxResponseWeight: 'Compact<u64>',1151 },1152 UnsubscribeVersion: 'Null'1153 }1154 },1155 /**1156 * Lookup127: xcm::v2::Response1157 **/1158 XcmV2Response: {1159 _enum: {1160 Null: 'Null',1161 Assets: 'XcmV1MultiassetMultiAssets',1162 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',1163 Version: 'u32'1164 }1165 },1166 /**1167 * Lookup130: xcm::v2::traits::Error1168 **/1169 XcmV2TraitsError: {1170 _enum: {1171 Overflow: 'Null',1172 Unimplemented: 'Null',1173 UntrustedReserveLocation: 'Null',1174 UntrustedTeleportLocation: 'Null',1175 MultiLocationFull: 'Null',1176 MultiLocationNotInvertible: 'Null',1177 BadOrigin: 'Null',1178 InvalidLocation: 'Null',1179 AssetNotFound: 'Null',1180 FailedToTransactAsset: 'Null',1181 NotWithdrawable: 'Null',1182 LocationCannotHold: 'Null',1183 ExceedsMaxMessageSize: 'Null',1184 DestinationUnsupported: 'Null',1185 Transport: 'Null',1186 Unroutable: 'Null',1187 UnknownClaim: 'Null',1188 FailedToDecode: 'Null',1189 MaxWeightInvalid: 'Null',1190 NotHoldingFees: 'Null',1191 TooExpensive: 'Null',1192 Trap: 'u64',1193 UnhandledXcmVersion: 'Null',1194 WeightLimitReached: 'u64',1195 Barrier: 'Null',1196 WeightNotComputable: 'Null'1197 }1198 },1199 /**1200 * Lookup131: xcm::v2::WeightLimit1201 **/1202 XcmV2WeightLimit: {1203 _enum: {1204 Unlimited: 'Null',1205 Limited: 'Compact<u64>'1206 }1207 },1208 /**1209 * Lookup132: xcm::VersionedMultiAssets1210 **/1211 XcmVersionedMultiAssets: {1212 _enum: {1213 V0: 'Vec<XcmV0MultiAsset>',1214 V1: 'XcmV1MultiassetMultiAssets'1215 }1216 },1217 /**1218 * Lookup147: cumulus_pallet_xcm::pallet::Call<T>1219 **/1220 CumulusPalletXcmCall: 'Null',1221 /**1222 * Lookup148: cumulus_pallet_dmp_queue::pallet::Call<T>1223 **/1224 CumulusPalletDmpQueueCall: {1225 _enum: {1226 service_overweight: {1227 index: 'u64',1228 weightLimit: 'u64'1229 }1230 }1231 },1232 /**1233 * Lookup149: pallet_inflation::pallet::Call<T>1234 **/1235 PalletInflationCall: {1236 _enum: {1237 start_inflation: {1238 inflationStartRelayBlock: 'u32'1239 }1240 }1241 },1242 /**1243 * Lookup150: pallet_unique::Call<T>1244 **/1245 PalletUniqueCall: {1246 _enum: {1247 create_collection: {1248 collectionName: 'Vec<u16>',1249 collectionDescription: 'Vec<u16>',1250 tokenPrefix: 'Bytes',1251 mode: 'UpDataStructsCollectionMode',1252 },1253 create_collection_ex: {1254 data: 'UpDataStructsCreateCollectionData',1255 },1256 destroy_collection: {1257 collectionId: 'u32',1258 },1259 add_to_allow_list: {1260 collectionId: 'u32',1261 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1262 },1263 remove_from_allow_list: {1264 collectionId: 'u32',1265 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1266 },1267 set_public_access_mode: {1268 collectionId: 'u32',1269 mode: 'UpDataStructsAccessMode',1270 },1271 set_mint_permission: {1272 collectionId: 'u32',1273 mintPermission: 'bool',1274 },1275 change_collection_owner: {1276 collectionId: 'u32',1277 newOwner: 'AccountId32',1278 },1279 add_collection_admin: {1280 collectionId: 'u32',1281 newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',1282 },1283 remove_collection_admin: {1284 collectionId: 'u32',1285 accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',1286 },1287 set_collection_sponsor: {1288 collectionId: 'u32',1289 newSponsor: 'AccountId32',1290 },1291 confirm_sponsorship: {1292 collectionId: 'u32',1293 },1294 remove_collection_sponsor: {1295 collectionId: 'u32',1296 },1297 create_item: {1298 collectionId: 'u32',1299 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1300 data: 'UpDataStructsCreateItemData',1301 },1302 create_multiple_items: {1303 collectionId: 'u32',1304 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1305 itemsData: 'Vec<UpDataStructsCreateItemData>',1306 },1307 create_multiple_items_ex: {1308 collectionId: 'u32',1309 data: 'UpDataStructsCreateItemExData',1310 },1311 set_transfers_enabled_flag: {1312 collectionId: 'u32',1313 value: 'bool',1314 },1315 burn_item: {1316 collectionId: 'u32',1317 itemId: 'u32',1318 value: 'u128',1319 },1320 burn_from: {1321 collectionId: 'u32',1322 from: 'PalletEvmAccountBasicCrossAccountIdRepr',1323 itemId: 'u32',1324 value: 'u128',1325 },1326 transfer: {1327 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1328 collectionId: 'u32',1329 itemId: 'u32',1330 value: 'u128',1331 },1332 approve: {1333 spender: 'PalletEvmAccountBasicCrossAccountIdRepr',1334 collectionId: 'u32',1335 itemId: 'u32',1336 amount: 'u128',1337 },1338 transfer_from: {1339 from: 'PalletEvmAccountBasicCrossAccountIdRepr',1340 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1341 collectionId: 'u32',1342 itemId: 'u32',1343 value: 'u128',1344 },1345 set_variable_meta_data: {1346 collectionId: 'u32',1347 itemId: 'u32',1348 data: 'Bytes',1349 },1350 set_meta_update_permission_flag: {1351 collectionId: 'u32',1352 value: 'UpDataStructsMetaUpdatePermission',1353 },1354 set_schema_version: {1355 collectionId: 'u32',1356 version: 'UpDataStructsSchemaVersion',1357 },1358 set_offchain_schema: {1359 collectionId: 'u32',1360 schema: 'Bytes',1361 },1362 set_const_on_chain_schema: {1363 collectionId: 'u32',1364 schema: 'Bytes',1365 },1366 set_variable_on_chain_schema: {1367 collectionId: 'u32',1368 schema: 'Bytes',1369 },1370 set_collection_limits: {1371 collectionId: 'u32',1372 newLimit: 'UpDataStructsCollectionLimits'1373 }1374 }1375 },1376 /**1377 * Lookup156: up_data_structs::CollectionMode1378 **/1379 UpDataStructsCollectionMode: {1380 _enum: {1381 NFT: 'Null',1382 Fungible: 'u8',1383 ReFungible: 'Null'1384 }1385 },1386 /**1387 * Lookup157: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>1388 **/1389 UpDataStructsCreateCollectionData: {1390 mode: 'UpDataStructsCollectionMode',1391 access: 'Option<UpDataStructsAccessMode>',1392 name: 'Vec<u16>',1393 description: 'Vec<u16>',1394 tokenPrefix: 'Bytes',1395 offchainSchema: 'Bytes',1396 schemaVersion: 'Option<UpDataStructsSchemaVersion>',1397 pendingSponsor: 'Option<AccountId32>',1398 limits: 'Option<UpDataStructsCollectionLimits>',1399 variableOnChainSchema: 'Bytes',1400 constOnChainSchema: 'Bytes',1401 metaUpdatePermission: 'Option<UpDataStructsMetaUpdatePermission>'1402 },1403 /**1404 * Lookup159: up_data_structs::AccessMode1405 **/1406 UpDataStructsAccessMode: {1407 _enum: ['Normal', 'AllowList']1408 },1409 /**1410 * Lookup162: up_data_structs::SchemaVersion1411 **/1412 UpDataStructsSchemaVersion: {1413 _enum: ['ImageURL', 'Unique']1414 },1415 /**1416 * Lookup165: up_data_structs::CollectionLimits1417 **/1418 UpDataStructsCollectionLimits: {1419 accountTokenOwnershipLimit: 'Option<u32>',1420 sponsoredDataSize: 'Option<u32>',1421 sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',1422 tokenLimit: 'Option<u32>',1423 sponsorTransferTimeout: 'Option<u32>',1424 sponsorApproveTimeout: 'Option<u32>',1425 ownerCanTransfer: 'Option<bool>',1426 ownerCanDestroy: 'Option<bool>',1427 transfersEnabled: 'Option<bool>'1428 },1429 /**1430 * Lookup167: up_data_structs::SponsoringRateLimit1431 **/1432 UpDataStructsSponsoringRateLimit: {1433 _enum: {1434 SponsoringDisabled: 'Null',1435 Blocks: 'u32'1436 }1437 },1438 /**1439 * Lookup171: up_data_structs::MetaUpdatePermission1440 **/1441 UpDataStructsMetaUpdatePermission: {1442 _enum: ['ItemOwner', 'Admin', 'None']1443 },1444 /**1445 * Lookup173: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1446 **/1447 PalletEvmAccountBasicCrossAccountIdRepr: {1448 _enum: {1449 Substrate: 'AccountId32',1450 Ethereum: 'H160'1451 }1452 },1453 /**1454 * Lookup175: up_data_structs::CreateItemData1455 **/1456 UpDataStructsCreateItemData: {1457 _enum: {1458 NFT: 'UpDataStructsCreateNftData',1459 Fungible: 'UpDataStructsCreateFungibleData',1460 ReFungible: 'UpDataStructsCreateReFungibleData'1461 }1462 },1463 /**1464 * Lookup176: up_data_structs::CreateNftData1465 **/1466 UpDataStructsCreateNftData: {1467 constData: 'Bytes',1468 variableData: 'Bytes'1469 },1470 /**1471 * Lookup178: up_data_structs::CreateFungibleData1472 **/1473 UpDataStructsCreateFungibleData: {1474 value: 'u128'1475 },1476 /**1477 * Lookup179: up_data_structs::CreateReFungibleData1478 **/1479 UpDataStructsCreateReFungibleData: {1480 constData: 'Bytes',1481 variableData: 'Bytes',1482 pieces: 'u128'1483 },1484 /**1485 * Lookup181: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1486 **/1487 UpDataStructsCreateItemExData: {1488 _enum: {1489 NFT: 'Vec<UpDataStructsCreateNftExData>',1490 Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',1491 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',1492 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1493 }1494 },1495 /**1496 * Lookup183: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1497 **/1498 UpDataStructsCreateNftExData: {1499 constData: 'Bytes',1500 variableData: 'Bytes',1501 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1502 },1503 /**1504 * Lookup190: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1505 **/1506 UpDataStructsCreateRefungibleExData: {1507 constData: 'Bytes',1508 variableData: 'Bytes',1509 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'1510 },1511 /**1512 * Lookup193: pallet_template_transaction_payment::Call<T>1513 **/1514 PalletTemplateTransactionPaymentCall: 'Null',1515 /**1516 * Lookup194: pallet_evm::pallet::Call<T>1517 **/1518 PalletEvmCall: {1519 _enum: {1520 withdraw: {1521 address: 'H160',1522 value: 'u128',1523 },1524 call: {1525 source: 'H160',1526 target: 'H160',1527 input: 'Bytes',1528 value: 'U256',1529 gasLimit: 'u64',1530 maxFeePerGas: 'U256',1531 maxPriorityFeePerGas: 'Option<U256>',1532 nonce: 'Option<U256>',1533 accessList: 'Vec<(H160,Vec<H256>)>',1534 },1535 create: {1536 source: 'H160',1537 init: 'Bytes',1538 value: 'U256',1539 gasLimit: 'u64',1540 maxFeePerGas: 'U256',1541 maxPriorityFeePerGas: 'Option<U256>',1542 nonce: 'Option<U256>',1543 accessList: 'Vec<(H160,Vec<H256>)>',1544 },1545 create2: {1546 source: 'H160',1547 init: 'Bytes',1548 salt: 'H256',1549 value: 'U256',1550 gasLimit: 'u64',1551 maxFeePerGas: 'U256',1552 maxPriorityFeePerGas: 'Option<U256>',1553 nonce: 'Option<U256>',1554 accessList: 'Vec<(H160,Vec<H256>)>'1555 }1556 }1557 },1558 /**1559 * Lookup200: pallet_ethereum::pallet::Call<T>1560 **/1561 PalletEthereumCall: {1562 _enum: {1563 transact: {1564 transaction: 'EthereumTransactionTransactionV2'1565 }1566 }1567 },1568 /**1569 * Lookup201: ethereum::transaction::TransactionV21570 **/1571 EthereumTransactionTransactionV2: {1572 _enum: {1573 Legacy: 'EthereumTransactionLegacyTransaction',1574 EIP2930: 'EthereumTransactionEip2930Transaction',1575 EIP1559: 'EthereumTransactionEip1559Transaction'1576 }1577 },1578 /**1579 * Lookup202: ethereum::transaction::LegacyTransaction1580 **/1581 EthereumTransactionLegacyTransaction: {1582 nonce: 'U256',1583 gasPrice: 'U256',1584 gasLimit: 'U256',1585 action: 'EthereumTransactionTransactionAction',1586 value: 'U256',1587 input: 'Bytes',1588 signature: 'EthereumTransactionTransactionSignature'1589 },1590 /**1591 * Lookup203: ethereum::transaction::TransactionAction1592 **/1593 EthereumTransactionTransactionAction: {1594 _enum: {1595 Call: 'H160',1596 Create: 'Null'1597 }1598 },1599 /**1600 * Lookup204: ethereum::transaction::TransactionSignature1601 **/1602 EthereumTransactionTransactionSignature: {1603 v: 'u64',1604 r: 'H256',1605 s: 'H256'1606 },1607 /**1608 * Lookup206: ethereum::transaction::EIP2930Transaction1609 **/1610 EthereumTransactionEip2930Transaction: {1611 chainId: 'u64',1612 nonce: 'U256',1613 gasPrice: 'U256',1614 gasLimit: 'U256',1615 action: 'EthereumTransactionTransactionAction',1616 value: 'U256',1617 input: 'Bytes',1618 accessList: 'Vec<EthereumTransactionAccessListItem>',1619 oddYParity: 'bool',1620 r: 'H256',1621 s: 'H256'1622 },1623 /**1624 * Lookup208: ethereum::transaction::AccessListItem1625 **/1626 EthereumTransactionAccessListItem: {1627 address: 'H160',1628 storageKeys: 'Vec<H256>'1629 },1630 /**1631 * Lookup209: ethereum::transaction::EIP1559Transaction1632 **/1633 EthereumTransactionEip1559Transaction: {1634 chainId: 'u64',1635 nonce: 'U256',1636 maxPriorityFeePerGas: 'U256',1637 maxFeePerGas: 'U256',1638 gasLimit: 'U256',1639 action: 'EthereumTransactionTransactionAction',1640 value: 'U256',1641 input: 'Bytes',1642 accessList: 'Vec<EthereumTransactionAccessListItem>',1643 oddYParity: 'bool',1644 r: 'H256',1645 s: 'H256'1646 },1647 /**1648 * Lookup210: pallet_evm_migration::pallet::Call<T>1649 **/1650 PalletEvmMigrationCall: {1651 _enum: {1652 begin: {1653 address: 'H160',1654 },1655 set_data: {1656 address: 'H160',1657 data: 'Vec<(H256,H256)>',1658 },1659 finish: {1660 address: 'H160',1661 code: 'Bytes'1662 }1663 }1664 },1665 /**1666 * Lookup213: pallet_sudo::pallet::Event<T>1667 **/1668 PalletSudoEvent: {1669 _enum: {1670 Sudid: {1671 sudoResult: 'Result<Null, SpRuntimeDispatchError>',1672 },1673 KeyChanged: {1674 oldSudoer: 'Option<AccountId32>',1675 },1676 SudoAsDone: {1677 sudoResult: 'Result<Null, SpRuntimeDispatchError>'1678 }1679 }1680 },1681 /**1682 * Lookup215: sp_runtime::DispatchError1683 **/1684 SpRuntimeDispatchError: {1685 _enum: {1686 Other: 'Null',1687 CannotLookup: 'Null',1688 BadOrigin: 'Null',1689 Module: 'SpRuntimeModuleError',1690 ConsumerRemaining: 'Null',1691 NoProviders: 'Null',1692 TooManyConsumers: 'Null',1693 Token: 'SpRuntimeTokenError',1694 Arithmetic: 'SpRuntimeArithmeticError',1695 Transactional: 'SpRuntimeTransactionalError'1696 }1697 },1698 /**1699 * Lookup216: sp_runtime::ModuleError1700 **/1701 SpRuntimeModuleError: {1702 index: 'u8',1703 error: '[u8;4]'1704 },1705 /**1706 * Lookup217: sp_runtime::TokenError1707 **/1708 SpRuntimeTokenError: {1709 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1710 },1711 /**1712 * Lookup218: sp_runtime::ArithmeticError1713 **/1714 SpRuntimeArithmeticError: {1715 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1716 },1717 /**1718 * Lookup219: sp_runtime::TransactionalError1719 **/1720 SpRuntimeTransactionalError: {1721 _enum: ['LimitReached', 'NoLayer']1722 },1723 /**1724 * Lookup220: pallet_sudo::pallet::Error<T>1725 **/1726 PalletSudoError: {1727 _enum: ['RequireSudo']1728 },1729 /**1730 * Lookup221: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1731 **/1732 FrameSystemAccountInfo: {1733 nonce: 'u32',1734 consumers: 'u32',1735 providers: 'u32',1736 sufficients: 'u32',1737 data: 'PalletBalancesAccountData'1738 },1739 /**1740 * Lookup222: frame_support::weights::PerDispatchClass<T>1741 **/1742 FrameSupportWeightsPerDispatchClassU64: {1743 normal: 'u64',1744 operational: 'u64',1745 mandatory: 'u64'1746 },1747 /**1748 * Lookup223: sp_runtime::generic::digest::Digest1749 **/1750 SpRuntimeDigest: {1751 logs: 'Vec<SpRuntimeDigestDigestItem>'1752 },1753 /**1754 * Lookup225: sp_runtime::generic::digest::DigestItem1755 **/1756 SpRuntimeDigestDigestItem: {1757 _enum: {1758 Other: 'Bytes',1759 __Unused1: 'Null',1760 __Unused2: 'Null',1761 __Unused3: 'Null',1762 Consensus: '([u8;4],Bytes)',1763 Seal: '([u8;4],Bytes)',1764 PreRuntime: '([u8;4],Bytes)',1765 __Unused7: 'Null',1766 RuntimeEnvironmentUpdated: 'Null'1767 }1768 },1769 /**1770 * Lookup227: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>1771 **/1772 FrameSystemEventRecord: {1773 phase: 'FrameSystemPhase',1774 event: 'Event',1775 topics: 'Vec<H256>'1776 },1777 /**1778 * Lookup229: frame_system::pallet::Event<T>1779 **/1780 FrameSystemEvent: {1781 _enum: {1782 ExtrinsicSuccess: {1783 dispatchInfo: 'FrameSupportWeightsDispatchInfo',1784 },1785 ExtrinsicFailed: {1786 dispatchError: 'SpRuntimeDispatchError',1787 dispatchInfo: 'FrameSupportWeightsDispatchInfo',1788 },1789 CodeUpdated: 'Null',1790 NewAccount: {1791 account: 'AccountId32',1792 },1793 KilledAccount: {1794 account: 'AccountId32',1795 },1796 Remarked: {1797 _alias: {1798 hash_: 'hash',1799 },1800 sender: 'AccountId32',1801 hash_: 'H256'1802 }1803 }1804 },1805 /**1806 * Lookup230: frame_support::weights::DispatchInfo1807 **/1808 FrameSupportWeightsDispatchInfo: {1809 weight: 'u64',1810 class: 'FrameSupportWeightsDispatchClass',1811 paysFee: 'FrameSupportWeightsPays'1812 },1813 /**1814 * Lookup231: frame_support::weights::DispatchClass1815 **/1816 FrameSupportWeightsDispatchClass: {1817 _enum: ['Normal', 'Operational', 'Mandatory']1818 },1819 /**1820 * Lookup232: frame_support::weights::Pays1821 **/1822 FrameSupportWeightsPays: {1823 _enum: ['Yes', 'No']1824 },1825 /**1826 * Lookup233: orml_vesting::module::Event<T>1827 **/1828 OrmlVestingModuleEvent: {1829 _enum: {1830 VestingScheduleAdded: {1831 from: 'AccountId32',1832 to: 'AccountId32',1833 vestingSchedule: 'OrmlVestingVestingSchedule',1834 },1835 Claimed: {1836 who: 'AccountId32',1837 amount: 'u128',1838 },1839 VestingSchedulesUpdated: {1840 who: 'AccountId32'1841 }1842 }1843 },1844 /**1845 * Lookup234: cumulus_pallet_xcmp_queue::pallet::Event<T>1846 **/1847 CumulusPalletXcmpQueueEvent: {1848 _enum: {1849 Success: 'Option<H256>',1850 Fail: '(Option<H256>,XcmV2TraitsError)',1851 BadVersion: 'Option<H256>',1852 BadFormat: 'Option<H256>',1853 UpwardMessageSent: 'Option<H256>',1854 XcmpMessageSent: 'Option<H256>',1855 OverweightEnqueued: '(u32,u32,u64,u64)',1856 OverweightServiced: '(u64,u64)'1857 }1858 },1859 /**1860 * Lookup235: pallet_xcm::pallet::Event<T>1861 **/1862 PalletXcmEvent: {1863 _enum: {1864 Attempted: 'XcmV2TraitsOutcome',1865 Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',1866 UnexpectedResponse: '(XcmV1MultiLocation,u64)',1867 ResponseReady: '(u64,XcmV2Response)',1868 Notified: '(u64,u8,u8)',1869 NotifyOverweight: '(u64,u8,u8,u64,u64)',1870 NotifyDispatchError: '(u64,u8,u8)',1871 NotifyDecodeFailed: '(u64,u8,u8)',1872 InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',1873 InvalidResponderVersion: '(XcmV1MultiLocation,u64)',1874 ResponseTaken: 'u64',1875 AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',1876 VersionChangeNotified: '(XcmV1MultiLocation,u32)',1877 SupportedVersionChanged: '(XcmV1MultiLocation,u32)',1878 NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',1879 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'1880 }1881 },1882 /**1883 * Lookup236: xcm::v2::traits::Outcome1884 **/1885 XcmV2TraitsOutcome: {1886 _enum: {1887 Complete: 'u64',1888 Incomplete: '(u64,XcmV2TraitsError)',1889 Error: 'XcmV2TraitsError'1890 }1891 },1892 /**1893 * Lookup238: cumulus_pallet_xcm::pallet::Event<T>1894 **/1895 CumulusPalletXcmEvent: {1896 _enum: {1897 InvalidFormat: '[u8;8]',1898 UnsupportedVersion: '[u8;8]',1899 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'1900 }1901 },1902 /**1903 * Lookup239: cumulus_pallet_dmp_queue::pallet::Event<T>1904 **/1905 CumulusPalletDmpQueueEvent: {1906 _enum: {1907 InvalidFormat: '[u8;32]',1908 UnsupportedVersion: '[u8;32]',1909 ExecutedDownward: '([u8;32],XcmV2TraitsOutcome)',1910 WeightExhausted: '([u8;32],u64,u64)',1911 OverweightEnqueued: '([u8;32],u64,u64)',1912 OverweightServiced: '(u64,u64)'1913 }1914 },1915 /**1916 * Lookup240: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1917 **/1918 PalletUniqueRawEvent: {1919 _enum: {1920 CollectionSponsorRemoved: 'u32',1921 CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',1922 CollectionOwnedChanged: '(u32,AccountId32)',1923 CollectionSponsorSet: '(u32,AccountId32)',1924 ConstOnChainSchemaSet: 'u32',1925 SponsorshipConfirmed: '(u32,AccountId32)',1926 CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',1927 AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',1928 AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',1929 CollectionLimitSet: 'u32',1930 MintPermissionSet: 'u32',1931 OffchainSchemaSet: 'u32',1932 PublicAccessModeSet: '(u32,UpDataStructsAccessMode)',1933 SchemaVersionSet: 'u32',1934 VariableOnChainSchemaSet: 'u32'1935 }1936 },1937 /**1938 * Lookup241: pallet_common::pallet::Event<T>1939 **/1940 PalletCommonEvent: {1941 _enum: {1942 CollectionCreated: '(u32,u8,AccountId32)',1943 CollectionDestroyed: 'u32',1944 ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',1945 ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',1946 Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',1947 Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)'1948 }1949 },1950 /**1951 * Lookup242: pallet_evm::pallet::Event<T>1952 **/1953 PalletEvmEvent: {1954 _enum: {1955 Log: 'EthereumLog',1956 Created: 'H160',1957 CreatedFailed: 'H160',1958 Executed: 'H160',1959 ExecutedFailed: 'H160',1960 BalanceDeposit: '(AccountId32,H160,U256)',1961 BalanceWithdraw: '(AccountId32,H160,U256)'1962 }1963 },1964 /**1965 * Lookup243: ethereum::log::Log1966 **/1967 EthereumLog: {1968 address: 'H160',1969 topics: 'Vec<H256>',1970 data: 'Bytes'1971 },1972 /**1973 * Lookup244: pallet_ethereum::pallet::Event1974 **/1975 PalletEthereumEvent: {1976 _enum: {1977 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1978 }1979 },1980 /**1981 * Lookup245: evm_core::error::ExitReason1982 **/1983 EvmCoreErrorExitReason: {1984 _enum: {1985 Succeed: 'EvmCoreErrorExitSucceed',1986 Error: 'EvmCoreErrorExitError',1987 Revert: 'EvmCoreErrorExitRevert',1988 Fatal: 'EvmCoreErrorExitFatal'1989 }1990 },1991 /**1992 * Lookup246: evm_core::error::ExitSucceed1993 **/1994 EvmCoreErrorExitSucceed: {1995 _enum: ['Stopped', 'Returned', 'Suicided']1996 },1997 /**1998 * Lookup247: evm_core::error::ExitError1999 **/2000 EvmCoreErrorExitError: {2001 _enum: {2002 StackUnderflow: 'Null',2003 StackOverflow: 'Null',2004 InvalidJump: 'Null',2005 InvalidRange: 'Null',2006 DesignatedInvalid: 'Null',2007 CallTooDeep: 'Null',2008 CreateCollision: 'Null',2009 CreateContractLimit: 'Null',2010 OutOfOffset: 'Null',2011 OutOfGas: 'Null',2012 OutOfFund: 'Null',2013 PCUnderflow: 'Null',2014 CreateEmpty: 'Null',2015 Other: 'Text',2016 InvalidCode: 'Null'2017 }2018 },2019 /**2020 * Lookup250: evm_core::error::ExitRevert2021 **/2022 EvmCoreErrorExitRevert: {2023 _enum: ['Reverted']2024 },2025 /**2026 * Lookup251: evm_core::error::ExitFatal2027 **/2028 EvmCoreErrorExitFatal: {2029 _enum: {2030 NotSupported: 'Null',2031 UnhandledInterrupt: 'Null',2032 CallErrorAsFatal: 'EvmCoreErrorExitError',2033 Other: 'Text'2034 }2035 },2036 /**2037 * Lookup252: frame_system::Phase2038 **/2039 FrameSystemPhase: {2040 _enum: {2041 ApplyExtrinsic: 'u32',2042 Finalization: 'Null',2043 Initialization: 'Null'2044 }2045 },2046 /**2047 * Lookup254: frame_system::LastRuntimeUpgradeInfo2048 **/2049 FrameSystemLastRuntimeUpgradeInfo: {2050 specVersion: 'Compact<u32>',2051 specName: 'Text'2052 },2053 /**2054 * Lookup255: frame_system::limits::BlockWeights2055 **/2056 FrameSystemLimitsBlockWeights: {2057 baseBlock: 'u64',2058 maxBlock: 'u64',2059 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2060 },2061 /**2062 * Lookup256: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2063 **/2064 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2065 normal: 'FrameSystemLimitsWeightsPerClass',2066 operational: 'FrameSystemLimitsWeightsPerClass',2067 mandatory: 'FrameSystemLimitsWeightsPerClass'2068 },2069 /**2070 * Lookup257: frame_system::limits::WeightsPerClass2071 **/2072 FrameSystemLimitsWeightsPerClass: {2073 baseExtrinsic: 'u64',2074 maxExtrinsic: 'Option<u64>',2075 maxTotal: 'Option<u64>',2076 reserved: 'Option<u64>'2077 },2078 /**2079 * Lookup259: frame_system::limits::BlockLength2080 **/2081 FrameSystemLimitsBlockLength: {2082 max: 'FrameSupportWeightsPerDispatchClassU32'2083 },2084 /**2085 * Lookup260: frame_support::weights::PerDispatchClass<T>2086 **/2087 FrameSupportWeightsPerDispatchClassU32: {2088 normal: 'u32',2089 operational: 'u32',2090 mandatory: 'u32'2091 },2092 /**2093 * Lookup261: frame_support::weights::RuntimeDbWeight2094 **/2095 FrameSupportWeightsRuntimeDbWeight: {2096 read: 'u64',2097 write: 'u64'2098 },2099 /**2100 * Lookup262: sp_version::RuntimeVersion2101 **/2102 SpVersionRuntimeVersion: {2103 specName: 'Text',2104 implName: 'Text',2105 authoringVersion: 'u32',2106 specVersion: 'u32',2107 implVersion: 'u32',2108 apis: 'Vec<([u8;8],u32)>',2109 transactionVersion: 'u32',2110 stateVersion: 'u8'2111 },2112 /**2113 * Lookup266: frame_system::pallet::Error<T>2114 **/2115 FrameSystemError: {2116 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2117 },2118 /**2119 * Lookup268: orml_vesting::module::Error<T>2120 **/2121 OrmlVestingModuleError: {2122 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2123 },2124 /**2125 * Lookup270: cumulus_pallet_xcmp_queue::InboundChannelDetails2126 **/2127 CumulusPalletXcmpQueueInboundChannelDetails: {2128 sender: 'u32',2129 state: 'CumulusPalletXcmpQueueInboundState',2130 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2131 },2132 /**2133 * Lookup271: cumulus_pallet_xcmp_queue::InboundState2134 **/2135 CumulusPalletXcmpQueueInboundState: {2136 _enum: ['Ok', 'Suspended']2137 },2138 /**2139 * Lookup274: polkadot_parachain::primitives::XcmpMessageFormat2140 **/2141 PolkadotParachainPrimitivesXcmpMessageFormat: {2142 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2143 },2144 /**2145 * Lookup277: cumulus_pallet_xcmp_queue::OutboundChannelDetails2146 **/2147 CumulusPalletXcmpQueueOutboundChannelDetails: {2148 recipient: 'u32',2149 state: 'CumulusPalletXcmpQueueOutboundState',2150 signalsExist: 'bool',2151 firstIndex: 'u16',2152 lastIndex: 'u16'2153 },2154 /**2155 * Lookup278: cumulus_pallet_xcmp_queue::OutboundState2156 **/2157 CumulusPalletXcmpQueueOutboundState: {2158 _enum: ['Ok', 'Suspended']2159 },2160 /**2161 * Lookup280: cumulus_pallet_xcmp_queue::QueueConfigData2162 **/2163 CumulusPalletXcmpQueueQueueConfigData: {2164 suspendThreshold: 'u32',2165 dropThreshold: 'u32',2166 resumeThreshold: 'u32',2167 thresholdWeight: 'u64',2168 weightRestrictDecay: 'u64',2169 xcmpMaxIndividualWeight: 'u64'2170 },2171 /**2172 * Lookup282: cumulus_pallet_xcmp_queue::pallet::Error<T>2173 **/2174 CumulusPalletXcmpQueueError: {2175 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2176 },2177 /**2178 * Lookup283: pallet_xcm::pallet::Error<T>2179 **/2180 PalletXcmError: {2181 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2182 },2183 /**2184 * Lookup284: cumulus_pallet_xcm::pallet::Error<T>2185 **/2186 CumulusPalletXcmError: 'Null',2187 /**2188 * Lookup285: cumulus_pallet_dmp_queue::ConfigData2189 **/2190 CumulusPalletDmpQueueConfigData: {2191 maxIndividual: 'u64'2192 },2193 /**2194 * Lookup286: cumulus_pallet_dmp_queue::PageIndexData2195 **/2196 CumulusPalletDmpQueuePageIndexData: {2197 beginUsed: 'u32',2198 endUsed: 'u32',2199 overweightCount: 'u64'2200 },2201 /**2202 * Lookup289: cumulus_pallet_dmp_queue::pallet::Error<T>2203 **/2204 CumulusPalletDmpQueueError: {2205 _enum: ['Unknown', 'OverLimit']2206 },2207 /**2208 * Lookup293: pallet_unique::Error<T>2209 **/2210 PalletUniqueError: {2211 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2212 },2213 /**2214 * Lookup294: up_data_structs::Collection<sp_core::crypto::AccountId32>2215 **/2216 UpDataStructsCollection: {2217 owner: 'AccountId32',2218 mode: 'UpDataStructsCollectionMode',2219 access: 'UpDataStructsAccessMode',2220 name: 'Vec<u16>',2221 description: 'Vec<u16>',2222 tokenPrefix: 'Bytes',2223 mintMode: 'bool',2224 offchainSchema: 'Bytes',2225 schemaVersion: 'UpDataStructsSchemaVersion',2226 sponsorship: 'UpDataStructsSponsorshipState',2227 limits: 'UpDataStructsCollectionLimits',2228 variableOnChainSchema: 'Bytes',2229 constOnChainSchema: 'Bytes',2230 metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'2231 },2232 /**2233 * Lookup295: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2234 **/2235 UpDataStructsSponsorshipState: {2236 _enum: {2237 Disabled: 'Null',2238 Unconfirmed: 'AccountId32',2239 Confirmed: 'AccountId32'2240 }2241 },2242 /**2243 * Lookup298: up_data_structs::CollectionStats2244 **/2245 UpDataStructsCollectionStats: {2246 created: 'u32',2247 destroyed: 'u32',2248 alive: 'u32'2249 },2250 /**2251 * Lookup299: pallet_common::pallet::Error<T>2252 **/2253 PalletCommonError: {2254 _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']2255 },2256 /**2257 * Lookup301: pallet_fungible::pallet::Error<T>2258 **/2259 PalletFungibleError: {2260 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData']2261 },2262 /**2263 * Lookup302: pallet_refungible::ItemData2264 **/2265 PalletRefungibleItemData: {2266 constData: 'Bytes',2267 variableData: 'Bytes'2268 },2269 /**2270 * Lookup306: pallet_refungible::pallet::Error<T>2271 **/2272 PalletRefungibleError: {2273 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces']2274 },2275 /**2276 * Lookup307: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2277 **/2278 PalletNonfungibleItemData: {2279 constData: 'Bytes',2280 variableData: 'Bytes',2281 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2282 },2283 /**2284 * Lookup308: pallet_nonfungible::pallet::Error<T>2285 **/2286 PalletNonfungibleError: {2287 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']2288 },2289 /**2290 * Lookup310: pallet_evm::pallet::Error<T>2291 **/2292 PalletEvmError: {2293 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2294 },2295 /**2296 * Lookup313: fp_rpc::TransactionStatus2297 **/2298 FpRpcTransactionStatus: {2299 transactionHash: 'H256',2300 transactionIndex: 'u32',2301 from: 'H160',2302 to: 'Option<H160>',2303 contractAddress: 'Option<H160>',2304 logs: 'Vec<EthereumLog>',2305 logsBloom: 'EthbloomBloom'2306 },2307 /**2308 * Lookup316: ethbloom::Bloom2309 **/2310 EthbloomBloom: '[u8;256]',2311 /**2312 * Lookup318: ethereum::receipt::ReceiptV32313 **/2314 EthereumReceiptReceiptV3: {2315 _enum: {2316 Legacy: 'EthereumReceiptEip658ReceiptData',2317 EIP2930: 'EthereumReceiptEip658ReceiptData',2318 EIP1559: 'EthereumReceiptEip658ReceiptData'2319 }2320 },2321 /**2322 * Lookup319: ethereum::receipt::EIP658ReceiptData2323 **/2324 EthereumReceiptEip658ReceiptData: {2325 statusCode: 'u8',2326 usedGas: 'U256',2327 logsBloom: 'EthbloomBloom',2328 logs: 'Vec<EthereumLog>'2329 },2330 /**2331 * Lookup320: ethereum::block::Block<ethereum::transaction::TransactionV2>2332 **/2333 EthereumBlock: {2334 header: 'EthereumHeader',2335 transactions: 'Vec<EthereumTransactionTransactionV2>',2336 ommers: 'Vec<EthereumHeader>'2337 },2338 /**2339 * Lookup321: ethereum::header::Header2340 **/2341 EthereumHeader: {2342 parentHash: 'H256',2343 ommersHash: 'H256',2344 beneficiary: 'H160',2345 stateRoot: 'H256',2346 transactionsRoot: 'H256',2347 receiptsRoot: 'H256',2348 logsBloom: 'EthbloomBloom',2349 difficulty: 'U256',2350 number: 'U256',2351 gasLimit: 'U256',2352 gasUsed: 'U256',2353 timestamp: 'u64',2354 extraData: 'Bytes',2355 mixHash: 'H256',2356 nonce: 'EthereumTypesHashH64'2357 },2358 /**2359 * Lookup322: ethereum_types::hash::H642360 **/2361 EthereumTypesHashH64: '[u8;8]',2362 /**2363 * Lookup327: pallet_ethereum::pallet::Error<T>2364 **/2365 PalletEthereumError: {2366 _enum: ['InvalidSignature', 'PreLogExists']2367 },2368 /**2369 * Lookup328: pallet_evm_coder_substrate::pallet::Error<T>2370 **/2371 PalletEvmCoderSubstrateError: {2372 _enum: ['OutOfGas', 'OutOfFund']2373 },2374 /**2375 * Lookup329: pallet_evm_contract_helpers::SponsoringModeT2376 **/2377 PalletEvmContractHelpersSponsoringModeT: {2378 _enum: ['Disabled', 'Allowlisted', 'Generous']2379 },2380 /**2381 * Lookup331: pallet_evm_contract_helpers::pallet::Error<T>2382 **/2383 PalletEvmContractHelpersError: {2384 _enum: ['NoPermission']2385 },2386 /**2387 * Lookup332: pallet_evm_migration::pallet::Error<T>2388 **/2389 PalletEvmMigrationError: {2390 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']2391 },2392 /**2393 * Lookup334: sp_runtime::MultiSignature2394 **/2395 SpRuntimeMultiSignature: {2396 _enum: {2397 Ed25519: 'SpCoreEd25519Signature',2398 Sr25519: 'SpCoreSr25519Signature',2399 Ecdsa: 'SpCoreEcdsaSignature'2400 }2401 },2402 /**2403 * Lookup335: sp_core::ed25519::Signature2404 **/2405 SpCoreEd25519Signature: '[u8;64]',2406 /**2407 * Lookup337: sp_core::sr25519::Signature2408 **/2409 SpCoreSr25519Signature: '[u8;64]',2410 /**2411 * Lookup338: sp_core::ecdsa::Signature2412 **/2413 SpCoreEcdsaSignature: '[u8;65]',2414 /**2415 * Lookup341: frame_system::extensions::check_spec_version::CheckSpecVersion<T>2416 **/2417 FrameSystemExtensionsCheckSpecVersion: 'Null',2418 /**2419 * Lookup342: frame_system::extensions::check_genesis::CheckGenesis<T>2420 **/2421 FrameSystemExtensionsCheckGenesis: 'Null',2422 /**2423 * Lookup345: frame_system::extensions::check_nonce::CheckNonce<T>2424 **/2425 FrameSystemExtensionsCheckNonce: 'Compact<u32>',2426 /**2427 * Lookup346: frame_system::extensions::check_weight::CheckWeight<T>2428 **/2429 FrameSystemExtensionsCheckWeight: 'Null',2430 /**2431 * Lookup347: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>2432 **/2433 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',2434 /**2435 * Lookup348: opal_runtime::Runtime2436 **/2437 OpalRuntimeRuntime: 'Null'2438};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.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/types.ts
+++ b/tests/src/interfaces/unique/types.ts
@@ -449,6 +449,9 @@
/** @name FrameSupportPalletId */
export interface FrameSupportPalletId extends U8aFixed {}
+/** @name FrameSupportStorageBoundedBTreeSet */
+export interface FrameSupportStorageBoundedBTreeSet extends Vec<u32> {}
+
/** @name FrameSupportTokensMiscBalanceStatus */
export interface FrameSupportTokensMiscBalanceStatus extends Enum {
readonly isFree: boolean;
@@ -890,7 +893,11 @@
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';
+ readonly isNestingIsDisabled: boolean;
+ readonly isOnlyOwnerAllowedToNest: boolean;
+ readonly isSourceCollectionIsNotAllowedToNest: boolean;
+ readonly isCollectionFieldSizeExceeded: 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' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded';
}
/** @name PalletCommonEvent */
@@ -1069,7 +1076,8 @@
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
readonly isFungibleItemsDontHaveData: boolean;
- readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData';
+ readonly isFungibleDisallowsNesting: boolean;
+ readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting';
}
/** @name PalletInflationCall */
@@ -1099,7 +1107,8 @@
export interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
- readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces';
+ readonly isRefungibleDisallowsNesting: boolean;
+ readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting';
}
/** @name PalletRefungibleItemData */
@@ -1108,6 +1117,24 @@
readonly variableData: Bytes;
}
+/** @name PalletStructureCall */
+export interface PalletStructureCall extends Null {}
+
+/** @name PalletStructureError */
+export interface PalletStructureError extends Enum {
+ readonly isOuroborosDetected: boolean;
+ readonly isDepthLimit: boolean;
+ readonly isTokenNotFound: boolean;
+ readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';
+}
+
+/** @name PalletStructureEvent */
+export interface PalletStructureEvent extends Enum {
+ readonly isExecuted: boolean;
+ readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
+ readonly type: 'Executed';
+}
+
/** @name PalletSudoCall */
export interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
@@ -1402,7 +1429,7 @@
readonly isSetCollectionLimits: boolean;
readonly asSetCollectionLimits: {
readonly collectionId: u32;
- readonly newLimit: UpDataStructsCollectionLimits;
+ readonly newLimit: UpDataStructsCollectionLimitsVersion2;
} & 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';
}
@@ -1567,6 +1594,9 @@
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
}
+/** @name PhantomTypeUpDataStructs */
+export interface PhantomTypeUpDataStructs extends Vec<Lookup309> {}
+
/** @name PolkadotCorePrimitivesInboundDownwardMessage */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
@@ -1745,26 +1775,16 @@
readonly type: 'Normal' | 'AllowList';
}
-/** @name UpDataStructsCollection */
-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 UpDataStructsCollectionField */
+export interface UpDataStructsCollectionField extends Enum {
+ readonly isVariableOnChainSchema: boolean;
+ readonly isConstOnChainSchema: boolean;
+ readonly isOffchainSchema: boolean;
+ readonly type: 'VariableOnChainSchema' | 'ConstOnChainSchema' | 'OffchainSchema';
}
-/** @name UpDataStructsCollectionLimits */
-export interface UpDataStructsCollectionLimits extends Struct {
+/** @name UpDataStructsCollectionLimitsVersion2 */
+export interface UpDataStructsCollectionLimitsVersion2 extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;
@@ -1774,6 +1794,7 @@
readonly ownerCanTransfer: Option<bool>;
readonly ownerCanDestroy: Option<bool>;
readonly transfersEnabled: Option<bool>;
+ readonly nestingRule: Option<UpDataStructsNestingRule>;
}
/** @name UpDataStructsCollectionMode */
@@ -1792,6 +1813,21 @@
readonly alive: u32;
}
+/** @name UpDataStructsCollectionVersion2 */
+export interface UpDataStructsCollectionVersion2 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 schemaVersion: UpDataStructsSchemaVersion;
+ readonly sponsorship: UpDataStructsSponsorshipState;
+ readonly limits: UpDataStructsCollectionLimitsVersion2;
+ readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
+}
+
/** @name UpDataStructsCreateCollectionData */
export interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
@@ -1802,7 +1838,7 @@
readonly offchainSchema: Bytes;
readonly schemaVersion: Option<UpDataStructsSchemaVersion>;
readonly pendingSponsor: Option<AccountId32>;
- readonly limits: Option<UpDataStructsCollectionLimits>;
+ readonly limits: Option<UpDataStructsCollectionLimitsVersion2>;
readonly variableOnChainSchema: Bytes;
readonly constOnChainSchema: Bytes;
readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;
@@ -1872,6 +1908,33 @@
readonly type: 'ItemOwner' | 'Admin' | 'None';
}
+/** @name UpDataStructsNestingRule */
+export interface UpDataStructsNestingRule extends Enum {
+ readonly isDisabled: boolean;
+ readonly isOwner: boolean;
+ readonly isOwnerRestricted: boolean;
+ readonly asOwnerRestricted: FrameSupportStorageBoundedBTreeSet;
+ readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';
+}
+
+/** @name UpDataStructsRpcCollection */
+export interface UpDataStructsRpcCollection 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: UpDataStructsCollectionLimitsVersion2;
+ readonly variableOnChainSchema: Bytes;
+ readonly constOnChainSchema: Bytes;
+ readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
+}
+
/** @name UpDataStructsSchemaVersion */
export interface UpDataStructsSchemaVersion extends Enum {
readonly isImageURL: boolean;
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();
}