Skip to content

Commit 61635d0

Browse files
api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 10.2.1
1 parent c89eddf commit 61635d0

File tree

491 files changed

+8437
-7875
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

491 files changed

+8437
-7875
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## master
44

5+
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 10.2.1
56
- phishing 0.20.4
67
- hw-{ledger, ledger-transports}, keyring, networks, util, util-crypto, x-{bigint, fetch, global, randomvalues, textdecoder, textencoder, ws} 11.1.2
78

api-augment/base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
import 'https://deno.land/x/polkadot@0.2.32/rpc-augment/mod.ts';
3-
import 'https://deno.land/x/polkadot@0.2.32/types-augment/mod.ts';
2+
import 'https://deno.land/x/polkadot/rpc-augment/mod.ts';
3+
import 'https://deno.land/x/polkadot/types-augment/mod.ts';

api-augment/detectOther.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
import { packageInfo as baseInfo } from 'https://deno.land/x/polkadot@0.2.32/api-base/packageInfo.ts';
3-
import { packageInfo as typesInfo } from 'https://deno.land/x/polkadot@0.2.32/types/packageInfo.ts';
4-
import { packageInfo as codecInfo } from 'https://deno.land/x/polkadot@0.2.32/types-codec/packageInfo.ts';
2+
import { packageInfo as baseInfo } from 'https://deno.land/x/polkadot/api-base/packageInfo.ts';
3+
import { packageInfo as typesInfo } from 'https://deno.land/x/polkadot/types/packageInfo.ts';
4+
import { packageInfo as codecInfo } from 'https://deno.land/x/polkadot/types-codec/packageInfo.ts';
55

66
export default [baseInfo, typesInfo, codecInfo];

api-augment/detectPackage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
import { detectPackage } from 'https://deno.land/x/polkadot@0.2.32/util/mod.ts';
3+
import { detectPackage } from 'https://deno.land/x/polkadot/util/mod.ts';
44

55
import others from './detectOther.ts';
66
import { packageInfo } from './packageInfo.ts';

api-augment/kusama/consts.ts

Lines changed: 28 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/* eslint-disable */
22

3-
import 'https://deno.land/x/polkadot@0.2.32/api-base/types/consts.ts';
3+
import 'https://deno.land/x/polkadot/api-base/types/consts.ts';
44

5-
import type { ApiTypes, AugmentedConst } from 'https://deno.land/x/polkadot@0.2.32/api-base/types/index.ts';
6-
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from 'https://deno.land/x/polkadot@0.2.32/types-codec/mod.ts';
7-
import type { Codec, ITuple } from 'https://deno.land/x/polkadot@0.2.32/types-codec/types/index.ts';
8-
import type { Perbill, Percent, Permill, Perquintill } from 'https://deno.land/x/polkadot@0.2.32/types/interfaces/runtime/index.ts';
9-
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from 'https://deno.land/x/polkadot@0.2.32/types/lookup.ts';
5+
import type { ApiTypes, AugmentedConst } from 'https://deno.land/x/polkadot/api-base/types/index.ts';
6+
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from 'https://deno.land/x/polkadot/types-codec/mod.ts';
7+
import type { Codec, ITuple } from 'https://deno.land/x/polkadot/types-codec/types/index.ts';
8+
import type { Perbill, Permill, Perquintill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts';
9+
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, KusamaRuntimeHoldReason, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from 'https://deno.land/x/polkadot/types/lookup.ts';
1010

1111
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
1212

13-
declare module 'https://deno.land/x/polkadot@0.2.32/api-base/types/consts.ts' {
13+
declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
1414
interface AugmentedConsts<ApiType extends ApiTypes> {
1515
auctions: {
1616
/**
@@ -59,6 +59,14 @@ declare module 'https://deno.land/x/polkadot@0.2.32/api-base/types/consts.ts' {
5959
* The minimum amount required to keep an account open.
6060
**/
6161
existentialDeposit: u128 & AugmentedConst<ApiType>;
62+
/**
63+
* The maximum number of individual freeze locks that can exist on an account at any time.
64+
**/
65+
maxFreezes: u32 & AugmentedConst<ApiType>;
66+
/**
67+
* The maximum number of holds that can exist on an account at any time.
68+
**/
69+
maxHolds: u32 & AugmentedConst<ApiType>;
6270
/**
6371
* The maximum number of locks that should exist on an account.
6472
* Not strictly enforced, but used for weight estimation.
@@ -180,72 +188,6 @@ declare module 'https://deno.land/x/polkadot@0.2.32/api-base/types/consts.ts' {
180188
**/
181189
[key: string]: Codec;
182190
};
183-
democracy: {
184-
/**
185-
* Period in blocks where an external proposal may not be re-submitted after being vetoed.
186-
**/
187-
cooloffPeriod: u32 & AugmentedConst<ApiType>;
188-
/**
189-
* The period between a proposal being approved and enacted.
190-
*
191-
* It should generally be a little more than the unstake period to ensure that
192-
* voting stakers have an opportunity to remove themselves from the system in the case
193-
* where they are on the losing side of a vote.
194-
**/
195-
enactmentPeriod: u32 & AugmentedConst<ApiType>;
196-
/**
197-
* Minimum voting period allowed for a fast-track referendum.
198-
**/
199-
fastTrackVotingPeriod: u32 & AugmentedConst<ApiType>;
200-
/**
201-
* Indicator for whether an emergency origin is even allowed to happen. Some chains may
202-
* want to set this permanently to `false`, others may want to condition it on things such
203-
* as an upgrade having happened recently.
204-
**/
205-
instantAllowed: bool & AugmentedConst<ApiType>;
206-
/**
207-
* How often (in blocks) new public referenda are launched.
208-
**/
209-
launchPeriod: u32 & AugmentedConst<ApiType>;
210-
/**
211-
* The maximum number of items which can be blacklisted.
212-
**/
213-
maxBlacklisted: u32 & AugmentedConst<ApiType>;
214-
/**
215-
* The maximum number of deposits a public proposal may have at any time.
216-
**/
217-
maxDeposits: u32 & AugmentedConst<ApiType>;
218-
/**
219-
* The maximum number of public proposals that can exist at any time.
220-
**/
221-
maxProposals: u32 & AugmentedConst<ApiType>;
222-
/**
223-
* The maximum number of votes for an account.
224-
*
225-
* Also used to compute weight, an overly big value can
226-
* lead to extrinsic with very big weight: see `delegate` for instance.
227-
**/
228-
maxVotes: u32 & AugmentedConst<ApiType>;
229-
/**
230-
* The minimum amount to be used as a deposit for a public referendum proposal.
231-
**/
232-
minimumDeposit: u128 & AugmentedConst<ApiType>;
233-
/**
234-
* The minimum period of vote locking.
235-
*
236-
* It should be no shorter than enactment period to ensure that in the case of an approval,
237-
* those successful voters are locked into the consequences that their votes entail.
238-
**/
239-
voteLockingPeriod: u32 & AugmentedConst<ApiType>;
240-
/**
241-
* How often (in blocks) to check for new votes.
242-
**/
243-
votingPeriod: u32 & AugmentedConst<ApiType>;
244-
/**
245-
* Generic const
246-
**/
247-
[key: string]: Codec;
248-
};
249191
electionProviderMultiPhase: {
250192
/**
251193
* The minimum amount of improvement to the solution score that defines a solution as
@@ -277,6 +219,7 @@ declare module 'https://deno.land/x/polkadot@0.2.32/api-base/types/consts.ts' {
277219
minerMaxLength: u32 & AugmentedConst<ApiType>;
278220
minerMaxVotesPerVoter: u32 & AugmentedConst<ApiType>;
279221
minerMaxWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
222+
minerMaxWinners: u32 & AugmentedConst<ApiType>;
280223
/**
281224
* The priority of the unsigned transaction submitted in the unsigned-phase
282225
**/
@@ -492,6 +435,10 @@ declare module 'https://deno.land/x/polkadot@0.2.32/api-base/types/consts.ts' {
492435
* Must be no greater than `MaxQueueLen`.
493436
**/
494437
fifoQueueLen: u32 & AugmentedConst<ApiType>;
438+
/**
439+
* The identifier of the hold reason.
440+
**/
441+
holdReason: KusamaRuntimeHoldReason & AugmentedConst<ApiType>;
495442
/**
496443
* The number of blocks between consecutive attempts to dequeue bids and create receipts.
497444
*
@@ -534,10 +481,6 @@ declare module 'https://deno.land/x/polkadot@0.2.32/api-base/types/consts.ts' {
534481
* this value multiplied by `Period`.
535482
**/
536483
queueCount: u32 & AugmentedConst<ApiType>;
537-
/**
538-
* The name for the reserve ID.
539-
**/
540-
reserveId: U8aFixed & AugmentedConst<ApiType>;
541484
/**
542485
* The maximum proportion which may be thawed and the period over which it is reset.
543486
**/
@@ -552,6 +495,14 @@ declare module 'https://deno.land/x/polkadot@0.2.32/api-base/types/consts.ts' {
552495
* The minimum amount required to keep an account open.
553496
**/
554497
existentialDeposit: u128 & AugmentedConst<ApiType>;
498+
/**
499+
* The maximum number of individual freeze locks that can exist on an account at any time.
500+
**/
501+
maxFreezes: u32 & AugmentedConst<ApiType>;
502+
/**
503+
* The maximum number of holds that can exist on an account at any time.
504+
**/
505+
maxHolds: u32 & AugmentedConst<ApiType>;
555506
/**
556507
* The maximum number of locks that should exist on an account.
557508
* Not strictly enforced, but used for weight estimation.
@@ -598,70 +549,6 @@ declare module 'https://deno.land/x/polkadot@0.2.32/api-base/types/consts.ts' {
598549
**/
599550
[key: string]: Codec;
600551
};
601-
phragmenElection: {
602-
/**
603-
* How much should be locked up in order to submit one's candidacy.
604-
**/
605-
candidacyBond: u128 & AugmentedConst<ApiType>;
606-
/**
607-
* Number of members to elect.
608-
**/
609-
desiredMembers: u32 & AugmentedConst<ApiType>;
610-
/**
611-
* Number of runners_up to keep.
612-
**/
613-
desiredRunnersUp: u32 & AugmentedConst<ApiType>;
614-
/**
615-
* The maximum number of candidates in a phragmen election.
616-
*
617-
* Warning: This impacts the size of the election which is run onchain. Chose wisely, and
618-
* consider how it will impact `T::WeightInfo::election_phragmen`.
619-
*
620-
* When this limit is reached no more candidates are accepted in the election.
621-
**/
622-
maxCandidates: u32 & AugmentedConst<ApiType>;
623-
/**
624-
* The maximum number of voters to allow in a phragmen election.
625-
*
626-
* Warning: This impacts the size of the election which is run onchain. Chose wisely, and
627-
* consider how it will impact `T::WeightInfo::election_phragmen`.
628-
*
629-
* When the limit is reached the new voters are ignored.
630-
**/
631-
maxVoters: u32 & AugmentedConst<ApiType>;
632-
/**
633-
* Maximum numbers of votes per voter.
634-
*
635-
* Warning: This impacts the size of the election which is run onchain. Chose wisely, and
636-
* consider how it will impact `T::WeightInfo::election_phragmen`.
637-
**/
638-
maxVotesPerVoter: u32 & AugmentedConst<ApiType>;
639-
/**
640-
* Identifier for the elections-phragmen pallet's lock
641-
**/
642-
palletId: U8aFixed & AugmentedConst<ApiType>;
643-
/**
644-
* How long each seat is kept. This defines the next block number at which an election
645-
* round will happen. If set to zero, no elections are ever triggered and the module will
646-
* be in passive mode.
647-
**/
648-
termDuration: u32 & AugmentedConst<ApiType>;
649-
/**
650-
* Base deposit associated with voting.
651-
*
652-
* This should be sensibly high to economically ensure the pallet cannot be attacked by
653-
* creating a gigantic number of votes.
654-
**/
655-
votingBondBase: u128 & AugmentedConst<ApiType>;
656-
/**
657-
* The amount of bond that need to be locked for each vote (32 bytes).
658-
**/
659-
votingBondFactor: u128 & AugmentedConst<ApiType>;
660-
/**
661-
* Generic const
662-
**/
663-
[key: string]: Codec;
664-
};
665552
proxy: {
666553
/**
667554
* The base amount of currency needed to reserve for creating an announcement.
@@ -976,34 +863,6 @@ declare module 'https://deno.land/x/polkadot@0.2.32/api-base/types/consts.ts' {
976863
**/
977864
[key: string]: Codec;
978865
};
979-
tips: {
980-
/**
981-
* The amount held on deposit per byte within the tip report reason or bounty description.
982-
**/
983-
dataDepositPerByte: u128 & AugmentedConst<ApiType>;
984-
/**
985-
* Maximum acceptable reason length.
986-
*
987-
* Benchmarks depend on this value, be sure to update weights file when changing this value
988-
**/
989-
maximumReasonLength: u32 & AugmentedConst<ApiType>;
990-
/**
991-
* The period for which a tip remains open after is has achieved threshold tippers.
992-
**/
993-
tipCountdown: u32 & AugmentedConst<ApiType>;
994-
/**
995-
* The percent of the final tip which goes to the original reporter of the tip.
996-
**/
997-
tipFindersFee: Percent & AugmentedConst<ApiType>;
998-
/**
999-
* The amount held on deposit for placing a tip report.
1000-
**/
1001-
tipReportDepositBase: u128 & AugmentedConst<ApiType>;
1002-
/**
1003-
* Generic const
1004-
**/
1005-
[key: string]: Codec;
1006-
};
1007866
transactionPayment: {
1008867
/**
1009868
* A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their

0 commit comments

Comments
 (0)