@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,524 @@
|
|
|
1
|
+
import type { GenericChainConsts } from '@dedot/types';
|
|
2
|
+
import type { RuntimeVersion } from '@dedot/codecs';
|
|
3
|
+
import type { FrameSystemLimitsBlockWeights, FrameSystemLimitsBlockLength, SpWeightsRuntimeDbWeight, PalletNftsBitFlagsPalletFeature } 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 `Balances`'s constants
|
|
80
|
+
**/
|
|
81
|
+
balances: {
|
|
82
|
+
/**
|
|
83
|
+
* The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
|
|
84
|
+
*
|
|
85
|
+
* If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
|
|
86
|
+
* this pallet. However, you do so at your own risk: this will open up a major DoS vector.
|
|
87
|
+
* In case you have multiple sources of provider references, you may also get unexpected
|
|
88
|
+
* behaviour if you set this to zero.
|
|
89
|
+
*
|
|
90
|
+
* Bottom line: Do yourself a favour and make it at least one!
|
|
91
|
+
**/
|
|
92
|
+
existentialDeposit: bigint;
|
|
93
|
+
/**
|
|
94
|
+
* The maximum number of locks that should exist on an account.
|
|
95
|
+
* Not strictly enforced, but used for weight estimation.
|
|
96
|
+
**/
|
|
97
|
+
maxLocks: number;
|
|
98
|
+
/**
|
|
99
|
+
* The maximum number of named reserves that can exist on an account.
|
|
100
|
+
**/
|
|
101
|
+
maxReserves: number;
|
|
102
|
+
/**
|
|
103
|
+
* The maximum number of holds that can exist on an account at any time.
|
|
104
|
+
**/
|
|
105
|
+
maxHolds: number;
|
|
106
|
+
/**
|
|
107
|
+
* The maximum number of individual freeze locks that can exist on an account at any time.
|
|
108
|
+
**/
|
|
109
|
+
maxFreezes: number;
|
|
110
|
+
/**
|
|
111
|
+
* Generic pallet constant
|
|
112
|
+
**/
|
|
113
|
+
[name: string]: any;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Pallet `TransactionPayment`'s constants
|
|
117
|
+
**/
|
|
118
|
+
transactionPayment: {
|
|
119
|
+
/**
|
|
120
|
+
* A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
|
|
121
|
+
* `priority`
|
|
122
|
+
*
|
|
123
|
+
* This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
|
|
124
|
+
* added to a tip component in regular `priority` calculations.
|
|
125
|
+
* It means that a `Normal` transaction can front-run a similarly-sized `Operational`
|
|
126
|
+
* extrinsic (with no tip), by including a tip value greater than the virtual tip.
|
|
127
|
+
*
|
|
128
|
+
* ```rust,ignore
|
|
129
|
+
* // For `Normal`
|
|
130
|
+
* let priority = priority_calc(tip);
|
|
131
|
+
*
|
|
132
|
+
* // For `Operational`
|
|
133
|
+
* let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
|
|
134
|
+
* let priority = priority_calc(tip + virtual_tip);
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
137
|
+
* Note that since we use `final_fee` the multiplier applies also to the regular `tip`
|
|
138
|
+
* sent with the transaction. So, not only does the transaction get a priority bump based
|
|
139
|
+
* on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
|
|
140
|
+
* transactions.
|
|
141
|
+
**/
|
|
142
|
+
operationalFeeMultiplier: number;
|
|
143
|
+
/**
|
|
144
|
+
* Generic pallet constant
|
|
145
|
+
**/
|
|
146
|
+
[name: string]: any;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Pallet `AssetTxPayment`'s constants
|
|
150
|
+
**/
|
|
151
|
+
assetTxPayment: {
|
|
152
|
+
/**
|
|
153
|
+
* Generic pallet constant
|
|
154
|
+
**/
|
|
155
|
+
[name: string]: any;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Pallet `Authorship`'s constants
|
|
159
|
+
**/
|
|
160
|
+
authorship: {
|
|
161
|
+
/**
|
|
162
|
+
* Generic pallet constant
|
|
163
|
+
**/
|
|
164
|
+
[name: string]: any;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Pallet `CollatorSelection`'s constants
|
|
168
|
+
**/
|
|
169
|
+
collatorSelection: {
|
|
170
|
+
/**
|
|
171
|
+
* Generic pallet constant
|
|
172
|
+
**/
|
|
173
|
+
[name: string]: any;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Pallet `Session`'s constants
|
|
177
|
+
**/
|
|
178
|
+
session: {
|
|
179
|
+
/**
|
|
180
|
+
* Generic pallet constant
|
|
181
|
+
**/
|
|
182
|
+
[name: string]: any;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* Pallet `Aura`'s constants
|
|
186
|
+
**/
|
|
187
|
+
aura: {
|
|
188
|
+
/**
|
|
189
|
+
* Generic pallet constant
|
|
190
|
+
**/
|
|
191
|
+
[name: string]: any;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Pallet `AuraExt`'s constants
|
|
195
|
+
**/
|
|
196
|
+
auraExt: {
|
|
197
|
+
/**
|
|
198
|
+
* Generic pallet constant
|
|
199
|
+
**/
|
|
200
|
+
[name: string]: any;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Pallet `XcmpQueue`'s constants
|
|
204
|
+
**/
|
|
205
|
+
xcmpQueue: {
|
|
206
|
+
/**
|
|
207
|
+
* Generic pallet constant
|
|
208
|
+
**/
|
|
209
|
+
[name: string]: any;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Pallet `PolkadotXcm`'s constants
|
|
213
|
+
**/
|
|
214
|
+
polkadotXcm: {
|
|
215
|
+
/**
|
|
216
|
+
* Generic pallet constant
|
|
217
|
+
**/
|
|
218
|
+
[name: string]: any;
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* Pallet `CumulusXcm`'s constants
|
|
222
|
+
**/
|
|
223
|
+
cumulusXcm: {
|
|
224
|
+
/**
|
|
225
|
+
* Generic pallet constant
|
|
226
|
+
**/
|
|
227
|
+
[name: string]: any;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Pallet `DmpQueue`'s constants
|
|
231
|
+
**/
|
|
232
|
+
dmpQueue: {
|
|
233
|
+
/**
|
|
234
|
+
* Generic pallet constant
|
|
235
|
+
**/
|
|
236
|
+
[name: string]: any;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Pallet `ToKusamaXcmRouter`'s constants
|
|
240
|
+
**/
|
|
241
|
+
toKusamaXcmRouter: {
|
|
242
|
+
/**
|
|
243
|
+
* Generic pallet constant
|
|
244
|
+
**/
|
|
245
|
+
[name: string]: any;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* Pallet `Utility`'s constants
|
|
249
|
+
**/
|
|
250
|
+
utility: {
|
|
251
|
+
/**
|
|
252
|
+
* The limit on the number of batched calls.
|
|
253
|
+
**/
|
|
254
|
+
batchedCallsLimit: number;
|
|
255
|
+
/**
|
|
256
|
+
* Generic pallet constant
|
|
257
|
+
**/
|
|
258
|
+
[name: string]: any;
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* Pallet `Multisig`'s constants
|
|
262
|
+
**/
|
|
263
|
+
multisig: {
|
|
264
|
+
/**
|
|
265
|
+
* The base amount of currency needed to reserve for creating a multisig execution or to
|
|
266
|
+
* store a dispatch call for later.
|
|
267
|
+
*
|
|
268
|
+
* This is held for an additional storage item whose value size is
|
|
269
|
+
* `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
|
|
270
|
+
* `32 + sizeof(AccountId)` bytes.
|
|
271
|
+
**/
|
|
272
|
+
depositBase: bigint;
|
|
273
|
+
/**
|
|
274
|
+
* The amount of currency needed per unit threshold when creating a multisig execution.
|
|
275
|
+
*
|
|
276
|
+
* This is held for adding 32 bytes more into a pre-existing storage value.
|
|
277
|
+
**/
|
|
278
|
+
depositFactor: bigint;
|
|
279
|
+
/**
|
|
280
|
+
* The maximum amount of signatories allowed in the multisig.
|
|
281
|
+
**/
|
|
282
|
+
maxSignatories: number;
|
|
283
|
+
/**
|
|
284
|
+
* Generic pallet constant
|
|
285
|
+
**/
|
|
286
|
+
[name: string]: any;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* Pallet `Proxy`'s constants
|
|
290
|
+
**/
|
|
291
|
+
proxy: {
|
|
292
|
+
/**
|
|
293
|
+
* The base amount of currency needed to reserve for creating a proxy.
|
|
294
|
+
*
|
|
295
|
+
* This is held for an additional storage item whose value size is
|
|
296
|
+
* `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
|
|
297
|
+
**/
|
|
298
|
+
proxyDepositBase: bigint;
|
|
299
|
+
/**
|
|
300
|
+
* The amount of currency needed per proxy added.
|
|
301
|
+
*
|
|
302
|
+
* This is held for adding 32 bytes plus an instance of `ProxyType` more into a
|
|
303
|
+
* pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
|
|
304
|
+
* into account `32 + proxy_type.encode().len()` bytes of data.
|
|
305
|
+
**/
|
|
306
|
+
proxyDepositFactor: bigint;
|
|
307
|
+
/**
|
|
308
|
+
* The maximum amount of proxies allowed for a single account.
|
|
309
|
+
**/
|
|
310
|
+
maxProxies: number;
|
|
311
|
+
/**
|
|
312
|
+
* The maximum amount of time-delayed announcements that are allowed to be pending.
|
|
313
|
+
**/
|
|
314
|
+
maxPending: number;
|
|
315
|
+
/**
|
|
316
|
+
* The base amount of currency needed to reserve for creating an announcement.
|
|
317
|
+
*
|
|
318
|
+
* This is held when a new storage item holding a `Balance` is created (typically 16
|
|
319
|
+
* bytes).
|
|
320
|
+
**/
|
|
321
|
+
announcementDepositBase: bigint;
|
|
322
|
+
/**
|
|
323
|
+
* The amount of currency needed per announcement made.
|
|
324
|
+
*
|
|
325
|
+
* This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
|
|
326
|
+
* into a pre-existing storage value.
|
|
327
|
+
**/
|
|
328
|
+
announcementDepositFactor: bigint;
|
|
329
|
+
/**
|
|
330
|
+
* Generic pallet constant
|
|
331
|
+
**/
|
|
332
|
+
[name: string]: any;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Pallet `Assets`'s constants
|
|
336
|
+
**/
|
|
337
|
+
assets: {
|
|
338
|
+
/**
|
|
339
|
+
* Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
|
|
340
|
+
*
|
|
341
|
+
* Must be configured to result in a weight that makes each call fit in a block.
|
|
342
|
+
**/
|
|
343
|
+
removeItemsLimit: number;
|
|
344
|
+
/**
|
|
345
|
+
* The basic amount of funds that must be reserved for an asset.
|
|
346
|
+
**/
|
|
347
|
+
assetDeposit: bigint;
|
|
348
|
+
/**
|
|
349
|
+
* The amount of funds that must be reserved for a non-provider asset account to be
|
|
350
|
+
* maintained.
|
|
351
|
+
**/
|
|
352
|
+
assetAccountDeposit: bigint;
|
|
353
|
+
/**
|
|
354
|
+
* The basic amount of funds that must be reserved when adding metadata to your asset.
|
|
355
|
+
**/
|
|
356
|
+
metadataDepositBase: bigint;
|
|
357
|
+
/**
|
|
358
|
+
* The additional funds that must be reserved for the number of bytes you store in your
|
|
359
|
+
* metadata.
|
|
360
|
+
**/
|
|
361
|
+
metadataDepositPerByte: bigint;
|
|
362
|
+
/**
|
|
363
|
+
* The amount of funds that must be reserved when creating a new approval.
|
|
364
|
+
**/
|
|
365
|
+
approvalDeposit: bigint;
|
|
366
|
+
/**
|
|
367
|
+
* The maximum length of a name or symbol stored on-chain.
|
|
368
|
+
**/
|
|
369
|
+
stringLimit: number;
|
|
370
|
+
/**
|
|
371
|
+
* Generic pallet constant
|
|
372
|
+
**/
|
|
373
|
+
[name: string]: any;
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* Pallet `Uniques`'s constants
|
|
377
|
+
**/
|
|
378
|
+
uniques: {
|
|
379
|
+
/**
|
|
380
|
+
* The basic amount of funds that must be reserved for collection.
|
|
381
|
+
**/
|
|
382
|
+
collectionDeposit: bigint;
|
|
383
|
+
/**
|
|
384
|
+
* The basic amount of funds that must be reserved for an item.
|
|
385
|
+
**/
|
|
386
|
+
itemDeposit: bigint;
|
|
387
|
+
/**
|
|
388
|
+
* The basic amount of funds that must be reserved when adding metadata to your item.
|
|
389
|
+
**/
|
|
390
|
+
metadataDepositBase: bigint;
|
|
391
|
+
/**
|
|
392
|
+
* The basic amount of funds that must be reserved when adding an attribute to an item.
|
|
393
|
+
**/
|
|
394
|
+
attributeDepositBase: bigint;
|
|
395
|
+
/**
|
|
396
|
+
* The additional funds that must be reserved for the number of bytes store in metadata,
|
|
397
|
+
* either "normal" metadata or attribute metadata.
|
|
398
|
+
**/
|
|
399
|
+
depositPerByte: bigint;
|
|
400
|
+
/**
|
|
401
|
+
* The maximum length of data stored on-chain.
|
|
402
|
+
**/
|
|
403
|
+
stringLimit: number;
|
|
404
|
+
/**
|
|
405
|
+
* The maximum length of an attribute key.
|
|
406
|
+
**/
|
|
407
|
+
keyLimit: number;
|
|
408
|
+
/**
|
|
409
|
+
* The maximum length of an attribute value.
|
|
410
|
+
**/
|
|
411
|
+
valueLimit: number;
|
|
412
|
+
/**
|
|
413
|
+
* Generic pallet constant
|
|
414
|
+
**/
|
|
415
|
+
[name: string]: any;
|
|
416
|
+
};
|
|
417
|
+
/**
|
|
418
|
+
* Pallet `Nfts`'s constants
|
|
419
|
+
**/
|
|
420
|
+
nfts: {
|
|
421
|
+
/**
|
|
422
|
+
* The basic amount of funds that must be reserved for collection.
|
|
423
|
+
**/
|
|
424
|
+
collectionDeposit: bigint;
|
|
425
|
+
/**
|
|
426
|
+
* The basic amount of funds that must be reserved for an item.
|
|
427
|
+
**/
|
|
428
|
+
itemDeposit: bigint;
|
|
429
|
+
/**
|
|
430
|
+
* The basic amount of funds that must be reserved when adding metadata to your item.
|
|
431
|
+
**/
|
|
432
|
+
metadataDepositBase: bigint;
|
|
433
|
+
/**
|
|
434
|
+
* The basic amount of funds that must be reserved when adding an attribute to an item.
|
|
435
|
+
**/
|
|
436
|
+
attributeDepositBase: bigint;
|
|
437
|
+
/**
|
|
438
|
+
* The additional funds that must be reserved for the number of bytes store in metadata,
|
|
439
|
+
* either "normal" metadata or attribute metadata.
|
|
440
|
+
**/
|
|
441
|
+
depositPerByte: bigint;
|
|
442
|
+
/**
|
|
443
|
+
* The maximum length of data stored on-chain.
|
|
444
|
+
**/
|
|
445
|
+
stringLimit: number;
|
|
446
|
+
/**
|
|
447
|
+
* The maximum length of an attribute key.
|
|
448
|
+
**/
|
|
449
|
+
keyLimit: number;
|
|
450
|
+
/**
|
|
451
|
+
* The maximum length of an attribute value.
|
|
452
|
+
**/
|
|
453
|
+
valueLimit: number;
|
|
454
|
+
/**
|
|
455
|
+
* The maximum approvals an item could have.
|
|
456
|
+
**/
|
|
457
|
+
approvalsLimit: number;
|
|
458
|
+
/**
|
|
459
|
+
* The maximum attributes approvals an item could have.
|
|
460
|
+
**/
|
|
461
|
+
itemAttributesApprovalsLimit: number;
|
|
462
|
+
/**
|
|
463
|
+
* The max number of tips a user could send.
|
|
464
|
+
**/
|
|
465
|
+
maxTips: number;
|
|
466
|
+
/**
|
|
467
|
+
* The max duration in blocks for deadlines.
|
|
468
|
+
**/
|
|
469
|
+
maxDeadlineDuration: number;
|
|
470
|
+
/**
|
|
471
|
+
* The max number of attributes a user could set per call.
|
|
472
|
+
**/
|
|
473
|
+
maxAttributesPerCall: number;
|
|
474
|
+
/**
|
|
475
|
+
* Disables some of pallet's features.
|
|
476
|
+
**/
|
|
477
|
+
features: PalletNftsBitFlagsPalletFeature;
|
|
478
|
+
/**
|
|
479
|
+
* Generic pallet constant
|
|
480
|
+
**/
|
|
481
|
+
[name: string]: any;
|
|
482
|
+
};
|
|
483
|
+
/**
|
|
484
|
+
* Pallet `ForeignAssets`'s constants
|
|
485
|
+
**/
|
|
486
|
+
foreignAssets: {
|
|
487
|
+
/**
|
|
488
|
+
* Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
|
|
489
|
+
*
|
|
490
|
+
* Must be configured to result in a weight that makes each call fit in a block.
|
|
491
|
+
**/
|
|
492
|
+
removeItemsLimit: number;
|
|
493
|
+
/**
|
|
494
|
+
* The basic amount of funds that must be reserved for an asset.
|
|
495
|
+
**/
|
|
496
|
+
assetDeposit: bigint;
|
|
497
|
+
/**
|
|
498
|
+
* The amount of funds that must be reserved for a non-provider asset account to be
|
|
499
|
+
* maintained.
|
|
500
|
+
**/
|
|
501
|
+
assetAccountDeposit: bigint;
|
|
502
|
+
/**
|
|
503
|
+
* The basic amount of funds that must be reserved when adding metadata to your asset.
|
|
504
|
+
**/
|
|
505
|
+
metadataDepositBase: bigint;
|
|
506
|
+
/**
|
|
507
|
+
* The additional funds that must be reserved for the number of bytes you store in your
|
|
508
|
+
* metadata.
|
|
509
|
+
**/
|
|
510
|
+
metadataDepositPerByte: bigint;
|
|
511
|
+
/**
|
|
512
|
+
* The amount of funds that must be reserved when creating a new approval.
|
|
513
|
+
**/
|
|
514
|
+
approvalDeposit: bigint;
|
|
515
|
+
/**
|
|
516
|
+
* The maximum length of a name or symbol stored on-chain.
|
|
517
|
+
**/
|
|
518
|
+
stringLimit: number;
|
|
519
|
+
/**
|
|
520
|
+
* Generic pallet constant
|
|
521
|
+
**/
|
|
522
|
+
[name: string]: any;
|
|
523
|
+
};
|
|
524
|
+
}
|