difftreelog
fixup generate ts types
in: master
11 files changed
Cargo.lockdiffbeforeafterboth5306 "pallet-balances",5306 "pallet-balances",5307 "pallet-common",5307 "pallet-common",5308 "pallet-evm",5308 "pallet-evm",5309 "pallet-evm-contract-helpers",5309 "pallet-randomness-collective-flip",5310 "pallet-randomness-collective-flip",5310 "pallet-timestamp",5311 "pallet-timestamp",5311 "pallet-unique",5312 "pallet-unique",pallets/app-promotion/Cargo.tomldiffbeforeafterboth118default-features = false118default-features = false119path = "../unique"119path = "../unique"120120121[dependencies.pallet-evm-contract-helpers]122default-features = false123path = "../evm-contract-helpers"121################################################################################124################################################################################122125123[dependencies]126[dependencies]pallets/app-promotion/src/types.rsdiffbeforeafterboth2use frame_support::{2use frame_support::{3 traits::LockableCurrency, WeakBoundedVec, Parameter, dispatch::DispatchResult, ensure,3 traits::LockableCurrency, WeakBoundedVec, Parameter, dispatch::DispatchResult, ensure,4};4};5use frame_system::Config;56use pallet_balances::{BalanceLock, Config as BalancesConfig, Pallet as PalletBalances};6use pallet_balances::{BalanceLock, Config as BalancesConfig, Pallet as PalletBalances};7use pallet_common::CollectionHandle;7use pallet_common::CollectionHandle;8use pallet_unique::{Event as UniqueEvent, Error as UniqueError};8use pallet_unique::{Event as UniqueEvent, Error as UniqueError};tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth264 [key: string]: AugmentedError<ApiType>;264 [key: string]: AugmentedError<ApiType>;265 };265 };266 evmContractHelpers: {266 evmContractHelpers: {267 /**268 * No pending sponsor for contract.269 **/270 NoPendingSponsor: AugmentedError<ApiType>;267 /**271 /**268 * This method is only executable by owner272 * This method is only executable by owner.269 **/273 **/270 NoPermission: AugmentedError<ApiType>;274 NoPermission: AugmentedError<ApiType>;271 /**275 /**272 * Generic error276 * Generic errortests/src/interfaces/augment-api-query.tsdiffbeforeafterboth9import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';9import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';11import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';11import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';12import 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';12import 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';13import type { Observable } from '@polkadot/types/types';13import type { Observable } from '@polkadot/types/types';141415export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;15export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;194 [key: string]: QueryableStorageEntry<ApiType>;194 [key: string]: QueryableStorageEntry<ApiType>;195 };195 };196 evmContractHelpers: {196 evmContractHelpers: {197 /**198 * Storage for users that allowed for sponsorship.199 * 200 * ### Usage201 * Prefer to delete record from storage if user no more allowed for sponsorship.202 * 203 * * **Key1** - contract address.204 * * **Key2** - user that allowed for sponsorship.205 * * **Value** - allowance for sponsorship.206 **/197 allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;207 allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;208 /**209 * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.210 * 211 * ### Usage212 * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.213 * 214 * * **Key** - contract address.215 * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.216 **/198 allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;217 allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;218 /**219 * Store owner for contract.220 * 221 * * **Key** - contract address.222 * * **Value** - owner for contract.223 **/199 owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;224 owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;200 selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;225 selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;226 /**227 * Storage for last sponsored block.228 * 229 * * **Key1** - contract address.230 * * **Key2** - sponsored user address.231 * * **Value** - last sponsored block number.232 **/201 sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;233 sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;234 /**235 * Store for contract sponsorship state.236 * 237 * * **Key** - contract address.238 * * **Value** - sponsorship state.239 **/240 sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;241 /**242 * Store for sponsoring mode.243 * 244 * ### Usage245 * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).246 * 247 * * **Key** - contract address.248 * * **Value** - [`sponsoring mode`](SponsoringModeT).249 **/202 sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;250 sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;251 /**252 * Storage for sponsoring rate limit in blocks.253 * 254 * * **Key** - contract address.255 * * **Value** - amount of sponsored blocks.256 **/203 sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;257 sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;204 /**258 /**205 * Generic query259 * Generic querytests/src/interfaces/augment-types.tsdiffbeforeafterboth5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';778import 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';8import 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';9import type { Data, StorageKey } from '@polkadot/types';9import type { Data, StorageKey } from '@polkadot/types';10import 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';10import 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';11import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';11import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';1298 UpDataStructsPropertyScope: UpDataStructsPropertyScope;1298 UpDataStructsPropertyScope: UpDataStructsPropertyScope;1299 UpDataStructsRpcCollection: UpDataStructsRpcCollection;1299 UpDataStructsRpcCollection: UpDataStructsRpcCollection;1300 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;1300 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;1301 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;1301 UpDataStructsSponsorshipStateAccountId32: UpDataStructsSponsorshipStateAccountId32;1302 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: UpDataStructsSponsorshipStateBasicCrossAccountIdRepr;1302 UpDataStructsTokenChild: UpDataStructsTokenChild;1303 UpDataStructsTokenChild: UpDataStructsTokenChild;1303 UpDataStructsTokenData: UpDataStructsTokenData;1304 UpDataStructsTokenData: UpDataStructsTokenData;1304 UpgradeGoAhead: UpgradeGoAhead;1305 UpgradeGoAhead: UpgradeGoAhead;tests/src/interfaces/default/types.tsdiffbeforeafterboth1173/** @name PalletEvmContractHelpersError */1173/** @name PalletEvmContractHelpersError */1174export interface PalletEvmContractHelpersError extends Enum {1174export interface PalletEvmContractHelpersError extends Enum {1175 readonly isNoPermission: boolean;1175 readonly isNoPermission: boolean;1176 readonly isNoPendingSponsor: boolean;1176 readonly type: 'NoPermission';1177 readonly type: 'NoPermission' | 'NoPendingSponsor';1177}1178}117811791179/** @name PalletEvmContractHelpersSponsoringModeT */1180/** @name PalletEvmContractHelpersSponsoringModeT */2465 readonly name: Vec<u16>;2466 readonly name: Vec<u16>;2466 readonly description: Vec<u16>;2467 readonly description: Vec<u16>;2467 readonly tokenPrefix: Bytes;2468 readonly tokenPrefix: Bytes;2468 readonly sponsorship: UpDataStructsSponsorshipState;2469 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2469 readonly limits: UpDataStructsCollectionLimits;2470 readonly limits: UpDataStructsCollectionLimits;2470 readonly permissions: UpDataStructsCollectionPermissions;2471 readonly permissions: UpDataStructsCollectionPermissions;2471 readonly externalCollection: bool;2472 readonly externalCollection: bool;2637 readonly name: Vec<u16>;2638 readonly name: Vec<u16>;2638 readonly description: Vec<u16>;2639 readonly description: Vec<u16>;2639 readonly tokenPrefix: Bytes;2640 readonly tokenPrefix: Bytes;2640 readonly sponsorship: UpDataStructsSponsorshipState;2641 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2641 readonly limits: UpDataStructsCollectionLimits;2642 readonly limits: UpDataStructsCollectionLimits;2642 readonly permissions: UpDataStructsCollectionPermissions;2643 readonly permissions: UpDataStructsCollectionPermissions;2643 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2644 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2653 readonly type: 'SponsoringDisabled' | 'Blocks';2654 readonly type: 'SponsoringDisabled' | 'Blocks';2654}2655}265526562656/** @name UpDataStructsSponsorshipState */2657/** @name UpDataStructsSponsorshipStateAccountId32 */2657export interface UpDataStructsSponsorshipState extends Enum {2658export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {2658 readonly isDisabled: boolean;2659 readonly isDisabled: boolean;2659 readonly isUnconfirmed: boolean;2660 readonly isUnconfirmed: boolean;2660 readonly asUnconfirmed: AccountId32;2661 readonly asUnconfirmed: AccountId32;2663 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2664 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2664}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}266526762666/** @name UpDataStructsTokenChild */2677/** @name UpDataStructsTokenChild */2667export interface UpDataStructsTokenChild extends Struct {2678export interface UpDataStructsTokenChild extends Struct {tests/src/interfaces/lookup.tsdiffbeforeafterboth2902 name: 'Vec<u16>',2902 name: 'Vec<u16>',2903 description: 'Vec<u16>',2903 description: 'Vec<u16>',2904 tokenPrefix: 'Bytes',2904 tokenPrefix: 'Bytes',2905 sponsorship: 'UpDataStructsSponsorshipState',2905 sponsorship: 'UpDataStructsSponsorshipStateAccountId32',2906 limits: 'UpDataStructsCollectionLimits',2906 limits: 'UpDataStructsCollectionLimits',2907 permissions: 'UpDataStructsCollectionPermissions',2907 permissions: 'UpDataStructsCollectionPermissions',2908 externalCollection: 'bool'2908 externalCollection: 'bool'2909 },2909 },2910 /**2910 /**2911 * Lookup361: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2911 * Lookup361: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2912 **/2912 **/2913 UpDataStructsSponsorshipState: {2913 UpDataStructsSponsorshipStateAccountId32: {2914 _enum: {2914 _enum: {2915 Disabled: 'Null',2915 Disabled: 'Null',2916 Unconfirmed: 'AccountId32',2916 Unconfirmed: 'AccountId32',2969 name: 'Vec<u16>',2969 name: 'Vec<u16>',2970 description: 'Vec<u16>',2970 description: 'Vec<u16>',2971 tokenPrefix: 'Bytes',2971 tokenPrefix: 'Bytes',2972 sponsorship: 'UpDataStructsSponsorshipState',2972 sponsorship: 'UpDataStructsSponsorshipStateAccountId32',2973 limits: 'UpDataStructsCollectionLimits',2973 limits: 'UpDataStructsCollectionLimits',2974 permissions: 'UpDataStructsCollectionPermissions',2974 permissions: 'UpDataStructsCollectionPermissions',2975 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2975 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',3185 PalletEvmCoderSubstrateError: {3185 PalletEvmCoderSubstrateError: {3186 _enum: ['OutOfGas', 'OutOfFund']3186 _enum: ['OutOfGas', 'OutOfFund']3187 },3187 },3188 /**3189 * Lookup431: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3190 **/3191 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3192 _enum: {3193 Disabled: 'Null',3194 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',3195 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'3196 }3197 },3188 /**3198 /**3189 * Lookup431: pallet_evm_contract_helpers::SponsoringModeT3199 * Lookup432: pallet_evm_contract_helpers::SponsoringModeT3190 **/3200 **/3191 PalletEvmContractHelpersSponsoringModeT: {3201 PalletEvmContractHelpersSponsoringModeT: {3192 _enum: ['Disabled', 'Allowlisted', 'Generous']3202 _enum: ['Disabled', 'Allowlisted', 'Generous']3193 },3203 },3194 /**3204 /**3195 * Lookup433: pallet_evm_contract_helpers::pallet::Error<T>3205 * Lookup434: pallet_evm_contract_helpers::pallet::Error<T>3196 **/3206 **/3197 PalletEvmContractHelpersError: {3207 PalletEvmContractHelpersError: {3198 _enum: ['NoPermission']3208 _enum: ['NoPermission', 'NoPendingSponsor']3199 },3209 },3200 /**3210 /**3201 * Lookup434: pallet_evm_migration::pallet::Error<T>3211 * Lookup435: pallet_evm_migration::pallet::Error<T>3202 **/3212 **/3203 PalletEvmMigrationError: {3213 PalletEvmMigrationError: {3204 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3214 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3205 },3215 },3206 /**3216 /**3207 * Lookup436: sp_runtime::MultiSignature3217 * Lookup437: sp_runtime::MultiSignature3208 **/3218 **/3209 SpRuntimeMultiSignature: {3219 SpRuntimeMultiSignature: {3210 _enum: {3220 _enum: {3211 Ed25519: 'SpCoreEd25519Signature',3221 Ed25519: 'SpCoreEd25519Signature',3212 Sr25519: 'SpCoreSr25519Signature',3222 Sr25519: 'SpCoreSr25519Signature',3213 Ecdsa: 'SpCoreEcdsaSignature'3223 Ecdsa: 'SpCoreEcdsaSignature'3214 }3224 }3215 },3225 },3216 /**3226 /**3217 * Lookup437: sp_core::ed25519::Signature3227 * Lookup438: sp_core::ed25519::Signature3218 **/3228 **/3219 SpCoreEd25519Signature: '[u8;64]',3229 SpCoreEd25519Signature: '[u8;64]',3220 /**3230 /**3221 * Lookup439: sp_core::sr25519::Signature3231 * Lookup440: sp_core::sr25519::Signature3222 **/3232 **/3223 SpCoreSr25519Signature: '[u8;64]',3233 SpCoreSr25519Signature: '[u8;64]',3224 /**3234 /**3225 * Lookup440: sp_core::ecdsa::Signature3235 * Lookup441: sp_core::ecdsa::Signature3226 **/3236 **/3227 SpCoreEcdsaSignature: '[u8;65]',3237 SpCoreEcdsaSignature: '[u8;65]',3228 /**3238 /**3229 * Lookup443: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3239 * Lookup444: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3230 **/3240 **/3231 FrameSystemExtensionsCheckSpecVersion: 'Null',3241 FrameSystemExtensionsCheckSpecVersion: 'Null',3232 /**3242 /**3233 * Lookup444: frame_system::extensions::check_genesis::CheckGenesis<T>3243 * Lookup445: frame_system::extensions::check_genesis::CheckGenesis<T>3234 **/3244 **/3235 FrameSystemExtensionsCheckGenesis: 'Null',3245 FrameSystemExtensionsCheckGenesis: 'Null',3236 /**3246 /**3237 * Lookup447: frame_system::extensions::check_nonce::CheckNonce<T>3247 * Lookup448: frame_system::extensions::check_nonce::CheckNonce<T>3238 **/3248 **/3239 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3249 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3240 /**3250 /**3241 * Lookup448: frame_system::extensions::check_weight::CheckWeight<T>3251 * Lookup449: frame_system::extensions::check_weight::CheckWeight<T>3242 **/3252 **/3243 FrameSystemExtensionsCheckWeight: 'Null',3253 FrameSystemExtensionsCheckWeight: 'Null',3244 /**3254 /**3245 * Lookup449: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3255 * Lookup450: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3246 **/3256 **/3247 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3257 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3248 /**3258 /**3249 * Lookup450: opal_runtime::Runtime3259 * Lookup451: opal_runtime::Runtime3250 **/3260 **/3251 OpalRuntimeRuntime: 'Null',3261 OpalRuntimeRuntime: 'Null',3252 /**3262 /**3253 * Lookup451: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3263 * Lookup452: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3254 **/3264 **/3255 PalletEthereumFakeTransactionFinalizer: 'Null'3265 PalletEthereumFakeTransactionFinalizer: 'Null'3256};3266};32573267tests/src/interfaces/registry.tsdiffbeforeafterboth5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';778import 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';8import 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';9910declare module '@polkadot/types/types/registry' {10declare module '@polkadot/types/types/registry' {11 interface InterfaceTypes {11 interface InterfaceTypes {216 UpDataStructsPropertyScope: UpDataStructsPropertyScope;216 UpDataStructsPropertyScope: UpDataStructsPropertyScope;217 UpDataStructsRpcCollection: UpDataStructsRpcCollection;217 UpDataStructsRpcCollection: UpDataStructsRpcCollection;218 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;218 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;219 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;219 UpDataStructsSponsorshipStateAccountId32: UpDataStructsSponsorshipStateAccountId32;220 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: UpDataStructsSponsorshipStateBasicCrossAccountIdRepr;220 UpDataStructsTokenChild: UpDataStructsTokenChild;221 UpDataStructsTokenChild: UpDataStructsTokenChild;221 UpDataStructsTokenData: UpDataStructsTokenData;222 UpDataStructsTokenData: UpDataStructsTokenData;222 XcmDoubleEncoded: XcmDoubleEncoded;223 XcmDoubleEncoded: XcmDoubleEncoded;tests/src/interfaces/types-lookup.tsdiffbeforeafterboth3034 readonly name: Vec<u16>;3034 readonly name: Vec<u16>;3035 readonly description: Vec<u16>;3035 readonly description: Vec<u16>;3036 readonly tokenPrefix: Bytes;3036 readonly tokenPrefix: Bytes;3037 readonly sponsorship: UpDataStructsSponsorshipState;3037 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3038 readonly limits: UpDataStructsCollectionLimits;3038 readonly limits: UpDataStructsCollectionLimits;3039 readonly permissions: UpDataStructsCollectionPermissions;3039 readonly permissions: UpDataStructsCollectionPermissions;3040 readonly externalCollection: bool;3040 readonly externalCollection: bool;3041 }3041 }304230423043 /** @name UpDataStructsSponsorshipState (361) */3043 /** @name UpDataStructsSponsorshipStateAccountId32 (361) */3044 interface UpDataStructsSponsorshipState extends Enum {3044 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3045 readonly isDisabled: boolean;3045 readonly isDisabled: boolean;3046 readonly isUnconfirmed: boolean;3046 readonly isUnconfirmed: boolean;3047 readonly asUnconfirmed: AccountId32;3047 readonly asUnconfirmed: AccountId32;3093 readonly name: Vec<u16>;3093 readonly name: Vec<u16>;3094 readonly description: Vec<u16>;3094 readonly description: Vec<u16>;3095 readonly tokenPrefix: Bytes;3095 readonly tokenPrefix: Bytes;3096 readonly sponsorship: UpDataStructsSponsorshipState;3096 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3097 readonly limits: UpDataStructsCollectionLimits;3097 readonly limits: UpDataStructsCollectionLimits;3098 readonly permissions: UpDataStructsCollectionPermissions;3098 readonly permissions: UpDataStructsCollectionPermissions;3099 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3099 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3379 readonly type: 'OutOfGas' | 'OutOfFund';3379 readonly type: 'OutOfGas' | 'OutOfFund';3380 }3380 }33813382 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (431) */3383 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3384 readonly isDisabled: boolean;3385 readonly isUnconfirmed: boolean;3386 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3387 readonly isConfirmed: boolean;3388 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3389 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3390 }338133913382 /** @name PalletEvmContractHelpersSponsoringModeT (431) */3392 /** @name PalletEvmContractHelpersSponsoringModeT (432) */3383 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3393 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3384 readonly isDisabled: boolean;3394 readonly isDisabled: boolean;3385 readonly isAllowlisted: boolean;3395 readonly isAllowlisted: boolean;3386 readonly isGenerous: boolean;3396 readonly isGenerous: boolean;3387 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3397 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3388 }3398 }338933993390 /** @name PalletEvmContractHelpersError (433) */3400 /** @name PalletEvmContractHelpersError (434) */3391 interface PalletEvmContractHelpersError extends Enum {3401 interface PalletEvmContractHelpersError extends Enum {3392 readonly isNoPermission: boolean;3402 readonly isNoPermission: boolean;3403 readonly isNoPendingSponsor: boolean;3393 readonly type: 'NoPermission';3404 readonly type: 'NoPermission' | 'NoPendingSponsor';3394 }3405 }339534063396 /** @name PalletEvmMigrationError (434) */3407 /** @name PalletEvmMigrationError (435) */3397 interface PalletEvmMigrationError extends Enum {3408 interface PalletEvmMigrationError extends Enum {3398 readonly isAccountNotEmpty: boolean;3409 readonly isAccountNotEmpty: boolean;3399 readonly isAccountIsNotMigrating: boolean;3410 readonly isAccountIsNotMigrating: boolean;3400 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3411 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3401 }3412 }340234133403 /** @name SpRuntimeMultiSignature (436) */3414 /** @name SpRuntimeMultiSignature (437) */3404 interface SpRuntimeMultiSignature extends Enum {3415 interface SpRuntimeMultiSignature extends Enum {3405 readonly isEd25519: boolean;3416 readonly isEd25519: boolean;3406 readonly asEd25519: SpCoreEd25519Signature;3417 readonly asEd25519: SpCoreEd25519Signature;3411 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3422 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3412 }3423 }341334243414 /** @name SpCoreEd25519Signature (437) */3425 /** @name SpCoreEd25519Signature (438) */3415 interface SpCoreEd25519Signature extends U8aFixed {}3426 interface SpCoreEd25519Signature extends U8aFixed {}341634273417 /** @name SpCoreSr25519Signature (439) */3428 /** @name SpCoreSr25519Signature (440) */3418 interface SpCoreSr25519Signature extends U8aFixed {}3429 interface SpCoreSr25519Signature extends U8aFixed {}341934303420 /** @name SpCoreEcdsaSignature (440) */3431 /** @name SpCoreEcdsaSignature (441) */3421 interface SpCoreEcdsaSignature extends U8aFixed {}3432 interface SpCoreEcdsaSignature extends U8aFixed {}342234333423 /** @name FrameSystemExtensionsCheckSpecVersion (443) */3434 /** @name FrameSystemExtensionsCheckSpecVersion (444) */3424 type FrameSystemExtensionsCheckSpecVersion = Null;3435 type FrameSystemExtensionsCheckSpecVersion = Null;342534363426 /** @name FrameSystemExtensionsCheckGenesis (444) */3437 /** @name FrameSystemExtensionsCheckGenesis (445) */3427 type FrameSystemExtensionsCheckGenesis = Null;3438 type FrameSystemExtensionsCheckGenesis = Null;342834393429 /** @name FrameSystemExtensionsCheckNonce (447) */3440 /** @name FrameSystemExtensionsCheckNonce (448) */3430 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}3441 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}343134423432 /** @name FrameSystemExtensionsCheckWeight (448) */3443 /** @name FrameSystemExtensionsCheckWeight (449) */3433 type FrameSystemExtensionsCheckWeight = Null;3444 type FrameSystemExtensionsCheckWeight = Null;343434453435 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (449) */3446 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (450) */3436 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}3447 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}343734483438 /** @name OpalRuntimeRuntime (450) */3449 /** @name OpalRuntimeRuntime (451) */3439 type OpalRuntimeRuntime = Null;3450 type OpalRuntimeRuntime = Null;344034513441 /** @name PalletEthereumFakeTransactionFinalizer (451) */3452 /** @name PalletEthereumFakeTransactionFinalizer (452) */3442 type PalletEthereumFakeTransactionFinalizer = Null;3453 type PalletEthereumFakeTransactionFinalizer = Null;344334543444} // declare module3455} // declare moduletests/src/util/playgrounds/index.tsdiffbeforeafterboth4import {IKeyringPair} from '@polkadot/types/types';4import {IKeyringPair} from '@polkadot/types/types';5import config from '../../config';5import config from '../../config';6import '../../interfaces/augment-api-events';6import '../../interfaces/augment-api-events';7import * as defs from '../../interfaces/definitions';8import {ApiPromise, WsProvider} from '@polkadot/api';9import { UniqueHelper } from './unique';7import {DevUniqueHelper} from './unique.dev';10811912class SilentLogger {10class SilentLogger {19}17}2018211922class DevUniqueHelper extends UniqueHelper {23 async connect(wsEndpoint: string, listeners?: any): Promise<void> {24 const wsProvider = new WsProvider(wsEndpoint);25 this.api = new ApiPromise({26 provider: wsProvider, 27 signedExtensions: {28 ContractHelpers: {29 extrinsic: {},30 payload: {},31 },32 FakeTransactionFinalizer: {33 extrinsic: {},34 payload: {},35 },36 },37 rpc: {38 unique: defs.unique.rpc,39 rmrk: defs.rmrk.rpc,40 eth: {41 feeHistory: {42 description: 'Dummy',43 params: [],44 type: 'u8',45 },46 maxPriorityFeePerGas: {47 description: 'Dummy',48 params: [],49 type: 'u8',50 },51 },52 },53 });54 await this.api.isReadyOrError;55 this.network = await UniqueHelper.detectNetwork(this.api);56 }57}5820592160export const usingPlaygrounds = async <T = void> (code: (helper: UniqueHelper, privateKey: (seed: string) => IKeyringPair) => Promise<T>) => {22export const usingPlaygrounds = async <T = void> (code: (helper: DevUniqueHelper, privateKey: (seed: string) => IKeyringPair) => Promise<T>) => {61 // TODO: Remove, this is temporary: Filter unneeded API output23 // TODO: Remove, this is temporary: Filter unneeded API output62 // (Jaco promised it will be removed in the next version)24 // (Jaco promised it will be removed in the next version)63 const consoleErr = console.error;25 const consoleErr = console.error;