|
3 | 3 | import 'https://deno.land/x/polkadot/api-base/types/consts.ts';
|
4 | 4 |
|
5 | 5 | 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'; |
7 | 7 | 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'; |
9 | 9 | import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from 'https://deno.land/x/polkadot/types/lookup.ts';
|
10 | 10 |
|
11 | 11 | export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
@@ -131,6 +131,37 @@ declare module 'https://deno.land/x/polkadot/api-base/types/consts.ts' {
|
131 | 131 | **/
|
132 | 132 | [key: string]: Codec;
|
133 | 133 | };
|
| 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 | + }; |
134 | 165 | foreignAssets: {
|
135 | 166 | /**
|
136 | 167 | * 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' {
|
331 | 362 | **/
|
332 | 363 | [key: string]: Codec;
|
333 | 364 | };
|
| 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 | + }; |
334 | 376 | poolAssets: {
|
335 | 377 | /**
|
336 | 378 | * 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' {
|
412 | 454 | **/
|
413 | 455 | [key: string]: Codec;
|
414 | 456 | };
|
| 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 | + }; |
415 | 508 | stateTrieMigration: {
|
416 | 509 | /**
|
417 | 510 | * Maximal number of bytes that a key can have.
|
|
0 commit comments