[CI Skip] release/beta 2.1.2-6

skip-checks: true
This commit is contained in:
Github Actions
2020-10-08 11:36:50 +00:00
parent 8b54a22914
commit adf3d15c86
16 changed files with 133 additions and 76 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "2.1.2-5",
"version": "2.1.2-6",
"description": "Implementation of the Parity codec",
"main": "index.js",
"keywords": [
@@ -27,7 +27,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": {
"@babel/runtime": "^7.11.2",
"@polkadot/metadata": "2.1.2-5",
"@polkadot/metadata": "2.1.2-6",
"@polkadot/util": "^3.5.1",
"@polkadot/util-crypto": "^3.5.1",
"@types/bn.js": "^4.11.6",
+22 -4
View File
@@ -12,7 +12,7 @@ import { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, Ves
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 { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
import { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
import { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, ContractExecResultSuccess, ContractExecResultSuccessTo255, ContractExecResultTo255, 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, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
@@ -35,14 +35,14 @@ import { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/i
import { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
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, CallHash, CallHashOf, ChangesTrieConfiguration, Consensus, ConsensusEngineId, Digest, DigestItem, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, GenericAddress, H160, H256, H512, Hash, Header, I32F32, Index, Justification, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, OpaqueCall, Origin, PalletVersion, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, StorageData, TransactionPriority, U32F32, ValidatorId, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
import { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, TaskAddress } from '@polkadot/types/interfaces/scheduler';
import { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, CallHash, CallHashOf, ChangesTrieConfiguration, Consensus, ConsensusEngineId, Digest, DigestItem, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, GenericAddress, H160, H256, H512, Hash, Header, I32F32, Index, Justification, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, OpaqueCall, Origin, OriginCaller, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, StorageData, TransactionPriority, U32F32, ValidatorId, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
import { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, 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, CompactAssignmentsTo257, CompactScore, CompactScoreCompact, ElectionCompute, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RewardDestination, RewardDestinationTo257, RewardPoint, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, 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, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, Phase, RefCount, RefCountTo259, TransactionValidityError, UnknownTransaction } from '@polkadot/types/interfaces/system';
import { AccountInfo, ApplyExtrinsicResult, ChainProperties, ChainType, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, Phase, RawOrigin, RefCount, RefCountTo259, SystemOrigin, TransactionValidityError, UnknownTransaction } from '@polkadot/types/interfaces/system';
import { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';
import { Multiplier } from '@polkadot/types/interfaces/txpayment';
import { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
@@ -288,6 +288,12 @@ declare module '@polkadot/types/types/registry' {
Origin: Origin;
'Option<Origin>': Option<Origin>;
'Vec<Origin>': Vec<Origin>;
OriginCaller: OriginCaller;
'Option<OriginCaller>': Option<OriginCaller>;
'Vec<OriginCaller>': Vec<OriginCaller>;
PalletsOrigin: PalletsOrigin;
'Option<PalletsOrigin>': Option<PalletsOrigin>;
'Vec<PalletsOrigin>': Vec<PalletsOrigin>;
PalletVersion: PalletVersion;
'Option<PalletVersion>': Option<PalletVersion>;
'Vec<PalletVersion>': Vec<PalletVersion>;
@@ -438,6 +444,9 @@ declare module '@polkadot/types/types/registry' {
WithdrawReasons: WithdrawReasons;
'Option<WithdrawReasons>': Option<WithdrawReasons>;
'Vec<WithdrawReasons>': Vec<WithdrawReasons>;
CollectiveOrigin: CollectiveOrigin;
'Option<CollectiveOrigin>': Option<CollectiveOrigin>;
'Vec<CollectiveOrigin>': Vec<CollectiveOrigin>;
MemberCount: MemberCount;
'Compact<MemberCount>': Compact<MemberCount>;
'Option<MemberCount>': Option<MemberCount>;
@@ -843,6 +852,9 @@ declare module '@polkadot/types/types/registry' {
Scheduled: Scheduled;
'Option<Scheduled>': Option<Scheduled>;
'Vec<Scheduled>': Vec<Scheduled>;
ScheduledTo254: ScheduledTo254;
'Option<ScheduledTo254>': Option<ScheduledTo254>;
'Vec<ScheduledTo254>': Vec<ScheduledTo254>;
TaskAddress: TaskAddress;
'Option<TaskAddress>': Option<TaskAddress>;
'Vec<TaskAddress>': Vec<TaskAddress>;
@@ -1155,6 +1167,9 @@ declare module '@polkadot/types/types/registry' {
Phase: Phase;
'Option<Phase>': Option<Phase>;
'Vec<Phase>': Vec<Phase>;
RawOrigin: RawOrigin;
'Option<RawOrigin>': Option<RawOrigin>;
'Vec<RawOrigin>': Vec<RawOrigin>;
RefCount: RefCount;
'Compact<RefCount>': Compact<RefCount>;
'Option<RefCount>': Option<RefCount>;
@@ -1163,6 +1178,9 @@ declare module '@polkadot/types/types/registry' {
'Compact<RefCountTo259>': Compact<RefCountTo259>;
'Option<RefCountTo259>': Option<RefCountTo259>;
'Vec<RefCountTo259>': Vec<RefCountTo259>;
SystemOrigin: SystemOrigin;
'Option<SystemOrigin>': Option<SystemOrigin>;
'Vec<SystemOrigin>': Vec<SystemOrigin>;
TransactionValidityError: TransactionValidityError;
'Option<TransactionValidityError>': Option<TransactionValidityError>;
'Vec<TransactionValidityError>': Vec<TransactionValidityError>;
@@ -1,10 +1,19 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
import { Struct, Vec } from '@polkadot/types/codec';
import { ITuple } from '@polkadot/types/types';
import { Enum, Struct, Vec } from '@polkadot/types/codec';
import { u32 } from '@polkadot/types/primitive';
import { AccountId, BlockNumber } from '@polkadot/types/interfaces/runtime';
/** @name CollectiveOrigin */
export interface CollectiveOrigin extends Enum {
readonly isMembers: boolean;
readonly asMembers: ITuple<[MemberCount, MemberCount]>;
readonly isMember: boolean;
readonly asMember: AccountId;
}
/** @name MemberCount */
export interface MemberCount extends u32 {}
@@ -7,6 +7,7 @@ import { GenericAccountId, GenericAccountIndex, GenericBlock, GenericCall, Gener
import { Bytes, DoNotConstruct, Null, StorageKey, u16, u32, u64, u8 } from '@polkadot/types/primitive';
import { AuthorityId } from '@polkadot/types/interfaces/consensus';
import { Signature } from '@polkadot/types/interfaces/extrinsics';
import { SystemOrigin } from '@polkadot/types/interfaces/system';
/** @name AccountId */
export interface AccountId extends GenericAccountId {}
@@ -163,6 +164,15 @@ export interface OpaqueCall extends Bytes {}
/** @name Origin */
export interface Origin extends DoNotConstruct {}
/** @name OriginCaller */
export interface OriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: SystemOrigin;
}
/** @name PalletsOrigin */
export interface PalletsOrigin extends OriginCaller {}
/** @name PalletVersion */
export interface PalletVersion extends Struct {
readonly major: u16;
@@ -4,7 +4,7 @@
import { ITuple } from '@polkadot/types/types';
import { Option, Struct } from '@polkadot/types/codec';
import { Bytes, u32, u8 } from '@polkadot/types/primitive';
import { BlockNumber, Call } from '@polkadot/types/interfaces/runtime';
import { BlockNumber, Call, PalletsOrigin } from '@polkadot/types/interfaces/runtime';
/** @name Period */
export interface Period extends ITuple<[BlockNumber, u32]> {}
@@ -18,6 +18,15 @@ export interface Scheduled extends Struct {
readonly priority: SchedulePriority;
readonly call: Call;
readonly maybePeriodic: Option<SchedulePeriod>;
readonly origin: PalletsOrigin;
}
/** @name ScheduledTo254 */
export interface ScheduledTo254 extends Struct {
readonly maybeId: Option<Bytes>;
readonly priority: SchedulePriority;
readonly call: Call;
readonly maybePeriodic: Option<SchedulePeriod>;
}
/** @name SchedulePeriod */
+12 -1
View File
@@ -6,7 +6,7 @@ import { Compact, Enum, HashMap, Option, Result, Struct, U8aFixed, Vec } from '@
import { GenericEvent } from '@polkadot/types/generic';
import { Bytes, Text, bool, i32, u32, u64, u8 } from '@polkadot/types/primitive';
import { AccountData } from '@polkadot/types/interfaces/balances';
import { BlockNumber, Digest, Hash, Index, Pays, Weight } from '@polkadot/types/interfaces/runtime';
import { AccountId, BlockNumber, Digest, Hash, Index, Pays, Weight } from '@polkadot/types/interfaces/runtime';
/** @name AccountInfo */
export interface AccountInfo extends Struct {
@@ -248,12 +248,23 @@ export interface Phase extends Enum {
readonly isInitialization: boolean;
}
/** @name RawOrigin */
export interface RawOrigin extends Enum {
readonly isRoot: boolean;
readonly isSigned: boolean;
readonly asSigned: AccountId;
readonly isNone: boolean;
}
/** @name RefCount */
export interface RefCount extends u32 {}
/** @name RefCountTo259 */
export interface RefCountTo259 extends u8 {}
/** @name SystemOrigin */
export interface SystemOrigin extends RawOrigin {}
/** @name TransactionValidityError */
export interface TransactionValidityError extends Enum {
readonly isInvalid: boolean;