difftreelog
fixup generate ts types
in: master
11 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5306,6 +5306,7 @@
"pallet-balances",
"pallet-common",
"pallet-evm",
+ "pallet-evm-contract-helpers",
"pallet-randomness-collective-flip",
"pallet-timestamp",
"pallet-unique",
pallets/app-promotion/Cargo.tomldiffbeforeafterboth--- a/pallets/app-promotion/Cargo.toml
+++ b/pallets/app-promotion/Cargo.toml
@@ -118,6 +118,9 @@
default-features = false
path = "../unique"
+[dependencies.pallet-evm-contract-helpers]
+default-features = false
+path = "../evm-contract-helpers"
################################################################################
[dependencies]
pallets/app-promotion/src/types.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/types.rs
+++ b/pallets/app-promotion/src/types.rs
@@ -2,7 +2,7 @@
use frame_support::{
traits::LockableCurrency, WeakBoundedVec, Parameter, dispatch::DispatchResult, ensure,
};
-use frame_system::Config;
+
use pallet_balances::{BalanceLock, Config as BalancesConfig, Pallet as PalletBalances};
use pallet_common::CollectionHandle;
use pallet_unique::{Event as UniqueEvent, Error as UniqueError};
@@ -10,6 +10,7 @@
use up_data_structs::{CollectionId, SponsorshipState};
use sp_std::borrow::ToOwned;
+
pub trait ExtendedLockableCurrency<AccountId: Parameter>: LockableCurrency<AccountId> {
fn locks<KArg>(who: KArg) -> WeakBoundedVec<BalanceLock<Self::Balance>, Self::MaxLocks>
where
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -265,7 +265,11 @@
};
evmContractHelpers: {
/**
- * This method is only executable by owner
+ * No pending sponsor for contract.
+ **/
+ NoPendingSponsor: AugmentedError<ApiType>;
+ /**
+ * This method is only executable by owner.
**/
NoPermission: AugmentedError<ApiType>;
/**
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -9,7 +9,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, UpDataStructsPropertyScope, 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, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -194,12 +194,66 @@
[key: string]: QueryableStorageEntry<ApiType>;
};
evmContractHelpers: {
+ /**
+ * Storage for users that allowed for sponsorship.
+ *
+ * ### Usage
+ * Prefer to delete record from storage if user no more allowed for sponsorship.
+ *
+ * * **Key1** - contract address.
+ * * **Key2** - user that allowed for sponsorship.
+ * * **Value** - allowance for sponsorship.
+ **/
allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;
+ /**
+ * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.
+ *
+ * ### Usage
+ * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.
+ *
+ * * **Key** - contract address.
+ * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.
+ **/
allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Store owner for contract.
+ *
+ * * **Key** - contract address.
+ * * **Value** - owner for contract.
+ **/
owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Storage for last sponsored block.
+ *
+ * * **Key1** - contract address.
+ * * **Key2** - sponsored user address.
+ * * **Value** - last sponsored block number.
+ **/
sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;
+ /**
+ * Store for contract sponsorship state.
+ *
+ * * **Key** - contract address.
+ * * **Value** - sponsorship state.
+ **/
+ sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Store for sponsoring mode.
+ *
+ * ### Usage
+ * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).
+ *
+ * * **Key** - contract address.
+ * * **Value** - [`sponsoring mode`](SponsoringModeT).
+ **/
sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
+ /**
+ * Storage for sponsoring rate limit in blocks.
+ *
+ * * **Key** - contract address.
+ * * **Value** - amount of sponsored blocks.
+ **/
sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* Generic query
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-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, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, 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, PalletTransactionPaymentEvent, 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, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, 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 { 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, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, 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, PalletTransactionPaymentEvent, 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, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, 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, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, 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';
@@ -1298,7 +1298,8 @@
UpDataStructsPropertyScope: UpDataStructsPropertyScope;
UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
- UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
+ UpDataStructsSponsorshipStateAccountId32: UpDataStructsSponsorshipStateAccountId32;
+ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: UpDataStructsSponsorshipStateBasicCrossAccountIdRepr;
UpDataStructsTokenChild: UpDataStructsTokenChild;
UpDataStructsTokenData: UpDataStructsTokenData;
UpgradeGoAhead: UpgradeGoAhead;
tests/src/interfaces/default/types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: u64;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: u64;50 readonly requiredWeight: u64;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: u64;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: u64;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: u64;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmOrigin */157export interface CumulusPalletXcmOrigin extends Enum {158 readonly isRelay: boolean;159 readonly isSiblingParachain: boolean;160 readonly asSiblingParachain: u32;161 readonly type: 'Relay' | 'SiblingParachain';162}163164/** @name CumulusPalletXcmpQueueCall */165export interface CumulusPalletXcmpQueueCall extends Enum {166 readonly isServiceOverweight: boolean;167 readonly asServiceOverweight: {168 readonly index: u64;169 readonly weightLimit: u64;170 } & Struct;171 readonly isSuspendXcmExecution: boolean;172 readonly isResumeXcmExecution: boolean;173 readonly isUpdateSuspendThreshold: boolean;174 readonly asUpdateSuspendThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateDropThreshold: boolean;178 readonly asUpdateDropThreshold: {179 readonly new_: u32;180 } & Struct;181 readonly isUpdateResumeThreshold: boolean;182 readonly asUpdateResumeThreshold: {183 readonly new_: u32;184 } & Struct;185 readonly isUpdateThresholdWeight: boolean;186 readonly asUpdateThresholdWeight: {187 readonly new_: u64;188 } & Struct;189 readonly isUpdateWeightRestrictDecay: boolean;190 readonly asUpdateWeightRestrictDecay: {191 readonly new_: u64;192 } & Struct;193 readonly isUpdateXcmpMaxIndividualWeight: boolean;194 readonly asUpdateXcmpMaxIndividualWeight: {195 readonly new_: u64;196 } & Struct;197 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';198}199200/** @name CumulusPalletXcmpQueueError */201export interface CumulusPalletXcmpQueueError extends Enum {202 readonly isFailedToSend: boolean;203 readonly isBadXcmOrigin: boolean;204 readonly isBadXcm: boolean;205 readonly isBadOverweightIndex: boolean;206 readonly isWeightOverLimit: boolean;207 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';208}209210/** @name CumulusPalletXcmpQueueEvent */211export interface CumulusPalletXcmpQueueEvent extends Enum {212 readonly isSuccess: boolean;213 readonly asSuccess: {214 readonly messageHash: Option<H256>;215 readonly weight: u64;216 } & Struct;217 readonly isFail: boolean;218 readonly asFail: {219 readonly messageHash: Option<H256>;220 readonly error: XcmV2TraitsError;221 readonly weight: u64;222 } & Struct;223 readonly isBadVersion: boolean;224 readonly asBadVersion: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isBadFormat: boolean;228 readonly asBadFormat: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isUpwardMessageSent: boolean;232 readonly asUpwardMessageSent: {233 readonly messageHash: Option<H256>;234 } & Struct;235 readonly isXcmpMessageSent: boolean;236 readonly asXcmpMessageSent: {237 readonly messageHash: Option<H256>;238 } & Struct;239 readonly isOverweightEnqueued: boolean;240 readonly asOverweightEnqueued: {241 readonly sender: u32;242 readonly sentAt: u32;243 readonly index: u64;244 readonly required: u64;245 } & Struct;246 readonly isOverweightServiced: boolean;247 readonly asOverweightServiced: {248 readonly index: u64;249 readonly used: u64;250 } & Struct;251 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';252}253254/** @name CumulusPalletXcmpQueueInboundChannelDetails */255export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {256 readonly sender: u32;257 readonly state: CumulusPalletXcmpQueueInboundState;258 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;259}260261/** @name CumulusPalletXcmpQueueInboundState */262export interface CumulusPalletXcmpQueueInboundState extends Enum {263 readonly isOk: boolean;264 readonly isSuspended: boolean;265 readonly type: 'Ok' | 'Suspended';266}267268/** @name CumulusPalletXcmpQueueOutboundChannelDetails */269export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {270 readonly recipient: u32;271 readonly state: CumulusPalletXcmpQueueOutboundState;272 readonly signalsExist: bool;273 readonly firstIndex: u16;274 readonly lastIndex: u16;275}276277/** @name CumulusPalletXcmpQueueOutboundState */278export interface CumulusPalletXcmpQueueOutboundState extends Enum {279 readonly isOk: boolean;280 readonly isSuspended: boolean;281 readonly type: 'Ok' | 'Suspended';282}283284/** @name CumulusPalletXcmpQueueQueueConfigData */285export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {286 readonly suspendThreshold: u32;287 readonly dropThreshold: u32;288 readonly resumeThreshold: u32;289 readonly thresholdWeight: u64;290 readonly weightRestrictDecay: u64;291 readonly xcmpMaxIndividualWeight: u64;292}293294/** @name CumulusPrimitivesParachainInherentParachainInherentData */295export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {296 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;297 readonly relayChainState: SpTrieStorageProof;298 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;299 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;300}301302/** @name EthbloomBloom */303export interface EthbloomBloom extends U8aFixed {}304305/** @name EthereumBlock */306export interface EthereumBlock extends Struct {307 readonly header: EthereumHeader;308 readonly transactions: Vec<EthereumTransactionTransactionV2>;309 readonly ommers: Vec<EthereumHeader>;310}311312/** @name EthereumHeader */313export interface EthereumHeader extends Struct {314 readonly parentHash: H256;315 readonly ommersHash: H256;316 readonly beneficiary: H160;317 readonly stateRoot: H256;318 readonly transactionsRoot: H256;319 readonly receiptsRoot: H256;320 readonly logsBloom: EthbloomBloom;321 readonly difficulty: U256;322 readonly number: U256;323 readonly gasLimit: U256;324 readonly gasUsed: U256;325 readonly timestamp: u64;326 readonly extraData: Bytes;327 readonly mixHash: H256;328 readonly nonce: EthereumTypesHashH64;329}330331/** @name EthereumLog */332export interface EthereumLog extends Struct {333 readonly address: H160;334 readonly topics: Vec<H256>;335 readonly data: Bytes;336}337338/** @name EthereumReceiptEip658ReceiptData */339export interface EthereumReceiptEip658ReceiptData extends Struct {340 readonly statusCode: u8;341 readonly usedGas: U256;342 readonly logsBloom: EthbloomBloom;343 readonly logs: Vec<EthereumLog>;344}345346/** @name EthereumReceiptReceiptV3 */347export interface EthereumReceiptReceiptV3 extends Enum {348 readonly isLegacy: boolean;349 readonly asLegacy: EthereumReceiptEip658ReceiptData;350 readonly isEip2930: boolean;351 readonly asEip2930: EthereumReceiptEip658ReceiptData;352 readonly isEip1559: boolean;353 readonly asEip1559: EthereumReceiptEip658ReceiptData;354 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';355}356357/** @name EthereumTransactionAccessListItem */358export interface EthereumTransactionAccessListItem extends Struct {359 readonly address: H160;360 readonly storageKeys: Vec<H256>;361}362363/** @name EthereumTransactionEip1559Transaction */364export interface EthereumTransactionEip1559Transaction extends Struct {365 readonly chainId: u64;366 readonly nonce: U256;367 readonly maxPriorityFeePerGas: U256;368 readonly maxFeePerGas: U256;369 readonly gasLimit: U256;370 readonly action: EthereumTransactionTransactionAction;371 readonly value: U256;372 readonly input: Bytes;373 readonly accessList: Vec<EthereumTransactionAccessListItem>;374 readonly oddYParity: bool;375 readonly r: H256;376 readonly s: H256;377}378379/** @name EthereumTransactionEip2930Transaction */380export interface EthereumTransactionEip2930Transaction extends Struct {381 readonly chainId: u64;382 readonly nonce: U256;383 readonly gasPrice: U256;384 readonly gasLimit: U256;385 readonly action: EthereumTransactionTransactionAction;386 readonly value: U256;387 readonly input: Bytes;388 readonly accessList: Vec<EthereumTransactionAccessListItem>;389 readonly oddYParity: bool;390 readonly r: H256;391 readonly s: H256;392}393394/** @name EthereumTransactionLegacyTransaction */395export interface EthereumTransactionLegacyTransaction extends Struct {396 readonly nonce: U256;397 readonly gasPrice: U256;398 readonly gasLimit: U256;399 readonly action: EthereumTransactionTransactionAction;400 readonly value: U256;401 readonly input: Bytes;402 readonly signature: EthereumTransactionTransactionSignature;403}404405/** @name EthereumTransactionTransactionAction */406export interface EthereumTransactionTransactionAction extends Enum {407 readonly isCall: boolean;408 readonly asCall: H160;409 readonly isCreate: boolean;410 readonly type: 'Call' | 'Create';411}412413/** @name EthereumTransactionTransactionSignature */414export interface EthereumTransactionTransactionSignature extends Struct {415 readonly v: u64;416 readonly r: H256;417 readonly s: H256;418}419420/** @name EthereumTransactionTransactionV2 */421export interface EthereumTransactionTransactionV2 extends Enum {422 readonly isLegacy: boolean;423 readonly asLegacy: EthereumTransactionLegacyTransaction;424 readonly isEip2930: boolean;425 readonly asEip2930: EthereumTransactionEip2930Transaction;426 readonly isEip1559: boolean;427 readonly asEip1559: EthereumTransactionEip1559Transaction;428 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';429}430431/** @name EthereumTypesHashH64 */432export interface EthereumTypesHashH64 extends U8aFixed {}433434/** @name EvmCoreErrorExitError */435export interface EvmCoreErrorExitError extends Enum {436 readonly isStackUnderflow: boolean;437 readonly isStackOverflow: boolean;438 readonly isInvalidJump: boolean;439 readonly isInvalidRange: boolean;440 readonly isDesignatedInvalid: boolean;441 readonly isCallTooDeep: boolean;442 readonly isCreateCollision: boolean;443 readonly isCreateContractLimit: boolean;444 readonly isOutOfOffset: boolean;445 readonly isOutOfGas: boolean;446 readonly isOutOfFund: boolean;447 readonly isPcUnderflow: boolean;448 readonly isCreateEmpty: boolean;449 readonly isOther: boolean;450 readonly asOther: Text;451 readonly isInvalidCode: boolean;452 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';453}454455/** @name EvmCoreErrorExitFatal */456export interface EvmCoreErrorExitFatal extends Enum {457 readonly isNotSupported: boolean;458 readonly isUnhandledInterrupt: boolean;459 readonly isCallErrorAsFatal: boolean;460 readonly asCallErrorAsFatal: EvmCoreErrorExitError;461 readonly isOther: boolean;462 readonly asOther: Text;463 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';464}465466/** @name EvmCoreErrorExitReason */467export interface EvmCoreErrorExitReason extends Enum {468 readonly isSucceed: boolean;469 readonly asSucceed: EvmCoreErrorExitSucceed;470 readonly isError: boolean;471 readonly asError: EvmCoreErrorExitError;472 readonly isRevert: boolean;473 readonly asRevert: EvmCoreErrorExitRevert;474 readonly isFatal: boolean;475 readonly asFatal: EvmCoreErrorExitFatal;476 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';477}478479/** @name EvmCoreErrorExitRevert */480export interface EvmCoreErrorExitRevert extends Enum {481 readonly isReverted: boolean;482 readonly type: 'Reverted';483}484485/** @name EvmCoreErrorExitSucceed */486export interface EvmCoreErrorExitSucceed extends Enum {487 readonly isStopped: boolean;488 readonly isReturned: boolean;489 readonly isSuicided: boolean;490 readonly type: 'Stopped' | 'Returned' | 'Suicided';491}492493/** @name FpRpcTransactionStatus */494export interface FpRpcTransactionStatus extends Struct {495 readonly transactionHash: H256;496 readonly transactionIndex: u32;497 readonly from: H160;498 readonly to: Option<H160>;499 readonly contractAddress: Option<H160>;500 readonly logs: Vec<EthereumLog>;501 readonly logsBloom: EthbloomBloom;502}503504/** @name FrameSupportDispatchRawOrigin */505export interface FrameSupportDispatchRawOrigin extends Enum {506 readonly isRoot: boolean;507 readonly isSigned: boolean;508 readonly asSigned: AccountId32;509 readonly isNone: boolean;510 readonly type: 'Root' | 'Signed' | 'None';511}512513/** @name FrameSupportPalletId */514export interface FrameSupportPalletId extends U8aFixed {}515516/** @name FrameSupportScheduleLookupError */517export interface FrameSupportScheduleLookupError extends Enum {518 readonly isUnknown: boolean;519 readonly isBadFormat: boolean;520 readonly type: 'Unknown' | 'BadFormat';521}522523/** @name FrameSupportScheduleMaybeHashed */524export interface FrameSupportScheduleMaybeHashed extends Enum {525 readonly isValue: boolean;526 readonly asValue: Call;527 readonly isHash: boolean;528 readonly asHash: H256;529 readonly type: 'Value' | 'Hash';530}531532/** @name FrameSupportTokensMiscBalanceStatus */533export interface FrameSupportTokensMiscBalanceStatus extends Enum {534 readonly isFree: boolean;535 readonly isReserved: boolean;536 readonly type: 'Free' | 'Reserved';537}538539/** @name FrameSupportWeightsDispatchClass */540export interface FrameSupportWeightsDispatchClass extends Enum {541 readonly isNormal: boolean;542 readonly isOperational: boolean;543 readonly isMandatory: boolean;544 readonly type: 'Normal' | 'Operational' | 'Mandatory';545}546547/** @name FrameSupportWeightsDispatchInfo */548export interface FrameSupportWeightsDispatchInfo extends Struct {549 readonly weight: u64;550 readonly class: FrameSupportWeightsDispatchClass;551 readonly paysFee: FrameSupportWeightsPays;552}553554/** @name FrameSupportWeightsPays */555export interface FrameSupportWeightsPays extends Enum {556 readonly isYes: boolean;557 readonly isNo: boolean;558 readonly type: 'Yes' | 'No';559}560561/** @name FrameSupportWeightsPerDispatchClassU32 */562export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {563 readonly normal: u32;564 readonly operational: u32;565 readonly mandatory: u32;566}567568/** @name FrameSupportWeightsPerDispatchClassU64 */569export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {570 readonly normal: u64;571 readonly operational: u64;572 readonly mandatory: u64;573}574575/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass */576export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {577 readonly normal: FrameSystemLimitsWeightsPerClass;578 readonly operational: FrameSystemLimitsWeightsPerClass;579 readonly mandatory: FrameSystemLimitsWeightsPerClass;580}581582/** @name FrameSupportWeightsRuntimeDbWeight */583export interface FrameSupportWeightsRuntimeDbWeight extends Struct {584 readonly read: u64;585 readonly write: u64;586}587588/** @name FrameSystemAccountInfo */589export interface FrameSystemAccountInfo extends Struct {590 readonly nonce: u32;591 readonly consumers: u32;592 readonly providers: u32;593 readonly sufficients: u32;594 readonly data: PalletBalancesAccountData;595}596597/** @name FrameSystemCall */598export interface FrameSystemCall extends Enum {599 readonly isFillBlock: boolean;600 readonly asFillBlock: {601 readonly ratio: Perbill;602 } & Struct;603 readonly isRemark: boolean;604 readonly asRemark: {605 readonly remark: Bytes;606 } & Struct;607 readonly isSetHeapPages: boolean;608 readonly asSetHeapPages: {609 readonly pages: u64;610 } & Struct;611 readonly isSetCode: boolean;612 readonly asSetCode: {613 readonly code: Bytes;614 } & Struct;615 readonly isSetCodeWithoutChecks: boolean;616 readonly asSetCodeWithoutChecks: {617 readonly code: Bytes;618 } & Struct;619 readonly isSetStorage: boolean;620 readonly asSetStorage: {621 readonly items: Vec<ITuple<[Bytes, Bytes]>>;622 } & Struct;623 readonly isKillStorage: boolean;624 readonly asKillStorage: {625 readonly keys_: Vec<Bytes>;626 } & Struct;627 readonly isKillPrefix: boolean;628 readonly asKillPrefix: {629 readonly prefix: Bytes;630 readonly subkeys: u32;631 } & Struct;632 readonly isRemarkWithEvent: boolean;633 readonly asRemarkWithEvent: {634 readonly remark: Bytes;635 } & Struct;636 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';637}638639/** @name FrameSystemError */640export interface FrameSystemError extends Enum {641 readonly isInvalidSpecName: boolean;642 readonly isSpecVersionNeedsToIncrease: boolean;643 readonly isFailedToExtractRuntimeVersion: boolean;644 readonly isNonDefaultComposite: boolean;645 readonly isNonZeroRefCount: boolean;646 readonly isCallFiltered: boolean;647 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';648}649650/** @name FrameSystemEvent */651export interface FrameSystemEvent extends Enum {652 readonly isExtrinsicSuccess: boolean;653 readonly asExtrinsicSuccess: {654 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;655 } & Struct;656 readonly isExtrinsicFailed: boolean;657 readonly asExtrinsicFailed: {658 readonly dispatchError: SpRuntimeDispatchError;659 readonly dispatchInfo: FrameSupportWeightsDispatchInfo;660 } & Struct;661 readonly isCodeUpdated: boolean;662 readonly isNewAccount: boolean;663 readonly asNewAccount: {664 readonly account: AccountId32;665 } & Struct;666 readonly isKilledAccount: boolean;667 readonly asKilledAccount: {668 readonly account: AccountId32;669 } & Struct;670 readonly isRemarked: boolean;671 readonly asRemarked: {672 readonly sender: AccountId32;673 readonly hash_: H256;674 } & Struct;675 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';676}677678/** @name FrameSystemEventRecord */679export interface FrameSystemEventRecord extends Struct {680 readonly phase: FrameSystemPhase;681 readonly event: Event;682 readonly topics: Vec<H256>;683}684685/** @name FrameSystemExtensionsCheckGenesis */686export interface FrameSystemExtensionsCheckGenesis extends Null {}687688/** @name FrameSystemExtensionsCheckNonce */689export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}690691/** @name FrameSystemExtensionsCheckSpecVersion */692export interface FrameSystemExtensionsCheckSpecVersion extends Null {}693694/** @name FrameSystemExtensionsCheckWeight */695export interface FrameSystemExtensionsCheckWeight extends Null {}696697/** @name FrameSystemLastRuntimeUpgradeInfo */698export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {699 readonly specVersion: Compact<u32>;700 readonly specName: Text;701}702703/** @name FrameSystemLimitsBlockLength */704export interface FrameSystemLimitsBlockLength extends Struct {705 readonly max: FrameSupportWeightsPerDispatchClassU32;706}707708/** @name FrameSystemLimitsBlockWeights */709export interface FrameSystemLimitsBlockWeights extends Struct {710 readonly baseBlock: u64;711 readonly maxBlock: u64;712 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;713}714715/** @name FrameSystemLimitsWeightsPerClass */716export interface FrameSystemLimitsWeightsPerClass extends Struct {717 readonly baseExtrinsic: u64;718 readonly maxExtrinsic: Option<u64>;719 readonly maxTotal: Option<u64>;720 readonly reserved: Option<u64>;721}722723/** @name FrameSystemPhase */724export interface FrameSystemPhase extends Enum {725 readonly isApplyExtrinsic: boolean;726 readonly asApplyExtrinsic: u32;727 readonly isFinalization: boolean;728 readonly isInitialization: boolean;729 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';730}731732/** @name OpalRuntimeOriginCaller */733export interface OpalRuntimeOriginCaller extends Enum {734 readonly isSystem: boolean;735 readonly asSystem: FrameSupportDispatchRawOrigin;736 readonly isVoid: boolean;737 readonly asVoid: SpCoreVoid;738 readonly isPolkadotXcm: boolean;739 readonly asPolkadotXcm: PalletXcmOrigin;740 readonly isCumulusXcm: boolean;741 readonly asCumulusXcm: CumulusPalletXcmOrigin;742 readonly isEthereum: boolean;743 readonly asEthereum: PalletEthereumRawOrigin;744 readonly type: 'System' | 'Void' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';745}746747/** @name OpalRuntimeRuntime */748export interface OpalRuntimeRuntime extends Null {}749750/** @name OrmlVestingModuleCall */751export interface OrmlVestingModuleCall extends Enum {752 readonly isClaim: boolean;753 readonly isVestedTransfer: boolean;754 readonly asVestedTransfer: {755 readonly dest: MultiAddress;756 readonly schedule: OrmlVestingVestingSchedule;757 } & Struct;758 readonly isUpdateVestingSchedules: boolean;759 readonly asUpdateVestingSchedules: {760 readonly who: MultiAddress;761 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;762 } & Struct;763 readonly isClaimFor: boolean;764 readonly asClaimFor: {765 readonly dest: MultiAddress;766 } & Struct;767 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';768}769770/** @name OrmlVestingModuleError */771export interface OrmlVestingModuleError extends Enum {772 readonly isZeroVestingPeriod: boolean;773 readonly isZeroVestingPeriodCount: boolean;774 readonly isInsufficientBalanceToLock: boolean;775 readonly isTooManyVestingSchedules: boolean;776 readonly isAmountLow: boolean;777 readonly isMaxVestingSchedulesExceeded: boolean;778 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';779}780781/** @name OrmlVestingModuleEvent */782export interface OrmlVestingModuleEvent extends Enum {783 readonly isVestingScheduleAdded: boolean;784 readonly asVestingScheduleAdded: {785 readonly from: AccountId32;786 readonly to: AccountId32;787 readonly vestingSchedule: OrmlVestingVestingSchedule;788 } & Struct;789 readonly isClaimed: boolean;790 readonly asClaimed: {791 readonly who: AccountId32;792 readonly amount: u128;793 } & Struct;794 readonly isVestingSchedulesUpdated: boolean;795 readonly asVestingSchedulesUpdated: {796 readonly who: AccountId32;797 } & Struct;798 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';799}800801/** @name OrmlVestingVestingSchedule */802export interface OrmlVestingVestingSchedule extends Struct {803 readonly start: u32;804 readonly period: u32;805 readonly periodCount: u32;806 readonly perPeriod: Compact<u128>;807}808809/** @name PalletAppPromotionCall */810export interface PalletAppPromotionCall extends Enum {811 readonly isSetAdminAddress: boolean;812 readonly asSetAdminAddress: {813 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;814 } & Struct;815 readonly isStartAppPromotion: boolean;816 readonly asStartAppPromotion: {817 readonly promotionStartRelayBlock: Option<u32>;818 } & Struct;819 readonly isStake: boolean;820 readonly asStake: {821 readonly amount: u128;822 } & Struct;823 readonly isUnstake: boolean;824 readonly asUnstake: {825 readonly amount: u128;826 } & Struct;827 readonly isSponsorCollection: boolean;828 readonly asSponsorCollection: {829 readonly collectionId: u32;830 } & Struct;831 readonly isStopSponsorignCollection: boolean;832 readonly asStopSponsorignCollection: {833 readonly collectionId: u32;834 } & Struct;835 readonly type: 'SetAdminAddress' | 'StartAppPromotion' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsorignCollection';836}837838/** @name PalletAppPromotionError */839export interface PalletAppPromotionError extends Enum {840 readonly isAdminNotSet: boolean;841 readonly isNoPermission: boolean;842 readonly isNotSufficientFounds: boolean;843 readonly isInvalidArgument: boolean;844 readonly isAlreadySponsored: boolean;845 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFounds' | 'InvalidArgument' | 'AlreadySponsored';846}847848/** @name PalletAppPromotionEvent */849export interface PalletAppPromotionEvent extends Enum {850 readonly isStakingRecalculation: boolean;851 readonly asStakingRecalculation: ITuple<[u128, u128]>;852 readonly type: 'StakingRecalculation';853}854855/** @name PalletBalancesAccountData */856export interface PalletBalancesAccountData extends Struct {857 readonly free: u128;858 readonly reserved: u128;859 readonly miscFrozen: u128;860 readonly feeFrozen: u128;861}862863/** @name PalletBalancesBalanceLock */864export interface PalletBalancesBalanceLock extends Struct {865 readonly id: U8aFixed;866 readonly amount: u128;867 readonly reasons: PalletBalancesReasons;868}869870/** @name PalletBalancesCall */871export interface PalletBalancesCall extends Enum {872 readonly isTransfer: boolean;873 readonly asTransfer: {874 readonly dest: MultiAddress;875 readonly value: Compact<u128>;876 } & Struct;877 readonly isSetBalance: boolean;878 readonly asSetBalance: {879 readonly who: MultiAddress;880 readonly newFree: Compact<u128>;881 readonly newReserved: Compact<u128>;882 } & Struct;883 readonly isForceTransfer: boolean;884 readonly asForceTransfer: {885 readonly source: MultiAddress;886 readonly dest: MultiAddress;887 readonly value: Compact<u128>;888 } & Struct;889 readonly isTransferKeepAlive: boolean;890 readonly asTransferKeepAlive: {891 readonly dest: MultiAddress;892 readonly value: Compact<u128>;893 } & Struct;894 readonly isTransferAll: boolean;895 readonly asTransferAll: {896 readonly dest: MultiAddress;897 readonly keepAlive: bool;898 } & Struct;899 readonly isForceUnreserve: boolean;900 readonly asForceUnreserve: {901 readonly who: MultiAddress;902 readonly amount: u128;903 } & Struct;904 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';905}906907/** @name PalletBalancesError */908export interface PalletBalancesError extends Enum {909 readonly isVestingBalance: boolean;910 readonly isLiquidityRestrictions: boolean;911 readonly isInsufficientBalance: boolean;912 readonly isExistentialDeposit: boolean;913 readonly isKeepAlive: boolean;914 readonly isExistingVestingSchedule: boolean;915 readonly isDeadAccount: boolean;916 readonly isTooManyReserves: boolean;917 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';918}919920/** @name PalletBalancesEvent */921export interface PalletBalancesEvent extends Enum {922 readonly isEndowed: boolean;923 readonly asEndowed: {924 readonly account: AccountId32;925 readonly freeBalance: u128;926 } & Struct;927 readonly isDustLost: boolean;928 readonly asDustLost: {929 readonly account: AccountId32;930 readonly amount: u128;931 } & Struct;932 readonly isTransfer: boolean;933 readonly asTransfer: {934 readonly from: AccountId32;935 readonly to: AccountId32;936 readonly amount: u128;937 } & Struct;938 readonly isBalanceSet: boolean;939 readonly asBalanceSet: {940 readonly who: AccountId32;941 readonly free: u128;942 readonly reserved: u128;943 } & Struct;944 readonly isReserved: boolean;945 readonly asReserved: {946 readonly who: AccountId32;947 readonly amount: u128;948 } & Struct;949 readonly isUnreserved: boolean;950 readonly asUnreserved: {951 readonly who: AccountId32;952 readonly amount: u128;953 } & Struct;954 readonly isReserveRepatriated: boolean;955 readonly asReserveRepatriated: {956 readonly from: AccountId32;957 readonly to: AccountId32;958 readonly amount: u128;959 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;960 } & Struct;961 readonly isDeposit: boolean;962 readonly asDeposit: {963 readonly who: AccountId32;964 readonly amount: u128;965 } & Struct;966 readonly isWithdraw: boolean;967 readonly asWithdraw: {968 readonly who: AccountId32;969 readonly amount: u128;970 } & Struct;971 readonly isSlashed: boolean;972 readonly asSlashed: {973 readonly who: AccountId32;974 readonly amount: u128;975 } & Struct;976 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';977}978979/** @name PalletBalancesReasons */980export interface PalletBalancesReasons extends Enum {981 readonly isFee: boolean;982 readonly isMisc: boolean;983 readonly isAll: boolean;984 readonly type: 'Fee' | 'Misc' | 'All';985}986987/** @name PalletBalancesReleases */988export interface PalletBalancesReleases extends Enum {989 readonly isV100: boolean;990 readonly isV200: boolean;991 readonly type: 'V100' | 'V200';992}993994/** @name PalletBalancesReserveData */995export interface PalletBalancesReserveData extends Struct {996 readonly id: U8aFixed;997 readonly amount: u128;998}9991000/** @name PalletCommonError */1001export interface PalletCommonError extends Enum {1002 readonly isCollectionNotFound: boolean;1003 readonly isMustBeTokenOwner: boolean;1004 readonly isNoPermission: boolean;1005 readonly isCantDestroyNotEmptyCollection: boolean;1006 readonly isPublicMintingNotAllowed: boolean;1007 readonly isAddressNotInAllowlist: boolean;1008 readonly isCollectionNameLimitExceeded: boolean;1009 readonly isCollectionDescriptionLimitExceeded: boolean;1010 readonly isCollectionTokenPrefixLimitExceeded: boolean;1011 readonly isTotalCollectionsLimitExceeded: boolean;1012 readonly isCollectionAdminCountExceeded: boolean;1013 readonly isCollectionLimitBoundsExceeded: boolean;1014 readonly isOwnerPermissionsCantBeReverted: boolean;1015 readonly isTransferNotAllowed: boolean;1016 readonly isAccountTokenLimitExceeded: boolean;1017 readonly isCollectionTokenLimitExceeded: boolean;1018 readonly isMetadataFlagFrozen: boolean;1019 readonly isTokenNotFound: boolean;1020 readonly isTokenValueTooLow: boolean;1021 readonly isApprovedValueTooLow: boolean;1022 readonly isCantApproveMoreThanOwned: boolean;1023 readonly isAddressIsZero: boolean;1024 readonly isUnsupportedOperation: boolean;1025 readonly isNotSufficientFounds: boolean;1026 readonly isUserIsNotAllowedToNest: boolean;1027 readonly isSourceCollectionIsNotAllowedToNest: boolean;1028 readonly isCollectionFieldSizeExceeded: boolean;1029 readonly isNoSpaceForProperty: boolean;1030 readonly isPropertyLimitReached: boolean;1031 readonly isPropertyKeyIsTooLong: boolean;1032 readonly isInvalidCharacterInPropertyKey: boolean;1033 readonly isEmptyPropertyKey: boolean;1034 readonly isCollectionIsExternal: boolean;1035 readonly isCollectionIsInternal: boolean;1036 readonly type: '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';1037}10381039/** @name PalletCommonEvent */1040export interface PalletCommonEvent extends Enum {1041 readonly isCollectionCreated: boolean;1042 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1043 readonly isCollectionDestroyed: boolean;1044 readonly asCollectionDestroyed: u32;1045 readonly isItemCreated: boolean;1046 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1047 readonly isItemDestroyed: boolean;1048 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1049 readonly isTransfer: boolean;1050 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1051 readonly isApproved: boolean;1052 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1053 readonly isCollectionPropertySet: boolean;1054 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1055 readonly isCollectionPropertyDeleted: boolean;1056 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1057 readonly isTokenPropertySet: boolean;1058 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1059 readonly isTokenPropertyDeleted: boolean;1060 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1061 readonly isPropertyPermissionSet: boolean;1062 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1063 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';1064}10651066/** @name PalletConfigurationCall */1067export interface PalletConfigurationCall extends Enum {1068 readonly isSetWeightToFeeCoefficientOverride: boolean;1069 readonly asSetWeightToFeeCoefficientOverride: {1070 readonly coeff: Option<u32>;1071 } & Struct;1072 readonly isSetMinGasPriceOverride: boolean;1073 readonly asSetMinGasPriceOverride: {1074 readonly coeff: Option<u64>;1075 } & Struct;1076 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride';1077}10781079/** @name PalletEthereumCall */1080export interface PalletEthereumCall extends Enum {1081 readonly isTransact: boolean;1082 readonly asTransact: {1083 readonly transaction: EthereumTransactionTransactionV2;1084 } & Struct;1085 readonly type: 'Transact';1086}10871088/** @name PalletEthereumError */1089export interface PalletEthereumError extends Enum {1090 readonly isInvalidSignature: boolean;1091 readonly isPreLogExists: boolean;1092 readonly type: 'InvalidSignature' | 'PreLogExists';1093}10941095/** @name PalletEthereumEvent */1096export interface PalletEthereumEvent extends Enum {1097 readonly isExecuted: boolean;1098 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;1099 readonly type: 'Executed';1100}11011102/** @name PalletEthereumFakeTransactionFinalizer */1103export interface PalletEthereumFakeTransactionFinalizer extends Null {}11041105/** @name PalletEthereumRawOrigin */1106export interface PalletEthereumRawOrigin extends Enum {1107 readonly isEthereumTransaction: boolean;1108 readonly asEthereumTransaction: H160;1109 readonly type: 'EthereumTransaction';1110}11111112/** @name PalletEvmAccountBasicCrossAccountIdRepr */1113export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1114 readonly isSubstrate: boolean;1115 readonly asSubstrate: AccountId32;1116 readonly isEthereum: boolean;1117 readonly asEthereum: H160;1118 readonly type: 'Substrate' | 'Ethereum';1119}11201121/** @name PalletEvmCall */1122export interface PalletEvmCall extends Enum {1123 readonly isWithdraw: boolean;1124 readonly asWithdraw: {1125 readonly address: H160;1126 readonly value: u128;1127 } & Struct;1128 readonly isCall: boolean;1129 readonly asCall: {1130 readonly source: H160;1131 readonly target: H160;1132 readonly input: Bytes;1133 readonly value: U256;1134 readonly gasLimit: u64;1135 readonly maxFeePerGas: U256;1136 readonly maxPriorityFeePerGas: Option<U256>;1137 readonly nonce: Option<U256>;1138 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1139 } & Struct;1140 readonly isCreate: boolean;1141 readonly asCreate: {1142 readonly source: H160;1143 readonly init: Bytes;1144 readonly value: U256;1145 readonly gasLimit: u64;1146 readonly maxFeePerGas: U256;1147 readonly maxPriorityFeePerGas: Option<U256>;1148 readonly nonce: Option<U256>;1149 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1150 } & Struct;1151 readonly isCreate2: boolean;1152 readonly asCreate2: {1153 readonly source: H160;1154 readonly init: Bytes;1155 readonly salt: H256;1156 readonly value: U256;1157 readonly gasLimit: u64;1158 readonly maxFeePerGas: U256;1159 readonly maxPriorityFeePerGas: Option<U256>;1160 readonly nonce: Option<U256>;1161 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1162 } & Struct;1163 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1164}11651166/** @name PalletEvmCoderSubstrateError */1167export interface PalletEvmCoderSubstrateError extends Enum {1168 readonly isOutOfGas: boolean;1169 readonly isOutOfFund: boolean;1170 readonly type: 'OutOfGas' | 'OutOfFund';1171}11721173/** @name PalletEvmContractHelpersError */1174export interface PalletEvmContractHelpersError extends Enum {1175 readonly isNoPermission: boolean;1176 readonly type: 'NoPermission';1177}11781179/** @name PalletEvmContractHelpersSponsoringModeT */1180export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1181 readonly isDisabled: boolean;1182 readonly isAllowlisted: boolean;1183 readonly isGenerous: boolean;1184 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1185}11861187/** @name PalletEvmError */1188export interface PalletEvmError extends Enum {1189 readonly isBalanceLow: boolean;1190 readonly isFeeOverflow: boolean;1191 readonly isPaymentOverflow: boolean;1192 readonly isWithdrawFailed: boolean;1193 readonly isGasPriceTooLow: boolean;1194 readonly isInvalidNonce: boolean;1195 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1196}11971198/** @name PalletEvmEvent */1199export interface PalletEvmEvent extends Enum {1200 readonly isLog: boolean;1201 readonly asLog: EthereumLog;1202 readonly isCreated: boolean;1203 readonly asCreated: H160;1204 readonly isCreatedFailed: boolean;1205 readonly asCreatedFailed: H160;1206 readonly isExecuted: boolean;1207 readonly asExecuted: H160;1208 readonly isExecutedFailed: boolean;1209 readonly asExecutedFailed: H160;1210 readonly isBalanceDeposit: boolean;1211 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1212 readonly isBalanceWithdraw: boolean;1213 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1214 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1215}12161217/** @name PalletEvmMigrationCall */1218export interface PalletEvmMigrationCall extends Enum {1219 readonly isBegin: boolean;1220 readonly asBegin: {1221 readonly address: H160;1222 } & Struct;1223 readonly isSetData: boolean;1224 readonly asSetData: {1225 readonly address: H160;1226 readonly data: Vec<ITuple<[H256, H256]>>;1227 } & Struct;1228 readonly isFinish: boolean;1229 readonly asFinish: {1230 readonly address: H160;1231 readonly code: Bytes;1232 } & Struct;1233 readonly type: 'Begin' | 'SetData' | 'Finish';1234}12351236/** @name PalletEvmMigrationError */1237export interface PalletEvmMigrationError extends Enum {1238 readonly isAccountNotEmpty: boolean;1239 readonly isAccountIsNotMigrating: boolean;1240 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1241}12421243/** @name PalletFungibleError */1244export interface PalletFungibleError extends Enum {1245 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1246 readonly isFungibleItemsHaveNoId: boolean;1247 readonly isFungibleItemsDontHaveData: boolean;1248 readonly isFungibleDisallowsNesting: boolean;1249 readonly isSettingPropertiesNotAllowed: boolean;1250 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1251}12521253/** @name PalletInflationCall */1254export interface PalletInflationCall extends Enum {1255 readonly isStartInflation: boolean;1256 readonly asStartInflation: {1257 readonly inflationStartRelayBlock: u32;1258 } & Struct;1259 readonly type: 'StartInflation';1260}12611262/** @name PalletNonfungibleError */1263export interface PalletNonfungibleError extends Enum {1264 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1265 readonly isNonfungibleItemsHaveNoAmount: boolean;1266 readonly isCantBurnNftWithChildren: boolean;1267 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1268}12691270/** @name PalletNonfungibleItemData */1271export interface PalletNonfungibleItemData extends Struct {1272 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1273}12741275/** @name PalletRefungibleError */1276export interface PalletRefungibleError extends Enum {1277 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1278 readonly isWrongRefungiblePieces: boolean;1279 readonly isRepartitionWhileNotOwningAllPieces: boolean;1280 readonly isRefungibleDisallowsNesting: boolean;1281 readonly isSettingPropertiesNotAllowed: boolean;1282 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1283}12841285/** @name PalletRefungibleItemData */1286export interface PalletRefungibleItemData extends Struct {1287 readonly constData: Bytes;1288}12891290/** @name PalletRmrkCoreCall */1291export interface PalletRmrkCoreCall extends Enum {1292 readonly isCreateCollection: boolean;1293 readonly asCreateCollection: {1294 readonly metadata: Bytes;1295 readonly max: Option<u32>;1296 readonly symbol: Bytes;1297 } & Struct;1298 readonly isDestroyCollection: boolean;1299 readonly asDestroyCollection: {1300 readonly collectionId: u32;1301 } & Struct;1302 readonly isChangeCollectionIssuer: boolean;1303 readonly asChangeCollectionIssuer: {1304 readonly collectionId: u32;1305 readonly newIssuer: MultiAddress;1306 } & Struct;1307 readonly isLockCollection: boolean;1308 readonly asLockCollection: {1309 readonly collectionId: u32;1310 } & Struct;1311 readonly isMintNft: boolean;1312 readonly asMintNft: {1313 readonly owner: Option<AccountId32>;1314 readonly collectionId: u32;1315 readonly recipient: Option<AccountId32>;1316 readonly royaltyAmount: Option<Permill>;1317 readonly metadata: Bytes;1318 readonly transferable: bool;1319 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1320 } & Struct;1321 readonly isBurnNft: boolean;1322 readonly asBurnNft: {1323 readonly collectionId: u32;1324 readonly nftId: u32;1325 readonly maxBurns: u32;1326 } & Struct;1327 readonly isSend: boolean;1328 readonly asSend: {1329 readonly rmrkCollectionId: u32;1330 readonly rmrkNftId: u32;1331 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1332 } & Struct;1333 readonly isAcceptNft: boolean;1334 readonly asAcceptNft: {1335 readonly rmrkCollectionId: u32;1336 readonly rmrkNftId: u32;1337 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1338 } & Struct;1339 readonly isRejectNft: boolean;1340 readonly asRejectNft: {1341 readonly rmrkCollectionId: u32;1342 readonly rmrkNftId: u32;1343 } & Struct;1344 readonly isAcceptResource: boolean;1345 readonly asAcceptResource: {1346 readonly rmrkCollectionId: u32;1347 readonly rmrkNftId: u32;1348 readonly resourceId: u32;1349 } & Struct;1350 readonly isAcceptResourceRemoval: boolean;1351 readonly asAcceptResourceRemoval: {1352 readonly rmrkCollectionId: u32;1353 readonly rmrkNftId: u32;1354 readonly resourceId: u32;1355 } & Struct;1356 readonly isSetProperty: boolean;1357 readonly asSetProperty: {1358 readonly rmrkCollectionId: Compact<u32>;1359 readonly maybeNftId: Option<u32>;1360 readonly key: Bytes;1361 readonly value: Bytes;1362 } & Struct;1363 readonly isSetPriority: boolean;1364 readonly asSetPriority: {1365 readonly rmrkCollectionId: u32;1366 readonly rmrkNftId: u32;1367 readonly priorities: Vec<u32>;1368 } & Struct;1369 readonly isAddBasicResource: boolean;1370 readonly asAddBasicResource: {1371 readonly rmrkCollectionId: u32;1372 readonly nftId: u32;1373 readonly resource: RmrkTraitsResourceBasicResource;1374 } & Struct;1375 readonly isAddComposableResource: boolean;1376 readonly asAddComposableResource: {1377 readonly rmrkCollectionId: u32;1378 readonly nftId: u32;1379 readonly resource: RmrkTraitsResourceComposableResource;1380 } & Struct;1381 readonly isAddSlotResource: boolean;1382 readonly asAddSlotResource: {1383 readonly rmrkCollectionId: u32;1384 readonly nftId: u32;1385 readonly resource: RmrkTraitsResourceSlotResource;1386 } & Struct;1387 readonly isRemoveResource: boolean;1388 readonly asRemoveResource: {1389 readonly rmrkCollectionId: u32;1390 readonly nftId: u32;1391 readonly resourceId: u32;1392 } & Struct;1393 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1394}13951396/** @name PalletRmrkCoreError */1397export interface PalletRmrkCoreError extends Enum {1398 readonly isCorruptedCollectionType: boolean;1399 readonly isRmrkPropertyKeyIsTooLong: boolean;1400 readonly isRmrkPropertyValueIsTooLong: boolean;1401 readonly isRmrkPropertyIsNotFound: boolean;1402 readonly isUnableToDecodeRmrkData: boolean;1403 readonly isCollectionNotEmpty: boolean;1404 readonly isNoAvailableCollectionId: boolean;1405 readonly isNoAvailableNftId: boolean;1406 readonly isCollectionUnknown: boolean;1407 readonly isNoPermission: boolean;1408 readonly isNonTransferable: boolean;1409 readonly isCollectionFullOrLocked: boolean;1410 readonly isResourceDoesntExist: boolean;1411 readonly isCannotSendToDescendentOrSelf: boolean;1412 readonly isCannotAcceptNonOwnedNft: boolean;1413 readonly isCannotRejectNonOwnedNft: boolean;1414 readonly isCannotRejectNonPendingNft: boolean;1415 readonly isResourceNotPending: boolean;1416 readonly isNoAvailableResourceId: boolean;1417 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1418}14191420/** @name PalletRmrkCoreEvent */1421export interface PalletRmrkCoreEvent extends Enum {1422 readonly isCollectionCreated: boolean;1423 readonly asCollectionCreated: {1424 readonly issuer: AccountId32;1425 readonly collectionId: u32;1426 } & Struct;1427 readonly isCollectionDestroyed: boolean;1428 readonly asCollectionDestroyed: {1429 readonly issuer: AccountId32;1430 readonly collectionId: u32;1431 } & Struct;1432 readonly isIssuerChanged: boolean;1433 readonly asIssuerChanged: {1434 readonly oldIssuer: AccountId32;1435 readonly newIssuer: AccountId32;1436 readonly collectionId: u32;1437 } & Struct;1438 readonly isCollectionLocked: boolean;1439 readonly asCollectionLocked: {1440 readonly issuer: AccountId32;1441 readonly collectionId: u32;1442 } & Struct;1443 readonly isNftMinted: boolean;1444 readonly asNftMinted: {1445 readonly owner: AccountId32;1446 readonly collectionId: u32;1447 readonly nftId: u32;1448 } & Struct;1449 readonly isNftBurned: boolean;1450 readonly asNftBurned: {1451 readonly owner: AccountId32;1452 readonly nftId: u32;1453 } & Struct;1454 readonly isNftSent: boolean;1455 readonly asNftSent: {1456 readonly sender: AccountId32;1457 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1458 readonly collectionId: u32;1459 readonly nftId: u32;1460 readonly approvalRequired: bool;1461 } & Struct;1462 readonly isNftAccepted: boolean;1463 readonly asNftAccepted: {1464 readonly sender: AccountId32;1465 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1466 readonly collectionId: u32;1467 readonly nftId: u32;1468 } & Struct;1469 readonly isNftRejected: boolean;1470 readonly asNftRejected: {1471 readonly sender: AccountId32;1472 readonly collectionId: u32;1473 readonly nftId: u32;1474 } & Struct;1475 readonly isPropertySet: boolean;1476 readonly asPropertySet: {1477 readonly collectionId: u32;1478 readonly maybeNftId: Option<u32>;1479 readonly key: Bytes;1480 readonly value: Bytes;1481 } & Struct;1482 readonly isResourceAdded: boolean;1483 readonly asResourceAdded: {1484 readonly nftId: u32;1485 readonly resourceId: u32;1486 } & Struct;1487 readonly isResourceRemoval: boolean;1488 readonly asResourceRemoval: {1489 readonly nftId: u32;1490 readonly resourceId: u32;1491 } & Struct;1492 readonly isResourceAccepted: boolean;1493 readonly asResourceAccepted: {1494 readonly nftId: u32;1495 readonly resourceId: u32;1496 } & Struct;1497 readonly isResourceRemovalAccepted: boolean;1498 readonly asResourceRemovalAccepted: {1499 readonly nftId: u32;1500 readonly resourceId: u32;1501 } & Struct;1502 readonly isPrioritySet: boolean;1503 readonly asPrioritySet: {1504 readonly collectionId: u32;1505 readonly nftId: u32;1506 } & Struct;1507 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1508}15091510/** @name PalletRmrkEquipCall */1511export interface PalletRmrkEquipCall extends Enum {1512 readonly isCreateBase: boolean;1513 readonly asCreateBase: {1514 readonly baseType: Bytes;1515 readonly symbol: Bytes;1516 readonly parts: Vec<RmrkTraitsPartPartType>;1517 } & Struct;1518 readonly isThemeAdd: boolean;1519 readonly asThemeAdd: {1520 readonly baseId: u32;1521 readonly theme: RmrkTraitsTheme;1522 } & Struct;1523 readonly isEquippable: boolean;1524 readonly asEquippable: {1525 readonly baseId: u32;1526 readonly slotId: u32;1527 readonly equippables: RmrkTraitsPartEquippableList;1528 } & Struct;1529 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1530}15311532/** @name PalletRmrkEquipError */1533export interface PalletRmrkEquipError extends Enum {1534 readonly isPermissionError: boolean;1535 readonly isNoAvailableBaseId: boolean;1536 readonly isNoAvailablePartId: boolean;1537 readonly isBaseDoesntExist: boolean;1538 readonly isNeedsDefaultThemeFirst: boolean;1539 readonly isPartDoesntExist: boolean;1540 readonly isNoEquippableOnFixedPart: boolean;1541 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1542}15431544/** @name PalletRmrkEquipEvent */1545export interface PalletRmrkEquipEvent extends Enum {1546 readonly isBaseCreated: boolean;1547 readonly asBaseCreated: {1548 readonly issuer: AccountId32;1549 readonly baseId: u32;1550 } & Struct;1551 readonly isEquippablesUpdated: boolean;1552 readonly asEquippablesUpdated: {1553 readonly baseId: u32;1554 readonly slotId: u32;1555 } & Struct;1556 readonly type: 'BaseCreated' | 'EquippablesUpdated';1557}15581559/** @name PalletStructureCall */1560export interface PalletStructureCall extends Null {}15611562/** @name PalletStructureError */1563export interface PalletStructureError extends Enum {1564 readonly isOuroborosDetected: boolean;1565 readonly isDepthLimit: boolean;1566 readonly isBreadthLimit: boolean;1567 readonly isTokenNotFound: boolean;1568 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1569}15701571/** @name PalletStructureEvent */1572export interface PalletStructureEvent extends Enum {1573 readonly isExecuted: boolean;1574 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1575 readonly type: 'Executed';1576}15771578/** @name PalletSudoCall */1579export interface PalletSudoCall extends Enum {1580 readonly isSudo: boolean;1581 readonly asSudo: {1582 readonly call: Call;1583 } & Struct;1584 readonly isSudoUncheckedWeight: boolean;1585 readonly asSudoUncheckedWeight: {1586 readonly call: Call;1587 readonly weight: u64;1588 } & Struct;1589 readonly isSetKey: boolean;1590 readonly asSetKey: {1591 readonly new_: MultiAddress;1592 } & Struct;1593 readonly isSudoAs: boolean;1594 readonly asSudoAs: {1595 readonly who: MultiAddress;1596 readonly call: Call;1597 } & Struct;1598 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1599}16001601/** @name PalletSudoError */1602export interface PalletSudoError extends Enum {1603 readonly isRequireSudo: boolean;1604 readonly type: 'RequireSudo';1605}16061607/** @name PalletSudoEvent */1608export interface PalletSudoEvent extends Enum {1609 readonly isSudid: boolean;1610 readonly asSudid: {1611 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1612 } & Struct;1613 readonly isKeyChanged: boolean;1614 readonly asKeyChanged: {1615 readonly oldSudoer: Option<AccountId32>;1616 } & Struct;1617 readonly isSudoAsDone: boolean;1618 readonly asSudoAsDone: {1619 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1620 } & Struct;1621 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1622}16231624/** @name PalletTemplateTransactionPaymentCall */1625export interface PalletTemplateTransactionPaymentCall extends Null {}16261627/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1628export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}16291630/** @name PalletTimestampCall */1631export interface PalletTimestampCall extends Enum {1632 readonly isSet: boolean;1633 readonly asSet: {1634 readonly now: Compact<u64>;1635 } & Struct;1636 readonly type: 'Set';1637}16381639/** @name PalletTransactionPaymentEvent */1640export interface PalletTransactionPaymentEvent extends Enum {1641 readonly isTransactionFeePaid: boolean;1642 readonly asTransactionFeePaid: {1643 readonly who: AccountId32;1644 readonly actualFee: u128;1645 readonly tip: u128;1646 } & Struct;1647 readonly type: 'TransactionFeePaid';1648}16491650/** @name PalletTransactionPaymentReleases */1651export interface PalletTransactionPaymentReleases extends Enum {1652 readonly isV1Ancient: boolean;1653 readonly isV2: boolean;1654 readonly type: 'V1Ancient' | 'V2';1655}16561657/** @name PalletTreasuryCall */1658export interface PalletTreasuryCall extends Enum {1659 readonly isProposeSpend: boolean;1660 readonly asProposeSpend: {1661 readonly value: Compact<u128>;1662 readonly beneficiary: MultiAddress;1663 } & Struct;1664 readonly isRejectProposal: boolean;1665 readonly asRejectProposal: {1666 readonly proposalId: Compact<u32>;1667 } & Struct;1668 readonly isApproveProposal: boolean;1669 readonly asApproveProposal: {1670 readonly proposalId: Compact<u32>;1671 } & Struct;1672 readonly isSpend: boolean;1673 readonly asSpend: {1674 readonly amount: Compact<u128>;1675 readonly beneficiary: MultiAddress;1676 } & Struct;1677 readonly isRemoveApproval: boolean;1678 readonly asRemoveApproval: {1679 readonly proposalId: Compact<u32>;1680 } & Struct;1681 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1682}16831684/** @name PalletTreasuryError */1685export interface PalletTreasuryError extends Enum {1686 readonly isInsufficientProposersBalance: boolean;1687 readonly isInvalidIndex: boolean;1688 readonly isTooManyApprovals: boolean;1689 readonly isInsufficientPermission: boolean;1690 readonly isProposalNotApproved: boolean;1691 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1692}16931694/** @name PalletTreasuryEvent */1695export interface PalletTreasuryEvent extends Enum {1696 readonly isProposed: boolean;1697 readonly asProposed: {1698 readonly proposalIndex: u32;1699 } & Struct;1700 readonly isSpending: boolean;1701 readonly asSpending: {1702 readonly budgetRemaining: u128;1703 } & Struct;1704 readonly isAwarded: boolean;1705 readonly asAwarded: {1706 readonly proposalIndex: u32;1707 readonly award: u128;1708 readonly account: AccountId32;1709 } & Struct;1710 readonly isRejected: boolean;1711 readonly asRejected: {1712 readonly proposalIndex: u32;1713 readonly slashed: u128;1714 } & Struct;1715 readonly isBurnt: boolean;1716 readonly asBurnt: {1717 readonly burntFunds: u128;1718 } & Struct;1719 readonly isRollover: boolean;1720 readonly asRollover: {1721 readonly rolloverBalance: u128;1722 } & Struct;1723 readonly isDeposit: boolean;1724 readonly asDeposit: {1725 readonly value: u128;1726 } & Struct;1727 readonly isSpendApproved: boolean;1728 readonly asSpendApproved: {1729 readonly proposalIndex: u32;1730 readonly amount: u128;1731 readonly beneficiary: AccountId32;1732 } & Struct;1733 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';1734}17351736/** @name PalletTreasuryProposal */1737export interface PalletTreasuryProposal extends Struct {1738 readonly proposer: AccountId32;1739 readonly value: u128;1740 readonly beneficiary: AccountId32;1741 readonly bond: u128;1742}17431744/** @name PalletUniqueCall */1745export interface PalletUniqueCall extends Enum {1746 readonly isCreateCollection: boolean;1747 readonly asCreateCollection: {1748 readonly collectionName: Vec<u16>;1749 readonly collectionDescription: Vec<u16>;1750 readonly tokenPrefix: Bytes;1751 readonly mode: UpDataStructsCollectionMode;1752 } & Struct;1753 readonly isCreateCollectionEx: boolean;1754 readonly asCreateCollectionEx: {1755 readonly data: UpDataStructsCreateCollectionData;1756 } & Struct;1757 readonly isDestroyCollection: boolean;1758 readonly asDestroyCollection: {1759 readonly collectionId: u32;1760 } & Struct;1761 readonly isAddToAllowList: boolean;1762 readonly asAddToAllowList: {1763 readonly collectionId: u32;1764 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1765 } & Struct;1766 readonly isRemoveFromAllowList: boolean;1767 readonly asRemoveFromAllowList: {1768 readonly collectionId: u32;1769 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1770 } & Struct;1771 readonly isChangeCollectionOwner: boolean;1772 readonly asChangeCollectionOwner: {1773 readonly collectionId: u32;1774 readonly newOwner: AccountId32;1775 } & Struct;1776 readonly isAddCollectionAdmin: boolean;1777 readonly asAddCollectionAdmin: {1778 readonly collectionId: u32;1779 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1780 } & Struct;1781 readonly isRemoveCollectionAdmin: boolean;1782 readonly asRemoveCollectionAdmin: {1783 readonly collectionId: u32;1784 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1785 } & Struct;1786 readonly isSetCollectionSponsor: boolean;1787 readonly asSetCollectionSponsor: {1788 readonly collectionId: u32;1789 readonly newSponsor: AccountId32;1790 } & Struct;1791 readonly isConfirmSponsorship: boolean;1792 readonly asConfirmSponsorship: {1793 readonly collectionId: u32;1794 } & Struct;1795 readonly isRemoveCollectionSponsor: boolean;1796 readonly asRemoveCollectionSponsor: {1797 readonly collectionId: u32;1798 } & Struct;1799 readonly isCreateItem: boolean;1800 readonly asCreateItem: {1801 readonly collectionId: u32;1802 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1803 readonly data: UpDataStructsCreateItemData;1804 } & Struct;1805 readonly isCreateMultipleItems: boolean;1806 readonly asCreateMultipleItems: {1807 readonly collectionId: u32;1808 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1809 readonly itemsData: Vec<UpDataStructsCreateItemData>;1810 } & Struct;1811 readonly isSetCollectionProperties: boolean;1812 readonly asSetCollectionProperties: {1813 readonly collectionId: u32;1814 readonly properties: Vec<UpDataStructsProperty>;1815 } & Struct;1816 readonly isDeleteCollectionProperties: boolean;1817 readonly asDeleteCollectionProperties: {1818 readonly collectionId: u32;1819 readonly propertyKeys: Vec<Bytes>;1820 } & Struct;1821 readonly isSetTokenProperties: boolean;1822 readonly asSetTokenProperties: {1823 readonly collectionId: u32;1824 readonly tokenId: u32;1825 readonly properties: Vec<UpDataStructsProperty>;1826 } & Struct;1827 readonly isDeleteTokenProperties: boolean;1828 readonly asDeleteTokenProperties: {1829 readonly collectionId: u32;1830 readonly tokenId: u32;1831 readonly propertyKeys: Vec<Bytes>;1832 } & Struct;1833 readonly isSetTokenPropertyPermissions: boolean;1834 readonly asSetTokenPropertyPermissions: {1835 readonly collectionId: u32;1836 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1837 } & Struct;1838 readonly isCreateMultipleItemsEx: boolean;1839 readonly asCreateMultipleItemsEx: {1840 readonly collectionId: u32;1841 readonly data: UpDataStructsCreateItemExData;1842 } & Struct;1843 readonly isSetTransfersEnabledFlag: boolean;1844 readonly asSetTransfersEnabledFlag: {1845 readonly collectionId: u32;1846 readonly value: bool;1847 } & Struct;1848 readonly isBurnItem: boolean;1849 readonly asBurnItem: {1850 readonly collectionId: u32;1851 readonly itemId: u32;1852 readonly value: u128;1853 } & Struct;1854 readonly isBurnFrom: boolean;1855 readonly asBurnFrom: {1856 readonly collectionId: u32;1857 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1858 readonly itemId: u32;1859 readonly value: u128;1860 } & Struct;1861 readonly isTransfer: boolean;1862 readonly asTransfer: {1863 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1864 readonly collectionId: u32;1865 readonly itemId: u32;1866 readonly value: u128;1867 } & Struct;1868 readonly isApprove: boolean;1869 readonly asApprove: {1870 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1871 readonly collectionId: u32;1872 readonly itemId: u32;1873 readonly amount: u128;1874 } & Struct;1875 readonly isTransferFrom: boolean;1876 readonly asTransferFrom: {1877 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1878 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1879 readonly collectionId: u32;1880 readonly itemId: u32;1881 readonly value: u128;1882 } & Struct;1883 readonly isSetCollectionLimits: boolean;1884 readonly asSetCollectionLimits: {1885 readonly collectionId: u32;1886 readonly newLimit: UpDataStructsCollectionLimits;1887 } & Struct;1888 readonly isSetCollectionPermissions: boolean;1889 readonly asSetCollectionPermissions: {1890 readonly collectionId: u32;1891 readonly newPermission: UpDataStructsCollectionPermissions;1892 } & Struct;1893 readonly isRepartition: boolean;1894 readonly asRepartition: {1895 readonly collectionId: u32;1896 readonly tokenId: u32;1897 readonly amount: u128;1898 } & Struct;1899 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';1900}19011902/** @name PalletUniqueError */1903export interface PalletUniqueError extends Enum {1904 readonly isCollectionDecimalPointLimitExceeded: boolean;1905 readonly isConfirmUnsetSponsorFail: boolean;1906 readonly isEmptyArgument: boolean;1907 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;1908 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';1909}19101911/** @name PalletUniqueRawEvent */1912export interface PalletUniqueRawEvent extends Enum {1913 readonly isCollectionSponsorRemoved: boolean;1914 readonly asCollectionSponsorRemoved: u32;1915 readonly isCollectionAdminAdded: boolean;1916 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1917 readonly isCollectionOwnedChanged: boolean;1918 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1919 readonly isCollectionSponsorSet: boolean;1920 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1921 readonly isSponsorshipConfirmed: boolean;1922 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1923 readonly isCollectionAdminRemoved: boolean;1924 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1925 readonly isAllowListAddressRemoved: boolean;1926 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1927 readonly isAllowListAddressAdded: boolean;1928 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1929 readonly isCollectionLimitSet: boolean;1930 readonly asCollectionLimitSet: u32;1931 readonly isCollectionPermissionSet: boolean;1932 readonly asCollectionPermissionSet: u32;1933 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1934}19351936/** @name PalletUniqueSchedulerCall */1937export interface PalletUniqueSchedulerCall extends Enum {1938 readonly isScheduleNamed: boolean;1939 readonly asScheduleNamed: {1940 readonly id: U8aFixed;1941 readonly when: u32;1942 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1943 readonly priority: u8;1944 readonly call: FrameSupportScheduleMaybeHashed;1945 } & Struct;1946 readonly isCancelNamed: boolean;1947 readonly asCancelNamed: {1948 readonly id: U8aFixed;1949 } & Struct;1950 readonly isScheduleNamedAfter: boolean;1951 readonly asScheduleNamedAfter: {1952 readonly id: U8aFixed;1953 readonly after: u32;1954 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1955 readonly priority: u8;1956 readonly call: FrameSupportScheduleMaybeHashed;1957 } & Struct;1958 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1959}19601961/** @name PalletUniqueSchedulerError */1962export interface PalletUniqueSchedulerError extends Enum {1963 readonly isFailedToSchedule: boolean;1964 readonly isNotFound: boolean;1965 readonly isTargetBlockNumberInPast: boolean;1966 readonly isRescheduleNoChange: boolean;1967 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1968}19691970/** @name PalletUniqueSchedulerEvent */1971export interface PalletUniqueSchedulerEvent extends Enum {1972 readonly isScheduled: boolean;1973 readonly asScheduled: {1974 readonly when: u32;1975 readonly index: u32;1976 } & Struct;1977 readonly isCanceled: boolean;1978 readonly asCanceled: {1979 readonly when: u32;1980 readonly index: u32;1981 } & Struct;1982 readonly isDispatched: boolean;1983 readonly asDispatched: {1984 readonly task: ITuple<[u32, u32]>;1985 readonly id: Option<U8aFixed>;1986 readonly result: Result<Null, SpRuntimeDispatchError>;1987 } & Struct;1988 readonly isCallLookupFailed: boolean;1989 readonly asCallLookupFailed: {1990 readonly task: ITuple<[u32, u32]>;1991 readonly id: Option<U8aFixed>;1992 readonly error: FrameSupportScheduleLookupError;1993 } & Struct;1994 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1995}19961997/** @name PalletUniqueSchedulerScheduledV3 */1998export interface PalletUniqueSchedulerScheduledV3 extends Struct {1999 readonly maybeId: Option<U8aFixed>;2000 readonly priority: u8;2001 readonly call: FrameSupportScheduleMaybeHashed;2002 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2003 readonly origin: OpalRuntimeOriginCaller;2004}20052006/** @name PalletXcmCall */2007export interface PalletXcmCall extends Enum {2008 readonly isSend: boolean;2009 readonly asSend: {2010 readonly dest: XcmVersionedMultiLocation;2011 readonly message: XcmVersionedXcm;2012 } & Struct;2013 readonly isTeleportAssets: boolean;2014 readonly asTeleportAssets: {2015 readonly dest: XcmVersionedMultiLocation;2016 readonly beneficiary: XcmVersionedMultiLocation;2017 readonly assets: XcmVersionedMultiAssets;2018 readonly feeAssetItem: u32;2019 } & Struct;2020 readonly isReserveTransferAssets: boolean;2021 readonly asReserveTransferAssets: {2022 readonly dest: XcmVersionedMultiLocation;2023 readonly beneficiary: XcmVersionedMultiLocation;2024 readonly assets: XcmVersionedMultiAssets;2025 readonly feeAssetItem: u32;2026 } & Struct;2027 readonly isExecute: boolean;2028 readonly asExecute: {2029 readonly message: XcmVersionedXcm;2030 readonly maxWeight: u64;2031 } & Struct;2032 readonly isForceXcmVersion: boolean;2033 readonly asForceXcmVersion: {2034 readonly location: XcmV1MultiLocation;2035 readonly xcmVersion: u32;2036 } & Struct;2037 readonly isForceDefaultXcmVersion: boolean;2038 readonly asForceDefaultXcmVersion: {2039 readonly maybeXcmVersion: Option<u32>;2040 } & Struct;2041 readonly isForceSubscribeVersionNotify: boolean;2042 readonly asForceSubscribeVersionNotify: {2043 readonly location: XcmVersionedMultiLocation;2044 } & Struct;2045 readonly isForceUnsubscribeVersionNotify: boolean;2046 readonly asForceUnsubscribeVersionNotify: {2047 readonly location: XcmVersionedMultiLocation;2048 } & Struct;2049 readonly isLimitedReserveTransferAssets: boolean;2050 readonly asLimitedReserveTransferAssets: {2051 readonly dest: XcmVersionedMultiLocation;2052 readonly beneficiary: XcmVersionedMultiLocation;2053 readonly assets: XcmVersionedMultiAssets;2054 readonly feeAssetItem: u32;2055 readonly weightLimit: XcmV2WeightLimit;2056 } & Struct;2057 readonly isLimitedTeleportAssets: boolean;2058 readonly asLimitedTeleportAssets: {2059 readonly dest: XcmVersionedMultiLocation;2060 readonly beneficiary: XcmVersionedMultiLocation;2061 readonly assets: XcmVersionedMultiAssets;2062 readonly feeAssetItem: u32;2063 readonly weightLimit: XcmV2WeightLimit;2064 } & Struct;2065 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2066}20672068/** @name PalletXcmError */2069export interface PalletXcmError extends Enum {2070 readonly isUnreachable: boolean;2071 readonly isSendFailure: boolean;2072 readonly isFiltered: boolean;2073 readonly isUnweighableMessage: boolean;2074 readonly isDestinationNotInvertible: boolean;2075 readonly isEmpty: boolean;2076 readonly isCannotReanchor: boolean;2077 readonly isTooManyAssets: boolean;2078 readonly isInvalidOrigin: boolean;2079 readonly isBadVersion: boolean;2080 readonly isBadLocation: boolean;2081 readonly isNoSubscription: boolean;2082 readonly isAlreadySubscribed: boolean;2083 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2084}20852086/** @name PalletXcmEvent */2087export interface PalletXcmEvent extends Enum {2088 readonly isAttempted: boolean;2089 readonly asAttempted: XcmV2TraitsOutcome;2090 readonly isSent: boolean;2091 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2092 readonly isUnexpectedResponse: boolean;2093 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2094 readonly isResponseReady: boolean;2095 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2096 readonly isNotified: boolean;2097 readonly asNotified: ITuple<[u64, u8, u8]>;2098 readonly isNotifyOverweight: boolean;2099 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2100 readonly isNotifyDispatchError: boolean;2101 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2102 readonly isNotifyDecodeFailed: boolean;2103 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2104 readonly isInvalidResponder: boolean;2105 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2106 readonly isInvalidResponderVersion: boolean;2107 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2108 readonly isResponseTaken: boolean;2109 readonly asResponseTaken: u64;2110 readonly isAssetsTrapped: boolean;2111 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2112 readonly isVersionChangeNotified: boolean;2113 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2114 readonly isSupportedVersionChanged: boolean;2115 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2116 readonly isNotifyTargetSendFail: boolean;2117 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2118 readonly isNotifyTargetMigrationFail: boolean;2119 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2120 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2121}21222123/** @name PalletXcmOrigin */2124export interface PalletXcmOrigin extends Enum {2125 readonly isXcm: boolean;2126 readonly asXcm: XcmV1MultiLocation;2127 readonly isResponse: boolean;2128 readonly asResponse: XcmV1MultiLocation;2129 readonly type: 'Xcm' | 'Response';2130}21312132/** @name PhantomTypeUpDataStructs */2133export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}21342135/** @name PolkadotCorePrimitivesInboundDownwardMessage */2136export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2137 readonly sentAt: u32;2138 readonly msg: Bytes;2139}21402141/** @name PolkadotCorePrimitivesInboundHrmpMessage */2142export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2143 readonly sentAt: u32;2144 readonly data: Bytes;2145}21462147/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2148export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2149 readonly recipient: u32;2150 readonly data: Bytes;2151}21522153/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2154export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2155 readonly isConcatenatedVersionedXcm: boolean;2156 readonly isConcatenatedEncodedBlob: boolean;2157 readonly isSignals: boolean;2158 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2159}21602161/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2162export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2163 readonly maxCodeSize: u32;2164 readonly maxHeadDataSize: u32;2165 readonly maxUpwardQueueCount: u32;2166 readonly maxUpwardQueueSize: u32;2167 readonly maxUpwardMessageSize: u32;2168 readonly maxUpwardMessageNumPerCandidate: u32;2169 readonly hrmpMaxMessageNumPerCandidate: u32;2170 readonly validationUpgradeCooldown: u32;2171 readonly validationUpgradeDelay: u32;2172}21732174/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2175export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2176 readonly maxCapacity: u32;2177 readonly maxTotalSize: u32;2178 readonly maxMessageSize: u32;2179 readonly msgCount: u32;2180 readonly totalSize: u32;2181 readonly mqcHead: Option<H256>;2182}21832184/** @name PolkadotPrimitivesV2PersistedValidationData */2185export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2186 readonly parentHead: Bytes;2187 readonly relayParentNumber: u32;2188 readonly relayParentStorageRoot: H256;2189 readonly maxPovSize: u32;2190}21912192/** @name PolkadotPrimitivesV2UpgradeRestriction */2193export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2194 readonly isPresent: boolean;2195 readonly type: 'Present';2196}21972198/** @name RmrkTraitsBaseBaseInfo */2199export interface RmrkTraitsBaseBaseInfo extends Struct {2200 readonly issuer: AccountId32;2201 readonly baseType: Bytes;2202 readonly symbol: Bytes;2203}22042205/** @name RmrkTraitsCollectionCollectionInfo */2206export interface RmrkTraitsCollectionCollectionInfo extends Struct {2207 readonly issuer: AccountId32;2208 readonly metadata: Bytes;2209 readonly max: Option<u32>;2210 readonly symbol: Bytes;2211 readonly nftsCount: u32;2212}22132214/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2215export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2216 readonly isAccountId: boolean;2217 readonly asAccountId: AccountId32;2218 readonly isCollectionAndNftTuple: boolean;2219 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2220 readonly type: 'AccountId' | 'CollectionAndNftTuple';2221}22222223/** @name RmrkTraitsNftNftChild */2224export interface RmrkTraitsNftNftChild extends Struct {2225 readonly collectionId: u32;2226 readonly nftId: u32;2227}22282229/** @name RmrkTraitsNftNftInfo */2230export interface RmrkTraitsNftNftInfo extends Struct {2231 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2232 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2233 readonly metadata: Bytes;2234 readonly equipped: bool;2235 readonly pending: bool;2236}22372238/** @name RmrkTraitsNftRoyaltyInfo */2239export interface RmrkTraitsNftRoyaltyInfo extends Struct {2240 readonly recipient: AccountId32;2241 readonly amount: Permill;2242}22432244/** @name RmrkTraitsPartEquippableList */2245export interface RmrkTraitsPartEquippableList extends Enum {2246 readonly isAll: boolean;2247 readonly isEmpty: boolean;2248 readonly isCustom: boolean;2249 readonly asCustom: Vec<u32>;2250 readonly type: 'All' | 'Empty' | 'Custom';2251}22522253/** @name RmrkTraitsPartFixedPart */2254export interface RmrkTraitsPartFixedPart extends Struct {2255 readonly id: u32;2256 readonly z: u32;2257 readonly src: Bytes;2258}22592260/** @name RmrkTraitsPartPartType */2261export interface RmrkTraitsPartPartType extends Enum {2262 readonly isFixedPart: boolean;2263 readonly asFixedPart: RmrkTraitsPartFixedPart;2264 readonly isSlotPart: boolean;2265 readonly asSlotPart: RmrkTraitsPartSlotPart;2266 readonly type: 'FixedPart' | 'SlotPart';2267}22682269/** @name RmrkTraitsPartSlotPart */2270export interface RmrkTraitsPartSlotPart extends Struct {2271 readonly id: u32;2272 readonly equippable: RmrkTraitsPartEquippableList;2273 readonly src: Bytes;2274 readonly z: u32;2275}22762277/** @name RmrkTraitsPropertyPropertyInfo */2278export interface RmrkTraitsPropertyPropertyInfo extends Struct {2279 readonly key: Bytes;2280 readonly value: Bytes;2281}22822283/** @name RmrkTraitsResourceBasicResource */2284export interface RmrkTraitsResourceBasicResource extends Struct {2285 readonly src: Option<Bytes>;2286 readonly metadata: Option<Bytes>;2287 readonly license: Option<Bytes>;2288 readonly thumb: Option<Bytes>;2289}22902291/** @name RmrkTraitsResourceComposableResource */2292export interface RmrkTraitsResourceComposableResource extends Struct {2293 readonly parts: Vec<u32>;2294 readonly base: u32;2295 readonly src: Option<Bytes>;2296 readonly metadata: Option<Bytes>;2297 readonly license: Option<Bytes>;2298 readonly thumb: Option<Bytes>;2299}23002301/** @name RmrkTraitsResourceResourceInfo */2302export interface RmrkTraitsResourceResourceInfo extends Struct {2303 readonly id: u32;2304 readonly resource: RmrkTraitsResourceResourceTypes;2305 readonly pending: bool;2306 readonly pendingRemoval: bool;2307}23082309/** @name RmrkTraitsResourceResourceTypes */2310export interface RmrkTraitsResourceResourceTypes extends Enum {2311 readonly isBasic: boolean;2312 readonly asBasic: RmrkTraitsResourceBasicResource;2313 readonly isComposable: boolean;2314 readonly asComposable: RmrkTraitsResourceComposableResource;2315 readonly isSlot: boolean;2316 readonly asSlot: RmrkTraitsResourceSlotResource;2317 readonly type: 'Basic' | 'Composable' | 'Slot';2318}23192320/** @name RmrkTraitsResourceSlotResource */2321export interface RmrkTraitsResourceSlotResource extends Struct {2322 readonly base: u32;2323 readonly src: Option<Bytes>;2324 readonly metadata: Option<Bytes>;2325 readonly slot: u32;2326 readonly license: Option<Bytes>;2327 readonly thumb: Option<Bytes>;2328}23292330/** @name RmrkTraitsTheme */2331export interface RmrkTraitsTheme extends Struct {2332 readonly name: Bytes;2333 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2334 readonly inherit: bool;2335}23362337/** @name RmrkTraitsThemeThemeProperty */2338export interface RmrkTraitsThemeThemeProperty extends Struct {2339 readonly key: Bytes;2340 readonly value: Bytes;2341}23422343/** @name SpCoreEcdsaSignature */2344export interface SpCoreEcdsaSignature extends U8aFixed {}23452346/** @name SpCoreEd25519Signature */2347export interface SpCoreEd25519Signature extends U8aFixed {}23482349/** @name SpCoreSr25519Signature */2350export interface SpCoreSr25519Signature extends U8aFixed {}23512352/** @name SpCoreVoid */2353export interface SpCoreVoid extends Null {}23542355/** @name SpRuntimeArithmeticError */2356export interface SpRuntimeArithmeticError extends Enum {2357 readonly isUnderflow: boolean;2358 readonly isOverflow: boolean;2359 readonly isDivisionByZero: boolean;2360 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2361}23622363/** @name SpRuntimeDigest */2364export interface SpRuntimeDigest extends Struct {2365 readonly logs: Vec<SpRuntimeDigestDigestItem>;2366}23672368/** @name SpRuntimeDigestDigestItem */2369export interface SpRuntimeDigestDigestItem extends Enum {2370 readonly isOther: boolean;2371 readonly asOther: Bytes;2372 readonly isConsensus: boolean;2373 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2374 readonly isSeal: boolean;2375 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2376 readonly isPreRuntime: boolean;2377 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2378 readonly isRuntimeEnvironmentUpdated: boolean;2379 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2380}23812382/** @name SpRuntimeDispatchError */2383export interface SpRuntimeDispatchError extends Enum {2384 readonly isOther: boolean;2385 readonly isCannotLookup: boolean;2386 readonly isBadOrigin: boolean;2387 readonly isModule: boolean;2388 readonly asModule: SpRuntimeModuleError;2389 readonly isConsumerRemaining: boolean;2390 readonly isNoProviders: boolean;2391 readonly isTooManyConsumers: boolean;2392 readonly isToken: boolean;2393 readonly asToken: SpRuntimeTokenError;2394 readonly isArithmetic: boolean;2395 readonly asArithmetic: SpRuntimeArithmeticError;2396 readonly isTransactional: boolean;2397 readonly asTransactional: SpRuntimeTransactionalError;2398 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2399}24002401/** @name SpRuntimeModuleError */2402export interface SpRuntimeModuleError extends Struct {2403 readonly index: u8;2404 readonly error: U8aFixed;2405}24062407/** @name SpRuntimeMultiSignature */2408export interface SpRuntimeMultiSignature extends Enum {2409 readonly isEd25519: boolean;2410 readonly asEd25519: SpCoreEd25519Signature;2411 readonly isSr25519: boolean;2412 readonly asSr25519: SpCoreSr25519Signature;2413 readonly isEcdsa: boolean;2414 readonly asEcdsa: SpCoreEcdsaSignature;2415 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2416}24172418/** @name SpRuntimeTokenError */2419export interface SpRuntimeTokenError extends Enum {2420 readonly isNoFunds: boolean;2421 readonly isWouldDie: boolean;2422 readonly isBelowMinimum: boolean;2423 readonly isCannotCreate: boolean;2424 readonly isUnknownAsset: boolean;2425 readonly isFrozen: boolean;2426 readonly isUnsupported: boolean;2427 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2428}24292430/** @name SpRuntimeTransactionalError */2431export interface SpRuntimeTransactionalError extends Enum {2432 readonly isLimitReached: boolean;2433 readonly isNoLayer: boolean;2434 readonly type: 'LimitReached' | 'NoLayer';2435}24362437/** @name SpTrieStorageProof */2438export interface SpTrieStorageProof extends Struct {2439 readonly trieNodes: BTreeSet<Bytes>;2440}24412442/** @name SpVersionRuntimeVersion */2443export interface SpVersionRuntimeVersion extends Struct {2444 readonly specName: Text;2445 readonly implName: Text;2446 readonly authoringVersion: u32;2447 readonly specVersion: u32;2448 readonly implVersion: u32;2449 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2450 readonly transactionVersion: u32;2451 readonly stateVersion: u8;2452}24532454/** @name UpDataStructsAccessMode */2455export interface UpDataStructsAccessMode extends Enum {2456 readonly isNormal: boolean;2457 readonly isAllowList: boolean;2458 readonly type: 'Normal' | 'AllowList';2459}24602461/** @name UpDataStructsCollection */2462export interface UpDataStructsCollection extends Struct {2463 readonly owner: AccountId32;2464 readonly mode: UpDataStructsCollectionMode;2465 readonly name: Vec<u16>;2466 readonly description: Vec<u16>;2467 readonly tokenPrefix: Bytes;2468 readonly sponsorship: UpDataStructsSponsorshipState;2469 readonly limits: UpDataStructsCollectionLimits;2470 readonly permissions: UpDataStructsCollectionPermissions;2471 readonly externalCollection: bool;2472}24732474/** @name UpDataStructsCollectionLimits */2475export interface UpDataStructsCollectionLimits extends Struct {2476 readonly accountTokenOwnershipLimit: Option<u32>;2477 readonly sponsoredDataSize: Option<u32>;2478 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2479 readonly tokenLimit: Option<u32>;2480 readonly sponsorTransferTimeout: Option<u32>;2481 readonly sponsorApproveTimeout: Option<u32>;2482 readonly ownerCanTransfer: Option<bool>;2483 readonly ownerCanDestroy: Option<bool>;2484 readonly transfersEnabled: Option<bool>;2485}24862487/** @name UpDataStructsCollectionMode */2488export interface UpDataStructsCollectionMode extends Enum {2489 readonly isNft: boolean;2490 readonly isFungible: boolean;2491 readonly asFungible: u8;2492 readonly isReFungible: boolean;2493 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2494}24952496/** @name UpDataStructsCollectionPermissions */2497export interface UpDataStructsCollectionPermissions extends Struct {2498 readonly access: Option<UpDataStructsAccessMode>;2499 readonly mintMode: Option<bool>;2500 readonly nesting: Option<UpDataStructsNestingPermissions>;2501}25022503/** @name UpDataStructsCollectionStats */2504export interface UpDataStructsCollectionStats extends Struct {2505 readonly created: u32;2506 readonly destroyed: u32;2507 readonly alive: u32;2508}25092510/** @name UpDataStructsCreateCollectionData */2511export interface UpDataStructsCreateCollectionData extends Struct {2512 readonly mode: UpDataStructsCollectionMode;2513 readonly access: Option<UpDataStructsAccessMode>;2514 readonly name: Vec<u16>;2515 readonly description: Vec<u16>;2516 readonly tokenPrefix: Bytes;2517 readonly pendingSponsor: Option<AccountId32>;2518 readonly limits: Option<UpDataStructsCollectionLimits>;2519 readonly permissions: Option<UpDataStructsCollectionPermissions>;2520 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2521 readonly properties: Vec<UpDataStructsProperty>;2522}25232524/** @name UpDataStructsCreateFungibleData */2525export interface UpDataStructsCreateFungibleData extends Struct {2526 readonly value: u128;2527}25282529/** @name UpDataStructsCreateItemData */2530export interface UpDataStructsCreateItemData extends Enum {2531 readonly isNft: boolean;2532 readonly asNft: UpDataStructsCreateNftData;2533 readonly isFungible: boolean;2534 readonly asFungible: UpDataStructsCreateFungibleData;2535 readonly isReFungible: boolean;2536 readonly asReFungible: UpDataStructsCreateReFungibleData;2537 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2538}25392540/** @name UpDataStructsCreateItemExData */2541export interface UpDataStructsCreateItemExData extends Enum {2542 readonly isNft: boolean;2543 readonly asNft: Vec<UpDataStructsCreateNftExData>;2544 readonly isFungible: boolean;2545 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2546 readonly isRefungibleMultipleItems: boolean;2547 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2548 readonly isRefungibleMultipleOwners: boolean;2549 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2550 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2551}25522553/** @name UpDataStructsCreateNftData */2554export interface UpDataStructsCreateNftData extends Struct {2555 readonly properties: Vec<UpDataStructsProperty>;2556}25572558/** @name UpDataStructsCreateNftExData */2559export interface UpDataStructsCreateNftExData extends Struct {2560 readonly properties: Vec<UpDataStructsProperty>;2561 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2562}25632564/** @name UpDataStructsCreateReFungibleData */2565export interface UpDataStructsCreateReFungibleData extends Struct {2566 readonly pieces: u128;2567 readonly properties: Vec<UpDataStructsProperty>;2568}25692570/** @name UpDataStructsCreateRefungibleExMultipleOwners */2571export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2572 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2573 readonly properties: Vec<UpDataStructsProperty>;2574}25752576/** @name UpDataStructsCreateRefungibleExSingleOwner */2577export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2578 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2579 readonly pieces: u128;2580 readonly properties: Vec<UpDataStructsProperty>;2581}25822583/** @name UpDataStructsNestingPermissions */2584export interface UpDataStructsNestingPermissions extends Struct {2585 readonly tokenOwner: bool;2586 readonly collectionAdmin: bool;2587 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2588}25892590/** @name UpDataStructsOwnerRestrictedSet */2591export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25922593/** @name UpDataStructsProperties */2594export interface UpDataStructsProperties extends Struct {2595 readonly map: UpDataStructsPropertiesMapBoundedVec;2596 readonly consumedSpace: u32;2597 readonly spaceLimit: u32;2598}25992600/** @name UpDataStructsPropertiesMapBoundedVec */2601export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26022603/** @name UpDataStructsPropertiesMapPropertyPermission */2604export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26052606/** @name UpDataStructsProperty */2607export interface UpDataStructsProperty extends Struct {2608 readonly key: Bytes;2609 readonly value: Bytes;2610}26112612/** @name UpDataStructsPropertyKeyPermission */2613export interface UpDataStructsPropertyKeyPermission extends Struct {2614 readonly key: Bytes;2615 readonly permission: UpDataStructsPropertyPermission;2616}26172618/** @name UpDataStructsPropertyPermission */2619export interface UpDataStructsPropertyPermission extends Struct {2620 readonly mutable: bool;2621 readonly collectionAdmin: bool;2622 readonly tokenOwner: bool;2623}26242625/** @name UpDataStructsPropertyScope */2626export interface UpDataStructsPropertyScope extends Enum {2627 readonly isNone: boolean;2628 readonly isRmrk: boolean;2629 readonly isEth: boolean;2630 readonly type: 'None' | 'Rmrk' | 'Eth';2631}26322633/** @name UpDataStructsRpcCollection */2634export interface UpDataStructsRpcCollection extends Struct {2635 readonly owner: AccountId32;2636 readonly mode: UpDataStructsCollectionMode;2637 readonly name: Vec<u16>;2638 readonly description: Vec<u16>;2639 readonly tokenPrefix: Bytes;2640 readonly sponsorship: UpDataStructsSponsorshipState;2641 readonly limits: UpDataStructsCollectionLimits;2642 readonly permissions: UpDataStructsCollectionPermissions;2643 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2644 readonly properties: Vec<UpDataStructsProperty>;2645 readonly readOnly: bool;2646}26472648/** @name UpDataStructsSponsoringRateLimit */2649export interface UpDataStructsSponsoringRateLimit extends Enum {2650 readonly isSponsoringDisabled: boolean;2651 readonly isBlocks: boolean;2652 readonly asBlocks: u32;2653 readonly type: 'SponsoringDisabled' | 'Blocks';2654}26552656/** @name UpDataStructsSponsorshipState */2657export interface UpDataStructsSponsorshipState extends Enum {2658 readonly isDisabled: boolean;2659 readonly isUnconfirmed: boolean;2660 readonly asUnconfirmed: AccountId32;2661 readonly isConfirmed: boolean;2662 readonly asConfirmed: AccountId32;2663 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2664}26652666/** @name UpDataStructsTokenChild */2667export interface UpDataStructsTokenChild extends Struct {2668 readonly token: u32;2669 readonly collection: u32;2670}26712672/** @name UpDataStructsTokenData */2673export interface UpDataStructsTokenData extends Struct {2674 readonly properties: Vec<UpDataStructsProperty>;2675 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2676 readonly pieces: u128;2677}26782679/** @name XcmDoubleEncoded */2680export interface XcmDoubleEncoded extends Struct {2681 readonly encoded: Bytes;2682}26832684/** @name XcmV0Junction */2685export interface XcmV0Junction extends Enum {2686 readonly isParent: boolean;2687 readonly isParachain: boolean;2688 readonly asParachain: Compact<u32>;2689 readonly isAccountId32: boolean;2690 readonly asAccountId32: {2691 readonly network: XcmV0JunctionNetworkId;2692 readonly id: U8aFixed;2693 } & Struct;2694 readonly isAccountIndex64: boolean;2695 readonly asAccountIndex64: {2696 readonly network: XcmV0JunctionNetworkId;2697 readonly index: Compact<u64>;2698 } & Struct;2699 readonly isAccountKey20: boolean;2700 readonly asAccountKey20: {2701 readonly network: XcmV0JunctionNetworkId;2702 readonly key: U8aFixed;2703 } & Struct;2704 readonly isPalletInstance: boolean;2705 readonly asPalletInstance: u8;2706 readonly isGeneralIndex: boolean;2707 readonly asGeneralIndex: Compact<u128>;2708 readonly isGeneralKey: boolean;2709 readonly asGeneralKey: Bytes;2710 readonly isOnlyChild: boolean;2711 readonly isPlurality: boolean;2712 readonly asPlurality: {2713 readonly id: XcmV0JunctionBodyId;2714 readonly part: XcmV0JunctionBodyPart;2715 } & Struct;2716 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2717}27182719/** @name XcmV0JunctionBodyId */2720export interface XcmV0JunctionBodyId extends Enum {2721 readonly isUnit: boolean;2722 readonly isNamed: boolean;2723 readonly asNamed: Bytes;2724 readonly isIndex: boolean;2725 readonly asIndex: Compact<u32>;2726 readonly isExecutive: boolean;2727 readonly isTechnical: boolean;2728 readonly isLegislative: boolean;2729 readonly isJudicial: boolean;2730 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2731}27322733/** @name XcmV0JunctionBodyPart */2734export interface XcmV0JunctionBodyPart extends Enum {2735 readonly isVoice: boolean;2736 readonly isMembers: boolean;2737 readonly asMembers: {2738 readonly count: Compact<u32>;2739 } & Struct;2740 readonly isFraction: boolean;2741 readonly asFraction: {2742 readonly nom: Compact<u32>;2743 readonly denom: Compact<u32>;2744 } & Struct;2745 readonly isAtLeastProportion: boolean;2746 readonly asAtLeastProportion: {2747 readonly nom: Compact<u32>;2748 readonly denom: Compact<u32>;2749 } & Struct;2750 readonly isMoreThanProportion: boolean;2751 readonly asMoreThanProportion: {2752 readonly nom: Compact<u32>;2753 readonly denom: Compact<u32>;2754 } & Struct;2755 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2756}27572758/** @name XcmV0JunctionNetworkId */2759export interface XcmV0JunctionNetworkId extends Enum {2760 readonly isAny: boolean;2761 readonly isNamed: boolean;2762 readonly asNamed: Bytes;2763 readonly isPolkadot: boolean;2764 readonly isKusama: boolean;2765 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2766}27672768/** @name XcmV0MultiAsset */2769export interface XcmV0MultiAsset extends Enum {2770 readonly isNone: boolean;2771 readonly isAll: boolean;2772 readonly isAllFungible: boolean;2773 readonly isAllNonFungible: boolean;2774 readonly isAllAbstractFungible: boolean;2775 readonly asAllAbstractFungible: {2776 readonly id: Bytes;2777 } & Struct;2778 readonly isAllAbstractNonFungible: boolean;2779 readonly asAllAbstractNonFungible: {2780 readonly class: Bytes;2781 } & Struct;2782 readonly isAllConcreteFungible: boolean;2783 readonly asAllConcreteFungible: {2784 readonly id: XcmV0MultiLocation;2785 } & Struct;2786 readonly isAllConcreteNonFungible: boolean;2787 readonly asAllConcreteNonFungible: {2788 readonly class: XcmV0MultiLocation;2789 } & Struct;2790 readonly isAbstractFungible: boolean;2791 readonly asAbstractFungible: {2792 readonly id: Bytes;2793 readonly amount: Compact<u128>;2794 } & Struct;2795 readonly isAbstractNonFungible: boolean;2796 readonly asAbstractNonFungible: {2797 readonly class: Bytes;2798 readonly instance: XcmV1MultiassetAssetInstance;2799 } & Struct;2800 readonly isConcreteFungible: boolean;2801 readonly asConcreteFungible: {2802 readonly id: XcmV0MultiLocation;2803 readonly amount: Compact<u128>;2804 } & Struct;2805 readonly isConcreteNonFungible: boolean;2806 readonly asConcreteNonFungible: {2807 readonly class: XcmV0MultiLocation;2808 readonly instance: XcmV1MultiassetAssetInstance;2809 } & Struct;2810 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2811}28122813/** @name XcmV0MultiLocation */2814export interface XcmV0MultiLocation extends Enum {2815 readonly isNull: boolean;2816 readonly isX1: boolean;2817 readonly asX1: XcmV0Junction;2818 readonly isX2: boolean;2819 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2820 readonly isX3: boolean;2821 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2822 readonly isX4: boolean;2823 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2824 readonly isX5: boolean;2825 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2826 readonly isX6: boolean;2827 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2828 readonly isX7: boolean;2829 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2830 readonly isX8: boolean;2831 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2832 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2833}28342835/** @name XcmV0Order */2836export interface XcmV0Order extends Enum {2837 readonly isNull: boolean;2838 readonly isDepositAsset: boolean;2839 readonly asDepositAsset: {2840 readonly assets: Vec<XcmV0MultiAsset>;2841 readonly dest: XcmV0MultiLocation;2842 } & Struct;2843 readonly isDepositReserveAsset: boolean;2844 readonly asDepositReserveAsset: {2845 readonly assets: Vec<XcmV0MultiAsset>;2846 readonly dest: XcmV0MultiLocation;2847 readonly effects: Vec<XcmV0Order>;2848 } & Struct;2849 readonly isExchangeAsset: boolean;2850 readonly asExchangeAsset: {2851 readonly give: Vec<XcmV0MultiAsset>;2852 readonly receive: Vec<XcmV0MultiAsset>;2853 } & Struct;2854 readonly isInitiateReserveWithdraw: boolean;2855 readonly asInitiateReserveWithdraw: {2856 readonly assets: Vec<XcmV0MultiAsset>;2857 readonly reserve: XcmV0MultiLocation;2858 readonly effects: Vec<XcmV0Order>;2859 } & Struct;2860 readonly isInitiateTeleport: boolean;2861 readonly asInitiateTeleport: {2862 readonly assets: Vec<XcmV0MultiAsset>;2863 readonly dest: XcmV0MultiLocation;2864 readonly effects: Vec<XcmV0Order>;2865 } & Struct;2866 readonly isQueryHolding: boolean;2867 readonly asQueryHolding: {2868 readonly queryId: Compact<u64>;2869 readonly dest: XcmV0MultiLocation;2870 readonly assets: Vec<XcmV0MultiAsset>;2871 } & Struct;2872 readonly isBuyExecution: boolean;2873 readonly asBuyExecution: {2874 readonly fees: XcmV0MultiAsset;2875 readonly weight: u64;2876 readonly debt: u64;2877 readonly haltOnError: bool;2878 readonly xcm: Vec<XcmV0Xcm>;2879 } & Struct;2880 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2881}28822883/** @name XcmV0OriginKind */2884export interface XcmV0OriginKind extends Enum {2885 readonly isNative: boolean;2886 readonly isSovereignAccount: boolean;2887 readonly isSuperuser: boolean;2888 readonly isXcm: boolean;2889 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2890}28912892/** @name XcmV0Response */2893export interface XcmV0Response extends Enum {2894 readonly isAssets: boolean;2895 readonly asAssets: Vec<XcmV0MultiAsset>;2896 readonly type: 'Assets';2897}28982899/** @name XcmV0Xcm */2900export interface XcmV0Xcm extends Enum {2901 readonly isWithdrawAsset: boolean;2902 readonly asWithdrawAsset: {2903 readonly assets: Vec<XcmV0MultiAsset>;2904 readonly effects: Vec<XcmV0Order>;2905 } & Struct;2906 readonly isReserveAssetDeposit: boolean;2907 readonly asReserveAssetDeposit: {2908 readonly assets: Vec<XcmV0MultiAsset>;2909 readonly effects: Vec<XcmV0Order>;2910 } & Struct;2911 readonly isTeleportAsset: boolean;2912 readonly asTeleportAsset: {2913 readonly assets: Vec<XcmV0MultiAsset>;2914 readonly effects: Vec<XcmV0Order>;2915 } & Struct;2916 readonly isQueryResponse: boolean;2917 readonly asQueryResponse: {2918 readonly queryId: Compact<u64>;2919 readonly response: XcmV0Response;2920 } & Struct;2921 readonly isTransferAsset: boolean;2922 readonly asTransferAsset: {2923 readonly assets: Vec<XcmV0MultiAsset>;2924 readonly dest: XcmV0MultiLocation;2925 } & Struct;2926 readonly isTransferReserveAsset: boolean;2927 readonly asTransferReserveAsset: {2928 readonly assets: Vec<XcmV0MultiAsset>;2929 readonly dest: XcmV0MultiLocation;2930 readonly effects: Vec<XcmV0Order>;2931 } & Struct;2932 readonly isTransact: boolean;2933 readonly asTransact: {2934 readonly originType: XcmV0OriginKind;2935 readonly requireWeightAtMost: u64;2936 readonly call: XcmDoubleEncoded;2937 } & Struct;2938 readonly isHrmpNewChannelOpenRequest: boolean;2939 readonly asHrmpNewChannelOpenRequest: {2940 readonly sender: Compact<u32>;2941 readonly maxMessageSize: Compact<u32>;2942 readonly maxCapacity: Compact<u32>;2943 } & Struct;2944 readonly isHrmpChannelAccepted: boolean;2945 readonly asHrmpChannelAccepted: {2946 readonly recipient: Compact<u32>;2947 } & Struct;2948 readonly isHrmpChannelClosing: boolean;2949 readonly asHrmpChannelClosing: {2950 readonly initiator: Compact<u32>;2951 readonly sender: Compact<u32>;2952 readonly recipient: Compact<u32>;2953 } & Struct;2954 readonly isRelayedFrom: boolean;2955 readonly asRelayedFrom: {2956 readonly who: XcmV0MultiLocation;2957 readonly message: XcmV0Xcm;2958 } & Struct;2959 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2960}29612962/** @name XcmV1Junction */2963export interface XcmV1Junction extends Enum {2964 readonly isParachain: boolean;2965 readonly asParachain: Compact<u32>;2966 readonly isAccountId32: boolean;2967 readonly asAccountId32: {2968 readonly network: XcmV0JunctionNetworkId;2969 readonly id: U8aFixed;2970 } & Struct;2971 readonly isAccountIndex64: boolean;2972 readonly asAccountIndex64: {2973 readonly network: XcmV0JunctionNetworkId;2974 readonly index: Compact<u64>;2975 } & Struct;2976 readonly isAccountKey20: boolean;2977 readonly asAccountKey20: {2978 readonly network: XcmV0JunctionNetworkId;2979 readonly key: U8aFixed;2980 } & Struct;2981 readonly isPalletInstance: boolean;2982 readonly asPalletInstance: u8;2983 readonly isGeneralIndex: boolean;2984 readonly asGeneralIndex: Compact<u128>;2985 readonly isGeneralKey: boolean;2986 readonly asGeneralKey: Bytes;2987 readonly isOnlyChild: boolean;2988 readonly isPlurality: boolean;2989 readonly asPlurality: {2990 readonly id: XcmV0JunctionBodyId;2991 readonly part: XcmV0JunctionBodyPart;2992 } & Struct;2993 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2994}29952996/** @name XcmV1MultiAsset */2997export interface XcmV1MultiAsset extends Struct {2998 readonly id: XcmV1MultiassetAssetId;2999 readonly fun: XcmV1MultiassetFungibility;3000}30013002/** @name XcmV1MultiassetAssetId */3003export interface XcmV1MultiassetAssetId extends Enum {3004 readonly isConcrete: boolean;3005 readonly asConcrete: XcmV1MultiLocation;3006 readonly isAbstract: boolean;3007 readonly asAbstract: Bytes;3008 readonly type: 'Concrete' | 'Abstract';3009}30103011/** @name XcmV1MultiassetAssetInstance */3012export interface XcmV1MultiassetAssetInstance extends Enum {3013 readonly isUndefined: boolean;3014 readonly isIndex: boolean;3015 readonly asIndex: Compact<u128>;3016 readonly isArray4: boolean;3017 readonly asArray4: U8aFixed;3018 readonly isArray8: boolean;3019 readonly asArray8: U8aFixed;3020 readonly isArray16: boolean;3021 readonly asArray16: U8aFixed;3022 readonly isArray32: boolean;3023 readonly asArray32: U8aFixed;3024 readonly isBlob: boolean;3025 readonly asBlob: Bytes;3026 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3027}30283029/** @name XcmV1MultiassetFungibility */3030export interface XcmV1MultiassetFungibility extends Enum {3031 readonly isFungible: boolean;3032 readonly asFungible: Compact<u128>;3033 readonly isNonFungible: boolean;3034 readonly asNonFungible: XcmV1MultiassetAssetInstance;3035 readonly type: 'Fungible' | 'NonFungible';3036}30373038/** @name XcmV1MultiassetMultiAssetFilter */3039export interface XcmV1MultiassetMultiAssetFilter extends Enum {3040 readonly isDefinite: boolean;3041 readonly asDefinite: XcmV1MultiassetMultiAssets;3042 readonly isWild: boolean;3043 readonly asWild: XcmV1MultiassetWildMultiAsset;3044 readonly type: 'Definite' | 'Wild';3045}30463047/** @name XcmV1MultiassetMultiAssets */3048export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}30493050/** @name XcmV1MultiassetWildFungibility */3051export interface XcmV1MultiassetWildFungibility extends Enum {3052 readonly isFungible: boolean;3053 readonly isNonFungible: boolean;3054 readonly type: 'Fungible' | 'NonFungible';3055}30563057/** @name XcmV1MultiassetWildMultiAsset */3058export interface XcmV1MultiassetWildMultiAsset extends Enum {3059 readonly isAll: boolean;3060 readonly isAllOf: boolean;3061 readonly asAllOf: {3062 readonly id: XcmV1MultiassetAssetId;3063 readonly fun: XcmV1MultiassetWildFungibility;3064 } & Struct;3065 readonly type: 'All' | 'AllOf';3066}30673068/** @name XcmV1MultiLocation */3069export interface XcmV1MultiLocation extends Struct {3070 readonly parents: u8;3071 readonly interior: XcmV1MultilocationJunctions;3072}30733074/** @name XcmV1MultilocationJunctions */3075export interface XcmV1MultilocationJunctions extends Enum {3076 readonly isHere: boolean;3077 readonly isX1: boolean;3078 readonly asX1: XcmV1Junction;3079 readonly isX2: boolean;3080 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3081 readonly isX3: boolean;3082 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3083 readonly isX4: boolean;3084 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3085 readonly isX5: boolean;3086 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3087 readonly isX6: boolean;3088 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3089 readonly isX7: boolean;3090 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3091 readonly isX8: boolean;3092 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3093 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3094}30953096/** @name XcmV1Order */3097export interface XcmV1Order extends Enum {3098 readonly isNoop: boolean;3099 readonly isDepositAsset: boolean;3100 readonly asDepositAsset: {3101 readonly assets: XcmV1MultiassetMultiAssetFilter;3102 readonly maxAssets: u32;3103 readonly beneficiary: XcmV1MultiLocation;3104 } & Struct;3105 readonly isDepositReserveAsset: boolean;3106 readonly asDepositReserveAsset: {3107 readonly assets: XcmV1MultiassetMultiAssetFilter;3108 readonly maxAssets: u32;3109 readonly dest: XcmV1MultiLocation;3110 readonly effects: Vec<XcmV1Order>;3111 } & Struct;3112 readonly isExchangeAsset: boolean;3113 readonly asExchangeAsset: {3114 readonly give: XcmV1MultiassetMultiAssetFilter;3115 readonly receive: XcmV1MultiassetMultiAssets;3116 } & Struct;3117 readonly isInitiateReserveWithdraw: boolean;3118 readonly asInitiateReserveWithdraw: {3119 readonly assets: XcmV1MultiassetMultiAssetFilter;3120 readonly reserve: XcmV1MultiLocation;3121 readonly effects: Vec<XcmV1Order>;3122 } & Struct;3123 readonly isInitiateTeleport: boolean;3124 readonly asInitiateTeleport: {3125 readonly assets: XcmV1MultiassetMultiAssetFilter;3126 readonly dest: XcmV1MultiLocation;3127 readonly effects: Vec<XcmV1Order>;3128 } & Struct;3129 readonly isQueryHolding: boolean;3130 readonly asQueryHolding: {3131 readonly queryId: Compact<u64>;3132 readonly dest: XcmV1MultiLocation;3133 readonly assets: XcmV1MultiassetMultiAssetFilter;3134 } & Struct;3135 readonly isBuyExecution: boolean;3136 readonly asBuyExecution: {3137 readonly fees: XcmV1MultiAsset;3138 readonly weight: u64;3139 readonly debt: u64;3140 readonly haltOnError: bool;3141 readonly instructions: Vec<XcmV1Xcm>;3142 } & Struct;3143 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3144}31453146/** @name XcmV1Response */3147export interface XcmV1Response extends Enum {3148 readonly isAssets: boolean;3149 readonly asAssets: XcmV1MultiassetMultiAssets;3150 readonly isVersion: boolean;3151 readonly asVersion: u32;3152 readonly type: 'Assets' | 'Version';3153}31543155/** @name XcmV1Xcm */3156export interface XcmV1Xcm extends Enum {3157 readonly isWithdrawAsset: boolean;3158 readonly asWithdrawAsset: {3159 readonly assets: XcmV1MultiassetMultiAssets;3160 readonly effects: Vec<XcmV1Order>;3161 } & Struct;3162 readonly isReserveAssetDeposited: boolean;3163 readonly asReserveAssetDeposited: {3164 readonly assets: XcmV1MultiassetMultiAssets;3165 readonly effects: Vec<XcmV1Order>;3166 } & Struct;3167 readonly isReceiveTeleportedAsset: boolean;3168 readonly asReceiveTeleportedAsset: {3169 readonly assets: XcmV1MultiassetMultiAssets;3170 readonly effects: Vec<XcmV1Order>;3171 } & Struct;3172 readonly isQueryResponse: boolean;3173 readonly asQueryResponse: {3174 readonly queryId: Compact<u64>;3175 readonly response: XcmV1Response;3176 } & Struct;3177 readonly isTransferAsset: boolean;3178 readonly asTransferAsset: {3179 readonly assets: XcmV1MultiassetMultiAssets;3180 readonly beneficiary: XcmV1MultiLocation;3181 } & Struct;3182 readonly isTransferReserveAsset: boolean;3183 readonly asTransferReserveAsset: {3184 readonly assets: XcmV1MultiassetMultiAssets;3185 readonly dest: XcmV1MultiLocation;3186 readonly effects: Vec<XcmV1Order>;3187 } & Struct;3188 readonly isTransact: boolean;3189 readonly asTransact: {3190 readonly originType: XcmV0OriginKind;3191 readonly requireWeightAtMost: u64;3192 readonly call: XcmDoubleEncoded;3193 } & Struct;3194 readonly isHrmpNewChannelOpenRequest: boolean;3195 readonly asHrmpNewChannelOpenRequest: {3196 readonly sender: Compact<u32>;3197 readonly maxMessageSize: Compact<u32>;3198 readonly maxCapacity: Compact<u32>;3199 } & Struct;3200 readonly isHrmpChannelAccepted: boolean;3201 readonly asHrmpChannelAccepted: {3202 readonly recipient: Compact<u32>;3203 } & Struct;3204 readonly isHrmpChannelClosing: boolean;3205 readonly asHrmpChannelClosing: {3206 readonly initiator: Compact<u32>;3207 readonly sender: Compact<u32>;3208 readonly recipient: Compact<u32>;3209 } & Struct;3210 readonly isRelayedFrom: boolean;3211 readonly asRelayedFrom: {3212 readonly who: XcmV1MultilocationJunctions;3213 readonly message: XcmV1Xcm;3214 } & Struct;3215 readonly isSubscribeVersion: boolean;3216 readonly asSubscribeVersion: {3217 readonly queryId: Compact<u64>;3218 readonly maxResponseWeight: Compact<u64>;3219 } & Struct;3220 readonly isUnsubscribeVersion: boolean;3221 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3222}32233224/** @name XcmV2Instruction */3225export interface XcmV2Instruction extends Enum {3226 readonly isWithdrawAsset: boolean;3227 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3228 readonly isReserveAssetDeposited: boolean;3229 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3230 readonly isReceiveTeleportedAsset: boolean;3231 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3232 readonly isQueryResponse: boolean;3233 readonly asQueryResponse: {3234 readonly queryId: Compact<u64>;3235 readonly response: XcmV2Response;3236 readonly maxWeight: Compact<u64>;3237 } & Struct;3238 readonly isTransferAsset: boolean;3239 readonly asTransferAsset: {3240 readonly assets: XcmV1MultiassetMultiAssets;3241 readonly beneficiary: XcmV1MultiLocation;3242 } & Struct;3243 readonly isTransferReserveAsset: boolean;3244 readonly asTransferReserveAsset: {3245 readonly assets: XcmV1MultiassetMultiAssets;3246 readonly dest: XcmV1MultiLocation;3247 readonly xcm: XcmV2Xcm;3248 } & Struct;3249 readonly isTransact: boolean;3250 readonly asTransact: {3251 readonly originType: XcmV0OriginKind;3252 readonly requireWeightAtMost: Compact<u64>;3253 readonly call: XcmDoubleEncoded;3254 } & Struct;3255 readonly isHrmpNewChannelOpenRequest: boolean;3256 readonly asHrmpNewChannelOpenRequest: {3257 readonly sender: Compact<u32>;3258 readonly maxMessageSize: Compact<u32>;3259 readonly maxCapacity: Compact<u32>;3260 } & Struct;3261 readonly isHrmpChannelAccepted: boolean;3262 readonly asHrmpChannelAccepted: {3263 readonly recipient: Compact<u32>;3264 } & Struct;3265 readonly isHrmpChannelClosing: boolean;3266 readonly asHrmpChannelClosing: {3267 readonly initiator: Compact<u32>;3268 readonly sender: Compact<u32>;3269 readonly recipient: Compact<u32>;3270 } & Struct;3271 readonly isClearOrigin: boolean;3272 readonly isDescendOrigin: boolean;3273 readonly asDescendOrigin: XcmV1MultilocationJunctions;3274 readonly isReportError: boolean;3275 readonly asReportError: {3276 readonly queryId: Compact<u64>;3277 readonly dest: XcmV1MultiLocation;3278 readonly maxResponseWeight: Compact<u64>;3279 } & Struct;3280 readonly isDepositAsset: boolean;3281 readonly asDepositAsset: {3282 readonly assets: XcmV1MultiassetMultiAssetFilter;3283 readonly maxAssets: Compact<u32>;3284 readonly beneficiary: XcmV1MultiLocation;3285 } & Struct;3286 readonly isDepositReserveAsset: boolean;3287 readonly asDepositReserveAsset: {3288 readonly assets: XcmV1MultiassetMultiAssetFilter;3289 readonly maxAssets: Compact<u32>;3290 readonly dest: XcmV1MultiLocation;3291 readonly xcm: XcmV2Xcm;3292 } & Struct;3293 readonly isExchangeAsset: boolean;3294 readonly asExchangeAsset: {3295 readonly give: XcmV1MultiassetMultiAssetFilter;3296 readonly receive: XcmV1MultiassetMultiAssets;3297 } & Struct;3298 readonly isInitiateReserveWithdraw: boolean;3299 readonly asInitiateReserveWithdraw: {3300 readonly assets: XcmV1MultiassetMultiAssetFilter;3301 readonly reserve: XcmV1MultiLocation;3302 readonly xcm: XcmV2Xcm;3303 } & Struct;3304 readonly isInitiateTeleport: boolean;3305 readonly asInitiateTeleport: {3306 readonly assets: XcmV1MultiassetMultiAssetFilter;3307 readonly dest: XcmV1MultiLocation;3308 readonly xcm: XcmV2Xcm;3309 } & Struct;3310 readonly isQueryHolding: boolean;3311 readonly asQueryHolding: {3312 readonly queryId: Compact<u64>;3313 readonly dest: XcmV1MultiLocation;3314 readonly assets: XcmV1MultiassetMultiAssetFilter;3315 readonly maxResponseWeight: Compact<u64>;3316 } & Struct;3317 readonly isBuyExecution: boolean;3318 readonly asBuyExecution: {3319 readonly fees: XcmV1MultiAsset;3320 readonly weightLimit: XcmV2WeightLimit;3321 } & Struct;3322 readonly isRefundSurplus: boolean;3323 readonly isSetErrorHandler: boolean;3324 readonly asSetErrorHandler: XcmV2Xcm;3325 readonly isSetAppendix: boolean;3326 readonly asSetAppendix: XcmV2Xcm;3327 readonly isClearError: boolean;3328 readonly isClaimAsset: boolean;3329 readonly asClaimAsset: {3330 readonly assets: XcmV1MultiassetMultiAssets;3331 readonly ticket: XcmV1MultiLocation;3332 } & Struct;3333 readonly isTrap: boolean;3334 readonly asTrap: Compact<u64>;3335 readonly isSubscribeVersion: boolean;3336 readonly asSubscribeVersion: {3337 readonly queryId: Compact<u64>;3338 readonly maxResponseWeight: Compact<u64>;3339 } & Struct;3340 readonly isUnsubscribeVersion: boolean;3341 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';3342}33433344/** @name XcmV2Response */3345export interface XcmV2Response extends Enum {3346 readonly isNull: boolean;3347 readonly isAssets: boolean;3348 readonly asAssets: XcmV1MultiassetMultiAssets;3349 readonly isExecutionResult: boolean;3350 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3351 readonly isVersion: boolean;3352 readonly asVersion: u32;3353 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3354}33553356/** @name XcmV2TraitsError */3357export interface XcmV2TraitsError extends Enum {3358 readonly isOverflow: boolean;3359 readonly isUnimplemented: boolean;3360 readonly isUntrustedReserveLocation: boolean;3361 readonly isUntrustedTeleportLocation: boolean;3362 readonly isMultiLocationFull: boolean;3363 readonly isMultiLocationNotInvertible: boolean;3364 readonly isBadOrigin: boolean;3365 readonly isInvalidLocation: boolean;3366 readonly isAssetNotFound: boolean;3367 readonly isFailedToTransactAsset: boolean;3368 readonly isNotWithdrawable: boolean;3369 readonly isLocationCannotHold: boolean;3370 readonly isExceedsMaxMessageSize: boolean;3371 readonly isDestinationUnsupported: boolean;3372 readonly isTransport: boolean;3373 readonly isUnroutable: boolean;3374 readonly isUnknownClaim: boolean;3375 readonly isFailedToDecode: boolean;3376 readonly isMaxWeightInvalid: boolean;3377 readonly isNotHoldingFees: boolean;3378 readonly isTooExpensive: boolean;3379 readonly isTrap: boolean;3380 readonly asTrap: u64;3381 readonly isUnhandledXcmVersion: boolean;3382 readonly isWeightLimitReached: boolean;3383 readonly asWeightLimitReached: u64;3384 readonly isBarrier: boolean;3385 readonly isWeightNotComputable: boolean;3386 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';3387}33883389/** @name XcmV2TraitsOutcome */3390export interface XcmV2TraitsOutcome extends Enum {3391 readonly isComplete: boolean;3392 readonly asComplete: u64;3393 readonly isIncomplete: boolean;3394 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3395 readonly isError: boolean;3396 readonly asError: XcmV2TraitsError;3397 readonly type: 'Complete' | 'Incomplete' | 'Error';3398}33993400/** @name XcmV2WeightLimit */3401export interface XcmV2WeightLimit extends Enum {3402 readonly isUnlimited: boolean;3403 readonly isLimited: boolean;3404 readonly asLimited: Compact<u64>;3405 readonly type: 'Unlimited' | 'Limited';3406}34073408/** @name XcmV2Xcm */3409export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}34103411/** @name XcmVersionedMultiAssets */3412export interface XcmVersionedMultiAssets extends Enum {3413 readonly isV0: boolean;3414 readonly asV0: Vec<XcmV0MultiAsset>;3415 readonly isV1: boolean;3416 readonly asV1: XcmV1MultiassetMultiAssets;3417 readonly type: 'V0' | 'V1';3418}34193420/** @name XcmVersionedMultiLocation */3421export interface XcmVersionedMultiLocation extends Enum {3422 readonly isV0: boolean;3423 readonly asV0: XcmV0MultiLocation;3424 readonly isV1: boolean;3425 readonly asV1: XcmV1MultiLocation;3426 readonly type: 'V0' | 'V1';3427}34283429/** @name XcmVersionedXcm */3430export interface XcmVersionedXcm extends Enum {3431 readonly isV0: boolean;3432 readonly asV0: XcmV0Xcm;3433 readonly isV1: boolean;3434 readonly asV1: XcmV1Xcm;3435 readonly isV2: boolean;3436 readonly asV2: XcmV2Xcm;3437 readonly type: 'V0' | 'V1' | 'V2';3438}34393440export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -2902,7 +2902,7 @@
name: 'Vec<u16>',
description: 'Vec<u16>',
tokenPrefix: 'Bytes',
- sponsorship: 'UpDataStructsSponsorshipState',
+ sponsorship: 'UpDataStructsSponsorshipStateAccountId32',
limits: 'UpDataStructsCollectionLimits',
permissions: 'UpDataStructsCollectionPermissions',
externalCollection: 'bool'
@@ -2910,7 +2910,7 @@
/**
* Lookup361: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
- UpDataStructsSponsorshipState: {
+ UpDataStructsSponsorshipStateAccountId32: {
_enum: {
Disabled: 'Null',
Unconfirmed: 'AccountId32',
@@ -2969,7 +2969,7 @@
name: 'Vec<u16>',
description: 'Vec<u16>',
tokenPrefix: 'Bytes',
- sponsorship: 'UpDataStructsSponsorshipState',
+ sponsorship: 'UpDataStructsSponsorshipStateAccountId32',
limits: 'UpDataStructsCollectionLimits',
permissions: 'UpDataStructsCollectionPermissions',
tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',
@@ -3186,25 +3186,35 @@
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup431: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup431: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
+ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
+ _enum: {
+ Disabled: 'Null',
+ Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',
+ Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'
+ }
+ },
+ /**
+ * Lookup432: pallet_evm_contract_helpers::SponsoringModeT
+ **/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup433: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup434: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
- _enum: ['NoPermission']
+ _enum: ['NoPermission', 'NoPendingSponsor']
},
/**
- * Lookup434: pallet_evm_migration::pallet::Error<T>
+ * Lookup435: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup436: sp_runtime::MultiSignature
+ * Lookup437: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3214,43 +3224,43 @@
}
},
/**
- * Lookup437: sp_core::ed25519::Signature
+ * Lookup438: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup439: sp_core::sr25519::Signature
+ * Lookup440: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup440: sp_core::ecdsa::Signature
+ * Lookup441: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup443: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup444: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup444: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup445: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup447: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup448: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup448: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup449: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup449: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup450: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup450: opal_runtime::Runtime
+ * Lookup451: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup451: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup452: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-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, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, 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, PalletTransactionPaymentEvent, 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, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, 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';
+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, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationCall, 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, PalletTransactionPaymentEvent, 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, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, 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' {
interface InterfaceTypes {
@@ -216,7 +216,8 @@
UpDataStructsPropertyScope: UpDataStructsPropertyScope;
UpDataStructsRpcCollection: UpDataStructsRpcCollection;
UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
- UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
+ UpDataStructsSponsorshipStateAccountId32: UpDataStructsSponsorshipStateAccountId32;
+ UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: UpDataStructsSponsorshipStateBasicCrossAccountIdRepr;
UpDataStructsTokenChild: UpDataStructsTokenChild;
UpDataStructsTokenData: UpDataStructsTokenData;
XcmDoubleEncoded: XcmDoubleEncoded;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -3034,14 +3034,14 @@
readonly name: Vec<u16>;
readonly description: Vec<u16>;
readonly tokenPrefix: Bytes;
- readonly sponsorship: UpDataStructsSponsorshipState;
+ readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;
readonly limits: UpDataStructsCollectionLimits;
readonly permissions: UpDataStructsCollectionPermissions;
readonly externalCollection: bool;
}
- /** @name UpDataStructsSponsorshipState (361) */
- interface UpDataStructsSponsorshipState extends Enum {
+ /** @name UpDataStructsSponsorshipStateAccountId32 (361) */
+ interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
readonly asUnconfirmed: AccountId32;
@@ -3093,7 +3093,7 @@
readonly name: Vec<u16>;
readonly description: Vec<u16>;
readonly tokenPrefix: Bytes;
- readonly sponsorship: UpDataStructsSponsorshipState;
+ readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;
readonly limits: UpDataStructsCollectionLimits;
readonly permissions: UpDataStructsCollectionPermissions;
readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
@@ -3379,7 +3379,17 @@
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (431) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (431) */
+ interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
+ readonly isDisabled: boolean;
+ readonly isUnconfirmed: boolean;
+ readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly isConfirmed: boolean;
+ readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;
+ readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
+ }
+
+ /** @name PalletEvmContractHelpersSponsoringModeT (432) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3387,20 +3397,21 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (433) */
+ /** @name PalletEvmContractHelpersError (434) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
- readonly type: 'NoPermission';
+ readonly isNoPendingSponsor: boolean;
+ readonly type: 'NoPermission' | 'NoPendingSponsor';
}
- /** @name PalletEvmMigrationError (434) */
+ /** @name PalletEvmMigrationError (435) */
interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (436) */
+ /** @name SpRuntimeMultiSignature (437) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3411,34 +3422,34 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (437) */
+ /** @name SpCoreEd25519Signature (438) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (439) */
+ /** @name SpCoreSr25519Signature (440) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (440) */
+ /** @name SpCoreEcdsaSignature (441) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (443) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (444) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (444) */
+ /** @name FrameSystemExtensionsCheckGenesis (445) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (447) */
+ /** @name FrameSystemExtensionsCheckNonce (448) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (448) */
+ /** @name FrameSystemExtensionsCheckWeight (449) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (449) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (450) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (450) */
+ /** @name OpalRuntimeRuntime (451) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (451) */
+ /** @name PalletEthereumFakeTransactionFinalizer (452) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/util/playgrounds/index.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/index.ts
+++ b/tests/src/util/playgrounds/index.ts
@@ -4,9 +4,7 @@
import {IKeyringPair} from '@polkadot/types/types';
import config from '../../config';
import '../../interfaces/augment-api-events';
-import * as defs from '../../interfaces/definitions';
-import {ApiPromise, WsProvider} from '@polkadot/api';
-import { UniqueHelper } from './unique';
+import {DevUniqueHelper} from './unique.dev';
class SilentLogger {
@@ -19,45 +17,9 @@
}
-class DevUniqueHelper extends UniqueHelper {
- async connect(wsEndpoint: string, listeners?: any): Promise<void> {
- const wsProvider = new WsProvider(wsEndpoint);
- this.api = new ApiPromise({
- provider: wsProvider,
- signedExtensions: {
- ContractHelpers: {
- extrinsic: {},
- payload: {},
- },
- FakeTransactionFinalizer: {
- extrinsic: {},
- payload: {},
- },
- },
- rpc: {
- unique: defs.unique.rpc,
- rmrk: defs.rmrk.rpc,
- eth: {
- feeHistory: {
- description: 'Dummy',
- params: [],
- type: 'u8',
- },
- maxPriorityFeePerGas: {
- description: 'Dummy',
- params: [],
- type: 'u8',
- },
- },
- },
- });
- await this.api.isReadyOrError;
- this.network = await UniqueHelper.detectNetwork(this.api);
- }
-}
-export const usingPlaygrounds = async <T = void> (code: (helper: UniqueHelper, privateKey: (seed: string) => IKeyringPair) => Promise<T>) => {
+export const usingPlaygrounds = async <T = void> (code: (helper: DevUniqueHelper, privateKey: (seed: string) => IKeyringPair) => Promise<T>) => {
// TODO: Remove, this is temporary: Filter unneeded API output
// (Jaco promised it will be removed in the next version)
const consoleErr = console.error;