@dedot/chaintypes 0.194.0 → 0.195.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 +13 -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 +13 -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 +13 -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 +14 -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 +13 -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 +14 -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 +13 -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 +13 -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 +14 -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 +15 -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 +14 -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 +14 -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 +13 -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 +14 -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 +13 -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 +14 -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 +14 -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 +13 -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 +14 -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 +13 -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 `MultiBlockMigrations`'s errors
|
|
@@ -118,12 +118,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
118
118
|
/**
|
|
119
119
|
* The operation cannot complete since some MBMs are ongoing.
|
|
120
120
|
**/
|
|
121
|
-
Ongoing: GenericPalletError
|
|
121
|
+
Ongoing: GenericPalletError;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* Generic pallet error
|
|
125
125
|
**/
|
|
126
|
-
[error: string]: GenericPalletError
|
|
126
|
+
[error: string]: GenericPalletError;
|
|
127
127
|
};
|
|
128
128
|
/**
|
|
129
129
|
* Pallet `Preimage`'s errors
|
|
@@ -132,47 +132,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
132
132
|
/**
|
|
133
133
|
* Preimage is too large to store on-chain.
|
|
134
134
|
**/
|
|
135
|
-
TooBig: GenericPalletError
|
|
135
|
+
TooBig: GenericPalletError;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* Preimage has already been noted on-chain.
|
|
139
139
|
**/
|
|
140
|
-
AlreadyNoted: GenericPalletError
|
|
140
|
+
AlreadyNoted: GenericPalletError;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* The user is not authorized to perform this action.
|
|
144
144
|
**/
|
|
145
|
-
NotAuthorized: GenericPalletError
|
|
145
|
+
NotAuthorized: GenericPalletError;
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* The preimage cannot be removed since it has not yet been noted.
|
|
149
149
|
**/
|
|
150
|
-
NotNoted: GenericPalletError
|
|
150
|
+
NotNoted: GenericPalletError;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* A preimage may not be removed when there are outstanding requests.
|
|
154
154
|
**/
|
|
155
|
-
Requested: GenericPalletError
|
|
155
|
+
Requested: GenericPalletError;
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* The preimage request cannot be removed since no outstanding requests exist.
|
|
159
159
|
**/
|
|
160
|
-
NotRequested: GenericPalletError
|
|
160
|
+
NotRequested: GenericPalletError;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
164
164
|
**/
|
|
165
|
-
TooMany: GenericPalletError
|
|
165
|
+
TooMany: GenericPalletError;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
169
169
|
**/
|
|
170
|
-
TooFew: GenericPalletError
|
|
170
|
+
TooFew: GenericPalletError;
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* Generic pallet error
|
|
174
174
|
**/
|
|
175
|
-
[error: string]: GenericPalletError
|
|
175
|
+
[error: string]: GenericPalletError;
|
|
176
176
|
};
|
|
177
177
|
/**
|
|
178
178
|
* Pallet `Scheduler`'s errors
|
|
@@ -181,32 +181,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
181
181
|
/**
|
|
182
182
|
* Failed to schedule a call
|
|
183
183
|
**/
|
|
184
|
-
FailedToSchedule: GenericPalletError
|
|
184
|
+
FailedToSchedule: GenericPalletError;
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* Cannot find the scheduled call.
|
|
188
188
|
**/
|
|
189
|
-
NotFound: GenericPalletError
|
|
189
|
+
NotFound: GenericPalletError;
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* Given target block number is in the past.
|
|
193
193
|
**/
|
|
194
|
-
TargetBlockNumberInPast: GenericPalletError
|
|
194
|
+
TargetBlockNumberInPast: GenericPalletError;
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
197
|
* Reschedule failed because it does not change scheduled time.
|
|
198
198
|
**/
|
|
199
|
-
RescheduleNoChange: GenericPalletError
|
|
199
|
+
RescheduleNoChange: GenericPalletError;
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* Attempt to use a non-named function on a named task.
|
|
203
203
|
**/
|
|
204
|
-
Named: GenericPalletError
|
|
204
|
+
Named: 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 `Utility`'s errors
|
|
@@ -736,12 +736,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
736
736
|
/**
|
|
737
737
|
* Too many calls batched.
|
|
738
738
|
**/
|
|
739
|
-
TooManyCalls: GenericPalletError
|
|
739
|
+
TooManyCalls: GenericPalletError;
|
|
740
740
|
|
|
741
741
|
/**
|
|
742
742
|
* Generic pallet error
|
|
743
743
|
**/
|
|
744
|
-
[error: string]: GenericPalletError
|
|
744
|
+
[error: string]: GenericPalletError;
|
|
745
745
|
};
|
|
746
746
|
/**
|
|
747
747
|
* Pallet `Multisig`'s errors
|
|
@@ -750,78 +750,78 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
750
750
|
/**
|
|
751
751
|
* Threshold must be 2 or greater.
|
|
752
752
|
**/
|
|
753
|
-
MinimumThreshold: GenericPalletError
|
|
753
|
+
MinimumThreshold: GenericPalletError;
|
|
754
754
|
|
|
755
755
|
/**
|
|
756
756
|
* Call is already approved by this signatory.
|
|
757
757
|
**/
|
|
758
|
-
AlreadyApproved: GenericPalletError
|
|
758
|
+
AlreadyApproved: GenericPalletError;
|
|
759
759
|
|
|
760
760
|
/**
|
|
761
761
|
* Call doesn't need any (more) approvals.
|
|
762
762
|
**/
|
|
763
|
-
NoApprovalsNeeded: GenericPalletError
|
|
763
|
+
NoApprovalsNeeded: GenericPalletError;
|
|
764
764
|
|
|
765
765
|
/**
|
|
766
766
|
* There are too few signatories in the list.
|
|
767
767
|
**/
|
|
768
|
-
TooFewSignatories: GenericPalletError
|
|
768
|
+
TooFewSignatories: GenericPalletError;
|
|
769
769
|
|
|
770
770
|
/**
|
|
771
771
|
* There are too many signatories in the list.
|
|
772
772
|
**/
|
|
773
|
-
TooManySignatories: GenericPalletError
|
|
773
|
+
TooManySignatories: GenericPalletError;
|
|
774
774
|
|
|
775
775
|
/**
|
|
776
776
|
* The signatories were provided out of order; they should be ordered.
|
|
777
777
|
**/
|
|
778
|
-
SignatoriesOutOfOrder: GenericPalletError
|
|
778
|
+
SignatoriesOutOfOrder: GenericPalletError;
|
|
779
779
|
|
|
780
780
|
/**
|
|
781
781
|
* The sender was contained in the other signatories; it shouldn't be.
|
|
782
782
|
**/
|
|
783
|
-
SenderInSignatories: GenericPalletError
|
|
783
|
+
SenderInSignatories: GenericPalletError;
|
|
784
784
|
|
|
785
785
|
/**
|
|
786
786
|
* Multisig operation not found in storage.
|
|
787
787
|
**/
|
|
788
|
-
NotFound: GenericPalletError
|
|
788
|
+
NotFound: GenericPalletError;
|
|
789
789
|
|
|
790
790
|
/**
|
|
791
791
|
* Only the account that originally created the multisig is able to cancel it or update
|
|
792
792
|
* its deposits.
|
|
793
793
|
**/
|
|
794
|
-
NotOwner: GenericPalletError
|
|
794
|
+
NotOwner: GenericPalletError;
|
|
795
795
|
|
|
796
796
|
/**
|
|
797
797
|
* No timepoint was given, yet the multisig operation is already underway.
|
|
798
798
|
**/
|
|
799
|
-
NoTimepoint: GenericPalletError
|
|
799
|
+
NoTimepoint: GenericPalletError;
|
|
800
800
|
|
|
801
801
|
/**
|
|
802
802
|
* A different timepoint was given to the multisig operation that is underway.
|
|
803
803
|
**/
|
|
804
|
-
WrongTimepoint: GenericPalletError
|
|
804
|
+
WrongTimepoint: GenericPalletError;
|
|
805
805
|
|
|
806
806
|
/**
|
|
807
807
|
* A timepoint was given, yet no multisig operation is underway.
|
|
808
808
|
**/
|
|
809
|
-
UnexpectedTimepoint: GenericPalletError
|
|
809
|
+
UnexpectedTimepoint: GenericPalletError;
|
|
810
810
|
|
|
811
811
|
/**
|
|
812
812
|
* The maximum weight information provided was too low.
|
|
813
813
|
**/
|
|
814
|
-
MaxWeightTooLow: GenericPalletError
|
|
814
|
+
MaxWeightTooLow: GenericPalletError;
|
|
815
815
|
|
|
816
816
|
/**
|
|
817
817
|
* The data to be stored is already stored.
|
|
818
818
|
**/
|
|
819
|
-
AlreadyStored: GenericPalletError
|
|
819
|
+
AlreadyStored: GenericPalletError;
|
|
820
820
|
|
|
821
821
|
/**
|
|
822
822
|
* Generic pallet error
|
|
823
823
|
**/
|
|
824
|
-
[error: string]: GenericPalletError
|
|
824
|
+
[error: string]: GenericPalletError;
|
|
825
825
|
};
|
|
826
826
|
/**
|
|
827
827
|
* Pallet `Proxy`'s errors
|
|
@@ -830,47 +830,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
830
830
|
/**
|
|
831
831
|
* There are too many proxies registered or too many announcements pending.
|
|
832
832
|
**/
|
|
833
|
-
TooMany: GenericPalletError
|
|
833
|
+
TooMany: GenericPalletError;
|
|
834
834
|
|
|
835
835
|
/**
|
|
836
836
|
* Proxy registration not found.
|
|
837
837
|
**/
|
|
838
|
-
NotFound: GenericPalletError
|
|
838
|
+
NotFound: GenericPalletError;
|
|
839
839
|
|
|
840
840
|
/**
|
|
841
841
|
* Sender is not a proxy of the account to be proxied.
|
|
842
842
|
**/
|
|
843
|
-
NotProxy: GenericPalletError
|
|
843
|
+
NotProxy: GenericPalletError;
|
|
844
844
|
|
|
845
845
|
/**
|
|
846
846
|
* A call which is incompatible with the proxy type's filter was attempted.
|
|
847
847
|
**/
|
|
848
|
-
Unproxyable: GenericPalletError
|
|
848
|
+
Unproxyable: GenericPalletError;
|
|
849
849
|
|
|
850
850
|
/**
|
|
851
851
|
* Account is already a proxy.
|
|
852
852
|
**/
|
|
853
|
-
Duplicate: GenericPalletError
|
|
853
|
+
Duplicate: GenericPalletError;
|
|
854
854
|
|
|
855
855
|
/**
|
|
856
856
|
* Call may not be made by proxy because it may escalate its privileges.
|
|
857
857
|
**/
|
|
858
|
-
NoPermission: GenericPalletError
|
|
858
|
+
NoPermission: GenericPalletError;
|
|
859
859
|
|
|
860
860
|
/**
|
|
861
861
|
* Announcement, if made at all, was made too recently.
|
|
862
862
|
**/
|
|
863
|
-
Unannounced: GenericPalletError
|
|
863
|
+
Unannounced: GenericPalletError;
|
|
864
864
|
|
|
865
865
|
/**
|
|
866
866
|
* Cannot add self as proxy.
|
|
867
867
|
**/
|
|
868
|
-
NoSelfProxy: GenericPalletError
|
|
868
|
+
NoSelfProxy: GenericPalletError;
|
|
869
869
|
|
|
870
870
|
/**
|
|
871
871
|
* Generic pallet error
|
|
872
872
|
**/
|
|
873
|
-
[error: string]: GenericPalletError
|
|
873
|
+
[error: string]: GenericPalletError;
|
|
874
874
|
};
|
|
875
875
|
/**
|
|
876
876
|
* Pallet `RemoteProxyRelayChain`'s errors
|
|
@@ -879,42 +879,42 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
879
879
|
/**
|
|
880
880
|
* The local account id could not converted to the remote account id.
|
|
881
881
|
**/
|
|
882
|
-
CouldNotConvertLocalToRemoteAccountId: GenericPalletError
|
|
882
|
+
CouldNotConvertLocalToRemoteAccountId: GenericPalletError;
|
|
883
883
|
|
|
884
884
|
/**
|
|
885
885
|
* The anchor block of the remote proof is unknown.
|
|
886
886
|
**/
|
|
887
|
-
UnknownProofAnchorBlock: GenericPalletError
|
|
887
|
+
UnknownProofAnchorBlock: GenericPalletError;
|
|
888
888
|
|
|
889
889
|
/**
|
|
890
890
|
* The proxy definition could not be found in the proof.
|
|
891
891
|
**/
|
|
892
|
-
InvalidProof: GenericPalletError
|
|
892
|
+
InvalidProof: GenericPalletError;
|
|
893
893
|
|
|
894
894
|
/**
|
|
895
895
|
* Failed to decode the remote proxy definition from the proof.
|
|
896
896
|
**/
|
|
897
|
-
ProxyDefinitionDecodingFailed: GenericPalletError
|
|
897
|
+
ProxyDefinitionDecodingFailed: GenericPalletError;
|
|
898
898
|
|
|
899
899
|
/**
|
|
900
900
|
* Announcement, if made at all, was made too recently.
|
|
901
901
|
**/
|
|
902
|
-
Unannounced: GenericPalletError
|
|
902
|
+
Unannounced: GenericPalletError;
|
|
903
903
|
|
|
904
904
|
/**
|
|
905
905
|
* Could not find any matching proxy definition in the proof.
|
|
906
906
|
**/
|
|
907
|
-
DidNotFindMatchingProxyDefinition: GenericPalletError
|
|
907
|
+
DidNotFindMatchingProxyDefinition: GenericPalletError;
|
|
908
908
|
|
|
909
909
|
/**
|
|
910
910
|
* Proxy proof not registered.
|
|
911
911
|
**/
|
|
912
|
-
ProxyProofNotRegistered: GenericPalletError
|
|
912
|
+
ProxyProofNotRegistered: GenericPalletError;
|
|
913
913
|
|
|
914
914
|
/**
|
|
915
915
|
* Generic pallet error
|
|
916
916
|
**/
|
|
917
|
-
[error: string]: GenericPalletError
|
|
917
|
+
[error: string]: GenericPalletError;
|
|
918
918
|
};
|
|
919
919
|
/**
|
|
920
920
|
* Pallet `Indices`'s errors
|
|
@@ -923,32 +923,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
923
923
|
/**
|
|
924
924
|
* The index was not already assigned.
|
|
925
925
|
**/
|
|
926
|
-
NotAssigned: GenericPalletError
|
|
926
|
+
NotAssigned: GenericPalletError;
|
|
927
927
|
|
|
928
928
|
/**
|
|
929
929
|
* The index is assigned to another account.
|
|
930
930
|
**/
|
|
931
|
-
NotOwner: GenericPalletError
|
|
931
|
+
NotOwner: GenericPalletError;
|
|
932
932
|
|
|
933
933
|
/**
|
|
934
934
|
* The index was not available.
|
|
935
935
|
**/
|
|
936
|
-
InUse: GenericPalletError
|
|
936
|
+
InUse: GenericPalletError;
|
|
937
937
|
|
|
938
938
|
/**
|
|
939
939
|
* The source and destination accounts are identical.
|
|
940
940
|
**/
|
|
941
|
-
NotTransfer: GenericPalletError
|
|
941
|
+
NotTransfer: GenericPalletError;
|
|
942
942
|
|
|
943
943
|
/**
|
|
944
944
|
* The index is permanent and may not be freed/changed.
|
|
945
945
|
**/
|
|
946
|
-
Permanent: GenericPalletError
|
|
946
|
+
Permanent: GenericPalletError;
|
|
947
947
|
|
|
948
948
|
/**
|
|
949
949
|
* Generic pallet error
|
|
950
950
|
**/
|
|
951
|
-
[error: string]: GenericPalletError
|
|
951
|
+
[error: string]: GenericPalletError;
|
|
952
952
|
};
|
|
953
953
|
/**
|
|
954
954
|
* Pallet `Assets`'s errors
|
|
@@ -957,125 +957,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
957
957
|
/**
|
|
958
958
|
* Account balance must be greater than or equal to the transfer amount.
|
|
959
959
|
**/
|
|
960
|
-
BalanceLow: GenericPalletError
|
|
960
|
+
BalanceLow: GenericPalletError;
|
|
961
961
|
|
|
962
962
|
/**
|
|
963
963
|
* The account to alter does not exist.
|
|
964
964
|
**/
|
|
965
|
-
NoAccount: GenericPalletError
|
|
965
|
+
NoAccount: GenericPalletError;
|
|
966
966
|
|
|
967
967
|
/**
|
|
968
968
|
* The signing account has no permission to do the operation.
|
|
969
969
|
**/
|
|
970
|
-
NoPermission: GenericPalletError
|
|
970
|
+
NoPermission: GenericPalletError;
|
|
971
971
|
|
|
972
972
|
/**
|
|
973
973
|
* The given asset ID is unknown.
|
|
974
974
|
**/
|
|
975
|
-
Unknown: GenericPalletError
|
|
975
|
+
Unknown: GenericPalletError;
|
|
976
976
|
|
|
977
977
|
/**
|
|
978
978
|
* The origin account is frozen.
|
|
979
979
|
**/
|
|
980
|
-
Frozen: GenericPalletError
|
|
980
|
+
Frozen: GenericPalletError;
|
|
981
981
|
|
|
982
982
|
/**
|
|
983
983
|
* The asset ID is already taken.
|
|
984
984
|
**/
|
|
985
|
-
InUse: GenericPalletError
|
|
985
|
+
InUse: GenericPalletError;
|
|
986
986
|
|
|
987
987
|
/**
|
|
988
988
|
* Invalid witness data given.
|
|
989
989
|
**/
|
|
990
|
-
BadWitness: GenericPalletError
|
|
990
|
+
BadWitness: GenericPalletError;
|
|
991
991
|
|
|
992
992
|
/**
|
|
993
993
|
* Minimum balance should be non-zero.
|
|
994
994
|
**/
|
|
995
|
-
MinBalanceZero: GenericPalletError
|
|
995
|
+
MinBalanceZero: GenericPalletError;
|
|
996
996
|
|
|
997
997
|
/**
|
|
998
998
|
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
999
999
|
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1000
1000
|
* fewer then the maximum number of consumers has been reached.
|
|
1001
1001
|
**/
|
|
1002
|
-
UnavailableConsumer: GenericPalletError
|
|
1002
|
+
UnavailableConsumer: GenericPalletError;
|
|
1003
1003
|
|
|
1004
1004
|
/**
|
|
1005
1005
|
* Invalid metadata given.
|
|
1006
1006
|
**/
|
|
1007
|
-
BadMetadata: GenericPalletError
|
|
1007
|
+
BadMetadata: GenericPalletError;
|
|
1008
1008
|
|
|
1009
1009
|
/**
|
|
1010
1010
|
* No approval exists that would allow the transfer.
|
|
1011
1011
|
**/
|
|
1012
|
-
Unapproved: GenericPalletError
|
|
1012
|
+
Unapproved: GenericPalletError;
|
|
1013
1013
|
|
|
1014
1014
|
/**
|
|
1015
1015
|
* The source account would not survive the transfer and it needs to stay alive.
|
|
1016
1016
|
**/
|
|
1017
|
-
WouldDie: GenericPalletError
|
|
1017
|
+
WouldDie: GenericPalletError;
|
|
1018
1018
|
|
|
1019
1019
|
/**
|
|
1020
1020
|
* The asset-account already exists.
|
|
1021
1021
|
**/
|
|
1022
|
-
AlreadyExists: GenericPalletError
|
|
1022
|
+
AlreadyExists: GenericPalletError;
|
|
1023
1023
|
|
|
1024
1024
|
/**
|
|
1025
1025
|
* The asset-account doesn't have an associated deposit.
|
|
1026
1026
|
**/
|
|
1027
|
-
NoDeposit: GenericPalletError
|
|
1027
|
+
NoDeposit: GenericPalletError;
|
|
1028
1028
|
|
|
1029
1029
|
/**
|
|
1030
1030
|
* The operation would result in funds being burned.
|
|
1031
1031
|
**/
|
|
1032
|
-
WouldBurn: GenericPalletError
|
|
1032
|
+
WouldBurn: GenericPalletError;
|
|
1033
1033
|
|
|
1034
1034
|
/**
|
|
1035
1035
|
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
1036
1036
|
* as `start_destroy` which require the asset to be in a destroying state.
|
|
1037
1037
|
**/
|
|
1038
|
-
LiveAsset: GenericPalletError
|
|
1038
|
+
LiveAsset: GenericPalletError;
|
|
1039
1039
|
|
|
1040
1040
|
/**
|
|
1041
1041
|
* The asset is not live, and likely being destroyed.
|
|
1042
1042
|
**/
|
|
1043
|
-
AssetNotLive: GenericPalletError
|
|
1043
|
+
AssetNotLive: GenericPalletError;
|
|
1044
1044
|
|
|
1045
1045
|
/**
|
|
1046
1046
|
* The asset status is not the expected status.
|
|
1047
1047
|
**/
|
|
1048
|
-
IncorrectStatus: GenericPalletError
|
|
1048
|
+
IncorrectStatus: GenericPalletError;
|
|
1049
1049
|
|
|
1050
1050
|
/**
|
|
1051
1051
|
* The asset should be frozen before the given operation.
|
|
1052
1052
|
**/
|
|
1053
|
-
NotFrozen: GenericPalletError
|
|
1053
|
+
NotFrozen: GenericPalletError;
|
|
1054
1054
|
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Callback action resulted in error
|
|
1057
1057
|
**/
|
|
1058
|
-
CallbackFailed: GenericPalletError
|
|
1058
|
+
CallbackFailed: GenericPalletError;
|
|
1059
1059
|
|
|
1060
1060
|
/**
|
|
1061
1061
|
* The asset ID must be equal to the [`NextAssetId`].
|
|
1062
1062
|
**/
|
|
1063
|
-
BadAssetId: GenericPalletError
|
|
1063
|
+
BadAssetId: GenericPalletError;
|
|
1064
1064
|
|
|
1065
1065
|
/**
|
|
1066
1066
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1067
1067
|
**/
|
|
1068
|
-
ContainsFreezes: GenericPalletError
|
|
1068
|
+
ContainsFreezes: GenericPalletError;
|
|
1069
1069
|
|
|
1070
1070
|
/**
|
|
1071
1071
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1072
1072
|
**/
|
|
1073
|
-
ContainsHolds: GenericPalletError
|
|
1073
|
+
ContainsHolds: GenericPalletError;
|
|
1074
1074
|
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Generic pallet error
|
|
1077
1077
|
**/
|
|
1078
|
-
[error: string]: GenericPalletError
|
|
1078
|
+
[error: string]: GenericPalletError;
|
|
1079
1079
|
};
|
|
1080
1080
|
/**
|
|
1081
1081
|
* Pallet `Uniques`'s errors
|
|
@@ -1084,117 +1084,117 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1084
1084
|
/**
|
|
1085
1085
|
* The signing account has no permission to do the operation.
|
|
1086
1086
|
**/
|
|
1087
|
-
NoPermission: GenericPalletError
|
|
1087
|
+
NoPermission: GenericPalletError;
|
|
1088
1088
|
|
|
1089
1089
|
/**
|
|
1090
1090
|
* The given item ID is unknown.
|
|
1091
1091
|
**/
|
|
1092
|
-
UnknownCollection: GenericPalletError
|
|
1092
|
+
UnknownCollection: GenericPalletError;
|
|
1093
1093
|
|
|
1094
1094
|
/**
|
|
1095
1095
|
* The item ID has already been used for an item.
|
|
1096
1096
|
**/
|
|
1097
|
-
AlreadyExists: GenericPalletError
|
|
1097
|
+
AlreadyExists: GenericPalletError;
|
|
1098
1098
|
|
|
1099
1099
|
/**
|
|
1100
1100
|
* The owner turned out to be different to what was expected.
|
|
1101
1101
|
**/
|
|
1102
|
-
WrongOwner: GenericPalletError
|
|
1102
|
+
WrongOwner: GenericPalletError;
|
|
1103
1103
|
|
|
1104
1104
|
/**
|
|
1105
1105
|
* Invalid witness data given.
|
|
1106
1106
|
**/
|
|
1107
|
-
BadWitness: GenericPalletError
|
|
1107
|
+
BadWitness: GenericPalletError;
|
|
1108
1108
|
|
|
1109
1109
|
/**
|
|
1110
1110
|
* The item ID is already taken.
|
|
1111
1111
|
**/
|
|
1112
|
-
InUse: GenericPalletError
|
|
1112
|
+
InUse: GenericPalletError;
|
|
1113
1113
|
|
|
1114
1114
|
/**
|
|
1115
1115
|
* The item or collection is frozen.
|
|
1116
1116
|
**/
|
|
1117
|
-
Frozen: GenericPalletError
|
|
1117
|
+
Frozen: GenericPalletError;
|
|
1118
1118
|
|
|
1119
1119
|
/**
|
|
1120
1120
|
* The delegate turned out to be different to what was expected.
|
|
1121
1121
|
**/
|
|
1122
|
-
WrongDelegate: GenericPalletError
|
|
1122
|
+
WrongDelegate: GenericPalletError;
|
|
1123
1123
|
|
|
1124
1124
|
/**
|
|
1125
1125
|
* There is no delegate approved.
|
|
1126
1126
|
**/
|
|
1127
|
-
NoDelegate: GenericPalletError
|
|
1127
|
+
NoDelegate: GenericPalletError;
|
|
1128
1128
|
|
|
1129
1129
|
/**
|
|
1130
1130
|
* No approval exists that would allow the transfer.
|
|
1131
1131
|
**/
|
|
1132
|
-
Unapproved: GenericPalletError
|
|
1132
|
+
Unapproved: GenericPalletError;
|
|
1133
1133
|
|
|
1134
1134
|
/**
|
|
1135
1135
|
* The named owner has not signed ownership of the collection is acceptable.
|
|
1136
1136
|
**/
|
|
1137
|
-
Unaccepted: GenericPalletError
|
|
1137
|
+
Unaccepted: GenericPalletError;
|
|
1138
1138
|
|
|
1139
1139
|
/**
|
|
1140
1140
|
* The item is locked.
|
|
1141
1141
|
**/
|
|
1142
|
-
Locked: GenericPalletError
|
|
1142
|
+
Locked: GenericPalletError;
|
|
1143
1143
|
|
|
1144
1144
|
/**
|
|
1145
1145
|
* All items have been minted.
|
|
1146
1146
|
**/
|
|
1147
|
-
MaxSupplyReached: GenericPalletError
|
|
1147
|
+
MaxSupplyReached: GenericPalletError;
|
|
1148
1148
|
|
|
1149
1149
|
/**
|
|
1150
1150
|
* The max supply has already been set.
|
|
1151
1151
|
**/
|
|
1152
|
-
MaxSupplyAlreadySet: GenericPalletError
|
|
1152
|
+
MaxSupplyAlreadySet: GenericPalletError;
|
|
1153
1153
|
|
|
1154
1154
|
/**
|
|
1155
1155
|
* The provided max supply is less to the amount of items a collection already has.
|
|
1156
1156
|
**/
|
|
1157
|
-
MaxSupplyTooSmall: GenericPalletError
|
|
1157
|
+
MaxSupplyTooSmall: GenericPalletError;
|
|
1158
1158
|
|
|
1159
1159
|
/**
|
|
1160
1160
|
* The given item ID is unknown.
|
|
1161
1161
|
**/
|
|
1162
|
-
UnknownItem: GenericPalletError
|
|
1162
|
+
UnknownItem: GenericPalletError;
|
|
1163
1163
|
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Item is not for sale.
|
|
1166
1166
|
**/
|
|
1167
|
-
NotForSale: GenericPalletError
|
|
1167
|
+
NotForSale: GenericPalletError;
|
|
1168
1168
|
|
|
1169
1169
|
/**
|
|
1170
1170
|
* The provided bid is too low.
|
|
1171
1171
|
**/
|
|
1172
|
-
BidTooLow: GenericPalletError
|
|
1172
|
+
BidTooLow: GenericPalletError;
|
|
1173
1173
|
|
|
1174
1174
|
/**
|
|
1175
1175
|
* No metadata is found.
|
|
1176
1176
|
**/
|
|
1177
|
-
NoMetadata: GenericPalletError
|
|
1177
|
+
NoMetadata: GenericPalletError;
|
|
1178
1178
|
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Wrong metadata key/value bytes supplied.
|
|
1181
1181
|
**/
|
|
1182
|
-
WrongMetadata: GenericPalletError
|
|
1182
|
+
WrongMetadata: GenericPalletError;
|
|
1183
1183
|
|
|
1184
1184
|
/**
|
|
1185
1185
|
* An attribute is not found.
|
|
1186
1186
|
**/
|
|
1187
|
-
AttributeNotFound: GenericPalletError
|
|
1187
|
+
AttributeNotFound: GenericPalletError;
|
|
1188
1188
|
|
|
1189
1189
|
/**
|
|
1190
1190
|
* Wrong attribute key/value bytes supplied.
|
|
1191
1191
|
**/
|
|
1192
|
-
WrongAttribute: GenericPalletError
|
|
1192
|
+
WrongAttribute: GenericPalletError;
|
|
1193
1193
|
|
|
1194
1194
|
/**
|
|
1195
1195
|
* Generic pallet error
|
|
1196
1196
|
**/
|
|
1197
|
-
[error: string]: GenericPalletError
|
|
1197
|
+
[error: string]: GenericPalletError;
|
|
1198
1198
|
};
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Pallet `Nfts`'s errors
|
|
@@ -1203,232 +1203,232 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1203
1203
|
/**
|
|
1204
1204
|
* The signing account has no permission to do the operation.
|
|
1205
1205
|
**/
|
|
1206
|
-
NoPermission: GenericPalletError
|
|
1206
|
+
NoPermission: GenericPalletError;
|
|
1207
1207
|
|
|
1208
1208
|
/**
|
|
1209
1209
|
* The given item ID is unknown.
|
|
1210
1210
|
**/
|
|
1211
|
-
UnknownCollection: GenericPalletError
|
|
1211
|
+
UnknownCollection: GenericPalletError;
|
|
1212
1212
|
|
|
1213
1213
|
/**
|
|
1214
1214
|
* The item ID has already been used for an item.
|
|
1215
1215
|
**/
|
|
1216
|
-
AlreadyExists: GenericPalletError
|
|
1216
|
+
AlreadyExists: GenericPalletError;
|
|
1217
1217
|
|
|
1218
1218
|
/**
|
|
1219
1219
|
* The approval had a deadline that expired, so the approval isn't valid anymore.
|
|
1220
1220
|
**/
|
|
1221
|
-
ApprovalExpired: GenericPalletError
|
|
1221
|
+
ApprovalExpired: GenericPalletError;
|
|
1222
1222
|
|
|
1223
1223
|
/**
|
|
1224
1224
|
* The owner turned out to be different to what was expected.
|
|
1225
1225
|
**/
|
|
1226
|
-
WrongOwner: GenericPalletError
|
|
1226
|
+
WrongOwner: GenericPalletError;
|
|
1227
1227
|
|
|
1228
1228
|
/**
|
|
1229
1229
|
* The witness data given does not match the current state of the chain.
|
|
1230
1230
|
**/
|
|
1231
|
-
BadWitness: GenericPalletError
|
|
1231
|
+
BadWitness: GenericPalletError;
|
|
1232
1232
|
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Collection ID is already taken.
|
|
1235
1235
|
**/
|
|
1236
|
-
CollectionIdInUse: GenericPalletError
|
|
1236
|
+
CollectionIdInUse: GenericPalletError;
|
|
1237
1237
|
|
|
1238
1238
|
/**
|
|
1239
1239
|
* Items within that collection are non-transferable.
|
|
1240
1240
|
**/
|
|
1241
|
-
ItemsNonTransferable: GenericPalletError
|
|
1241
|
+
ItemsNonTransferable: GenericPalletError;
|
|
1242
1242
|
|
|
1243
1243
|
/**
|
|
1244
1244
|
* The provided account is not a delegate.
|
|
1245
1245
|
**/
|
|
1246
|
-
NotDelegate: GenericPalletError
|
|
1246
|
+
NotDelegate: GenericPalletError;
|
|
1247
1247
|
|
|
1248
1248
|
/**
|
|
1249
1249
|
* The delegate turned out to be different to what was expected.
|
|
1250
1250
|
**/
|
|
1251
|
-
WrongDelegate: GenericPalletError
|
|
1251
|
+
WrongDelegate: GenericPalletError;
|
|
1252
1252
|
|
|
1253
1253
|
/**
|
|
1254
1254
|
* No approval exists that would allow the transfer.
|
|
1255
1255
|
**/
|
|
1256
|
-
Unapproved: GenericPalletError
|
|
1256
|
+
Unapproved: GenericPalletError;
|
|
1257
1257
|
|
|
1258
1258
|
/**
|
|
1259
1259
|
* The named owner has not signed ownership acceptance of the collection.
|
|
1260
1260
|
**/
|
|
1261
|
-
Unaccepted: GenericPalletError
|
|
1261
|
+
Unaccepted: GenericPalletError;
|
|
1262
1262
|
|
|
1263
1263
|
/**
|
|
1264
1264
|
* The item is locked (non-transferable).
|
|
1265
1265
|
**/
|
|
1266
|
-
ItemLocked: GenericPalletError
|
|
1266
|
+
ItemLocked: GenericPalletError;
|
|
1267
1267
|
|
|
1268
1268
|
/**
|
|
1269
1269
|
* Item's attributes are locked.
|
|
1270
1270
|
**/
|
|
1271
|
-
LockedItemAttributes: GenericPalletError
|
|
1271
|
+
LockedItemAttributes: GenericPalletError;
|
|
1272
1272
|
|
|
1273
1273
|
/**
|
|
1274
1274
|
* Collection's attributes are locked.
|
|
1275
1275
|
**/
|
|
1276
|
-
LockedCollectionAttributes: GenericPalletError
|
|
1276
|
+
LockedCollectionAttributes: GenericPalletError;
|
|
1277
1277
|
|
|
1278
1278
|
/**
|
|
1279
1279
|
* Item's metadata is locked.
|
|
1280
1280
|
**/
|
|
1281
|
-
LockedItemMetadata: GenericPalletError
|
|
1281
|
+
LockedItemMetadata: GenericPalletError;
|
|
1282
1282
|
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Collection's metadata is locked.
|
|
1285
1285
|
**/
|
|
1286
|
-
LockedCollectionMetadata: GenericPalletError
|
|
1286
|
+
LockedCollectionMetadata: GenericPalletError;
|
|
1287
1287
|
|
|
1288
1288
|
/**
|
|
1289
1289
|
* All items have been minted.
|
|
1290
1290
|
**/
|
|
1291
|
-
MaxSupplyReached: GenericPalletError
|
|
1291
|
+
MaxSupplyReached: GenericPalletError;
|
|
1292
1292
|
|
|
1293
1293
|
/**
|
|
1294
1294
|
* The max supply is locked and can't be changed.
|
|
1295
1295
|
**/
|
|
1296
|
-
MaxSupplyLocked: GenericPalletError
|
|
1296
|
+
MaxSupplyLocked: GenericPalletError;
|
|
1297
1297
|
|
|
1298
1298
|
/**
|
|
1299
1299
|
* The provided max supply is less than the number of items a collection already has.
|
|
1300
1300
|
**/
|
|
1301
|
-
MaxSupplyTooSmall: GenericPalletError
|
|
1301
|
+
MaxSupplyTooSmall: GenericPalletError;
|
|
1302
1302
|
|
|
1303
1303
|
/**
|
|
1304
1304
|
* The given item ID is unknown.
|
|
1305
1305
|
**/
|
|
1306
|
-
UnknownItem: GenericPalletError
|
|
1306
|
+
UnknownItem: GenericPalletError;
|
|
1307
1307
|
|
|
1308
1308
|
/**
|
|
1309
1309
|
* Swap doesn't exist.
|
|
1310
1310
|
**/
|
|
1311
|
-
UnknownSwap: GenericPalletError
|
|
1311
|
+
UnknownSwap: GenericPalletError;
|
|
1312
1312
|
|
|
1313
1313
|
/**
|
|
1314
1314
|
* The given item has no metadata set.
|
|
1315
1315
|
**/
|
|
1316
|
-
MetadataNotFound: GenericPalletError
|
|
1316
|
+
MetadataNotFound: GenericPalletError;
|
|
1317
1317
|
|
|
1318
1318
|
/**
|
|
1319
1319
|
* The provided attribute can't be found.
|
|
1320
1320
|
**/
|
|
1321
|
-
AttributeNotFound: GenericPalletError
|
|
1321
|
+
AttributeNotFound: GenericPalletError;
|
|
1322
1322
|
|
|
1323
1323
|
/**
|
|
1324
1324
|
* Item is not for sale.
|
|
1325
1325
|
**/
|
|
1326
|
-
NotForSale: GenericPalletError
|
|
1326
|
+
NotForSale: GenericPalletError;
|
|
1327
1327
|
|
|
1328
1328
|
/**
|
|
1329
1329
|
* The provided bid is too low.
|
|
1330
1330
|
**/
|
|
1331
|
-
BidTooLow: GenericPalletError
|
|
1331
|
+
BidTooLow: GenericPalletError;
|
|
1332
1332
|
|
|
1333
1333
|
/**
|
|
1334
1334
|
* The item has reached its approval limit.
|
|
1335
1335
|
**/
|
|
1336
|
-
ReachedApprovalLimit: GenericPalletError
|
|
1336
|
+
ReachedApprovalLimit: GenericPalletError;
|
|
1337
1337
|
|
|
1338
1338
|
/**
|
|
1339
1339
|
* The deadline has already expired.
|
|
1340
1340
|
**/
|
|
1341
|
-
DeadlineExpired: GenericPalletError
|
|
1341
|
+
DeadlineExpired: GenericPalletError;
|
|
1342
1342
|
|
|
1343
1343
|
/**
|
|
1344
1344
|
* The duration provided should be less than or equal to `MaxDeadlineDuration`.
|
|
1345
1345
|
**/
|
|
1346
|
-
WrongDuration: GenericPalletError
|
|
1346
|
+
WrongDuration: GenericPalletError;
|
|
1347
1347
|
|
|
1348
1348
|
/**
|
|
1349
1349
|
* The method is disabled by system settings.
|
|
1350
1350
|
**/
|
|
1351
|
-
MethodDisabled: GenericPalletError
|
|
1351
|
+
MethodDisabled: GenericPalletError;
|
|
1352
1352
|
|
|
1353
1353
|
/**
|
|
1354
1354
|
* The provided setting can't be set.
|
|
1355
1355
|
**/
|
|
1356
|
-
WrongSetting: GenericPalletError
|
|
1356
|
+
WrongSetting: GenericPalletError;
|
|
1357
1357
|
|
|
1358
1358
|
/**
|
|
1359
1359
|
* Item's config already exists and should be equal to the provided one.
|
|
1360
1360
|
**/
|
|
1361
|
-
InconsistentItemConfig: GenericPalletError
|
|
1361
|
+
InconsistentItemConfig: GenericPalletError;
|
|
1362
1362
|
|
|
1363
1363
|
/**
|
|
1364
1364
|
* Config for a collection or an item can't be found.
|
|
1365
1365
|
**/
|
|
1366
|
-
NoConfig: GenericPalletError
|
|
1366
|
+
NoConfig: GenericPalletError;
|
|
1367
1367
|
|
|
1368
1368
|
/**
|
|
1369
1369
|
* Some roles were not cleared.
|
|
1370
1370
|
**/
|
|
1371
|
-
RolesNotCleared: GenericPalletError
|
|
1371
|
+
RolesNotCleared: GenericPalletError;
|
|
1372
1372
|
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Mint has not started yet.
|
|
1375
1375
|
**/
|
|
1376
|
-
MintNotStarted: GenericPalletError
|
|
1376
|
+
MintNotStarted: GenericPalletError;
|
|
1377
1377
|
|
|
1378
1378
|
/**
|
|
1379
1379
|
* Mint has already ended.
|
|
1380
1380
|
**/
|
|
1381
|
-
MintEnded: GenericPalletError
|
|
1381
|
+
MintEnded: GenericPalletError;
|
|
1382
1382
|
|
|
1383
1383
|
/**
|
|
1384
1384
|
* The provided Item was already used for claiming.
|
|
1385
1385
|
**/
|
|
1386
|
-
AlreadyClaimed: GenericPalletError
|
|
1386
|
+
AlreadyClaimed: GenericPalletError;
|
|
1387
1387
|
|
|
1388
1388
|
/**
|
|
1389
1389
|
* The provided data is incorrect.
|
|
1390
1390
|
**/
|
|
1391
|
-
IncorrectData: GenericPalletError
|
|
1391
|
+
IncorrectData: GenericPalletError;
|
|
1392
1392
|
|
|
1393
1393
|
/**
|
|
1394
1394
|
* The extrinsic was sent by the wrong origin.
|
|
1395
1395
|
**/
|
|
1396
|
-
WrongOrigin: GenericPalletError
|
|
1396
|
+
WrongOrigin: GenericPalletError;
|
|
1397
1397
|
|
|
1398
1398
|
/**
|
|
1399
1399
|
* The provided signature is incorrect.
|
|
1400
1400
|
**/
|
|
1401
|
-
WrongSignature: GenericPalletError
|
|
1401
|
+
WrongSignature: GenericPalletError;
|
|
1402
1402
|
|
|
1403
1403
|
/**
|
|
1404
1404
|
* The provided metadata might be too long.
|
|
1405
1405
|
**/
|
|
1406
|
-
IncorrectMetadata: GenericPalletError
|
|
1406
|
+
IncorrectMetadata: GenericPalletError;
|
|
1407
1407
|
|
|
1408
1408
|
/**
|
|
1409
1409
|
* Can't set more attributes per one call.
|
|
1410
1410
|
**/
|
|
1411
|
-
MaxAttributesLimitReached: GenericPalletError
|
|
1411
|
+
MaxAttributesLimitReached: GenericPalletError;
|
|
1412
1412
|
|
|
1413
1413
|
/**
|
|
1414
1414
|
* The provided namespace isn't supported in this call.
|
|
1415
1415
|
**/
|
|
1416
|
-
WrongNamespace: GenericPalletError
|
|
1416
|
+
WrongNamespace: GenericPalletError;
|
|
1417
1417
|
|
|
1418
1418
|
/**
|
|
1419
1419
|
* Can't delete non-empty collections.
|
|
1420
1420
|
**/
|
|
1421
|
-
CollectionNotEmpty: GenericPalletError
|
|
1421
|
+
CollectionNotEmpty: GenericPalletError;
|
|
1422
1422
|
|
|
1423
1423
|
/**
|
|
1424
1424
|
* The witness data should be provided.
|
|
1425
1425
|
**/
|
|
1426
|
-
WitnessRequired: GenericPalletError
|
|
1426
|
+
WitnessRequired: GenericPalletError;
|
|
1427
1427
|
|
|
1428
1428
|
/**
|
|
1429
1429
|
* Generic pallet error
|
|
1430
1430
|
**/
|
|
1431
|
-
[error: string]: GenericPalletError
|
|
1431
|
+
[error: string]: GenericPalletError;
|
|
1432
1432
|
};
|
|
1433
1433
|
/**
|
|
1434
1434
|
* Pallet `ForeignAssets`'s errors
|
|
@@ -1437,125 +1437,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1437
1437
|
/**
|
|
1438
1438
|
* Account balance must be greater than or equal to the transfer amount.
|
|
1439
1439
|
**/
|
|
1440
|
-
BalanceLow: GenericPalletError
|
|
1440
|
+
BalanceLow: GenericPalletError;
|
|
1441
1441
|
|
|
1442
1442
|
/**
|
|
1443
1443
|
* The account to alter does not exist.
|
|
1444
1444
|
**/
|
|
1445
|
-
NoAccount: GenericPalletError
|
|
1445
|
+
NoAccount: GenericPalletError;
|
|
1446
1446
|
|
|
1447
1447
|
/**
|
|
1448
1448
|
* The signing account has no permission to do the operation.
|
|
1449
1449
|
**/
|
|
1450
|
-
NoPermission: GenericPalletError
|
|
1450
|
+
NoPermission: GenericPalletError;
|
|
1451
1451
|
|
|
1452
1452
|
/**
|
|
1453
1453
|
* The given asset ID is unknown.
|
|
1454
1454
|
**/
|
|
1455
|
-
Unknown: GenericPalletError
|
|
1455
|
+
Unknown: GenericPalletError;
|
|
1456
1456
|
|
|
1457
1457
|
/**
|
|
1458
1458
|
* The origin account is frozen.
|
|
1459
1459
|
**/
|
|
1460
|
-
Frozen: GenericPalletError
|
|
1460
|
+
Frozen: GenericPalletError;
|
|
1461
1461
|
|
|
1462
1462
|
/**
|
|
1463
1463
|
* The asset ID is already taken.
|
|
1464
1464
|
**/
|
|
1465
|
-
InUse: GenericPalletError
|
|
1465
|
+
InUse: GenericPalletError;
|
|
1466
1466
|
|
|
1467
1467
|
/**
|
|
1468
1468
|
* Invalid witness data given.
|
|
1469
1469
|
**/
|
|
1470
|
-
BadWitness: GenericPalletError
|
|
1470
|
+
BadWitness: GenericPalletError;
|
|
1471
1471
|
|
|
1472
1472
|
/**
|
|
1473
1473
|
* Minimum balance should be non-zero.
|
|
1474
1474
|
**/
|
|
1475
|
-
MinBalanceZero: GenericPalletError
|
|
1475
|
+
MinBalanceZero: GenericPalletError;
|
|
1476
1476
|
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
1479
1479
|
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1480
1480
|
* fewer then the maximum number of consumers has been reached.
|
|
1481
1481
|
**/
|
|
1482
|
-
UnavailableConsumer: GenericPalletError
|
|
1482
|
+
UnavailableConsumer: GenericPalletError;
|
|
1483
1483
|
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Invalid metadata given.
|
|
1486
1486
|
**/
|
|
1487
|
-
BadMetadata: GenericPalletError
|
|
1487
|
+
BadMetadata: GenericPalletError;
|
|
1488
1488
|
|
|
1489
1489
|
/**
|
|
1490
1490
|
* No approval exists that would allow the transfer.
|
|
1491
1491
|
**/
|
|
1492
|
-
Unapproved: GenericPalletError
|
|
1492
|
+
Unapproved: GenericPalletError;
|
|
1493
1493
|
|
|
1494
1494
|
/**
|
|
1495
1495
|
* The source account would not survive the transfer and it needs to stay alive.
|
|
1496
1496
|
**/
|
|
1497
|
-
WouldDie: GenericPalletError
|
|
1497
|
+
WouldDie: GenericPalletError;
|
|
1498
1498
|
|
|
1499
1499
|
/**
|
|
1500
1500
|
* The asset-account already exists.
|
|
1501
1501
|
**/
|
|
1502
|
-
AlreadyExists: GenericPalletError
|
|
1502
|
+
AlreadyExists: GenericPalletError;
|
|
1503
1503
|
|
|
1504
1504
|
/**
|
|
1505
1505
|
* The asset-account doesn't have an associated deposit.
|
|
1506
1506
|
**/
|
|
1507
|
-
NoDeposit: GenericPalletError
|
|
1507
|
+
NoDeposit: GenericPalletError;
|
|
1508
1508
|
|
|
1509
1509
|
/**
|
|
1510
1510
|
* The operation would result in funds being burned.
|
|
1511
1511
|
**/
|
|
1512
|
-
WouldBurn: GenericPalletError
|
|
1512
|
+
WouldBurn: GenericPalletError;
|
|
1513
1513
|
|
|
1514
1514
|
/**
|
|
1515
1515
|
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
1516
1516
|
* as `start_destroy` which require the asset to be in a destroying state.
|
|
1517
1517
|
**/
|
|
1518
|
-
LiveAsset: GenericPalletError
|
|
1518
|
+
LiveAsset: GenericPalletError;
|
|
1519
1519
|
|
|
1520
1520
|
/**
|
|
1521
1521
|
* The asset is not live, and likely being destroyed.
|
|
1522
1522
|
**/
|
|
1523
|
-
AssetNotLive: GenericPalletError
|
|
1523
|
+
AssetNotLive: GenericPalletError;
|
|
1524
1524
|
|
|
1525
1525
|
/**
|
|
1526
1526
|
* The asset status is not the expected status.
|
|
1527
1527
|
**/
|
|
1528
|
-
IncorrectStatus: GenericPalletError
|
|
1528
|
+
IncorrectStatus: GenericPalletError;
|
|
1529
1529
|
|
|
1530
1530
|
/**
|
|
1531
1531
|
* The asset should be frozen before the given operation.
|
|
1532
1532
|
**/
|
|
1533
|
-
NotFrozen: GenericPalletError
|
|
1533
|
+
NotFrozen: GenericPalletError;
|
|
1534
1534
|
|
|
1535
1535
|
/**
|
|
1536
1536
|
* Callback action resulted in error
|
|
1537
1537
|
**/
|
|
1538
|
-
CallbackFailed: GenericPalletError
|
|
1538
|
+
CallbackFailed: GenericPalletError;
|
|
1539
1539
|
|
|
1540
1540
|
/**
|
|
1541
1541
|
* The asset ID must be equal to the [`NextAssetId`].
|
|
1542
1542
|
**/
|
|
1543
|
-
BadAssetId: GenericPalletError
|
|
1543
|
+
BadAssetId: GenericPalletError;
|
|
1544
1544
|
|
|
1545
1545
|
/**
|
|
1546
1546
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1547
1547
|
**/
|
|
1548
|
-
ContainsFreezes: GenericPalletError
|
|
1548
|
+
ContainsFreezes: GenericPalletError;
|
|
1549
1549
|
|
|
1550
1550
|
/**
|
|
1551
1551
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1552
1552
|
**/
|
|
1553
|
-
ContainsHolds: GenericPalletError
|
|
1553
|
+
ContainsHolds: GenericPalletError;
|
|
1554
1554
|
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Generic pallet error
|
|
1557
1557
|
**/
|
|
1558
|
-
[error: string]: GenericPalletError
|
|
1558
|
+
[error: string]: GenericPalletError;
|
|
1559
1559
|
};
|
|
1560
1560
|
/**
|
|
1561
1561
|
* Pallet `NftFractionalization`'s errors
|
|
@@ -1564,27 +1564,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1564
1564
|
/**
|
|
1565
1565
|
* Asset ID does not correspond to locked NFT.
|
|
1566
1566
|
**/
|
|
1567
|
-
IncorrectAssetId: GenericPalletError
|
|
1567
|
+
IncorrectAssetId: GenericPalletError;
|
|
1568
1568
|
|
|
1569
1569
|
/**
|
|
1570
1570
|
* The signing account has no permission to do the operation.
|
|
1571
1571
|
**/
|
|
1572
|
-
NoPermission: GenericPalletError
|
|
1572
|
+
NoPermission: GenericPalletError;
|
|
1573
1573
|
|
|
1574
1574
|
/**
|
|
1575
1575
|
* NFT doesn't exist.
|
|
1576
1576
|
**/
|
|
1577
|
-
NftNotFound: GenericPalletError
|
|
1577
|
+
NftNotFound: GenericPalletError;
|
|
1578
1578
|
|
|
1579
1579
|
/**
|
|
1580
1580
|
* NFT has not yet been fractionalised.
|
|
1581
1581
|
**/
|
|
1582
|
-
NftNotFractionalized: GenericPalletError
|
|
1582
|
+
NftNotFractionalized: GenericPalletError;
|
|
1583
1583
|
|
|
1584
1584
|
/**
|
|
1585
1585
|
* Generic pallet error
|
|
1586
1586
|
**/
|
|
1587
|
-
[error: string]: GenericPalletError
|
|
1587
|
+
[error: string]: GenericPalletError;
|
|
1588
1588
|
};
|
|
1589
1589
|
/**
|
|
1590
1590
|
* Pallet `PoolAssets`'s errors
|
|
@@ -1593,125 +1593,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1593
1593
|
/**
|
|
1594
1594
|
* Account balance must be greater than or equal to the transfer amount.
|
|
1595
1595
|
**/
|
|
1596
|
-
BalanceLow: GenericPalletError
|
|
1596
|
+
BalanceLow: GenericPalletError;
|
|
1597
1597
|
|
|
1598
1598
|
/**
|
|
1599
1599
|
* The account to alter does not exist.
|
|
1600
1600
|
**/
|
|
1601
|
-
NoAccount: GenericPalletError
|
|
1601
|
+
NoAccount: GenericPalletError;
|
|
1602
1602
|
|
|
1603
1603
|
/**
|
|
1604
1604
|
* The signing account has no permission to do the operation.
|
|
1605
1605
|
**/
|
|
1606
|
-
NoPermission: GenericPalletError
|
|
1606
|
+
NoPermission: GenericPalletError;
|
|
1607
1607
|
|
|
1608
1608
|
/**
|
|
1609
1609
|
* The given asset ID is unknown.
|
|
1610
1610
|
**/
|
|
1611
|
-
Unknown: GenericPalletError
|
|
1611
|
+
Unknown: GenericPalletError;
|
|
1612
1612
|
|
|
1613
1613
|
/**
|
|
1614
1614
|
* The origin account is frozen.
|
|
1615
1615
|
**/
|
|
1616
|
-
Frozen: GenericPalletError
|
|
1616
|
+
Frozen: GenericPalletError;
|
|
1617
1617
|
|
|
1618
1618
|
/**
|
|
1619
1619
|
* The asset ID is already taken.
|
|
1620
1620
|
**/
|
|
1621
|
-
InUse: GenericPalletError
|
|
1621
|
+
InUse: GenericPalletError;
|
|
1622
1622
|
|
|
1623
1623
|
/**
|
|
1624
1624
|
* Invalid witness data given.
|
|
1625
1625
|
**/
|
|
1626
|
-
BadWitness: GenericPalletError
|
|
1626
|
+
BadWitness: GenericPalletError;
|
|
1627
1627
|
|
|
1628
1628
|
/**
|
|
1629
1629
|
* Minimum balance should be non-zero.
|
|
1630
1630
|
**/
|
|
1631
|
-
MinBalanceZero: GenericPalletError
|
|
1631
|
+
MinBalanceZero: GenericPalletError;
|
|
1632
1632
|
|
|
1633
1633
|
/**
|
|
1634
1634
|
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
1635
1635
|
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
1636
1636
|
* fewer then the maximum number of consumers has been reached.
|
|
1637
1637
|
**/
|
|
1638
|
-
UnavailableConsumer: GenericPalletError
|
|
1638
|
+
UnavailableConsumer: GenericPalletError;
|
|
1639
1639
|
|
|
1640
1640
|
/**
|
|
1641
1641
|
* Invalid metadata given.
|
|
1642
1642
|
**/
|
|
1643
|
-
BadMetadata: GenericPalletError
|
|
1643
|
+
BadMetadata: GenericPalletError;
|
|
1644
1644
|
|
|
1645
1645
|
/**
|
|
1646
1646
|
* No approval exists that would allow the transfer.
|
|
1647
1647
|
**/
|
|
1648
|
-
Unapproved: GenericPalletError
|
|
1648
|
+
Unapproved: GenericPalletError;
|
|
1649
1649
|
|
|
1650
1650
|
/**
|
|
1651
1651
|
* The source account would not survive the transfer and it needs to stay alive.
|
|
1652
1652
|
**/
|
|
1653
|
-
WouldDie: GenericPalletError
|
|
1653
|
+
WouldDie: GenericPalletError;
|
|
1654
1654
|
|
|
1655
1655
|
/**
|
|
1656
1656
|
* The asset-account already exists.
|
|
1657
1657
|
**/
|
|
1658
|
-
AlreadyExists: GenericPalletError
|
|
1658
|
+
AlreadyExists: GenericPalletError;
|
|
1659
1659
|
|
|
1660
1660
|
/**
|
|
1661
1661
|
* The asset-account doesn't have an associated deposit.
|
|
1662
1662
|
**/
|
|
1663
|
-
NoDeposit: GenericPalletError
|
|
1663
|
+
NoDeposit: GenericPalletError;
|
|
1664
1664
|
|
|
1665
1665
|
/**
|
|
1666
1666
|
* The operation would result in funds being burned.
|
|
1667
1667
|
**/
|
|
1668
|
-
WouldBurn: GenericPalletError
|
|
1668
|
+
WouldBurn: GenericPalletError;
|
|
1669
1669
|
|
|
1670
1670
|
/**
|
|
1671
1671
|
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
1672
1672
|
* as `start_destroy` which require the asset to be in a destroying state.
|
|
1673
1673
|
**/
|
|
1674
|
-
LiveAsset: GenericPalletError
|
|
1674
|
+
LiveAsset: GenericPalletError;
|
|
1675
1675
|
|
|
1676
1676
|
/**
|
|
1677
1677
|
* The asset is not live, and likely being destroyed.
|
|
1678
1678
|
**/
|
|
1679
|
-
AssetNotLive: GenericPalletError
|
|
1679
|
+
AssetNotLive: GenericPalletError;
|
|
1680
1680
|
|
|
1681
1681
|
/**
|
|
1682
1682
|
* The asset status is not the expected status.
|
|
1683
1683
|
**/
|
|
1684
|
-
IncorrectStatus: GenericPalletError
|
|
1684
|
+
IncorrectStatus: GenericPalletError;
|
|
1685
1685
|
|
|
1686
1686
|
/**
|
|
1687
1687
|
* The asset should be frozen before the given operation.
|
|
1688
1688
|
**/
|
|
1689
|
-
NotFrozen: GenericPalletError
|
|
1689
|
+
NotFrozen: GenericPalletError;
|
|
1690
1690
|
|
|
1691
1691
|
/**
|
|
1692
1692
|
* Callback action resulted in error
|
|
1693
1693
|
**/
|
|
1694
|
-
CallbackFailed: GenericPalletError
|
|
1694
|
+
CallbackFailed: GenericPalletError;
|
|
1695
1695
|
|
|
1696
1696
|
/**
|
|
1697
1697
|
* The asset ID must be equal to the [`NextAssetId`].
|
|
1698
1698
|
**/
|
|
1699
|
-
BadAssetId: GenericPalletError
|
|
1699
|
+
BadAssetId: GenericPalletError;
|
|
1700
1700
|
|
|
1701
1701
|
/**
|
|
1702
1702
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1703
1703
|
**/
|
|
1704
|
-
ContainsFreezes: GenericPalletError
|
|
1704
|
+
ContainsFreezes: GenericPalletError;
|
|
1705
1705
|
|
|
1706
1706
|
/**
|
|
1707
1707
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1708
1708
|
**/
|
|
1709
|
-
ContainsHolds: GenericPalletError
|
|
1709
|
+
ContainsHolds: GenericPalletError;
|
|
1710
1710
|
|
|
1711
1711
|
/**
|
|
1712
1712
|
* Generic pallet error
|
|
1713
1713
|
**/
|
|
1714
|
-
[error: string]: GenericPalletError
|
|
1714
|
+
[error: string]: GenericPalletError;
|
|
1715
1715
|
};
|
|
1716
1716
|
/**
|
|
1717
1717
|
* Pallet `AssetConversion`'s errors
|
|
@@ -1720,125 +1720,125 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Provided asset pair is not supported for pool.
|
|
1722
1722
|
**/
|
|
1723
|
-
InvalidAssetPair: GenericPalletError
|
|
1723
|
+
InvalidAssetPair: GenericPalletError;
|
|
1724
1724
|
|
|
1725
1725
|
/**
|
|
1726
1726
|
* Pool already exists.
|
|
1727
1727
|
**/
|
|
1728
|
-
PoolExists: GenericPalletError
|
|
1728
|
+
PoolExists: GenericPalletError;
|
|
1729
1729
|
|
|
1730
1730
|
/**
|
|
1731
1731
|
* Desired amount can't be zero.
|
|
1732
1732
|
**/
|
|
1733
|
-
WrongDesiredAmount: GenericPalletError
|
|
1733
|
+
WrongDesiredAmount: GenericPalletError;
|
|
1734
1734
|
|
|
1735
1735
|
/**
|
|
1736
1736
|
* Provided amount should be greater than or equal to the existential deposit/asset's
|
|
1737
1737
|
* minimal amount.
|
|
1738
1738
|
**/
|
|
1739
|
-
AmountOneLessThanMinimal: GenericPalletError
|
|
1739
|
+
AmountOneLessThanMinimal: GenericPalletError;
|
|
1740
1740
|
|
|
1741
1741
|
/**
|
|
1742
1742
|
* Provided amount should be greater than or equal to the existential deposit/asset's
|
|
1743
1743
|
* minimal amount.
|
|
1744
1744
|
**/
|
|
1745
|
-
AmountTwoLessThanMinimal: GenericPalletError
|
|
1745
|
+
AmountTwoLessThanMinimal: GenericPalletError;
|
|
1746
1746
|
|
|
1747
1747
|
/**
|
|
1748
1748
|
* Reserve needs to always be greater than or equal to the existential deposit/asset's
|
|
1749
1749
|
* minimal amount.
|
|
1750
1750
|
**/
|
|
1751
|
-
ReserveLeftLessThanMinimal: GenericPalletError
|
|
1751
|
+
ReserveLeftLessThanMinimal: GenericPalletError;
|
|
1752
1752
|
|
|
1753
1753
|
/**
|
|
1754
1754
|
* Desired amount can't be equal to the pool reserve.
|
|
1755
1755
|
**/
|
|
1756
|
-
AmountOutTooHigh: GenericPalletError
|
|
1756
|
+
AmountOutTooHigh: GenericPalletError;
|
|
1757
1757
|
|
|
1758
1758
|
/**
|
|
1759
1759
|
* The pool doesn't exist.
|
|
1760
1760
|
**/
|
|
1761
|
-
PoolNotFound: GenericPalletError
|
|
1761
|
+
PoolNotFound: GenericPalletError;
|
|
1762
1762
|
|
|
1763
1763
|
/**
|
|
1764
1764
|
* An overflow happened.
|
|
1765
1765
|
**/
|
|
1766
|
-
Overflow: GenericPalletError
|
|
1766
|
+
Overflow: GenericPalletError;
|
|
1767
1767
|
|
|
1768
1768
|
/**
|
|
1769
1769
|
* The minimal amount requirement for the first token in the pair wasn't met.
|
|
1770
1770
|
**/
|
|
1771
|
-
AssetOneDepositDidNotMeetMinimum: GenericPalletError
|
|
1771
|
+
AssetOneDepositDidNotMeetMinimum: GenericPalletError;
|
|
1772
1772
|
|
|
1773
1773
|
/**
|
|
1774
1774
|
* The minimal amount requirement for the second token in the pair wasn't met.
|
|
1775
1775
|
**/
|
|
1776
|
-
AssetTwoDepositDidNotMeetMinimum: GenericPalletError
|
|
1776
|
+
AssetTwoDepositDidNotMeetMinimum: GenericPalletError;
|
|
1777
1777
|
|
|
1778
1778
|
/**
|
|
1779
1779
|
* The minimal amount requirement for the first token in the pair wasn't met.
|
|
1780
1780
|
**/
|
|
1781
|
-
AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError
|
|
1781
|
+
AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError;
|
|
1782
1782
|
|
|
1783
1783
|
/**
|
|
1784
1784
|
* The minimal amount requirement for the second token in the pair wasn't met.
|
|
1785
1785
|
**/
|
|
1786
|
-
AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError
|
|
1786
|
+
AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError;
|
|
1787
1787
|
|
|
1788
1788
|
/**
|
|
1789
1789
|
* Optimal calculated amount is less than desired.
|
|
1790
1790
|
**/
|
|
1791
|
-
OptimalAmountLessThanDesired: GenericPalletError
|
|
1791
|
+
OptimalAmountLessThanDesired: GenericPalletError;
|
|
1792
1792
|
|
|
1793
1793
|
/**
|
|
1794
1794
|
* Insufficient liquidity minted.
|
|
1795
1795
|
**/
|
|
1796
|
-
InsufficientLiquidityMinted: GenericPalletError
|
|
1796
|
+
InsufficientLiquidityMinted: GenericPalletError;
|
|
1797
1797
|
|
|
1798
1798
|
/**
|
|
1799
1799
|
* Requested liquidity can't be zero.
|
|
1800
1800
|
**/
|
|
1801
|
-
ZeroLiquidity: GenericPalletError
|
|
1801
|
+
ZeroLiquidity: GenericPalletError;
|
|
1802
1802
|
|
|
1803
1803
|
/**
|
|
1804
1804
|
* Amount can't be zero.
|
|
1805
1805
|
**/
|
|
1806
|
-
ZeroAmount: GenericPalletError
|
|
1806
|
+
ZeroAmount: GenericPalletError;
|
|
1807
1807
|
|
|
1808
1808
|
/**
|
|
1809
1809
|
* Calculated amount out is less than provided minimum amount.
|
|
1810
1810
|
**/
|
|
1811
|
-
ProvidedMinimumNotSufficientForSwap: GenericPalletError
|
|
1811
|
+
ProvidedMinimumNotSufficientForSwap: GenericPalletError;
|
|
1812
1812
|
|
|
1813
1813
|
/**
|
|
1814
1814
|
* Provided maximum amount is not sufficient for swap.
|
|
1815
1815
|
**/
|
|
1816
|
-
ProvidedMaximumNotSufficientForSwap: GenericPalletError
|
|
1816
|
+
ProvidedMaximumNotSufficientForSwap: GenericPalletError;
|
|
1817
1817
|
|
|
1818
1818
|
/**
|
|
1819
1819
|
* The provided path must consists of 2 assets at least.
|
|
1820
1820
|
**/
|
|
1821
|
-
InvalidPath: GenericPalletError
|
|
1821
|
+
InvalidPath: GenericPalletError;
|
|
1822
1822
|
|
|
1823
1823
|
/**
|
|
1824
1824
|
* The provided path must consists of unique assets.
|
|
1825
1825
|
**/
|
|
1826
|
-
NonUniquePath: GenericPalletError
|
|
1826
|
+
NonUniquePath: GenericPalletError;
|
|
1827
1827
|
|
|
1828
1828
|
/**
|
|
1829
1829
|
* It was not possible to get or increment the Id of the pool.
|
|
1830
1830
|
**/
|
|
1831
|
-
IncorrectPoolAssetId: GenericPalletError
|
|
1831
|
+
IncorrectPoolAssetId: GenericPalletError;
|
|
1832
1832
|
|
|
1833
1833
|
/**
|
|
1834
1834
|
* The destination account cannot exist with the swapped funds.
|
|
1835
1835
|
**/
|
|
1836
|
-
BelowMinimum: GenericPalletError
|
|
1836
|
+
BelowMinimum: GenericPalletError;
|
|
1837
1837
|
|
|
1838
1838
|
/**
|
|
1839
1839
|
* Generic pallet error
|
|
1840
1840
|
**/
|
|
1841
|
-
[error: string]: GenericPalletError
|
|
1841
|
+
[error: string]: GenericPalletError;
|
|
1842
1842
|
};
|
|
1843
1843
|
/**
|
|
1844
1844
|
* Pallet `Recovery`'s errors
|
|
@@ -1847,87 +1847,87 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1847
1847
|
/**
|
|
1848
1848
|
* User is not allowed to make a call on behalf of this account
|
|
1849
1849
|
**/
|
|
1850
|
-
NotAllowed: GenericPalletError
|
|
1850
|
+
NotAllowed: GenericPalletError;
|
|
1851
1851
|
|
|
1852
1852
|
/**
|
|
1853
1853
|
* Threshold must be greater than zero
|
|
1854
1854
|
**/
|
|
1855
|
-
ZeroThreshold: GenericPalletError
|
|
1855
|
+
ZeroThreshold: GenericPalletError;
|
|
1856
1856
|
|
|
1857
1857
|
/**
|
|
1858
1858
|
* Friends list must be greater than zero and threshold
|
|
1859
1859
|
**/
|
|
1860
|
-
NotEnoughFriends: GenericPalletError
|
|
1860
|
+
NotEnoughFriends: GenericPalletError;
|
|
1861
1861
|
|
|
1862
1862
|
/**
|
|
1863
1863
|
* Friends list must be less than max friends
|
|
1864
1864
|
**/
|
|
1865
|
-
MaxFriends: GenericPalletError
|
|
1865
|
+
MaxFriends: GenericPalletError;
|
|
1866
1866
|
|
|
1867
1867
|
/**
|
|
1868
1868
|
* Friends list must be sorted and free of duplicates
|
|
1869
1869
|
**/
|
|
1870
|
-
NotSorted: GenericPalletError
|
|
1870
|
+
NotSorted: GenericPalletError;
|
|
1871
1871
|
|
|
1872
1872
|
/**
|
|
1873
1873
|
* This account is not set up for recovery
|
|
1874
1874
|
**/
|
|
1875
|
-
NotRecoverable: GenericPalletError
|
|
1875
|
+
NotRecoverable: GenericPalletError;
|
|
1876
1876
|
|
|
1877
1877
|
/**
|
|
1878
1878
|
* This account is already set up for recovery
|
|
1879
1879
|
**/
|
|
1880
|
-
AlreadyRecoverable: GenericPalletError
|
|
1880
|
+
AlreadyRecoverable: GenericPalletError;
|
|
1881
1881
|
|
|
1882
1882
|
/**
|
|
1883
1883
|
* A recovery process has already started for this account
|
|
1884
1884
|
**/
|
|
1885
|
-
AlreadyStarted: GenericPalletError
|
|
1885
|
+
AlreadyStarted: GenericPalletError;
|
|
1886
1886
|
|
|
1887
1887
|
/**
|
|
1888
1888
|
* A recovery process has not started for this rescuer
|
|
1889
1889
|
**/
|
|
1890
|
-
NotStarted: GenericPalletError
|
|
1890
|
+
NotStarted: GenericPalletError;
|
|
1891
1891
|
|
|
1892
1892
|
/**
|
|
1893
1893
|
* This account is not a friend who can vouch
|
|
1894
1894
|
**/
|
|
1895
|
-
NotFriend: GenericPalletError
|
|
1895
|
+
NotFriend: GenericPalletError;
|
|
1896
1896
|
|
|
1897
1897
|
/**
|
|
1898
1898
|
* The friend must wait until the delay period to vouch for this recovery
|
|
1899
1899
|
**/
|
|
1900
|
-
DelayPeriod: GenericPalletError
|
|
1900
|
+
DelayPeriod: GenericPalletError;
|
|
1901
1901
|
|
|
1902
1902
|
/**
|
|
1903
1903
|
* This user has already vouched for this recovery
|
|
1904
1904
|
**/
|
|
1905
|
-
AlreadyVouched: GenericPalletError
|
|
1905
|
+
AlreadyVouched: GenericPalletError;
|
|
1906
1906
|
|
|
1907
1907
|
/**
|
|
1908
1908
|
* The threshold for recovering this account has not been met
|
|
1909
1909
|
**/
|
|
1910
|
-
Threshold: GenericPalletError
|
|
1910
|
+
Threshold: GenericPalletError;
|
|
1911
1911
|
|
|
1912
1912
|
/**
|
|
1913
1913
|
* There are still active recovery attempts that need to be closed
|
|
1914
1914
|
**/
|
|
1915
|
-
StillActive: GenericPalletError
|
|
1915
|
+
StillActive: GenericPalletError;
|
|
1916
1916
|
|
|
1917
1917
|
/**
|
|
1918
1918
|
* This account is already set up for recovery
|
|
1919
1919
|
**/
|
|
1920
|
-
AlreadyProxy: GenericPalletError
|
|
1920
|
+
AlreadyProxy: GenericPalletError;
|
|
1921
1921
|
|
|
1922
1922
|
/**
|
|
1923
1923
|
* Some internal state is broken.
|
|
1924
1924
|
**/
|
|
1925
|
-
BadState: GenericPalletError
|
|
1925
|
+
BadState: GenericPalletError;
|
|
1926
1926
|
|
|
1927
1927
|
/**
|
|
1928
1928
|
* Generic pallet error
|
|
1929
1929
|
**/
|
|
1930
|
-
[error: string]: GenericPalletError
|
|
1930
|
+
[error: string]: GenericPalletError;
|
|
1931
1931
|
};
|
|
1932
1932
|
/**
|
|
1933
1933
|
* Pallet `Society`'s errors
|
|
@@ -1936,172 +1936,172 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1936
1936
|
/**
|
|
1937
1937
|
* User is not a member.
|
|
1938
1938
|
**/
|
|
1939
|
-
NotMember: GenericPalletError
|
|
1939
|
+
NotMember: GenericPalletError;
|
|
1940
1940
|
|
|
1941
1941
|
/**
|
|
1942
1942
|
* User is already a member.
|
|
1943
1943
|
**/
|
|
1944
|
-
AlreadyMember: GenericPalletError
|
|
1944
|
+
AlreadyMember: GenericPalletError;
|
|
1945
1945
|
|
|
1946
1946
|
/**
|
|
1947
1947
|
* User is suspended.
|
|
1948
1948
|
**/
|
|
1949
|
-
Suspended: GenericPalletError
|
|
1949
|
+
Suspended: GenericPalletError;
|
|
1950
1950
|
|
|
1951
1951
|
/**
|
|
1952
1952
|
* User is not suspended.
|
|
1953
1953
|
**/
|
|
1954
|
-
NotSuspended: GenericPalletError
|
|
1954
|
+
NotSuspended: GenericPalletError;
|
|
1955
1955
|
|
|
1956
1956
|
/**
|
|
1957
1957
|
* Nothing to payout.
|
|
1958
1958
|
**/
|
|
1959
|
-
NoPayout: GenericPalletError
|
|
1959
|
+
NoPayout: GenericPalletError;
|
|
1960
1960
|
|
|
1961
1961
|
/**
|
|
1962
1962
|
* Society already founded.
|
|
1963
1963
|
**/
|
|
1964
|
-
AlreadyFounded: GenericPalletError
|
|
1964
|
+
AlreadyFounded: GenericPalletError;
|
|
1965
1965
|
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Not enough in pot to accept candidate.
|
|
1968
1968
|
**/
|
|
1969
|
-
InsufficientPot: GenericPalletError
|
|
1969
|
+
InsufficientPot: GenericPalletError;
|
|
1970
1970
|
|
|
1971
1971
|
/**
|
|
1972
1972
|
* Member is already vouching or banned from vouching again.
|
|
1973
1973
|
**/
|
|
1974
|
-
AlreadyVouching: GenericPalletError
|
|
1974
|
+
AlreadyVouching: GenericPalletError;
|
|
1975
1975
|
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Member is not vouching.
|
|
1978
1978
|
**/
|
|
1979
|
-
NotVouchingOnBidder: GenericPalletError
|
|
1979
|
+
NotVouchingOnBidder: GenericPalletError;
|
|
1980
1980
|
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Cannot remove the head of the chain.
|
|
1983
1983
|
**/
|
|
1984
|
-
Head: GenericPalletError
|
|
1984
|
+
Head: GenericPalletError;
|
|
1985
1985
|
|
|
1986
1986
|
/**
|
|
1987
1987
|
* Cannot remove the founder.
|
|
1988
1988
|
**/
|
|
1989
|
-
Founder: GenericPalletError
|
|
1989
|
+
Founder: GenericPalletError;
|
|
1990
1990
|
|
|
1991
1991
|
/**
|
|
1992
1992
|
* User has already made a bid.
|
|
1993
1993
|
**/
|
|
1994
|
-
AlreadyBid: GenericPalletError
|
|
1994
|
+
AlreadyBid: GenericPalletError;
|
|
1995
1995
|
|
|
1996
1996
|
/**
|
|
1997
1997
|
* User is already a candidate.
|
|
1998
1998
|
**/
|
|
1999
|
-
AlreadyCandidate: GenericPalletError
|
|
1999
|
+
AlreadyCandidate: GenericPalletError;
|
|
2000
2000
|
|
|
2001
2001
|
/**
|
|
2002
2002
|
* User is not a candidate.
|
|
2003
2003
|
**/
|
|
2004
|
-
NotCandidate: GenericPalletError
|
|
2004
|
+
NotCandidate: GenericPalletError;
|
|
2005
2005
|
|
|
2006
2006
|
/**
|
|
2007
2007
|
* Too many members in the society.
|
|
2008
2008
|
**/
|
|
2009
|
-
MaxMembers: GenericPalletError
|
|
2009
|
+
MaxMembers: GenericPalletError;
|
|
2010
2010
|
|
|
2011
2011
|
/**
|
|
2012
2012
|
* The caller is not the founder.
|
|
2013
2013
|
**/
|
|
2014
|
-
NotFounder: GenericPalletError
|
|
2014
|
+
NotFounder: GenericPalletError;
|
|
2015
2015
|
|
|
2016
2016
|
/**
|
|
2017
2017
|
* The caller is not the head.
|
|
2018
2018
|
**/
|
|
2019
|
-
NotHead: GenericPalletError
|
|
2019
|
+
NotHead: GenericPalletError;
|
|
2020
2020
|
|
|
2021
2021
|
/**
|
|
2022
2022
|
* The membership cannot be claimed as the candidate was not clearly approved.
|
|
2023
2023
|
**/
|
|
2024
|
-
NotApproved: GenericPalletError
|
|
2024
|
+
NotApproved: GenericPalletError;
|
|
2025
2025
|
|
|
2026
2026
|
/**
|
|
2027
2027
|
* The candidate cannot be kicked as the candidate was not clearly rejected.
|
|
2028
2028
|
**/
|
|
2029
|
-
NotRejected: GenericPalletError
|
|
2029
|
+
NotRejected: GenericPalletError;
|
|
2030
2030
|
|
|
2031
2031
|
/**
|
|
2032
2032
|
* The candidacy cannot be dropped as the candidate was clearly approved.
|
|
2033
2033
|
**/
|
|
2034
|
-
Approved: GenericPalletError
|
|
2034
|
+
Approved: GenericPalletError;
|
|
2035
2035
|
|
|
2036
2036
|
/**
|
|
2037
2037
|
* The candidacy cannot be bestowed as the candidate was clearly rejected.
|
|
2038
2038
|
**/
|
|
2039
|
-
Rejected: GenericPalletError
|
|
2039
|
+
Rejected: GenericPalletError;
|
|
2040
2040
|
|
|
2041
2041
|
/**
|
|
2042
2042
|
* The candidacy cannot be concluded as the voting is still in progress.
|
|
2043
2043
|
**/
|
|
2044
|
-
InProgress: GenericPalletError
|
|
2044
|
+
InProgress: GenericPalletError;
|
|
2045
2045
|
|
|
2046
2046
|
/**
|
|
2047
2047
|
* The candidacy cannot be pruned until a full additional intake period has passed.
|
|
2048
2048
|
**/
|
|
2049
|
-
TooEarly: GenericPalletError
|
|
2049
|
+
TooEarly: GenericPalletError;
|
|
2050
2050
|
|
|
2051
2051
|
/**
|
|
2052
2052
|
* The skeptic already voted.
|
|
2053
2053
|
**/
|
|
2054
|
-
Voted: GenericPalletError
|
|
2054
|
+
Voted: GenericPalletError;
|
|
2055
2055
|
|
|
2056
2056
|
/**
|
|
2057
2057
|
* The skeptic need not vote on candidates from expired rounds.
|
|
2058
2058
|
**/
|
|
2059
|
-
Expired: GenericPalletError
|
|
2059
|
+
Expired: GenericPalletError;
|
|
2060
2060
|
|
|
2061
2061
|
/**
|
|
2062
2062
|
* User is not a bidder.
|
|
2063
2063
|
**/
|
|
2064
|
-
NotBidder: GenericPalletError
|
|
2064
|
+
NotBidder: GenericPalletError;
|
|
2065
2065
|
|
|
2066
2066
|
/**
|
|
2067
2067
|
* There is no defender currently.
|
|
2068
2068
|
**/
|
|
2069
|
-
NoDefender: GenericPalletError
|
|
2069
|
+
NoDefender: GenericPalletError;
|
|
2070
2070
|
|
|
2071
2071
|
/**
|
|
2072
2072
|
* Group doesn't exist.
|
|
2073
2073
|
**/
|
|
2074
|
-
NotGroup: GenericPalletError
|
|
2074
|
+
NotGroup: GenericPalletError;
|
|
2075
2075
|
|
|
2076
2076
|
/**
|
|
2077
2077
|
* The member is already elevated to this rank.
|
|
2078
2078
|
**/
|
|
2079
|
-
AlreadyElevated: GenericPalletError
|
|
2079
|
+
AlreadyElevated: GenericPalletError;
|
|
2080
2080
|
|
|
2081
2081
|
/**
|
|
2082
2082
|
* The skeptic has already been punished for this offence.
|
|
2083
2083
|
**/
|
|
2084
|
-
AlreadyPunished: GenericPalletError
|
|
2084
|
+
AlreadyPunished: GenericPalletError;
|
|
2085
2085
|
|
|
2086
2086
|
/**
|
|
2087
2087
|
* Funds are insufficient to pay off society debts.
|
|
2088
2088
|
**/
|
|
2089
|
-
InsufficientFunds: GenericPalletError
|
|
2089
|
+
InsufficientFunds: GenericPalletError;
|
|
2090
2090
|
|
|
2091
2091
|
/**
|
|
2092
2092
|
* The candidate/defender has no stale votes to remove.
|
|
2093
2093
|
**/
|
|
2094
|
-
NoVotes: GenericPalletError
|
|
2094
|
+
NoVotes: GenericPalletError;
|
|
2095
2095
|
|
|
2096
2096
|
/**
|
|
2097
2097
|
* There is no deposit associated with a bid.
|
|
2098
2098
|
**/
|
|
2099
|
-
NoDeposit: GenericPalletError
|
|
2099
|
+
NoDeposit: GenericPalletError;
|
|
2100
2100
|
|
|
2101
2101
|
/**
|
|
2102
2102
|
* Generic pallet error
|
|
2103
2103
|
**/
|
|
2104
|
-
[error: string]: GenericPalletError
|
|
2104
|
+
[error: string]: GenericPalletError;
|
|
2105
2105
|
};
|
|
2106
2106
|
/**
|
|
2107
2107
|
* Pallet `Revive`'s errors
|
|
@@ -2110,122 +2110,122 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2110
2110
|
/**
|
|
2111
2111
|
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
|
|
2112
2112
|
**/
|
|
2113
|
-
InvalidSchedule: GenericPalletError
|
|
2113
|
+
InvalidSchedule: GenericPalletError;
|
|
2114
2114
|
|
|
2115
2115
|
/**
|
|
2116
2116
|
* Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
|
|
2117
2117
|
**/
|
|
2118
|
-
InvalidCallFlags: GenericPalletError
|
|
2118
|
+
InvalidCallFlags: GenericPalletError;
|
|
2119
2119
|
|
|
2120
2120
|
/**
|
|
2121
2121
|
* The executed contract exhausted its gas limit.
|
|
2122
2122
|
**/
|
|
2123
|
-
OutOfGas: GenericPalletError
|
|
2123
|
+
OutOfGas: GenericPalletError;
|
|
2124
2124
|
|
|
2125
2125
|
/**
|
|
2126
2126
|
* Performing the requested transfer failed. Probably because there isn't enough
|
|
2127
2127
|
* free balance in the sender's account.
|
|
2128
2128
|
**/
|
|
2129
|
-
TransferFailed: GenericPalletError
|
|
2129
|
+
TransferFailed: GenericPalletError;
|
|
2130
2130
|
|
|
2131
2131
|
/**
|
|
2132
2132
|
* Performing a call was denied because the calling depth reached the limit
|
|
2133
2133
|
* of what is specified in the schedule.
|
|
2134
2134
|
**/
|
|
2135
|
-
MaxCallDepthReached: GenericPalletError
|
|
2135
|
+
MaxCallDepthReached: GenericPalletError;
|
|
2136
2136
|
|
|
2137
2137
|
/**
|
|
2138
2138
|
* No contract was found at the specified address.
|
|
2139
2139
|
**/
|
|
2140
|
-
ContractNotFound: GenericPalletError
|
|
2140
|
+
ContractNotFound: GenericPalletError;
|
|
2141
2141
|
|
|
2142
2142
|
/**
|
|
2143
2143
|
* No code could be found at the supplied code hash.
|
|
2144
2144
|
**/
|
|
2145
|
-
CodeNotFound: GenericPalletError
|
|
2145
|
+
CodeNotFound: GenericPalletError;
|
|
2146
2146
|
|
|
2147
2147
|
/**
|
|
2148
2148
|
* No code info could be found at the supplied code hash.
|
|
2149
2149
|
**/
|
|
2150
|
-
CodeInfoNotFound: GenericPalletError
|
|
2150
|
+
CodeInfoNotFound: GenericPalletError;
|
|
2151
2151
|
|
|
2152
2152
|
/**
|
|
2153
2153
|
* A buffer outside of sandbox memory was passed to a contract API function.
|
|
2154
2154
|
**/
|
|
2155
|
-
OutOfBounds: GenericPalletError
|
|
2155
|
+
OutOfBounds: GenericPalletError;
|
|
2156
2156
|
|
|
2157
2157
|
/**
|
|
2158
2158
|
* Input passed to a contract API function failed to decode as expected type.
|
|
2159
2159
|
**/
|
|
2160
|
-
DecodingFailed: GenericPalletError
|
|
2160
|
+
DecodingFailed: GenericPalletError;
|
|
2161
2161
|
|
|
2162
2162
|
/**
|
|
2163
2163
|
* Contract trapped during execution.
|
|
2164
2164
|
**/
|
|
2165
|
-
ContractTrapped: GenericPalletError
|
|
2165
|
+
ContractTrapped: GenericPalletError;
|
|
2166
2166
|
|
|
2167
2167
|
/**
|
|
2168
2168
|
* Event body or storage item exceeds [`limits::PAYLOAD_BYTES`].
|
|
2169
2169
|
**/
|
|
2170
|
-
ValueTooLarge: GenericPalletError
|
|
2170
|
+
ValueTooLarge: GenericPalletError;
|
|
2171
2171
|
|
|
2172
2172
|
/**
|
|
2173
2173
|
* Termination of a contract is not allowed while the contract is already
|
|
2174
2174
|
* on the call stack. Can be triggered by `seal_terminate`.
|
|
2175
2175
|
**/
|
|
2176
|
-
TerminatedWhileReentrant: GenericPalletError
|
|
2176
|
+
TerminatedWhileReentrant: GenericPalletError;
|
|
2177
2177
|
|
|
2178
2178
|
/**
|
|
2179
2179
|
* `seal_call` forwarded this contracts input. It therefore is no longer available.
|
|
2180
2180
|
**/
|
|
2181
|
-
InputForwarded: GenericPalletError
|
|
2181
|
+
InputForwarded: GenericPalletError;
|
|
2182
2182
|
|
|
2183
2183
|
/**
|
|
2184
2184
|
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
|
2185
2185
|
**/
|
|
2186
|
-
TooManyTopics: GenericPalletError
|
|
2186
|
+
TooManyTopics: GenericPalletError;
|
|
2187
2187
|
|
|
2188
2188
|
/**
|
|
2189
2189
|
* A contract with the same AccountId already exists.
|
|
2190
2190
|
**/
|
|
2191
|
-
DuplicateContract: GenericPalletError
|
|
2191
|
+
DuplicateContract: GenericPalletError;
|
|
2192
2192
|
|
|
2193
2193
|
/**
|
|
2194
2194
|
* A contract self destructed in its constructor.
|
|
2195
2195
|
*
|
|
2196
2196
|
* This can be triggered by a call to `seal_terminate`.
|
|
2197
2197
|
**/
|
|
2198
|
-
TerminatedInConstructor: GenericPalletError
|
|
2198
|
+
TerminatedInConstructor: GenericPalletError;
|
|
2199
2199
|
|
|
2200
2200
|
/**
|
|
2201
2201
|
* A call tried to invoke a contract that is flagged as non-reentrant.
|
|
2202
2202
|
**/
|
|
2203
|
-
ReentranceDenied: GenericPalletError
|
|
2203
|
+
ReentranceDenied: GenericPalletError;
|
|
2204
2204
|
|
|
2205
2205
|
/**
|
|
2206
2206
|
* A contract called into the runtime which then called back into this pallet.
|
|
2207
2207
|
**/
|
|
2208
|
-
ReenteredPallet: GenericPalletError
|
|
2208
|
+
ReenteredPallet: GenericPalletError;
|
|
2209
2209
|
|
|
2210
2210
|
/**
|
|
2211
2211
|
* A contract attempted to invoke a state modifying API while being in read-only mode.
|
|
2212
2212
|
**/
|
|
2213
|
-
StateChangeDenied: GenericPalletError
|
|
2213
|
+
StateChangeDenied: GenericPalletError;
|
|
2214
2214
|
|
|
2215
2215
|
/**
|
|
2216
2216
|
* Origin doesn't have enough balance to pay the required storage deposits.
|
|
2217
2217
|
**/
|
|
2218
|
-
StorageDepositNotEnoughFunds: GenericPalletError
|
|
2218
|
+
StorageDepositNotEnoughFunds: GenericPalletError;
|
|
2219
2219
|
|
|
2220
2220
|
/**
|
|
2221
2221
|
* More storage was created than allowed by the storage deposit limit.
|
|
2222
2222
|
**/
|
|
2223
|
-
StorageDepositLimitExhausted: GenericPalletError
|
|
2223
|
+
StorageDepositLimitExhausted: GenericPalletError;
|
|
2224
2224
|
|
|
2225
2225
|
/**
|
|
2226
2226
|
* Code removal was denied because the code is still in use by at least one contract.
|
|
2227
2227
|
**/
|
|
2228
|
-
CodeInUse: GenericPalletError
|
|
2228
|
+
CodeInUse: GenericPalletError;
|
|
2229
2229
|
|
|
2230
2230
|
/**
|
|
2231
2231
|
* The contract ran to completion but decided to revert its storage changes.
|
|
@@ -2233,7 +2233,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2233
2233
|
* or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
|
|
2234
2234
|
* to determine whether a reversion has taken place.
|
|
2235
2235
|
**/
|
|
2236
|
-
ContractReverted: GenericPalletError
|
|
2236
|
+
ContractReverted: GenericPalletError;
|
|
2237
2237
|
|
|
2238
2238
|
/**
|
|
2239
2239
|
* The contract failed to compile or is missing the correct entry points.
|
|
@@ -2241,120 +2241,120 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2241
2241
|
* A more detailed error can be found on the node console if debug messages are enabled
|
|
2242
2242
|
* by supplying `-lruntime::revive=debug`.
|
|
2243
2243
|
**/
|
|
2244
|
-
CodeRejected: GenericPalletError
|
|
2244
|
+
CodeRejected: GenericPalletError;
|
|
2245
2245
|
|
|
2246
2246
|
/**
|
|
2247
2247
|
* The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
|
|
2248
2248
|
**/
|
|
2249
|
-
BlobTooLarge: GenericPalletError
|
|
2249
|
+
BlobTooLarge: GenericPalletError;
|
|
2250
2250
|
|
|
2251
2251
|
/**
|
|
2252
2252
|
* The contract declares too much memory (ro + rw + stack).
|
|
2253
2253
|
**/
|
|
2254
|
-
StaticMemoryTooLarge: GenericPalletError
|
|
2254
|
+
StaticMemoryTooLarge: GenericPalletError;
|
|
2255
2255
|
|
|
2256
2256
|
/**
|
|
2257
2257
|
* The program contains a basic block that is larger than allowed.
|
|
2258
2258
|
**/
|
|
2259
|
-
BasicBlockTooLarge: GenericPalletError
|
|
2259
|
+
BasicBlockTooLarge: GenericPalletError;
|
|
2260
2260
|
|
|
2261
2261
|
/**
|
|
2262
2262
|
* The program contains an invalid instruction.
|
|
2263
2263
|
**/
|
|
2264
|
-
InvalidInstruction: GenericPalletError
|
|
2264
|
+
InvalidInstruction: GenericPalletError;
|
|
2265
2265
|
|
|
2266
2266
|
/**
|
|
2267
2267
|
* The contract has reached its maximum number of delegate dependencies.
|
|
2268
2268
|
**/
|
|
2269
|
-
MaxDelegateDependenciesReached: GenericPalletError
|
|
2269
|
+
MaxDelegateDependenciesReached: GenericPalletError;
|
|
2270
2270
|
|
|
2271
2271
|
/**
|
|
2272
2272
|
* The dependency was not found in the contract's delegate dependencies.
|
|
2273
2273
|
**/
|
|
2274
|
-
DelegateDependencyNotFound: GenericPalletError
|
|
2274
|
+
DelegateDependencyNotFound: GenericPalletError;
|
|
2275
2275
|
|
|
2276
2276
|
/**
|
|
2277
2277
|
* The contract already depends on the given delegate dependency.
|
|
2278
2278
|
**/
|
|
2279
|
-
DelegateDependencyAlreadyExists: GenericPalletError
|
|
2279
|
+
DelegateDependencyAlreadyExists: GenericPalletError;
|
|
2280
2280
|
|
|
2281
2281
|
/**
|
|
2282
2282
|
* Can not add a delegate dependency to the code hash of the contract itself.
|
|
2283
2283
|
**/
|
|
2284
|
-
CannotAddSelfAsDelegateDependency: GenericPalletError
|
|
2284
|
+
CannotAddSelfAsDelegateDependency: GenericPalletError;
|
|
2285
2285
|
|
|
2286
2286
|
/**
|
|
2287
2287
|
* Can not add more data to transient storage.
|
|
2288
2288
|
**/
|
|
2289
|
-
OutOfTransientStorage: GenericPalletError
|
|
2289
|
+
OutOfTransientStorage: GenericPalletError;
|
|
2290
2290
|
|
|
2291
2291
|
/**
|
|
2292
2292
|
* The contract tried to call a syscall which does not exist (at its current api level).
|
|
2293
2293
|
**/
|
|
2294
|
-
InvalidSyscall: GenericPalletError
|
|
2294
|
+
InvalidSyscall: GenericPalletError;
|
|
2295
2295
|
|
|
2296
2296
|
/**
|
|
2297
2297
|
* Invalid storage flags were passed to one of the storage syscalls.
|
|
2298
2298
|
**/
|
|
2299
|
-
InvalidStorageFlags: GenericPalletError
|
|
2299
|
+
InvalidStorageFlags: GenericPalletError;
|
|
2300
2300
|
|
|
2301
2301
|
/**
|
|
2302
2302
|
* PolkaVM failed during code execution. Probably due to a malformed program.
|
|
2303
2303
|
**/
|
|
2304
|
-
ExecutionFailed: GenericPalletError
|
|
2304
|
+
ExecutionFailed: GenericPalletError;
|
|
2305
2305
|
|
|
2306
2306
|
/**
|
|
2307
2307
|
* Failed to convert a U256 to a Balance.
|
|
2308
2308
|
**/
|
|
2309
|
-
BalanceConversionFailed: GenericPalletError
|
|
2309
|
+
BalanceConversionFailed: GenericPalletError;
|
|
2310
2310
|
|
|
2311
2311
|
/**
|
|
2312
2312
|
* Immutable data can only be set during deploys and only be read during calls.
|
|
2313
2313
|
* Additionally, it is only valid to set the data once and it must not be empty.
|
|
2314
2314
|
**/
|
|
2315
|
-
InvalidImmutableAccess: GenericPalletError
|
|
2315
|
+
InvalidImmutableAccess: GenericPalletError;
|
|
2316
2316
|
|
|
2317
2317
|
/**
|
|
2318
2318
|
* An `AccountID32` account tried to interact with the pallet without having a mapping.
|
|
2319
2319
|
*
|
|
2320
2320
|
* Call [`Pallet::map_account`] in order to create a mapping for the account.
|
|
2321
2321
|
**/
|
|
2322
|
-
AccountUnmapped: GenericPalletError
|
|
2322
|
+
AccountUnmapped: GenericPalletError;
|
|
2323
2323
|
|
|
2324
2324
|
/**
|
|
2325
2325
|
* Tried to map an account that is already mapped.
|
|
2326
2326
|
**/
|
|
2327
|
-
AccountAlreadyMapped: GenericPalletError
|
|
2327
|
+
AccountAlreadyMapped: GenericPalletError;
|
|
2328
2328
|
|
|
2329
2329
|
/**
|
|
2330
2330
|
* The transaction used to dry-run a contract is invalid.
|
|
2331
2331
|
**/
|
|
2332
|
-
InvalidGenericTransaction: GenericPalletError
|
|
2332
|
+
InvalidGenericTransaction: GenericPalletError;
|
|
2333
2333
|
|
|
2334
2334
|
/**
|
|
2335
2335
|
* The refcount of a code either over or underflowed.
|
|
2336
2336
|
**/
|
|
2337
|
-
RefcountOverOrUnderflow: GenericPalletError
|
|
2337
|
+
RefcountOverOrUnderflow: GenericPalletError;
|
|
2338
2338
|
|
|
2339
2339
|
/**
|
|
2340
2340
|
* Unsupported precompile address.
|
|
2341
2341
|
**/
|
|
2342
|
-
UnsupportedPrecompileAddress: GenericPalletError
|
|
2342
|
+
UnsupportedPrecompileAddress: GenericPalletError;
|
|
2343
2343
|
|
|
2344
2344
|
/**
|
|
2345
2345
|
* The calldata exceeds [`limits::CALLDATA_BYTES`].
|
|
2346
2346
|
**/
|
|
2347
|
-
CallDataTooLarge: GenericPalletError
|
|
2347
|
+
CallDataTooLarge: GenericPalletError;
|
|
2348
2348
|
|
|
2349
2349
|
/**
|
|
2350
2350
|
* The return data exceeds [`limits::CALLDATA_BYTES`].
|
|
2351
2351
|
**/
|
|
2352
|
-
ReturnDataTooLarge: GenericPalletError
|
|
2352
|
+
ReturnDataTooLarge: GenericPalletError;
|
|
2353
2353
|
|
|
2354
2354
|
/**
|
|
2355
2355
|
* Generic pallet error
|
|
2356
2356
|
**/
|
|
2357
|
-
[error: string]: GenericPalletError
|
|
2357
|
+
[error: string]: GenericPalletError;
|
|
2358
2358
|
};
|
|
2359
2359
|
/**
|
|
2360
2360
|
* Pallet `StateTrieMigration`'s errors
|
|
@@ -2363,7 +2363,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2363
2363
|
/**
|
|
2364
2364
|
* Max signed limits not respected.
|
|
2365
2365
|
**/
|
|
2366
|
-
MaxSignedLimits: GenericPalletError
|
|
2366
|
+
MaxSignedLimits: GenericPalletError;
|
|
2367
2367
|
|
|
2368
2368
|
/**
|
|
2369
2369
|
* A key was longer than the configured maximum.
|
|
@@ -2374,32 +2374,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2374
2374
|
* The value should only be increased to avoid a storage migration for the currently
|
|
2375
2375
|
* stored [`crate::Progress::LastKey`].
|
|
2376
2376
|
**/
|
|
2377
|
-
KeyTooLong: GenericPalletError
|
|
2377
|
+
KeyTooLong: GenericPalletError;
|
|
2378
2378
|
|
|
2379
2379
|
/**
|
|
2380
2380
|
* submitter does not have enough funds.
|
|
2381
2381
|
**/
|
|
2382
|
-
NotEnoughFunds: GenericPalletError
|
|
2382
|
+
NotEnoughFunds: GenericPalletError;
|
|
2383
2383
|
|
|
2384
2384
|
/**
|
|
2385
2385
|
* Bad witness data provided.
|
|
2386
2386
|
**/
|
|
2387
|
-
BadWitness: GenericPalletError
|
|
2387
|
+
BadWitness: GenericPalletError;
|
|
2388
2388
|
|
|
2389
2389
|
/**
|
|
2390
2390
|
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
2391
2391
|
**/
|
|
2392
|
-
SignedMigrationNotAllowed: GenericPalletError
|
|
2392
|
+
SignedMigrationNotAllowed: GenericPalletError;
|
|
2393
2393
|
|
|
2394
2394
|
/**
|
|
2395
2395
|
* Bad child root provided.
|
|
2396
2396
|
**/
|
|
2397
|
-
BadChildRoot: GenericPalletError
|
|
2397
|
+
BadChildRoot: GenericPalletError;
|
|
2398
2398
|
|
|
2399
2399
|
/**
|
|
2400
2400
|
* Generic pallet error
|
|
2401
2401
|
**/
|
|
2402
|
-
[error: string]: GenericPalletError
|
|
2402
|
+
[error: string]: GenericPalletError;
|
|
2403
2403
|
};
|
|
2404
2404
|
/**
|
|
2405
2405
|
* Pallet `NominationPools`'s errors
|
|
@@ -2408,44 +2408,44 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2408
2408
|
/**
|
|
2409
2409
|
* A (bonded) pool id does not exist.
|
|
2410
2410
|
**/
|
|
2411
|
-
PoolNotFound: GenericPalletError
|
|
2411
|
+
PoolNotFound: GenericPalletError;
|
|
2412
2412
|
|
|
2413
2413
|
/**
|
|
2414
2414
|
* An account is not a member.
|
|
2415
2415
|
**/
|
|
2416
|
-
PoolMemberNotFound: GenericPalletError
|
|
2416
|
+
PoolMemberNotFound: GenericPalletError;
|
|
2417
2417
|
|
|
2418
2418
|
/**
|
|
2419
2419
|
* A reward pool does not exist. In all cases this is a system logic error.
|
|
2420
2420
|
**/
|
|
2421
|
-
RewardPoolNotFound: GenericPalletError
|
|
2421
|
+
RewardPoolNotFound: GenericPalletError;
|
|
2422
2422
|
|
|
2423
2423
|
/**
|
|
2424
2424
|
* A sub pool does not exist.
|
|
2425
2425
|
**/
|
|
2426
|
-
SubPoolsNotFound: GenericPalletError
|
|
2426
|
+
SubPoolsNotFound: GenericPalletError;
|
|
2427
2427
|
|
|
2428
2428
|
/**
|
|
2429
2429
|
* An account is already delegating in another pool. An account may only belong to one
|
|
2430
2430
|
* pool at a time.
|
|
2431
2431
|
**/
|
|
2432
|
-
AccountBelongsToOtherPool: GenericPalletError
|
|
2432
|
+
AccountBelongsToOtherPool: GenericPalletError;
|
|
2433
2433
|
|
|
2434
2434
|
/**
|
|
2435
2435
|
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
2436
2436
|
* anymore to, for example, collect rewards).
|
|
2437
2437
|
**/
|
|
2438
|
-
FullyUnbonding: GenericPalletError
|
|
2438
|
+
FullyUnbonding: GenericPalletError;
|
|
2439
2439
|
|
|
2440
2440
|
/**
|
|
2441
2441
|
* The member cannot unbond further chunks due to reaching the limit.
|
|
2442
2442
|
**/
|
|
2443
|
-
MaxUnbondingLimit: GenericPalletError
|
|
2443
|
+
MaxUnbondingLimit: GenericPalletError;
|
|
2444
2444
|
|
|
2445
2445
|
/**
|
|
2446
2446
|
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
2447
2447
|
**/
|
|
2448
|
-
CannotWithdrawAny: GenericPalletError
|
|
2448
|
+
CannotWithdrawAny: GenericPalletError;
|
|
2449
2449
|
|
|
2450
2450
|
/**
|
|
2451
2451
|
* The amount does not meet the minimum bond to either join or create a pool.
|
|
@@ -2454,160 +2454,160 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2454
2454
|
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
2455
2455
|
* value below `MinJoinBond`.
|
|
2456
2456
|
**/
|
|
2457
|
-
MinimumBondNotMet: GenericPalletError
|
|
2457
|
+
MinimumBondNotMet: GenericPalletError;
|
|
2458
2458
|
|
|
2459
2459
|
/**
|
|
2460
2460
|
* The transaction could not be executed due to overflow risk for the pool.
|
|
2461
2461
|
**/
|
|
2462
|
-
OverflowRisk: GenericPalletError
|
|
2462
|
+
OverflowRisk: GenericPalletError;
|
|
2463
2463
|
|
|
2464
2464
|
/**
|
|
2465
2465
|
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
2466
2466
|
* other members to be permissionlessly unbonded.
|
|
2467
2467
|
**/
|
|
2468
|
-
NotDestroying: GenericPalletError
|
|
2468
|
+
NotDestroying: GenericPalletError;
|
|
2469
2469
|
|
|
2470
2470
|
/**
|
|
2471
2471
|
* The caller does not have nominating permissions for the pool.
|
|
2472
2472
|
**/
|
|
2473
|
-
NotNominator: GenericPalletError
|
|
2473
|
+
NotNominator: GenericPalletError;
|
|
2474
2474
|
|
|
2475
2475
|
/**
|
|
2476
2476
|
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
2477
2477
|
**/
|
|
2478
|
-
NotKickerOrDestroying: GenericPalletError
|
|
2478
|
+
NotKickerOrDestroying: GenericPalletError;
|
|
2479
2479
|
|
|
2480
2480
|
/**
|
|
2481
2481
|
* The pool is not open to join
|
|
2482
2482
|
**/
|
|
2483
|
-
NotOpen: GenericPalletError
|
|
2483
|
+
NotOpen: GenericPalletError;
|
|
2484
2484
|
|
|
2485
2485
|
/**
|
|
2486
2486
|
* The system is maxed out on pools.
|
|
2487
2487
|
**/
|
|
2488
|
-
MaxPools: GenericPalletError
|
|
2488
|
+
MaxPools: GenericPalletError;
|
|
2489
2489
|
|
|
2490
2490
|
/**
|
|
2491
2491
|
* Too many members in the pool or system.
|
|
2492
2492
|
**/
|
|
2493
|
-
MaxPoolMembers: GenericPalletError
|
|
2493
|
+
MaxPoolMembers: GenericPalletError;
|
|
2494
2494
|
|
|
2495
2495
|
/**
|
|
2496
2496
|
* The pools state cannot be changed.
|
|
2497
2497
|
**/
|
|
2498
|
-
CanNotChangeState: GenericPalletError
|
|
2498
|
+
CanNotChangeState: GenericPalletError;
|
|
2499
2499
|
|
|
2500
2500
|
/**
|
|
2501
2501
|
* The caller does not have adequate permissions.
|
|
2502
2502
|
**/
|
|
2503
|
-
DoesNotHavePermission: GenericPalletError
|
|
2503
|
+
DoesNotHavePermission: GenericPalletError;
|
|
2504
2504
|
|
|
2505
2505
|
/**
|
|
2506
2506
|
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
2507
2507
|
**/
|
|
2508
|
-
MetadataExceedsMaxLen: GenericPalletError
|
|
2508
|
+
MetadataExceedsMaxLen: GenericPalletError;
|
|
2509
2509
|
|
|
2510
2510
|
/**
|
|
2511
2511
|
* Some error occurred that should never happen. This should be reported to the
|
|
2512
2512
|
* maintainers.
|
|
2513
2513
|
**/
|
|
2514
|
-
Defensive: GenericPalletError
|
|
2514
|
+
Defensive: GenericPalletError;
|
|
2515
2515
|
|
|
2516
2516
|
/**
|
|
2517
2517
|
* Partial unbonding now allowed permissionlessly.
|
|
2518
2518
|
**/
|
|
2519
|
-
PartialUnbondNotAllowedPermissionlessly: GenericPalletError
|
|
2519
|
+
PartialUnbondNotAllowedPermissionlessly: GenericPalletError;
|
|
2520
2520
|
|
|
2521
2521
|
/**
|
|
2522
2522
|
* The pool's max commission cannot be set higher than the existing value.
|
|
2523
2523
|
**/
|
|
2524
|
-
MaxCommissionRestricted: GenericPalletError
|
|
2524
|
+
MaxCommissionRestricted: GenericPalletError;
|
|
2525
2525
|
|
|
2526
2526
|
/**
|
|
2527
2527
|
* The supplied commission exceeds the max allowed commission.
|
|
2528
2528
|
**/
|
|
2529
|
-
CommissionExceedsMaximum: GenericPalletError
|
|
2529
|
+
CommissionExceedsMaximum: GenericPalletError;
|
|
2530
2530
|
|
|
2531
2531
|
/**
|
|
2532
2532
|
* The supplied commission exceeds global maximum commission.
|
|
2533
2533
|
**/
|
|
2534
|
-
CommissionExceedsGlobalMaximum: GenericPalletError
|
|
2534
|
+
CommissionExceedsGlobalMaximum: GenericPalletError;
|
|
2535
2535
|
|
|
2536
2536
|
/**
|
|
2537
2537
|
* Not enough blocks have surpassed since the last commission update.
|
|
2538
2538
|
**/
|
|
2539
|
-
CommissionChangeThrottled: GenericPalletError
|
|
2539
|
+
CommissionChangeThrottled: GenericPalletError;
|
|
2540
2540
|
|
|
2541
2541
|
/**
|
|
2542
2542
|
* The submitted changes to commission change rate are not allowed.
|
|
2543
2543
|
**/
|
|
2544
|
-
CommissionChangeRateNotAllowed: GenericPalletError
|
|
2544
|
+
CommissionChangeRateNotAllowed: GenericPalletError;
|
|
2545
2545
|
|
|
2546
2546
|
/**
|
|
2547
2547
|
* There is no pending commission to claim.
|
|
2548
2548
|
**/
|
|
2549
|
-
NoPendingCommission: GenericPalletError
|
|
2549
|
+
NoPendingCommission: GenericPalletError;
|
|
2550
2550
|
|
|
2551
2551
|
/**
|
|
2552
2552
|
* No commission current has been set.
|
|
2553
2553
|
**/
|
|
2554
|
-
NoCommissionCurrentSet: GenericPalletError
|
|
2554
|
+
NoCommissionCurrentSet: GenericPalletError;
|
|
2555
2555
|
|
|
2556
2556
|
/**
|
|
2557
2557
|
* Pool id currently in use.
|
|
2558
2558
|
**/
|
|
2559
|
-
PoolIdInUse: GenericPalletError
|
|
2559
|
+
PoolIdInUse: GenericPalletError;
|
|
2560
2560
|
|
|
2561
2561
|
/**
|
|
2562
2562
|
* Pool id provided is not correct/usable.
|
|
2563
2563
|
**/
|
|
2564
|
-
InvalidPoolId: GenericPalletError
|
|
2564
|
+
InvalidPoolId: GenericPalletError;
|
|
2565
2565
|
|
|
2566
2566
|
/**
|
|
2567
2567
|
* Bonding extra is restricted to the exact pending reward amount.
|
|
2568
2568
|
**/
|
|
2569
|
-
BondExtraRestricted: GenericPalletError
|
|
2569
|
+
BondExtraRestricted: GenericPalletError;
|
|
2570
2570
|
|
|
2571
2571
|
/**
|
|
2572
2572
|
* No imbalance in the ED deposit for the pool.
|
|
2573
2573
|
**/
|
|
2574
|
-
NothingToAdjust: GenericPalletError
|
|
2574
|
+
NothingToAdjust: GenericPalletError;
|
|
2575
2575
|
|
|
2576
2576
|
/**
|
|
2577
2577
|
* No slash pending that can be applied to the member.
|
|
2578
2578
|
**/
|
|
2579
|
-
NothingToSlash: GenericPalletError
|
|
2579
|
+
NothingToSlash: GenericPalletError;
|
|
2580
2580
|
|
|
2581
2581
|
/**
|
|
2582
2582
|
* The slash amount is too low to be applied.
|
|
2583
2583
|
**/
|
|
2584
|
-
SlashTooLow: GenericPalletError
|
|
2584
|
+
SlashTooLow: GenericPalletError;
|
|
2585
2585
|
|
|
2586
2586
|
/**
|
|
2587
2587
|
* The pool or member delegation has already migrated to delegate stake.
|
|
2588
2588
|
**/
|
|
2589
|
-
AlreadyMigrated: GenericPalletError
|
|
2589
|
+
AlreadyMigrated: GenericPalletError;
|
|
2590
2590
|
|
|
2591
2591
|
/**
|
|
2592
2592
|
* The pool or member delegation has not migrated yet to delegate stake.
|
|
2593
2593
|
**/
|
|
2594
|
-
NotMigrated: GenericPalletError
|
|
2594
|
+
NotMigrated: GenericPalletError;
|
|
2595
2595
|
|
|
2596
2596
|
/**
|
|
2597
2597
|
* This call is not allowed in the current state of the pallet.
|
|
2598
2598
|
**/
|
|
2599
|
-
NotSupported: GenericPalletError
|
|
2599
|
+
NotSupported: GenericPalletError;
|
|
2600
2600
|
|
|
2601
2601
|
/**
|
|
2602
2602
|
* Account is restricted from participation in pools. This may happen if the account is
|
|
2603
2603
|
* staking in another way already.
|
|
2604
2604
|
**/
|
|
2605
|
-
Restricted: GenericPalletError
|
|
2605
|
+
Restricted: GenericPalletError;
|
|
2606
2606
|
|
|
2607
2607
|
/**
|
|
2608
2608
|
* Generic pallet error
|
|
2609
2609
|
**/
|
|
2610
|
-
[error: string]: GenericPalletError
|
|
2610
|
+
[error: string]: GenericPalletError;
|
|
2611
2611
|
};
|
|
2612
2612
|
/**
|
|
2613
2613
|
* Pallet `VoterList`'s errors
|
|
@@ -2616,17 +2616,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2616
2616
|
/**
|
|
2617
2617
|
* A error in the list interface implementation.
|
|
2618
2618
|
**/
|
|
2619
|
-
List: GenericPalletError
|
|
2619
|
+
List: GenericPalletError;
|
|
2620
2620
|
|
|
2621
2621
|
/**
|
|
2622
2622
|
* Could not update a node, because the pallet is locked.
|
|
2623
2623
|
**/
|
|
2624
|
-
Locked: GenericPalletError
|
|
2624
|
+
Locked: GenericPalletError;
|
|
2625
2625
|
|
|
2626
2626
|
/**
|
|
2627
2627
|
* Generic pallet error
|
|
2628
2628
|
**/
|
|
2629
|
-
[error: string]: GenericPalletError
|
|
2629
|
+
[error: string]: GenericPalletError;
|
|
2630
2630
|
};
|
|
2631
2631
|
/**
|
|
2632
2632
|
* Pallet `DelegatedStaking`'s errors
|
|
@@ -2635,17 +2635,17 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2635
2635
|
/**
|
|
2636
2636
|
* The account cannot perform this operation.
|
|
2637
2637
|
**/
|
|
2638
|
-
NotAllowed: GenericPalletError
|
|
2638
|
+
NotAllowed: GenericPalletError;
|
|
2639
2639
|
|
|
2640
2640
|
/**
|
|
2641
2641
|
* An existing staker cannot perform this action.
|
|
2642
2642
|
**/
|
|
2643
|
-
AlreadyStaking: GenericPalletError
|
|
2643
|
+
AlreadyStaking: GenericPalletError;
|
|
2644
2644
|
|
|
2645
2645
|
/**
|
|
2646
2646
|
* Reward Destination cannot be same as `Agent` account.
|
|
2647
2647
|
**/
|
|
2648
|
-
InvalidRewardDestination: GenericPalletError
|
|
2648
|
+
InvalidRewardDestination: GenericPalletError;
|
|
2649
2649
|
|
|
2650
2650
|
/**
|
|
2651
2651
|
* Delegation conditions are not met.
|
|
@@ -2654,52 +2654,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2654
2654
|
* 1) Cannot delegate to self,
|
|
2655
2655
|
* 2) Cannot delegate to multiple delegates.
|
|
2656
2656
|
**/
|
|
2657
|
-
InvalidDelegation: GenericPalletError
|
|
2657
|
+
InvalidDelegation: GenericPalletError;
|
|
2658
2658
|
|
|
2659
2659
|
/**
|
|
2660
2660
|
* The account does not have enough funds to perform the operation.
|
|
2661
2661
|
**/
|
|
2662
|
-
NotEnoughFunds: GenericPalletError
|
|
2662
|
+
NotEnoughFunds: GenericPalletError;
|
|
2663
2663
|
|
|
2664
2664
|
/**
|
|
2665
2665
|
* Not an existing `Agent` account.
|
|
2666
2666
|
**/
|
|
2667
|
-
NotAgent: GenericPalletError
|
|
2667
|
+
NotAgent: GenericPalletError;
|
|
2668
2668
|
|
|
2669
2669
|
/**
|
|
2670
2670
|
* Not a Delegator account.
|
|
2671
2671
|
**/
|
|
2672
|
-
NotDelegator: GenericPalletError
|
|
2672
|
+
NotDelegator: GenericPalletError;
|
|
2673
2673
|
|
|
2674
2674
|
/**
|
|
2675
2675
|
* Some corruption in internal state.
|
|
2676
2676
|
**/
|
|
2677
|
-
BadState: GenericPalletError
|
|
2677
|
+
BadState: GenericPalletError;
|
|
2678
2678
|
|
|
2679
2679
|
/**
|
|
2680
2680
|
* Unapplied pending slash restricts operation on `Agent`.
|
|
2681
2681
|
**/
|
|
2682
|
-
UnappliedSlash: GenericPalletError
|
|
2682
|
+
UnappliedSlash: GenericPalletError;
|
|
2683
2683
|
|
|
2684
2684
|
/**
|
|
2685
2685
|
* `Agent` has no pending slash to be applied.
|
|
2686
2686
|
**/
|
|
2687
|
-
NothingToSlash: GenericPalletError
|
|
2687
|
+
NothingToSlash: GenericPalletError;
|
|
2688
2688
|
|
|
2689
2689
|
/**
|
|
2690
2690
|
* Failed to withdraw amount from Core Staking.
|
|
2691
2691
|
**/
|
|
2692
|
-
WithdrawFailed: GenericPalletError
|
|
2692
|
+
WithdrawFailed: GenericPalletError;
|
|
2693
2693
|
|
|
2694
2694
|
/**
|
|
2695
2695
|
* Operation not supported by this pallet.
|
|
2696
2696
|
**/
|
|
2697
|
-
NotSupported: GenericPalletError
|
|
2697
|
+
NotSupported: GenericPalletError;
|
|
2698
2698
|
|
|
2699
2699
|
/**
|
|
2700
2700
|
* Generic pallet error
|
|
2701
2701
|
**/
|
|
2702
|
-
[error: string]: GenericPalletError
|
|
2702
|
+
[error: string]: GenericPalletError;
|
|
2703
2703
|
};
|
|
2704
2704
|
/**
|
|
2705
2705
|
* Pallet `MultiBlockElection`'s errors
|
|
@@ -2708,22 +2708,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2708
2708
|
/**
|
|
2709
2709
|
* Triggering the `Fallback` failed.
|
|
2710
2710
|
**/
|
|
2711
|
-
Fallback: GenericPalletError
|
|
2711
|
+
Fallback: GenericPalletError;
|
|
2712
2712
|
|
|
2713
2713
|
/**
|
|
2714
2714
|
* Unexpected phase
|
|
2715
2715
|
**/
|
|
2716
|
-
UnexpectedPhase: GenericPalletError
|
|
2716
|
+
UnexpectedPhase: GenericPalletError;
|
|
2717
2717
|
|
|
2718
2718
|
/**
|
|
2719
2719
|
* Snapshot was unavailable.
|
|
2720
2720
|
**/
|
|
2721
|
-
Snapshot: GenericPalletError
|
|
2721
|
+
Snapshot: GenericPalletError;
|
|
2722
2722
|
|
|
2723
2723
|
/**
|
|
2724
2724
|
* Generic pallet error
|
|
2725
2725
|
**/
|
|
2726
|
-
[error: string]: GenericPalletError
|
|
2726
|
+
[error: string]: GenericPalletError;
|
|
2727
2727
|
};
|
|
2728
2728
|
/**
|
|
2729
2729
|
* Pallet `MultiBlockElectionSigned`'s errors
|
|
@@ -2732,52 +2732,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2732
2732
|
/**
|
|
2733
2733
|
* The phase is not signed.
|
|
2734
2734
|
**/
|
|
2735
|
-
PhaseNotSigned: GenericPalletError
|
|
2735
|
+
PhaseNotSigned: GenericPalletError;
|
|
2736
2736
|
|
|
2737
2737
|
/**
|
|
2738
2738
|
* The submission is a duplicate.
|
|
2739
2739
|
**/
|
|
2740
|
-
Duplicate: GenericPalletError
|
|
2740
|
+
Duplicate: GenericPalletError;
|
|
2741
2741
|
|
|
2742
2742
|
/**
|
|
2743
2743
|
* The queue is full.
|
|
2744
2744
|
**/
|
|
2745
|
-
QueueFull: GenericPalletError
|
|
2745
|
+
QueueFull: GenericPalletError;
|
|
2746
2746
|
|
|
2747
2747
|
/**
|
|
2748
2748
|
* The page index is out of bounds.
|
|
2749
2749
|
**/
|
|
2750
|
-
BadPageIndex: GenericPalletError
|
|
2750
|
+
BadPageIndex: GenericPalletError;
|
|
2751
2751
|
|
|
2752
2752
|
/**
|
|
2753
2753
|
* The account is not registered.
|
|
2754
2754
|
**/
|
|
2755
|
-
NotRegistered: GenericPalletError
|
|
2755
|
+
NotRegistered: GenericPalletError;
|
|
2756
2756
|
|
|
2757
2757
|
/**
|
|
2758
2758
|
* No submission found.
|
|
2759
2759
|
**/
|
|
2760
|
-
NoSubmission: GenericPalletError
|
|
2760
|
+
NoSubmission: GenericPalletError;
|
|
2761
2761
|
|
|
2762
2762
|
/**
|
|
2763
2763
|
* Round is not yet over.
|
|
2764
2764
|
**/
|
|
2765
|
-
RoundNotOver: GenericPalletError
|
|
2765
|
+
RoundNotOver: GenericPalletError;
|
|
2766
2766
|
|
|
2767
2767
|
/**
|
|
2768
2768
|
* Bad witness data provided.
|
|
2769
2769
|
**/
|
|
2770
|
-
BadWitnessData: GenericPalletError
|
|
2770
|
+
BadWitnessData: GenericPalletError;
|
|
2771
2771
|
|
|
2772
2772
|
/**
|
|
2773
2773
|
* Too many invulnerable accounts are provided,
|
|
2774
2774
|
**/
|
|
2775
|
-
TooManyInvulnerables: GenericPalletError
|
|
2775
|
+
TooManyInvulnerables: GenericPalletError;
|
|
2776
2776
|
|
|
2777
2777
|
/**
|
|
2778
2778
|
* Generic pallet error
|
|
2779
2779
|
**/
|
|
2780
|
-
[error: string]: GenericPalletError
|
|
2780
|
+
[error: string]: GenericPalletError;
|
|
2781
2781
|
};
|
|
2782
2782
|
/**
|
|
2783
2783
|
* Pallet `Staking`'s errors
|
|
@@ -2786,193 +2786,193 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2786
2786
|
/**
|
|
2787
2787
|
* Not a controller account.
|
|
2788
2788
|
**/
|
|
2789
|
-
NotController: GenericPalletError
|
|
2789
|
+
NotController: GenericPalletError;
|
|
2790
2790
|
|
|
2791
2791
|
/**
|
|
2792
2792
|
* Not a stash account.
|
|
2793
2793
|
**/
|
|
2794
|
-
NotStash: GenericPalletError
|
|
2794
|
+
NotStash: GenericPalletError;
|
|
2795
2795
|
|
|
2796
2796
|
/**
|
|
2797
2797
|
* Stash is already bonded.
|
|
2798
2798
|
**/
|
|
2799
|
-
AlreadyBonded: GenericPalletError
|
|
2799
|
+
AlreadyBonded: GenericPalletError;
|
|
2800
2800
|
|
|
2801
2801
|
/**
|
|
2802
2802
|
* Controller is already paired.
|
|
2803
2803
|
**/
|
|
2804
|
-
AlreadyPaired: GenericPalletError
|
|
2804
|
+
AlreadyPaired: GenericPalletError;
|
|
2805
2805
|
|
|
2806
2806
|
/**
|
|
2807
2807
|
* Targets cannot be empty.
|
|
2808
2808
|
**/
|
|
2809
|
-
EmptyTargets: GenericPalletError
|
|
2809
|
+
EmptyTargets: GenericPalletError;
|
|
2810
2810
|
|
|
2811
2811
|
/**
|
|
2812
2812
|
* Duplicate index.
|
|
2813
2813
|
**/
|
|
2814
|
-
DuplicateIndex: GenericPalletError
|
|
2814
|
+
DuplicateIndex: GenericPalletError;
|
|
2815
2815
|
|
|
2816
2816
|
/**
|
|
2817
2817
|
* Slash record not found.
|
|
2818
2818
|
**/
|
|
2819
|
-
InvalidSlashRecord: GenericPalletError
|
|
2819
|
+
InvalidSlashRecord: GenericPalletError;
|
|
2820
2820
|
|
|
2821
2821
|
/**
|
|
2822
2822
|
* Cannot bond, nominate or validate with value less than the minimum defined by
|
|
2823
2823
|
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
|
|
2824
2824
|
* intention, `chill` first to remove one's role as validator/nominator.
|
|
2825
2825
|
**/
|
|
2826
|
-
InsufficientBond: GenericPalletError
|
|
2826
|
+
InsufficientBond: GenericPalletError;
|
|
2827
2827
|
|
|
2828
2828
|
/**
|
|
2829
2829
|
* Can not schedule more unlock chunks.
|
|
2830
2830
|
**/
|
|
2831
|
-
NoMoreChunks: GenericPalletError
|
|
2831
|
+
NoMoreChunks: GenericPalletError;
|
|
2832
2832
|
|
|
2833
2833
|
/**
|
|
2834
2834
|
* Can not rebond without unlocking chunks.
|
|
2835
2835
|
**/
|
|
2836
|
-
NoUnlockChunk: GenericPalletError
|
|
2836
|
+
NoUnlockChunk: GenericPalletError;
|
|
2837
2837
|
|
|
2838
2838
|
/**
|
|
2839
2839
|
* Attempting to target a stash that still has funds.
|
|
2840
2840
|
**/
|
|
2841
|
-
FundedTarget: GenericPalletError
|
|
2841
|
+
FundedTarget: GenericPalletError;
|
|
2842
2842
|
|
|
2843
2843
|
/**
|
|
2844
2844
|
* Invalid era to reward.
|
|
2845
2845
|
**/
|
|
2846
|
-
InvalidEraToReward: GenericPalletError
|
|
2846
|
+
InvalidEraToReward: GenericPalletError;
|
|
2847
2847
|
|
|
2848
2848
|
/**
|
|
2849
2849
|
* Invalid number of nominations.
|
|
2850
2850
|
**/
|
|
2851
|
-
InvalidNumberOfNominations: GenericPalletError
|
|
2851
|
+
InvalidNumberOfNominations: GenericPalletError;
|
|
2852
2852
|
|
|
2853
2853
|
/**
|
|
2854
2854
|
* Rewards for this era have already been claimed for this validator.
|
|
2855
2855
|
**/
|
|
2856
|
-
AlreadyClaimed: GenericPalletError
|
|
2856
|
+
AlreadyClaimed: GenericPalletError;
|
|
2857
2857
|
|
|
2858
2858
|
/**
|
|
2859
2859
|
* No nominators exist on this page.
|
|
2860
2860
|
**/
|
|
2861
|
-
InvalidPage: GenericPalletError
|
|
2861
|
+
InvalidPage: GenericPalletError;
|
|
2862
2862
|
|
|
2863
2863
|
/**
|
|
2864
2864
|
* Incorrect previous history depth input provided.
|
|
2865
2865
|
**/
|
|
2866
|
-
IncorrectHistoryDepth: GenericPalletError
|
|
2866
|
+
IncorrectHistoryDepth: GenericPalletError;
|
|
2867
2867
|
|
|
2868
2868
|
/**
|
|
2869
2869
|
* Internal state has become somehow corrupted and the operation cannot continue.
|
|
2870
2870
|
**/
|
|
2871
|
-
BadState: GenericPalletError
|
|
2871
|
+
BadState: GenericPalletError;
|
|
2872
2872
|
|
|
2873
2873
|
/**
|
|
2874
2874
|
* Too many nomination targets supplied.
|
|
2875
2875
|
**/
|
|
2876
|
-
TooManyTargets: GenericPalletError
|
|
2876
|
+
TooManyTargets: GenericPalletError;
|
|
2877
2877
|
|
|
2878
2878
|
/**
|
|
2879
2879
|
* A nomination target was supplied that was blocked or otherwise not a validator.
|
|
2880
2880
|
**/
|
|
2881
|
-
BadTarget: GenericPalletError
|
|
2881
|
+
BadTarget: GenericPalletError;
|
|
2882
2882
|
|
|
2883
2883
|
/**
|
|
2884
2884
|
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
|
2885
2885
|
**/
|
|
2886
|
-
CannotChillOther: GenericPalletError
|
|
2886
|
+
CannotChillOther: GenericPalletError;
|
|
2887
2887
|
|
|
2888
2888
|
/**
|
|
2889
2889
|
* There are too many nominators in the system. Governance needs to adjust the staking
|
|
2890
2890
|
* settings to keep things safe for the runtime.
|
|
2891
2891
|
**/
|
|
2892
|
-
TooManyNominators: GenericPalletError
|
|
2892
|
+
TooManyNominators: GenericPalletError;
|
|
2893
2893
|
|
|
2894
2894
|
/**
|
|
2895
2895
|
* There are too many validator candidates in the system. Governance needs to adjust the
|
|
2896
2896
|
* staking settings to keep things safe for the runtime.
|
|
2897
2897
|
**/
|
|
2898
|
-
TooManyValidators: GenericPalletError
|
|
2898
|
+
TooManyValidators: GenericPalletError;
|
|
2899
2899
|
|
|
2900
2900
|
/**
|
|
2901
2901
|
* Commission is too low. Must be at least `MinCommission`.
|
|
2902
2902
|
**/
|
|
2903
|
-
CommissionTooLow: GenericPalletError
|
|
2903
|
+
CommissionTooLow: GenericPalletError;
|
|
2904
2904
|
|
|
2905
2905
|
/**
|
|
2906
2906
|
* Some bound is not met.
|
|
2907
2907
|
**/
|
|
2908
|
-
BoundNotMet: GenericPalletError
|
|
2908
|
+
BoundNotMet: GenericPalletError;
|
|
2909
2909
|
|
|
2910
2910
|
/**
|
|
2911
2911
|
* Used when attempting to use deprecated controller account logic.
|
|
2912
2912
|
**/
|
|
2913
|
-
ControllerDeprecated: GenericPalletError
|
|
2913
|
+
ControllerDeprecated: GenericPalletError;
|
|
2914
2914
|
|
|
2915
2915
|
/**
|
|
2916
2916
|
* Cannot reset a ledger.
|
|
2917
2917
|
**/
|
|
2918
|
-
CannotRestoreLedger: GenericPalletError
|
|
2918
|
+
CannotRestoreLedger: GenericPalletError;
|
|
2919
2919
|
|
|
2920
2920
|
/**
|
|
2921
2921
|
* Provided reward destination is not allowed.
|
|
2922
2922
|
**/
|
|
2923
|
-
RewardDestinationRestricted: GenericPalletError
|
|
2923
|
+
RewardDestinationRestricted: GenericPalletError;
|
|
2924
2924
|
|
|
2925
2925
|
/**
|
|
2926
2926
|
* Not enough funds available to withdraw.
|
|
2927
2927
|
**/
|
|
2928
|
-
NotEnoughFunds: GenericPalletError
|
|
2928
|
+
NotEnoughFunds: GenericPalletError;
|
|
2929
2929
|
|
|
2930
2930
|
/**
|
|
2931
2931
|
* Operation not allowed for virtual stakers.
|
|
2932
2932
|
**/
|
|
2933
|
-
VirtualStakerNotAllowed: GenericPalletError
|
|
2933
|
+
VirtualStakerNotAllowed: GenericPalletError;
|
|
2934
2934
|
|
|
2935
2935
|
/**
|
|
2936
2936
|
* Stash could not be reaped as other pallet might depend on it.
|
|
2937
2937
|
**/
|
|
2938
|
-
CannotReapStash: GenericPalletError
|
|
2938
|
+
CannotReapStash: GenericPalletError;
|
|
2939
2939
|
|
|
2940
2940
|
/**
|
|
2941
2941
|
* The stake of this account is already migrated to `Fungible` holds.
|
|
2942
2942
|
**/
|
|
2943
|
-
AlreadyMigrated: GenericPalletError
|
|
2943
|
+
AlreadyMigrated: GenericPalletError;
|
|
2944
2944
|
|
|
2945
2945
|
/**
|
|
2946
2946
|
* Era not yet started.
|
|
2947
2947
|
**/
|
|
2948
|
-
EraNotStarted: GenericPalletError
|
|
2948
|
+
EraNotStarted: GenericPalletError;
|
|
2949
2949
|
|
|
2950
2950
|
/**
|
|
2951
2951
|
* Account is restricted from participation in staking. This may happen if the account is
|
|
2952
2952
|
* staking in another way already, such as via pool.
|
|
2953
2953
|
**/
|
|
2954
|
-
Restricted: GenericPalletError
|
|
2954
|
+
Restricted: GenericPalletError;
|
|
2955
2955
|
|
|
2956
2956
|
/**
|
|
2957
2957
|
* Unapplied slashes in the recently concluded era is blocking this operation.
|
|
2958
2958
|
* See `Call::apply_slash` to apply them.
|
|
2959
2959
|
**/
|
|
2960
|
-
UnappliedSlashesInPreviousEra: GenericPalletError
|
|
2960
|
+
UnappliedSlashesInPreviousEra: GenericPalletError;
|
|
2961
2961
|
|
|
2962
2962
|
/**
|
|
2963
2963
|
* The era is not eligible for pruning.
|
|
2964
2964
|
**/
|
|
2965
|
-
EraNotPrunable: GenericPalletError
|
|
2965
|
+
EraNotPrunable: GenericPalletError;
|
|
2966
2966
|
|
|
2967
2967
|
/**
|
|
2968
2968
|
* The slash has been cancelled and cannot be applied.
|
|
2969
2969
|
**/
|
|
2970
|
-
CancelledSlash: GenericPalletError
|
|
2970
|
+
CancelledSlash: GenericPalletError;
|
|
2971
2971
|
|
|
2972
2972
|
/**
|
|
2973
2973
|
* Generic pallet error
|
|
2974
2974
|
**/
|
|
2975
|
-
[error: string]: GenericPalletError
|
|
2975
|
+
[error: string]: GenericPalletError;
|
|
2976
2976
|
};
|
|
2977
2977
|
/**
|
|
2978
2978
|
* Pallet `Treasury`'s errors
|
|
@@ -2981,63 +2981,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2981
2981
|
/**
|
|
2982
2982
|
* No proposal, bounty or spend at that index.
|
|
2983
2983
|
**/
|
|
2984
|
-
InvalidIndex: GenericPalletError
|
|
2984
|
+
InvalidIndex: GenericPalletError;
|
|
2985
2985
|
|
|
2986
2986
|
/**
|
|
2987
2987
|
* Too many approvals in the queue.
|
|
2988
2988
|
**/
|
|
2989
|
-
TooManyApprovals: GenericPalletError
|
|
2989
|
+
TooManyApprovals: GenericPalletError;
|
|
2990
2990
|
|
|
2991
2991
|
/**
|
|
2992
2992
|
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
2993
2993
|
* amount to be spent.
|
|
2994
2994
|
**/
|
|
2995
|
-
InsufficientPermission: GenericPalletError
|
|
2995
|
+
InsufficientPermission: GenericPalletError;
|
|
2996
2996
|
|
|
2997
2997
|
/**
|
|
2998
2998
|
* Proposal has not been approved.
|
|
2999
2999
|
**/
|
|
3000
|
-
ProposalNotApproved: GenericPalletError
|
|
3000
|
+
ProposalNotApproved: GenericPalletError;
|
|
3001
3001
|
|
|
3002
3002
|
/**
|
|
3003
3003
|
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
3004
3004
|
**/
|
|
3005
|
-
FailedToConvertBalance: GenericPalletError
|
|
3005
|
+
FailedToConvertBalance: GenericPalletError;
|
|
3006
3006
|
|
|
3007
3007
|
/**
|
|
3008
3008
|
* The spend has expired and cannot be claimed.
|
|
3009
3009
|
**/
|
|
3010
|
-
SpendExpired: GenericPalletError
|
|
3010
|
+
SpendExpired: GenericPalletError;
|
|
3011
3011
|
|
|
3012
3012
|
/**
|
|
3013
3013
|
* The spend is not yet eligible for payout.
|
|
3014
3014
|
**/
|
|
3015
|
-
EarlyPayout: GenericPalletError
|
|
3015
|
+
EarlyPayout: GenericPalletError;
|
|
3016
3016
|
|
|
3017
3017
|
/**
|
|
3018
3018
|
* The payment has already been attempted.
|
|
3019
3019
|
**/
|
|
3020
|
-
AlreadyAttempted: GenericPalletError
|
|
3020
|
+
AlreadyAttempted: GenericPalletError;
|
|
3021
3021
|
|
|
3022
3022
|
/**
|
|
3023
3023
|
* There was some issue with the mechanism of payment.
|
|
3024
3024
|
**/
|
|
3025
|
-
PayoutError: GenericPalletError
|
|
3025
|
+
PayoutError: GenericPalletError;
|
|
3026
3026
|
|
|
3027
3027
|
/**
|
|
3028
3028
|
* The payout was not yet attempted/claimed.
|
|
3029
3029
|
**/
|
|
3030
|
-
NotAttempted: GenericPalletError
|
|
3030
|
+
NotAttempted: GenericPalletError;
|
|
3031
3031
|
|
|
3032
3032
|
/**
|
|
3033
3033
|
* The payment has neither failed nor succeeded yet.
|
|
3034
3034
|
**/
|
|
3035
|
-
Inconclusive: GenericPalletError
|
|
3035
|
+
Inconclusive: GenericPalletError;
|
|
3036
3036
|
|
|
3037
3037
|
/**
|
|
3038
3038
|
* Generic pallet error
|
|
3039
3039
|
**/
|
|
3040
|
-
[error: string]: GenericPalletError
|
|
3040
|
+
[error: string]: GenericPalletError;
|
|
3041
3041
|
};
|
|
3042
3042
|
/**
|
|
3043
3043
|
* Pallet `ConvictionVoting`'s errors
|
|
@@ -3046,68 +3046,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3046
3046
|
/**
|
|
3047
3047
|
* Poll is not ongoing.
|
|
3048
3048
|
**/
|
|
3049
|
-
NotOngoing: GenericPalletError
|
|
3049
|
+
NotOngoing: GenericPalletError;
|
|
3050
3050
|
|
|
3051
3051
|
/**
|
|
3052
3052
|
* The given account did not vote on the poll.
|
|
3053
3053
|
**/
|
|
3054
|
-
NotVoter: GenericPalletError
|
|
3054
|
+
NotVoter: GenericPalletError;
|
|
3055
3055
|
|
|
3056
3056
|
/**
|
|
3057
3057
|
* The actor has no permission to conduct the action.
|
|
3058
3058
|
**/
|
|
3059
|
-
NoPermission: GenericPalletError
|
|
3059
|
+
NoPermission: GenericPalletError;
|
|
3060
3060
|
|
|
3061
3061
|
/**
|
|
3062
3062
|
* The actor has no permission to conduct the action right now but will do in the future.
|
|
3063
3063
|
**/
|
|
3064
|
-
NoPermissionYet: GenericPalletError
|
|
3064
|
+
NoPermissionYet: GenericPalletError;
|
|
3065
3065
|
|
|
3066
3066
|
/**
|
|
3067
3067
|
* The account is already delegating.
|
|
3068
3068
|
**/
|
|
3069
|
-
AlreadyDelegating: GenericPalletError
|
|
3069
|
+
AlreadyDelegating: GenericPalletError;
|
|
3070
3070
|
|
|
3071
3071
|
/**
|
|
3072
3072
|
* The account currently has votes attached to it and the operation cannot succeed until
|
|
3073
3073
|
* these are removed through `remove_vote`.
|
|
3074
3074
|
**/
|
|
3075
|
-
AlreadyVoting: GenericPalletError
|
|
3075
|
+
AlreadyVoting: GenericPalletError;
|
|
3076
3076
|
|
|
3077
3077
|
/**
|
|
3078
3078
|
* Too high a balance was provided that the account cannot afford.
|
|
3079
3079
|
**/
|
|
3080
|
-
InsufficientFunds: GenericPalletError
|
|
3080
|
+
InsufficientFunds: GenericPalletError;
|
|
3081
3081
|
|
|
3082
3082
|
/**
|
|
3083
3083
|
* The account is not currently delegating.
|
|
3084
3084
|
**/
|
|
3085
|
-
NotDelegating: GenericPalletError
|
|
3085
|
+
NotDelegating: GenericPalletError;
|
|
3086
3086
|
|
|
3087
3087
|
/**
|
|
3088
3088
|
* Delegation to oneself makes no sense.
|
|
3089
3089
|
**/
|
|
3090
|
-
Nonsense: GenericPalletError
|
|
3090
|
+
Nonsense: GenericPalletError;
|
|
3091
3091
|
|
|
3092
3092
|
/**
|
|
3093
3093
|
* Maximum number of votes reached.
|
|
3094
3094
|
**/
|
|
3095
|
-
MaxVotesReached: GenericPalletError
|
|
3095
|
+
MaxVotesReached: GenericPalletError;
|
|
3096
3096
|
|
|
3097
3097
|
/**
|
|
3098
3098
|
* The class must be supplied since it is not easily determinable from the state.
|
|
3099
3099
|
**/
|
|
3100
|
-
ClassNeeded: GenericPalletError
|
|
3100
|
+
ClassNeeded: GenericPalletError;
|
|
3101
3101
|
|
|
3102
3102
|
/**
|
|
3103
3103
|
* The class ID supplied is invalid.
|
|
3104
3104
|
**/
|
|
3105
|
-
BadClass: GenericPalletError
|
|
3105
|
+
BadClass: GenericPalletError;
|
|
3106
3106
|
|
|
3107
3107
|
/**
|
|
3108
3108
|
* Generic pallet error
|
|
3109
3109
|
**/
|
|
3110
|
-
[error: string]: GenericPalletError
|
|
3110
|
+
[error: string]: GenericPalletError;
|
|
3111
3111
|
};
|
|
3112
3112
|
/**
|
|
3113
3113
|
* Pallet `Referenda`'s errors
|
|
@@ -3116,77 +3116,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3116
3116
|
/**
|
|
3117
3117
|
* Referendum is not ongoing.
|
|
3118
3118
|
**/
|
|
3119
|
-
NotOngoing: GenericPalletError
|
|
3119
|
+
NotOngoing: GenericPalletError;
|
|
3120
3120
|
|
|
3121
3121
|
/**
|
|
3122
3122
|
* Referendum's decision deposit is already paid.
|
|
3123
3123
|
**/
|
|
3124
|
-
HasDeposit: GenericPalletError
|
|
3124
|
+
HasDeposit: GenericPalletError;
|
|
3125
3125
|
|
|
3126
3126
|
/**
|
|
3127
3127
|
* The track identifier given was invalid.
|
|
3128
3128
|
**/
|
|
3129
|
-
BadTrack: GenericPalletError
|
|
3129
|
+
BadTrack: GenericPalletError;
|
|
3130
3130
|
|
|
3131
3131
|
/**
|
|
3132
3132
|
* There are already a full complement of referenda in progress for this track.
|
|
3133
3133
|
**/
|
|
3134
|
-
Full: GenericPalletError
|
|
3134
|
+
Full: GenericPalletError;
|
|
3135
3135
|
|
|
3136
3136
|
/**
|
|
3137
3137
|
* The queue of the track is empty.
|
|
3138
3138
|
**/
|
|
3139
|
-
QueueEmpty: GenericPalletError
|
|
3139
|
+
QueueEmpty: GenericPalletError;
|
|
3140
3140
|
|
|
3141
3141
|
/**
|
|
3142
3142
|
* The referendum index provided is invalid in this context.
|
|
3143
3143
|
**/
|
|
3144
|
-
BadReferendum: GenericPalletError
|
|
3144
|
+
BadReferendum: GenericPalletError;
|
|
3145
3145
|
|
|
3146
3146
|
/**
|
|
3147
3147
|
* There was nothing to do in the advancement.
|
|
3148
3148
|
**/
|
|
3149
|
-
NothingToDo: GenericPalletError
|
|
3149
|
+
NothingToDo: GenericPalletError;
|
|
3150
3150
|
|
|
3151
3151
|
/**
|
|
3152
3152
|
* No track exists for the proposal origin.
|
|
3153
3153
|
**/
|
|
3154
|
-
NoTrack: GenericPalletError
|
|
3154
|
+
NoTrack: GenericPalletError;
|
|
3155
3155
|
|
|
3156
3156
|
/**
|
|
3157
3157
|
* Any deposit cannot be refunded until after the decision is over.
|
|
3158
3158
|
**/
|
|
3159
|
-
Unfinished: GenericPalletError
|
|
3159
|
+
Unfinished: GenericPalletError;
|
|
3160
3160
|
|
|
3161
3161
|
/**
|
|
3162
3162
|
* The deposit refunder is not the depositor.
|
|
3163
3163
|
**/
|
|
3164
|
-
NoPermission: GenericPalletError
|
|
3164
|
+
NoPermission: GenericPalletError;
|
|
3165
3165
|
|
|
3166
3166
|
/**
|
|
3167
3167
|
* The deposit cannot be refunded since none was made.
|
|
3168
3168
|
**/
|
|
3169
|
-
NoDeposit: GenericPalletError
|
|
3169
|
+
NoDeposit: GenericPalletError;
|
|
3170
3170
|
|
|
3171
3171
|
/**
|
|
3172
3172
|
* The referendum status is invalid for this operation.
|
|
3173
3173
|
**/
|
|
3174
|
-
BadStatus: GenericPalletError
|
|
3174
|
+
BadStatus: GenericPalletError;
|
|
3175
3175
|
|
|
3176
3176
|
/**
|
|
3177
3177
|
* The preimage does not exist.
|
|
3178
3178
|
**/
|
|
3179
|
-
PreimageNotExist: GenericPalletError
|
|
3179
|
+
PreimageNotExist: GenericPalletError;
|
|
3180
3180
|
|
|
3181
3181
|
/**
|
|
3182
3182
|
* The preimage is stored with a different length than the one provided.
|
|
3183
3183
|
**/
|
|
3184
|
-
PreimageStoredWithDifferentLength: GenericPalletError
|
|
3184
|
+
PreimageStoredWithDifferentLength: GenericPalletError;
|
|
3185
3185
|
|
|
3186
3186
|
/**
|
|
3187
3187
|
* Generic pallet error
|
|
3188
3188
|
**/
|
|
3189
|
-
[error: string]: GenericPalletError
|
|
3189
|
+
[error: string]: GenericPalletError;
|
|
3190
3190
|
};
|
|
3191
3191
|
/**
|
|
3192
3192
|
* Pallet `Whitelist`'s errors
|
|
@@ -3195,32 +3195,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3195
3195
|
/**
|
|
3196
3196
|
* The preimage of the call hash could not be loaded.
|
|
3197
3197
|
**/
|
|
3198
|
-
UnavailablePreImage: GenericPalletError
|
|
3198
|
+
UnavailablePreImage: GenericPalletError;
|
|
3199
3199
|
|
|
3200
3200
|
/**
|
|
3201
3201
|
* The call could not be decoded.
|
|
3202
3202
|
**/
|
|
3203
|
-
UndecodableCall: GenericPalletError
|
|
3203
|
+
UndecodableCall: GenericPalletError;
|
|
3204
3204
|
|
|
3205
3205
|
/**
|
|
3206
3206
|
* The weight of the decoded call was higher than the witness.
|
|
3207
3207
|
**/
|
|
3208
|
-
InvalidCallWeightWitness: GenericPalletError
|
|
3208
|
+
InvalidCallWeightWitness: GenericPalletError;
|
|
3209
3209
|
|
|
3210
3210
|
/**
|
|
3211
3211
|
* The call was not whitelisted.
|
|
3212
3212
|
**/
|
|
3213
|
-
CallIsNotWhitelisted: GenericPalletError
|
|
3213
|
+
CallIsNotWhitelisted: GenericPalletError;
|
|
3214
3214
|
|
|
3215
3215
|
/**
|
|
3216
3216
|
* The call was already whitelisted; No-Op.
|
|
3217
3217
|
**/
|
|
3218
|
-
CallAlreadyWhitelisted: GenericPalletError
|
|
3218
|
+
CallAlreadyWhitelisted: GenericPalletError;
|
|
3219
3219
|
|
|
3220
3220
|
/**
|
|
3221
3221
|
* Generic pallet error
|
|
3222
3222
|
**/
|
|
3223
|
-
[error: string]: GenericPalletError
|
|
3223
|
+
[error: string]: GenericPalletError;
|
|
3224
3224
|
};
|
|
3225
3225
|
/**
|
|
3226
3226
|
* Pallet `Bounties`'s errors
|
|
@@ -3229,68 +3229,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3229
3229
|
/**
|
|
3230
3230
|
* Proposer's balance is too low.
|
|
3231
3231
|
**/
|
|
3232
|
-
InsufficientProposersBalance: GenericPalletError
|
|
3232
|
+
InsufficientProposersBalance: GenericPalletError;
|
|
3233
3233
|
|
|
3234
3234
|
/**
|
|
3235
3235
|
* No proposal or bounty at that index.
|
|
3236
3236
|
**/
|
|
3237
|
-
InvalidIndex: GenericPalletError
|
|
3237
|
+
InvalidIndex: GenericPalletError;
|
|
3238
3238
|
|
|
3239
3239
|
/**
|
|
3240
3240
|
* The reason given is just too big.
|
|
3241
3241
|
**/
|
|
3242
|
-
ReasonTooBig: GenericPalletError
|
|
3242
|
+
ReasonTooBig: GenericPalletError;
|
|
3243
3243
|
|
|
3244
3244
|
/**
|
|
3245
3245
|
* The bounty status is unexpected.
|
|
3246
3246
|
**/
|
|
3247
|
-
UnexpectedStatus: GenericPalletError
|
|
3247
|
+
UnexpectedStatus: GenericPalletError;
|
|
3248
3248
|
|
|
3249
3249
|
/**
|
|
3250
3250
|
* Require bounty curator.
|
|
3251
3251
|
**/
|
|
3252
|
-
RequireCurator: GenericPalletError
|
|
3252
|
+
RequireCurator: GenericPalletError;
|
|
3253
3253
|
|
|
3254
3254
|
/**
|
|
3255
3255
|
* Invalid bounty value.
|
|
3256
3256
|
**/
|
|
3257
|
-
InvalidValue: GenericPalletError
|
|
3257
|
+
InvalidValue: GenericPalletError;
|
|
3258
3258
|
|
|
3259
3259
|
/**
|
|
3260
3260
|
* Invalid bounty fee.
|
|
3261
3261
|
**/
|
|
3262
|
-
InvalidFee: GenericPalletError
|
|
3262
|
+
InvalidFee: GenericPalletError;
|
|
3263
3263
|
|
|
3264
3264
|
/**
|
|
3265
3265
|
* A bounty payout is pending.
|
|
3266
3266
|
* To cancel the bounty, you must unassign and slash the curator.
|
|
3267
3267
|
**/
|
|
3268
|
-
PendingPayout: GenericPalletError
|
|
3268
|
+
PendingPayout: GenericPalletError;
|
|
3269
3269
|
|
|
3270
3270
|
/**
|
|
3271
3271
|
* The bounties cannot be claimed/closed because it's still in the countdown period.
|
|
3272
3272
|
**/
|
|
3273
|
-
Premature: GenericPalletError
|
|
3273
|
+
Premature: GenericPalletError;
|
|
3274
3274
|
|
|
3275
3275
|
/**
|
|
3276
3276
|
* The bounty cannot be closed because it has active child bounties.
|
|
3277
3277
|
**/
|
|
3278
|
-
HasActiveChildBounty: GenericPalletError
|
|
3278
|
+
HasActiveChildBounty: GenericPalletError;
|
|
3279
3279
|
|
|
3280
3280
|
/**
|
|
3281
3281
|
* Too many approvals are already queued.
|
|
3282
3282
|
**/
|
|
3283
|
-
TooManyQueued: GenericPalletError
|
|
3283
|
+
TooManyQueued: GenericPalletError;
|
|
3284
3284
|
|
|
3285
3285
|
/**
|
|
3286
3286
|
* User is not the proposer of the bounty.
|
|
3287
3287
|
**/
|
|
3288
|
-
NotProposer: GenericPalletError
|
|
3288
|
+
NotProposer: GenericPalletError;
|
|
3289
3289
|
|
|
3290
3290
|
/**
|
|
3291
3291
|
* Generic pallet error
|
|
3292
3292
|
**/
|
|
3293
|
-
[error: string]: GenericPalletError
|
|
3293
|
+
[error: string]: GenericPalletError;
|
|
3294
3294
|
};
|
|
3295
3295
|
/**
|
|
3296
3296
|
* Pallet `ChildBounties`'s errors
|
|
@@ -3299,22 +3299,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3299
3299
|
/**
|
|
3300
3300
|
* The parent bounty is not in active state.
|
|
3301
3301
|
**/
|
|
3302
|
-
ParentBountyNotActive: GenericPalletError
|
|
3302
|
+
ParentBountyNotActive: GenericPalletError;
|
|
3303
3303
|
|
|
3304
3304
|
/**
|
|
3305
3305
|
* The bounty balance is not enough to add new child-bounty.
|
|
3306
3306
|
**/
|
|
3307
|
-
InsufficientBountyBalance: GenericPalletError
|
|
3307
|
+
InsufficientBountyBalance: GenericPalletError;
|
|
3308
3308
|
|
|
3309
3309
|
/**
|
|
3310
3310
|
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
3311
3311
|
**/
|
|
3312
|
-
TooManyChildBounties: GenericPalletError
|
|
3312
|
+
TooManyChildBounties: GenericPalletError;
|
|
3313
3313
|
|
|
3314
3314
|
/**
|
|
3315
3315
|
* Generic pallet error
|
|
3316
3316
|
**/
|
|
3317
|
-
[error: string]: GenericPalletError
|
|
3317
|
+
[error: string]: GenericPalletError;
|
|
3318
3318
|
};
|
|
3319
3319
|
/**
|
|
3320
3320
|
* Pallet `AssetRate`'s errors
|
|
@@ -3323,22 +3323,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3323
3323
|
/**
|
|
3324
3324
|
* The given asset ID is unknown.
|
|
3325
3325
|
**/
|
|
3326
|
-
UnknownAssetKind: GenericPalletError
|
|
3326
|
+
UnknownAssetKind: GenericPalletError;
|
|
3327
3327
|
|
|
3328
3328
|
/**
|
|
3329
3329
|
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
3330
3330
|
**/
|
|
3331
|
-
AlreadyExists: GenericPalletError
|
|
3331
|
+
AlreadyExists: GenericPalletError;
|
|
3332
3332
|
|
|
3333
3333
|
/**
|
|
3334
3334
|
* Overflow ocurred when calculating the inverse rate.
|
|
3335
3335
|
**/
|
|
3336
|
-
Overflow: GenericPalletError
|
|
3336
|
+
Overflow: GenericPalletError;
|
|
3337
3337
|
|
|
3338
3338
|
/**
|
|
3339
3339
|
* Generic pallet error
|
|
3340
3340
|
**/
|
|
3341
|
-
[error: string]: GenericPalletError
|
|
3341
|
+
[error: string]: GenericPalletError;
|
|
3342
3342
|
};
|
|
3343
3343
|
/**
|
|
3344
3344
|
* Pallet `AhOps`'s errors
|
|
@@ -3347,62 +3347,62 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3347
3347
|
/**
|
|
3348
3348
|
* Either no lease deposit or already unreserved.
|
|
3349
3349
|
**/
|
|
3350
|
-
NoLeaseReserve: GenericPalletError
|
|
3350
|
+
NoLeaseReserve: GenericPalletError;
|
|
3351
3351
|
|
|
3352
3352
|
/**
|
|
3353
3353
|
* Either no crowdloan contribution or already withdrawn.
|
|
3354
3354
|
**/
|
|
3355
|
-
NoCrowdloanContribution: GenericPalletError
|
|
3355
|
+
NoCrowdloanContribution: GenericPalletError;
|
|
3356
3356
|
|
|
3357
3357
|
/**
|
|
3358
3358
|
* Either no crowdloan reserve or already unreserved.
|
|
3359
3359
|
**/
|
|
3360
|
-
NoCrowdloanReserve: GenericPalletError
|
|
3360
|
+
NoCrowdloanReserve: GenericPalletError;
|
|
3361
3361
|
|
|
3362
3362
|
/**
|
|
3363
3363
|
* Failed to withdraw crowdloan contribution.
|
|
3364
3364
|
**/
|
|
3365
|
-
FailedToWithdrawCrowdloanContribution: GenericPalletError
|
|
3365
|
+
FailedToWithdrawCrowdloanContribution: GenericPalletError;
|
|
3366
3366
|
|
|
3367
3367
|
/**
|
|
3368
3368
|
* Block number is not yet reached.
|
|
3369
3369
|
**/
|
|
3370
|
-
NotYet: GenericPalletError
|
|
3370
|
+
NotYet: GenericPalletError;
|
|
3371
3371
|
|
|
3372
3372
|
/**
|
|
3373
3373
|
* Not all contributions are withdrawn.
|
|
3374
3374
|
**/
|
|
3375
|
-
ContributionsRemaining: GenericPalletError
|
|
3375
|
+
ContributionsRemaining: GenericPalletError;
|
|
3376
3376
|
|
|
3377
3377
|
/**
|
|
3378
3378
|
* The account is not a derived account.
|
|
3379
3379
|
**/
|
|
3380
|
-
WrongDerivedTranslation: GenericPalletError
|
|
3380
|
+
WrongDerivedTranslation: GenericPalletError;
|
|
3381
3381
|
|
|
3382
3382
|
/**
|
|
3383
3383
|
* Account cannot be migrated since it is not a sovereign parachain account.
|
|
3384
3384
|
**/
|
|
3385
|
-
NotSovereign: GenericPalletError
|
|
3385
|
+
NotSovereign: GenericPalletError;
|
|
3386
3386
|
|
|
3387
3387
|
/**
|
|
3388
3388
|
* Internal error, please bug report.
|
|
3389
3389
|
**/
|
|
3390
|
-
InternalError: GenericPalletError
|
|
3390
|
+
InternalError: GenericPalletError;
|
|
3391
3391
|
|
|
3392
3392
|
/**
|
|
3393
3393
|
* The Asset Hub migration is not completed.
|
|
3394
3394
|
**/
|
|
3395
|
-
MigrationNotCompleted: GenericPalletError
|
|
3395
|
+
MigrationNotCompleted: GenericPalletError;
|
|
3396
3396
|
|
|
3397
3397
|
/**
|
|
3398
3398
|
* The balance is zero.
|
|
3399
3399
|
**/
|
|
3400
|
-
ZeroBalance: GenericPalletError
|
|
3400
|
+
ZeroBalance: GenericPalletError;
|
|
3401
3401
|
|
|
3402
3402
|
/**
|
|
3403
3403
|
* Generic pallet error
|
|
3404
3404
|
**/
|
|
3405
|
-
[error: string]: GenericPalletError
|
|
3405
|
+
[error: string]: GenericPalletError;
|
|
3406
3406
|
};
|
|
3407
3407
|
/**
|
|
3408
3408
|
* Pallet `AhMigrator`'s errors
|
|
@@ -3411,101 +3411,101 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3411
3411
|
/**
|
|
3412
3412
|
* Failed to unreserve deposit.
|
|
3413
3413
|
**/
|
|
3414
|
-
FailedToUnreserveDeposit: GenericPalletError
|
|
3414
|
+
FailedToUnreserveDeposit: GenericPalletError;
|
|
3415
3415
|
|
|
3416
3416
|
/**
|
|
3417
3417
|
* Failed to process an account data from RC.
|
|
3418
3418
|
**/
|
|
3419
|
-
FailedToProcessAccount: GenericPalletError
|
|
3419
|
+
FailedToProcessAccount: GenericPalletError;
|
|
3420
3420
|
|
|
3421
3421
|
/**
|
|
3422
3422
|
* Some item could not be inserted because it already exists.
|
|
3423
3423
|
**/
|
|
3424
|
-
InsertConflict: GenericPalletError
|
|
3424
|
+
InsertConflict: GenericPalletError;
|
|
3425
3425
|
|
|
3426
3426
|
/**
|
|
3427
3427
|
* Failed to convert RC type to AH type.
|
|
3428
3428
|
**/
|
|
3429
|
-
FailedToConvertType: GenericPalletError
|
|
3429
|
+
FailedToConvertType: GenericPalletError;
|
|
3430
3430
|
|
|
3431
3431
|
/**
|
|
3432
3432
|
* Failed to fetch preimage.
|
|
3433
3433
|
**/
|
|
3434
|
-
PreimageNotFound: GenericPalletError
|
|
3434
|
+
PreimageNotFound: GenericPalletError;
|
|
3435
3435
|
|
|
3436
3436
|
/**
|
|
3437
3437
|
* Failed to convert RC call to AH call.
|
|
3438
3438
|
**/
|
|
3439
|
-
FailedToConvertCall: GenericPalletError
|
|
3439
|
+
FailedToConvertCall: GenericPalletError;
|
|
3440
3440
|
|
|
3441
3441
|
/**
|
|
3442
3442
|
* Failed to bound a call.
|
|
3443
3443
|
**/
|
|
3444
|
-
FailedToBoundCall: GenericPalletError
|
|
3444
|
+
FailedToBoundCall: GenericPalletError;
|
|
3445
3445
|
|
|
3446
3446
|
/**
|
|
3447
3447
|
* Failed to send XCM message.
|
|
3448
3448
|
**/
|
|
3449
|
-
XcmError: GenericPalletError
|
|
3449
|
+
XcmError: GenericPalletError;
|
|
3450
3450
|
|
|
3451
3451
|
/**
|
|
3452
3452
|
* Failed to integrate a vesting schedule.
|
|
3453
3453
|
**/
|
|
3454
|
-
FailedToIntegrateVestingSchedule: GenericPalletError
|
|
3454
|
+
FailedToIntegrateVestingSchedule: GenericPalletError;
|
|
3455
3455
|
|
|
3456
3456
|
/**
|
|
3457
3457
|
* Checking account overflow or underflow.
|
|
3458
3458
|
**/
|
|
3459
|
-
FailedToCalculateCheckingAccount: GenericPalletError
|
|
3459
|
+
FailedToCalculateCheckingAccount: GenericPalletError;
|
|
3460
3460
|
|
|
3461
3461
|
/**
|
|
3462
3462
|
* Vector did not fit into its compile-time bound.
|
|
3463
3463
|
**/
|
|
3464
|
-
FailedToBoundVector: GenericPalletError
|
|
3464
|
+
FailedToBoundVector: GenericPalletError;
|
|
3465
3465
|
|
|
3466
3466
|
/**
|
|
3467
3467
|
* The DMP queue priority is already set to the same value.
|
|
3468
3468
|
**/
|
|
3469
|
-
DmpQueuePriorityAlreadySet: GenericPalletError
|
|
3469
|
+
DmpQueuePriorityAlreadySet: GenericPalletError;
|
|
3470
3470
|
|
|
3471
3471
|
/**
|
|
3472
3472
|
* Invalid parameter.
|
|
3473
3473
|
**/
|
|
3474
|
-
InvalidParameter: GenericPalletError
|
|
3474
|
+
InvalidParameter: GenericPalletError;
|
|
3475
3475
|
|
|
3476
3476
|
/**
|
|
3477
3477
|
* Preimage missing.
|
|
3478
3478
|
**/
|
|
3479
|
-
PreimageMissing: GenericPalletError
|
|
3479
|
+
PreimageMissing: GenericPalletError;
|
|
3480
3480
|
|
|
3481
3481
|
/**
|
|
3482
3482
|
* Preimage too big.
|
|
3483
3483
|
**/
|
|
3484
|
-
PreimageTooBig: GenericPalletError
|
|
3484
|
+
PreimageTooBig: GenericPalletError;
|
|
3485
3485
|
|
|
3486
3486
|
/**
|
|
3487
3487
|
* Preimage chunk missing.
|
|
3488
3488
|
**/
|
|
3489
|
-
PreimageChunkMissing: GenericPalletError
|
|
3489
|
+
PreimageChunkMissing: GenericPalletError;
|
|
3490
3490
|
|
|
3491
3491
|
/**
|
|
3492
3492
|
* Preimage status invalid.
|
|
3493
3493
|
**/
|
|
3494
|
-
PreimageStatusInvalid: GenericPalletError
|
|
3494
|
+
PreimageStatusInvalid: GenericPalletError;
|
|
3495
3495
|
|
|
3496
3496
|
/**
|
|
3497
3497
|
* The XCM version is invalid.
|
|
3498
3498
|
**/
|
|
3499
|
-
BadXcmVersion: GenericPalletError
|
|
3499
|
+
BadXcmVersion: GenericPalletError;
|
|
3500
3500
|
|
|
3501
3501
|
/**
|
|
3502
3502
|
* The origin is invalid.
|
|
3503
3503
|
**/
|
|
3504
|
-
InvalidOrigin: GenericPalletError
|
|
3504
|
+
InvalidOrigin: GenericPalletError;
|
|
3505
3505
|
|
|
3506
3506
|
/**
|
|
3507
3507
|
* Generic pallet error
|
|
3508
3508
|
**/
|
|
3509
|
-
[error: string]: GenericPalletError
|
|
3509
|
+
[error: string]: GenericPalletError;
|
|
3510
3510
|
};
|
|
3511
3511
|
}
|