difftreelog
added feature: repartition method in refungible palette. added tests: integration tests for repartition.
in: master
17 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6608,6 +6608,7 @@
"pallet-evm",
"pallet-evm-coder-substrate",
"pallet-nonfungible",
+ "pallet-refungible",
"parity-scale-codec 3.1.5",
"scale-info",
"serde",
pallets/refungible/src/lib.rsdiffbeforeafterboth--- a/pallets/refungible/src/lib.rs
+++ b/pallets/refungible/src/lib.rs
@@ -64,6 +64,8 @@
NotRefungibleDataUsedToMintFungibleCollectionToken,
/// Maximum refungibility exceeded
WrongRefungiblePieces,
+ /// Refungible token can't be repartitioned by user who isn't owns all pieces
+ RepartitionWhileNotOwningAllPieces,
/// Refungible token can't nest other tokens
RefungibleDisallowsNesting,
/// Setting item properties is not allowed
@@ -684,4 +686,28 @@
) -> DispatchResult {
Self::create_multiple_items(collection, sender, vec![data], nesting_budget)
}
+
+ pub fn repartition(
+ owner: &T::CrossAccountId,
+ collection: &RefungibleHandle<T>,
+ token: TokenId,
+ amount: u128,
+ ) -> DispatchResult {
+ ensure!(
+ amount <= MAX_REFUNGIBLE_PIECES,
+ <Error<T>>::WrongRefungiblePieces
+ );
+ ensure!(amount > 0, <CommonError<T>>::TokenValueTooLow);
+ // Ensure user owns all pieces
+ let total_supply = <TotalSupply<T>>::get((collection.id, token));
+ let balance = <Balance<T>>::get((collection.id, token, owner));
+ ensure!(
+ total_supply == balance,
+ <Error<T>>::RepartitionWhileNotOwningAllPieces
+ );
+
+ <Balance<T>>::insert((collection.id, token, owner), amount);
+ <TotalSupply<T>>::insert((collection.id, token), amount);
+ Ok(())
+ }
}
pallets/unique/Cargo.tomldiffbeforeafterboth--- a/pallets/unique/Cargo.toml
+++ b/pallets/unique/Cargo.toml
@@ -103,3 +103,4 @@
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
pallet-nonfungible = { default-features = false, path = '../../pallets/nonfungible' }
+pallet-refungible = { default-features = false, path = '../../pallets/refungible' }
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -27,7 +27,7 @@
use frame_support::{
decl_module, decl_storage, decl_error, decl_event,
dispatch::DispatchResult,
- ensure,
+ ensure, fail,
weights::{Weight},
transactional,
pallet_prelude::{DispatchResultWithPostInfo, ConstU32},
@@ -47,6 +47,7 @@
CollectionHandle, Pallet as PalletCommon, CommonWeightInfo, dispatch::dispatch_tx,
dispatch::CollectionDispatch,
};
+use pallet_refungible::{Pallet as PalletRefungible, RefungibleHandle};
pub mod eth;
#[cfg(feature = "runtime-benchmarks")]
@@ -65,10 +66,14 @@
ConfirmUnsetSponsorFail,
/// Length of items properties must be greater than 0.
EmptyArgument,
+ /// Repertition is only supported by refungible collection
+ RepartitionCalledOnNonRefungibleCollection,
}
}
-pub trait Config: system::Config + pallet_common::Config + Sized + TypeInfo {
+pub trait Config:
+ system::Config + pallet_common::Config + pallet_refungible::Config + Sized + TypeInfo
+{
type Event: From<Event<Self>> + Into<<Self as frame_system::Config>::Event>;
/// Weight information for extrinsics in this pallet.
@@ -898,5 +903,24 @@
target_collection.save()
}
+
+ #[weight = <SelfWeightOf<T>>::set_collection_limits()]
+ #[transactional]
+ pub fn repartition(
+ origin,
+ collection_id: CollectionId,
+ token: TokenId,
+ amount: u128,
+ ) -> DispatchResult {
+ let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);
+ let target_collection = <CollectionHandle<T>>::try_get(collection_id)?;
+ target_collection.check_is_internal()?;
+ let refungible_collection = match target_collection.mode {
+ CollectionMode::ReFungible => RefungibleHandle::cast(target_collection),
+ _ => fail!(<Error<T>>::RepartitionCalledOnNonRefungibleCollection),
+ };
+ <PalletRefungible<T>>::repartition(&sender, &refungible_collection, token, amount)?;
+ Ok(())
+ }
}
}
tests/package.jsondiffbeforeafterboth--- a/tests/package.json
+++ b/tests/package.json
@@ -78,6 +78,7 @@
"testEnableDisableTransfers": "mocha --timeout 9999999 -r ts-node/register ./**/enableDisableTransfer.test.ts",
"testLimits": "mocha --timeout 9999999 -r ts-node/register ./**/limits.test.ts",
"testEthCreateCollection": "mocha --timeout 9999999 -r ts-node/register ./**/eth/createCollection.test.ts",
+ "testRFT": "mocha --timeout 9999999 -r ts-node/register ./**/refungible.test.ts",
"polkadot-types-fetch-metadata": "curl -H 'Content-Type: application/json' -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9933 > src/interfaces/metadata.json",
"polkadot-types-from-defs": "ts-node ./node_modules/.bin/polkadot-types-from-defs --endpoint src/interfaces/metadata.json --input src/interfaces/ --package .",
"polkadot-types-from-chain": "ts-node ./node_modules/.bin/polkadot-types-from-chain --endpoint src/interfaces/metadata.json --output src/interfaces/ --package .",
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -2,10 +2,10 @@
/* eslint-disable */
import type { ApiTypes } from '@polkadot/api-base/types';
-import type { Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
+import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import type { Permill } from '@polkadot/types/interfaces/runtime';
-import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
+import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/consts' {
export interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -110,10 +110,6 @@
[key: string]: Codec;
};
transactionPayment: {
- /**
- * The polynomial that is applied in order to derive fee from length.
- **/
- lengthToFee: Vec<FrameSupportWeightsWeightToFeeCoefficient> & AugmentedConst<ApiType>;
/**
* A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
* `priority`
@@ -138,10 +134,6 @@
* transactions.
**/
operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
- /**
- * The polynomial that is applied in order to derive fee from weight.
- **/
- weightToFee: Vec<FrameSupportWeightsWeightToFeeCoefficient> & AugmentedConst<ApiType>;
/**
* Generic const
**/
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -429,6 +429,10 @@
**/
RefungibleDisallowsNesting: AugmentedError<ApiType>;
/**
+ * Refungible token can't be repartitioned by user who isn't owns all pieces
+ **/
+ RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;
+ /**
* Setting item properties is not allowed
**/
SettingPropertiesNotAllowed: AugmentedError<ApiType>;
@@ -444,6 +448,7 @@
rmrkCore: {
CannotAcceptNonOwnedNft: AugmentedError<ApiType>;
CannotRejectNonOwnedNft: AugmentedError<ApiType>;
+ CannotRejectNonPendingNft: AugmentedError<ApiType>;
CannotSendToDescendentOrSelf: AugmentedError<ApiType>;
CollectionFullOrLocked: AugmentedError<ApiType>;
CollectionNotEmpty: AugmentedError<ApiType>;
@@ -452,10 +457,12 @@
NftTypeEncodeError: AugmentedError<ApiType>;
NoAvailableCollectionId: AugmentedError<ApiType>;
NoAvailableNftId: AugmentedError<ApiType>;
+ NoAvailableResourceId: AugmentedError<ApiType>;
NonTransferable: AugmentedError<ApiType>;
NoPermission: AugmentedError<ApiType>;
ResourceDoesntExist: AugmentedError<ApiType>;
ResourceNotPending: AugmentedError<ApiType>;
+ RmrkPropertyIsNotFound: AugmentedError<ApiType>;
RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;
RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;
UnableToDecodeRmrkData: AugmentedError<ApiType>;
@@ -469,6 +476,8 @@
NeedsDefaultThemeFirst: AugmentedError<ApiType>;
NoAvailableBaseId: AugmentedError<ApiType>;
NoAvailablePartId: AugmentedError<ApiType>;
+ NoEquippableOnFixedPart: AugmentedError<ApiType>;
+ PartDoesntExist: AugmentedError<ApiType>;
PermissionError: AugmentedError<ApiType>;
/**
* Generic error
@@ -599,6 +608,10 @@
**/
EmptyArgument: AugmentedError<ApiType>;
/**
+ * Repertition is only supported by refungible collection
+ **/
+ RepartitionCalledOnNonRefungibleCollection: AugmentedError<ApiType>;
+ /**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -166,34 +166,28 @@
dmpQueue: {
/**
* Downward message executed with the given outcome.
- * \[ id, outcome \]
**/
- ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;
+ ExecutedDownward: AugmentedEvent<ApiType, [messageId: U8aFixed, outcome: XcmV2TraitsOutcome], { messageId: U8aFixed, outcome: XcmV2TraitsOutcome }>;
/**
* Downward message is invalid XCM.
- * \[ id \]
**/
- InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;
+ InvalidFormat: AugmentedEvent<ApiType, [messageId: U8aFixed], { messageId: U8aFixed }>;
/**
* Downward message is overweight and was placed in the overweight queue.
- * \[ id, index, required \]
**/
- OverweightEnqueued: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;
+ OverweightEnqueued: AugmentedEvent<ApiType, [messageId: U8aFixed, overweightIndex: u64, requiredWeight: u64], { messageId: U8aFixed, overweightIndex: u64, requiredWeight: u64 }>;
/**
* Downward message from the overweight queue was executed.
- * \[ index, used \]
**/
- OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;
+ OverweightServiced: AugmentedEvent<ApiType, [overweightIndex: u64, weightUsed: u64], { overweightIndex: u64, weightUsed: u64 }>;
/**
* Downward message is unsupported version of XCM.
- * \[ id \]
**/
- UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;
+ UnsupportedVersion: AugmentedEvent<ApiType, [messageId: U8aFixed], { messageId: U8aFixed }>;
/**
* The weight limit for handling downward messages was reached.
- * \[ id, remaining, required \]
**/
- WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;
+ WeightExhausted: AugmentedEvent<ApiType, [messageId: U8aFixed, remainingWeight: u64, requiredWeight: u64], { messageId: U8aFixed, remainingWeight: u64, requiredWeight: u64 }>;
/**
* Generic event
**/
@@ -246,22 +240,20 @@
parachainSystem: {
/**
* Downward messages were processed using the given weight.
- * \[ weight_used, result_mqc_head \]
**/
- DownwardMessagesProcessed: AugmentedEvent<ApiType, [u64, H256]>;
+ DownwardMessagesProcessed: AugmentedEvent<ApiType, [weightUsed: u64, dmqHead: H256], { weightUsed: u64, dmqHead: H256 }>;
/**
* Some downward messages have been received and will be processed.
- * \[ count \]
**/
- DownwardMessagesReceived: AugmentedEvent<ApiType, [u32]>;
+ DownwardMessagesReceived: AugmentedEvent<ApiType, [count: u32], { count: u32 }>;
/**
* An upgrade has been authorized.
**/
- UpgradeAuthorized: AugmentedEvent<ApiType, [H256]>;
+ UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256], { codeHash: H256 }>;
/**
* The validation function was applied as of the contained relay chain block number.
**/
- ValidationFunctionApplied: AugmentedEvent<ApiType, [u32]>;
+ ValidationFunctionApplied: AugmentedEvent<ApiType, [relayChainBlockNum: u32], { relayChainBlockNum: u32 }>;
/**
* The relay-chain aborted the upgrade process.
**/
@@ -420,6 +412,7 @@
};
rmrkEquip: {
BaseCreated: AugmentedEvent<ApiType, [issuer: AccountId32, baseId: u32], { issuer: AccountId32, baseId: u32 }>;
+ EquippablesUpdated: AugmentedEvent<ApiType, [baseId: u32, slotId: u32], { baseId: u32, slotId: u32 }>;
/**
* Generic event
**/
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, U8aFixed, 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, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsTokenChild } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsTokenChild } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
declare module '@polkadot/api-base/types/storage' {
@@ -228,6 +228,7 @@
* Used to enumerate tokens owned by account
**/
owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;
+ tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;
/**
* Used to enumerate token's children
**/
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, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, FrameSupportScheduleMaybeHashed, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, FrameSupportScheduleMaybeHashed, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -361,11 +361,11 @@
/**
* accept the addition of a new resource to an existing NFT
**/
- acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
/**
* accept the removal of a resource of an existing NFT
**/
- acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
/**
* Create basic resource
**/
@@ -415,7 +415,7 @@
* - `metadata`: Arbitrary data about an nft, e.g. IPFS hash
* - `transferable`: Ability to transfer this NFT
**/
- mintNft: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option<Vec<RmrkTraitsResourceResourceTypes>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Option<AccountId32>, Option<Permill>, Bytes, bool, Option<Vec<RmrkTraitsResourceResourceTypes>>]>;
+ mintNft: AugmentedSubmittable<(owner: Option<AccountId32> | null | object | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option<Vec<RmrkTraitsResourceResourceTypes>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>, u32, Option<AccountId32>, Option<Permill>, Bytes, bool, Option<Vec<RmrkTraitsResourceResourceTypes>>]>;
/**
* Rejects an NFT sent from another account to self or owned NFT
*
@@ -465,6 +465,7 @@
* RmrkPartsLimit
**/
createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<RmrkTraitsPartPartType> | (RmrkTraitsPartPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<RmrkTraitsPartPartType>]>;
+ equippable: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, slotId: u32 | AnyNumber | Uint8Array, equippables: RmrkTraitsPartEquippableList | { All: any } | { Empty: any } | { Custom: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsPartEquippableList]>;
/**
* Adds a Theme to a Base.
* Modeled after [themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md)
@@ -959,6 +960,7 @@
* * address.
**/
removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
+ repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, token: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;
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]>;
setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;
setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;
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, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, 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 './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, 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 './default';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, 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';
@@ -489,7 +489,6 @@
FrameSupportWeightsPerDispatchClassU64: FrameSupportWeightsPerDispatchClassU64;
FrameSupportWeightsPerDispatchClassWeightsPerClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
FrameSupportWeightsRuntimeDbWeight: FrameSupportWeightsRuntimeDbWeight;
- FrameSupportWeightsWeightToFeeCoefficient: FrameSupportWeightsWeightToFeeCoefficient;
FrameSystemAccountInfo: FrameSystemAccountInfo;
FrameSystemCall: FrameSystemCall;
FrameSystemError: FrameSystemError;
@@ -1226,6 +1225,7 @@
UpDataStructsProperty: UpDataStructsProperty;
UpDataStructsPropertyKeyPermission: UpDataStructsPropertyKeyPermission;
UpDataStructsPropertyPermission: UpDataStructsPropertyPermission;
+ UpDataStructsPropertyScope: UpDataStructsPropertyScope;
UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -31,17 +31,35 @@
/** @name CumulusPalletDmpQueueEvent */
export interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
- readonly asInvalidFormat: U8aFixed;
+ readonly asInvalidFormat: {
+ readonly messageId: U8aFixed;
+ } & Struct;
readonly isUnsupportedVersion: boolean;
- readonly asUnsupportedVersion: U8aFixed;
+ readonly asUnsupportedVersion: {
+ readonly messageId: U8aFixed;
+ } & Struct;
readonly isExecutedDownward: boolean;
- readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
+ readonly asExecutedDownward: {
+ readonly messageId: U8aFixed;
+ readonly outcome: XcmV2TraitsOutcome;
+ } & Struct;
readonly isWeightExhausted: boolean;
- readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;
+ readonly asWeightExhausted: {
+ readonly messageId: U8aFixed;
+ readonly remainingWeight: u64;
+ readonly requiredWeight: u64;
+ } & Struct;
readonly isOverweightEnqueued: boolean;
- readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;
+ readonly asOverweightEnqueued: {
+ readonly messageId: U8aFixed;
+ readonly overweightIndex: u64;
+ readonly requiredWeight: u64;
+ } & Struct;
readonly isOverweightServiced: boolean;
- readonly asOverweightServiced: ITuple<[u64, u64]>;
+ readonly asOverweightServiced: {
+ readonly overweightIndex: u64;
+ readonly weightUsed: u64;
+ } & Struct;
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
@@ -90,14 +108,23 @@
export interface CumulusPalletParachainSystemEvent extends Enum {
readonly isValidationFunctionStored: boolean;
readonly isValidationFunctionApplied: boolean;
- readonly asValidationFunctionApplied: u32;
+ readonly asValidationFunctionApplied: {
+ readonly relayChainBlockNum: u32;
+ } & Struct;
readonly isValidationFunctionDiscarded: boolean;
readonly isUpgradeAuthorized: boolean;
- readonly asUpgradeAuthorized: H256;
+ readonly asUpgradeAuthorized: {
+ readonly codeHash: H256;
+ } & Struct;
readonly isDownwardMessagesReceived: boolean;
- readonly asDownwardMessagesReceived: u32;
+ readonly asDownwardMessagesReceived: {
+ readonly count: u32;
+ } & Struct;
readonly isDownwardMessagesProcessed: boolean;
- readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;
+ readonly asDownwardMessagesProcessed: {
+ readonly weightUsed: u64;
+ readonly dmqHead: H256;
+ } & Struct;
readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';
}
@@ -535,14 +562,6 @@
readonly write: u64;
}
-/** @name FrameSupportWeightsWeightToFeeCoefficient */
-export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {
- readonly coeffInteger: u128;
- readonly coeffFrac: Perbill;
- readonly negative: bool;
- readonly degree: u8;
-}
-
/** @name FrameSystemAccountInfo */
export interface FrameSystemAccountInfo extends Struct {
readonly nonce: u32;
@@ -1175,9 +1194,10 @@
export interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
+ readonly isRepartitionWhileNotOwningAllPieces: boolean;
readonly isRefungibleDisallowsNesting: boolean;
readonly isSettingPropertiesNotAllowed: boolean;
- readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
+ readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
/** @name PalletRefungibleItemData */
@@ -1208,7 +1228,7 @@
} & Struct;
readonly isMintNft: boolean;
readonly asMintNft: {
- readonly owner: AccountId32;
+ readonly owner: Option<AccountId32>;
readonly collectionId: u32;
readonly recipient: Option<AccountId32>;
readonly royaltyAmount: Option<Permill>;
@@ -1243,13 +1263,13 @@
readonly asAcceptResource: {
readonly rmrkCollectionId: u32;
readonly rmrkNftId: u32;
- readonly rmrkResourceId: u32;
+ readonly resourceId: u32;
} & Struct;
readonly isAcceptResourceRemoval: boolean;
readonly asAcceptResourceRemoval: {
readonly rmrkCollectionId: u32;
readonly rmrkNftId: u32;
- readonly rmrkResourceId: u32;
+ readonly resourceId: u32;
} & Struct;
readonly isSetProperty: boolean;
readonly asSetProperty: {
@@ -1297,6 +1317,7 @@
readonly isNftTypeEncodeError: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
readonly isRmrkPropertyValueIsTooLong: boolean;
+ readonly isRmrkPropertyIsNotFound: boolean;
readonly isUnableToDecodeRmrkData: boolean;
readonly isCollectionNotEmpty: boolean;
readonly isNoAvailableCollectionId: boolean;
@@ -1309,8 +1330,10 @@
readonly isCannotSendToDescendentOrSelf: boolean;
readonly isCannotAcceptNonOwnedNft: boolean;
readonly isCannotRejectNonOwnedNft: boolean;
+ readonly isCannotRejectNonPendingNft: boolean;
readonly isResourceNotPending: boolean;
- readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';
+ readonly isNoAvailableResourceId: boolean;
+ readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
/** @name PalletRmrkCoreEvent */
@@ -1416,7 +1439,13 @@
readonly baseId: u32;
readonly theme: RmrkTraitsTheme;
} & Struct;
- readonly type: 'CreateBase' | 'ThemeAdd';
+ readonly isEquippable: boolean;
+ readonly asEquippable: {
+ readonly baseId: u32;
+ readonly slotId: u32;
+ readonly equippables: RmrkTraitsPartEquippableList;
+ } & Struct;
+ readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
/** @name PalletRmrkEquipError */
@@ -1426,7 +1455,9 @@
readonly isNoAvailablePartId: boolean;
readonly isBaseDoesntExist: boolean;
readonly isNeedsDefaultThemeFirst: boolean;
- readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';
+ readonly isPartDoesntExist: boolean;
+ readonly isNoEquippableOnFixedPart: boolean;
+ readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
/** @name PalletRmrkEquipEvent */
@@ -1436,7 +1467,12 @@
readonly issuer: AccountId32;
readonly baseId: u32;
} & Struct;
- readonly type: 'BaseCreated';
+ readonly isEquippablesUpdated: boolean;
+ readonly asEquippablesUpdated: {
+ readonly baseId: u32;
+ readonly slotId: u32;
+ } & Struct;
+ readonly type: 'BaseCreated' | 'EquippablesUpdated';
}
/** @name PalletStructureCall */
@@ -1750,7 +1786,13 @@
readonly collectionId: u32;
readonly newLimit: UpDataStructsCollectionPermissions;
} & Struct;
- readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions';
+ readonly isRepartition: boolean;
+ readonly asRepartition: {
+ readonly collectionId: u32;
+ readonly token: u32;
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';
}
/** @name PalletUniqueError */
@@ -1758,7 +1800,8 @@
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
readonly isEmptyArgument: boolean;
- readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
+ readonly isRepartitionCalledOnNonRefungibleCollection: boolean;
+ readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
/** @name PalletUniqueRawEvent */
@@ -2431,7 +2474,6 @@
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
- readonly permissive: bool;
}
/** @name UpDataStructsOwnerRestrictedSet */
@@ -2469,6 +2511,13 @@
readonly tokenOwner: bool;
}
+/** @name UpDataStructsPropertyScope */
+export interface UpDataStructsPropertyScope extends Enum {
+ readonly isNone: boolean;
+ readonly isRmrk: boolean;
+ readonly type: 'None' | 'Rmrk';
+}
+
/** @name UpDataStructsRpcCollection */
export interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
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<Bytes>'27 },28 /**29 * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot30 **/31 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {32 dmqMqcHead: 'H256',33 relayDispatchQueueSize: '(u32,u32)',34 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',35 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'36 },37 /**38 * Lookup18: polkadot_primitives::v2::AbridgedHrmpChannel39 **/40 PolkadotPrimitivesV2AbridgedHrmpChannel: {41 maxCapacity: 'u32',42 maxTotalSize: 'u32',43 maxMessageSize: 'u32',44 msgCount: 'u32',45 totalSize: 'u32',46 mqcHead: 'Option<H256>'47 },48 /**49 * Lookup20: polkadot_primitives::v2::AbridgedHostConfiguration50 **/51 PolkadotPrimitivesV2AbridgedHostConfiguration: {52 maxCodeSize: 'u32',53 maxHeadDataSize: 'u32',54 maxUpwardQueueCount: 'u32',55 maxUpwardQueueSize: 'u32',56 maxUpwardMessageSize: 'u32',57 maxUpwardMessageNumPerCandidate: 'u32',58 hrmpMaxMessageNumPerCandidate: 'u32',59 validationUpgradeCooldown: 'u32',60 validationUpgradeDelay: 'u32'61 },62 /**63 * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>64 **/65 PolkadotCorePrimitivesOutboundHrmpMessage: {66 recipient: 'u32',67 data: 'Bytes'68 },69 /**70 * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>71 **/72 CumulusPalletParachainSystemCall: {73 _enum: {74 set_validation_data: {75 data: 'CumulusPrimitivesParachainInherentParachainInherentData',76 },77 sudo_send_upward_message: {78 message: 'Bytes',79 },80 authorize_upgrade: {81 codeHash: 'H256',82 },83 enact_authorized_upgrade: {84 code: 'Bytes'85 }86 }87 },88 /**89 * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData90 **/91 CumulusPrimitivesParachainInherentParachainInherentData: {92 validationData: 'PolkadotPrimitivesV2PersistedValidationData',93 relayChainState: 'SpTrieStorageProof',94 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',95 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'96 },97 /**98 * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>99 **/100 PolkadotCorePrimitivesInboundDownwardMessage: {101 sentAt: 'u32',102 msg: 'Bytes'103 },104 /**105 * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>106 **/107 PolkadotCorePrimitivesInboundHrmpMessage: {108 sentAt: 'u32',109 data: 'Bytes'110 },111 /**112 * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>113 **/114 CumulusPalletParachainSystemEvent: {115 _enum: {116 ValidationFunctionStored: 'Null',117 ValidationFunctionApplied: 'u32',118 ValidationFunctionDiscarded: 'Null',119 UpgradeAuthorized: 'H256',120 DownwardMessagesReceived: 'u32',121 DownwardMessagesProcessed: '(u64,H256)'122 }123 },124 /**125 * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>126 **/127 CumulusPalletParachainSystemError: {128 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']129 },130 /**131 * Lookup41: pallet_balances::AccountData<Balance>132 **/133 PalletBalancesAccountData: {134 free: 'u128',135 reserved: 'u128',136 miscFrozen: 'u128',137 feeFrozen: 'u128'138 },139 /**140 * Lookup43: pallet_balances::BalanceLock<Balance>141 **/142 PalletBalancesBalanceLock: {143 id: '[u8;8]',144 amount: 'u128',145 reasons: 'PalletBalancesReasons'146 },147 /**148 * Lookup45: pallet_balances::Reasons149 **/150 PalletBalancesReasons: {151 _enum: ['Fee', 'Misc', 'All']152 },153 /**154 * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>155 **/156 PalletBalancesReserveData: {157 id: '[u8;16]',158 amount: 'u128'159 },160 /**161 * Lookup51: pallet_balances::Releases162 **/163 PalletBalancesReleases: {164 _enum: ['V1_0_0', 'V2_0_0']165 },166 /**167 * Lookup52: pallet_balances::pallet::Call<T, I>168 **/169 PalletBalancesCall: {170 _enum: {171 transfer: {172 dest: 'MultiAddress',173 value: 'Compact<u128>',174 },175 set_balance: {176 who: 'MultiAddress',177 newFree: 'Compact<u128>',178 newReserved: 'Compact<u128>',179 },180 force_transfer: {181 source: 'MultiAddress',182 dest: 'MultiAddress',183 value: 'Compact<u128>',184 },185 transfer_keep_alive: {186 dest: 'MultiAddress',187 value: 'Compact<u128>',188 },189 transfer_all: {190 dest: 'MultiAddress',191 keepAlive: 'bool',192 },193 force_unreserve: {194 who: 'MultiAddress',195 amount: 'u128'196 }197 }198 },199 /**200 * Lookup58: pallet_balances::pallet::Event<T, I>201 **/202 PalletBalancesEvent: {203 _enum: {204 Endowed: {205 account: 'AccountId32',206 freeBalance: 'u128',207 },208 DustLost: {209 account: 'AccountId32',210 amount: 'u128',211 },212 Transfer: {213 from: 'AccountId32',214 to: 'AccountId32',215 amount: 'u128',216 },217 BalanceSet: {218 who: 'AccountId32',219 free: 'u128',220 reserved: 'u128',221 },222 Reserved: {223 who: 'AccountId32',224 amount: 'u128',225 },226 Unreserved: {227 who: 'AccountId32',228 amount: 'u128',229 },230 ReserveRepatriated: {231 from: 'AccountId32',232 to: 'AccountId32',233 amount: 'u128',234 destinationStatus: 'FrameSupportTokensMiscBalanceStatus',235 },236 Deposit: {237 who: 'AccountId32',238 amount: 'u128',239 },240 Withdraw: {241 who: 'AccountId32',242 amount: 'u128',243 },244 Slashed: {245 who: 'AccountId32',246 amount: 'u128'247 }248 }249 },250 /**251 * Lookup59: frame_support::traits::tokens::misc::BalanceStatus252 **/253 FrameSupportTokensMiscBalanceStatus: {254 _enum: ['Free', 'Reserved']255 },256 /**257 * Lookup60: pallet_balances::pallet::Error<T, I>258 **/259 PalletBalancesError: {260 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']261 },262 /**263 * Lookup63: pallet_timestamp::pallet::Call<T>264 **/265 PalletTimestampCall: {266 _enum: {267 set: {268 now: 'Compact<u64>'269 }270 }271 },272 /**273 * Lookup66: pallet_transaction_payment::Releases274 **/275 PalletTransactionPaymentReleases: {276 _enum: ['V1Ancient', 'V2']277 },278 /**279 * Lookup68: frame_support::weights::WeightToFeeCoefficient<Balance>280 **/281 FrameSupportWeightsWeightToFeeCoefficient: {282 coeffInteger: 'u128',283 coeffFrac: 'Perbill',284 negative: 'bool',285 degree: 'u8'286 },287 /**288 * Lookup70: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>289 **/290 PalletTreasuryProposal: {291 proposer: 'AccountId32',292 value: 'u128',293 beneficiary: 'AccountId32',294 bond: 'u128'295 },296 /**297 * Lookup73: pallet_treasury::pallet::Call<T, I>298 **/299 PalletTreasuryCall: {300 _enum: {301 propose_spend: {302 value: 'Compact<u128>',303 beneficiary: 'MultiAddress',304 },305 reject_proposal: {306 proposalId: 'Compact<u32>',307 },308 approve_proposal: {309 proposalId: 'Compact<u32>',310 },311 remove_approval: {312 proposalId: 'Compact<u32>'313 }314 }315 },316 /**317 * Lookup75: pallet_treasury::pallet::Event<T, I>318 **/319 PalletTreasuryEvent: {320 _enum: {321 Proposed: {322 proposalIndex: 'u32',323 },324 Spending: {325 budgetRemaining: 'u128',326 },327 Awarded: {328 proposalIndex: 'u32',329 award: 'u128',330 account: 'AccountId32',331 },332 Rejected: {333 proposalIndex: 'u32',334 slashed: 'u128',335 },336 Burnt: {337 burntFunds: 'u128',338 },339 Rollover: {340 rolloverBalance: 'u128',341 },342 Deposit: {343 value: 'u128'344 }345 }346 },347 /**348 * Lookup78: frame_support::PalletId349 **/350 FrameSupportPalletId: '[u8;8]',351 /**352 * Lookup79: pallet_treasury::pallet::Error<T, I>353 **/354 PalletTreasuryError: {355 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'ProposalNotApproved']356 },357 /**358 * Lookup80: pallet_sudo::pallet::Call<T>359 **/360 PalletSudoCall: {361 _enum: {362 sudo: {363 call: 'Call',364 },365 sudo_unchecked_weight: {366 call: 'Call',367 weight: 'u64',368 },369 set_key: {370 _alias: {371 new_: 'new',372 },373 new_: 'MultiAddress',374 },375 sudo_as: {376 who: 'MultiAddress',377 call: 'Call'378 }379 }380 },381 /**382 * Lookup82: frame_system::pallet::Call<T>383 **/384 FrameSystemCall: {385 _enum: {386 fill_block: {387 ratio: 'Perbill',388 },389 remark: {390 remark: 'Bytes',391 },392 set_heap_pages: {393 pages: 'u64',394 },395 set_code: {396 code: 'Bytes',397 },398 set_code_without_checks: {399 code: 'Bytes',400 },401 set_storage: {402 items: 'Vec<(Bytes,Bytes)>',403 },404 kill_storage: {405 _alias: {406 keys_: 'keys',407 },408 keys_: 'Vec<Bytes>',409 },410 kill_prefix: {411 prefix: 'Bytes',412 subkeys: 'u32',413 },414 remark_with_event: {415 remark: 'Bytes'416 }417 }418 },419 /**420 * Lookup85: orml_vesting::module::Call<T>421 **/422 OrmlVestingModuleCall: {423 _enum: {424 claim: 'Null',425 vested_transfer: {426 dest: 'MultiAddress',427 schedule: 'OrmlVestingVestingSchedule',428 },429 update_vesting_schedules: {430 who: 'MultiAddress',431 vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',432 },433 claim_for: {434 dest: 'MultiAddress'435 }436 }437 },438 /**439 * Lookup86: orml_vesting::VestingSchedule<BlockNumber, Balance>440 **/441 OrmlVestingVestingSchedule: {442 start: 'u32',443 period: 'u32',444 periodCount: 'u32',445 perPeriod: 'Compact<u128>'446 },447 /**448 * Lookup88: cumulus_pallet_xcmp_queue::pallet::Call<T>449 **/450 CumulusPalletXcmpQueueCall: {451 _enum: {452 service_overweight: {453 index: 'u64',454 weightLimit: 'u64',455 },456 suspend_xcm_execution: 'Null',457 resume_xcm_execution: 'Null',458 update_suspend_threshold: {459 _alias: {460 new_: 'new',461 },462 new_: 'u32',463 },464 update_drop_threshold: {465 _alias: {466 new_: 'new',467 },468 new_: 'u32',469 },470 update_resume_threshold: {471 _alias: {472 new_: 'new',473 },474 new_: 'u32',475 },476 update_threshold_weight: {477 _alias: {478 new_: 'new',479 },480 new_: 'u64',481 },482 update_weight_restrict_decay: {483 _alias: {484 new_: 'new',485 },486 new_: 'u64',487 },488 update_xcmp_max_individual_weight: {489 _alias: {490 new_: 'new',491 },492 new_: 'u64'493 }494 }495 },496 /**497 * Lookup89: pallet_xcm::pallet::Call<T>498 **/499 PalletXcmCall: {500 _enum: {501 send: {502 dest: 'XcmVersionedMultiLocation',503 message: 'XcmVersionedXcm',504 },505 teleport_assets: {506 dest: 'XcmVersionedMultiLocation',507 beneficiary: 'XcmVersionedMultiLocation',508 assets: 'XcmVersionedMultiAssets',509 feeAssetItem: 'u32',510 },511 reserve_transfer_assets: {512 dest: 'XcmVersionedMultiLocation',513 beneficiary: 'XcmVersionedMultiLocation',514 assets: 'XcmVersionedMultiAssets',515 feeAssetItem: 'u32',516 },517 execute: {518 message: 'XcmVersionedXcm',519 maxWeight: 'u64',520 },521 force_xcm_version: {522 location: 'XcmV1MultiLocation',523 xcmVersion: 'u32',524 },525 force_default_xcm_version: {526 maybeXcmVersion: 'Option<u32>',527 },528 force_subscribe_version_notify: {529 location: 'XcmVersionedMultiLocation',530 },531 force_unsubscribe_version_notify: {532 location: 'XcmVersionedMultiLocation',533 },534 limited_reserve_transfer_assets: {535 dest: 'XcmVersionedMultiLocation',536 beneficiary: 'XcmVersionedMultiLocation',537 assets: 'XcmVersionedMultiAssets',538 feeAssetItem: 'u32',539 weightLimit: 'XcmV2WeightLimit',540 },541 limited_teleport_assets: {542 dest: 'XcmVersionedMultiLocation',543 beneficiary: 'XcmVersionedMultiLocation',544 assets: 'XcmVersionedMultiAssets',545 feeAssetItem: 'u32',546 weightLimit: 'XcmV2WeightLimit'547 }548 }549 },550 /**551 * Lookup90: xcm::VersionedMultiLocation552 **/553 XcmVersionedMultiLocation: {554 _enum: {555 V0: 'XcmV0MultiLocation',556 V1: 'XcmV1MultiLocation'557 }558 },559 /**560 * Lookup91: xcm::v0::multi_location::MultiLocation561 **/562 XcmV0MultiLocation: {563 _enum: {564 Null: 'Null',565 X1: 'XcmV0Junction',566 X2: '(XcmV0Junction,XcmV0Junction)',567 X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',568 X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',569 X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',570 X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',571 X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',572 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'573 }574 },575 /**576 * Lookup92: xcm::v0::junction::Junction577 **/578 XcmV0Junction: {579 _enum: {580 Parent: 'Null',581 Parachain: 'Compact<u32>',582 AccountId32: {583 network: 'XcmV0JunctionNetworkId',584 id: '[u8;32]',585 },586 AccountIndex64: {587 network: 'XcmV0JunctionNetworkId',588 index: 'Compact<u64>',589 },590 AccountKey20: {591 network: 'XcmV0JunctionNetworkId',592 key: '[u8;20]',593 },594 PalletInstance: 'u8',595 GeneralIndex: 'Compact<u128>',596 GeneralKey: 'Bytes',597 OnlyChild: 'Null',598 Plurality: {599 id: 'XcmV0JunctionBodyId',600 part: 'XcmV0JunctionBodyPart'601 }602 }603 },604 /**605 * Lookup93: xcm::v0::junction::NetworkId606 **/607 XcmV0JunctionNetworkId: {608 _enum: {609 Any: 'Null',610 Named: 'Bytes',611 Polkadot: 'Null',612 Kusama: 'Null'613 }614 },615 /**616 * Lookup94: xcm::v0::junction::BodyId617 **/618 XcmV0JunctionBodyId: {619 _enum: {620 Unit: 'Null',621 Named: 'Bytes',622 Index: 'Compact<u32>',623 Executive: 'Null',624 Technical: 'Null',625 Legislative: 'Null',626 Judicial: 'Null'627 }628 },629 /**630 * Lookup95: xcm::v0::junction::BodyPart631 **/632 XcmV0JunctionBodyPart: {633 _enum: {634 Voice: 'Null',635 Members: {636 count: 'Compact<u32>',637 },638 Fraction: {639 nom: 'Compact<u32>',640 denom: 'Compact<u32>',641 },642 AtLeastProportion: {643 nom: 'Compact<u32>',644 denom: 'Compact<u32>',645 },646 MoreThanProportion: {647 nom: 'Compact<u32>',648 denom: 'Compact<u32>'649 }650 }651 },652 /**653 * Lookup96: xcm::v1::multilocation::MultiLocation654 **/655 XcmV1MultiLocation: {656 parents: 'u8',657 interior: 'XcmV1MultilocationJunctions'658 },659 /**660 * Lookup97: xcm::v1::multilocation::Junctions661 **/662 XcmV1MultilocationJunctions: {663 _enum: {664 Here: 'Null',665 X1: 'XcmV1Junction',666 X2: '(XcmV1Junction,XcmV1Junction)',667 X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',668 X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',669 X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',670 X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',671 X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',672 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'673 }674 },675 /**676 * Lookup98: xcm::v1::junction::Junction677 **/678 XcmV1Junction: {679 _enum: {680 Parachain: 'Compact<u32>',681 AccountId32: {682 network: 'XcmV0JunctionNetworkId',683 id: '[u8;32]',684 },685 AccountIndex64: {686 network: 'XcmV0JunctionNetworkId',687 index: 'Compact<u64>',688 },689 AccountKey20: {690 network: 'XcmV0JunctionNetworkId',691 key: '[u8;20]',692 },693 PalletInstance: 'u8',694 GeneralIndex: 'Compact<u128>',695 GeneralKey: 'Bytes',696 OnlyChild: 'Null',697 Plurality: {698 id: 'XcmV0JunctionBodyId',699 part: 'XcmV0JunctionBodyPart'700 }701 }702 },703 /**704 * Lookup99: xcm::VersionedXcm<Call>705 **/706 XcmVersionedXcm: {707 _enum: {708 V0: 'XcmV0Xcm',709 V1: 'XcmV1Xcm',710 V2: 'XcmV2Xcm'711 }712 },713 /**714 * Lookup100: xcm::v0::Xcm<Call>715 **/716 XcmV0Xcm: {717 _enum: {718 WithdrawAsset: {719 assets: 'Vec<XcmV0MultiAsset>',720 effects: 'Vec<XcmV0Order>',721 },722 ReserveAssetDeposit: {723 assets: 'Vec<XcmV0MultiAsset>',724 effects: 'Vec<XcmV0Order>',725 },726 TeleportAsset: {727 assets: 'Vec<XcmV0MultiAsset>',728 effects: 'Vec<XcmV0Order>',729 },730 QueryResponse: {731 queryId: 'Compact<u64>',732 response: 'XcmV0Response',733 },734 TransferAsset: {735 assets: 'Vec<XcmV0MultiAsset>',736 dest: 'XcmV0MultiLocation',737 },738 TransferReserveAsset: {739 assets: 'Vec<XcmV0MultiAsset>',740 dest: 'XcmV0MultiLocation',741 effects: 'Vec<XcmV0Order>',742 },743 Transact: {744 originType: 'XcmV0OriginKind',745 requireWeightAtMost: 'u64',746 call: 'XcmDoubleEncoded',747 },748 HrmpNewChannelOpenRequest: {749 sender: 'Compact<u32>',750 maxMessageSize: 'Compact<u32>',751 maxCapacity: 'Compact<u32>',752 },753 HrmpChannelAccepted: {754 recipient: 'Compact<u32>',755 },756 HrmpChannelClosing: {757 initiator: 'Compact<u32>',758 sender: 'Compact<u32>',759 recipient: 'Compact<u32>',760 },761 RelayedFrom: {762 who: 'XcmV0MultiLocation',763 message: 'XcmV0Xcm'764 }765 }766 },767 /**768 * Lookup102: xcm::v0::multi_asset::MultiAsset769 **/770 XcmV0MultiAsset: {771 _enum: {772 None: 'Null',773 All: 'Null',774 AllFungible: 'Null',775 AllNonFungible: 'Null',776 AllAbstractFungible: {777 id: 'Bytes',778 },779 AllAbstractNonFungible: {780 class: 'Bytes',781 },782 AllConcreteFungible: {783 id: 'XcmV0MultiLocation',784 },785 AllConcreteNonFungible: {786 class: 'XcmV0MultiLocation',787 },788 AbstractFungible: {789 id: 'Bytes',790 amount: 'Compact<u128>',791 },792 AbstractNonFungible: {793 class: 'Bytes',794 instance: 'XcmV1MultiassetAssetInstance',795 },796 ConcreteFungible: {797 id: 'XcmV0MultiLocation',798 amount: 'Compact<u128>',799 },800 ConcreteNonFungible: {801 class: 'XcmV0MultiLocation',802 instance: 'XcmV1MultiassetAssetInstance'803 }804 }805 },806 /**807 * Lookup103: xcm::v1::multiasset::AssetInstance808 **/809 XcmV1MultiassetAssetInstance: {810 _enum: {811 Undefined: 'Null',812 Index: 'Compact<u128>',813 Array4: '[u8;4]',814 Array8: '[u8;8]',815 Array16: '[u8;16]',816 Array32: '[u8;32]',817 Blob: 'Bytes'818 }819 },820 /**821 * Lookup106: xcm::v0::order::Order<Call>822 **/823 XcmV0Order: {824 _enum: {825 Null: 'Null',826 DepositAsset: {827 assets: 'Vec<XcmV0MultiAsset>',828 dest: 'XcmV0MultiLocation',829 },830 DepositReserveAsset: {831 assets: 'Vec<XcmV0MultiAsset>',832 dest: 'XcmV0MultiLocation',833 effects: 'Vec<XcmV0Order>',834 },835 ExchangeAsset: {836 give: 'Vec<XcmV0MultiAsset>',837 receive: 'Vec<XcmV0MultiAsset>',838 },839 InitiateReserveWithdraw: {840 assets: 'Vec<XcmV0MultiAsset>',841 reserve: 'XcmV0MultiLocation',842 effects: 'Vec<XcmV0Order>',843 },844 InitiateTeleport: {845 assets: 'Vec<XcmV0MultiAsset>',846 dest: 'XcmV0MultiLocation',847 effects: 'Vec<XcmV0Order>',848 },849 QueryHolding: {850 queryId: 'Compact<u64>',851 dest: 'XcmV0MultiLocation',852 assets: 'Vec<XcmV0MultiAsset>',853 },854 BuyExecution: {855 fees: 'XcmV0MultiAsset',856 weight: 'u64',857 debt: 'u64',858 haltOnError: 'bool',859 xcm: 'Vec<XcmV0Xcm>'860 }861 }862 },863 /**864 * Lookup108: xcm::v0::Response865 **/866 XcmV0Response: {867 _enum: {868 Assets: 'Vec<XcmV0MultiAsset>'869 }870 },871 /**872 * Lookup109: xcm::v0::OriginKind873 **/874 XcmV0OriginKind: {875 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']876 },877 /**878 * Lookup110: xcm::double_encoded::DoubleEncoded<T>879 **/880 XcmDoubleEncoded: {881 encoded: 'Bytes'882 },883 /**884 * Lookup111: xcm::v1::Xcm<Call>885 **/886 XcmV1Xcm: {887 _enum: {888 WithdrawAsset: {889 assets: 'XcmV1MultiassetMultiAssets',890 effects: 'Vec<XcmV1Order>',891 },892 ReserveAssetDeposited: {893 assets: 'XcmV1MultiassetMultiAssets',894 effects: 'Vec<XcmV1Order>',895 },896 ReceiveTeleportedAsset: {897 assets: 'XcmV1MultiassetMultiAssets',898 effects: 'Vec<XcmV1Order>',899 },900 QueryResponse: {901 queryId: 'Compact<u64>',902 response: 'XcmV1Response',903 },904 TransferAsset: {905 assets: 'XcmV1MultiassetMultiAssets',906 beneficiary: 'XcmV1MultiLocation',907 },908 TransferReserveAsset: {909 assets: 'XcmV1MultiassetMultiAssets',910 dest: 'XcmV1MultiLocation',911 effects: 'Vec<XcmV1Order>',912 },913 Transact: {914 originType: 'XcmV0OriginKind',915 requireWeightAtMost: 'u64',916 call: 'XcmDoubleEncoded',917 },918 HrmpNewChannelOpenRequest: {919 sender: 'Compact<u32>',920 maxMessageSize: 'Compact<u32>',921 maxCapacity: 'Compact<u32>',922 },923 HrmpChannelAccepted: {924 recipient: 'Compact<u32>',925 },926 HrmpChannelClosing: {927 initiator: 'Compact<u32>',928 sender: 'Compact<u32>',929 recipient: 'Compact<u32>',930 },931 RelayedFrom: {932 who: 'XcmV1MultilocationJunctions',933 message: 'XcmV1Xcm',934 },935 SubscribeVersion: {936 queryId: 'Compact<u64>',937 maxResponseWeight: 'Compact<u64>',938 },939 UnsubscribeVersion: 'Null'940 }941 },942 /**943 * Lookup112: xcm::v1::multiasset::MultiAssets944 **/945 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',946 /**947 * Lookup114: xcm::v1::multiasset::MultiAsset948 **/949 XcmV1MultiAsset: {950 id: 'XcmV1MultiassetAssetId',951 fun: 'XcmV1MultiassetFungibility'952 },953 /**954 * Lookup115: xcm::v1::multiasset::AssetId955 **/956 XcmV1MultiassetAssetId: {957 _enum: {958 Concrete: 'XcmV1MultiLocation',959 Abstract: 'Bytes'960 }961 },962 /**963 * Lookup116: xcm::v1::multiasset::Fungibility964 **/965 XcmV1MultiassetFungibility: {966 _enum: {967 Fungible: 'Compact<u128>',968 NonFungible: 'XcmV1MultiassetAssetInstance'969 }970 },971 /**972 * Lookup118: xcm::v1::order::Order<Call>973 **/974 XcmV1Order: {975 _enum: {976 Noop: 'Null',977 DepositAsset: {978 assets: 'XcmV1MultiassetMultiAssetFilter',979 maxAssets: 'u32',980 beneficiary: 'XcmV1MultiLocation',981 },982 DepositReserveAsset: {983 assets: 'XcmV1MultiassetMultiAssetFilter',984 maxAssets: 'u32',985 dest: 'XcmV1MultiLocation',986 effects: 'Vec<XcmV1Order>',987 },988 ExchangeAsset: {989 give: 'XcmV1MultiassetMultiAssetFilter',990 receive: 'XcmV1MultiassetMultiAssets',991 },992 InitiateReserveWithdraw: {993 assets: 'XcmV1MultiassetMultiAssetFilter',994 reserve: 'XcmV1MultiLocation',995 effects: 'Vec<XcmV1Order>',996 },997 InitiateTeleport: {998 assets: 'XcmV1MultiassetMultiAssetFilter',999 dest: 'XcmV1MultiLocation',1000 effects: 'Vec<XcmV1Order>',1001 },1002 QueryHolding: {1003 queryId: 'Compact<u64>',1004 dest: 'XcmV1MultiLocation',1005 assets: 'XcmV1MultiassetMultiAssetFilter',1006 },1007 BuyExecution: {1008 fees: 'XcmV1MultiAsset',1009 weight: 'u64',1010 debt: 'u64',1011 haltOnError: 'bool',1012 instructions: 'Vec<XcmV1Xcm>'1013 }1014 }1015 },1016 /**1017 * Lookup119: xcm::v1::multiasset::MultiAssetFilter1018 **/1019 XcmV1MultiassetMultiAssetFilter: {1020 _enum: {1021 Definite: 'XcmV1MultiassetMultiAssets',1022 Wild: 'XcmV1MultiassetWildMultiAsset'1023 }1024 },1025 /**1026 * Lookup120: xcm::v1::multiasset::WildMultiAsset1027 **/1028 XcmV1MultiassetWildMultiAsset: {1029 _enum: {1030 All: 'Null',1031 AllOf: {1032 id: 'XcmV1MultiassetAssetId',1033 fun: 'XcmV1MultiassetWildFungibility'1034 }1035 }1036 },1037 /**1038 * Lookup121: xcm::v1::multiasset::WildFungibility1039 **/1040 XcmV1MultiassetWildFungibility: {1041 _enum: ['Fungible', 'NonFungible']1042 },1043 /**1044 * Lookup123: xcm::v1::Response1045 **/1046 XcmV1Response: {1047 _enum: {1048 Assets: 'XcmV1MultiassetMultiAssets',1049 Version: 'u32'1050 }1051 },1052 /**1053 * Lookup124: xcm::v2::Xcm<Call>1054 **/1055 XcmV2Xcm: 'Vec<XcmV2Instruction>',1056 /**1057 * Lookup126: xcm::v2::Instruction<Call>1058 **/1059 XcmV2Instruction: {1060 _enum: {1061 WithdrawAsset: 'XcmV1MultiassetMultiAssets',1062 ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',1063 ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',1064 QueryResponse: {1065 queryId: 'Compact<u64>',1066 response: 'XcmV2Response',1067 maxWeight: 'Compact<u64>',1068 },1069 TransferAsset: {1070 assets: 'XcmV1MultiassetMultiAssets',1071 beneficiary: 'XcmV1MultiLocation',1072 },1073 TransferReserveAsset: {1074 assets: 'XcmV1MultiassetMultiAssets',1075 dest: 'XcmV1MultiLocation',1076 xcm: 'XcmV2Xcm',1077 },1078 Transact: {1079 originType: 'XcmV0OriginKind',1080 requireWeightAtMost: 'Compact<u64>',1081 call: 'XcmDoubleEncoded',1082 },1083 HrmpNewChannelOpenRequest: {1084 sender: 'Compact<u32>',1085 maxMessageSize: 'Compact<u32>',1086 maxCapacity: 'Compact<u32>',1087 },1088 HrmpChannelAccepted: {1089 recipient: 'Compact<u32>',1090 },1091 HrmpChannelClosing: {1092 initiator: 'Compact<u32>',1093 sender: 'Compact<u32>',1094 recipient: 'Compact<u32>',1095 },1096 ClearOrigin: 'Null',1097 DescendOrigin: 'XcmV1MultilocationJunctions',1098 ReportError: {1099 queryId: 'Compact<u64>',1100 dest: 'XcmV1MultiLocation',1101 maxResponseWeight: 'Compact<u64>',1102 },1103 DepositAsset: {1104 assets: 'XcmV1MultiassetMultiAssetFilter',1105 maxAssets: 'Compact<u32>',1106 beneficiary: 'XcmV1MultiLocation',1107 },1108 DepositReserveAsset: {1109 assets: 'XcmV1MultiassetMultiAssetFilter',1110 maxAssets: 'Compact<u32>',1111 dest: 'XcmV1MultiLocation',1112 xcm: 'XcmV2Xcm',1113 },1114 ExchangeAsset: {1115 give: 'XcmV1MultiassetMultiAssetFilter',1116 receive: 'XcmV1MultiassetMultiAssets',1117 },1118 InitiateReserveWithdraw: {1119 assets: 'XcmV1MultiassetMultiAssetFilter',1120 reserve: 'XcmV1MultiLocation',1121 xcm: 'XcmV2Xcm',1122 },1123 InitiateTeleport: {1124 assets: 'XcmV1MultiassetMultiAssetFilter',1125 dest: 'XcmV1MultiLocation',1126 xcm: 'XcmV2Xcm',1127 },1128 QueryHolding: {1129 queryId: 'Compact<u64>',1130 dest: 'XcmV1MultiLocation',1131 assets: 'XcmV1MultiassetMultiAssetFilter',1132 maxResponseWeight: 'Compact<u64>',1133 },1134 BuyExecution: {1135 fees: 'XcmV1MultiAsset',1136 weightLimit: 'XcmV2WeightLimit',1137 },1138 RefundSurplus: 'Null',1139 SetErrorHandler: 'XcmV2Xcm',1140 SetAppendix: 'XcmV2Xcm',1141 ClearError: 'Null',1142 ClaimAsset: {1143 assets: 'XcmV1MultiassetMultiAssets',1144 ticket: 'XcmV1MultiLocation',1145 },1146 Trap: 'Compact<u64>',1147 SubscribeVersion: {1148 queryId: 'Compact<u64>',1149 maxResponseWeight: 'Compact<u64>',1150 },1151 UnsubscribeVersion: 'Null'1152 }1153 },1154 /**1155 * Lookup127: xcm::v2::Response1156 **/1157 XcmV2Response: {1158 _enum: {1159 Null: 'Null',1160 Assets: 'XcmV1MultiassetMultiAssets',1161 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',1162 Version: 'u32'1163 }1164 },1165 /**1166 * Lookup130: xcm::v2::traits::Error1167 **/1168 XcmV2TraitsError: {1169 _enum: {1170 Overflow: 'Null',1171 Unimplemented: 'Null',1172 UntrustedReserveLocation: 'Null',1173 UntrustedTeleportLocation: 'Null',1174 MultiLocationFull: 'Null',1175 MultiLocationNotInvertible: 'Null',1176 BadOrigin: 'Null',1177 InvalidLocation: 'Null',1178 AssetNotFound: 'Null',1179 FailedToTransactAsset: 'Null',1180 NotWithdrawable: 'Null',1181 LocationCannotHold: 'Null',1182 ExceedsMaxMessageSize: 'Null',1183 DestinationUnsupported: 'Null',1184 Transport: 'Null',1185 Unroutable: 'Null',1186 UnknownClaim: 'Null',1187 FailedToDecode: 'Null',1188 MaxWeightInvalid: 'Null',1189 NotHoldingFees: 'Null',1190 TooExpensive: 'Null',1191 Trap: 'u64',1192 UnhandledXcmVersion: 'Null',1193 WeightLimitReached: 'u64',1194 Barrier: 'Null',1195 WeightNotComputable: 'Null'1196 }1197 },1198 /**1199 * Lookup131: xcm::v2::WeightLimit1200 **/1201 XcmV2WeightLimit: {1202 _enum: {1203 Unlimited: 'Null',1204 Limited: 'Compact<u64>'1205 }1206 },1207 /**1208 * Lookup132: xcm::VersionedMultiAssets1209 **/1210 XcmVersionedMultiAssets: {1211 _enum: {1212 V0: 'Vec<XcmV0MultiAsset>',1213 V1: 'XcmV1MultiassetMultiAssets'1214 }1215 },1216 /**1217 * Lookup147: cumulus_pallet_xcm::pallet::Call<T>1218 **/1219 CumulusPalletXcmCall: 'Null',1220 /**1221 * Lookup148: cumulus_pallet_dmp_queue::pallet::Call<T>1222 **/1223 CumulusPalletDmpQueueCall: {1224 _enum: {1225 service_overweight: {1226 index: 'u64',1227 weightLimit: 'u64'1228 }1229 }1230 },1231 /**1232 * Lookup149: pallet_inflation::pallet::Call<T>1233 **/1234 PalletInflationCall: {1235 _enum: {1236 start_inflation: {1237 inflationStartRelayBlock: 'u32'1238 }1239 }1240 },1241 /**1242 * Lookup150: pallet_unique::Call<T>1243 **/1244 PalletUniqueCall: {1245 _enum: {1246 create_collection: {1247 collectionName: 'Vec<u16>',1248 collectionDescription: 'Vec<u16>',1249 tokenPrefix: 'Bytes',1250 mode: 'UpDataStructsCollectionMode',1251 },1252 create_collection_ex: {1253 data: 'UpDataStructsCreateCollectionData',1254 },1255 destroy_collection: {1256 collectionId: 'u32',1257 },1258 add_to_allow_list: {1259 collectionId: 'u32',1260 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1261 },1262 remove_from_allow_list: {1263 collectionId: 'u32',1264 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1265 },1266 change_collection_owner: {1267 collectionId: 'u32',1268 newOwner: 'AccountId32',1269 },1270 add_collection_admin: {1271 collectionId: 'u32',1272 newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',1273 },1274 remove_collection_admin: {1275 collectionId: 'u32',1276 accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',1277 },1278 set_collection_sponsor: {1279 collectionId: 'u32',1280 newSponsor: 'AccountId32',1281 },1282 confirm_sponsorship: {1283 collectionId: 'u32',1284 },1285 remove_collection_sponsor: {1286 collectionId: 'u32',1287 },1288 create_item: {1289 collectionId: 'u32',1290 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1291 data: 'UpDataStructsCreateItemData',1292 },1293 create_multiple_items: {1294 collectionId: 'u32',1295 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1296 itemsData: 'Vec<UpDataStructsCreateItemData>',1297 },1298 set_collection_properties: {1299 collectionId: 'u32',1300 properties: 'Vec<UpDataStructsProperty>',1301 },1302 delete_collection_properties: {1303 collectionId: 'u32',1304 propertyKeys: 'Vec<Bytes>',1305 },1306 set_token_properties: {1307 collectionId: 'u32',1308 tokenId: 'u32',1309 properties: 'Vec<UpDataStructsProperty>',1310 },1311 delete_token_properties: {1312 collectionId: 'u32',1313 tokenId: 'u32',1314 propertyKeys: 'Vec<Bytes>',1315 },1316 set_token_property_permissions: {1317 collectionId: 'u32',1318 propertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1319 },1320 create_multiple_items_ex: {1321 collectionId: 'u32',1322 data: 'UpDataStructsCreateItemExData',1323 },1324 set_transfers_enabled_flag: {1325 collectionId: 'u32',1326 value: 'bool',1327 },1328 burn_item: {1329 collectionId: 'u32',1330 itemId: 'u32',1331 value: 'u128',1332 },1333 burn_from: {1334 collectionId: 'u32',1335 from: 'PalletEvmAccountBasicCrossAccountIdRepr',1336 itemId: 'u32',1337 value: 'u128',1338 },1339 transfer: {1340 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1341 collectionId: 'u32',1342 itemId: 'u32',1343 value: 'u128',1344 },1345 approve: {1346 spender: 'PalletEvmAccountBasicCrossAccountIdRepr',1347 collectionId: 'u32',1348 itemId: 'u32',1349 amount: 'u128',1350 },1351 transfer_from: {1352 from: 'PalletEvmAccountBasicCrossAccountIdRepr',1353 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1354 collectionId: 'u32',1355 itemId: 'u32',1356 value: 'u128',1357 },1358 set_collection_limits: {1359 collectionId: 'u32',1360 newLimit: 'UpDataStructsCollectionLimits',1361 },1362 set_collection_permissions: {1363 collectionId: 'u32',1364 newLimit: 'UpDataStructsCollectionPermissions'1365 }1366 }1367 },1368 /**1369 * Lookup156: up_data_structs::CollectionMode1370 **/1371 UpDataStructsCollectionMode: {1372 _enum: {1373 NFT: 'Null',1374 Fungible: 'u8',1375 ReFungible: 'Null'1376 }1377 },1378 /**1379 * Lookup157: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>1380 **/1381 UpDataStructsCreateCollectionData: {1382 mode: 'UpDataStructsCollectionMode',1383 access: 'Option<UpDataStructsAccessMode>',1384 name: 'Vec<u16>',1385 description: 'Vec<u16>',1386 tokenPrefix: 'Bytes',1387 pendingSponsor: 'Option<AccountId32>',1388 limits: 'Option<UpDataStructsCollectionLimits>',1389 permissions: 'Option<UpDataStructsCollectionPermissions>',1390 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1391 properties: 'Vec<UpDataStructsProperty>'1392 },1393 /**1394 * Lookup159: up_data_structs::AccessMode1395 **/1396 UpDataStructsAccessMode: {1397 _enum: ['Normal', 'AllowList']1398 },1399 /**1400 * Lookup162: up_data_structs::CollectionLimits1401 **/1402 UpDataStructsCollectionLimits: {1403 accountTokenOwnershipLimit: 'Option<u32>',1404 sponsoredDataSize: 'Option<u32>',1405 sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',1406 tokenLimit: 'Option<u32>',1407 sponsorTransferTimeout: 'Option<u32>',1408 sponsorApproveTimeout: 'Option<u32>',1409 ownerCanTransfer: 'Option<bool>',1410 ownerCanDestroy: 'Option<bool>',1411 transfersEnabled: 'Option<bool>'1412 },1413 /**1414 * Lookup164: up_data_structs::SponsoringRateLimit1415 **/1416 UpDataStructsSponsoringRateLimit: {1417 _enum: {1418 SponsoringDisabled: 'Null',1419 Blocks: 'u32'1420 }1421 },1422 /**1423 * Lookup167: up_data_structs::CollectionPermissions1424 **/1425 UpDataStructsCollectionPermissions: {1426 access: 'Option<UpDataStructsAccessMode>',1427 mintMode: 'Option<bool>',1428 nesting: 'Option<UpDataStructsNestingPermissions>'1429 },1430 /**1431 * Lookup169: up_data_structs::NestingPermissions1432 **/1433 UpDataStructsNestingPermissions: {1434 tokenOwner: 'bool',1435 collectionAdmin: 'bool',1436 restricted: 'Option<UpDataStructsOwnerRestrictedSet>',1437 permissive: 'bool'1438 },1439 /**1440 * Lookup171: up_data_structs::OwnerRestrictedSet1441 **/1442 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',1443 /**1444 * Lookup177: up_data_structs::PropertyKeyPermission1445 **/1446 UpDataStructsPropertyKeyPermission: {1447 key: 'Bytes',1448 permission: 'UpDataStructsPropertyPermission'1449 },1450 /**1451 * Lookup179: up_data_structs::PropertyPermission1452 **/1453 UpDataStructsPropertyPermission: {1454 mutable: 'bool',1455 collectionAdmin: 'bool',1456 tokenOwner: 'bool'1457 },1458 /**1459 * Lookup182: up_data_structs::Property1460 **/1461 UpDataStructsProperty: {1462 key: 'Bytes',1463 value: 'Bytes'1464 },1465 /**1466 * Lookup185: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1467 **/1468 PalletEvmAccountBasicCrossAccountIdRepr: {1469 _enum: {1470 Substrate: 'AccountId32',1471 Ethereum: 'H160'1472 }1473 },1474 /**1475 * Lookup187: up_data_structs::CreateItemData1476 **/1477 UpDataStructsCreateItemData: {1478 _enum: {1479 NFT: 'UpDataStructsCreateNftData',1480 Fungible: 'UpDataStructsCreateFungibleData',1481 ReFungible: 'UpDataStructsCreateReFungibleData'1482 }1483 },1484 /**1485 * Lookup188: up_data_structs::CreateNftData1486 **/1487 UpDataStructsCreateNftData: {1488 properties: 'Vec<UpDataStructsProperty>'1489 },1490 /**1491 * Lookup189: up_data_structs::CreateFungibleData1492 **/1493 UpDataStructsCreateFungibleData: {1494 value: 'u128'1495 },1496 /**1497 * Lookup190: up_data_structs::CreateReFungibleData1498 **/1499 UpDataStructsCreateReFungibleData: {1500 constData: 'Bytes',1501 pieces: 'u128'1502 },1503 /**1504 * Lookup195: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1505 **/1506 UpDataStructsCreateItemExData: {1507 _enum: {1508 NFT: 'Vec<UpDataStructsCreateNftExData>',1509 Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',1510 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',1511 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1512 }1513 },1514 /**1515 * Lookup197: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1516 **/1517 UpDataStructsCreateNftExData: {1518 properties: 'Vec<UpDataStructsProperty>',1519 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1520 },1521 /**1522 * Lookup204: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1523 **/1524 UpDataStructsCreateRefungibleExData: {1525 constData: 'Bytes',1526 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'1527 },1528 /**1529 * Lookup206: pallet_unique_scheduler::pallet::Call<T>1530 **/1531 PalletUniqueSchedulerCall: {1532 _enum: {1533 schedule_named: {1534 id: '[u8;16]',1535 when: 'u32',1536 maybePeriodic: 'Option<(u32,u32)>',1537 priority: 'u8',1538 call: 'FrameSupportScheduleMaybeHashed',1539 },1540 cancel_named: {1541 id: '[u8;16]',1542 },1543 schedule_named_after: {1544 id: '[u8;16]',1545 after: 'u32',1546 maybePeriodic: 'Option<(u32,u32)>',1547 priority: 'u8',1548 call: 'FrameSupportScheduleMaybeHashed'1549 }1550 }1551 },1552 /**1553 * Lookup208: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>1554 **/1555 FrameSupportScheduleMaybeHashed: {1556 _enum: {1557 Value: 'Call',1558 Hash: 'H256'1559 }1560 },1561 /**1562 * Lookup209: pallet_template_transaction_payment::Call<T>1563 **/1564 PalletTemplateTransactionPaymentCall: 'Null',1565 /**1566 * Lookup210: pallet_structure::pallet::Call<T>1567 **/1568 PalletStructureCall: 'Null',1569 /**1570 * Lookup211: pallet_rmrk_core::pallet::Call<T>1571 **/1572 PalletRmrkCoreCall: {1573 _enum: {1574 create_collection: {1575 metadata: 'Bytes',1576 max: 'Option<u32>',1577 symbol: 'Bytes',1578 },1579 destroy_collection: {1580 collectionId: 'u32',1581 },1582 change_collection_issuer: {1583 collectionId: 'u32',1584 newIssuer: 'MultiAddress',1585 },1586 lock_collection: {1587 collectionId: 'u32',1588 },1589 mint_nft: {1590 owner: 'AccountId32',1591 collectionId: 'u32',1592 recipient: 'Option<AccountId32>',1593 royaltyAmount: 'Option<Permill>',1594 metadata: 'Bytes',1595 transferable: 'bool',1596 resources: 'Option<Vec<RmrkTraitsResourceResourceTypes>>',1597 },1598 burn_nft: {1599 collectionId: 'u32',1600 nftId: 'u32',1601 maxBurns: 'u32',1602 },1603 send: {1604 rmrkCollectionId: 'u32',1605 rmrkNftId: 'u32',1606 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1607 },1608 accept_nft: {1609 rmrkCollectionId: 'u32',1610 rmrkNftId: 'u32',1611 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1612 },1613 reject_nft: {1614 rmrkCollectionId: 'u32',1615 rmrkNftId: 'u32',1616 },1617 accept_resource: {1618 rmrkCollectionId: 'u32',1619 rmrkNftId: 'u32',1620 rmrkResourceId: 'u32',1621 },1622 accept_resource_removal: {1623 rmrkCollectionId: 'u32',1624 rmrkNftId: 'u32',1625 rmrkResourceId: 'u32',1626 },1627 set_property: {1628 rmrkCollectionId: 'Compact<u32>',1629 maybeNftId: 'Option<u32>',1630 key: 'Bytes',1631 value: 'Bytes',1632 },1633 set_priority: {1634 rmrkCollectionId: 'u32',1635 rmrkNftId: 'u32',1636 priorities: 'Vec<u32>',1637 },1638 add_basic_resource: {1639 rmrkCollectionId: 'u32',1640 nftId: 'u32',1641 resource: 'RmrkTraitsResourceBasicResource',1642 },1643 add_composable_resource: {1644 rmrkCollectionId: 'u32',1645 nftId: 'u32',1646 resource: 'RmrkTraitsResourceComposableResource',1647 },1648 add_slot_resource: {1649 rmrkCollectionId: 'u32',1650 nftId: 'u32',1651 resource: 'RmrkTraitsResourceSlotResource',1652 },1653 remove_resource: {1654 rmrkCollectionId: 'u32',1655 nftId: 'u32',1656 resourceId: 'u32'1657 }1658 }1659 },1660 /**1661 * Lookup217: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1662 **/1663 RmrkTraitsResourceResourceTypes: {1664 _enum: {1665 Basic: 'RmrkTraitsResourceBasicResource',1666 Composable: 'RmrkTraitsResourceComposableResource',1667 Slot: 'RmrkTraitsResourceSlotResource'1668 }1669 },1670 /**1671 * Lookup219: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1672 **/1673 RmrkTraitsResourceBasicResource: {1674 src: 'Option<Bytes>',1675 metadata: 'Option<Bytes>',1676 license: 'Option<Bytes>',1677 thumb: 'Option<Bytes>'1678 },1679 /**1680 * Lookup221: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1681 **/1682 RmrkTraitsResourceComposableResource: {1683 parts: 'Vec<u32>',1684 base: 'u32',1685 src: 'Option<Bytes>',1686 metadata: 'Option<Bytes>',1687 license: 'Option<Bytes>',1688 thumb: 'Option<Bytes>'1689 },1690 /**1691 * Lookup222: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1692 **/1693 RmrkTraitsResourceSlotResource: {1694 base: 'u32',1695 src: 'Option<Bytes>',1696 metadata: 'Option<Bytes>',1697 slot: 'u32',1698 license: 'Option<Bytes>',1699 thumb: 'Option<Bytes>'1700 },1701 /**1702 * Lookup224: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1703 **/1704 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1705 _enum: {1706 AccountId: 'AccountId32',1707 CollectionAndNftTuple: '(u32,u32)'1708 }1709 },1710 /**1711 * Lookup228: pallet_rmrk_equip::pallet::Call<T>1712 **/1713 PalletRmrkEquipCall: {1714 _enum: {1715 create_base: {1716 baseType: 'Bytes',1717 symbol: 'Bytes',1718 parts: 'Vec<RmrkTraitsPartPartType>',1719 },1720 theme_add: {1721 baseId: 'u32',1722 theme: 'RmrkTraitsTheme'1723 }1724 }1725 },1726 /**1727 * Lookup230: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1728 **/1729 RmrkTraitsPartPartType: {1730 _enum: {1731 FixedPart: 'RmrkTraitsPartFixedPart',1732 SlotPart: 'RmrkTraitsPartSlotPart'1733 }1734 },1735 /**1736 * Lookup232: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1737 **/1738 RmrkTraitsPartFixedPart: {1739 id: 'u32',1740 z: 'u32',1741 src: 'Bytes'1742 },1743 /**1744 * Lookup233: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1745 **/1746 RmrkTraitsPartSlotPart: {1747 id: 'u32',1748 equippable: 'RmrkTraitsPartEquippableList',1749 src: 'Bytes',1750 z: 'u32'1751 },1752 /**1753 * Lookup234: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1754 **/1755 RmrkTraitsPartEquippableList: {1756 _enum: {1757 All: 'Null',1758 Empty: 'Null',1759 Custom: 'Vec<u32>'1760 }1761 },1762 /**1763 * Lookup236: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>1764 **/1765 RmrkTraitsTheme: {1766 name: 'Bytes',1767 properties: 'Vec<RmrkTraitsThemeThemeProperty>',1768 inherit: 'bool'1769 },1770 /**1771 * Lookup238: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1772 **/1773 RmrkTraitsThemeThemeProperty: {1774 key: 'Bytes',1775 value: 'Bytes'1776 },1777 /**1778 * Lookup239: pallet_evm::pallet::Call<T>1779 **/1780 PalletEvmCall: {1781 _enum: {1782 withdraw: {1783 address: 'H160',1784 value: 'u128',1785 },1786 call: {1787 source: 'H160',1788 target: 'H160',1789 input: 'Bytes',1790 value: 'U256',1791 gasLimit: 'u64',1792 maxFeePerGas: 'U256',1793 maxPriorityFeePerGas: 'Option<U256>',1794 nonce: 'Option<U256>',1795 accessList: 'Vec<(H160,Vec<H256>)>',1796 },1797 create: {1798 source: 'H160',1799 init: 'Bytes',1800 value: 'U256',1801 gasLimit: 'u64',1802 maxFeePerGas: 'U256',1803 maxPriorityFeePerGas: 'Option<U256>',1804 nonce: 'Option<U256>',1805 accessList: 'Vec<(H160,Vec<H256>)>',1806 },1807 create2: {1808 source: 'H160',1809 init: 'Bytes',1810 salt: 'H256',1811 value: 'U256',1812 gasLimit: 'u64',1813 maxFeePerGas: 'U256',1814 maxPriorityFeePerGas: 'Option<U256>',1815 nonce: 'Option<U256>',1816 accessList: 'Vec<(H160,Vec<H256>)>'1817 }1818 }1819 },1820 /**1821 * Lookup245: pallet_ethereum::pallet::Call<T>1822 **/1823 PalletEthereumCall: {1824 _enum: {1825 transact: {1826 transaction: 'EthereumTransactionTransactionV2'1827 }1828 }1829 },1830 /**1831 * Lookup246: ethereum::transaction::TransactionV21832 **/1833 EthereumTransactionTransactionV2: {1834 _enum: {1835 Legacy: 'EthereumTransactionLegacyTransaction',1836 EIP2930: 'EthereumTransactionEip2930Transaction',1837 EIP1559: 'EthereumTransactionEip1559Transaction'1838 }1839 },1840 /**1841 * Lookup247: ethereum::transaction::LegacyTransaction1842 **/1843 EthereumTransactionLegacyTransaction: {1844 nonce: 'U256',1845 gasPrice: 'U256',1846 gasLimit: 'U256',1847 action: 'EthereumTransactionTransactionAction',1848 value: 'U256',1849 input: 'Bytes',1850 signature: 'EthereumTransactionTransactionSignature'1851 },1852 /**1853 * Lookup248: ethereum::transaction::TransactionAction1854 **/1855 EthereumTransactionTransactionAction: {1856 _enum: {1857 Call: 'H160',1858 Create: 'Null'1859 }1860 },1861 /**1862 * Lookup249: ethereum::transaction::TransactionSignature1863 **/1864 EthereumTransactionTransactionSignature: {1865 v: 'u64',1866 r: 'H256',1867 s: 'H256'1868 },1869 /**1870 * Lookup251: ethereum::transaction::EIP2930Transaction1871 **/1872 EthereumTransactionEip2930Transaction: {1873 chainId: 'u64',1874 nonce: 'U256',1875 gasPrice: 'U256',1876 gasLimit: 'U256',1877 action: 'EthereumTransactionTransactionAction',1878 value: 'U256',1879 input: 'Bytes',1880 accessList: 'Vec<EthereumTransactionAccessListItem>',1881 oddYParity: 'bool',1882 r: 'H256',1883 s: 'H256'1884 },1885 /**1886 * Lookup253: ethereum::transaction::AccessListItem1887 **/1888 EthereumTransactionAccessListItem: {1889 address: 'H160',1890 storageKeys: 'Vec<H256>'1891 },1892 /**1893 * Lookup254: ethereum::transaction::EIP1559Transaction1894 **/1895 EthereumTransactionEip1559Transaction: {1896 chainId: 'u64',1897 nonce: 'U256',1898 maxPriorityFeePerGas: 'U256',1899 maxFeePerGas: 'U256',1900 gasLimit: 'U256',1901 action: 'EthereumTransactionTransactionAction',1902 value: 'U256',1903 input: 'Bytes',1904 accessList: 'Vec<EthereumTransactionAccessListItem>',1905 oddYParity: 'bool',1906 r: 'H256',1907 s: 'H256'1908 },1909 /**1910 * Lookup255: pallet_evm_migration::pallet::Call<T>1911 **/1912 PalletEvmMigrationCall: {1913 _enum: {1914 begin: {1915 address: 'H160',1916 },1917 set_data: {1918 address: 'H160',1919 data: 'Vec<(H256,H256)>',1920 },1921 finish: {1922 address: 'H160',1923 code: 'Bytes'1924 }1925 }1926 },1927 /**1928 * Lookup258: pallet_sudo::pallet::Event<T>1929 **/1930 PalletSudoEvent: {1931 _enum: {1932 Sudid: {1933 sudoResult: 'Result<Null, SpRuntimeDispatchError>',1934 },1935 KeyChanged: {1936 oldSudoer: 'Option<AccountId32>',1937 },1938 SudoAsDone: {1939 sudoResult: 'Result<Null, SpRuntimeDispatchError>'1940 }1941 }1942 },1943 /**1944 * Lookup260: sp_runtime::DispatchError1945 **/1946 SpRuntimeDispatchError: {1947 _enum: {1948 Other: 'Null',1949 CannotLookup: 'Null',1950 BadOrigin: 'Null',1951 Module: 'SpRuntimeModuleError',1952 ConsumerRemaining: 'Null',1953 NoProviders: 'Null',1954 TooManyConsumers: 'Null',1955 Token: 'SpRuntimeTokenError',1956 Arithmetic: 'SpRuntimeArithmeticError',1957 Transactional: 'SpRuntimeTransactionalError'1958 }1959 },1960 /**1961 * Lookup261: sp_runtime::ModuleError1962 **/1963 SpRuntimeModuleError: {1964 index: 'u8',1965 error: '[u8;4]'1966 },1967 /**1968 * Lookup262: sp_runtime::TokenError1969 **/1970 SpRuntimeTokenError: {1971 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1972 },1973 /**1974 * Lookup263: sp_runtime::ArithmeticError1975 **/1976 SpRuntimeArithmeticError: {1977 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1978 },1979 /**1980 * Lookup264: sp_runtime::TransactionalError1981 **/1982 SpRuntimeTransactionalError: {1983 _enum: ['LimitReached', 'NoLayer']1984 },1985 /**1986 * Lookup265: pallet_sudo::pallet::Error<T>1987 **/1988 PalletSudoError: {1989 _enum: ['RequireSudo']1990 },1991 /**1992 * Lookup266: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1993 **/1994 FrameSystemAccountInfo: {1995 nonce: 'u32',1996 consumers: 'u32',1997 providers: 'u32',1998 sufficients: 'u32',1999 data: 'PalletBalancesAccountData'2000 },2001 /**2002 * Lookup267: frame_support::weights::PerDispatchClass<T>2003 **/2004 FrameSupportWeightsPerDispatchClassU64: {2005 normal: 'u64',2006 operational: 'u64',2007 mandatory: 'u64'2008 },2009 /**2010 * Lookup268: sp_runtime::generic::digest::Digest2011 **/2012 SpRuntimeDigest: {2013 logs: 'Vec<SpRuntimeDigestDigestItem>'2014 },2015 /**2016 * Lookup270: sp_runtime::generic::digest::DigestItem2017 **/2018 SpRuntimeDigestDigestItem: {2019 _enum: {2020 Other: 'Bytes',2021 __Unused1: 'Null',2022 __Unused2: 'Null',2023 __Unused3: 'Null',2024 Consensus: '([u8;4],Bytes)',2025 Seal: '([u8;4],Bytes)',2026 PreRuntime: '([u8;4],Bytes)',2027 __Unused7: 'Null',2028 RuntimeEnvironmentUpdated: 'Null'2029 }2030 },2031 /**2032 * Lookup272: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>2033 **/2034 FrameSystemEventRecord: {2035 phase: 'FrameSystemPhase',2036 event: 'Event',2037 topics: 'Vec<H256>'2038 },2039 /**2040 * Lookup274: frame_system::pallet::Event<T>2041 **/2042 FrameSystemEvent: {2043 _enum: {2044 ExtrinsicSuccess: {2045 dispatchInfo: 'FrameSupportWeightsDispatchInfo',2046 },2047 ExtrinsicFailed: {2048 dispatchError: 'SpRuntimeDispatchError',2049 dispatchInfo: 'FrameSupportWeightsDispatchInfo',2050 },2051 CodeUpdated: 'Null',2052 NewAccount: {2053 account: 'AccountId32',2054 },2055 KilledAccount: {2056 account: 'AccountId32',2057 },2058 Remarked: {2059 _alias: {2060 hash_: 'hash',2061 },2062 sender: 'AccountId32',2063 hash_: 'H256'2064 }2065 }2066 },2067 /**2068 * Lookup275: frame_support::weights::DispatchInfo2069 **/2070 FrameSupportWeightsDispatchInfo: {2071 weight: 'u64',2072 class: 'FrameSupportWeightsDispatchClass',2073 paysFee: 'FrameSupportWeightsPays'2074 },2075 /**2076 * Lookup276: frame_support::weights::DispatchClass2077 **/2078 FrameSupportWeightsDispatchClass: {2079 _enum: ['Normal', 'Operational', 'Mandatory']2080 },2081 /**2082 * Lookup277: frame_support::weights::Pays2083 **/2084 FrameSupportWeightsPays: {2085 _enum: ['Yes', 'No']2086 },2087 /**2088 * Lookup278: orml_vesting::module::Event<T>2089 **/2090 OrmlVestingModuleEvent: {2091 _enum: {2092 VestingScheduleAdded: {2093 from: 'AccountId32',2094 to: 'AccountId32',2095 vestingSchedule: 'OrmlVestingVestingSchedule',2096 },2097 Claimed: {2098 who: 'AccountId32',2099 amount: 'u128',2100 },2101 VestingSchedulesUpdated: {2102 who: 'AccountId32'2103 }2104 }2105 },2106 /**2107 * Lookup279: cumulus_pallet_xcmp_queue::pallet::Event<T>2108 **/2109 CumulusPalletXcmpQueueEvent: {2110 _enum: {2111 Success: 'Option<H256>',2112 Fail: '(Option<H256>,XcmV2TraitsError)',2113 BadVersion: 'Option<H256>',2114 BadFormat: 'Option<H256>',2115 UpwardMessageSent: 'Option<H256>',2116 XcmpMessageSent: 'Option<H256>',2117 OverweightEnqueued: '(u32,u32,u64,u64)',2118 OverweightServiced: '(u64,u64)'2119 }2120 },2121 /**2122 * Lookup280: pallet_xcm::pallet::Event<T>2123 **/2124 PalletXcmEvent: {2125 _enum: {2126 Attempted: 'XcmV2TraitsOutcome',2127 Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',2128 UnexpectedResponse: '(XcmV1MultiLocation,u64)',2129 ResponseReady: '(u64,XcmV2Response)',2130 Notified: '(u64,u8,u8)',2131 NotifyOverweight: '(u64,u8,u8,u64,u64)',2132 NotifyDispatchError: '(u64,u8,u8)',2133 NotifyDecodeFailed: '(u64,u8,u8)',2134 InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',2135 InvalidResponderVersion: '(XcmV1MultiLocation,u64)',2136 ResponseTaken: 'u64',2137 AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',2138 VersionChangeNotified: '(XcmV1MultiLocation,u32)',2139 SupportedVersionChanged: '(XcmV1MultiLocation,u32)',2140 NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',2141 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2142 }2143 },2144 /**2145 * Lookup281: xcm::v2::traits::Outcome2146 **/2147 XcmV2TraitsOutcome: {2148 _enum: {2149 Complete: 'u64',2150 Incomplete: '(u64,XcmV2TraitsError)',2151 Error: 'XcmV2TraitsError'2152 }2153 },2154 /**2155 * Lookup283: cumulus_pallet_xcm::pallet::Event<T>2156 **/2157 CumulusPalletXcmEvent: {2158 _enum: {2159 InvalidFormat: '[u8;8]',2160 UnsupportedVersion: '[u8;8]',2161 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2162 }2163 },2164 /**2165 * Lookup284: cumulus_pallet_dmp_queue::pallet::Event<T>2166 **/2167 CumulusPalletDmpQueueEvent: {2168 _enum: {2169 InvalidFormat: '[u8;32]',2170 UnsupportedVersion: '[u8;32]',2171 ExecutedDownward: '([u8;32],XcmV2TraitsOutcome)',2172 WeightExhausted: '([u8;32],u64,u64)',2173 OverweightEnqueued: '([u8;32],u64,u64)',2174 OverweightServiced: '(u64,u64)'2175 }2176 },2177 /**2178 * Lookup285: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2179 **/2180 PalletUniqueRawEvent: {2181 _enum: {2182 CollectionSponsorRemoved: 'u32',2183 CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2184 CollectionOwnedChanged: '(u32,AccountId32)',2185 CollectionSponsorSet: '(u32,AccountId32)',2186 SponsorshipConfirmed: '(u32,AccountId32)',2187 CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2188 AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2189 AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2190 CollectionLimitSet: 'u32',2191 CollectionPermissionSet: 'u32'2192 }2193 },2194 /**2195 * Lookup286: pallet_unique_scheduler::pallet::Event<T>2196 **/2197 PalletUniqueSchedulerEvent: {2198 _enum: {2199 Scheduled: {2200 when: 'u32',2201 index: 'u32',2202 },2203 Canceled: {2204 when: 'u32',2205 index: 'u32',2206 },2207 Dispatched: {2208 task: '(u32,u32)',2209 id: 'Option<[u8;16]>',2210 result: 'Result<Null, SpRuntimeDispatchError>',2211 },2212 CallLookupFailed: {2213 task: '(u32,u32)',2214 id: 'Option<[u8;16]>',2215 error: 'FrameSupportScheduleLookupError'2216 }2217 }2218 },2219 /**2220 * Lookup288: frame_support::traits::schedule::LookupError2221 **/2222 FrameSupportScheduleLookupError: {2223 _enum: ['Unknown', 'BadFormat']2224 },2225 /**2226 * Lookup289: pallet_common::pallet::Event<T>2227 **/2228 PalletCommonEvent: {2229 _enum: {2230 CollectionCreated: '(u32,u8,AccountId32)',2231 CollectionDestroyed: 'u32',2232 ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2233 ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2234 Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2235 Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2236 CollectionPropertySet: '(u32,Bytes)',2237 CollectionPropertyDeleted: '(u32,Bytes)',2238 TokenPropertySet: '(u32,u32,Bytes)',2239 TokenPropertyDeleted: '(u32,u32,Bytes)',2240 PropertyPermissionSet: '(u32,Bytes)'2241 }2242 },2243 /**2244 * Lookup290: pallet_structure::pallet::Event<T>2245 **/2246 PalletStructureEvent: {2247 _enum: {2248 Executed: 'Result<Null, SpRuntimeDispatchError>'2249 }2250 },2251 /**2252 * Lookup291: pallet_rmrk_core::pallet::Event<T>2253 **/2254 PalletRmrkCoreEvent: {2255 _enum: {2256 CollectionCreated: {2257 issuer: 'AccountId32',2258 collectionId: 'u32',2259 },2260 CollectionDestroyed: {2261 issuer: 'AccountId32',2262 collectionId: 'u32',2263 },2264 IssuerChanged: {2265 oldIssuer: 'AccountId32',2266 newIssuer: 'AccountId32',2267 collectionId: 'u32',2268 },2269 CollectionLocked: {2270 issuer: 'AccountId32',2271 collectionId: 'u32',2272 },2273 NftMinted: {2274 owner: 'AccountId32',2275 collectionId: 'u32',2276 nftId: 'u32',2277 },2278 NFTBurned: {2279 owner: 'AccountId32',2280 nftId: 'u32',2281 },2282 NFTSent: {2283 sender: 'AccountId32',2284 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2285 collectionId: 'u32',2286 nftId: 'u32',2287 approvalRequired: 'bool',2288 },2289 NFTAccepted: {2290 sender: 'AccountId32',2291 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2292 collectionId: 'u32',2293 nftId: 'u32',2294 },2295 NFTRejected: {2296 sender: 'AccountId32',2297 collectionId: 'u32',2298 nftId: 'u32',2299 },2300 PropertySet: {2301 collectionId: 'u32',2302 maybeNftId: 'Option<u32>',2303 key: 'Bytes',2304 value: 'Bytes',2305 },2306 ResourceAdded: {2307 nftId: 'u32',2308 resourceId: 'u32',2309 },2310 ResourceRemoval: {2311 nftId: 'u32',2312 resourceId: 'u32',2313 },2314 ResourceAccepted: {2315 nftId: 'u32',2316 resourceId: 'u32',2317 },2318 ResourceRemovalAccepted: {2319 nftId: 'u32',2320 resourceId: 'u32',2321 },2322 PrioritySet: {2323 collectionId: 'u32',2324 nftId: 'u32'2325 }2326 }2327 },2328 /**2329 * Lookup292: pallet_rmrk_equip::pallet::Event<T>2330 **/2331 PalletRmrkEquipEvent: {2332 _enum: {2333 BaseCreated: {2334 issuer: 'AccountId32',2335 baseId: 'u32'2336 }2337 }2338 },2339 /**2340 * Lookup293: pallet_evm::pallet::Event<T>2341 **/2342 PalletEvmEvent: {2343 _enum: {2344 Log: 'EthereumLog',2345 Created: 'H160',2346 CreatedFailed: 'H160',2347 Executed: 'H160',2348 ExecutedFailed: 'H160',2349 BalanceDeposit: '(AccountId32,H160,U256)',2350 BalanceWithdraw: '(AccountId32,H160,U256)'2351 }2352 },2353 /**2354 * Lookup294: ethereum::log::Log2355 **/2356 EthereumLog: {2357 address: 'H160',2358 topics: 'Vec<H256>',2359 data: 'Bytes'2360 },2361 /**2362 * Lookup295: pallet_ethereum::pallet::Event2363 **/2364 PalletEthereumEvent: {2365 _enum: {2366 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2367 }2368 },2369 /**2370 * Lookup296: evm_core::error::ExitReason2371 **/2372 EvmCoreErrorExitReason: {2373 _enum: {2374 Succeed: 'EvmCoreErrorExitSucceed',2375 Error: 'EvmCoreErrorExitError',2376 Revert: 'EvmCoreErrorExitRevert',2377 Fatal: 'EvmCoreErrorExitFatal'2378 }2379 },2380 /**2381 * Lookup297: evm_core::error::ExitSucceed2382 **/2383 EvmCoreErrorExitSucceed: {2384 _enum: ['Stopped', 'Returned', 'Suicided']2385 },2386 /**2387 * Lookup298: evm_core::error::ExitError2388 **/2389 EvmCoreErrorExitError: {2390 _enum: {2391 StackUnderflow: 'Null',2392 StackOverflow: 'Null',2393 InvalidJump: 'Null',2394 InvalidRange: 'Null',2395 DesignatedInvalid: 'Null',2396 CallTooDeep: 'Null',2397 CreateCollision: 'Null',2398 CreateContractLimit: 'Null',2399 OutOfOffset: 'Null',2400 OutOfGas: 'Null',2401 OutOfFund: 'Null',2402 PCUnderflow: 'Null',2403 CreateEmpty: 'Null',2404 Other: 'Text',2405 InvalidCode: 'Null'2406 }2407 },2408 /**2409 * Lookup301: evm_core::error::ExitRevert2410 **/2411 EvmCoreErrorExitRevert: {2412 _enum: ['Reverted']2413 },2414 /**2415 * Lookup302: evm_core::error::ExitFatal2416 **/2417 EvmCoreErrorExitFatal: {2418 _enum: {2419 NotSupported: 'Null',2420 UnhandledInterrupt: 'Null',2421 CallErrorAsFatal: 'EvmCoreErrorExitError',2422 Other: 'Text'2423 }2424 },2425 /**2426 * Lookup303: frame_system::Phase2427 **/2428 FrameSystemPhase: {2429 _enum: {2430 ApplyExtrinsic: 'u32',2431 Finalization: 'Null',2432 Initialization: 'Null'2433 }2434 },2435 /**2436 * Lookup305: frame_system::LastRuntimeUpgradeInfo2437 **/2438 FrameSystemLastRuntimeUpgradeInfo: {2439 specVersion: 'Compact<u32>',2440 specName: 'Text'2441 },2442 /**2443 * Lookup306: frame_system::limits::BlockWeights2444 **/2445 FrameSystemLimitsBlockWeights: {2446 baseBlock: 'u64',2447 maxBlock: 'u64',2448 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2449 },2450 /**2451 * Lookup307: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2452 **/2453 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2454 normal: 'FrameSystemLimitsWeightsPerClass',2455 operational: 'FrameSystemLimitsWeightsPerClass',2456 mandatory: 'FrameSystemLimitsWeightsPerClass'2457 },2458 /**2459 * Lookup308: frame_system::limits::WeightsPerClass2460 **/2461 FrameSystemLimitsWeightsPerClass: {2462 baseExtrinsic: 'u64',2463 maxExtrinsic: 'Option<u64>',2464 maxTotal: 'Option<u64>',2465 reserved: 'Option<u64>'2466 },2467 /**2468 * Lookup310: frame_system::limits::BlockLength2469 **/2470 FrameSystemLimitsBlockLength: {2471 max: 'FrameSupportWeightsPerDispatchClassU32'2472 },2473 /**2474 * Lookup311: frame_support::weights::PerDispatchClass<T>2475 **/2476 FrameSupportWeightsPerDispatchClassU32: {2477 normal: 'u32',2478 operational: 'u32',2479 mandatory: 'u32'2480 },2481 /**2482 * Lookup312: frame_support::weights::RuntimeDbWeight2483 **/2484 FrameSupportWeightsRuntimeDbWeight: {2485 read: 'u64',2486 write: 'u64'2487 },2488 /**2489 * Lookup313: sp_version::RuntimeVersion2490 **/2491 SpVersionRuntimeVersion: {2492 specName: 'Text',2493 implName: 'Text',2494 authoringVersion: 'u32',2495 specVersion: 'u32',2496 implVersion: 'u32',2497 apis: 'Vec<([u8;8],u32)>',2498 transactionVersion: 'u32',2499 stateVersion: 'u8'2500 },2501 /**2502 * Lookup317: frame_system::pallet::Error<T>2503 **/2504 FrameSystemError: {2505 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2506 },2507 /**2508 * Lookup319: orml_vesting::module::Error<T>2509 **/2510 OrmlVestingModuleError: {2511 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2512 },2513 /**2514 * Lookup321: cumulus_pallet_xcmp_queue::InboundChannelDetails2515 **/2516 CumulusPalletXcmpQueueInboundChannelDetails: {2517 sender: 'u32',2518 state: 'CumulusPalletXcmpQueueInboundState',2519 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2520 },2521 /**2522 * Lookup322: cumulus_pallet_xcmp_queue::InboundState2523 **/2524 CumulusPalletXcmpQueueInboundState: {2525 _enum: ['Ok', 'Suspended']2526 },2527 /**2528 * Lookup325: polkadot_parachain::primitives::XcmpMessageFormat2529 **/2530 PolkadotParachainPrimitivesXcmpMessageFormat: {2531 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2532 },2533 /**2534 * Lookup328: cumulus_pallet_xcmp_queue::OutboundChannelDetails2535 **/2536 CumulusPalletXcmpQueueOutboundChannelDetails: {2537 recipient: 'u32',2538 state: 'CumulusPalletXcmpQueueOutboundState',2539 signalsExist: 'bool',2540 firstIndex: 'u16',2541 lastIndex: 'u16'2542 },2543 /**2544 * Lookup329: cumulus_pallet_xcmp_queue::OutboundState2545 **/2546 CumulusPalletXcmpQueueOutboundState: {2547 _enum: ['Ok', 'Suspended']2548 },2549 /**2550 * Lookup331: cumulus_pallet_xcmp_queue::QueueConfigData2551 **/2552 CumulusPalletXcmpQueueQueueConfigData: {2553 suspendThreshold: 'u32',2554 dropThreshold: 'u32',2555 resumeThreshold: 'u32',2556 thresholdWeight: 'u64',2557 weightRestrictDecay: 'u64',2558 xcmpMaxIndividualWeight: 'u64'2559 },2560 /**2561 * Lookup333: cumulus_pallet_xcmp_queue::pallet::Error<T>2562 **/2563 CumulusPalletXcmpQueueError: {2564 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2565 },2566 /**2567 * Lookup334: pallet_xcm::pallet::Error<T>2568 **/2569 PalletXcmError: {2570 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2571 },2572 /**2573 * Lookup335: cumulus_pallet_xcm::pallet::Error<T>2574 **/2575 CumulusPalletXcmError: 'Null',2576 /**2577 * Lookup336: cumulus_pallet_dmp_queue::ConfigData2578 **/2579 CumulusPalletDmpQueueConfigData: {2580 maxIndividual: 'u64'2581 },2582 /**2583 * Lookup337: cumulus_pallet_dmp_queue::PageIndexData2584 **/2585 CumulusPalletDmpQueuePageIndexData: {2586 beginUsed: 'u32',2587 endUsed: 'u32',2588 overweightCount: 'u64'2589 },2590 /**2591 * Lookup340: cumulus_pallet_dmp_queue::pallet::Error<T>2592 **/2593 CumulusPalletDmpQueueError: {2594 _enum: ['Unknown', 'OverLimit']2595 },2596 /**2597 * Lookup344: pallet_unique::Error<T>2598 **/2599 PalletUniqueError: {2600 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2601 },2602 /**2603 * Lookup347: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2604 **/2605 PalletUniqueSchedulerScheduledV3: {2606 maybeId: 'Option<[u8;16]>',2607 priority: 'u8',2608 call: 'FrameSupportScheduleMaybeHashed',2609 maybePeriodic: 'Option<(u32,u32)>',2610 origin: 'OpalRuntimeOriginCaller'2611 },2612 /**2613 * Lookup348: opal_runtime::OriginCaller2614 **/2615 OpalRuntimeOriginCaller: {2616 _enum: {2617 __Unused0: 'Null',2618 __Unused1: 'Null',2619 __Unused2: 'Null',2620 __Unused3: 'Null',2621 Void: 'SpCoreVoid',2622 __Unused5: 'Null',2623 __Unused6: 'Null',2624 __Unused7: 'Null',2625 __Unused8: 'Null',2626 __Unused9: 'Null',2627 __Unused10: 'Null',2628 __Unused11: 'Null',2629 __Unused12: 'Null',2630 __Unused13: 'Null',2631 __Unused14: 'Null',2632 __Unused15: 'Null',2633 __Unused16: 'Null',2634 __Unused17: 'Null',2635 __Unused18: 'Null',2636 __Unused19: 'Null',2637 __Unused20: 'Null',2638 __Unused21: 'Null',2639 __Unused22: 'Null',2640 __Unused23: 'Null',2641 __Unused24: 'Null',2642 __Unused25: 'Null',2643 __Unused26: 'Null',2644 __Unused27: 'Null',2645 __Unused28: 'Null',2646 __Unused29: 'Null',2647 __Unused30: 'Null',2648 __Unused31: 'Null',2649 __Unused32: 'Null',2650 __Unused33: 'Null',2651 __Unused34: 'Null',2652 __Unused35: 'Null',2653 system: 'FrameSupportDispatchRawOrigin',2654 __Unused37: 'Null',2655 __Unused38: 'Null',2656 __Unused39: 'Null',2657 __Unused40: 'Null',2658 __Unused41: 'Null',2659 __Unused42: 'Null',2660 __Unused43: 'Null',2661 __Unused44: 'Null',2662 __Unused45: 'Null',2663 __Unused46: 'Null',2664 __Unused47: 'Null',2665 __Unused48: 'Null',2666 __Unused49: 'Null',2667 __Unused50: 'Null',2668 PolkadotXcm: 'PalletXcmOrigin',2669 CumulusXcm: 'CumulusPalletXcmOrigin',2670 __Unused53: 'Null',2671 __Unused54: 'Null',2672 __Unused55: 'Null',2673 __Unused56: 'Null',2674 __Unused57: 'Null',2675 __Unused58: 'Null',2676 __Unused59: 'Null',2677 __Unused60: 'Null',2678 __Unused61: 'Null',2679 __Unused62: 'Null',2680 __Unused63: 'Null',2681 __Unused64: 'Null',2682 __Unused65: 'Null',2683 __Unused66: 'Null',2684 __Unused67: 'Null',2685 __Unused68: 'Null',2686 __Unused69: 'Null',2687 __Unused70: 'Null',2688 __Unused71: 'Null',2689 __Unused72: 'Null',2690 __Unused73: 'Null',2691 __Unused74: 'Null',2692 __Unused75: 'Null',2693 __Unused76: 'Null',2694 __Unused77: 'Null',2695 __Unused78: 'Null',2696 __Unused79: 'Null',2697 __Unused80: 'Null',2698 __Unused81: 'Null',2699 __Unused82: 'Null',2700 __Unused83: 'Null',2701 __Unused84: 'Null',2702 __Unused85: 'Null',2703 __Unused86: 'Null',2704 __Unused87: 'Null',2705 __Unused88: 'Null',2706 __Unused89: 'Null',2707 __Unused90: 'Null',2708 __Unused91: 'Null',2709 __Unused92: 'Null',2710 __Unused93: 'Null',2711 __Unused94: 'Null',2712 __Unused95: 'Null',2713 __Unused96: 'Null',2714 __Unused97: 'Null',2715 __Unused98: 'Null',2716 __Unused99: 'Null',2717 __Unused100: 'Null',2718 Ethereum: 'PalletEthereumRawOrigin'2719 }2720 },2721 /**2722 * Lookup349: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2723 **/2724 FrameSupportDispatchRawOrigin: {2725 _enum: {2726 Root: 'Null',2727 Signed: 'AccountId32',2728 None: 'Null'2729 }2730 },2731 /**2732 * Lookup350: pallet_xcm::pallet::Origin2733 **/2734 PalletXcmOrigin: {2735 _enum: {2736 Xcm: 'XcmV1MultiLocation',2737 Response: 'XcmV1MultiLocation'2738 }2739 },2740 /**2741 * Lookup351: cumulus_pallet_xcm::pallet::Origin2742 **/2743 CumulusPalletXcmOrigin: {2744 _enum: {2745 Relay: 'Null',2746 SiblingParachain: 'u32'2747 }2748 },2749 /**2750 * Lookup352: pallet_ethereum::RawOrigin2751 **/2752 PalletEthereumRawOrigin: {2753 _enum: {2754 EthereumTransaction: 'H160'2755 }2756 },2757 /**2758 * Lookup353: sp_core::Void2759 **/2760 SpCoreVoid: 'Null',2761 /**2762 * Lookup354: pallet_unique_scheduler::pallet::Error<T>2763 **/2764 PalletUniqueSchedulerError: {2765 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2766 },2767 /**2768 * Lookup355: up_data_structs::Collection<sp_core::crypto::AccountId32>2769 **/2770 UpDataStructsCollection: {2771 owner: 'AccountId32',2772 mode: 'UpDataStructsCollectionMode',2773 name: 'Vec<u16>',2774 description: 'Vec<u16>',2775 tokenPrefix: 'Bytes',2776 sponsorship: 'UpDataStructsSponsorshipState',2777 limits: 'UpDataStructsCollectionLimits',2778 permissions: 'UpDataStructsCollectionPermissions',2779 externalCollection: 'bool'2780 },2781 /**2782 * Lookup356: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2783 **/2784 UpDataStructsSponsorshipState: {2785 _enum: {2786 Disabled: 'Null',2787 Unconfirmed: 'AccountId32',2788 Confirmed: 'AccountId32'2789 }2790 },2791 /**2792 * Lookup357: up_data_structs::Properties2793 **/2794 UpDataStructsProperties: {2795 map: 'UpDataStructsPropertiesMapBoundedVec',2796 consumedSpace: 'u32',2797 spaceLimit: 'u32'2798 },2799 /**2800 * Lookup358: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2801 **/2802 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2803 /**2804 * Lookup363: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2805 **/2806 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2807 /**2808 * Lookup370: up_data_structs::CollectionStats2809 **/2810 UpDataStructsCollectionStats: {2811 created: 'u32',2812 destroyed: 'u32',2813 alive: 'u32'2814 },2815 /**2816 * Lookup371: up_data_structs::TokenChild2817 **/2818 UpDataStructsTokenChild: {2819 token: 'u32',2820 collection: 'u32'2821 },2822 /**2823 * Lookup372: PhantomType::up_data_structs<T>2824 **/2825 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2826 /**2827 * Lookup374: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2828 **/2829 UpDataStructsTokenData: {2830 properties: 'Vec<UpDataStructsProperty>',2831 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'2832 },2833 /**2834 * Lookup376: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2835 **/2836 UpDataStructsRpcCollection: {2837 owner: 'AccountId32',2838 mode: 'UpDataStructsCollectionMode',2839 name: 'Vec<u16>',2840 description: 'Vec<u16>',2841 tokenPrefix: 'Bytes',2842 sponsorship: 'UpDataStructsSponsorshipState',2843 limits: 'UpDataStructsCollectionLimits',2844 permissions: 'UpDataStructsCollectionPermissions',2845 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2846 properties: 'Vec<UpDataStructsProperty>',2847 readOnly: 'bool'2848 },2849 /**2850 * Lookup377: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>2851 **/2852 RmrkTraitsCollectionCollectionInfo: {2853 issuer: 'AccountId32',2854 metadata: 'Bytes',2855 max: 'Option<u32>',2856 symbol: 'Bytes',2857 nftsCount: 'u32'2858 },2859 /**2860 * Lookup378: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2861 **/2862 RmrkTraitsNftNftInfo: {2863 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2864 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2865 metadata: 'Bytes',2866 equipped: 'bool',2867 pending: 'bool'2868 },2869 /**2870 * Lookup380: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2871 **/2872 RmrkTraitsNftRoyaltyInfo: {2873 recipient: 'AccountId32',2874 amount: 'Permill'2875 },2876 /**2877 * Lookup381: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2878 **/2879 RmrkTraitsResourceResourceInfo: {2880 id: 'u32',2881 resource: 'RmrkTraitsResourceResourceTypes',2882 pending: 'bool',2883 pendingRemoval: 'bool'2884 },2885 /**2886 * Lookup382: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2887 **/2888 RmrkTraitsPropertyPropertyInfo: {2889 key: 'Bytes',2890 value: 'Bytes'2891 },2892 /**2893 * Lookup383: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2894 **/2895 RmrkTraitsBaseBaseInfo: {2896 issuer: 'AccountId32',2897 baseType: 'Bytes',2898 symbol: 'Bytes'2899 },2900 /**2901 * Lookup384: rmrk_traits::nft::NftChild2902 **/2903 RmrkTraitsNftNftChild: {2904 collectionId: 'u32',2905 nftId: 'u32'2906 },2907 /**2908 * Lookup386: pallet_common::pallet::Error<T>2909 **/2910 PalletCommonError: {2911 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal']2912 },2913 /**2914 * Lookup388: pallet_fungible::pallet::Error<T>2915 **/2916 PalletFungibleError: {2917 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2918 },2919 /**2920 * Lookup389: pallet_refungible::ItemData2921 **/2922 PalletRefungibleItemData: {2923 constData: 'Bytes'2924 },2925 /**2926 * Lookup393: pallet_refungible::pallet::Error<T>2927 **/2928 PalletRefungibleError: {2929 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2930 },2931 /**2932 * Lookup394: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2933 **/2934 PalletNonfungibleItemData: {2935 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2936 },2937 /**2938 * Lookup396: pallet_nonfungible::pallet::Error<T>2939 **/2940 PalletNonfungibleError: {2941 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']2942 },2943 /**2944 * Lookup397: pallet_structure::pallet::Error<T>2945 **/2946 PalletStructureError: {2947 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']2948 },2949 /**2950 * Lookup398: pallet_rmrk_core::pallet::Error<T>2951 **/2952 PalletRmrkCoreError: {2953 _enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'ResourceNotPending']2954 },2955 /**2956 * Lookup400: pallet_rmrk_equip::pallet::Error<T>2957 **/2958 PalletRmrkEquipError: {2959 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst']2960 },2961 /**2962 * Lookup403: pallet_evm::pallet::Error<T>2963 **/2964 PalletEvmError: {2965 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2966 },2967 /**2968 * Lookup406: fp_rpc::TransactionStatus2969 **/2970 FpRpcTransactionStatus: {2971 transactionHash: 'H256',2972 transactionIndex: 'u32',2973 from: 'H160',2974 to: 'Option<H160>',2975 contractAddress: 'Option<H160>',2976 logs: 'Vec<EthereumLog>',2977 logsBloom: 'EthbloomBloom'2978 },2979 /**2980 * Lookup408: ethbloom::Bloom2981 **/2982 EthbloomBloom: '[u8;256]',2983 /**2984 * Lookup410: ethereum::receipt::ReceiptV32985 **/2986 EthereumReceiptReceiptV3: {2987 _enum: {2988 Legacy: 'EthereumReceiptEip658ReceiptData',2989 EIP2930: 'EthereumReceiptEip658ReceiptData',2990 EIP1559: 'EthereumReceiptEip658ReceiptData'2991 }2992 },2993 /**2994 * Lookup411: ethereum::receipt::EIP658ReceiptData2995 **/2996 EthereumReceiptEip658ReceiptData: {2997 statusCode: 'u8',2998 usedGas: 'U256',2999 logsBloom: 'EthbloomBloom',3000 logs: 'Vec<EthereumLog>'3001 },3002 /**3003 * Lookup412: ethereum::block::Block<ethereum::transaction::TransactionV2>3004 **/3005 EthereumBlock: {3006 header: 'EthereumHeader',3007 transactions: 'Vec<EthereumTransactionTransactionV2>',3008 ommers: 'Vec<EthereumHeader>'3009 },3010 /**3011 * Lookup413: ethereum::header::Header3012 **/3013 EthereumHeader: {3014 parentHash: 'H256',3015 ommersHash: 'H256',3016 beneficiary: 'H160',3017 stateRoot: 'H256',3018 transactionsRoot: 'H256',3019 receiptsRoot: 'H256',3020 logsBloom: 'EthbloomBloom',3021 difficulty: 'U256',3022 number: 'U256',3023 gasLimit: 'U256',3024 gasUsed: 'U256',3025 timestamp: 'u64',3026 extraData: 'Bytes',3027 mixHash: 'H256',3028 nonce: 'EthereumTypesHashH64'3029 },3030 /**3031 * Lookup414: ethereum_types::hash::H643032 **/3033 EthereumTypesHashH64: '[u8;8]',3034 /**3035 * Lookup419: pallet_ethereum::pallet::Error<T>3036 **/3037 PalletEthereumError: {3038 _enum: ['InvalidSignature', 'PreLogExists']3039 },3040 /**3041 * Lookup420: pallet_evm_coder_substrate::pallet::Error<T>3042 **/3043 PalletEvmCoderSubstrateError: {3044 _enum: ['OutOfGas', 'OutOfFund']3045 },3046 /**3047 * Lookup421: pallet_evm_contract_helpers::SponsoringModeT3048 **/3049 PalletEvmContractHelpersSponsoringModeT: {3050 _enum: ['Disabled', 'Allowlisted', 'Generous']3051 },3052 /**3053 * Lookup423: pallet_evm_contract_helpers::pallet::Error<T>3054 **/3055 PalletEvmContractHelpersError: {3056 _enum: ['NoPermission']3057 },3058 /**3059 * Lookup424: pallet_evm_migration::pallet::Error<T>3060 **/3061 PalletEvmMigrationError: {3062 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3063 },3064 /**3065 * Lookup426: sp_runtime::MultiSignature3066 **/3067 SpRuntimeMultiSignature: {3068 _enum: {3069 Ed25519: 'SpCoreEd25519Signature',3070 Sr25519: 'SpCoreSr25519Signature',3071 Ecdsa: 'SpCoreEcdsaSignature'3072 }3073 },3074 /**3075 * Lookup427: sp_core::ed25519::Signature3076 **/3077 SpCoreEd25519Signature: '[u8;64]',3078 /**3079 * Lookup429: sp_core::sr25519::Signature3080 **/3081 SpCoreSr25519Signature: '[u8;64]',3082 /**3083 * Lookup430: sp_core::ecdsa::Signature3084 **/3085 SpCoreEcdsaSignature: '[u8;65]',3086 /**3087 * Lookup433: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3088 **/3089 FrameSystemExtensionsCheckSpecVersion: 'Null',3090 /**3091 * Lookup434: frame_system::extensions::check_genesis::CheckGenesis<T>3092 **/3093 FrameSystemExtensionsCheckGenesis: 'Null',3094 /**3095 * Lookup437: frame_system::extensions::check_nonce::CheckNonce<T>3096 **/3097 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3098 /**3099 * Lookup438: frame_system::extensions::check_weight::CheckWeight<T>3100 **/3101 FrameSystemExtensionsCheckWeight: 'Null',3102 /**3103 * Lookup439: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3104 **/3105 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3106 /**3107 * Lookup440: opal_runtime::Runtime3108 **/3109 OpalRuntimeRuntime: 'Null',3110 /**3111 * Lookup441: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3112 **/3113 PalletEthereumFakeTransactionFinalizer: 'Null'3114};tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.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, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, 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 '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenChild, UpDataStructsTokenData, 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 '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
export interface InterfaceTypes {
@@ -59,7 +59,6 @@
FrameSupportWeightsPerDispatchClassU64: FrameSupportWeightsPerDispatchClassU64;
FrameSupportWeightsPerDispatchClassWeightsPerClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
FrameSupportWeightsRuntimeDbWeight: FrameSupportWeightsRuntimeDbWeight;
- FrameSupportWeightsWeightToFeeCoefficient: FrameSupportWeightsWeightToFeeCoefficient;
FrameSystemAccountInfo: FrameSystemAccountInfo;
FrameSystemCall: FrameSystemCall;
FrameSystemError: FrameSystemError;
@@ -204,6 +203,7 @@
UpDataStructsProperty: UpDataStructsProperty;
UpDataStructsPropertyKeyPermission: UpDataStructsPropertyKeyPermission;
UpDataStructsPropertyPermission: UpDataStructsPropertyPermission;
+ UpDataStructsPropertyScope: UpDataStructsPropertyScope;
UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -108,14 +108,23 @@
export interface CumulusPalletParachainSystemEvent extends Enum {
readonly isValidationFunctionStored: boolean;
readonly isValidationFunctionApplied: boolean;
- readonly asValidationFunctionApplied: u32;
+ readonly asValidationFunctionApplied: {
+ readonly relayChainBlockNum: u32;
+ } & Struct;
readonly isValidationFunctionDiscarded: boolean;
readonly isUpgradeAuthorized: boolean;
- readonly asUpgradeAuthorized: H256;
+ readonly asUpgradeAuthorized: {
+ readonly codeHash: H256;
+ } & Struct;
readonly isDownwardMessagesReceived: boolean;
- readonly asDownwardMessagesReceived: u32;
+ readonly asDownwardMessagesReceived: {
+ readonly count: u32;
+ } & Struct;
readonly isDownwardMessagesProcessed: boolean;
- readonly asDownwardMessagesProcessed: ITuple<[u64, H256]>;
+ readonly asDownwardMessagesProcessed: {
+ readonly weightUsed: u64;
+ readonly dmqHead: H256;
+ } & Struct;
readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';
}
@@ -300,15 +309,7 @@
readonly type: 'V1Ancient' | 'V2';
}
- /** @name FrameSupportWeightsWeightToFeeCoefficient (68) */
- export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct {
- readonly coeffInteger: u128;
- readonly coeffFrac: Perbill;
- readonly negative: bool;
- readonly degree: u8;
- }
-
- /** @name PalletTreasuryProposal (70) */
+ /** @name PalletTreasuryProposal (67) */
export interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -316,7 +317,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (73) */
+ /** @name PalletTreasuryCall (70) */
export interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -338,7 +339,7 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'RemoveApproval';
}
- /** @name PalletTreasuryEvent (75) */
+ /** @name PalletTreasuryEvent (72) */
export interface PalletTreasuryEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: {
@@ -374,10 +375,10 @@
readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit';
}
- /** @name FrameSupportPalletId (78) */
+ /** @name FrameSupportPalletId (75) */
export interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (79) */
+ /** @name PalletTreasuryError (76) */
export interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -386,7 +387,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'ProposalNotApproved';
}
- /** @name PalletSudoCall (80) */
+ /** @name PalletSudoCall (77) */
export interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -409,7 +410,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name FrameSystemCall (82) */
+ /** @name FrameSystemCall (79) */
export interface FrameSystemCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
@@ -451,7 +452,7 @@
readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
}
- /** @name OrmlVestingModuleCall (85) */
+ /** @name OrmlVestingModuleCall (83) */
export interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -471,7 +472,7 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name OrmlVestingVestingSchedule (86) */
+ /** @name OrmlVestingVestingSchedule (84) */
export interface OrmlVestingVestingSchedule extends Struct {
readonly start: u32;
readonly period: u32;
@@ -479,7 +480,7 @@
readonly perPeriod: Compact<u128>;
}
- /** @name CumulusPalletXcmpQueueCall (88) */
+ /** @name CumulusPalletXcmpQueueCall (86) */
export interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -515,7 +516,7 @@
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
- /** @name PalletXcmCall (89) */
+ /** @name PalletXcmCall (87) */
export interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -577,7 +578,7 @@
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name XcmVersionedMultiLocation (90) */
+ /** @name XcmVersionedMultiLocation (88) */
export interface XcmVersionedMultiLocation extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiLocation;
@@ -586,7 +587,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name XcmV0MultiLocation (91) */
+ /** @name XcmV0MultiLocation (89) */
export interface XcmV0MultiLocation extends Enum {
readonly isNull: boolean;
readonly isX1: boolean;
@@ -608,7 +609,7 @@
readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV0Junction (92) */
+ /** @name XcmV0Junction (90) */
export interface XcmV0Junction extends Enum {
readonly isParent: boolean;
readonly isParachain: boolean;
@@ -643,7 +644,7 @@
readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmV0JunctionNetworkId (93) */
+ /** @name XcmV0JunctionNetworkId (91) */
export interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
@@ -653,7 +654,7 @@
readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';
}
- /** @name XcmV0JunctionBodyId (94) */
+ /** @name XcmV0JunctionBodyId (92) */
export interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
@@ -667,7 +668,7 @@
readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';
}
- /** @name XcmV0JunctionBodyPart (95) */
+ /** @name XcmV0JunctionBodyPart (93) */
export interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
@@ -692,13 +693,13 @@
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
}
- /** @name XcmV1MultiLocation (96) */
+ /** @name XcmV1MultiLocation (94) */
export interface XcmV1MultiLocation extends Struct {
readonly parents: u8;
readonly interior: XcmV1MultilocationJunctions;
}
- /** @name XcmV1MultilocationJunctions (97) */
+ /** @name XcmV1MultilocationJunctions (95) */
export interface XcmV1MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
@@ -720,7 +721,7 @@
readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';
}
- /** @name XcmV1Junction (98) */
+ /** @name XcmV1Junction (96) */
export interface XcmV1Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
@@ -754,7 +755,7 @@
readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';
}
- /** @name XcmVersionedXcm (99) */
+ /** @name XcmVersionedXcm (97) */
export interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -765,7 +766,7 @@
readonly type: 'V0' | 'V1' | 'V2';
}
- /** @name XcmV0Xcm (100) */
+ /** @name XcmV0Xcm (98) */
export interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -828,7 +829,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
- /** @name XcmV0MultiAsset (102) */
+ /** @name XcmV0MultiAsset (100) */
export interface XcmV0MultiAsset extends Enum {
readonly isNone: boolean;
readonly isAll: boolean;
@@ -873,7 +874,7 @@
readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';
}
- /** @name XcmV1MultiassetAssetInstance (103) */
+ /** @name XcmV1MultiassetAssetInstance (101) */
export interface XcmV1MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
@@ -891,7 +892,7 @@
readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';
}
- /** @name XcmV0Order (106) */
+ /** @name XcmV0Order (104) */
export interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -939,14 +940,14 @@
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV0Response (108) */
+ /** @name XcmV0Response (106) */
export interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
- /** @name XcmV0OriginKind (109) */
+ /** @name XcmV0OriginKind (107) */
export interface XcmV0OriginKind extends Enum {
readonly isNative: boolean;
readonly isSovereignAccount: boolean;
@@ -955,12 +956,12 @@
readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
}
- /** @name XcmDoubleEncoded (110) */
+ /** @name XcmDoubleEncoded (108) */
export interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
}
- /** @name XcmV1Xcm (111) */
+ /** @name XcmV1Xcm (109) */
export interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -1029,16 +1030,16 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV1MultiassetMultiAssets (112) */
+ /** @name XcmV1MultiassetMultiAssets (110) */
export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
- /** @name XcmV1MultiAsset (114) */
+ /** @name XcmV1MultiAsset (112) */
export interface XcmV1MultiAsset extends Struct {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetFungibility;
}
- /** @name XcmV1MultiassetAssetId (115) */
+ /** @name XcmV1MultiassetAssetId (113) */
export interface XcmV1MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
readonly asConcrete: XcmV1MultiLocation;
@@ -1047,7 +1048,7 @@
readonly type: 'Concrete' | 'Abstract';
}
- /** @name XcmV1MultiassetFungibility (116) */
+ /** @name XcmV1MultiassetFungibility (114) */
export interface XcmV1MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
@@ -1056,7 +1057,7 @@
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV1Order (118) */
+ /** @name XcmV1Order (116) */
export interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -1106,7 +1107,7 @@
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV1MultiassetMultiAssetFilter (119) */
+ /** @name XcmV1MultiassetMultiAssetFilter (117) */
export interface XcmV1MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: XcmV1MultiassetMultiAssets;
@@ -1115,7 +1116,7 @@
readonly type: 'Definite' | 'Wild';
}
- /** @name XcmV1MultiassetWildMultiAsset (120) */
+ /** @name XcmV1MultiassetWildMultiAsset (118) */
export interface XcmV1MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
@@ -1126,14 +1127,14 @@
readonly type: 'All' | 'AllOf';
}
- /** @name XcmV1MultiassetWildFungibility (121) */
+ /** @name XcmV1MultiassetWildFungibility (119) */
export interface XcmV1MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
readonly type: 'Fungible' | 'NonFungible';
}
- /** @name XcmV1Response (123) */
+ /** @name XcmV1Response (121) */
export interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -1142,10 +1143,10 @@
readonly type: 'Assets' | 'Version';
}
- /** @name XcmV2Xcm (124) */
+ /** @name XcmV2Xcm (122) */
export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
- /** @name XcmV2Instruction (126) */
+ /** @name XcmV2Instruction (124) */
export interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
@@ -1265,7 +1266,7 @@
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) */
+ /** @name XcmV2Response (125) */
export interface XcmV2Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
@@ -1277,7 +1278,7 @@
readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';
}
- /** @name XcmV2TraitsError (130) */
+ /** @name XcmV2TraitsError (128) */
export interface XcmV2TraitsError extends Enum {
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
@@ -1310,7 +1311,7 @@
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) */
+ /** @name XcmV2WeightLimit (129) */
export interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
@@ -1318,7 +1319,7 @@
readonly type: 'Unlimited' | 'Limited';
}
- /** @name XcmVersionedMultiAssets (132) */
+ /** @name XcmVersionedMultiAssets (130) */
export interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>;
@@ -1327,10 +1328,10 @@
readonly type: 'V0' | 'V1';
}
- /** @name CumulusPalletXcmCall (147) */
+ /** @name CumulusPalletXcmCall (145) */
export type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (148) */
+ /** @name CumulusPalletDmpQueueCall (146) */
export interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -1340,7 +1341,7 @@
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (149) */
+ /** @name PalletInflationCall (147) */
export interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -1349,7 +1350,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (150) */
+ /** @name PalletUniqueCall (148) */
export interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -1498,10 +1499,16 @@
readonly collectionId: u32;
readonly newLimit: UpDataStructsCollectionPermissions;
} & Struct;
- readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions';
+ readonly isRepartition: boolean;
+ readonly asRepartition: {
+ readonly collectionId: u32;
+ readonly token: u32;
+ readonly amount: u128;
+ } & Struct;
+ readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';
}
- /** @name UpDataStructsCollectionMode (156) */
+ /** @name UpDataStructsCollectionMode (154) */
export interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -1510,7 +1517,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (157) */
+ /** @name UpDataStructsCreateCollectionData (155) */
export interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -1524,14 +1531,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (159) */
+ /** @name UpDataStructsAccessMode (157) */
export interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (162) */
+ /** @name UpDataStructsCollectionLimits (160) */
export interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -1544,7 +1551,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (164) */
+ /** @name UpDataStructsSponsoringRateLimit (162) */
export interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -1552,44 +1559,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (167) */
+ /** @name UpDataStructsCollectionPermissions (165) */
export interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (169) */
+ /** @name UpDataStructsNestingPermissions (167) */
export interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
- readonly permissive: bool;
}
- /** @name UpDataStructsOwnerRestrictedSet (171) */
+ /** @name UpDataStructsOwnerRestrictedSet (169) */
export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (177) */
+ /** @name UpDataStructsPropertyKeyPermission (175) */
export interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (179) */
+ /** @name UpDataStructsPropertyPermission (177) */
export interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (182) */
+ /** @name UpDataStructsProperty (180) */
export interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletEvmAccountBasicCrossAccountIdRepr (185) */
+ /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */
export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
readonly isSubstrate: boolean;
readonly asSubstrate: AccountId32;
@@ -1598,7 +1604,7 @@
readonly type: 'Substrate' | 'Ethereum';
}
- /** @name UpDataStructsCreateItemData (187) */
+ /** @name UpDataStructsCreateItemData (185) */
export interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -1609,23 +1615,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (188) */
+ /** @name UpDataStructsCreateNftData (186) */
export interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (189) */
+ /** @name UpDataStructsCreateFungibleData (187) */
export interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (190) */
+ /** @name UpDataStructsCreateReFungibleData (188) */
export interface UpDataStructsCreateReFungibleData extends Struct {
readonly constData: Bytes;
readonly pieces: u128;
}
- /** @name UpDataStructsCreateItemExData (195) */
+ /** @name UpDataStructsCreateItemExData (193) */
export interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -1638,19 +1644,19 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (197) */
+ /** @name UpDataStructsCreateNftExData (195) */
export interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExData (204) */
+ /** @name UpDataStructsCreateRefungibleExData (202) */
export interface UpDataStructsCreateRefungibleExData extends Struct {
readonly constData: Bytes;
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
}
- /** @name PalletUniqueSchedulerCall (206) */
+ /** @name PalletUniqueSchedulerCall (204) */
export interface PalletUniqueSchedulerCall extends Enum {
readonly isScheduleNamed: boolean;
readonly asScheduleNamed: {
@@ -1675,7 +1681,7 @@
readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';
}
- /** @name FrameSupportScheduleMaybeHashed (208) */
+ /** @name FrameSupportScheduleMaybeHashed (206) */
export interface FrameSupportScheduleMaybeHashed extends Enum {
readonly isValue: boolean;
readonly asValue: Call;
@@ -1684,13 +1690,13 @@
readonly type: 'Value' | 'Hash';
}
- /** @name PalletTemplateTransactionPaymentCall (209) */
+ /** @name PalletTemplateTransactionPaymentCall (207) */
export type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (210) */
+ /** @name PalletStructureCall (208) */
export type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (211) */
+ /** @name PalletRmrkCoreCall (209) */
export interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -1713,7 +1719,7 @@
} & Struct;
readonly isMintNft: boolean;
readonly asMintNft: {
- readonly owner: AccountId32;
+ readonly owner: Option<AccountId32>;
readonly collectionId: u32;
readonly recipient: Option<AccountId32>;
readonly royaltyAmount: Option<Permill>;
@@ -1748,13 +1754,13 @@
readonly asAcceptResource: {
readonly rmrkCollectionId: u32;
readonly rmrkNftId: u32;
- readonly rmrkResourceId: u32;
+ readonly resourceId: u32;
} & Struct;
readonly isAcceptResourceRemoval: boolean;
readonly asAcceptResourceRemoval: {
readonly rmrkCollectionId: u32;
readonly rmrkNftId: u32;
- readonly rmrkResourceId: u32;
+ readonly resourceId: u32;
} & Struct;
readonly isSetProperty: boolean;
readonly asSetProperty: {
@@ -1796,7 +1802,7 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsResourceResourceTypes (217) */
+ /** @name RmrkTraitsResourceResourceTypes (215) */
export interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -1807,7 +1813,7 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsResourceBasicResource (219) */
+ /** @name RmrkTraitsResourceBasicResource (217) */
export interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -1815,7 +1821,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (221) */
+ /** @name RmrkTraitsResourceComposableResource (219) */
export interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -1825,7 +1831,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (222) */
+ /** @name RmrkTraitsResourceSlotResource (220) */
export interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -1835,7 +1841,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (224) */
+ /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (222) */
export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
readonly isAccountId: boolean;
readonly asAccountId: AccountId32;
@@ -1844,7 +1850,7 @@
readonly type: 'AccountId' | 'CollectionAndNftTuple';
}
- /** @name PalletRmrkEquipCall (228) */
+ /** @name PalletRmrkEquipCall (226) */
export interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
@@ -1857,10 +1863,16 @@
readonly baseId: u32;
readonly theme: RmrkTraitsTheme;
} & Struct;
- readonly type: 'CreateBase' | 'ThemeAdd';
+ readonly isEquippable: boolean;
+ readonly asEquippable: {
+ readonly baseId: u32;
+ readonly slotId: u32;
+ readonly equippables: RmrkTraitsPartEquippableList;
+ } & Struct;
+ readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
- /** @name RmrkTraitsPartPartType (230) */
+ /** @name RmrkTraitsPartPartType (229) */
export interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -1869,14 +1881,14 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (232) */
+ /** @name RmrkTraitsPartFixedPart (231) */
export interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (233) */
+ /** @name RmrkTraitsPartSlotPart (232) */
export interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
@@ -1884,7 +1896,7 @@
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (234) */
+ /** @name RmrkTraitsPartEquippableList (233) */
export interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
@@ -1893,14 +1905,14 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name RmrkTraitsTheme (236) */
+ /** @name RmrkTraitsTheme (235) */
export interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (238) */
+ /** @name RmrkTraitsThemeThemeProperty (237) */
export interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
@@ -2323,17 +2335,35 @@
/** @name CumulusPalletDmpQueueEvent (284) */
export interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
- readonly asInvalidFormat: U8aFixed;
+ readonly asInvalidFormat: {
+ readonly messageId: U8aFixed;
+ } & Struct;
readonly isUnsupportedVersion: boolean;
- readonly asUnsupportedVersion: U8aFixed;
+ readonly asUnsupportedVersion: {
+ readonly messageId: U8aFixed;
+ } & Struct;
readonly isExecutedDownward: boolean;
- readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;
+ readonly asExecutedDownward: {
+ readonly messageId: U8aFixed;
+ readonly outcome: XcmV2TraitsOutcome;
+ } & Struct;
readonly isWeightExhausted: boolean;
- readonly asWeightExhausted: ITuple<[U8aFixed, u64, u64]>;
+ readonly asWeightExhausted: {
+ readonly messageId: U8aFixed;
+ readonly remainingWeight: u64;
+ readonly requiredWeight: u64;
+ } & Struct;
readonly isOverweightEnqueued: boolean;
- readonly asOverweightEnqueued: ITuple<[U8aFixed, u64, u64]>;
+ readonly asOverweightEnqueued: {
+ readonly messageId: U8aFixed;
+ readonly overweightIndex: u64;
+ readonly requiredWeight: u64;
+ } & Struct;
readonly isOverweightServiced: boolean;
- readonly asOverweightServiced: ITuple<[u64, u64]>;
+ readonly asOverweightServiced: {
+ readonly overweightIndex: u64;
+ readonly weightUsed: u64;
+ } & Struct;
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
@@ -2527,7 +2557,12 @@
readonly issuer: AccountId32;
readonly baseId: u32;
} & Struct;
- readonly type: 'BaseCreated';
+ readonly isEquippablesUpdated: boolean;
+ readonly asEquippablesUpdated: {
+ readonly baseId: u32;
+ readonly slotId: u32;
+ } & Struct;
+ readonly type: 'BaseCreated' | 'EquippablesUpdated';
}
/** @name PalletEvmEvent (293) */
@@ -2814,7 +2849,8 @@
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
readonly isEmptyArgument: boolean;
- readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
+ readonly isRepartitionCalledOnNonRefungibleCollection: boolean;
+ readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
/** @name PalletUniqueSchedulerScheduledV3 (347) */
@@ -3067,9 +3103,10 @@
export interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
+ readonly isRepartitionWhileNotOwningAllPieces: boolean;
readonly isRefungibleDisallowsNesting: boolean;
readonly isSettingPropertiesNotAllowed: boolean;
- readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
+ readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
/** @name PalletNonfungibleItemData (394) */
@@ -3077,7 +3114,14 @@
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name PalletNonfungibleError (396) */
+ /** @name UpDataStructsPropertyScope (396) */
+ export interface UpDataStructsPropertyScope extends Enum {
+ readonly isNone: boolean;
+ readonly isRmrk: boolean;
+ readonly type: 'None' | 'Rmrk';
+ }
+
+ /** @name PalletNonfungibleError (398) */
export interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3085,7 +3129,7 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (397) */
+ /** @name PalletStructureError (399) */
export interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -3094,12 +3138,13 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (398) */
+ /** @name PalletRmrkCoreError (400) */
export interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isNftTypeEncodeError: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
readonly isRmrkPropertyValueIsTooLong: boolean;
+ readonly isRmrkPropertyIsNotFound: boolean;
readonly isUnableToDecodeRmrkData: boolean;
readonly isCollectionNotEmpty: boolean;
readonly isNoAvailableCollectionId: boolean;
@@ -3112,21 +3157,25 @@
readonly isCannotSendToDescendentOrSelf: boolean;
readonly isCannotAcceptNonOwnedNft: boolean;
readonly isCannotRejectNonOwnedNft: boolean;
+ readonly isCannotRejectNonPendingNft: boolean;
readonly isResourceNotPending: boolean;
- readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';
+ readonly isNoAvailableResourceId: boolean;
+ readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
- /** @name PalletRmrkEquipError (400) */
+ /** @name PalletRmrkEquipError (402) */
export interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
readonly isNoAvailablePartId: boolean;
readonly isBaseDoesntExist: boolean;
readonly isNeedsDefaultThemeFirst: boolean;
- readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';
+ readonly isPartDoesntExist: boolean;
+ readonly isNoEquippableOnFixedPart: boolean;
+ readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletEvmError (403) */
+ /** @name PalletEvmError (405) */
export interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3137,7 +3186,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
}
- /** @name FpRpcTransactionStatus (406) */
+ /** @name FpRpcTransactionStatus (408) */
export interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3148,10 +3197,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (408) */
+ /** @name EthbloomBloom (410) */
export interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (410) */
+ /** @name EthereumReceiptReceiptV3 (412) */
export interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3162,7 +3211,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (411) */
+ /** @name EthereumReceiptEip658ReceiptData (413) */
export interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3170,14 +3219,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (412) */
+ /** @name EthereumBlock (414) */
export interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (413) */
+ /** @name EthereumHeader (415) */
export interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3196,24 +3245,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (414) */
+ /** @name EthereumTypesHashH64 (416) */
export interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (419) */
+ /** @name PalletEthereumError (421) */
export interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (420) */
+ /** @name PalletEvmCoderSubstrateError (422) */
export interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (421) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (423) */
export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3221,20 +3270,20 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (423) */
+ /** @name PalletEvmContractHelpersError (425) */
export interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly type: 'NoPermission';
}
- /** @name PalletEvmMigrationError (424) */
+ /** @name PalletEvmMigrationError (426) */
export interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (426) */
+ /** @name SpRuntimeMultiSignature (428) */
export interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3245,34 +3294,34 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (427) */
+ /** @name SpCoreEd25519Signature (429) */
export interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (429) */
+ /** @name SpCoreSr25519Signature (431) */
export interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (430) */
+ /** @name SpCoreEcdsaSignature (432) */
export interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (433) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (435) */
export type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (434) */
+ /** @name FrameSystemExtensionsCheckGenesis (436) */
export type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (437) */
+ /** @name FrameSystemExtensionsCheckNonce (439) */
export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (438) */
+ /** @name FrameSystemExtensionsCheckWeight (440) */
export type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (439) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (441) */
export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (440) */
+ /** @name OpalRuntimeRuntime (442) */
export type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (441) */
+ /** @name PalletEthereumFakeTransactionFinalizer (443) */
export type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/refungible.test.tsdiffbeforeafterboth--- a/tests/src/refungible.test.ts
+++ b/tests/src/refungible.test.ts
@@ -29,6 +29,7 @@
createRefungibleToken,
transfer,
burnItem,
+ repartitionRFT,
} from './util/helpers';
import chai from 'chai';
@@ -162,4 +163,27 @@
expect(await getAllowance(api, collectionId, alice, bob, tokenId)).to.be.equal(40n);
});
});
+
+ it('Repartition', async () => {
+ await usingApi(async api => {
+ const collectionId = (await createCollection(api, alice, {mode: {type: 'ReFungible'}})).collectionId;
+ const tokenId = (await createRefungibleToken(api, alice, collectionId, 100n)).itemId;
+
+ expect(await repartitionRFT(api, collectionId, alice, tokenId, 200n)).to.be.true;
+ expect(await getBalance(api, collectionId, alice, tokenId)).to.be.equal(200n);
+
+ expect(await transfer(api, collectionId, tokenId, alice, bob, 110n)).to.be.true;
+ expect(await getBalance(api, collectionId, alice, tokenId)).to.be.equal(90n);
+ expect(await getBalance(api, collectionId, bob, tokenId)).to.be.equal(110n);
+
+ await expect(repartitionRFT(api, collectionId, alice, tokenId, 80n)).to.eventually.be.rejected;
+
+ expect(await transfer(api, collectionId, tokenId, alice, bob, 90n)).to.be.true;
+ expect(await getBalance(api, collectionId, alice, tokenId)).to.be.equal(0n);
+ expect(await getBalance(api, collectionId, bob, tokenId)).to.be.equal(200n);
+
+ expect(await repartitionRFT(api, collectionId, bob, tokenId, 150n)).to.be.true;
+ await expect(transfer(api, collectionId, tokenId, bob, alice, 160n)).to.eventually.be.rejected;
+ });
+ });
});
tests/src/util/helpers.tsdiffbeforeafterboth--- a/tests/src/util/helpers.ts
+++ b/tests/src/util/helpers.ts
@@ -1630,3 +1630,17 @@
return promise;
});
}
+
+export async function repartitionRFT(
+ api: ApiPromise,
+ collectionId: number,
+ sender: IKeyringPair,
+ tokenId: number,
+ amount: bigint,
+): Promise<boolean> {
+ const tx = api.tx.unique.repartition(collectionId, tokenId, amount);
+ const events = await submitTransactionAsync(sender, tx);
+ const result = getGenericResult(events);
+
+ return result.success;
+}