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';1// 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 isNoPendingSponsor: boolean;1177 readonly type: 'NoPermission' | 'NoPendingSponsor';1178}11791180/** @name PalletEvmContractHelpersSponsoringModeT */1181export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1182 readonly isDisabled: boolean;1183 readonly isAllowlisted: boolean;1184 readonly isGenerous: boolean;1185 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1186}11871188/** @name PalletEvmError */1189export interface PalletEvmError extends Enum {1190 readonly isBalanceLow: boolean;1191 readonly isFeeOverflow: boolean;1192 readonly isPaymentOverflow: boolean;1193 readonly isWithdrawFailed: boolean;1194 readonly isGasPriceTooLow: boolean;1195 readonly isInvalidNonce: boolean;1196 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';1197}11981199/** @name PalletEvmEvent */1200export interface PalletEvmEvent extends Enum {1201 readonly isLog: boolean;1202 readonly asLog: EthereumLog;1203 readonly isCreated: boolean;1204 readonly asCreated: H160;1205 readonly isCreatedFailed: boolean;1206 readonly asCreatedFailed: H160;1207 readonly isExecuted: boolean;1208 readonly asExecuted: H160;1209 readonly isExecutedFailed: boolean;1210 readonly asExecutedFailed: H160;1211 readonly isBalanceDeposit: boolean;1212 readonly asBalanceDeposit: ITuple<[AccountId32, H160, U256]>;1213 readonly isBalanceWithdraw: boolean;1214 readonly asBalanceWithdraw: ITuple<[AccountId32, H160, U256]>;1215 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';1216}12171218/** @name PalletEvmMigrationCall */1219export interface PalletEvmMigrationCall extends Enum {1220 readonly isBegin: boolean;1221 readonly asBegin: {1222 readonly address: H160;1223 } & Struct;1224 readonly isSetData: boolean;1225 readonly asSetData: {1226 readonly address: H160;1227 readonly data: Vec<ITuple<[H256, H256]>>;1228 } & Struct;1229 readonly isFinish: boolean;1230 readonly asFinish: {1231 readonly address: H160;1232 readonly code: Bytes;1233 } & Struct;1234 readonly type: 'Begin' | 'SetData' | 'Finish';1235}12361237/** @name PalletEvmMigrationError */1238export interface PalletEvmMigrationError extends Enum {1239 readonly isAccountNotEmpty: boolean;1240 readonly isAccountIsNotMigrating: boolean;1241 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';1242}12431244/** @name PalletFungibleError */1245export interface PalletFungibleError extends Enum {1246 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1247 readonly isFungibleItemsHaveNoId: boolean;1248 readonly isFungibleItemsDontHaveData: boolean;1249 readonly isFungibleDisallowsNesting: boolean;1250 readonly isSettingPropertiesNotAllowed: boolean;1251 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1252}12531254/** @name PalletInflationCall */1255export interface PalletInflationCall extends Enum {1256 readonly isStartInflation: boolean;1257 readonly asStartInflation: {1258 readonly inflationStartRelayBlock: u32;1259 } & Struct;1260 readonly type: 'StartInflation';1261}12621263/** @name PalletNonfungibleError */1264export interface PalletNonfungibleError extends Enum {1265 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1266 readonly isNonfungibleItemsHaveNoAmount: boolean;1267 readonly isCantBurnNftWithChildren: boolean;1268 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1269}12701271/** @name PalletNonfungibleItemData */1272export interface PalletNonfungibleItemData extends Struct {1273 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1274}12751276/** @name PalletRefungibleError */1277export interface PalletRefungibleError extends Enum {1278 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1279 readonly isWrongRefungiblePieces: boolean;1280 readonly isRepartitionWhileNotOwningAllPieces: boolean;1281 readonly isRefungibleDisallowsNesting: boolean;1282 readonly isSettingPropertiesNotAllowed: boolean;1283 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1284}12851286/** @name PalletRefungibleItemData */1287export interface PalletRefungibleItemData extends Struct {1288 readonly constData: Bytes;1289}12901291/** @name PalletRmrkCoreCall */1292export interface PalletRmrkCoreCall extends Enum {1293 readonly isCreateCollection: boolean;1294 readonly asCreateCollection: {1295 readonly metadata: Bytes;1296 readonly max: Option<u32>;1297 readonly symbol: Bytes;1298 } & Struct;1299 readonly isDestroyCollection: boolean;1300 readonly asDestroyCollection: {1301 readonly collectionId: u32;1302 } & Struct;1303 readonly isChangeCollectionIssuer: boolean;1304 readonly asChangeCollectionIssuer: {1305 readonly collectionId: u32;1306 readonly newIssuer: MultiAddress;1307 } & Struct;1308 readonly isLockCollection: boolean;1309 readonly asLockCollection: {1310 readonly collectionId: u32;1311 } & Struct;1312 readonly isMintNft: boolean;1313 readonly asMintNft: {1314 readonly owner: Option<AccountId32>;1315 readonly collectionId: u32;1316 readonly recipient: Option<AccountId32>;1317 readonly royaltyAmount: Option<Permill>;1318 readonly metadata: Bytes;1319 readonly transferable: bool;1320 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1321 } & Struct;1322 readonly isBurnNft: boolean;1323 readonly asBurnNft: {1324 readonly collectionId: u32;1325 readonly nftId: u32;1326 readonly maxBurns: u32;1327 } & Struct;1328 readonly isSend: boolean;1329 readonly asSend: {1330 readonly rmrkCollectionId: u32;1331 readonly rmrkNftId: u32;1332 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1333 } & Struct;1334 readonly isAcceptNft: boolean;1335 readonly asAcceptNft: {1336 readonly rmrkCollectionId: u32;1337 readonly rmrkNftId: u32;1338 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1339 } & Struct;1340 readonly isRejectNft: boolean;1341 readonly asRejectNft: {1342 readonly rmrkCollectionId: u32;1343 readonly rmrkNftId: u32;1344 } & Struct;1345 readonly isAcceptResource: boolean;1346 readonly asAcceptResource: {1347 readonly rmrkCollectionId: u32;1348 readonly rmrkNftId: u32;1349 readonly resourceId: u32;1350 } & Struct;1351 readonly isAcceptResourceRemoval: boolean;1352 readonly asAcceptResourceRemoval: {1353 readonly rmrkCollectionId: u32;1354 readonly rmrkNftId: u32;1355 readonly resourceId: u32;1356 } & Struct;1357 readonly isSetProperty: boolean;1358 readonly asSetProperty: {1359 readonly rmrkCollectionId: Compact<u32>;1360 readonly maybeNftId: Option<u32>;1361 readonly key: Bytes;1362 readonly value: Bytes;1363 } & Struct;1364 readonly isSetPriority: boolean;1365 readonly asSetPriority: {1366 readonly rmrkCollectionId: u32;1367 readonly rmrkNftId: u32;1368 readonly priorities: Vec<u32>;1369 } & Struct;1370 readonly isAddBasicResource: boolean;1371 readonly asAddBasicResource: {1372 readonly rmrkCollectionId: u32;1373 readonly nftId: u32;1374 readonly resource: RmrkTraitsResourceBasicResource;1375 } & Struct;1376 readonly isAddComposableResource: boolean;1377 readonly asAddComposableResource: {1378 readonly rmrkCollectionId: u32;1379 readonly nftId: u32;1380 readonly resource: RmrkTraitsResourceComposableResource;1381 } & Struct;1382 readonly isAddSlotResource: boolean;1383 readonly asAddSlotResource: {1384 readonly rmrkCollectionId: u32;1385 readonly nftId: u32;1386 readonly resource: RmrkTraitsResourceSlotResource;1387 } & Struct;1388 readonly isRemoveResource: boolean;1389 readonly asRemoveResource: {1390 readonly rmrkCollectionId: u32;1391 readonly nftId: u32;1392 readonly resourceId: u32;1393 } & Struct;1394 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1395}13961397/** @name PalletRmrkCoreError */1398export interface PalletRmrkCoreError extends Enum {1399 readonly isCorruptedCollectionType: boolean;1400 readonly isRmrkPropertyKeyIsTooLong: boolean;1401 readonly isRmrkPropertyValueIsTooLong: boolean;1402 readonly isRmrkPropertyIsNotFound: boolean;1403 readonly isUnableToDecodeRmrkData: boolean;1404 readonly isCollectionNotEmpty: boolean;1405 readonly isNoAvailableCollectionId: boolean;1406 readonly isNoAvailableNftId: boolean;1407 readonly isCollectionUnknown: boolean;1408 readonly isNoPermission: boolean;1409 readonly isNonTransferable: boolean;1410 readonly isCollectionFullOrLocked: boolean;1411 readonly isResourceDoesntExist: boolean;1412 readonly isCannotSendToDescendentOrSelf: boolean;1413 readonly isCannotAcceptNonOwnedNft: boolean;1414 readonly isCannotRejectNonOwnedNft: boolean;1415 readonly isCannotRejectNonPendingNft: boolean;1416 readonly isResourceNotPending: boolean;1417 readonly isNoAvailableResourceId: boolean;1418 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1419}14201421/** @name PalletRmrkCoreEvent */1422export interface PalletRmrkCoreEvent extends Enum {1423 readonly isCollectionCreated: boolean;1424 readonly asCollectionCreated: {1425 readonly issuer: AccountId32;1426 readonly collectionId: u32;1427 } & Struct;1428 readonly isCollectionDestroyed: boolean;1429 readonly asCollectionDestroyed: {1430 readonly issuer: AccountId32;1431 readonly collectionId: u32;1432 } & Struct;1433 readonly isIssuerChanged: boolean;1434 readonly asIssuerChanged: {1435 readonly oldIssuer: AccountId32;1436 readonly newIssuer: AccountId32;1437 readonly collectionId: u32;1438 } & Struct;1439 readonly isCollectionLocked: boolean;1440 readonly asCollectionLocked: {1441 readonly issuer: AccountId32;1442 readonly collectionId: u32;1443 } & Struct;1444 readonly isNftMinted: boolean;1445 readonly asNftMinted: {1446 readonly owner: AccountId32;1447 readonly collectionId: u32;1448 readonly nftId: u32;1449 } & Struct;1450 readonly isNftBurned: boolean;1451 readonly asNftBurned: {1452 readonly owner: AccountId32;1453 readonly nftId: u32;1454 } & Struct;1455 readonly isNftSent: boolean;1456 readonly asNftSent: {1457 readonly sender: AccountId32;1458 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1459 readonly collectionId: u32;1460 readonly nftId: u32;1461 readonly approvalRequired: bool;1462 } & Struct;1463 readonly isNftAccepted: boolean;1464 readonly asNftAccepted: {1465 readonly sender: AccountId32;1466 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1467 readonly collectionId: u32;1468 readonly nftId: u32;1469 } & Struct;1470 readonly isNftRejected: boolean;1471 readonly asNftRejected: {1472 readonly sender: AccountId32;1473 readonly collectionId: u32;1474 readonly nftId: u32;1475 } & Struct;1476 readonly isPropertySet: boolean;1477 readonly asPropertySet: {1478 readonly collectionId: u32;1479 readonly maybeNftId: Option<u32>;1480 readonly key: Bytes;1481 readonly value: Bytes;1482 } & Struct;1483 readonly isResourceAdded: boolean;1484 readonly asResourceAdded: {1485 readonly nftId: u32;1486 readonly resourceId: u32;1487 } & Struct;1488 readonly isResourceRemoval: boolean;1489 readonly asResourceRemoval: {1490 readonly nftId: u32;1491 readonly resourceId: u32;1492 } & Struct;1493 readonly isResourceAccepted: boolean;1494 readonly asResourceAccepted: {1495 readonly nftId: u32;1496 readonly resourceId: u32;1497 } & Struct;1498 readonly isResourceRemovalAccepted: boolean;1499 readonly asResourceRemovalAccepted: {1500 readonly nftId: u32;1501 readonly resourceId: u32;1502 } & Struct;1503 readonly isPrioritySet: boolean;1504 readonly asPrioritySet: {1505 readonly collectionId: u32;1506 readonly nftId: u32;1507 } & Struct;1508 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1509}15101511/** @name PalletRmrkEquipCall */1512export interface PalletRmrkEquipCall extends Enum {1513 readonly isCreateBase: boolean;1514 readonly asCreateBase: {1515 readonly baseType: Bytes;1516 readonly symbol: Bytes;1517 readonly parts: Vec<RmrkTraitsPartPartType>;1518 } & Struct;1519 readonly isThemeAdd: boolean;1520 readonly asThemeAdd: {1521 readonly baseId: u32;1522 readonly theme: RmrkTraitsTheme;1523 } & Struct;1524 readonly isEquippable: boolean;1525 readonly asEquippable: {1526 readonly baseId: u32;1527 readonly slotId: u32;1528 readonly equippables: RmrkTraitsPartEquippableList;1529 } & Struct;1530 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1531}15321533/** @name PalletRmrkEquipError */1534export interface PalletRmrkEquipError extends Enum {1535 readonly isPermissionError: boolean;1536 readonly isNoAvailableBaseId: boolean;1537 readonly isNoAvailablePartId: boolean;1538 readonly isBaseDoesntExist: boolean;1539 readonly isNeedsDefaultThemeFirst: boolean;1540 readonly isPartDoesntExist: boolean;1541 readonly isNoEquippableOnFixedPart: boolean;1542 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1543}15441545/** @name PalletRmrkEquipEvent */1546export interface PalletRmrkEquipEvent extends Enum {1547 readonly isBaseCreated: boolean;1548 readonly asBaseCreated: {1549 readonly issuer: AccountId32;1550 readonly baseId: u32;1551 } & Struct;1552 readonly isEquippablesUpdated: boolean;1553 readonly asEquippablesUpdated: {1554 readonly baseId: u32;1555 readonly slotId: u32;1556 } & Struct;1557 readonly type: 'BaseCreated' | 'EquippablesUpdated';1558}15591560/** @name PalletStructureCall */1561export interface PalletStructureCall extends Null {}15621563/** @name PalletStructureError */1564export interface PalletStructureError extends Enum {1565 readonly isOuroborosDetected: boolean;1566 readonly isDepthLimit: boolean;1567 readonly isBreadthLimit: boolean;1568 readonly isTokenNotFound: boolean;1569 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1570}15711572/** @name PalletStructureEvent */1573export interface PalletStructureEvent extends Enum {1574 readonly isExecuted: boolean;1575 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1576 readonly type: 'Executed';1577}15781579/** @name PalletSudoCall */1580export interface PalletSudoCall extends Enum {1581 readonly isSudo: boolean;1582 readonly asSudo: {1583 readonly call: Call;1584 } & Struct;1585 readonly isSudoUncheckedWeight: boolean;1586 readonly asSudoUncheckedWeight: {1587 readonly call: Call;1588 readonly weight: u64;1589 } & Struct;1590 readonly isSetKey: boolean;1591 readonly asSetKey: {1592 readonly new_: MultiAddress;1593 } & Struct;1594 readonly isSudoAs: boolean;1595 readonly asSudoAs: {1596 readonly who: MultiAddress;1597 readonly call: Call;1598 } & Struct;1599 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1600}16011602/** @name PalletSudoError */1603export interface PalletSudoError extends Enum {1604 readonly isRequireSudo: boolean;1605 readonly type: 'RequireSudo';1606}16071608/** @name PalletSudoEvent */1609export interface PalletSudoEvent extends Enum {1610 readonly isSudid: boolean;1611 readonly asSudid: {1612 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1613 } & Struct;1614 readonly isKeyChanged: boolean;1615 readonly asKeyChanged: {1616 readonly oldSudoer: Option<AccountId32>;1617 } & Struct;1618 readonly isSudoAsDone: boolean;1619 readonly asSudoAsDone: {1620 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1621 } & Struct;1622 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1623}16241625/** @name PalletTemplateTransactionPaymentCall */1626export interface PalletTemplateTransactionPaymentCall extends Null {}16271628/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1629export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}16301631/** @name PalletTimestampCall */1632export interface PalletTimestampCall extends Enum {1633 readonly isSet: boolean;1634 readonly asSet: {1635 readonly now: Compact<u64>;1636 } & Struct;1637 readonly type: 'Set';1638}16391640/** @name PalletTransactionPaymentEvent */1641export interface PalletTransactionPaymentEvent extends Enum {1642 readonly isTransactionFeePaid: boolean;1643 readonly asTransactionFeePaid: {1644 readonly who: AccountId32;1645 readonly actualFee: u128;1646 readonly tip: u128;1647 } & Struct;1648 readonly type: 'TransactionFeePaid';1649}16501651/** @name PalletTransactionPaymentReleases */1652export interface PalletTransactionPaymentReleases extends Enum {1653 readonly isV1Ancient: boolean;1654 readonly isV2: boolean;1655 readonly type: 'V1Ancient' | 'V2';1656}16571658/** @name PalletTreasuryCall */1659export interface PalletTreasuryCall extends Enum {1660 readonly isProposeSpend: boolean;1661 readonly asProposeSpend: {1662 readonly value: Compact<u128>;1663 readonly beneficiary: MultiAddress;1664 } & Struct;1665 readonly isRejectProposal: boolean;1666 readonly asRejectProposal: {1667 readonly proposalId: Compact<u32>;1668 } & Struct;1669 readonly isApproveProposal: boolean;1670 readonly asApproveProposal: {1671 readonly proposalId: Compact<u32>;1672 } & Struct;1673 readonly isSpend: boolean;1674 readonly asSpend: {1675 readonly amount: Compact<u128>;1676 readonly beneficiary: MultiAddress;1677 } & Struct;1678 readonly isRemoveApproval: boolean;1679 readonly asRemoveApproval: {1680 readonly proposalId: Compact<u32>;1681 } & Struct;1682 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1683}16841685/** @name PalletTreasuryError */1686export interface PalletTreasuryError extends Enum {1687 readonly isInsufficientProposersBalance: boolean;1688 readonly isInvalidIndex: boolean;1689 readonly isTooManyApprovals: boolean;1690 readonly isInsufficientPermission: boolean;1691 readonly isProposalNotApproved: boolean;1692 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1693}16941695/** @name PalletTreasuryEvent */1696export interface PalletTreasuryEvent extends Enum {1697 readonly isProposed: boolean;1698 readonly asProposed: {1699 readonly proposalIndex: u32;1700 } & Struct;1701 readonly isSpending: boolean;1702 readonly asSpending: {1703 readonly budgetRemaining: u128;1704 } & Struct;1705 readonly isAwarded: boolean;1706 readonly asAwarded: {1707 readonly proposalIndex: u32;1708 readonly award: u128;1709 readonly account: AccountId32;1710 } & Struct;1711 readonly isRejected: boolean;1712 readonly asRejected: {1713 readonly proposalIndex: u32;1714 readonly slashed: u128;1715 } & Struct;1716 readonly isBurnt: boolean;1717 readonly asBurnt: {1718 readonly burntFunds: u128;1719 } & Struct;1720 readonly isRollover: boolean;1721 readonly asRollover: {1722 readonly rolloverBalance: u128;1723 } & Struct;1724 readonly isDeposit: boolean;1725 readonly asDeposit: {1726 readonly value: u128;1727 } & Struct;1728 readonly isSpendApproved: boolean;1729 readonly asSpendApproved: {1730 readonly proposalIndex: u32;1731 readonly amount: u128;1732 readonly beneficiary: AccountId32;1733 } & Struct;1734 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';1735}17361737/** @name PalletTreasuryProposal */1738export interface PalletTreasuryProposal extends Struct {1739 readonly proposer: AccountId32;1740 readonly value: u128;1741 readonly beneficiary: AccountId32;1742 readonly bond: u128;1743}17441745/** @name PalletUniqueCall */1746export interface PalletUniqueCall extends Enum {1747 readonly isCreateCollection: boolean;1748 readonly asCreateCollection: {1749 readonly collectionName: Vec<u16>;1750 readonly collectionDescription: Vec<u16>;1751 readonly tokenPrefix: Bytes;1752 readonly mode: UpDataStructsCollectionMode;1753 } & Struct;1754 readonly isCreateCollectionEx: boolean;1755 readonly asCreateCollectionEx: {1756 readonly data: UpDataStructsCreateCollectionData;1757 } & Struct;1758 readonly isDestroyCollection: boolean;1759 readonly asDestroyCollection: {1760 readonly collectionId: u32;1761 } & Struct;1762 readonly isAddToAllowList: boolean;1763 readonly asAddToAllowList: {1764 readonly collectionId: u32;1765 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1766 } & Struct;1767 readonly isRemoveFromAllowList: boolean;1768 readonly asRemoveFromAllowList: {1769 readonly collectionId: u32;1770 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;1771 } & Struct;1772 readonly isChangeCollectionOwner: boolean;1773 readonly asChangeCollectionOwner: {1774 readonly collectionId: u32;1775 readonly newOwner: AccountId32;1776 } & Struct;1777 readonly isAddCollectionAdmin: boolean;1778 readonly asAddCollectionAdmin: {1779 readonly collectionId: u32;1780 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1781 } & Struct;1782 readonly isRemoveCollectionAdmin: boolean;1783 readonly asRemoveCollectionAdmin: {1784 readonly collectionId: u32;1785 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;1786 } & Struct;1787 readonly isSetCollectionSponsor: boolean;1788 readonly asSetCollectionSponsor: {1789 readonly collectionId: u32;1790 readonly newSponsor: AccountId32;1791 } & Struct;1792 readonly isConfirmSponsorship: boolean;1793 readonly asConfirmSponsorship: {1794 readonly collectionId: u32;1795 } & Struct;1796 readonly isRemoveCollectionSponsor: boolean;1797 readonly asRemoveCollectionSponsor: {1798 readonly collectionId: u32;1799 } & Struct;1800 readonly isCreateItem: boolean;1801 readonly asCreateItem: {1802 readonly collectionId: u32;1803 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1804 readonly data: UpDataStructsCreateItemData;1805 } & Struct;1806 readonly isCreateMultipleItems: boolean;1807 readonly asCreateMultipleItems: {1808 readonly collectionId: u32;1809 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1810 readonly itemsData: Vec<UpDataStructsCreateItemData>;1811 } & Struct;1812 readonly isSetCollectionProperties: boolean;1813 readonly asSetCollectionProperties: {1814 readonly collectionId: u32;1815 readonly properties: Vec<UpDataStructsProperty>;1816 } & Struct;1817 readonly isDeleteCollectionProperties: boolean;1818 readonly asDeleteCollectionProperties: {1819 readonly collectionId: u32;1820 readonly propertyKeys: Vec<Bytes>;1821 } & Struct;1822 readonly isSetTokenProperties: boolean;1823 readonly asSetTokenProperties: {1824 readonly collectionId: u32;1825 readonly tokenId: u32;1826 readonly properties: Vec<UpDataStructsProperty>;1827 } & Struct;1828 readonly isDeleteTokenProperties: boolean;1829 readonly asDeleteTokenProperties: {1830 readonly collectionId: u32;1831 readonly tokenId: u32;1832 readonly propertyKeys: Vec<Bytes>;1833 } & Struct;1834 readonly isSetTokenPropertyPermissions: boolean;1835 readonly asSetTokenPropertyPermissions: {1836 readonly collectionId: u32;1837 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1838 } & Struct;1839 readonly isCreateMultipleItemsEx: boolean;1840 readonly asCreateMultipleItemsEx: {1841 readonly collectionId: u32;1842 readonly data: UpDataStructsCreateItemExData;1843 } & Struct;1844 readonly isSetTransfersEnabledFlag: boolean;1845 readonly asSetTransfersEnabledFlag: {1846 readonly collectionId: u32;1847 readonly value: bool;1848 } & Struct;1849 readonly isBurnItem: boolean;1850 readonly asBurnItem: {1851 readonly collectionId: u32;1852 readonly itemId: u32;1853 readonly value: u128;1854 } & Struct;1855 readonly isBurnFrom: boolean;1856 readonly asBurnFrom: {1857 readonly collectionId: u32;1858 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1859 readonly itemId: u32;1860 readonly value: u128;1861 } & Struct;1862 readonly isTransfer: boolean;1863 readonly asTransfer: {1864 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1865 readonly collectionId: u32;1866 readonly itemId: u32;1867 readonly value: u128;1868 } & Struct;1869 readonly isApprove: boolean;1870 readonly asApprove: {1871 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;1872 readonly collectionId: u32;1873 readonly itemId: u32;1874 readonly amount: u128;1875 } & Struct;1876 readonly isTransferFrom: boolean;1877 readonly asTransferFrom: {1878 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;1879 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;1880 readonly collectionId: u32;1881 readonly itemId: u32;1882 readonly value: u128;1883 } & Struct;1884 readonly isSetCollectionLimits: boolean;1885 readonly asSetCollectionLimits: {1886 readonly collectionId: u32;1887 readonly newLimit: UpDataStructsCollectionLimits;1888 } & Struct;1889 readonly isSetCollectionPermissions: boolean;1890 readonly asSetCollectionPermissions: {1891 readonly collectionId: u32;1892 readonly newPermission: UpDataStructsCollectionPermissions;1893 } & Struct;1894 readonly isRepartition: boolean;1895 readonly asRepartition: {1896 readonly collectionId: u32;1897 readonly tokenId: u32;1898 readonly amount: u128;1899 } & Struct;1900 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';1901}19021903/** @name PalletUniqueError */1904export interface PalletUniqueError extends Enum {1905 readonly isCollectionDecimalPointLimitExceeded: boolean;1906 readonly isConfirmUnsetSponsorFail: boolean;1907 readonly isEmptyArgument: boolean;1908 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;1909 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';1910}19111912/** @name PalletUniqueRawEvent */1913export interface PalletUniqueRawEvent extends Enum {1914 readonly isCollectionSponsorRemoved: boolean;1915 readonly asCollectionSponsorRemoved: u32;1916 readonly isCollectionAdminAdded: boolean;1917 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1918 readonly isCollectionOwnedChanged: boolean;1919 readonly asCollectionOwnedChanged: ITuple<[u32, AccountId32]>;1920 readonly isCollectionSponsorSet: boolean;1921 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1922 readonly isSponsorshipConfirmed: boolean;1923 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1924 readonly isCollectionAdminRemoved: boolean;1925 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1926 readonly isAllowListAddressRemoved: boolean;1927 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1928 readonly isAllowListAddressAdded: boolean;1929 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1930 readonly isCollectionLimitSet: boolean;1931 readonly asCollectionLimitSet: u32;1932 readonly isCollectionPermissionSet: boolean;1933 readonly asCollectionPermissionSet: u32;1934 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1935}19361937/** @name PalletUniqueSchedulerCall */1938export interface PalletUniqueSchedulerCall extends Enum {1939 readonly isScheduleNamed: boolean;1940 readonly asScheduleNamed: {1941 readonly id: U8aFixed;1942 readonly when: u32;1943 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1944 readonly priority: u8;1945 readonly call: FrameSupportScheduleMaybeHashed;1946 } & Struct;1947 readonly isCancelNamed: boolean;1948 readonly asCancelNamed: {1949 readonly id: U8aFixed;1950 } & Struct;1951 readonly isScheduleNamedAfter: boolean;1952 readonly asScheduleNamedAfter: {1953 readonly id: U8aFixed;1954 readonly after: u32;1955 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;1956 readonly priority: u8;1957 readonly call: FrameSupportScheduleMaybeHashed;1958 } & Struct;1959 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1960}19611962/** @name PalletUniqueSchedulerError */1963export interface PalletUniqueSchedulerError extends Enum {1964 readonly isFailedToSchedule: boolean;1965 readonly isNotFound: boolean;1966 readonly isTargetBlockNumberInPast: boolean;1967 readonly isRescheduleNoChange: boolean;1968 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1969}19701971/** @name PalletUniqueSchedulerEvent */1972export interface PalletUniqueSchedulerEvent extends Enum {1973 readonly isScheduled: boolean;1974 readonly asScheduled: {1975 readonly when: u32;1976 readonly index: u32;1977 } & Struct;1978 readonly isCanceled: boolean;1979 readonly asCanceled: {1980 readonly when: u32;1981 readonly index: u32;1982 } & Struct;1983 readonly isDispatched: boolean;1984 readonly asDispatched: {1985 readonly task: ITuple<[u32, u32]>;1986 readonly id: Option<U8aFixed>;1987 readonly result: Result<Null, SpRuntimeDispatchError>;1988 } & Struct;1989 readonly isCallLookupFailed: boolean;1990 readonly asCallLookupFailed: {1991 readonly task: ITuple<[u32, u32]>;1992 readonly id: Option<U8aFixed>;1993 readonly error: FrameSupportScheduleLookupError;1994 } & Struct;1995 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1996}19971998/** @name PalletUniqueSchedulerScheduledV3 */1999export interface PalletUniqueSchedulerScheduledV3 extends Struct {2000 readonly maybeId: Option<U8aFixed>;2001 readonly priority: u8;2002 readonly call: FrameSupportScheduleMaybeHashed;2003 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2004 readonly origin: OpalRuntimeOriginCaller;2005}20062007/** @name PalletXcmCall */2008export interface PalletXcmCall extends Enum {2009 readonly isSend: boolean;2010 readonly asSend: {2011 readonly dest: XcmVersionedMultiLocation;2012 readonly message: XcmVersionedXcm;2013 } & Struct;2014 readonly isTeleportAssets: boolean;2015 readonly asTeleportAssets: {2016 readonly dest: XcmVersionedMultiLocation;2017 readonly beneficiary: XcmVersionedMultiLocation;2018 readonly assets: XcmVersionedMultiAssets;2019 readonly feeAssetItem: u32;2020 } & Struct;2021 readonly isReserveTransferAssets: boolean;2022 readonly asReserveTransferAssets: {2023 readonly dest: XcmVersionedMultiLocation;2024 readonly beneficiary: XcmVersionedMultiLocation;2025 readonly assets: XcmVersionedMultiAssets;2026 readonly feeAssetItem: u32;2027 } & Struct;2028 readonly isExecute: boolean;2029 readonly asExecute: {2030 readonly message: XcmVersionedXcm;2031 readonly maxWeight: u64;2032 } & Struct;2033 readonly isForceXcmVersion: boolean;2034 readonly asForceXcmVersion: {2035 readonly location: XcmV1MultiLocation;2036 readonly xcmVersion: u32;2037 } & Struct;2038 readonly isForceDefaultXcmVersion: boolean;2039 readonly asForceDefaultXcmVersion: {2040 readonly maybeXcmVersion: Option<u32>;2041 } & Struct;2042 readonly isForceSubscribeVersionNotify: boolean;2043 readonly asForceSubscribeVersionNotify: {2044 readonly location: XcmVersionedMultiLocation;2045 } & Struct;2046 readonly isForceUnsubscribeVersionNotify: boolean;2047 readonly asForceUnsubscribeVersionNotify: {2048 readonly location: XcmVersionedMultiLocation;2049 } & Struct;2050 readonly isLimitedReserveTransferAssets: boolean;2051 readonly asLimitedReserveTransferAssets: {2052 readonly dest: XcmVersionedMultiLocation;2053 readonly beneficiary: XcmVersionedMultiLocation;2054 readonly assets: XcmVersionedMultiAssets;2055 readonly feeAssetItem: u32;2056 readonly weightLimit: XcmV2WeightLimit;2057 } & Struct;2058 readonly isLimitedTeleportAssets: boolean;2059 readonly asLimitedTeleportAssets: {2060 readonly dest: XcmVersionedMultiLocation;2061 readonly beneficiary: XcmVersionedMultiLocation;2062 readonly assets: XcmVersionedMultiAssets;2063 readonly feeAssetItem: u32;2064 readonly weightLimit: XcmV2WeightLimit;2065 } & Struct;2066 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2067}20682069/** @name PalletXcmError */2070export interface PalletXcmError extends Enum {2071 readonly isUnreachable: boolean;2072 readonly isSendFailure: boolean;2073 readonly isFiltered: boolean;2074 readonly isUnweighableMessage: boolean;2075 readonly isDestinationNotInvertible: boolean;2076 readonly isEmpty: boolean;2077 readonly isCannotReanchor: boolean;2078 readonly isTooManyAssets: boolean;2079 readonly isInvalidOrigin: boolean;2080 readonly isBadVersion: boolean;2081 readonly isBadLocation: boolean;2082 readonly isNoSubscription: boolean;2083 readonly isAlreadySubscribed: boolean;2084 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2085}20862087/** @name PalletXcmEvent */2088export interface PalletXcmEvent extends Enum {2089 readonly isAttempted: boolean;2090 readonly asAttempted: XcmV2TraitsOutcome;2091 readonly isSent: boolean;2092 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2093 readonly isUnexpectedResponse: boolean;2094 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2095 readonly isResponseReady: boolean;2096 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2097 readonly isNotified: boolean;2098 readonly asNotified: ITuple<[u64, u8, u8]>;2099 readonly isNotifyOverweight: boolean;2100 readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;2101 readonly isNotifyDispatchError: boolean;2102 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2103 readonly isNotifyDecodeFailed: boolean;2104 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2105 readonly isInvalidResponder: boolean;2106 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2107 readonly isInvalidResponderVersion: boolean;2108 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2109 readonly isResponseTaken: boolean;2110 readonly asResponseTaken: u64;2111 readonly isAssetsTrapped: boolean;2112 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2113 readonly isVersionChangeNotified: boolean;2114 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2115 readonly isSupportedVersionChanged: boolean;2116 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2117 readonly isNotifyTargetSendFail: boolean;2118 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2119 readonly isNotifyTargetMigrationFail: boolean;2120 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2121 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2122}21232124/** @name PalletXcmOrigin */2125export interface PalletXcmOrigin extends Enum {2126 readonly isXcm: boolean;2127 readonly asXcm: XcmV1MultiLocation;2128 readonly isResponse: boolean;2129 readonly asResponse: XcmV1MultiLocation;2130 readonly type: 'Xcm' | 'Response';2131}21322133/** @name PhantomTypeUpDataStructs */2134export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}21352136/** @name PolkadotCorePrimitivesInboundDownwardMessage */2137export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2138 readonly sentAt: u32;2139 readonly msg: Bytes;2140}21412142/** @name PolkadotCorePrimitivesInboundHrmpMessage */2143export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2144 readonly sentAt: u32;2145 readonly data: Bytes;2146}21472148/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2149export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2150 readonly recipient: u32;2151 readonly data: Bytes;2152}21532154/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2155export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2156 readonly isConcatenatedVersionedXcm: boolean;2157 readonly isConcatenatedEncodedBlob: boolean;2158 readonly isSignals: boolean;2159 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2160}21612162/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2163export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2164 readonly maxCodeSize: u32;2165 readonly maxHeadDataSize: u32;2166 readonly maxUpwardQueueCount: u32;2167 readonly maxUpwardQueueSize: u32;2168 readonly maxUpwardMessageSize: u32;2169 readonly maxUpwardMessageNumPerCandidate: u32;2170 readonly hrmpMaxMessageNumPerCandidate: u32;2171 readonly validationUpgradeCooldown: u32;2172 readonly validationUpgradeDelay: u32;2173}21742175/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2176export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2177 readonly maxCapacity: u32;2178 readonly maxTotalSize: u32;2179 readonly maxMessageSize: u32;2180 readonly msgCount: u32;2181 readonly totalSize: u32;2182 readonly mqcHead: Option<H256>;2183}21842185/** @name PolkadotPrimitivesV2PersistedValidationData */2186export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2187 readonly parentHead: Bytes;2188 readonly relayParentNumber: u32;2189 readonly relayParentStorageRoot: H256;2190 readonly maxPovSize: u32;2191}21922193/** @name PolkadotPrimitivesV2UpgradeRestriction */2194export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2195 readonly isPresent: boolean;2196 readonly type: 'Present';2197}21982199/** @name RmrkTraitsBaseBaseInfo */2200export interface RmrkTraitsBaseBaseInfo extends Struct {2201 readonly issuer: AccountId32;2202 readonly baseType: Bytes;2203 readonly symbol: Bytes;2204}22052206/** @name RmrkTraitsCollectionCollectionInfo */2207export interface RmrkTraitsCollectionCollectionInfo extends Struct {2208 readonly issuer: AccountId32;2209 readonly metadata: Bytes;2210 readonly max: Option<u32>;2211 readonly symbol: Bytes;2212 readonly nftsCount: u32;2213}22142215/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2216export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2217 readonly isAccountId: boolean;2218 readonly asAccountId: AccountId32;2219 readonly isCollectionAndNftTuple: boolean;2220 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2221 readonly type: 'AccountId' | 'CollectionAndNftTuple';2222}22232224/** @name RmrkTraitsNftNftChild */2225export interface RmrkTraitsNftNftChild extends Struct {2226 readonly collectionId: u32;2227 readonly nftId: u32;2228}22292230/** @name RmrkTraitsNftNftInfo */2231export interface RmrkTraitsNftNftInfo extends Struct {2232 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2233 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2234 readonly metadata: Bytes;2235 readonly equipped: bool;2236 readonly pending: bool;2237}22382239/** @name RmrkTraitsNftRoyaltyInfo */2240export interface RmrkTraitsNftRoyaltyInfo extends Struct {2241 readonly recipient: AccountId32;2242 readonly amount: Permill;2243}22442245/** @name RmrkTraitsPartEquippableList */2246export interface RmrkTraitsPartEquippableList extends Enum {2247 readonly isAll: boolean;2248 readonly isEmpty: boolean;2249 readonly isCustom: boolean;2250 readonly asCustom: Vec<u32>;2251 readonly type: 'All' | 'Empty' | 'Custom';2252}22532254/** @name RmrkTraitsPartFixedPart */2255export interface RmrkTraitsPartFixedPart extends Struct {2256 readonly id: u32;2257 readonly z: u32;2258 readonly src: Bytes;2259}22602261/** @name RmrkTraitsPartPartType */2262export interface RmrkTraitsPartPartType extends Enum {2263 readonly isFixedPart: boolean;2264 readonly asFixedPart: RmrkTraitsPartFixedPart;2265 readonly isSlotPart: boolean;2266 readonly asSlotPart: RmrkTraitsPartSlotPart;2267 readonly type: 'FixedPart' | 'SlotPart';2268}22692270/** @name RmrkTraitsPartSlotPart */2271export interface RmrkTraitsPartSlotPart extends Struct {2272 readonly id: u32;2273 readonly equippable: RmrkTraitsPartEquippableList;2274 readonly src: Bytes;2275 readonly z: u32;2276}22772278/** @name RmrkTraitsPropertyPropertyInfo */2279export interface RmrkTraitsPropertyPropertyInfo extends Struct {2280 readonly key: Bytes;2281 readonly value: Bytes;2282}22832284/** @name RmrkTraitsResourceBasicResource */2285export interface RmrkTraitsResourceBasicResource extends Struct {2286 readonly src: Option<Bytes>;2287 readonly metadata: Option<Bytes>;2288 readonly license: Option<Bytes>;2289 readonly thumb: Option<Bytes>;2290}22912292/** @name RmrkTraitsResourceComposableResource */2293export interface RmrkTraitsResourceComposableResource extends Struct {2294 readonly parts: Vec<u32>;2295 readonly base: u32;2296 readonly src: Option<Bytes>;2297 readonly metadata: Option<Bytes>;2298 readonly license: Option<Bytes>;2299 readonly thumb: Option<Bytes>;2300}23012302/** @name RmrkTraitsResourceResourceInfo */2303export interface RmrkTraitsResourceResourceInfo extends Struct {2304 readonly id: u32;2305 readonly resource: RmrkTraitsResourceResourceTypes;2306 readonly pending: bool;2307 readonly pendingRemoval: bool;2308}23092310/** @name RmrkTraitsResourceResourceTypes */2311export interface RmrkTraitsResourceResourceTypes extends Enum {2312 readonly isBasic: boolean;2313 readonly asBasic: RmrkTraitsResourceBasicResource;2314 readonly isComposable: boolean;2315 readonly asComposable: RmrkTraitsResourceComposableResource;2316 readonly isSlot: boolean;2317 readonly asSlot: RmrkTraitsResourceSlotResource;2318 readonly type: 'Basic' | 'Composable' | 'Slot';2319}23202321/** @name RmrkTraitsResourceSlotResource */2322export interface RmrkTraitsResourceSlotResource extends Struct {2323 readonly base: u32;2324 readonly src: Option<Bytes>;2325 readonly metadata: Option<Bytes>;2326 readonly slot: u32;2327 readonly license: Option<Bytes>;2328 readonly thumb: Option<Bytes>;2329}23302331/** @name RmrkTraitsTheme */2332export interface RmrkTraitsTheme extends Struct {2333 readonly name: Bytes;2334 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2335 readonly inherit: bool;2336}23372338/** @name RmrkTraitsThemeThemeProperty */2339export interface RmrkTraitsThemeThemeProperty extends Struct {2340 readonly key: Bytes;2341 readonly value: Bytes;2342}23432344/** @name SpCoreEcdsaSignature */2345export interface SpCoreEcdsaSignature extends U8aFixed {}23462347/** @name SpCoreEd25519Signature */2348export interface SpCoreEd25519Signature extends U8aFixed {}23492350/** @name SpCoreSr25519Signature */2351export interface SpCoreSr25519Signature extends U8aFixed {}23522353/** @name SpCoreVoid */2354export interface SpCoreVoid extends Null {}23552356/** @name SpRuntimeArithmeticError */2357export interface SpRuntimeArithmeticError extends Enum {2358 readonly isUnderflow: boolean;2359 readonly isOverflow: boolean;2360 readonly isDivisionByZero: boolean;2361 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2362}23632364/** @name SpRuntimeDigest */2365export interface SpRuntimeDigest extends Struct {2366 readonly logs: Vec<SpRuntimeDigestDigestItem>;2367}23682369/** @name SpRuntimeDigestDigestItem */2370export interface SpRuntimeDigestDigestItem extends Enum {2371 readonly isOther: boolean;2372 readonly asOther: Bytes;2373 readonly isConsensus: boolean;2374 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2375 readonly isSeal: boolean;2376 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2377 readonly isPreRuntime: boolean;2378 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2379 readonly isRuntimeEnvironmentUpdated: boolean;2380 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2381}23822383/** @name SpRuntimeDispatchError */2384export interface SpRuntimeDispatchError extends Enum {2385 readonly isOther: boolean;2386 readonly isCannotLookup: boolean;2387 readonly isBadOrigin: boolean;2388 readonly isModule: boolean;2389 readonly asModule: SpRuntimeModuleError;2390 readonly isConsumerRemaining: boolean;2391 readonly isNoProviders: boolean;2392 readonly isTooManyConsumers: boolean;2393 readonly isToken: boolean;2394 readonly asToken: SpRuntimeTokenError;2395 readonly isArithmetic: boolean;2396 readonly asArithmetic: SpRuntimeArithmeticError;2397 readonly isTransactional: boolean;2398 readonly asTransactional: SpRuntimeTransactionalError;2399 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2400}24012402/** @name SpRuntimeModuleError */2403export interface SpRuntimeModuleError extends Struct {2404 readonly index: u8;2405 readonly error: U8aFixed;2406}24072408/** @name SpRuntimeMultiSignature */2409export interface SpRuntimeMultiSignature extends Enum {2410 readonly isEd25519: boolean;2411 readonly asEd25519: SpCoreEd25519Signature;2412 readonly isSr25519: boolean;2413 readonly asSr25519: SpCoreSr25519Signature;2414 readonly isEcdsa: boolean;2415 readonly asEcdsa: SpCoreEcdsaSignature;2416 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2417}24182419/** @name SpRuntimeTokenError */2420export interface SpRuntimeTokenError extends Enum {2421 readonly isNoFunds: boolean;2422 readonly isWouldDie: boolean;2423 readonly isBelowMinimum: boolean;2424 readonly isCannotCreate: boolean;2425 readonly isUnknownAsset: boolean;2426 readonly isFrozen: boolean;2427 readonly isUnsupported: boolean;2428 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2429}24302431/** @name SpRuntimeTransactionalError */2432export interface SpRuntimeTransactionalError extends Enum {2433 readonly isLimitReached: boolean;2434 readonly isNoLayer: boolean;2435 readonly type: 'LimitReached' | 'NoLayer';2436}24372438/** @name SpTrieStorageProof */2439export interface SpTrieStorageProof extends Struct {2440 readonly trieNodes: BTreeSet<Bytes>;2441}24422443/** @name SpVersionRuntimeVersion */2444export interface SpVersionRuntimeVersion extends Struct {2445 readonly specName: Text;2446 readonly implName: Text;2447 readonly authoringVersion: u32;2448 readonly specVersion: u32;2449 readonly implVersion: u32;2450 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2451 readonly transactionVersion: u32;2452 readonly stateVersion: u8;2453}24542455/** @name UpDataStructsAccessMode */2456export interface UpDataStructsAccessMode extends Enum {2457 readonly isNormal: boolean;2458 readonly isAllowList: boolean;2459 readonly type: 'Normal' | 'AllowList';2460}24612462/** @name UpDataStructsCollection */2463export interface UpDataStructsCollection extends Struct {2464 readonly owner: AccountId32;2465 readonly mode: UpDataStructsCollectionMode;2466 readonly name: Vec<u16>;2467 readonly description: Vec<u16>;2468 readonly tokenPrefix: Bytes;2469 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2470 readonly limits: UpDataStructsCollectionLimits;2471 readonly permissions: UpDataStructsCollectionPermissions;2472 readonly externalCollection: bool;2473}24742475/** @name UpDataStructsCollectionLimits */2476export interface UpDataStructsCollectionLimits extends Struct {2477 readonly accountTokenOwnershipLimit: Option<u32>;2478 readonly sponsoredDataSize: Option<u32>;2479 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2480 readonly tokenLimit: Option<u32>;2481 readonly sponsorTransferTimeout: Option<u32>;2482 readonly sponsorApproveTimeout: Option<u32>;2483 readonly ownerCanTransfer: Option<bool>;2484 readonly ownerCanDestroy: Option<bool>;2485 readonly transfersEnabled: Option<bool>;2486}24872488/** @name UpDataStructsCollectionMode */2489export interface UpDataStructsCollectionMode extends Enum {2490 readonly isNft: boolean;2491 readonly isFungible: boolean;2492 readonly asFungible: u8;2493 readonly isReFungible: boolean;2494 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2495}24962497/** @name UpDataStructsCollectionPermissions */2498export interface UpDataStructsCollectionPermissions extends Struct {2499 readonly access: Option<UpDataStructsAccessMode>;2500 readonly mintMode: Option<bool>;2501 readonly nesting: Option<UpDataStructsNestingPermissions>;2502}25032504/** @name UpDataStructsCollectionStats */2505export interface UpDataStructsCollectionStats extends Struct {2506 readonly created: u32;2507 readonly destroyed: u32;2508 readonly alive: u32;2509}25102511/** @name UpDataStructsCreateCollectionData */2512export interface UpDataStructsCreateCollectionData extends Struct {2513 readonly mode: UpDataStructsCollectionMode;2514 readonly access: Option<UpDataStructsAccessMode>;2515 readonly name: Vec<u16>;2516 readonly description: Vec<u16>;2517 readonly tokenPrefix: Bytes;2518 readonly pendingSponsor: Option<AccountId32>;2519 readonly limits: Option<UpDataStructsCollectionLimits>;2520 readonly permissions: Option<UpDataStructsCollectionPermissions>;2521 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2522 readonly properties: Vec<UpDataStructsProperty>;2523}25242525/** @name UpDataStructsCreateFungibleData */2526export interface UpDataStructsCreateFungibleData extends Struct {2527 readonly value: u128;2528}25292530/** @name UpDataStructsCreateItemData */2531export interface UpDataStructsCreateItemData extends Enum {2532 readonly isNft: boolean;2533 readonly asNft: UpDataStructsCreateNftData;2534 readonly isFungible: boolean;2535 readonly asFungible: UpDataStructsCreateFungibleData;2536 readonly isReFungible: boolean;2537 readonly asReFungible: UpDataStructsCreateReFungibleData;2538 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2539}25402541/** @name UpDataStructsCreateItemExData */2542export interface UpDataStructsCreateItemExData extends Enum {2543 readonly isNft: boolean;2544 readonly asNft: Vec<UpDataStructsCreateNftExData>;2545 readonly isFungible: boolean;2546 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2547 readonly isRefungibleMultipleItems: boolean;2548 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2549 readonly isRefungibleMultipleOwners: boolean;2550 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2551 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2552}25532554/** @name UpDataStructsCreateNftData */2555export interface UpDataStructsCreateNftData extends Struct {2556 readonly properties: Vec<UpDataStructsProperty>;2557}25582559/** @name UpDataStructsCreateNftExData */2560export interface UpDataStructsCreateNftExData extends Struct {2561 readonly properties: Vec<UpDataStructsProperty>;2562 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2563}25642565/** @name UpDataStructsCreateReFungibleData */2566export interface UpDataStructsCreateReFungibleData extends Struct {2567 readonly pieces: u128;2568 readonly properties: Vec<UpDataStructsProperty>;2569}25702571/** @name UpDataStructsCreateRefungibleExMultipleOwners */2572export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2573 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2574 readonly properties: Vec<UpDataStructsProperty>;2575}25762577/** @name UpDataStructsCreateRefungibleExSingleOwner */2578export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2579 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2580 readonly pieces: u128;2581 readonly properties: Vec<UpDataStructsProperty>;2582}25832584/** @name UpDataStructsNestingPermissions */2585export interface UpDataStructsNestingPermissions extends Struct {2586 readonly tokenOwner: bool;2587 readonly collectionAdmin: bool;2588 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2589}25902591/** @name UpDataStructsOwnerRestrictedSet */2592export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25932594/** @name UpDataStructsProperties */2595export interface UpDataStructsProperties extends Struct {2596 readonly map: UpDataStructsPropertiesMapBoundedVec;2597 readonly consumedSpace: u32;2598 readonly spaceLimit: u32;2599}26002601/** @name UpDataStructsPropertiesMapBoundedVec */2602export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}26032604/** @name UpDataStructsPropertiesMapPropertyPermission */2605export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}26062607/** @name UpDataStructsProperty */2608export interface UpDataStructsProperty extends Struct {2609 readonly key: Bytes;2610 readonly value: Bytes;2611}26122613/** @name UpDataStructsPropertyKeyPermission */2614export interface UpDataStructsPropertyKeyPermission extends Struct {2615 readonly key: Bytes;2616 readonly permission: UpDataStructsPropertyPermission;2617}26182619/** @name UpDataStructsPropertyPermission */2620export interface UpDataStructsPropertyPermission extends Struct {2621 readonly mutable: bool;2622 readonly collectionAdmin: bool;2623 readonly tokenOwner: bool;2624}26252626/** @name UpDataStructsPropertyScope */2627export interface UpDataStructsPropertyScope extends Enum {2628 readonly isNone: boolean;2629 readonly isRmrk: boolean;2630 readonly isEth: boolean;2631 readonly type: 'None' | 'Rmrk' | 'Eth';2632}26332634/** @name UpDataStructsRpcCollection */2635export interface UpDataStructsRpcCollection extends Struct {2636 readonly owner: AccountId32;2637 readonly mode: UpDataStructsCollectionMode;2638 readonly name: Vec<u16>;2639 readonly description: Vec<u16>;2640 readonly tokenPrefix: Bytes;2641 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2642 readonly limits: UpDataStructsCollectionLimits;2643 readonly permissions: UpDataStructsCollectionPermissions;2644 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2645 readonly properties: Vec<UpDataStructsProperty>;2646 readonly readOnly: bool;2647}26482649/** @name UpDataStructsSponsoringRateLimit */2650export interface UpDataStructsSponsoringRateLimit extends Enum {2651 readonly isSponsoringDisabled: boolean;2652 readonly isBlocks: boolean;2653 readonly asBlocks: u32;2654 readonly type: 'SponsoringDisabled' | 'Blocks';2655}26562657/** @name UpDataStructsSponsorshipStateAccountId32 */2658export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {2659 readonly isDisabled: boolean;2660 readonly isUnconfirmed: boolean;2661 readonly asUnconfirmed: AccountId32;2662 readonly isConfirmed: boolean;2663 readonly asConfirmed: AccountId32;2664 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2665}26662667/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */2668export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {2669 readonly isDisabled: boolean;2670 readonly isUnconfirmed: boolean;2671 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2672 readonly isConfirmed: boolean;2673 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;2674 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2675}26762677/** @name UpDataStructsTokenChild */2678export interface UpDataStructsTokenChild extends Struct {2679 readonly token: u32;2680 readonly collection: u32;2681}26822683/** @name UpDataStructsTokenData */2684export interface UpDataStructsTokenData extends Struct {2685 readonly properties: Vec<UpDataStructsProperty>;2686 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2687 readonly pieces: u128;2688}26892690/** @name XcmDoubleEncoded */2691export interface XcmDoubleEncoded extends Struct {2692 readonly encoded: Bytes;2693}26942695/** @name XcmV0Junction */2696export interface XcmV0Junction extends Enum {2697 readonly isParent: boolean;2698 readonly isParachain: boolean;2699 readonly asParachain: Compact<u32>;2700 readonly isAccountId32: boolean;2701 readonly asAccountId32: {2702 readonly network: XcmV0JunctionNetworkId;2703 readonly id: U8aFixed;2704 } & Struct;2705 readonly isAccountIndex64: boolean;2706 readonly asAccountIndex64: {2707 readonly network: XcmV0JunctionNetworkId;2708 readonly index: Compact<u64>;2709 } & Struct;2710 readonly isAccountKey20: boolean;2711 readonly asAccountKey20: {2712 readonly network: XcmV0JunctionNetworkId;2713 readonly key: U8aFixed;2714 } & Struct;2715 readonly isPalletInstance: boolean;2716 readonly asPalletInstance: u8;2717 readonly isGeneralIndex: boolean;2718 readonly asGeneralIndex: Compact<u128>;2719 readonly isGeneralKey: boolean;2720 readonly asGeneralKey: Bytes;2721 readonly isOnlyChild: boolean;2722 readonly isPlurality: boolean;2723 readonly asPlurality: {2724 readonly id: XcmV0JunctionBodyId;2725 readonly part: XcmV0JunctionBodyPart;2726 } & Struct;2727 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';2728}27292730/** @name XcmV0JunctionBodyId */2731export interface XcmV0JunctionBodyId extends Enum {2732 readonly isUnit: boolean;2733 readonly isNamed: boolean;2734 readonly asNamed: Bytes;2735 readonly isIndex: boolean;2736 readonly asIndex: Compact<u32>;2737 readonly isExecutive: boolean;2738 readonly isTechnical: boolean;2739 readonly isLegislative: boolean;2740 readonly isJudicial: boolean;2741 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';2742}27432744/** @name XcmV0JunctionBodyPart */2745export interface XcmV0JunctionBodyPart extends Enum {2746 readonly isVoice: boolean;2747 readonly isMembers: boolean;2748 readonly asMembers: {2749 readonly count: Compact<u32>;2750 } & Struct;2751 readonly isFraction: boolean;2752 readonly asFraction: {2753 readonly nom: Compact<u32>;2754 readonly denom: Compact<u32>;2755 } & Struct;2756 readonly isAtLeastProportion: boolean;2757 readonly asAtLeastProportion: {2758 readonly nom: Compact<u32>;2759 readonly denom: Compact<u32>;2760 } & Struct;2761 readonly isMoreThanProportion: boolean;2762 readonly asMoreThanProportion: {2763 readonly nom: Compact<u32>;2764 readonly denom: Compact<u32>;2765 } & Struct;2766 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';2767}27682769/** @name XcmV0JunctionNetworkId */2770export interface XcmV0JunctionNetworkId extends Enum {2771 readonly isAny: boolean;2772 readonly isNamed: boolean;2773 readonly asNamed: Bytes;2774 readonly isPolkadot: boolean;2775 readonly isKusama: boolean;2776 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';2777}27782779/** @name XcmV0MultiAsset */2780export interface XcmV0MultiAsset extends Enum {2781 readonly isNone: boolean;2782 readonly isAll: boolean;2783 readonly isAllFungible: boolean;2784 readonly isAllNonFungible: boolean;2785 readonly isAllAbstractFungible: boolean;2786 readonly asAllAbstractFungible: {2787 readonly id: Bytes;2788 } & Struct;2789 readonly isAllAbstractNonFungible: boolean;2790 readonly asAllAbstractNonFungible: {2791 readonly class: Bytes;2792 } & Struct;2793 readonly isAllConcreteFungible: boolean;2794 readonly asAllConcreteFungible: {2795 readonly id: XcmV0MultiLocation;2796 } & Struct;2797 readonly isAllConcreteNonFungible: boolean;2798 readonly asAllConcreteNonFungible: {2799 readonly class: XcmV0MultiLocation;2800 } & Struct;2801 readonly isAbstractFungible: boolean;2802 readonly asAbstractFungible: {2803 readonly id: Bytes;2804 readonly amount: Compact<u128>;2805 } & Struct;2806 readonly isAbstractNonFungible: boolean;2807 readonly asAbstractNonFungible: {2808 readonly class: Bytes;2809 readonly instance: XcmV1MultiassetAssetInstance;2810 } & Struct;2811 readonly isConcreteFungible: boolean;2812 readonly asConcreteFungible: {2813 readonly id: XcmV0MultiLocation;2814 readonly amount: Compact<u128>;2815 } & Struct;2816 readonly isConcreteNonFungible: boolean;2817 readonly asConcreteNonFungible: {2818 readonly class: XcmV0MultiLocation;2819 readonly instance: XcmV1MultiassetAssetInstance;2820 } & Struct;2821 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';2822}28232824/** @name XcmV0MultiLocation */2825export interface XcmV0MultiLocation extends Enum {2826 readonly isNull: boolean;2827 readonly isX1: boolean;2828 readonly asX1: XcmV0Junction;2829 readonly isX2: boolean;2830 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;2831 readonly isX3: boolean;2832 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2833 readonly isX4: boolean;2834 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2835 readonly isX5: boolean;2836 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2837 readonly isX6: boolean;2838 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2839 readonly isX7: boolean;2840 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2841 readonly isX8: boolean;2842 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;2843 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';2844}28452846/** @name XcmV0Order */2847export interface XcmV0Order extends Enum {2848 readonly isNull: boolean;2849 readonly isDepositAsset: boolean;2850 readonly asDepositAsset: {2851 readonly assets: Vec<XcmV0MultiAsset>;2852 readonly dest: XcmV0MultiLocation;2853 } & Struct;2854 readonly isDepositReserveAsset: boolean;2855 readonly asDepositReserveAsset: {2856 readonly assets: Vec<XcmV0MultiAsset>;2857 readonly dest: XcmV0MultiLocation;2858 readonly effects: Vec<XcmV0Order>;2859 } & Struct;2860 readonly isExchangeAsset: boolean;2861 readonly asExchangeAsset: {2862 readonly give: Vec<XcmV0MultiAsset>;2863 readonly receive: Vec<XcmV0MultiAsset>;2864 } & Struct;2865 readonly isInitiateReserveWithdraw: boolean;2866 readonly asInitiateReserveWithdraw: {2867 readonly assets: Vec<XcmV0MultiAsset>;2868 readonly reserve: XcmV0MultiLocation;2869 readonly effects: Vec<XcmV0Order>;2870 } & Struct;2871 readonly isInitiateTeleport: boolean;2872 readonly asInitiateTeleport: {2873 readonly assets: Vec<XcmV0MultiAsset>;2874 readonly dest: XcmV0MultiLocation;2875 readonly effects: Vec<XcmV0Order>;2876 } & Struct;2877 readonly isQueryHolding: boolean;2878 readonly asQueryHolding: {2879 readonly queryId: Compact<u64>;2880 readonly dest: XcmV0MultiLocation;2881 readonly assets: Vec<XcmV0MultiAsset>;2882 } & Struct;2883 readonly isBuyExecution: boolean;2884 readonly asBuyExecution: {2885 readonly fees: XcmV0MultiAsset;2886 readonly weight: u64;2887 readonly debt: u64;2888 readonly haltOnError: bool;2889 readonly xcm: Vec<XcmV0Xcm>;2890 } & Struct;2891 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2892}28932894/** @name XcmV0OriginKind */2895export interface XcmV0OriginKind extends Enum {2896 readonly isNative: boolean;2897 readonly isSovereignAccount: boolean;2898 readonly isSuperuser: boolean;2899 readonly isXcm: boolean;2900 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';2901}29022903/** @name XcmV0Response */2904export interface XcmV0Response extends Enum {2905 readonly isAssets: boolean;2906 readonly asAssets: Vec<XcmV0MultiAsset>;2907 readonly type: 'Assets';2908}29092910/** @name XcmV0Xcm */2911export interface XcmV0Xcm extends Enum {2912 readonly isWithdrawAsset: boolean;2913 readonly asWithdrawAsset: {2914 readonly assets: Vec<XcmV0MultiAsset>;2915 readonly effects: Vec<XcmV0Order>;2916 } & Struct;2917 readonly isReserveAssetDeposit: boolean;2918 readonly asReserveAssetDeposit: {2919 readonly assets: Vec<XcmV0MultiAsset>;2920 readonly effects: Vec<XcmV0Order>;2921 } & Struct;2922 readonly isTeleportAsset: boolean;2923 readonly asTeleportAsset: {2924 readonly assets: Vec<XcmV0MultiAsset>;2925 readonly effects: Vec<XcmV0Order>;2926 } & Struct;2927 readonly isQueryResponse: boolean;2928 readonly asQueryResponse: {2929 readonly queryId: Compact<u64>;2930 readonly response: XcmV0Response;2931 } & Struct;2932 readonly isTransferAsset: boolean;2933 readonly asTransferAsset: {2934 readonly assets: Vec<XcmV0MultiAsset>;2935 readonly dest: XcmV0MultiLocation;2936 } & Struct;2937 readonly isTransferReserveAsset: boolean;2938 readonly asTransferReserveAsset: {2939 readonly assets: Vec<XcmV0MultiAsset>;2940 readonly dest: XcmV0MultiLocation;2941 readonly effects: Vec<XcmV0Order>;2942 } & Struct;2943 readonly isTransact: boolean;2944 readonly asTransact: {2945 readonly originType: XcmV0OriginKind;2946 readonly requireWeightAtMost: u64;2947 readonly call: XcmDoubleEncoded;2948 } & Struct;2949 readonly isHrmpNewChannelOpenRequest: boolean;2950 readonly asHrmpNewChannelOpenRequest: {2951 readonly sender: Compact<u32>;2952 readonly maxMessageSize: Compact<u32>;2953 readonly maxCapacity: Compact<u32>;2954 } & Struct;2955 readonly isHrmpChannelAccepted: boolean;2956 readonly asHrmpChannelAccepted: {2957 readonly recipient: Compact<u32>;2958 } & Struct;2959 readonly isHrmpChannelClosing: boolean;2960 readonly asHrmpChannelClosing: {2961 readonly initiator: Compact<u32>;2962 readonly sender: Compact<u32>;2963 readonly recipient: Compact<u32>;2964 } & Struct;2965 readonly isRelayedFrom: boolean;2966 readonly asRelayedFrom: {2967 readonly who: XcmV0MultiLocation;2968 readonly message: XcmV0Xcm;2969 } & Struct;2970 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2971}29722973/** @name XcmV1Junction */2974export interface XcmV1Junction extends Enum {2975 readonly isParachain: boolean;2976 readonly asParachain: Compact<u32>;2977 readonly isAccountId32: boolean;2978 readonly asAccountId32: {2979 readonly network: XcmV0JunctionNetworkId;2980 readonly id: U8aFixed;2981 } & Struct;2982 readonly isAccountIndex64: boolean;2983 readonly asAccountIndex64: {2984 readonly network: XcmV0JunctionNetworkId;2985 readonly index: Compact<u64>;2986 } & Struct;2987 readonly isAccountKey20: boolean;2988 readonly asAccountKey20: {2989 readonly network: XcmV0JunctionNetworkId;2990 readonly key: U8aFixed;2991 } & Struct;2992 readonly isPalletInstance: boolean;2993 readonly asPalletInstance: u8;2994 readonly isGeneralIndex: boolean;2995 readonly asGeneralIndex: Compact<u128>;2996 readonly isGeneralKey: boolean;2997 readonly asGeneralKey: Bytes;2998 readonly isOnlyChild: boolean;2999 readonly isPlurality: boolean;3000 readonly asPlurality: {3001 readonly id: XcmV0JunctionBodyId;3002 readonly part: XcmV0JunctionBodyPart;3003 } & Struct;3004 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3005}30063007/** @name XcmV1MultiAsset */3008export interface XcmV1MultiAsset extends Struct {3009 readonly id: XcmV1MultiassetAssetId;3010 readonly fun: XcmV1MultiassetFungibility;3011}30123013/** @name XcmV1MultiassetAssetId */3014export interface XcmV1MultiassetAssetId extends Enum {3015 readonly isConcrete: boolean;3016 readonly asConcrete: XcmV1MultiLocation;3017 readonly isAbstract: boolean;3018 readonly asAbstract: Bytes;3019 readonly type: 'Concrete' | 'Abstract';3020}30213022/** @name XcmV1MultiassetAssetInstance */3023export interface XcmV1MultiassetAssetInstance extends Enum {3024 readonly isUndefined: boolean;3025 readonly isIndex: boolean;3026 readonly asIndex: Compact<u128>;3027 readonly isArray4: boolean;3028 readonly asArray4: U8aFixed;3029 readonly isArray8: boolean;3030 readonly asArray8: U8aFixed;3031 readonly isArray16: boolean;3032 readonly asArray16: U8aFixed;3033 readonly isArray32: boolean;3034 readonly asArray32: U8aFixed;3035 readonly isBlob: boolean;3036 readonly asBlob: Bytes;3037 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3038}30393040/** @name XcmV1MultiassetFungibility */3041export interface XcmV1MultiassetFungibility extends Enum {3042 readonly isFungible: boolean;3043 readonly asFungible: Compact<u128>;3044 readonly isNonFungible: boolean;3045 readonly asNonFungible: XcmV1MultiassetAssetInstance;3046 readonly type: 'Fungible' | 'NonFungible';3047}30483049/** @name XcmV1MultiassetMultiAssetFilter */3050export interface XcmV1MultiassetMultiAssetFilter extends Enum {3051 readonly isDefinite: boolean;3052 readonly asDefinite: XcmV1MultiassetMultiAssets;3053 readonly isWild: boolean;3054 readonly asWild: XcmV1MultiassetWildMultiAsset;3055 readonly type: 'Definite' | 'Wild';3056}30573058/** @name XcmV1MultiassetMultiAssets */3059export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}30603061/** @name XcmV1MultiassetWildFungibility */3062export interface XcmV1MultiassetWildFungibility extends Enum {3063 readonly isFungible: boolean;3064 readonly isNonFungible: boolean;3065 readonly type: 'Fungible' | 'NonFungible';3066}30673068/** @name XcmV1MultiassetWildMultiAsset */3069export interface XcmV1MultiassetWildMultiAsset extends Enum {3070 readonly isAll: boolean;3071 readonly isAllOf: boolean;3072 readonly asAllOf: {3073 readonly id: XcmV1MultiassetAssetId;3074 readonly fun: XcmV1MultiassetWildFungibility;3075 } & Struct;3076 readonly type: 'All' | 'AllOf';3077}30783079/** @name XcmV1MultiLocation */3080export interface XcmV1MultiLocation extends Struct {3081 readonly parents: u8;3082 readonly interior: XcmV1MultilocationJunctions;3083}30843085/** @name XcmV1MultilocationJunctions */3086export interface XcmV1MultilocationJunctions extends Enum {3087 readonly isHere: boolean;3088 readonly isX1: boolean;3089 readonly asX1: XcmV1Junction;3090 readonly isX2: boolean;3091 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3092 readonly isX3: boolean;3093 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3094 readonly isX4: boolean;3095 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3096 readonly isX5: boolean;3097 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3098 readonly isX6: boolean;3099 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3100 readonly isX7: boolean;3101 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3102 readonly isX8: boolean;3103 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3104 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3105}31063107/** @name XcmV1Order */3108export interface XcmV1Order extends Enum {3109 readonly isNoop: boolean;3110 readonly isDepositAsset: boolean;3111 readonly asDepositAsset: {3112 readonly assets: XcmV1MultiassetMultiAssetFilter;3113 readonly maxAssets: u32;3114 readonly beneficiary: XcmV1MultiLocation;3115 } & Struct;3116 readonly isDepositReserveAsset: boolean;3117 readonly asDepositReserveAsset: {3118 readonly assets: XcmV1MultiassetMultiAssetFilter;3119 readonly maxAssets: u32;3120 readonly dest: XcmV1MultiLocation;3121 readonly effects: Vec<XcmV1Order>;3122 } & Struct;3123 readonly isExchangeAsset: boolean;3124 readonly asExchangeAsset: {3125 readonly give: XcmV1MultiassetMultiAssetFilter;3126 readonly receive: XcmV1MultiassetMultiAssets;3127 } & Struct;3128 readonly isInitiateReserveWithdraw: boolean;3129 readonly asInitiateReserveWithdraw: {3130 readonly assets: XcmV1MultiassetMultiAssetFilter;3131 readonly reserve: XcmV1MultiLocation;3132 readonly effects: Vec<XcmV1Order>;3133 } & Struct;3134 readonly isInitiateTeleport: boolean;3135 readonly asInitiateTeleport: {3136 readonly assets: XcmV1MultiassetMultiAssetFilter;3137 readonly dest: XcmV1MultiLocation;3138 readonly effects: Vec<XcmV1Order>;3139 } & Struct;3140 readonly isQueryHolding: boolean;3141 readonly asQueryHolding: {3142 readonly queryId: Compact<u64>;3143 readonly dest: XcmV1MultiLocation;3144 readonly assets: XcmV1MultiassetMultiAssetFilter;3145 } & Struct;3146 readonly isBuyExecution: boolean;3147 readonly asBuyExecution: {3148 readonly fees: XcmV1MultiAsset;3149 readonly weight: u64;3150 readonly debt: u64;3151 readonly haltOnError: bool;3152 readonly instructions: Vec<XcmV1Xcm>;3153 } & Struct;3154 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3155}31563157/** @name XcmV1Response */3158export interface XcmV1Response extends Enum {3159 readonly isAssets: boolean;3160 readonly asAssets: XcmV1MultiassetMultiAssets;3161 readonly isVersion: boolean;3162 readonly asVersion: u32;3163 readonly type: 'Assets' | 'Version';3164}31653166/** @name XcmV1Xcm */3167export interface XcmV1Xcm extends Enum {3168 readonly isWithdrawAsset: boolean;3169 readonly asWithdrawAsset: {3170 readonly assets: XcmV1MultiassetMultiAssets;3171 readonly effects: Vec<XcmV1Order>;3172 } & Struct;3173 readonly isReserveAssetDeposited: boolean;3174 readonly asReserveAssetDeposited: {3175 readonly assets: XcmV1MultiassetMultiAssets;3176 readonly effects: Vec<XcmV1Order>;3177 } & Struct;3178 readonly isReceiveTeleportedAsset: boolean;3179 readonly asReceiveTeleportedAsset: {3180 readonly assets: XcmV1MultiassetMultiAssets;3181 readonly effects: Vec<XcmV1Order>;3182 } & Struct;3183 readonly isQueryResponse: boolean;3184 readonly asQueryResponse: {3185 readonly queryId: Compact<u64>;3186 readonly response: XcmV1Response;3187 } & Struct;3188 readonly isTransferAsset: boolean;3189 readonly asTransferAsset: {3190 readonly assets: XcmV1MultiassetMultiAssets;3191 readonly beneficiary: XcmV1MultiLocation;3192 } & Struct;3193 readonly isTransferReserveAsset: boolean;3194 readonly asTransferReserveAsset: {3195 readonly assets: XcmV1MultiassetMultiAssets;3196 readonly dest: XcmV1MultiLocation;3197 readonly effects: Vec<XcmV1Order>;3198 } & Struct;3199 readonly isTransact: boolean;3200 readonly asTransact: {3201 readonly originType: XcmV0OriginKind;3202 readonly requireWeightAtMost: u64;3203 readonly call: XcmDoubleEncoded;3204 } & Struct;3205 readonly isHrmpNewChannelOpenRequest: boolean;3206 readonly asHrmpNewChannelOpenRequest: {3207 readonly sender: Compact<u32>;3208 readonly maxMessageSize: Compact<u32>;3209 readonly maxCapacity: Compact<u32>;3210 } & Struct;3211 readonly isHrmpChannelAccepted: boolean;3212 readonly asHrmpChannelAccepted: {3213 readonly recipient: Compact<u32>;3214 } & Struct;3215 readonly isHrmpChannelClosing: boolean;3216 readonly asHrmpChannelClosing: {3217 readonly initiator: Compact<u32>;3218 readonly sender: Compact<u32>;3219 readonly recipient: Compact<u32>;3220 } & Struct;3221 readonly isRelayedFrom: boolean;3222 readonly asRelayedFrom: {3223 readonly who: XcmV1MultilocationJunctions;3224 readonly message: XcmV1Xcm;3225 } & Struct;3226 readonly isSubscribeVersion: boolean;3227 readonly asSubscribeVersion: {3228 readonly queryId: Compact<u64>;3229 readonly maxResponseWeight: Compact<u64>;3230 } & Struct;3231 readonly isUnsubscribeVersion: boolean;3232 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3233}32343235/** @name XcmV2Instruction */3236export interface XcmV2Instruction extends Enum {3237 readonly isWithdrawAsset: boolean;3238 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3239 readonly isReserveAssetDeposited: boolean;3240 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3241 readonly isReceiveTeleportedAsset: boolean;3242 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3243 readonly isQueryResponse: boolean;3244 readonly asQueryResponse: {3245 readonly queryId: Compact<u64>;3246 readonly response: XcmV2Response;3247 readonly maxWeight: Compact<u64>;3248 } & Struct;3249 readonly isTransferAsset: boolean;3250 readonly asTransferAsset: {3251 readonly assets: XcmV1MultiassetMultiAssets;3252 readonly beneficiary: XcmV1MultiLocation;3253 } & Struct;3254 readonly isTransferReserveAsset: boolean;3255 readonly asTransferReserveAsset: {3256 readonly assets: XcmV1MultiassetMultiAssets;3257 readonly dest: XcmV1MultiLocation;3258 readonly xcm: XcmV2Xcm;3259 } & Struct;3260 readonly isTransact: boolean;3261 readonly asTransact: {3262 readonly originType: XcmV0OriginKind;3263 readonly requireWeightAtMost: Compact<u64>;3264 readonly call: XcmDoubleEncoded;3265 } & Struct;3266 readonly isHrmpNewChannelOpenRequest: boolean;3267 readonly asHrmpNewChannelOpenRequest: {3268 readonly sender: Compact<u32>;3269 readonly maxMessageSize: Compact<u32>;3270 readonly maxCapacity: Compact<u32>;3271 } & Struct;3272 readonly isHrmpChannelAccepted: boolean;3273 readonly asHrmpChannelAccepted: {3274 readonly recipient: Compact<u32>;3275 } & Struct;3276 readonly isHrmpChannelClosing: boolean;3277 readonly asHrmpChannelClosing: {3278 readonly initiator: Compact<u32>;3279 readonly sender: Compact<u32>;3280 readonly recipient: Compact<u32>;3281 } & Struct;3282 readonly isClearOrigin: boolean;3283 readonly isDescendOrigin: boolean;3284 readonly asDescendOrigin: XcmV1MultilocationJunctions;3285 readonly isReportError: boolean;3286 readonly asReportError: {3287 readonly queryId: Compact<u64>;3288 readonly dest: XcmV1MultiLocation;3289 readonly maxResponseWeight: Compact<u64>;3290 } & Struct;3291 readonly isDepositAsset: boolean;3292 readonly asDepositAsset: {3293 readonly assets: XcmV1MultiassetMultiAssetFilter;3294 readonly maxAssets: Compact<u32>;3295 readonly beneficiary: XcmV1MultiLocation;3296 } & Struct;3297 readonly isDepositReserveAsset: boolean;3298 readonly asDepositReserveAsset: {3299 readonly assets: XcmV1MultiassetMultiAssetFilter;3300 readonly maxAssets: Compact<u32>;3301 readonly dest: XcmV1MultiLocation;3302 readonly xcm: XcmV2Xcm;3303 } & Struct;3304 readonly isExchangeAsset: boolean;3305 readonly asExchangeAsset: {3306 readonly give: XcmV1MultiassetMultiAssetFilter;3307 readonly receive: XcmV1MultiassetMultiAssets;3308 } & Struct;3309 readonly isInitiateReserveWithdraw: boolean;3310 readonly asInitiateReserveWithdraw: {3311 readonly assets: XcmV1MultiassetMultiAssetFilter;3312 readonly reserve: XcmV1MultiLocation;3313 readonly xcm: XcmV2Xcm;3314 } & Struct;3315 readonly isInitiateTeleport: boolean;3316 readonly asInitiateTeleport: {3317 readonly assets: XcmV1MultiassetMultiAssetFilter;3318 readonly dest: XcmV1MultiLocation;3319 readonly xcm: XcmV2Xcm;3320 } & Struct;3321 readonly isQueryHolding: boolean;3322 readonly asQueryHolding: {3323 readonly queryId: Compact<u64>;3324 readonly dest: XcmV1MultiLocation;3325 readonly assets: XcmV1MultiassetMultiAssetFilter;3326 readonly maxResponseWeight: Compact<u64>;3327 } & Struct;3328 readonly isBuyExecution: boolean;3329 readonly asBuyExecution: {3330 readonly fees: XcmV1MultiAsset;3331 readonly weightLimit: XcmV2WeightLimit;3332 } & Struct;3333 readonly isRefundSurplus: boolean;3334 readonly isSetErrorHandler: boolean;3335 readonly asSetErrorHandler: XcmV2Xcm;3336 readonly isSetAppendix: boolean;3337 readonly asSetAppendix: XcmV2Xcm;3338 readonly isClearError: boolean;3339 readonly isClaimAsset: boolean;3340 readonly asClaimAsset: {3341 readonly assets: XcmV1MultiassetMultiAssets;3342 readonly ticket: XcmV1MultiLocation;3343 } & Struct;3344 readonly isTrap: boolean;3345 readonly asTrap: Compact<u64>;3346 readonly isSubscribeVersion: boolean;3347 readonly asSubscribeVersion: {3348 readonly queryId: Compact<u64>;3349 readonly maxResponseWeight: Compact<u64>;3350 } & Struct;3351 readonly isUnsubscribeVersion: boolean;3352 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';3353}33543355/** @name XcmV2Response */3356export interface XcmV2Response extends Enum {3357 readonly isNull: boolean;3358 readonly isAssets: boolean;3359 readonly asAssets: XcmV1MultiassetMultiAssets;3360 readonly isExecutionResult: boolean;3361 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3362 readonly isVersion: boolean;3363 readonly asVersion: u32;3364 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3365}33663367/** @name XcmV2TraitsError */3368export interface XcmV2TraitsError extends Enum {3369 readonly isOverflow: boolean;3370 readonly isUnimplemented: boolean;3371 readonly isUntrustedReserveLocation: boolean;3372 readonly isUntrustedTeleportLocation: boolean;3373 readonly isMultiLocationFull: boolean;3374 readonly isMultiLocationNotInvertible: boolean;3375 readonly isBadOrigin: boolean;3376 readonly isInvalidLocation: boolean;3377 readonly isAssetNotFound: boolean;3378 readonly isFailedToTransactAsset: boolean;3379 readonly isNotWithdrawable: boolean;3380 readonly isLocationCannotHold: boolean;3381 readonly isExceedsMaxMessageSize: boolean;3382 readonly isDestinationUnsupported: boolean;3383 readonly isTransport: boolean;3384 readonly isUnroutable: boolean;3385 readonly isUnknownClaim: boolean;3386 readonly isFailedToDecode: boolean;3387 readonly isMaxWeightInvalid: boolean;3388 readonly isNotHoldingFees: boolean;3389 readonly isTooExpensive: boolean;3390 readonly isTrap: boolean;3391 readonly asTrap: u64;3392 readonly isUnhandledXcmVersion: boolean;3393 readonly isWeightLimitReached: boolean;3394 readonly asWeightLimitReached: u64;3395 readonly isBarrier: boolean;3396 readonly isWeightNotComputable: boolean;3397 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';3398}33993400/** @name XcmV2TraitsOutcome */3401export interface XcmV2TraitsOutcome extends Enum {3402 readonly isComplete: boolean;3403 readonly asComplete: u64;3404 readonly isIncomplete: boolean;3405 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3406 readonly isError: boolean;3407 readonly asError: XcmV2TraitsError;3408 readonly type: 'Complete' | 'Incomplete' | 'Error';3409}34103411/** @name XcmV2WeightLimit */3412export interface XcmV2WeightLimit extends Enum {3413 readonly isUnlimited: boolean;3414 readonly isLimited: boolean;3415 readonly asLimited: Compact<u64>;3416 readonly type: 'Unlimited' | 'Limited';3417}34183419/** @name XcmV2Xcm */3420export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}34213422/** @name XcmVersionedMultiAssets */3423export interface XcmVersionedMultiAssets extends Enum {3424 readonly isV0: boolean;3425 readonly asV0: Vec<XcmV0MultiAsset>;3426 readonly isV1: boolean;3427 readonly asV1: XcmV1MultiassetMultiAssets;3428 readonly type: 'V0' | 'V1';3429}34303431/** @name XcmVersionedMultiLocation */3432export interface XcmVersionedMultiLocation extends Enum {3433 readonly isV0: boolean;3434 readonly asV0: XcmV0MultiLocation;3435 readonly isV1: boolean;3436 readonly asV1: XcmV1MultiLocation;3437 readonly type: 'V0' | 'V1';3438}34393440/** @name XcmVersionedXcm */3441export interface XcmVersionedXcm extends Enum {3442 readonly isV0: boolean;3443 readonly asV0: XcmV0Xcm;3444 readonly isV1: boolean;3445 readonly asV1: XcmV1Xcm;3446 readonly isV2: boolean;3447 readonly asV2: XcmV2Xcm;3448 readonly type: 'V0' | 'V1' | 'V2';3449}34503451export 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;