--- a/tests/src/interfaces/augment-api-consts.ts +++ b/tests/src/interfaces/augment-api-consts.ts @@ -30,6 +30,7 @@ }; common: { collectionAdminsLimit: u32 & AugmentedConst; + collectionCreationPrice: u128 & AugmentedConst; /** * Generic const **/ @@ -137,6 +138,8 @@ burn: Permill & AugmentedConst; /** * The maximum number of approvals that can wait in the spending queue. + * + * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. **/ maxApprovals: u32 & AugmentedConst; /** --- a/tests/src/interfaces/augment-api-query.ts +++ b/tests/src/interfaces/augment-api-query.ts @@ -12,8 +12,29 @@ export interface AugmentedQueries { balances: { /** - * The balance of an account. + * The Balances pallet example of storing the balance of an account. + * + * # Example + * + * ```nocompile + * impl pallet_balances::Config for Runtime { + * type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData> + * } + * ``` + * + * You can also store the balance of an account in the `System` pallet. + * + * # Example * + * ```nocompile + * impl pallet_balances::Config for Runtime { + * type AccountStore = System + * } + * ``` + * + * But this comes with tradeoffs, storing account balances in the system pallet stores + * `frame_system` data alongside the account data contrary to storing account balances in the + * `Balances` pallet, which uses a `StorageMap` to store balances data only. * NOTE: This is only used in the case that this pallet is used to store balances. **/ account: AugmentedQuery Observable, [AccountId32]> & QueryableStorageEntry; @@ -588,6 +609,10 @@ **/ queueConfig: AugmentedQuery Observable, []> & QueryableStorageEntry; /** + * Whether or not the XCMP queue is suspended from executing incoming XCMs or not. + **/ + queueSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** * Any signal messages waiting to be sent. **/ signalMessages: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; --- a/tests/src/interfaces/augment-api-tx.ts +++ b/tests/src/interfaces/augment-api-tx.ts @@ -425,11 +425,6 @@ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * Make some on-chain remark and emit event. - * - * # - * - `O(b)` where b is the length of the remark. - * - 1 event. - * # **/ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** @@ -982,6 +977,14 @@ }; xcmpQueue: { /** + * Resumes all XCM executions for the XCMP queue. + * + * Note that this function doesn't change the status of the in/out bound channels. + * + * - `origin`: Must pass `ControllerOrigin`. + **/ + resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** * Services a single overweight XCM. * * - `origin`: Must pass `ExecuteOverweightOrigin`. @@ -998,6 +1001,59 @@ **/ serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64, u64]>; /** + * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin. + * + * - `origin`: Must pass `ControllerOrigin`. + **/ + suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Overwrites the number of pages of messages which must be in the queue after which we drop any further + * messages from the channel. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.drop_threshold` + **/ + updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Overwrites the number of pages of messages which the queue must be reduced to before it signals that + * message sending may recommence after it has been suspended. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.resume_threshold` + **/ + updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Overwrites the number of pages of messages which must be in the queue for the other side to be told to + * suspend their sending. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.suspend_value` + **/ + updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; + /** + * Overwrites the amount of remaining weight under which we stop processing messages. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.threshold_weight` + **/ + updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** + * Overwrites the speed to which the available weight approaches the maximum weight. + * A lower number results in a faster progression. A value of 1 makes the entire weight available initially. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`. + **/ + updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** + * Overwrite the maximum amount of weight any individual message may consume. + * Messages above this weight go into the overweight queue and may only be serviced explicitly. + * + * - `origin`: Must pass `Root`. + * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`. + **/ + updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; + /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; --- a/tests/src/interfaces/augment-types.ts +++ b/tests/src/interfaces/augment-types.ts @@ -1,7 +1,7 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ -import 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, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateNftData, UpDataStructsCreateReFungibleData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique'; +import 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, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateNftData, UpDataStructsCreateReFungibleData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './unique'; import type { Data, StorageKey } from '@polkadot/types'; import 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'; import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets'; @@ -18,7 +18,7 @@ import type { StatementKind } from '@polkadot/types/interfaces/claims'; import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective'; import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus'; -import 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'; +import type { AliveContractInfo, CodeHash, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts'; import 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'; import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan'; import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus'; @@ -198,7 +198,6 @@ ClassMetadata: ClassMetadata; CodecHash: CodecHash; CodeHash: CodeHash; - CodeSource: CodeSource; CodeUploadRequest: CodeUploadRequest; CodeUploadResult: CodeUploadResult; CodeUploadResultValue: CodeUploadResultValue; @@ -251,7 +250,6 @@ ContractInfo: ContractInfo; ContractInstantiateResult: ContractInstantiateResult; ContractInstantiateResultTo267: ContractInstantiateResultTo267; - ContractInstantiateResultTo299: ContractInstantiateResultTo299; ContractLayoutArray: ContractLayoutArray; ContractLayoutCell: ContractLayoutCell; ContractLayoutEnum: ContractLayoutEnum; @@ -593,10 +591,7 @@ InstanceId: InstanceId; InstanceMetadata: InstanceMetadata; InstantiateRequest: InstantiateRequest; - InstantiateRequestV1: InstantiateRequestV1; - InstantiateRequestV2: InstantiateRequestV2; InstantiateReturnValue: InstantiateReturnValue; - InstantiateReturnValueOk: InstantiateReturnValueOk; InstantiateReturnValueTo267: InstantiateReturnValueTo267; InstructionV2: InstructionV2; InstructionWeights: InstructionWeights; @@ -1054,6 +1049,7 @@ SpRuntimeDigest: SpRuntimeDigest; SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem; SpRuntimeDispatchError: SpRuntimeDispatchError; + SpRuntimeModuleError: SpRuntimeModuleError; SpRuntimeMultiSignature: SpRuntimeMultiSignature; SpRuntimeTokenError: SpRuntimeTokenError; SpTrieStorageProof: SpTrieStorageProof; --- a/tests/src/interfaces/lookup.ts +++ b/tests/src/interfaces/lookup.ts @@ -260,7 +260,7 @@ _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves'] }, /** - * Lookup60: pallet_timestamp::pallet::Call + * Lookup61: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -270,13 +270,13 @@ } }, /** - * Lookup63: pallet_transaction_payment::Releases + * Lookup64: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'] }, /** - * Lookup65: frame_support::weights::WeightToFeeCoefficient + * Lookup66: frame_support::weights::WeightToFeeCoefficient **/ FrameSupportWeightsWeightToFeeCoefficient: { coeffInteger: 'u128', @@ -285,7 +285,7 @@ degree: 'u8' }, /** - * Lookup67: pallet_treasury::Proposal + * Lookup68: pallet_treasury::Proposal **/ PalletTreasuryProposal: { proposer: 'AccountId32', @@ -294,7 +294,7 @@ bond: 'u128' }, /** - * Lookup70: pallet_treasury::pallet::Call + * Lookup71: pallet_treasury::pallet::Call **/ PalletTreasuryCall: { _enum: { @@ -311,7 +311,7 @@ } }, /** - * Lookup72: pallet_treasury::pallet::Event + * Lookup73: pallet_treasury::pallet::Event **/ PalletTreasuryEvent: { _enum: { @@ -342,17 +342,17 @@ } }, /** - * Lookup75: frame_support::PalletId + * Lookup76: frame_support::PalletId **/ FrameSupportPalletId: '[u8;8]', /** - * Lookup76: pallet_treasury::pallet::Error + * Lookup77: pallet_treasury::pallet::Error **/ PalletTreasuryError: { _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals'] }, /** - * Lookup77: pallet_sudo::pallet::Call + * Lookup78: pallet_sudo::pallet::Call **/ PalletSudoCall: { _enum: { @@ -376,7 +376,7 @@ } }, /** - * Lookup79: frame_system::pallet::Call + * Lookup80: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -414,7 +414,7 @@ } }, /** - * Lookup82: orml_vesting::module::Call + * Lookup83: orml_vesting::module::Call **/ OrmlVestingModuleCall: { _enum: { @@ -433,7 +433,7 @@ } }, /** - * Lookup83: orml_vesting::VestingSchedule + * Lookup84: orml_vesting::VestingSchedule **/ OrmlVestingVestingSchedule: { start: 'u32', @@ -442,18 +442,56 @@ perPeriod: 'Compact' }, /** - * Lookup85: cumulus_pallet_xcmp_queue::pallet::Call + * Lookup86: cumulus_pallet_xcmp_queue::pallet::Call **/ CumulusPalletXcmpQueueCall: { _enum: { service_overweight: { index: 'u64', - weightLimit: 'u64' + weightLimit: 'u64', + }, + suspend_xcm_execution: 'Null', + resume_xcm_execution: 'Null', + update_suspend_threshold: { + _alias: { + new_: 'new', + }, + new_: 'u32', + }, + update_drop_threshold: { + _alias: { + new_: 'new', + }, + new_: 'u32', + }, + update_resume_threshold: { + _alias: { + new_: 'new', + }, + new_: 'u32', + }, + update_threshold_weight: { + _alias: { + new_: 'new', + }, + new_: 'u64', + }, + update_weight_restrict_decay: { + _alias: { + new_: 'new', + }, + new_: 'u64', + }, + update_xcmp_max_individual_weight: { + _alias: { + new_: 'new', + }, + new_: 'u64' } } }, /** - * Lookup86: pallet_xcm::pallet::Call + * Lookup87: pallet_xcm::pallet::Call **/ PalletXcmCall: { _enum: { @@ -507,7 +545,7 @@ } }, /** - * Lookup87: xcm::VersionedMultiLocation + * Lookup88: xcm::VersionedMultiLocation **/ XcmVersionedMultiLocation: { _enum: { @@ -516,7 +554,7 @@ } }, /** - * Lookup88: xcm::v0::multi_location::MultiLocation + * Lookup89: xcm::v0::multi_location::MultiLocation **/ XcmV0MultiLocation: { _enum: { @@ -532,7 +570,7 @@ } }, /** - * Lookup89: xcm::v0::junction::Junction + * Lookup90: xcm::v0::junction::Junction **/ XcmV0Junction: { _enum: { @@ -561,7 +599,7 @@ } }, /** - * Lookup90: xcm::v0::junction::NetworkId + * Lookup91: xcm::v0::junction::NetworkId **/ XcmV0JunctionNetworkId: { _enum: { @@ -572,7 +610,7 @@ } }, /** - * Lookup91: xcm::v0::junction::BodyId + * Lookup92: xcm::v0::junction::BodyId **/ XcmV0JunctionBodyId: { _enum: { @@ -586,7 +624,7 @@ } }, /** - * Lookup92: xcm::v0::junction::BodyPart + * Lookup93: xcm::v0::junction::BodyPart **/ XcmV0JunctionBodyPart: { _enum: { @@ -609,14 +647,14 @@ } }, /** - * Lookup93: xcm::v1::multilocation::MultiLocation + * Lookup94: xcm::v1::multilocation::MultiLocation **/ XcmV1MultiLocation: { parents: 'u8', interior: 'XcmV1MultilocationJunctions' }, /** - * Lookup94: xcm::v1::multilocation::Junctions + * Lookup95: xcm::v1::multilocation::Junctions **/ XcmV1MultilocationJunctions: { _enum: { @@ -632,7 +670,7 @@ } }, /** - * Lookup95: xcm::v1::junction::Junction + * Lookup96: xcm::v1::junction::Junction **/ XcmV1Junction: { _enum: { @@ -660,7 +698,7 @@ } }, /** - * Lookup96: xcm::VersionedXcm + * Lookup97: xcm::VersionedXcm **/ XcmVersionedXcm: { _enum: { @@ -670,7 +708,7 @@ } }, /** - * Lookup97: xcm::v0::Xcm + * Lookup98: xcm::v0::Xcm **/ XcmV0Xcm: { _enum: { @@ -724,7 +762,7 @@ } }, /** - * Lookup99: xcm::v0::multi_asset::MultiAsset + * Lookup100: xcm::v0::multi_asset::MultiAsset **/ XcmV0MultiAsset: { _enum: { @@ -763,7 +801,7 @@ } }, /** - * Lookup100: xcm::v1::multiasset::AssetInstance + * Lookup101: xcm::v1::multiasset::AssetInstance **/ XcmV1MultiassetAssetInstance: { _enum: { @@ -777,7 +815,7 @@ } }, /** - * Lookup104: xcm::v0::order::Order + * Lookup105: xcm::v0::order::Order **/ XcmV0Order: { _enum: { @@ -820,7 +858,7 @@ } }, /** - * Lookup106: xcm::v0::Response + * Lookup107: xcm::v0::Response **/ XcmV0Response: { _enum: { @@ -828,19 +866,19 @@ } }, /** - * Lookup107: xcm::v0::OriginKind + * Lookup108: xcm::v0::OriginKind **/ XcmV0OriginKind: { _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm'] }, /** - * Lookup108: xcm::double_encoded::DoubleEncoded + * Lookup109: xcm::double_encoded::DoubleEncoded **/ XcmDoubleEncoded: { encoded: 'Bytes' }, /** - * Lookup109: xcm::v1::Xcm + * Lookup110: xcm::v1::Xcm **/ XcmV1Xcm: { _enum: { @@ -899,18 +937,18 @@ } }, /** - * Lookup110: xcm::v1::multiasset::MultiAssets + * Lookup111: xcm::v1::multiasset::MultiAssets **/ XcmV1MultiassetMultiAssets: 'Vec', /** - * Lookup112: xcm::v1::multiasset::MultiAsset + * Lookup113: xcm::v1::multiasset::MultiAsset **/ XcmV1MultiAsset: { id: 'XcmV1MultiassetAssetId', fun: 'XcmV1MultiassetFungibility' }, /** - * Lookup113: xcm::v1::multiasset::AssetId + * Lookup114: xcm::v1::multiasset::AssetId **/ XcmV1MultiassetAssetId: { _enum: { @@ -919,7 +957,7 @@ } }, /** - * Lookup114: xcm::v1::multiasset::Fungibility + * Lookup115: xcm::v1::multiasset::Fungibility **/ XcmV1MultiassetFungibility: { _enum: { @@ -928,7 +966,7 @@ } }, /** - * Lookup116: xcm::v1::order::Order + * Lookup117: xcm::v1::order::Order **/ XcmV1Order: { _enum: { @@ -973,7 +1011,7 @@ } }, /** - * Lookup117: xcm::v1::multiasset::MultiAssetFilter + * Lookup118: xcm::v1::multiasset::MultiAssetFilter **/ XcmV1MultiassetMultiAssetFilter: { _enum: { @@ -982,7 +1020,7 @@ } }, /** - * Lookup118: xcm::v1::multiasset::WildMultiAsset + * Lookup119: xcm::v1::multiasset::WildMultiAsset **/ XcmV1MultiassetWildMultiAsset: { _enum: { @@ -994,13 +1032,13 @@ } }, /** - * Lookup119: xcm::v1::multiasset::WildFungibility + * Lookup120: xcm::v1::multiasset::WildFungibility **/ XcmV1MultiassetWildFungibility: { _enum: ['Fungible', 'NonFungible'] }, /** - * Lookup121: xcm::v1::Response + * Lookup122: xcm::v1::Response **/ XcmV1Response: { _enum: { @@ -1009,11 +1047,11 @@ } }, /** - * Lookup122: xcm::v2::Xcm + * Lookup123: xcm::v2::Xcm **/ XcmV2Xcm: 'Vec', /** - * Lookup124: xcm::v2::Instruction + * Lookup125: xcm::v2::Instruction **/ XcmV2Instruction: { _enum: { @@ -1111,7 +1149,7 @@ } }, /** - * Lookup125: xcm::v2::Response + * Lookup126: xcm::v2::Response **/ XcmV2Response: { _enum: { @@ -1122,7 +1160,7 @@ } }, /** - * Lookup128: xcm::v2::traits::Error + * Lookup129: xcm::v2::traits::Error **/ XcmV2TraitsError: { _enum: { @@ -1155,7 +1193,7 @@ } }, /** - * Lookup129: xcm::v2::WeightLimit + * Lookup130: xcm::v2::WeightLimit **/ XcmV2WeightLimit: { _enum: { @@ -1164,7 +1202,7 @@ } }, /** - * Lookup130: xcm::VersionedMultiAssets + * Lookup131: xcm::VersionedMultiAssets **/ XcmVersionedMultiAssets: { _enum: { @@ -1173,11 +1211,11 @@ } }, /** - * Lookup145: cumulus_pallet_xcm::pallet::Call + * Lookup146: cumulus_pallet_xcm::pallet::Call **/ CumulusPalletXcmCall: 'Null', /** - * Lookup146: cumulus_pallet_dmp_queue::pallet::Call + * Lookup147: cumulus_pallet_dmp_queue::pallet::Call **/ CumulusPalletDmpQueueCall: { _enum: { @@ -1188,7 +1226,7 @@ } }, /** - * Lookup147: pallet_inflation::pallet::Call + * Lookup148: pallet_inflation::pallet::Call **/ PalletInflationCall: { _enum: { @@ -1198,7 +1236,7 @@ } }, /** - * Lookup148: pallet_unique::Call + * Lookup149: pallet_unique::Call **/ PalletUniqueCall: { _enum: { @@ -1328,7 +1366,7 @@ } }, /** - * Lookup154: up_data_structs::CollectionMode + * Lookup155: up_data_structs::CollectionMode **/ UpDataStructsCollectionMode: { _enum: { @@ -1338,7 +1376,7 @@ } }, /** - * Lookup155: up_data_structs::CreateCollectionData + * Lookup156: up_data_structs::CreateCollectionData **/ UpDataStructsCreateCollectionData: { mode: 'UpDataStructsCollectionMode', @@ -1355,24 +1393,24 @@ metaUpdatePermission: 'Option' }, /** - * Lookup157: up_data_structs::AccessMode + * Lookup158: up_data_structs::AccessMode **/ UpDataStructsAccessMode: { _enum: ['Normal', 'AllowList'] }, /** - * Lookup160: up_data_structs::SchemaVersion + * Lookup161: up_data_structs::SchemaVersion **/ UpDataStructsSchemaVersion: { _enum: ['ImageURL', 'Unique'] }, /** - * Lookup163: up_data_structs::CollectionLimits + * Lookup164: up_data_structs::CollectionLimits **/ UpDataStructsCollectionLimits: { accountTokenOwnershipLimit: 'Option', sponsoredDataSize: 'Option', - sponsoredDataRateLimit: 'Option>', + sponsoredDataRateLimit: 'Option', tokenLimit: 'Option', sponsorTransferTimeout: 'Option', sponsorApproveTimeout: 'Option', @@ -1381,13 +1419,22 @@ transfersEnabled: 'Option' }, /** - * Lookup169: up_data_structs::MetaUpdatePermission + * Lookup166: up_data_structs::SponsoringRateLimit + **/ + UpDataStructsSponsoringRateLimit: { + _enum: { + SponsoringDisabled: 'Null', + Blocks: 'u32' + } + }, + /** + * Lookup170: up_data_structs::MetaUpdatePermission **/ UpDataStructsMetaUpdatePermission: { _enum: ['ItemOwner', 'Admin', 'None'] }, /** - * Lookup171: pallet_common::account::BasicCrossAccountIdRepr + * Lookup172: pallet_common::account::BasicCrossAccountIdRepr **/ PalletCommonAccountBasicCrossAccountIdRepr: { _enum: { @@ -1396,7 +1443,7 @@ } }, /** - * Lookup173: up_data_structs::CreateItemData + * Lookup174: up_data_structs::CreateItemData **/ UpDataStructsCreateItemData: { _enum: { @@ -1406,20 +1453,20 @@ } }, /** - * Lookup174: up_data_structs::CreateNftData + * Lookup175: up_data_structs::CreateNftData **/ UpDataStructsCreateNftData: { constData: 'Bytes', variableData: 'Bytes' }, /** - * Lookup176: up_data_structs::CreateFungibleData + * Lookup177: up_data_structs::CreateFungibleData **/ UpDataStructsCreateFungibleData: { value: 'u128' }, /** - * Lookup177: up_data_structs::CreateReFungibleData + * Lookup178: up_data_structs::CreateReFungibleData **/ UpDataStructsCreateReFungibleData: { constData: 'Bytes', @@ -1427,11 +1474,11 @@ pieces: 'u128' }, /** - * Lookup180: pallet_template_transaction_payment::Call + * Lookup181: pallet_template_transaction_payment::Call **/ PalletTemplateTransactionPaymentCall: 'Null', /** - * Lookup181: pallet_evm::pallet::Call + * Lookup182: pallet_evm::pallet::Call **/ PalletEvmCall: { _enum: { @@ -1474,7 +1521,7 @@ } }, /** - * Lookup187: pallet_ethereum::pallet::Call + * Lookup188: pallet_ethereum::pallet::Call **/ PalletEthereumCall: { _enum: { @@ -1484,7 +1531,7 @@ } }, /** - * Lookup188: ethereum::transaction::TransactionV2 + * Lookup189: ethereum::transaction::TransactionV2 **/ EthereumTransactionTransactionV2: { _enum: { @@ -1494,7 +1541,7 @@ } }, /** - * Lookup189: ethereum::transaction::LegacyTransaction + * Lookup190: ethereum::transaction::LegacyTransaction **/ EthereumTransactionLegacyTransaction: { nonce: 'U256', @@ -1506,7 +1553,7 @@ signature: 'EthereumTransactionTransactionSignature' }, /** - * Lookup190: ethereum::transaction::TransactionAction + * Lookup191: ethereum::transaction::TransactionAction **/ EthereumTransactionTransactionAction: { _enum: { @@ -1515,7 +1562,7 @@ } }, /** - * Lookup191: ethereum::transaction::TransactionSignature + * Lookup192: ethereum::transaction::TransactionSignature **/ EthereumTransactionTransactionSignature: { v: 'u64', @@ -1523,7 +1570,7 @@ s: 'H256' }, /** - * Lookup193: ethereum::transaction::EIP2930Transaction + * Lookup194: ethereum::transaction::EIP2930Transaction **/ EthereumTransactionEip2930Transaction: { chainId: 'u64', @@ -1539,14 +1586,14 @@ s: 'H256' }, /** - * Lookup195: ethereum::transaction::AccessListItem + * Lookup196: ethereum::transaction::AccessListItem **/ EthereumTransactionAccessListItem: { address: 'H160', slots: 'Vec' }, /** - * Lookup196: ethereum::transaction::EIP1559Transaction + * Lookup197: ethereum::transaction::EIP1559Transaction **/ EthereumTransactionEip1559Transaction: { chainId: 'u64', @@ -1563,7 +1610,7 @@ s: 'H256' }, /** - * Lookup197: pallet_evm_migration::pallet::Call + * Lookup198: pallet_evm_migration::pallet::Call **/ PalletEvmMigrationCall: { _enum: { @@ -1581,7 +1628,7 @@ } }, /** - * Lookup200: pallet_sudo::pallet::Event + * Lookup201: pallet_sudo::pallet::Event **/ PalletSudoEvent: { _enum: { @@ -1597,17 +1644,14 @@ } }, /** - * Lookup202: sp_runtime::DispatchError + * Lookup203: sp_runtime::DispatchError **/ SpRuntimeDispatchError: { _enum: { Other: 'Null', CannotLookup: 'Null', BadOrigin: 'Null', - Module: { - index: 'u8', - error: 'u8', - }, + Module: 'SpRuntimeModuleError', ConsumerRemaining: 'Null', NoProviders: 'Null', TooManyConsumers: 'Null', @@ -1616,25 +1660,32 @@ } }, /** - * Lookup203: sp_runtime::TokenError + * Lookup204: sp_runtime::ModuleError + **/ + SpRuntimeModuleError: { + index: 'u8', + error: 'u8' + }, + /** + * Lookup205: sp_runtime::TokenError **/ SpRuntimeTokenError: { _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported'] }, /** - * Lookup204: sp_runtime::ArithmeticError + * Lookup206: sp_runtime::ArithmeticError **/ SpRuntimeArithmeticError: { _enum: ['Underflow', 'Overflow', 'DivisionByZero'] }, /** - * Lookup205: pallet_sudo::pallet::Error + * Lookup207: pallet_sudo::pallet::Error **/ PalletSudoError: { _enum: ['RequireSudo'] }, /** - * Lookup206: frame_system::AccountInfo> + * Lookup208: frame_system::AccountInfo> **/ FrameSystemAccountInfo: { nonce: 'u32', @@ -1644,7 +1695,7 @@ data: 'PalletBalancesAccountData' }, /** - * Lookup207: frame_support::weights::PerDispatchClass + * Lookup209: frame_support::weights::PerDispatchClass **/ FrameSupportWeightsPerDispatchClassU64: { normal: 'u64', @@ -1652,13 +1703,13 @@ mandatory: 'u64' }, /** - * Lookup208: sp_runtime::generic::digest::Digest + * Lookup210: sp_runtime::generic::digest::Digest **/ SpRuntimeDigest: { logs: 'Vec' }, /** - * Lookup210: sp_runtime::generic::digest::DigestItem + * Lookup212: sp_runtime::generic::digest::DigestItem **/ SpRuntimeDigestDigestItem: { _enum: { @@ -1674,7 +1725,7 @@ } }, /** - * Lookup212: frame_system::EventRecord + * Lookup214: frame_system::EventRecord **/ FrameSystemEventRecord: { phase: 'FrameSystemPhase', @@ -1682,7 +1733,7 @@ topics: 'Vec' }, /** - * Lookup214: frame_system::pallet::Event + * Lookup216: frame_system::pallet::Event **/ FrameSystemEvent: { _enum: { @@ -1710,7 +1761,7 @@ } }, /** - * Lookup215: frame_support::weights::DispatchInfo + * Lookup217: frame_support::weights::DispatchInfo **/ FrameSupportWeightsDispatchInfo: { weight: 'u64', @@ -1718,19 +1769,19 @@ paysFee: 'FrameSupportWeightsPays' }, /** - * Lookup216: frame_support::weights::DispatchClass + * Lookup218: frame_support::weights::DispatchClass **/ FrameSupportWeightsDispatchClass: { _enum: ['Normal', 'Operational', 'Mandatory'] }, /** - * Lookup217: frame_support::weights::Pays + * Lookup219: frame_support::weights::Pays **/ FrameSupportWeightsPays: { _enum: ['Yes', 'No'] }, /** - * Lookup218: orml_vesting::module::Event + * Lookup220: orml_vesting::module::Event **/ OrmlVestingModuleEvent: { _enum: { @@ -1749,7 +1800,7 @@ } }, /** - * Lookup219: cumulus_pallet_xcmp_queue::pallet::Event + * Lookup221: cumulus_pallet_xcmp_queue::pallet::Event **/ CumulusPalletXcmpQueueEvent: { _enum: { @@ -1764,7 +1815,7 @@ } }, /** - * Lookup220: pallet_xcm::pallet::Event + * Lookup222: pallet_xcm::pallet::Event **/ PalletXcmEvent: { _enum: { @@ -1787,7 +1838,7 @@ } }, /** - * Lookup221: xcm::v2::traits::Outcome + * Lookup223: xcm::v2::traits::Outcome **/ XcmV2TraitsOutcome: { _enum: { @@ -1797,7 +1848,7 @@ } }, /** - * Lookup223: cumulus_pallet_xcm::pallet::Event + * Lookup225: cumulus_pallet_xcm::pallet::Event **/ CumulusPalletXcmEvent: { _enum: { @@ -1807,7 +1858,7 @@ } }, /** - * Lookup224: cumulus_pallet_dmp_queue::pallet::Event + * Lookup226: cumulus_pallet_dmp_queue::pallet::Event **/ CumulusPalletDmpQueueEvent: { _enum: { @@ -1820,7 +1871,7 @@ } }, /** - * Lookup225: pallet_unique::RawEvent> + * Lookup227: pallet_unique::RawEvent> **/ PalletUniqueRawEvent: { _enum: { @@ -1842,7 +1893,7 @@ } }, /** - * Lookup226: pallet_common::pallet::Event + * Lookup228: pallet_common::pallet::Event **/ PalletCommonEvent: { _enum: { @@ -1855,7 +1906,7 @@ } }, /** - * Lookup227: pallet_evm::pallet::Event + * Lookup229: pallet_evm::pallet::Event **/ PalletEvmEvent: { _enum: { @@ -1869,7 +1920,7 @@ } }, /** - * Lookup228: ethereum::log::Log + * Lookup230: ethereum::log::Log **/ EthereumLog: { address: 'H160', @@ -1877,7 +1928,7 @@ data: 'Bytes' }, /** - * Lookup229: pallet_ethereum::pallet::Event + * Lookup231: pallet_ethereum::pallet::Event **/ PalletEthereumEvent: { _enum: { @@ -1885,7 +1936,7 @@ } }, /** - * Lookup230: evm_core::error::ExitReason + * Lookup232: evm_core::error::ExitReason **/ EvmCoreErrorExitReason: { _enum: { @@ -1896,13 +1947,13 @@ } }, /** - * Lookup231: evm_core::error::ExitSucceed + * Lookup233: evm_core::error::ExitSucceed **/ EvmCoreErrorExitSucceed: { _enum: ['Stopped', 'Returned', 'Suicided'] }, /** - * Lookup232: evm_core::error::ExitError + * Lookup234: evm_core::error::ExitError **/ EvmCoreErrorExitError: { _enum: { @@ -1924,13 +1975,13 @@ } }, /** - * Lookup235: evm_core::error::ExitRevert + * Lookup237: evm_core::error::ExitRevert **/ EvmCoreErrorExitRevert: { _enum: ['Reverted'] }, /** - * Lookup236: evm_core::error::ExitFatal + * Lookup238: evm_core::error::ExitFatal **/ EvmCoreErrorExitFatal: { _enum: { @@ -1941,7 +1992,7 @@ } }, /** - * Lookup237: frame_system::Phase + * Lookup239: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -1951,14 +2002,14 @@ } }, /** - * Lookup239: frame_system::LastRuntimeUpgradeInfo + * Lookup241: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text' }, /** - * Lookup240: frame_system::limits::BlockWeights + * Lookup242: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'u64', @@ -1966,7 +2017,7 @@ perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass' }, /** - * Lookup241: frame_support::weights::PerDispatchClass + * Lookup243: frame_support::weights::PerDispatchClass **/ FrameSupportWeightsPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -1974,7 +2025,7 @@ mandatory: 'FrameSystemLimitsWeightsPerClass' }, /** - * Lookup242: frame_system::limits::WeightsPerClass + * Lookup244: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'u64', @@ -1983,13 +2034,13 @@ reserved: 'Option' }, /** - * Lookup244: frame_system::limits::BlockLength + * Lookup246: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportWeightsPerDispatchClassU32' }, /** - * Lookup245: frame_support::weights::PerDispatchClass + * Lookup247: frame_support::weights::PerDispatchClass **/ FrameSupportWeightsPerDispatchClassU32: { normal: 'u32', @@ -1997,14 +2048,14 @@ mandatory: 'u32' }, /** - * Lookup246: frame_support::weights::RuntimeDbWeight + * Lookup248: frame_support::weights::RuntimeDbWeight **/ FrameSupportWeightsRuntimeDbWeight: { read: 'u64', write: 'u64' }, /** - * Lookup247: sp_version::RuntimeVersion + * Lookup249: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -2017,19 +2068,19 @@ stateVersion: 'u8' }, /** - * Lookup251: frame_system::pallet::Error + * Lookup253: frame_system::pallet::Error **/ FrameSystemError: { _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered'] }, /** - * Lookup253: orml_vesting::module::Error + * Lookup255: orml_vesting::module::Error **/ OrmlVestingModuleError: { _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'] }, /** - * Lookup255: cumulus_pallet_xcmp_queue::InboundChannelDetails + * Lookup257: cumulus_pallet_xcmp_queue::InboundChannelDetails **/ CumulusPalletXcmpQueueInboundChannelDetails: { sender: 'u32', @@ -2037,19 +2088,19 @@ messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>' }, /** - * Lookup256: cumulus_pallet_xcmp_queue::InboundState + * Lookup258: cumulus_pallet_xcmp_queue::InboundState **/ CumulusPalletXcmpQueueInboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup259: polkadot_parachain::primitives::XcmpMessageFormat + * Lookup261: polkadot_parachain::primitives::XcmpMessageFormat **/ PolkadotParachainPrimitivesXcmpMessageFormat: { _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals'] }, /** - * Lookup262: cumulus_pallet_xcmp_queue::OutboundChannelDetails + * Lookup264: cumulus_pallet_xcmp_queue::OutboundChannelDetails **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: 'u32', @@ -2059,13 +2110,13 @@ lastIndex: 'u16' }, /** - * Lookup263: cumulus_pallet_xcmp_queue::OutboundState + * Lookup265: cumulus_pallet_xcmp_queue::OutboundState **/ CumulusPalletXcmpQueueOutboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup265: cumulus_pallet_xcmp_queue::QueueConfigData + * Lookup267: cumulus_pallet_xcmp_queue::QueueConfigData **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: 'u32', @@ -2076,29 +2127,29 @@ xcmpMaxIndividualWeight: 'u64' }, /** - * Lookup267: cumulus_pallet_xcmp_queue::pallet::Error + * Lookup269: cumulus_pallet_xcmp_queue::pallet::Error **/ CumulusPalletXcmpQueueError: { _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit'] }, /** - * Lookup268: pallet_xcm::pallet::Error + * Lookup270: pallet_xcm::pallet::Error **/ PalletXcmError: { _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed'] }, /** - * Lookup269: cumulus_pallet_xcm::pallet::Error + * Lookup271: cumulus_pallet_xcm::pallet::Error **/ CumulusPalletXcmError: 'Null', /** - * Lookup270: cumulus_pallet_dmp_queue::ConfigData + * Lookup272: cumulus_pallet_dmp_queue::ConfigData **/ CumulusPalletDmpQueueConfigData: { maxIndividual: 'u64' }, /** - * Lookup271: cumulus_pallet_dmp_queue::PageIndexData + * Lookup273: cumulus_pallet_dmp_queue::PageIndexData **/ CumulusPalletDmpQueuePageIndexData: { beginUsed: 'u32', @@ -2106,19 +2157,19 @@ overweightCount: 'u64' }, /** - * Lookup274: cumulus_pallet_dmp_queue::pallet::Error + * Lookup276: cumulus_pallet_dmp_queue::pallet::Error **/ CumulusPalletDmpQueueError: { _enum: ['Unknown', 'OverLimit'] }, /** - * Lookup278: pallet_unique::Error + * Lookup280: pallet_unique::Error **/ PalletUniqueError: { _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument'] }, /** - * Lookup279: up_data_structs::Collection + * Lookup281: up_data_structs::Collection **/ UpDataStructsCollection: { owner: 'AccountId32', @@ -2137,7 +2188,7 @@ metaUpdatePermission: 'UpDataStructsMetaUpdatePermission' }, /** - * Lookup280: up_data_structs::SponsorshipState + * Lookup282: up_data_structs::SponsorshipState **/ UpDataStructsSponsorshipState: { _enum: { @@ -2147,7 +2198,7 @@ } }, /** - * Lookup283: up_data_structs::CollectionStats + * Lookup285: up_data_structs::CollectionStats **/ UpDataStructsCollectionStats: { created: 'u32', @@ -2155,32 +2206,32 @@ alive: 'u32' }, /** - * Lookup284: pallet_common::pallet::Error + * Lookup286: pallet_common::pallet::Error **/ 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'] }, /** - * Lookup286: pallet_fungible::pallet::Error + * Lookup288: pallet_fungible::pallet::Error **/ PalletFungibleError: { _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData'] }, /** - * Lookup287: pallet_refungible::ItemData + * Lookup289: pallet_refungible::ItemData **/ PalletRefungibleItemData: { constData: 'Bytes', variableData: 'Bytes' }, /** - * Lookup291: pallet_refungible::pallet::Error + * Lookup293: pallet_refungible::pallet::Error **/ PalletRefungibleError: { _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces'] }, /** - * Lookup292: pallet_nonfungible::ItemData> + * Lookup294: pallet_nonfungible::ItemData> **/ PalletNonfungibleItemData: { constData: 'Bytes', @@ -2188,19 +2239,19 @@ owner: 'PalletCommonAccountBasicCrossAccountIdRepr' }, /** - * Lookup293: pallet_nonfungible::pallet::Error + * Lookup295: pallet_nonfungible::pallet::Error **/ PalletNonfungibleError: { _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount'] }, /** - * Lookup295: pallet_evm::pallet::Error + * Lookup297: pallet_evm::pallet::Error **/ PalletEvmError: { _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce'] }, /** - * Lookup298: fp_rpc::TransactionStatus + * Lookup300: fp_rpc::TransactionStatus **/ FpRpcTransactionStatus: { transactionHash: 'H256', @@ -2212,11 +2263,11 @@ logsBloom: 'EthbloomBloom' }, /** - * Lookup301: ethbloom::Bloom + * Lookup303: ethbloom::Bloom **/ EthbloomBloom: '[u8;256]', /** - * Lookup303: ethereum::receipt::ReceiptV3 + * Lookup305: ethereum::receipt::ReceiptV3 **/ EthereumReceiptReceiptV3: { _enum: { @@ -2226,7 +2277,7 @@ } }, /** - * Lookup304: ethereum::receipt::EIP658ReceiptData + * Lookup306: ethereum::receipt::EIP658ReceiptData **/ EthereumReceiptEip658ReceiptData: { statusCode: 'u8', @@ -2235,7 +2286,7 @@ logs: 'Vec' }, /** - * Lookup305: ethereum::block::Block + * Lookup307: ethereum::block::Block **/ EthereumBlock: { header: 'EthereumHeader', @@ -2243,7 +2294,7 @@ ommers: 'Vec' }, /** - * Lookup306: ethereum::header::Header + * Lookup308: ethereum::header::Header **/ EthereumHeader: { parentHash: 'H256', @@ -2263,41 +2314,41 @@ nonce: 'EthereumTypesHashH64' }, /** - * Lookup307: ethereum_types::hash::H64 + * Lookup309: ethereum_types::hash::H64 **/ EthereumTypesHashH64: '[u8;8]', /** - * Lookup312: pallet_ethereum::pallet::Error + * Lookup314: pallet_ethereum::pallet::Error **/ PalletEthereumError: { _enum: ['InvalidSignature', 'PreLogExists'] }, /** - * Lookup313: pallet_evm_coder_substrate::pallet::Error + * Lookup315: pallet_evm_coder_substrate::pallet::Error **/ PalletEvmCoderSubstrateError: { _enum: ['OutOfGas', 'OutOfFund'] }, /** - * Lookup314: pallet_evm_contract_helpers::SponsoringModeT + * Lookup316: pallet_evm_contract_helpers::SponsoringModeT **/ PalletEvmContractHelpersSponsoringModeT: { _enum: ['Disabled', 'Allowlisted', 'Generous'] }, /** - * Lookup316: pallet_evm_contract_helpers::pallet::Error + * Lookup318: pallet_evm_contract_helpers::pallet::Error **/ PalletEvmContractHelpersError: { _enum: ['NoPermission'] }, /** - * Lookup317: pallet_evm_migration::pallet::Error + * Lookup319: pallet_evm_migration::pallet::Error **/ PalletEvmMigrationError: { _enum: ['AccountNotEmpty', 'AccountIsNotMigrating'] }, /** - * Lookup319: sp_runtime::MultiSignature + * Lookup321: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -2307,39 +2358,39 @@ } }, /** - * Lookup320: sp_core::ed25519::Signature + * Lookup322: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup322: sp_core::sr25519::Signature + * Lookup324: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup323: sp_core::ecdsa::Signature + * Lookup325: sp_core::ecdsa::Signature **/ SpCoreEcdsaSignature: '[u8;65]', /** - * Lookup326: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup328: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup327: frame_system::extensions::check_genesis::CheckGenesis + * Lookup329: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup330: frame_system::extensions::check_nonce::CheckNonce + * Lookup332: frame_system::extensions::check_nonce::CheckNonce **/ FrameSystemExtensionsCheckNonce: 'Compact', /** - * Lookup331: frame_system::extensions::check_weight::CheckWeight + * Lookup333: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup332: pallet_template_transaction_payment::ChargeTransactionPayment + * Lookup334: pallet_template_transaction_payment::ChargeTransactionPayment **/ PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup333: unique_runtime::Runtime + * Lookup335: unique_runtime::Runtime **/ UniqueRuntimeRuntime: 'Null' }; --- a/tests/src/interfaces/types-lookup.ts +++ b/tests/src/interfaces/types-lookup.ts @@ -284,7 +284,7 @@ readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves'; } - /** @name PalletTimestampCall (60) */ + /** @name PalletTimestampCall (61) */ export interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -293,14 +293,14 @@ readonly type: 'Set'; } - /** @name PalletTransactionPaymentReleases (63) */ + /** @name PalletTransactionPaymentReleases (64) */ export interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name FrameSupportWeightsWeightToFeeCoefficient (65) */ + /** @name FrameSupportWeightsWeightToFeeCoefficient (66) */ export interface FrameSupportWeightsWeightToFeeCoefficient extends Struct { readonly coeffInteger: u128; readonly coeffFrac: Perbill; @@ -308,7 +308,7 @@ readonly degree: u8; } - /** @name PalletTreasuryProposal (67) */ + /** @name PalletTreasuryProposal (68) */ export interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -316,7 +316,7 @@ readonly bond: u128; } - /** @name PalletTreasuryCall (70) */ + /** @name PalletTreasuryCall (71) */ export interface PalletTreasuryCall extends Enum { readonly isProposeSpend: boolean; readonly asProposeSpend: { @@ -334,7 +334,7 @@ readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal'; } - /** @name PalletTreasuryEvent (72) */ + /** @name PalletTreasuryEvent (73) */ export interface PalletTreasuryEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { @@ -370,10 +370,10 @@ readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit'; } - /** @name FrameSupportPalletId (75) */ + /** @name FrameSupportPalletId (76) */ export interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (76) */ + /** @name PalletTreasuryError (77) */ export interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; @@ -381,7 +381,7 @@ readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals'; } - /** @name PalletSudoCall (77) */ + /** @name PalletSudoCall (78) */ export interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -404,7 +404,7 @@ readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; } - /** @name FrameSystemCall (79) */ + /** @name FrameSystemCall (80) */ export interface FrameSystemCall extends Enum { readonly isFillBlock: boolean; readonly asFillBlock: { @@ -446,7 +446,7 @@ readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent'; } - /** @name OrmlVestingModuleCall (82) */ + /** @name OrmlVestingModuleCall (83) */ export interface OrmlVestingModuleCall extends Enum { readonly isClaim: boolean; readonly isVestedTransfer: boolean; @@ -466,7 +466,7 @@ readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor'; } - /** @name OrmlVestingVestingSchedule (83) */ + /** @name OrmlVestingVestingSchedule (84) */ export interface OrmlVestingVestingSchedule extends Struct { readonly start: u32; readonly period: u32; @@ -474,17 +474,43 @@ readonly perPeriod: Compact; } - /** @name CumulusPalletXcmpQueueCall (85) */ + /** @name CumulusPalletXcmpQueueCall (86) */ export interface CumulusPalletXcmpQueueCall extends Enum { readonly isServiceOverweight: boolean; readonly asServiceOverweight: { readonly index: u64; readonly weightLimit: u64; } & Struct; - readonly type: 'ServiceOverweight'; + readonly isSuspendXcmExecution: boolean; + readonly isResumeXcmExecution: boolean; + readonly isUpdateSuspendThreshold: boolean; + readonly asUpdateSuspendThreshold: { + readonly new_: u32; + } & Struct; + readonly isUpdateDropThreshold: boolean; + readonly asUpdateDropThreshold: { + readonly new_: u32; + } & Struct; + readonly isUpdateResumeThreshold: boolean; + readonly asUpdateResumeThreshold: { + readonly new_: u32; + } & Struct; + readonly isUpdateThresholdWeight: boolean; + readonly asUpdateThresholdWeight: { + readonly new_: u64; + } & Struct; + readonly isUpdateWeightRestrictDecay: boolean; + readonly asUpdateWeightRestrictDecay: { + readonly new_: u64; + } & Struct; + readonly isUpdateXcmpMaxIndividualWeight: boolean; + readonly asUpdateXcmpMaxIndividualWeight: { + readonly new_: u64; + } & Struct; + readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight'; } - /** @name PalletXcmCall (86) */ + /** @name PalletXcmCall (87) */ export interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { @@ -546,7 +572,7 @@ readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets'; } - /** @name XcmVersionedMultiLocation (87) */ + /** @name XcmVersionedMultiLocation (88) */ export interface XcmVersionedMultiLocation extends Enum { readonly isV0: boolean; readonly asV0: XcmV0MultiLocation; @@ -555,7 +581,7 @@ readonly type: 'V0' | 'V1'; } - /** @name XcmV0MultiLocation (88) */ + /** @name XcmV0MultiLocation (89) */ export interface XcmV0MultiLocation extends Enum { readonly isNull: boolean; readonly isX1: boolean; @@ -577,7 +603,7 @@ readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } - /** @name XcmV0Junction (89) */ + /** @name XcmV0Junction (90) */ export interface XcmV0Junction extends Enum { readonly isParent: boolean; readonly isParachain: boolean; @@ -612,7 +638,7 @@ readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality'; } - /** @name XcmV0JunctionNetworkId (90) */ + /** @name XcmV0JunctionNetworkId (91) */ export interface XcmV0JunctionNetworkId extends Enum { readonly isAny: boolean; readonly isNamed: boolean; @@ -622,7 +648,7 @@ readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama'; } - /** @name XcmV0JunctionBodyId (91) */ + /** @name XcmV0JunctionBodyId (92) */ export interface XcmV0JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isNamed: boolean; @@ -636,7 +662,7 @@ readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial'; } - /** @name XcmV0JunctionBodyPart (92) */ + /** @name XcmV0JunctionBodyPart (93) */ export interface XcmV0JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -661,13 +687,13 @@ readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion'; } - /** @name XcmV1MultiLocation (93) */ + /** @name XcmV1MultiLocation (94) */ export interface XcmV1MultiLocation extends Struct { readonly parents: u8; readonly interior: XcmV1MultilocationJunctions; } - /** @name XcmV1MultilocationJunctions (94) */ + /** @name XcmV1MultilocationJunctions (95) */ export interface XcmV1MultilocationJunctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -689,7 +715,7 @@ readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } - /** @name XcmV1Junction (95) */ + /** @name XcmV1Junction (96) */ export interface XcmV1Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -723,7 +749,7 @@ readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality'; } - /** @name XcmVersionedXcm (96) */ + /** @name XcmVersionedXcm (97) */ export interface XcmVersionedXcm extends Enum { readonly isV0: boolean; readonly asV0: XcmV0Xcm; @@ -734,7 +760,7 @@ readonly type: 'V0' | 'V1' | 'V2'; } - /** @name XcmV0Xcm (97) */ + /** @name XcmV0Xcm (98) */ export interface XcmV0Xcm extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: { @@ -797,7 +823,7 @@ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom'; } - /** @name XcmV0MultiAsset (99) */ + /** @name XcmV0MultiAsset (100) */ export interface XcmV0MultiAsset extends Enum { readonly isNone: boolean; readonly isAll: boolean; @@ -842,7 +868,7 @@ readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible'; } - /** @name XcmV1MultiassetAssetInstance (100) */ + /** @name XcmV1MultiassetAssetInstance (101) */ export interface XcmV1MultiassetAssetInstance extends Enum { readonly isUndefined: boolean; readonly isIndex: boolean; @@ -860,7 +886,7 @@ readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob'; } - /** @name XcmV0Order (104) */ + /** @name XcmV0Order (105) */ export interface XcmV0Order extends Enum { readonly isNull: boolean; readonly isDepositAsset: boolean; @@ -908,14 +934,14 @@ readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution'; } - /** @name XcmV0Response (106) */ + /** @name XcmV0Response (107) */ export interface XcmV0Response extends Enum { readonly isAssets: boolean; readonly asAssets: Vec; readonly type: 'Assets'; } - /** @name XcmV0OriginKind (107) */ + /** @name XcmV0OriginKind (108) */ export interface XcmV0OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; @@ -924,12 +950,12 @@ readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm'; } - /** @name XcmDoubleEncoded (108) */ + /** @name XcmDoubleEncoded (109) */ export interface XcmDoubleEncoded extends Struct { readonly encoded: Bytes; } - /** @name XcmV1Xcm (109) */ + /** @name XcmV1Xcm (110) */ export interface XcmV1Xcm extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: { @@ -998,16 +1024,16 @@ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion'; } - /** @name XcmV1MultiassetMultiAssets (110) */ + /** @name XcmV1MultiassetMultiAssets (111) */ export interface XcmV1MultiassetMultiAssets extends Vec {} - /** @name XcmV1MultiAsset (112) */ + /** @name XcmV1MultiAsset (113) */ export interface XcmV1MultiAsset extends Struct { readonly id: XcmV1MultiassetAssetId; readonly fun: XcmV1MultiassetFungibility; } - /** @name XcmV1MultiassetAssetId (113) */ + /** @name XcmV1MultiassetAssetId (114) */ export interface XcmV1MultiassetAssetId extends Enum { readonly isConcrete: boolean; readonly asConcrete: XcmV1MultiLocation; @@ -1016,7 +1042,7 @@ readonly type: 'Concrete' | 'Abstract'; } - /** @name XcmV1MultiassetFungibility (114) */ + /** @name XcmV1MultiassetFungibility (115) */ export interface XcmV1MultiassetFungibility extends Enum { readonly isFungible: boolean; readonly asFungible: Compact; @@ -1025,7 +1051,7 @@ readonly type: 'Fungible' | 'NonFungible'; } - /** @name XcmV1Order (116) */ + /** @name XcmV1Order (117) */ export interface XcmV1Order extends Enum { readonly isNoop: boolean; readonly isDepositAsset: boolean; @@ -1075,7 +1101,7 @@ readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution'; } - /** @name XcmV1MultiassetMultiAssetFilter (117) */ + /** @name XcmV1MultiassetMultiAssetFilter (118) */ export interface XcmV1MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV1MultiassetMultiAssets; @@ -1084,7 +1110,7 @@ readonly type: 'Definite' | 'Wild'; } - /** @name XcmV1MultiassetWildMultiAsset (118) */ + /** @name XcmV1MultiassetWildMultiAsset (119) */ export interface XcmV1MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -1095,14 +1121,14 @@ readonly type: 'All' | 'AllOf'; } - /** @name XcmV1MultiassetWildFungibility (119) */ + /** @name XcmV1MultiassetWildFungibility (120) */ export interface XcmV1MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: 'Fungible' | 'NonFungible'; } - /** @name XcmV1Response (121) */ + /** @name XcmV1Response (122) */ export interface XcmV1Response extends Enum { readonly isAssets: boolean; readonly asAssets: XcmV1MultiassetMultiAssets; @@ -1111,10 +1137,10 @@ readonly type: 'Assets' | 'Version'; } - /** @name XcmV2Xcm (122) */ + /** @name XcmV2Xcm (123) */ export interface XcmV2Xcm extends Vec {} - /** @name XcmV2Instruction (124) */ + /** @name XcmV2Instruction (125) */ export interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV1MultiassetMultiAssets; @@ -1234,7 +1260,7 @@ readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion'; } - /** @name XcmV2Response (125) */ + /** @name XcmV2Response (126) */ export interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -1246,7 +1272,7 @@ readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version'; } - /** @name XcmV2TraitsError (128) */ + /** @name XcmV2TraitsError (129) */ export interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -1279,7 +1305,7 @@ readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable'; } - /** @name XcmV2WeightLimit (129) */ + /** @name XcmV2WeightLimit (130) */ export interface XcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -1287,7 +1313,7 @@ readonly type: 'Unlimited' | 'Limited'; } - /** @name XcmVersionedMultiAssets (130) */ + /** @name XcmVersionedMultiAssets (131) */ export interface XcmVersionedMultiAssets extends Enum { readonly isV0: boolean; readonly asV0: Vec; @@ -1296,10 +1322,10 @@ readonly type: 'V0' | 'V1'; } - /** @name CumulusPalletXcmCall (145) */ + /** @name CumulusPalletXcmCall (146) */ export type CumulusPalletXcmCall = Null; - /** @name CumulusPalletDmpQueueCall (146) */ + /** @name CumulusPalletDmpQueueCall (147) */ export interface CumulusPalletDmpQueueCall extends Enum { readonly isServiceOverweight: boolean; readonly asServiceOverweight: { @@ -1309,7 +1335,7 @@ readonly type: 'ServiceOverweight'; } - /** @name PalletInflationCall (147) */ + /** @name PalletInflationCall (148) */ export interface PalletInflationCall extends Enum { readonly isStartInflation: boolean; readonly asStartInflation: { @@ -1318,7 +1344,7 @@ readonly type: 'StartInflation'; } - /** @name PalletUniqueCall (148) */ + /** @name PalletUniqueCall (149) */ export interface PalletUniqueCall extends Enum { readonly isCreateCollection: boolean; readonly asCreateCollection: { @@ -1474,7 +1500,7 @@ readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'SetPublicAccessMode' | 'SetMintPermission' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetVariableMetaData' | 'SetMetaUpdatePermissionFlag' | 'SetSchemaVersion' | 'SetOffchainSchema' | 'SetConstOnChainSchema' | 'SetVariableOnChainSchema' | 'SetCollectionLimits'; } - /** @name UpDataStructsCollectionMode (154) */ + /** @name UpDataStructsCollectionMode (155) */ export interface UpDataStructsCollectionMode extends Enum { readonly isNft: boolean; readonly isFungible: boolean; @@ -1483,7 +1509,7 @@ readonly type: 'Nft' | 'Fungible' | 'ReFungible'; } - /** @name UpDataStructsCreateCollectionData (155) */ + /** @name UpDataStructsCreateCollectionData (156) */ export interface UpDataStructsCreateCollectionData extends Struct { readonly mode: UpDataStructsCollectionMode; readonly access: Option; @@ -1499,29 +1525,21 @@ readonly metaUpdatePermission: Option; } - /** @name UpDataStructsAccessMode (157) */ + /** @name UpDataStructsAccessMode (158) */ export interface UpDataStructsAccessMode extends Enum { readonly isNormal: boolean; readonly isAllowList: boolean; readonly type: 'Normal' | 'AllowList'; } - /** @name UpDataStructsSchemaVersion (160) */ + /** @name UpDataStructsSchemaVersion (161) */ export interface UpDataStructsSchemaVersion extends Enum { readonly isImageURL: boolean; readonly isUnique: boolean; readonly type: 'ImageURL' | 'Unique'; } - /** @name UpDataStructsSponsoringRateLimit */ - export interface UpDataStructsSponsoringRateLimit extends Enum { - readonly isSponsoringDisabled: boolean; - readonly isBlocks: boolean; - readonly asBlocks: u32; - readonly type: 'SponsoringDisabled' | 'Blocks'; - } - - /** @name UpDataStructsCollectionLimits (163) */ + /** @name UpDataStructsCollectionLimits (164) */ export interface UpDataStructsCollectionLimits extends Struct { readonly accountTokenOwnershipLimit: Option; readonly sponsoredDataSize: Option; @@ -1534,7 +1552,15 @@ readonly transfersEnabled: Option; } - /** @name UpDataStructsMetaUpdatePermission (169) */ + /** @name UpDataStructsSponsoringRateLimit (166) */ + export interface UpDataStructsSponsoringRateLimit extends Enum { + readonly isSponsoringDisabled: boolean; + readonly isBlocks: boolean; + readonly asBlocks: u32; + readonly type: 'SponsoringDisabled' | 'Blocks'; + } + + /** @name UpDataStructsMetaUpdatePermission (170) */ export interface UpDataStructsMetaUpdatePermission extends Enum { readonly isItemOwner: boolean; readonly isAdmin: boolean; @@ -1542,7 +1568,7 @@ readonly type: 'ItemOwner' | 'Admin' | 'None'; } - /** @name PalletCommonAccountBasicCrossAccountIdRepr (171) */ + /** @name PalletCommonAccountBasicCrossAccountIdRepr (172) */ export interface PalletCommonAccountBasicCrossAccountIdRepr extends Enum { readonly isSubstrate: boolean; readonly asSubstrate: AccountId32; @@ -1551,7 +1577,7 @@ readonly type: 'Substrate' | 'Ethereum'; } - /** @name UpDataStructsCreateItemData (173) */ + /** @name UpDataStructsCreateItemData (174) */ export interface UpDataStructsCreateItemData extends Enum { readonly isNft: boolean; readonly asNft: UpDataStructsCreateNftData; @@ -1562,28 +1588,28 @@ readonly type: 'Nft' | 'Fungible' | 'ReFungible'; } - /** @name UpDataStructsCreateNftData (174) */ + /** @name UpDataStructsCreateNftData (175) */ export interface UpDataStructsCreateNftData extends Struct { readonly constData: Bytes; readonly variableData: Bytes; } - /** @name UpDataStructsCreateFungibleData (176) */ + /** @name UpDataStructsCreateFungibleData (177) */ export interface UpDataStructsCreateFungibleData extends Struct { readonly value: u128; } - /** @name UpDataStructsCreateReFungibleData (177) */ + /** @name UpDataStructsCreateReFungibleData (178) */ export interface UpDataStructsCreateReFungibleData extends Struct { readonly constData: Bytes; readonly variableData: Bytes; readonly pieces: u128; } - /** @name PalletTemplateTransactionPaymentCall (180) */ + /** @name PalletTemplateTransactionPaymentCall (181) */ export type PalletTemplateTransactionPaymentCall = Null; - /** @name PalletEvmCall (181) */ + /** @name PalletEvmCall (182) */ export interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -1628,7 +1654,7 @@ readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2'; } - /** @name PalletEthereumCall (187) */ + /** @name PalletEthereumCall (188) */ export interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -1637,7 +1663,7 @@ readonly type: 'Transact'; } - /** @name EthereumTransactionTransactionV2 (188) */ + /** @name EthereumTransactionTransactionV2 (189) */ export interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; @@ -1648,7 +1674,7 @@ readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumTransactionLegacyTransaction (189) */ + /** @name EthereumTransactionLegacyTransaction (190) */ export interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -1659,7 +1685,7 @@ readonly signature: EthereumTransactionTransactionSignature; } - /** @name EthereumTransactionTransactionAction (190) */ + /** @name EthereumTransactionTransactionAction (191) */ export interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -1667,14 +1693,14 @@ readonly type: 'Call' | 'Create'; } - /** @name EthereumTransactionTransactionSignature (191) */ + /** @name EthereumTransactionTransactionSignature (192) */ export interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Transaction (193) */ + /** @name EthereumTransactionEip2930Transaction (194) */ export interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -1689,13 +1715,13 @@ readonly s: H256; } - /** @name EthereumTransactionAccessListItem (195) */ + /** @name EthereumTransactionAccessListItem (196) */ export interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly slots: Vec; } - /** @name EthereumTransactionEip1559Transaction (196) */ + /** @name EthereumTransactionEip1559Transaction (197) */ export interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -1711,7 +1737,7 @@ readonly s: H256; } - /** @name PalletEvmMigrationCall (197) */ + /** @name PalletEvmMigrationCall (198) */ export interface PalletEvmMigrationCall extends Enum { readonly isBegin: boolean; readonly asBegin: { @@ -1730,7 +1756,7 @@ readonly type: 'Begin' | 'SetData' | 'Finish'; } - /** @name PalletSudoEvent (200) */ + /** @name PalletSudoEvent (201) */ export interface PalletSudoEvent extends Enum { readonly isSudid: boolean; readonly asSudid: { @@ -1747,16 +1773,13 @@ readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone'; } - /** @name SpRuntimeDispatchError (202) */ + /** @name SpRuntimeDispatchError (203) */ export interface SpRuntimeDispatchError extends Enum { readonly isOther: boolean; readonly isCannotLookup: boolean; readonly isBadOrigin: boolean; readonly isModule: boolean; - readonly asModule: { - readonly index: u8; - readonly error: u8; - } & Struct; + readonly asModule: SpRuntimeModuleError; readonly isConsumerRemaining: boolean; readonly isNoProviders: boolean; readonly isTooManyConsumers: boolean; @@ -1767,7 +1790,13 @@ readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic'; } - /** @name SpRuntimeTokenError (203) */ + /** @name SpRuntimeModuleError (204) */ + export interface SpRuntimeModuleError extends Struct { + readonly index: u8; + readonly error: u8; + } + + /** @name SpRuntimeTokenError (205) */ export interface SpRuntimeTokenError extends Enum { readonly isNoFunds: boolean; readonly isWouldDie: boolean; @@ -1779,7 +1808,7 @@ readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported'; } - /** @name SpRuntimeArithmeticError (204) */ + /** @name SpRuntimeArithmeticError (206) */ export interface SpRuntimeArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; @@ -1787,13 +1816,13 @@ readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero'; } - /** @name PalletSudoError (205) */ + /** @name PalletSudoError (207) */ export interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name FrameSystemAccountInfo (206) */ + /** @name FrameSystemAccountInfo (208) */ export interface FrameSystemAccountInfo extends Struct { readonly nonce: u32; readonly consumers: u32; @@ -1802,19 +1831,19 @@ readonly data: PalletBalancesAccountData; } - /** @name FrameSupportWeightsPerDispatchClassU64 (207) */ + /** @name FrameSupportWeightsPerDispatchClassU64 (209) */ export interface FrameSupportWeightsPerDispatchClassU64 extends Struct { readonly normal: u64; readonly operational: u64; readonly mandatory: u64; } - /** @name SpRuntimeDigest (208) */ + /** @name SpRuntimeDigest (210) */ export interface SpRuntimeDigest extends Struct { readonly logs: Vec; } - /** @name SpRuntimeDigestDigestItem (210) */ + /** @name SpRuntimeDigestDigestItem (212) */ export interface SpRuntimeDigestDigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; @@ -1828,14 +1857,14 @@ readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated'; } - /** @name FrameSystemEventRecord (212) */ + /** @name FrameSystemEventRecord (214) */ export interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec; } - /** @name FrameSystemEvent (214) */ + /** @name FrameSystemEvent (216) */ export interface FrameSystemEvent extends Enum { readonly isExtrinsicSuccess: boolean; readonly asExtrinsicSuccess: { @@ -1863,14 +1892,14 @@ readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked'; } - /** @name FrameSupportWeightsDispatchInfo (215) */ + /** @name FrameSupportWeightsDispatchInfo (217) */ export interface FrameSupportWeightsDispatchInfo extends Struct { readonly weight: u64; readonly class: FrameSupportWeightsDispatchClass; readonly paysFee: FrameSupportWeightsPays; } - /** @name FrameSupportWeightsDispatchClass (216) */ + /** @name FrameSupportWeightsDispatchClass (218) */ export interface FrameSupportWeightsDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; @@ -1878,14 +1907,14 @@ readonly type: 'Normal' | 'Operational' | 'Mandatory'; } - /** @name FrameSupportWeightsPays (217) */ + /** @name FrameSupportWeightsPays (219) */ export interface FrameSupportWeightsPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: 'Yes' | 'No'; } - /** @name OrmlVestingModuleEvent (218) */ + /** @name OrmlVestingModuleEvent (220) */ export interface OrmlVestingModuleEvent extends Enum { readonly isVestingScheduleAdded: boolean; readonly asVestingScheduleAdded: { @@ -1905,7 +1934,7 @@ readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated'; } - /** @name CumulusPalletXcmpQueueEvent (219) */ + /** @name CumulusPalletXcmpQueueEvent (221) */ export interface CumulusPalletXcmpQueueEvent extends Enum { readonly isSuccess: boolean; readonly asSuccess: Option; @@ -1926,7 +1955,7 @@ readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced'; } - /** @name PalletXcmEvent (220) */ + /** @name PalletXcmEvent (222) */ export interface PalletXcmEvent extends Enum { readonly isAttempted: boolean; readonly asAttempted: XcmV2TraitsOutcome; @@ -1963,7 +1992,7 @@ readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail'; } - /** @name XcmV2TraitsOutcome (221) */ + /** @name XcmV2TraitsOutcome (223) */ export interface XcmV2TraitsOutcome extends Enum { readonly isComplete: boolean; readonly asComplete: u64; @@ -1974,7 +2003,7 @@ readonly type: 'Complete' | 'Incomplete' | 'Error'; } - /** @name CumulusPalletXcmEvent (223) */ + /** @name CumulusPalletXcmEvent (225) */ export interface CumulusPalletXcmEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; @@ -1985,7 +2014,7 @@ readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward'; } - /** @name CumulusPalletDmpQueueEvent (224) */ + /** @name CumulusPalletDmpQueueEvent (226) */ export interface CumulusPalletDmpQueueEvent extends Enum { readonly isInvalidFormat: boolean; readonly asInvalidFormat: U8aFixed; @@ -2002,7 +2031,7 @@ readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced'; } - /** @name PalletUniqueRawEvent (225) */ + /** @name PalletUniqueRawEvent (227) */ export interface PalletUniqueRawEvent extends Enum { readonly isCollectionSponsorRemoved: boolean; readonly asCollectionSponsorRemoved: u32; @@ -2037,7 +2066,7 @@ readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'ConstOnChainSchemaSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'MintPermissionSet' | 'OffchainSchemaSet' | 'PublicAccessModeSet' | 'SchemaVersionSet' | 'VariableOnChainSchemaSet'; } - /** @name PalletCommonEvent (226) */ + /** @name PalletCommonEvent (228) */ export interface PalletCommonEvent extends Enum { readonly isCollectionCreated: boolean; readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>; @@ -2054,7 +2083,7 @@ readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved'; } - /** @name PalletEvmEvent (227) */ + /** @name PalletEvmEvent (229) */ export interface PalletEvmEvent extends Enum { readonly isLog: boolean; readonly asLog: EthereumLog; @@ -2073,21 +2102,21 @@ readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw'; } - /** @name EthereumLog (228) */ + /** @name EthereumLog (230) */ export interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec; readonly data: Bytes; } - /** @name PalletEthereumEvent (229) */ + /** @name PalletEthereumEvent (231) */ export interface PalletEthereumEvent extends Enum { readonly isExecuted: boolean; readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>; readonly type: 'Executed'; } - /** @name EvmCoreErrorExitReason (230) */ + /** @name EvmCoreErrorExitReason (232) */ export interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; @@ -2100,7 +2129,7 @@ readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal'; } - /** @name EvmCoreErrorExitSucceed (231) */ + /** @name EvmCoreErrorExitSucceed (233) */ export interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; @@ -2108,7 +2137,7 @@ readonly type: 'Stopped' | 'Returned' | 'Suicided'; } - /** @name EvmCoreErrorExitError (232) */ + /** @name EvmCoreErrorExitError (234) */ export interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; @@ -2129,13 +2158,13 @@ readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'InvalidCode' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other'; } - /** @name EvmCoreErrorExitRevert (235) */ + /** @name EvmCoreErrorExitRevert (237) */ export interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: 'Reverted'; } - /** @name EvmCoreErrorExitFatal (236) */ + /** @name EvmCoreErrorExitFatal (238) */ export interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; @@ -2146,7 +2175,7 @@ readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other'; } - /** @name FrameSystemPhase (237) */ + /** @name FrameSystemPhase (239) */ export interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -2155,27 +2184,27 @@ readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (239) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (241) */ export interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemLimitsBlockWeights (240) */ + /** @name FrameSystemLimitsBlockWeights (242) */ export interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: u64; readonly maxBlock: u64; readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass; } - /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (241) */ + /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (243) */ export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (242) */ + /** @name FrameSystemLimitsWeightsPerClass (244) */ export interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: u64; readonly maxExtrinsic: Option; @@ -2183,25 +2212,25 @@ readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (244) */ + /** @name FrameSystemLimitsBlockLength (246) */ export interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportWeightsPerDispatchClassU32; } - /** @name FrameSupportWeightsPerDispatchClassU32 (245) */ + /** @name FrameSupportWeightsPerDispatchClassU32 (247) */ export interface FrameSupportWeightsPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name FrameSupportWeightsRuntimeDbWeight (246) */ + /** @name FrameSupportWeightsRuntimeDbWeight (248) */ export interface FrameSupportWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (247) */ + /** @name SpVersionRuntimeVersion (249) */ export interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -2213,7 +2242,7 @@ readonly stateVersion: u8; } - /** @name FrameSystemError (251) */ + /** @name FrameSystemError (253) */ export interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -2224,7 +2253,7 @@ readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered'; } - /** @name OrmlVestingModuleError (253) */ + /** @name OrmlVestingModuleError (255) */ export interface OrmlVestingModuleError extends Enum { readonly isZeroVestingPeriod: boolean; readonly isZeroVestingPeriodCount: boolean; @@ -2235,21 +2264,21 @@ readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded'; } - /** @name CumulusPalletXcmpQueueInboundChannelDetails (255) */ + /** @name CumulusPalletXcmpQueueInboundChannelDetails (257) */ export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct { readonly sender: u32; readonly state: CumulusPalletXcmpQueueInboundState; readonly messageMetadata: Vec>; } - /** @name CumulusPalletXcmpQueueInboundState (256) */ + /** @name CumulusPalletXcmpQueueInboundState (258) */ export interface CumulusPalletXcmpQueueInboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name PolkadotParachainPrimitivesXcmpMessageFormat (259) */ + /** @name PolkadotParachainPrimitivesXcmpMessageFormat (261) */ export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum { readonly isConcatenatedVersionedXcm: boolean; readonly isConcatenatedEncodedBlob: boolean; @@ -2257,7 +2286,7 @@ readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals'; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (262) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (264) */ export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -2266,14 +2295,14 @@ readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (263) */ + /** @name CumulusPalletXcmpQueueOutboundState (265) */ export interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name CumulusPalletXcmpQueueQueueConfigData (265) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (267) */ export interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; @@ -2283,7 +2312,7 @@ readonly xcmpMaxIndividualWeight: u64; } - /** @name CumulusPalletXcmpQueueError (267) */ + /** @name CumulusPalletXcmpQueueError (269) */ export interface CumulusPalletXcmpQueueError extends Enum { readonly isFailedToSend: boolean; readonly isBadXcmOrigin: boolean; @@ -2293,7 +2322,7 @@ readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit'; } - /** @name PalletXcmError (268) */ + /** @name PalletXcmError (270) */ export interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -2311,29 +2340,29 @@ readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed'; } - /** @name CumulusPalletXcmError (269) */ + /** @name CumulusPalletXcmError (271) */ export type CumulusPalletXcmError = Null; - /** @name CumulusPalletDmpQueueConfigData (270) */ + /** @name CumulusPalletDmpQueueConfigData (272) */ export interface CumulusPalletDmpQueueConfigData extends Struct { readonly maxIndividual: u64; } - /** @name CumulusPalletDmpQueuePageIndexData (271) */ + /** @name CumulusPalletDmpQueuePageIndexData (273) */ export interface CumulusPalletDmpQueuePageIndexData extends Struct { readonly beginUsed: u32; readonly endUsed: u32; readonly overweightCount: u64; } - /** @name CumulusPalletDmpQueueError (274) */ + /** @name CumulusPalletDmpQueueError (276) */ export interface CumulusPalletDmpQueueError extends Enum { readonly isUnknown: boolean; readonly isOverLimit: boolean; readonly type: 'Unknown' | 'OverLimit'; } - /** @name PalletUniqueError (278) */ + /** @name PalletUniqueError (280) */ export interface PalletUniqueError extends Enum { readonly isCollectionDecimalPointLimitExceeded: boolean; readonly isConfirmUnsetSponsorFail: boolean; @@ -2341,7 +2370,7 @@ readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument'; } - /** @name UpDataStructsCollection (279) */ + /** @name UpDataStructsCollection (281) */ export interface UpDataStructsCollection extends Struct { readonly owner: AccountId32; readonly mode: UpDataStructsCollectionMode; @@ -2359,7 +2388,7 @@ readonly metaUpdatePermission: UpDataStructsMetaUpdatePermission; } - /** @name UpDataStructsSponsorshipState (280) */ + /** @name UpDataStructsSponsorshipState (282) */ export interface UpDataStructsSponsorshipState extends Enum { readonly isDisabled: boolean; readonly isUnconfirmed: boolean; @@ -2369,14 +2398,14 @@ readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed'; } - /** @name UpDataStructsCollectionStats (283) */ + /** @name UpDataStructsCollectionStats (285) */ export interface UpDataStructsCollectionStats extends Struct { readonly created: u32; readonly destroyed: u32; readonly alive: u32; } - /** @name PalletCommonError (284) */ + /** @name PalletCommonError (286) */ export interface PalletCommonError extends Enum { readonly isCollectionNotFound: boolean; readonly isMustBeTokenOwner: boolean; @@ -2404,7 +2433,7 @@ 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'; } - /** @name PalletFungibleError (286) */ + /** @name PalletFungibleError (288) */ export interface PalletFungibleError extends Enum { readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isFungibleItemsHaveNoId: boolean; @@ -2412,34 +2441,34 @@ readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData'; } - /** @name PalletRefungibleItemData (287) */ + /** @name PalletRefungibleItemData (289) */ export interface PalletRefungibleItemData extends Struct { readonly constData: Bytes; readonly variableData: Bytes; } - /** @name PalletRefungibleError (291) */ + /** @name PalletRefungibleError (293) */ export interface PalletRefungibleError extends Enum { readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isWrongRefungiblePieces: boolean; readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces'; } - /** @name PalletNonfungibleItemData (292) */ + /** @name PalletNonfungibleItemData (294) */ export interface PalletNonfungibleItemData extends Struct { readonly constData: Bytes; readonly variableData: Bytes; readonly owner: PalletCommonAccountBasicCrossAccountIdRepr; } - /** @name PalletNonfungibleError (293) */ + /** @name PalletNonfungibleError (295) */ export interface PalletNonfungibleError extends Enum { readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean; readonly isNonfungibleItemsHaveNoAmount: boolean; readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount'; } - /** @name PalletEvmError (295) */ + /** @name PalletEvmError (297) */ export interface PalletEvmError extends Enum { readonly isBalanceLow: boolean; readonly isFeeOverflow: boolean; @@ -2450,7 +2479,7 @@ readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce'; } - /** @name FpRpcTransactionStatus (298) */ + /** @name FpRpcTransactionStatus (300) */ export interface FpRpcTransactionStatus extends Struct { readonly transactionHash: H256; readonly transactionIndex: u32; @@ -2461,10 +2490,10 @@ readonly logsBloom: EthbloomBloom; } - /** @name EthbloomBloom (301) */ + /** @name EthbloomBloom (303) */ export interface EthbloomBloom extends U8aFixed {} - /** @name EthereumReceiptReceiptV3 (303) */ + /** @name EthereumReceiptReceiptV3 (305) */ export interface EthereumReceiptReceiptV3 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumReceiptEip658ReceiptData; @@ -2475,7 +2504,7 @@ readonly type: 'Legacy' | 'Eip2930' | 'Eip1559'; } - /** @name EthereumReceiptEip658ReceiptData (304) */ + /** @name EthereumReceiptEip658ReceiptData (306) */ export interface EthereumReceiptEip658ReceiptData extends Struct { readonly statusCode: u8; readonly usedGas: U256; @@ -2483,14 +2512,14 @@ readonly logs: Vec; } - /** @name EthereumBlock (305) */ + /** @name EthereumBlock (307) */ export interface EthereumBlock extends Struct { readonly header: EthereumHeader; readonly transactions: Vec; readonly ommers: Vec; } - /** @name EthereumHeader (306) */ + /** @name EthereumHeader (308) */ export interface EthereumHeader extends Struct { readonly parentHash: H256; readonly ommersHash: H256; @@ -2509,24 +2538,24 @@ readonly nonce: EthereumTypesHashH64; } - /** @name EthereumTypesHashH64 (307) */ + /** @name EthereumTypesHashH64 (309) */ export interface EthereumTypesHashH64 extends U8aFixed {} - /** @name PalletEthereumError (312) */ + /** @name PalletEthereumError (314) */ export interface PalletEthereumError extends Enum { readonly isInvalidSignature: boolean; readonly isPreLogExists: boolean; readonly type: 'InvalidSignature' | 'PreLogExists'; } - /** @name PalletEvmCoderSubstrateError (313) */ + /** @name PalletEvmCoderSubstrateError (315) */ export interface PalletEvmCoderSubstrateError extends Enum { readonly isOutOfGas: boolean; readonly isOutOfFund: boolean; readonly type: 'OutOfGas' | 'OutOfFund'; } - /** @name PalletEvmContractHelpersSponsoringModeT (314) */ + /** @name PalletEvmContractHelpersSponsoringModeT (316) */ export interface PalletEvmContractHelpersSponsoringModeT extends Enum { readonly isDisabled: boolean; readonly isAllowlisted: boolean; @@ -2534,20 +2563,20 @@ readonly type: 'Disabled' | 'Allowlisted' | 'Generous'; } - /** @name PalletEvmContractHelpersError (316) */ + /** @name PalletEvmContractHelpersError (318) */ export interface PalletEvmContractHelpersError extends Enum { readonly isNoPermission: boolean; readonly type: 'NoPermission'; } - /** @name PalletEvmMigrationError (317) */ + /** @name PalletEvmMigrationError (319) */ export interface PalletEvmMigrationError extends Enum { readonly isAccountNotEmpty: boolean; readonly isAccountIsNotMigrating: boolean; readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating'; } - /** @name SpRuntimeMultiSignature (319) */ + /** @name SpRuntimeMultiSignature (321) */ export interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; @@ -2558,31 +2587,31 @@ readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEd25519Signature (320) */ + /** @name SpCoreEd25519Signature (322) */ export interface SpCoreEd25519Signature extends U8aFixed {} - /** @name SpCoreSr25519Signature (322) */ + /** @name SpCoreSr25519Signature (324) */ export interface SpCoreSr25519Signature extends U8aFixed {} - /** @name SpCoreEcdsaSignature (323) */ + /** @name SpCoreEcdsaSignature (325) */ export interface SpCoreEcdsaSignature extends U8aFixed {} - /** @name FrameSystemExtensionsCheckSpecVersion (326) */ + /** @name FrameSystemExtensionsCheckSpecVersion (328) */ export type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (327) */ + /** @name FrameSystemExtensionsCheckGenesis (329) */ export type FrameSystemExtensionsCheckGenesis = Null; - /** @name FrameSystemExtensionsCheckNonce (330) */ + /** @name FrameSystemExtensionsCheckNonce (332) */ export interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name FrameSystemExtensionsCheckWeight (331) */ + /** @name FrameSystemExtensionsCheckWeight (333) */ export type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (332) */ + /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (334) */ export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name UniqueRuntimeRuntime (333) */ + /** @name UniqueRuntimeRuntime (335) */ export type UniqueRuntimeRuntime = Null; } // declare module --- a/tests/src/interfaces/unique/types.ts +++ b/tests/src/interfaces/unique/types.ts @@ -133,7 +133,33 @@ readonly index: u64; readonly weightLimit: u64; } & Struct; - readonly type: 'ServiceOverweight'; + readonly isSuspendXcmExecution: boolean; + readonly isResumeXcmExecution: boolean; + readonly isUpdateSuspendThreshold: boolean; + readonly asUpdateSuspendThreshold: { + readonly new_: u32; + } & Struct; + readonly isUpdateDropThreshold: boolean; + readonly asUpdateDropThreshold: { + readonly new_: u32; + } & Struct; + readonly isUpdateResumeThreshold: boolean; + readonly asUpdateResumeThreshold: { + readonly new_: u32; + } & Struct; + readonly isUpdateThresholdWeight: boolean; + readonly asUpdateThresholdWeight: { + readonly new_: u64; + } & Struct; + readonly isUpdateWeightRestrictDecay: boolean; + readonly asUpdateWeightRestrictDecay: { + readonly new_: u64; + } & Struct; + readonly isUpdateXcmpMaxIndividualWeight: boolean; + readonly asUpdateXcmpMaxIndividualWeight: { + readonly new_: u64; + } & Struct; + readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight'; } /** @name CumulusPalletXcmpQueueError */ @@ -1634,10 +1660,7 @@ readonly isCannotLookup: boolean; readonly isBadOrigin: boolean; readonly isModule: boolean; - readonly asModule: { - readonly index: u8; - readonly error: u8; - } & Struct; + readonly asModule: SpRuntimeModuleError; readonly isConsumerRemaining: boolean; readonly isNoProviders: boolean; readonly isTooManyConsumers: boolean; @@ -1648,6 +1671,12 @@ readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic'; } +/** @name SpRuntimeModuleError */ +export interface SpRuntimeModuleError extends Struct { + readonly index: u8; + readonly error: u8; +} + /** @name SpRuntimeMultiSignature */ export interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; @@ -1810,6 +1839,7 @@ readonly isSponsoringDisabled: boolean; readonly isBlocks: boolean; readonly asBlocks: u32; + readonly type: 'SponsoringDisabled' | 'Blocks'; } /** @name UpDataStructsSponsorshipState */