@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/rococo/errors.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainErrors, GenericPalletError } from '
|
|
3
|
+
import type { GenericChainErrors, GenericPalletError, RpcVersion } from 'dedot/types';
|
|
4
4
|
|
|
5
|
-
export interface ChainErrors extends GenericChainErrors {
|
|
5
|
+
export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<Rv> {
|
|
6
6
|
/**
|
|
7
7
|
* Pallet `System`'s errors
|
|
8
8
|
**/
|
|
@@ -11,50 +11,55 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
11
11
|
* The name of specification does not match between the current runtime
|
|
12
12
|
* and the new runtime.
|
|
13
13
|
**/
|
|
14
|
-
InvalidSpecName: GenericPalletError
|
|
14
|
+
InvalidSpecName: GenericPalletError<Rv>;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* The specification version is not allowed to decrease between the current runtime
|
|
18
18
|
* and the new runtime.
|
|
19
19
|
**/
|
|
20
|
-
SpecVersionNeedsToIncrease: GenericPalletError
|
|
20
|
+
SpecVersionNeedsToIncrease: GenericPalletError<Rv>;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Failed to extract the runtime version from the new runtime.
|
|
24
24
|
*
|
|
25
25
|
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
26
26
|
**/
|
|
27
|
-
FailedToExtractRuntimeVersion: GenericPalletError
|
|
27
|
+
FailedToExtractRuntimeVersion: GenericPalletError<Rv>;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Suicide called when the account has non-default composite data.
|
|
31
31
|
**/
|
|
32
|
-
NonDefaultComposite: GenericPalletError
|
|
32
|
+
NonDefaultComposite: GenericPalletError<Rv>;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* There is a non-zero reference count preventing the account from being purged.
|
|
36
36
|
**/
|
|
37
|
-
NonZeroRefCount: GenericPalletError
|
|
37
|
+
NonZeroRefCount: GenericPalletError<Rv>;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* The origin filter prevent the call to be dispatched.
|
|
41
41
|
**/
|
|
42
|
-
CallFiltered: GenericPalletError
|
|
42
|
+
CallFiltered: GenericPalletError<Rv>;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
|
46
|
+
**/
|
|
47
|
+
MultiBlockMigrationsOngoing: GenericPalletError<Rv>;
|
|
43
48
|
|
|
44
49
|
/**
|
|
45
50
|
* No upgrade authorized.
|
|
46
51
|
**/
|
|
47
|
-
NothingAuthorized: GenericPalletError
|
|
52
|
+
NothingAuthorized: GenericPalletError<Rv>;
|
|
48
53
|
|
|
49
54
|
/**
|
|
50
55
|
* The submitted code is not authorized.
|
|
51
56
|
**/
|
|
52
|
-
Unauthorized: GenericPalletError
|
|
57
|
+
Unauthorized: GenericPalletError<Rv>;
|
|
53
58
|
|
|
54
59
|
/**
|
|
55
60
|
* Generic pallet error
|
|
56
61
|
**/
|
|
57
|
-
[error: string]: GenericPalletError
|
|
62
|
+
[error: string]: GenericPalletError<Rv>;
|
|
58
63
|
};
|
|
59
64
|
/**
|
|
60
65
|
* Pallet `Babe`'s errors
|
|
@@ -63,27 +68,27 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
63
68
|
/**
|
|
64
69
|
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
65
70
|
**/
|
|
66
|
-
InvalidEquivocationProof: GenericPalletError
|
|
71
|
+
InvalidEquivocationProof: GenericPalletError<Rv>;
|
|
67
72
|
|
|
68
73
|
/**
|
|
69
74
|
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
70
75
|
**/
|
|
71
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
76
|
+
InvalidKeyOwnershipProof: GenericPalletError<Rv>;
|
|
72
77
|
|
|
73
78
|
/**
|
|
74
79
|
* A given equivocation report is valid but already previously reported.
|
|
75
80
|
**/
|
|
76
|
-
DuplicateOffenceReport: GenericPalletError
|
|
81
|
+
DuplicateOffenceReport: GenericPalletError<Rv>;
|
|
77
82
|
|
|
78
83
|
/**
|
|
79
84
|
* Submitted configuration is invalid.
|
|
80
85
|
**/
|
|
81
|
-
InvalidConfiguration: GenericPalletError
|
|
86
|
+
InvalidConfiguration: GenericPalletError<Rv>;
|
|
82
87
|
|
|
83
88
|
/**
|
|
84
89
|
* Generic pallet error
|
|
85
90
|
**/
|
|
86
|
-
[error: string]: GenericPalletError
|
|
91
|
+
[error: string]: GenericPalletError<Rv>;
|
|
87
92
|
};
|
|
88
93
|
/**
|
|
89
94
|
* Pallet `Indices`'s errors
|
|
@@ -92,32 +97,32 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
92
97
|
/**
|
|
93
98
|
* The index was not already assigned.
|
|
94
99
|
**/
|
|
95
|
-
NotAssigned: GenericPalletError
|
|
100
|
+
NotAssigned: GenericPalletError<Rv>;
|
|
96
101
|
|
|
97
102
|
/**
|
|
98
103
|
* The index is assigned to another account.
|
|
99
104
|
**/
|
|
100
|
-
NotOwner: GenericPalletError
|
|
105
|
+
NotOwner: GenericPalletError<Rv>;
|
|
101
106
|
|
|
102
107
|
/**
|
|
103
108
|
* The index was not available.
|
|
104
109
|
**/
|
|
105
|
-
InUse: GenericPalletError
|
|
110
|
+
InUse: GenericPalletError<Rv>;
|
|
106
111
|
|
|
107
112
|
/**
|
|
108
113
|
* The source and destination accounts are identical.
|
|
109
114
|
**/
|
|
110
|
-
NotTransfer: GenericPalletError
|
|
115
|
+
NotTransfer: GenericPalletError<Rv>;
|
|
111
116
|
|
|
112
117
|
/**
|
|
113
118
|
* The index is permanent and may not be freed/changed.
|
|
114
119
|
**/
|
|
115
|
-
Permanent: GenericPalletError
|
|
120
|
+
Permanent: GenericPalletError<Rv>;
|
|
116
121
|
|
|
117
122
|
/**
|
|
118
123
|
* Generic pallet error
|
|
119
124
|
**/
|
|
120
|
-
[error: string]: GenericPalletError
|
|
125
|
+
[error: string]: GenericPalletError<Rv>;
|
|
121
126
|
};
|
|
122
127
|
/**
|
|
123
128
|
* Pallet `Balances`'s errors
|
|
@@ -126,67 +131,67 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
126
131
|
/**
|
|
127
132
|
* Vesting balance too high to send value.
|
|
128
133
|
**/
|
|
129
|
-
VestingBalance: GenericPalletError
|
|
134
|
+
VestingBalance: GenericPalletError<Rv>;
|
|
130
135
|
|
|
131
136
|
/**
|
|
132
137
|
* Account liquidity restrictions prevent withdrawal.
|
|
133
138
|
**/
|
|
134
|
-
LiquidityRestrictions: GenericPalletError
|
|
139
|
+
LiquidityRestrictions: GenericPalletError<Rv>;
|
|
135
140
|
|
|
136
141
|
/**
|
|
137
142
|
* Balance too low to send value.
|
|
138
143
|
**/
|
|
139
|
-
InsufficientBalance: GenericPalletError
|
|
144
|
+
InsufficientBalance: GenericPalletError<Rv>;
|
|
140
145
|
|
|
141
146
|
/**
|
|
142
147
|
* Value too low to create account due to existential deposit.
|
|
143
148
|
**/
|
|
144
|
-
ExistentialDeposit: GenericPalletError
|
|
149
|
+
ExistentialDeposit: GenericPalletError<Rv>;
|
|
145
150
|
|
|
146
151
|
/**
|
|
147
152
|
* Transfer/payment would kill account.
|
|
148
153
|
**/
|
|
149
|
-
Expendability: GenericPalletError
|
|
154
|
+
Expendability: GenericPalletError<Rv>;
|
|
150
155
|
|
|
151
156
|
/**
|
|
152
157
|
* A vesting schedule already exists for this account.
|
|
153
158
|
**/
|
|
154
|
-
ExistingVestingSchedule: GenericPalletError
|
|
159
|
+
ExistingVestingSchedule: GenericPalletError<Rv>;
|
|
155
160
|
|
|
156
161
|
/**
|
|
157
162
|
* Beneficiary account must pre-exist.
|
|
158
163
|
**/
|
|
159
|
-
DeadAccount: GenericPalletError
|
|
164
|
+
DeadAccount: GenericPalletError<Rv>;
|
|
160
165
|
|
|
161
166
|
/**
|
|
162
167
|
* Number of named reserves exceed `MaxReserves`.
|
|
163
168
|
**/
|
|
164
|
-
TooManyReserves: GenericPalletError
|
|
169
|
+
TooManyReserves: GenericPalletError<Rv>;
|
|
165
170
|
|
|
166
171
|
/**
|
|
167
172
|
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
168
173
|
**/
|
|
169
|
-
TooManyHolds: GenericPalletError
|
|
174
|
+
TooManyHolds: GenericPalletError<Rv>;
|
|
170
175
|
|
|
171
176
|
/**
|
|
172
177
|
* Number of freezes exceed `MaxFreezes`.
|
|
173
178
|
**/
|
|
174
|
-
TooManyFreezes: GenericPalletError
|
|
179
|
+
TooManyFreezes: GenericPalletError<Rv>;
|
|
175
180
|
|
|
176
181
|
/**
|
|
177
182
|
* The issuance cannot be modified since it is already deactivated.
|
|
178
183
|
**/
|
|
179
|
-
IssuanceDeactivated: GenericPalletError
|
|
184
|
+
IssuanceDeactivated: GenericPalletError<Rv>;
|
|
180
185
|
|
|
181
186
|
/**
|
|
182
187
|
* The delta cannot be zero.
|
|
183
188
|
**/
|
|
184
|
-
DeltaZero: GenericPalletError
|
|
189
|
+
DeltaZero: GenericPalletError<Rv>;
|
|
185
190
|
|
|
186
191
|
/**
|
|
187
192
|
* Generic pallet error
|
|
188
193
|
**/
|
|
189
|
-
[error: string]: GenericPalletError
|
|
194
|
+
[error: string]: GenericPalletError<Rv>;
|
|
190
195
|
};
|
|
191
196
|
/**
|
|
192
197
|
* Pallet `Session`'s errors
|
|
@@ -195,32 +200,32 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
195
200
|
/**
|
|
196
201
|
* Invalid ownership proof.
|
|
197
202
|
**/
|
|
198
|
-
InvalidProof: GenericPalletError
|
|
203
|
+
InvalidProof: GenericPalletError<Rv>;
|
|
199
204
|
|
|
200
205
|
/**
|
|
201
206
|
* No associated validator ID for account.
|
|
202
207
|
**/
|
|
203
|
-
NoAssociatedValidatorId: GenericPalletError
|
|
208
|
+
NoAssociatedValidatorId: GenericPalletError<Rv>;
|
|
204
209
|
|
|
205
210
|
/**
|
|
206
211
|
* Registered duplicate key.
|
|
207
212
|
**/
|
|
208
|
-
DuplicatedKey: GenericPalletError
|
|
213
|
+
DuplicatedKey: GenericPalletError<Rv>;
|
|
209
214
|
|
|
210
215
|
/**
|
|
211
216
|
* No keys are associated with this account.
|
|
212
217
|
**/
|
|
213
|
-
NoKeys: GenericPalletError
|
|
218
|
+
NoKeys: GenericPalletError<Rv>;
|
|
214
219
|
|
|
215
220
|
/**
|
|
216
221
|
* Key setting account is not live, so it's impossible to associate keys.
|
|
217
222
|
**/
|
|
218
|
-
NoAccount: GenericPalletError
|
|
223
|
+
NoAccount: GenericPalletError<Rv>;
|
|
219
224
|
|
|
220
225
|
/**
|
|
221
226
|
* Generic pallet error
|
|
222
227
|
**/
|
|
223
|
-
[error: string]: GenericPalletError
|
|
228
|
+
[error: string]: GenericPalletError<Rv>;
|
|
224
229
|
};
|
|
225
230
|
/**
|
|
226
231
|
* Pallet `Grandpa`'s errors
|
|
@@ -230,113 +235,108 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
230
235
|
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
231
236
|
* (either paused or already pending pause).
|
|
232
237
|
**/
|
|
233
|
-
PauseFailed: GenericPalletError
|
|
238
|
+
PauseFailed: GenericPalletError<Rv>;
|
|
234
239
|
|
|
235
240
|
/**
|
|
236
241
|
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
237
242
|
* (either live or already pending resume).
|
|
238
243
|
**/
|
|
239
|
-
ResumeFailed: GenericPalletError
|
|
244
|
+
ResumeFailed: GenericPalletError<Rv>;
|
|
240
245
|
|
|
241
246
|
/**
|
|
242
247
|
* Attempt to signal GRANDPA change with one already pending.
|
|
243
248
|
**/
|
|
244
|
-
ChangePending: GenericPalletError
|
|
249
|
+
ChangePending: GenericPalletError<Rv>;
|
|
245
250
|
|
|
246
251
|
/**
|
|
247
252
|
* Cannot signal forced change so soon after last.
|
|
248
253
|
**/
|
|
249
|
-
TooSoon: GenericPalletError
|
|
254
|
+
TooSoon: GenericPalletError<Rv>;
|
|
250
255
|
|
|
251
256
|
/**
|
|
252
257
|
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
253
258
|
**/
|
|
254
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
259
|
+
InvalidKeyOwnershipProof: GenericPalletError<Rv>;
|
|
255
260
|
|
|
256
261
|
/**
|
|
257
262
|
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
258
263
|
**/
|
|
259
|
-
InvalidEquivocationProof: GenericPalletError
|
|
264
|
+
InvalidEquivocationProof: GenericPalletError<Rv>;
|
|
260
265
|
|
|
261
266
|
/**
|
|
262
267
|
* A given equivocation report is valid but already previously reported.
|
|
263
268
|
**/
|
|
264
|
-
DuplicateOffenceReport: GenericPalletError
|
|
269
|
+
DuplicateOffenceReport: GenericPalletError<Rv>;
|
|
265
270
|
|
|
266
271
|
/**
|
|
267
272
|
* Generic pallet error
|
|
268
273
|
**/
|
|
269
|
-
[error: string]: GenericPalletError
|
|
274
|
+
[error: string]: GenericPalletError<Rv>;
|
|
270
275
|
};
|
|
271
276
|
/**
|
|
272
277
|
* Pallet `Treasury`'s errors
|
|
273
278
|
**/
|
|
274
279
|
treasury: {
|
|
275
|
-
/**
|
|
276
|
-
* Proposer's balance is too low.
|
|
277
|
-
**/
|
|
278
|
-
InsufficientProposersBalance: GenericPalletError;
|
|
279
|
-
|
|
280
280
|
/**
|
|
281
281
|
* No proposal, bounty or spend at that index.
|
|
282
282
|
**/
|
|
283
|
-
InvalidIndex: GenericPalletError
|
|
283
|
+
InvalidIndex: GenericPalletError<Rv>;
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
286
|
* Too many approvals in the queue.
|
|
287
287
|
**/
|
|
288
|
-
TooManyApprovals: GenericPalletError
|
|
288
|
+
TooManyApprovals: GenericPalletError<Rv>;
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
292
292
|
* amount to be spent.
|
|
293
293
|
**/
|
|
294
|
-
InsufficientPermission: GenericPalletError
|
|
294
|
+
InsufficientPermission: GenericPalletError<Rv>;
|
|
295
295
|
|
|
296
296
|
/**
|
|
297
297
|
* Proposal has not been approved.
|
|
298
298
|
**/
|
|
299
|
-
ProposalNotApproved: GenericPalletError
|
|
299
|
+
ProposalNotApproved: GenericPalletError<Rv>;
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
302
|
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
303
303
|
**/
|
|
304
|
-
FailedToConvertBalance: GenericPalletError
|
|
304
|
+
FailedToConvertBalance: GenericPalletError<Rv>;
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* The spend has expired and cannot be claimed.
|
|
308
308
|
**/
|
|
309
|
-
SpendExpired: GenericPalletError
|
|
309
|
+
SpendExpired: GenericPalletError<Rv>;
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
312
|
* The spend is not yet eligible for payout.
|
|
313
313
|
**/
|
|
314
|
-
EarlyPayout: GenericPalletError
|
|
314
|
+
EarlyPayout: GenericPalletError<Rv>;
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
317
|
* The payment has already been attempted.
|
|
318
318
|
**/
|
|
319
|
-
AlreadyAttempted: GenericPalletError
|
|
319
|
+
AlreadyAttempted: GenericPalletError<Rv>;
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
322
|
* There was some issue with the mechanism of payment.
|
|
323
323
|
**/
|
|
324
|
-
PayoutError: GenericPalletError
|
|
324
|
+
PayoutError: GenericPalletError<Rv>;
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
327
|
* The payout was not yet attempted/claimed.
|
|
328
328
|
**/
|
|
329
|
-
NotAttempted: GenericPalletError
|
|
329
|
+
NotAttempted: GenericPalletError<Rv>;
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
332
|
* The payment has neither failed nor succeeded yet.
|
|
333
333
|
**/
|
|
334
|
-
Inconclusive: GenericPalletError
|
|
334
|
+
Inconclusive: GenericPalletError<Rv>;
|
|
335
335
|
|
|
336
336
|
/**
|
|
337
337
|
* Generic pallet error
|
|
338
338
|
**/
|
|
339
|
-
[error: string]: GenericPalletError
|
|
339
|
+
[error: string]: GenericPalletError<Rv>;
|
|
340
340
|
};
|
|
341
341
|
/**
|
|
342
342
|
* Pallet `ConvictionVoting`'s errors
|
|
@@ -345,68 +345,68 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
345
345
|
/**
|
|
346
346
|
* Poll is not ongoing.
|
|
347
347
|
**/
|
|
348
|
-
NotOngoing: GenericPalletError
|
|
348
|
+
NotOngoing: GenericPalletError<Rv>;
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
351
|
* The given account did not vote on the poll.
|
|
352
352
|
**/
|
|
353
|
-
NotVoter: GenericPalletError
|
|
353
|
+
NotVoter: GenericPalletError<Rv>;
|
|
354
354
|
|
|
355
355
|
/**
|
|
356
356
|
* The actor has no permission to conduct the action.
|
|
357
357
|
**/
|
|
358
|
-
NoPermission: GenericPalletError
|
|
358
|
+
NoPermission: GenericPalletError<Rv>;
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
361
|
* The actor has no permission to conduct the action right now but will do in the future.
|
|
362
362
|
**/
|
|
363
|
-
NoPermissionYet: GenericPalletError
|
|
363
|
+
NoPermissionYet: GenericPalletError<Rv>;
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
366
|
* The account is already delegating.
|
|
367
367
|
**/
|
|
368
|
-
AlreadyDelegating: GenericPalletError
|
|
368
|
+
AlreadyDelegating: GenericPalletError<Rv>;
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
371
|
* The account currently has votes attached to it and the operation cannot succeed until
|
|
372
372
|
* these are removed through `remove_vote`.
|
|
373
373
|
**/
|
|
374
|
-
AlreadyVoting: GenericPalletError
|
|
374
|
+
AlreadyVoting: GenericPalletError<Rv>;
|
|
375
375
|
|
|
376
376
|
/**
|
|
377
377
|
* Too high a balance was provided that the account cannot afford.
|
|
378
378
|
**/
|
|
379
|
-
InsufficientFunds: GenericPalletError
|
|
379
|
+
InsufficientFunds: GenericPalletError<Rv>;
|
|
380
380
|
|
|
381
381
|
/**
|
|
382
382
|
* The account is not currently delegating.
|
|
383
383
|
**/
|
|
384
|
-
NotDelegating: GenericPalletError
|
|
384
|
+
NotDelegating: GenericPalletError<Rv>;
|
|
385
385
|
|
|
386
386
|
/**
|
|
387
387
|
* Delegation to oneself makes no sense.
|
|
388
388
|
**/
|
|
389
|
-
Nonsense: GenericPalletError
|
|
389
|
+
Nonsense: GenericPalletError<Rv>;
|
|
390
390
|
|
|
391
391
|
/**
|
|
392
392
|
* Maximum number of votes reached.
|
|
393
393
|
**/
|
|
394
|
-
MaxVotesReached: GenericPalletError
|
|
394
|
+
MaxVotesReached: GenericPalletError<Rv>;
|
|
395
395
|
|
|
396
396
|
/**
|
|
397
397
|
* The class must be supplied since it is not easily determinable from the state.
|
|
398
398
|
**/
|
|
399
|
-
ClassNeeded: GenericPalletError
|
|
399
|
+
ClassNeeded: GenericPalletError<Rv>;
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* The class ID supplied is invalid.
|
|
403
403
|
**/
|
|
404
|
-
BadClass: GenericPalletError
|
|
404
|
+
BadClass: GenericPalletError<Rv>;
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
407
|
* Generic pallet error
|
|
408
408
|
**/
|
|
409
|
-
[error: string]: GenericPalletError
|
|
409
|
+
[error: string]: GenericPalletError<Rv>;
|
|
410
410
|
};
|
|
411
411
|
/**
|
|
412
412
|
* Pallet `Referenda`'s errors
|
|
@@ -415,72 +415,77 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
415
415
|
/**
|
|
416
416
|
* Referendum is not ongoing.
|
|
417
417
|
**/
|
|
418
|
-
NotOngoing: GenericPalletError
|
|
418
|
+
NotOngoing: GenericPalletError<Rv>;
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
421
|
* Referendum's decision deposit is already paid.
|
|
422
422
|
**/
|
|
423
|
-
HasDeposit: GenericPalletError
|
|
423
|
+
HasDeposit: GenericPalletError<Rv>;
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
426
|
* The track identifier given was invalid.
|
|
427
427
|
**/
|
|
428
|
-
BadTrack: GenericPalletError
|
|
428
|
+
BadTrack: GenericPalletError<Rv>;
|
|
429
429
|
|
|
430
430
|
/**
|
|
431
431
|
* There are already a full complement of referenda in progress for this track.
|
|
432
432
|
**/
|
|
433
|
-
Full: GenericPalletError
|
|
433
|
+
Full: GenericPalletError<Rv>;
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
436
|
* The queue of the track is empty.
|
|
437
437
|
**/
|
|
438
|
-
QueueEmpty: GenericPalletError
|
|
438
|
+
QueueEmpty: GenericPalletError<Rv>;
|
|
439
439
|
|
|
440
440
|
/**
|
|
441
441
|
* The referendum index provided is invalid in this context.
|
|
442
442
|
**/
|
|
443
|
-
BadReferendum: GenericPalletError
|
|
443
|
+
BadReferendum: GenericPalletError<Rv>;
|
|
444
444
|
|
|
445
445
|
/**
|
|
446
446
|
* There was nothing to do in the advancement.
|
|
447
447
|
**/
|
|
448
|
-
NothingToDo: GenericPalletError
|
|
448
|
+
NothingToDo: GenericPalletError<Rv>;
|
|
449
449
|
|
|
450
450
|
/**
|
|
451
451
|
* No track exists for the proposal origin.
|
|
452
452
|
**/
|
|
453
|
-
NoTrack: GenericPalletError
|
|
453
|
+
NoTrack: GenericPalletError<Rv>;
|
|
454
454
|
|
|
455
455
|
/**
|
|
456
456
|
* Any deposit cannot be refunded until after the decision is over.
|
|
457
457
|
**/
|
|
458
|
-
Unfinished: GenericPalletError
|
|
458
|
+
Unfinished: GenericPalletError<Rv>;
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
461
|
* The deposit refunder is not the depositor.
|
|
462
462
|
**/
|
|
463
|
-
NoPermission: GenericPalletError
|
|
463
|
+
NoPermission: GenericPalletError<Rv>;
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
466
|
* The deposit cannot be refunded since none was made.
|
|
467
467
|
**/
|
|
468
|
-
NoDeposit: GenericPalletError
|
|
468
|
+
NoDeposit: GenericPalletError<Rv>;
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
471
|
* The referendum status is invalid for this operation.
|
|
472
472
|
**/
|
|
473
|
-
BadStatus: GenericPalletError
|
|
473
|
+
BadStatus: GenericPalletError<Rv>;
|
|
474
474
|
|
|
475
475
|
/**
|
|
476
476
|
* The preimage does not exist.
|
|
477
477
|
**/
|
|
478
|
-
PreimageNotExist: GenericPalletError
|
|
478
|
+
PreimageNotExist: GenericPalletError<Rv>;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* The preimage is stored with a different length than the one provided.
|
|
482
|
+
**/
|
|
483
|
+
PreimageStoredWithDifferentLength: GenericPalletError<Rv>;
|
|
479
484
|
|
|
480
485
|
/**
|
|
481
486
|
* Generic pallet error
|
|
482
487
|
**/
|
|
483
|
-
[error: string]: GenericPalletError
|
|
488
|
+
[error: string]: GenericPalletError<Rv>;
|
|
484
489
|
};
|
|
485
490
|
/**
|
|
486
491
|
* Pallet `FellowshipCollective`'s errors
|
|
@@ -489,57 +494,62 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
489
494
|
/**
|
|
490
495
|
* Account is already a member.
|
|
491
496
|
**/
|
|
492
|
-
AlreadyMember: GenericPalletError
|
|
497
|
+
AlreadyMember: GenericPalletError<Rv>;
|
|
493
498
|
|
|
494
499
|
/**
|
|
495
500
|
* Account is not a member.
|
|
496
501
|
**/
|
|
497
|
-
NotMember: GenericPalletError
|
|
502
|
+
NotMember: GenericPalletError<Rv>;
|
|
498
503
|
|
|
499
504
|
/**
|
|
500
505
|
* The given poll index is unknown or has closed.
|
|
501
506
|
**/
|
|
502
|
-
NotPolling: GenericPalletError
|
|
507
|
+
NotPolling: GenericPalletError<Rv>;
|
|
503
508
|
|
|
504
509
|
/**
|
|
505
510
|
* The given poll is still ongoing.
|
|
506
511
|
**/
|
|
507
|
-
Ongoing: GenericPalletError
|
|
512
|
+
Ongoing: GenericPalletError<Rv>;
|
|
508
513
|
|
|
509
514
|
/**
|
|
510
515
|
* There are no further records to be removed.
|
|
511
516
|
**/
|
|
512
|
-
NoneRemaining: GenericPalletError
|
|
517
|
+
NoneRemaining: GenericPalletError<Rv>;
|
|
513
518
|
|
|
514
519
|
/**
|
|
515
520
|
* Unexpected error in state.
|
|
516
521
|
**/
|
|
517
|
-
Corruption: GenericPalletError
|
|
522
|
+
Corruption: GenericPalletError<Rv>;
|
|
518
523
|
|
|
519
524
|
/**
|
|
520
525
|
* The member's rank is too low to vote.
|
|
521
526
|
**/
|
|
522
|
-
RankTooLow: GenericPalletError
|
|
527
|
+
RankTooLow: GenericPalletError<Rv>;
|
|
523
528
|
|
|
524
529
|
/**
|
|
525
530
|
* The information provided is incorrect.
|
|
526
531
|
**/
|
|
527
|
-
InvalidWitness: GenericPalletError
|
|
532
|
+
InvalidWitness: GenericPalletError<Rv>;
|
|
528
533
|
|
|
529
534
|
/**
|
|
530
535
|
* The origin is not sufficiently privileged to do the operation.
|
|
531
536
|
**/
|
|
532
|
-
NoPermission: GenericPalletError
|
|
537
|
+
NoPermission: GenericPalletError<Rv>;
|
|
533
538
|
|
|
534
539
|
/**
|
|
535
540
|
* The new member to exchange is the same as the old member
|
|
536
541
|
**/
|
|
537
|
-
SameMember: GenericPalletError
|
|
542
|
+
SameMember: GenericPalletError<Rv>;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* The max member count for the rank has been reached.
|
|
546
|
+
**/
|
|
547
|
+
TooManyMembers: GenericPalletError<Rv>;
|
|
538
548
|
|
|
539
549
|
/**
|
|
540
550
|
* Generic pallet error
|
|
541
551
|
**/
|
|
542
|
-
[error: string]: GenericPalletError
|
|
552
|
+
[error: string]: GenericPalletError<Rv>;
|
|
543
553
|
};
|
|
544
554
|
/**
|
|
545
555
|
* Pallet `FellowshipReferenda`'s errors
|
|
@@ -548,72 +558,77 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
548
558
|
/**
|
|
549
559
|
* Referendum is not ongoing.
|
|
550
560
|
**/
|
|
551
|
-
NotOngoing: GenericPalletError
|
|
561
|
+
NotOngoing: GenericPalletError<Rv>;
|
|
552
562
|
|
|
553
563
|
/**
|
|
554
564
|
* Referendum's decision deposit is already paid.
|
|
555
565
|
**/
|
|
556
|
-
HasDeposit: GenericPalletError
|
|
566
|
+
HasDeposit: GenericPalletError<Rv>;
|
|
557
567
|
|
|
558
568
|
/**
|
|
559
569
|
* The track identifier given was invalid.
|
|
560
570
|
**/
|
|
561
|
-
BadTrack: GenericPalletError
|
|
571
|
+
BadTrack: GenericPalletError<Rv>;
|
|
562
572
|
|
|
563
573
|
/**
|
|
564
574
|
* There are already a full complement of referenda in progress for this track.
|
|
565
575
|
**/
|
|
566
|
-
Full: GenericPalletError
|
|
576
|
+
Full: GenericPalletError<Rv>;
|
|
567
577
|
|
|
568
578
|
/**
|
|
569
579
|
* The queue of the track is empty.
|
|
570
580
|
**/
|
|
571
|
-
QueueEmpty: GenericPalletError
|
|
581
|
+
QueueEmpty: GenericPalletError<Rv>;
|
|
572
582
|
|
|
573
583
|
/**
|
|
574
584
|
* The referendum index provided is invalid in this context.
|
|
575
585
|
**/
|
|
576
|
-
BadReferendum: GenericPalletError
|
|
586
|
+
BadReferendum: GenericPalletError<Rv>;
|
|
577
587
|
|
|
578
588
|
/**
|
|
579
589
|
* There was nothing to do in the advancement.
|
|
580
590
|
**/
|
|
581
|
-
NothingToDo: GenericPalletError
|
|
591
|
+
NothingToDo: GenericPalletError<Rv>;
|
|
582
592
|
|
|
583
593
|
/**
|
|
584
594
|
* No track exists for the proposal origin.
|
|
585
595
|
**/
|
|
586
|
-
NoTrack: GenericPalletError
|
|
596
|
+
NoTrack: GenericPalletError<Rv>;
|
|
587
597
|
|
|
588
598
|
/**
|
|
589
599
|
* Any deposit cannot be refunded until after the decision is over.
|
|
590
600
|
**/
|
|
591
|
-
Unfinished: GenericPalletError
|
|
601
|
+
Unfinished: GenericPalletError<Rv>;
|
|
592
602
|
|
|
593
603
|
/**
|
|
594
604
|
* The deposit refunder is not the depositor.
|
|
595
605
|
**/
|
|
596
|
-
NoPermission: GenericPalletError
|
|
606
|
+
NoPermission: GenericPalletError<Rv>;
|
|
597
607
|
|
|
598
608
|
/**
|
|
599
609
|
* The deposit cannot be refunded since none was made.
|
|
600
610
|
**/
|
|
601
|
-
NoDeposit: GenericPalletError
|
|
611
|
+
NoDeposit: GenericPalletError<Rv>;
|
|
602
612
|
|
|
603
613
|
/**
|
|
604
614
|
* The referendum status is invalid for this operation.
|
|
605
615
|
**/
|
|
606
|
-
BadStatus: GenericPalletError
|
|
616
|
+
BadStatus: GenericPalletError<Rv>;
|
|
607
617
|
|
|
608
618
|
/**
|
|
609
619
|
* The preimage does not exist.
|
|
610
620
|
**/
|
|
611
|
-
PreimageNotExist: GenericPalletError
|
|
621
|
+
PreimageNotExist: GenericPalletError<Rv>;
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* The preimage is stored with a different length than the one provided.
|
|
625
|
+
**/
|
|
626
|
+
PreimageStoredWithDifferentLength: GenericPalletError<Rv>;
|
|
612
627
|
|
|
613
628
|
/**
|
|
614
629
|
* Generic pallet error
|
|
615
630
|
**/
|
|
616
|
-
[error: string]: GenericPalletError
|
|
631
|
+
[error: string]: GenericPalletError<Rv>;
|
|
617
632
|
};
|
|
618
633
|
/**
|
|
619
634
|
* Pallet `Whitelist`'s errors
|
|
@@ -622,32 +637,32 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
622
637
|
/**
|
|
623
638
|
* The preimage of the call hash could not be loaded.
|
|
624
639
|
**/
|
|
625
|
-
UnavailablePreImage: GenericPalletError
|
|
640
|
+
UnavailablePreImage: GenericPalletError<Rv>;
|
|
626
641
|
|
|
627
642
|
/**
|
|
628
643
|
* The call could not be decoded.
|
|
629
644
|
**/
|
|
630
|
-
UndecodableCall: GenericPalletError
|
|
645
|
+
UndecodableCall: GenericPalletError<Rv>;
|
|
631
646
|
|
|
632
647
|
/**
|
|
633
648
|
* The weight of the decoded call was higher than the witness.
|
|
634
649
|
**/
|
|
635
|
-
InvalidCallWeightWitness: GenericPalletError
|
|
650
|
+
InvalidCallWeightWitness: GenericPalletError<Rv>;
|
|
636
651
|
|
|
637
652
|
/**
|
|
638
653
|
* The call was not whitelisted.
|
|
639
654
|
**/
|
|
640
|
-
CallIsNotWhitelisted: GenericPalletError
|
|
655
|
+
CallIsNotWhitelisted: GenericPalletError<Rv>;
|
|
641
656
|
|
|
642
657
|
/**
|
|
643
658
|
* The call was already whitelisted; No-Op.
|
|
644
659
|
**/
|
|
645
|
-
CallAlreadyWhitelisted: GenericPalletError
|
|
660
|
+
CallAlreadyWhitelisted: GenericPalletError<Rv>;
|
|
646
661
|
|
|
647
662
|
/**
|
|
648
663
|
* Generic pallet error
|
|
649
664
|
**/
|
|
650
|
-
[error: string]: GenericPalletError
|
|
665
|
+
[error: string]: GenericPalletError<Rv>;
|
|
651
666
|
};
|
|
652
667
|
/**
|
|
653
668
|
* Pallet `Claims`'s errors
|
|
@@ -656,38 +671,38 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
656
671
|
/**
|
|
657
672
|
* Invalid Ethereum signature.
|
|
658
673
|
**/
|
|
659
|
-
InvalidEthereumSignature: GenericPalletError
|
|
674
|
+
InvalidEthereumSignature: GenericPalletError<Rv>;
|
|
660
675
|
|
|
661
676
|
/**
|
|
662
677
|
* Ethereum address has no claim.
|
|
663
678
|
**/
|
|
664
|
-
SignerHasNoClaim: GenericPalletError
|
|
679
|
+
SignerHasNoClaim: GenericPalletError<Rv>;
|
|
665
680
|
|
|
666
681
|
/**
|
|
667
682
|
* Account ID sending transaction has no claim.
|
|
668
683
|
**/
|
|
669
|
-
SenderHasNoClaim: GenericPalletError
|
|
684
|
+
SenderHasNoClaim: GenericPalletError<Rv>;
|
|
670
685
|
|
|
671
686
|
/**
|
|
672
687
|
* There's not enough in the pot to pay out some unvested amount. Generally implies a
|
|
673
688
|
* logic error.
|
|
674
689
|
**/
|
|
675
|
-
PotUnderflow: GenericPalletError
|
|
690
|
+
PotUnderflow: GenericPalletError<Rv>;
|
|
676
691
|
|
|
677
692
|
/**
|
|
678
693
|
* A needed statement was not included.
|
|
679
694
|
**/
|
|
680
|
-
InvalidStatement: GenericPalletError
|
|
695
|
+
InvalidStatement: GenericPalletError<Rv>;
|
|
681
696
|
|
|
682
697
|
/**
|
|
683
698
|
* The account already has a vested balance.
|
|
684
699
|
**/
|
|
685
|
-
VestedBalanceExists: GenericPalletError
|
|
700
|
+
VestedBalanceExists: GenericPalletError<Rv>;
|
|
686
701
|
|
|
687
702
|
/**
|
|
688
703
|
* Generic pallet error
|
|
689
704
|
**/
|
|
690
|
-
[error: string]: GenericPalletError
|
|
705
|
+
[error: string]: GenericPalletError<Rv>;
|
|
691
706
|
};
|
|
692
707
|
/**
|
|
693
708
|
* Pallet `Utility`'s errors
|
|
@@ -696,12 +711,12 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
696
711
|
/**
|
|
697
712
|
* Too many calls batched.
|
|
698
713
|
**/
|
|
699
|
-
TooManyCalls: GenericPalletError
|
|
714
|
+
TooManyCalls: GenericPalletError<Rv>;
|
|
700
715
|
|
|
701
716
|
/**
|
|
702
717
|
* Generic pallet error
|
|
703
718
|
**/
|
|
704
|
-
[error: string]: GenericPalletError
|
|
719
|
+
[error: string]: GenericPalletError<Rv>;
|
|
705
720
|
};
|
|
706
721
|
/**
|
|
707
722
|
* Pallet `Identity`'s errors
|
|
@@ -710,137 +725,137 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
710
725
|
/**
|
|
711
726
|
* Too many subs-accounts.
|
|
712
727
|
**/
|
|
713
|
-
TooManySubAccounts: GenericPalletError
|
|
728
|
+
TooManySubAccounts: GenericPalletError<Rv>;
|
|
714
729
|
|
|
715
730
|
/**
|
|
716
731
|
* Account isn't found.
|
|
717
732
|
**/
|
|
718
|
-
NotFound: GenericPalletError
|
|
733
|
+
NotFound: GenericPalletError<Rv>;
|
|
719
734
|
|
|
720
735
|
/**
|
|
721
736
|
* Account isn't named.
|
|
722
737
|
**/
|
|
723
|
-
NotNamed: GenericPalletError
|
|
738
|
+
NotNamed: GenericPalletError<Rv>;
|
|
724
739
|
|
|
725
740
|
/**
|
|
726
741
|
* Empty index.
|
|
727
742
|
**/
|
|
728
|
-
EmptyIndex: GenericPalletError
|
|
743
|
+
EmptyIndex: GenericPalletError<Rv>;
|
|
729
744
|
|
|
730
745
|
/**
|
|
731
746
|
* Fee is changed.
|
|
732
747
|
**/
|
|
733
|
-
FeeChanged: GenericPalletError
|
|
748
|
+
FeeChanged: GenericPalletError<Rv>;
|
|
734
749
|
|
|
735
750
|
/**
|
|
736
751
|
* No identity found.
|
|
737
752
|
**/
|
|
738
|
-
NoIdentity: GenericPalletError
|
|
753
|
+
NoIdentity: GenericPalletError<Rv>;
|
|
739
754
|
|
|
740
755
|
/**
|
|
741
756
|
* Sticky judgement.
|
|
742
757
|
**/
|
|
743
|
-
StickyJudgement: GenericPalletError
|
|
758
|
+
StickyJudgement: GenericPalletError<Rv>;
|
|
744
759
|
|
|
745
760
|
/**
|
|
746
761
|
* Judgement given.
|
|
747
762
|
**/
|
|
748
|
-
JudgementGiven: GenericPalletError
|
|
763
|
+
JudgementGiven: GenericPalletError<Rv>;
|
|
749
764
|
|
|
750
765
|
/**
|
|
751
766
|
* Invalid judgement.
|
|
752
767
|
**/
|
|
753
|
-
InvalidJudgement: GenericPalletError
|
|
768
|
+
InvalidJudgement: GenericPalletError<Rv>;
|
|
754
769
|
|
|
755
770
|
/**
|
|
756
771
|
* The index is invalid.
|
|
757
772
|
**/
|
|
758
|
-
InvalidIndex: GenericPalletError
|
|
773
|
+
InvalidIndex: GenericPalletError<Rv>;
|
|
759
774
|
|
|
760
775
|
/**
|
|
761
776
|
* The target is invalid.
|
|
762
777
|
**/
|
|
763
|
-
InvalidTarget: GenericPalletError
|
|
778
|
+
InvalidTarget: GenericPalletError<Rv>;
|
|
764
779
|
|
|
765
780
|
/**
|
|
766
781
|
* Maximum amount of registrars reached. Cannot add any more.
|
|
767
782
|
**/
|
|
768
|
-
TooManyRegistrars: GenericPalletError
|
|
783
|
+
TooManyRegistrars: GenericPalletError<Rv>;
|
|
769
784
|
|
|
770
785
|
/**
|
|
771
786
|
* Account ID is already named.
|
|
772
787
|
**/
|
|
773
|
-
AlreadyClaimed: GenericPalletError
|
|
788
|
+
AlreadyClaimed: GenericPalletError<Rv>;
|
|
774
789
|
|
|
775
790
|
/**
|
|
776
791
|
* Sender is not a sub-account.
|
|
777
792
|
**/
|
|
778
|
-
NotSub: GenericPalletError
|
|
793
|
+
NotSub: GenericPalletError<Rv>;
|
|
779
794
|
|
|
780
795
|
/**
|
|
781
796
|
* Sub-account isn't owned by sender.
|
|
782
797
|
**/
|
|
783
|
-
NotOwned: GenericPalletError
|
|
798
|
+
NotOwned: GenericPalletError<Rv>;
|
|
784
799
|
|
|
785
800
|
/**
|
|
786
801
|
* The provided judgement was for a different identity.
|
|
787
802
|
**/
|
|
788
|
-
JudgementForDifferentIdentity: GenericPalletError
|
|
803
|
+
JudgementForDifferentIdentity: GenericPalletError<Rv>;
|
|
789
804
|
|
|
790
805
|
/**
|
|
791
806
|
* Error that occurs when there is an issue paying for judgement.
|
|
792
807
|
**/
|
|
793
|
-
JudgementPaymentFailed: GenericPalletError
|
|
808
|
+
JudgementPaymentFailed: GenericPalletError<Rv>;
|
|
794
809
|
|
|
795
810
|
/**
|
|
796
811
|
* The provided suffix is too long.
|
|
797
812
|
**/
|
|
798
|
-
InvalidSuffix: GenericPalletError
|
|
813
|
+
InvalidSuffix: GenericPalletError<Rv>;
|
|
799
814
|
|
|
800
815
|
/**
|
|
801
816
|
* The sender does not have permission to issue a username.
|
|
802
817
|
**/
|
|
803
|
-
NotUsernameAuthority: GenericPalletError
|
|
818
|
+
NotUsernameAuthority: GenericPalletError<Rv>;
|
|
804
819
|
|
|
805
820
|
/**
|
|
806
821
|
* The authority cannot allocate any more usernames.
|
|
807
822
|
**/
|
|
808
|
-
NoAllocation: GenericPalletError
|
|
823
|
+
NoAllocation: GenericPalletError<Rv>;
|
|
809
824
|
|
|
810
825
|
/**
|
|
811
826
|
* The signature on a username was not valid.
|
|
812
827
|
**/
|
|
813
|
-
InvalidSignature: GenericPalletError
|
|
828
|
+
InvalidSignature: GenericPalletError<Rv>;
|
|
814
829
|
|
|
815
830
|
/**
|
|
816
831
|
* Setting this username requires a signature, but none was provided.
|
|
817
832
|
**/
|
|
818
|
-
RequiresSignature: GenericPalletError
|
|
833
|
+
RequiresSignature: GenericPalletError<Rv>;
|
|
819
834
|
|
|
820
835
|
/**
|
|
821
836
|
* The username does not meet the requirements.
|
|
822
837
|
**/
|
|
823
|
-
InvalidUsername: GenericPalletError
|
|
838
|
+
InvalidUsername: GenericPalletError<Rv>;
|
|
824
839
|
|
|
825
840
|
/**
|
|
826
841
|
* The username is already taken.
|
|
827
842
|
**/
|
|
828
|
-
UsernameTaken: GenericPalletError
|
|
843
|
+
UsernameTaken: GenericPalletError<Rv>;
|
|
829
844
|
|
|
830
845
|
/**
|
|
831
846
|
* The requested username does not exist.
|
|
832
847
|
**/
|
|
833
|
-
NoUsername: GenericPalletError
|
|
848
|
+
NoUsername: GenericPalletError<Rv>;
|
|
834
849
|
|
|
835
850
|
/**
|
|
836
851
|
* The username cannot be forcefully removed because it can still be accepted.
|
|
837
852
|
**/
|
|
838
|
-
NotExpired: GenericPalletError
|
|
853
|
+
NotExpired: GenericPalletError<Rv>;
|
|
839
854
|
|
|
840
855
|
/**
|
|
841
856
|
* Generic pallet error
|
|
842
857
|
**/
|
|
843
|
-
[error: string]: GenericPalletError
|
|
858
|
+
[error: string]: GenericPalletError<Rv>;
|
|
844
859
|
};
|
|
845
860
|
/**
|
|
846
861
|
* Pallet `Society`'s errors
|
|
@@ -849,167 +864,167 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
849
864
|
/**
|
|
850
865
|
* User is not a member.
|
|
851
866
|
**/
|
|
852
|
-
NotMember: GenericPalletError
|
|
867
|
+
NotMember: GenericPalletError<Rv>;
|
|
853
868
|
|
|
854
869
|
/**
|
|
855
870
|
* User is already a member.
|
|
856
871
|
**/
|
|
857
|
-
AlreadyMember: GenericPalletError
|
|
872
|
+
AlreadyMember: GenericPalletError<Rv>;
|
|
858
873
|
|
|
859
874
|
/**
|
|
860
875
|
* User is suspended.
|
|
861
876
|
**/
|
|
862
|
-
Suspended: GenericPalletError
|
|
877
|
+
Suspended: GenericPalletError<Rv>;
|
|
863
878
|
|
|
864
879
|
/**
|
|
865
880
|
* User is not suspended.
|
|
866
881
|
**/
|
|
867
|
-
NotSuspended: GenericPalletError
|
|
882
|
+
NotSuspended: GenericPalletError<Rv>;
|
|
868
883
|
|
|
869
884
|
/**
|
|
870
885
|
* Nothing to payout.
|
|
871
886
|
**/
|
|
872
|
-
NoPayout: GenericPalletError
|
|
887
|
+
NoPayout: GenericPalletError<Rv>;
|
|
873
888
|
|
|
874
889
|
/**
|
|
875
890
|
* Society already founded.
|
|
876
891
|
**/
|
|
877
|
-
AlreadyFounded: GenericPalletError
|
|
892
|
+
AlreadyFounded: GenericPalletError<Rv>;
|
|
878
893
|
|
|
879
894
|
/**
|
|
880
895
|
* Not enough in pot to accept candidate.
|
|
881
896
|
**/
|
|
882
|
-
InsufficientPot: GenericPalletError
|
|
897
|
+
InsufficientPot: GenericPalletError<Rv>;
|
|
883
898
|
|
|
884
899
|
/**
|
|
885
900
|
* Member is already vouching or banned from vouching again.
|
|
886
901
|
**/
|
|
887
|
-
AlreadyVouching: GenericPalletError
|
|
902
|
+
AlreadyVouching: GenericPalletError<Rv>;
|
|
888
903
|
|
|
889
904
|
/**
|
|
890
905
|
* Member is not vouching.
|
|
891
906
|
**/
|
|
892
|
-
NotVouchingOnBidder: GenericPalletError
|
|
907
|
+
NotVouchingOnBidder: GenericPalletError<Rv>;
|
|
893
908
|
|
|
894
909
|
/**
|
|
895
910
|
* Cannot remove the head of the chain.
|
|
896
911
|
**/
|
|
897
|
-
Head: GenericPalletError
|
|
912
|
+
Head: GenericPalletError<Rv>;
|
|
898
913
|
|
|
899
914
|
/**
|
|
900
915
|
* Cannot remove the founder.
|
|
901
916
|
**/
|
|
902
|
-
Founder: GenericPalletError
|
|
917
|
+
Founder: GenericPalletError<Rv>;
|
|
903
918
|
|
|
904
919
|
/**
|
|
905
920
|
* User has already made a bid.
|
|
906
921
|
**/
|
|
907
|
-
AlreadyBid: GenericPalletError
|
|
922
|
+
AlreadyBid: GenericPalletError<Rv>;
|
|
908
923
|
|
|
909
924
|
/**
|
|
910
925
|
* User is already a candidate.
|
|
911
926
|
**/
|
|
912
|
-
AlreadyCandidate: GenericPalletError
|
|
927
|
+
AlreadyCandidate: GenericPalletError<Rv>;
|
|
913
928
|
|
|
914
929
|
/**
|
|
915
930
|
* User is not a candidate.
|
|
916
931
|
**/
|
|
917
|
-
NotCandidate: GenericPalletError
|
|
932
|
+
NotCandidate: GenericPalletError<Rv>;
|
|
918
933
|
|
|
919
934
|
/**
|
|
920
935
|
* Too many members in the society.
|
|
921
936
|
**/
|
|
922
|
-
MaxMembers: GenericPalletError
|
|
937
|
+
MaxMembers: GenericPalletError<Rv>;
|
|
923
938
|
|
|
924
939
|
/**
|
|
925
940
|
* The caller is not the founder.
|
|
926
941
|
**/
|
|
927
|
-
NotFounder: GenericPalletError
|
|
942
|
+
NotFounder: GenericPalletError<Rv>;
|
|
928
943
|
|
|
929
944
|
/**
|
|
930
945
|
* The caller is not the head.
|
|
931
946
|
**/
|
|
932
|
-
NotHead: GenericPalletError
|
|
947
|
+
NotHead: GenericPalletError<Rv>;
|
|
933
948
|
|
|
934
949
|
/**
|
|
935
950
|
* The membership cannot be claimed as the candidate was not clearly approved.
|
|
936
951
|
**/
|
|
937
|
-
NotApproved: GenericPalletError
|
|
952
|
+
NotApproved: GenericPalletError<Rv>;
|
|
938
953
|
|
|
939
954
|
/**
|
|
940
955
|
* The candidate cannot be kicked as the candidate was not clearly rejected.
|
|
941
956
|
**/
|
|
942
|
-
NotRejected: GenericPalletError
|
|
957
|
+
NotRejected: GenericPalletError<Rv>;
|
|
943
958
|
|
|
944
959
|
/**
|
|
945
960
|
* The candidacy cannot be dropped as the candidate was clearly approved.
|
|
946
961
|
**/
|
|
947
|
-
Approved: GenericPalletError
|
|
962
|
+
Approved: GenericPalletError<Rv>;
|
|
948
963
|
|
|
949
964
|
/**
|
|
950
965
|
* The candidacy cannot be bestowed as the candidate was clearly rejected.
|
|
951
966
|
**/
|
|
952
|
-
Rejected: GenericPalletError
|
|
967
|
+
Rejected: GenericPalletError<Rv>;
|
|
953
968
|
|
|
954
969
|
/**
|
|
955
970
|
* The candidacy cannot be concluded as the voting is still in progress.
|
|
956
971
|
**/
|
|
957
|
-
InProgress: GenericPalletError
|
|
972
|
+
InProgress: GenericPalletError<Rv>;
|
|
958
973
|
|
|
959
974
|
/**
|
|
960
975
|
* The candidacy cannot be pruned until a full additional intake period has passed.
|
|
961
976
|
**/
|
|
962
|
-
TooEarly: GenericPalletError
|
|
977
|
+
TooEarly: GenericPalletError<Rv>;
|
|
963
978
|
|
|
964
979
|
/**
|
|
965
980
|
* The skeptic already voted.
|
|
966
981
|
**/
|
|
967
|
-
Voted: GenericPalletError
|
|
982
|
+
Voted: GenericPalletError<Rv>;
|
|
968
983
|
|
|
969
984
|
/**
|
|
970
985
|
* The skeptic need not vote on candidates from expired rounds.
|
|
971
986
|
**/
|
|
972
|
-
Expired: GenericPalletError
|
|
987
|
+
Expired: GenericPalletError<Rv>;
|
|
973
988
|
|
|
974
989
|
/**
|
|
975
990
|
* User is not a bidder.
|
|
976
991
|
**/
|
|
977
|
-
NotBidder: GenericPalletError
|
|
992
|
+
NotBidder: GenericPalletError<Rv>;
|
|
978
993
|
|
|
979
994
|
/**
|
|
980
995
|
* There is no defender currently.
|
|
981
996
|
**/
|
|
982
|
-
NoDefender: GenericPalletError
|
|
997
|
+
NoDefender: GenericPalletError<Rv>;
|
|
983
998
|
|
|
984
999
|
/**
|
|
985
1000
|
* Group doesn't exist.
|
|
986
1001
|
**/
|
|
987
|
-
NotGroup: GenericPalletError
|
|
1002
|
+
NotGroup: GenericPalletError<Rv>;
|
|
988
1003
|
|
|
989
1004
|
/**
|
|
990
1005
|
* The member is already elevated to this rank.
|
|
991
1006
|
**/
|
|
992
|
-
AlreadyElevated: GenericPalletError
|
|
1007
|
+
AlreadyElevated: GenericPalletError<Rv>;
|
|
993
1008
|
|
|
994
1009
|
/**
|
|
995
1010
|
* The skeptic has already been punished for this offence.
|
|
996
1011
|
**/
|
|
997
|
-
AlreadyPunished: GenericPalletError
|
|
1012
|
+
AlreadyPunished: GenericPalletError<Rv>;
|
|
998
1013
|
|
|
999
1014
|
/**
|
|
1000
1015
|
* Funds are insufficient to pay off society debts.
|
|
1001
1016
|
**/
|
|
1002
|
-
InsufficientFunds: GenericPalletError
|
|
1017
|
+
InsufficientFunds: GenericPalletError<Rv>;
|
|
1003
1018
|
|
|
1004
1019
|
/**
|
|
1005
1020
|
* The candidate/defender has no stale votes to remove.
|
|
1006
1021
|
**/
|
|
1007
|
-
NoVotes: GenericPalletError
|
|
1022
|
+
NoVotes: GenericPalletError<Rv>;
|
|
1008
1023
|
|
|
1009
1024
|
/**
|
|
1010
1025
|
* Generic pallet error
|
|
1011
1026
|
**/
|
|
1012
|
-
[error: string]: GenericPalletError
|
|
1027
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1013
1028
|
};
|
|
1014
1029
|
/**
|
|
1015
1030
|
* Pallet `Recovery`'s errors
|
|
@@ -1018,87 +1033,87 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1018
1033
|
/**
|
|
1019
1034
|
* User is not allowed to make a call on behalf of this account
|
|
1020
1035
|
**/
|
|
1021
|
-
NotAllowed: GenericPalletError
|
|
1036
|
+
NotAllowed: GenericPalletError<Rv>;
|
|
1022
1037
|
|
|
1023
1038
|
/**
|
|
1024
1039
|
* Threshold must be greater than zero
|
|
1025
1040
|
**/
|
|
1026
|
-
ZeroThreshold: GenericPalletError
|
|
1041
|
+
ZeroThreshold: GenericPalletError<Rv>;
|
|
1027
1042
|
|
|
1028
1043
|
/**
|
|
1029
1044
|
* Friends list must be greater than zero and threshold
|
|
1030
1045
|
**/
|
|
1031
|
-
NotEnoughFriends: GenericPalletError
|
|
1046
|
+
NotEnoughFriends: GenericPalletError<Rv>;
|
|
1032
1047
|
|
|
1033
1048
|
/**
|
|
1034
1049
|
* Friends list must be less than max friends
|
|
1035
1050
|
**/
|
|
1036
|
-
MaxFriends: GenericPalletError
|
|
1051
|
+
MaxFriends: GenericPalletError<Rv>;
|
|
1037
1052
|
|
|
1038
1053
|
/**
|
|
1039
1054
|
* Friends list must be sorted and free of duplicates
|
|
1040
1055
|
**/
|
|
1041
|
-
NotSorted: GenericPalletError
|
|
1056
|
+
NotSorted: GenericPalletError<Rv>;
|
|
1042
1057
|
|
|
1043
1058
|
/**
|
|
1044
1059
|
* This account is not set up for recovery
|
|
1045
1060
|
**/
|
|
1046
|
-
NotRecoverable: GenericPalletError
|
|
1061
|
+
NotRecoverable: GenericPalletError<Rv>;
|
|
1047
1062
|
|
|
1048
1063
|
/**
|
|
1049
1064
|
* This account is already set up for recovery
|
|
1050
1065
|
**/
|
|
1051
|
-
AlreadyRecoverable: GenericPalletError
|
|
1066
|
+
AlreadyRecoverable: GenericPalletError<Rv>;
|
|
1052
1067
|
|
|
1053
1068
|
/**
|
|
1054
1069
|
* A recovery process has already started for this account
|
|
1055
1070
|
**/
|
|
1056
|
-
AlreadyStarted: GenericPalletError
|
|
1071
|
+
AlreadyStarted: GenericPalletError<Rv>;
|
|
1057
1072
|
|
|
1058
1073
|
/**
|
|
1059
1074
|
* A recovery process has not started for this rescuer
|
|
1060
1075
|
**/
|
|
1061
|
-
NotStarted: GenericPalletError
|
|
1076
|
+
NotStarted: GenericPalletError<Rv>;
|
|
1062
1077
|
|
|
1063
1078
|
/**
|
|
1064
1079
|
* This account is not a friend who can vouch
|
|
1065
1080
|
**/
|
|
1066
|
-
NotFriend: GenericPalletError
|
|
1081
|
+
NotFriend: GenericPalletError<Rv>;
|
|
1067
1082
|
|
|
1068
1083
|
/**
|
|
1069
1084
|
* The friend must wait until the delay period to vouch for this recovery
|
|
1070
1085
|
**/
|
|
1071
|
-
DelayPeriod: GenericPalletError
|
|
1086
|
+
DelayPeriod: GenericPalletError<Rv>;
|
|
1072
1087
|
|
|
1073
1088
|
/**
|
|
1074
1089
|
* This user has already vouched for this recovery
|
|
1075
1090
|
**/
|
|
1076
|
-
AlreadyVouched: GenericPalletError
|
|
1091
|
+
AlreadyVouched: GenericPalletError<Rv>;
|
|
1077
1092
|
|
|
1078
1093
|
/**
|
|
1079
1094
|
* The threshold for recovering this account has not been met
|
|
1080
1095
|
**/
|
|
1081
|
-
Threshold: GenericPalletError
|
|
1096
|
+
Threshold: GenericPalletError<Rv>;
|
|
1082
1097
|
|
|
1083
1098
|
/**
|
|
1084
1099
|
* There are still active recovery attempts that need to be closed
|
|
1085
1100
|
**/
|
|
1086
|
-
StillActive: GenericPalletError
|
|
1101
|
+
StillActive: GenericPalletError<Rv>;
|
|
1087
1102
|
|
|
1088
1103
|
/**
|
|
1089
1104
|
* This account is already set up for recovery
|
|
1090
1105
|
**/
|
|
1091
|
-
AlreadyProxy: GenericPalletError
|
|
1106
|
+
AlreadyProxy: GenericPalletError<Rv>;
|
|
1092
1107
|
|
|
1093
1108
|
/**
|
|
1094
1109
|
* Some internal state is broken.
|
|
1095
1110
|
**/
|
|
1096
|
-
BadState: GenericPalletError
|
|
1111
|
+
BadState: GenericPalletError<Rv>;
|
|
1097
1112
|
|
|
1098
1113
|
/**
|
|
1099
1114
|
* Generic pallet error
|
|
1100
1115
|
**/
|
|
1101
|
-
[error: string]: GenericPalletError
|
|
1116
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1102
1117
|
};
|
|
1103
1118
|
/**
|
|
1104
1119
|
* Pallet `Vesting`'s errors
|
|
@@ -1107,33 +1122,33 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1107
1122
|
/**
|
|
1108
1123
|
* The account given is not vesting.
|
|
1109
1124
|
**/
|
|
1110
|
-
NotVesting: GenericPalletError
|
|
1125
|
+
NotVesting: GenericPalletError<Rv>;
|
|
1111
1126
|
|
|
1112
1127
|
/**
|
|
1113
1128
|
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
1114
1129
|
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
1115
1130
|
**/
|
|
1116
|
-
AtMaxVestingSchedules: GenericPalletError
|
|
1131
|
+
AtMaxVestingSchedules: GenericPalletError<Rv>;
|
|
1117
1132
|
|
|
1118
1133
|
/**
|
|
1119
1134
|
* Amount being transferred is too low to create a vesting schedule.
|
|
1120
1135
|
**/
|
|
1121
|
-
AmountLow: GenericPalletError
|
|
1136
|
+
AmountLow: GenericPalletError<Rv>;
|
|
1122
1137
|
|
|
1123
1138
|
/**
|
|
1124
1139
|
* An index was out of bounds of the vesting schedules.
|
|
1125
1140
|
**/
|
|
1126
|
-
ScheduleIndexOutOfBounds: GenericPalletError
|
|
1141
|
+
ScheduleIndexOutOfBounds: GenericPalletError<Rv>;
|
|
1127
1142
|
|
|
1128
1143
|
/**
|
|
1129
1144
|
* Failed to create a new schedule because some parameter was invalid.
|
|
1130
1145
|
**/
|
|
1131
|
-
InvalidScheduleParams: GenericPalletError
|
|
1146
|
+
InvalidScheduleParams: GenericPalletError<Rv>;
|
|
1132
1147
|
|
|
1133
1148
|
/**
|
|
1134
1149
|
* Generic pallet error
|
|
1135
1150
|
**/
|
|
1136
|
-
[error: string]: GenericPalletError
|
|
1151
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1137
1152
|
};
|
|
1138
1153
|
/**
|
|
1139
1154
|
* Pallet `Scheduler`'s errors
|
|
@@ -1142,32 +1157,32 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1142
1157
|
/**
|
|
1143
1158
|
* Failed to schedule a call
|
|
1144
1159
|
**/
|
|
1145
|
-
FailedToSchedule: GenericPalletError
|
|
1160
|
+
FailedToSchedule: GenericPalletError<Rv>;
|
|
1146
1161
|
|
|
1147
1162
|
/**
|
|
1148
1163
|
* Cannot find the scheduled call.
|
|
1149
1164
|
**/
|
|
1150
|
-
NotFound: GenericPalletError
|
|
1165
|
+
NotFound: GenericPalletError<Rv>;
|
|
1151
1166
|
|
|
1152
1167
|
/**
|
|
1153
1168
|
* Given target block number is in the past.
|
|
1154
1169
|
**/
|
|
1155
|
-
TargetBlockNumberInPast: GenericPalletError
|
|
1170
|
+
TargetBlockNumberInPast: GenericPalletError<Rv>;
|
|
1156
1171
|
|
|
1157
1172
|
/**
|
|
1158
1173
|
* Reschedule failed because it does not change scheduled time.
|
|
1159
1174
|
**/
|
|
1160
|
-
RescheduleNoChange: GenericPalletError
|
|
1175
|
+
RescheduleNoChange: GenericPalletError<Rv>;
|
|
1161
1176
|
|
|
1162
1177
|
/**
|
|
1163
1178
|
* Attempt to use a non-named function on a named task.
|
|
1164
1179
|
**/
|
|
1165
|
-
Named: GenericPalletError
|
|
1180
|
+
Named: GenericPalletError<Rv>;
|
|
1166
1181
|
|
|
1167
1182
|
/**
|
|
1168
1183
|
* Generic pallet error
|
|
1169
1184
|
**/
|
|
1170
|
-
[error: string]: GenericPalletError
|
|
1185
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1171
1186
|
};
|
|
1172
1187
|
/**
|
|
1173
1188
|
* Pallet `Proxy`'s errors
|
|
@@ -1176,47 +1191,47 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1176
1191
|
/**
|
|
1177
1192
|
* There are too many proxies registered or too many announcements pending.
|
|
1178
1193
|
**/
|
|
1179
|
-
TooMany: GenericPalletError
|
|
1194
|
+
TooMany: GenericPalletError<Rv>;
|
|
1180
1195
|
|
|
1181
1196
|
/**
|
|
1182
1197
|
* Proxy registration not found.
|
|
1183
1198
|
**/
|
|
1184
|
-
NotFound: GenericPalletError
|
|
1199
|
+
NotFound: GenericPalletError<Rv>;
|
|
1185
1200
|
|
|
1186
1201
|
/**
|
|
1187
1202
|
* Sender is not a proxy of the account to be proxied.
|
|
1188
1203
|
**/
|
|
1189
|
-
NotProxy: GenericPalletError
|
|
1204
|
+
NotProxy: GenericPalletError<Rv>;
|
|
1190
1205
|
|
|
1191
1206
|
/**
|
|
1192
1207
|
* A call which is incompatible with the proxy type's filter was attempted.
|
|
1193
1208
|
**/
|
|
1194
|
-
Unproxyable: GenericPalletError
|
|
1209
|
+
Unproxyable: GenericPalletError<Rv>;
|
|
1195
1210
|
|
|
1196
1211
|
/**
|
|
1197
1212
|
* Account is already a proxy.
|
|
1198
1213
|
**/
|
|
1199
|
-
Duplicate: GenericPalletError
|
|
1214
|
+
Duplicate: GenericPalletError<Rv>;
|
|
1200
1215
|
|
|
1201
1216
|
/**
|
|
1202
1217
|
* Call may not be made by proxy because it may escalate its privileges.
|
|
1203
1218
|
**/
|
|
1204
|
-
NoPermission: GenericPalletError
|
|
1219
|
+
NoPermission: GenericPalletError<Rv>;
|
|
1205
1220
|
|
|
1206
1221
|
/**
|
|
1207
1222
|
* Announcement, if made at all, was made too recently.
|
|
1208
1223
|
**/
|
|
1209
|
-
Unannounced: GenericPalletError
|
|
1224
|
+
Unannounced: GenericPalletError<Rv>;
|
|
1210
1225
|
|
|
1211
1226
|
/**
|
|
1212
1227
|
* Cannot add self as proxy.
|
|
1213
1228
|
**/
|
|
1214
|
-
NoSelfProxy: GenericPalletError
|
|
1229
|
+
NoSelfProxy: GenericPalletError<Rv>;
|
|
1215
1230
|
|
|
1216
1231
|
/**
|
|
1217
1232
|
* Generic pallet error
|
|
1218
1233
|
**/
|
|
1219
|
-
[error: string]: GenericPalletError
|
|
1234
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1220
1235
|
};
|
|
1221
1236
|
/**
|
|
1222
1237
|
* Pallet `Multisig`'s errors
|
|
@@ -1225,77 +1240,77 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1225
1240
|
/**
|
|
1226
1241
|
* Threshold must be 2 or greater.
|
|
1227
1242
|
**/
|
|
1228
|
-
MinimumThreshold: GenericPalletError
|
|
1243
|
+
MinimumThreshold: GenericPalletError<Rv>;
|
|
1229
1244
|
|
|
1230
1245
|
/**
|
|
1231
1246
|
* Call is already approved by this signatory.
|
|
1232
1247
|
**/
|
|
1233
|
-
AlreadyApproved: GenericPalletError
|
|
1248
|
+
AlreadyApproved: GenericPalletError<Rv>;
|
|
1234
1249
|
|
|
1235
1250
|
/**
|
|
1236
1251
|
* Call doesn't need any (more) approvals.
|
|
1237
1252
|
**/
|
|
1238
|
-
NoApprovalsNeeded: GenericPalletError
|
|
1253
|
+
NoApprovalsNeeded: GenericPalletError<Rv>;
|
|
1239
1254
|
|
|
1240
1255
|
/**
|
|
1241
1256
|
* There are too few signatories in the list.
|
|
1242
1257
|
**/
|
|
1243
|
-
TooFewSignatories: GenericPalletError
|
|
1258
|
+
TooFewSignatories: GenericPalletError<Rv>;
|
|
1244
1259
|
|
|
1245
1260
|
/**
|
|
1246
1261
|
* There are too many signatories in the list.
|
|
1247
1262
|
**/
|
|
1248
|
-
TooManySignatories: GenericPalletError
|
|
1263
|
+
TooManySignatories: GenericPalletError<Rv>;
|
|
1249
1264
|
|
|
1250
1265
|
/**
|
|
1251
1266
|
* The signatories were provided out of order; they should be ordered.
|
|
1252
1267
|
**/
|
|
1253
|
-
SignatoriesOutOfOrder: GenericPalletError
|
|
1268
|
+
SignatoriesOutOfOrder: GenericPalletError<Rv>;
|
|
1254
1269
|
|
|
1255
1270
|
/**
|
|
1256
1271
|
* The sender was contained in the other signatories; it shouldn't be.
|
|
1257
1272
|
**/
|
|
1258
|
-
SenderInSignatories: GenericPalletError
|
|
1273
|
+
SenderInSignatories: GenericPalletError<Rv>;
|
|
1259
1274
|
|
|
1260
1275
|
/**
|
|
1261
1276
|
* Multisig operation not found when attempting to cancel.
|
|
1262
1277
|
**/
|
|
1263
|
-
NotFound: GenericPalletError
|
|
1278
|
+
NotFound: GenericPalletError<Rv>;
|
|
1264
1279
|
|
|
1265
1280
|
/**
|
|
1266
1281
|
* Only the account that originally created the multisig is able to cancel it.
|
|
1267
1282
|
**/
|
|
1268
|
-
NotOwner: GenericPalletError
|
|
1283
|
+
NotOwner: GenericPalletError<Rv>;
|
|
1269
1284
|
|
|
1270
1285
|
/**
|
|
1271
1286
|
* No timepoint was given, yet the multisig operation is already underway.
|
|
1272
1287
|
**/
|
|
1273
|
-
NoTimepoint: GenericPalletError
|
|
1288
|
+
NoTimepoint: GenericPalletError<Rv>;
|
|
1274
1289
|
|
|
1275
1290
|
/**
|
|
1276
1291
|
* A different timepoint was given to the multisig operation that is underway.
|
|
1277
1292
|
**/
|
|
1278
|
-
WrongTimepoint: GenericPalletError
|
|
1293
|
+
WrongTimepoint: GenericPalletError<Rv>;
|
|
1279
1294
|
|
|
1280
1295
|
/**
|
|
1281
1296
|
* A timepoint was given, yet no multisig operation is underway.
|
|
1282
1297
|
**/
|
|
1283
|
-
UnexpectedTimepoint: GenericPalletError
|
|
1298
|
+
UnexpectedTimepoint: GenericPalletError<Rv>;
|
|
1284
1299
|
|
|
1285
1300
|
/**
|
|
1286
1301
|
* The maximum weight information provided was too low.
|
|
1287
1302
|
**/
|
|
1288
|
-
MaxWeightTooLow: GenericPalletError
|
|
1303
|
+
MaxWeightTooLow: GenericPalletError<Rv>;
|
|
1289
1304
|
|
|
1290
1305
|
/**
|
|
1291
1306
|
* The data to be stored is already stored.
|
|
1292
1307
|
**/
|
|
1293
|
-
AlreadyStored: GenericPalletError
|
|
1308
|
+
AlreadyStored: GenericPalletError<Rv>;
|
|
1294
1309
|
|
|
1295
1310
|
/**
|
|
1296
1311
|
* Generic pallet error
|
|
1297
1312
|
**/
|
|
1298
|
-
[error: string]: GenericPalletError
|
|
1313
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1299
1314
|
};
|
|
1300
1315
|
/**
|
|
1301
1316
|
* Pallet `Preimage`'s errors
|
|
@@ -1304,47 +1319,52 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1304
1319
|
/**
|
|
1305
1320
|
* Preimage is too large to store on-chain.
|
|
1306
1321
|
**/
|
|
1307
|
-
TooBig: GenericPalletError
|
|
1322
|
+
TooBig: GenericPalletError<Rv>;
|
|
1308
1323
|
|
|
1309
1324
|
/**
|
|
1310
1325
|
* Preimage has already been noted on-chain.
|
|
1311
1326
|
**/
|
|
1312
|
-
AlreadyNoted: GenericPalletError
|
|
1327
|
+
AlreadyNoted: GenericPalletError<Rv>;
|
|
1313
1328
|
|
|
1314
1329
|
/**
|
|
1315
1330
|
* The user is not authorized to perform this action.
|
|
1316
1331
|
**/
|
|
1317
|
-
NotAuthorized: GenericPalletError
|
|
1332
|
+
NotAuthorized: GenericPalletError<Rv>;
|
|
1318
1333
|
|
|
1319
1334
|
/**
|
|
1320
1335
|
* The preimage cannot be removed since it has not yet been noted.
|
|
1321
1336
|
**/
|
|
1322
|
-
NotNoted: GenericPalletError
|
|
1337
|
+
NotNoted: GenericPalletError<Rv>;
|
|
1323
1338
|
|
|
1324
1339
|
/**
|
|
1325
1340
|
* A preimage may not be removed when there are outstanding requests.
|
|
1326
1341
|
**/
|
|
1327
|
-
Requested: GenericPalletError
|
|
1342
|
+
Requested: GenericPalletError<Rv>;
|
|
1328
1343
|
|
|
1329
1344
|
/**
|
|
1330
1345
|
* The preimage request cannot be removed since no outstanding requests exist.
|
|
1331
1346
|
**/
|
|
1332
|
-
NotRequested: GenericPalletError
|
|
1347
|
+
NotRequested: GenericPalletError<Rv>;
|
|
1333
1348
|
|
|
1334
1349
|
/**
|
|
1335
1350
|
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
1336
1351
|
**/
|
|
1337
|
-
TooMany: GenericPalletError
|
|
1352
|
+
TooMany: GenericPalletError<Rv>;
|
|
1338
1353
|
|
|
1339
1354
|
/**
|
|
1340
1355
|
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
1341
1356
|
**/
|
|
1342
|
-
TooFew: GenericPalletError
|
|
1357
|
+
TooFew: GenericPalletError<Rv>;
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
|
|
1361
|
+
**/
|
|
1362
|
+
NoCost: GenericPalletError<Rv>;
|
|
1343
1363
|
|
|
1344
1364
|
/**
|
|
1345
1365
|
* Generic pallet error
|
|
1346
1366
|
**/
|
|
1347
|
-
[error: string]: GenericPalletError
|
|
1367
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1348
1368
|
};
|
|
1349
1369
|
/**
|
|
1350
1370
|
* Pallet `AssetRate`'s errors
|
|
@@ -1353,22 +1373,22 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1353
1373
|
/**
|
|
1354
1374
|
* The given asset ID is unknown.
|
|
1355
1375
|
**/
|
|
1356
|
-
UnknownAssetKind: GenericPalletError
|
|
1376
|
+
UnknownAssetKind: GenericPalletError<Rv>;
|
|
1357
1377
|
|
|
1358
1378
|
/**
|
|
1359
1379
|
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
1360
1380
|
**/
|
|
1361
|
-
AlreadyExists: GenericPalletError
|
|
1381
|
+
AlreadyExists: GenericPalletError<Rv>;
|
|
1362
1382
|
|
|
1363
1383
|
/**
|
|
1364
1384
|
* Overflow ocurred when calculating the inverse rate.
|
|
1365
1385
|
**/
|
|
1366
|
-
Overflow: GenericPalletError
|
|
1386
|
+
Overflow: GenericPalletError<Rv>;
|
|
1367
1387
|
|
|
1368
1388
|
/**
|
|
1369
1389
|
* Generic pallet error
|
|
1370
1390
|
**/
|
|
1371
|
-
[error: string]: GenericPalletError
|
|
1391
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1372
1392
|
};
|
|
1373
1393
|
/**
|
|
1374
1394
|
* Pallet `Bounties`'s errors
|
|
@@ -1377,63 +1397,63 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1377
1397
|
/**
|
|
1378
1398
|
* Proposer's balance is too low.
|
|
1379
1399
|
**/
|
|
1380
|
-
InsufficientProposersBalance: GenericPalletError
|
|
1400
|
+
InsufficientProposersBalance: GenericPalletError<Rv>;
|
|
1381
1401
|
|
|
1382
1402
|
/**
|
|
1383
1403
|
* No proposal or bounty at that index.
|
|
1384
1404
|
**/
|
|
1385
|
-
InvalidIndex: GenericPalletError
|
|
1405
|
+
InvalidIndex: GenericPalletError<Rv>;
|
|
1386
1406
|
|
|
1387
1407
|
/**
|
|
1388
1408
|
* The reason given is just too big.
|
|
1389
1409
|
**/
|
|
1390
|
-
ReasonTooBig: GenericPalletError
|
|
1410
|
+
ReasonTooBig: GenericPalletError<Rv>;
|
|
1391
1411
|
|
|
1392
1412
|
/**
|
|
1393
1413
|
* The bounty status is unexpected.
|
|
1394
1414
|
**/
|
|
1395
|
-
UnexpectedStatus: GenericPalletError
|
|
1415
|
+
UnexpectedStatus: GenericPalletError<Rv>;
|
|
1396
1416
|
|
|
1397
1417
|
/**
|
|
1398
1418
|
* Require bounty curator.
|
|
1399
1419
|
**/
|
|
1400
|
-
RequireCurator: GenericPalletError
|
|
1420
|
+
RequireCurator: GenericPalletError<Rv>;
|
|
1401
1421
|
|
|
1402
1422
|
/**
|
|
1403
1423
|
* Invalid bounty value.
|
|
1404
1424
|
**/
|
|
1405
|
-
InvalidValue: GenericPalletError
|
|
1425
|
+
InvalidValue: GenericPalletError<Rv>;
|
|
1406
1426
|
|
|
1407
1427
|
/**
|
|
1408
1428
|
* Invalid bounty fee.
|
|
1409
1429
|
**/
|
|
1410
|
-
InvalidFee: GenericPalletError
|
|
1430
|
+
InvalidFee: GenericPalletError<Rv>;
|
|
1411
1431
|
|
|
1412
1432
|
/**
|
|
1413
1433
|
* A bounty payout is pending.
|
|
1414
1434
|
* To cancel the bounty, you must unassign and slash the curator.
|
|
1415
1435
|
**/
|
|
1416
|
-
PendingPayout: GenericPalletError
|
|
1436
|
+
PendingPayout: GenericPalletError<Rv>;
|
|
1417
1437
|
|
|
1418
1438
|
/**
|
|
1419
1439
|
* The bounties cannot be claimed/closed because it's still in the countdown period.
|
|
1420
1440
|
**/
|
|
1421
|
-
Premature: GenericPalletError
|
|
1441
|
+
Premature: GenericPalletError<Rv>;
|
|
1422
1442
|
|
|
1423
1443
|
/**
|
|
1424
1444
|
* The bounty cannot be closed because it has active child bounties.
|
|
1425
1445
|
**/
|
|
1426
|
-
HasActiveChildBounty: GenericPalletError
|
|
1446
|
+
HasActiveChildBounty: GenericPalletError<Rv>;
|
|
1427
1447
|
|
|
1428
1448
|
/**
|
|
1429
1449
|
* Too many approvals are already queued.
|
|
1430
1450
|
**/
|
|
1431
|
-
TooManyQueued: GenericPalletError
|
|
1451
|
+
TooManyQueued: GenericPalletError<Rv>;
|
|
1432
1452
|
|
|
1433
1453
|
/**
|
|
1434
1454
|
* Generic pallet error
|
|
1435
1455
|
**/
|
|
1436
|
-
[error: string]: GenericPalletError
|
|
1456
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1437
1457
|
};
|
|
1438
1458
|
/**
|
|
1439
1459
|
* Pallet `ChildBounties`'s errors
|
|
@@ -1442,22 +1462,22 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1442
1462
|
/**
|
|
1443
1463
|
* The parent bounty is not in active state.
|
|
1444
1464
|
**/
|
|
1445
|
-
ParentBountyNotActive: GenericPalletError
|
|
1465
|
+
ParentBountyNotActive: GenericPalletError<Rv>;
|
|
1446
1466
|
|
|
1447
1467
|
/**
|
|
1448
1468
|
* The bounty balance is not enough to add new child-bounty.
|
|
1449
1469
|
**/
|
|
1450
|
-
InsufficientBountyBalance: GenericPalletError
|
|
1470
|
+
InsufficientBountyBalance: GenericPalletError<Rv>;
|
|
1451
1471
|
|
|
1452
1472
|
/**
|
|
1453
1473
|
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
1454
1474
|
**/
|
|
1455
|
-
TooManyChildBounties: GenericPalletError
|
|
1475
|
+
TooManyChildBounties: GenericPalletError<Rv>;
|
|
1456
1476
|
|
|
1457
1477
|
/**
|
|
1458
1478
|
* Generic pallet error
|
|
1459
1479
|
**/
|
|
1460
|
-
[error: string]: GenericPalletError
|
|
1480
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1461
1481
|
};
|
|
1462
1482
|
/**
|
|
1463
1483
|
* Pallet `Nis`'s errors
|
|
@@ -1466,83 +1486,83 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1466
1486
|
/**
|
|
1467
1487
|
* The duration of the bid is less than one.
|
|
1468
1488
|
**/
|
|
1469
|
-
DurationTooSmall: GenericPalletError
|
|
1489
|
+
DurationTooSmall: GenericPalletError<Rv>;
|
|
1470
1490
|
|
|
1471
1491
|
/**
|
|
1472
1492
|
* The duration is the bid is greater than the number of queues.
|
|
1473
1493
|
**/
|
|
1474
|
-
DurationTooBig: GenericPalletError
|
|
1494
|
+
DurationTooBig: GenericPalletError<Rv>;
|
|
1475
1495
|
|
|
1476
1496
|
/**
|
|
1477
1497
|
* The amount of the bid is less than the minimum allowed.
|
|
1478
1498
|
**/
|
|
1479
|
-
AmountTooSmall: GenericPalletError
|
|
1499
|
+
AmountTooSmall: GenericPalletError<Rv>;
|
|
1480
1500
|
|
|
1481
1501
|
/**
|
|
1482
1502
|
* The queue for the bid's duration is full and the amount bid is too low to get in
|
|
1483
1503
|
* through replacing an existing bid.
|
|
1484
1504
|
**/
|
|
1485
|
-
BidTooLow: GenericPalletError
|
|
1505
|
+
BidTooLow: GenericPalletError<Rv>;
|
|
1486
1506
|
|
|
1487
1507
|
/**
|
|
1488
1508
|
* Receipt index is unknown.
|
|
1489
1509
|
**/
|
|
1490
|
-
UnknownReceipt: GenericPalletError
|
|
1510
|
+
UnknownReceipt: GenericPalletError<Rv>;
|
|
1491
1511
|
|
|
1492
1512
|
/**
|
|
1493
1513
|
* Not the owner of the receipt.
|
|
1494
1514
|
**/
|
|
1495
|
-
NotOwner: GenericPalletError
|
|
1515
|
+
NotOwner: GenericPalletError<Rv>;
|
|
1496
1516
|
|
|
1497
1517
|
/**
|
|
1498
1518
|
* Bond not yet at expiry date.
|
|
1499
1519
|
**/
|
|
1500
|
-
NotExpired: GenericPalletError
|
|
1520
|
+
NotExpired: GenericPalletError<Rv>;
|
|
1501
1521
|
|
|
1502
1522
|
/**
|
|
1503
1523
|
* The given bid for retraction is not found.
|
|
1504
1524
|
**/
|
|
1505
|
-
UnknownBid: GenericPalletError
|
|
1525
|
+
UnknownBid: GenericPalletError<Rv>;
|
|
1506
1526
|
|
|
1507
1527
|
/**
|
|
1508
1528
|
* The portion supplied is beyond the value of the receipt.
|
|
1509
1529
|
**/
|
|
1510
|
-
PortionTooBig: GenericPalletError
|
|
1530
|
+
PortionTooBig: GenericPalletError<Rv>;
|
|
1511
1531
|
|
|
1512
1532
|
/**
|
|
1513
1533
|
* Not enough funds are held to pay out.
|
|
1514
1534
|
**/
|
|
1515
|
-
Unfunded: GenericPalletError
|
|
1535
|
+
Unfunded: GenericPalletError<Rv>;
|
|
1516
1536
|
|
|
1517
1537
|
/**
|
|
1518
1538
|
* There are enough funds for what is required.
|
|
1519
1539
|
**/
|
|
1520
|
-
AlreadyFunded: GenericPalletError
|
|
1540
|
+
AlreadyFunded: GenericPalletError<Rv>;
|
|
1521
1541
|
|
|
1522
1542
|
/**
|
|
1523
1543
|
* The thaw throttle has been reached for this period.
|
|
1524
1544
|
**/
|
|
1525
|
-
Throttled: GenericPalletError
|
|
1545
|
+
Throttled: GenericPalletError<Rv>;
|
|
1526
1546
|
|
|
1527
1547
|
/**
|
|
1528
|
-
* The operation would result in a receipt worth an
|
|
1548
|
+
* The operation would result in a receipt worth an insignificant value.
|
|
1529
1549
|
**/
|
|
1530
|
-
MakesDust: GenericPalletError
|
|
1550
|
+
MakesDust: GenericPalletError<Rv>;
|
|
1531
1551
|
|
|
1532
1552
|
/**
|
|
1533
1553
|
* The receipt is already communal.
|
|
1534
1554
|
**/
|
|
1535
|
-
AlreadyCommunal: GenericPalletError
|
|
1555
|
+
AlreadyCommunal: GenericPalletError<Rv>;
|
|
1536
1556
|
|
|
1537
1557
|
/**
|
|
1538
1558
|
* The receipt is already private.
|
|
1539
1559
|
**/
|
|
1540
|
-
AlreadyPrivate: GenericPalletError
|
|
1560
|
+
AlreadyPrivate: GenericPalletError<Rv>;
|
|
1541
1561
|
|
|
1542
1562
|
/**
|
|
1543
1563
|
* Generic pallet error
|
|
1544
1564
|
**/
|
|
1545
|
-
[error: string]: GenericPalletError
|
|
1565
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1546
1566
|
};
|
|
1547
1567
|
/**
|
|
1548
1568
|
* Pallet `NisCounterpartBalances`'s errors
|
|
@@ -1551,67 +1571,67 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1551
1571
|
/**
|
|
1552
1572
|
* Vesting balance too high to send value.
|
|
1553
1573
|
**/
|
|
1554
|
-
VestingBalance: GenericPalletError
|
|
1574
|
+
VestingBalance: GenericPalletError<Rv>;
|
|
1555
1575
|
|
|
1556
1576
|
/**
|
|
1557
1577
|
* Account liquidity restrictions prevent withdrawal.
|
|
1558
1578
|
**/
|
|
1559
|
-
LiquidityRestrictions: GenericPalletError
|
|
1579
|
+
LiquidityRestrictions: GenericPalletError<Rv>;
|
|
1560
1580
|
|
|
1561
1581
|
/**
|
|
1562
1582
|
* Balance too low to send value.
|
|
1563
1583
|
**/
|
|
1564
|
-
InsufficientBalance: GenericPalletError
|
|
1584
|
+
InsufficientBalance: GenericPalletError<Rv>;
|
|
1565
1585
|
|
|
1566
1586
|
/**
|
|
1567
1587
|
* Value too low to create account due to existential deposit.
|
|
1568
1588
|
**/
|
|
1569
|
-
ExistentialDeposit: GenericPalletError
|
|
1589
|
+
ExistentialDeposit: GenericPalletError<Rv>;
|
|
1570
1590
|
|
|
1571
1591
|
/**
|
|
1572
1592
|
* Transfer/payment would kill account.
|
|
1573
1593
|
**/
|
|
1574
|
-
Expendability: GenericPalletError
|
|
1594
|
+
Expendability: GenericPalletError<Rv>;
|
|
1575
1595
|
|
|
1576
1596
|
/**
|
|
1577
1597
|
* A vesting schedule already exists for this account.
|
|
1578
1598
|
**/
|
|
1579
|
-
ExistingVestingSchedule: GenericPalletError
|
|
1599
|
+
ExistingVestingSchedule: GenericPalletError<Rv>;
|
|
1580
1600
|
|
|
1581
1601
|
/**
|
|
1582
1602
|
* Beneficiary account must pre-exist.
|
|
1583
1603
|
**/
|
|
1584
|
-
DeadAccount: GenericPalletError
|
|
1604
|
+
DeadAccount: GenericPalletError<Rv>;
|
|
1585
1605
|
|
|
1586
1606
|
/**
|
|
1587
1607
|
* Number of named reserves exceed `MaxReserves`.
|
|
1588
1608
|
**/
|
|
1589
|
-
TooManyReserves: GenericPalletError
|
|
1609
|
+
TooManyReserves: GenericPalletError<Rv>;
|
|
1590
1610
|
|
|
1591
1611
|
/**
|
|
1592
1612
|
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
1593
1613
|
**/
|
|
1594
|
-
TooManyHolds: GenericPalletError
|
|
1614
|
+
TooManyHolds: GenericPalletError<Rv>;
|
|
1595
1615
|
|
|
1596
1616
|
/**
|
|
1597
1617
|
* Number of freezes exceed `MaxFreezes`.
|
|
1598
1618
|
**/
|
|
1599
|
-
TooManyFreezes: GenericPalletError
|
|
1619
|
+
TooManyFreezes: GenericPalletError<Rv>;
|
|
1600
1620
|
|
|
1601
1621
|
/**
|
|
1602
1622
|
* The issuance cannot be modified since it is already deactivated.
|
|
1603
1623
|
**/
|
|
1604
|
-
IssuanceDeactivated: GenericPalletError
|
|
1624
|
+
IssuanceDeactivated: GenericPalletError<Rv>;
|
|
1605
1625
|
|
|
1606
1626
|
/**
|
|
1607
1627
|
* The delta cannot be zero.
|
|
1608
1628
|
**/
|
|
1609
|
-
DeltaZero: GenericPalletError
|
|
1629
|
+
DeltaZero: GenericPalletError<Rv>;
|
|
1610
1630
|
|
|
1611
1631
|
/**
|
|
1612
1632
|
* Generic pallet error
|
|
1613
1633
|
**/
|
|
1614
|
-
[error: string]: GenericPalletError
|
|
1634
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1615
1635
|
};
|
|
1616
1636
|
/**
|
|
1617
1637
|
* Pallet `Configuration`'s errors
|
|
@@ -1620,171 +1640,114 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1620
1640
|
/**
|
|
1621
1641
|
* The new value for a configuration parameter is invalid.
|
|
1622
1642
|
**/
|
|
1623
|
-
InvalidNewValue: GenericPalletError
|
|
1643
|
+
InvalidNewValue: GenericPalletError<Rv>;
|
|
1624
1644
|
|
|
1625
1645
|
/**
|
|
1626
1646
|
* Generic pallet error
|
|
1627
1647
|
**/
|
|
1628
|
-
[error: string]: GenericPalletError
|
|
1648
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1629
1649
|
};
|
|
1630
1650
|
/**
|
|
1631
1651
|
* Pallet `ParaInclusion`'s errors
|
|
1632
1652
|
**/
|
|
1633
1653
|
paraInclusion: {
|
|
1634
|
-
/**
|
|
1635
|
-
* Validator indices are out of order or contains duplicates.
|
|
1636
|
-
**/
|
|
1637
|
-
UnsortedOrDuplicateValidatorIndices: GenericPalletError;
|
|
1638
|
-
|
|
1639
|
-
/**
|
|
1640
|
-
* Dispute statement sets are out of order or contain duplicates.
|
|
1641
|
-
**/
|
|
1642
|
-
UnsortedOrDuplicateDisputeStatementSet: GenericPalletError;
|
|
1643
|
-
|
|
1644
|
-
/**
|
|
1645
|
-
* Backed candidates are out of order (core index) or contain duplicates.
|
|
1646
|
-
**/
|
|
1647
|
-
UnsortedOrDuplicateBackedCandidates: GenericPalletError;
|
|
1648
|
-
|
|
1649
|
-
/**
|
|
1650
|
-
* A different relay parent was provided compared to the on-chain stored one.
|
|
1651
|
-
**/
|
|
1652
|
-
UnexpectedRelayParent: GenericPalletError;
|
|
1653
|
-
|
|
1654
|
-
/**
|
|
1655
|
-
* Availability bitfield has unexpected size.
|
|
1656
|
-
**/
|
|
1657
|
-
WrongBitfieldSize: GenericPalletError;
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
* Bitfield consists of zeros only.
|
|
1661
|
-
**/
|
|
1662
|
-
BitfieldAllZeros: GenericPalletError;
|
|
1663
|
-
|
|
1664
|
-
/**
|
|
1665
|
-
* Multiple bitfields submitted by same validator or validators out of order by index.
|
|
1666
|
-
**/
|
|
1667
|
-
BitfieldDuplicateOrUnordered: GenericPalletError;
|
|
1668
|
-
|
|
1669
1654
|
/**
|
|
1670
1655
|
* Validator index out of bounds.
|
|
1671
1656
|
**/
|
|
1672
|
-
ValidatorIndexOutOfBounds: GenericPalletError
|
|
1673
|
-
|
|
1674
|
-
/**
|
|
1675
|
-
* Invalid signature
|
|
1676
|
-
**/
|
|
1677
|
-
InvalidBitfieldSignature: GenericPalletError;
|
|
1657
|
+
ValidatorIndexOutOfBounds: GenericPalletError<Rv>;
|
|
1678
1658
|
|
|
1679
1659
|
/**
|
|
1680
1660
|
* Candidate submitted but para not scheduled.
|
|
1681
1661
|
**/
|
|
1682
|
-
UnscheduledCandidate: GenericPalletError
|
|
1683
|
-
|
|
1684
|
-
/**
|
|
1685
|
-
* Candidate scheduled despite pending candidate already existing for the para.
|
|
1686
|
-
**/
|
|
1687
|
-
CandidateScheduledBeforeParaFree: GenericPalletError;
|
|
1688
|
-
|
|
1689
|
-
/**
|
|
1690
|
-
* Scheduled cores out of order.
|
|
1691
|
-
**/
|
|
1692
|
-
ScheduledOutOfOrder: GenericPalletError;
|
|
1662
|
+
UnscheduledCandidate: GenericPalletError<Rv>;
|
|
1693
1663
|
|
|
1694
1664
|
/**
|
|
1695
1665
|
* Head data exceeds the configured maximum.
|
|
1696
1666
|
**/
|
|
1697
|
-
HeadDataTooLarge: GenericPalletError
|
|
1667
|
+
HeadDataTooLarge: GenericPalletError<Rv>;
|
|
1698
1668
|
|
|
1699
1669
|
/**
|
|
1700
1670
|
* Code upgrade prematurely.
|
|
1701
1671
|
**/
|
|
1702
|
-
PrematureCodeUpgrade: GenericPalletError
|
|
1672
|
+
PrematureCodeUpgrade: GenericPalletError<Rv>;
|
|
1703
1673
|
|
|
1704
1674
|
/**
|
|
1705
1675
|
* Output code is too large
|
|
1706
1676
|
**/
|
|
1707
|
-
NewCodeTooLarge: GenericPalletError
|
|
1677
|
+
NewCodeTooLarge: GenericPalletError<Rv>;
|
|
1708
1678
|
|
|
1709
1679
|
/**
|
|
1710
1680
|
* The candidate's relay-parent was not allowed. Either it was
|
|
1711
1681
|
* not recent enough or it didn't advance based on the last parachain block.
|
|
1712
1682
|
**/
|
|
1713
|
-
DisallowedRelayParent: GenericPalletError
|
|
1683
|
+
DisallowedRelayParent: GenericPalletError<Rv>;
|
|
1714
1684
|
|
|
1715
1685
|
/**
|
|
1716
1686
|
* Failed to compute group index for the core: either it's out of bounds
|
|
1717
1687
|
* or the relay parent doesn't belong to the current session.
|
|
1718
1688
|
**/
|
|
1719
|
-
InvalidAssignment: GenericPalletError
|
|
1689
|
+
InvalidAssignment: GenericPalletError<Rv>;
|
|
1720
1690
|
|
|
1721
1691
|
/**
|
|
1722
1692
|
* Invalid group index in core assignment.
|
|
1723
1693
|
**/
|
|
1724
|
-
InvalidGroupIndex: GenericPalletError
|
|
1694
|
+
InvalidGroupIndex: GenericPalletError<Rv>;
|
|
1725
1695
|
|
|
1726
1696
|
/**
|
|
1727
1697
|
* Insufficient (non-majority) backing.
|
|
1728
1698
|
**/
|
|
1729
|
-
InsufficientBacking: GenericPalletError
|
|
1699
|
+
InsufficientBacking: GenericPalletError<Rv>;
|
|
1730
1700
|
|
|
1731
1701
|
/**
|
|
1732
1702
|
* Invalid (bad signature, unknown validator, etc.) backing.
|
|
1733
1703
|
**/
|
|
1734
|
-
InvalidBacking: GenericPalletError
|
|
1704
|
+
InvalidBacking: GenericPalletError<Rv>;
|
|
1735
1705
|
|
|
1736
1706
|
/**
|
|
1737
1707
|
* Collator did not sign PoV.
|
|
1738
1708
|
**/
|
|
1739
|
-
NotCollatorSigned: GenericPalletError
|
|
1709
|
+
NotCollatorSigned: GenericPalletError<Rv>;
|
|
1740
1710
|
|
|
1741
1711
|
/**
|
|
1742
1712
|
* The validation data hash does not match expected.
|
|
1743
1713
|
**/
|
|
1744
|
-
ValidationDataHashMismatch: GenericPalletError
|
|
1714
|
+
ValidationDataHashMismatch: GenericPalletError<Rv>;
|
|
1745
1715
|
|
|
1746
1716
|
/**
|
|
1747
1717
|
* The downward message queue is not processed correctly.
|
|
1748
1718
|
**/
|
|
1749
|
-
IncorrectDownwardMessageHandling: GenericPalletError
|
|
1719
|
+
IncorrectDownwardMessageHandling: GenericPalletError<Rv>;
|
|
1750
1720
|
|
|
1751
1721
|
/**
|
|
1752
1722
|
* At least one upward message sent does not pass the acceptance criteria.
|
|
1753
1723
|
**/
|
|
1754
|
-
InvalidUpwardMessages: GenericPalletError
|
|
1724
|
+
InvalidUpwardMessages: GenericPalletError<Rv>;
|
|
1755
1725
|
|
|
1756
1726
|
/**
|
|
1757
1727
|
* The candidate didn't follow the rules of HRMP watermark advancement.
|
|
1758
1728
|
**/
|
|
1759
|
-
HrmpWatermarkMishandling: GenericPalletError
|
|
1729
|
+
HrmpWatermarkMishandling: GenericPalletError<Rv>;
|
|
1760
1730
|
|
|
1761
1731
|
/**
|
|
1762
1732
|
* The HRMP messages sent by the candidate is not valid.
|
|
1763
1733
|
**/
|
|
1764
|
-
InvalidOutboundHrmp: GenericPalletError
|
|
1734
|
+
InvalidOutboundHrmp: GenericPalletError<Rv>;
|
|
1765
1735
|
|
|
1766
1736
|
/**
|
|
1767
1737
|
* The validation code hash of the candidate is not valid.
|
|
1768
1738
|
**/
|
|
1769
|
-
InvalidValidationCodeHash: GenericPalletError
|
|
1739
|
+
InvalidValidationCodeHash: GenericPalletError<Rv>;
|
|
1770
1740
|
|
|
1771
1741
|
/**
|
|
1772
1742
|
* The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
|
|
1773
1743
|
* para head in the commitments.
|
|
1774
1744
|
**/
|
|
1775
|
-
ParaHeadMismatch: GenericPalletError
|
|
1776
|
-
|
|
1777
|
-
/**
|
|
1778
|
-
* A bitfield that references a freed core,
|
|
1779
|
-
* either intentionally or as part of a concluded
|
|
1780
|
-
* invalid dispute.
|
|
1781
|
-
**/
|
|
1782
|
-
BitfieldReferencesFreedCore: GenericPalletError;
|
|
1745
|
+
ParaHeadMismatch: GenericPalletError<Rv>;
|
|
1783
1746
|
|
|
1784
1747
|
/**
|
|
1785
1748
|
* Generic pallet error
|
|
1786
1749
|
**/
|
|
1787
|
-
[error: string]: GenericPalletError
|
|
1750
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1788
1751
|
};
|
|
1789
1752
|
/**
|
|
1790
1753
|
* Pallet `ParaInherent`'s errors
|
|
@@ -1793,53 +1756,34 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1793
1756
|
/**
|
|
1794
1757
|
* Inclusion inherent called more than once per block.
|
|
1795
1758
|
**/
|
|
1796
|
-
TooManyInclusionInherents: GenericPalletError
|
|
1759
|
+
TooManyInclusionInherents: GenericPalletError<Rv>;
|
|
1797
1760
|
|
|
1798
1761
|
/**
|
|
1799
1762
|
* The hash of the submitted parent header doesn't correspond to the saved block hash of
|
|
1800
1763
|
* the parent.
|
|
1801
1764
|
**/
|
|
1802
|
-
InvalidParentHeader: GenericPalletError
|
|
1803
|
-
|
|
1804
|
-
/**
|
|
1805
|
-
* Disputed candidate that was concluded invalid.
|
|
1806
|
-
**/
|
|
1807
|
-
CandidateConcludedInvalid: GenericPalletError;
|
|
1765
|
+
InvalidParentHeader: GenericPalletError<Rv>;
|
|
1808
1766
|
|
|
1809
1767
|
/**
|
|
1810
1768
|
* The data given to the inherent will result in an overweight block.
|
|
1811
1769
|
**/
|
|
1812
|
-
InherentOverweight: GenericPalletError
|
|
1813
|
-
|
|
1814
|
-
/**
|
|
1815
|
-
* The ordering of dispute statements was invalid.
|
|
1816
|
-
**/
|
|
1817
|
-
DisputeStatementsUnsortedOrDuplicates: GenericPalletError;
|
|
1818
|
-
|
|
1819
|
-
/**
|
|
1820
|
-
* A dispute statement was invalid.
|
|
1821
|
-
**/
|
|
1822
|
-
DisputeInvalid: GenericPalletError;
|
|
1823
|
-
|
|
1824
|
-
/**
|
|
1825
|
-
* A candidate was backed by a disabled validator
|
|
1826
|
-
**/
|
|
1827
|
-
BackedByDisabled: GenericPalletError;
|
|
1770
|
+
InherentOverweight: GenericPalletError<Rv>;
|
|
1828
1771
|
|
|
1829
1772
|
/**
|
|
1830
|
-
* A candidate was
|
|
1773
|
+
* A candidate was filtered during inherent execution. This should have only been done
|
|
1774
|
+
* during creation.
|
|
1831
1775
|
**/
|
|
1832
|
-
|
|
1776
|
+
CandidatesFilteredDuringExecution: GenericPalletError<Rv>;
|
|
1833
1777
|
|
|
1834
1778
|
/**
|
|
1835
1779
|
* Too many candidates supplied.
|
|
1836
1780
|
**/
|
|
1837
|
-
UnscheduledCandidate: GenericPalletError
|
|
1781
|
+
UnscheduledCandidate: GenericPalletError<Rv>;
|
|
1838
1782
|
|
|
1839
1783
|
/**
|
|
1840
1784
|
* Generic pallet error
|
|
1841
1785
|
**/
|
|
1842
|
-
[error: string]: GenericPalletError
|
|
1786
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1843
1787
|
};
|
|
1844
1788
|
/**
|
|
1845
1789
|
* Pallet `Paras`'s errors
|
|
@@ -1848,72 +1792,72 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1848
1792
|
/**
|
|
1849
1793
|
* Para is not registered in our system.
|
|
1850
1794
|
**/
|
|
1851
|
-
NotRegistered: GenericPalletError
|
|
1795
|
+
NotRegistered: GenericPalletError<Rv>;
|
|
1852
1796
|
|
|
1853
1797
|
/**
|
|
1854
1798
|
* Para cannot be onboarded because it is already tracked by our system.
|
|
1855
1799
|
**/
|
|
1856
|
-
CannotOnboard: GenericPalletError
|
|
1800
|
+
CannotOnboard: GenericPalletError<Rv>;
|
|
1857
1801
|
|
|
1858
1802
|
/**
|
|
1859
1803
|
* Para cannot be offboarded at this time.
|
|
1860
1804
|
**/
|
|
1861
|
-
CannotOffboard: GenericPalletError
|
|
1805
|
+
CannotOffboard: GenericPalletError<Rv>;
|
|
1862
1806
|
|
|
1863
1807
|
/**
|
|
1864
1808
|
* Para cannot be upgraded to a lease holding parachain.
|
|
1865
1809
|
**/
|
|
1866
|
-
CannotUpgrade: GenericPalletError
|
|
1810
|
+
CannotUpgrade: GenericPalletError<Rv>;
|
|
1867
1811
|
|
|
1868
1812
|
/**
|
|
1869
1813
|
* Para cannot be downgraded to an on-demand parachain.
|
|
1870
1814
|
**/
|
|
1871
|
-
CannotDowngrade: GenericPalletError
|
|
1815
|
+
CannotDowngrade: GenericPalletError<Rv>;
|
|
1872
1816
|
|
|
1873
1817
|
/**
|
|
1874
1818
|
* The statement for PVF pre-checking is stale.
|
|
1875
1819
|
**/
|
|
1876
|
-
PvfCheckStatementStale: GenericPalletError
|
|
1820
|
+
PvfCheckStatementStale: GenericPalletError<Rv>;
|
|
1877
1821
|
|
|
1878
1822
|
/**
|
|
1879
1823
|
* The statement for PVF pre-checking is for a future session.
|
|
1880
1824
|
**/
|
|
1881
|
-
PvfCheckStatementFuture: GenericPalletError
|
|
1825
|
+
PvfCheckStatementFuture: GenericPalletError<Rv>;
|
|
1882
1826
|
|
|
1883
1827
|
/**
|
|
1884
1828
|
* Claimed validator index is out of bounds.
|
|
1885
1829
|
**/
|
|
1886
|
-
PvfCheckValidatorIndexOutOfBounds: GenericPalletError
|
|
1830
|
+
PvfCheckValidatorIndexOutOfBounds: GenericPalletError<Rv>;
|
|
1887
1831
|
|
|
1888
1832
|
/**
|
|
1889
1833
|
* The signature for the PVF pre-checking is invalid.
|
|
1890
1834
|
**/
|
|
1891
|
-
PvfCheckInvalidSignature: GenericPalletError
|
|
1835
|
+
PvfCheckInvalidSignature: GenericPalletError<Rv>;
|
|
1892
1836
|
|
|
1893
1837
|
/**
|
|
1894
1838
|
* The given validator already has cast a vote.
|
|
1895
1839
|
**/
|
|
1896
|
-
PvfCheckDoubleVote: GenericPalletError
|
|
1840
|
+
PvfCheckDoubleVote: GenericPalletError<Rv>;
|
|
1897
1841
|
|
|
1898
1842
|
/**
|
|
1899
1843
|
* The given PVF does not exist at the moment of process a vote.
|
|
1900
1844
|
**/
|
|
1901
|
-
PvfCheckSubjectInvalid: GenericPalletError
|
|
1845
|
+
PvfCheckSubjectInvalid: GenericPalletError<Rv>;
|
|
1902
1846
|
|
|
1903
1847
|
/**
|
|
1904
1848
|
* Parachain cannot currently schedule a code upgrade.
|
|
1905
1849
|
**/
|
|
1906
|
-
CannotUpgradeCode: GenericPalletError
|
|
1850
|
+
CannotUpgradeCode: GenericPalletError<Rv>;
|
|
1907
1851
|
|
|
1908
1852
|
/**
|
|
1909
1853
|
* Invalid validation code size.
|
|
1910
1854
|
**/
|
|
1911
|
-
InvalidCode: GenericPalletError
|
|
1855
|
+
InvalidCode: GenericPalletError<Rv>;
|
|
1912
1856
|
|
|
1913
1857
|
/**
|
|
1914
1858
|
* Generic pallet error
|
|
1915
1859
|
**/
|
|
1916
|
-
[error: string]: GenericPalletError
|
|
1860
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1917
1861
|
};
|
|
1918
1862
|
/**
|
|
1919
1863
|
* Pallet `Hrmp`'s errors
|
|
@@ -1922,107 +1866,107 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1922
1866
|
/**
|
|
1923
1867
|
* The sender tried to open a channel to themselves.
|
|
1924
1868
|
**/
|
|
1925
|
-
OpenHrmpChannelToSelf: GenericPalletError
|
|
1869
|
+
OpenHrmpChannelToSelf: GenericPalletError<Rv>;
|
|
1926
1870
|
|
|
1927
1871
|
/**
|
|
1928
1872
|
* The recipient is not a valid para.
|
|
1929
1873
|
**/
|
|
1930
|
-
OpenHrmpChannelInvalidRecipient: GenericPalletError
|
|
1874
|
+
OpenHrmpChannelInvalidRecipient: GenericPalletError<Rv>;
|
|
1931
1875
|
|
|
1932
1876
|
/**
|
|
1933
1877
|
* The requested capacity is zero.
|
|
1934
1878
|
**/
|
|
1935
|
-
OpenHrmpChannelZeroCapacity: GenericPalletError
|
|
1879
|
+
OpenHrmpChannelZeroCapacity: GenericPalletError<Rv>;
|
|
1936
1880
|
|
|
1937
1881
|
/**
|
|
1938
1882
|
* The requested capacity exceeds the global limit.
|
|
1939
1883
|
**/
|
|
1940
|
-
OpenHrmpChannelCapacityExceedsLimit: GenericPalletError
|
|
1884
|
+
OpenHrmpChannelCapacityExceedsLimit: GenericPalletError<Rv>;
|
|
1941
1885
|
|
|
1942
1886
|
/**
|
|
1943
1887
|
* The requested maximum message size is 0.
|
|
1944
1888
|
**/
|
|
1945
|
-
OpenHrmpChannelZeroMessageSize: GenericPalletError
|
|
1889
|
+
OpenHrmpChannelZeroMessageSize: GenericPalletError<Rv>;
|
|
1946
1890
|
|
|
1947
1891
|
/**
|
|
1948
1892
|
* The open request requested the message size that exceeds the global limit.
|
|
1949
1893
|
**/
|
|
1950
|
-
OpenHrmpChannelMessageSizeExceedsLimit: GenericPalletError
|
|
1894
|
+
OpenHrmpChannelMessageSizeExceedsLimit: GenericPalletError<Rv>;
|
|
1951
1895
|
|
|
1952
1896
|
/**
|
|
1953
1897
|
* The channel already exists
|
|
1954
1898
|
**/
|
|
1955
|
-
OpenHrmpChannelAlreadyExists: GenericPalletError
|
|
1899
|
+
OpenHrmpChannelAlreadyExists: GenericPalletError<Rv>;
|
|
1956
1900
|
|
|
1957
1901
|
/**
|
|
1958
1902
|
* There is already a request to open the same channel.
|
|
1959
1903
|
**/
|
|
1960
|
-
OpenHrmpChannelAlreadyRequested: GenericPalletError
|
|
1904
|
+
OpenHrmpChannelAlreadyRequested: GenericPalletError<Rv>;
|
|
1961
1905
|
|
|
1962
1906
|
/**
|
|
1963
1907
|
* The sender already has the maximum number of allowed outbound channels.
|
|
1964
1908
|
**/
|
|
1965
|
-
OpenHrmpChannelLimitExceeded: GenericPalletError
|
|
1909
|
+
OpenHrmpChannelLimitExceeded: GenericPalletError<Rv>;
|
|
1966
1910
|
|
|
1967
1911
|
/**
|
|
1968
1912
|
* The channel from the sender to the origin doesn't exist.
|
|
1969
1913
|
**/
|
|
1970
|
-
AcceptHrmpChannelDoesntExist: GenericPalletError
|
|
1914
|
+
AcceptHrmpChannelDoesntExist: GenericPalletError<Rv>;
|
|
1971
1915
|
|
|
1972
1916
|
/**
|
|
1973
1917
|
* The channel is already confirmed.
|
|
1974
1918
|
**/
|
|
1975
|
-
AcceptHrmpChannelAlreadyConfirmed: GenericPalletError
|
|
1919
|
+
AcceptHrmpChannelAlreadyConfirmed: GenericPalletError<Rv>;
|
|
1976
1920
|
|
|
1977
1921
|
/**
|
|
1978
1922
|
* The recipient already has the maximum number of allowed inbound channels.
|
|
1979
1923
|
**/
|
|
1980
|
-
AcceptHrmpChannelLimitExceeded: GenericPalletError
|
|
1924
|
+
AcceptHrmpChannelLimitExceeded: GenericPalletError<Rv>;
|
|
1981
1925
|
|
|
1982
1926
|
/**
|
|
1983
1927
|
* The origin tries to close a channel where it is neither the sender nor the recipient.
|
|
1984
1928
|
**/
|
|
1985
|
-
CloseHrmpChannelUnauthorized: GenericPalletError
|
|
1929
|
+
CloseHrmpChannelUnauthorized: GenericPalletError<Rv>;
|
|
1986
1930
|
|
|
1987
1931
|
/**
|
|
1988
1932
|
* The channel to be closed doesn't exist.
|
|
1989
1933
|
**/
|
|
1990
|
-
CloseHrmpChannelDoesntExist: GenericPalletError
|
|
1934
|
+
CloseHrmpChannelDoesntExist: GenericPalletError<Rv>;
|
|
1991
1935
|
|
|
1992
1936
|
/**
|
|
1993
1937
|
* The channel close request is already requested.
|
|
1994
1938
|
**/
|
|
1995
|
-
CloseHrmpChannelAlreadyUnderway: GenericPalletError
|
|
1939
|
+
CloseHrmpChannelAlreadyUnderway: GenericPalletError<Rv>;
|
|
1996
1940
|
|
|
1997
1941
|
/**
|
|
1998
1942
|
* Canceling is requested by neither the sender nor recipient of the open channel request.
|
|
1999
1943
|
**/
|
|
2000
|
-
CancelHrmpOpenChannelUnauthorized: GenericPalletError
|
|
1944
|
+
CancelHrmpOpenChannelUnauthorized: GenericPalletError<Rv>;
|
|
2001
1945
|
|
|
2002
1946
|
/**
|
|
2003
1947
|
* The open request doesn't exist.
|
|
2004
1948
|
**/
|
|
2005
|
-
OpenHrmpChannelDoesntExist: GenericPalletError
|
|
1949
|
+
OpenHrmpChannelDoesntExist: GenericPalletError<Rv>;
|
|
2006
1950
|
|
|
2007
1951
|
/**
|
|
2008
1952
|
* Cannot cancel an HRMP open channel request because it is already confirmed.
|
|
2009
1953
|
**/
|
|
2010
|
-
OpenHrmpChannelAlreadyConfirmed: GenericPalletError
|
|
1954
|
+
OpenHrmpChannelAlreadyConfirmed: GenericPalletError<Rv>;
|
|
2011
1955
|
|
|
2012
1956
|
/**
|
|
2013
1957
|
* The provided witness data is wrong.
|
|
2014
1958
|
**/
|
|
2015
|
-
WrongWitness: GenericPalletError
|
|
1959
|
+
WrongWitness: GenericPalletError<Rv>;
|
|
2016
1960
|
|
|
2017
1961
|
/**
|
|
2018
1962
|
* The channel between these two chains cannot be authorized.
|
|
2019
1963
|
**/
|
|
2020
|
-
ChannelCreationNotAuthorized: GenericPalletError
|
|
1964
|
+
ChannelCreationNotAuthorized: GenericPalletError<Rv>;
|
|
2021
1965
|
|
|
2022
1966
|
/**
|
|
2023
1967
|
* Generic pallet error
|
|
2024
1968
|
**/
|
|
2025
|
-
[error: string]: GenericPalletError
|
|
1969
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2026
1970
|
};
|
|
2027
1971
|
/**
|
|
2028
1972
|
* Pallet `ParasDisputes`'s errors
|
|
@@ -2031,52 +1975,52 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2031
1975
|
/**
|
|
2032
1976
|
* Duplicate dispute statement sets provided.
|
|
2033
1977
|
**/
|
|
2034
|
-
DuplicateDisputeStatementSets: GenericPalletError
|
|
1978
|
+
DuplicateDisputeStatementSets: GenericPalletError<Rv>;
|
|
2035
1979
|
|
|
2036
1980
|
/**
|
|
2037
1981
|
* Ancient dispute statement provided.
|
|
2038
1982
|
**/
|
|
2039
|
-
AncientDisputeStatement: GenericPalletError
|
|
1983
|
+
AncientDisputeStatement: GenericPalletError<Rv>;
|
|
2040
1984
|
|
|
2041
1985
|
/**
|
|
2042
1986
|
* Validator index on statement is out of bounds for session.
|
|
2043
1987
|
**/
|
|
2044
|
-
ValidatorIndexOutOfBounds: GenericPalletError
|
|
1988
|
+
ValidatorIndexOutOfBounds: GenericPalletError<Rv>;
|
|
2045
1989
|
|
|
2046
1990
|
/**
|
|
2047
1991
|
* Invalid signature on statement.
|
|
2048
1992
|
**/
|
|
2049
|
-
InvalidSignature: GenericPalletError
|
|
1993
|
+
InvalidSignature: GenericPalletError<Rv>;
|
|
2050
1994
|
|
|
2051
1995
|
/**
|
|
2052
1996
|
* Validator vote submitted more than once to dispute.
|
|
2053
1997
|
**/
|
|
2054
|
-
DuplicateStatement: GenericPalletError
|
|
1998
|
+
DuplicateStatement: GenericPalletError<Rv>;
|
|
2055
1999
|
|
|
2056
2000
|
/**
|
|
2057
2001
|
* A dispute where there are only votes on one side.
|
|
2058
2002
|
**/
|
|
2059
|
-
SingleSidedDispute: GenericPalletError
|
|
2003
|
+
SingleSidedDispute: GenericPalletError<Rv>;
|
|
2060
2004
|
|
|
2061
2005
|
/**
|
|
2062
2006
|
* A dispute vote from a malicious backer.
|
|
2063
2007
|
**/
|
|
2064
|
-
MaliciousBacker: GenericPalletError
|
|
2008
|
+
MaliciousBacker: GenericPalletError<Rv>;
|
|
2065
2009
|
|
|
2066
2010
|
/**
|
|
2067
2011
|
* No backing votes were provides along dispute statements.
|
|
2068
2012
|
**/
|
|
2069
|
-
MissingBackingVotes: GenericPalletError
|
|
2013
|
+
MissingBackingVotes: GenericPalletError<Rv>;
|
|
2070
2014
|
|
|
2071
2015
|
/**
|
|
2072
2016
|
* Unconfirmed dispute statement sets provided.
|
|
2073
2017
|
**/
|
|
2074
|
-
UnconfirmedDispute: GenericPalletError
|
|
2018
|
+
UnconfirmedDispute: GenericPalletError<Rv>;
|
|
2075
2019
|
|
|
2076
2020
|
/**
|
|
2077
2021
|
* Generic pallet error
|
|
2078
2022
|
**/
|
|
2079
|
-
[error: string]: GenericPalletError
|
|
2023
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2080
2024
|
};
|
|
2081
2025
|
/**
|
|
2082
2026
|
* Pallet `ParasSlashing`'s errors
|
|
@@ -2085,38 +2029,38 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2085
2029
|
/**
|
|
2086
2030
|
* The key ownership proof is invalid.
|
|
2087
2031
|
**/
|
|
2088
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
2032
|
+
InvalidKeyOwnershipProof: GenericPalletError<Rv>;
|
|
2089
2033
|
|
|
2090
2034
|
/**
|
|
2091
2035
|
* The session index is too old or invalid.
|
|
2092
2036
|
**/
|
|
2093
|
-
InvalidSessionIndex: GenericPalletError
|
|
2037
|
+
InvalidSessionIndex: GenericPalletError<Rv>;
|
|
2094
2038
|
|
|
2095
2039
|
/**
|
|
2096
2040
|
* The candidate hash is invalid.
|
|
2097
2041
|
**/
|
|
2098
|
-
InvalidCandidateHash: GenericPalletError
|
|
2042
|
+
InvalidCandidateHash: GenericPalletError<Rv>;
|
|
2099
2043
|
|
|
2100
2044
|
/**
|
|
2101
2045
|
* There is no pending slash for the given validator index and time
|
|
2102
2046
|
* slot.
|
|
2103
2047
|
**/
|
|
2104
|
-
InvalidValidatorIndex: GenericPalletError
|
|
2048
|
+
InvalidValidatorIndex: GenericPalletError<Rv>;
|
|
2105
2049
|
|
|
2106
2050
|
/**
|
|
2107
2051
|
* The validator index does not match the validator id.
|
|
2108
2052
|
**/
|
|
2109
|
-
ValidatorIndexIdMismatch: GenericPalletError
|
|
2053
|
+
ValidatorIndexIdMismatch: GenericPalletError<Rv>;
|
|
2110
2054
|
|
|
2111
2055
|
/**
|
|
2112
2056
|
* The given slashing report is valid but already previously reported.
|
|
2113
2057
|
**/
|
|
2114
|
-
DuplicateSlashingReport: GenericPalletError
|
|
2058
|
+
DuplicateSlashingReport: GenericPalletError<Rv>;
|
|
2115
2059
|
|
|
2116
2060
|
/**
|
|
2117
2061
|
* Generic pallet error
|
|
2118
2062
|
**/
|
|
2119
|
-
[error: string]: GenericPalletError
|
|
2063
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2120
2064
|
};
|
|
2121
2065
|
/**
|
|
2122
2066
|
* Pallet `MessageQueue`'s errors
|
|
@@ -2126,32 +2070,32 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2126
2070
|
* Page is not reapable because it has items remaining to be processed and is not old
|
|
2127
2071
|
* enough.
|
|
2128
2072
|
**/
|
|
2129
|
-
NotReapable: GenericPalletError
|
|
2073
|
+
NotReapable: GenericPalletError<Rv>;
|
|
2130
2074
|
|
|
2131
2075
|
/**
|
|
2132
2076
|
* Page to be reaped does not exist.
|
|
2133
2077
|
**/
|
|
2134
|
-
NoPage: GenericPalletError
|
|
2078
|
+
NoPage: GenericPalletError<Rv>;
|
|
2135
2079
|
|
|
2136
2080
|
/**
|
|
2137
2081
|
* The referenced message could not be found.
|
|
2138
2082
|
**/
|
|
2139
|
-
NoMessage: GenericPalletError
|
|
2083
|
+
NoMessage: GenericPalletError<Rv>;
|
|
2140
2084
|
|
|
2141
2085
|
/**
|
|
2142
2086
|
* The message was already processed and cannot be processed again.
|
|
2143
2087
|
**/
|
|
2144
|
-
AlreadyProcessed: GenericPalletError
|
|
2088
|
+
AlreadyProcessed: GenericPalletError<Rv>;
|
|
2145
2089
|
|
|
2146
2090
|
/**
|
|
2147
2091
|
* The message is queued for future execution.
|
|
2148
2092
|
**/
|
|
2149
|
-
Queued: GenericPalletError
|
|
2093
|
+
Queued: GenericPalletError<Rv>;
|
|
2150
2094
|
|
|
2151
2095
|
/**
|
|
2152
2096
|
* There is temporarily not enough weight to continue servicing messages.
|
|
2153
2097
|
**/
|
|
2154
|
-
InsufficientWeight: GenericPalletError
|
|
2098
|
+
InsufficientWeight: GenericPalletError<Rv>;
|
|
2155
2099
|
|
|
2156
2100
|
/**
|
|
2157
2101
|
* This message is temporarily unprocessable.
|
|
@@ -2159,87 +2103,81 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2159
2103
|
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
2160
2104
|
* retrying.
|
|
2161
2105
|
**/
|
|
2162
|
-
TemporarilyUnprocessable: GenericPalletError
|
|
2106
|
+
TemporarilyUnprocessable: GenericPalletError<Rv>;
|
|
2163
2107
|
|
|
2164
2108
|
/**
|
|
2165
2109
|
* The queue is paused and no message can be executed from it.
|
|
2166
2110
|
*
|
|
2167
2111
|
* This can change at any time and may resolve in the future by re-trying.
|
|
2168
2112
|
**/
|
|
2169
|
-
QueuePaused: GenericPalletError
|
|
2113
|
+
QueuePaused: GenericPalletError<Rv>;
|
|
2170
2114
|
|
|
2171
2115
|
/**
|
|
2172
2116
|
* Another call is in progress and needs to finish before this call can happen.
|
|
2173
2117
|
**/
|
|
2174
|
-
RecursiveDisallowed: GenericPalletError
|
|
2118
|
+
RecursiveDisallowed: GenericPalletError<Rv>;
|
|
2175
2119
|
|
|
2176
2120
|
/**
|
|
2177
2121
|
* Generic pallet error
|
|
2178
2122
|
**/
|
|
2179
|
-
[error: string]: GenericPalletError
|
|
2123
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2180
2124
|
};
|
|
2181
2125
|
/**
|
|
2182
2126
|
* Pallet `OnDemandAssignmentProvider`'s errors
|
|
2183
2127
|
**/
|
|
2184
2128
|
onDemandAssignmentProvider: {
|
|
2185
|
-
/**
|
|
2186
|
-
* The `ParaId` supplied to the `place_order` call is not a valid `ParaThread`, making the
|
|
2187
|
-
* call is invalid.
|
|
2188
|
-
**/
|
|
2189
|
-
InvalidParaId: GenericPalletError;
|
|
2190
|
-
|
|
2191
2129
|
/**
|
|
2192
2130
|
* The order queue is full, `place_order` will not continue.
|
|
2193
2131
|
**/
|
|
2194
|
-
QueueFull: GenericPalletError
|
|
2132
|
+
QueueFull: GenericPalletError<Rv>;
|
|
2195
2133
|
|
|
2196
2134
|
/**
|
|
2197
2135
|
* The current spot price is higher than the max amount specified in the `place_order`
|
|
2198
2136
|
* call, making it invalid.
|
|
2199
2137
|
**/
|
|
2200
|
-
SpotPriceHigherThanMaxAmount: GenericPalletError
|
|
2138
|
+
SpotPriceHigherThanMaxAmount: GenericPalletError<Rv>;
|
|
2201
2139
|
|
|
2202
2140
|
/**
|
|
2203
2141
|
* Generic pallet error
|
|
2204
2142
|
**/
|
|
2205
|
-
[error: string]: GenericPalletError
|
|
2143
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2206
2144
|
};
|
|
2207
2145
|
/**
|
|
2208
2146
|
* Pallet `CoretimeAssignmentProvider`'s errors
|
|
2209
2147
|
**/
|
|
2210
2148
|
coretimeAssignmentProvider: {
|
|
2211
|
-
AssignmentsEmpty: GenericPalletError
|
|
2149
|
+
AssignmentsEmpty: GenericPalletError<Rv>;
|
|
2212
2150
|
|
|
2213
2151
|
/**
|
|
2214
2152
|
* Assignments together exceeded 57600.
|
|
2215
2153
|
**/
|
|
2216
|
-
OverScheduled: GenericPalletError
|
|
2154
|
+
OverScheduled: GenericPalletError<Rv>;
|
|
2217
2155
|
|
|
2218
2156
|
/**
|
|
2219
2157
|
* Assignments together less than 57600
|
|
2220
2158
|
**/
|
|
2221
|
-
UnderScheduled: GenericPalletError
|
|
2159
|
+
UnderScheduled: GenericPalletError<Rv>;
|
|
2222
2160
|
|
|
2223
2161
|
/**
|
|
2224
2162
|
* assign_core is only allowed to append new assignments at the end of already existing
|
|
2225
2163
|
* ones.
|
|
2226
2164
|
**/
|
|
2227
|
-
DisallowedInsert: GenericPalletError
|
|
2165
|
+
DisallowedInsert: GenericPalletError<Rv>;
|
|
2228
2166
|
|
|
2229
2167
|
/**
|
|
2230
2168
|
* Tried to insert a schedule for the same core and block number as an existing schedule
|
|
2231
2169
|
**/
|
|
2232
|
-
DuplicateInsert: GenericPalletError
|
|
2170
|
+
DuplicateInsert: GenericPalletError<Rv>;
|
|
2233
2171
|
|
|
2234
2172
|
/**
|
|
2235
2173
|
* Tried to add an unsorted set of assignments
|
|
2236
2174
|
**/
|
|
2237
|
-
AssignmentsNotSorted: GenericPalletError
|
|
2175
|
+
AssignmentsNotSorted: GenericPalletError<Rv>;
|
|
2238
2176
|
|
|
2239
2177
|
/**
|
|
2240
2178
|
* Generic pallet error
|
|
2241
2179
|
**/
|
|
2242
|
-
[error: string]: GenericPalletError
|
|
2180
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2243
2181
|
};
|
|
2244
2182
|
/**
|
|
2245
2183
|
* Pallet `Registrar`'s errors
|
|
@@ -2248,79 +2186,79 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2248
2186
|
/**
|
|
2249
2187
|
* The ID is not registered.
|
|
2250
2188
|
**/
|
|
2251
|
-
NotRegistered: GenericPalletError
|
|
2189
|
+
NotRegistered: GenericPalletError<Rv>;
|
|
2252
2190
|
|
|
2253
2191
|
/**
|
|
2254
2192
|
* The ID is already registered.
|
|
2255
2193
|
**/
|
|
2256
|
-
AlreadyRegistered: GenericPalletError
|
|
2194
|
+
AlreadyRegistered: GenericPalletError<Rv>;
|
|
2257
2195
|
|
|
2258
2196
|
/**
|
|
2259
2197
|
* The caller is not the owner of this Id.
|
|
2260
2198
|
**/
|
|
2261
|
-
NotOwner: GenericPalletError
|
|
2199
|
+
NotOwner: GenericPalletError<Rv>;
|
|
2262
2200
|
|
|
2263
2201
|
/**
|
|
2264
2202
|
* Invalid para code size.
|
|
2265
2203
|
**/
|
|
2266
|
-
CodeTooLarge: GenericPalletError
|
|
2204
|
+
CodeTooLarge: GenericPalletError<Rv>;
|
|
2267
2205
|
|
|
2268
2206
|
/**
|
|
2269
2207
|
* Invalid para head data size.
|
|
2270
2208
|
**/
|
|
2271
|
-
HeadDataTooLarge: GenericPalletError
|
|
2209
|
+
HeadDataTooLarge: GenericPalletError<Rv>;
|
|
2272
2210
|
|
|
2273
2211
|
/**
|
|
2274
2212
|
* Para is not a Parachain.
|
|
2275
2213
|
**/
|
|
2276
|
-
NotParachain: GenericPalletError
|
|
2214
|
+
NotParachain: GenericPalletError<Rv>;
|
|
2277
2215
|
|
|
2278
2216
|
/**
|
|
2279
2217
|
* Para is not a Parathread (on-demand parachain).
|
|
2280
2218
|
**/
|
|
2281
|
-
NotParathread: GenericPalletError
|
|
2219
|
+
NotParathread: GenericPalletError<Rv>;
|
|
2282
2220
|
|
|
2283
2221
|
/**
|
|
2284
2222
|
* Cannot deregister para
|
|
2285
2223
|
**/
|
|
2286
|
-
CannotDeregister: GenericPalletError
|
|
2224
|
+
CannotDeregister: GenericPalletError<Rv>;
|
|
2287
2225
|
|
|
2288
2226
|
/**
|
|
2289
2227
|
* Cannot schedule downgrade of lease holding parachain to on-demand parachain
|
|
2290
2228
|
**/
|
|
2291
|
-
CannotDowngrade: GenericPalletError
|
|
2229
|
+
CannotDowngrade: GenericPalletError<Rv>;
|
|
2292
2230
|
|
|
2293
2231
|
/**
|
|
2294
2232
|
* Cannot schedule upgrade of on-demand parachain to lease holding parachain
|
|
2295
2233
|
**/
|
|
2296
|
-
CannotUpgrade: GenericPalletError
|
|
2234
|
+
CannotUpgrade: GenericPalletError<Rv>;
|
|
2297
2235
|
|
|
2298
2236
|
/**
|
|
2299
2237
|
* Para is locked from manipulation by the manager. Must use parachain or relay chain
|
|
2300
2238
|
* governance.
|
|
2301
2239
|
**/
|
|
2302
|
-
ParaLocked: GenericPalletError
|
|
2240
|
+
ParaLocked: GenericPalletError<Rv>;
|
|
2303
2241
|
|
|
2304
2242
|
/**
|
|
2305
2243
|
* The ID given for registration has not been reserved.
|
|
2306
2244
|
**/
|
|
2307
|
-
NotReserved: GenericPalletError
|
|
2245
|
+
NotReserved: GenericPalletError<Rv>;
|
|
2308
2246
|
|
|
2309
2247
|
/**
|
|
2310
2248
|
* The validation code is invalid.
|
|
2311
2249
|
**/
|
|
2312
|
-
InvalidCode: GenericPalletError
|
|
2250
|
+
InvalidCode: GenericPalletError<Rv>;
|
|
2313
2251
|
|
|
2314
2252
|
/**
|
|
2315
2253
|
* Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras
|
|
2316
2254
|
* are correct for the swap to work.
|
|
2317
2255
|
**/
|
|
2318
|
-
CannotSwap: GenericPalletError
|
|
2256
|
+
CannotSwap: GenericPalletError<Rv>;
|
|
2319
2257
|
|
|
2320
2258
|
/**
|
|
2321
2259
|
* Generic pallet error
|
|
2322
2260
|
**/
|
|
2323
|
-
[error: string]: GenericPalletError
|
|
2261
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2324
2262
|
};
|
|
2325
2263
|
/**
|
|
2326
2264
|
* Pallet `Slots`'s errors
|
|
@@ -2329,17 +2267,17 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2329
2267
|
/**
|
|
2330
2268
|
* The parachain ID is not onboarding.
|
|
2331
2269
|
**/
|
|
2332
|
-
ParaNotOnboarding: GenericPalletError
|
|
2270
|
+
ParaNotOnboarding: GenericPalletError<Rv>;
|
|
2333
2271
|
|
|
2334
2272
|
/**
|
|
2335
2273
|
* There was an error with the lease.
|
|
2336
2274
|
**/
|
|
2337
|
-
LeaseError: GenericPalletError
|
|
2275
|
+
LeaseError: GenericPalletError<Rv>;
|
|
2338
2276
|
|
|
2339
2277
|
/**
|
|
2340
2278
|
* Generic pallet error
|
|
2341
2279
|
**/
|
|
2342
|
-
[error: string]: GenericPalletError
|
|
2280
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2343
2281
|
};
|
|
2344
2282
|
/**
|
|
2345
2283
|
* Pallet `Auctions`'s errors
|
|
@@ -2348,42 +2286,42 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2348
2286
|
/**
|
|
2349
2287
|
* This auction is already in progress.
|
|
2350
2288
|
**/
|
|
2351
|
-
AuctionInProgress: GenericPalletError
|
|
2289
|
+
AuctionInProgress: GenericPalletError<Rv>;
|
|
2352
2290
|
|
|
2353
2291
|
/**
|
|
2354
2292
|
* The lease period is in the past.
|
|
2355
2293
|
**/
|
|
2356
|
-
LeasePeriodInPast: GenericPalletError
|
|
2294
|
+
LeasePeriodInPast: GenericPalletError<Rv>;
|
|
2357
2295
|
|
|
2358
2296
|
/**
|
|
2359
2297
|
* Para is not registered
|
|
2360
2298
|
**/
|
|
2361
|
-
ParaNotRegistered: GenericPalletError
|
|
2299
|
+
ParaNotRegistered: GenericPalletError<Rv>;
|
|
2362
2300
|
|
|
2363
2301
|
/**
|
|
2364
2302
|
* Not a current auction.
|
|
2365
2303
|
**/
|
|
2366
|
-
NotCurrentAuction: GenericPalletError
|
|
2304
|
+
NotCurrentAuction: GenericPalletError<Rv>;
|
|
2367
2305
|
|
|
2368
2306
|
/**
|
|
2369
2307
|
* Not an auction.
|
|
2370
2308
|
**/
|
|
2371
|
-
NotAuction: GenericPalletError
|
|
2309
|
+
NotAuction: GenericPalletError<Rv>;
|
|
2372
2310
|
|
|
2373
2311
|
/**
|
|
2374
2312
|
* Auction has already ended.
|
|
2375
2313
|
**/
|
|
2376
|
-
AuctionEnded: GenericPalletError
|
|
2314
|
+
AuctionEnded: GenericPalletError<Rv>;
|
|
2377
2315
|
|
|
2378
2316
|
/**
|
|
2379
2317
|
* The para is already leased out for part of this range.
|
|
2380
2318
|
**/
|
|
2381
|
-
AlreadyLeasedOut: GenericPalletError
|
|
2319
|
+
AlreadyLeasedOut: GenericPalletError<Rv>;
|
|
2382
2320
|
|
|
2383
2321
|
/**
|
|
2384
2322
|
* Generic pallet error
|
|
2385
2323
|
**/
|
|
2386
|
-
[error: string]: GenericPalletError
|
|
2324
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2387
2325
|
};
|
|
2388
2326
|
/**
|
|
2389
2327
|
* Pallet `Crowdloan`'s errors
|
|
@@ -2392,123 +2330,123 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2392
2330
|
/**
|
|
2393
2331
|
* The current lease period is more than the first lease period.
|
|
2394
2332
|
**/
|
|
2395
|
-
FirstPeriodInPast: GenericPalletError
|
|
2333
|
+
FirstPeriodInPast: GenericPalletError<Rv>;
|
|
2396
2334
|
|
|
2397
2335
|
/**
|
|
2398
2336
|
* The first lease period needs to at least be less than 3 `max_value`.
|
|
2399
2337
|
**/
|
|
2400
|
-
FirstPeriodTooFarInFuture: GenericPalletError
|
|
2338
|
+
FirstPeriodTooFarInFuture: GenericPalletError<Rv>;
|
|
2401
2339
|
|
|
2402
2340
|
/**
|
|
2403
2341
|
* Last lease period must be greater than first lease period.
|
|
2404
2342
|
**/
|
|
2405
|
-
LastPeriodBeforeFirstPeriod: GenericPalletError
|
|
2343
|
+
LastPeriodBeforeFirstPeriod: GenericPalletError<Rv>;
|
|
2406
2344
|
|
|
2407
2345
|
/**
|
|
2408
2346
|
* The last lease period cannot be more than 3 periods after the first period.
|
|
2409
2347
|
**/
|
|
2410
|
-
LastPeriodTooFarInFuture: GenericPalletError
|
|
2348
|
+
LastPeriodTooFarInFuture: GenericPalletError<Rv>;
|
|
2411
2349
|
|
|
2412
2350
|
/**
|
|
2413
2351
|
* The campaign ends before the current block number. The end must be in the future.
|
|
2414
2352
|
**/
|
|
2415
|
-
CannotEndInPast: GenericPalletError
|
|
2353
|
+
CannotEndInPast: GenericPalletError<Rv>;
|
|
2416
2354
|
|
|
2417
2355
|
/**
|
|
2418
2356
|
* The end date for this crowdloan is not sensible.
|
|
2419
2357
|
**/
|
|
2420
|
-
EndTooFarInFuture: GenericPalletError
|
|
2358
|
+
EndTooFarInFuture: GenericPalletError<Rv>;
|
|
2421
2359
|
|
|
2422
2360
|
/**
|
|
2423
2361
|
* There was an overflow.
|
|
2424
2362
|
**/
|
|
2425
|
-
Overflow: GenericPalletError
|
|
2363
|
+
Overflow: GenericPalletError<Rv>;
|
|
2426
2364
|
|
|
2427
2365
|
/**
|
|
2428
2366
|
* The contribution was below the minimum, `MinContribution`.
|
|
2429
2367
|
**/
|
|
2430
|
-
ContributionTooSmall: GenericPalletError
|
|
2368
|
+
ContributionTooSmall: GenericPalletError<Rv>;
|
|
2431
2369
|
|
|
2432
2370
|
/**
|
|
2433
2371
|
* Invalid fund index.
|
|
2434
2372
|
**/
|
|
2435
|
-
InvalidParaId: GenericPalletError
|
|
2373
|
+
InvalidParaId: GenericPalletError<Rv>;
|
|
2436
2374
|
|
|
2437
2375
|
/**
|
|
2438
2376
|
* Contributions exceed maximum amount.
|
|
2439
2377
|
**/
|
|
2440
|
-
CapExceeded: GenericPalletError
|
|
2378
|
+
CapExceeded: GenericPalletError<Rv>;
|
|
2441
2379
|
|
|
2442
2380
|
/**
|
|
2443
2381
|
* The contribution period has already ended.
|
|
2444
2382
|
**/
|
|
2445
|
-
ContributionPeriodOver: GenericPalletError
|
|
2383
|
+
ContributionPeriodOver: GenericPalletError<Rv>;
|
|
2446
2384
|
|
|
2447
2385
|
/**
|
|
2448
2386
|
* The origin of this call is invalid.
|
|
2449
2387
|
**/
|
|
2450
|
-
InvalidOrigin: GenericPalletError
|
|
2388
|
+
InvalidOrigin: GenericPalletError<Rv>;
|
|
2451
2389
|
|
|
2452
2390
|
/**
|
|
2453
2391
|
* This crowdloan does not correspond to a parachain.
|
|
2454
2392
|
**/
|
|
2455
|
-
NotParachain: GenericPalletError
|
|
2393
|
+
NotParachain: GenericPalletError<Rv>;
|
|
2456
2394
|
|
|
2457
2395
|
/**
|
|
2458
2396
|
* This parachain lease is still active and retirement cannot yet begin.
|
|
2459
2397
|
**/
|
|
2460
|
-
LeaseActive: GenericPalletError
|
|
2398
|
+
LeaseActive: GenericPalletError<Rv>;
|
|
2461
2399
|
|
|
2462
2400
|
/**
|
|
2463
2401
|
* This parachain's bid or lease is still active and withdraw cannot yet begin.
|
|
2464
2402
|
**/
|
|
2465
|
-
BidOrLeaseActive: GenericPalletError
|
|
2403
|
+
BidOrLeaseActive: GenericPalletError<Rv>;
|
|
2466
2404
|
|
|
2467
2405
|
/**
|
|
2468
2406
|
* The crowdloan has not yet ended.
|
|
2469
2407
|
**/
|
|
2470
|
-
FundNotEnded: GenericPalletError
|
|
2408
|
+
FundNotEnded: GenericPalletError<Rv>;
|
|
2471
2409
|
|
|
2472
2410
|
/**
|
|
2473
2411
|
* There are no contributions stored in this crowdloan.
|
|
2474
2412
|
**/
|
|
2475
|
-
NoContributions: GenericPalletError
|
|
2413
|
+
NoContributions: GenericPalletError<Rv>;
|
|
2476
2414
|
|
|
2477
2415
|
/**
|
|
2478
2416
|
* The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement
|
|
2479
2417
|
* period.
|
|
2480
2418
|
**/
|
|
2481
|
-
NotReadyToDissolve: GenericPalletError
|
|
2419
|
+
NotReadyToDissolve: GenericPalletError<Rv>;
|
|
2482
2420
|
|
|
2483
2421
|
/**
|
|
2484
2422
|
* Invalid signature.
|
|
2485
2423
|
**/
|
|
2486
|
-
InvalidSignature: GenericPalletError
|
|
2424
|
+
InvalidSignature: GenericPalletError<Rv>;
|
|
2487
2425
|
|
|
2488
2426
|
/**
|
|
2489
2427
|
* The provided memo is too large.
|
|
2490
2428
|
**/
|
|
2491
|
-
MemoTooLarge: GenericPalletError
|
|
2429
|
+
MemoTooLarge: GenericPalletError<Rv>;
|
|
2492
2430
|
|
|
2493
2431
|
/**
|
|
2494
2432
|
* The fund is already in `NewRaise`
|
|
2495
2433
|
**/
|
|
2496
|
-
AlreadyInNewRaise: GenericPalletError
|
|
2434
|
+
AlreadyInNewRaise: GenericPalletError<Rv>;
|
|
2497
2435
|
|
|
2498
2436
|
/**
|
|
2499
2437
|
* No contributions allowed during the VRF delay
|
|
2500
2438
|
**/
|
|
2501
|
-
VrfDelayInProgress: GenericPalletError
|
|
2439
|
+
VrfDelayInProgress: GenericPalletError<Rv>;
|
|
2502
2440
|
|
|
2503
2441
|
/**
|
|
2504
2442
|
* A lease period has not started yet, due to an offset in the starting block.
|
|
2505
2443
|
**/
|
|
2506
|
-
NoLeasePeriod: GenericPalletError
|
|
2444
|
+
NoLeasePeriod: GenericPalletError<Rv>;
|
|
2507
2445
|
|
|
2508
2446
|
/**
|
|
2509
2447
|
* Generic pallet error
|
|
2510
2448
|
**/
|
|
2511
|
-
[error: string]: GenericPalletError
|
|
2449
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2512
2450
|
};
|
|
2513
2451
|
/**
|
|
2514
2452
|
* Pallet `Coretime`'s errors
|
|
@@ -2517,12 +2455,23 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2517
2455
|
/**
|
|
2518
2456
|
* The paraid making the call is not the coretime brokerage system parachain.
|
|
2519
2457
|
**/
|
|
2520
|
-
NotBroker: GenericPalletError
|
|
2458
|
+
NotBroker: GenericPalletError<Rv>;
|
|
2459
|
+
|
|
2460
|
+
/**
|
|
2461
|
+
* Requested revenue information `when` parameter was in the future from the current
|
|
2462
|
+
* block height.
|
|
2463
|
+
**/
|
|
2464
|
+
RequestedFutureRevenue: GenericPalletError<Rv>;
|
|
2465
|
+
|
|
2466
|
+
/**
|
|
2467
|
+
* Failed to transfer assets to the coretime chain
|
|
2468
|
+
**/
|
|
2469
|
+
AssetTransferFailed: GenericPalletError<Rv>;
|
|
2521
2470
|
|
|
2522
2471
|
/**
|
|
2523
2472
|
* Generic pallet error
|
|
2524
2473
|
**/
|
|
2525
|
-
[error: string]: GenericPalletError
|
|
2474
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2526
2475
|
};
|
|
2527
2476
|
/**
|
|
2528
2477
|
* Pallet `XcmPallet`'s errors
|
|
@@ -2532,134 +2481,129 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2532
2481
|
* The desired destination was unreachable, generally because there is a no way of routing
|
|
2533
2482
|
* to it.
|
|
2534
2483
|
**/
|
|
2535
|
-
Unreachable: GenericPalletError
|
|
2484
|
+
Unreachable: GenericPalletError<Rv>;
|
|
2536
2485
|
|
|
2537
2486
|
/**
|
|
2538
2487
|
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
2539
2488
|
* Perhaps a lack of space for buffering the message.
|
|
2540
2489
|
**/
|
|
2541
|
-
SendFailure: GenericPalletError
|
|
2490
|
+
SendFailure: GenericPalletError<Rv>;
|
|
2542
2491
|
|
|
2543
2492
|
/**
|
|
2544
2493
|
* The message execution fails the filter.
|
|
2545
2494
|
**/
|
|
2546
|
-
Filtered: GenericPalletError
|
|
2495
|
+
Filtered: GenericPalletError<Rv>;
|
|
2547
2496
|
|
|
2548
2497
|
/**
|
|
2549
2498
|
* The message's weight could not be determined.
|
|
2550
2499
|
**/
|
|
2551
|
-
UnweighableMessage: GenericPalletError
|
|
2500
|
+
UnweighableMessage: GenericPalletError<Rv>;
|
|
2552
2501
|
|
|
2553
2502
|
/**
|
|
2554
2503
|
* The destination `Location` provided cannot be inverted.
|
|
2555
2504
|
**/
|
|
2556
|
-
DestinationNotInvertible: GenericPalletError
|
|
2505
|
+
DestinationNotInvertible: GenericPalletError<Rv>;
|
|
2557
2506
|
|
|
2558
2507
|
/**
|
|
2559
2508
|
* The assets to be sent are empty.
|
|
2560
2509
|
**/
|
|
2561
|
-
Empty: GenericPalletError
|
|
2510
|
+
Empty: GenericPalletError<Rv>;
|
|
2562
2511
|
|
|
2563
2512
|
/**
|
|
2564
2513
|
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
2565
2514
|
**/
|
|
2566
|
-
CannotReanchor: GenericPalletError
|
|
2515
|
+
CannotReanchor: GenericPalletError<Rv>;
|
|
2567
2516
|
|
|
2568
2517
|
/**
|
|
2569
2518
|
* Too many assets have been attempted for transfer.
|
|
2570
2519
|
**/
|
|
2571
|
-
TooManyAssets: GenericPalletError
|
|
2520
|
+
TooManyAssets: GenericPalletError<Rv>;
|
|
2572
2521
|
|
|
2573
2522
|
/**
|
|
2574
2523
|
* Origin is invalid for sending.
|
|
2575
2524
|
**/
|
|
2576
|
-
InvalidOrigin: GenericPalletError
|
|
2525
|
+
InvalidOrigin: GenericPalletError<Rv>;
|
|
2577
2526
|
|
|
2578
2527
|
/**
|
|
2579
2528
|
* The version of the `Versioned` value used is not able to be interpreted.
|
|
2580
2529
|
**/
|
|
2581
|
-
BadVersion: GenericPalletError
|
|
2530
|
+
BadVersion: GenericPalletError<Rv>;
|
|
2582
2531
|
|
|
2583
2532
|
/**
|
|
2584
2533
|
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
2585
2534
|
* desired version of XCM).
|
|
2586
2535
|
**/
|
|
2587
|
-
BadLocation: GenericPalletError
|
|
2536
|
+
BadLocation: GenericPalletError<Rv>;
|
|
2588
2537
|
|
|
2589
2538
|
/**
|
|
2590
2539
|
* The referenced subscription could not be found.
|
|
2591
2540
|
**/
|
|
2592
|
-
NoSubscription: GenericPalletError
|
|
2541
|
+
NoSubscription: GenericPalletError<Rv>;
|
|
2593
2542
|
|
|
2594
2543
|
/**
|
|
2595
2544
|
* The location is invalid since it already has a subscription from us.
|
|
2596
2545
|
**/
|
|
2597
|
-
AlreadySubscribed: GenericPalletError
|
|
2546
|
+
AlreadySubscribed: GenericPalletError<Rv>;
|
|
2598
2547
|
|
|
2599
2548
|
/**
|
|
2600
2549
|
* Could not check-out the assets for teleportation to the destination chain.
|
|
2601
2550
|
**/
|
|
2602
|
-
CannotCheckOutTeleport: GenericPalletError
|
|
2551
|
+
CannotCheckOutTeleport: GenericPalletError<Rv>;
|
|
2603
2552
|
|
|
2604
2553
|
/**
|
|
2605
2554
|
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
2606
2555
|
**/
|
|
2607
|
-
LowBalance: GenericPalletError
|
|
2556
|
+
LowBalance: GenericPalletError<Rv>;
|
|
2608
2557
|
|
|
2609
2558
|
/**
|
|
2610
2559
|
* The asset owner has too many locks on the asset.
|
|
2611
2560
|
**/
|
|
2612
|
-
TooManyLocks: GenericPalletError
|
|
2561
|
+
TooManyLocks: GenericPalletError<Rv>;
|
|
2613
2562
|
|
|
2614
2563
|
/**
|
|
2615
2564
|
* The given account is not an identifiable sovereign account for any location.
|
|
2616
2565
|
**/
|
|
2617
|
-
AccountNotSovereign: GenericPalletError
|
|
2566
|
+
AccountNotSovereign: GenericPalletError<Rv>;
|
|
2618
2567
|
|
|
2619
2568
|
/**
|
|
2620
2569
|
* The operation required fees to be paid which the initiator could not meet.
|
|
2621
2570
|
**/
|
|
2622
|
-
FeesNotMet: GenericPalletError
|
|
2571
|
+
FeesNotMet: GenericPalletError<Rv>;
|
|
2623
2572
|
|
|
2624
2573
|
/**
|
|
2625
2574
|
* A remote lock with the corresponding data could not be found.
|
|
2626
2575
|
**/
|
|
2627
|
-
LockNotFound: GenericPalletError
|
|
2576
|
+
LockNotFound: GenericPalletError<Rv>;
|
|
2628
2577
|
|
|
2629
2578
|
/**
|
|
2630
2579
|
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
2631
2580
|
**/
|
|
2632
|
-
InUse: GenericPalletError
|
|
2633
|
-
|
|
2634
|
-
/**
|
|
2635
|
-
* Invalid non-concrete asset.
|
|
2636
|
-
**/
|
|
2637
|
-
InvalidAssetNotConcrete: GenericPalletError;
|
|
2581
|
+
InUse: GenericPalletError<Rv>;
|
|
2638
2582
|
|
|
2639
2583
|
/**
|
|
2640
2584
|
* Invalid asset, reserve chain could not be determined for it.
|
|
2641
2585
|
**/
|
|
2642
|
-
InvalidAssetUnknownReserve: GenericPalletError
|
|
2586
|
+
InvalidAssetUnknownReserve: GenericPalletError<Rv>;
|
|
2643
2587
|
|
|
2644
2588
|
/**
|
|
2645
2589
|
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
2646
2590
|
**/
|
|
2647
|
-
InvalidAssetUnsupportedReserve: GenericPalletError
|
|
2591
|
+
InvalidAssetUnsupportedReserve: GenericPalletError<Rv>;
|
|
2648
2592
|
|
|
2649
2593
|
/**
|
|
2650
2594
|
* Too many assets with different reserve locations have been attempted for transfer.
|
|
2651
2595
|
**/
|
|
2652
|
-
TooManyReserves: GenericPalletError
|
|
2596
|
+
TooManyReserves: GenericPalletError<Rv>;
|
|
2653
2597
|
|
|
2654
2598
|
/**
|
|
2655
2599
|
* Local XCM execution incomplete.
|
|
2656
2600
|
**/
|
|
2657
|
-
LocalExecutionIncomplete: GenericPalletError
|
|
2601
|
+
LocalExecutionIncomplete: GenericPalletError<Rv>;
|
|
2658
2602
|
|
|
2659
2603
|
/**
|
|
2660
2604
|
* Generic pallet error
|
|
2661
2605
|
**/
|
|
2662
|
-
[error: string]: GenericPalletError
|
|
2606
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2663
2607
|
};
|
|
2664
2608
|
/**
|
|
2665
2609
|
* Pallet `Beefy`'s errors
|
|
@@ -2668,27 +2612,27 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2668
2612
|
/**
|
|
2669
2613
|
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
2670
2614
|
**/
|
|
2671
|
-
InvalidKeyOwnershipProof: GenericPalletError
|
|
2615
|
+
InvalidKeyOwnershipProof: GenericPalletError<Rv>;
|
|
2672
2616
|
|
|
2673
2617
|
/**
|
|
2674
2618
|
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
2675
2619
|
**/
|
|
2676
|
-
InvalidEquivocationProof: GenericPalletError
|
|
2620
|
+
InvalidEquivocationProof: GenericPalletError<Rv>;
|
|
2677
2621
|
|
|
2678
2622
|
/**
|
|
2679
2623
|
* A given equivocation report is valid but already previously reported.
|
|
2680
2624
|
**/
|
|
2681
|
-
DuplicateOffenceReport: GenericPalletError
|
|
2625
|
+
DuplicateOffenceReport: GenericPalletError<Rv>;
|
|
2682
2626
|
|
|
2683
2627
|
/**
|
|
2684
2628
|
* Submitted configuration is invalid.
|
|
2685
2629
|
**/
|
|
2686
|
-
InvalidConfiguration: GenericPalletError
|
|
2630
|
+
InvalidConfiguration: GenericPalletError<Rv>;
|
|
2687
2631
|
|
|
2688
2632
|
/**
|
|
2689
2633
|
* Generic pallet error
|
|
2690
2634
|
**/
|
|
2691
|
-
[error: string]: GenericPalletError
|
|
2635
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2692
2636
|
};
|
|
2693
2637
|
/**
|
|
2694
2638
|
* Pallet `ParasSudoWrapper`'s errors
|
|
@@ -2697,53 +2641,53 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2697
2641
|
/**
|
|
2698
2642
|
* The specified parachain is not registered.
|
|
2699
2643
|
**/
|
|
2700
|
-
ParaDoesntExist: GenericPalletError
|
|
2644
|
+
ParaDoesntExist: GenericPalletError<Rv>;
|
|
2701
2645
|
|
|
2702
2646
|
/**
|
|
2703
2647
|
* The specified parachain is already registered.
|
|
2704
2648
|
**/
|
|
2705
|
-
ParaAlreadyExists: GenericPalletError
|
|
2649
|
+
ParaAlreadyExists: GenericPalletError<Rv>;
|
|
2706
2650
|
|
|
2707
2651
|
/**
|
|
2708
2652
|
* A DMP message couldn't be sent because it exceeds the maximum size allowed for a
|
|
2709
2653
|
* downward message.
|
|
2710
2654
|
**/
|
|
2711
|
-
ExceedsMaxMessageSize: GenericPalletError
|
|
2655
|
+
ExceedsMaxMessageSize: GenericPalletError<Rv>;
|
|
2712
2656
|
|
|
2713
2657
|
/**
|
|
2714
2658
|
* Could not schedule para cleanup.
|
|
2715
2659
|
**/
|
|
2716
|
-
CouldntCleanup: GenericPalletError
|
|
2660
|
+
CouldntCleanup: GenericPalletError<Rv>;
|
|
2717
2661
|
|
|
2718
2662
|
/**
|
|
2719
2663
|
* Not a parathread (on-demand parachain).
|
|
2720
2664
|
**/
|
|
2721
|
-
NotParathread: GenericPalletError
|
|
2665
|
+
NotParathread: GenericPalletError<Rv>;
|
|
2722
2666
|
|
|
2723
2667
|
/**
|
|
2724
2668
|
* Not a lease holding parachain.
|
|
2725
2669
|
**/
|
|
2726
|
-
NotParachain: GenericPalletError
|
|
2670
|
+
NotParachain: GenericPalletError<Rv>;
|
|
2727
2671
|
|
|
2728
2672
|
/**
|
|
2729
2673
|
* Cannot upgrade on-demand parachain to lease holding parachain.
|
|
2730
2674
|
**/
|
|
2731
|
-
CannotUpgrade: GenericPalletError
|
|
2675
|
+
CannotUpgrade: GenericPalletError<Rv>;
|
|
2732
2676
|
|
|
2733
2677
|
/**
|
|
2734
2678
|
* Cannot downgrade lease holding parachain to on-demand.
|
|
2735
2679
|
**/
|
|
2736
|
-
CannotDowngrade: GenericPalletError
|
|
2680
|
+
CannotDowngrade: GenericPalletError<Rv>;
|
|
2737
2681
|
|
|
2738
2682
|
/**
|
|
2739
2683
|
* There are more cores than supported by the runtime.
|
|
2740
2684
|
**/
|
|
2741
|
-
TooManyCores: GenericPalletError
|
|
2685
|
+
TooManyCores: GenericPalletError<Rv>;
|
|
2742
2686
|
|
|
2743
2687
|
/**
|
|
2744
2688
|
* Generic pallet error
|
|
2745
2689
|
**/
|
|
2746
|
-
[error: string]: GenericPalletError
|
|
2690
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2747
2691
|
};
|
|
2748
2692
|
/**
|
|
2749
2693
|
* Pallet `AssignedSlots`'s errors
|
|
@@ -2752,46 +2696,46 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2752
2696
|
/**
|
|
2753
2697
|
* The specified parachain is not registered.
|
|
2754
2698
|
**/
|
|
2755
|
-
ParaDoesntExist: GenericPalletError
|
|
2699
|
+
ParaDoesntExist: GenericPalletError<Rv>;
|
|
2756
2700
|
|
|
2757
2701
|
/**
|
|
2758
2702
|
* Not a parathread (on-demand parachain).
|
|
2759
2703
|
**/
|
|
2760
|
-
NotParathread: GenericPalletError
|
|
2704
|
+
NotParathread: GenericPalletError<Rv>;
|
|
2761
2705
|
|
|
2762
2706
|
/**
|
|
2763
2707
|
* Cannot upgrade on-demand parachain to lease holding
|
|
2764
2708
|
* parachain.
|
|
2765
2709
|
**/
|
|
2766
|
-
CannotUpgrade: GenericPalletError
|
|
2710
|
+
CannotUpgrade: GenericPalletError<Rv>;
|
|
2767
2711
|
|
|
2768
2712
|
/**
|
|
2769
2713
|
* Cannot downgrade lease holding parachain to
|
|
2770
2714
|
* on-demand.
|
|
2771
2715
|
**/
|
|
2772
|
-
CannotDowngrade: GenericPalletError
|
|
2716
|
+
CannotDowngrade: GenericPalletError<Rv>;
|
|
2773
2717
|
|
|
2774
2718
|
/**
|
|
2775
2719
|
* Permanent or Temporary slot already assigned.
|
|
2776
2720
|
**/
|
|
2777
|
-
SlotAlreadyAssigned: GenericPalletError
|
|
2721
|
+
SlotAlreadyAssigned: GenericPalletError<Rv>;
|
|
2778
2722
|
|
|
2779
2723
|
/**
|
|
2780
2724
|
* Permanent or Temporary slot has not been assigned.
|
|
2781
2725
|
**/
|
|
2782
|
-
SlotNotAssigned: GenericPalletError
|
|
2726
|
+
SlotNotAssigned: GenericPalletError<Rv>;
|
|
2783
2727
|
|
|
2784
2728
|
/**
|
|
2785
2729
|
* An ongoing lease already exists.
|
|
2786
2730
|
**/
|
|
2787
|
-
OngoingLeaseExists: GenericPalletError
|
|
2788
|
-
MaxPermanentSlotsExceeded: GenericPalletError
|
|
2789
|
-
MaxTemporarySlotsExceeded: GenericPalletError
|
|
2731
|
+
OngoingLeaseExists: GenericPalletError<Rv>;
|
|
2732
|
+
MaxPermanentSlotsExceeded: GenericPalletError<Rv>;
|
|
2733
|
+
MaxTemporarySlotsExceeded: GenericPalletError<Rv>;
|
|
2790
2734
|
|
|
2791
2735
|
/**
|
|
2792
2736
|
* Generic pallet error
|
|
2793
2737
|
**/
|
|
2794
|
-
[error: string]: GenericPalletError
|
|
2738
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2795
2739
|
};
|
|
2796
2740
|
/**
|
|
2797
2741
|
* Pallet `StateTrieMigration`'s errors
|
|
@@ -2800,7 +2744,7 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2800
2744
|
/**
|
|
2801
2745
|
* Max signed limits not respected.
|
|
2802
2746
|
**/
|
|
2803
|
-
MaxSignedLimits: GenericPalletError
|
|
2747
|
+
MaxSignedLimits: GenericPalletError<Rv>;
|
|
2804
2748
|
|
|
2805
2749
|
/**
|
|
2806
2750
|
* A key was longer than the configured maximum.
|
|
@@ -2811,32 +2755,32 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2811
2755
|
* The value should only be increased to avoid a storage migration for the currently
|
|
2812
2756
|
* stored [`crate::Progress::LastKey`].
|
|
2813
2757
|
**/
|
|
2814
|
-
KeyTooLong: GenericPalletError
|
|
2758
|
+
KeyTooLong: GenericPalletError<Rv>;
|
|
2815
2759
|
|
|
2816
2760
|
/**
|
|
2817
2761
|
* submitter does not have enough funds.
|
|
2818
2762
|
**/
|
|
2819
|
-
NotEnoughFunds: GenericPalletError
|
|
2763
|
+
NotEnoughFunds: GenericPalletError<Rv>;
|
|
2820
2764
|
|
|
2821
2765
|
/**
|
|
2822
2766
|
* Bad witness data provided.
|
|
2823
2767
|
**/
|
|
2824
|
-
BadWitness: GenericPalletError
|
|
2768
|
+
BadWitness: GenericPalletError<Rv>;
|
|
2825
2769
|
|
|
2826
2770
|
/**
|
|
2827
2771
|
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
2828
2772
|
**/
|
|
2829
|
-
SignedMigrationNotAllowed: GenericPalletError
|
|
2773
|
+
SignedMigrationNotAllowed: GenericPalletError<Rv>;
|
|
2830
2774
|
|
|
2831
2775
|
/**
|
|
2832
2776
|
* Bad child root provided.
|
|
2833
2777
|
**/
|
|
2834
|
-
BadChildRoot: GenericPalletError
|
|
2778
|
+
BadChildRoot: GenericPalletError<Rv>;
|
|
2835
2779
|
|
|
2836
2780
|
/**
|
|
2837
2781
|
* Generic pallet error
|
|
2838
2782
|
**/
|
|
2839
|
-
[error: string]: GenericPalletError
|
|
2783
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2840
2784
|
};
|
|
2841
2785
|
/**
|
|
2842
2786
|
* Pallet `Sudo`'s errors
|
|
@@ -2845,11 +2789,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2845
2789
|
/**
|
|
2846
2790
|
* Sender must be the Sudo account.
|
|
2847
2791
|
**/
|
|
2848
|
-
RequireSudo: GenericPalletError
|
|
2792
|
+
RequireSudo: GenericPalletError<Rv>;
|
|
2849
2793
|
|
|
2850
2794
|
/**
|
|
2851
2795
|
* Generic pallet error
|
|
2852
2796
|
**/
|
|
2853
|
-
[error: string]: GenericPalletError
|
|
2797
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2854
2798
|
};
|
|
2855
2799
|
}
|