@dedot/chaintypes 0.194.0 → 0.196.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/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +15 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +15 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +15 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +16 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +15 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +16 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +15 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +15 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +16 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +17 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +16 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +16 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +15 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +16 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +15 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +16 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +16 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +15 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +16 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +15 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainErrors, GenericPalletError
|
|
3
|
+
import type { GenericChainErrors, GenericPalletError } from 'dedot/types';
|
|
4
4
|
|
|
5
|
-
export interface ChainErrors
|
|
5
|
+
export interface ChainErrors extends GenericChainErrors {
|
|
6
6
|
/**
|
|
7
7
|
* Pallet `System`'s errors
|
|
8
8
|
**/
|
|
@@ -11,65 +11,65 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
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;
|
|
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;
|
|
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;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Suicide called when the account has non-default composite data.
|
|
31
31
|
**/
|
|
32
|
-
NonDefaultComposite: GenericPalletError
|
|
32
|
+
NonDefaultComposite: GenericPalletError;
|
|
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;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* The origin filter prevent the call to be dispatched.
|
|
41
41
|
**/
|
|
42
|
-
CallFiltered: GenericPalletError
|
|
42
|
+
CallFiltered: GenericPalletError;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
|
46
46
|
**/
|
|
47
|
-
MultiBlockMigrationsOngoing: GenericPalletError
|
|
47
|
+
MultiBlockMigrationsOngoing: GenericPalletError;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* The specified [`Task`] is not valid.
|
|
51
51
|
**/
|
|
52
|
-
InvalidTask: GenericPalletError
|
|
52
|
+
InvalidTask: GenericPalletError;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* The specified [`Task`] failed during execution.
|
|
56
56
|
**/
|
|
57
|
-
FailedTask: GenericPalletError
|
|
57
|
+
FailedTask: GenericPalletError;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* No upgrade authorized.
|
|
61
61
|
**/
|
|
62
|
-
NothingAuthorized: GenericPalletError
|
|
62
|
+
NothingAuthorized: GenericPalletError;
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* The submitted code is not authorized.
|
|
66
66
|
**/
|
|
67
|
-
Unauthorized: GenericPalletError
|
|
67
|
+
Unauthorized: GenericPalletError;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* Generic pallet error
|
|
71
71
|
**/
|
|
72
|
-
[error: string]: GenericPalletError
|
|
72
|
+
[error: string]: GenericPalletError;
|
|
73
73
|
};
|
|
74
74
|
/**
|
|
75
75
|
* Pallet `ParachainSystem`'s errors
|
|
@@ -78,38 +78,38 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
78
78
|
/**
|
|
79
79
|
* Attempt to upgrade validation function while existing upgrade pending.
|
|
80
80
|
**/
|
|
81
|
-
OverlappingUpgrades: GenericPalletError
|
|
81
|
+
OverlappingUpgrades: GenericPalletError;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* Polkadot currently prohibits this parachain from upgrading its validation function.
|
|
85
85
|
**/
|
|
86
|
-
ProhibitedByPolkadot: GenericPalletError
|
|
86
|
+
ProhibitedByPolkadot: GenericPalletError;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* The supplied validation function has compiled into a blob larger than Polkadot is
|
|
90
90
|
* willing to run.
|
|
91
91
|
**/
|
|
92
|
-
TooBig: GenericPalletError
|
|
92
|
+
TooBig: GenericPalletError;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* The inherent which supplies the validation data did not run this block.
|
|
96
96
|
**/
|
|
97
|
-
ValidationDataNotAvailable: GenericPalletError
|
|
97
|
+
ValidationDataNotAvailable: GenericPalletError;
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* The inherent which supplies the host configuration did not run this block.
|
|
101
101
|
**/
|
|
102
|
-
HostConfigurationNotAvailable: GenericPalletError
|
|
102
|
+
HostConfigurationNotAvailable: GenericPalletError;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* No validation function upgrade is currently scheduled.
|
|
106
106
|
**/
|
|
107
|
-
NotScheduled: GenericPalletError
|
|
107
|
+
NotScheduled: GenericPalletError;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* Generic pallet error
|
|
111
111
|
**/
|
|
112
|
-
[error: string]: GenericPalletError
|
|
112
|
+
[error: string]: GenericPalletError;
|
|
113
113
|
};
|
|
114
114
|
/**
|
|
115
115
|
* Pallet `Preimage`'s errors
|
|
@@ -118,47 +118,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
118
118
|
/**
|
|
119
119
|
* Preimage is too large to store on-chain.
|
|
120
120
|
**/
|
|
121
|
-
TooBig: GenericPalletError
|
|
121
|
+
TooBig: GenericPalletError;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* Preimage has already been noted on-chain.
|
|
125
125
|
**/
|
|
126
|
-
AlreadyNoted: GenericPalletError
|
|
126
|
+
AlreadyNoted: GenericPalletError;
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* The user is not authorized to perform this action.
|
|
130
130
|
**/
|
|
131
|
-
NotAuthorized: GenericPalletError
|
|
131
|
+
NotAuthorized: GenericPalletError;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
134
|
* The preimage cannot be removed since it has not yet been noted.
|
|
135
135
|
**/
|
|
136
|
-
NotNoted: GenericPalletError
|
|
136
|
+
NotNoted: GenericPalletError;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* A preimage may not be removed when there are outstanding requests.
|
|
140
140
|
**/
|
|
141
|
-
Requested: GenericPalletError
|
|
141
|
+
Requested: GenericPalletError;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* The preimage request cannot be removed since no outstanding requests exist.
|
|
145
145
|
**/
|
|
146
|
-
NotRequested: GenericPalletError
|
|
146
|
+
NotRequested: GenericPalletError;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
150
150
|
**/
|
|
151
|
-
TooMany: GenericPalletError
|
|
151
|
+
TooMany: GenericPalletError;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
155
155
|
**/
|
|
156
|
-
TooFew: GenericPalletError
|
|
156
|
+
TooFew: GenericPalletError;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* Generic pallet error
|
|
160
160
|
**/
|
|
161
|
-
[error: string]: GenericPalletError
|
|
161
|
+
[error: string]: GenericPalletError;
|
|
162
162
|
};
|
|
163
163
|
/**
|
|
164
164
|
* Pallet `Scheduler`'s errors
|
|
@@ -167,32 +167,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
167
167
|
/**
|
|
168
168
|
* Failed to schedule a call
|
|
169
169
|
**/
|
|
170
|
-
FailedToSchedule: GenericPalletError
|
|
170
|
+
FailedToSchedule: GenericPalletError;
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* Cannot find the scheduled call.
|
|
174
174
|
**/
|
|
175
|
-
NotFound: GenericPalletError
|
|
175
|
+
NotFound: GenericPalletError;
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* Given target block number is in the past.
|
|
179
179
|
**/
|
|
180
|
-
TargetBlockNumberInPast: GenericPalletError
|
|
180
|
+
TargetBlockNumberInPast: GenericPalletError;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* Reschedule failed because it does not change scheduled time.
|
|
184
184
|
**/
|
|
185
|
-
RescheduleNoChange: GenericPalletError
|
|
185
|
+
RescheduleNoChange: GenericPalletError;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* Attempt to use a non-named function on a named task.
|
|
189
189
|
**/
|
|
190
|
-
Named: GenericPalletError
|
|
190
|
+
Named: GenericPalletError;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Generic pallet error
|
|
194
194
|
**/
|
|
195
|
-
[error: string]: GenericPalletError
|
|
195
|
+
[error: string]: GenericPalletError;
|
|
196
196
|
};
|
|
197
197
|
/**
|
|
198
198
|
* Pallet `Balances`'s errors
|
|
@@ -201,67 +201,67 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
201
201
|
/**
|
|
202
202
|
* Vesting balance too high to send value.
|
|
203
203
|
**/
|
|
204
|
-
VestingBalance: GenericPalletError
|
|
204
|
+
VestingBalance: GenericPalletError;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* Account liquidity restrictions prevent withdrawal.
|
|
208
208
|
**/
|
|
209
|
-
LiquidityRestrictions: GenericPalletError
|
|
209
|
+
LiquidityRestrictions: GenericPalletError;
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* Balance too low to send value.
|
|
213
213
|
**/
|
|
214
|
-
InsufficientBalance: GenericPalletError
|
|
214
|
+
InsufficientBalance: GenericPalletError;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* Value too low to create account due to existential deposit.
|
|
218
218
|
**/
|
|
219
|
-
ExistentialDeposit: GenericPalletError
|
|
219
|
+
ExistentialDeposit: GenericPalletError;
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Transfer/payment would kill account.
|
|
223
223
|
**/
|
|
224
|
-
Expendability: GenericPalletError
|
|
224
|
+
Expendability: GenericPalletError;
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* A vesting schedule already exists for this account.
|
|
228
228
|
**/
|
|
229
|
-
ExistingVestingSchedule: GenericPalletError
|
|
229
|
+
ExistingVestingSchedule: GenericPalletError;
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
232
|
* Beneficiary account must pre-exist.
|
|
233
233
|
**/
|
|
234
|
-
DeadAccount: GenericPalletError
|
|
234
|
+
DeadAccount: GenericPalletError;
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* Number of named reserves exceed `MaxReserves`.
|
|
238
238
|
**/
|
|
239
|
-
TooManyReserves: GenericPalletError
|
|
239
|
+
TooManyReserves: GenericPalletError;
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
242
|
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
243
243
|
**/
|
|
244
|
-
TooManyHolds: GenericPalletError
|
|
244
|
+
TooManyHolds: GenericPalletError;
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
247
|
* Number of freezes exceed `MaxFreezes`.
|
|
248
248
|
**/
|
|
249
|
-
TooManyFreezes: GenericPalletError
|
|
249
|
+
TooManyFreezes: GenericPalletError;
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* The issuance cannot be modified since it is already deactivated.
|
|
253
253
|
**/
|
|
254
|
-
IssuanceDeactivated: GenericPalletError
|
|
254
|
+
IssuanceDeactivated: GenericPalletError;
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
257
|
* The delta cannot be zero.
|
|
258
258
|
**/
|
|
259
|
-
DeltaZero: GenericPalletError
|
|
259
|
+
DeltaZero: GenericPalletError;
|
|
260
260
|
|
|
261
261
|
/**
|
|
262
262
|
* Generic pallet error
|
|
263
263
|
**/
|
|
264
|
-
[error: string]: GenericPalletError
|
|
264
|
+
[error: string]: GenericPalletError;
|
|
265
265
|
};
|
|
266
266
|
/**
|
|
267
267
|
* Pallet `Vesting`'s errors
|
|
@@ -270,33 +270,33 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
270
270
|
/**
|
|
271
271
|
* The account given is not vesting.
|
|
272
272
|
**/
|
|
273
|
-
NotVesting: GenericPalletError
|
|
273
|
+
NotVesting: GenericPalletError;
|
|
274
274
|
|
|
275
275
|
/**
|
|
276
276
|
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
277
277
|
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
278
278
|
**/
|
|
279
|
-
AtMaxVestingSchedules: GenericPalletError
|
|
279
|
+
AtMaxVestingSchedules: GenericPalletError;
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* Amount being transferred is too low to create a vesting schedule.
|
|
283
283
|
**/
|
|
284
|
-
AmountLow: GenericPalletError
|
|
284
|
+
AmountLow: GenericPalletError;
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* An index was out of bounds of the vesting schedules.
|
|
288
288
|
**/
|
|
289
|
-
ScheduleIndexOutOfBounds: GenericPalletError
|
|
289
|
+
ScheduleIndexOutOfBounds: GenericPalletError;
|
|
290
290
|
|
|
291
291
|
/**
|
|
292
292
|
* Failed to create a new schedule because some parameter was invalid.
|
|
293
293
|
**/
|
|
294
|
-
InvalidScheduleParams: GenericPalletError
|
|
294
|
+
InvalidScheduleParams: GenericPalletError;
|
|
295
295
|
|
|
296
296
|
/**
|
|
297
297
|
* Generic pallet error
|
|
298
298
|
**/
|
|
299
|
-
[error: string]: GenericPalletError
|
|
299
|
+
[error: string]: GenericPalletError;
|
|
300
300
|
};
|
|
301
301
|
/**
|
|
302
302
|
* Pallet `Claims`'s errors
|
|
@@ -305,38 +305,38 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
305
305
|
/**
|
|
306
306
|
* Invalid Ethereum signature.
|
|
307
307
|
**/
|
|
308
|
-
InvalidEthereumSignature: GenericPalletError
|
|
308
|
+
InvalidEthereumSignature: GenericPalletError;
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
311
|
* Ethereum address has no claim.
|
|
312
312
|
**/
|
|
313
|
-
SignerHasNoClaim: GenericPalletError
|
|
313
|
+
SignerHasNoClaim: GenericPalletError;
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
316
|
* Account ID sending transaction has no claim.
|
|
317
317
|
**/
|
|
318
|
-
SenderHasNoClaim: GenericPalletError
|
|
318
|
+
SenderHasNoClaim: GenericPalletError;
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
321
|
* There's not enough in the pot to pay out some unvested amount. Generally implies a
|
|
322
322
|
* logic error.
|
|
323
323
|
**/
|
|
324
|
-
PotUnderflow: GenericPalletError
|
|
324
|
+
PotUnderflow: GenericPalletError;
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
327
|
* A needed statement was not included.
|
|
328
328
|
**/
|
|
329
|
-
InvalidStatement: GenericPalletError
|
|
329
|
+
InvalidStatement: GenericPalletError;
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
332
|
* The account already has a vested balance.
|
|
333
333
|
**/
|
|
334
|
-
VestedBalanceExists: GenericPalletError
|
|
334
|
+
VestedBalanceExists: GenericPalletError;
|
|
335
335
|
|
|
336
336
|
/**
|
|
337
337
|
* Generic pallet error
|
|
338
338
|
**/
|
|
339
|
-
[error: string]: GenericPalletError
|
|
339
|
+
[error: string]: GenericPalletError;
|
|
340
340
|
};
|
|
341
341
|
/**
|
|
342
342
|
* Pallet `CollatorSelection`'s errors
|
|
@@ -345,92 +345,92 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
345
345
|
/**
|
|
346
346
|
* The pallet has too many candidates.
|
|
347
347
|
**/
|
|
348
|
-
TooManyCandidates: GenericPalletError
|
|
348
|
+
TooManyCandidates: GenericPalletError;
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
351
|
* Leaving would result in too few candidates.
|
|
352
352
|
**/
|
|
353
|
-
TooFewEligibleCollators: GenericPalletError
|
|
353
|
+
TooFewEligibleCollators: GenericPalletError;
|
|
354
354
|
|
|
355
355
|
/**
|
|
356
356
|
* Account is already a candidate.
|
|
357
357
|
**/
|
|
358
|
-
AlreadyCandidate: GenericPalletError
|
|
358
|
+
AlreadyCandidate: GenericPalletError;
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
361
|
* Account is not a candidate.
|
|
362
362
|
**/
|
|
363
|
-
NotCandidate: GenericPalletError
|
|
363
|
+
NotCandidate: GenericPalletError;
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
366
|
* There are too many Invulnerables.
|
|
367
367
|
**/
|
|
368
|
-
TooManyInvulnerables: GenericPalletError
|
|
368
|
+
TooManyInvulnerables: GenericPalletError;
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
371
|
* Account is already an Invulnerable.
|
|
372
372
|
**/
|
|
373
|
-
AlreadyInvulnerable: GenericPalletError
|
|
373
|
+
AlreadyInvulnerable: GenericPalletError;
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
376
|
* Account is not an Invulnerable.
|
|
377
377
|
**/
|
|
378
|
-
NotInvulnerable: GenericPalletError
|
|
378
|
+
NotInvulnerable: GenericPalletError;
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
381
|
* Account has no associated validator ID.
|
|
382
382
|
**/
|
|
383
|
-
NoAssociatedValidatorId: GenericPalletError
|
|
383
|
+
NoAssociatedValidatorId: GenericPalletError;
|
|
384
384
|
|
|
385
385
|
/**
|
|
386
386
|
* Validator ID is not yet registered.
|
|
387
387
|
**/
|
|
388
|
-
ValidatorNotRegistered: GenericPalletError
|
|
388
|
+
ValidatorNotRegistered: GenericPalletError;
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
391
|
* Could not insert in the candidate list.
|
|
392
392
|
**/
|
|
393
|
-
InsertToCandidateListFailed: GenericPalletError
|
|
393
|
+
InsertToCandidateListFailed: GenericPalletError;
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
396
|
* Could not remove from the candidate list.
|
|
397
397
|
**/
|
|
398
|
-
RemoveFromCandidateListFailed: GenericPalletError
|
|
398
|
+
RemoveFromCandidateListFailed: GenericPalletError;
|
|
399
399
|
|
|
400
400
|
/**
|
|
401
401
|
* New deposit amount would be below the minimum candidacy bond.
|
|
402
402
|
**/
|
|
403
|
-
DepositTooLow: GenericPalletError
|
|
403
|
+
DepositTooLow: GenericPalletError;
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
406
|
* Could not update the candidate list.
|
|
407
407
|
**/
|
|
408
|
-
UpdateCandidateListFailed: GenericPalletError
|
|
408
|
+
UpdateCandidateListFailed: GenericPalletError;
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* Deposit amount is too low to take the target's slot in the candidate list.
|
|
412
412
|
**/
|
|
413
|
-
InsufficientBond: GenericPalletError
|
|
413
|
+
InsufficientBond: GenericPalletError;
|
|
414
414
|
|
|
415
415
|
/**
|
|
416
416
|
* The target account to be replaced in the candidate list is not a candidate.
|
|
417
417
|
**/
|
|
418
|
-
TargetIsNotCandidate: GenericPalletError
|
|
418
|
+
TargetIsNotCandidate: GenericPalletError;
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
421
|
* The updated deposit amount is equal to the amount already reserved.
|
|
422
422
|
**/
|
|
423
|
-
IdenticalDeposit: GenericPalletError
|
|
423
|
+
IdenticalDeposit: GenericPalletError;
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
426
|
* Cannot lower candidacy bond while occupying a future collator slot in the list.
|
|
427
427
|
**/
|
|
428
|
-
InvalidUnreserve: GenericPalletError
|
|
428
|
+
InvalidUnreserve: GenericPalletError;
|
|
429
429
|
|
|
430
430
|
/**
|
|
431
431
|
* Generic pallet error
|
|
432
432
|
**/
|
|
433
|
-
[error: string]: GenericPalletError
|
|
433
|
+
[error: string]: GenericPalletError;
|
|
434
434
|
};
|
|
435
435
|
/**
|
|
436
436
|
* Pallet `Session`'s errors
|
|
@@ -439,32 +439,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
439
439
|
/**
|
|
440
440
|
* Invalid ownership proof.
|
|
441
441
|
**/
|
|
442
|
-
InvalidProof: GenericPalletError
|
|
442
|
+
InvalidProof: GenericPalletError;
|
|
443
443
|
|
|
444
444
|
/**
|
|
445
445
|
* No associated validator ID for account.
|
|
446
446
|
**/
|
|
447
|
-
NoAssociatedValidatorId: GenericPalletError
|
|
447
|
+
NoAssociatedValidatorId: GenericPalletError;
|
|
448
448
|
|
|
449
449
|
/**
|
|
450
450
|
* Registered duplicate key.
|
|
451
451
|
**/
|
|
452
|
-
DuplicatedKey: GenericPalletError
|
|
452
|
+
DuplicatedKey: GenericPalletError;
|
|
453
453
|
|
|
454
454
|
/**
|
|
455
455
|
* No keys are associated with this account.
|
|
456
456
|
**/
|
|
457
|
-
NoKeys: GenericPalletError
|
|
457
|
+
NoKeys: GenericPalletError;
|
|
458
458
|
|
|
459
459
|
/**
|
|
460
460
|
* Key setting account is not live, so it's impossible to associate keys.
|
|
461
461
|
**/
|
|
462
|
-
NoAccount: GenericPalletError
|
|
462
|
+
NoAccount: GenericPalletError;
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
465
|
* Generic pallet error
|
|
466
466
|
**/
|
|
467
|
-
[error: string]: GenericPalletError
|
|
467
|
+
[error: string]: GenericPalletError;
|
|
468
468
|
};
|
|
469
469
|
/**
|
|
470
470
|
* Pallet `XcmpQueue`'s errors
|
|
@@ -473,32 +473,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
473
473
|
/**
|
|
474
474
|
* Setting the queue config failed since one of its values was invalid.
|
|
475
475
|
**/
|
|
476
|
-
BadQueueConfig: GenericPalletError
|
|
476
|
+
BadQueueConfig: GenericPalletError;
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
479
|
* The execution is already suspended.
|
|
480
480
|
**/
|
|
481
|
-
AlreadySuspended: GenericPalletError
|
|
481
|
+
AlreadySuspended: GenericPalletError;
|
|
482
482
|
|
|
483
483
|
/**
|
|
484
484
|
* The execution is already resumed.
|
|
485
485
|
**/
|
|
486
|
-
AlreadyResumed: GenericPalletError
|
|
486
|
+
AlreadyResumed: GenericPalletError;
|
|
487
487
|
|
|
488
488
|
/**
|
|
489
489
|
* There are too many active outbound channels.
|
|
490
490
|
**/
|
|
491
|
-
TooManyActiveOutboundChannels: GenericPalletError
|
|
491
|
+
TooManyActiveOutboundChannels: GenericPalletError;
|
|
492
492
|
|
|
493
493
|
/**
|
|
494
494
|
* The message is too big.
|
|
495
495
|
**/
|
|
496
|
-
TooBig: GenericPalletError
|
|
496
|
+
TooBig: GenericPalletError;
|
|
497
497
|
|
|
498
498
|
/**
|
|
499
499
|
* Generic pallet error
|
|
500
500
|
**/
|
|
501
|
-
[error: string]: GenericPalletError
|
|
501
|
+
[error: string]: GenericPalletError;
|
|
502
502
|
};
|
|
503
503
|
/**
|
|
504
504
|
* Pallet `PolkadotXcm`'s errors
|
|
@@ -508,152 +508,152 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
508
508
|
* The desired destination was unreachable, generally because there is a no way of routing
|
|
509
509
|
* to it.
|
|
510
510
|
**/
|
|
511
|
-
Unreachable: GenericPalletError
|
|
511
|
+
Unreachable: GenericPalletError;
|
|
512
512
|
|
|
513
513
|
/**
|
|
514
514
|
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
515
515
|
* Perhaps a lack of space for buffering the message.
|
|
516
516
|
**/
|
|
517
|
-
SendFailure: GenericPalletError
|
|
517
|
+
SendFailure: GenericPalletError;
|
|
518
518
|
|
|
519
519
|
/**
|
|
520
520
|
* The message execution fails the filter.
|
|
521
521
|
**/
|
|
522
|
-
Filtered: GenericPalletError
|
|
522
|
+
Filtered: GenericPalletError;
|
|
523
523
|
|
|
524
524
|
/**
|
|
525
525
|
* The message's weight could not be determined.
|
|
526
526
|
**/
|
|
527
|
-
UnweighableMessage: GenericPalletError
|
|
527
|
+
UnweighableMessage: GenericPalletError;
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
530
|
* The destination `Location` provided cannot be inverted.
|
|
531
531
|
**/
|
|
532
|
-
DestinationNotInvertible: GenericPalletError
|
|
532
|
+
DestinationNotInvertible: GenericPalletError;
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
535
|
* The assets to be sent are empty.
|
|
536
536
|
**/
|
|
537
|
-
Empty: GenericPalletError
|
|
537
|
+
Empty: GenericPalletError;
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
540
|
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
541
541
|
**/
|
|
542
|
-
CannotReanchor: GenericPalletError
|
|
542
|
+
CannotReanchor: GenericPalletError;
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
545
|
* Too many assets have been attempted for transfer.
|
|
546
546
|
**/
|
|
547
|
-
TooManyAssets: GenericPalletError
|
|
547
|
+
TooManyAssets: GenericPalletError;
|
|
548
548
|
|
|
549
549
|
/**
|
|
550
550
|
* Origin is invalid for sending.
|
|
551
551
|
**/
|
|
552
|
-
InvalidOrigin: GenericPalletError
|
|
552
|
+
InvalidOrigin: GenericPalletError;
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
555
|
* The version of the `Versioned` value used is not able to be interpreted.
|
|
556
556
|
**/
|
|
557
|
-
BadVersion: GenericPalletError
|
|
557
|
+
BadVersion: GenericPalletError;
|
|
558
558
|
|
|
559
559
|
/**
|
|
560
560
|
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
561
561
|
* desired version of XCM).
|
|
562
562
|
**/
|
|
563
|
-
BadLocation: GenericPalletError
|
|
563
|
+
BadLocation: GenericPalletError;
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
566
|
* The referenced subscription could not be found.
|
|
567
567
|
**/
|
|
568
|
-
NoSubscription: GenericPalletError
|
|
568
|
+
NoSubscription: GenericPalletError;
|
|
569
569
|
|
|
570
570
|
/**
|
|
571
571
|
* The location is invalid since it already has a subscription from us.
|
|
572
572
|
**/
|
|
573
|
-
AlreadySubscribed: GenericPalletError
|
|
573
|
+
AlreadySubscribed: GenericPalletError;
|
|
574
574
|
|
|
575
575
|
/**
|
|
576
576
|
* Could not check-out the assets for teleportation to the destination chain.
|
|
577
577
|
**/
|
|
578
|
-
CannotCheckOutTeleport: GenericPalletError
|
|
578
|
+
CannotCheckOutTeleport: GenericPalletError;
|
|
579
579
|
|
|
580
580
|
/**
|
|
581
581
|
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
582
582
|
**/
|
|
583
|
-
LowBalance: GenericPalletError
|
|
583
|
+
LowBalance: GenericPalletError;
|
|
584
584
|
|
|
585
585
|
/**
|
|
586
586
|
* The asset owner has too many locks on the asset.
|
|
587
587
|
**/
|
|
588
|
-
TooManyLocks: GenericPalletError
|
|
588
|
+
TooManyLocks: GenericPalletError;
|
|
589
589
|
|
|
590
590
|
/**
|
|
591
591
|
* The given account is not an identifiable sovereign account for any location.
|
|
592
592
|
**/
|
|
593
|
-
AccountNotSovereign: GenericPalletError
|
|
593
|
+
AccountNotSovereign: GenericPalletError;
|
|
594
594
|
|
|
595
595
|
/**
|
|
596
596
|
* The operation required fees to be paid which the initiator could not meet.
|
|
597
597
|
**/
|
|
598
|
-
FeesNotMet: GenericPalletError
|
|
598
|
+
FeesNotMet: GenericPalletError;
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
601
|
* A remote lock with the corresponding data could not be found.
|
|
602
602
|
**/
|
|
603
|
-
LockNotFound: GenericPalletError
|
|
603
|
+
LockNotFound: GenericPalletError;
|
|
604
604
|
|
|
605
605
|
/**
|
|
606
606
|
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
607
607
|
**/
|
|
608
|
-
InUse: GenericPalletError
|
|
608
|
+
InUse: GenericPalletError;
|
|
609
609
|
|
|
610
610
|
/**
|
|
611
611
|
* Invalid asset, reserve chain could not be determined for it.
|
|
612
612
|
**/
|
|
613
|
-
InvalidAssetUnknownReserve: GenericPalletError
|
|
613
|
+
InvalidAssetUnknownReserve: GenericPalletError;
|
|
614
614
|
|
|
615
615
|
/**
|
|
616
616
|
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
617
617
|
**/
|
|
618
|
-
InvalidAssetUnsupportedReserve: GenericPalletError
|
|
618
|
+
InvalidAssetUnsupportedReserve: GenericPalletError;
|
|
619
619
|
|
|
620
620
|
/**
|
|
621
621
|
* Too many assets with different reserve locations have been attempted for transfer.
|
|
622
622
|
**/
|
|
623
|
-
TooManyReserves: GenericPalletError
|
|
623
|
+
TooManyReserves: GenericPalletError;
|
|
624
624
|
|
|
625
625
|
/**
|
|
626
626
|
* Local XCM execution incomplete.
|
|
627
627
|
**/
|
|
628
|
-
LocalExecutionIncomplete: GenericPalletError
|
|
628
|
+
LocalExecutionIncomplete: GenericPalletError;
|
|
629
629
|
|
|
630
630
|
/**
|
|
631
631
|
* Too many locations authorized to alias origin.
|
|
632
632
|
*
|
|
633
633
|
* @deprecated Use `LocalExecutionIncompleteWithError` instead (since 20.0.0)
|
|
634
634
|
**/
|
|
635
|
-
TooManyAuthorizedAliases: GenericPalletError
|
|
635
|
+
TooManyAuthorizedAliases: GenericPalletError;
|
|
636
636
|
|
|
637
637
|
/**
|
|
638
638
|
* Expiry block number is in the past.
|
|
639
639
|
**/
|
|
640
|
-
ExpiresInPast: GenericPalletError
|
|
640
|
+
ExpiresInPast: GenericPalletError;
|
|
641
641
|
|
|
642
642
|
/**
|
|
643
643
|
* The alias to remove authorization for was not found.
|
|
644
644
|
**/
|
|
645
|
-
AliasNotFound: GenericPalletError
|
|
645
|
+
AliasNotFound: GenericPalletError;
|
|
646
646
|
|
|
647
647
|
/**
|
|
648
648
|
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
649
649
|
* instruction that caused the error.
|
|
650
650
|
**/
|
|
651
|
-
LocalExecutionIncompleteWithError: GenericPalletError
|
|
651
|
+
LocalExecutionIncompleteWithError: GenericPalletError;
|
|
652
652
|
|
|
653
653
|
/**
|
|
654
654
|
* Generic pallet error
|
|
655
655
|
**/
|
|
656
|
-
[error: string]: GenericPalletError
|
|
656
|
+
[error: string]: GenericPalletError;
|
|
657
657
|
};
|
|
658
658
|
/**
|
|
659
659
|
* Pallet `MessageQueue`'s errors
|
|
@@ -663,32 +663,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
663
663
|
* Page is not reapable because it has items remaining to be processed and is not old
|
|
664
664
|
* enough.
|
|
665
665
|
**/
|
|
666
|
-
NotReapable: GenericPalletError
|
|
666
|
+
NotReapable: GenericPalletError;
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
669
|
* Page to be reaped does not exist.
|
|
670
670
|
**/
|
|
671
|
-
NoPage: GenericPalletError
|
|
671
|
+
NoPage: GenericPalletError;
|
|
672
672
|
|
|
673
673
|
/**
|
|
674
674
|
* The referenced message could not be found.
|
|
675
675
|
**/
|
|
676
|
-
NoMessage: GenericPalletError
|
|
676
|
+
NoMessage: GenericPalletError;
|
|
677
677
|
|
|
678
678
|
/**
|
|
679
679
|
* The message was already processed and cannot be processed again.
|
|
680
680
|
**/
|
|
681
|
-
AlreadyProcessed: GenericPalletError
|
|
681
|
+
AlreadyProcessed: GenericPalletError;
|
|
682
682
|
|
|
683
683
|
/**
|
|
684
684
|
* The message is queued for future execution.
|
|
685
685
|
**/
|
|
686
|
-
Queued: GenericPalletError
|
|
686
|
+
Queued: GenericPalletError;
|
|
687
687
|
|
|
688
688
|
/**
|
|
689
689
|
* There is temporarily not enough weight to continue servicing messages.
|
|
690
690
|
**/
|
|
691
|
-
InsufficientWeight: GenericPalletError
|
|
691
|
+
InsufficientWeight: GenericPalletError;
|
|
692
692
|
|
|
693
693
|
/**
|
|
694
694
|
* This message is temporarily unprocessable.
|
|
@@ -696,24 +696,24 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
696
696
|
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
697
697
|
* retrying.
|
|
698
698
|
**/
|
|
699
|
-
TemporarilyUnprocessable: GenericPalletError
|
|
699
|
+
TemporarilyUnprocessable: GenericPalletError;
|
|
700
700
|
|
|
701
701
|
/**
|
|
702
702
|
* The queue is paused and no message can be executed from it.
|
|
703
703
|
*
|
|
704
704
|
* This can change at any time and may resolve in the future by re-trying.
|
|
705
705
|
**/
|
|
706
|
-
QueuePaused: GenericPalletError
|
|
706
|
+
QueuePaused: GenericPalletError;
|
|
707
707
|
|
|
708
708
|
/**
|
|
709
709
|
* Another call is in progress and needs to finish before this call can happen.
|
|
710
710
|
**/
|
|
711
|
-
RecursiveDisallowed: GenericPalletError
|
|
711
|
+
RecursiveDisallowed: GenericPalletError;
|
|
712
712
|
|
|
713
713
|
/**
|
|
714
714
|
* Generic pallet error
|
|
715
715
|
**/
|
|
716
|
-
[error: string]: GenericPalletError
|
|
716
|
+
[error: string]: GenericPalletError;
|
|
717
717
|
};
|
|
718
718
|
/**
|
|
719
719
|
* Pallet `SnowbridgeSystemFrontend`'s errors
|
|
@@ -722,73 +722,73 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
722
722
|
/**
|
|
723
723
|
* Convert versioned location failure
|
|
724
724
|
**/
|
|
725
|
-
UnsupportedLocationVersion: GenericPalletError
|
|
725
|
+
UnsupportedLocationVersion: GenericPalletError;
|
|
726
726
|
|
|
727
727
|
/**
|
|
728
728
|
* Check location failure, should start from the dispatch origin as owner
|
|
729
729
|
**/
|
|
730
|
-
InvalidAssetOwner: GenericPalletError
|
|
730
|
+
InvalidAssetOwner: GenericPalletError;
|
|
731
731
|
|
|
732
732
|
/**
|
|
733
733
|
* Send xcm message failure
|
|
734
734
|
**/
|
|
735
|
-
SendFailure: GenericPalletError
|
|
735
|
+
SendFailure: GenericPalletError;
|
|
736
736
|
|
|
737
737
|
/**
|
|
738
738
|
* Withdraw fee asset failure
|
|
739
739
|
**/
|
|
740
|
-
FeesNotMet: GenericPalletError
|
|
740
|
+
FeesNotMet: GenericPalletError;
|
|
741
741
|
|
|
742
742
|
/**
|
|
743
743
|
* Convert to reanchored location failure
|
|
744
744
|
**/
|
|
745
|
-
LocationConversionFailed: GenericPalletError
|
|
745
|
+
LocationConversionFailed: GenericPalletError;
|
|
746
746
|
|
|
747
747
|
/**
|
|
748
748
|
* Message export is halted
|
|
749
749
|
**/
|
|
750
|
-
Halted: GenericPalletError
|
|
750
|
+
Halted: GenericPalletError;
|
|
751
751
|
|
|
752
752
|
/**
|
|
753
753
|
* The desired destination was unreachable, generally because there is a no way of routing
|
|
754
754
|
* to it.
|
|
755
755
|
**/
|
|
756
|
-
Unreachable: GenericPalletError
|
|
756
|
+
Unreachable: GenericPalletError;
|
|
757
757
|
|
|
758
758
|
/**
|
|
759
759
|
* The asset provided for the tip is unsupported.
|
|
760
760
|
**/
|
|
761
|
-
UnsupportedAsset: GenericPalletError
|
|
761
|
+
UnsupportedAsset: GenericPalletError;
|
|
762
762
|
|
|
763
763
|
/**
|
|
764
764
|
* Unable to withdraw asset.
|
|
765
765
|
**/
|
|
766
|
-
WithdrawError: GenericPalletError
|
|
766
|
+
WithdrawError: GenericPalletError;
|
|
767
767
|
|
|
768
768
|
/**
|
|
769
769
|
* Account could not be converted to a location.
|
|
770
770
|
**/
|
|
771
|
-
InvalidAccount: GenericPalletError
|
|
771
|
+
InvalidAccount: GenericPalletError;
|
|
772
772
|
|
|
773
773
|
/**
|
|
774
774
|
* Provided tip asset could not be swapped for ether.
|
|
775
775
|
**/
|
|
776
|
-
SwapError: GenericPalletError
|
|
776
|
+
SwapError: GenericPalletError;
|
|
777
777
|
|
|
778
778
|
/**
|
|
779
779
|
* Ether could not be burned.
|
|
780
780
|
**/
|
|
781
|
-
BurnError: GenericPalletError
|
|
781
|
+
BurnError: GenericPalletError;
|
|
782
782
|
|
|
783
783
|
/**
|
|
784
784
|
* The tip provided is zero.
|
|
785
785
|
**/
|
|
786
|
-
TipAmountZero: GenericPalletError
|
|
786
|
+
TipAmountZero: GenericPalletError;
|
|
787
787
|
|
|
788
788
|
/**
|
|
789
789
|
* Generic pallet error
|
|
790
790
|
**/
|
|
791
|
-
[error: string]: GenericPalletError
|
|
791
|
+
[error: string]: GenericPalletError;
|
|
792
792
|
};
|
|
793
793
|
/**
|
|
794
794
|
* Pallet `Utility`'s errors
|
|
@@ -797,12 +797,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
797
797
|
/**
|
|
798
798
|
* Too many calls batched.
|
|
799
799
|
**/
|
|
800
|
-
TooManyCalls: GenericPalletError
|
|
800
|
+
TooManyCalls: GenericPalletError;
|
|
801
801
|
|
|
802
802
|
/**
|
|
803
803
|
* Generic pallet error
|
|
804
804
|
**/
|
|
805
|
-
[error: string]: GenericPalletError
|
|
805
|
+
[error: string]: GenericPalletError;
|
|
806
806
|
};
|
|
807
807
|
/**
|
|
808
808
|
* Pallet `Multisig`'s errors
|
|
@@ -811,78 +811,78 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
811
811
|
/**
|
|
812
812
|
* Threshold must be 2 or greater.
|
|
813
813
|
**/
|
|
814
|
-
MinimumThreshold: GenericPalletError
|
|
814
|
+
MinimumThreshold: GenericPalletError;
|
|
815
815
|
|
|
816
816
|
/**
|
|
817
817
|
* Call is already approved by this signatory.
|
|
818
818
|
**/
|
|
819
|
-
AlreadyApproved: GenericPalletError
|
|
819
|
+
AlreadyApproved: GenericPalletError;
|
|
820
820
|
|
|
821
821
|
/**
|
|
822
822
|
* Call doesn't need any (more) approvals.
|
|
823
823
|
**/
|
|
824
|
-
NoApprovalsNeeded: GenericPalletError
|
|
824
|
+
NoApprovalsNeeded: GenericPalletError;
|
|
825
825
|
|
|
826
826
|
/**
|
|
827
827
|
* There are too few signatories in the list.
|
|
828
828
|
**/
|
|
829
|
-
TooFewSignatories: GenericPalletError
|
|
829
|
+
TooFewSignatories: GenericPalletError;
|
|
830
830
|
|
|
831
831
|
/**
|
|
832
832
|
* There are too many signatories in the list.
|
|
833
833
|
**/
|
|
834
|
-
TooManySignatories: GenericPalletError
|
|
834
|
+
TooManySignatories: GenericPalletError;
|
|
835
835
|
|
|
836
836
|
/**
|
|
837
837
|
* The signatories were provided out of order; they should be ordered.
|
|
838
838
|
**/
|
|
839
|
-
SignatoriesOutOfOrder: GenericPalletError
|
|
839
|
+
SignatoriesOutOfOrder: GenericPalletError;
|
|
840
840
|
|
|
841
841
|
/**
|
|
842
842
|
* The sender was contained in the other signatories; it shouldn't be.
|
|
843
843
|
**/
|
|
844
|
-
SenderInSignatories: GenericPalletError
|
|
844
|
+
SenderInSignatories: GenericPalletError;
|
|
845
845
|
|
|
846
846
|
/**
|
|
847
847
|
* Multisig operation not found in storage.
|
|
848
848
|
**/
|
|
849
|
-
NotFound: GenericPalletError
|
|
849
|
+
NotFound: GenericPalletError;
|
|
850
850
|
|
|
851
851
|
/**
|
|
852
852
|
* Only the account that originally created the multisig is able to cancel it or update
|
|
853
853
|
* its deposits.
|
|
854
854
|
**/
|
|
855
|
-
NotOwner: GenericPalletError
|
|
855
|
+
NotOwner: GenericPalletError;
|
|
856
856
|
|
|
857
857
|
/**
|
|
858
858
|
* No timepoint was given, yet the multisig operation is already underway.
|
|
859
859
|
**/
|
|
860
|
-
NoTimepoint: GenericPalletError
|
|
860
|
+
NoTimepoint: GenericPalletError;
|
|
861
861
|
|
|
862
862
|
/**
|
|
863
863
|
* A different timepoint was given to the multisig operation that is underway.
|
|
864
864
|
**/
|
|
865
|
-
WrongTimepoint: GenericPalletError
|
|
865
|
+
WrongTimepoint: GenericPalletError;
|
|
866
866
|
|
|
867
867
|
/**
|
|
868
868
|
* A timepoint was given, yet no multisig operation is underway.
|
|
869
869
|
**/
|
|
870
|
-
UnexpectedTimepoint: GenericPalletError
|
|
870
|
+
UnexpectedTimepoint: GenericPalletError;
|
|
871
871
|
|
|
872
872
|
/**
|
|
873
873
|
* The maximum weight information provided was too low.
|
|
874
874
|
**/
|
|
875
|
-
MaxWeightTooLow: GenericPalletError
|
|
875
|
+
MaxWeightTooLow: GenericPalletError;
|
|
876
876
|
|
|
877
877
|
/**
|
|
878
878
|
* The data to be stored is already stored.
|
|
879
879
|
**/
|
|
880
|
-
AlreadyStored: GenericPalletError
|
|
880
|
+
AlreadyStored: GenericPalletError;
|
|
881
881
|
|
|
882
882
|
/**
|
|
883
883
|
* Generic pallet error
|
|
884
884
|
**/
|
|
885
|
-
[error: string]: GenericPalletError
|
|
885
|
+
[error: string]: GenericPalletError;
|
|
886
886
|
};
|
|
887
887
|
/**
|
|
888
888
|
* Pallet `Proxy`'s errors
|
|
@@ -891,47 +891,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
891
891
|
/**
|
|
892
892
|
* There are too many proxies registered or too many announcements pending.
|
|
893
893
|
**/
|
|
894
|
-
TooMany: GenericPalletError
|
|
894
|
+
TooMany: GenericPalletError;
|
|
895
895
|
|
|
896
896
|
/**
|
|
897
897
|
* Proxy registration not found.
|
|
898
898
|
**/
|
|
899
|
-
NotFound: GenericPalletError
|
|
899
|
+
NotFound: GenericPalletError;
|
|
900
900
|
|
|
901
901
|
/**
|
|
902
902
|
* Sender is not a proxy of the account to be proxied.
|
|
903
903
|
**/
|
|
904
|
-
NotProxy: GenericPalletError
|
|
904
|
+
NotProxy: GenericPalletError;
|
|
905
905
|
|
|
906
906
|
/**
|
|
907
907
|
* A call which is incompatible with the proxy type's filter was attempted.
|
|
908
908
|
**/
|
|
909
|
-
Unproxyable: GenericPalletError
|
|
909
|
+
Unproxyable: GenericPalletError;
|
|
910
910
|
|
|
911
911
|
/**
|
|
912
912
|
* Account is already a proxy.
|
|
913
913
|
**/
|
|
914
|
-
Duplicate: GenericPalletError
|
|
914
|
+
Duplicate: GenericPalletError;
|
|
915
915
|
|
|
916
916
|
/**
|
|
917
917
|
* Call may not be made by proxy because it may escalate its privileges.
|
|
918
918
|
**/
|
|
919
|
-
NoPermission: GenericPalletError
|
|
919
|
+
NoPermission: GenericPalletError;
|
|
920
920
|
|
|
921
921
|
/**
|
|
922
922
|
* Announcement, if made at all, was made too recently.
|
|
923
923
|
**/
|
|
924
|
-
Unannounced: GenericPalletError
|
|
924
|
+
Unannounced: GenericPalletError;
|
|
925
925
|
|
|
926
926
|
/**
|
|
927
927
|
* Cannot add self as proxy.
|
|
928
928
|
**/
|
|
929
|
-
NoSelfProxy: GenericPalletError
|
|
929
|
+
NoSelfProxy: GenericPalletError;
|
|
930
930
|
|
|
931
931
|
/**
|
|
932
932
|
* Generic pallet error
|
|
933
933
|
**/
|
|
934
|
-
[error: string]: GenericPalletError
|
|
934
|
+
[error: string]: GenericPalletError;
|
|
935
935
|
};
|
|
936
936
|
/**
|
|
937
937
|
* Pallet `Indices`'s errors
|
|
@@ -940,32 +940,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
940
940
|
/**
|
|
941
941
|
* The index was not already assigned.
|
|
942
942
|
**/
|
|
943
|
-
NotAssigned: GenericPalletError
|
|
943
|
+
NotAssigned: GenericPalletError;
|
|
944
944
|
|
|
945
945
|
/**
|
|
946
946
|
* The index is assigned to another account.
|
|
947
947
|
**/
|
|
948
|
-
NotOwner: GenericPalletError
|
|
948
|
+
NotOwner: GenericPalletError;
|
|
949
949
|
|
|
950
950
|
/**
|
|
951
951
|
* The index was not available.
|
|
952
952
|
**/
|
|
953
|
-
InUse: GenericPalletError
|
|
953
|
+
InUse: GenericPalletError;
|
|
954
954
|
|
|
955
955
|
/**
|
|
956
956
|
* The source and destination accounts are identical.
|
|
957
957
|
**/
|
|
958
|
-
NotTransfer: GenericPalletError
|
|
958
|
+
NotTransfer: GenericPalletError;
|
|
959
959
|
|
|
960
960
|
/**
|
|
961
961
|
* The index is permanent and may not be freed/changed.
|
|
962
962
|
**/
|
|
963
|
-
Permanent: GenericPalletError
|
|
963
|
+
Permanent: GenericPalletError;
|
|
964
964
|
|
|
965
965
|
/**
|
|
966
966
|
* Generic pallet error
|
|
967
967
|
**/
|
|
968
|
-
[error: string]: GenericPalletError
|
|
968
|
+
[error: string]: GenericPalletError;
|
|
969
969
|
};
|
|
970
970
|
/**
|
|
971
971
|
* Pallet `Assets`'s errors
|
|
@@ -974,125 +974,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
974
974
|
/**
|
|
975
975
|
* Account balance must be greater than or equal to the transfer amount.
|
|
976
976
|
**/
|
|
977
|
-
BalanceLow: GenericPalletError
|
|
977
|
+
BalanceLow: GenericPalletError;
|
|
978
978
|
|
|
979
979
|
/**
|
|
980
980
|
* The account to alter does not exist.
|
|
981
981
|
**/
|
|
982
|
-
NoAccount: GenericPalletError
|
|
982
|
+
NoAccount: GenericPalletError;
|
|
983
983
|
|
|
984
984
|
/**
|
|
985
985
|
* The signing account has no permission to do the operation.
|
|
986
986
|
**/
|
|
987
|
-
NoPermission: GenericPalletError
|
|
987
|
+
NoPermission: GenericPalletError;
|
|
988
988
|
|
|
989
989
|
/**
|
|
990
990
|
* The given asset ID is unknown.
|
|
991
991
|
**/
|
|
992
|
-
Unknown: GenericPalletError
|
|
992
|
+
Unknown: GenericPalletError;
|
|
993
993
|
|
|
994
994
|
/**
|
|
995
995
|
* The origin account is frozen.
|
|
996
996
|
**/
|
|
997
|
-
Frozen: GenericPalletError
|
|
997
|
+
Frozen: GenericPalletError;
|
|
998
998
|
|
|
999
999
|
/**
|
|
1000
1000
|
* The asset ID is already taken.
|
|
1001
1001
|
**/
|
|
1002
|
-
InUse: GenericPalletError
|
|
1002
|
+
InUse: GenericPalletError;
|
|
1003
1003
|
|
|
1004
1004
|
/**
|
|
1005
1005
|
* Invalid witness data given.
|
|
1006
1006
|
**/
|
|
1007
|
-
BadWitness: GenericPalletError
|
|
1007
|
+
BadWitness: GenericPalletError;
|
|
1008
1008
|
|
|
1009
1009
|
/**
|
|
1010
1010
|
* Minimum balance should be non-zero.
|
|
1011
1011
|
**/
|
|
1012
|
-
MinBalanceZero: GenericPalletError
|
|
1012
|
+
MinBalanceZero: GenericPalletError;
|
|
1013
1013
|
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
1016
1016
|
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1017
1017
|
* fewer then the maximum number of consumers has been reached.
|
|
1018
1018
|
**/
|
|
1019
|
-
UnavailableConsumer: GenericPalletError
|
|
1019
|
+
UnavailableConsumer: GenericPalletError;
|
|
1020
1020
|
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Invalid metadata given.
|
|
1023
1023
|
**/
|
|
1024
|
-
BadMetadata: GenericPalletError
|
|
1024
|
+
BadMetadata: GenericPalletError;
|
|
1025
1025
|
|
|
1026
1026
|
/**
|
|
1027
1027
|
* No approval exists that would allow the transfer.
|
|
1028
1028
|
**/
|
|
1029
|
-
Unapproved: GenericPalletError
|
|
1029
|
+
Unapproved: GenericPalletError;
|
|
1030
1030
|
|
|
1031
1031
|
/**
|
|
1032
1032
|
* The source account would not survive the transfer and it needs to stay alive.
|
|
1033
1033
|
**/
|
|
1034
|
-
WouldDie: GenericPalletError
|
|
1034
|
+
WouldDie: GenericPalletError;
|
|
1035
1035
|
|
|
1036
1036
|
/**
|
|
1037
1037
|
* The asset-account already exists.
|
|
1038
1038
|
**/
|
|
1039
|
-
AlreadyExists: GenericPalletError
|
|
1039
|
+
AlreadyExists: GenericPalletError;
|
|
1040
1040
|
|
|
1041
1041
|
/**
|
|
1042
1042
|
* The asset-account doesn't have an associated deposit.
|
|
1043
1043
|
**/
|
|
1044
|
-
NoDeposit: GenericPalletError
|
|
1044
|
+
NoDeposit: GenericPalletError;
|
|
1045
1045
|
|
|
1046
1046
|
/**
|
|
1047
1047
|
* The operation would result in funds being burned.
|
|
1048
1048
|
**/
|
|
1049
|
-
WouldBurn: GenericPalletError
|
|
1049
|
+
WouldBurn: GenericPalletError;
|
|
1050
1050
|
|
|
1051
1051
|
/**
|
|
1052
1052
|
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
1053
1053
|
* as `start_destroy` which require the asset to be in a destroying state.
|
|
1054
1054
|
**/
|
|
1055
|
-
LiveAsset: GenericPalletError
|
|
1055
|
+
LiveAsset: GenericPalletError;
|
|
1056
1056
|
|
|
1057
1057
|
/**
|
|
1058
1058
|
* The asset is not live, and likely being destroyed.
|
|
1059
1059
|
**/
|
|
1060
|
-
AssetNotLive: GenericPalletError
|
|
1060
|
+
AssetNotLive: GenericPalletError;
|
|
1061
1061
|
|
|
1062
1062
|
/**
|
|
1063
1063
|
* The asset status is not the expected status.
|
|
1064
1064
|
**/
|
|
1065
|
-
IncorrectStatus: GenericPalletError
|
|
1065
|
+
IncorrectStatus: GenericPalletError;
|
|
1066
1066
|
|
|
1067
1067
|
/**
|
|
1068
1068
|
* The asset should be frozen before the given operation.
|
|
1069
1069
|
**/
|
|
1070
|
-
NotFrozen: GenericPalletError
|
|
1070
|
+
NotFrozen: GenericPalletError;
|
|
1071
1071
|
|
|
1072
1072
|
/**
|
|
1073
1073
|
* Callback action resulted in error
|
|
1074
1074
|
**/
|
|
1075
|
-
CallbackFailed: GenericPalletError
|
|
1075
|
+
CallbackFailed: GenericPalletError;
|
|
1076
1076
|
|
|
1077
1077
|
/**
|
|
1078
1078
|
* The asset ID must be equal to the [`NextAssetId`].
|
|
1079
1079
|
**/
|
|
1080
|
-
BadAssetId: GenericPalletError
|
|
1080
|
+
BadAssetId: GenericPalletError;
|
|
1081
1081
|
|
|
1082
1082
|
/**
|
|
1083
1083
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1084
1084
|
**/
|
|
1085
|
-
ContainsFreezes: GenericPalletError
|
|
1085
|
+
ContainsFreezes: GenericPalletError;
|
|
1086
1086
|
|
|
1087
1087
|
/**
|
|
1088
1088
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1089
1089
|
**/
|
|
1090
|
-
ContainsHolds: GenericPalletError
|
|
1090
|
+
ContainsHolds: GenericPalletError;
|
|
1091
1091
|
|
|
1092
1092
|
/**
|
|
1093
1093
|
* Generic pallet error
|
|
1094
1094
|
**/
|
|
1095
|
-
[error: string]: GenericPalletError
|
|
1095
|
+
[error: string]: GenericPalletError;
|
|
1096
1096
|
};
|
|
1097
1097
|
/**
|
|
1098
1098
|
* Pallet `Uniques`'s errors
|
|
@@ -1101,117 +1101,117 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1101
1101
|
/**
|
|
1102
1102
|
* The signing account has no permission to do the operation.
|
|
1103
1103
|
**/
|
|
1104
|
-
NoPermission: GenericPalletError
|
|
1104
|
+
NoPermission: GenericPalletError;
|
|
1105
1105
|
|
|
1106
1106
|
/**
|
|
1107
1107
|
* The given item ID is unknown.
|
|
1108
1108
|
**/
|
|
1109
|
-
UnknownCollection: GenericPalletError
|
|
1109
|
+
UnknownCollection: GenericPalletError;
|
|
1110
1110
|
|
|
1111
1111
|
/**
|
|
1112
1112
|
* The item ID has already been used for an item.
|
|
1113
1113
|
**/
|
|
1114
|
-
AlreadyExists: GenericPalletError
|
|
1114
|
+
AlreadyExists: GenericPalletError;
|
|
1115
1115
|
|
|
1116
1116
|
/**
|
|
1117
1117
|
* The owner turned out to be different to what was expected.
|
|
1118
1118
|
**/
|
|
1119
|
-
WrongOwner: GenericPalletError
|
|
1119
|
+
WrongOwner: GenericPalletError;
|
|
1120
1120
|
|
|
1121
1121
|
/**
|
|
1122
1122
|
* Invalid witness data given.
|
|
1123
1123
|
**/
|
|
1124
|
-
BadWitness: GenericPalletError
|
|
1124
|
+
BadWitness: GenericPalletError;
|
|
1125
1125
|
|
|
1126
1126
|
/**
|
|
1127
1127
|
* The item ID is already taken.
|
|
1128
1128
|
**/
|
|
1129
|
-
InUse: GenericPalletError
|
|
1129
|
+
InUse: GenericPalletError;
|
|
1130
1130
|
|
|
1131
1131
|
/**
|
|
1132
1132
|
* The item or collection is frozen.
|
|
1133
1133
|
**/
|
|
1134
|
-
Frozen: GenericPalletError
|
|
1134
|
+
Frozen: GenericPalletError;
|
|
1135
1135
|
|
|
1136
1136
|
/**
|
|
1137
1137
|
* The delegate turned out to be different to what was expected.
|
|
1138
1138
|
**/
|
|
1139
|
-
WrongDelegate: GenericPalletError
|
|
1139
|
+
WrongDelegate: GenericPalletError;
|
|
1140
1140
|
|
|
1141
1141
|
/**
|
|
1142
1142
|
* There is no delegate approved.
|
|
1143
1143
|
**/
|
|
1144
|
-
NoDelegate: GenericPalletError
|
|
1144
|
+
NoDelegate: GenericPalletError;
|
|
1145
1145
|
|
|
1146
1146
|
/**
|
|
1147
1147
|
* No approval exists that would allow the transfer.
|
|
1148
1148
|
**/
|
|
1149
|
-
Unapproved: GenericPalletError
|
|
1149
|
+
Unapproved: GenericPalletError;
|
|
1150
1150
|
|
|
1151
1151
|
/**
|
|
1152
1152
|
* The named owner has not signed ownership of the collection is acceptable.
|
|
1153
1153
|
**/
|
|
1154
|
-
Unaccepted: GenericPalletError
|
|
1154
|
+
Unaccepted: GenericPalletError;
|
|
1155
1155
|
|
|
1156
1156
|
/**
|
|
1157
1157
|
* The item is locked.
|
|
1158
1158
|
**/
|
|
1159
|
-
Locked: GenericPalletError
|
|
1159
|
+
Locked: GenericPalletError;
|
|
1160
1160
|
|
|
1161
1161
|
/**
|
|
1162
1162
|
* All items have been minted.
|
|
1163
1163
|
**/
|
|
1164
|
-
MaxSupplyReached: GenericPalletError
|
|
1164
|
+
MaxSupplyReached: GenericPalletError;
|
|
1165
1165
|
|
|
1166
1166
|
/**
|
|
1167
1167
|
* The max supply has already been set.
|
|
1168
1168
|
**/
|
|
1169
|
-
MaxSupplyAlreadySet: GenericPalletError
|
|
1169
|
+
MaxSupplyAlreadySet: GenericPalletError;
|
|
1170
1170
|
|
|
1171
1171
|
/**
|
|
1172
1172
|
* The provided max supply is less to the amount of items a collection already has.
|
|
1173
1173
|
**/
|
|
1174
|
-
MaxSupplyTooSmall: GenericPalletError
|
|
1174
|
+
MaxSupplyTooSmall: GenericPalletError;
|
|
1175
1175
|
|
|
1176
1176
|
/**
|
|
1177
1177
|
* The given item ID is unknown.
|
|
1178
1178
|
**/
|
|
1179
|
-
UnknownItem: GenericPalletError
|
|
1179
|
+
UnknownItem: GenericPalletError;
|
|
1180
1180
|
|
|
1181
1181
|
/**
|
|
1182
1182
|
* Item is not for sale.
|
|
1183
1183
|
**/
|
|
1184
|
-
NotForSale: GenericPalletError
|
|
1184
|
+
NotForSale: GenericPalletError;
|
|
1185
1185
|
|
|
1186
1186
|
/**
|
|
1187
1187
|
* The provided bid is too low.
|
|
1188
1188
|
**/
|
|
1189
|
-
BidTooLow: GenericPalletError
|
|
1189
|
+
BidTooLow: GenericPalletError;
|
|
1190
1190
|
|
|
1191
1191
|
/**
|
|
1192
1192
|
* No metadata is found.
|
|
1193
1193
|
**/
|
|
1194
|
-
NoMetadata: GenericPalletError
|
|
1194
|
+
NoMetadata: GenericPalletError;
|
|
1195
1195
|
|
|
1196
1196
|
/**
|
|
1197
1197
|
* Wrong metadata key/value bytes supplied.
|
|
1198
1198
|
**/
|
|
1199
|
-
WrongMetadata: GenericPalletError
|
|
1199
|
+
WrongMetadata: GenericPalletError;
|
|
1200
1200
|
|
|
1201
1201
|
/**
|
|
1202
1202
|
* An attribute is not found.
|
|
1203
1203
|
**/
|
|
1204
|
-
AttributeNotFound: GenericPalletError
|
|
1204
|
+
AttributeNotFound: GenericPalletError;
|
|
1205
1205
|
|
|
1206
1206
|
/**
|
|
1207
1207
|
* Wrong attribute key/value bytes supplied.
|
|
1208
1208
|
**/
|
|
1209
|
-
WrongAttribute: GenericPalletError
|
|
1209
|
+
WrongAttribute: GenericPalletError;
|
|
1210
1210
|
|
|
1211
1211
|
/**
|
|
1212
1212
|
* Generic pallet error
|
|
1213
1213
|
**/
|
|
1214
|
-
[error: string]: GenericPalletError
|
|
1214
|
+
[error: string]: GenericPalletError;
|
|
1215
1215
|
};
|
|
1216
1216
|
/**
|
|
1217
1217
|
* Pallet `Nfts`'s errors
|
|
@@ -1220,232 +1220,232 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1220
1220
|
/**
|
|
1221
1221
|
* The signing account has no permission to do the operation.
|
|
1222
1222
|
**/
|
|
1223
|
-
NoPermission: GenericPalletError
|
|
1223
|
+
NoPermission: GenericPalletError;
|
|
1224
1224
|
|
|
1225
1225
|
/**
|
|
1226
1226
|
* The given item ID is unknown.
|
|
1227
1227
|
**/
|
|
1228
|
-
UnknownCollection: GenericPalletError
|
|
1228
|
+
UnknownCollection: GenericPalletError;
|
|
1229
1229
|
|
|
1230
1230
|
/**
|
|
1231
1231
|
* The item ID has already been used for an item.
|
|
1232
1232
|
**/
|
|
1233
|
-
AlreadyExists: GenericPalletError
|
|
1233
|
+
AlreadyExists: GenericPalletError;
|
|
1234
1234
|
|
|
1235
1235
|
/**
|
|
1236
1236
|
* The approval had a deadline that expired, so the approval isn't valid anymore.
|
|
1237
1237
|
**/
|
|
1238
|
-
ApprovalExpired: GenericPalletError
|
|
1238
|
+
ApprovalExpired: GenericPalletError;
|
|
1239
1239
|
|
|
1240
1240
|
/**
|
|
1241
1241
|
* The owner turned out to be different to what was expected.
|
|
1242
1242
|
**/
|
|
1243
|
-
WrongOwner: GenericPalletError
|
|
1243
|
+
WrongOwner: GenericPalletError;
|
|
1244
1244
|
|
|
1245
1245
|
/**
|
|
1246
1246
|
* The witness data given does not match the current state of the chain.
|
|
1247
1247
|
**/
|
|
1248
|
-
BadWitness: GenericPalletError
|
|
1248
|
+
BadWitness: GenericPalletError;
|
|
1249
1249
|
|
|
1250
1250
|
/**
|
|
1251
1251
|
* Collection ID is already taken.
|
|
1252
1252
|
**/
|
|
1253
|
-
CollectionIdInUse: GenericPalletError
|
|
1253
|
+
CollectionIdInUse: GenericPalletError;
|
|
1254
1254
|
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Items within that collection are non-transferable.
|
|
1257
1257
|
**/
|
|
1258
|
-
ItemsNonTransferable: GenericPalletError
|
|
1258
|
+
ItemsNonTransferable: GenericPalletError;
|
|
1259
1259
|
|
|
1260
1260
|
/**
|
|
1261
1261
|
* The provided account is not a delegate.
|
|
1262
1262
|
**/
|
|
1263
|
-
NotDelegate: GenericPalletError
|
|
1263
|
+
NotDelegate: GenericPalletError;
|
|
1264
1264
|
|
|
1265
1265
|
/**
|
|
1266
1266
|
* The delegate turned out to be different to what was expected.
|
|
1267
1267
|
**/
|
|
1268
|
-
WrongDelegate: GenericPalletError
|
|
1268
|
+
WrongDelegate: GenericPalletError;
|
|
1269
1269
|
|
|
1270
1270
|
/**
|
|
1271
1271
|
* No approval exists that would allow the transfer.
|
|
1272
1272
|
**/
|
|
1273
|
-
Unapproved: GenericPalletError
|
|
1273
|
+
Unapproved: GenericPalletError;
|
|
1274
1274
|
|
|
1275
1275
|
/**
|
|
1276
1276
|
* The named owner has not signed ownership acceptance of the collection.
|
|
1277
1277
|
**/
|
|
1278
|
-
Unaccepted: GenericPalletError
|
|
1278
|
+
Unaccepted: GenericPalletError;
|
|
1279
1279
|
|
|
1280
1280
|
/**
|
|
1281
1281
|
* The item is locked (non-transferable).
|
|
1282
1282
|
**/
|
|
1283
|
-
ItemLocked: GenericPalletError
|
|
1283
|
+
ItemLocked: GenericPalletError;
|
|
1284
1284
|
|
|
1285
1285
|
/**
|
|
1286
1286
|
* Item's attributes are locked.
|
|
1287
1287
|
**/
|
|
1288
|
-
LockedItemAttributes: GenericPalletError
|
|
1288
|
+
LockedItemAttributes: GenericPalletError;
|
|
1289
1289
|
|
|
1290
1290
|
/**
|
|
1291
1291
|
* Collection's attributes are locked.
|
|
1292
1292
|
**/
|
|
1293
|
-
LockedCollectionAttributes: GenericPalletError
|
|
1293
|
+
LockedCollectionAttributes: GenericPalletError;
|
|
1294
1294
|
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Item's metadata is locked.
|
|
1297
1297
|
**/
|
|
1298
|
-
LockedItemMetadata: GenericPalletError
|
|
1298
|
+
LockedItemMetadata: GenericPalletError;
|
|
1299
1299
|
|
|
1300
1300
|
/**
|
|
1301
1301
|
* Collection's metadata is locked.
|
|
1302
1302
|
**/
|
|
1303
|
-
LockedCollectionMetadata: GenericPalletError
|
|
1303
|
+
LockedCollectionMetadata: GenericPalletError;
|
|
1304
1304
|
|
|
1305
1305
|
/**
|
|
1306
1306
|
* All items have been minted.
|
|
1307
1307
|
**/
|
|
1308
|
-
MaxSupplyReached: GenericPalletError
|
|
1308
|
+
MaxSupplyReached: GenericPalletError;
|
|
1309
1309
|
|
|
1310
1310
|
/**
|
|
1311
1311
|
* The max supply is locked and can't be changed.
|
|
1312
1312
|
**/
|
|
1313
|
-
MaxSupplyLocked: GenericPalletError
|
|
1313
|
+
MaxSupplyLocked: GenericPalletError;
|
|
1314
1314
|
|
|
1315
1315
|
/**
|
|
1316
1316
|
* The provided max supply is less than the number of items a collection already has.
|
|
1317
1317
|
**/
|
|
1318
|
-
MaxSupplyTooSmall: GenericPalletError
|
|
1318
|
+
MaxSupplyTooSmall: GenericPalletError;
|
|
1319
1319
|
|
|
1320
1320
|
/**
|
|
1321
1321
|
* The given item ID is unknown.
|
|
1322
1322
|
**/
|
|
1323
|
-
UnknownItem: GenericPalletError
|
|
1323
|
+
UnknownItem: GenericPalletError;
|
|
1324
1324
|
|
|
1325
1325
|
/**
|
|
1326
1326
|
* Swap doesn't exist.
|
|
1327
1327
|
**/
|
|
1328
|
-
UnknownSwap: GenericPalletError
|
|
1328
|
+
UnknownSwap: GenericPalletError;
|
|
1329
1329
|
|
|
1330
1330
|
/**
|
|
1331
1331
|
* The given item has no metadata set.
|
|
1332
1332
|
**/
|
|
1333
|
-
MetadataNotFound: GenericPalletError
|
|
1333
|
+
MetadataNotFound: GenericPalletError;
|
|
1334
1334
|
|
|
1335
1335
|
/**
|
|
1336
1336
|
* The provided attribute can't be found.
|
|
1337
1337
|
**/
|
|
1338
|
-
AttributeNotFound: GenericPalletError
|
|
1338
|
+
AttributeNotFound: GenericPalletError;
|
|
1339
1339
|
|
|
1340
1340
|
/**
|
|
1341
1341
|
* Item is not for sale.
|
|
1342
1342
|
**/
|
|
1343
|
-
NotForSale: GenericPalletError
|
|
1343
|
+
NotForSale: GenericPalletError;
|
|
1344
1344
|
|
|
1345
1345
|
/**
|
|
1346
1346
|
* The provided bid is too low.
|
|
1347
1347
|
**/
|
|
1348
|
-
BidTooLow: GenericPalletError
|
|
1348
|
+
BidTooLow: GenericPalletError;
|
|
1349
1349
|
|
|
1350
1350
|
/**
|
|
1351
1351
|
* The item has reached its approval limit.
|
|
1352
1352
|
**/
|
|
1353
|
-
ReachedApprovalLimit: GenericPalletError
|
|
1353
|
+
ReachedApprovalLimit: GenericPalletError;
|
|
1354
1354
|
|
|
1355
1355
|
/**
|
|
1356
1356
|
* The deadline has already expired.
|
|
1357
1357
|
**/
|
|
1358
|
-
DeadlineExpired: GenericPalletError
|
|
1358
|
+
DeadlineExpired: GenericPalletError;
|
|
1359
1359
|
|
|
1360
1360
|
/**
|
|
1361
1361
|
* The duration provided should be less than or equal to `MaxDeadlineDuration`.
|
|
1362
1362
|
**/
|
|
1363
|
-
WrongDuration: GenericPalletError
|
|
1363
|
+
WrongDuration: GenericPalletError;
|
|
1364
1364
|
|
|
1365
1365
|
/**
|
|
1366
1366
|
* The method is disabled by system settings.
|
|
1367
1367
|
**/
|
|
1368
|
-
MethodDisabled: GenericPalletError
|
|
1368
|
+
MethodDisabled: GenericPalletError;
|
|
1369
1369
|
|
|
1370
1370
|
/**
|
|
1371
1371
|
* The provided setting can't be set.
|
|
1372
1372
|
**/
|
|
1373
|
-
WrongSetting: GenericPalletError
|
|
1373
|
+
WrongSetting: GenericPalletError;
|
|
1374
1374
|
|
|
1375
1375
|
/**
|
|
1376
1376
|
* Item's config already exists and should be equal to the provided one.
|
|
1377
1377
|
**/
|
|
1378
|
-
InconsistentItemConfig: GenericPalletError
|
|
1378
|
+
InconsistentItemConfig: GenericPalletError;
|
|
1379
1379
|
|
|
1380
1380
|
/**
|
|
1381
1381
|
* Config for a collection or an item can't be found.
|
|
1382
1382
|
**/
|
|
1383
|
-
NoConfig: GenericPalletError
|
|
1383
|
+
NoConfig: GenericPalletError;
|
|
1384
1384
|
|
|
1385
1385
|
/**
|
|
1386
1386
|
* Some roles were not cleared.
|
|
1387
1387
|
**/
|
|
1388
|
-
RolesNotCleared: GenericPalletError
|
|
1388
|
+
RolesNotCleared: GenericPalletError;
|
|
1389
1389
|
|
|
1390
1390
|
/**
|
|
1391
1391
|
* Mint has not started yet.
|
|
1392
1392
|
**/
|
|
1393
|
-
MintNotStarted: GenericPalletError
|
|
1393
|
+
MintNotStarted: GenericPalletError;
|
|
1394
1394
|
|
|
1395
1395
|
/**
|
|
1396
1396
|
* Mint has already ended.
|
|
1397
1397
|
**/
|
|
1398
|
-
MintEnded: GenericPalletError
|
|
1398
|
+
MintEnded: GenericPalletError;
|
|
1399
1399
|
|
|
1400
1400
|
/**
|
|
1401
1401
|
* The provided Item was already used for claiming.
|
|
1402
1402
|
**/
|
|
1403
|
-
AlreadyClaimed: GenericPalletError
|
|
1403
|
+
AlreadyClaimed: GenericPalletError;
|
|
1404
1404
|
|
|
1405
1405
|
/**
|
|
1406
1406
|
* The provided data is incorrect.
|
|
1407
1407
|
**/
|
|
1408
|
-
IncorrectData: GenericPalletError
|
|
1408
|
+
IncorrectData: GenericPalletError;
|
|
1409
1409
|
|
|
1410
1410
|
/**
|
|
1411
1411
|
* The extrinsic was sent by the wrong origin.
|
|
1412
1412
|
**/
|
|
1413
|
-
WrongOrigin: GenericPalletError
|
|
1413
|
+
WrongOrigin: GenericPalletError;
|
|
1414
1414
|
|
|
1415
1415
|
/**
|
|
1416
1416
|
* The provided signature is incorrect.
|
|
1417
1417
|
**/
|
|
1418
|
-
WrongSignature: GenericPalletError
|
|
1418
|
+
WrongSignature: GenericPalletError;
|
|
1419
1419
|
|
|
1420
1420
|
/**
|
|
1421
1421
|
* The provided metadata might be too long.
|
|
1422
1422
|
**/
|
|
1423
|
-
IncorrectMetadata: GenericPalletError
|
|
1423
|
+
IncorrectMetadata: GenericPalletError;
|
|
1424
1424
|
|
|
1425
1425
|
/**
|
|
1426
1426
|
* Can't set more attributes per one call.
|
|
1427
1427
|
**/
|
|
1428
|
-
MaxAttributesLimitReached: GenericPalletError
|
|
1428
|
+
MaxAttributesLimitReached: GenericPalletError;
|
|
1429
1429
|
|
|
1430
1430
|
/**
|
|
1431
1431
|
* The provided namespace isn't supported in this call.
|
|
1432
1432
|
**/
|
|
1433
|
-
WrongNamespace: GenericPalletError
|
|
1433
|
+
WrongNamespace: GenericPalletError;
|
|
1434
1434
|
|
|
1435
1435
|
/**
|
|
1436
1436
|
* Can't delete non-empty collections.
|
|
1437
1437
|
**/
|
|
1438
|
-
CollectionNotEmpty: GenericPalletError
|
|
1438
|
+
CollectionNotEmpty: GenericPalletError;
|
|
1439
1439
|
|
|
1440
1440
|
/**
|
|
1441
1441
|
* The witness data should be provided.
|
|
1442
1442
|
**/
|
|
1443
|
-
WitnessRequired: GenericPalletError
|
|
1443
|
+
WitnessRequired: GenericPalletError;
|
|
1444
1444
|
|
|
1445
1445
|
/**
|
|
1446
1446
|
* Generic pallet error
|
|
1447
1447
|
**/
|
|
1448
|
-
[error: string]: GenericPalletError
|
|
1448
|
+
[error: string]: GenericPalletError;
|
|
1449
1449
|
};
|
|
1450
1450
|
/**
|
|
1451
1451
|
* Pallet `ForeignAssets`'s errors
|
|
@@ -1454,125 +1454,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1454
1454
|
/**
|
|
1455
1455
|
* Account balance must be greater than or equal to the transfer amount.
|
|
1456
1456
|
**/
|
|
1457
|
-
BalanceLow: GenericPalletError
|
|
1457
|
+
BalanceLow: GenericPalletError;
|
|
1458
1458
|
|
|
1459
1459
|
/**
|
|
1460
1460
|
* The account to alter does not exist.
|
|
1461
1461
|
**/
|
|
1462
|
-
NoAccount: GenericPalletError
|
|
1462
|
+
NoAccount: GenericPalletError;
|
|
1463
1463
|
|
|
1464
1464
|
/**
|
|
1465
1465
|
* The signing account has no permission to do the operation.
|
|
1466
1466
|
**/
|
|
1467
|
-
NoPermission: GenericPalletError
|
|
1467
|
+
NoPermission: GenericPalletError;
|
|
1468
1468
|
|
|
1469
1469
|
/**
|
|
1470
1470
|
* The given asset ID is unknown.
|
|
1471
1471
|
**/
|
|
1472
|
-
Unknown: GenericPalletError
|
|
1472
|
+
Unknown: GenericPalletError;
|
|
1473
1473
|
|
|
1474
1474
|
/**
|
|
1475
1475
|
* The origin account is frozen.
|
|
1476
1476
|
**/
|
|
1477
|
-
Frozen: GenericPalletError
|
|
1477
|
+
Frozen: GenericPalletError;
|
|
1478
1478
|
|
|
1479
1479
|
/**
|
|
1480
1480
|
* The asset ID is already taken.
|
|
1481
1481
|
**/
|
|
1482
|
-
InUse: GenericPalletError
|
|
1482
|
+
InUse: GenericPalletError;
|
|
1483
1483
|
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Invalid witness data given.
|
|
1486
1486
|
**/
|
|
1487
|
-
BadWitness: GenericPalletError
|
|
1487
|
+
BadWitness: GenericPalletError;
|
|
1488
1488
|
|
|
1489
1489
|
/**
|
|
1490
1490
|
* Minimum balance should be non-zero.
|
|
1491
1491
|
**/
|
|
1492
|
-
MinBalanceZero: GenericPalletError
|
|
1492
|
+
MinBalanceZero: GenericPalletError;
|
|
1493
1493
|
|
|
1494
1494
|
/**
|
|
1495
1495
|
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
1496
1496
|
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1497
1497
|
* fewer then the maximum number of consumers has been reached.
|
|
1498
1498
|
**/
|
|
1499
|
-
UnavailableConsumer: GenericPalletError
|
|
1499
|
+
UnavailableConsumer: GenericPalletError;
|
|
1500
1500
|
|
|
1501
1501
|
/**
|
|
1502
1502
|
* Invalid metadata given.
|
|
1503
1503
|
**/
|
|
1504
|
-
BadMetadata: GenericPalletError
|
|
1504
|
+
BadMetadata: GenericPalletError;
|
|
1505
1505
|
|
|
1506
1506
|
/**
|
|
1507
1507
|
* No approval exists that would allow the transfer.
|
|
1508
1508
|
**/
|
|
1509
|
-
Unapproved: GenericPalletError
|
|
1509
|
+
Unapproved: GenericPalletError;
|
|
1510
1510
|
|
|
1511
1511
|
/**
|
|
1512
1512
|
* The source account would not survive the transfer and it needs to stay alive.
|
|
1513
1513
|
**/
|
|
1514
|
-
WouldDie: GenericPalletError
|
|
1514
|
+
WouldDie: GenericPalletError;
|
|
1515
1515
|
|
|
1516
1516
|
/**
|
|
1517
1517
|
* The asset-account already exists.
|
|
1518
1518
|
**/
|
|
1519
|
-
AlreadyExists: GenericPalletError
|
|
1519
|
+
AlreadyExists: GenericPalletError;
|
|
1520
1520
|
|
|
1521
1521
|
/**
|
|
1522
1522
|
* The asset-account doesn't have an associated deposit.
|
|
1523
1523
|
**/
|
|
1524
|
-
NoDeposit: GenericPalletError
|
|
1524
|
+
NoDeposit: GenericPalletError;
|
|
1525
1525
|
|
|
1526
1526
|
/**
|
|
1527
1527
|
* The operation would result in funds being burned.
|
|
1528
1528
|
**/
|
|
1529
|
-
WouldBurn: GenericPalletError
|
|
1529
|
+
WouldBurn: GenericPalletError;
|
|
1530
1530
|
|
|
1531
1531
|
/**
|
|
1532
1532
|
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
1533
1533
|
* as `start_destroy` which require the asset to be in a destroying state.
|
|
1534
1534
|
**/
|
|
1535
|
-
LiveAsset: GenericPalletError
|
|
1535
|
+
LiveAsset: GenericPalletError;
|
|
1536
1536
|
|
|
1537
1537
|
/**
|
|
1538
1538
|
* The asset is not live, and likely being destroyed.
|
|
1539
1539
|
**/
|
|
1540
|
-
AssetNotLive: GenericPalletError
|
|
1540
|
+
AssetNotLive: GenericPalletError;
|
|
1541
1541
|
|
|
1542
1542
|
/**
|
|
1543
1543
|
* The asset status is not the expected status.
|
|
1544
1544
|
**/
|
|
1545
|
-
IncorrectStatus: GenericPalletError
|
|
1545
|
+
IncorrectStatus: GenericPalletError;
|
|
1546
1546
|
|
|
1547
1547
|
/**
|
|
1548
1548
|
* The asset should be frozen before the given operation.
|
|
1549
1549
|
**/
|
|
1550
|
-
NotFrozen: GenericPalletError
|
|
1550
|
+
NotFrozen: GenericPalletError;
|
|
1551
1551
|
|
|
1552
1552
|
/**
|
|
1553
1553
|
* Callback action resulted in error
|
|
1554
1554
|
**/
|
|
1555
|
-
CallbackFailed: GenericPalletError
|
|
1555
|
+
CallbackFailed: GenericPalletError;
|
|
1556
1556
|
|
|
1557
1557
|
/**
|
|
1558
1558
|
* The asset ID must be equal to the [`NextAssetId`].
|
|
1559
1559
|
**/
|
|
1560
|
-
BadAssetId: GenericPalletError
|
|
1560
|
+
BadAssetId: GenericPalletError;
|
|
1561
1561
|
|
|
1562
1562
|
/**
|
|
1563
1563
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1564
1564
|
**/
|
|
1565
|
-
ContainsFreezes: GenericPalletError
|
|
1565
|
+
ContainsFreezes: GenericPalletError;
|
|
1566
1566
|
|
|
1567
1567
|
/**
|
|
1568
1568
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1569
1569
|
**/
|
|
1570
|
-
ContainsHolds: GenericPalletError
|
|
1570
|
+
ContainsHolds: GenericPalletError;
|
|
1571
1571
|
|
|
1572
1572
|
/**
|
|
1573
1573
|
* Generic pallet error
|
|
1574
1574
|
**/
|
|
1575
|
-
[error: string]: GenericPalletError
|
|
1575
|
+
[error: string]: GenericPalletError;
|
|
1576
1576
|
};
|
|
1577
1577
|
/**
|
|
1578
1578
|
* Pallet `PoolAssets`'s errors
|
|
@@ -1581,125 +1581,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1581
1581
|
/**
|
|
1582
1582
|
* Account balance must be greater than or equal to the transfer amount.
|
|
1583
1583
|
**/
|
|
1584
|
-
BalanceLow: GenericPalletError
|
|
1584
|
+
BalanceLow: GenericPalletError;
|
|
1585
1585
|
|
|
1586
1586
|
/**
|
|
1587
1587
|
* The account to alter does not exist.
|
|
1588
1588
|
**/
|
|
1589
|
-
NoAccount: GenericPalletError
|
|
1589
|
+
NoAccount: GenericPalletError;
|
|
1590
1590
|
|
|
1591
1591
|
/**
|
|
1592
1592
|
* The signing account has no permission to do the operation.
|
|
1593
1593
|
**/
|
|
1594
|
-
NoPermission: GenericPalletError
|
|
1594
|
+
NoPermission: GenericPalletError;
|
|
1595
1595
|
|
|
1596
1596
|
/**
|
|
1597
1597
|
* The given asset ID is unknown.
|
|
1598
1598
|
**/
|
|
1599
|
-
Unknown: GenericPalletError
|
|
1599
|
+
Unknown: GenericPalletError;
|
|
1600
1600
|
|
|
1601
1601
|
/**
|
|
1602
1602
|
* The origin account is frozen.
|
|
1603
1603
|
**/
|
|
1604
|
-
Frozen: GenericPalletError
|
|
1604
|
+
Frozen: GenericPalletError;
|
|
1605
1605
|
|
|
1606
1606
|
/**
|
|
1607
1607
|
* The asset ID is already taken.
|
|
1608
1608
|
**/
|
|
1609
|
-
InUse: GenericPalletError
|
|
1609
|
+
InUse: GenericPalletError;
|
|
1610
1610
|
|
|
1611
1611
|
/**
|
|
1612
1612
|
* Invalid witness data given.
|
|
1613
1613
|
**/
|
|
1614
|
-
BadWitness: GenericPalletError
|
|
1614
|
+
BadWitness: GenericPalletError;
|
|
1615
1615
|
|
|
1616
1616
|
/**
|
|
1617
1617
|
* Minimum balance should be non-zero.
|
|
1618
1618
|
**/
|
|
1619
|
-
MinBalanceZero: GenericPalletError
|
|
1619
|
+
MinBalanceZero: GenericPalletError;
|
|
1620
1620
|
|
|
1621
1621
|
/**
|
|
1622
1622
|
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
1623
1623
|
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1624
1624
|
* fewer then the maximum number of consumers has been reached.
|
|
1625
1625
|
**/
|
|
1626
|
-
UnavailableConsumer: GenericPalletError
|
|
1626
|
+
UnavailableConsumer: GenericPalletError;
|
|
1627
1627
|
|
|
1628
1628
|
/**
|
|
1629
1629
|
* Invalid metadata given.
|
|
1630
1630
|
**/
|
|
1631
|
-
BadMetadata: GenericPalletError
|
|
1631
|
+
BadMetadata: GenericPalletError;
|
|
1632
1632
|
|
|
1633
1633
|
/**
|
|
1634
1634
|
* No approval exists that would allow the transfer.
|
|
1635
1635
|
**/
|
|
1636
|
-
Unapproved: GenericPalletError
|
|
1636
|
+
Unapproved: GenericPalletError;
|
|
1637
1637
|
|
|
1638
1638
|
/**
|
|
1639
1639
|
* The source account would not survive the transfer and it needs to stay alive.
|
|
1640
1640
|
**/
|
|
1641
|
-
WouldDie: GenericPalletError
|
|
1641
|
+
WouldDie: GenericPalletError;
|
|
1642
1642
|
|
|
1643
1643
|
/**
|
|
1644
1644
|
* The asset-account already exists.
|
|
1645
1645
|
**/
|
|
1646
|
-
AlreadyExists: GenericPalletError
|
|
1646
|
+
AlreadyExists: GenericPalletError;
|
|
1647
1647
|
|
|
1648
1648
|
/**
|
|
1649
1649
|
* The asset-account doesn't have an associated deposit.
|
|
1650
1650
|
**/
|
|
1651
|
-
NoDeposit: GenericPalletError
|
|
1651
|
+
NoDeposit: GenericPalletError;
|
|
1652
1652
|
|
|
1653
1653
|
/**
|
|
1654
1654
|
* The operation would result in funds being burned.
|
|
1655
1655
|
**/
|
|
1656
|
-
WouldBurn: GenericPalletError
|
|
1656
|
+
WouldBurn: GenericPalletError;
|
|
1657
1657
|
|
|
1658
1658
|
/**
|
|
1659
1659
|
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
1660
1660
|
* as `start_destroy` which require the asset to be in a destroying state.
|
|
1661
1661
|
**/
|
|
1662
|
-
LiveAsset: GenericPalletError
|
|
1662
|
+
LiveAsset: GenericPalletError;
|
|
1663
1663
|
|
|
1664
1664
|
/**
|
|
1665
1665
|
* The asset is not live, and likely being destroyed.
|
|
1666
1666
|
**/
|
|
1667
|
-
AssetNotLive: GenericPalletError
|
|
1667
|
+
AssetNotLive: GenericPalletError;
|
|
1668
1668
|
|
|
1669
1669
|
/**
|
|
1670
1670
|
* The asset status is not the expected status.
|
|
1671
1671
|
**/
|
|
1672
|
-
IncorrectStatus: GenericPalletError
|
|
1672
|
+
IncorrectStatus: GenericPalletError;
|
|
1673
1673
|
|
|
1674
1674
|
/**
|
|
1675
1675
|
* The asset should be frozen before the given operation.
|
|
1676
1676
|
**/
|
|
1677
|
-
NotFrozen: GenericPalletError
|
|
1677
|
+
NotFrozen: GenericPalletError;
|
|
1678
1678
|
|
|
1679
1679
|
/**
|
|
1680
1680
|
* Callback action resulted in error
|
|
1681
1681
|
**/
|
|
1682
|
-
CallbackFailed: GenericPalletError
|
|
1682
|
+
CallbackFailed: GenericPalletError;
|
|
1683
1683
|
|
|
1684
1684
|
/**
|
|
1685
1685
|
* The asset ID must be equal to the [`NextAssetId`].
|
|
1686
1686
|
**/
|
|
1687
|
-
BadAssetId: GenericPalletError
|
|
1687
|
+
BadAssetId: GenericPalletError;
|
|
1688
1688
|
|
|
1689
1689
|
/**
|
|
1690
1690
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1691
1691
|
**/
|
|
1692
|
-
ContainsFreezes: GenericPalletError
|
|
1692
|
+
ContainsFreezes: GenericPalletError;
|
|
1693
1693
|
|
|
1694
1694
|
/**
|
|
1695
1695
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1696
1696
|
**/
|
|
1697
|
-
ContainsHolds: GenericPalletError
|
|
1697
|
+
ContainsHolds: GenericPalletError;
|
|
1698
1698
|
|
|
1699
1699
|
/**
|
|
1700
1700
|
* Generic pallet error
|
|
1701
1701
|
**/
|
|
1702
|
-
[error: string]: GenericPalletError
|
|
1702
|
+
[error: string]: GenericPalletError;
|
|
1703
1703
|
};
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Pallet `AssetConversion`'s errors
|
|
@@ -1708,125 +1708,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1708
1708
|
/**
|
|
1709
1709
|
* Provided asset pair is not supported for pool.
|
|
1710
1710
|
**/
|
|
1711
|
-
InvalidAssetPair: GenericPalletError
|
|
1711
|
+
InvalidAssetPair: GenericPalletError;
|
|
1712
1712
|
|
|
1713
1713
|
/**
|
|
1714
1714
|
* Pool already exists.
|
|
1715
1715
|
**/
|
|
1716
|
-
PoolExists: GenericPalletError
|
|
1716
|
+
PoolExists: GenericPalletError;
|
|
1717
1717
|
|
|
1718
1718
|
/**
|
|
1719
1719
|
* Desired amount can't be zero.
|
|
1720
1720
|
**/
|
|
1721
|
-
WrongDesiredAmount: GenericPalletError
|
|
1721
|
+
WrongDesiredAmount: GenericPalletError;
|
|
1722
1722
|
|
|
1723
1723
|
/**
|
|
1724
1724
|
* Provided amount should be greater than or equal to the existential deposit/asset's
|
|
1725
1725
|
* minimal amount.
|
|
1726
1726
|
**/
|
|
1727
|
-
AmountOneLessThanMinimal: GenericPalletError
|
|
1727
|
+
AmountOneLessThanMinimal: GenericPalletError;
|
|
1728
1728
|
|
|
1729
1729
|
/**
|
|
1730
1730
|
* Provided amount should be greater than or equal to the existential deposit/asset's
|
|
1731
1731
|
* minimal amount.
|
|
1732
1732
|
**/
|
|
1733
|
-
AmountTwoLessThanMinimal: GenericPalletError
|
|
1733
|
+
AmountTwoLessThanMinimal: GenericPalletError;
|
|
1734
1734
|
|
|
1735
1735
|
/**
|
|
1736
1736
|
* Reserve needs to always be greater than or equal to the existential deposit/asset's
|
|
1737
1737
|
* minimal amount.
|
|
1738
1738
|
**/
|
|
1739
|
-
ReserveLeftLessThanMinimal: GenericPalletError
|
|
1739
|
+
ReserveLeftLessThanMinimal: GenericPalletError;
|
|
1740
1740
|
|
|
1741
1741
|
/**
|
|
1742
1742
|
* Desired amount can't be equal to the pool reserve.
|
|
1743
1743
|
**/
|
|
1744
|
-
AmountOutTooHigh: GenericPalletError
|
|
1744
|
+
AmountOutTooHigh: GenericPalletError;
|
|
1745
1745
|
|
|
1746
1746
|
/**
|
|
1747
1747
|
* The pool doesn't exist.
|
|
1748
1748
|
**/
|
|
1749
|
-
PoolNotFound: GenericPalletError
|
|
1749
|
+
PoolNotFound: GenericPalletError;
|
|
1750
1750
|
|
|
1751
1751
|
/**
|
|
1752
1752
|
* An overflow happened.
|
|
1753
1753
|
**/
|
|
1754
|
-
Overflow: GenericPalletError
|
|
1754
|
+
Overflow: GenericPalletError;
|
|
1755
1755
|
|
|
1756
1756
|
/**
|
|
1757
1757
|
* The minimal amount requirement for the first token in the pair wasn't met.
|
|
1758
1758
|
**/
|
|
1759
|
-
AssetOneDepositDidNotMeetMinimum: GenericPalletError
|
|
1759
|
+
AssetOneDepositDidNotMeetMinimum: GenericPalletError;
|
|
1760
1760
|
|
|
1761
1761
|
/**
|
|
1762
1762
|
* The minimal amount requirement for the second token in the pair wasn't met.
|
|
1763
1763
|
**/
|
|
1764
|
-
AssetTwoDepositDidNotMeetMinimum: GenericPalletError
|
|
1764
|
+
AssetTwoDepositDidNotMeetMinimum: GenericPalletError;
|
|
1765
1765
|
|
|
1766
1766
|
/**
|
|
1767
1767
|
* The minimal amount requirement for the first token in the pair wasn't met.
|
|
1768
1768
|
**/
|
|
1769
|
-
AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError
|
|
1769
|
+
AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError;
|
|
1770
1770
|
|
|
1771
1771
|
/**
|
|
1772
1772
|
* The minimal amount requirement for the second token in the pair wasn't met.
|
|
1773
1773
|
**/
|
|
1774
|
-
AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError
|
|
1774
|
+
AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError;
|
|
1775
1775
|
|
|
1776
1776
|
/**
|
|
1777
1777
|
* Optimal calculated amount is less than desired.
|
|
1778
1778
|
**/
|
|
1779
|
-
OptimalAmountLessThanDesired: GenericPalletError
|
|
1779
|
+
OptimalAmountLessThanDesired: GenericPalletError;
|
|
1780
1780
|
|
|
1781
1781
|
/**
|
|
1782
1782
|
* Insufficient liquidity minted.
|
|
1783
1783
|
**/
|
|
1784
|
-
InsufficientLiquidityMinted: GenericPalletError
|
|
1784
|
+
InsufficientLiquidityMinted: GenericPalletError;
|
|
1785
1785
|
|
|
1786
1786
|
/**
|
|
1787
1787
|
* Requested liquidity can't be zero.
|
|
1788
1788
|
**/
|
|
1789
|
-
ZeroLiquidity: GenericPalletError
|
|
1789
|
+
ZeroLiquidity: GenericPalletError;
|
|
1790
1790
|
|
|
1791
1791
|
/**
|
|
1792
1792
|
* Amount can't be zero.
|
|
1793
1793
|
**/
|
|
1794
|
-
ZeroAmount: GenericPalletError
|
|
1794
|
+
ZeroAmount: GenericPalletError;
|
|
1795
1795
|
|
|
1796
1796
|
/**
|
|
1797
1797
|
* Calculated amount out is less than provided minimum amount.
|
|
1798
1798
|
**/
|
|
1799
|
-
ProvidedMinimumNotSufficientForSwap: GenericPalletError
|
|
1799
|
+
ProvidedMinimumNotSufficientForSwap: GenericPalletError;
|
|
1800
1800
|
|
|
1801
1801
|
/**
|
|
1802
1802
|
* Provided maximum amount is not sufficient for swap.
|
|
1803
1803
|
**/
|
|
1804
|
-
ProvidedMaximumNotSufficientForSwap: GenericPalletError
|
|
1804
|
+
ProvidedMaximumNotSufficientForSwap: GenericPalletError;
|
|
1805
1805
|
|
|
1806
1806
|
/**
|
|
1807
1807
|
* The provided path must consists of 2 assets at least.
|
|
1808
1808
|
**/
|
|
1809
|
-
InvalidPath: GenericPalletError
|
|
1809
|
+
InvalidPath: GenericPalletError;
|
|
1810
1810
|
|
|
1811
1811
|
/**
|
|
1812
1812
|
* The provided path must consists of unique assets.
|
|
1813
1813
|
**/
|
|
1814
|
-
NonUniquePath: GenericPalletError
|
|
1814
|
+
NonUniquePath: GenericPalletError;
|
|
1815
1815
|
|
|
1816
1816
|
/**
|
|
1817
1817
|
* It was not possible to get or increment the Id of the pool.
|
|
1818
1818
|
**/
|
|
1819
|
-
IncorrectPoolAssetId: GenericPalletError
|
|
1819
|
+
IncorrectPoolAssetId: GenericPalletError;
|
|
1820
1820
|
|
|
1821
1821
|
/**
|
|
1822
1822
|
* The destination account cannot exist with the swapped funds.
|
|
1823
1823
|
**/
|
|
1824
|
-
BelowMinimum: GenericPalletError
|
|
1824
|
+
BelowMinimum: GenericPalletError;
|
|
1825
1825
|
|
|
1826
1826
|
/**
|
|
1827
1827
|
* Generic pallet error
|
|
1828
1828
|
**/
|
|
1829
|
-
[error: string]: GenericPalletError
|
|
1829
|
+
[error: string]: GenericPalletError;
|
|
1830
1830
|
};
|
|
1831
1831
|
/**
|
|
1832
1832
|
* Pallet `Treasury`'s errors
|
|
@@ -1835,63 +1835,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1835
1835
|
/**
|
|
1836
1836
|
* No proposal, bounty or spend at that index.
|
|
1837
1837
|
**/
|
|
1838
|
-
InvalidIndex: GenericPalletError
|
|
1838
|
+
InvalidIndex: GenericPalletError;
|
|
1839
1839
|
|
|
1840
1840
|
/**
|
|
1841
1841
|
* Too many approvals in the queue.
|
|
1842
1842
|
**/
|
|
1843
|
-
TooManyApprovals: GenericPalletError
|
|
1843
|
+
TooManyApprovals: GenericPalletError;
|
|
1844
1844
|
|
|
1845
1845
|
/**
|
|
1846
1846
|
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
1847
1847
|
* amount to be spent.
|
|
1848
1848
|
**/
|
|
1849
|
-
InsufficientPermission: GenericPalletError
|
|
1849
|
+
InsufficientPermission: GenericPalletError;
|
|
1850
1850
|
|
|
1851
1851
|
/**
|
|
1852
1852
|
* Proposal has not been approved.
|
|
1853
1853
|
**/
|
|
1854
|
-
ProposalNotApproved: GenericPalletError
|
|
1854
|
+
ProposalNotApproved: GenericPalletError;
|
|
1855
1855
|
|
|
1856
1856
|
/**
|
|
1857
1857
|
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
1858
1858
|
**/
|
|
1859
|
-
FailedToConvertBalance: GenericPalletError
|
|
1859
|
+
FailedToConvertBalance: GenericPalletError;
|
|
1860
1860
|
|
|
1861
1861
|
/**
|
|
1862
1862
|
* The spend has expired and cannot be claimed.
|
|
1863
1863
|
**/
|
|
1864
|
-
SpendExpired: GenericPalletError
|
|
1864
|
+
SpendExpired: GenericPalletError;
|
|
1865
1865
|
|
|
1866
1866
|
/**
|
|
1867
1867
|
* The spend is not yet eligible for payout.
|
|
1868
1868
|
**/
|
|
1869
|
-
EarlyPayout: GenericPalletError
|
|
1869
|
+
EarlyPayout: GenericPalletError;
|
|
1870
1870
|
|
|
1871
1871
|
/**
|
|
1872
1872
|
* The payment has already been attempted.
|
|
1873
1873
|
**/
|
|
1874
|
-
AlreadyAttempted: GenericPalletError
|
|
1874
|
+
AlreadyAttempted: GenericPalletError;
|
|
1875
1875
|
|
|
1876
1876
|
/**
|
|
1877
1877
|
* There was some issue with the mechanism of payment.
|
|
1878
1878
|
**/
|
|
1879
|
-
PayoutError: GenericPalletError
|
|
1879
|
+
PayoutError: GenericPalletError;
|
|
1880
1880
|
|
|
1881
1881
|
/**
|
|
1882
1882
|
* The payout was not yet attempted/claimed.
|
|
1883
1883
|
**/
|
|
1884
|
-
NotAttempted: GenericPalletError
|
|
1884
|
+
NotAttempted: GenericPalletError;
|
|
1885
1885
|
|
|
1886
1886
|
/**
|
|
1887
1887
|
* The payment has neither failed nor succeeded yet.
|
|
1888
1888
|
**/
|
|
1889
|
-
Inconclusive: GenericPalletError
|
|
1889
|
+
Inconclusive: GenericPalletError;
|
|
1890
1890
|
|
|
1891
1891
|
/**
|
|
1892
1892
|
* Generic pallet error
|
|
1893
1893
|
**/
|
|
1894
|
-
[error: string]: GenericPalletError
|
|
1894
|
+
[error: string]: GenericPalletError;
|
|
1895
1895
|
};
|
|
1896
1896
|
/**
|
|
1897
1897
|
* Pallet `ConvictionVoting`'s errors
|
|
@@ -1900,68 +1900,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1900
1900
|
/**
|
|
1901
1901
|
* Poll is not ongoing.
|
|
1902
1902
|
**/
|
|
1903
|
-
NotOngoing: GenericPalletError
|
|
1903
|
+
NotOngoing: GenericPalletError;
|
|
1904
1904
|
|
|
1905
1905
|
/**
|
|
1906
1906
|
* The given account did not vote on the poll.
|
|
1907
1907
|
**/
|
|
1908
|
-
NotVoter: GenericPalletError
|
|
1908
|
+
NotVoter: GenericPalletError;
|
|
1909
1909
|
|
|
1910
1910
|
/**
|
|
1911
1911
|
* The actor has no permission to conduct the action.
|
|
1912
1912
|
**/
|
|
1913
|
-
NoPermission: GenericPalletError
|
|
1913
|
+
NoPermission: GenericPalletError;
|
|
1914
1914
|
|
|
1915
1915
|
/**
|
|
1916
1916
|
* The actor has no permission to conduct the action right now but will do in the future.
|
|
1917
1917
|
**/
|
|
1918
|
-
NoPermissionYet: GenericPalletError
|
|
1918
|
+
NoPermissionYet: GenericPalletError;
|
|
1919
1919
|
|
|
1920
1920
|
/**
|
|
1921
1921
|
* The account is already delegating.
|
|
1922
1922
|
**/
|
|
1923
|
-
AlreadyDelegating: GenericPalletError
|
|
1923
|
+
AlreadyDelegating: GenericPalletError;
|
|
1924
1924
|
|
|
1925
1925
|
/**
|
|
1926
1926
|
* The account currently has votes attached to it and the operation cannot succeed until
|
|
1927
1927
|
* these are removed through `remove_vote`.
|
|
1928
1928
|
**/
|
|
1929
|
-
AlreadyVoting: GenericPalletError
|
|
1929
|
+
AlreadyVoting: GenericPalletError;
|
|
1930
1930
|
|
|
1931
1931
|
/**
|
|
1932
1932
|
* Too high a balance was provided that the account cannot afford.
|
|
1933
1933
|
**/
|
|
1934
|
-
InsufficientFunds: GenericPalletError
|
|
1934
|
+
InsufficientFunds: GenericPalletError;
|
|
1935
1935
|
|
|
1936
1936
|
/**
|
|
1937
1937
|
* The account is not currently delegating.
|
|
1938
1938
|
**/
|
|
1939
|
-
NotDelegating: GenericPalletError
|
|
1939
|
+
NotDelegating: GenericPalletError;
|
|
1940
1940
|
|
|
1941
1941
|
/**
|
|
1942
1942
|
* Delegation to oneself makes no sense.
|
|
1943
1943
|
**/
|
|
1944
|
-
Nonsense: GenericPalletError
|
|
1944
|
+
Nonsense: GenericPalletError;
|
|
1945
1945
|
|
|
1946
1946
|
/**
|
|
1947
1947
|
* Maximum number of votes reached.
|
|
1948
1948
|
**/
|
|
1949
|
-
MaxVotesReached: GenericPalletError
|
|
1949
|
+
MaxVotesReached: GenericPalletError;
|
|
1950
1950
|
|
|
1951
1951
|
/**
|
|
1952
1952
|
* The class must be supplied since it is not easily determinable from the state.
|
|
1953
1953
|
**/
|
|
1954
|
-
ClassNeeded: GenericPalletError
|
|
1954
|
+
ClassNeeded: GenericPalletError;
|
|
1955
1955
|
|
|
1956
1956
|
/**
|
|
1957
1957
|
* The class ID supplied is invalid.
|
|
1958
1958
|
**/
|
|
1959
|
-
BadClass: GenericPalletError
|
|
1959
|
+
BadClass: GenericPalletError;
|
|
1960
1960
|
|
|
1961
1961
|
/**
|
|
1962
1962
|
* Generic pallet error
|
|
1963
1963
|
**/
|
|
1964
|
-
[error: string]: GenericPalletError
|
|
1964
|
+
[error: string]: GenericPalletError;
|
|
1965
1965
|
};
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Pallet `Referenda`'s errors
|
|
@@ -1970,77 +1970,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1970
1970
|
/**
|
|
1971
1971
|
* Referendum is not ongoing.
|
|
1972
1972
|
**/
|
|
1973
|
-
NotOngoing: GenericPalletError
|
|
1973
|
+
NotOngoing: GenericPalletError;
|
|
1974
1974
|
|
|
1975
1975
|
/**
|
|
1976
1976
|
* Referendum's decision deposit is already paid.
|
|
1977
1977
|
**/
|
|
1978
|
-
HasDeposit: GenericPalletError
|
|
1978
|
+
HasDeposit: GenericPalletError;
|
|
1979
1979
|
|
|
1980
1980
|
/**
|
|
1981
1981
|
* The track identifier given was invalid.
|
|
1982
1982
|
**/
|
|
1983
|
-
BadTrack: GenericPalletError
|
|
1983
|
+
BadTrack: GenericPalletError;
|
|
1984
1984
|
|
|
1985
1985
|
/**
|
|
1986
1986
|
* There are already a full complement of referenda in progress for this track.
|
|
1987
1987
|
**/
|
|
1988
|
-
Full: GenericPalletError
|
|
1988
|
+
Full: GenericPalletError;
|
|
1989
1989
|
|
|
1990
1990
|
/**
|
|
1991
1991
|
* The queue of the track is empty.
|
|
1992
1992
|
**/
|
|
1993
|
-
QueueEmpty: GenericPalletError
|
|
1993
|
+
QueueEmpty: GenericPalletError;
|
|
1994
1994
|
|
|
1995
1995
|
/**
|
|
1996
1996
|
* The referendum index provided is invalid in this context.
|
|
1997
1997
|
**/
|
|
1998
|
-
BadReferendum: GenericPalletError
|
|
1998
|
+
BadReferendum: GenericPalletError;
|
|
1999
1999
|
|
|
2000
2000
|
/**
|
|
2001
2001
|
* There was nothing to do in the advancement.
|
|
2002
2002
|
**/
|
|
2003
|
-
NothingToDo: GenericPalletError
|
|
2003
|
+
NothingToDo: GenericPalletError;
|
|
2004
2004
|
|
|
2005
2005
|
/**
|
|
2006
2006
|
* No track exists for the proposal origin.
|
|
2007
2007
|
**/
|
|
2008
|
-
NoTrack: GenericPalletError
|
|
2008
|
+
NoTrack: GenericPalletError;
|
|
2009
2009
|
|
|
2010
2010
|
/**
|
|
2011
2011
|
* Any deposit cannot be refunded until after the decision is over.
|
|
2012
2012
|
**/
|
|
2013
|
-
Unfinished: GenericPalletError
|
|
2013
|
+
Unfinished: GenericPalletError;
|
|
2014
2014
|
|
|
2015
2015
|
/**
|
|
2016
2016
|
* The deposit refunder is not the depositor.
|
|
2017
2017
|
**/
|
|
2018
|
-
NoPermission: GenericPalletError
|
|
2018
|
+
NoPermission: GenericPalletError;
|
|
2019
2019
|
|
|
2020
2020
|
/**
|
|
2021
2021
|
* The deposit cannot be refunded since none was made.
|
|
2022
2022
|
**/
|
|
2023
|
-
NoDeposit: GenericPalletError
|
|
2023
|
+
NoDeposit: GenericPalletError;
|
|
2024
2024
|
|
|
2025
2025
|
/**
|
|
2026
2026
|
* The referendum status is invalid for this operation.
|
|
2027
2027
|
**/
|
|
2028
|
-
BadStatus: GenericPalletError
|
|
2028
|
+
BadStatus: GenericPalletError;
|
|
2029
2029
|
|
|
2030
2030
|
/**
|
|
2031
2031
|
* The preimage does not exist.
|
|
2032
2032
|
**/
|
|
2033
|
-
PreimageNotExist: GenericPalletError
|
|
2033
|
+
PreimageNotExist: GenericPalletError;
|
|
2034
2034
|
|
|
2035
2035
|
/**
|
|
2036
2036
|
* The preimage is stored with a different length than the one provided.
|
|
2037
2037
|
**/
|
|
2038
|
-
PreimageStoredWithDifferentLength: GenericPalletError
|
|
2038
|
+
PreimageStoredWithDifferentLength: GenericPalletError;
|
|
2039
2039
|
|
|
2040
2040
|
/**
|
|
2041
2041
|
* Generic pallet error
|
|
2042
2042
|
**/
|
|
2043
|
-
[error: string]: GenericPalletError
|
|
2043
|
+
[error: string]: GenericPalletError;
|
|
2044
2044
|
};
|
|
2045
2045
|
/**
|
|
2046
2046
|
* Pallet `Whitelist`'s errors
|
|
@@ -2049,32 +2049,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2049
2049
|
/**
|
|
2050
2050
|
* The preimage of the call hash could not be loaded.
|
|
2051
2051
|
**/
|
|
2052
|
-
UnavailablePreImage: GenericPalletError
|
|
2052
|
+
UnavailablePreImage: GenericPalletError;
|
|
2053
2053
|
|
|
2054
2054
|
/**
|
|
2055
2055
|
* The call could not be decoded.
|
|
2056
2056
|
**/
|
|
2057
|
-
UndecodableCall: GenericPalletError
|
|
2057
|
+
UndecodableCall: GenericPalletError;
|
|
2058
2058
|
|
|
2059
2059
|
/**
|
|
2060
2060
|
* The weight of the decoded call was higher than the witness.
|
|
2061
2061
|
**/
|
|
2062
|
-
InvalidCallWeightWitness: GenericPalletError
|
|
2062
|
+
InvalidCallWeightWitness: GenericPalletError;
|
|
2063
2063
|
|
|
2064
2064
|
/**
|
|
2065
2065
|
* The call was not whitelisted.
|
|
2066
2066
|
**/
|
|
2067
|
-
CallIsNotWhitelisted: GenericPalletError
|
|
2067
|
+
CallIsNotWhitelisted: GenericPalletError;
|
|
2068
2068
|
|
|
2069
2069
|
/**
|
|
2070
2070
|
* The call was already whitelisted; No-Op.
|
|
2071
2071
|
**/
|
|
2072
|
-
CallAlreadyWhitelisted: GenericPalletError
|
|
2072
|
+
CallAlreadyWhitelisted: GenericPalletError;
|
|
2073
2073
|
|
|
2074
2074
|
/**
|
|
2075
2075
|
* Generic pallet error
|
|
2076
2076
|
**/
|
|
2077
|
-
[error: string]: GenericPalletError
|
|
2077
|
+
[error: string]: GenericPalletError;
|
|
2078
2078
|
};
|
|
2079
2079
|
/**
|
|
2080
2080
|
* Pallet `Bounties`'s errors
|
|
@@ -2083,68 +2083,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2083
2083
|
/**
|
|
2084
2084
|
* Proposer's balance is too low.
|
|
2085
2085
|
**/
|
|
2086
|
-
InsufficientProposersBalance: GenericPalletError
|
|
2086
|
+
InsufficientProposersBalance: GenericPalletError;
|
|
2087
2087
|
|
|
2088
2088
|
/**
|
|
2089
2089
|
* No proposal or bounty at that index.
|
|
2090
2090
|
**/
|
|
2091
|
-
InvalidIndex: GenericPalletError
|
|
2091
|
+
InvalidIndex: GenericPalletError;
|
|
2092
2092
|
|
|
2093
2093
|
/**
|
|
2094
2094
|
* The reason given is just too big.
|
|
2095
2095
|
**/
|
|
2096
|
-
ReasonTooBig: GenericPalletError
|
|
2096
|
+
ReasonTooBig: GenericPalletError;
|
|
2097
2097
|
|
|
2098
2098
|
/**
|
|
2099
2099
|
* The bounty status is unexpected.
|
|
2100
2100
|
**/
|
|
2101
|
-
UnexpectedStatus: GenericPalletError
|
|
2101
|
+
UnexpectedStatus: GenericPalletError;
|
|
2102
2102
|
|
|
2103
2103
|
/**
|
|
2104
2104
|
* Require bounty curator.
|
|
2105
2105
|
**/
|
|
2106
|
-
RequireCurator: GenericPalletError
|
|
2106
|
+
RequireCurator: GenericPalletError;
|
|
2107
2107
|
|
|
2108
2108
|
/**
|
|
2109
2109
|
* Invalid bounty value.
|
|
2110
2110
|
**/
|
|
2111
|
-
InvalidValue: GenericPalletError
|
|
2111
|
+
InvalidValue: GenericPalletError;
|
|
2112
2112
|
|
|
2113
2113
|
/**
|
|
2114
2114
|
* Invalid bounty fee.
|
|
2115
2115
|
**/
|
|
2116
|
-
InvalidFee: GenericPalletError
|
|
2116
|
+
InvalidFee: GenericPalletError;
|
|
2117
2117
|
|
|
2118
2118
|
/**
|
|
2119
2119
|
* A bounty payout is pending.
|
|
2120
2120
|
* To cancel the bounty, you must unassign and slash the curator.
|
|
2121
2121
|
**/
|
|
2122
|
-
PendingPayout: GenericPalletError
|
|
2122
|
+
PendingPayout: GenericPalletError;
|
|
2123
2123
|
|
|
2124
2124
|
/**
|
|
2125
2125
|
* The bounties cannot be claimed/closed because it's still in the countdown period.
|
|
2126
2126
|
**/
|
|
2127
|
-
Premature: GenericPalletError
|
|
2127
|
+
Premature: GenericPalletError;
|
|
2128
2128
|
|
|
2129
2129
|
/**
|
|
2130
2130
|
* The bounty cannot be closed because it has active child bounties.
|
|
2131
2131
|
**/
|
|
2132
|
-
HasActiveChildBounty: GenericPalletError
|
|
2132
|
+
HasActiveChildBounty: GenericPalletError;
|
|
2133
2133
|
|
|
2134
2134
|
/**
|
|
2135
2135
|
* Too many approvals are already queued.
|
|
2136
2136
|
**/
|
|
2137
|
-
TooManyQueued: GenericPalletError
|
|
2137
|
+
TooManyQueued: GenericPalletError;
|
|
2138
2138
|
|
|
2139
2139
|
/**
|
|
2140
2140
|
* User is not the proposer of the bounty.
|
|
2141
2141
|
**/
|
|
2142
|
-
NotProposer: GenericPalletError
|
|
2142
|
+
NotProposer: GenericPalletError;
|
|
2143
2143
|
|
|
2144
2144
|
/**
|
|
2145
2145
|
* Generic pallet error
|
|
2146
2146
|
**/
|
|
2147
|
-
[error: string]: GenericPalletError
|
|
2147
|
+
[error: string]: GenericPalletError;
|
|
2148
2148
|
};
|
|
2149
2149
|
/**
|
|
2150
2150
|
* Pallet `ChildBounties`'s errors
|
|
@@ -2153,22 +2153,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2153
2153
|
/**
|
|
2154
2154
|
* The parent bounty is not in active state.
|
|
2155
2155
|
**/
|
|
2156
|
-
ParentBountyNotActive: GenericPalletError
|
|
2156
|
+
ParentBountyNotActive: GenericPalletError;
|
|
2157
2157
|
|
|
2158
2158
|
/**
|
|
2159
2159
|
* The bounty balance is not enough to add new child-bounty.
|
|
2160
2160
|
**/
|
|
2161
|
-
InsufficientBountyBalance: GenericPalletError
|
|
2161
|
+
InsufficientBountyBalance: GenericPalletError;
|
|
2162
2162
|
|
|
2163
2163
|
/**
|
|
2164
2164
|
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
2165
2165
|
**/
|
|
2166
|
-
TooManyChildBounties: GenericPalletError
|
|
2166
|
+
TooManyChildBounties: GenericPalletError;
|
|
2167
2167
|
|
|
2168
2168
|
/**
|
|
2169
2169
|
* Generic pallet error
|
|
2170
2170
|
**/
|
|
2171
|
-
[error: string]: GenericPalletError
|
|
2171
|
+
[error: string]: GenericPalletError;
|
|
2172
2172
|
};
|
|
2173
2173
|
/**
|
|
2174
2174
|
* Pallet `AssetRate`'s errors
|
|
@@ -2177,22 +2177,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2177
2177
|
/**
|
|
2178
2178
|
* The given asset ID is unknown.
|
|
2179
2179
|
**/
|
|
2180
|
-
UnknownAssetKind: GenericPalletError
|
|
2180
|
+
UnknownAssetKind: GenericPalletError;
|
|
2181
2181
|
|
|
2182
2182
|
/**
|
|
2183
2183
|
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
2184
2184
|
**/
|
|
2185
|
-
AlreadyExists: GenericPalletError
|
|
2185
|
+
AlreadyExists: GenericPalletError;
|
|
2186
2186
|
|
|
2187
2187
|
/**
|
|
2188
2188
|
* Overflow ocurred when calculating the inverse rate.
|
|
2189
2189
|
**/
|
|
2190
|
-
Overflow: GenericPalletError
|
|
2190
|
+
Overflow: GenericPalletError;
|
|
2191
2191
|
|
|
2192
2192
|
/**
|
|
2193
2193
|
* Generic pallet error
|
|
2194
2194
|
**/
|
|
2195
|
-
[error: string]: GenericPalletError
|
|
2195
|
+
[error: string]: GenericPalletError;
|
|
2196
2196
|
};
|
|
2197
2197
|
/**
|
|
2198
2198
|
* Pallet `StateTrieMigration`'s errors
|
|
@@ -2201,7 +2201,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2201
2201
|
/**
|
|
2202
2202
|
* Max signed limits not respected.
|
|
2203
2203
|
**/
|
|
2204
|
-
MaxSignedLimits: GenericPalletError
|
|
2204
|
+
MaxSignedLimits: GenericPalletError;
|
|
2205
2205
|
|
|
2206
2206
|
/**
|
|
2207
2207
|
* A key was longer than the configured maximum.
|
|
@@ -2212,32 +2212,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2212
2212
|
* The value should only be increased to avoid a storage migration for the currently
|
|
2213
2213
|
* stored [`crate::Progress::LastKey`].
|
|
2214
2214
|
**/
|
|
2215
|
-
KeyTooLong: GenericPalletError
|
|
2215
|
+
KeyTooLong: GenericPalletError;
|
|
2216
2216
|
|
|
2217
2217
|
/**
|
|
2218
2218
|
* submitter does not have enough funds.
|
|
2219
2219
|
**/
|
|
2220
|
-
NotEnoughFunds: GenericPalletError
|
|
2220
|
+
NotEnoughFunds: GenericPalletError;
|
|
2221
2221
|
|
|
2222
2222
|
/**
|
|
2223
2223
|
* Bad witness data provided.
|
|
2224
2224
|
**/
|
|
2225
|
-
BadWitness: GenericPalletError
|
|
2225
|
+
BadWitness: GenericPalletError;
|
|
2226
2226
|
|
|
2227
2227
|
/**
|
|
2228
2228
|
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
2229
2229
|
**/
|
|
2230
|
-
SignedMigrationNotAllowed: GenericPalletError
|
|
2230
|
+
SignedMigrationNotAllowed: GenericPalletError;
|
|
2231
2231
|
|
|
2232
2232
|
/**
|
|
2233
2233
|
* Bad child root provided.
|
|
2234
2234
|
**/
|
|
2235
|
-
BadChildRoot: GenericPalletError
|
|
2235
|
+
BadChildRoot: GenericPalletError;
|
|
2236
2236
|
|
|
2237
2237
|
/**
|
|
2238
2238
|
* Generic pallet error
|
|
2239
2239
|
**/
|
|
2240
|
-
[error: string]: GenericPalletError
|
|
2240
|
+
[error: string]: GenericPalletError;
|
|
2241
2241
|
};
|
|
2242
2242
|
/**
|
|
2243
2243
|
* Pallet `NominationPools`'s errors
|
|
@@ -2246,44 +2246,44 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2246
2246
|
/**
|
|
2247
2247
|
* A (bonded) pool id does not exist.
|
|
2248
2248
|
**/
|
|
2249
|
-
PoolNotFound: GenericPalletError
|
|
2249
|
+
PoolNotFound: GenericPalletError;
|
|
2250
2250
|
|
|
2251
2251
|
/**
|
|
2252
2252
|
* An account is not a member.
|
|
2253
2253
|
**/
|
|
2254
|
-
PoolMemberNotFound: GenericPalletError
|
|
2254
|
+
PoolMemberNotFound: GenericPalletError;
|
|
2255
2255
|
|
|
2256
2256
|
/**
|
|
2257
2257
|
* A reward pool does not exist. In all cases this is a system logic error.
|
|
2258
2258
|
**/
|
|
2259
|
-
RewardPoolNotFound: GenericPalletError
|
|
2259
|
+
RewardPoolNotFound: GenericPalletError;
|
|
2260
2260
|
|
|
2261
2261
|
/**
|
|
2262
2262
|
* A sub pool does not exist.
|
|
2263
2263
|
**/
|
|
2264
|
-
SubPoolsNotFound: GenericPalletError
|
|
2264
|
+
SubPoolsNotFound: GenericPalletError;
|
|
2265
2265
|
|
|
2266
2266
|
/**
|
|
2267
2267
|
* An account is already delegating in another pool. An account may only belong to one
|
|
2268
2268
|
* pool at a time.
|
|
2269
2269
|
**/
|
|
2270
|
-
AccountBelongsToOtherPool: GenericPalletError
|
|
2270
|
+
AccountBelongsToOtherPool: GenericPalletError;
|
|
2271
2271
|
|
|
2272
2272
|
/**
|
|
2273
2273
|
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
2274
2274
|
* anymore to, for example, collect rewards).
|
|
2275
2275
|
**/
|
|
2276
|
-
FullyUnbonding: GenericPalletError
|
|
2276
|
+
FullyUnbonding: GenericPalletError;
|
|
2277
2277
|
|
|
2278
2278
|
/**
|
|
2279
2279
|
* The member cannot unbond further chunks due to reaching the limit.
|
|
2280
2280
|
**/
|
|
2281
|
-
MaxUnbondingLimit: GenericPalletError
|
|
2281
|
+
MaxUnbondingLimit: GenericPalletError;
|
|
2282
2282
|
|
|
2283
2283
|
/**
|
|
2284
2284
|
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
2285
2285
|
**/
|
|
2286
|
-
CannotWithdrawAny: GenericPalletError
|
|
2286
|
+
CannotWithdrawAny: GenericPalletError;
|
|
2287
2287
|
|
|
2288
2288
|
/**
|
|
2289
2289
|
* The amount does not meet the minimum bond to either join or create a pool.
|
|
@@ -2292,160 +2292,160 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2292
2292
|
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
2293
2293
|
* value below `MinJoinBond`.
|
|
2294
2294
|
**/
|
|
2295
|
-
MinimumBondNotMet: GenericPalletError
|
|
2295
|
+
MinimumBondNotMet: GenericPalletError;
|
|
2296
2296
|
|
|
2297
2297
|
/**
|
|
2298
2298
|
* The transaction could not be executed due to overflow risk for the pool.
|
|
2299
2299
|
**/
|
|
2300
|
-
OverflowRisk: GenericPalletError
|
|
2300
|
+
OverflowRisk: GenericPalletError;
|
|
2301
2301
|
|
|
2302
2302
|
/**
|
|
2303
2303
|
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
2304
2304
|
* other members to be permissionlessly unbonded.
|
|
2305
2305
|
**/
|
|
2306
|
-
NotDestroying: GenericPalletError
|
|
2306
|
+
NotDestroying: GenericPalletError;
|
|
2307
2307
|
|
|
2308
2308
|
/**
|
|
2309
2309
|
* The caller does not have nominating permissions for the pool.
|
|
2310
2310
|
**/
|
|
2311
|
-
NotNominator: GenericPalletError
|
|
2311
|
+
NotNominator: GenericPalletError;
|
|
2312
2312
|
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
2315
2315
|
**/
|
|
2316
|
-
NotKickerOrDestroying: GenericPalletError
|
|
2316
|
+
NotKickerOrDestroying: GenericPalletError;
|
|
2317
2317
|
|
|
2318
2318
|
/**
|
|
2319
2319
|
* The pool is not open to join
|
|
2320
2320
|
**/
|
|
2321
|
-
NotOpen: GenericPalletError
|
|
2321
|
+
NotOpen: GenericPalletError;
|
|
2322
2322
|
|
|
2323
2323
|
/**
|
|
2324
2324
|
* The system is maxed out on pools.
|
|
2325
2325
|
**/
|
|
2326
|
-
MaxPools: GenericPalletError
|
|
2326
|
+
MaxPools: GenericPalletError;
|
|
2327
2327
|
|
|
2328
2328
|
/**
|
|
2329
2329
|
* Too many members in the pool or system.
|
|
2330
2330
|
**/
|
|
2331
|
-
MaxPoolMembers: GenericPalletError
|
|
2331
|
+
MaxPoolMembers: GenericPalletError;
|
|
2332
2332
|
|
|
2333
2333
|
/**
|
|
2334
2334
|
* The pools state cannot be changed.
|
|
2335
2335
|
**/
|
|
2336
|
-
CanNotChangeState: GenericPalletError
|
|
2336
|
+
CanNotChangeState: GenericPalletError;
|
|
2337
2337
|
|
|
2338
2338
|
/**
|
|
2339
2339
|
* The caller does not have adequate permissions.
|
|
2340
2340
|
**/
|
|
2341
|
-
DoesNotHavePermission: GenericPalletError
|
|
2341
|
+
DoesNotHavePermission: GenericPalletError;
|
|
2342
2342
|
|
|
2343
2343
|
/**
|
|
2344
2344
|
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
2345
2345
|
**/
|
|
2346
|
-
MetadataExceedsMaxLen: GenericPalletError
|
|
2346
|
+
MetadataExceedsMaxLen: GenericPalletError;
|
|
2347
2347
|
|
|
2348
2348
|
/**
|
|
2349
2349
|
* Some error occurred that should never happen. This should be reported to the
|
|
2350
2350
|
* maintainers.
|
|
2351
2351
|
**/
|
|
2352
|
-
Defensive: GenericPalletError
|
|
2352
|
+
Defensive: GenericPalletError;
|
|
2353
2353
|
|
|
2354
2354
|
/**
|
|
2355
2355
|
* Partial unbonding now allowed permissionlessly.
|
|
2356
2356
|
**/
|
|
2357
|
-
PartialUnbondNotAllowedPermissionlessly: GenericPalletError
|
|
2357
|
+
PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
|
|
2358
2358
|
|
|
2359
2359
|
/**
|
|
2360
2360
|
* The pool's max commission cannot be set higher than the existing value.
|
|
2361
2361
|
**/
|
|
2362
|
-
MaxCommissionRestricted: GenericPalletError
|
|
2362
|
+
MaxCommissionRestricted: GenericPalletError;
|
|
2363
2363
|
|
|
2364
2364
|
/**
|
|
2365
2365
|
* The supplied commission exceeds the max allowed commission.
|
|
2366
2366
|
**/
|
|
2367
|
-
CommissionExceedsMaximum: GenericPalletError
|
|
2367
|
+
CommissionExceedsMaximum: GenericPalletError;
|
|
2368
2368
|
|
|
2369
2369
|
/**
|
|
2370
2370
|
* The supplied commission exceeds global maximum commission.
|
|
2371
2371
|
**/
|
|
2372
|
-
CommissionExceedsGlobalMaximum: GenericPalletError
|
|
2372
|
+
CommissionExceedsGlobalMaximum: GenericPalletError;
|
|
2373
2373
|
|
|
2374
2374
|
/**
|
|
2375
2375
|
* Not enough blocks have surpassed since the last commission update.
|
|
2376
2376
|
**/
|
|
2377
|
-
CommissionChangeThrottled: GenericPalletError
|
|
2377
|
+
CommissionChangeThrottled: GenericPalletError;
|
|
2378
2378
|
|
|
2379
2379
|
/**
|
|
2380
2380
|
* The submitted changes to commission change rate are not allowed.
|
|
2381
2381
|
**/
|
|
2382
|
-
CommissionChangeRateNotAllowed: GenericPalletError
|
|
2382
|
+
CommissionChangeRateNotAllowed: GenericPalletError;
|
|
2383
2383
|
|
|
2384
2384
|
/**
|
|
2385
2385
|
* There is no pending commission to claim.
|
|
2386
2386
|
**/
|
|
2387
|
-
NoPendingCommission: GenericPalletError
|
|
2387
|
+
NoPendingCommission: GenericPalletError;
|
|
2388
2388
|
|
|
2389
2389
|
/**
|
|
2390
2390
|
* No commission current has been set.
|
|
2391
2391
|
**/
|
|
2392
|
-
NoCommissionCurrentSet: GenericPalletError
|
|
2392
|
+
NoCommissionCurrentSet: GenericPalletError;
|
|
2393
2393
|
|
|
2394
2394
|
/**
|
|
2395
2395
|
* Pool id currently in use.
|
|
2396
2396
|
**/
|
|
2397
|
-
PoolIdInUse: GenericPalletError
|
|
2397
|
+
PoolIdInUse: GenericPalletError;
|
|
2398
2398
|
|
|
2399
2399
|
/**
|
|
2400
2400
|
* Pool id provided is not correct/usable.
|
|
2401
2401
|
**/
|
|
2402
|
-
InvalidPoolId: GenericPalletError
|
|
2402
|
+
InvalidPoolId: GenericPalletError;
|
|
2403
2403
|
|
|
2404
2404
|
/**
|
|
2405
2405
|
* Bonding extra is restricted to the exact pending reward amount.
|
|
2406
2406
|
**/
|
|
2407
|
-
BondExtraRestricted: GenericPalletError
|
|
2407
|
+
BondExtraRestricted: GenericPalletError;
|
|
2408
2408
|
|
|
2409
2409
|
/**
|
|
2410
2410
|
* No imbalance in the ED deposit for the pool.
|
|
2411
2411
|
**/
|
|
2412
|
-
NothingToAdjust: GenericPalletError
|
|
2412
|
+
NothingToAdjust: GenericPalletError;
|
|
2413
2413
|
|
|
2414
2414
|
/**
|
|
2415
2415
|
* No slash pending that can be applied to the member.
|
|
2416
2416
|
**/
|
|
2417
|
-
NothingToSlash: GenericPalletError
|
|
2417
|
+
NothingToSlash: GenericPalletError;
|
|
2418
2418
|
|
|
2419
2419
|
/**
|
|
2420
2420
|
* The slash amount is too low to be applied.
|
|
2421
2421
|
**/
|
|
2422
|
-
SlashTooLow: GenericPalletError
|
|
2422
|
+
SlashTooLow: GenericPalletError;
|
|
2423
2423
|
|
|
2424
2424
|
/**
|
|
2425
2425
|
* The pool or member delegation has already migrated to delegate stake.
|
|
2426
2426
|
**/
|
|
2427
|
-
AlreadyMigrated: GenericPalletError
|
|
2427
|
+
AlreadyMigrated: GenericPalletError;
|
|
2428
2428
|
|
|
2429
2429
|
/**
|
|
2430
2430
|
* The pool or member delegation has not migrated yet to delegate stake.
|
|
2431
2431
|
**/
|
|
2432
|
-
NotMigrated: GenericPalletError
|
|
2432
|
+
NotMigrated: GenericPalletError;
|
|
2433
2433
|
|
|
2434
2434
|
/**
|
|
2435
2435
|
* This call is not allowed in the current state of the pallet.
|
|
2436
2436
|
**/
|
|
2437
|
-
NotSupported: GenericPalletError
|
|
2437
|
+
NotSupported: GenericPalletError;
|
|
2438
2438
|
|
|
2439
2439
|
/**
|
|
2440
2440
|
* Account is restricted from participation in pools. This may happen if the account is
|
|
2441
2441
|
* staking in another way already.
|
|
2442
2442
|
**/
|
|
2443
|
-
Restricted: GenericPalletError
|
|
2443
|
+
Restricted: GenericPalletError;
|
|
2444
2444
|
|
|
2445
2445
|
/**
|
|
2446
2446
|
* Generic pallet error
|
|
2447
2447
|
**/
|
|
2448
|
-
[error: string]: GenericPalletError
|
|
2448
|
+
[error: string]: GenericPalletError;
|
|
2449
2449
|
};
|
|
2450
2450
|
/**
|
|
2451
2451
|
* Pallet `VoterList`'s errors
|
|
@@ -2454,17 +2454,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2454
2454
|
/**
|
|
2455
2455
|
* A error in the list interface implementation.
|
|
2456
2456
|
**/
|
|
2457
|
-
List: GenericPalletError
|
|
2457
|
+
List: GenericPalletError;
|
|
2458
2458
|
|
|
2459
2459
|
/**
|
|
2460
2460
|
* Could not update a node, because the pallet is locked.
|
|
2461
2461
|
**/
|
|
2462
|
-
Locked: GenericPalletError
|
|
2462
|
+
Locked: GenericPalletError;
|
|
2463
2463
|
|
|
2464
2464
|
/**
|
|
2465
2465
|
* Generic pallet error
|
|
2466
2466
|
**/
|
|
2467
|
-
[error: string]: GenericPalletError
|
|
2467
|
+
[error: string]: GenericPalletError;
|
|
2468
2468
|
};
|
|
2469
2469
|
/**
|
|
2470
2470
|
* Pallet `DelegatedStaking`'s errors
|
|
@@ -2473,17 +2473,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2473
2473
|
/**
|
|
2474
2474
|
* The account cannot perform this operation.
|
|
2475
2475
|
**/
|
|
2476
|
-
NotAllowed: GenericPalletError
|
|
2476
|
+
NotAllowed: GenericPalletError;
|
|
2477
2477
|
|
|
2478
2478
|
/**
|
|
2479
2479
|
* An existing staker cannot perform this action.
|
|
2480
2480
|
**/
|
|
2481
|
-
AlreadyStaking: GenericPalletError
|
|
2481
|
+
AlreadyStaking: GenericPalletError;
|
|
2482
2482
|
|
|
2483
2483
|
/**
|
|
2484
2484
|
* Reward Destination cannot be same as `Agent` account.
|
|
2485
2485
|
**/
|
|
2486
|
-
InvalidRewardDestination: GenericPalletError
|
|
2486
|
+
InvalidRewardDestination: GenericPalletError;
|
|
2487
2487
|
|
|
2488
2488
|
/**
|
|
2489
2489
|
* Delegation conditions are not met.
|
|
@@ -2492,52 +2492,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2492
2492
|
* 1) Cannot delegate to self,
|
|
2493
2493
|
* 2) Cannot delegate to multiple delegates.
|
|
2494
2494
|
**/
|
|
2495
|
-
InvalidDelegation: GenericPalletError
|
|
2495
|
+
InvalidDelegation: GenericPalletError;
|
|
2496
2496
|
|
|
2497
2497
|
/**
|
|
2498
2498
|
* The account does not have enough funds to perform the operation.
|
|
2499
2499
|
**/
|
|
2500
|
-
NotEnoughFunds: GenericPalletError
|
|
2500
|
+
NotEnoughFunds: GenericPalletError;
|
|
2501
2501
|
|
|
2502
2502
|
/**
|
|
2503
2503
|
* Not an existing `Agent` account.
|
|
2504
2504
|
**/
|
|
2505
|
-
NotAgent: GenericPalletError
|
|
2505
|
+
NotAgent: GenericPalletError;
|
|
2506
2506
|
|
|
2507
2507
|
/**
|
|
2508
2508
|
* Not a Delegator account.
|
|
2509
2509
|
**/
|
|
2510
|
-
NotDelegator: GenericPalletError
|
|
2510
|
+
NotDelegator: GenericPalletError;
|
|
2511
2511
|
|
|
2512
2512
|
/**
|
|
2513
2513
|
* Some corruption in internal state.
|
|
2514
2514
|
**/
|
|
2515
|
-
BadState: GenericPalletError
|
|
2515
|
+
BadState: GenericPalletError;
|
|
2516
2516
|
|
|
2517
2517
|
/**
|
|
2518
2518
|
* Unapplied pending slash restricts operation on `Agent`.
|
|
2519
2519
|
**/
|
|
2520
|
-
UnappliedSlash: GenericPalletError
|
|
2520
|
+
UnappliedSlash: GenericPalletError;
|
|
2521
2521
|
|
|
2522
2522
|
/**
|
|
2523
2523
|
* `Agent` has no pending slash to be applied.
|
|
2524
2524
|
**/
|
|
2525
|
-
NothingToSlash: GenericPalletError
|
|
2525
|
+
NothingToSlash: GenericPalletError;
|
|
2526
2526
|
|
|
2527
2527
|
/**
|
|
2528
2528
|
* Failed to withdraw amount from Core Staking.
|
|
2529
2529
|
**/
|
|
2530
|
-
WithdrawFailed: GenericPalletError
|
|
2530
|
+
WithdrawFailed: GenericPalletError;
|
|
2531
2531
|
|
|
2532
2532
|
/**
|
|
2533
2533
|
* Operation not supported by this pallet.
|
|
2534
2534
|
**/
|
|
2535
|
-
NotSupported: GenericPalletError
|
|
2535
|
+
NotSupported: GenericPalletError;
|
|
2536
2536
|
|
|
2537
2537
|
/**
|
|
2538
2538
|
* Generic pallet error
|
|
2539
2539
|
**/
|
|
2540
|
-
[error: string]: GenericPalletError
|
|
2540
|
+
[error: string]: GenericPalletError;
|
|
2541
2541
|
};
|
|
2542
2542
|
/**
|
|
2543
2543
|
* Pallet `MultiBlockElection`'s errors
|
|
@@ -2546,22 +2546,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2546
2546
|
/**
|
|
2547
2547
|
* Triggering the `Fallback` failed.
|
|
2548
2548
|
**/
|
|
2549
|
-
Fallback: GenericPalletError
|
|
2549
|
+
Fallback: GenericPalletError;
|
|
2550
2550
|
|
|
2551
2551
|
/**
|
|
2552
2552
|
* Unexpected phase
|
|
2553
2553
|
**/
|
|
2554
|
-
UnexpectedPhase: GenericPalletError
|
|
2554
|
+
UnexpectedPhase: GenericPalletError;
|
|
2555
2555
|
|
|
2556
2556
|
/**
|
|
2557
2557
|
* Snapshot was unavailable.
|
|
2558
2558
|
**/
|
|
2559
|
-
Snapshot: GenericPalletError
|
|
2559
|
+
Snapshot: GenericPalletError;
|
|
2560
2560
|
|
|
2561
2561
|
/**
|
|
2562
2562
|
* Generic pallet error
|
|
2563
2563
|
**/
|
|
2564
|
-
[error: string]: GenericPalletError
|
|
2564
|
+
[error: string]: GenericPalletError;
|
|
2565
2565
|
};
|
|
2566
2566
|
/**
|
|
2567
2567
|
* Pallet `MultiBlockElectionSigned`'s errors
|
|
@@ -2570,52 +2570,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2570
2570
|
/**
|
|
2571
2571
|
* The phase is not signed.
|
|
2572
2572
|
**/
|
|
2573
|
-
PhaseNotSigned: GenericPalletError
|
|
2573
|
+
PhaseNotSigned: GenericPalletError;
|
|
2574
2574
|
|
|
2575
2575
|
/**
|
|
2576
2576
|
* The submission is a duplicate.
|
|
2577
2577
|
**/
|
|
2578
|
-
Duplicate: GenericPalletError
|
|
2578
|
+
Duplicate: GenericPalletError;
|
|
2579
2579
|
|
|
2580
2580
|
/**
|
|
2581
2581
|
* The queue is full.
|
|
2582
2582
|
**/
|
|
2583
|
-
QueueFull: GenericPalletError
|
|
2583
|
+
QueueFull: GenericPalletError;
|
|
2584
2584
|
|
|
2585
2585
|
/**
|
|
2586
2586
|
* The page index is out of bounds.
|
|
2587
2587
|
**/
|
|
2588
|
-
BadPageIndex: GenericPalletError
|
|
2588
|
+
BadPageIndex: GenericPalletError;
|
|
2589
2589
|
|
|
2590
2590
|
/**
|
|
2591
2591
|
* The account is not registered.
|
|
2592
2592
|
**/
|
|
2593
|
-
NotRegistered: GenericPalletError
|
|
2593
|
+
NotRegistered: GenericPalletError;
|
|
2594
2594
|
|
|
2595
2595
|
/**
|
|
2596
2596
|
* No submission found.
|
|
2597
2597
|
**/
|
|
2598
|
-
NoSubmission: GenericPalletError
|
|
2598
|
+
NoSubmission: GenericPalletError;
|
|
2599
2599
|
|
|
2600
2600
|
/**
|
|
2601
2601
|
* Round is not yet over.
|
|
2602
2602
|
**/
|
|
2603
|
-
RoundNotOver: GenericPalletError
|
|
2603
|
+
RoundNotOver: GenericPalletError;
|
|
2604
2604
|
|
|
2605
2605
|
/**
|
|
2606
2606
|
* Bad witness data provided.
|
|
2607
2607
|
**/
|
|
2608
|
-
BadWitnessData: GenericPalletError
|
|
2608
|
+
BadWitnessData: GenericPalletError;
|
|
2609
2609
|
|
|
2610
2610
|
/**
|
|
2611
2611
|
* Too many invulnerable accounts are provided,
|
|
2612
2612
|
**/
|
|
2613
|
-
TooManyInvulnerables: GenericPalletError
|
|
2613
|
+
TooManyInvulnerables: GenericPalletError;
|
|
2614
2614
|
|
|
2615
2615
|
/**
|
|
2616
2616
|
* Generic pallet error
|
|
2617
2617
|
**/
|
|
2618
|
-
[error: string]: GenericPalletError
|
|
2618
|
+
[error: string]: GenericPalletError;
|
|
2619
2619
|
};
|
|
2620
2620
|
/**
|
|
2621
2621
|
* Pallet `Staking`'s errors
|
|
@@ -2624,193 +2624,193 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2624
2624
|
/**
|
|
2625
2625
|
* Not a controller account.
|
|
2626
2626
|
**/
|
|
2627
|
-
NotController: GenericPalletError
|
|
2627
|
+
NotController: GenericPalletError;
|
|
2628
2628
|
|
|
2629
2629
|
/**
|
|
2630
2630
|
* Not a stash account.
|
|
2631
2631
|
**/
|
|
2632
|
-
NotStash: GenericPalletError
|
|
2632
|
+
NotStash: GenericPalletError;
|
|
2633
2633
|
|
|
2634
2634
|
/**
|
|
2635
2635
|
* Stash is already bonded.
|
|
2636
2636
|
**/
|
|
2637
|
-
AlreadyBonded: GenericPalletError
|
|
2637
|
+
AlreadyBonded: GenericPalletError;
|
|
2638
2638
|
|
|
2639
2639
|
/**
|
|
2640
2640
|
* Controller is already paired.
|
|
2641
2641
|
**/
|
|
2642
|
-
AlreadyPaired: GenericPalletError
|
|
2642
|
+
AlreadyPaired: GenericPalletError;
|
|
2643
2643
|
|
|
2644
2644
|
/**
|
|
2645
2645
|
* Targets cannot be empty.
|
|
2646
2646
|
**/
|
|
2647
|
-
EmptyTargets: GenericPalletError
|
|
2647
|
+
EmptyTargets: GenericPalletError;
|
|
2648
2648
|
|
|
2649
2649
|
/**
|
|
2650
2650
|
* Duplicate index.
|
|
2651
2651
|
**/
|
|
2652
|
-
DuplicateIndex: GenericPalletError
|
|
2652
|
+
DuplicateIndex: GenericPalletError;
|
|
2653
2653
|
|
|
2654
2654
|
/**
|
|
2655
2655
|
* Slash record not found.
|
|
2656
2656
|
**/
|
|
2657
|
-
InvalidSlashRecord: GenericPalletError
|
|
2657
|
+
InvalidSlashRecord: GenericPalletError;
|
|
2658
2658
|
|
|
2659
2659
|
/**
|
|
2660
2660
|
* Cannot bond, nominate or validate with value less than the minimum defined by
|
|
2661
2661
|
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
|
|
2662
2662
|
* intention, `chill` first to remove one's role as validator/nominator.
|
|
2663
2663
|
**/
|
|
2664
|
-
InsufficientBond: GenericPalletError
|
|
2664
|
+
InsufficientBond: GenericPalletError;
|
|
2665
2665
|
|
|
2666
2666
|
/**
|
|
2667
2667
|
* Can not schedule more unlock chunks.
|
|
2668
2668
|
**/
|
|
2669
|
-
NoMoreChunks: GenericPalletError
|
|
2669
|
+
NoMoreChunks: GenericPalletError;
|
|
2670
2670
|
|
|
2671
2671
|
/**
|
|
2672
2672
|
* Can not rebond without unlocking chunks.
|
|
2673
2673
|
**/
|
|
2674
|
-
NoUnlockChunk: GenericPalletError
|
|
2674
|
+
NoUnlockChunk: GenericPalletError;
|
|
2675
2675
|
|
|
2676
2676
|
/**
|
|
2677
2677
|
* Attempting to target a stash that still has funds.
|
|
2678
2678
|
**/
|
|
2679
|
-
FundedTarget: GenericPalletError
|
|
2679
|
+
FundedTarget: GenericPalletError;
|
|
2680
2680
|
|
|
2681
2681
|
/**
|
|
2682
2682
|
* Invalid era to reward.
|
|
2683
2683
|
**/
|
|
2684
|
-
InvalidEraToReward: GenericPalletError
|
|
2684
|
+
InvalidEraToReward: GenericPalletError;
|
|
2685
2685
|
|
|
2686
2686
|
/**
|
|
2687
2687
|
* Invalid number of nominations.
|
|
2688
2688
|
**/
|
|
2689
|
-
InvalidNumberOfNominations: GenericPalletError
|
|
2689
|
+
InvalidNumberOfNominations: GenericPalletError;
|
|
2690
2690
|
|
|
2691
2691
|
/**
|
|
2692
2692
|
* Rewards for this era have already been claimed for this validator.
|
|
2693
2693
|
**/
|
|
2694
|
-
AlreadyClaimed: GenericPalletError
|
|
2694
|
+
AlreadyClaimed: GenericPalletError;
|
|
2695
2695
|
|
|
2696
2696
|
/**
|
|
2697
2697
|
* No nominators exist on this page.
|
|
2698
2698
|
**/
|
|
2699
|
-
InvalidPage: GenericPalletError
|
|
2699
|
+
InvalidPage: GenericPalletError;
|
|
2700
2700
|
|
|
2701
2701
|
/**
|
|
2702
2702
|
* Incorrect previous history depth input provided.
|
|
2703
2703
|
**/
|
|
2704
|
-
IncorrectHistoryDepth: GenericPalletError
|
|
2704
|
+
IncorrectHistoryDepth: GenericPalletError;
|
|
2705
2705
|
|
|
2706
2706
|
/**
|
|
2707
2707
|
* Internal state has become somehow corrupted and the operation cannot continue.
|
|
2708
2708
|
**/
|
|
2709
|
-
BadState: GenericPalletError
|
|
2709
|
+
BadState: GenericPalletError;
|
|
2710
2710
|
|
|
2711
2711
|
/**
|
|
2712
2712
|
* Too many nomination targets supplied.
|
|
2713
2713
|
**/
|
|
2714
|
-
TooManyTargets: GenericPalletError
|
|
2714
|
+
TooManyTargets: GenericPalletError;
|
|
2715
2715
|
|
|
2716
2716
|
/**
|
|
2717
2717
|
* A nomination target was supplied that was blocked or otherwise not a validator.
|
|
2718
2718
|
**/
|
|
2719
|
-
BadTarget: GenericPalletError
|
|
2719
|
+
BadTarget: GenericPalletError;
|
|
2720
2720
|
|
|
2721
2721
|
/**
|
|
2722
2722
|
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
|
2723
2723
|
**/
|
|
2724
|
-
CannotChillOther: GenericPalletError
|
|
2724
|
+
CannotChillOther: GenericPalletError;
|
|
2725
2725
|
|
|
2726
2726
|
/**
|
|
2727
2727
|
* There are too many nominators in the system. Governance needs to adjust the staking
|
|
2728
2728
|
* settings to keep things safe for the runtime.
|
|
2729
2729
|
**/
|
|
2730
|
-
TooManyNominators: GenericPalletError
|
|
2730
|
+
TooManyNominators: GenericPalletError;
|
|
2731
2731
|
|
|
2732
2732
|
/**
|
|
2733
2733
|
* There are too many validator candidates in the system. Governance needs to adjust the
|
|
2734
2734
|
* staking settings to keep things safe for the runtime.
|
|
2735
2735
|
**/
|
|
2736
|
-
TooManyValidators: GenericPalletError
|
|
2736
|
+
TooManyValidators: GenericPalletError;
|
|
2737
2737
|
|
|
2738
2738
|
/**
|
|
2739
2739
|
* Commission is too low. Must be at least `MinCommission`.
|
|
2740
2740
|
**/
|
|
2741
|
-
CommissionTooLow: GenericPalletError
|
|
2741
|
+
CommissionTooLow: GenericPalletError;
|
|
2742
2742
|
|
|
2743
2743
|
/**
|
|
2744
2744
|
* Some bound is not met.
|
|
2745
2745
|
**/
|
|
2746
|
-
BoundNotMet: GenericPalletError
|
|
2746
|
+
BoundNotMet: GenericPalletError;
|
|
2747
2747
|
|
|
2748
2748
|
/**
|
|
2749
2749
|
* Used when attempting to use deprecated controller account logic.
|
|
2750
2750
|
**/
|
|
2751
|
-
ControllerDeprecated: GenericPalletError
|
|
2751
|
+
ControllerDeprecated: GenericPalletError;
|
|
2752
2752
|
|
|
2753
2753
|
/**
|
|
2754
2754
|
* Cannot reset a ledger.
|
|
2755
2755
|
**/
|
|
2756
|
-
CannotRestoreLedger: GenericPalletError
|
|
2756
|
+
CannotRestoreLedger: GenericPalletError;
|
|
2757
2757
|
|
|
2758
2758
|
/**
|
|
2759
2759
|
* Provided reward destination is not allowed.
|
|
2760
2760
|
**/
|
|
2761
|
-
RewardDestinationRestricted: GenericPalletError
|
|
2761
|
+
RewardDestinationRestricted: GenericPalletError;
|
|
2762
2762
|
|
|
2763
2763
|
/**
|
|
2764
2764
|
* Not enough funds available to withdraw.
|
|
2765
2765
|
**/
|
|
2766
|
-
NotEnoughFunds: GenericPalletError
|
|
2766
|
+
NotEnoughFunds: GenericPalletError;
|
|
2767
2767
|
|
|
2768
2768
|
/**
|
|
2769
2769
|
* Operation not allowed for virtual stakers.
|
|
2770
2770
|
**/
|
|
2771
|
-
VirtualStakerNotAllowed: GenericPalletError
|
|
2771
|
+
VirtualStakerNotAllowed: GenericPalletError;
|
|
2772
2772
|
|
|
2773
2773
|
/**
|
|
2774
2774
|
* Stash could not be reaped as other pallet might depend on it.
|
|
2775
2775
|
**/
|
|
2776
|
-
CannotReapStash: GenericPalletError
|
|
2776
|
+
CannotReapStash: GenericPalletError;
|
|
2777
2777
|
|
|
2778
2778
|
/**
|
|
2779
2779
|
* The stake of this account is already migrated to `Fungible` holds.
|
|
2780
2780
|
**/
|
|
2781
|
-
AlreadyMigrated: GenericPalletError
|
|
2781
|
+
AlreadyMigrated: GenericPalletError;
|
|
2782
2782
|
|
|
2783
2783
|
/**
|
|
2784
2784
|
* Era not yet started.
|
|
2785
2785
|
**/
|
|
2786
|
-
EraNotStarted: GenericPalletError
|
|
2786
|
+
EraNotStarted: GenericPalletError;
|
|
2787
2787
|
|
|
2788
2788
|
/**
|
|
2789
2789
|
* Account is restricted from participation in staking. This may happen if the account is
|
|
2790
2790
|
* staking in another way already, such as via pool.
|
|
2791
2791
|
**/
|
|
2792
|
-
Restricted: GenericPalletError
|
|
2792
|
+
Restricted: GenericPalletError;
|
|
2793
2793
|
|
|
2794
2794
|
/**
|
|
2795
2795
|
* Unapplied slashes in the recently concluded era is blocking this operation.
|
|
2796
2796
|
* See `Call::apply_slash` to apply them.
|
|
2797
2797
|
**/
|
|
2798
|
-
UnappliedSlashesInPreviousEra: GenericPalletError
|
|
2798
|
+
UnappliedSlashesInPreviousEra: GenericPalletError;
|
|
2799
2799
|
|
|
2800
2800
|
/**
|
|
2801
2801
|
* The era is not eligible for pruning.
|
|
2802
2802
|
**/
|
|
2803
|
-
EraNotPrunable: GenericPalletError
|
|
2803
|
+
EraNotPrunable: GenericPalletError;
|
|
2804
2804
|
|
|
2805
2805
|
/**
|
|
2806
2806
|
* The slash has been cancelled and cannot be applied.
|
|
2807
2807
|
**/
|
|
2808
|
-
CancelledSlash: GenericPalletError
|
|
2808
|
+
CancelledSlash: GenericPalletError;
|
|
2809
2809
|
|
|
2810
2810
|
/**
|
|
2811
2811
|
* Generic pallet error
|
|
2812
2812
|
**/
|
|
2813
|
-
[error: string]: GenericPalletError
|
|
2813
|
+
[error: string]: GenericPalletError;
|
|
2814
2814
|
};
|
|
2815
2815
|
/**
|
|
2816
2816
|
* Pallet `AhOps`'s errors
|
|
@@ -2819,62 +2819,62 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2819
2819
|
/**
|
|
2820
2820
|
* Either no lease deposit or already unreserved.
|
|
2821
2821
|
**/
|
|
2822
|
-
NoLeaseReserve: GenericPalletError
|
|
2822
|
+
NoLeaseReserve: GenericPalletError;
|
|
2823
2823
|
|
|
2824
2824
|
/**
|
|
2825
2825
|
* Either no crowdloan contribution or already withdrawn.
|
|
2826
2826
|
**/
|
|
2827
|
-
NoCrowdloanContribution: GenericPalletError
|
|
2827
|
+
NoCrowdloanContribution: GenericPalletError;
|
|
2828
2828
|
|
|
2829
2829
|
/**
|
|
2830
2830
|
* Either no crowdloan reserve or already unreserved.
|
|
2831
2831
|
**/
|
|
2832
|
-
NoCrowdloanReserve: GenericPalletError
|
|
2832
|
+
NoCrowdloanReserve: GenericPalletError;
|
|
2833
2833
|
|
|
2834
2834
|
/**
|
|
2835
2835
|
* Failed to withdraw crowdloan contribution.
|
|
2836
2836
|
**/
|
|
2837
|
-
FailedToWithdrawCrowdloanContribution: GenericPalletError
|
|
2837
|
+
FailedToWithdrawCrowdloanContribution: GenericPalletError;
|
|
2838
2838
|
|
|
2839
2839
|
/**
|
|
2840
2840
|
* Block number is not yet reached.
|
|
2841
2841
|
**/
|
|
2842
|
-
NotYet: GenericPalletError
|
|
2842
|
+
NotYet: GenericPalletError;
|
|
2843
2843
|
|
|
2844
2844
|
/**
|
|
2845
2845
|
* Not all contributions are withdrawn.
|
|
2846
2846
|
**/
|
|
2847
|
-
ContributionsRemaining: GenericPalletError
|
|
2847
|
+
ContributionsRemaining: GenericPalletError;
|
|
2848
2848
|
|
|
2849
2849
|
/**
|
|
2850
2850
|
* The account is not a derived account.
|
|
2851
2851
|
**/
|
|
2852
|
-
WrongDerivedTranslation: GenericPalletError
|
|
2852
|
+
WrongDerivedTranslation: GenericPalletError;
|
|
2853
2853
|
|
|
2854
2854
|
/**
|
|
2855
2855
|
* Account cannot be migrated since it is not a sovereign parachain account.
|
|
2856
2856
|
**/
|
|
2857
|
-
NotSovereign: GenericPalletError
|
|
2857
|
+
NotSovereign: GenericPalletError;
|
|
2858
2858
|
|
|
2859
2859
|
/**
|
|
2860
2860
|
* Internal error, please bug report.
|
|
2861
2861
|
**/
|
|
2862
|
-
InternalError: GenericPalletError
|
|
2862
|
+
InternalError: GenericPalletError;
|
|
2863
2863
|
|
|
2864
2864
|
/**
|
|
2865
2865
|
* The Asset Hub migration is not completed.
|
|
2866
2866
|
**/
|
|
2867
|
-
MigrationNotCompleted: GenericPalletError
|
|
2867
|
+
MigrationNotCompleted: GenericPalletError;
|
|
2868
2868
|
|
|
2869
2869
|
/**
|
|
2870
2870
|
* The balance is zero.
|
|
2871
2871
|
**/
|
|
2872
|
-
ZeroBalance: GenericPalletError
|
|
2872
|
+
ZeroBalance: GenericPalletError;
|
|
2873
2873
|
|
|
2874
2874
|
/**
|
|
2875
2875
|
* Generic pallet error
|
|
2876
2876
|
**/
|
|
2877
|
-
[error: string]: GenericPalletError
|
|
2877
|
+
[error: string]: GenericPalletError;
|
|
2878
2878
|
};
|
|
2879
2879
|
/**
|
|
2880
2880
|
* Pallet `AhMigrator`'s errors
|
|
@@ -2883,101 +2883,101 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2883
2883
|
/**
|
|
2884
2884
|
* Failed to unreserve deposit.
|
|
2885
2885
|
**/
|
|
2886
|
-
FailedToUnreserveDeposit: GenericPalletError
|
|
2886
|
+
FailedToUnreserveDeposit: GenericPalletError;
|
|
2887
2887
|
|
|
2888
2888
|
/**
|
|
2889
2889
|
* Failed to process an account data from RC.
|
|
2890
2890
|
**/
|
|
2891
|
-
FailedToProcessAccount: GenericPalletError
|
|
2891
|
+
FailedToProcessAccount: GenericPalletError;
|
|
2892
2892
|
|
|
2893
2893
|
/**
|
|
2894
2894
|
* Some item could not be inserted because it already exists.
|
|
2895
2895
|
**/
|
|
2896
|
-
InsertConflict: GenericPalletError
|
|
2896
|
+
InsertConflict: GenericPalletError;
|
|
2897
2897
|
|
|
2898
2898
|
/**
|
|
2899
2899
|
* Failed to convert RC type to AH type.
|
|
2900
2900
|
**/
|
|
2901
|
-
FailedToConvertType: GenericPalletError
|
|
2901
|
+
FailedToConvertType: GenericPalletError;
|
|
2902
2902
|
|
|
2903
2903
|
/**
|
|
2904
2904
|
* Failed to fetch preimage.
|
|
2905
2905
|
**/
|
|
2906
|
-
PreimageNotFound: GenericPalletError
|
|
2906
|
+
PreimageNotFound: GenericPalletError;
|
|
2907
2907
|
|
|
2908
2908
|
/**
|
|
2909
2909
|
* Failed to convert RC call to AH call.
|
|
2910
2910
|
**/
|
|
2911
|
-
FailedToConvertCall: GenericPalletError
|
|
2911
|
+
FailedToConvertCall: GenericPalletError;
|
|
2912
2912
|
|
|
2913
2913
|
/**
|
|
2914
2914
|
* Failed to bound a call.
|
|
2915
2915
|
**/
|
|
2916
|
-
FailedToBoundCall: GenericPalletError
|
|
2916
|
+
FailedToBoundCall: GenericPalletError;
|
|
2917
2917
|
|
|
2918
2918
|
/**
|
|
2919
2919
|
* Failed to send XCM message.
|
|
2920
2920
|
**/
|
|
2921
|
-
XcmError: GenericPalletError
|
|
2921
|
+
XcmError: GenericPalletError;
|
|
2922
2922
|
|
|
2923
2923
|
/**
|
|
2924
2924
|
* Failed to integrate a vesting schedule.
|
|
2925
2925
|
**/
|
|
2926
|
-
FailedToIntegrateVestingSchedule: GenericPalletError
|
|
2926
|
+
FailedToIntegrateVestingSchedule: GenericPalletError;
|
|
2927
2927
|
|
|
2928
2928
|
/**
|
|
2929
2929
|
* Checking account overflow or underflow.
|
|
2930
2930
|
**/
|
|
2931
|
-
FailedToCalculateCheckingAccount: GenericPalletError
|
|
2931
|
+
FailedToCalculateCheckingAccount: GenericPalletError;
|
|
2932
2932
|
|
|
2933
2933
|
/**
|
|
2934
2934
|
* Vector did not fit into its compile-time bound.
|
|
2935
2935
|
**/
|
|
2936
|
-
FailedToBoundVector: GenericPalletError
|
|
2936
|
+
FailedToBoundVector: GenericPalletError;
|
|
2937
2937
|
|
|
2938
2938
|
/**
|
|
2939
2939
|
* The DMP queue priority is already set to the same value.
|
|
2940
2940
|
**/
|
|
2941
|
-
DmpQueuePriorityAlreadySet: GenericPalletError
|
|
2941
|
+
DmpQueuePriorityAlreadySet: GenericPalletError;
|
|
2942
2942
|
|
|
2943
2943
|
/**
|
|
2944
2944
|
* Invalid parameter.
|
|
2945
2945
|
**/
|
|
2946
|
-
InvalidParameter: GenericPalletError
|
|
2946
|
+
InvalidParameter: GenericPalletError;
|
|
2947
2947
|
|
|
2948
2948
|
/**
|
|
2949
2949
|
* Preimage missing.
|
|
2950
2950
|
**/
|
|
2951
|
-
PreimageMissing: GenericPalletError
|
|
2951
|
+
PreimageMissing: GenericPalletError;
|
|
2952
2952
|
|
|
2953
2953
|
/**
|
|
2954
2954
|
* Preimage too big.
|
|
2955
2955
|
**/
|
|
2956
|
-
PreimageTooBig: GenericPalletError
|
|
2956
|
+
PreimageTooBig: GenericPalletError;
|
|
2957
2957
|
|
|
2958
2958
|
/**
|
|
2959
2959
|
* Preimage chunk missing.
|
|
2960
2960
|
**/
|
|
2961
|
-
PreimageChunkMissing: GenericPalletError
|
|
2961
|
+
PreimageChunkMissing: GenericPalletError;
|
|
2962
2962
|
|
|
2963
2963
|
/**
|
|
2964
2964
|
* Preimage status invalid.
|
|
2965
2965
|
**/
|
|
2966
|
-
PreimageStatusInvalid: GenericPalletError
|
|
2966
|
+
PreimageStatusInvalid: GenericPalletError;
|
|
2967
2967
|
|
|
2968
2968
|
/**
|
|
2969
2969
|
* The XCM version is invalid.
|
|
2970
2970
|
**/
|
|
2971
|
-
BadXcmVersion: GenericPalletError
|
|
2971
|
+
BadXcmVersion: GenericPalletError;
|
|
2972
2972
|
|
|
2973
2973
|
/**
|
|
2974
2974
|
* The origin is invalid.
|
|
2975
2975
|
**/
|
|
2976
|
-
InvalidOrigin: GenericPalletError
|
|
2976
|
+
InvalidOrigin: GenericPalletError;
|
|
2977
2977
|
|
|
2978
2978
|
/**
|
|
2979
2979
|
* Generic pallet error
|
|
2980
2980
|
**/
|
|
2981
|
-
[error: string]: GenericPalletError
|
|
2981
|
+
[error: string]: GenericPalletError;
|
|
2982
2982
|
};
|
|
2983
2983
|
}
|