difftreelog
test(properties)
in: master
13 files changed
tests/package.jsondiffbeforeafterboth--- a/tests/package.json
+++ b/tests/package.json
@@ -34,6 +34,7 @@
"testCollision": "mocha --timeout 9999999 -r ts-node/register ./src/collision-tests/*.test.ts",
"testEvent": "mocha --timeout 9999999 -r ts-node/register ./src/check-event/*.test.ts",
"testNesting": "mocha --timeout 9999999 -r ts-node/register ./**/nesting/**.test.ts",
+ "testProperties": "mocha --timeout 9999999 -r ts-node/register ./**/properties.test.ts",
"testMigrationStructure": "mocha --timeout 9999999 -r ts-node/register ./**/nesting/migration-check.test.ts",
"testAddCollectionAdmin": "mocha --timeout 9999999 -r ts-node/register ./**/addCollectionAdmin.test.ts",
"testSetSchemaVersion": "mocha --timeout 9999999 -r ts-node/register ./**/setSchemaVersion.test.ts",
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -271,9 +271,9 @@
**/
NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
/**
- * Item properties are not allowed
+ * Setting item properties is not allowed
**/
- PropertiesNotAllowed: AugmentedError<ApiType>;
+ SettingPropertiesNotAllowed: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -399,13 +399,13 @@
**/
NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
/**
- * Item properties are not allowed
+ * Refungible token can't nest other tokens
**/
- PropertiesNotAllowed: AugmentedError<ApiType>;
+ RefungibleDisallowsNesting: AugmentedError<ApiType>;
/**
- * Refungible token can't nest other tokens
+ * Setting item properties is not allowed
**/
- RefungibleDisallowsNesting: AugmentedError<ApiType>;
+ SettingPropertiesNotAllowed: AugmentedError<ApiType>;
/**
* Maximum refungibility exceeded
**/
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -5,7 +5,7 @@
import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, 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';
+import 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';
import type { Observable } from '@polkadot/types/types';
declare module '@polkadot/api-base/types/storage' {
@@ -92,7 +92,7 @@
/**
* Not used by code, exists only to provide some types to metadata
**/
- dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;
+ dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, PhantomTypeUpDataStructsTokenData, PhantomTypeUpDataStructsRpcCollection]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* List of collection admins
**/
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
-import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsRpcCollection } from './unique';
+import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenData } from './unique';
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
import type { Metadata, StorageKey } from '@polkadot/types';
import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
@@ -13,7 +13,6 @@
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
-import type { BlockStats } from '@polkadot/types/interfaces/dev';
import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
@@ -23,7 +22,7 @@
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
-import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
+import type { ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
@@ -156,12 +155,6 @@
* Upload new code without instantiating a contract from it
**/
uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<CodeUploadResult>>;
- };
- dev: {
- /**
- * Reexecute the specified `block_hash` and gather statistics while doing so
- **/
- getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable<Option<BlockStats>>>;
};
engine: {
/**
@@ -341,9 +334,9 @@
};
grandpa: {
/**
- * Prove finality for the given block number, returning the Justification for the last block in the set.
+ * Prove finality for the range (begin; end] hash.
**/
- proveFinality: AugmentedRpc<(blockNumber: BlockNumber | AnyNumber | Uint8Array) => Observable<Option<EncodedFinalityProofs>>>;
+ proveFinality: AugmentedRpc<(begin: BlockHash | string | Uint8Array, end: BlockHash | string | Uint8Array, authoritiesSetId?: u64 | AnyNumber | Uint8Array) => Observable<Option<EncodedFinalityProofs>>>;
/**
* Returns the state of the current best round state as well as the ongoing background rounds
**/
@@ -480,10 +473,6 @@
* Provides a way to trace the re-execution of a single block
**/
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>>;
- /**
- * Check current migration state
- **/
- trieMigrationStatus: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<MigrationStatusResult>>;
};
syncstate: {
/**
@@ -631,6 +620,14 @@
**/
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>>>;
/**
+ * Get property permissions
+ **/
+ propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;
+ /**
+ * Get token data
+ **/
+ tokenData: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<UpDataStructsTokenData>>;
+ /**
* Check if token exists
**/
tokenExists: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;
@@ -639,6 +636,10 @@
**/
tokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>>;
/**
+ * Get token properties
+ **/
+ tokenProperties: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsProperty>>>;
+ /**
* Get token owner, in case of nested token - find parent recursive
**/
topmostTokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>>;
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -378,7 +378,7 @@
* - Weight of derivative `call` execution + 10,000.
* # </weight>
**/
- sudo: AugmentedSubmittable<(call: Call) => SubmittableExtrinsic<ApiType>, [Call]>;
+ sudo: AugmentedSubmittable<(call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
/**
* Authenticates the sudo key and dispatches a function call with `Signed` origin from
* a given account.
@@ -392,7 +392,7 @@
* - Weight of derivative `call` execution + 10,000.
* # </weight>
**/
- sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
+ sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
/**
* Authenticates the sudo key and dispatches a function call with `Root` origin.
* This function does not check the weight of the call, and instead allows the
@@ -405,7 +405,7 @@
* - The weight of this call is defined by the caller.
* # </weight>
**/
- sudoUncheckedWeight: AugmentedSubmittable<(call: Call, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;
+ sudoUncheckedWeight: AugmentedSubmittable<(call: Call | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;
/**
* Generic tx
**/
tests/src/interfaces/augment-types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import 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';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';8import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';9import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';10import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';11import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';12import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';13import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';14import type { BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefySignedCommitment, MmrRootHash, ValidatorSetId } from '@polkadot/types/interfaces/beefy';15import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges';16import type { BlockHash } from '@polkadot/types/interfaces/chain';17import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';18import type { StatementKind } from '@polkadot/types/interfaces/claims';19import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';20import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';21import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';22import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';23import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';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';26import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';27import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';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';29import type { EvmAccount, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';30import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';31import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset';32import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt';33import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, EncodedFinalityProofs, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationProof, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, JustificationNotification, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, ReportedRoundStates, RoundState, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa';34import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity';35import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';36import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';37import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';38import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';39import type { StorageKind } from '@polkadot/types/interfaces/offchain';40import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';41import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';42import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';43import type { Approvals } from '@polkadot/types/interfaces/poll';44import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';45import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';46import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';47import type { RpcMethods } from '@polkadot/types/interfaces/rpc';48import type { AccountId, AccountId20, AccountId32, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, StorageData, StorageProof, TransactionInfo, TransactionPriority, TransactionStorageProof, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';49import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo';50import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler';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';52import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';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';54import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';55import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';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';57import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';58import type { Multiplier } from '@polkadot/types/interfaces/txpayment';59import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';60import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';61import type { VestingInfo } from '@polkadot/types/interfaces/vesting';62import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';6364declare module '@polkadot/types/types/registry' {65 export interface InterfaceTypes {66 AbridgedCandidateReceipt: AbridgedCandidateReceipt;67 AbridgedHostConfiguration: AbridgedHostConfiguration;68 AbridgedHrmpChannel: AbridgedHrmpChannel;69 AccountData: AccountData;70 AccountId: AccountId;71 AccountId20: AccountId20;72 AccountId32: AccountId32;73 AccountIdOf: AccountIdOf;74 AccountIndex: AccountIndex;75 AccountInfo: AccountInfo;76 AccountInfoWithDualRefCount: AccountInfoWithDualRefCount;77 AccountInfoWithProviders: AccountInfoWithProviders;78 AccountInfoWithRefCount: AccountInfoWithRefCount;79 AccountInfoWithRefCountU8: AccountInfoWithRefCountU8;80 AccountInfoWithTripleRefCount: AccountInfoWithTripleRefCount;81 AccountStatus: AccountStatus;82 AccountValidity: AccountValidity;83 AccountVote: AccountVote;84 AccountVoteSplit: AccountVoteSplit;85 AccountVoteStandard: AccountVoteStandard;86 ActiveEraInfo: ActiveEraInfo;87 ActiveGilt: ActiveGilt;88 ActiveGiltsTotal: ActiveGiltsTotal;89 ActiveIndex: ActiveIndex;90 ActiveRecovery: ActiveRecovery;91 Address: Address;92 AliveContractInfo: AliveContractInfo;93 AllowedSlots: AllowedSlots;94 AnySignature: AnySignature;95 ApiId: ApiId;96 ApplyExtrinsicResult: ApplyExtrinsicResult;97 ApprovalFlag: ApprovalFlag;98 Approvals: Approvals;99 ArithmeticError: ArithmeticError;100 AssetApproval: AssetApproval;101 AssetApprovalKey: AssetApprovalKey;102 AssetBalance: AssetBalance;103 AssetDestroyWitness: AssetDestroyWitness;104 AssetDetails: AssetDetails;105 AssetId: AssetId;106 AssetInstance: AssetInstance;107 AssetInstanceV0: AssetInstanceV0;108 AssetInstanceV1: AssetInstanceV1;109 AssetInstanceV2: AssetInstanceV2;110 AssetMetadata: AssetMetadata;111 AssetOptions: AssetOptions;112 AssignmentId: AssignmentId;113 AssignmentKind: AssignmentKind;114 AttestedCandidate: AttestedCandidate;115 AuctionIndex: AuctionIndex;116 AuthIndex: AuthIndex;117 AuthorityDiscoveryId: AuthorityDiscoveryId;118 AuthorityId: AuthorityId;119 AuthorityIndex: AuthorityIndex;120 AuthorityList: AuthorityList;121 AuthoritySet: AuthoritySet;122 AuthoritySetChange: AuthoritySetChange;123 AuthoritySetChanges: AuthoritySetChanges;124 AuthoritySignature: AuthoritySignature;125 AuthorityWeight: AuthorityWeight;126 AvailabilityBitfield: AvailabilityBitfield;127 AvailabilityBitfieldRecord: AvailabilityBitfieldRecord;128 BabeAuthorityWeight: BabeAuthorityWeight;129 BabeBlockWeight: BabeBlockWeight;130 BabeEpochConfiguration: BabeEpochConfiguration;131 BabeEquivocationProof: BabeEquivocationProof;132 BabeWeight: BabeWeight;133 BackedCandidate: BackedCandidate;134 Balance: Balance;135 BalanceLock: BalanceLock;136 BalanceLockTo212: BalanceLockTo212;137 BalanceOf: BalanceOf;138 BalanceStatus: BalanceStatus;139 BeefyCommitment: BeefyCommitment;140 BeefyId: BeefyId;141 BeefyKey: BeefyKey;142 BeefyNextAuthoritySet: BeefyNextAuthoritySet;143 BeefyPayload: BeefyPayload;144 BeefySignedCommitment: BeefySignedCommitment;145 Bid: Bid;146 Bidder: Bidder;147 BidKind: BidKind;148 BitVec: BitVec;149 Block: Block;150 BlockAttestations: BlockAttestations;151 BlockHash: BlockHash;152 BlockLength: BlockLength;153 BlockNumber: BlockNumber;154 BlockNumberFor: BlockNumberFor;155 BlockNumberOf: BlockNumberOf;156 BlockTrace: BlockTrace;157 BlockTraceEvent: BlockTraceEvent;158 BlockTraceEventData: BlockTraceEventData;159 BlockTraceSpan: BlockTraceSpan;160 BlockV0: BlockV0;161 BlockV1: BlockV1;162 BlockV2: BlockV2;163 BlockWeights: BlockWeights;164 BodyId: BodyId;165 BodyPart: BodyPart;166 bool: bool;167 Bool: Bool;168 Bounty: Bounty;169 BountyIndex: BountyIndex;170 BountyStatus: BountyStatus;171 BountyStatusActive: BountyStatusActive;172 BountyStatusCuratorProposed: BountyStatusCuratorProposed;173 BountyStatusPendingPayout: BountyStatusPendingPayout;174 BridgedBlockHash: BridgedBlockHash;175 BridgedBlockNumber: BridgedBlockNumber;176 BridgedHeader: BridgedHeader;177 BridgeMessageId: BridgeMessageId;178 BufferedSessionChange: BufferedSessionChange;179 Bytes: Bytes;180 Call: Call;181 CallHash: CallHash;182 CallHashOf: CallHashOf;183 CallIndex: CallIndex;184 CallOrigin: CallOrigin;185 CandidateCommitments: CandidateCommitments;186 CandidateDescriptor: CandidateDescriptor;187 CandidateHash: CandidateHash;188 CandidateInfo: CandidateInfo;189 CandidatePendingAvailability: CandidatePendingAvailability;190 CandidateReceipt: CandidateReceipt;191 ChainId: ChainId;192 ChainProperties: ChainProperties;193 ChainType: ChainType;194 ChangesTrieConfiguration: ChangesTrieConfiguration;195 ChangesTrieSignal: ChangesTrieSignal;196 ClassDetails: ClassDetails;197 ClassId: ClassId;198 ClassMetadata: ClassMetadata;199 CodecHash: CodecHash;200 CodeHash: CodeHash;201 CodeSource: CodeSource;202 CodeUploadRequest: CodeUploadRequest;203 CodeUploadResult: CodeUploadResult;204 CodeUploadResultValue: CodeUploadResultValue;205 CollatorId: CollatorId;206 CollatorSignature: CollatorSignature;207 CollectiveOrigin: CollectiveOrigin;208 CommittedCandidateReceipt: CommittedCandidateReceipt;209 CompactAssignments: CompactAssignments;210 CompactAssignmentsTo257: CompactAssignmentsTo257;211 CompactAssignmentsTo265: CompactAssignmentsTo265;212 CompactAssignmentsWith16: CompactAssignmentsWith16;213 CompactAssignmentsWith24: CompactAssignmentsWith24;214 CompactScore: CompactScore;215 CompactScoreCompact: CompactScoreCompact;216 ConfigData: ConfigData;217 Consensus: Consensus;218 ConsensusEngineId: ConsensusEngineId;219 ConsumedWeight: ConsumedWeight;220 ContractCallFlags: ContractCallFlags;221 ContractCallRequest: ContractCallRequest;222 ContractConstructorSpecLatest: ContractConstructorSpecLatest;223 ContractConstructorSpecV0: ContractConstructorSpecV0;224 ContractConstructorSpecV1: ContractConstructorSpecV1;225 ContractConstructorSpecV2: ContractConstructorSpecV2;226 ContractConstructorSpecV3: ContractConstructorSpecV3;227 ContractContractSpecV0: ContractContractSpecV0;228 ContractContractSpecV1: ContractContractSpecV1;229 ContractContractSpecV2: ContractContractSpecV2;230 ContractContractSpecV3: ContractContractSpecV3;231 ContractCryptoHasher: ContractCryptoHasher;232 ContractDiscriminant: ContractDiscriminant;233 ContractDisplayName: ContractDisplayName;234 ContractEventParamSpecLatest: ContractEventParamSpecLatest;235 ContractEventParamSpecV0: ContractEventParamSpecV0;236 ContractEventParamSpecV2: ContractEventParamSpecV2;237 ContractEventSpecLatest: ContractEventSpecLatest;238 ContractEventSpecV0: ContractEventSpecV0;239 ContractEventSpecV1: ContractEventSpecV1;240 ContractEventSpecV2: ContractEventSpecV2;241 ContractExecResult: ContractExecResult;242 ContractExecResultErr: ContractExecResultErr;243 ContractExecResultErrModule: ContractExecResultErrModule;244 ContractExecResultOk: ContractExecResultOk;245 ContractExecResultResult: ContractExecResultResult;246 ContractExecResultSuccessTo255: ContractExecResultSuccessTo255;247 ContractExecResultSuccessTo260: ContractExecResultSuccessTo260;248 ContractExecResultTo255: ContractExecResultTo255;249 ContractExecResultTo260: ContractExecResultTo260;250 ContractExecResultTo267: ContractExecResultTo267;251 ContractInfo: ContractInfo;252 ContractInstantiateResult: ContractInstantiateResult;253 ContractInstantiateResultTo267: ContractInstantiateResultTo267;254 ContractInstantiateResultTo299: ContractInstantiateResultTo299;255 ContractLayoutArray: ContractLayoutArray;256 ContractLayoutCell: ContractLayoutCell;257 ContractLayoutEnum: ContractLayoutEnum;258 ContractLayoutHash: ContractLayoutHash;259 ContractLayoutHashingStrategy: ContractLayoutHashingStrategy;260 ContractLayoutKey: ContractLayoutKey;261 ContractLayoutStruct: ContractLayoutStruct;262 ContractLayoutStructField: ContractLayoutStructField;263 ContractMessageParamSpecLatest: ContractMessageParamSpecLatest;264 ContractMessageParamSpecV0: ContractMessageParamSpecV0;265 ContractMessageParamSpecV2: ContractMessageParamSpecV2;266 ContractMessageSpecLatest: ContractMessageSpecLatest;267 ContractMessageSpecV0: ContractMessageSpecV0;268 ContractMessageSpecV1: ContractMessageSpecV1;269 ContractMessageSpecV2: ContractMessageSpecV2;270 ContractMetadata: ContractMetadata;271 ContractMetadataLatest: ContractMetadataLatest;272 ContractMetadataV0: ContractMetadataV0;273 ContractMetadataV1: ContractMetadataV1;274 ContractMetadataV2: ContractMetadataV2;275 ContractMetadataV3: ContractMetadataV3;276 ContractProject: ContractProject;277 ContractProjectContract: ContractProjectContract;278 ContractProjectInfo: ContractProjectInfo;279 ContractProjectSource: ContractProjectSource;280 ContractProjectV0: ContractProjectV0;281 ContractReturnFlags: ContractReturnFlags;282 ContractSelector: ContractSelector;283 ContractStorageKey: ContractStorageKey;284 ContractStorageLayout: ContractStorageLayout;285 ContractTypeSpec: ContractTypeSpec;286 Conviction: Conviction;287 CoreAssignment: CoreAssignment;288 CoreIndex: CoreIndex;289 CoreOccupied: CoreOccupied;290 CrateVersion: CrateVersion;291 CreatedBlock: CreatedBlock;292 CumulusPalletDmpQueueCall: CumulusPalletDmpQueueCall;293 CumulusPalletDmpQueueConfigData: CumulusPalletDmpQueueConfigData;294 CumulusPalletDmpQueueError: CumulusPalletDmpQueueError;295 CumulusPalletDmpQueueEvent: CumulusPalletDmpQueueEvent;296 CumulusPalletDmpQueuePageIndexData: CumulusPalletDmpQueuePageIndexData;297 CumulusPalletParachainSystemCall: CumulusPalletParachainSystemCall;298 CumulusPalletParachainSystemError: CumulusPalletParachainSystemError;299 CumulusPalletParachainSystemEvent: CumulusPalletParachainSystemEvent;300 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot;301 CumulusPalletXcmCall: CumulusPalletXcmCall;302 CumulusPalletXcmError: CumulusPalletXcmError;303 CumulusPalletXcmEvent: CumulusPalletXcmEvent;304 CumulusPalletXcmpQueueCall: CumulusPalletXcmpQueueCall;305 CumulusPalletXcmpQueueError: CumulusPalletXcmpQueueError;306 CumulusPalletXcmpQueueEvent: CumulusPalletXcmpQueueEvent;307 CumulusPalletXcmpQueueInboundChannelDetails: CumulusPalletXcmpQueueInboundChannelDetails;308 CumulusPalletXcmpQueueInboundState: CumulusPalletXcmpQueueInboundState;309 CumulusPalletXcmpQueueOutboundChannelDetails: CumulusPalletXcmpQueueOutboundChannelDetails;310 CumulusPalletXcmpQueueOutboundState: CumulusPalletXcmpQueueOutboundState;311 CumulusPalletXcmpQueueQueueConfigData: CumulusPalletXcmpQueueQueueConfigData;312 CumulusPrimitivesParachainInherentParachainInherentData: CumulusPrimitivesParachainInherentParachainInherentData;313 Data: Data;314 DeferredOffenceOf: DeferredOffenceOf;315 DefunctVoter: DefunctVoter;316 DelayKind: DelayKind;317 DelayKindBest: DelayKindBest;318 Delegations: Delegations;319 DeletedContract: DeletedContract;320 DeliveredMessages: DeliveredMessages;321 DepositBalance: DepositBalance;322 DepositBalanceOf: DepositBalanceOf;323 DestroyWitness: DestroyWitness;324 Digest: Digest;325 DigestItem: DigestItem;326 DigestOf: DigestOf;327 DispatchClass: DispatchClass;328 DispatchError: DispatchError;329 DispatchErrorModule: DispatchErrorModule;330 DispatchErrorTo198: DispatchErrorTo198;331 DispatchFeePayment: DispatchFeePayment;332 DispatchInfo: DispatchInfo;333 DispatchInfoTo190: DispatchInfoTo190;334 DispatchInfoTo244: DispatchInfoTo244;335 DispatchOutcome: DispatchOutcome;336 DispatchResult: DispatchResult;337 DispatchResultOf: DispatchResultOf;338 DispatchResultTo198: DispatchResultTo198;339 DisputeLocation: DisputeLocation;340 DisputeResult: DisputeResult;341 DisputeState: DisputeState;342 DisputeStatement: DisputeStatement;343 DisputeStatementSet: DisputeStatementSet;344 DoubleEncodedCall: DoubleEncodedCall;345 DoubleVoteReport: DoubleVoteReport;346 DownwardMessage: DownwardMessage;347 EcdsaSignature: EcdsaSignature;348 Ed25519Signature: Ed25519Signature;349 EIP1559Transaction: EIP1559Transaction;350 EIP2930Transaction: EIP2930Transaction;351 ElectionCompute: ElectionCompute;352 ElectionPhase: ElectionPhase;353 ElectionResult: ElectionResult;354 ElectionScore: ElectionScore;355 ElectionSize: ElectionSize;356 ElectionStatus: ElectionStatus;357 EncodedFinalityProofs: EncodedFinalityProofs;358 EncodedJustification: EncodedJustification;359 EpochAuthorship: EpochAuthorship;360 Era: Era;361 EraIndex: EraIndex;362 EraPoints: EraPoints;363 EraRewardPoints: EraRewardPoints;364 EraRewards: EraRewards;365 ErrorMetadataLatest: ErrorMetadataLatest;366 ErrorMetadataV10: ErrorMetadataV10;367 ErrorMetadataV11: ErrorMetadataV11;368 ErrorMetadataV12: ErrorMetadataV12;369 ErrorMetadataV13: ErrorMetadataV13;370 ErrorMetadataV14: ErrorMetadataV14;371 ErrorMetadataV9: ErrorMetadataV9;372 EthAccessList: EthAccessList;373 EthAccessListItem: EthAccessListItem;374 EthAccount: EthAccount;375 EthAddress: EthAddress;376 EthBlock: EthBlock;377 EthBloom: EthBloom;378 EthbloomBloom: EthbloomBloom;379 EthCallRequest: EthCallRequest;380 EthereumAccountId: EthereumAccountId;381 EthereumAddress: EthereumAddress;382 EthereumBlock: EthereumBlock;383 EthereumHeader: EthereumHeader;384 EthereumLog: EthereumLog;385 EthereumLookupSource: EthereumLookupSource;386 EthereumReceiptEip658ReceiptData: EthereumReceiptEip658ReceiptData;387 EthereumReceiptReceiptV3: EthereumReceiptReceiptV3;388 EthereumSignature: EthereumSignature;389 EthereumTransactionAccessListItem: EthereumTransactionAccessListItem;390 EthereumTransactionEip1559Transaction: EthereumTransactionEip1559Transaction;391 EthereumTransactionEip2930Transaction: EthereumTransactionEip2930Transaction;392 EthereumTransactionLegacyTransaction: EthereumTransactionLegacyTransaction;393 EthereumTransactionTransactionAction: EthereumTransactionTransactionAction;394 EthereumTransactionTransactionSignature: EthereumTransactionTransactionSignature;395 EthereumTransactionTransactionV2: EthereumTransactionTransactionV2;396 EthereumTypesHashH64: EthereumTypesHashH64;397 EthFilter: EthFilter;398 EthFilterAddress: EthFilterAddress;399 EthFilterChanges: EthFilterChanges;400 EthFilterTopic: EthFilterTopic;401 EthFilterTopicEntry: EthFilterTopicEntry;402 EthFilterTopicInner: EthFilterTopicInner;403 EthHeader: EthHeader;404 EthLog: EthLog;405 EthReceipt: EthReceipt;406 EthRichBlock: EthRichBlock;407 EthRichHeader: EthRichHeader;408 EthStorageProof: EthStorageProof;409 EthSubKind: EthSubKind;410 EthSubParams: EthSubParams;411 EthSubResult: EthSubResult;412 EthSyncInfo: EthSyncInfo;413 EthSyncStatus: EthSyncStatus;414 EthTransaction: EthTransaction;415 EthTransactionAction: EthTransactionAction;416 EthTransactionCondition: EthTransactionCondition;417 EthTransactionRequest: EthTransactionRequest;418 EthTransactionSignature: EthTransactionSignature;419 EthTransactionStatus: EthTransactionStatus;420 EthWork: EthWork;421 Event: Event;422 EventId: EventId;423 EventIndex: EventIndex;424 EventMetadataLatest: EventMetadataLatest;425 EventMetadataV10: EventMetadataV10;426 EventMetadataV11: EventMetadataV11;427 EventMetadataV12: EventMetadataV12;428 EventMetadataV13: EventMetadataV13;429 EventMetadataV14: EventMetadataV14;430 EventMetadataV9: EventMetadataV9;431 EventRecord: EventRecord;432 EvmAccount: EvmAccount;433 EvmCoreErrorExitError: EvmCoreErrorExitError;434 EvmCoreErrorExitFatal: EvmCoreErrorExitFatal;435 EvmCoreErrorExitReason: EvmCoreErrorExitReason;436 EvmCoreErrorExitRevert: EvmCoreErrorExitRevert;437 EvmCoreErrorExitSucceed: EvmCoreErrorExitSucceed;438 EvmLog: EvmLog;439 EvmVicinity: EvmVicinity;440 ExecReturnValue: ExecReturnValue;441 ExitError: ExitError;442 ExitFatal: ExitFatal;443 ExitReason: ExitReason;444 ExitRevert: ExitRevert;445 ExitSucceed: ExitSucceed;446 ExplicitDisputeStatement: ExplicitDisputeStatement;447 Exposure: Exposure;448 ExtendedBalance: ExtendedBalance;449 Extrinsic: Extrinsic;450 ExtrinsicEra: ExtrinsicEra;451 ExtrinsicMetadataLatest: ExtrinsicMetadataLatest;452 ExtrinsicMetadataV11: ExtrinsicMetadataV11;453 ExtrinsicMetadataV12: ExtrinsicMetadataV12;454 ExtrinsicMetadataV13: ExtrinsicMetadataV13;455 ExtrinsicMetadataV14: ExtrinsicMetadataV14;456 ExtrinsicOrHash: ExtrinsicOrHash;457 ExtrinsicPayload: ExtrinsicPayload;458 ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown;459 ExtrinsicPayloadV4: ExtrinsicPayloadV4;460 ExtrinsicSignature: ExtrinsicSignature;461 ExtrinsicSignatureV4: ExtrinsicSignatureV4;462 ExtrinsicStatus: ExtrinsicStatus;463 ExtrinsicsWeight: ExtrinsicsWeight;464 ExtrinsicUnknown: ExtrinsicUnknown;465 ExtrinsicV4: ExtrinsicV4;466 FeeDetails: FeeDetails;467 Fixed128: Fixed128;468 Fixed64: Fixed64;469 FixedI128: FixedI128;470 FixedI64: FixedI64;471 FixedU128: FixedU128;472 FixedU64: FixedU64;473 Forcing: Forcing;474 ForkTreePendingChange: ForkTreePendingChange;475 ForkTreePendingChangeNode: ForkTreePendingChangeNode;476 FpRpcTransactionStatus: FpRpcTransactionStatus;477 FrameSupportPalletId: FrameSupportPalletId;478 FrameSupportStorageBoundedBTreeSet: FrameSupportStorageBoundedBTreeSet;479 FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus;480 FrameSupportWeightsDispatchClass: FrameSupportWeightsDispatchClass;481 FrameSupportWeightsDispatchInfo: FrameSupportWeightsDispatchInfo;482 FrameSupportWeightsPays: FrameSupportWeightsPays;483 FrameSupportWeightsPerDispatchClassU32: FrameSupportWeightsPerDispatchClassU32;484 FrameSupportWeightsPerDispatchClassU64: FrameSupportWeightsPerDispatchClassU64;485 FrameSupportWeightsPerDispatchClassWeightsPerClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;486 FrameSupportWeightsRuntimeDbWeight: FrameSupportWeightsRuntimeDbWeight;487 FrameSupportWeightsWeightToFeeCoefficient: FrameSupportWeightsWeightToFeeCoefficient;488 FrameSystemAccountInfo: FrameSystemAccountInfo;489 FrameSystemCall: FrameSystemCall;490 FrameSystemError: FrameSystemError;491 FrameSystemEvent: FrameSystemEvent;492 FrameSystemEventRecord: FrameSystemEventRecord;493 FrameSystemExtensionsCheckGenesis: FrameSystemExtensionsCheckGenesis;494 FrameSystemExtensionsCheckNonce: FrameSystemExtensionsCheckNonce;495 FrameSystemExtensionsCheckSpecVersion: FrameSystemExtensionsCheckSpecVersion;496 FrameSystemExtensionsCheckWeight: FrameSystemExtensionsCheckWeight;497 FrameSystemLastRuntimeUpgradeInfo: FrameSystemLastRuntimeUpgradeInfo;498 FrameSystemLimitsBlockLength: FrameSystemLimitsBlockLength;499 FrameSystemLimitsBlockWeights: FrameSystemLimitsBlockWeights;500 FrameSystemLimitsWeightsPerClass: FrameSystemLimitsWeightsPerClass;501 FrameSystemPhase: FrameSystemPhase;502 FullIdentification: FullIdentification;503 FunctionArgumentMetadataLatest: FunctionArgumentMetadataLatest;504 FunctionArgumentMetadataV10: FunctionArgumentMetadataV10;505 FunctionArgumentMetadataV11: FunctionArgumentMetadataV11;506 FunctionArgumentMetadataV12: FunctionArgumentMetadataV12;507 FunctionArgumentMetadataV13: FunctionArgumentMetadataV13;508 FunctionArgumentMetadataV14: FunctionArgumentMetadataV14;509 FunctionArgumentMetadataV9: FunctionArgumentMetadataV9;510 FunctionMetadataLatest: FunctionMetadataLatest;511 FunctionMetadataV10: FunctionMetadataV10;512 FunctionMetadataV11: FunctionMetadataV11;513 FunctionMetadataV12: FunctionMetadataV12;514 FunctionMetadataV13: FunctionMetadataV13;515 FunctionMetadataV14: FunctionMetadataV14;516 FunctionMetadataV9: FunctionMetadataV9;517 FundIndex: FundIndex;518 FundInfo: FundInfo;519 Fungibility: Fungibility;520 FungibilityV0: FungibilityV0;521 FungibilityV1: FungibilityV1;522 FungibilityV2: FungibilityV2;523 Gas: Gas;524 GiltBid: GiltBid;525 GlobalValidationData: GlobalValidationData;526 GlobalValidationSchedule: GlobalValidationSchedule;527 GrandpaCommit: GrandpaCommit;528 GrandpaEquivocation: GrandpaEquivocation;529 GrandpaEquivocationProof: GrandpaEquivocationProof;530 GrandpaEquivocationValue: GrandpaEquivocationValue;531 GrandpaJustification: GrandpaJustification;532 GrandpaPrecommit: GrandpaPrecommit;533 GrandpaPrevote: GrandpaPrevote;534 GrandpaSignedPrecommit: GrandpaSignedPrecommit;535 GroupIndex: GroupIndex;536 H1024: H1024;537 H128: H128;538 H160: H160;539 H2048: H2048;540 H256: H256;541 H32: H32;542 H512: H512;543 H64: H64;544 Hash: Hash;545 HeadData: HeadData;546 Header: Header;547 HeaderPartial: HeaderPartial;548 Health: Health;549 Heartbeat: Heartbeat;550 HeartbeatTo244: HeartbeatTo244;551 HostConfiguration: HostConfiguration;552 HostFnWeights: HostFnWeights;553 HostFnWeightsTo264: HostFnWeightsTo264;554 HrmpChannel: HrmpChannel;555 HrmpChannelId: HrmpChannelId;556 HrmpOpenChannelRequest: HrmpOpenChannelRequest;557 i128: i128;558 I128: I128;559 i16: i16;560 I16: I16;561 i256: i256;562 I256: I256;563 i32: i32;564 I32: I32;565 I32F32: I32F32;566 i64: i64;567 I64: I64;568 i8: i8;569 I8: I8;570 IdentificationTuple: IdentificationTuple;571 IdentityFields: IdentityFields;572 IdentityInfo: IdentityInfo;573 IdentityInfoAdditional: IdentityInfoAdditional;574 IdentityInfoTo198: IdentityInfoTo198;575 IdentityJudgement: IdentityJudgement;576 ImmortalEra: ImmortalEra;577 ImportedAux: ImportedAux;578 InboundDownwardMessage: InboundDownwardMessage;579 InboundHrmpMessage: InboundHrmpMessage;580 InboundHrmpMessages: InboundHrmpMessages;581 InboundLaneData: InboundLaneData;582 InboundRelayer: InboundRelayer;583 InboundStatus: InboundStatus;584 IncludedBlocks: IncludedBlocks;585 InclusionFee: InclusionFee;586 IncomingParachain: IncomingParachain;587 IncomingParachainDeploy: IncomingParachainDeploy;588 IncomingParachainFixed: IncomingParachainFixed;589 Index: Index;590 IndicesLookupSource: IndicesLookupSource;591 IndividualExposure: IndividualExposure;592 InitializationData: InitializationData;593 InstanceDetails: InstanceDetails;594 InstanceId: InstanceId;595 InstanceMetadata: InstanceMetadata;596 InstantiateRequest: InstantiateRequest;597 InstantiateRequestV1: InstantiateRequestV1;598 InstantiateRequestV2: InstantiateRequestV2;599 InstantiateReturnValue: InstantiateReturnValue;600 InstantiateReturnValueOk: InstantiateReturnValueOk;601 InstantiateReturnValueTo267: InstantiateReturnValueTo267;602 InstructionV2: InstructionV2;603 InstructionWeights: InstructionWeights;604 InteriorMultiLocation: InteriorMultiLocation;605 InvalidDisputeStatementKind: InvalidDisputeStatementKind;606 InvalidTransaction: InvalidTransaction;607 Json: Json;608 Junction: Junction;609 Junctions: Junctions;610 JunctionsV1: JunctionsV1;611 JunctionsV2: JunctionsV2;612 JunctionV0: JunctionV0;613 JunctionV1: JunctionV1;614 JunctionV2: JunctionV2;615 Justification: Justification;616 JustificationNotification: JustificationNotification;617 Justifications: Justifications;618 Key: Key;619 KeyOwnerProof: KeyOwnerProof;620 Keys: Keys;621 KeyType: KeyType;622 KeyTypeId: KeyTypeId;623 KeyValue: KeyValue;624 KeyValueOption: KeyValueOption;625 Kind: Kind;626 LaneId: LaneId;627 LastContribution: LastContribution;628 LastRuntimeUpgradeInfo: LastRuntimeUpgradeInfo;629 LeasePeriod: LeasePeriod;630 LeasePeriodOf: LeasePeriodOf;631 LegacyTransaction: LegacyTransaction;632 Limits: Limits;633 LimitsTo264: LimitsTo264;634 LocalValidationData: LocalValidationData;635 LockIdentifier: LockIdentifier;636 LookupSource: LookupSource;637 LookupTarget: LookupTarget;638 LotteryConfig: LotteryConfig;639 MaybeRandomness: MaybeRandomness;640 MaybeVrf: MaybeVrf;641 MemberCount: MemberCount;642 MembershipProof: MembershipProof;643 MessageData: MessageData;644 MessageId: MessageId;645 MessageIngestionType: MessageIngestionType;646 MessageKey: MessageKey;647 MessageNonce: MessageNonce;648 MessageQueueChain: MessageQueueChain;649 MessagesDeliveryProofOf: MessagesDeliveryProofOf;650 MessagesProofOf: MessagesProofOf;651 MessagingStateSnapshot: MessagingStateSnapshot;652 MessagingStateSnapshotEgressEntry: MessagingStateSnapshotEgressEntry;653 MetadataAll: MetadataAll;654 MetadataLatest: MetadataLatest;655 MetadataV10: MetadataV10;656 MetadataV11: MetadataV11;657 MetadataV12: MetadataV12;658 MetadataV13: MetadataV13;659 MetadataV14: MetadataV14;660 MetadataV9: MetadataV9;661 MmrLeafProof: MmrLeafProof;662 MmrRootHash: MmrRootHash;663 ModuleConstantMetadataV10: ModuleConstantMetadataV10;664 ModuleConstantMetadataV11: ModuleConstantMetadataV11;665 ModuleConstantMetadataV12: ModuleConstantMetadataV12;666 ModuleConstantMetadataV13: ModuleConstantMetadataV13;667 ModuleConstantMetadataV9: ModuleConstantMetadataV9;668 ModuleId: ModuleId;669 ModuleMetadataV10: ModuleMetadataV10;670 ModuleMetadataV11: ModuleMetadataV11;671 ModuleMetadataV12: ModuleMetadataV12;672 ModuleMetadataV13: ModuleMetadataV13;673 ModuleMetadataV9: ModuleMetadataV9;674 Moment: Moment;675 MomentOf: MomentOf;676 MoreAttestations: MoreAttestations;677 MortalEra: MortalEra;678 MultiAddress: MultiAddress;679 MultiAsset: MultiAsset;680 MultiAssetFilter: MultiAssetFilter;681 MultiAssetFilterV1: MultiAssetFilterV1;682 MultiAssetFilterV2: MultiAssetFilterV2;683 MultiAssets: MultiAssets;684 MultiAssetsV1: MultiAssetsV1;685 MultiAssetsV2: MultiAssetsV2;686 MultiAssetV0: MultiAssetV0;687 MultiAssetV1: MultiAssetV1;688 MultiAssetV2: MultiAssetV2;689 MultiDisputeStatementSet: MultiDisputeStatementSet;690 MultiLocation: MultiLocation;691 MultiLocationV0: MultiLocationV0;692 MultiLocationV1: MultiLocationV1;693 MultiLocationV2: MultiLocationV2;694 Multiplier: Multiplier;695 Multisig: Multisig;696 MultiSignature: MultiSignature;697 MultiSigner: MultiSigner;698 NetworkId: NetworkId;699 NetworkState: NetworkState;700 NetworkStatePeerset: NetworkStatePeerset;701 NetworkStatePeersetInfo: NetworkStatePeersetInfo;702 NewBidder: NewBidder;703 NextAuthority: NextAuthority;704 NextConfigDescriptor: NextConfigDescriptor;705 NextConfigDescriptorV1: NextConfigDescriptorV1;706 NodeRole: NodeRole;707 Nominations: Nominations;708 NominatorIndex: NominatorIndex;709 NominatorIndexCompact: NominatorIndexCompact;710 NotConnectedPeer: NotConnectedPeer;711 Null: Null;712 OffchainAccuracy: OffchainAccuracy;713 OffchainAccuracyCompact: OffchainAccuracyCompact;714 OffenceDetails: OffenceDetails;715 Offender: Offender;716 OpalRuntimeRuntime: OpalRuntimeRuntime;717 OpaqueCall: OpaqueCall;718 OpaqueMultiaddr: OpaqueMultiaddr;719 OpaqueNetworkState: OpaqueNetworkState;720 OpaquePeerId: OpaquePeerId;721 OpaqueTimeSlot: OpaqueTimeSlot;722 OpenTip: OpenTip;723 OpenTipFinderTo225: OpenTipFinderTo225;724 OpenTipTip: OpenTipTip;725 OpenTipTo225: OpenTipTo225;726 OperatingMode: OperatingMode;727 Origin: Origin;728 OriginCaller: OriginCaller;729 OriginKindV0: OriginKindV0;730 OriginKindV1: OriginKindV1;731 OriginKindV2: OriginKindV2;732 OrmlVestingModuleCall: OrmlVestingModuleCall;733 OrmlVestingModuleError: OrmlVestingModuleError;734 OrmlVestingModuleEvent: OrmlVestingModuleEvent;735 OrmlVestingVestingSchedule: OrmlVestingVestingSchedule;736 OutboundHrmpMessage: OutboundHrmpMessage;737 OutboundLaneData: OutboundLaneData;738 OutboundMessageFee: OutboundMessageFee;739 OutboundPayload: OutboundPayload;740 OutboundStatus: OutboundStatus;741 Outcome: Outcome;742 OverweightIndex: OverweightIndex;743 Owner: Owner;744 PageCounter: PageCounter;745 PageIndexData: PageIndexData;746 PalletBalancesAccountData: PalletBalancesAccountData;747 PalletBalancesBalanceLock: PalletBalancesBalanceLock;748 PalletBalancesCall: PalletBalancesCall;749 PalletBalancesError: PalletBalancesError;750 PalletBalancesEvent: PalletBalancesEvent;751 PalletBalancesReasons: PalletBalancesReasons;752 PalletBalancesReleases: PalletBalancesReleases;753 PalletBalancesReserveData: PalletBalancesReserveData;754 PalletCallMetadataLatest: PalletCallMetadataLatest;755 PalletCallMetadataV14: PalletCallMetadataV14;756 PalletCommonError: PalletCommonError;757 PalletCommonEvent: PalletCommonEvent;758 PalletConstantMetadataLatest: PalletConstantMetadataLatest;759 PalletConstantMetadataV14: PalletConstantMetadataV14;760 PalletErrorMetadataLatest: PalletErrorMetadataLatest;761 PalletErrorMetadataV14: PalletErrorMetadataV14;762 PalletEthereumCall: PalletEthereumCall;763 PalletEthereumError: PalletEthereumError;764 PalletEthereumEvent: PalletEthereumEvent;765 PalletEventMetadataLatest: PalletEventMetadataLatest;766 PalletEventMetadataV14: PalletEventMetadataV14;767 PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;768 PalletEvmCall: PalletEvmCall;769 PalletEvmCoderSubstrateError: PalletEvmCoderSubstrateError;770 PalletEvmContractHelpersError: PalletEvmContractHelpersError;771 PalletEvmContractHelpersSponsoringModeT: PalletEvmContractHelpersSponsoringModeT;772 PalletEvmError: PalletEvmError;773 PalletEvmEvent: PalletEvmEvent;774 PalletEvmMigrationCall: PalletEvmMigrationCall;775 PalletEvmMigrationError: PalletEvmMigrationError;776 PalletFungibleError: PalletFungibleError;777 PalletId: PalletId;778 PalletInflationCall: PalletInflationCall;779 PalletMetadataLatest: PalletMetadataLatest;780 PalletMetadataV14: PalletMetadataV14;781 PalletNonfungibleError: PalletNonfungibleError;782 PalletNonfungibleItemData: PalletNonfungibleItemData;783 PalletRefungibleError: PalletRefungibleError;784 PalletRefungibleItemData: PalletRefungibleItemData;785 PalletsOrigin: PalletsOrigin;786 PalletStorageMetadataLatest: PalletStorageMetadataLatest;787 PalletStorageMetadataV14: PalletStorageMetadataV14;788 PalletStructureCall: PalletStructureCall;789 PalletStructureError: PalletStructureError;790 PalletStructureEvent: PalletStructureEvent;791 PalletSudoCall: PalletSudoCall;792 PalletSudoError: PalletSudoError;793 PalletSudoEvent: PalletSudoEvent;794 PalletTemplateTransactionPaymentCall: PalletTemplateTransactionPaymentCall;795 PalletTemplateTransactionPaymentChargeTransactionPayment: PalletTemplateTransactionPaymentChargeTransactionPayment;796 PalletTimestampCall: PalletTimestampCall;797 PalletTransactionPaymentReleases: PalletTransactionPaymentReleases;798 PalletTreasuryCall: PalletTreasuryCall;799 PalletTreasuryError: PalletTreasuryError;800 PalletTreasuryEvent: PalletTreasuryEvent;801 PalletTreasuryProposal: PalletTreasuryProposal;802 PalletUniqueCall: PalletUniqueCall;803 PalletUniqueError: PalletUniqueError;804 PalletUniqueRawEvent: PalletUniqueRawEvent;805 PalletVersion: PalletVersion;806 PalletXcmCall: PalletXcmCall;807 PalletXcmError: PalletXcmError;808 PalletXcmEvent: PalletXcmEvent;809 ParachainDispatchOrigin: ParachainDispatchOrigin;810 ParachainInherentData: ParachainInherentData;811 ParachainProposal: ParachainProposal;812 ParachainsInherentData: ParachainsInherentData;813 ParaGenesisArgs: ParaGenesisArgs;814 ParaId: ParaId;815 ParaInfo: ParaInfo;816 ParaLifecycle: ParaLifecycle;817 Parameter: Parameter;818 ParaPastCodeMeta: ParaPastCodeMeta;819 ParaScheduling: ParaScheduling;820 ParathreadClaim: ParathreadClaim;821 ParathreadClaimQueue: ParathreadClaimQueue;822 ParathreadEntry: ParathreadEntry;823 ParaValidatorIndex: ParaValidatorIndex;824 Pays: Pays;825 Peer: Peer;826 PeerEndpoint: PeerEndpoint;827 PeerEndpointAddr: PeerEndpointAddr;828 PeerInfo: PeerInfo;829 PeerPing: PeerPing;830 PendingChange: PendingChange;831 PendingPause: PendingPause;832 PendingResume: PendingResume;833 Perbill: Perbill;834 Percent: Percent;835 PerDispatchClassU32: PerDispatchClassU32;836 PerDispatchClassWeight: PerDispatchClassWeight;837 PerDispatchClassWeightsPerClass: PerDispatchClassWeightsPerClass;838 Period: Period;839 Permill: Permill;840 PermissionLatest: PermissionLatest;841 PermissionsV1: PermissionsV1;842 PermissionVersions: PermissionVersions;843 Perquintill: Perquintill;844 PersistedValidationData: PersistedValidationData;845 PerU16: PerU16;846 Phantom: Phantom;847 PhantomData: PhantomData;848 PhantomTypeUpDataStructsRpcCollection: PhantomTypeUpDataStructsRpcCollection;849 PhantomTypeUpDataStructsTokenData: PhantomTypeUpDataStructsTokenData;850 Phase: Phase;851 PhragmenScore: PhragmenScore;852 Points: Points;853 PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage;854 PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage;855 PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage;856 PolkadotParachainPrimitivesXcmpMessageFormat: PolkadotParachainPrimitivesXcmpMessageFormat;857 PolkadotPrimitivesV1AbridgedHostConfiguration: PolkadotPrimitivesV1AbridgedHostConfiguration;858 PolkadotPrimitivesV1AbridgedHrmpChannel: PolkadotPrimitivesV1AbridgedHrmpChannel;859 PolkadotPrimitivesV1PersistedValidationData: PolkadotPrimitivesV1PersistedValidationData;860 PolkadotPrimitivesV1UpgradeRestriction: PolkadotPrimitivesV1UpgradeRestriction;861 PortableType: PortableType;862 PortableTypeV14: PortableTypeV14;863 Precommits: Precommits;864 PrefabWasmModule: PrefabWasmModule;865 PrefixedStorageKey: PrefixedStorageKey;866 PreimageStatus: PreimageStatus;867 PreimageStatusAvailable: PreimageStatusAvailable;868 PreRuntime: PreRuntime;869 Prevotes: Prevotes;870 Priority: Priority;871 PriorLock: PriorLock;872 PropIndex: PropIndex;873 Proposal: Proposal;874 ProposalIndex: ProposalIndex;875 ProxyAnnouncement: ProxyAnnouncement;876 ProxyDefinition: ProxyDefinition;877 ProxyState: ProxyState;878 ProxyType: ProxyType;879 QueryId: QueryId;880 QueryStatus: QueryStatus;881 QueueConfigData: QueueConfigData;882 QueuedParathread: QueuedParathread;883 Randomness: Randomness;884 Raw: Raw;885 RawAuraPreDigest: RawAuraPreDigest;886 RawBabePreDigest: RawBabePreDigest;887 RawBabePreDigestCompat: RawBabePreDigestCompat;888 RawBabePreDigestPrimary: RawBabePreDigestPrimary;889 RawBabePreDigestPrimaryTo159: RawBabePreDigestPrimaryTo159;890 RawBabePreDigestSecondaryPlain: RawBabePreDigestSecondaryPlain;891 RawBabePreDigestSecondaryTo159: RawBabePreDigestSecondaryTo159;892 RawBabePreDigestSecondaryVRF: RawBabePreDigestSecondaryVRF;893 RawBabePreDigestTo159: RawBabePreDigestTo159;894 RawOrigin: RawOrigin;895 RawSolution: RawSolution;896 RawSolutionTo265: RawSolutionTo265;897 RawSolutionWith16: RawSolutionWith16;898 RawSolutionWith24: RawSolutionWith24;899 RawVRFOutput: RawVRFOutput;900 ReadProof: ReadProof;901 ReadySolution: ReadySolution;902 Reasons: Reasons;903 RecoveryConfig: RecoveryConfig;904 RefCount: RefCount;905 RefCountTo259: RefCountTo259;906 ReferendumIndex: ReferendumIndex;907 ReferendumInfo: ReferendumInfo;908 ReferendumInfoFinished: ReferendumInfoFinished;909 ReferendumInfoTo239: ReferendumInfoTo239;910 ReferendumStatus: ReferendumStatus;911 RegisteredParachainInfo: RegisteredParachainInfo;912 RegistrarIndex: RegistrarIndex;913 RegistrarInfo: RegistrarInfo;914 Registration: Registration;915 RegistrationJudgement: RegistrationJudgement;916 RegistrationTo198: RegistrationTo198;917 RelayBlockNumber: RelayBlockNumber;918 RelayChainBlockNumber: RelayChainBlockNumber;919 RelayChainHash: RelayChainHash;920 RelayerId: RelayerId;921 RelayHash: RelayHash;922 Releases: Releases;923 Remark: Remark;924 Renouncing: Renouncing;925 RentProjection: RentProjection;926 ReplacementTimes: ReplacementTimes;927 ReportedRoundStates: ReportedRoundStates;928 Reporter: Reporter;929 ReportIdOf: ReportIdOf;930 ReserveData: ReserveData;931 ReserveIdentifier: ReserveIdentifier;932 Response: Response;933 ResponseV0: ResponseV0;934 ResponseV1: ResponseV1;935 ResponseV2: ResponseV2;936 ResponseV2Error: ResponseV2Error;937 ResponseV2Result: ResponseV2Result;938 Retriable: Retriable;939 RewardDestination: RewardDestination;940 RewardPoint: RewardPoint;941 RoundSnapshot: RoundSnapshot;942 RoundState: RoundState;943 RpcMethods: RpcMethods;944 RuntimeDbWeight: RuntimeDbWeight;945 RuntimeDispatchInfo: RuntimeDispatchInfo;946 RuntimeVersion: RuntimeVersion;947 RuntimeVersionApi: RuntimeVersionApi;948 RuntimeVersionPartial: RuntimeVersionPartial;949 Schedule: Schedule;950 Scheduled: Scheduled;951 ScheduledTo254: ScheduledTo254;952 SchedulePeriod: SchedulePeriod;953 SchedulePriority: SchedulePriority;954 ScheduleTo212: ScheduleTo212;955 ScheduleTo258: ScheduleTo258;956 ScheduleTo264: ScheduleTo264;957 Scheduling: Scheduling;958 Seal: Seal;959 SealV0: SealV0;960 SeatHolder: SeatHolder;961 SeedOf: SeedOf;962 ServiceQuality: ServiceQuality;963 SessionIndex: SessionIndex;964 SessionInfo: SessionInfo;965 SessionInfoValidatorGroup: SessionInfoValidatorGroup;966 SessionKeys1: SessionKeys1;967 SessionKeys10: SessionKeys10;968 SessionKeys10B: SessionKeys10B;969 SessionKeys2: SessionKeys2;970 SessionKeys3: SessionKeys3;971 SessionKeys4: SessionKeys4;972 SessionKeys5: SessionKeys5;973 SessionKeys6: SessionKeys6;974 SessionKeys6B: SessionKeys6B;975 SessionKeys7: SessionKeys7;976 SessionKeys7B: SessionKeys7B;977 SessionKeys8: SessionKeys8;978 SessionKeys8B: SessionKeys8B;979 SessionKeys9: SessionKeys9;980 SessionKeys9B: SessionKeys9B;981 SetId: SetId;982 SetIndex: SetIndex;983 Si0Field: Si0Field;984 Si0LookupTypeId: Si0LookupTypeId;985 Si0Path: Si0Path;986 Si0Type: Si0Type;987 Si0TypeDef: Si0TypeDef;988 Si0TypeDefArray: Si0TypeDefArray;989 Si0TypeDefBitSequence: Si0TypeDefBitSequence;990 Si0TypeDefCompact: Si0TypeDefCompact;991 Si0TypeDefComposite: Si0TypeDefComposite;992 Si0TypeDefPhantom: Si0TypeDefPhantom;993 Si0TypeDefPrimitive: Si0TypeDefPrimitive;994 Si0TypeDefSequence: Si0TypeDefSequence;995 Si0TypeDefTuple: Si0TypeDefTuple;996 Si0TypeDefVariant: Si0TypeDefVariant;997 Si0TypeParameter: Si0TypeParameter;998 Si0Variant: Si0Variant;999 Si1Field: Si1Field;1000 Si1LookupTypeId: Si1LookupTypeId;1001 Si1Path: Si1Path;1002 Si1Type: Si1Type;1003 Si1TypeDef: Si1TypeDef;1004 Si1TypeDefArray: Si1TypeDefArray;1005 Si1TypeDefBitSequence: Si1TypeDefBitSequence;1006 Si1TypeDefCompact: Si1TypeDefCompact;1007 Si1TypeDefComposite: Si1TypeDefComposite;1008 Si1TypeDefPrimitive: Si1TypeDefPrimitive;1009 Si1TypeDefSequence: Si1TypeDefSequence;1010 Si1TypeDefTuple: Si1TypeDefTuple;1011 Si1TypeDefVariant: Si1TypeDefVariant;1012 Si1TypeParameter: Si1TypeParameter;1013 Si1Variant: Si1Variant;1014 SiField: SiField;1015 Signature: Signature;1016 SignedAvailabilityBitfield: SignedAvailabilityBitfield;1017 SignedAvailabilityBitfields: SignedAvailabilityBitfields;1018 SignedBlock: SignedBlock;1019 SignedBlockWithJustification: SignedBlockWithJustification;1020 SignedBlockWithJustifications: SignedBlockWithJustifications;1021 SignedExtensionMetadataLatest: SignedExtensionMetadataLatest;1022 SignedExtensionMetadataV14: SignedExtensionMetadataV14;1023 SignedSubmission: SignedSubmission;1024 SignedSubmissionOf: SignedSubmissionOf;1025 SignedSubmissionTo276: SignedSubmissionTo276;1026 SignerPayload: SignerPayload;1027 SigningContext: SigningContext;1028 SiLookupTypeId: SiLookupTypeId;1029 SiPath: SiPath;1030 SiType: SiType;1031 SiTypeDef: SiTypeDef;1032 SiTypeDefArray: SiTypeDefArray;1033 SiTypeDefBitSequence: SiTypeDefBitSequence;1034 SiTypeDefCompact: SiTypeDefCompact;1035 SiTypeDefComposite: SiTypeDefComposite;1036 SiTypeDefPrimitive: SiTypeDefPrimitive;1037 SiTypeDefSequence: SiTypeDefSequence;1038 SiTypeDefTuple: SiTypeDefTuple;1039 SiTypeDefVariant: SiTypeDefVariant;1040 SiTypeParameter: SiTypeParameter;1041 SiVariant: SiVariant;1042 SlashingSpans: SlashingSpans;1043 SlashingSpansTo204: SlashingSpansTo204;1044 SlashJournalEntry: SlashJournalEntry;1045 Slot: Slot;1046 SlotNumber: SlotNumber;1047 SlotRange: SlotRange;1048 SlotRange10: SlotRange10;1049 SocietyJudgement: SocietyJudgement;1050 SocietyVote: SocietyVote;1051 SolutionOrSnapshotSize: SolutionOrSnapshotSize;1052 SolutionSupport: SolutionSupport;1053 SolutionSupports: SolutionSupports;1054 SpanIndex: SpanIndex;1055 SpanRecord: SpanRecord;1056 SpCoreEcdsaSignature: SpCoreEcdsaSignature;1057 SpCoreEd25519Signature: SpCoreEd25519Signature;1058 SpCoreSr25519Signature: SpCoreSr25519Signature;1059 SpecVersion: SpecVersion;1060 SpRuntimeArithmeticError: SpRuntimeArithmeticError;1061 SpRuntimeDigest: SpRuntimeDigest;1062 SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem;1063 SpRuntimeDispatchError: SpRuntimeDispatchError;1064 SpRuntimeModuleError: SpRuntimeModuleError;1065 SpRuntimeMultiSignature: SpRuntimeMultiSignature;1066 SpRuntimeTokenError: SpRuntimeTokenError;1067 SpTrieStorageProof: SpTrieStorageProof;1068 SpVersionRuntimeVersion: SpVersionRuntimeVersion;1069 Sr25519Signature: Sr25519Signature;1070 StakingLedger: StakingLedger;1071 StakingLedgerTo223: StakingLedgerTo223;1072 StakingLedgerTo240: StakingLedgerTo240;1073 Statement: Statement;1074 StatementKind: StatementKind;1075 StorageChangeSet: StorageChangeSet;1076 StorageData: StorageData;1077 StorageDeposit: StorageDeposit;1078 StorageEntryMetadataLatest: StorageEntryMetadataLatest;1079 StorageEntryMetadataV10: StorageEntryMetadataV10;1080 StorageEntryMetadataV11: StorageEntryMetadataV11;1081 StorageEntryMetadataV12: StorageEntryMetadataV12;1082 StorageEntryMetadataV13: StorageEntryMetadataV13;1083 StorageEntryMetadataV14: StorageEntryMetadataV14;1084 StorageEntryMetadataV9: StorageEntryMetadataV9;1085 StorageEntryModifierLatest: StorageEntryModifierLatest;1086 StorageEntryModifierV10: StorageEntryModifierV10;1087 StorageEntryModifierV11: StorageEntryModifierV11;1088 StorageEntryModifierV12: StorageEntryModifierV12;1089 StorageEntryModifierV13: StorageEntryModifierV13;1090 StorageEntryModifierV14: StorageEntryModifierV14;1091 StorageEntryModifierV9: StorageEntryModifierV9;1092 StorageEntryTypeLatest: StorageEntryTypeLatest;1093 StorageEntryTypeV10: StorageEntryTypeV10;1094 StorageEntryTypeV11: StorageEntryTypeV11;1095 StorageEntryTypeV12: StorageEntryTypeV12;1096 StorageEntryTypeV13: StorageEntryTypeV13;1097 StorageEntryTypeV14: StorageEntryTypeV14;1098 StorageEntryTypeV9: StorageEntryTypeV9;1099 StorageHasher: StorageHasher;1100 StorageHasherV10: StorageHasherV10;1101 StorageHasherV11: StorageHasherV11;1102 StorageHasherV12: StorageHasherV12;1103 StorageHasherV13: StorageHasherV13;1104 StorageHasherV14: StorageHasherV14;1105 StorageHasherV9: StorageHasherV9;1106 StorageKey: StorageKey;1107 StorageKind: StorageKind;1108 StorageMetadataV10: StorageMetadataV10;1109 StorageMetadataV11: StorageMetadataV11;1110 StorageMetadataV12: StorageMetadataV12;1111 StorageMetadataV13: StorageMetadataV13;1112 StorageMetadataV9: StorageMetadataV9;1113 StorageProof: StorageProof;1114 StoredPendingChange: StoredPendingChange;1115 StoredState: StoredState;1116 StrikeCount: StrikeCount;1117 SubId: SubId;1118 SubmissionIndicesOf: SubmissionIndicesOf;1119 Supports: Supports;1120 SyncState: SyncState;1121 SystemInherentData: SystemInherentData;1122 SystemOrigin: SystemOrigin;1123 Tally: Tally;1124 TaskAddress: TaskAddress;1125 TAssetBalance: TAssetBalance;1126 TAssetDepositBalance: TAssetDepositBalance;1127 Text: Text;1128 Timepoint: Timepoint;1129 TokenError: TokenError;1130 TombstoneContractInfo: TombstoneContractInfo;1131 TraceBlockResponse: TraceBlockResponse;1132 TraceError: TraceError;1133 TransactionInfo: TransactionInfo;1134 TransactionPriority: TransactionPriority;1135 TransactionStorageProof: TransactionStorageProof;1136 TransactionV0: TransactionV0;1137 TransactionV1: TransactionV1;1138 TransactionV2: TransactionV2;1139 TransactionValidityError: TransactionValidityError;1140 TransientValidationData: TransientValidationData;1141 TreasuryProposal: TreasuryProposal;1142 TrieId: TrieId;1143 TrieIndex: TrieIndex;1144 Type: Type;1145 u128: u128;1146 U128: U128;1147 u16: u16;1148 U16: U16;1149 u256: u256;1150 U256: U256;1151 u32: u32;1152 U32: U32;1153 U32F32: U32F32;1154 u64: u64;1155 U64: U64;1156 u8: u8;1157 U8: U8;1158 UnappliedSlash: UnappliedSlash;1159 UnappliedSlashOther: UnappliedSlashOther;1160 UncleEntryItem: UncleEntryItem;1161 UnknownTransaction: UnknownTransaction;1162 UnlockChunk: UnlockChunk;1163 UnrewardedRelayer: UnrewardedRelayer;1164 UnrewardedRelayersState: UnrewardedRelayersState;1165 UpDataStructsAccessMode: UpDataStructsAccessMode;1166 UpDataStructsCollection: UpDataStructsCollection;1167 UpDataStructsCollectionField: UpDataStructsCollectionField;1168 UpDataStructsCollectionLimits: UpDataStructsCollectionLimits;1169 UpDataStructsCollectionMode: UpDataStructsCollectionMode;1170 UpDataStructsCollectionStats: UpDataStructsCollectionStats;1171 UpDataStructsCreateCollectionData: UpDataStructsCreateCollectionData;1172 UpDataStructsCreateFungibleData: UpDataStructsCreateFungibleData;1173 UpDataStructsCreateItemData: UpDataStructsCreateItemData;1174 UpDataStructsCreateItemExData: UpDataStructsCreateItemExData;1175 UpDataStructsCreateNftData: UpDataStructsCreateNftData;1176 UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;1177 UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;1178 UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;1179 UpDataStructsMetaUpdatePermission: UpDataStructsMetaUpdatePermission;1180 UpDataStructsNestingRule: UpDataStructsNestingRule;1181 UpDataStructsProperties: UpDataStructsProperties;1182 UpDataStructsProperty: UpDataStructsProperty;1183 UpDataStructsPropertyKeyPermission: UpDataStructsPropertyKeyPermission;1184 UpDataStructsPropertyPermission: UpDataStructsPropertyPermission;1185 UpDataStructsRpcCollection: UpDataStructsRpcCollection;1186 UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;1187 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;1188 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;1189 UpDataStructsTokenData: UpDataStructsTokenData;1190 UpgradeGoAhead: UpgradeGoAhead;1191 UpgradeRestriction: UpgradeRestriction;1192 UpwardMessage: UpwardMessage;1193 usize: usize;1194 USize: USize;1195 ValidationCode: ValidationCode;1196 ValidationCodeHash: ValidationCodeHash;1197 ValidationData: ValidationData;1198 ValidationDataType: ValidationDataType;1199 ValidationFunctionParams: ValidationFunctionParams;1200 ValidatorCount: ValidatorCount;1201 ValidatorId: ValidatorId;1202 ValidatorIdOf: ValidatorIdOf;1203 ValidatorIndex: ValidatorIndex;1204 ValidatorIndexCompact: ValidatorIndexCompact;1205 ValidatorPrefs: ValidatorPrefs;1206 ValidatorPrefsTo145: ValidatorPrefsTo145;1207 ValidatorPrefsTo196: ValidatorPrefsTo196;1208 ValidatorPrefsWithBlocked: ValidatorPrefsWithBlocked;1209 ValidatorPrefsWithCommission: ValidatorPrefsWithCommission;1210 ValidatorSetId: ValidatorSetId;1211 ValidatorSignature: ValidatorSignature;1212 ValidDisputeStatementKind: ValidDisputeStatementKind;1213 ValidityAttestation: ValidityAttestation;1214 VecInboundHrmpMessage: VecInboundHrmpMessage;1215 VersionedMultiAsset: VersionedMultiAsset;1216 VersionedMultiAssets: VersionedMultiAssets;1217 VersionedMultiLocation: VersionedMultiLocation;1218 VersionedResponse: VersionedResponse;1219 VersionedXcm: VersionedXcm;1220 VersionMigrationStage: VersionMigrationStage;1221 VestingInfo: VestingInfo;1222 VestingSchedule: VestingSchedule;1223 Vote: Vote;1224 VoteIndex: VoteIndex;1225 Voter: Voter;1226 VoterInfo: VoterInfo;1227 Votes: Votes;1228 VotesTo230: VotesTo230;1229 VoteThreshold: VoteThreshold;1230 VoteWeight: VoteWeight;1231 Voting: Voting;1232 VotingDelegating: VotingDelegating;1233 VotingDirect: VotingDirect;1234 VotingDirectVote: VotingDirectVote;1235 VouchingStatus: VouchingStatus;1236 VrfData: VrfData;1237 VrfOutput: VrfOutput;1238 VrfProof: VrfProof;1239 Weight: Weight;1240 WeightLimitV2: WeightLimitV2;1241 WeightMultiplier: WeightMultiplier;1242 WeightPerClass: WeightPerClass;1243 WeightToFeeCoefficient: WeightToFeeCoefficient;1244 WildFungibility: WildFungibility;1245 WildFungibilityV0: WildFungibilityV0;1246 WildFungibilityV1: WildFungibilityV1;1247 WildFungibilityV2: WildFungibilityV2;1248 WildMultiAsset: WildMultiAsset;1249 WildMultiAssetV1: WildMultiAssetV1;1250 WildMultiAssetV2: WildMultiAssetV2;1251 WinnersData: WinnersData;1252 WinnersData10: WinnersData10;1253 WinnersDataTuple: WinnersDataTuple;1254 WinnersDataTuple10: WinnersDataTuple10;1255 WinningData: WinningData;1256 WinningData10: WinningData10;1257 WinningDataEntry: WinningDataEntry;1258 WithdrawReasons: WithdrawReasons;1259 Xcm: Xcm;1260 XcmAssetId: XcmAssetId;1261 XcmDoubleEncoded: XcmDoubleEncoded;1262 XcmError: XcmError;1263 XcmErrorV0: XcmErrorV0;1264 XcmErrorV1: XcmErrorV1;1265 XcmErrorV2: XcmErrorV2;1266 XcmOrder: XcmOrder;1267 XcmOrderV0: XcmOrderV0;1268 XcmOrderV1: XcmOrderV1;1269 XcmOrderV2: XcmOrderV2;1270 XcmOrigin: XcmOrigin;1271 XcmOriginKind: XcmOriginKind;1272 XcmpMessageFormat: XcmpMessageFormat;1273 XcmV0: XcmV0;1274 XcmV0Junction: XcmV0Junction;1275 XcmV0JunctionBodyId: XcmV0JunctionBodyId;1276 XcmV0JunctionBodyPart: XcmV0JunctionBodyPart;1277 XcmV0JunctionNetworkId: XcmV0JunctionNetworkId;1278 XcmV0MultiAsset: XcmV0MultiAsset;1279 XcmV0MultiLocation: XcmV0MultiLocation;1280 XcmV0Order: XcmV0Order;1281 XcmV0OriginKind: XcmV0OriginKind;1282 XcmV0Response: XcmV0Response;1283 XcmV0Xcm: XcmV0Xcm;1284 XcmV1: XcmV1;1285 XcmV1Junction: XcmV1Junction;1286 XcmV1MultiAsset: XcmV1MultiAsset;1287 XcmV1MultiassetAssetId: XcmV1MultiassetAssetId;1288 XcmV1MultiassetAssetInstance: XcmV1MultiassetAssetInstance;1289 XcmV1MultiassetFungibility: XcmV1MultiassetFungibility;1290 XcmV1MultiassetMultiAssetFilter: XcmV1MultiassetMultiAssetFilter;1291 XcmV1MultiassetMultiAssets: XcmV1MultiassetMultiAssets;1292 XcmV1MultiassetWildFungibility: XcmV1MultiassetWildFungibility;1293 XcmV1MultiassetWildMultiAsset: XcmV1MultiassetWildMultiAsset;1294 XcmV1MultiLocation: XcmV1MultiLocation;1295 XcmV1MultilocationJunctions: XcmV1MultilocationJunctions;1296 XcmV1Order: XcmV1Order;1297 XcmV1Response: XcmV1Response;1298 XcmV1Xcm: XcmV1Xcm;1299 XcmV2: XcmV2;1300 XcmV2Instruction: XcmV2Instruction;1301 XcmV2Response: XcmV2Response;1302 XcmV2TraitsError: XcmV2TraitsError;1303 XcmV2TraitsOutcome: XcmV2TraitsOutcome;1304 XcmV2WeightLimit: XcmV2WeightLimit;1305 XcmV2Xcm: XcmV2Xcm;1306 XcmVersion: XcmVersion;1307 XcmVersionedMultiAssets: XcmVersionedMultiAssets;1308 XcmVersionedMultiLocation: XcmVersionedMultiLocation;1309 XcmVersionedXcm: XcmVersionedXcm;1310 } // InterfaceTypes1311} // declare moduletests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -23,7 +23,7 @@
* Lookup10: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
- trieNodes: 'BTreeSet<Bytes>'
+ trieNodes: 'Vec<Bytes>'
},
/**
* Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
@@ -1469,7 +1469,7 @@
/**
* Lookup171: frame_support::storage::bounded_btree_set::BoundedBTreeSet<up_data_structs::CollectionId, S>
**/
- FrameSupportStorageBoundedBTreeSet: 'BTreeSet<u32>',
+ FrameSupportStorageBoundedBTreeSet: 'Vec<u32>',
/**
* Lookup177: up_data_structs::MetaUpdatePermission
**/
@@ -1487,7 +1487,9 @@
* Lookup181: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
- _enum: ['None', 'AdminConst', 'Admin', 'ItemOwnerConst', 'ItemOwner', 'ItemOwnerOrAdmin']
+ mutable: 'bool',
+ collectionAdmin: 'bool',
+ tokenOwner: 'bool'
},
/**
* Lookup184: up_data_structs::Property
@@ -1520,7 +1522,8 @@
**/
UpDataStructsCreateNftData: {
constData: 'Bytes',
- variableData: 'Bytes'
+ variableData: 'Bytes',
+ properties: 'Vec<UpDataStructsProperty>'
},
/**
* Lookup191: up_data_structs::CreateFungibleData
@@ -1553,6 +1556,7 @@
UpDataStructsCreateNftExData: {
constData: 'Bytes',
variableData: 'Bytes',
+ properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
@@ -2324,12 +2328,24 @@
alive: 'u32'
},
/**
- * Lookup325: PhantomType::up_data_structs<up_data_structs::RpcCollection<sp_core::crypto::AccountId32>>
+ * Lookup325: PhantomType::up_data_structs<up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>>
**/
- PhantomTypeUpDataStructs: '[Lookup326;0]',
+ PhantomTypeUpDataStructsTokenData: '[Lookup326;0]',
/**
- * Lookup326: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup326: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
+ UpDataStructsTokenData: {
+ constData: 'Bytes',
+ properties: 'Vec<UpDataStructsProperty>',
+ owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'
+ },
+ /**
+ * Lookup329: PhantomType::up_data_structs<up_data_structs::RpcCollection<sp_core::crypto::AccountId32>>
+ **/
+ PhantomTypeUpDataStructsRpcCollection: '[Lookup330;0]',
+ /**
+ * Lookup330: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ **/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
mode: 'UpDataStructsCollectionMode',
@@ -2347,32 +2363,32 @@
metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'
},
/**
- * Lookup328: pallet_common::pallet::Error<T>
+ * Lookup332: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_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']
},
/**
- * Lookup330: pallet_fungible::pallet::Error<T>
+ * Lookup334: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
- _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'PropertiesNotAllowed']
+ _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup331: pallet_refungible::ItemData
+ * Lookup335: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes',
variableData: 'Bytes'
},
/**
- * Lookup335: pallet_refungible::pallet::Error<T>
+ * Lookup339: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
- _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'PropertiesNotAllowed']
+ _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup336: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup340: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
constData: 'Bytes',
@@ -2380,25 +2396,25 @@
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup337: pallet_nonfungible::pallet::Error<T>
+ * Lookup341: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']
},
/**
- * Lookup338: pallet_structure::pallet::Error<T>
+ * Lookup342: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'TokenNotFound']
},
/**
- * Lookup340: pallet_evm::pallet::Error<T>
+ * Lookup344: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup343: fp_rpc::TransactionStatus
+ * Lookup347: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -2410,11 +2426,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup346: ethbloom::Bloom
+ * Lookup350: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup348: ethereum::receipt::ReceiptV3
+ * Lookup352: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -2424,7 +2440,7 @@
}
},
/**
- * Lookup349: ethereum::receipt::EIP658ReceiptData
+ * Lookup353: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -2433,7 +2449,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup350: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup354: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -2441,7 +2457,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup351: ethereum::header::Header
+ * Lookup355: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -2461,41 +2477,41 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup352: ethereum_types::hash::H64
+ * Lookup356: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup357: pallet_ethereum::pallet::Error<T>
+ * Lookup361: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup358: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup362: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup359: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup363: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup361: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup365: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission']
},
/**
- * Lookup362: pallet_evm_migration::pallet::Error<T>
+ * Lookup366: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup364: sp_runtime::MultiSignature
+ * Lookup368: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -2505,39 +2521,39 @@
}
},
/**
- * Lookup365: sp_core::ed25519::Signature
+ * Lookup369: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup367: sp_core::sr25519::Signature
+ * Lookup371: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup368: sp_core::ecdsa::Signature
+ * Lookup372: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup371: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup375: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup372: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup376: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup375: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup379: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup376: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup380: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup377: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup381: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup378: opal_runtime::Runtime
+ * Lookup382: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null'
};
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
declare module '@polkadot/types/lookup' {
- 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';
+ import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
@@ -23,7 +23,7 @@
/** @name SpTrieStorageProof (10) */
export interface SpTrieStorageProof extends Struct {
- readonly trieNodes: BTreeSet<Bytes>;
+ readonly trieNodes: Vec<Bytes>;
}
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (13) */
@@ -1605,7 +1605,7 @@
}
/** @name FrameSupportStorageBoundedBTreeSet (171) */
- export interface FrameSupportStorageBoundedBTreeSet extends BTreeSet<u32> {}
+ export interface FrameSupportStorageBoundedBTreeSet extends Vec<u32> {}
/** @name UpDataStructsMetaUpdatePermission (177) */
export interface UpDataStructsMetaUpdatePermission extends Enum {
@@ -1622,14 +1622,10 @@
}
/** @name UpDataStructsPropertyPermission (181) */
- export interface UpDataStructsPropertyPermission extends Enum {
- readonly isNone: boolean;
- readonly isAdminConst: boolean;
- readonly isAdmin: boolean;
- readonly isItemOwnerConst: boolean;
- readonly isItemOwner: boolean;
- readonly isItemOwnerOrAdmin: boolean;
- readonly type: 'None' | 'AdminConst' | 'Admin' | 'ItemOwnerConst' | 'ItemOwner' | 'ItemOwnerOrAdmin';
+ export interface UpDataStructsPropertyPermission extends Struct {
+ readonly mutable: bool;
+ readonly collectionAdmin: bool;
+ readonly tokenOwner: bool;
}
/** @name UpDataStructsProperty (184) */
@@ -1662,6 +1658,7 @@
export interface UpDataStructsCreateNftData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
+ readonly properties: Vec<UpDataStructsProperty>;
}
/** @name UpDataStructsCreateFungibleData (191) */
@@ -1693,6 +1690,7 @@
export interface UpDataStructsCreateNftExData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
+ readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
@@ -2534,10 +2532,20 @@
readonly alive: u32;
}
- /** @name PhantomTypeUpDataStructs (325) */
- export interface PhantomTypeUpDataStructs extends Vec<UpDataStructsRpcCollection> {}
+ /** @name PhantomTypeUpDataStructsTokenData (325) */
+ export interface PhantomTypeUpDataStructsTokenData extends Vec<UpDataStructsTokenData> {}
+
+ /** @name UpDataStructsTokenData (326) */
+ export interface UpDataStructsTokenData extends Struct {
+ readonly constData: Bytes;
+ readonly properties: Vec<UpDataStructsProperty>;
+ readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
+ }
+
+ /** @name PhantomTypeUpDataStructsRpcCollection (329) */
+ export interface PhantomTypeUpDataStructsRpcCollection extends Vec<UpDataStructsRpcCollection> {}
- /** @name UpDataStructsRpcCollection (326) */
+ /** @name UpDataStructsRpcCollection (330) */
export interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -2555,7 +2563,7 @@
readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
}
- /** @name PalletCommonError (328) */
+ /** @name PalletCommonError (332) */
export interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -2590,46 +2598,46 @@
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';
}
- /** @name PalletFungibleError (330) */
+ /** @name PalletFungibleError (334) */
export interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
readonly isFungibleItemsDontHaveData: boolean;
readonly isFungibleDisallowsNesting: boolean;
- readonly isPropertiesNotAllowed: boolean;
- readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'PropertiesNotAllowed';
+ readonly isSettingPropertiesNotAllowed: boolean;
+ readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletRefungibleItemData (331) */
+ /** @name PalletRefungibleItemData (335) */
export interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
}
- /** @name PalletRefungibleError (335) */
+ /** @name PalletRefungibleError (339) */
export interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
readonly isRefungibleDisallowsNesting: boolean;
- readonly isPropertiesNotAllowed: boolean;
- readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'PropertiesNotAllowed';
+ readonly isSettingPropertiesNotAllowed: boolean;
+ readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (336) */
+ /** @name PalletNonfungibleItemData (340) */
export interface PalletNonfungibleItemData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name PalletNonfungibleError (337) */
+ /** @name PalletNonfungibleError (341) */
export interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';
}
- /** @name PalletStructureError (338) */
+ /** @name PalletStructureError (342) */
export interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -2637,7 +2645,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';
}
- /** @name PalletEvmError (340) */
+ /** @name PalletEvmError (344) */
export interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -2648,7 +2656,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
}
- /** @name FpRpcTransactionStatus (343) */
+ /** @name FpRpcTransactionStatus (347) */
export interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -2659,10 +2667,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (346) */
+ /** @name EthbloomBloom (350) */
export interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (348) */
+ /** @name EthereumReceiptReceiptV3 (352) */
export interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -2673,7 +2681,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (349) */
+ /** @name EthereumReceiptEip658ReceiptData (353) */
export interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -2681,14 +2689,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (350) */
+ /** @name EthereumBlock (354) */
export interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (351) */
+ /** @name EthereumHeader (355) */
export interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -2707,24 +2715,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (352) */
+ /** @name EthereumTypesHashH64 (356) */
export interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (357) */
+ /** @name PalletEthereumError (361) */
export interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (358) */
+ /** @name PalletEvmCoderSubstrateError (362) */
export interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (359) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (363) */
export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -2732,20 +2740,20 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (361) */
+ /** @name PalletEvmContractHelpersError (365) */
export interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly type: 'NoPermission';
}
- /** @name PalletEvmMigrationError (362) */
+ /** @name PalletEvmMigrationError (366) */
export interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (364) */
+ /** @name SpRuntimeMultiSignature (368) */
export interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -2756,31 +2764,31 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (365) */
+ /** @name SpCoreEd25519Signature (369) */
export interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (367) */
+ /** @name SpCoreSr25519Signature (371) */
export interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (368) */
+ /** @name SpCoreEcdsaSignature (372) */
export interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (371) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (375) */
export type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (372) */
+ /** @name FrameSystemExtensionsCheckGenesis (376) */
export type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (375) */
+ /** @name FrameSystemExtensionsCheckNonce (379) */
export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (376) */
+ /** @name FrameSystemExtensionsCheckWeight (380) */
export type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (377) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (381) */
export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (378) */
+ /** @name OpalRuntimeRuntime (382) */
export type OpalRuntimeRuntime = Null;
} // declare module
tests/src/interfaces/unique/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/definitions.ts
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -54,13 +54,26 @@
topmostTokenOwner: fun('Get token owner, in case of nested token - find parent recursive', [collectionParam, tokenParam], `Option<${CROSS_ACCOUNT_ID_TYPE}>`),
constMetadata: fun('Get token constant metadata', [collectionParam, tokenParam], 'Vec<u8>'),
variableMetadata: fun('Get token variable metadata', [collectionParam, tokenParam], 'Vec<u8>'),
-
collectionProperties: fun(
'Get collection properties',
[collectionParam, propertyKeysParam],
'Vec<UpDataStructsProperty>',
),
-
+ tokenProperties: fun(
+ 'Get token properties',
+ [collectionParam, tokenParam, propertyKeysParam],
+ 'Vec<UpDataStructsProperty>',
+ ),
+ propertyPermissions: fun(
+ 'Get property permissions',
+ [collectionParam, propertyKeysParam],
+ 'Vec<UpDataStructsPropertyKeyPermission>',
+ ),
+ tokenData: fun(
+ 'Get token data',
+ [collectionParam, tokenParam, propertyKeysParam],
+ 'UpDataStructsTokenData',
+ ),
tokenExists: fun('Check if token exists', [collectionParam, tokenParam], 'bool'),
collectionById: fun('Get collection by specified id', [collectionParam], 'Option<UpDataStructsRpcCollection>'),
collectionStats: fun('Get collection stats', [], 'UpDataStructsCollectionStats'),
tests/src/interfaces/unique/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/types.ts
+++ b/tests/src/interfaces/unique/types.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-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';
+import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
@@ -447,7 +447,7 @@
export interface FrameSupportPalletId extends U8aFixed {}
/** @name FrameSupportStorageBoundedBTreeSet */
-export interface FrameSupportStorageBoundedBTreeSet extends BTreeSet<u32> {}
+export interface FrameSupportStorageBoundedBTreeSet extends Vec<u32> {}
/** @name FrameSupportTokensMiscBalanceStatus */
export interface FrameSupportTokensMiscBalanceStatus extends Enum {
@@ -1086,8 +1086,8 @@
readonly isFungibleItemsHaveNoId: boolean;
readonly isFungibleItemsDontHaveData: boolean;
readonly isFungibleDisallowsNesting: boolean;
- readonly isPropertiesNotAllowed: boolean;
- readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'PropertiesNotAllowed';
+ readonly isSettingPropertiesNotAllowed: boolean;
+ readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
/** @name PalletInflationCall */
@@ -1118,8 +1118,8 @@
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
readonly isRefungibleDisallowsNesting: boolean;
- readonly isPropertiesNotAllowed: boolean;
- readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'PropertiesNotAllowed';
+ readonly isSettingPropertiesNotAllowed: boolean;
+ readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
/** @name PalletRefungibleItemData */
@@ -1632,8 +1632,11 @@
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
}
-/** @name PhantomTypeUpDataStructs */
-export interface PhantomTypeUpDataStructs extends Vec<Lookup326> {}
+/** @name PhantomTypeUpDataStructsRpcCollection */
+export interface PhantomTypeUpDataStructsRpcCollection extends Vec<Lookup330> {}
+
+/** @name PhantomTypeUpDataStructsTokenData */
+export interface PhantomTypeUpDataStructsTokenData extends Vec<Lookup326> {}
/** @name PolkadotCorePrimitivesInboundDownwardMessage */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
@@ -1782,7 +1785,7 @@
/** @name SpTrieStorageProof */
export interface SpTrieStorageProof extends Struct {
- readonly trieNodes: BTreeSet<Bytes>;
+ readonly trieNodes: Vec<Bytes>;
}
/** @name SpVersionRuntimeVersion */
@@ -1908,12 +1911,14 @@
export interface UpDataStructsCreateNftData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
+ readonly properties: Vec<UpDataStructsProperty>;
}
/** @name UpDataStructsCreateNftExData */
export interface UpDataStructsCreateNftExData extends Struct {
readonly constData: Bytes;
readonly variableData: Bytes;
+ readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
@@ -1968,14 +1973,10 @@
}
/** @name UpDataStructsPropertyPermission */
-export interface UpDataStructsPropertyPermission extends Enum {
- readonly isNone: boolean;
- readonly isAdminConst: boolean;
- readonly isAdmin: boolean;
- readonly isItemOwnerConst: boolean;
- readonly isItemOwner: boolean;
- readonly isItemOwnerOrAdmin: boolean;
- readonly type: 'None' | 'AdminConst' | 'Admin' | 'ItemOwnerConst' | 'ItemOwner' | 'ItemOwnerOrAdmin';
+export interface UpDataStructsPropertyPermission extends Struct {
+ readonly mutable: bool;
+ readonly collectionAdmin: bool;
+ readonly tokenOwner: bool;
}
/** @name UpDataStructsRpcCollection */
@@ -2021,6 +2022,13 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
+/** @name UpDataStructsTokenData */
+export interface UpDataStructsTokenData extends Struct {
+ readonly constData: Bytes;
+ readonly properties: Vec<UpDataStructsProperty>;
+ readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
+}
+
/** @name XcmDoubleEncoded */
export interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
tests/src/nesting/migration-check.test.tsdiffbeforeafterboth--- a/tests/src/nesting/migration-check.test.ts
+++ b/tests/src/nesting/migration-check.test.ts
@@ -5,6 +5,8 @@
import {IKeyringPair} from '@polkadot/types/types';
import {strToUTF16} from '../util/util';
import waitNewBlocks from '../substrate/wait-new-blocks';
+// Used for polkadot-launch signalling
+import find from 'find-process';
// todo skip
describe('Migration testing for pallet-common', () => {
@@ -54,13 +56,12 @@
let newVersion = oldVersion!;
let connectionFailCounter = 0;
- // Cooperate with polkadot-launch if it's running (assuming custom name change), and send a custom signal
- const find = require('find-process');
- find('name', 'polkadot-launch', true).then(function (list: [any]) {
- for (let proc of list) {
+ // Cooperate with polkadot-launch if it's running (assuming custom name change to 'polkadot-launch'), and send a custom signal
+ find('name', 'polkadot-launch', true).then((list) => {
+ for (const proc of list) {
process.kill(proc.pid, 'SIGUSR1');
}
- })
+ });
// And wait for the parachain upgrade
while (newVersion == oldVersion! && connectionFailCounter < 2) {
tests/src/nesting/properties.test.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/nesting/properties.test.ts
@@ -0,0 +1,652 @@
+import {expect} from 'chai';
+import privateKey from '../substrate/privateKey';
+import usingApi, {executeTransaction} from '../substrate/substrate-api';
+import {
+ addCollectionAdminExpectSuccess,
+ createCollectionExpectSuccess,
+ createItemExpectSuccess,
+ getCreateCollectionResult,
+ transferExpectSuccess,
+} from '../util/helpers';
+import {IKeyringPair} from '@polkadot/types/types';
+
+let alice: IKeyringPair;
+let bob: IKeyringPair;
+let charlie: IKeyringPair;
+
+// ---------- COLLECTION PROPERTIES
+
+describe('Integration Test: Collection Properties', () => {
+ before(async () => {
+ alice = privateKey('//Alice');
+ bob = privateKey('//Bob');
+ });
+
+ it('Reads properties from a collection', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+ const properties = (await api.query.common.collectionProperties(collection)).toJSON();
+ expect(properties.map).to.be.empty;
+ expect(properties.consumedSpace).to.equal(0);
+ });
+ });
+
+ it('Sets properties for a collection', async () => {
+ await usingApi(async api => {
+ const events = await executeTransaction(api, bob, api.tx.unique.createCollectionEx({mode: 'NFT'}));
+ const {collectionId} = getCreateCollectionResult(events);
+
+ // As owner
+ await expect(executeTransaction(
+ api,
+ bob,
+ api.tx.unique.setCollectionProperties(collectionId, [{key: 'electron', value: 'come bond'}]),
+ )).to.not.be.rejected;
+
+ await addCollectionAdminExpectSuccess(bob, collectionId, alice.address);
+
+ // As administrator
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setCollectionProperties(collectionId, [{key: 'black hole'}]),
+ )).to.not.be.rejected;
+
+ const properties = (await api.rpc.unique.collectionProperties(collectionId, ['electron', 'black hole'])).toJSON();
+ expect(properties).to.be.deep.equal([
+ {key: `0x${Buffer.from('electron').toString('hex')}`, value: `0x${Buffer.from('come bond').toString('hex')}`},
+ {key: `0x${Buffer.from('black hole').toString('hex')}`, value: `0x${Buffer.from('').toString('hex')}`},
+ ]);
+ });
+ });
+
+ it('Changes properties of a collection', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setCollectionProperties(collection, [{key: 'electron', value: 'come bond'}, {key: 'black hole'}]),
+ )).to.not.be.rejected;
+
+ // Mutate the properties
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setCollectionProperties(collection, [{key: 'electron', value: 'bonded'}, {key: 'black hole', value: 'LIGO'}]),
+ )).to.not.be.rejected;
+
+ const properties = (await api.rpc.unique.collectionProperties(collection, ['electron', 'black hole'])).toJSON();
+ expect(properties).to.be.deep.equal([
+ {key: `0x${Buffer.from('electron').toString('hex')}`, value: `0x${Buffer.from('bonded').toString('hex')}`},
+ {key: `0x${Buffer.from('black hole').toString('hex')}`, value: `0x${Buffer.from('LIGO').toString('hex')}`},
+ ]);
+ });
+ });
+
+ it('Deletes properties of a collection', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setCollectionProperties(collection, [{key: 'electron', value: 'come bond'}, {key: 'black hole', value: 'LIGO'}]),
+ )).to.not.be.rejected;
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.deleteCollectionProperties(collection, ['electron']),
+ )).to.not.be.rejected;
+
+ const properties = (await api.rpc.unique.collectionProperties(collection, ['electron', 'black hole'])).toJSON();
+ expect(properties).to.be.deep.equal([
+ {key: `0x${Buffer.from('black hole').toString('hex')}`, value: `0x${Buffer.from('LIGO').toString('hex')}`},
+ ]);
+ });
+ });
+});
+
+describe('Negative Integration Test: Collection Properties', () => {
+ before(async () => {
+ alice = privateKey('//Alice');
+ bob = privateKey('//Bob');
+ });
+
+ it('Fails to set properties in a collection if not its onwer/administrator', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+
+ await expect(executeTransaction(
+ api,
+ bob,
+ api.tx.unique.setCollectionProperties(collection, [{key: 'electron', value: 'come bond'}, {key: 'black hole', value: 'LIGO'}]),
+ )).to.be.rejectedWith(/common\.NoPermission/);
+
+ const properties = (await api.query.common.collectionProperties(collection)).toJSON();
+ expect(properties.map).to.be.empty;
+ expect(properties.consumedSpace).to.equal(0);
+ });
+ });
+
+ it('Fails to set properties that exceed the limits', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+ const spaceLimit = (await api.query.common.collectionProperties(collection)).toJSON().spaceLimit as number;
+
+ // Mute the general tx parsing error, too many bytes to process
+ {
+ console.error = () => {};
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setCollectionProperties(collection, [{key: 'electron', value: 'low high '.repeat(Math.ceil(spaceLimit! / 9))}]),
+ )).to.be.rejected;
+ }
+
+ let properties = (await api.rpc.unique.collectionProperties(collection, ['electron'])).toJSON();
+ expect(properties).to.be.empty;
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setCollectionProperties(collection, [
+ {key: 'electron', value: 'low high '.repeat(Math.ceil(spaceLimit! / 18))},
+ {key: 'black hole', value: '0'.repeat(Math.ceil(spaceLimit! / 2))},
+ ]),
+ )).to.be.rejectedWith(/common\.NoSpaceForProperty/);
+
+ properties = (await api.rpc.unique.collectionProperties(collection, ['electron', 'black hole'])).toJSON();
+ expect(properties).to.be.empty;
+ });
+ });
+
+ it('Fails to set more properties than it is allowed', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+
+ const propertiesToBeSet = [];
+ for (let i = 0; i < 65; i++) {
+ propertiesToBeSet.push({
+ key: 'electron ' + i,
+ value: Math.random() > 0.5 ? 'high' : 'low',
+ });
+ }
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setCollectionProperties(collection, propertiesToBeSet),
+ )).to.be.rejectedWith(/common\.PropertyLimitReached/);
+
+ const properties = (await api.query.common.collectionProperties(collection)).toJSON();
+ expect(properties.map).to.be.empty;
+ expect(properties.consumedSpace).to.equal(0);
+ });
+ });
+});
+
+// ---------- ACCESS RIGHTS
+
+describe('Integration Test: Access Rights to Token Properties', () => {
+ before(async () => {
+ alice = privateKey('//Alice');
+ bob = privateKey('//Bob');
+ });
+
+ it('Reads access rights to properties of a collection', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+ const propertyRights = (await api.query.common.collectionPropertyPermissions(collection)).toJSON();
+ expect(propertyRights).to.be.empty;
+ });
+ });
+
+ it('Sets access rights to properties of a collection', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: 'skullduggery', permission: {mutable: true}}]),
+ )).to.not.be.rejected;
+
+ await addCollectionAdminExpectSuccess(alice, collection, bob.address);
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: 'mindgame', permission: {collectionAdmin: true, tokenOwner: false}}]),
+ )).to.not.be.rejected;
+
+ const propertyRights = (await api.rpc.unique.propertyPermissions(collection, ['skullduggery', 'mindgame'])).toJSON();
+ expect(propertyRights).to.be.deep.equal([
+ {key: `0x${Buffer.from('skullduggery').toString('hex')}`, permission: {'mutable': true, 'collectionAdmin': false, 'tokenOwner': false}},
+ {key: `0x${Buffer.from('mindgame').toString('hex')}`, permission: {'mutable': false, 'collectionAdmin': true, 'tokenOwner': false}},
+ ]);
+ });
+ });
+
+ it('Changes access rights to properties of a collection', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: 'skullduggery', permission: {mutable: true, collectionAdmin: true}}]),
+ )).to.not.be.rejected;
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: 'skullduggery', permission: {mutable: false, tokenOwner: true}}]),
+ )).to.not.be.rejected;
+
+ const propertyRights = (await api.rpc.unique.propertyPermissions(collection, ['skullduggery'])).toJSON();
+ expect(propertyRights).to.be.deep.equal([
+ {key: `0x${Buffer.from('skullduggery').toString('hex')}`, permission: {'mutable': false, 'collectionAdmin': false, 'tokenOwner': true}},
+ ]);
+ });
+ });
+});
+
+describe('Negative Integration Test: Access Rights to Token Properties', () => {
+ before(async () => {
+ alice = privateKey('//Alice');
+ bob = privateKey('//Bob');
+ });
+
+ it('Prevents from setting access rights to properties of a collection if not an onwer/admin', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+
+ await expect(executeTransaction(
+ api,
+ bob,
+ api.tx.unique.setPropertyPermissions(collection, [{key: 'skullduggery', permission: {mutable: true, tokenOwner: true}}]),
+ )).to.be.rejectedWith(/common\.NoPermission/);
+
+ const propertyRights = (await api.rpc.unique.propertyPermissions(collection, ['skullduggery'])).toJSON();
+ expect(propertyRights).to.be.empty;
+ });
+ });
+
+ it('Prevents from adding too many possible properties', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+
+ const constitution = [];
+ for (let i = 0; i < 65; i++) {
+ constitution.push({
+ key: 'property ' + i,
+ permission: Math.random() > 0.5 ? {mutable: true, collectionAdmin: true, tokenOwner: true} : {},
+ });
+ }
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, constitution),
+ )).to.be.rejectedWith(/common\.PropertyLimitReached/);
+
+ const propertyRights = (await api.query.common.collectionPropertyPermissions(collection)).toJSON();
+ expect(propertyRights).to.be.empty;
+ });
+ });
+
+ it('Prevents access rights to be modified if constant', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: 'skullduggery', permission: {mutable: false, tokenOwner: true}}]),
+ )).to.not.be.rejected;
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: 'skullduggery', permission: {}}]),
+ )).to.be.rejectedWith(/common\.NoPermission/);
+
+ const propertyRights = (await api.rpc.unique.propertyPermissions(collection, ['skullduggery'])).toJSON();
+ expect(propertyRights).to.deep.equal([
+ {key: `0x${Buffer.from('skullduggery').toString('hex')}`, permission: {'mutable': false, 'collectionAdmin': false, 'tokenOwner': true}},
+ ]);
+ });
+ });
+});
+
+// ---------- TOKEN PROPERTIES
+
+describe('Integration Test: Token Properties', () => {
+ let collection: number;
+ let token: number;
+ let permissions: {permission: any, signers: IKeyringPair[]}[];
+
+ before(async () => {
+ alice = privateKey('//Alice');
+ bob = privateKey('//Bob');
+ charlie = privateKey('//Charlie');
+
+ permissions = [
+ {permission: {mutable: true, collectionAdmin: true}, signers: [alice, bob]},
+ {permission: {mutable: false, collectionAdmin: true}, signers: [alice, bob]},
+ {permission: {mutable: true, tokenOwner: true}, signers: [charlie]},
+ {permission: {mutable: false, tokenOwner: true}, signers: [charlie]},
+ {permission: {mutable: true, collectionAdmin: true, tokenOwner: true}, signers: [alice, bob, charlie]},
+ {permission: {mutable: false, collectionAdmin: true, tokenOwner: true}, signers: [alice, bob, charlie]},
+ ];
+ });
+
+ beforeEach(async () => {
+ collection = await createCollectionExpectSuccess();
+ token = await createItemExpectSuccess(alice, collection, 'NFT');
+ await addCollectionAdminExpectSuccess(alice, collection, bob.address);
+ await transferExpectSuccess(collection, token, alice, charlie);
+ });
+
+ it('Reads properties of a token', async () => {
+ await usingApi(async api => {
+ const collection = await createCollectionExpectSuccess();
+ const token = await createItemExpectSuccess(alice, collection, 'NFT');
+
+ const properties = (await api.query.nonfungible.tokenProperties(collection, token)).toJSON();
+ expect(properties.map).to.be.empty;
+ expect(properties.consumedSpace).to.be.equal(0);
+
+ const tokenData = (await api.rpc.unique.tokenData(collection, token, ['anything'])).toJSON().properties;
+ expect(tokenData).to.be.empty;
+ });
+ });
+
+ it('Assigns properties to a token according to permissions', async () => {
+ await usingApi(async api => {
+ const propertyKeys: string[] = [];
+ let i = 0;
+ for (const permission of permissions) {
+ for (const signer of permission.signers) {
+ const key = i + ' ' + signer.address;
+ propertyKeys.push(key);
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: key, permission: permission.permission}]),
+ ), `on setting permission ${i} by ${signer.address}`).to.not.be.rejected;
+
+ await expect(executeTransaction(
+ api,
+ signer,
+ api.tx.unique.setTokenProperties(collection, token, [{key: key, value: 'Serotonin increase'}]),
+ ), `on adding property ${i} by ${signer.address}`).to.not.be.rejected;
+ }
+
+ i++;
+ }
+
+ const properties = (await api.rpc.unique.tokenProperties(collection, token, propertyKeys)).toJSON() as any[];
+ const tokensData = (await api.rpc.unique.tokenData(collection, token, propertyKeys)).toJSON().properties as any[];
+ for (let i = 0; i < properties.length; i++) {
+ expect(properties[i].value).to.be.equal(`0x${Buffer.from('Serotonin increase').toString('hex')}`);
+ expect(tokensData[i].value).to.be.equal(`0x${Buffer.from('Serotonin increase').toString('hex')}`);
+ }
+ });
+ });
+
+ it('Changes properties of a token according to permissions', async () => {
+ await usingApi(async api => {
+ const propertyKeys: string[] = [];
+ let i = 0;
+ for (const permission of permissions) {
+ if (!permission.permission.mutable) continue;
+
+ for (const signer of permission.signers) {
+ const key = i + ' ' + signer.address;
+ propertyKeys.push(key);
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: key, permission: permission.permission}]),
+ ), `on setting permission ${i} by ${signer.address}`).to.not.be.rejected;
+
+ await expect(executeTransaction(
+ api,
+ signer,
+ api.tx.unique.setTokenProperties(collection, token, [{key: key, value: 'Serotonin increase'}]),
+ ), `on adding property ${i} by ${signer.address}`).to.not.be.rejected;
+
+ await expect(executeTransaction(
+ api,
+ signer,
+ api.tx.unique.setTokenProperties(collection, token, [{key: key, value: 'Serotonin stable'}]),
+ ), `on changing property ${i} by ${signer.address}`).to.not.be.rejected;
+ }
+
+ i++;
+ }
+
+ const properties = (await api.rpc.unique.tokenProperties(collection, token, propertyKeys)).toJSON() as any[];
+ const tokensData = (await api.rpc.unique.tokenData(collection, token, propertyKeys)).toJSON().properties as any[];
+ for (let i = 0; i < properties.length; i++) {
+ expect(properties[i].value).to.be.equal(`0x${Buffer.from('Serotonin stable').toString('hex')}`);
+ expect(tokensData[i].value).to.be.equal(`0x${Buffer.from('Serotonin stable').toString('hex')}`);
+ }
+ });
+ });
+
+ it('Deletes properties of a token according to permissions', async () => {
+ await usingApi(async api => {
+ const propertyKeys: string[] = [];
+ let i = 0;
+
+ for (const permission of permissions) {
+ if (!permission.permission.mutable) continue;
+
+ for (const signer of permission.signers) {
+ const key = i + ' ' + signer.address;
+ propertyKeys.push(key);
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: key, permission: permission.permission}]),
+ ), `on setting permission ${i} by ${signer.address}`).to.not.be.rejected;
+
+ await expect(executeTransaction(
+ api,
+ signer,
+ api.tx.unique.setTokenProperties(collection, token, [{key: key, value: 'Serotonin increase'}]),
+ ), `on adding property ${i} by ${signer.address}`).to.not.be.rejected;
+
+ await expect(executeTransaction(
+ api,
+ signer,
+ api.tx.unique.deleteTokenProperties(collection, token, [key]),
+ ), `on deleting property ${i} by ${signer.address}`).to.not.be.rejected;
+ }
+
+ i++;
+ }
+
+ const properties = (await api.rpc.unique.tokenProperties(collection, token, propertyKeys)).toJSON() as any[];
+ expect(properties).to.be.empty;
+ const tokensData = (await api.rpc.unique.tokenData(collection, token, propertyKeys)).toJSON().properties as any[];
+ expect(tokensData).to.be.empty;
+ expect((await api.query.nonfungible.tokenProperties(collection, token)).toJSON().consumedSpace).to.be.equal(0);
+ });
+ });
+});
+
+describe('Negative Integration Test: Token Properties', () => {
+ let collection: number;
+ let token: number;
+ let originalSpace: number;
+ let constitution: {permission: any, signers: IKeyringPair[], sinner: IKeyringPair}[];
+
+ before(async () => {
+ alice = privateKey('//Alice');
+ bob = privateKey('//Bob');
+ charlie = privateKey('//Charlie');
+ const dave = privateKey('//Dave');
+
+ constitution = [
+ {permission: {mutable: true, collectionAdmin: true}, signers: [alice, bob], sinner: charlie},
+ {permission: {mutable: false, collectionAdmin: true}, signers: [alice, bob], sinner: charlie},
+ {permission: {mutable: true, tokenOwner: true}, signers: [charlie], sinner: alice},
+ {permission: {mutable: false, tokenOwner: true}, signers: [charlie], sinner: alice},
+ {permission: {mutable: true, collectionAdmin: true, tokenOwner: true}, signers: [alice, bob, charlie], sinner: dave},
+ {permission: {mutable: false, collectionAdmin: true, tokenOwner: true}, signers: [alice, bob, charlie], sinner: dave},
+ ];
+ });
+
+ beforeEach(async () => {
+ collection = await createCollectionExpectSuccess();
+ token = await createItemExpectSuccess(alice, collection, 'NFT');
+ await addCollectionAdminExpectSuccess(alice, collection, bob.address);
+ await transferExpectSuccess(collection, token, alice, charlie);
+
+ await usingApi(async api => {
+ let i = 0;
+ for (const passage of constitution) {
+ const signer = passage.signers[0];
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: i, permission: passage.permission}]),
+ ), `on setting permission ${i} by ${signer.address}`).to.not.be.rejected;
+
+ await expect(executeTransaction(
+ api,
+ signer,
+ api.tx.unique.setTokenProperties(collection, token, [{key: i, value: 'Serotonin increase'}]),
+ ), `on adding property ${i} by ${signer.address}`).to.not.be.rejected;
+
+ i++;
+ }
+
+ originalSpace = (await api.query.nonfungible.tokenProperties(collection, token)).toJSON().consumedSpace as number;
+ });
+ });
+
+ it('Forbids changing/deleting properties of a token if the user is outside of permissions', async () => {
+ await usingApi(async api => {
+ let i = -1;
+ for (const forbiddance of constitution) {
+ i++;
+ if (!forbiddance.permission.mutable) continue;
+
+ await expect(executeTransaction(
+ api,
+ forbiddance.sinner,
+ api.tx.unique.setTokenProperties(collection, token, [{key: i, value: 'Serotonin down'}]),
+ ), `on failing to change property ${i} by ${forbiddance.sinner.address}`).to.be.rejectedWith(/common\.NoPermission/);
+
+ await expect(executeTransaction(
+ api,
+ forbiddance.sinner,
+ api.tx.unique.deleteTokenProperties(collection, token, [forbiddance.permission]),
+ ), `on failing to delete property ${i} by ${forbiddance.sinner.address}`).to.be.rejectedWith(/common\.NoPermission/);
+ }
+
+ // todo RPC?
+ const properties = (await api.query.nonfungible.tokenProperties(collection, token)).toJSON();
+ expect(properties.consumedSpace).to.be.equal(originalSpace);
+ });
+ });
+
+ it('Forbids changing/deleting properties of a token if the property is permanent (constant)', async () => {
+ await usingApi(async api => {
+ let i = -1;
+ for (const permission of constitution) {
+ i++;
+ if (permission.permission.mutable) continue;
+
+ await expect(executeTransaction(
+ api,
+ permission.signers[0],
+ api.tx.unique.setTokenProperties(collection, token, [{key: i, value: 'Serotonin down'}]),
+ ), `on failing to change property ${i} by ${permission.signers[0].address}`).to.be.rejectedWith(/common\.NoPermission/);
+
+ await expect(executeTransaction(
+ api,
+ permission.signers[0],
+ api.tx.unique.deleteTokenProperties(collection, token, [i.toString()]),
+ ), `on failing to delete property ${i} by ${permission.signers[0].address}`).to.be.rejectedWith(/common\.NoPermission/);
+ }
+
+ // todo RPC?
+ const properties = (await api.query.nonfungible.tokenProperties(collection, token)).toJSON();
+ expect(properties.consumedSpace).to.be.equal(originalSpace);
+ });
+ });
+
+ it('Forbids adding properties to a token if the property is not declared / forbidden with the \'None\' permission', async () => {
+ await usingApi(async api => {
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setTokenProperties(collection, token, [{key: 'non-existent', value: 'I exist!'}]),
+ ), 'on failing to add a previously non-existent property').to.be.rejectedWith(/common\.NoPermission/);
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [{key: 'now-existent', permission: {}}]),
+ ), 'on setting a new non-permitted property').to.not.be.rejected;
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setTokenProperties(collection, token, [{key: 'now-existent', value: 'I exist!'}]),
+ ), 'on failing to add a property forbidden by the \'None\' permission').to.be.rejectedWith(/common\.NoPermission/);
+
+ expect((await api.rpc.unique.tokenProperties(collection, token, ['non-existent', 'now-existent'])).toJSON()).to.be.empty;
+ const properties = (await api.query.nonfungible.tokenProperties(collection, token)).toJSON();
+ expect(properties.consumedSpace).to.be.equal(originalSpace);
+ });
+ });
+
+ it('Forbids adding too many properties to a token', async () => {
+ await usingApi(async api => {
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setPropertyPermissions(collection, [
+ {key: 'a holy book', permission: {collectionAdmin: true, tokenOwner: true}},
+ {key: 'young years', permission: {collectionAdmin: true, tokenOwner: true}},
+ ]),
+ ), 'on setting a new non-permitted property').to.not.be.rejected;
+
+ // Mute the general tx parsing error
+ {
+ console.error = () => {};
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setCollectionProperties(collection, [{key: 'a holy book', value: 'word '.repeat(6554)}]),
+ )).to.be.rejected;
+ }
+
+ await expect(executeTransaction(
+ api,
+ alice,
+ api.tx.unique.setTokenProperties(collection, token, [
+ {key: 'a holy book', value: 'word '.repeat(3277)},
+ {key: 'young years', value: 'neverending'.repeat(1490)},
+ ]),
+ )).to.be.rejectedWith(/common\.NoSpaceForProperty/);
+
+ expect((await api.rpc.unique.tokenProperties(collection, token, ['a holy book', 'young years'])).toJSON()).to.be.empty;
+ const propertiesMap = (await api.query.nonfungible.tokenProperties(collection, token)).toJSON();
+ expect(propertiesMap.consumedSpace).to.be.equal(originalSpace);
+ });
+ });
+});
\ No newline at end of file
tests/src/nesting/unnest.test.tsdiffbeforeafterboth--- a/tests/src/nesting/unnest.test.ts
+++ b/tests/src/nesting/unnest.test.ts
@@ -10,7 +10,6 @@
getTopmostTokenOwner,
normalizeAccountId,
setCollectionLimitsExpectSuccess,
- transferExpectFailure,
transferExpectSuccess,
} from '../util/helpers';
import {IKeyringPair} from '@polkadot/types/types';