Skip to content

Commit 6558fbe

Browse files
api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 16.3.1
1 parent 850a086 commit 6558fbe

Some content is hidden

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

47 files changed

+2131
-520
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} 16.3.1
56
- hw-{ledger, ledger-transports}, keyring, networks, util, util-crypto, x-{bigint, fetch, global, randomvalues, textdecoder, textencoder, ws} 13.5.3
67
- phishing 0.25.13
78
- api, api-{augment, base, contract, derive}, rpc-{augment, core, provider}, types, types-{augment, codec, create, known} 16.2.2

api-augment/assetHubKusama/consts.ts

Lines changed: 95 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
import 'https://deno.land/x/polkadot/api-base/types/consts.ts';
44

55
import type { ApiTypes, AugmentedConst } from 'https://deno.land/x/polkadot/api-base/types/index.ts';
6-
import type { Bytes, Option, u128, u16, u32, u64, u8 } from 'https://deno.land/x/polkadot/types-codec/mod.ts';
6+
import type { Bytes, Option, bool, u128, u16, u32, u64, u8 } from 'https://deno.land/x/polkadot/types-codec/mod.ts';
77
import type { Codec } from 'https://deno.land/x/polkadot/types-codec/types/index.ts';
8-
import type { Permill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts';
8+
import type { AccountId32, Perbill, Permill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts';
99
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from 'https://deno.land/x/polkadot/types/lookup.ts';
1010

1111
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -131,6 +131,37 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
131131
**/
132132
[key: string]: Codec;
133133
};
134+
collatorSelection: {
135+
kickThreshold: u32 & AugmentedConst<ApiType>;
136+
/**
137+
* Maximum number of candidates that we should have.
138+
*
139+
* This does not take into account the invulnerables.
140+
**/
141+
maxCandidates: u32 & AugmentedConst<ApiType>;
142+
/**
143+
* Maximum number of invulnerables.
144+
**/
145+
maxInvulnerables: u32 & AugmentedConst<ApiType>;
146+
/**
147+
* Minimum number eligible collators. Should always be greater than zero. This includes
148+
* Invulnerable collators. This ensures that there will always be one collator who can
149+
* produce a block.
150+
**/
151+
minEligibleCollators: u32 & AugmentedConst<ApiType>;
152+
/**
153+
* Gets this pallet's derived pot account.
154+
**/
155+
potAccount: AccountId32 & AugmentedConst<ApiType>;
156+
/**
157+
* Account Identifier from which the internal Pot is generated.
158+
**/
159+
potId: FrameSupportPalletId & AugmentedConst<ApiType>;
160+
/**
161+
* Generic const
162+
**/
163+
[key: string]: Codec;
164+
};
134165
foreignAssets: {
135166
/**
136167
* The amount of funds that must be reserved when creating a new approval.
@@ -331,6 +362,17 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
331362
**/
332363
[key: string]: Codec;
333364
};
365+
polkadotXcm: {
366+
/**
367+
* The latest supported version that we advertise. Generally just set it to
368+
* `pallet_xcm::CurrentXcmVersion`.
369+
**/
370+
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
371+
/**
372+
* Generic const
373+
**/
374+
[key: string]: Codec;
375+
};
334376
poolAssets: {
335377
/**
336378
* The amount of funds that must be reserved when creating a new approval.
@@ -412,6 +454,57 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
412454
**/
413455
[key: string]: Codec;
414456
};
457+
revive: {
458+
/**
459+
* The [EIP-155](https://eips.ethereum.org/EIPS/eip-155) chain ID.
460+
*
461+
* This is a unique identifier assigned to each blockchain network,
462+
* preventing replay attacks.
463+
**/
464+
chainId: u64 & AugmentedConst<ApiType>;
465+
/**
466+
* The percentage of the storage deposit that should be held for using a code hash.
467+
* Instantiating a contract, protects the code from being removed. In order to prevent
468+
* abuse these actions are protected with a percentage of the code deposit.
469+
**/
470+
codeHashLockupDepositPercent: Perbill & AugmentedConst<ApiType>;
471+
/**
472+
* The amount of balance a caller has to pay for each byte of storage.
473+
*
474+
* # Note
475+
*
476+
* It is safe to change this value on a live chain as all refunds are pro rata.
477+
**/
478+
depositPerByte: u128 & AugmentedConst<ApiType>;
479+
/**
480+
* The amount of balance a caller has to pay for each storage item.
481+
*
482+
* # Note
483+
*
484+
* It is safe to change this value on a live chain as all refunds are pro rata.
485+
**/
486+
depositPerItem: u128 & AugmentedConst<ApiType>;
487+
/**
488+
* The ratio between the decimal representation of the native token and the ETH token.
489+
**/
490+
nativeToEthRatio: u32 & AugmentedConst<ApiType>;
491+
/**
492+
* Make contract callable functions marked as `#[unstable]` available.
493+
*
494+
* Contracts that use `#[unstable]` functions won't be able to be uploaded unless
495+
* this is set to `true`. This is only meant for testnets and dev nodes in order to
496+
* experiment with new features.
497+
*
498+
* # Warning
499+
*
500+
* Do **not** set to `true` on productions chains.
501+
**/
502+
unsafeUnstableInterface: bool & AugmentedConst<ApiType>;
503+
/**
504+
* Generic const
505+
**/
506+
[key: string]: Codec;
507+
};
415508
stateTrieMigration: {
416509
/**
417510
* Maximal number of bytes that a key can have.

0 commit comments

Comments
 (0)