@dedot/chaintypes 0.0.1-alpha.22
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/LICENSE +201 -0
- package/README.md +3 -0
- package/aleph/consts.d.ts +533 -0
- package/aleph/consts.js +2 -0
- package/aleph/errors.d.ts +822 -0
- package/aleph/errors.js +2 -0
- package/aleph/events.d.ts +997 -0
- package/aleph/events.js +2 -0
- package/aleph/index.d.ts +19 -0
- package/aleph/index.js +3 -0
- package/aleph/query.d.ts +1271 -0
- package/aleph/query.js +2 -0
- package/aleph/rpc.d.ts +575 -0
- package/aleph/rpc.js +2 -0
- package/aleph/runtime.d.ts +410 -0
- package/aleph/runtime.js +2 -0
- package/aleph/tx.d.ts +2206 -0
- package/aleph/tx.js +2 -0
- package/aleph/types.d.ts +5560 -0
- package/aleph/types.js +2 -0
- package/astar/consts.d.ts +679 -0
- package/astar/consts.js +2 -0
- package/astar/errors.d.ts +1317 -0
- package/astar/errors.js +2 -0
- package/astar/events.d.ts +1707 -0
- package/astar/events.js +2 -0
- package/astar/index.d.ts +19 -0
- package/astar/index.js +3 -0
- package/astar/query.d.ts +1474 -0
- package/astar/query.js +2 -0
- package/astar/rpc.d.ts +775 -0
- package/astar/rpc.js +2 -0
- package/astar/runtime.d.ts +262 -0
- package/astar/runtime.js +2 -0
- package/astar/tx.d.ts +4810 -0
- package/astar/tx.js +2 -0
- package/astar/types.d.ts +12338 -0
- package/astar/types.js +2 -0
- package/cjs/aleph/consts.js +3 -0
- package/cjs/aleph/errors.js +3 -0
- package/cjs/aleph/events.js +3 -0
- package/cjs/aleph/index.js +19 -0
- package/cjs/aleph/query.js +3 -0
- package/cjs/aleph/rpc.js +3 -0
- package/cjs/aleph/runtime.js +3 -0
- package/cjs/aleph/tx.js +3 -0
- package/cjs/aleph/types.js +3 -0
- package/cjs/astar/consts.js +3 -0
- package/cjs/astar/errors.js +3 -0
- package/cjs/astar/events.js +3 -0
- package/cjs/astar/index.js +19 -0
- package/cjs/astar/query.js +3 -0
- package/cjs/astar/rpc.js +3 -0
- package/cjs/astar/runtime.js +3 -0
- package/cjs/astar/tx.js +3 -0
- package/cjs/astar/types.js +3 -0
- package/cjs/index.js +2 -0
- package/cjs/kusama/consts.js +3 -0
- package/cjs/kusama/errors.js +3 -0
- package/cjs/kusama/events.js +3 -0
- package/cjs/kusama/index.js +19 -0
- package/cjs/kusama/query.js +3 -0
- package/cjs/kusama/rpc.js +3 -0
- package/cjs/kusama/runtime.js +3 -0
- package/cjs/kusama/tx.js +3 -0
- package/cjs/kusama/types.js +3 -0
- package/cjs/kusamaAssetHub/consts.js +3 -0
- package/cjs/kusamaAssetHub/errors.js +3 -0
- package/cjs/kusamaAssetHub/events.js +3 -0
- package/cjs/kusamaAssetHub/index.js +19 -0
- package/cjs/kusamaAssetHub/query.js +3 -0
- package/cjs/kusamaAssetHub/rpc.js +3 -0
- package/cjs/kusamaAssetHub/runtime.js +3 -0
- package/cjs/kusamaAssetHub/tx.js +3 -0
- package/cjs/kusamaAssetHub/types.js +3 -0
- package/cjs/moonbeam/consts.js +3 -0
- package/cjs/moonbeam/errors.js +3 -0
- package/cjs/moonbeam/events.js +3 -0
- package/cjs/moonbeam/index.js +19 -0
- package/cjs/moonbeam/query.js +3 -0
- package/cjs/moonbeam/rpc.js +3 -0
- package/cjs/moonbeam/runtime.js +3 -0
- package/cjs/moonbeam/tx.js +3 -0
- package/cjs/moonbeam/types.js +3 -0
- package/cjs/package.json +1 -0
- package/cjs/packageInfo.js +5 -0
- package/cjs/polkadot/consts.js +3 -0
- package/cjs/polkadot/errors.js +3 -0
- package/cjs/polkadot/events.js +3 -0
- package/cjs/polkadot/index.js +19 -0
- package/cjs/polkadot/query.js +3 -0
- package/cjs/polkadot/rpc.js +3 -0
- package/cjs/polkadot/runtime.js +3 -0
- package/cjs/polkadot/tx.js +3 -0
- package/cjs/polkadot/types.js +3 -0
- package/cjs/polkadotAssetHub/consts.js +3 -0
- package/cjs/polkadotAssetHub/errors.js +3 -0
- package/cjs/polkadotAssetHub/events.js +3 -0
- package/cjs/polkadotAssetHub/index.js +19 -0
- package/cjs/polkadotAssetHub/query.js +3 -0
- package/cjs/polkadotAssetHub/rpc.js +3 -0
- package/cjs/polkadotAssetHub/runtime.js +3 -0
- package/cjs/polkadotAssetHub/tx.js +3 -0
- package/cjs/polkadotAssetHub/types.js +3 -0
- package/cjs/rococoAssetHub/consts.js +3 -0
- package/cjs/rococoAssetHub/errors.js +3 -0
- package/cjs/rococoAssetHub/events.js +3 -0
- package/cjs/rococoAssetHub/index.js +19 -0
- package/cjs/rococoAssetHub/query.js +3 -0
- package/cjs/rococoAssetHub/rpc.js +3 -0
- package/cjs/rococoAssetHub/runtime.js +3 -0
- package/cjs/rococoAssetHub/tx.js +3 -0
- package/cjs/rococoAssetHub/types.js +3 -0
- package/cjs/substrate/consts.js +3 -0
- package/cjs/substrate/errors.js +3 -0
- package/cjs/substrate/events.js +3 -0
- package/cjs/substrate/index.js +19 -0
- package/cjs/substrate/query.js +3 -0
- package/cjs/substrate/rpc.js +3 -0
- package/cjs/substrate/runtime.js +3 -0
- package/cjs/substrate/tx.js +3 -0
- package/cjs/substrate/types.js +3 -0
- package/cjs/westendAssetHub/consts.js +3 -0
- package/cjs/westendAssetHub/errors.js +3 -0
- package/cjs/westendAssetHub/events.js +3 -0
- package/cjs/westendAssetHub/index.js +19 -0
- package/cjs/westendAssetHub/query.js +3 -0
- package/cjs/westendAssetHub/rpc.js +3 -0
- package/cjs/westendAssetHub/runtime.js +3 -0
- package/cjs/westendAssetHub/tx.js +3 -0
- package/cjs/westendAssetHub/types.js +3 -0
- package/index.d.ts +5 -0
- package/index.js +1 -0
- package/kusama/consts.d.ts +1427 -0
- package/kusama/consts.js +2 -0
- package/kusama/errors.d.ts +2494 -0
- package/kusama/errors.js +2 -0
- package/kusama/events.d.ts +2960 -0
- package/kusama/events.js +2 -0
- package/kusama/index.d.ts +19 -0
- package/kusama/index.js +3 -0
- package/kusama/query.d.ts +3251 -0
- package/kusama/query.js +2 -0
- package/kusama/rpc.d.ts +726 -0
- package/kusama/rpc.js +2 -0
- package/kusama/runtime.d.ts +844 -0
- package/kusama/runtime.js +2 -0
- package/kusama/tx.d.ts +6014 -0
- package/kusama/tx.js +2 -0
- package/kusama/types.d.ts +15903 -0
- package/kusama/types.js +2 -0
- package/kusamaAssetHub/consts.d.ts +632 -0
- package/kusamaAssetHub/consts.js +2 -0
- package/kusamaAssetHub/errors.d.ts +1164 -0
- package/kusamaAssetHub/errors.js +2 -0
- package/kusamaAssetHub/events.d.ts +2162 -0
- package/kusamaAssetHub/events.js +2 -0
- package/kusamaAssetHub/index.d.ts +19 -0
- package/kusamaAssetHub/index.js +3 -0
- package/kusamaAssetHub/query.d.ts +1301 -0
- package/kusamaAssetHub/query.js +2 -0
- package/kusamaAssetHub/rpc.d.ts +590 -0
- package/kusamaAssetHub/rpc.js +2 -0
- package/kusamaAssetHub/runtime.d.ts +402 -0
- package/kusamaAssetHub/runtime.js +2 -0
- package/kusamaAssetHub/tx.d.ts +4217 -0
- package/kusamaAssetHub/tx.js +2 -0
- package/kusamaAssetHub/types.d.ts +10418 -0
- package/kusamaAssetHub/types.js +2 -0
- package/moonbeam/consts.d.ts +961 -0
- package/moonbeam/consts.js +2 -0
- package/moonbeam/errors.d.ts +1797 -0
- package/moonbeam/errors.js +2 -0
- package/moonbeam/events.d.ts +2840 -0
- package/moonbeam/events.js +2 -0
- package/moonbeam/index.d.ts +19 -0
- package/moonbeam/index.js +3 -0
- package/moonbeam/query.d.ts +2027 -0
- package/moonbeam/query.js +2 -0
- package/moonbeam/rpc.d.ts +809 -0
- package/moonbeam/rpc.js +2 -0
- package/moonbeam/runtime.d.ts +506 -0
- package/moonbeam/runtime.js +2 -0
- package/moonbeam/tx.d.ts +5205 -0
- package/moonbeam/tx.js +2 -0
- package/moonbeam/types.d.ts +12349 -0
- package/moonbeam/types.js +2 -0
- package/package.json +33 -0
- package/packageInfo.d.ts +4 -0
- package/packageInfo.js +3 -0
- package/polkadot/consts.d.ts +1160 -0
- package/polkadot/consts.js +2 -0
- package/polkadot/errors.d.ts +2020 -0
- package/polkadot/errors.js +2 -0
- package/polkadot/events.d.ts +2235 -0
- package/polkadot/events.js +2 -0
- package/polkadot/index.d.ts +19 -0
- package/polkadot/index.js +3 -0
- package/polkadot/query.d.ts +2811 -0
- package/polkadot/query.js +2 -0
- package/polkadot/rpc.d.ts +726 -0
- package/polkadot/rpc.js +2 -0
- package/polkadot/runtime.d.ts +844 -0
- package/polkadot/runtime.js +2 -0
- package/polkadot/tx.d.ts +5009 -0
- package/polkadot/tx.js +2 -0
- package/polkadot/types.d.ts +13729 -0
- package/polkadot/types.js +2 -0
- package/polkadotAssetHub/consts.d.ts +524 -0
- package/polkadotAssetHub/consts.js +2 -0
- package/polkadotAssetHub/errors.d.ts +925 -0
- package/polkadotAssetHub/errors.js +2 -0
- package/polkadotAssetHub/events.d.ts +1787 -0
- package/polkadotAssetHub/events.js +2 -0
- package/polkadotAssetHub/index.d.ts +19 -0
- package/polkadotAssetHub/index.js +3 -0
- package/polkadotAssetHub/query.d.ts +1222 -0
- package/polkadotAssetHub/query.js +2 -0
- package/polkadotAssetHub/rpc.d.ts +590 -0
- package/polkadotAssetHub/rpc.js +2 -0
- package/polkadotAssetHub/runtime.d.ts +359 -0
- package/polkadotAssetHub/runtime.js +2 -0
- package/polkadotAssetHub/tx.d.ts +3492 -0
- package/polkadotAssetHub/tx.js +2 -0
- package/polkadotAssetHub/types.d.ts +9164 -0
- package/polkadotAssetHub/types.js +2 -0
- package/rococoAssetHub/consts.d.ts +658 -0
- package/rococoAssetHub/consts.js +2 -0
- package/rococoAssetHub/errors.d.ts +1231 -0
- package/rococoAssetHub/errors.js +2 -0
- package/rococoAssetHub/events.d.ts +2172 -0
- package/rococoAssetHub/events.js +2 -0
- package/rococoAssetHub/index.d.ts +19 -0
- package/rococoAssetHub/index.js +3 -0
- package/rococoAssetHub/query.d.ts +1269 -0
- package/rococoAssetHub/query.js +2 -0
- package/rococoAssetHub/rpc.d.ts +590 -0
- package/rococoAssetHub/rpc.js +2 -0
- package/rococoAssetHub/runtime.d.ts +428 -0
- package/rococoAssetHub/runtime.js +2 -0
- package/rococoAssetHub/tx.d.ts +4307 -0
- package/rococoAssetHub/tx.js +2 -0
- package/rococoAssetHub/types.d.ts +11066 -0
- package/rococoAssetHub/types.js +2 -0
- package/substrate/consts.d.ts +1971 -0
- package/substrate/consts.js +2 -0
- package/substrate/errors.d.ts +3337 -0
- package/substrate/errors.js +2 -0
- package/substrate/events.d.ts +4777 -0
- package/substrate/events.js +2 -0
- package/substrate/index.d.ts +19 -0
- package/substrate/index.js +3 -0
- package/substrate/query.d.ts +3350 -0
- package/substrate/query.js +2 -0
- package/substrate/rpc.d.ts +718 -0
- package/substrate/rpc.js +2 -0
- package/substrate/runtime.d.ts +708 -0
- package/substrate/runtime.js +2 -0
- package/substrate/tx.d.ts +8800 -0
- package/substrate/tx.js +2 -0
- package/substrate/types.d.ts +20332 -0
- package/substrate/types.js +2 -0
- package/westendAssetHub/consts.d.ts +658 -0
- package/westendAssetHub/consts.js +2 -0
- package/westendAssetHub/errors.d.ts +1231 -0
- package/westendAssetHub/errors.js +2 -0
- package/westendAssetHub/events.d.ts +2172 -0
- package/westendAssetHub/events.js +2 -0
- package/westendAssetHub/index.d.ts +19 -0
- package/westendAssetHub/index.js +3 -0
- package/westendAssetHub/query.d.ts +1269 -0
- package/westendAssetHub/query.js +2 -0
- package/westendAssetHub/rpc.d.ts +590 -0
- package/westendAssetHub/rpc.js +2 -0
- package/westendAssetHub/runtime.d.ts +456 -0
- package/westendAssetHub/runtime.js +2 -0
- package/westendAssetHub/tx.d.ts +4307 -0
- package/westendAssetHub/tx.js +2 -0
- package/westendAssetHub/types.d.ts +11062 -0
- package/westendAssetHub/types.js +2 -0
|
@@ -0,0 +1,961 @@
|
|
|
1
|
+
import type { GenericChainConsts } from '@dedot/types';
|
|
2
|
+
import type { RuntimeVersion, Permill, Perbill, Bytes } from '@dedot/codecs';
|
|
3
|
+
import type { FrameSystemLimitsBlockWeights, FrameSystemLimitsBlockLength, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, PalletReferendaTrackInfo, FrameSupportPalletId, StagingXcmV3MultilocationMultiLocation } from './types';
|
|
4
|
+
export interface ChainConsts extends GenericChainConsts {
|
|
5
|
+
/**
|
|
6
|
+
* Pallet `System`'s constants
|
|
7
|
+
**/
|
|
8
|
+
system: {
|
|
9
|
+
/**
|
|
10
|
+
* Block & extrinsics weights: base values and limits.
|
|
11
|
+
**/
|
|
12
|
+
blockWeights: FrameSystemLimitsBlockWeights;
|
|
13
|
+
/**
|
|
14
|
+
* The maximum length of a block (in bytes).
|
|
15
|
+
**/
|
|
16
|
+
blockLength: FrameSystemLimitsBlockLength;
|
|
17
|
+
/**
|
|
18
|
+
* Maximum number of block number to block hash mappings to keep (oldest pruned first).
|
|
19
|
+
**/
|
|
20
|
+
blockHashCount: number;
|
|
21
|
+
/**
|
|
22
|
+
* The weight of runtime database operations the runtime can invoke.
|
|
23
|
+
**/
|
|
24
|
+
dbWeight: SpWeightsRuntimeDbWeight;
|
|
25
|
+
/**
|
|
26
|
+
* Get the chain's current version.
|
|
27
|
+
**/
|
|
28
|
+
version: RuntimeVersion;
|
|
29
|
+
/**
|
|
30
|
+
* The designated SS58 prefix of this chain.
|
|
31
|
+
*
|
|
32
|
+
* This replaces the "ss58Format" property declared in the chain spec. Reason is
|
|
33
|
+
* that the runtime should know about the prefix in order to make use of it as
|
|
34
|
+
* an identifier of the chain.
|
|
35
|
+
**/
|
|
36
|
+
ss58Prefix: number;
|
|
37
|
+
/**
|
|
38
|
+
* Generic pallet constant
|
|
39
|
+
**/
|
|
40
|
+
[name: string]: any;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Pallet `ParachainSystem`'s constants
|
|
44
|
+
**/
|
|
45
|
+
parachainSystem: {
|
|
46
|
+
/**
|
|
47
|
+
* Generic pallet constant
|
|
48
|
+
**/
|
|
49
|
+
[name: string]: any;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Pallet `Timestamp`'s constants
|
|
53
|
+
**/
|
|
54
|
+
timestamp: {
|
|
55
|
+
/**
|
|
56
|
+
* The minimum period between blocks.
|
|
57
|
+
*
|
|
58
|
+
* Be aware that this is different to the *expected* period that the block production
|
|
59
|
+
* apparatus provides. Your chosen consensus system will generally work with this to
|
|
60
|
+
* determine a sensible block time. For example, in the Aura pallet it will be double this
|
|
61
|
+
* period on default settings.
|
|
62
|
+
**/
|
|
63
|
+
minimumPeriod: bigint;
|
|
64
|
+
/**
|
|
65
|
+
* Generic pallet constant
|
|
66
|
+
**/
|
|
67
|
+
[name: string]: any;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Pallet `ParachainInfo`'s constants
|
|
71
|
+
**/
|
|
72
|
+
parachainInfo: {
|
|
73
|
+
/**
|
|
74
|
+
* Generic pallet constant
|
|
75
|
+
**/
|
|
76
|
+
[name: string]: any;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Pallet `RootTesting`'s constants
|
|
80
|
+
**/
|
|
81
|
+
rootTesting: {
|
|
82
|
+
/**
|
|
83
|
+
* Generic pallet constant
|
|
84
|
+
**/
|
|
85
|
+
[name: string]: any;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Pallet `Balances`'s constants
|
|
89
|
+
**/
|
|
90
|
+
balances: {
|
|
91
|
+
/**
|
|
92
|
+
* The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
|
|
93
|
+
*
|
|
94
|
+
* If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
|
|
95
|
+
* this pallet. However, you do so at your own risk: this will open up a major DoS vector.
|
|
96
|
+
* In case you have multiple sources of provider references, you may also get unexpected
|
|
97
|
+
* behaviour if you set this to zero.
|
|
98
|
+
*
|
|
99
|
+
* Bottom line: Do yourself a favour and make it at least one!
|
|
100
|
+
**/
|
|
101
|
+
existentialDeposit: bigint;
|
|
102
|
+
/**
|
|
103
|
+
* The maximum number of locks that should exist on an account.
|
|
104
|
+
* Not strictly enforced, but used for weight estimation.
|
|
105
|
+
**/
|
|
106
|
+
maxLocks: number;
|
|
107
|
+
/**
|
|
108
|
+
* The maximum number of named reserves that can exist on an account.
|
|
109
|
+
**/
|
|
110
|
+
maxReserves: number;
|
|
111
|
+
/**
|
|
112
|
+
* The maximum number of holds that can exist on an account at any time.
|
|
113
|
+
**/
|
|
114
|
+
maxHolds: number;
|
|
115
|
+
/**
|
|
116
|
+
* The maximum number of individual freeze locks that can exist on an account at any time.
|
|
117
|
+
**/
|
|
118
|
+
maxFreezes: number;
|
|
119
|
+
/**
|
|
120
|
+
* Generic pallet constant
|
|
121
|
+
**/
|
|
122
|
+
[name: string]: any;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Pallet `TransactionPayment`'s constants
|
|
126
|
+
**/
|
|
127
|
+
transactionPayment: {
|
|
128
|
+
/**
|
|
129
|
+
* A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
|
|
130
|
+
* `priority`
|
|
131
|
+
*
|
|
132
|
+
* This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
|
|
133
|
+
* added to a tip component in regular `priority` calculations.
|
|
134
|
+
* It means that a `Normal` transaction can front-run a similarly-sized `Operational`
|
|
135
|
+
* extrinsic (with no tip), by including a tip value greater than the virtual tip.
|
|
136
|
+
*
|
|
137
|
+
* ```rust,ignore
|
|
138
|
+
* // For `Normal`
|
|
139
|
+
* let priority = priority_calc(tip);
|
|
140
|
+
*
|
|
141
|
+
* // For `Operational`
|
|
142
|
+
* let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
|
|
143
|
+
* let priority = priority_calc(tip + virtual_tip);
|
|
144
|
+
* ```
|
|
145
|
+
*
|
|
146
|
+
* Note that since we use `final_fee` the multiplier applies also to the regular `tip`
|
|
147
|
+
* sent with the transaction. So, not only does the transaction get a priority bump based
|
|
148
|
+
* on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
|
|
149
|
+
* transactions.
|
|
150
|
+
**/
|
|
151
|
+
operationalFeeMultiplier: number;
|
|
152
|
+
/**
|
|
153
|
+
* Generic pallet constant
|
|
154
|
+
**/
|
|
155
|
+
[name: string]: any;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Pallet `ParachainStaking`'s constants
|
|
159
|
+
**/
|
|
160
|
+
parachainStaking: {
|
|
161
|
+
/**
|
|
162
|
+
* Minimum number of blocks per round
|
|
163
|
+
**/
|
|
164
|
+
minBlocksPerRound: number;
|
|
165
|
+
/**
|
|
166
|
+
* If a collator doesn't produce any block on this number of rounds, it is notified as inactive.
|
|
167
|
+
* This value must be less than or equal to RewardPaymentDelay.
|
|
168
|
+
**/
|
|
169
|
+
maxOfflineRounds: number;
|
|
170
|
+
/**
|
|
171
|
+
* Number of rounds that candidates remain bonded before exit request is executable
|
|
172
|
+
**/
|
|
173
|
+
leaveCandidatesDelay: number;
|
|
174
|
+
/**
|
|
175
|
+
* Number of rounds candidate requests to decrease self-bond must wait to be executable
|
|
176
|
+
**/
|
|
177
|
+
candidateBondLessDelay: number;
|
|
178
|
+
/**
|
|
179
|
+
* Number of rounds that delegators remain bonded before exit request is executable
|
|
180
|
+
**/
|
|
181
|
+
leaveDelegatorsDelay: number;
|
|
182
|
+
/**
|
|
183
|
+
* Number of rounds that delegations remain bonded before revocation request is executable
|
|
184
|
+
**/
|
|
185
|
+
revokeDelegationDelay: number;
|
|
186
|
+
/**
|
|
187
|
+
* Number of rounds that delegation less requests must wait before executable
|
|
188
|
+
**/
|
|
189
|
+
delegationBondLessDelay: number;
|
|
190
|
+
/**
|
|
191
|
+
* Number of rounds after which block authors are rewarded
|
|
192
|
+
**/
|
|
193
|
+
rewardPaymentDelay: number;
|
|
194
|
+
/**
|
|
195
|
+
* Minimum number of selected candidates every round
|
|
196
|
+
**/
|
|
197
|
+
minSelectedCandidates: number;
|
|
198
|
+
/**
|
|
199
|
+
* Maximum top delegations counted per candidate
|
|
200
|
+
**/
|
|
201
|
+
maxTopDelegationsPerCandidate: number;
|
|
202
|
+
/**
|
|
203
|
+
* Maximum bottom delegations (not counted) per candidate
|
|
204
|
+
**/
|
|
205
|
+
maxBottomDelegationsPerCandidate: number;
|
|
206
|
+
/**
|
|
207
|
+
* Maximum delegations per delegator
|
|
208
|
+
**/
|
|
209
|
+
maxDelegationsPerDelegator: number;
|
|
210
|
+
/**
|
|
211
|
+
* Minimum stake required for any account to be a collator candidate
|
|
212
|
+
**/
|
|
213
|
+
minCandidateStk: bigint;
|
|
214
|
+
/**
|
|
215
|
+
* Minimum stake for any registered on-chain account to delegate
|
|
216
|
+
**/
|
|
217
|
+
minDelegation: bigint;
|
|
218
|
+
/**
|
|
219
|
+
* Maximum candidates
|
|
220
|
+
**/
|
|
221
|
+
maxCandidates: number;
|
|
222
|
+
/**
|
|
223
|
+
* Generic pallet constant
|
|
224
|
+
**/
|
|
225
|
+
[name: string]: any;
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* Pallet `AuthorInherent`'s constants
|
|
229
|
+
**/
|
|
230
|
+
authorInherent: {
|
|
231
|
+
/**
|
|
232
|
+
* Generic pallet constant
|
|
233
|
+
**/
|
|
234
|
+
[name: string]: any;
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* Pallet `AuthorFilter`'s constants
|
|
238
|
+
**/
|
|
239
|
+
authorFilter: {
|
|
240
|
+
/**
|
|
241
|
+
* Generic pallet constant
|
|
242
|
+
**/
|
|
243
|
+
[name: string]: any;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Pallet `AuthorMapping`'s constants
|
|
247
|
+
**/
|
|
248
|
+
authorMapping: {
|
|
249
|
+
/**
|
|
250
|
+
* Generic pallet constant
|
|
251
|
+
**/
|
|
252
|
+
[name: string]: any;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Pallet `MoonbeamOrbiters`'s constants
|
|
256
|
+
**/
|
|
257
|
+
moonbeamOrbiters: {
|
|
258
|
+
/**
|
|
259
|
+
* Maximum number of orbiters per collator.
|
|
260
|
+
**/
|
|
261
|
+
maxPoolSize: number;
|
|
262
|
+
/**
|
|
263
|
+
* Maximum number of round to keep on storage.
|
|
264
|
+
**/
|
|
265
|
+
maxRoundArchive: number;
|
|
266
|
+
/**
|
|
267
|
+
* Number of rounds before changing the selected orbiter.
|
|
268
|
+
* WARNING: when changing `RotatePeriod`, you need a migration code that sets
|
|
269
|
+
* `ForceRotation` to true to avoid holes in `OrbiterPerRound`.
|
|
270
|
+
**/
|
|
271
|
+
rotatePeriod: number;
|
|
272
|
+
/**
|
|
273
|
+
* Generic pallet constant
|
|
274
|
+
**/
|
|
275
|
+
[name: string]: any;
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* Pallet `Utility`'s constants
|
|
279
|
+
**/
|
|
280
|
+
utility: {
|
|
281
|
+
/**
|
|
282
|
+
* The limit on the number of batched calls.
|
|
283
|
+
**/
|
|
284
|
+
batchedCallsLimit: number;
|
|
285
|
+
/**
|
|
286
|
+
* Generic pallet constant
|
|
287
|
+
**/
|
|
288
|
+
[name: string]: any;
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
* Pallet `Proxy`'s constants
|
|
292
|
+
**/
|
|
293
|
+
proxy: {
|
|
294
|
+
/**
|
|
295
|
+
* The base amount of currency needed to reserve for creating a proxy.
|
|
296
|
+
*
|
|
297
|
+
* This is held for an additional storage item whose value size is
|
|
298
|
+
* `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
|
|
299
|
+
**/
|
|
300
|
+
proxyDepositBase: bigint;
|
|
301
|
+
/**
|
|
302
|
+
* The amount of currency needed per proxy added.
|
|
303
|
+
*
|
|
304
|
+
* This is held for adding 32 bytes plus an instance of `ProxyType` more into a
|
|
305
|
+
* pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
|
|
306
|
+
* into account `32 + proxy_type.encode().len()` bytes of data.
|
|
307
|
+
**/
|
|
308
|
+
proxyDepositFactor: bigint;
|
|
309
|
+
/**
|
|
310
|
+
* The maximum amount of proxies allowed for a single account.
|
|
311
|
+
**/
|
|
312
|
+
maxProxies: number;
|
|
313
|
+
/**
|
|
314
|
+
* The maximum amount of time-delayed announcements that are allowed to be pending.
|
|
315
|
+
**/
|
|
316
|
+
maxPending: number;
|
|
317
|
+
/**
|
|
318
|
+
* The base amount of currency needed to reserve for creating an announcement.
|
|
319
|
+
*
|
|
320
|
+
* This is held when a new storage item holding a `Balance` is created (typically 16
|
|
321
|
+
* bytes).
|
|
322
|
+
**/
|
|
323
|
+
announcementDepositBase: bigint;
|
|
324
|
+
/**
|
|
325
|
+
* The amount of currency needed per announcement made.
|
|
326
|
+
*
|
|
327
|
+
* This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
|
|
328
|
+
* into a pre-existing storage value.
|
|
329
|
+
**/
|
|
330
|
+
announcementDepositFactor: bigint;
|
|
331
|
+
/**
|
|
332
|
+
* Generic pallet constant
|
|
333
|
+
**/
|
|
334
|
+
[name: string]: any;
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* Pallet `MaintenanceMode`'s constants
|
|
338
|
+
**/
|
|
339
|
+
maintenanceMode: {
|
|
340
|
+
/**
|
|
341
|
+
* Generic pallet constant
|
|
342
|
+
**/
|
|
343
|
+
[name: string]: any;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* Pallet `Identity`'s constants
|
|
347
|
+
**/
|
|
348
|
+
identity: {
|
|
349
|
+
/**
|
|
350
|
+
* The amount held on deposit for a registered identity
|
|
351
|
+
**/
|
|
352
|
+
basicDeposit: bigint;
|
|
353
|
+
/**
|
|
354
|
+
* The amount held on deposit per additional field for a registered identity.
|
|
355
|
+
**/
|
|
356
|
+
fieldDeposit: bigint;
|
|
357
|
+
/**
|
|
358
|
+
* The amount held on deposit for a registered subaccount. This should account for the fact
|
|
359
|
+
* that one storage item's value will increase by the size of an account ID, and there will
|
|
360
|
+
* be another trie item whose value is the size of an account ID plus 32 bytes.
|
|
361
|
+
**/
|
|
362
|
+
subAccountDeposit: bigint;
|
|
363
|
+
/**
|
|
364
|
+
* The maximum number of sub-accounts allowed per identified account.
|
|
365
|
+
**/
|
|
366
|
+
maxSubAccounts: number;
|
|
367
|
+
/**
|
|
368
|
+
* Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
|
|
369
|
+
* required to access an identity, but can be pretty high.
|
|
370
|
+
**/
|
|
371
|
+
maxAdditionalFields: number;
|
|
372
|
+
/**
|
|
373
|
+
* Maxmimum number of registrars allowed in the system. Needed to bound the complexity
|
|
374
|
+
* of, e.g., updating judgements.
|
|
375
|
+
**/
|
|
376
|
+
maxRegistrars: number;
|
|
377
|
+
/**
|
|
378
|
+
* Generic pallet constant
|
|
379
|
+
**/
|
|
380
|
+
[name: string]: any;
|
|
381
|
+
};
|
|
382
|
+
/**
|
|
383
|
+
* Pallet `Migrations`'s constants
|
|
384
|
+
**/
|
|
385
|
+
migrations: {
|
|
386
|
+
/**
|
|
387
|
+
* Generic pallet constant
|
|
388
|
+
**/
|
|
389
|
+
[name: string]: any;
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* Pallet `ProxyGenesisCompanion`'s constants
|
|
393
|
+
**/
|
|
394
|
+
proxyGenesisCompanion: {
|
|
395
|
+
/**
|
|
396
|
+
* Generic pallet constant
|
|
397
|
+
**/
|
|
398
|
+
[name: string]: any;
|
|
399
|
+
};
|
|
400
|
+
/**
|
|
401
|
+
* Pallet `Multisig`'s constants
|
|
402
|
+
**/
|
|
403
|
+
multisig: {
|
|
404
|
+
/**
|
|
405
|
+
* The base amount of currency needed to reserve for creating a multisig execution or to
|
|
406
|
+
* store a dispatch call for later.
|
|
407
|
+
*
|
|
408
|
+
* This is held for an additional storage item whose value size is
|
|
409
|
+
* `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
|
|
410
|
+
* `32 + sizeof(AccountId)` bytes.
|
|
411
|
+
**/
|
|
412
|
+
depositBase: bigint;
|
|
413
|
+
/**
|
|
414
|
+
* The amount of currency needed per unit threshold when creating a multisig execution.
|
|
415
|
+
*
|
|
416
|
+
* This is held for adding 32 bytes more into a pre-existing storage value.
|
|
417
|
+
**/
|
|
418
|
+
depositFactor: bigint;
|
|
419
|
+
/**
|
|
420
|
+
* The maximum amount of signatories allowed in the multisig.
|
|
421
|
+
**/
|
|
422
|
+
maxSignatories: number;
|
|
423
|
+
/**
|
|
424
|
+
* Generic pallet constant
|
|
425
|
+
**/
|
|
426
|
+
[name: string]: any;
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* Pallet `EthereumChainId`'s constants
|
|
430
|
+
**/
|
|
431
|
+
ethereumChainId: {
|
|
432
|
+
/**
|
|
433
|
+
* Generic pallet constant
|
|
434
|
+
**/
|
|
435
|
+
[name: string]: any;
|
|
436
|
+
};
|
|
437
|
+
/**
|
|
438
|
+
* Pallet `EVM`'s constants
|
|
439
|
+
**/
|
|
440
|
+
eVM: {
|
|
441
|
+
/**
|
|
442
|
+
* Generic pallet constant
|
|
443
|
+
**/
|
|
444
|
+
[name: string]: any;
|
|
445
|
+
};
|
|
446
|
+
/**
|
|
447
|
+
* Pallet `Ethereum`'s constants
|
|
448
|
+
**/
|
|
449
|
+
ethereum: {
|
|
450
|
+
/**
|
|
451
|
+
* Generic pallet constant
|
|
452
|
+
**/
|
|
453
|
+
[name: string]: any;
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* Pallet `Scheduler`'s constants
|
|
457
|
+
**/
|
|
458
|
+
scheduler: {
|
|
459
|
+
/**
|
|
460
|
+
* The maximum weight that may be scheduled per block for any dispatchables.
|
|
461
|
+
**/
|
|
462
|
+
maximumWeight: SpWeightsWeightV2Weight;
|
|
463
|
+
/**
|
|
464
|
+
* The maximum number of scheduled calls in the queue for a single block.
|
|
465
|
+
*
|
|
466
|
+
* NOTE:
|
|
467
|
+
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
|
|
468
|
+
* higher limit under `runtime-benchmarks` feature.
|
|
469
|
+
**/
|
|
470
|
+
maxScheduledPerBlock: number;
|
|
471
|
+
/**
|
|
472
|
+
* Generic pallet constant
|
|
473
|
+
**/
|
|
474
|
+
[name: string]: any;
|
|
475
|
+
};
|
|
476
|
+
/**
|
|
477
|
+
* Pallet `Democracy`'s constants
|
|
478
|
+
**/
|
|
479
|
+
democracy: {
|
|
480
|
+
/**
|
|
481
|
+
* The period between a proposal being approved and enacted.
|
|
482
|
+
*
|
|
483
|
+
* It should generally be a little more than the unstake period to ensure that
|
|
484
|
+
* voting stakers have an opportunity to remove themselves from the system in the case
|
|
485
|
+
* where they are on the losing side of a vote.
|
|
486
|
+
**/
|
|
487
|
+
enactmentPeriod: number;
|
|
488
|
+
/**
|
|
489
|
+
* How often (in blocks) new public referenda are launched.
|
|
490
|
+
**/
|
|
491
|
+
launchPeriod: number;
|
|
492
|
+
/**
|
|
493
|
+
* How often (in blocks) to check for new votes.
|
|
494
|
+
**/
|
|
495
|
+
votingPeriod: number;
|
|
496
|
+
/**
|
|
497
|
+
* The minimum period of vote locking.
|
|
498
|
+
*
|
|
499
|
+
* It should be no shorter than enactment period to ensure that in the case of an approval,
|
|
500
|
+
* those successful voters are locked into the consequences that their votes entail.
|
|
501
|
+
**/
|
|
502
|
+
voteLockingPeriod: number;
|
|
503
|
+
/**
|
|
504
|
+
* The minimum amount to be used as a deposit for a public referendum proposal.
|
|
505
|
+
**/
|
|
506
|
+
minimumDeposit: bigint;
|
|
507
|
+
/**
|
|
508
|
+
* Indicator for whether an emergency origin is even allowed to happen. Some chains may
|
|
509
|
+
* want to set this permanently to `false`, others may want to condition it on things such
|
|
510
|
+
* as an upgrade having happened recently.
|
|
511
|
+
**/
|
|
512
|
+
instantAllowed: boolean;
|
|
513
|
+
/**
|
|
514
|
+
* Minimum voting period allowed for a fast-track referendum.
|
|
515
|
+
**/
|
|
516
|
+
fastTrackVotingPeriod: number;
|
|
517
|
+
/**
|
|
518
|
+
* Period in blocks where an external proposal may not be re-submitted after being vetoed.
|
|
519
|
+
**/
|
|
520
|
+
cooloffPeriod: number;
|
|
521
|
+
/**
|
|
522
|
+
* The maximum number of votes for an account.
|
|
523
|
+
*
|
|
524
|
+
* Also used to compute weight, an overly big value can
|
|
525
|
+
* lead to extrinsic with very big weight: see `delegate` for instance.
|
|
526
|
+
**/
|
|
527
|
+
maxVotes: number;
|
|
528
|
+
/**
|
|
529
|
+
* The maximum number of public proposals that can exist at any time.
|
|
530
|
+
**/
|
|
531
|
+
maxProposals: number;
|
|
532
|
+
/**
|
|
533
|
+
* The maximum number of deposits a public proposal may have at any time.
|
|
534
|
+
**/
|
|
535
|
+
maxDeposits: number;
|
|
536
|
+
/**
|
|
537
|
+
* The maximum number of items which can be blacklisted.
|
|
538
|
+
**/
|
|
539
|
+
maxBlacklisted: number;
|
|
540
|
+
/**
|
|
541
|
+
* Generic pallet constant
|
|
542
|
+
**/
|
|
543
|
+
[name: string]: any;
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* Pallet `Preimage`'s constants
|
|
547
|
+
**/
|
|
548
|
+
preimage: {
|
|
549
|
+
/**
|
|
550
|
+
* Generic pallet constant
|
|
551
|
+
**/
|
|
552
|
+
[name: string]: any;
|
|
553
|
+
};
|
|
554
|
+
/**
|
|
555
|
+
* Pallet `ConvictionVoting`'s constants
|
|
556
|
+
**/
|
|
557
|
+
convictionVoting: {
|
|
558
|
+
/**
|
|
559
|
+
* The maximum number of concurrent votes an account may have.
|
|
560
|
+
*
|
|
561
|
+
* Also used to compute weight, an overly large value can lead to extrinsics with large
|
|
562
|
+
* weight estimation: see `delegate` for instance.
|
|
563
|
+
**/
|
|
564
|
+
maxVotes: number;
|
|
565
|
+
/**
|
|
566
|
+
* The minimum period of vote locking.
|
|
567
|
+
*
|
|
568
|
+
* It should be no shorter than enactment period to ensure that in the case of an approval,
|
|
569
|
+
* those successful voters are locked into the consequences that their votes entail.
|
|
570
|
+
**/
|
|
571
|
+
voteLockingPeriod: number;
|
|
572
|
+
/**
|
|
573
|
+
* Generic pallet constant
|
|
574
|
+
**/
|
|
575
|
+
[name: string]: any;
|
|
576
|
+
};
|
|
577
|
+
/**
|
|
578
|
+
* Pallet `Referenda`'s constants
|
|
579
|
+
**/
|
|
580
|
+
referenda: {
|
|
581
|
+
/**
|
|
582
|
+
* The minimum amount to be used as a deposit for a public referendum proposal.
|
|
583
|
+
**/
|
|
584
|
+
submissionDeposit: bigint;
|
|
585
|
+
/**
|
|
586
|
+
* Maximum size of the referendum queue for a single track.
|
|
587
|
+
**/
|
|
588
|
+
maxQueued: number;
|
|
589
|
+
/**
|
|
590
|
+
* The number of blocks after submission that a referendum must begin being decided by.
|
|
591
|
+
* Once this passes, then anyone may cancel the referendum.
|
|
592
|
+
**/
|
|
593
|
+
undecidingTimeout: number;
|
|
594
|
+
/**
|
|
595
|
+
* Quantization level for the referendum wakeup scheduler. A higher number will result in
|
|
596
|
+
* fewer storage reads/writes needed for smaller voters, but also result in delays to the
|
|
597
|
+
* automatic referendum status changes. Explicit servicing instructions are unaffected.
|
|
598
|
+
**/
|
|
599
|
+
alarmInterval: number;
|
|
600
|
+
/**
|
|
601
|
+
* Information concerning the different referendum tracks.
|
|
602
|
+
**/
|
|
603
|
+
tracks: Array<[number, PalletReferendaTrackInfo]>;
|
|
604
|
+
/**
|
|
605
|
+
* Generic pallet constant
|
|
606
|
+
**/
|
|
607
|
+
[name: string]: any;
|
|
608
|
+
};
|
|
609
|
+
/**
|
|
610
|
+
* Pallet `Whitelist`'s constants
|
|
611
|
+
**/
|
|
612
|
+
whitelist: {
|
|
613
|
+
/**
|
|
614
|
+
* Generic pallet constant
|
|
615
|
+
**/
|
|
616
|
+
[name: string]: any;
|
|
617
|
+
};
|
|
618
|
+
/**
|
|
619
|
+
* Pallet `CouncilCollective`'s constants
|
|
620
|
+
**/
|
|
621
|
+
councilCollective: {
|
|
622
|
+
/**
|
|
623
|
+
* The maximum weight of a dispatch call that can be proposed and executed.
|
|
624
|
+
**/
|
|
625
|
+
maxProposalWeight: SpWeightsWeightV2Weight;
|
|
626
|
+
/**
|
|
627
|
+
* Generic pallet constant
|
|
628
|
+
**/
|
|
629
|
+
[name: string]: any;
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* Pallet `TechCommitteeCollective`'s constants
|
|
633
|
+
**/
|
|
634
|
+
techCommitteeCollective: {
|
|
635
|
+
/**
|
|
636
|
+
* The maximum weight of a dispatch call that can be proposed and executed.
|
|
637
|
+
**/
|
|
638
|
+
maxProposalWeight: SpWeightsWeightV2Weight;
|
|
639
|
+
/**
|
|
640
|
+
* Generic pallet constant
|
|
641
|
+
**/
|
|
642
|
+
[name: string]: any;
|
|
643
|
+
};
|
|
644
|
+
/**
|
|
645
|
+
* Pallet `TreasuryCouncilCollective`'s constants
|
|
646
|
+
**/
|
|
647
|
+
treasuryCouncilCollective: {
|
|
648
|
+
/**
|
|
649
|
+
* The maximum weight of a dispatch call that can be proposed and executed.
|
|
650
|
+
**/
|
|
651
|
+
maxProposalWeight: SpWeightsWeightV2Weight;
|
|
652
|
+
/**
|
|
653
|
+
* Generic pallet constant
|
|
654
|
+
**/
|
|
655
|
+
[name: string]: any;
|
|
656
|
+
};
|
|
657
|
+
/**
|
|
658
|
+
* Pallet `OpenTechCommitteeCollective`'s constants
|
|
659
|
+
**/
|
|
660
|
+
openTechCommitteeCollective: {
|
|
661
|
+
/**
|
|
662
|
+
* The maximum weight of a dispatch call that can be proposed and executed.
|
|
663
|
+
**/
|
|
664
|
+
maxProposalWeight: SpWeightsWeightV2Weight;
|
|
665
|
+
/**
|
|
666
|
+
* Generic pallet constant
|
|
667
|
+
**/
|
|
668
|
+
[name: string]: any;
|
|
669
|
+
};
|
|
670
|
+
/**
|
|
671
|
+
* Pallet `Treasury`'s constants
|
|
672
|
+
**/
|
|
673
|
+
treasury: {
|
|
674
|
+
/**
|
|
675
|
+
* Fraction of a proposal's value that should be bonded in order to place the proposal.
|
|
676
|
+
* An accepted proposal gets these back. A rejected proposal does not.
|
|
677
|
+
**/
|
|
678
|
+
proposalBond: Permill;
|
|
679
|
+
/**
|
|
680
|
+
* Minimum amount of funds that should be placed in a deposit for making a proposal.
|
|
681
|
+
**/
|
|
682
|
+
proposalBondMinimum: bigint;
|
|
683
|
+
/**
|
|
684
|
+
* Maximum amount of funds that should be placed in a deposit for making a proposal.
|
|
685
|
+
**/
|
|
686
|
+
proposalBondMaximum: bigint | undefined;
|
|
687
|
+
/**
|
|
688
|
+
* Period between successive spends.
|
|
689
|
+
**/
|
|
690
|
+
spendPeriod: number;
|
|
691
|
+
/**
|
|
692
|
+
* Percentage of spare funds (if any) that are burnt per spend period.
|
|
693
|
+
**/
|
|
694
|
+
burn: Permill;
|
|
695
|
+
/**
|
|
696
|
+
* The treasury's pallet id, used for deriving its sovereign account ID.
|
|
697
|
+
**/
|
|
698
|
+
palletId: FrameSupportPalletId;
|
|
699
|
+
/**
|
|
700
|
+
* The maximum number of approvals that can wait in the spending queue.
|
|
701
|
+
*
|
|
702
|
+
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
|
|
703
|
+
**/
|
|
704
|
+
maxApprovals: number;
|
|
705
|
+
/**
|
|
706
|
+
* The period during which an approved treasury spend has to be claimed.
|
|
707
|
+
**/
|
|
708
|
+
payoutPeriod: number;
|
|
709
|
+
/**
|
|
710
|
+
* Generic pallet constant
|
|
711
|
+
**/
|
|
712
|
+
[name: string]: any;
|
|
713
|
+
};
|
|
714
|
+
/**
|
|
715
|
+
* Pallet `CrowdloanRewards`'s constants
|
|
716
|
+
**/
|
|
717
|
+
crowdloanRewards: {
|
|
718
|
+
/**
|
|
719
|
+
* Percentage to be payed at initialization
|
|
720
|
+
**/
|
|
721
|
+
initializationPayment: Perbill;
|
|
722
|
+
maxInitContributors: number;
|
|
723
|
+
/**
|
|
724
|
+
* A fraction representing the percentage of proofs
|
|
725
|
+
* that need to be presented to change a reward address through the relay keys
|
|
726
|
+
**/
|
|
727
|
+
rewardAddressRelayVoteThreshold: Perbill;
|
|
728
|
+
/**
|
|
729
|
+
* Network Identifier to be appended into the signatures for reward address change/association
|
|
730
|
+
* Prevents replay attacks from one network to the other
|
|
731
|
+
**/
|
|
732
|
+
signatureNetworkIdentifier: Bytes;
|
|
733
|
+
/**
|
|
734
|
+
* Generic pallet constant
|
|
735
|
+
**/
|
|
736
|
+
[name: string]: any;
|
|
737
|
+
};
|
|
738
|
+
/**
|
|
739
|
+
* Pallet `XcmpQueue`'s constants
|
|
740
|
+
**/
|
|
741
|
+
xcmpQueue: {
|
|
742
|
+
/**
|
|
743
|
+
* Generic pallet constant
|
|
744
|
+
**/
|
|
745
|
+
[name: string]: any;
|
|
746
|
+
};
|
|
747
|
+
/**
|
|
748
|
+
* Pallet `CumulusXcm`'s constants
|
|
749
|
+
**/
|
|
750
|
+
cumulusXcm: {
|
|
751
|
+
/**
|
|
752
|
+
* Generic pallet constant
|
|
753
|
+
**/
|
|
754
|
+
[name: string]: any;
|
|
755
|
+
};
|
|
756
|
+
/**
|
|
757
|
+
* Pallet `DmpQueue`'s constants
|
|
758
|
+
**/
|
|
759
|
+
dmpQueue: {
|
|
760
|
+
/**
|
|
761
|
+
* Generic pallet constant
|
|
762
|
+
**/
|
|
763
|
+
[name: string]: any;
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* Pallet `PolkadotXcm`'s constants
|
|
767
|
+
**/
|
|
768
|
+
polkadotXcm: {
|
|
769
|
+
/**
|
|
770
|
+
* Generic pallet constant
|
|
771
|
+
**/
|
|
772
|
+
[name: string]: any;
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* Pallet `Assets`'s constants
|
|
776
|
+
**/
|
|
777
|
+
assets: {
|
|
778
|
+
/**
|
|
779
|
+
* Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
|
|
780
|
+
*
|
|
781
|
+
* Must be configured to result in a weight that makes each call fit in a block.
|
|
782
|
+
**/
|
|
783
|
+
removeItemsLimit: number;
|
|
784
|
+
/**
|
|
785
|
+
* The basic amount of funds that must be reserved for an asset.
|
|
786
|
+
**/
|
|
787
|
+
assetDeposit: bigint;
|
|
788
|
+
/**
|
|
789
|
+
* The amount of funds that must be reserved for a non-provider asset account to be
|
|
790
|
+
* maintained.
|
|
791
|
+
**/
|
|
792
|
+
assetAccountDeposit: bigint;
|
|
793
|
+
/**
|
|
794
|
+
* The basic amount of funds that must be reserved when adding metadata to your asset.
|
|
795
|
+
**/
|
|
796
|
+
metadataDepositBase: bigint;
|
|
797
|
+
/**
|
|
798
|
+
* The additional funds that must be reserved for the number of bytes you store in your
|
|
799
|
+
* metadata.
|
|
800
|
+
**/
|
|
801
|
+
metadataDepositPerByte: bigint;
|
|
802
|
+
/**
|
|
803
|
+
* The amount of funds that must be reserved when creating a new approval.
|
|
804
|
+
**/
|
|
805
|
+
approvalDeposit: bigint;
|
|
806
|
+
/**
|
|
807
|
+
* The maximum length of a name or symbol stored on-chain.
|
|
808
|
+
**/
|
|
809
|
+
stringLimit: number;
|
|
810
|
+
/**
|
|
811
|
+
* Generic pallet constant
|
|
812
|
+
**/
|
|
813
|
+
[name: string]: any;
|
|
814
|
+
};
|
|
815
|
+
/**
|
|
816
|
+
* Pallet `AssetManager`'s constants
|
|
817
|
+
**/
|
|
818
|
+
assetManager: {
|
|
819
|
+
/**
|
|
820
|
+
* The basic amount of funds that must be reserved for a local asset.
|
|
821
|
+
**/
|
|
822
|
+
localAssetDeposit: bigint;
|
|
823
|
+
/**
|
|
824
|
+
* Generic pallet constant
|
|
825
|
+
**/
|
|
826
|
+
[name: string]: any;
|
|
827
|
+
};
|
|
828
|
+
/**
|
|
829
|
+
* Pallet `XTokens`'s constants
|
|
830
|
+
**/
|
|
831
|
+
xTokens: {
|
|
832
|
+
/**
|
|
833
|
+
* Self chain location.
|
|
834
|
+
**/
|
|
835
|
+
selfLocation: StagingXcmV3MultilocationMultiLocation;
|
|
836
|
+
/**
|
|
837
|
+
* Base XCM weight.
|
|
838
|
+
*
|
|
839
|
+
* The actually weight for an XCM message is `T::BaseXcmWeight +
|
|
840
|
+
* T::Weigher::weight(&msg)`.
|
|
841
|
+
**/
|
|
842
|
+
baseXcmWeight: SpWeightsWeightV2Weight;
|
|
843
|
+
/**
|
|
844
|
+
* Generic pallet constant
|
|
845
|
+
**/
|
|
846
|
+
[name: string]: any;
|
|
847
|
+
};
|
|
848
|
+
/**
|
|
849
|
+
* Pallet `XcmTransactor`'s constants
|
|
850
|
+
**/
|
|
851
|
+
xcmTransactor: {
|
|
852
|
+
/**
|
|
853
|
+
* Self chain location.
|
|
854
|
+
**/
|
|
855
|
+
selfLocation: StagingXcmV3MultilocationMultiLocation;
|
|
856
|
+
/**
|
|
857
|
+
*
|
|
858
|
+
* The actual weight for an XCM message is `T::BaseXcmWeight +
|
|
859
|
+
* T::Weigher::weight(&msg)`.
|
|
860
|
+
**/
|
|
861
|
+
baseXcmWeight: SpWeightsWeightV2Weight;
|
|
862
|
+
/**
|
|
863
|
+
* Generic pallet constant
|
|
864
|
+
**/
|
|
865
|
+
[name: string]: any;
|
|
866
|
+
};
|
|
867
|
+
/**
|
|
868
|
+
* Pallet `LocalAssets`'s constants
|
|
869
|
+
**/
|
|
870
|
+
localAssets: {
|
|
871
|
+
/**
|
|
872
|
+
* Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
|
|
873
|
+
*
|
|
874
|
+
* Must be configured to result in a weight that makes each call fit in a block.
|
|
875
|
+
**/
|
|
876
|
+
removeItemsLimit: number;
|
|
877
|
+
/**
|
|
878
|
+
* The basic amount of funds that must be reserved for an asset.
|
|
879
|
+
**/
|
|
880
|
+
assetDeposit: bigint;
|
|
881
|
+
/**
|
|
882
|
+
* The amount of funds that must be reserved for a non-provider asset account to be
|
|
883
|
+
* maintained.
|
|
884
|
+
**/
|
|
885
|
+
assetAccountDeposit: bigint;
|
|
886
|
+
/**
|
|
887
|
+
* The basic amount of funds that must be reserved when adding metadata to your asset.
|
|
888
|
+
**/
|
|
889
|
+
metadataDepositBase: bigint;
|
|
890
|
+
/**
|
|
891
|
+
* The additional funds that must be reserved for the number of bytes you store in your
|
|
892
|
+
* metadata.
|
|
893
|
+
**/
|
|
894
|
+
metadataDepositPerByte: bigint;
|
|
895
|
+
/**
|
|
896
|
+
* The amount of funds that must be reserved when creating a new approval.
|
|
897
|
+
**/
|
|
898
|
+
approvalDeposit: bigint;
|
|
899
|
+
/**
|
|
900
|
+
* The maximum length of a name or symbol stored on-chain.
|
|
901
|
+
**/
|
|
902
|
+
stringLimit: number;
|
|
903
|
+
/**
|
|
904
|
+
* Generic pallet constant
|
|
905
|
+
**/
|
|
906
|
+
[name: string]: any;
|
|
907
|
+
};
|
|
908
|
+
/**
|
|
909
|
+
* Pallet `EthereumXcm`'s constants
|
|
910
|
+
**/
|
|
911
|
+
ethereumXcm: {
|
|
912
|
+
/**
|
|
913
|
+
* Generic pallet constant
|
|
914
|
+
**/
|
|
915
|
+
[name: string]: any;
|
|
916
|
+
};
|
|
917
|
+
/**
|
|
918
|
+
* Pallet `Erc20XcmBridge`'s constants
|
|
919
|
+
**/
|
|
920
|
+
erc20XcmBridge: {
|
|
921
|
+
/**
|
|
922
|
+
* Generic pallet constant
|
|
923
|
+
**/
|
|
924
|
+
[name: string]: any;
|
|
925
|
+
};
|
|
926
|
+
/**
|
|
927
|
+
* Pallet `Randomness`'s constants
|
|
928
|
+
**/
|
|
929
|
+
randomness: {
|
|
930
|
+
/**
|
|
931
|
+
* The amount that should be taken as a security deposit when requesting randomness.
|
|
932
|
+
**/
|
|
933
|
+
deposit: bigint;
|
|
934
|
+
/**
|
|
935
|
+
* Maximum number of random words that can be requested per request
|
|
936
|
+
**/
|
|
937
|
+
maxRandomWords: number;
|
|
938
|
+
/**
|
|
939
|
+
* Local per-block VRF requests must be at least this many blocks after the block in which
|
|
940
|
+
* they were requested
|
|
941
|
+
**/
|
|
942
|
+
minBlockDelay: number;
|
|
943
|
+
/**
|
|
944
|
+
* Local per-block VRF requests must be at most this many blocks after the block in which
|
|
945
|
+
* they were requested
|
|
946
|
+
**/
|
|
947
|
+
maxBlockDelay: number;
|
|
948
|
+
/**
|
|
949
|
+
* Local requests expire and can be purged from storage after this many blocks/epochs
|
|
950
|
+
**/
|
|
951
|
+
blockExpirationDelay: number;
|
|
952
|
+
/**
|
|
953
|
+
* Babe requests expire and can be purged from storage after this many blocks/epochs
|
|
954
|
+
**/
|
|
955
|
+
epochExpirationDelay: bigint;
|
|
956
|
+
/**
|
|
957
|
+
* Generic pallet constant
|
|
958
|
+
**/
|
|
959
|
+
[name: string]: any;
|
|
960
|
+
};
|
|
961
|
+
}
|