diff --git a/packages/api/src/augment/query.ts b/packages/api/src/augment/query.ts index d9d3b8f96b..f15ea9751f 100644 --- a/packages/api/src/augment/query.ts +++ b/packages/api/src/augment/query.ts @@ -6,25 +6,25 @@ import { Option, U8aFixed, Vec } from '@polkadot/types/codec'; import { Bytes, Data, bool, u32, u64 } from '@polkadot/types/primitive'; import { UncleEntryItem } from '@polkadot/types/interfaces/authorship'; import { BabeAuthorityWeight, MaybeRandomness, NextConfigDescriptor, Randomness } from '@polkadot/types/interfaces/babe'; -import { AccountData, BalanceLock, ReleasesBalances } from '@polkadot/types/interfaces/balances'; +import { AccountData, BalanceLock } from '@polkadot/types/interfaces/balances'; import { ProposalIndex, Votes } from '@polkadot/types/interfaces/collective'; import { AuthorityId } from '@polkadot/types/interfaces/consensus'; import { CodeHash, ContractInfo, PrefabWasmModule, Schedule } from '@polkadot/types/interfaces/contracts'; -import { PreimageStatus, PropIndex, Proposal, ReferendumIndex, ReferendumInfo, ReleasesDemocracy, Voting } from '@polkadot/types/interfaces/democracy'; +import { PreimageStatus, PropIndex, Proposal, ReferendumIndex, ReferendumInfo, Voting } from '@polkadot/types/interfaces/democracy'; import { VoteThreshold } from '@polkadot/types/interfaces/elections'; import { SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa'; import { RegistrarInfo, Registration } from '@polkadot/types/interfaces/identity'; import { AuthIndex } from '@polkadot/types/interfaces/imOnline'; import { DeferredOffenceOf, Kind, OffenceDetails, OpaqueTimeSlot, ReportIdOf } from '@polkadot/types/interfaces/offences'; import { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; -import { AccountId, AccountIndex, Balance, BalanceOf, BlockNumber, ExtrinsicsWeight, Hash, KeyTypeId, Moment, Perbill, ProxyType, ValidatorId } from '@polkadot/types/interfaces/runtime'; +import { AccountId, AccountIndex, Balance, BalanceOf, BlockNumber, ExtrinsicsWeight, Hash, KeyTypeId, Moment, Perbill, ProxyType, Releases, ValidatorId } from '@polkadot/types/interfaces/runtime'; import { Scheduled, TaskAddress } from '@polkadot/types/interfaces/scheduler'; import { Keys, SessionIndex } from '@polkadot/types/interfaces/session'; import { Bid, BidKind, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; -import { ActiveEraInfo, ElectionResult, ElectionScore, ElectionStatus, EraIndex, EraRewardPoints, Exposure, Forcing, Nominations, ReleasesStaking, RewardDestination, SlashingSpans, SpanIndex, SpanRecord, StakingLedger, UnappliedSlash, ValidatorPrefs } from '@polkadot/types/interfaces/staking'; +import { ActiveEraInfo, ElectionResult, ElectionScore, ElectionStatus, EraIndex, EraRewardPoints, Exposure, Forcing, Nominations, RewardDestination, SlashingSpans, SpanIndex, SpanRecord, StakingLedger, UnappliedSlash, ValidatorPrefs } from '@polkadot/types/interfaces/staking'; import { AccountInfo, DigestOf, EventIndex, EventRecord, LastRuntimeUpgradeInfo, Phase } from '@polkadot/types/interfaces/system'; import { OpenTip, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; -import { Multiplier, PaymentReleases } from '@polkadot/types/interfaces/txpayment'; +import { Multiplier } from '@polkadot/types/interfaces/txpayment'; import { Multisig } from '@polkadot/types/interfaces/utility'; import { VestingInfo } from '@polkadot/types/interfaces/vesting'; import { ApiTypes } from '@polkadot/api/types'; @@ -134,7 +134,7 @@ declare module '@polkadot/api/types/storage' { * * This is set to v2.0.0 for new networks. **/ - storageVersion: AugmentedQuery Observable> & QueryableStorageEntry; + storageVersion: AugmentedQuery Observable> & QueryableStorageEntry; /** * The total units issued in the system. **/ @@ -262,7 +262,7 @@ declare module '@polkadot/api/types/storage' { * * New networks start with last version. **/ - storageVersion: AugmentedQuery Observable>> & QueryableStorageEntry; + storageVersion: AugmentedQuery Observable>> & QueryableStorageEntry; /** * All votes for a particular voter. We store the balance for the number of votes that we * have recorded. The second item is the total amount of delegations, that will be added. @@ -752,7 +752,7 @@ declare module '@polkadot/api/types/storage' { * * This is set to v3.0.0 for new networks. **/ - storageVersion: AugmentedQuery Observable> & QueryableStorageEntry; + storageVersion: AugmentedQuery Observable> & QueryableStorageEntry; /** * All unapplied slashes that are queued for later. **/ @@ -903,7 +903,7 @@ declare module '@polkadot/api/types/storage' { transactionPayment: { [index: string]: QueryableStorageEntry; nextFeeMultiplier: AugmentedQuery Observable> & QueryableStorageEntry; - storageVersion: AugmentedQuery Observable> & QueryableStorageEntry; + storageVersion: AugmentedQuery Observable> & QueryableStorageEntry; }; treasury: { [index: string]: QueryableStorageEntry; diff --git a/packages/metadata/src/Metadata/v11/static-substrate.json b/packages/metadata/src/Metadata/v11/static-substrate.json index 88e4fbb847..16c446c657 100644 --- a/packages/metadata/src/Metadata/v11/static-substrate.json +++ b/packages/metadata/src/Metadata/v11/static-substrate.json @@ -1285,7 +1285,7 @@ "name": "StorageVersion", "modifier": "Default", "type": { - "Plain": "ReleasesBalances" + "Plain": "Releases" }, "fallback": "0x00", "documentation": [ @@ -1595,7 +1595,7 @@ "name": "StorageVersion", "modifier": "Default", "type": { - "Plain": "PaymentReleases" + "Plain": "Releases" }, "fallback": "0x00", "documentation": [] @@ -2148,7 +2148,7 @@ "name": "StorageVersion", "modifier": "Default", "type": { - "Plain": "ReleasesStaking" + "Plain": "Releases" }, "fallback": "0x03", "documentation": [ @@ -3625,7 +3625,7 @@ "name": "StorageVersion", "modifier": "Optional", "type": { - "Plain": "ReleasesDemocracy" + "Plain": "Releases" }, "fallback": "0x00", "documentation": [ diff --git a/packages/types-known/src/modules.ts b/packages/types-known/src/modules.ts index b231cb12a2..d4c2310af9 100644 --- a/packages/types-known/src/modules.ts +++ b/packages/types-known/src/modules.ts @@ -10,7 +10,6 @@ const typesModules: Record = { EquivocationProof: 'BabeEquivocationProof' }, balances: { - Releases: 'ReleasesBalances', Status: 'BalanceStatus' }, contract: { // old metadata & naming @@ -20,9 +19,6 @@ const typesModules: Record = { contracts: { StorageKey: 'ContractStorageKey' }, - democracy: { - Releases: 'ReleasesDemocracy' - }, grandpa: { Equivocation: 'GrandpaEquivocation', EquivocationProof: 'GrandpaEquivocationProof' @@ -38,11 +34,7 @@ const typesModules: Record = { Vote: 'SocietyVote' }, staking: { - Compact: 'CompactAssignments', - Releases: 'ReleasesStaking' - }, - transactionPayment: { - Releases: 'PaymentReleases' + Compact: 'CompactAssignments' }, treasury: { Proposal: 'TreasuryProposal' diff --git a/packages/types/src/augment/registry.ts b/packages/types/src/augment/registry.ts index 7e3c8d5776..168de962ab 100644 --- a/packages/types/src/augment/registry.ts +++ b/packages/types/src/augment/registry.ts @@ -8,14 +8,14 @@ import { RawAuraPreDigest } from '@polkadot/types/interfaces/aura'; import { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; import { UncleEntryItem } from '@polkadot/types/interfaces/authorship'; import { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEquivocationProof, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe'; -import { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReleasesBalances, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances'; +import { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances'; import { BlockHash } from '@polkadot/types/interfaces/chain'; import { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; import { EthereumAddress, StatementKind } from '@polkadot/types/interfaces/claims'; import { MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective'; import { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus'; import { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, ContractExecResultSuccess, ContractInfo, ContractStorageKey, Gas, PrefabWasmModule, PrefabWasmModuleReserved, Schedule, ScheduleTo212, SeedOf, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts'; -import { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, ReleasesDemocracy, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy'; +import { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy'; import { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections'; import { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; import { Account, Log, Vicinity } from '@polkadot/types/interfaces/evm'; @@ -31,16 +31,16 @@ import { AbridgedCandidateReceipt, AttestedCandidate, AuctionIndex, Bidder, Cand import { RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; import { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; import { RpcMethods } from '@polkadot/types/interfaces/rpc'; -import { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, ChangesTrieConfiguration, Consensus, ConsensusEngineId, Digest, DigestItem, ExtrinsicsWeight, Fixed128, Fixed64, H160, H256, H512, Hash, Header, Index, Justification, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, Origin, Pays, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, ProxyType, RuntimeDbWeight, Seal, SealV0, SignedBlock, StorageData, ValidatorId, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime'; +import { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, ChangesTrieConfiguration, Consensus, ConsensusEngineId, Digest, DigestItem, ExtrinsicsWeight, Fixed128, Fixed64, H160, H256, H512, Hash, Header, Index, Justification, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, Origin, Pays, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, ProxyType, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, StorageData, ValidatorId, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime'; import { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, TaskAddress } from '@polkadot/types/interfaces/scheduler'; import { FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, ValidatorCount } from '@polkadot/types/interfaces/session'; import { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; -import { ActiveEraInfo, CompactAssignments, CompactScore, ElectionCompute, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, OffchainAccuracy, PerU16, PhragmenScore, Points, ReleasesStaking, RewardDestination, RewardPoint, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196 } from '@polkadot/types/interfaces/staking'; +import { ActiveEraInfo, CompactAssignments, CompactScore, ElectionCompute, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, OffchainAccuracy, PerU16, PhragmenScore, Points, RewardDestination, RewardPoint, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196 } from '@polkadot/types/interfaces/staking'; import { ApiId, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, StorageChangeSet } from '@polkadot/types/interfaces/state'; import { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; import { AccountInfo, ApplyExtrinsicResult, ChainProperties, ChainType, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, EventRecordTo76, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, Phase, RefCount, TransactionValidityError, UnknownTransaction } from '@polkadot/types/interfaces/system'; import { OpenTip, OpenTipFinder, OpenTipTip, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; -import { Multiplier, PaymentReleases } from '@polkadot/types/interfaces/txpayment'; +import { Multiplier } from '@polkadot/types/interfaces/txpayment'; import { CallHash, Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; import { VestingInfo } from '@polkadot/types/interfaces/vesting'; @@ -256,6 +256,9 @@ declare module '@polkadot/types/types/registry' { ProxyType: ProxyType; 'Option': Option; 'Vec': Vec; + Releases: Releases; + 'Option': Option; + 'Vec': Vec; RuntimeDbWeight: RuntimeDbWeight; 'Option': Option; 'Vec': Vec; @@ -378,9 +381,6 @@ declare module '@polkadot/types/types/registry' { BalanceStatus: BalanceStatus; 'Option': Option; 'Vec': Vec; - ReleasesBalances: ReleasesBalances; - 'Option': Option; - 'Vec': Vec; Reasons: Reasons; 'Option': Option; 'Vec': Vec; @@ -506,9 +506,6 @@ declare module '@polkadot/types/types/registry' { ReferendumStatus: ReferendumStatus; 'Option': Option; 'Vec': Vec; - ReleasesDemocracy: ReleasesDemocracy; - 'Option': Option; - 'Vec': Vec; Tally: Tally; 'Option': Option; 'Vec': Vec; @@ -936,9 +933,6 @@ declare module '@polkadot/types/types/registry' { PhragmenScore: PhragmenScore; 'Option': Option; 'Vec': Vec; - ReleasesStaking: ReleasesStaking; - 'Option': Option; - 'Vec': Vec; RewardDestination: RewardDestination; 'Option': Option; 'Vec': Vec; @@ -1130,9 +1124,6 @@ declare module '@polkadot/types/types/registry' { Multiplier: Multiplier; 'Option': Option; 'Vec': Vec; - PaymentReleases: PaymentReleases; - 'Option': Option; - 'Vec': Vec; CallHash: CallHash; 'Option': Option; 'Vec': Vec; diff --git a/packages/types/src/interfaces/balances/definitions.ts b/packages/types/src/interfaces/balances/definitions.ts index d98a20dcc3..d02cf69068 100644 --- a/packages/types/src/interfaces/balances/definitions.ts +++ b/packages/types/src/interfaces/balances/definitions.ts @@ -30,9 +30,6 @@ export default { BalanceStatus: { _enum: ['Free', 'Reserved'] }, - ReleasesBalances: { - _enum: ['V1_0_0', 'V2_0_0'] - }, Reasons: { _enum: ['Fee', 'Misc', 'All'] }, diff --git a/packages/types/src/interfaces/balances/types.ts b/packages/types/src/interfaces/balances/types.ts index a7ffddb590..112213a937 100644 --- a/packages/types/src/interfaces/balances/types.ts +++ b/packages/types/src/interfaces/balances/types.ts @@ -40,12 +40,6 @@ export interface Reasons extends Enum { readonly isAll: boolean; } -/** @name ReleasesBalances */ -export interface ReleasesBalances extends Enum { - readonly isV100: boolean; - readonly isV200: boolean; -} - /** @name VestingSchedule */ export interface VestingSchedule extends Struct { readonly offset: Balance; diff --git a/packages/types/src/interfaces/democracy/definitions.ts b/packages/types/src/interfaces/democracy/definitions.ts index 93a8b9acb6..eadd6efa08 100644 --- a/packages/types/src/interfaces/democracy/definitions.ts +++ b/packages/types/src/interfaces/democracy/definitions.ts @@ -96,9 +96,6 @@ export default { delay: 'BlockNumber', tally: 'Tally' }, - ReleasesDemocracy: { - _enum: ['V1'] - }, Tally: { ayes: 'Balance', nays: 'Balance', diff --git a/packages/types/src/interfaces/democracy/types.ts b/packages/types/src/interfaces/democracy/types.ts index e5cfc65de5..5ac538d0f8 100644 --- a/packages/types/src/interfaces/democracy/types.ts +++ b/packages/types/src/interfaces/democracy/types.ts @@ -112,11 +112,6 @@ export interface ReferendumStatus extends Struct { readonly tally: Tally; } -/** @name ReleasesDemocracy */ -export interface ReleasesDemocracy extends Enum { - readonly isV1: boolean; -} - /** @name Tally */ export interface Tally extends Struct { readonly ayes: Balance; diff --git a/packages/types/src/interfaces/runtime/definitions.ts b/packages/types/src/interfaces/runtime/definitions.ts index 2363c8c735..425a979063 100644 --- a/packages/types/src/interfaces/runtime/definitions.ts +++ b/packages/types/src/interfaces/runtime/definitions.ts @@ -78,6 +78,9 @@ export default { ProxyType: { _enum: ['Any', 'NonTransfer', 'Governance', 'Staking'] }, + Releases: { + _enum: ['V1', 'V2', 'V3', 'V4', 'V5', 'V6', 'V7', 'V8', 'V9', 'V10'] + }, RuntimeDbWeight: { read: 'Weight', write: 'Weight' diff --git a/packages/types/src/interfaces/runtime/types.ts b/packages/types/src/interfaces/runtime/types.ts index 44fefa0f4b..9987c48127 100644 --- a/packages/types/src/interfaces/runtime/types.ts +++ b/packages/types/src/interfaces/runtime/types.ts @@ -171,6 +171,20 @@ export interface ProxyType extends Enum { readonly isStaking: boolean; } +/** @name Releases */ +export interface Releases extends Enum { + readonly isV1: boolean; + readonly isV2: boolean; + readonly isV3: boolean; + readonly isV4: boolean; + readonly isV5: boolean; + readonly isV6: boolean; + readonly isV7: boolean; + readonly isV8: boolean; + readonly isV9: boolean; + readonly isV10: boolean; +} + /** @name RuntimeDbWeight */ export interface RuntimeDbWeight extends Struct { readonly read: Weight; diff --git a/packages/types/src/interfaces/staking/definitions.ts b/packages/types/src/interfaces/staking/definitions.ts index 2619b6fc53..b527653a8d 100644 --- a/packages/types/src/interfaces/staking/definitions.ts +++ b/packages/types/src/interfaces/staking/definitions.ts @@ -100,9 +100,6 @@ export default { PerU16: 'u16', PhragmenScore: '[u128; 3]', Points: 'u32', - ReleasesStaking: { - _enum: ['V1_0_0', 'V2_0_0', 'V3_0_0', 'V4_0_0'] - }, RewardDestination: { _enum: [ 'Staked', diff --git a/packages/types/src/interfaces/staking/types.ts b/packages/types/src/interfaces/staking/types.ts index b6512f9187..81a34c1b50 100644 --- a/packages/types/src/interfaces/staking/types.ts +++ b/packages/types/src/interfaces/staking/types.ts @@ -136,14 +136,6 @@ export interface PhragmenScore extends Vec {} /** @name Points */ export interface Points extends u32 {} -/** @name ReleasesStaking */ -export interface ReleasesStaking extends Enum { - readonly isV100: boolean; - readonly isV200: boolean; - readonly isV300: boolean; - readonly isV400: boolean; -} - /** @name RewardDestination */ export interface RewardDestination extends Enum { readonly isStaked: boolean; diff --git a/packages/types/src/interfaces/txpayment/definitions.ts b/packages/types/src/interfaces/txpayment/definitions.ts index f36863b005..586f3e98ac 100644 --- a/packages/types/src/interfaces/txpayment/definitions.ts +++ b/packages/types/src/interfaces/txpayment/definitions.ts @@ -7,9 +7,6 @@ import { Definitions } from '../../types'; export default { rpc: {}, types: { - Multiplier: 'Fixed128', - PaymentReleases: { - _enum: ['V1Ancient', 'V2'] - } + Multiplier: 'Fixed128' } } as Definitions; diff --git a/packages/types/src/interfaces/txpayment/types.ts b/packages/types/src/interfaces/txpayment/types.ts index 3a7daf4aa8..0078bc33e3 100644 --- a/packages/types/src/interfaces/txpayment/types.ts +++ b/packages/types/src/interfaces/txpayment/types.ts @@ -1,16 +1,9 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ -import { Enum } from '@polkadot/types/codec'; import { Fixed128 } from '@polkadot/types/interfaces/runtime'; /** @name Multiplier */ export interface Multiplier extends Fixed128 {} -/** @name PaymentReleases */ -export interface PaymentReleases extends Enum { - readonly isV1Ancient: boolean; - readonly isV2: boolean; -} - export type PHANTOM_TXPAYMENT = 'txpayment';