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