@dedot/chaintypes 0.0.1-next.f5bf4fc2.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/aleph/consts.d.ts +94 -13
- package/aleph/errors.d.ts +251 -182
- package/aleph/events.d.ts +319 -102
- package/aleph/index.d.ts +16 -11
- package/aleph/json-rpc.d.ts +76 -0
- package/aleph/query.d.ts +261 -168
- package/aleph/runtime.d.ts +90 -39
- package/aleph/tx.d.ts +1822 -1052
- package/aleph/types.d.ts +458 -138
- package/astar/consts.d.ts +112 -116
- package/astar/errors.d.ts +342 -409
- package/astar/events.d.ts +449 -358
- package/astar/index.d.ts +16 -11
- package/astar/json-rpc.d.ts +131 -0
- package/astar/query.d.ts +459 -367
- package/astar/runtime.d.ts +591 -98
- package/astar/tx.d.ts +2485 -3430
- package/astar/types.d.ts +1530 -4436
- package/index.d.ts +3 -0
- package/index.ts +3 -0
- package/kusama/consts.d.ts +54 -115
- package/kusama/errors.d.ts +696 -682
- package/kusama/events.d.ts +592 -407
- package/kusama/index.d.ts +16 -11
- package/kusama/json-rpc.d.ts +103 -0
- package/kusama/query.d.ts +840 -538
- package/kusama/runtime.d.ts +136 -65
- package/kusama/tx.d.ts +4557 -3051
- package/kusama/types.d.ts +1437 -1161
- package/kusamaAssetHub/consts.d.ts +66 -20
- package/kusamaAssetHub/errors.d.ts +428 -308
- package/kusamaAssetHub/events.d.ts +497 -305
- package/kusamaAssetHub/index.d.ts +16 -11
- package/kusamaAssetHub/json-rpc.d.ts +89 -0
- package/kusamaAssetHub/query.d.ts +376 -253
- package/kusamaAssetHub/runtime.d.ts +82 -41
- package/kusamaAssetHub/tx.d.ts +3264 -1955
- package/kusamaAssetHub/types.d.ts +1262 -726
- package/moonbeam/consts.d.ts +115 -170
- package/moonbeam/errors.d.ts +564 -787
- package/moonbeam/events.d.ts +583 -746
- package/moonbeam/index.d.ts +16 -11
- package/moonbeam/json-rpc.d.ts +137 -0
- package/moonbeam/query.d.ts +507 -607
- package/moonbeam/runtime.d.ts +132 -47
- package/moonbeam/tx.d.ts +3309 -3268
- package/moonbeam/types.d.ts +1484 -1375
- package/package.json +4 -14
- package/paseo/consts.d.ts +1331 -0
- package/paseo/errors.d.ts +2644 -0
- package/paseo/events.d.ts +2821 -0
- package/paseo/index.d.ts +27 -0
- package/paseo/json-rpc.d.ts +103 -0
- package/paseo/query.d.ts +3709 -0
- package/paseo/runtime.d.ts +1205 -0
- package/paseo/tx.d.ts +8024 -0
- package/paseo/types.d.ts +10194 -0
- package/polkadot/consts.d.ts +95 -50
- package/polkadot/errors.d.ts +619 -468
- package/polkadot/events.d.ts +582 -257
- package/polkadot/index.d.ts +16 -11
- package/polkadot/json-rpc.d.ts +103 -0
- package/polkadot/query.d.ts +770 -399
- package/polkadot/runtime.d.ts +136 -65
- package/polkadot/tx.d.ts +4268 -2368
- package/polkadot/types.d.ts +1570 -745
- package/polkadotAssetHub/consts.d.ts +154 -15
- package/polkadotAssetHub/errors.d.ts +615 -234
- package/polkadotAssetHub/events.d.ts +829 -270
- package/polkadotAssetHub/index.d.ts +16 -11
- package/polkadotAssetHub/json-rpc.d.ts +89 -0
- package/polkadotAssetHub/query.d.ts +438 -243
- package/polkadotAssetHub/runtime.d.ts +147 -40
- package/polkadotAssetHub/tx.d.ts +3747 -1643
- package/polkadotAssetHub/types.d.ts +2096 -806
- package/rococo/consts.d.ts +51 -32
- package/rococo/errors.d.ts +549 -605
- package/rococo/events.d.ts +447 -238
- package/rococo/index.d.ts +16 -11
- package/rococo/json-rpc.d.ts +103 -0
- package/rococo/query.d.ts +724 -426
- package/rococo/runtime.d.ts +366 -144
- package/rococo/tx.d.ts +6850 -3079
- package/rococo/types.d.ts +5959 -1619
- package/rococoAssetHub/consts.d.ts +92 -7
- package/rococoAssetHub/errors.d.ts +381 -285
- package/rococoAssetHub/events.d.ts +461 -140
- package/rococoAssetHub/index.d.ts +16 -11
- package/rococoAssetHub/json-rpc.d.ts +89 -0
- package/rococoAssetHub/query.d.ts +487 -174
- package/rococoAssetHub/runtime.d.ts +235 -51
- package/rococoAssetHub/tx.d.ts +6005 -2163
- package/rococoAssetHub/types.d.ts +6683 -1003
- package/substrate/consts.d.ts +233 -52
- package/substrate/errors.d.ts +966 -781
- package/substrate/events.d.ts +1226 -381
- package/substrate/index.d.ts +16 -11
- package/substrate/json-rpc.d.ts +103 -0
- package/substrate/query.d.ts +1090 -460
- package/substrate/runtime.d.ts +274 -71
- package/substrate/tx.d.ts +12313 -4510
- package/substrate/types.d.ts +11036 -1432
- package/westend/consts.d.ts +1349 -0
- package/westend/errors.d.ts +2736 -0
- package/westend/events.d.ts +2906 -0
- package/westend/index.d.ts +27 -0
- package/westend/json-rpc.d.ts +103 -0
- package/westend/query.d.ts +3855 -0
- package/westend/runtime.d.ts +1437 -0
- package/westend/tx.d.ts +10248 -0
- package/westend/types.d.ts +14769 -0
- package/westendAssetHub/consts.d.ts +126 -7
- package/westendAssetHub/errors.d.ts +426 -285
- package/westendAssetHub/events.d.ts +498 -140
- package/westendAssetHub/index.d.ts +16 -11
- package/westendAssetHub/json-rpc.d.ts +89 -0
- package/westendAssetHub/query.d.ts +526 -174
- package/westendAssetHub/runtime.d.ts +245 -56
- package/westendAssetHub/tx.d.ts +6196 -2166
- package/westendAssetHub/types.d.ts +6913 -1002
- package/westendPeople/consts.d.ts +434 -0
- package/westendPeople/errors.d.ts +769 -0
- package/westendPeople/events.d.ts +1082 -0
- package/westendPeople/index.d.ts +27 -0
- package/westendPeople/json-rpc.d.ts +89 -0
- package/westendPeople/query.d.ts +1209 -0
- package/westendPeople/runtime.d.ts +636 -0
- package/westendPeople/tx.d.ts +2891 -0
- package/westendPeople/types.d.ts +4984 -0
- package/aleph/rpc.d.ts +0 -727
- package/astar/rpc.d.ts +0 -974
- package/kusama/rpc.d.ts +0 -904
- package/kusamaAssetHub/rpc.d.ts +0 -746
- package/moonbeam/rpc.d.ts +0 -1015
- package/packageInfo.d.ts +0 -4
- package/packageInfo.js +0 -2
- package/packageInfo.ts +0 -3
- package/polkadot/rpc.d.ts +0 -904
- package/polkadotAssetHub/rpc.d.ts +0 -746
- package/rococo/rpc.d.ts +0 -904
- package/rococoAssetHub/rpc.d.ts +0 -746
- package/substrate/rpc.d.ts +0 -894
- package/westendAssetHub/rpc.d.ts +0 -746
package/substrate/consts.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainConsts } from '
|
|
4
|
-
import type { RuntimeVersion, Perbill, FixedBytes, Permill, Percent, Perquintill, Bytes } from '
|
|
3
|
+
import type { GenericChainConsts, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { RuntimeVersion, Perbill, FixedBytes, Permill, Percent, Perquintill, Bytes } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
7
7
|
FrameSystemLimitsBlockLength,
|
|
@@ -10,11 +10,13 @@ import type {
|
|
|
10
10
|
FrameSupportPalletId,
|
|
11
11
|
PalletContractsSchedule,
|
|
12
12
|
PalletContractsEnvironment,
|
|
13
|
+
PalletContractsApiVersion,
|
|
13
14
|
PalletNftsBitFlagsPalletFeature,
|
|
14
15
|
PalletReferendaTrackInfo,
|
|
16
|
+
FrameSupportTokensFungibleUnionOfNativeOrWithId,
|
|
15
17
|
} from './types';
|
|
16
18
|
|
|
17
|
-
export interface ChainConsts extends GenericChainConsts {
|
|
19
|
+
export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
|
|
18
20
|
/**
|
|
19
21
|
* Pallet `System`'s constants
|
|
20
22
|
**/
|
|
@@ -40,7 +42,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
40
42
|
dbWeight: SpWeightsRuntimeDbWeight;
|
|
41
43
|
|
|
42
44
|
/**
|
|
43
|
-
* Get the chain's
|
|
45
|
+
* Get the chain's in-code version.
|
|
44
46
|
**/
|
|
45
47
|
version: RuntimeVersion;
|
|
46
48
|
|
|
@@ -112,10 +114,12 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
112
114
|
**/
|
|
113
115
|
timestamp: {
|
|
114
116
|
/**
|
|
115
|
-
* The minimum period between blocks.
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
117
|
+
* The minimum period between blocks.
|
|
118
|
+
*
|
|
119
|
+
* Be aware that this is different to the *expected* period that the block production
|
|
120
|
+
* apparatus provides. Your chosen consensus system will generally work with this to
|
|
121
|
+
* determine a sensible block time. For example, in the Aura pallet it will be double this
|
|
122
|
+
* period on default settings.
|
|
119
123
|
**/
|
|
120
124
|
minimumPeriod: bigint;
|
|
121
125
|
|
|
@@ -174,11 +178,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
174
178
|
**/
|
|
175
179
|
maxReserves: number;
|
|
176
180
|
|
|
177
|
-
/**
|
|
178
|
-
* The maximum number of holds that can exist on an account at any time.
|
|
179
|
-
**/
|
|
180
|
-
maxHolds: number;
|
|
181
|
-
|
|
182
181
|
/**
|
|
183
182
|
* The maximum number of individual freeze locks that can exist on an account at any time.
|
|
184
183
|
**/
|
|
@@ -194,10 +193,10 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
194
193
|
**/
|
|
195
194
|
transactionPayment: {
|
|
196
195
|
/**
|
|
197
|
-
* A fee
|
|
196
|
+
* A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
|
|
198
197
|
* `priority`
|
|
199
198
|
*
|
|
200
|
-
* This value is
|
|
199
|
+
* This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
|
|
201
200
|
* added to a tip component in regular `priority` calculations.
|
|
202
201
|
* It means that a `Normal` transaction can front-run a similarly-sized `Operational`
|
|
203
202
|
* extrinsic (with no tip), by including a tip value greater than the virtual tip.
|
|
@@ -261,12 +260,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
261
260
|
**/
|
|
262
261
|
betterSignedThreshold: Perbill;
|
|
263
262
|
|
|
264
|
-
/**
|
|
265
|
-
* The minimum amount of improvement to the solution score that defines a solution as
|
|
266
|
-
* "better" in the Unsigned phase.
|
|
267
|
-
**/
|
|
268
|
-
betterUnsignedThreshold: Perbill;
|
|
269
|
-
|
|
270
263
|
/**
|
|
271
264
|
* The repeat threshold of the offchain worker.
|
|
272
265
|
*
|
|
@@ -310,11 +303,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
310
303
|
**/
|
|
311
304
|
signedRewardBase: bigint;
|
|
312
305
|
|
|
313
|
-
/**
|
|
314
|
-
* Base deposit for a signed solution.
|
|
315
|
-
**/
|
|
316
|
-
signedDepositBase: bigint;
|
|
317
|
-
|
|
318
306
|
/**
|
|
319
307
|
* Per-byte deposit for a signed solution.
|
|
320
308
|
**/
|
|
@@ -352,8 +340,8 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
352
340
|
* Following information is kept for eras in `[current_era -
|
|
353
341
|
* HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
|
|
354
342
|
* `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
|
|
355
|
-
* `ErasTotalStake`, `ErasStartSessionIndex`,
|
|
356
|
-
* `
|
|
343
|
+
* `ErasTotalStake`, `ErasStartSessionIndex`, `ClaimedRewards`, `ErasStakersPaged`,
|
|
344
|
+
* `ErasStakersOverview`.
|
|
357
345
|
*
|
|
358
346
|
* Must be more than the number of eras delayed by session.
|
|
359
347
|
* I.e. active era must always be in history. I.e. `active_era >
|
|
@@ -363,7 +351,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
363
351
|
* this should be set to same value or greater as in storage.
|
|
364
352
|
*
|
|
365
353
|
* Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
|
|
366
|
-
* item `StakingLedger.
|
|
354
|
+
* item `StakingLedger.legacy_claimed_rewards`. Setting this value lower than
|
|
367
355
|
* the existing value can lead to inconsistencies in the
|
|
368
356
|
* `StakingLedger` and will need to be handled properly in a migration.
|
|
369
357
|
* The test `reducing_history_depth_abrupt` shows this effect.
|
|
@@ -389,12 +377,19 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
389
377
|
slashDeferDuration: number;
|
|
390
378
|
|
|
391
379
|
/**
|
|
392
|
-
* The maximum
|
|
380
|
+
* The maximum size of each `T::ExposurePage`.
|
|
381
|
+
*
|
|
382
|
+
* An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
|
|
383
|
+
* nominators.
|
|
384
|
+
*
|
|
385
|
+
* For older non-paged exposure, a reward payout was restricted to the top
|
|
386
|
+
* `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
|
|
387
|
+
* nominator payout.
|
|
393
388
|
*
|
|
394
|
-
*
|
|
395
|
-
*
|
|
389
|
+
* Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce
|
|
390
|
+
* without handling it in a migration.
|
|
396
391
|
**/
|
|
397
|
-
|
|
392
|
+
maxExposurePageSize: number;
|
|
398
393
|
|
|
399
394
|
/**
|
|
400
395
|
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
|
|
@@ -690,6 +685,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
690
685
|
**/
|
|
691
686
|
maxApprovals: number;
|
|
692
687
|
|
|
688
|
+
/**
|
|
689
|
+
* The period during which an approved treasury spend has to be claimed.
|
|
690
|
+
**/
|
|
691
|
+
payoutPeriod: number;
|
|
692
|
+
|
|
693
693
|
/**
|
|
694
694
|
* Generic pallet constant
|
|
695
695
|
**/
|
|
@@ -738,7 +738,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
738
738
|
|
|
739
739
|
/**
|
|
740
740
|
* The percentage of the storage deposit that should be held for using a code hash.
|
|
741
|
-
* Instantiating a contract, or calling [`chain_extension::Ext::
|
|
741
|
+
* Instantiating a contract, or calling [`chain_extension::Ext::lock_delegate_dependency`]
|
|
742
742
|
* protects the code from being removed. In order to prevent abuse these actions are
|
|
743
743
|
* protected with a percentage of the code deposit.
|
|
744
744
|
**/
|
|
@@ -760,7 +760,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
760
760
|
|
|
761
761
|
/**
|
|
762
762
|
* The maximum number of delegate_dependencies that a contract can lock with
|
|
763
|
-
* [`chain_extension::Ext::
|
|
763
|
+
* [`chain_extension::Ext::lock_delegate_dependency`].
|
|
764
764
|
**/
|
|
765
765
|
maxDelegateDependencies: number;
|
|
766
766
|
|
|
@@ -790,6 +790,13 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
790
790
|
**/
|
|
791
791
|
environment: PalletContractsEnvironment;
|
|
792
792
|
|
|
793
|
+
/**
|
|
794
|
+
* The version of the HostFn APIs that are available in the runtime.
|
|
795
|
+
*
|
|
796
|
+
* Only valid value is `()`.
|
|
797
|
+
**/
|
|
798
|
+
apiVersion: PalletContractsApiVersion;
|
|
799
|
+
|
|
793
800
|
/**
|
|
794
801
|
* Generic pallet constant
|
|
795
802
|
**/
|
|
@@ -862,14 +869,14 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
862
869
|
**/
|
|
863
870
|
identity: {
|
|
864
871
|
/**
|
|
865
|
-
* The amount held on deposit for a registered identity
|
|
872
|
+
* The amount held on deposit for a registered identity.
|
|
866
873
|
**/
|
|
867
874
|
basicDeposit: bigint;
|
|
868
875
|
|
|
869
876
|
/**
|
|
870
|
-
* The amount held on deposit per
|
|
877
|
+
* The amount held on deposit per encoded byte for a registered identity.
|
|
871
878
|
**/
|
|
872
|
-
|
|
879
|
+
byteDeposit: bigint;
|
|
873
880
|
|
|
874
881
|
/**
|
|
875
882
|
* The amount held on deposit for a registered subaccount. This should account for the fact
|
|
@@ -883,18 +890,27 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
883
890
|
**/
|
|
884
891
|
maxSubAccounts: number;
|
|
885
892
|
|
|
886
|
-
/**
|
|
887
|
-
* Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
|
|
888
|
-
* required to access an identity, but can be pretty high.
|
|
889
|
-
**/
|
|
890
|
-
maxAdditionalFields: number;
|
|
891
|
-
|
|
892
893
|
/**
|
|
893
894
|
* Maxmimum number of registrars allowed in the system. Needed to bound the complexity
|
|
894
895
|
* of, e.g., updating judgements.
|
|
895
896
|
**/
|
|
896
897
|
maxRegistrars: number;
|
|
897
898
|
|
|
899
|
+
/**
|
|
900
|
+
* The number of blocks within which a username grant must be accepted.
|
|
901
|
+
**/
|
|
902
|
+
pendingUsernameExpiration: number;
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* The maximum length of a suffix.
|
|
906
|
+
**/
|
|
907
|
+
maxSuffixLength: number;
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* The maximum length of a username, including its suffix and any system-added delimiters.
|
|
911
|
+
**/
|
|
912
|
+
maxUsernameLength: number;
|
|
913
|
+
|
|
898
914
|
/**
|
|
899
915
|
* Generic pallet constant
|
|
900
916
|
**/
|
|
@@ -1228,10 +1244,15 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1228
1244
|
tipFindersFee: Percent;
|
|
1229
1245
|
|
|
1230
1246
|
/**
|
|
1231
|
-
* The amount held on deposit for placing a tip report.
|
|
1247
|
+
* The non-zero amount held on deposit for placing a tip report.
|
|
1232
1248
|
**/
|
|
1233
1249
|
tipReportDepositBase: bigint;
|
|
1234
1250
|
|
|
1251
|
+
/**
|
|
1252
|
+
* The maximum amount for a single tip.
|
|
1253
|
+
**/
|
|
1254
|
+
maxTipAmount: bigint;
|
|
1255
|
+
|
|
1235
1256
|
/**
|
|
1236
1257
|
* Generic pallet constant
|
|
1237
1258
|
**/
|
|
@@ -1333,6 +1354,35 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1333
1354
|
**/
|
|
1334
1355
|
[name: string]: any;
|
|
1335
1356
|
};
|
|
1357
|
+
/**
|
|
1358
|
+
* Pallet `Beefy`'s constants
|
|
1359
|
+
**/
|
|
1360
|
+
beefy: {
|
|
1361
|
+
/**
|
|
1362
|
+
* The maximum number of authorities that can be added.
|
|
1363
|
+
**/
|
|
1364
|
+
maxAuthorities: number;
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* The maximum number of nominators for each validator.
|
|
1368
|
+
**/
|
|
1369
|
+
maxNominators: number;
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* The maximum number of entries to keep in the set id to session index mapping.
|
|
1373
|
+
*
|
|
1374
|
+
* Since the `SetIdSession` map is only used for validating equivocations this
|
|
1375
|
+
* value should relate to the bonding duration of whatever staking system is
|
|
1376
|
+
* being used (if any). If equivocation handling is not enabled then this value
|
|
1377
|
+
* can be zero.
|
|
1378
|
+
**/
|
|
1379
|
+
maxSetIdSessionEntries: bigint;
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* Generic pallet constant
|
|
1383
|
+
**/
|
|
1384
|
+
[name: string]: any;
|
|
1385
|
+
};
|
|
1336
1386
|
/**
|
|
1337
1387
|
* Pallet `Mmr`'s constants
|
|
1338
1388
|
**/
|
|
@@ -1342,6 +1392,15 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1342
1392
|
**/
|
|
1343
1393
|
[name: string]: any;
|
|
1344
1394
|
};
|
|
1395
|
+
/**
|
|
1396
|
+
* Pallet `MmrLeaf`'s constants
|
|
1397
|
+
**/
|
|
1398
|
+
mmrLeaf: {
|
|
1399
|
+
/**
|
|
1400
|
+
* Generic pallet constant
|
|
1401
|
+
**/
|
|
1402
|
+
[name: string]: any;
|
|
1403
|
+
};
|
|
1345
1404
|
/**
|
|
1346
1405
|
* Pallet `Lottery`'s constants
|
|
1347
1406
|
**/
|
|
@@ -1746,7 +1805,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1746
1805
|
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
|
|
1747
1806
|
*
|
|
1748
1807
|
* For more info see
|
|
1749
|
-
* <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>
|
|
1808
|
+
* <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
|
|
1750
1809
|
**/
|
|
1751
1810
|
maxKeyLen: number;
|
|
1752
1811
|
|
|
@@ -1936,6 +1995,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1936
1995
|
**/
|
|
1937
1996
|
maxPointsToBalance: number;
|
|
1938
1997
|
|
|
1998
|
+
/**
|
|
1999
|
+
* The maximum number of simultaneous unbonding chunks that can exist per member.
|
|
2000
|
+
**/
|
|
2001
|
+
maxUnbonding: number;
|
|
2002
|
+
|
|
1939
2003
|
/**
|
|
1940
2004
|
* Generic pallet constant
|
|
1941
2005
|
**/
|
|
@@ -2001,6 +2065,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
2001
2065
|
**/
|
|
2002
2066
|
poolSetupFee: bigint;
|
|
2003
2067
|
|
|
2068
|
+
/**
|
|
2069
|
+
* Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
|
|
2070
|
+
**/
|
|
2071
|
+
poolSetupFeeAsset: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
2072
|
+
|
|
2004
2073
|
/**
|
|
2005
2074
|
* A fee to withdraw the liquidity.
|
|
2006
2075
|
**/
|
|
@@ -2021,11 +2090,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
2021
2090
|
**/
|
|
2022
2091
|
palletId: FrameSupportPalletId;
|
|
2023
2092
|
|
|
2024
|
-
/**
|
|
2025
|
-
* A setting to allow creating pools with both non-native assets.
|
|
2026
|
-
**/
|
|
2027
|
-
allowMultiAssetPools: boolean;
|
|
2028
|
-
|
|
2029
2093
|
/**
|
|
2030
2094
|
* Generic pallet constant
|
|
2031
2095
|
**/
|
|
@@ -2191,6 +2255,31 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
2191
2255
|
**/
|
|
2192
2256
|
[name: string]: any;
|
|
2193
2257
|
};
|
|
2258
|
+
/**
|
|
2259
|
+
* Pallet `MultiBlockMigrations`'s constants
|
|
2260
|
+
**/
|
|
2261
|
+
multiBlockMigrations: {
|
|
2262
|
+
/**
|
|
2263
|
+
* The maximal length of an encoded cursor.
|
|
2264
|
+
*
|
|
2265
|
+
* A good default needs to selected such that no migration will ever have a cursor with MEL
|
|
2266
|
+
* above this limit. This is statically checked in `integrity_test`.
|
|
2267
|
+
**/
|
|
2268
|
+
cursorMaxLen: number;
|
|
2269
|
+
|
|
2270
|
+
/**
|
|
2271
|
+
* The maximal length of an encoded identifier.
|
|
2272
|
+
*
|
|
2273
|
+
* A good default needs to selected such that no migration will ever have an identifier
|
|
2274
|
+
* with MEL above this limit. This is statically checked in `integrity_test`.
|
|
2275
|
+
**/
|
|
2276
|
+
identifierMaxLen: number;
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* Generic pallet constant
|
|
2280
|
+
**/
|
|
2281
|
+
[name: string]: any;
|
|
2282
|
+
};
|
|
2194
2283
|
/**
|
|
2195
2284
|
* Pallet `Broker`'s constants
|
|
2196
2285
|
**/
|
|
@@ -2220,4 +2309,96 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
2220
2309
|
**/
|
|
2221
2310
|
[name: string]: any;
|
|
2222
2311
|
};
|
|
2312
|
+
/**
|
|
2313
|
+
* Pallet `TasksExample`'s constants
|
|
2314
|
+
**/
|
|
2315
|
+
tasksExample: {
|
|
2316
|
+
/**
|
|
2317
|
+
* Generic pallet constant
|
|
2318
|
+
**/
|
|
2319
|
+
[name: string]: any;
|
|
2320
|
+
};
|
|
2321
|
+
/**
|
|
2322
|
+
* Pallet `Mixnet`'s constants
|
|
2323
|
+
**/
|
|
2324
|
+
mixnet: {
|
|
2325
|
+
/**
|
|
2326
|
+
* The maximum number of authorities per session.
|
|
2327
|
+
**/
|
|
2328
|
+
maxAuthorities: number;
|
|
2329
|
+
|
|
2330
|
+
/**
|
|
2331
|
+
* The maximum size of one of a mixnode's external addresses.
|
|
2332
|
+
**/
|
|
2333
|
+
maxExternalAddressSize: number;
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
* The maximum number of external addresses for a mixnode.
|
|
2337
|
+
**/
|
|
2338
|
+
maxExternalAddressesPerMixnode: number;
|
|
2339
|
+
|
|
2340
|
+
/**
|
|
2341
|
+
* Length of the first phase of each session (`CoverToCurrent`), in blocks.
|
|
2342
|
+
**/
|
|
2343
|
+
numCoverToCurrentBlocks: number;
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* Length of the second phase of each session (`RequestsToCurrent`), in blocks.
|
|
2347
|
+
**/
|
|
2348
|
+
numRequestsToCurrentBlocks: number;
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
* Length of the third phase of each session (`CoverToPrev`), in blocks.
|
|
2352
|
+
**/
|
|
2353
|
+
numCoverToPrevBlocks: number;
|
|
2354
|
+
|
|
2355
|
+
/**
|
|
2356
|
+
* The number of "slack" blocks at the start of each session, during which
|
|
2357
|
+
* [`maybe_register`](Pallet::maybe_register) will not attempt to post registration
|
|
2358
|
+
* transactions.
|
|
2359
|
+
**/
|
|
2360
|
+
numRegisterStartSlackBlocks: number;
|
|
2361
|
+
|
|
2362
|
+
/**
|
|
2363
|
+
* The number of "slack" blocks at the end of each session.
|
|
2364
|
+
* [`maybe_register`](Pallet::maybe_register) will try to register before this slack
|
|
2365
|
+
* period, but may post registration transactions during the slack period as a last
|
|
2366
|
+
* resort.
|
|
2367
|
+
**/
|
|
2368
|
+
numRegisterEndSlackBlocks: number;
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* Priority of unsigned transactions used to register mixnodes.
|
|
2372
|
+
**/
|
|
2373
|
+
registrationPriority: bigint;
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* Minimum number of mixnodes. If there are fewer than this many mixnodes registered for a
|
|
2377
|
+
* session, the mixnet will not be active during the session.
|
|
2378
|
+
**/
|
|
2379
|
+
minMixnodes: number;
|
|
2380
|
+
|
|
2381
|
+
/**
|
|
2382
|
+
* Generic pallet constant
|
|
2383
|
+
**/
|
|
2384
|
+
[name: string]: any;
|
|
2385
|
+
};
|
|
2386
|
+
/**
|
|
2387
|
+
* Pallet `Parameters`'s constants
|
|
2388
|
+
**/
|
|
2389
|
+
parameters: {
|
|
2390
|
+
/**
|
|
2391
|
+
* Generic pallet constant
|
|
2392
|
+
**/
|
|
2393
|
+
[name: string]: any;
|
|
2394
|
+
};
|
|
2395
|
+
/**
|
|
2396
|
+
* Pallet `SkipFeelessPayment`'s constants
|
|
2397
|
+
**/
|
|
2398
|
+
skipFeelessPayment: {
|
|
2399
|
+
/**
|
|
2400
|
+
* Generic pallet constant
|
|
2401
|
+
**/
|
|
2402
|
+
[name: string]: any;
|
|
2403
|
+
};
|
|
2223
2404
|
}
|