git.delta.rocks / unique-network / refs/commits / 76768073dbc4

difftreelog

fix tests interfaces

Daniel Shiposha2022-05-15parent: #04a22c8.patch.diff
in: master

6 files changed

modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
5import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';5import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
99
10declare module '@polkadot/api-base/types/submittable' {10declare module '@polkadot/api-base/types/submittable' {
11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {
679 * 679 *
680 * Prefer it to deprecated [`created_collection`] method680 * Prefer it to deprecated [`created_collection`] method
681 **/681 **/
682 createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; offchainSchema?: any; schemaVersion?: any; pendingSponsor?: any; limits?: any; constOnChainSchema?: any; metaUpdatePermission?: any; tokenPropertyPermissions?: any; properties?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;682 createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; offchainSchema?: any; schemaVersion?: any; pendingSponsor?: any; limits?: any; constOnChainSchema?: any; tokenPropertyPermissions?: any; properties?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;
683 /**683 /**
684 * This method creates a concrete instance of NFT Collection created with CreateCollection method.684 * This method creates a concrete instance of NFT Collection created with CreateCollection method.
685 * 685 *
779 * * address.779 * * address.
780 **/780 **/
781 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;781 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
782 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any; nestingRule?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;782 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any; nestingRule?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;
783 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;783 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;
784 /**784 /**
785 * # Permissions785 * # Permissions
808 * * schema: String representing the const on-chain data schema.808 * * schema: String representing the const on-chain data schema.
809 **/809 **/
810 setConstOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;810 setConstOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
811 /**
812 * Set meta_update_permission value for particular collection
813 *
814 * # Permissions
815 *
816 * * Collection Owner.
817 *
818 * # Arguments
819 *
820 * * collection_id: ID of the collection.
821 *
822 * * value: New flag value.
823 **/
824 setMetaUpdatePermissionFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: UpDataStructsMetaUpdatePermission | 'ItemOwner' | 'Admin' | 'None' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsMetaUpdatePermission]>;
825 /**811 /**
826 * Allows Anyone to create tokens if:812 * Allows Anyone to create tokens if:
827 * * Allow List is enabled, and813 * * Allow List is enabled, and
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, 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, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, 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';4import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, 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, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique';
5import type { Data, StorageKey } from '@polkadot/types';5import type { Data, StorageKey } from '@polkadot/types';
6import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';6import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
478 ForkTreePendingChangeNode: ForkTreePendingChangeNode;478 ForkTreePendingChangeNode: ForkTreePendingChangeNode;
479 FpRpcTransactionStatus: FpRpcTransactionStatus;479 FpRpcTransactionStatus: FpRpcTransactionStatus;
480 FrameSupportPalletId: FrameSupportPalletId;480 FrameSupportPalletId: FrameSupportPalletId;
481 FrameSupportStorageBoundedBTreeSet: FrameSupportStorageBoundedBTreeSet;
481 FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus;482 FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus;
482 FrameSupportWeightsDispatchClass: FrameSupportWeightsDispatchClass;483 FrameSupportWeightsDispatchClass: FrameSupportWeightsDispatchClass;
483 FrameSupportWeightsDispatchInfo: FrameSupportWeightsDispatchInfo;484 FrameSupportWeightsDispatchInfo: FrameSupportWeightsDispatchInfo;
765 PalletEthereumCall: PalletEthereumCall;766 PalletEthereumCall: PalletEthereumCall;
766 PalletEthereumError: PalletEthereumError;767 PalletEthereumError: PalletEthereumError;
767 PalletEthereumEvent: PalletEthereumEvent;768 PalletEthereumEvent: PalletEthereumEvent;
769 PalletEthereumFakeTransactionFinalizer: PalletEthereumFakeTransactionFinalizer;
768 PalletEventMetadataLatest: PalletEventMetadataLatest;770 PalletEventMetadataLatest: PalletEventMetadataLatest;
769 PalletEventMetadataV14: PalletEventMetadataV14;771 PalletEventMetadataV14: PalletEventMetadataV14;
770 PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;772 PalletEvmAccountBasicCrossAccountIdRepr: PalletEvmAccountBasicCrossAccountIdRepr;
1180 UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;1182 UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;
1181 UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;1183 UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
1182 UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;1184 UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
1183 UpDataStructsMetaUpdatePermission: UpDataStructsMetaUpdatePermission;
1184 UpDataStructsNestingRule: UpDataStructsNestingRule;1185 UpDataStructsNestingRule: UpDataStructsNestingRule;
1185 UpDataStructsProperties: UpDataStructsProperties;1186 UpDataStructsProperties: UpDataStructsProperties;
1186 UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;1187 UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
1360 itemId: 'u32',1360 itemId: 'u32',
1361 value: 'u128',1361 value: 'u128',
1362 },1362 },
1363 set_meta_update_permission_flag: {
1364 collectionId: 'u32',
1365 value: 'UpDataStructsMetaUpdatePermission',
1366 },
1367 set_schema_version: {1363 set_schema_version: {
1368 collectionId: 'u32',1364 collectionId: 'u32',
1369 version: 'UpDataStructsSchemaVersion',1365 version: 'UpDataStructsSchemaVersion',
1406 pendingSponsor: 'Option<AccountId32>',1402 pendingSponsor: 'Option<AccountId32>',
1407 limits: 'Option<UpDataStructsCollectionLimits>',1403 limits: 'Option<UpDataStructsCollectionLimits>',
1408 constOnChainSchema: 'Bytes',1404 constOnChainSchema: 'Bytes',
1409 metaUpdatePermission: 'Option<UpDataStructsMetaUpdatePermission>',
1410 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1405 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',
1411 properties: 'Vec<UpDataStructsProperty>'1406 properties: 'Vec<UpDataStructsProperty>'
1412 },1407 },
1428 UpDataStructsCollectionLimits: {1423 UpDataStructsCollectionLimits: {
1429 accountTokenOwnershipLimit: 'Option<u32>',1424 accountTokenOwnershipLimit: 'Option<u32>',
1430 sponsoredDataSize: 'Option<u32>',1425 sponsoredDataSize: 'Option<u32>',
1426 sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',
1431 tokenLimit: 'Option<u32>',1427 tokenLimit: 'Option<u32>',
1432 sponsorTransferTimeout: 'Option<u32>',1428 sponsorTransferTimeout: 'Option<u32>',
1433 sponsorApproveTimeout: 'Option<u32>',1429 sponsorApproveTimeout: 'Option<u32>',
1436 transfersEnabled: 'Option<bool>',1432 transfersEnabled: 'Option<bool>',
1437 nestingRule: 'Option<UpDataStructsNestingRule>'1433 nestingRule: 'Option<UpDataStructsNestingRule>'
1438 },1434 },
1435 /**
1436 * Lookup167: up_data_structs::SponsoringRateLimit
1437 **/
1438 UpDataStructsSponsoringRateLimit: {
1439 _enum: {
1440 SponsoringDisabled: 'Null',
1441 Blocks: 'u32'
1442 }
1443 },
1439 /**1444 /**
1440 * Lookup168: up_data_structs::NestingRule1445 * Lookup170: up_data_structs::NestingRule
1441 **/1446 **/
1442 UpDataStructsNestingRule: {1447 UpDataStructsNestingRule: {
1443 _enum: {1448 _enum: {
1444 Disabled: 'Null',1449 Disabled: 'Null',
1445 Owner: 'Null',1450 Owner: 'Null',
1446 OwnerRestricted: 'FrameSupportStorageBoundedBTreeSet'1451 OwnerRestricted: 'FrameSupportStorageBoundedBTreeSet'
1447 }1452 }
1448 },1453 },
1449 /**1454 /**
1450 * Lookup169: frame_support::storage::bounded_btree_set::BoundedBTreeSet<up_data_structs::CollectionId, S>1455 * Lookup171: frame_support::storage::bounded_btree_set::BoundedBTreeSet<up_data_structs::CollectionId, S>
1451 **/1456 **/
1452 FrameSupportStorageBoundedBTreeSet: 'BTreeSet<u32>',1457 FrameSupportStorageBoundedBTreeSet: 'BTreeSet<u32>',
1453 /**
1454 * Lookup175: up_data_structs::MetaUpdatePermission
1455 **/
1456 UpDataStructsMetaUpdatePermission: {
1457 _enum: ['ItemOwner', 'Admin', 'None']
1458 },
1459 /**1458 /**
1460 * Lookup177: up_data_structs::PropertyKeyPermission1459 * Lookup177: up_data_structs::PropertyKeyPermission
1461 **/1460 **/
2274 mintMode: 'bool',2273 mintMode: 'bool',
2275 schemaVersion: 'UpDataStructsSchemaVersion',2274 schemaVersion: 'UpDataStructsSchemaVersion',
2276 sponsorship: 'UpDataStructsSponsorshipState',2275 sponsorship: 'UpDataStructsSponsorshipState',
2277 limits: 'UpDataStructsCollectionLimits',2276 limits: 'UpDataStructsCollectionLimits'
2278 metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'
2279 },2277 },
2280 /**2278 /**
2281 * Lookup309: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2279 * Lookup309: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
2349 sponsorship: 'UpDataStructsSponsorshipState',2347 sponsorship: 'UpDataStructsSponsorshipState',
2350 limits: 'UpDataStructsCollectionLimits',2348 limits: 'UpDataStructsCollectionLimits',
2351 constOnChainSchema: 'Bytes',2349 constOnChainSchema: 'Bytes',
2352 metaUpdatePermission: 'UpDataStructsMetaUpdatePermission',
2353 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2350 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',
2354 properties: 'Vec<UpDataStructsProperty>'2351 properties: 'Vec<UpDataStructsProperty>'
2355 },2352 },
modifiedtests/src/interfaces/registry.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, 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, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSchemaVersion, 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 '@polkadot/types/lookup';4import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportStorageBoundedBTreeSet, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, 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, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionField, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, 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 '@polkadot/types/lookup';
55
6declare module '@polkadot/types/types/registry' {6declare module '@polkadot/types/types/registry' {
7 export interface InterfaceTypes {7 export interface InterfaceTypes {
162 UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;162 UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;
163 UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;163 UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
164 UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;164 UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
165 UpDataStructsMetaUpdatePermission: UpDataStructsMetaUpdatePermission;
166 UpDataStructsNestingRule: UpDataStructsNestingRule;165 UpDataStructsNestingRule: UpDataStructsNestingRule;
167 UpDataStructsProperties: UpDataStructsProperties;166 UpDataStructsProperties: UpDataStructsProperties;
168 UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;167 UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;
172 UpDataStructsPropertyPermission: UpDataStructsPropertyPermission;171 UpDataStructsPropertyPermission: UpDataStructsPropertyPermission;
173 UpDataStructsRpcCollection: UpDataStructsRpcCollection;172 UpDataStructsRpcCollection: UpDataStructsRpcCollection;
174 UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;173 UpDataStructsSchemaVersion: UpDataStructsSchemaVersion;
174 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
175 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;175 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
176 UpDataStructsTokenData: UpDataStructsTokenData;176 UpDataStructsTokenData: UpDataStructsTokenData;
177 XcmDoubleEncoded: XcmDoubleEncoded;177 XcmDoubleEncoded: XcmDoubleEncoded;
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
1493 readonly itemId: u32;1493 readonly itemId: u32;
1494 readonly value: u128;1494 readonly value: u128;
1495 } & Struct;1495 } & Struct;
1496 readonly isSetMetaUpdatePermissionFlag: boolean;
1497 readonly asSetMetaUpdatePermissionFlag: {
1498 readonly collectionId: u32;
1499 readonly value: UpDataStructsMetaUpdatePermission;
1500 } & Struct;
1501 readonly isSetSchemaVersion: boolean;1496 readonly isSetSchemaVersion: boolean;
1502 readonly asSetSchemaVersion: {1497 readonly asSetSchemaVersion: {
1503 readonly collectionId: u32;1498 readonly collectionId: u32;
1518 readonly collectionId: u32;1513 readonly collectionId: u32;
1519 readonly newLimit: UpDataStructsCollectionLimits;1514 readonly newLimit: UpDataStructsCollectionLimits;
1520 } & Struct;1515 } & Struct;
1521 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetCollectionLimits';1516 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetCollectionLimits';
1522 }1517 }
15231518
1524 /** @name UpDataStructsCollectionMode (156) */1519 /** @name UpDataStructsCollectionMode (156) */
1542 readonly pendingSponsor: Option<AccountId32>;1537 readonly pendingSponsor: Option<AccountId32>;
1543 readonly limits: Option<UpDataStructsCollectionLimits>;1538 readonly limits: Option<UpDataStructsCollectionLimits>;
1544 readonly constOnChainSchema: Bytes;1539 readonly constOnChainSchema: Bytes;
1545 readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;
1546 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1540 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
1547 readonly properties: Vec<UpDataStructsProperty>;1541 readonly properties: Vec<UpDataStructsProperty>;
1548 }1542 }
1565 export interface UpDataStructsCollectionLimits extends Struct {1559 export interface UpDataStructsCollectionLimits extends Struct {
1566 readonly accountTokenOwnershipLimit: Option<u32>;1560 readonly accountTokenOwnershipLimit: Option<u32>;
1567 readonly sponsoredDataSize: Option<u32>;1561 readonly sponsoredDataSize: Option<u32>;
1562 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;
1568 readonly tokenLimit: Option<u32>;1563 readonly tokenLimit: Option<u32>;
1569 readonly sponsorTransferTimeout: Option<u32>;1564 readonly sponsorTransferTimeout: Option<u32>;
1570 readonly sponsorApproveTimeout: Option<u32>;1565 readonly sponsorApproveTimeout: Option<u32>;
1574 readonly nestingRule: Option<UpDataStructsNestingRule>;1569 readonly nestingRule: Option<UpDataStructsNestingRule>;
1575 }1570 }
1571
1572 /** @name UpDataStructsSponsoringRateLimit (167) */
1573 export interface UpDataStructsSponsoringRateLimit extends Enum {
1574 readonly isSponsoringDisabled: boolean;
1575 readonly isBlocks: boolean;
1576 readonly asBlocks: u32;
1577 readonly type: 'SponsoringDisabled' | 'Blocks';
1578 }
15761579
1577 /** @name UpDataStructsNestingRule (168) */1580 /** @name UpDataStructsNestingRule (170) */
1578 export interface UpDataStructsNestingRule extends Enum {1581 export interface UpDataStructsNestingRule extends Enum {
1579 readonly isDisabled: boolean;1582 readonly isDisabled: boolean;
1580 readonly isOwner: boolean;1583 readonly isOwner: boolean;
1583 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1586 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';
1584 }1587 }
15851588
1586 /** @name FrameSupportStorageBoundedBTreeSet (169) */1589 /** @name FrameSupportStorageBoundedBTreeSet (171) */
1587 export interface FrameSupportStorageBoundedBTreeSet extends BTreeSet<u32> {}1590 export interface FrameSupportStorageBoundedBTreeSet extends BTreeSet<u32> {}
1588
1589 /** @name UpDataStructsMetaUpdatePermission (175) */
1590 export interface UpDataStructsMetaUpdatePermission extends Enum {
1591 readonly isItemOwner: boolean;
1592 readonly isAdmin: boolean;
1593 readonly isNone: boolean;
1594 readonly type: 'ItemOwner' | 'Admin' | 'None';
1595 }
15961591
1597 /** @name UpDataStructsPropertyKeyPermission (177) */1592 /** @name UpDataStructsPropertyKeyPermission (177) */
1598 export interface UpDataStructsPropertyKeyPermission extends Struct {1593 export interface UpDataStructsPropertyKeyPermission extends Struct {
2479 readonly schemaVersion: UpDataStructsSchemaVersion;2474 readonly schemaVersion: UpDataStructsSchemaVersion;
2480 readonly sponsorship: UpDataStructsSponsorshipState;2475 readonly sponsorship: UpDataStructsSponsorshipState;
2481 readonly limits: UpDataStructsCollectionLimits;2476 readonly limits: UpDataStructsCollectionLimits;
2482 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
2483 }2477 }
24842478
2485 /** @name UpDataStructsSponsorshipState (309) */2479 /** @name UpDataStructsSponsorshipState (309) */
2546 readonly sponsorship: UpDataStructsSponsorshipState;2540 readonly sponsorship: UpDataStructsSponsorshipState;
2547 readonly limits: UpDataStructsCollectionLimits;2541 readonly limits: UpDataStructsCollectionLimits;
2548 readonly constOnChainSchema: Bytes;2542 readonly constOnChainSchema: Bytes;
2549 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
2550 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2543 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
2551 readonly properties: Vec<UpDataStructsProperty>;2544 readonly properties: Vec<UpDataStructsProperty>;
2552 }2545 }
modifiedtests/src/interfaces/unique/types.tsdiffbeforeafterboth
446/** @name FrameSupportPalletId */446/** @name FrameSupportPalletId */
447export interface FrameSupportPalletId extends U8aFixed {}447export interface FrameSupportPalletId extends U8aFixed {}
448
449/** @name FrameSupportStorageBoundedBTreeSet */
450export interface FrameSupportStorageBoundedBTreeSet extends BTreeSet<u32> {}
448451
449/** @name FrameSupportTokensMiscBalanceStatus */452/** @name FrameSupportTokensMiscBalanceStatus */
450export interface FrameSupportTokensMiscBalanceStatus extends Enum {453export interface FrameSupportTokensMiscBalanceStatus extends Enum {
872 readonly isCollectionDescriptionLimitExceeded: boolean;875 readonly isCollectionDescriptionLimitExceeded: boolean;
873 readonly isCollectionTokenPrefixLimitExceeded: boolean;876 readonly isCollectionTokenPrefixLimitExceeded: boolean;
874 readonly isTotalCollectionsLimitExceeded: boolean;877 readonly isTotalCollectionsLimitExceeded: boolean;
875 readonly isTokenVariableDataLimitExceeded: boolean;
876 readonly isCollectionAdminCountExceeded: boolean;878 readonly isCollectionAdminCountExceeded: boolean;
877 readonly isCollectionLimitBoundsExceeded: boolean;879 readonly isCollectionLimitBoundsExceeded: boolean;
878 readonly isOwnerPermissionsCantBeReverted: boolean;880 readonly isOwnerPermissionsCantBeReverted: boolean;
896 readonly isUnableToReadUnboundedKeys: boolean;898 readonly isUnableToReadUnboundedKeys: boolean;
897 readonly isInvalidCharacterInPropertyKey: boolean;899 readonly isInvalidCharacterInPropertyKey: boolean;
898 readonly isEmptyPropertyKey: boolean;900 readonly isEmptyPropertyKey: boolean;
899 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' | 'UnableToReadUnboundedKeys' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';901 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'UnableToReadUnboundedKeys' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';
900}902}
901903
902/** @name PalletCommonEvent */904/** @name PalletCommonEvent */
949 readonly type: 'Executed';951 readonly type: 'Executed';
950}952}
953
954/** @name PalletEthereumFakeTransactionFinalizer */
955export interface PalletEthereumFakeTransactionFinalizer extends Null {}
951956
952/** @name PalletEvmAccountBasicCrossAccountIdRepr */957/** @name PalletEvmAccountBasicCrossAccountIdRepr */
953export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {958export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
1109/** @name PalletNonfungibleItemData */1114/** @name PalletNonfungibleItemData */
1110export interface PalletNonfungibleItemData extends Struct {1115export interface PalletNonfungibleItemData extends Struct {
1111 readonly constData: Bytes;1116 readonly constData: Bytes;
1112 readonly variableData: Bytes;
1113 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1117 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1114}1118}
11151119
1125/** @name PalletRefungibleItemData */1129/** @name PalletRefungibleItemData */
1126export interface PalletRefungibleItemData extends Struct {1130export interface PalletRefungibleItemData extends Struct {
1127 readonly constData: Bytes;1131 readonly constData: Bytes;
1128 readonly variableData: Bytes;
1129}1132}
11301133
1131/** @name PalletStructureCall */1134/** @name PalletStructureCall */
1433 readonly itemId: u32;1436 readonly itemId: u32;
1434 readonly value: u128;1437 readonly value: u128;
1435 } & Struct;1438 } & Struct;
1436 readonly isSetVariableMetaData: boolean;
1437 readonly asSetVariableMetaData: {
1438 readonly collectionId: u32;
1439 readonly itemId: u32;
1440 readonly data: Bytes;
1441 } & Struct;
1442 readonly isSetMetaUpdatePermissionFlag: boolean;
1443 readonly asSetMetaUpdatePermissionFlag: {
1444 readonly collectionId: u32;
1445 readonly value: UpDataStructsMetaUpdatePermission;
1446 } & Struct;
1447 readonly isSetSchemaVersion: boolean;1439 readonly isSetSchemaVersion: boolean;
1448 readonly asSetSchemaVersion: {1440 readonly asSetSchemaVersion: {
1449 readonly collectionId: u32;1441 readonly collectionId: u32;
1464 readonly collectionId: u32;1456 readonly collectionId: u32;
1465 readonly newLimit: UpDataStructsCollectionLimits;1457 readonly newLimit: UpDataStructsCollectionLimits;
1466 } & Struct;1458 } & Struct;
1467 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetCollectionLimits';1459 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetCollectionLimits';
1468}1460}
14691461
1470/** @name PalletUniqueError */1462/** @name PalletUniqueError */
1626}1618}
16271619
1628/** @name PhantomTypeUpDataStructsRpcCollection */1620/** @name PhantomTypeUpDataStructsRpcCollection */
1629export interface PhantomTypeUpDataStructsRpcCollection extends Vec<Lookup333> {}1621export interface PhantomTypeUpDataStructsRpcCollection extends Vec<Lookup331> {}
16301622
1631/** @name PhantomTypeUpDataStructsTokenData */1623/** @name PhantomTypeUpDataStructsTokenData */
1632export interface PhantomTypeUpDataStructsTokenData extends Vec<Lookup329> {}1624export interface PhantomTypeUpDataStructsTokenData extends Vec<Lookup327> {}
16331625
1634/** @name PolkadotCorePrimitivesInboundDownwardMessage */1626/** @name PolkadotCorePrimitivesInboundDownwardMessage */
1635export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1627export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
1821 readonly schemaVersion: UpDataStructsSchemaVersion;1813 readonly schemaVersion: UpDataStructsSchemaVersion;
1822 readonly sponsorship: UpDataStructsSponsorshipState;1814 readonly sponsorship: UpDataStructsSponsorshipState;
1823 readonly limits: UpDataStructsCollectionLimits;1815 readonly limits: UpDataStructsCollectionLimits;
1824 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
1825}1816}
18261817
1827/** @name UpDataStructsCollectionField */1818/** @name UpDataStructsCollectionField */
1873 readonly pendingSponsor: Option<AccountId32>;1864 readonly pendingSponsor: Option<AccountId32>;
1874 readonly limits: Option<UpDataStructsCollectionLimits>;1865 readonly limits: Option<UpDataStructsCollectionLimits>;
1875 readonly constOnChainSchema: Bytes;1866 readonly constOnChainSchema: Bytes;
1876 readonly metaUpdatePermission: Option<UpDataStructsMetaUpdatePermission>;
1877 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1867 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
1878 readonly properties: Vec<UpDataStructsProperty>;1868 readonly properties: Vec<UpDataStructsProperty>;
1879}1869}
1910/** @name UpDataStructsCreateNftData */1900/** @name UpDataStructsCreateNftData */
1911export interface UpDataStructsCreateNftData extends Struct {1901export interface UpDataStructsCreateNftData extends Struct {
1912 readonly constData: Bytes;1902 readonly constData: Bytes;
1913 readonly variableData: Bytes;
1914 readonly properties: Vec<UpDataStructsProperty>;1903 readonly properties: Vec<UpDataStructsProperty>;
1915}1904}
19161905
1917/** @name UpDataStructsCreateNftExData */1906/** @name UpDataStructsCreateNftExData */
1918export interface UpDataStructsCreateNftExData extends Struct {1907export interface UpDataStructsCreateNftExData extends Struct {
1919 readonly constData: Bytes;1908 readonly constData: Bytes;
1920 readonly variableData: Bytes;
1921 readonly properties: Vec<UpDataStructsProperty>;1909 readonly properties: Vec<UpDataStructsProperty>;
1922 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1910 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1923}1911}
19241912
1925/** @name UpDataStructsCreateReFungibleData */1913/** @name UpDataStructsCreateReFungibleData */
1926export interface UpDataStructsCreateReFungibleData extends Struct {1914export interface UpDataStructsCreateReFungibleData extends Struct {
1927 readonly constData: Bytes;1915 readonly constData: Bytes;
1928 readonly variableData: Bytes;
1929 readonly pieces: u128;1916 readonly pieces: u128;
1930}1917}
19311918
1932/** @name UpDataStructsCreateRefungibleExData */1919/** @name UpDataStructsCreateRefungibleExData */
1933export interface UpDataStructsCreateRefungibleExData extends Struct {1920export interface UpDataStructsCreateRefungibleExData extends Struct {
1934 readonly constData: Bytes;1921 readonly constData: Bytes;
1935 readonly variableData: Bytes;
1936 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1922 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
1937}1923}
1938
1939/** @name UpDataStructsMetaUpdatePermission */
1940export interface UpDataStructsMetaUpdatePermission extends Enum {
1941 readonly isItemOwner: boolean;
1942 readonly isAdmin: boolean;
1943 readonly isNone: boolean;
1944 readonly type: 'ItemOwner' | 'Admin' | 'None';
1945}
19461924
1947/** @name UpDataStructsNestingRule */1925/** @name UpDataStructsNestingRule */
1948export interface UpDataStructsNestingRule extends Enum {1926export interface UpDataStructsNestingRule extends Enum {
1949 readonly isDisabled: boolean;1927 readonly isDisabled: boolean;
1950 readonly isOwner: boolean;1928 readonly isOwner: boolean;
1951 readonly isOwnerRestricted: boolean;1929 readonly isOwnerRestricted: boolean;
1952 readonly asOwnerRestricted: BTreeSet<u32>;1930 readonly asOwnerRestricted: FrameSupportStorageBoundedBTreeSet;
1953 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1931 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';
1954}1932}
19551933
1999 readonly sponsorship: UpDataStructsSponsorshipState;1977 readonly sponsorship: UpDataStructsSponsorshipState;
2000 readonly limits: UpDataStructsCollectionLimits;1978 readonly limits: UpDataStructsCollectionLimits;
2001 readonly constOnChainSchema: Bytes;1979 readonly constOnChainSchema: Bytes;
2002 readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission;
2003 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;1980 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;
2004 readonly properties: Vec<UpDataStructsProperty>;1981 readonly properties: Vec<UpDataStructsProperty>;
2005}1982}