git.delta.rocks / unique-network / refs/commits / b47cba8662c4

difftreelog

test(properties)

Fahrrader2022-05-06parent: #761b2c7.patch.diff
in: master

13 files changed

modifiedtests/package.jsondiffbeforeafterboth
34 "testCollision": "mocha --timeout 9999999 -r ts-node/register ./src/collision-tests/*.test.ts",34 "testCollision": "mocha --timeout 9999999 -r ts-node/register ./src/collision-tests/*.test.ts",
35 "testEvent": "mocha --timeout 9999999 -r ts-node/register ./src/check-event/*.test.ts",35 "testEvent": "mocha --timeout 9999999 -r ts-node/register ./src/check-event/*.test.ts",
36 "testNesting": "mocha --timeout 9999999 -r ts-node/register ./**/nesting/**.test.ts",36 "testNesting": "mocha --timeout 9999999 -r ts-node/register ./**/nesting/**.test.ts",
37 "testProperties": "mocha --timeout 9999999 -r ts-node/register ./**/properties.test.ts",
37 "testMigrationStructure": "mocha --timeout 9999999 -r ts-node/register ./**/nesting/migration-check.test.ts",38 "testMigrationStructure": "mocha --timeout 9999999 -r ts-node/register ./**/nesting/migration-check.test.ts",
38 "testAddCollectionAdmin": "mocha --timeout 9999999 -r ts-node/register ./**/addCollectionAdmin.test.ts",39 "testAddCollectionAdmin": "mocha --timeout 9999999 -r ts-node/register ./**/addCollectionAdmin.test.ts",
39 "testSetSchemaVersion": "mocha --timeout 9999999 -r ts-node/register ./**/setSchemaVersion.test.ts",40 "testSetSchemaVersion": "mocha --timeout 9999999 -r ts-node/register ./**/setSchemaVersion.test.ts",
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
270 * Not Fungible item data used to mint in Fungible collection.270 * Not Fungible item data used to mint in Fungible collection.
271 **/271 **/
272 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;272 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
273 /**273 /**
274 * Item properties are not allowed274 * Setting item properties is not allowed
275 **/275 **/
276 PropertiesNotAllowed: AugmentedError<ApiType>;276 SettingPropertiesNotAllowed: AugmentedError<ApiType>;
277 /**277 /**
278 * Generic error278 * Generic error
279 **/279 **/
398 * Not Refungible item data used to mint in Refungible collection.398 * Not Refungible item data used to mint in Refungible collection.
399 **/399 **/
400 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;400 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
401 /**401 /**
402 * Item properties are not allowed402 * Refungible token can't nest other tokens
403 **/403 **/
404 PropertiesNotAllowed: AugmentedError<ApiType>;404 RefungibleDisallowsNesting: AugmentedError<ApiType>;
405 /**405 /**
406 * Refungible token can't nest other tokens406 * Setting item properties is not allowed
407 **/407 **/
408 RefungibleDisallowsNesting: AugmentedError<ApiType>;408 SettingPropertiesNotAllowed: AugmentedError<ApiType>;
409 /**409 /**
410 * Maximum refungibility exceeded410 * Maximum refungibility exceeded
411 **/411 **/
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
5import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';5import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
8import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertyPermission } from '@polkadot/types/lookup';8import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructsRpcCollection, PhantomTypeUpDataStructsTokenData, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertyPermission } from '@polkadot/types/lookup';
9import type { Observable } from '@polkadot/types/types';9import type { Observable } from '@polkadot/types/types';
1010
11declare module '@polkadot/api-base/types/storage' {11declare module '@polkadot/api-base/types/storage' {
92 /**92 /**
93 * Not used by code, exists only to provide some types to metadata93 * Not used by code, exists only to provide some types to metadata
94 **/94 **/
95 dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;95 dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, PhantomTypeUpDataStructsTokenData, PhantomTypeUpDataStructsRpcCollection]>>>, []> & QueryableStorageEntry<ApiType, []>;
96 /**96 /**
97 * List of collection admins97 * List of collection admins
98 **/98 **/
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsRpcCollection } from './unique';4import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenData } from './unique';
5import type { AugmentedRpc } from '@polkadot/rpc-core/types';5import type { AugmentedRpc } from '@polkadot/rpc-core/types';
6import type { Metadata, StorageKey } from '@polkadot/types';6import type { Metadata, StorageKey } from '@polkadot/types';
7import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';7import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
13import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';13import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
14import type { AuthorityId } from '@polkadot/types/interfaces/consensus';14import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
15import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';15import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
16import type { BlockStats } from '@polkadot/types/interfaces/dev';
17import type { CreatedBlock } from '@polkadot/types/interfaces/engine';16import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
18import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';17import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
19import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';18import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
23import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';22import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
24import type { RpcMethods } from '@polkadot/types/interfaces/rpc';23import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
25import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';24import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
26import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';25import type { ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
27import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';26import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
28import type { IExtrinsic, Observable } from '@polkadot/types/types';27import type { IExtrinsic, Observable } from '@polkadot/types/types';
2928
157 **/156 **/
158 uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<CodeUploadResult>>;157 uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<CodeUploadResult>>;
159 };158 };
160 dev: {
161 /**
162 * Reexecute the specified `block_hash` and gather statistics while doing so
163 **/
164 getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable<Option<BlockStats>>>;
165 };
166 engine: {159 engine: {
167 /**160 /**
168 * Instructs the manual-seal authorship task to create a new block161 * Instructs the manual-seal authorship task to create a new block
340 uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable<bool>>;333 uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable<bool>>;
341 };334 };
342 grandpa: {335 grandpa: {
343 /**336 /**
344 * Prove finality for the given block number, returning the Justification for the last block in the set.337 * Prove finality for the range (begin; end] hash.
345 **/338 **/
346 proveFinality: AugmentedRpc<(blockNumber: BlockNumber | AnyNumber | Uint8Array) => Observable<Option<EncodedFinalityProofs>>>;339 proveFinality: AugmentedRpc<(begin: BlockHash | string | Uint8Array, end: BlockHash | string | Uint8Array, authoritiesSetId?: u64 | AnyNumber | Uint8Array) => Observable<Option<EncodedFinalityProofs>>>;
347 /**340 /**
348 * Returns the state of the current best round state as well as the ongoing background rounds341 * Returns the state of the current best round state as well as the ongoing background rounds
349 **/342 **/
480 * Provides a way to trace the re-execution of a single block473 * Provides a way to trace the re-execution of a single block
481 **/474 **/
482 traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array, methods: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>;475 traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array, methods: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>;
483 /**
484 * Check current migration state
485 **/
486 trieMigrationStatus: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<MigrationStatusResult>>;
487 };476 };
488 syncstate: {477 syncstate: {
489 /**478 /**
630 * Get number of blocks when sponsored transaction is available619 * Get number of blocks when sponsored transaction is available
631 **/620 **/
632 nextSponsored: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u64>>>;621 nextSponsored: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u64>>>;
622 /**
623 * Get property permissions
624 **/
625 propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;
626 /**
627 * Get token data
628 **/
629 tokenData: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<UpDataStructsTokenData>>;
633 /**630 /**
634 * Check if token exists631 * Check if token exists
635 **/632 **/
638 * Get token owner635 * Get token owner
639 **/636 **/
640 tokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>>;637 tokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>>;
638 /**
639 * Get token properties
640 **/
641 tokenProperties: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsProperty>>>;
641 /**642 /**
642 * Get token owner, in case of nested token - find parent recursive643 * Get token owner, in case of nested token - find parent recursive
643 **/644 **/
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
378 * - Weight of derivative `call` execution + 10,000.378 * - Weight of derivative `call` execution + 10,000.
379 * # </weight>379 * # </weight>
380 **/380 **/
381 sudo: AugmentedSubmittable<(call: Call) => SubmittableExtrinsic<ApiType>, [Call]>;381 sudo: AugmentedSubmittable<(call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
382 /**382 /**
383 * Authenticates the sudo key and dispatches a function call with `Signed` origin from383 * Authenticates the sudo key and dispatches a function call with `Signed` origin from
384 * a given account.384 * a given account.
392 * - Weight of derivative `call` execution + 10,000.392 * - Weight of derivative `call` execution + 10,000.
393 * # </weight>393 * # </weight>
394 **/394 **/
395 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;395 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
396 /**396 /**
397 * Authenticates the sudo key and dispatches a function call with `Root` origin.397 * Authenticates the sudo key and dispatches a function call with `Root` origin.
398 * This function does not check the weight of the call, and instead allows the398 * This function does not check the weight of the call, and instead allows the
405 * - The weight of this call is defined by the caller.405 * - The weight of this call is defined by the caller.
406 * # </weight>406 * # </weight>
407 **/407 **/
408 sudoUncheckedWeight: AugmentedSubmittable<(call: Call, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;408 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;
409 /**409 /**
410 * Generic tx410 * Generic tx
411 **/411 **/
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';4import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructsRpcCollection, PhantomTypeUpDataStructsTokenData, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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 './unique';
5import type { Data, StorageKey } from '@polkadot/types';5import type { Data, StorageKey } from '@polkadot/types';
6import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';6import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
23import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';23import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
24import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';24import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
25import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';25import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
26import type { BlockStats } from '@polkadot/types/interfaces/dev';
27import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';26import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
28import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';27import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
29import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';28import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
52import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';51import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';
53import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';52import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';
54import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking';53import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking';
55import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';54import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';
56import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';55import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';
57import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8a, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';56import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';
58import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';57import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';
59import type { Multiplier } from '@polkadot/types/interfaces/txpayment';58import type { Multiplier } from '@polkadot/types/interfaces/txpayment';
60import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';59import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';
154 BlockNumber: BlockNumber;153 BlockNumber: BlockNumber;
155 BlockNumberFor: BlockNumberFor;154 BlockNumberFor: BlockNumberFor;
156 BlockNumberOf: BlockNumberOf;155 BlockNumberOf: BlockNumberOf;
157 BlockStats: BlockStats;
158 BlockTrace: BlockTrace;156 BlockTrace: BlockTrace;
159 BlockTraceEvent: BlockTraceEvent;157 BlockTraceEvent: BlockTraceEvent;
160 BlockTraceEventData: BlockTraceEventData;158 BlockTraceEventData: BlockTraceEventData;
329 DispatchClass: DispatchClass;327 DispatchClass: DispatchClass;
330 DispatchError: DispatchError;328 DispatchError: DispatchError;
331 DispatchErrorModule: DispatchErrorModule;329 DispatchErrorModule: DispatchErrorModule;
332 DispatchErrorModuleU8a: DispatchErrorModuleU8a;
333 DispatchErrorTo198: DispatchErrorTo198;330 DispatchErrorTo198: DispatchErrorTo198;
334 DispatchFeePayment: DispatchFeePayment;331 DispatchFeePayment: DispatchFeePayment;
335 DispatchInfo: DispatchInfo;332 DispatchInfo: DispatchInfo;
661 MetadataV13: MetadataV13;658 MetadataV13: MetadataV13;
662 MetadataV14: MetadataV14;659 MetadataV14: MetadataV14;
663 MetadataV9: MetadataV9;660 MetadataV9: MetadataV9;
664 MigrationStatusResult: MigrationStatusResult;
665 MmrLeafProof: MmrLeafProof;661 MmrLeafProof: MmrLeafProof;
666 MmrRootHash: MmrRootHash;662 MmrRootHash: MmrRootHash;
667 ModuleConstantMetadataV10: ModuleConstantMetadataV10;663 ModuleConstantMetadataV10: ModuleConstantMetadataV10;
849 PerU16: PerU16;845 PerU16: PerU16;
850 Phantom: Phantom;846 Phantom: Phantom;
851 PhantomData: PhantomData;847 PhantomData: PhantomData;
852 PhantomTypeUpDataStructs: PhantomTypeUpDataStructs;848 PhantomTypeUpDataStructsRpcCollection: PhantomTypeUpDataStructsRpcCollection;
849 PhantomTypeUpDataStructsTokenData: PhantomTypeUpDataStructsTokenData;
853 Phase: Phase;850 Phase: Phase;
854 PhragmenScore: PhragmenScore;851 PhragmenScore: PhragmenScore;
855 Points: Points;852 Points: Points;
1189 UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;1186 UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;
1190 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;1187 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
1191 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;1188 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
1189 UpDataStructsTokenData: UpDataStructsTokenData;
1192 UpgradeGoAhead: UpgradeGoAhead;1190 UpgradeGoAhead: UpgradeGoAhead;
1193 UpgradeRestriction: UpgradeRestriction;1191 UpgradeRestriction: UpgradeRestriction;
1194 UpwardMessage: UpwardMessage;1192 UpwardMessage: UpwardMessage;
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
23 * Lookup10: sp_trie::storage_proof::StorageProof23 * Lookup10: sp_trie::storage_proof::StorageProof
24 **/24 **/
25 SpTrieStorageProof: {25 SpTrieStorageProof: {
26 trieNodes: 'BTreeSet<Bytes>'26 trieNodes: 'Vec<Bytes>'
27 },27 },
28 /**28 /**
29 * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot29 * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
1469 /**1469 /**
1470 * Lookup171: frame_support::storage::bounded_btree_set::BoundedBTreeSet<up_data_structs::CollectionId, S>1470 * Lookup171: frame_support::storage::bounded_btree_set::BoundedBTreeSet<up_data_structs::CollectionId, S>
1471 **/1471 **/
1472 FrameSupportStorageBoundedBTreeSet: 'BTreeSet<u32>',1472 FrameSupportStorageBoundedBTreeSet: 'Vec<u32>',
1473 /**1473 /**
1474 * Lookup177: up_data_structs::MetaUpdatePermission1474 * Lookup177: up_data_structs::MetaUpdatePermission
1475 **/1475 **/
1487 * Lookup181: up_data_structs::PropertyPermission1487 * Lookup181: up_data_structs::PropertyPermission
1488 **/1488 **/
1489 UpDataStructsPropertyPermission: {1489 UpDataStructsPropertyPermission: {
1490 _enum: ['None', 'AdminConst', 'Admin', 'ItemOwnerConst', 'ItemOwner', 'ItemOwnerOrAdmin']1490 mutable: 'bool',
1491 collectionAdmin: 'bool',
1492 tokenOwner: 'bool'
1491 },1493 },
1492 /**1494 /**
1493 * Lookup184: up_data_structs::Property1495 * Lookup184: up_data_structs::Property
1520 **/1522 **/
1521 UpDataStructsCreateNftData: {1523 UpDataStructsCreateNftData: {
1522 constData: 'Bytes',1524 constData: 'Bytes',
1523 variableData: 'Bytes'1525 variableData: 'Bytes',
1526 properties: 'Vec<UpDataStructsProperty>'
1524 },1527 },
1525 /**1528 /**
1526 * Lookup191: up_data_structs::CreateFungibleData1529 * Lookup191: up_data_structs::CreateFungibleData
1553 UpDataStructsCreateNftExData: {1556 UpDataStructsCreateNftExData: {
1554 constData: 'Bytes',1557 constData: 'Bytes',
1555 variableData: 'Bytes',1558 variableData: 'Bytes',
1559 properties: 'Vec<UpDataStructsProperty>',
1556 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1560 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
1557 },1561 },
1558 /**1562 /**
2323 destroyed: 'u32',2327 destroyed: 'u32',
2324 alive: 'u32'2328 alive: 'u32'
2325 },2329 },
2326 /**2330 /**
2327 * Lookup325: PhantomType::up_data_structs<up_data_structs::RpcCollection<sp_core::crypto::AccountId32>>2331 * Lookup325: PhantomType::up_data_structs<up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>>
2328 **/2332 **/
2329 PhantomTypeUpDataStructs: '[Lookup326;0]',2333 PhantomTypeUpDataStructsTokenData: '[Lookup326;0]',
2334 /**
2335 * Lookup326: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2336 **/
2337 UpDataStructsTokenData: {
2338 constData: 'Bytes',
2339 properties: 'Vec<UpDataStructsProperty>',
2340 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'
2341 },
2342 /**
2343 * Lookup329: PhantomType::up_data_structs<up_data_structs::RpcCollection<sp_core::crypto::AccountId32>>
2344 **/
2345 PhantomTypeUpDataStructsRpcCollection: '[Lookup330;0]',
2330 /**2346 /**
2331 * Lookup326: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2347 * Lookup330: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
2332 **/2348 **/
2333 UpDataStructsRpcCollection: {2349 UpDataStructsRpcCollection: {
2334 owner: 'AccountId32',2350 owner: 'AccountId32',
2335 mode: 'UpDataStructsCollectionMode',2351 mode: 'UpDataStructsCollectionMode',
2346 constOnChainSchema: 'Bytes',2362 constOnChainSchema: 'Bytes',
2347 metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'2363 metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'
2348 },2364 },
2349 /**2365 /**
2350 * Lookup328: pallet_common::pallet::Error<T>2366 * Lookup332: pallet_common::pallet::Error<T>
2351 **/2367 **/
2352 PalletCommonError: {2368 PalletCommonError: {
2353 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'NestingIsDisabled', 'OnlyOwnerAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached']2369 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'NestingIsDisabled', 'OnlyOwnerAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached']
2354 },2370 },
2355 /**2371 /**
2356 * Lookup330: pallet_fungible::pallet::Error<T>2372 * Lookup334: pallet_fungible::pallet::Error<T>
2357 **/2373 **/
2358 PalletFungibleError: {2374 PalletFungibleError: {
2359 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'PropertiesNotAllowed']2375 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
2360 },2376 },
2361 /**2377 /**
2362 * Lookup331: pallet_refungible::ItemData2378 * Lookup335: pallet_refungible::ItemData
2363 **/2379 **/
2364 PalletRefungibleItemData: {2380 PalletRefungibleItemData: {
2365 constData: 'Bytes',2381 constData: 'Bytes',
2366 variableData: 'Bytes'2382 variableData: 'Bytes'
2367 },2383 },
2368 /**2384 /**
2369 * Lookup335: pallet_refungible::pallet::Error<T>2385 * Lookup339: pallet_refungible::pallet::Error<T>
2370 **/2386 **/
2371 PalletRefungibleError: {2387 PalletRefungibleError: {
2372 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'PropertiesNotAllowed']2388 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
2373 },2389 },
2374 /**2390 /**
2375 * Lookup336: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2391 * Lookup340: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2376 **/2392 **/
2377 PalletNonfungibleItemData: {2393 PalletNonfungibleItemData: {
2378 constData: 'Bytes',2394 constData: 'Bytes',
2379 variableData: 'Bytes',2395 variableData: 'Bytes',
2380 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2396 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
2381 },2397 },
2382 /**2398 /**
2383 * Lookup337: pallet_nonfungible::pallet::Error<T>2399 * Lookup341: pallet_nonfungible::pallet::Error<T>
2384 **/2400 **/
2385 PalletNonfungibleError: {2401 PalletNonfungibleError: {
2386 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']2402 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']
2387 },2403 },
2388 /**2404 /**
2389 * Lookup338: pallet_structure::pallet::Error<T>2405 * Lookup342: pallet_structure::pallet::Error<T>
2390 **/2406 **/
2391 PalletStructureError: {2407 PalletStructureError: {
2392 _enum: ['OuroborosDetected', 'DepthLimit', 'TokenNotFound']2408 _enum: ['OuroborosDetected', 'DepthLimit', 'TokenNotFound']
2393 },2409 },
2394 /**2410 /**
2395 * Lookup340: pallet_evm::pallet::Error<T>2411 * Lookup344: pallet_evm::pallet::Error<T>
2396 **/2412 **/
2397 PalletEvmError: {2413 PalletEvmError: {
2398 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2414 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
2399 },2415 },
2400 /**2416 /**
2401 * Lookup343: fp_rpc::TransactionStatus2417 * Lookup347: fp_rpc::TransactionStatus
2402 **/2418 **/
2403 FpRpcTransactionStatus: {2419 FpRpcTransactionStatus: {
2404 transactionHash: 'H256',2420 transactionHash: 'H256',
2405 transactionIndex: 'u32',2421 transactionIndex: 'u32',
2409 logs: 'Vec<EthereumLog>',2425 logs: 'Vec<EthereumLog>',
2410 logsBloom: 'EthbloomBloom'2426 logsBloom: 'EthbloomBloom'
2411 },2427 },
2412 /**2428 /**
2413 * Lookup346: ethbloom::Bloom2429 * Lookup350: ethbloom::Bloom
2414 **/2430 **/
2415 EthbloomBloom: '[u8;256]',2431 EthbloomBloom: '[u8;256]',
2416 /**2432 /**
2417 * Lookup348: ethereum::receipt::ReceiptV32433 * Lookup352: ethereum::receipt::ReceiptV3
2418 **/2434 **/
2419 EthereumReceiptReceiptV3: {2435 EthereumReceiptReceiptV3: {
2420 _enum: {2436 _enum: {
2421 Legacy: 'EthereumReceiptEip658ReceiptData',2437 Legacy: 'EthereumReceiptEip658ReceiptData',
2422 EIP2930: 'EthereumReceiptEip658ReceiptData',2438 EIP2930: 'EthereumReceiptEip658ReceiptData',
2423 EIP1559: 'EthereumReceiptEip658ReceiptData'2439 EIP1559: 'EthereumReceiptEip658ReceiptData'
2424 }2440 }
2425 },2441 },
2426 /**2442 /**
2427 * Lookup349: ethereum::receipt::EIP658ReceiptData2443 * Lookup353: ethereum::receipt::EIP658ReceiptData
2428 **/2444 **/
2429 EthereumReceiptEip658ReceiptData: {2445 EthereumReceiptEip658ReceiptData: {
2430 statusCode: 'u8',2446 statusCode: 'u8',
2431 usedGas: 'U256',2447 usedGas: 'U256',
2432 logsBloom: 'EthbloomBloom',2448 logsBloom: 'EthbloomBloom',
2433 logs: 'Vec<EthereumLog>'2449 logs: 'Vec<EthereumLog>'
2434 },2450 },
2435 /**2451 /**
2436 * Lookup350: ethereum::block::Block<ethereum::transaction::TransactionV2>2452 * Lookup354: ethereum::block::Block<ethereum::transaction::TransactionV2>
2437 **/2453 **/
2438 EthereumBlock: {2454 EthereumBlock: {
2439 header: 'EthereumHeader',2455 header: 'EthereumHeader',
2440 transactions: 'Vec<EthereumTransactionTransactionV2>',2456 transactions: 'Vec<EthereumTransactionTransactionV2>',
2441 ommers: 'Vec<EthereumHeader>'2457 ommers: 'Vec<EthereumHeader>'
2442 },2458 },
2443 /**2459 /**
2444 * Lookup351: ethereum::header::Header2460 * Lookup355: ethereum::header::Header
2445 **/2461 **/
2446 EthereumHeader: {2462 EthereumHeader: {
2447 parentHash: 'H256',2463 parentHash: 'H256',
2448 ommersHash: 'H256',2464 ommersHash: 'H256',
2460 mixHash: 'H256',2476 mixHash: 'H256',
2461 nonce: 'EthereumTypesHashH64'2477 nonce: 'EthereumTypesHashH64'
2462 },2478 },
2463 /**2479 /**
2464 * Lookup352: ethereum_types::hash::H642480 * Lookup356: ethereum_types::hash::H64
2465 **/2481 **/
2466 EthereumTypesHashH64: '[u8;8]',2482 EthereumTypesHashH64: '[u8;8]',
2467 /**2483 /**
2468 * Lookup357: pallet_ethereum::pallet::Error<T>2484 * Lookup361: pallet_ethereum::pallet::Error<T>
2469 **/2485 **/
2470 PalletEthereumError: {2486 PalletEthereumError: {
2471 _enum: ['InvalidSignature', 'PreLogExists']2487 _enum: ['InvalidSignature', 'PreLogExists']
2472 },2488 },
2473 /**2489 /**
2474 * Lookup358: pallet_evm_coder_substrate::pallet::Error<T>2490 * Lookup362: pallet_evm_coder_substrate::pallet::Error<T>
2475 **/2491 **/
2476 PalletEvmCoderSubstrateError: {2492 PalletEvmCoderSubstrateError: {
2477 _enum: ['OutOfGas', 'OutOfFund']2493 _enum: ['OutOfGas', 'OutOfFund']
2478 },2494 },
2479 /**2495 /**
2480 * Lookup359: pallet_evm_contract_helpers::SponsoringModeT2496 * Lookup363: pallet_evm_contract_helpers::SponsoringModeT
2481 **/2497 **/
2482 PalletEvmContractHelpersSponsoringModeT: {2498 PalletEvmContractHelpersSponsoringModeT: {
2483 _enum: ['Disabled', 'Allowlisted', 'Generous']2499 _enum: ['Disabled', 'Allowlisted', 'Generous']
2484 },2500 },
2485 /**2501 /**
2486 * Lookup361: pallet_evm_contract_helpers::pallet::Error<T>2502 * Lookup365: pallet_evm_contract_helpers::pallet::Error<T>
2487 **/2503 **/
2488 PalletEvmContractHelpersError: {2504 PalletEvmContractHelpersError: {
2489 _enum: ['NoPermission']2505 _enum: ['NoPermission']
2490 },2506 },
2491 /**2507 /**
2492 * Lookup362: pallet_evm_migration::pallet::Error<T>2508 * Lookup366: pallet_evm_migration::pallet::Error<T>
2493 **/2509 **/
2494 PalletEvmMigrationError: {2510 PalletEvmMigrationError: {
2495 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']2511 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
2496 },2512 },
2497 /**2513 /**
2498 * Lookup364: sp_runtime::MultiSignature2514 * Lookup368: sp_runtime::MultiSignature
2499 **/2515 **/
2500 SpRuntimeMultiSignature: {2516 SpRuntimeMultiSignature: {
2501 _enum: {2517 _enum: {
2502 Ed25519: 'SpCoreEd25519Signature',2518 Ed25519: 'SpCoreEd25519Signature',
2503 Sr25519: 'SpCoreSr25519Signature',2519 Sr25519: 'SpCoreSr25519Signature',
2504 Ecdsa: 'SpCoreEcdsaSignature'2520 Ecdsa: 'SpCoreEcdsaSignature'
2505 }2521 }
2506 },2522 },
2507 /**2523 /**
2508 * Lookup365: sp_core::ed25519::Signature2524 * Lookup369: sp_core::ed25519::Signature
2509 **/2525 **/
2510 SpCoreEd25519Signature: '[u8;64]',2526 SpCoreEd25519Signature: '[u8;64]',
2511 /**2527 /**
2512 * Lookup367: sp_core::sr25519::Signature2528 * Lookup371: sp_core::sr25519::Signature
2513 **/2529 **/
2514 SpCoreSr25519Signature: '[u8;64]',2530 SpCoreSr25519Signature: '[u8;64]',
2515 /**2531 /**
2516 * Lookup368: sp_core::ecdsa::Signature2532 * Lookup372: sp_core::ecdsa::Signature
2517 **/2533 **/
2518 SpCoreEcdsaSignature: '[u8;65]',2534 SpCoreEcdsaSignature: '[u8;65]',
2519 /**2535 /**
2520 * Lookup371: frame_system::extensions::check_spec_version::CheckSpecVersion<T>2536 * Lookup375: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
2521 **/2537 **/
2522 FrameSystemExtensionsCheckSpecVersion: 'Null',2538 FrameSystemExtensionsCheckSpecVersion: 'Null',
2523 /**2539 /**
2524 * Lookup372: frame_system::extensions::check_genesis::CheckGenesis<T>2540 * Lookup376: frame_system::extensions::check_genesis::CheckGenesis<T>
2525 **/2541 **/
2526 FrameSystemExtensionsCheckGenesis: 'Null',2542 FrameSystemExtensionsCheckGenesis: 'Null',
2527 /**2543 /**
2528 * Lookup375: frame_system::extensions::check_nonce::CheckNonce<T>2544 * Lookup379: frame_system::extensions::check_nonce::CheckNonce<T>
2529 **/2545 **/
2530 FrameSystemExtensionsCheckNonce: 'Compact<u32>',2546 FrameSystemExtensionsCheckNonce: 'Compact<u32>',
2531 /**2547 /**
2532 * Lookup376: frame_system::extensions::check_weight::CheckWeight<T>2548 * Lookup380: frame_system::extensions::check_weight::CheckWeight<T>
2533 **/2549 **/
2534 FrameSystemExtensionsCheckWeight: 'Null',2550 FrameSystemExtensionsCheckWeight: 'Null',
2535 /**2551 /**
2536 * Lookup377: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>2552 * Lookup381: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
2537 **/2553 **/
2538 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',2554 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
2539 /**2555 /**
2540 * Lookup378: opal_runtime::Runtime2556 * Lookup382: opal_runtime::Runtime
2541 **/2557 **/
2542 OpalRuntimeRuntime: 'Null'2558 OpalRuntimeRuntime: 'Null'
2543};2559};
25442560
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
2/* eslint-disable */2/* eslint-disable */
33
4declare module '@polkadot/types/lookup' {4declare module '@polkadot/types/lookup' {
5 import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5 import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
6 import type { ITuple } from '@polkadot/types-codec/types';6 import type { ITuple } from '@polkadot/types-codec/types';
7 import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';7 import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
8 import type { Event } from '@polkadot/types/interfaces/system';8 import type { Event } from '@polkadot/types/interfaces/system';
2323
24 /** @name SpTrieStorageProof (10) */24 /** @name SpTrieStorageProof (10) */
25 export interface SpTrieStorageProof extends Struct {25 export interface SpTrieStorageProof extends Struct {
26 readonly trieNodes: BTreeSet<Bytes>;26 readonly trieNodes: Vec<Bytes>;
27 }27 }
2828
29 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */29 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */
1605 }1605 }
16061606
1607 /** @name FrameSupportStorageBoundedBTreeSet (171) */1607 /** @name FrameSupportStorageBoundedBTreeSet (171) */
1608 export interface FrameSupportStorageBoundedBTreeSet extends BTreeSet<u32> {}1608 export interface FrameSupportStorageBoundedBTreeSet extends Vec<u32> {}
16091609
1610 /** @name UpDataStructsMetaUpdatePermission (177) */1610 /** @name UpDataStructsMetaUpdatePermission (177) */
1611 export interface UpDataStructsMetaUpdatePermission extends Enum {1611 export interface UpDataStructsMetaUpdatePermission extends Enum {
1622 }1622 }
16231623
1624 /** @name UpDataStructsPropertyPermission (181) */1624 /** @name UpDataStructsPropertyPermission (181) */
1625 export interface UpDataStructsPropertyPermission extends Enum {1625 export interface UpDataStructsPropertyPermission extends Struct {
1626 readonly isNone: boolean;1626 readonly mutable: bool;
1627 readonly isAdminConst: boolean;1627 readonly collectionAdmin: bool;
1628 readonly isAdmin: boolean;1628 readonly tokenOwner: bool;
1629 readonly isItemOwnerConst: boolean;
1630 readonly isItemOwner: boolean;
1631 readonly isItemOwnerOrAdmin: boolean;
1632 readonly type: 'None' | 'AdminConst' | 'Admin' | 'ItemOwnerConst' | 'ItemOwner' | 'ItemOwnerOrAdmin';
1633 }1629 }
16341630
1635 /** @name UpDataStructsProperty (184) */1631 /** @name UpDataStructsProperty (184) */
1662 export interface UpDataStructsCreateNftData extends Struct {1658 export interface UpDataStructsCreateNftData extends Struct {
1663 readonly constData: Bytes;1659 readonly constData: Bytes;
1664 readonly variableData: Bytes;1660 readonly variableData: Bytes;
1661 readonly properties: Vec<UpDataStructsProperty>;
1665 }1662 }
16661663
1667 /** @name UpDataStructsCreateFungibleData (191) */1664 /** @name UpDataStructsCreateFungibleData (191) */
1693 export interface UpDataStructsCreateNftExData extends Struct {1690 export interface UpDataStructsCreateNftExData extends Struct {
1694 readonly constData: Bytes;1691 readonly constData: Bytes;
1695 readonly variableData: Bytes;1692 readonly variableData: Bytes;
1693 readonly properties: Vec<UpDataStructsProperty>;
1696 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1694 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1697 }1695 }
16981696
2534 readonly alive: u32;2532 readonly alive: u32;
2535 }2533 }
25362534
2537 /** @name PhantomTypeUpDataStructs (325) */2535 /** @name PhantomTypeUpDataStructsTokenData (325) */
2536 export interface PhantomTypeUpDataStructsTokenData extends Vec<UpDataStructsTokenData> {}
2537
2538 /** @name UpDataStructsTokenData (326) */
2539 export interface UpDataStructsTokenData extends Struct {
2540 readonly constData: Bytes;
2541 readonly properties: Vec<UpDataStructsProperty>;
2542 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
2543 }
2544
2545 /** @name PhantomTypeUpDataStructsRpcCollection (329) */
2538 export interface PhantomTypeUpDataStructs extends Vec<UpDataStructsRpcCollection> {}2546 export interface PhantomTypeUpDataStructsRpcCollection extends Vec<UpDataStructsRpcCollection> {}
25392547
2540 /** @name UpDataStructsRpcCollection (326) */2548 /** @name UpDataStructsRpcCollection (330) */
2541 export interface UpDataStructsRpcCollection extends Struct {2549 export interface UpDataStructsRpcCollection extends Struct {
2542 readonly owner: AccountId32;2550 readonly owner: AccountId32;
2543 readonly mode: UpDataStructsCollectionMode;2551 readonly mode: UpDataStructsCollectionMode;
2555 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;2563 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
2556 }2564 }
25572565
2558 /** @name PalletCommonError (328) */2566 /** @name PalletCommonError (332) */
2559 export interface PalletCommonError extends Enum {2567 export interface PalletCommonError extends Enum {
2560 readonly isCollectionNotFound: boolean;2568 readonly isCollectionNotFound: boolean;
2561 readonly isMustBeTokenOwner: boolean;2569 readonly isMustBeTokenOwner: boolean;
2590 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached';2598 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached';
2591 }2599 }
25922600
2593 /** @name PalletFungibleError (330) */2601 /** @name PalletFungibleError (334) */
2594 export interface PalletFungibleError extends Enum {2602 export interface PalletFungibleError extends Enum {
2595 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2603 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
2596 readonly isFungibleItemsHaveNoId: boolean;2604 readonly isFungibleItemsHaveNoId: boolean;
2597 readonly isFungibleItemsDontHaveData: boolean;2605 readonly isFungibleItemsDontHaveData: boolean;
2598 readonly isFungibleDisallowsNesting: boolean;2606 readonly isFungibleDisallowsNesting: boolean;
2599 readonly isPropertiesNotAllowed: boolean;2607 readonly isSettingPropertiesNotAllowed: boolean;
2600 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'PropertiesNotAllowed';2608 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
2601 }2609 }
26022610
2603 /** @name PalletRefungibleItemData (331) */2611 /** @name PalletRefungibleItemData (335) */
2604 export interface PalletRefungibleItemData extends Struct {2612 export interface PalletRefungibleItemData extends Struct {
2605 readonly constData: Bytes;2613 readonly constData: Bytes;
2606 readonly variableData: Bytes;2614 readonly variableData: Bytes;
2607 }2615 }
26082616
2609 /** @name PalletRefungibleError (335) */2617 /** @name PalletRefungibleError (339) */
2610 export interface PalletRefungibleError extends Enum {2618 export interface PalletRefungibleError extends Enum {
2611 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2619 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
2612 readonly isWrongRefungiblePieces: boolean;2620 readonly isWrongRefungiblePieces: boolean;
2613 readonly isRefungibleDisallowsNesting: boolean;2621 readonly isRefungibleDisallowsNesting: boolean;
2614 readonly isPropertiesNotAllowed: boolean;2622 readonly isSettingPropertiesNotAllowed: boolean;
2615 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'PropertiesNotAllowed';2623 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
2616 }2624 }
26172625
2618 /** @name PalletNonfungibleItemData (336) */2626 /** @name PalletNonfungibleItemData (340) */
2619 export interface PalletNonfungibleItemData extends Struct {2627 export interface PalletNonfungibleItemData extends Struct {
2620 readonly constData: Bytes;2628 readonly constData: Bytes;
2621 readonly variableData: Bytes;2629 readonly variableData: Bytes;
2622 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2630 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
2623 }2631 }
26242632
2625 /** @name PalletNonfungibleError (337) */2633 /** @name PalletNonfungibleError (341) */
2626 export interface PalletNonfungibleError extends Enum {2634 export interface PalletNonfungibleError extends Enum {
2627 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2635 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
2628 readonly isNonfungibleItemsHaveNoAmount: boolean;2636 readonly isNonfungibleItemsHaveNoAmount: boolean;
2629 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';2637 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';
2630 }2638 }
26312639
2632 /** @name PalletStructureError (338) */2640 /** @name PalletStructureError (342) */
2633 export interface PalletStructureError extends Enum {2641 export interface PalletStructureError extends Enum {
2634 readonly isOuroborosDetected: boolean;2642 readonly isOuroborosDetected: boolean;
2635 readonly isDepthLimit: boolean;2643 readonly isDepthLimit: boolean;
2636 readonly isTokenNotFound: boolean;2644 readonly isTokenNotFound: boolean;
2637 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';2645 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';
2638 }2646 }
26392647
2640 /** @name PalletEvmError (340) */2648 /** @name PalletEvmError (344) */
2641 export interface PalletEvmError extends Enum {2649 export interface PalletEvmError extends Enum {
2642 readonly isBalanceLow: boolean;2650 readonly isBalanceLow: boolean;
2643 readonly isFeeOverflow: boolean;2651 readonly isFeeOverflow: boolean;
2648 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2656 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
2649 }2657 }
26502658
2651 /** @name FpRpcTransactionStatus (343) */2659 /** @name FpRpcTransactionStatus (347) */
2652 export interface FpRpcTransactionStatus extends Struct {2660 export interface FpRpcTransactionStatus extends Struct {
2653 readonly transactionHash: H256;2661 readonly transactionHash: H256;
2654 readonly transactionIndex: u32;2662 readonly transactionIndex: u32;
2659 readonly logsBloom: EthbloomBloom;2667 readonly logsBloom: EthbloomBloom;
2660 }2668 }
26612669
2662 /** @name EthbloomBloom (346) */2670 /** @name EthbloomBloom (350) */
2663 export interface EthbloomBloom extends U8aFixed {}2671 export interface EthbloomBloom extends U8aFixed {}
26642672
2665 /** @name EthereumReceiptReceiptV3 (348) */2673 /** @name EthereumReceiptReceiptV3 (352) */
2666 export interface EthereumReceiptReceiptV3 extends Enum {2674 export interface EthereumReceiptReceiptV3 extends Enum {
2667 readonly isLegacy: boolean;2675 readonly isLegacy: boolean;
2668 readonly asLegacy: EthereumReceiptEip658ReceiptData;2676 readonly asLegacy: EthereumReceiptEip658ReceiptData;
2673 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2681 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
2674 }2682 }
26752683
2676 /** @name EthereumReceiptEip658ReceiptData (349) */2684 /** @name EthereumReceiptEip658ReceiptData (353) */
2677 export interface EthereumReceiptEip658ReceiptData extends Struct {2685 export interface EthereumReceiptEip658ReceiptData extends Struct {
2678 readonly statusCode: u8;2686 readonly statusCode: u8;
2679 readonly usedGas: U256;2687 readonly usedGas: U256;
2680 readonly logsBloom: EthbloomBloom;2688 readonly logsBloom: EthbloomBloom;
2681 readonly logs: Vec<EthereumLog>;2689 readonly logs: Vec<EthereumLog>;
2682 }2690 }
26832691
2684 /** @name EthereumBlock (350) */2692 /** @name EthereumBlock (354) */
2685 export interface EthereumBlock extends Struct {2693 export interface EthereumBlock extends Struct {
2686 readonly header: EthereumHeader;2694 readonly header: EthereumHeader;
2687 readonly transactions: Vec<EthereumTransactionTransactionV2>;2695 readonly transactions: Vec<EthereumTransactionTransactionV2>;
2688 readonly ommers: Vec<EthereumHeader>;2696 readonly ommers: Vec<EthereumHeader>;
2689 }2697 }
26902698
2691 /** @name EthereumHeader (351) */2699 /** @name EthereumHeader (355) */
2692 export interface EthereumHeader extends Struct {2700 export interface EthereumHeader extends Struct {
2693 readonly parentHash: H256;2701 readonly parentHash: H256;
2694 readonly ommersHash: H256;2702 readonly ommersHash: H256;
2707 readonly nonce: EthereumTypesHashH64;2715 readonly nonce: EthereumTypesHashH64;
2708 }2716 }
27092717
2710 /** @name EthereumTypesHashH64 (352) */2718 /** @name EthereumTypesHashH64 (356) */
2711 export interface EthereumTypesHashH64 extends U8aFixed {}2719 export interface EthereumTypesHashH64 extends U8aFixed {}
27122720
2713 /** @name PalletEthereumError (357) */2721 /** @name PalletEthereumError (361) */
2714 export interface PalletEthereumError extends Enum {2722 export interface PalletEthereumError extends Enum {
2715 readonly isInvalidSignature: boolean;2723 readonly isInvalidSignature: boolean;
2716 readonly isPreLogExists: boolean;2724 readonly isPreLogExists: boolean;
2717 readonly type: 'InvalidSignature' | 'PreLogExists';2725 readonly type: 'InvalidSignature' | 'PreLogExists';
2718 }2726 }
27192727
2720 /** @name PalletEvmCoderSubstrateError (358) */2728 /** @name PalletEvmCoderSubstrateError (362) */
2721 export interface PalletEvmCoderSubstrateError extends Enum {2729 export interface PalletEvmCoderSubstrateError extends Enum {
2722 readonly isOutOfGas: boolean;2730 readonly isOutOfGas: boolean;
2723 readonly isOutOfFund: boolean;2731 readonly isOutOfFund: boolean;
2724 readonly type: 'OutOfGas' | 'OutOfFund';2732 readonly type: 'OutOfGas' | 'OutOfFund';
2725 }2733 }
27262734
2727 /** @name PalletEvmContractHelpersSponsoringModeT (359) */2735 /** @name PalletEvmContractHelpersSponsoringModeT (363) */
2728 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {2736 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
2729 readonly isDisabled: boolean;2737 readonly isDisabled: boolean;
2730 readonly isAllowlisted: boolean;2738 readonly isAllowlisted: boolean;
2731 readonly isGenerous: boolean;2739 readonly isGenerous: boolean;
2732 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';2740 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
2733 }2741 }
27342742
2735 /** @name PalletEvmContractHelpersError (361) */2743 /** @name PalletEvmContractHelpersError (365) */
2736 export interface PalletEvmContractHelpersError extends Enum {2744 export interface PalletEvmContractHelpersError extends Enum {
2737 readonly isNoPermission: boolean;2745 readonly isNoPermission: boolean;
2738 readonly type: 'NoPermission';2746 readonly type: 'NoPermission';
2739 }2747 }
27402748
2741 /** @name PalletEvmMigrationError (362) */2749 /** @name PalletEvmMigrationError (366) */
2742 export interface PalletEvmMigrationError extends Enum {2750 export interface PalletEvmMigrationError extends Enum {
2743 readonly isAccountNotEmpty: boolean;2751 readonly isAccountNotEmpty: boolean;
2744 readonly isAccountIsNotMigrating: boolean;2752 readonly isAccountIsNotMigrating: boolean;
2745 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';2753 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
2746 }2754 }
27472755
2748 /** @name SpRuntimeMultiSignature (364) */2756 /** @name SpRuntimeMultiSignature (368) */
2749 export interface SpRuntimeMultiSignature extends Enum {2757 export interface SpRuntimeMultiSignature extends Enum {
2750 readonly isEd25519: boolean;2758 readonly isEd25519: boolean;
2751 readonly asEd25519: SpCoreEd25519Signature;2759 readonly asEd25519: SpCoreEd25519Signature;
2756 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2764 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
2757 }2765 }
27582766
2759 /** @name SpCoreEd25519Signature (365) */2767 /** @name SpCoreEd25519Signature (369) */
2760 export interface SpCoreEd25519Signature extends U8aFixed {}2768 export interface SpCoreEd25519Signature extends U8aFixed {}
27612769
2762 /** @name SpCoreSr25519Signature (367) */2770 /** @name SpCoreSr25519Signature (371) */
2763 export interface SpCoreSr25519Signature extends U8aFixed {}2771 export interface SpCoreSr25519Signature extends U8aFixed {}
27642772
2765 /** @name SpCoreEcdsaSignature (368) */2773 /** @name SpCoreEcdsaSignature (372) */
2766 export interface SpCoreEcdsaSignature extends U8aFixed {}2774 export interface SpCoreEcdsaSignature extends U8aFixed {}
27672775
2768 /** @name FrameSystemExtensionsCheckSpecVersion (371) */2776 /** @name FrameSystemExtensionsCheckSpecVersion (375) */
2769 export type FrameSystemExtensionsCheckSpecVersion = Null;2777 export type FrameSystemExtensionsCheckSpecVersion = Null;
27702778
2771 /** @name FrameSystemExtensionsCheckGenesis (372) */2779 /** @name FrameSystemExtensionsCheckGenesis (376) */
2772 export type FrameSystemExtensionsCheckGenesis = Null;2780 export type FrameSystemExtensionsCheckGenesis = Null;
27732781
2774 /** @name FrameSystemExtensionsCheckNonce (375) */2782 /** @name FrameSystemExtensionsCheckNonce (379) */
2775 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}2783 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
27762784
2777 /** @name FrameSystemExtensionsCheckWeight (376) */2785 /** @name FrameSystemExtensionsCheckWeight (380) */
2778 export type FrameSystemExtensionsCheckWeight = Null;2786 export type FrameSystemExtensionsCheckWeight = Null;
27792787
2780 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (377) */2788 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (381) */
2781 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}2789 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
27822790
2783 /** @name OpalRuntimeRuntime (378) */2791 /** @name OpalRuntimeRuntime (382) */
2784 export type OpalRuntimeRuntime = Null;2792 export type OpalRuntimeRuntime = Null;
27852793
2786} // declare module2794} // declare module
modifiedtests/src/interfaces/unique/definitions.tsdiffbeforeafterboth
60 [collectionParam, propertyKeysParam],59 [collectionParam, propertyKeysParam],
61 'Vec<UpDataStructsProperty>',60 'Vec<UpDataStructsProperty>',
62 ),61 ),
6362 tokenProperties: fun(
63 'Get token properties',
64 [collectionParam, tokenParam, propertyKeysParam],
65 'Vec<UpDataStructsProperty>',
66 ),
67 propertyPermissions: fun(
68 'Get property permissions',
69 [collectionParam, propertyKeysParam],
70 'Vec<UpDataStructsPropertyKeyPermission>',
71 ),
72 tokenData: fun(
73 'Get token data',
74 [collectionParam, tokenParam, propertyKeysParam],
75 'UpDataStructsTokenData',
76 ),
64 tokenExists: fun('Check if token exists', [collectionParam, tokenParam], 'bool'),77 tokenExists: fun('Check if token exists', [collectionParam, tokenParam], 'bool'),
65 collectionById: fun('Get collection by specified id', [collectionParam], 'Option<UpDataStructsRpcCollection>'),78 collectionById: fun('Get collection by specified id', [collectionParam], 'Option<UpDataStructsRpcCollection>'),
66 collectionStats: fun('Get collection stats', [], 'UpDataStructsCollectionStats'),79 collectionStats: fun('Get collection stats', [], 'UpDataStructsCollectionStats'),
modifiedtests/src/interfaces/unique/types.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';4import type { BTreeMap, 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';5import type { ITuple } from '@polkadot/types-codec/types';
6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
7import type { Event } from '@polkadot/types/interfaces/system';7import type { Event } from '@polkadot/types/interfaces/system';
447export interface FrameSupportPalletId extends U8aFixed {}447export interface FrameSupportPalletId extends U8aFixed {}
448448
449/** @name FrameSupportStorageBoundedBTreeSet */449/** @name FrameSupportStorageBoundedBTreeSet */
450export interface FrameSupportStorageBoundedBTreeSet extends BTreeSet<u32> {}450export interface FrameSupportStorageBoundedBTreeSet extends Vec<u32> {}
451451
452/** @name FrameSupportTokensMiscBalanceStatus */452/** @name FrameSupportTokensMiscBalanceStatus */
453export interface FrameSupportTokensMiscBalanceStatus extends Enum {453export interface FrameSupportTokensMiscBalanceStatus extends Enum {
1086 readonly isFungibleItemsHaveNoId: boolean;1086 readonly isFungibleItemsHaveNoId: boolean;
1087 readonly isFungibleItemsDontHaveData: boolean;1087 readonly isFungibleItemsDontHaveData: boolean;
1088 readonly isFungibleDisallowsNesting: boolean;1088 readonly isFungibleDisallowsNesting: boolean;
1089 readonly isPropertiesNotAllowed: boolean;1089 readonly isSettingPropertiesNotAllowed: boolean;
1090 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'PropertiesNotAllowed';1090 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
1091}1091}
10921092
1093/** @name PalletInflationCall */1093/** @name PalletInflationCall */
1118 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1118 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
1119 readonly isWrongRefungiblePieces: boolean;1119 readonly isWrongRefungiblePieces: boolean;
1120 readonly isRefungibleDisallowsNesting: boolean;1120 readonly isRefungibleDisallowsNesting: boolean;
1121 readonly isPropertiesNotAllowed: boolean;1121 readonly isSettingPropertiesNotAllowed: boolean;
1122 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'PropertiesNotAllowed';1122 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
1123}1123}
11241124
1125/** @name PalletRefungibleItemData */1125/** @name PalletRefungibleItemData */
1632 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';1632 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
1633}1633}
1634
1635/** @name PhantomTypeUpDataStructsRpcCollection */
1636export interface PhantomTypeUpDataStructsRpcCollection extends Vec<Lookup330> {}
16341637
1635/** @name PhantomTypeUpDataStructs */1638/** @name PhantomTypeUpDataStructsTokenData */
1636export interface PhantomTypeUpDataStructs extends Vec<Lookup326> {}1639export interface PhantomTypeUpDataStructsTokenData extends Vec<Lookup326> {}
16371640
1638/** @name PolkadotCorePrimitivesInboundDownwardMessage */1641/** @name PolkadotCorePrimitivesInboundDownwardMessage */
1639export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1642export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
17821785
1783/** @name SpTrieStorageProof */1786/** @name SpTrieStorageProof */
1784export interface SpTrieStorageProof extends Struct {1787export interface SpTrieStorageProof extends Struct {
1785 readonly trieNodes: BTreeSet<Bytes>;1788 readonly trieNodes: Vec<Bytes>;
1786}1789}
17871790
1788/** @name SpVersionRuntimeVersion */1791/** @name SpVersionRuntimeVersion */
1908export interface UpDataStructsCreateNftData extends Struct {1911export interface UpDataStructsCreateNftData extends Struct {
1909 readonly constData: Bytes;1912 readonly constData: Bytes;
1910 readonly variableData: Bytes;1913 readonly variableData: Bytes;
1914 readonly properties: Vec<UpDataStructsProperty>;
1911}1915}
19121916
1913/** @name UpDataStructsCreateNftExData */1917/** @name UpDataStructsCreateNftExData */
1914export interface UpDataStructsCreateNftExData extends Struct {1918export interface UpDataStructsCreateNftExData extends Struct {
1915 readonly constData: Bytes;1919 readonly constData: Bytes;
1916 readonly variableData: Bytes;1920 readonly variableData: Bytes;
1921 readonly properties: Vec<UpDataStructsProperty>;
1917 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1922 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1918}1923}
19191924
1968}1973}
19691974
1970/** @name UpDataStructsPropertyPermission */1975/** @name UpDataStructsPropertyPermission */
1971export interface UpDataStructsPropertyPermission extends Enum {1976export interface UpDataStructsPropertyPermission extends Struct {
1972 readonly isNone: boolean;1977 readonly mutable: bool;
1973 readonly isAdminConst: boolean;1978 readonly collectionAdmin: bool;
1974 readonly isAdmin: boolean;1979 readonly tokenOwner: bool;
1975 readonly isItemOwnerConst: boolean;
1976 readonly isItemOwner: boolean;
1977 readonly isItemOwnerOrAdmin: boolean;
1978 readonly type: 'None' | 'AdminConst' | 'Admin' | 'ItemOwnerConst' | 'ItemOwner' | 'ItemOwnerOrAdmin';
1979}1980}
19801981
1981/** @name UpDataStructsRpcCollection */1982/** @name UpDataStructsRpcCollection */
2021 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2022 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
2022}2023}
2024
2025/** @name UpDataStructsTokenData */
2026export interface UpDataStructsTokenData extends Struct {
2027 readonly constData: Bytes;
2028 readonly properties: Vec<UpDataStructsProperty>;
2029 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
2030}
20232031
2024/** @name XcmDoubleEncoded */2032/** @name XcmDoubleEncoded */
2025export interface XcmDoubleEncoded extends Struct {2033export interface XcmDoubleEncoded extends Struct {
modifiedtests/src/nesting/migration-check.test.tsdiffbeforeafterboth
5import {IKeyringPair} from '@polkadot/types/types';5import {IKeyringPair} from '@polkadot/types/types';
6import {strToUTF16} from '../util/util';6import {strToUTF16} from '../util/util';
7import waitNewBlocks from '../substrate/wait-new-blocks';7import waitNewBlocks from '../substrate/wait-new-blocks';
8// Used for polkadot-launch signalling
9import find from 'find-process';
810
9// todo skip11// todo skip
10describe('Migration testing for pallet-common', () => {12describe('Migration testing for pallet-common', () => {
54 let newVersion = oldVersion!;56 let newVersion = oldVersion!;
55 let connectionFailCounter = 0;57 let connectionFailCounter = 0;
5658
57 // Cooperate with polkadot-launch if it's running (assuming custom name change), and send a custom signal59 // Cooperate with polkadot-launch if it's running (assuming custom name change to 'polkadot-launch'), and send a custom signal
58 const find = require('find-process');
59 find('name', 'polkadot-launch', true).then(function (list: [any]) {60 find('name', 'polkadot-launch', true).then((list) => {
60 for (let proc of list) {61 for (const proc of list) {
61 process.kill(proc.pid, 'SIGUSR1');62 process.kill(proc.pid, 'SIGUSR1');
62 }63 }
63 })64 });
6465
65 // And wait for the parachain upgrade66 // And wait for the parachain upgrade
66 while (newVersion == oldVersion! && connectionFailCounter < 2) {67 while (newVersion == oldVersion! && connectionFailCounter < 2) {
addedtests/src/nesting/properties.test.tsdiffbeforeafterboth

no changes

modifiedtests/src/nesting/unnest.test.tsdiffbeforeafterboth
10 getTopmostTokenOwner, 10 getTopmostTokenOwner,
11 normalizeAccountId, 11 normalizeAccountId,
12 setCollectionLimitsExpectSuccess, 12 setCollectionLimitsExpectSuccess,
13 transferExpectFailure,
14 transferExpectSuccess, 13 transferExpectSuccess,
15} from '../util/helpers';14} from '../util/helpers';
16import {IKeyringPair} from '@polkadot/types/types';15import {IKeyringPair} from '@polkadot/types/types';