@dedot/chaintypes 0.194.0 → 0.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +15 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +15 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +15 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +16 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +15 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +16 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +15 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +15 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +16 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +17 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +16 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +16 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +15 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +16 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +15 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +16 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +16 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +15 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +16 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +15 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/basilisk/errors.d.ts
CHANGED
|
@@ -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,55 +11,55 @@ 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
|
* No upgrade authorized.
|
|
51
51
|
**/
|
|
52
|
-
NothingAuthorized: GenericPalletError
|
|
52
|
+
NothingAuthorized: GenericPalletError;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* The submitted code is not authorized.
|
|
56
56
|
**/
|
|
57
|
-
Unauthorized: GenericPalletError
|
|
57
|
+
Unauthorized: GenericPalletError;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* Generic pallet error
|
|
61
61
|
**/
|
|
62
|
-
[error: string]: GenericPalletError
|
|
62
|
+
[error: string]: GenericPalletError;
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
65
|
* Pallet `Balances`'s errors
|
|
@@ -68,67 +68,67 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
68
68
|
/**
|
|
69
69
|
* Vesting balance too high to send value.
|
|
70
70
|
**/
|
|
71
|
-
VestingBalance: GenericPalletError
|
|
71
|
+
VestingBalance: GenericPalletError;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Account liquidity restrictions prevent withdrawal.
|
|
75
75
|
**/
|
|
76
|
-
LiquidityRestrictions: GenericPalletError
|
|
76
|
+
LiquidityRestrictions: GenericPalletError;
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* Balance too low to send value.
|
|
80
80
|
**/
|
|
81
|
-
InsufficientBalance: GenericPalletError
|
|
81
|
+
InsufficientBalance: GenericPalletError;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* Value too low to create account due to existential deposit.
|
|
85
85
|
**/
|
|
86
|
-
ExistentialDeposit: GenericPalletError
|
|
86
|
+
ExistentialDeposit: GenericPalletError;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* Transfer/payment would kill account.
|
|
90
90
|
**/
|
|
91
|
-
Expendability: GenericPalletError
|
|
91
|
+
Expendability: GenericPalletError;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* A vesting schedule already exists for this account.
|
|
95
95
|
**/
|
|
96
|
-
ExistingVestingSchedule: GenericPalletError
|
|
96
|
+
ExistingVestingSchedule: GenericPalletError;
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
99
|
* Beneficiary account must pre-exist.
|
|
100
100
|
**/
|
|
101
|
-
DeadAccount: GenericPalletError
|
|
101
|
+
DeadAccount: GenericPalletError;
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
104
|
* Number of named reserves exceed `MaxReserves`.
|
|
105
105
|
**/
|
|
106
|
-
TooManyReserves: GenericPalletError
|
|
106
|
+
TooManyReserves: GenericPalletError;
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
110
110
|
**/
|
|
111
|
-
TooManyHolds: GenericPalletError
|
|
111
|
+
TooManyHolds: GenericPalletError;
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* Number of freezes exceed `MaxFreezes`.
|
|
115
115
|
**/
|
|
116
|
-
TooManyFreezes: GenericPalletError
|
|
116
|
+
TooManyFreezes: GenericPalletError;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* The issuance cannot be modified since it is already deactivated.
|
|
120
120
|
**/
|
|
121
|
-
IssuanceDeactivated: GenericPalletError
|
|
121
|
+
IssuanceDeactivated: GenericPalletError;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* The delta cannot be zero.
|
|
125
125
|
**/
|
|
126
|
-
DeltaZero: GenericPalletError
|
|
126
|
+
DeltaZero: GenericPalletError;
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* Generic pallet error
|
|
130
130
|
**/
|
|
131
|
-
[error: string]: GenericPalletError
|
|
131
|
+
[error: string]: GenericPalletError;
|
|
132
132
|
};
|
|
133
133
|
/**
|
|
134
134
|
* Pallet `MultiTransactionPayment`'s errors
|
|
@@ -137,67 +137,67 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
137
137
|
/**
|
|
138
138
|
* Selected currency is not supported.
|
|
139
139
|
**/
|
|
140
|
-
UnsupportedCurrency: GenericPalletError
|
|
140
|
+
UnsupportedCurrency: GenericPalletError;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* Account balance should be non-zero.
|
|
144
144
|
**/
|
|
145
|
-
ZeroBalance: GenericPalletError
|
|
145
|
+
ZeroBalance: GenericPalletError;
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* Currency is already in the list of accepted currencies.
|
|
149
149
|
**/
|
|
150
|
-
AlreadyAccepted: GenericPalletError
|
|
150
|
+
AlreadyAccepted: GenericPalletError;
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* It is not allowed to add Core Asset as accepted currency. Core asset is accepted by design.
|
|
154
154
|
**/
|
|
155
|
-
CoreAssetNotAllowed: GenericPalletError
|
|
155
|
+
CoreAssetNotAllowed: GenericPalletError;
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* Fallback price cannot be zero.
|
|
159
159
|
**/
|
|
160
|
-
ZeroPrice: GenericPalletError
|
|
160
|
+
ZeroPrice: GenericPalletError;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* Fallback price was not found.
|
|
164
164
|
**/
|
|
165
|
-
FallbackPriceNotFound: GenericPalletError
|
|
165
|
+
FallbackPriceNotFound: GenericPalletError;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Math overflow
|
|
169
169
|
**/
|
|
170
|
-
Overflow: GenericPalletError
|
|
170
|
+
Overflow: GenericPalletError;
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* It is not allowed to change payment currency of an EVM account.
|
|
174
174
|
**/
|
|
175
|
-
EvmAccountNotAllowed: GenericPalletError
|
|
175
|
+
EvmAccountNotAllowed: GenericPalletError;
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* EVM permit expired.
|
|
179
179
|
**/
|
|
180
|
-
EvmPermitExpired: GenericPalletError
|
|
180
|
+
EvmPermitExpired: GenericPalletError;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* EVM permit is invalid.
|
|
184
184
|
**/
|
|
185
|
-
EvmPermitInvalid: GenericPalletError
|
|
185
|
+
EvmPermitInvalid: GenericPalletError;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* EVM permit call failed.
|
|
189
189
|
**/
|
|
190
|
-
EvmPermitCallExecutionError: GenericPalletError
|
|
190
|
+
EvmPermitCallExecutionError: GenericPalletError;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* EVM permit call failed.
|
|
194
194
|
**/
|
|
195
|
-
EvmPermitRunnerError: GenericPalletError
|
|
195
|
+
EvmPermitRunnerError: GenericPalletError;
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
198
|
* Generic pallet error
|
|
199
199
|
**/
|
|
200
|
-
[error: string]: GenericPalletError
|
|
200
|
+
[error: string]: GenericPalletError;
|
|
201
201
|
};
|
|
202
202
|
/**
|
|
203
203
|
* Pallet `Treasury`'s errors
|
|
@@ -206,63 +206,63 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
206
206
|
/**
|
|
207
207
|
* No proposal, bounty or spend at that index.
|
|
208
208
|
**/
|
|
209
|
-
InvalidIndex: GenericPalletError
|
|
209
|
+
InvalidIndex: GenericPalletError;
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* Too many approvals in the queue.
|
|
213
213
|
**/
|
|
214
|
-
TooManyApprovals: GenericPalletError
|
|
214
|
+
TooManyApprovals: GenericPalletError;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
218
218
|
* amount to be spent.
|
|
219
219
|
**/
|
|
220
|
-
InsufficientPermission: GenericPalletError
|
|
220
|
+
InsufficientPermission: GenericPalletError;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* Proposal has not been approved.
|
|
224
224
|
**/
|
|
225
|
-
ProposalNotApproved: GenericPalletError
|
|
225
|
+
ProposalNotApproved: GenericPalletError;
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
229
229
|
**/
|
|
230
|
-
FailedToConvertBalance: GenericPalletError
|
|
230
|
+
FailedToConvertBalance: GenericPalletError;
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
233
|
* The spend has expired and cannot be claimed.
|
|
234
234
|
**/
|
|
235
|
-
SpendExpired: GenericPalletError
|
|
235
|
+
SpendExpired: GenericPalletError;
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
238
|
* The spend is not yet eligible for payout.
|
|
239
239
|
**/
|
|
240
|
-
EarlyPayout: GenericPalletError
|
|
240
|
+
EarlyPayout: GenericPalletError;
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* The payment has already been attempted.
|
|
244
244
|
**/
|
|
245
|
-
AlreadyAttempted: GenericPalletError
|
|
245
|
+
AlreadyAttempted: GenericPalletError;
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
248
|
* There was some issue with the mechanism of payment.
|
|
249
249
|
**/
|
|
250
|
-
PayoutError: GenericPalletError
|
|
250
|
+
PayoutError: GenericPalletError;
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* The payout was not yet attempted/claimed.
|
|
254
254
|
**/
|
|
255
|
-
NotAttempted: GenericPalletError
|
|
255
|
+
NotAttempted: GenericPalletError;
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
258
|
* The payment has neither failed nor succeeded yet.
|
|
259
259
|
**/
|
|
260
|
-
Inconclusive: GenericPalletError
|
|
260
|
+
Inconclusive: GenericPalletError;
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
263
|
* Generic pallet error
|
|
264
264
|
**/
|
|
265
|
-
[error: string]: GenericPalletError
|
|
265
|
+
[error: string]: GenericPalletError;
|
|
266
266
|
};
|
|
267
267
|
/**
|
|
268
268
|
* Pallet `Utility`'s errors
|
|
@@ -271,12 +271,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
271
271
|
/**
|
|
272
272
|
* Too many calls batched.
|
|
273
273
|
**/
|
|
274
|
-
TooManyCalls: GenericPalletError
|
|
274
|
+
TooManyCalls: GenericPalletError;
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* Generic pallet error
|
|
278
278
|
**/
|
|
279
|
-
[error: string]: GenericPalletError
|
|
279
|
+
[error: string]: GenericPalletError;
|
|
280
280
|
};
|
|
281
281
|
/**
|
|
282
282
|
* Pallet `Democracy`'s errors
|
|
@@ -285,128 +285,128 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
285
285
|
/**
|
|
286
286
|
* Value too low
|
|
287
287
|
**/
|
|
288
|
-
ValueLow: GenericPalletError
|
|
288
|
+
ValueLow: GenericPalletError;
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* Proposal does not exist
|
|
292
292
|
**/
|
|
293
|
-
ProposalMissing: GenericPalletError
|
|
293
|
+
ProposalMissing: GenericPalletError;
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
296
|
* Cannot cancel the same proposal twice
|
|
297
297
|
**/
|
|
298
|
-
AlreadyCanceled: GenericPalletError
|
|
298
|
+
AlreadyCanceled: GenericPalletError;
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
301
|
* Proposal already made
|
|
302
302
|
**/
|
|
303
|
-
DuplicateProposal: GenericPalletError
|
|
303
|
+
DuplicateProposal: GenericPalletError;
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Proposal still blacklisted
|
|
307
307
|
**/
|
|
308
|
-
ProposalBlacklisted: GenericPalletError
|
|
308
|
+
ProposalBlacklisted: GenericPalletError;
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
311
|
* Next external proposal not simple majority
|
|
312
312
|
**/
|
|
313
|
-
NotSimpleMajority: GenericPalletError
|
|
313
|
+
NotSimpleMajority: GenericPalletError;
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
316
|
* Invalid hash
|
|
317
317
|
**/
|
|
318
|
-
InvalidHash: GenericPalletError
|
|
318
|
+
InvalidHash: GenericPalletError;
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
321
|
* No external proposal
|
|
322
322
|
**/
|
|
323
|
-
NoProposal: GenericPalletError
|
|
323
|
+
NoProposal: GenericPalletError;
|
|
324
324
|
|
|
325
325
|
/**
|
|
326
326
|
* Identity may not veto a proposal twice
|
|
327
327
|
**/
|
|
328
|
-
AlreadyVetoed: GenericPalletError
|
|
328
|
+
AlreadyVetoed: GenericPalletError;
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
331
|
* Vote given for invalid referendum
|
|
332
332
|
**/
|
|
333
|
-
ReferendumInvalid: GenericPalletError
|
|
333
|
+
ReferendumInvalid: GenericPalletError;
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
336
|
* No proposals waiting
|
|
337
337
|
**/
|
|
338
|
-
NoneWaiting: GenericPalletError
|
|
338
|
+
NoneWaiting: GenericPalletError;
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
341
|
* The given account did not vote on the referendum.
|
|
342
342
|
**/
|
|
343
|
-
NotVoter: GenericPalletError
|
|
343
|
+
NotVoter: GenericPalletError;
|
|
344
344
|
|
|
345
345
|
/**
|
|
346
346
|
* The actor has no permission to conduct the action.
|
|
347
347
|
**/
|
|
348
|
-
NoPermission: GenericPalletError
|
|
348
|
+
NoPermission: GenericPalletError;
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
351
|
* The account is already delegating.
|
|
352
352
|
**/
|
|
353
|
-
AlreadyDelegating: GenericPalletError
|
|
353
|
+
AlreadyDelegating: GenericPalletError;
|
|
354
354
|
|
|
355
355
|
/**
|
|
356
356
|
* Too high a balance was provided that the account cannot afford.
|
|
357
357
|
**/
|
|
358
|
-
InsufficientFunds: GenericPalletError
|
|
358
|
+
InsufficientFunds: GenericPalletError;
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
361
|
* The account is not currently delegating.
|
|
362
362
|
**/
|
|
363
|
-
NotDelegating: GenericPalletError
|
|
363
|
+
NotDelegating: GenericPalletError;
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
366
|
* The account currently has votes attached to it and the operation cannot succeed until
|
|
367
367
|
* these are removed, either through `unvote` or `reap_vote`.
|
|
368
368
|
**/
|
|
369
|
-
VotesExist: GenericPalletError
|
|
369
|
+
VotesExist: GenericPalletError;
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
372
|
* The instant referendum origin is currently disallowed.
|
|
373
373
|
**/
|
|
374
|
-
InstantNotAllowed: GenericPalletError
|
|
374
|
+
InstantNotAllowed: GenericPalletError;
|
|
375
375
|
|
|
376
376
|
/**
|
|
377
377
|
* Delegation to oneself makes no sense.
|
|
378
378
|
**/
|
|
379
|
-
Nonsense: GenericPalletError
|
|
379
|
+
Nonsense: GenericPalletError;
|
|
380
380
|
|
|
381
381
|
/**
|
|
382
382
|
* Invalid upper bound.
|
|
383
383
|
**/
|
|
384
|
-
WrongUpperBound: GenericPalletError
|
|
384
|
+
WrongUpperBound: GenericPalletError;
|
|
385
385
|
|
|
386
386
|
/**
|
|
387
387
|
* Maximum number of votes reached.
|
|
388
388
|
**/
|
|
389
|
-
MaxVotesReached: GenericPalletError
|
|
389
|
+
MaxVotesReached: GenericPalletError;
|
|
390
390
|
|
|
391
391
|
/**
|
|
392
392
|
* Maximum number of items reached.
|
|
393
393
|
**/
|
|
394
|
-
TooMany: GenericPalletError
|
|
394
|
+
TooMany: GenericPalletError;
|
|
395
395
|
|
|
396
396
|
/**
|
|
397
397
|
* Voting period too low
|
|
398
398
|
**/
|
|
399
|
-
VotingPeriodLow: GenericPalletError
|
|
399
|
+
VotingPeriodLow: GenericPalletError;
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* The preimage does not exist.
|
|
403
403
|
**/
|
|
404
|
-
PreimageNotExist: GenericPalletError
|
|
404
|
+
PreimageNotExist: GenericPalletError;
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
407
|
* Generic pallet error
|
|
408
408
|
**/
|
|
409
|
-
[error: string]: GenericPalletError
|
|
409
|
+
[error: string]: GenericPalletError;
|
|
410
410
|
};
|
|
411
411
|
/**
|
|
412
412
|
* Pallet `TechnicalCommittee`'s errors
|
|
@@ -415,62 +415,62 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
415
415
|
/**
|
|
416
416
|
* Account is not a member
|
|
417
417
|
**/
|
|
418
|
-
NotMember: GenericPalletError
|
|
418
|
+
NotMember: GenericPalletError;
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
421
|
* Duplicate proposals not allowed
|
|
422
422
|
**/
|
|
423
|
-
DuplicateProposal: GenericPalletError
|
|
423
|
+
DuplicateProposal: GenericPalletError;
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
426
|
* Proposal must exist
|
|
427
427
|
**/
|
|
428
|
-
ProposalMissing: GenericPalletError
|
|
428
|
+
ProposalMissing: GenericPalletError;
|
|
429
429
|
|
|
430
430
|
/**
|
|
431
431
|
* Mismatched index
|
|
432
432
|
**/
|
|
433
|
-
WrongIndex: GenericPalletError
|
|
433
|
+
WrongIndex: GenericPalletError;
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
436
|
* Duplicate vote ignored
|
|
437
437
|
**/
|
|
438
|
-
DuplicateVote: GenericPalletError
|
|
438
|
+
DuplicateVote: GenericPalletError;
|
|
439
439
|
|
|
440
440
|
/**
|
|
441
441
|
* Members are already initialized!
|
|
442
442
|
**/
|
|
443
|
-
AlreadyInitialized: GenericPalletError
|
|
443
|
+
AlreadyInitialized: GenericPalletError;
|
|
444
444
|
|
|
445
445
|
/**
|
|
446
446
|
* The close call was made too early, before the end of the voting.
|
|
447
447
|
**/
|
|
448
|
-
TooEarly: GenericPalletError
|
|
448
|
+
TooEarly: GenericPalletError;
|
|
449
449
|
|
|
450
450
|
/**
|
|
451
451
|
* There can only be a maximum of `MaxProposals` active proposals.
|
|
452
452
|
**/
|
|
453
|
-
TooManyProposals: GenericPalletError
|
|
453
|
+
TooManyProposals: GenericPalletError;
|
|
454
454
|
|
|
455
455
|
/**
|
|
456
456
|
* The given weight bound for the proposal was too low.
|
|
457
457
|
**/
|
|
458
|
-
WrongProposalWeight: GenericPalletError
|
|
458
|
+
WrongProposalWeight: GenericPalletError;
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
461
|
* The given length bound for the proposal was too low.
|
|
462
462
|
**/
|
|
463
|
-
WrongProposalLength: GenericPalletError
|
|
463
|
+
WrongProposalLength: GenericPalletError;
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
466
|
* Prime account is not a member
|
|
467
467
|
**/
|
|
468
|
-
PrimeAccountNotMember: GenericPalletError
|
|
468
|
+
PrimeAccountNotMember: GenericPalletError;
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
471
|
* Generic pallet error
|
|
472
472
|
**/
|
|
473
|
-
[error: string]: GenericPalletError
|
|
473
|
+
[error: string]: GenericPalletError;
|
|
474
474
|
};
|
|
475
475
|
/**
|
|
476
476
|
* Pallet `Vesting`'s errors
|
|
@@ -479,37 +479,37 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
479
479
|
/**
|
|
480
480
|
* Vesting period is zero
|
|
481
481
|
**/
|
|
482
|
-
ZeroVestingPeriod: GenericPalletError
|
|
482
|
+
ZeroVestingPeriod: GenericPalletError;
|
|
483
483
|
|
|
484
484
|
/**
|
|
485
485
|
* Number of vests is zero
|
|
486
486
|
**/
|
|
487
|
-
ZeroVestingPeriodCount: GenericPalletError
|
|
487
|
+
ZeroVestingPeriodCount: GenericPalletError;
|
|
488
488
|
|
|
489
489
|
/**
|
|
490
490
|
* Insufficient amount of balance to lock
|
|
491
491
|
**/
|
|
492
|
-
InsufficientBalanceToLock: GenericPalletError
|
|
492
|
+
InsufficientBalanceToLock: GenericPalletError;
|
|
493
493
|
|
|
494
494
|
/**
|
|
495
495
|
* This account have too many vesting schedules
|
|
496
496
|
**/
|
|
497
|
-
TooManyVestingSchedules: GenericPalletError
|
|
497
|
+
TooManyVestingSchedules: GenericPalletError;
|
|
498
498
|
|
|
499
499
|
/**
|
|
500
500
|
* The vested transfer amount is too low
|
|
501
501
|
**/
|
|
502
|
-
AmountLow: GenericPalletError
|
|
502
|
+
AmountLow: GenericPalletError;
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
505
|
* Failed because the maximum vesting schedules was exceeded
|
|
506
506
|
**/
|
|
507
|
-
MaxVestingSchedulesExceeded: GenericPalletError
|
|
507
|
+
MaxVestingSchedulesExceeded: GenericPalletError;
|
|
508
508
|
|
|
509
509
|
/**
|
|
510
510
|
* Generic pallet error
|
|
511
511
|
**/
|
|
512
|
-
[error: string]: GenericPalletError
|
|
512
|
+
[error: string]: GenericPalletError;
|
|
513
513
|
};
|
|
514
514
|
/**
|
|
515
515
|
* Pallet `Proxy`'s errors
|
|
@@ -518,47 +518,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
518
518
|
/**
|
|
519
519
|
* There are too many proxies registered or too many announcements pending.
|
|
520
520
|
**/
|
|
521
|
-
TooMany: GenericPalletError
|
|
521
|
+
TooMany: GenericPalletError;
|
|
522
522
|
|
|
523
523
|
/**
|
|
524
524
|
* Proxy registration not found.
|
|
525
525
|
**/
|
|
526
|
-
NotFound: GenericPalletError
|
|
526
|
+
NotFound: GenericPalletError;
|
|
527
527
|
|
|
528
528
|
/**
|
|
529
529
|
* Sender is not a proxy of the account to be proxied.
|
|
530
530
|
**/
|
|
531
|
-
NotProxy: GenericPalletError
|
|
531
|
+
NotProxy: GenericPalletError;
|
|
532
532
|
|
|
533
533
|
/**
|
|
534
534
|
* A call which is incompatible with the proxy type's filter was attempted.
|
|
535
535
|
**/
|
|
536
|
-
Unproxyable: GenericPalletError
|
|
536
|
+
Unproxyable: GenericPalletError;
|
|
537
537
|
|
|
538
538
|
/**
|
|
539
539
|
* Account is already a proxy.
|
|
540
540
|
**/
|
|
541
|
-
Duplicate: GenericPalletError
|
|
541
|
+
Duplicate: GenericPalletError;
|
|
542
542
|
|
|
543
543
|
/**
|
|
544
544
|
* Call may not be made by proxy because it may escalate its privileges.
|
|
545
545
|
**/
|
|
546
|
-
NoPermission: GenericPalletError
|
|
546
|
+
NoPermission: GenericPalletError;
|
|
547
547
|
|
|
548
548
|
/**
|
|
549
549
|
* Announcement, if made at all, was made too recently.
|
|
550
550
|
**/
|
|
551
|
-
Unannounced: GenericPalletError
|
|
551
|
+
Unannounced: GenericPalletError;
|
|
552
552
|
|
|
553
553
|
/**
|
|
554
554
|
* Cannot add self as proxy.
|
|
555
555
|
**/
|
|
556
|
-
NoSelfProxy: GenericPalletError
|
|
556
|
+
NoSelfProxy: GenericPalletError;
|
|
557
557
|
|
|
558
558
|
/**
|
|
559
559
|
* Generic pallet error
|
|
560
560
|
**/
|
|
561
|
-
[error: string]: GenericPalletError
|
|
561
|
+
[error: string]: GenericPalletError;
|
|
562
562
|
};
|
|
563
563
|
/**
|
|
564
564
|
* Pallet `CollatorSelection`'s errors
|
|
@@ -567,92 +567,92 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
567
567
|
/**
|
|
568
568
|
* The pallet has too many candidates.
|
|
569
569
|
**/
|
|
570
|
-
TooManyCandidates: GenericPalletError
|
|
570
|
+
TooManyCandidates: GenericPalletError;
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
573
|
* Leaving would result in too few candidates.
|
|
574
574
|
**/
|
|
575
|
-
TooFewEligibleCollators: GenericPalletError
|
|
575
|
+
TooFewEligibleCollators: GenericPalletError;
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
578
|
* Account is already a candidate.
|
|
579
579
|
**/
|
|
580
|
-
AlreadyCandidate: GenericPalletError
|
|
580
|
+
AlreadyCandidate: GenericPalletError;
|
|
581
581
|
|
|
582
582
|
/**
|
|
583
583
|
* Account is not a candidate.
|
|
584
584
|
**/
|
|
585
|
-
NotCandidate: GenericPalletError
|
|
585
|
+
NotCandidate: GenericPalletError;
|
|
586
586
|
|
|
587
587
|
/**
|
|
588
588
|
* There are too many Invulnerables.
|
|
589
589
|
**/
|
|
590
|
-
TooManyInvulnerables: GenericPalletError
|
|
590
|
+
TooManyInvulnerables: GenericPalletError;
|
|
591
591
|
|
|
592
592
|
/**
|
|
593
593
|
* Account is already an Invulnerable.
|
|
594
594
|
**/
|
|
595
|
-
AlreadyInvulnerable: GenericPalletError
|
|
595
|
+
AlreadyInvulnerable: GenericPalletError;
|
|
596
596
|
|
|
597
597
|
/**
|
|
598
598
|
* Account is not an Invulnerable.
|
|
599
599
|
**/
|
|
600
|
-
NotInvulnerable: GenericPalletError
|
|
600
|
+
NotInvulnerable: GenericPalletError;
|
|
601
601
|
|
|
602
602
|
/**
|
|
603
603
|
* Account has no associated validator ID.
|
|
604
604
|
**/
|
|
605
|
-
NoAssociatedValidatorId: GenericPalletError
|
|
605
|
+
NoAssociatedValidatorId: GenericPalletError;
|
|
606
606
|
|
|
607
607
|
/**
|
|
608
608
|
* Validator ID is not yet registered.
|
|
609
609
|
**/
|
|
610
|
-
ValidatorNotRegistered: GenericPalletError
|
|
610
|
+
ValidatorNotRegistered: GenericPalletError;
|
|
611
611
|
|
|
612
612
|
/**
|
|
613
613
|
* Could not insert in the candidate list.
|
|
614
614
|
**/
|
|
615
|
-
InsertToCandidateListFailed: GenericPalletError
|
|
615
|
+
InsertToCandidateListFailed: GenericPalletError;
|
|
616
616
|
|
|
617
617
|
/**
|
|
618
618
|
* Could not remove from the candidate list.
|
|
619
619
|
**/
|
|
620
|
-
RemoveFromCandidateListFailed: GenericPalletError
|
|
620
|
+
RemoveFromCandidateListFailed: GenericPalletError;
|
|
621
621
|
|
|
622
622
|
/**
|
|
623
623
|
* New deposit amount would be below the minimum candidacy bond.
|
|
624
624
|
**/
|
|
625
|
-
DepositTooLow: GenericPalletError
|
|
625
|
+
DepositTooLow: GenericPalletError;
|
|
626
626
|
|
|
627
627
|
/**
|
|
628
628
|
* Could not update the candidate list.
|
|
629
629
|
**/
|
|
630
|
-
UpdateCandidateListFailed: GenericPalletError
|
|
630
|
+
UpdateCandidateListFailed: GenericPalletError;
|
|
631
631
|
|
|
632
632
|
/**
|
|
633
633
|
* Deposit amount is too low to take the target's slot in the candidate list.
|
|
634
634
|
**/
|
|
635
|
-
InsufficientBond: GenericPalletError
|
|
635
|
+
InsufficientBond: GenericPalletError;
|
|
636
636
|
|
|
637
637
|
/**
|
|
638
638
|
* The target account to be replaced in the candidate list is not a candidate.
|
|
639
639
|
**/
|
|
640
|
-
TargetIsNotCandidate: GenericPalletError
|
|
640
|
+
TargetIsNotCandidate: GenericPalletError;
|
|
641
641
|
|
|
642
642
|
/**
|
|
643
643
|
* The updated deposit amount is equal to the amount already reserved.
|
|
644
644
|
**/
|
|
645
|
-
IdenticalDeposit: GenericPalletError
|
|
645
|
+
IdenticalDeposit: GenericPalletError;
|
|
646
646
|
|
|
647
647
|
/**
|
|
648
648
|
* Cannot lower candidacy bond while occupying a future collator slot in the list.
|
|
649
649
|
**/
|
|
650
|
-
InvalidUnreserve: GenericPalletError
|
|
650
|
+
InvalidUnreserve: GenericPalletError;
|
|
651
651
|
|
|
652
652
|
/**
|
|
653
653
|
* Generic pallet error
|
|
654
654
|
**/
|
|
655
|
-
[error: string]: GenericPalletError
|
|
655
|
+
[error: string]: GenericPalletError;
|
|
656
656
|
};
|
|
657
657
|
/**
|
|
658
658
|
* Pallet `Session`'s errors
|
|
@@ -661,32 +661,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
661
661
|
/**
|
|
662
662
|
* Invalid ownership proof.
|
|
663
663
|
**/
|
|
664
|
-
InvalidProof: GenericPalletError
|
|
664
|
+
InvalidProof: GenericPalletError;
|
|
665
665
|
|
|
666
666
|
/**
|
|
667
667
|
* No associated validator ID for account.
|
|
668
668
|
**/
|
|
669
|
-
NoAssociatedValidatorId: GenericPalletError
|
|
669
|
+
NoAssociatedValidatorId: GenericPalletError;
|
|
670
670
|
|
|
671
671
|
/**
|
|
672
672
|
* Registered duplicate key.
|
|
673
673
|
**/
|
|
674
|
-
DuplicatedKey: GenericPalletError
|
|
674
|
+
DuplicatedKey: GenericPalletError;
|
|
675
675
|
|
|
676
676
|
/**
|
|
677
677
|
* No keys are associated with this account.
|
|
678
678
|
**/
|
|
679
|
-
NoKeys: GenericPalletError
|
|
679
|
+
NoKeys: GenericPalletError;
|
|
680
680
|
|
|
681
681
|
/**
|
|
682
682
|
* Key setting account is not live, so it's impossible to associate keys.
|
|
683
683
|
**/
|
|
684
|
-
NoAccount: GenericPalletError
|
|
684
|
+
NoAccount: GenericPalletError;
|
|
685
685
|
|
|
686
686
|
/**
|
|
687
687
|
* Generic pallet error
|
|
688
688
|
**/
|
|
689
|
-
[error: string]: GenericPalletError
|
|
689
|
+
[error: string]: GenericPalletError;
|
|
690
690
|
};
|
|
691
691
|
/**
|
|
692
692
|
* Pallet `Preimage`'s errors
|
|
@@ -695,47 +695,47 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
695
695
|
/**
|
|
696
696
|
* Preimage is too large to store on-chain.
|
|
697
697
|
**/
|
|
698
|
-
TooBig: GenericPalletError
|
|
698
|
+
TooBig: GenericPalletError;
|
|
699
699
|
|
|
700
700
|
/**
|
|
701
701
|
* Preimage has already been noted on-chain.
|
|
702
702
|
**/
|
|
703
|
-
AlreadyNoted: GenericPalletError
|
|
703
|
+
AlreadyNoted: GenericPalletError;
|
|
704
704
|
|
|
705
705
|
/**
|
|
706
706
|
* The user is not authorized to perform this action.
|
|
707
707
|
**/
|
|
708
|
-
NotAuthorized: GenericPalletError
|
|
708
|
+
NotAuthorized: GenericPalletError;
|
|
709
709
|
|
|
710
710
|
/**
|
|
711
711
|
* The preimage cannot be removed since it has not yet been noted.
|
|
712
712
|
**/
|
|
713
|
-
NotNoted: GenericPalletError
|
|
713
|
+
NotNoted: GenericPalletError;
|
|
714
714
|
|
|
715
715
|
/**
|
|
716
716
|
* A preimage may not be removed when there are outstanding requests.
|
|
717
717
|
**/
|
|
718
|
-
Requested: GenericPalletError
|
|
718
|
+
Requested: GenericPalletError;
|
|
719
719
|
|
|
720
720
|
/**
|
|
721
721
|
* The preimage request cannot be removed since no outstanding requests exist.
|
|
722
722
|
**/
|
|
723
|
-
NotRequested: GenericPalletError
|
|
723
|
+
NotRequested: GenericPalletError;
|
|
724
724
|
|
|
725
725
|
/**
|
|
726
726
|
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
727
727
|
**/
|
|
728
|
-
TooMany: GenericPalletError
|
|
728
|
+
TooMany: GenericPalletError;
|
|
729
729
|
|
|
730
730
|
/**
|
|
731
731
|
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
732
732
|
**/
|
|
733
|
-
TooFew: GenericPalletError
|
|
733
|
+
TooFew: GenericPalletError;
|
|
734
734
|
|
|
735
735
|
/**
|
|
736
736
|
* Generic pallet error
|
|
737
737
|
**/
|
|
738
|
-
[error: string]: GenericPalletError
|
|
738
|
+
[error: string]: GenericPalletError;
|
|
739
739
|
};
|
|
740
740
|
/**
|
|
741
741
|
* Pallet `Uniques`'s errors
|
|
@@ -744,97 +744,97 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
744
744
|
/**
|
|
745
745
|
* The signing account has no permission to do the operation.
|
|
746
746
|
**/
|
|
747
|
-
NoPermission: GenericPalletError
|
|
747
|
+
NoPermission: GenericPalletError;
|
|
748
748
|
|
|
749
749
|
/**
|
|
750
750
|
* The given item ID is unknown.
|
|
751
751
|
**/
|
|
752
|
-
UnknownCollection: GenericPalletError
|
|
752
|
+
UnknownCollection: GenericPalletError;
|
|
753
753
|
|
|
754
754
|
/**
|
|
755
755
|
* The item ID has already been used for an item.
|
|
756
756
|
**/
|
|
757
|
-
AlreadyExists: GenericPalletError
|
|
757
|
+
AlreadyExists: GenericPalletError;
|
|
758
758
|
|
|
759
759
|
/**
|
|
760
760
|
* The owner turned out to be different to what was expected.
|
|
761
761
|
**/
|
|
762
|
-
WrongOwner: GenericPalletError
|
|
762
|
+
WrongOwner: GenericPalletError;
|
|
763
763
|
|
|
764
764
|
/**
|
|
765
765
|
* Invalid witness data given.
|
|
766
766
|
**/
|
|
767
|
-
BadWitness: GenericPalletError
|
|
767
|
+
BadWitness: GenericPalletError;
|
|
768
768
|
|
|
769
769
|
/**
|
|
770
770
|
* The item ID is already taken.
|
|
771
771
|
**/
|
|
772
|
-
InUse: GenericPalletError
|
|
772
|
+
InUse: GenericPalletError;
|
|
773
773
|
|
|
774
774
|
/**
|
|
775
775
|
* The item or collection is frozen.
|
|
776
776
|
**/
|
|
777
|
-
Frozen: GenericPalletError
|
|
777
|
+
Frozen: GenericPalletError;
|
|
778
778
|
|
|
779
779
|
/**
|
|
780
780
|
* The delegate turned out to be different to what was expected.
|
|
781
781
|
**/
|
|
782
|
-
WrongDelegate: GenericPalletError
|
|
782
|
+
WrongDelegate: GenericPalletError;
|
|
783
783
|
|
|
784
784
|
/**
|
|
785
785
|
* There is no delegate approved.
|
|
786
786
|
**/
|
|
787
|
-
NoDelegate: GenericPalletError
|
|
787
|
+
NoDelegate: GenericPalletError;
|
|
788
788
|
|
|
789
789
|
/**
|
|
790
790
|
* No approval exists that would allow the transfer.
|
|
791
791
|
**/
|
|
792
|
-
Unapproved: GenericPalletError
|
|
792
|
+
Unapproved: GenericPalletError;
|
|
793
793
|
|
|
794
794
|
/**
|
|
795
795
|
* The named owner has not signed ownership of the collection is acceptable.
|
|
796
796
|
**/
|
|
797
|
-
Unaccepted: GenericPalletError
|
|
797
|
+
Unaccepted: GenericPalletError;
|
|
798
798
|
|
|
799
799
|
/**
|
|
800
800
|
* The item is locked.
|
|
801
801
|
**/
|
|
802
|
-
Locked: GenericPalletError
|
|
802
|
+
Locked: GenericPalletError;
|
|
803
803
|
|
|
804
804
|
/**
|
|
805
805
|
* All items have been minted.
|
|
806
806
|
**/
|
|
807
|
-
MaxSupplyReached: GenericPalletError
|
|
807
|
+
MaxSupplyReached: GenericPalletError;
|
|
808
808
|
|
|
809
809
|
/**
|
|
810
810
|
* The max supply has already been set.
|
|
811
811
|
**/
|
|
812
|
-
MaxSupplyAlreadySet: GenericPalletError
|
|
812
|
+
MaxSupplyAlreadySet: GenericPalletError;
|
|
813
813
|
|
|
814
814
|
/**
|
|
815
815
|
* The provided max supply is less to the amount of items a collection already has.
|
|
816
816
|
**/
|
|
817
|
-
MaxSupplyTooSmall: GenericPalletError
|
|
817
|
+
MaxSupplyTooSmall: GenericPalletError;
|
|
818
818
|
|
|
819
819
|
/**
|
|
820
820
|
* The given item ID is unknown.
|
|
821
821
|
**/
|
|
822
|
-
UnknownItem: GenericPalletError
|
|
822
|
+
UnknownItem: GenericPalletError;
|
|
823
823
|
|
|
824
824
|
/**
|
|
825
825
|
* Item is not for sale.
|
|
826
826
|
**/
|
|
827
|
-
NotForSale: GenericPalletError
|
|
827
|
+
NotForSale: GenericPalletError;
|
|
828
828
|
|
|
829
829
|
/**
|
|
830
830
|
* The provided bid is too low.
|
|
831
831
|
**/
|
|
832
|
-
BidTooLow: GenericPalletError
|
|
832
|
+
BidTooLow: GenericPalletError;
|
|
833
833
|
|
|
834
834
|
/**
|
|
835
835
|
* Generic pallet error
|
|
836
836
|
**/
|
|
837
|
-
[error: string]: GenericPalletError
|
|
837
|
+
[error: string]: GenericPalletError;
|
|
838
838
|
};
|
|
839
839
|
/**
|
|
840
840
|
* Pallet `Identity`'s errors
|
|
@@ -843,137 +843,137 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
843
843
|
/**
|
|
844
844
|
* Too many subs-accounts.
|
|
845
845
|
**/
|
|
846
|
-
TooManySubAccounts: GenericPalletError
|
|
846
|
+
TooManySubAccounts: GenericPalletError;
|
|
847
847
|
|
|
848
848
|
/**
|
|
849
849
|
* Account isn't found.
|
|
850
850
|
**/
|
|
851
|
-
NotFound: GenericPalletError
|
|
851
|
+
NotFound: GenericPalletError;
|
|
852
852
|
|
|
853
853
|
/**
|
|
854
854
|
* Account isn't named.
|
|
855
855
|
**/
|
|
856
|
-
NotNamed: GenericPalletError
|
|
856
|
+
NotNamed: GenericPalletError;
|
|
857
857
|
|
|
858
858
|
/**
|
|
859
859
|
* Empty index.
|
|
860
860
|
**/
|
|
861
|
-
EmptyIndex: GenericPalletError
|
|
861
|
+
EmptyIndex: GenericPalletError;
|
|
862
862
|
|
|
863
863
|
/**
|
|
864
864
|
* Fee is changed.
|
|
865
865
|
**/
|
|
866
|
-
FeeChanged: GenericPalletError
|
|
866
|
+
FeeChanged: GenericPalletError;
|
|
867
867
|
|
|
868
868
|
/**
|
|
869
869
|
* No identity found.
|
|
870
870
|
**/
|
|
871
|
-
NoIdentity: GenericPalletError
|
|
871
|
+
NoIdentity: GenericPalletError;
|
|
872
872
|
|
|
873
873
|
/**
|
|
874
874
|
* Sticky judgement.
|
|
875
875
|
**/
|
|
876
|
-
StickyJudgement: GenericPalletError
|
|
876
|
+
StickyJudgement: GenericPalletError;
|
|
877
877
|
|
|
878
878
|
/**
|
|
879
879
|
* Judgement given.
|
|
880
880
|
**/
|
|
881
|
-
JudgementGiven: GenericPalletError
|
|
881
|
+
JudgementGiven: GenericPalletError;
|
|
882
882
|
|
|
883
883
|
/**
|
|
884
884
|
* Invalid judgement.
|
|
885
885
|
**/
|
|
886
|
-
InvalidJudgement: GenericPalletError
|
|
886
|
+
InvalidJudgement: GenericPalletError;
|
|
887
887
|
|
|
888
888
|
/**
|
|
889
889
|
* The index is invalid.
|
|
890
890
|
**/
|
|
891
|
-
InvalidIndex: GenericPalletError
|
|
891
|
+
InvalidIndex: GenericPalletError;
|
|
892
892
|
|
|
893
893
|
/**
|
|
894
894
|
* The target is invalid.
|
|
895
895
|
**/
|
|
896
|
-
InvalidTarget: GenericPalletError
|
|
896
|
+
InvalidTarget: GenericPalletError;
|
|
897
897
|
|
|
898
898
|
/**
|
|
899
899
|
* Maximum amount of registrars reached. Cannot add any more.
|
|
900
900
|
**/
|
|
901
|
-
TooManyRegistrars: GenericPalletError
|
|
901
|
+
TooManyRegistrars: GenericPalletError;
|
|
902
902
|
|
|
903
903
|
/**
|
|
904
904
|
* Account ID is already named.
|
|
905
905
|
**/
|
|
906
|
-
AlreadyClaimed: GenericPalletError
|
|
906
|
+
AlreadyClaimed: GenericPalletError;
|
|
907
907
|
|
|
908
908
|
/**
|
|
909
909
|
* Sender is not a sub-account.
|
|
910
910
|
**/
|
|
911
|
-
NotSub: GenericPalletError
|
|
911
|
+
NotSub: GenericPalletError;
|
|
912
912
|
|
|
913
913
|
/**
|
|
914
914
|
* Sub-account isn't owned by sender.
|
|
915
915
|
**/
|
|
916
|
-
NotOwned: GenericPalletError
|
|
916
|
+
NotOwned: GenericPalletError;
|
|
917
917
|
|
|
918
918
|
/**
|
|
919
919
|
* The provided judgement was for a different identity.
|
|
920
920
|
**/
|
|
921
|
-
JudgementForDifferentIdentity: GenericPalletError
|
|
921
|
+
JudgementForDifferentIdentity: GenericPalletError;
|
|
922
922
|
|
|
923
923
|
/**
|
|
924
924
|
* Error that occurs when there is an issue paying for judgement.
|
|
925
925
|
**/
|
|
926
|
-
JudgementPaymentFailed: GenericPalletError
|
|
926
|
+
JudgementPaymentFailed: GenericPalletError;
|
|
927
927
|
|
|
928
928
|
/**
|
|
929
929
|
* The provided suffix is too long.
|
|
930
930
|
**/
|
|
931
|
-
InvalidSuffix: GenericPalletError
|
|
931
|
+
InvalidSuffix: GenericPalletError;
|
|
932
932
|
|
|
933
933
|
/**
|
|
934
934
|
* The sender does not have permission to issue a username.
|
|
935
935
|
**/
|
|
936
|
-
NotUsernameAuthority: GenericPalletError
|
|
936
|
+
NotUsernameAuthority: GenericPalletError;
|
|
937
937
|
|
|
938
938
|
/**
|
|
939
939
|
* The authority cannot allocate any more usernames.
|
|
940
940
|
**/
|
|
941
|
-
NoAllocation: GenericPalletError
|
|
941
|
+
NoAllocation: GenericPalletError;
|
|
942
942
|
|
|
943
943
|
/**
|
|
944
944
|
* The signature on a username was not valid.
|
|
945
945
|
**/
|
|
946
|
-
InvalidSignature: GenericPalletError
|
|
946
|
+
InvalidSignature: GenericPalletError;
|
|
947
947
|
|
|
948
948
|
/**
|
|
949
949
|
* Setting this username requires a signature, but none was provided.
|
|
950
950
|
**/
|
|
951
|
-
RequiresSignature: GenericPalletError
|
|
951
|
+
RequiresSignature: GenericPalletError;
|
|
952
952
|
|
|
953
953
|
/**
|
|
954
954
|
* The username does not meet the requirements.
|
|
955
955
|
**/
|
|
956
|
-
InvalidUsername: GenericPalletError
|
|
956
|
+
InvalidUsername: GenericPalletError;
|
|
957
957
|
|
|
958
958
|
/**
|
|
959
959
|
* The username is already taken.
|
|
960
960
|
**/
|
|
961
|
-
UsernameTaken: GenericPalletError
|
|
961
|
+
UsernameTaken: GenericPalletError;
|
|
962
962
|
|
|
963
963
|
/**
|
|
964
964
|
* The requested username does not exist.
|
|
965
965
|
**/
|
|
966
|
-
NoUsername: GenericPalletError
|
|
966
|
+
NoUsername: GenericPalletError;
|
|
967
967
|
|
|
968
968
|
/**
|
|
969
969
|
* The username cannot be forcefully removed because it can still be accepted.
|
|
970
970
|
**/
|
|
971
|
-
NotExpired: GenericPalletError
|
|
971
|
+
NotExpired: GenericPalletError;
|
|
972
972
|
|
|
973
973
|
/**
|
|
974
974
|
* Generic pallet error
|
|
975
975
|
**/
|
|
976
|
-
[error: string]: GenericPalletError
|
|
976
|
+
[error: string]: GenericPalletError;
|
|
977
977
|
};
|
|
978
978
|
/**
|
|
979
979
|
* Pallet `Multisig`'s errors
|
|
@@ -982,77 +982,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
982
982
|
/**
|
|
983
983
|
* Threshold must be 2 or greater.
|
|
984
984
|
**/
|
|
985
|
-
MinimumThreshold: GenericPalletError
|
|
985
|
+
MinimumThreshold: GenericPalletError;
|
|
986
986
|
|
|
987
987
|
/**
|
|
988
988
|
* Call is already approved by this signatory.
|
|
989
989
|
**/
|
|
990
|
-
AlreadyApproved: GenericPalletError
|
|
990
|
+
AlreadyApproved: GenericPalletError;
|
|
991
991
|
|
|
992
992
|
/**
|
|
993
993
|
* Call doesn't need any (more) approvals.
|
|
994
994
|
**/
|
|
995
|
-
NoApprovalsNeeded: GenericPalletError
|
|
995
|
+
NoApprovalsNeeded: GenericPalletError;
|
|
996
996
|
|
|
997
997
|
/**
|
|
998
998
|
* There are too few signatories in the list.
|
|
999
999
|
**/
|
|
1000
|
-
TooFewSignatories: GenericPalletError
|
|
1000
|
+
TooFewSignatories: GenericPalletError;
|
|
1001
1001
|
|
|
1002
1002
|
/**
|
|
1003
1003
|
* There are too many signatories in the list.
|
|
1004
1004
|
**/
|
|
1005
|
-
TooManySignatories: GenericPalletError
|
|
1005
|
+
TooManySignatories: GenericPalletError;
|
|
1006
1006
|
|
|
1007
1007
|
/**
|
|
1008
1008
|
* The signatories were provided out of order; they should be ordered.
|
|
1009
1009
|
**/
|
|
1010
|
-
SignatoriesOutOfOrder: GenericPalletError
|
|
1010
|
+
SignatoriesOutOfOrder: GenericPalletError;
|
|
1011
1011
|
|
|
1012
1012
|
/**
|
|
1013
1013
|
* The sender was contained in the other signatories; it shouldn't be.
|
|
1014
1014
|
**/
|
|
1015
|
-
SenderInSignatories: GenericPalletError
|
|
1015
|
+
SenderInSignatories: GenericPalletError;
|
|
1016
1016
|
|
|
1017
1017
|
/**
|
|
1018
1018
|
* Multisig operation not found when attempting to cancel.
|
|
1019
1019
|
**/
|
|
1020
|
-
NotFound: GenericPalletError
|
|
1020
|
+
NotFound: GenericPalletError;
|
|
1021
1021
|
|
|
1022
1022
|
/**
|
|
1023
1023
|
* Only the account that originally created the multisig is able to cancel it.
|
|
1024
1024
|
**/
|
|
1025
|
-
NotOwner: GenericPalletError
|
|
1025
|
+
NotOwner: GenericPalletError;
|
|
1026
1026
|
|
|
1027
1027
|
/**
|
|
1028
1028
|
* No timepoint was given, yet the multisig operation is already underway.
|
|
1029
1029
|
**/
|
|
1030
|
-
NoTimepoint: GenericPalletError
|
|
1030
|
+
NoTimepoint: GenericPalletError;
|
|
1031
1031
|
|
|
1032
1032
|
/**
|
|
1033
1033
|
* A different timepoint was given to the multisig operation that is underway.
|
|
1034
1034
|
**/
|
|
1035
|
-
WrongTimepoint: GenericPalletError
|
|
1035
|
+
WrongTimepoint: GenericPalletError;
|
|
1036
1036
|
|
|
1037
1037
|
/**
|
|
1038
1038
|
* A timepoint was given, yet no multisig operation is underway.
|
|
1039
1039
|
**/
|
|
1040
|
-
UnexpectedTimepoint: GenericPalletError
|
|
1040
|
+
UnexpectedTimepoint: GenericPalletError;
|
|
1041
1041
|
|
|
1042
1042
|
/**
|
|
1043
1043
|
* The maximum weight information provided was too low.
|
|
1044
1044
|
**/
|
|
1045
|
-
MaxWeightTooLow: GenericPalletError
|
|
1045
|
+
MaxWeightTooLow: GenericPalletError;
|
|
1046
1046
|
|
|
1047
1047
|
/**
|
|
1048
1048
|
* The data to be stored is already stored.
|
|
1049
1049
|
**/
|
|
1050
|
-
AlreadyStored: GenericPalletError
|
|
1050
|
+
AlreadyStored: GenericPalletError;
|
|
1051
1051
|
|
|
1052
1052
|
/**
|
|
1053
1053
|
* Generic pallet error
|
|
1054
1054
|
**/
|
|
1055
|
-
[error: string]: GenericPalletError
|
|
1055
|
+
[error: string]: GenericPalletError;
|
|
1056
1056
|
};
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Pallet `StateTrieMigration`'s errors
|
|
@@ -1061,7 +1061,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1061
1061
|
/**
|
|
1062
1062
|
* Max signed limits not respected.
|
|
1063
1063
|
**/
|
|
1064
|
-
MaxSignedLimits: GenericPalletError
|
|
1064
|
+
MaxSignedLimits: GenericPalletError;
|
|
1065
1065
|
|
|
1066
1066
|
/**
|
|
1067
1067
|
* A key was longer than the configured maximum.
|
|
@@ -1072,32 +1072,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1072
1072
|
* The value should only be increased to avoid a storage migration for the currently
|
|
1073
1073
|
* stored [`crate::Progress::LastKey`].
|
|
1074
1074
|
**/
|
|
1075
|
-
KeyTooLong: GenericPalletError
|
|
1075
|
+
KeyTooLong: GenericPalletError;
|
|
1076
1076
|
|
|
1077
1077
|
/**
|
|
1078
1078
|
* submitter does not have enough funds.
|
|
1079
1079
|
**/
|
|
1080
|
-
NotEnoughFunds: GenericPalletError
|
|
1080
|
+
NotEnoughFunds: GenericPalletError;
|
|
1081
1081
|
|
|
1082
1082
|
/**
|
|
1083
1083
|
* Bad witness data provided.
|
|
1084
1084
|
**/
|
|
1085
|
-
BadWitness: GenericPalletError
|
|
1085
|
+
BadWitness: GenericPalletError;
|
|
1086
1086
|
|
|
1087
1087
|
/**
|
|
1088
1088
|
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
1089
1089
|
**/
|
|
1090
|
-
SignedMigrationNotAllowed: GenericPalletError
|
|
1090
|
+
SignedMigrationNotAllowed: GenericPalletError;
|
|
1091
1091
|
|
|
1092
1092
|
/**
|
|
1093
1093
|
* Bad child root provided.
|
|
1094
1094
|
**/
|
|
1095
|
-
BadChildRoot: GenericPalletError
|
|
1095
|
+
BadChildRoot: GenericPalletError;
|
|
1096
1096
|
|
|
1097
1097
|
/**
|
|
1098
1098
|
* Generic pallet error
|
|
1099
1099
|
**/
|
|
1100
|
-
[error: string]: GenericPalletError
|
|
1100
|
+
[error: string]: GenericPalletError;
|
|
1101
1101
|
};
|
|
1102
1102
|
/**
|
|
1103
1103
|
* Pallet `ConvictionVoting`'s errors
|
|
@@ -1106,68 +1106,68 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1106
1106
|
/**
|
|
1107
1107
|
* Poll is not ongoing.
|
|
1108
1108
|
**/
|
|
1109
|
-
NotOngoing: GenericPalletError
|
|
1109
|
+
NotOngoing: GenericPalletError;
|
|
1110
1110
|
|
|
1111
1111
|
/**
|
|
1112
1112
|
* The given account did not vote on the poll.
|
|
1113
1113
|
**/
|
|
1114
|
-
NotVoter: GenericPalletError
|
|
1114
|
+
NotVoter: GenericPalletError;
|
|
1115
1115
|
|
|
1116
1116
|
/**
|
|
1117
1117
|
* The actor has no permission to conduct the action.
|
|
1118
1118
|
**/
|
|
1119
|
-
NoPermission: GenericPalletError
|
|
1119
|
+
NoPermission: GenericPalletError;
|
|
1120
1120
|
|
|
1121
1121
|
/**
|
|
1122
1122
|
* The actor has no permission to conduct the action right now but will do in the future.
|
|
1123
1123
|
**/
|
|
1124
|
-
NoPermissionYet: GenericPalletError
|
|
1124
|
+
NoPermissionYet: GenericPalletError;
|
|
1125
1125
|
|
|
1126
1126
|
/**
|
|
1127
1127
|
* The account is already delegating.
|
|
1128
1128
|
**/
|
|
1129
|
-
AlreadyDelegating: GenericPalletError
|
|
1129
|
+
AlreadyDelegating: GenericPalletError;
|
|
1130
1130
|
|
|
1131
1131
|
/**
|
|
1132
1132
|
* The account currently has votes attached to it and the operation cannot succeed until
|
|
1133
1133
|
* these are removed through `remove_vote`.
|
|
1134
1134
|
**/
|
|
1135
|
-
AlreadyVoting: GenericPalletError
|
|
1135
|
+
AlreadyVoting: GenericPalletError;
|
|
1136
1136
|
|
|
1137
1137
|
/**
|
|
1138
1138
|
* Too high a balance was provided that the account cannot afford.
|
|
1139
1139
|
**/
|
|
1140
|
-
InsufficientFunds: GenericPalletError
|
|
1140
|
+
InsufficientFunds: GenericPalletError;
|
|
1141
1141
|
|
|
1142
1142
|
/**
|
|
1143
1143
|
* The account is not currently delegating.
|
|
1144
1144
|
**/
|
|
1145
|
-
NotDelegating: GenericPalletError
|
|
1145
|
+
NotDelegating: GenericPalletError;
|
|
1146
1146
|
|
|
1147
1147
|
/**
|
|
1148
1148
|
* Delegation to oneself makes no sense.
|
|
1149
1149
|
**/
|
|
1150
|
-
Nonsense: GenericPalletError
|
|
1150
|
+
Nonsense: GenericPalletError;
|
|
1151
1151
|
|
|
1152
1152
|
/**
|
|
1153
1153
|
* Maximum number of votes reached.
|
|
1154
1154
|
**/
|
|
1155
|
-
MaxVotesReached: GenericPalletError
|
|
1155
|
+
MaxVotesReached: GenericPalletError;
|
|
1156
1156
|
|
|
1157
1157
|
/**
|
|
1158
1158
|
* The class must be supplied since it is not easily determinable from the state.
|
|
1159
1159
|
**/
|
|
1160
|
-
ClassNeeded: GenericPalletError
|
|
1160
|
+
ClassNeeded: GenericPalletError;
|
|
1161
1161
|
|
|
1162
1162
|
/**
|
|
1163
1163
|
* The class ID supplied is invalid.
|
|
1164
1164
|
**/
|
|
1165
|
-
BadClass: GenericPalletError
|
|
1165
|
+
BadClass: GenericPalletError;
|
|
1166
1166
|
|
|
1167
1167
|
/**
|
|
1168
1168
|
* Generic pallet error
|
|
1169
1169
|
**/
|
|
1170
|
-
[error: string]: GenericPalletError
|
|
1170
|
+
[error: string]: GenericPalletError;
|
|
1171
1171
|
};
|
|
1172
1172
|
/**
|
|
1173
1173
|
* Pallet `Referenda`'s errors
|
|
@@ -1176,77 +1176,77 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1176
1176
|
/**
|
|
1177
1177
|
* Referendum is not ongoing.
|
|
1178
1178
|
**/
|
|
1179
|
-
NotOngoing: GenericPalletError
|
|
1179
|
+
NotOngoing: GenericPalletError;
|
|
1180
1180
|
|
|
1181
1181
|
/**
|
|
1182
1182
|
* Referendum's decision deposit is already paid.
|
|
1183
1183
|
**/
|
|
1184
|
-
HasDeposit: GenericPalletError
|
|
1184
|
+
HasDeposit: GenericPalletError;
|
|
1185
1185
|
|
|
1186
1186
|
/**
|
|
1187
1187
|
* The track identifier given was invalid.
|
|
1188
1188
|
**/
|
|
1189
|
-
BadTrack: GenericPalletError
|
|
1189
|
+
BadTrack: GenericPalletError;
|
|
1190
1190
|
|
|
1191
1191
|
/**
|
|
1192
1192
|
* There are already a full complement of referenda in progress for this track.
|
|
1193
1193
|
**/
|
|
1194
|
-
Full: GenericPalletError
|
|
1194
|
+
Full: GenericPalletError;
|
|
1195
1195
|
|
|
1196
1196
|
/**
|
|
1197
1197
|
* The queue of the track is empty.
|
|
1198
1198
|
**/
|
|
1199
|
-
QueueEmpty: GenericPalletError
|
|
1199
|
+
QueueEmpty: GenericPalletError;
|
|
1200
1200
|
|
|
1201
1201
|
/**
|
|
1202
1202
|
* The referendum index provided is invalid in this context.
|
|
1203
1203
|
**/
|
|
1204
|
-
BadReferendum: GenericPalletError
|
|
1204
|
+
BadReferendum: GenericPalletError;
|
|
1205
1205
|
|
|
1206
1206
|
/**
|
|
1207
1207
|
* There was nothing to do in the advancement.
|
|
1208
1208
|
**/
|
|
1209
|
-
NothingToDo: GenericPalletError
|
|
1209
|
+
NothingToDo: GenericPalletError;
|
|
1210
1210
|
|
|
1211
1211
|
/**
|
|
1212
1212
|
* No track exists for the proposal origin.
|
|
1213
1213
|
**/
|
|
1214
|
-
NoTrack: GenericPalletError
|
|
1214
|
+
NoTrack: GenericPalletError;
|
|
1215
1215
|
|
|
1216
1216
|
/**
|
|
1217
1217
|
* Any deposit cannot be refunded until after the decision is over.
|
|
1218
1218
|
**/
|
|
1219
|
-
Unfinished: GenericPalletError
|
|
1219
|
+
Unfinished: GenericPalletError;
|
|
1220
1220
|
|
|
1221
1221
|
/**
|
|
1222
1222
|
* The deposit refunder is not the depositor.
|
|
1223
1223
|
**/
|
|
1224
|
-
NoPermission: GenericPalletError
|
|
1224
|
+
NoPermission: GenericPalletError;
|
|
1225
1225
|
|
|
1226
1226
|
/**
|
|
1227
1227
|
* The deposit cannot be refunded since none was made.
|
|
1228
1228
|
**/
|
|
1229
|
-
NoDeposit: GenericPalletError
|
|
1229
|
+
NoDeposit: GenericPalletError;
|
|
1230
1230
|
|
|
1231
1231
|
/**
|
|
1232
1232
|
* The referendum status is invalid for this operation.
|
|
1233
1233
|
**/
|
|
1234
|
-
BadStatus: GenericPalletError
|
|
1234
|
+
BadStatus: GenericPalletError;
|
|
1235
1235
|
|
|
1236
1236
|
/**
|
|
1237
1237
|
* The preimage does not exist.
|
|
1238
1238
|
**/
|
|
1239
|
-
PreimageNotExist: GenericPalletError
|
|
1239
|
+
PreimageNotExist: GenericPalletError;
|
|
1240
1240
|
|
|
1241
1241
|
/**
|
|
1242
1242
|
* The preimage is stored with a different length than the one provided.
|
|
1243
1243
|
**/
|
|
1244
|
-
PreimageStoredWithDifferentLength: GenericPalletError
|
|
1244
|
+
PreimageStoredWithDifferentLength: GenericPalletError;
|
|
1245
1245
|
|
|
1246
1246
|
/**
|
|
1247
1247
|
* Generic pallet error
|
|
1248
1248
|
**/
|
|
1249
|
-
[error: string]: GenericPalletError
|
|
1249
|
+
[error: string]: GenericPalletError;
|
|
1250
1250
|
};
|
|
1251
1251
|
/**
|
|
1252
1252
|
* Pallet `Whitelist`'s errors
|
|
@@ -1255,32 +1255,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1255
1255
|
/**
|
|
1256
1256
|
* The preimage of the call hash could not be loaded.
|
|
1257
1257
|
**/
|
|
1258
|
-
UnavailablePreImage: GenericPalletError
|
|
1258
|
+
UnavailablePreImage: GenericPalletError;
|
|
1259
1259
|
|
|
1260
1260
|
/**
|
|
1261
1261
|
* The call could not be decoded.
|
|
1262
1262
|
**/
|
|
1263
|
-
UndecodableCall: GenericPalletError
|
|
1263
|
+
UndecodableCall: GenericPalletError;
|
|
1264
1264
|
|
|
1265
1265
|
/**
|
|
1266
1266
|
* The weight of the decoded call was higher than the witness.
|
|
1267
1267
|
**/
|
|
1268
|
-
InvalidCallWeightWitness: GenericPalletError
|
|
1268
|
+
InvalidCallWeightWitness: GenericPalletError;
|
|
1269
1269
|
|
|
1270
1270
|
/**
|
|
1271
1271
|
* The call was not whitelisted.
|
|
1272
1272
|
**/
|
|
1273
|
-
CallIsNotWhitelisted: GenericPalletError
|
|
1273
|
+
CallIsNotWhitelisted: GenericPalletError;
|
|
1274
1274
|
|
|
1275
1275
|
/**
|
|
1276
1276
|
* The call was already whitelisted; No-Op.
|
|
1277
1277
|
**/
|
|
1278
|
-
CallAlreadyWhitelisted: GenericPalletError
|
|
1278
|
+
CallAlreadyWhitelisted: GenericPalletError;
|
|
1279
1279
|
|
|
1280
1280
|
/**
|
|
1281
1281
|
* Generic pallet error
|
|
1282
1282
|
**/
|
|
1283
|
-
[error: string]: GenericPalletError
|
|
1283
|
+
[error: string]: GenericPalletError;
|
|
1284
1284
|
};
|
|
1285
1285
|
/**
|
|
1286
1286
|
* Pallet `RelayChainInfo`'s errors
|
|
@@ -1289,7 +1289,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1289
1289
|
/**
|
|
1290
1290
|
* Generic pallet error
|
|
1291
1291
|
**/
|
|
1292
|
-
[error: string]: GenericPalletError
|
|
1292
|
+
[error: string]: GenericPalletError;
|
|
1293
1293
|
};
|
|
1294
1294
|
/**
|
|
1295
1295
|
* Pallet `Scheduler`'s errors
|
|
@@ -1298,32 +1298,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1298
1298
|
/**
|
|
1299
1299
|
* Failed to schedule a call
|
|
1300
1300
|
**/
|
|
1301
|
-
FailedToSchedule: GenericPalletError
|
|
1301
|
+
FailedToSchedule: GenericPalletError;
|
|
1302
1302
|
|
|
1303
1303
|
/**
|
|
1304
1304
|
* Cannot find the scheduled call.
|
|
1305
1305
|
**/
|
|
1306
|
-
NotFound: GenericPalletError
|
|
1306
|
+
NotFound: GenericPalletError;
|
|
1307
1307
|
|
|
1308
1308
|
/**
|
|
1309
1309
|
* Given target block number is in the past.
|
|
1310
1310
|
**/
|
|
1311
|
-
TargetBlockNumberInPast: GenericPalletError
|
|
1311
|
+
TargetBlockNumberInPast: GenericPalletError;
|
|
1312
1312
|
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Reschedule failed because it does not change scheduled time.
|
|
1315
1315
|
**/
|
|
1316
|
-
RescheduleNoChange: GenericPalletError
|
|
1316
|
+
RescheduleNoChange: GenericPalletError;
|
|
1317
1317
|
|
|
1318
1318
|
/**
|
|
1319
1319
|
* Attempt to use a non-named function on a named task.
|
|
1320
1320
|
**/
|
|
1321
|
-
Named: GenericPalletError
|
|
1321
|
+
Named: GenericPalletError;
|
|
1322
1322
|
|
|
1323
1323
|
/**
|
|
1324
1324
|
* Generic pallet error
|
|
1325
1325
|
**/
|
|
1326
|
-
[error: string]: GenericPalletError
|
|
1326
|
+
[error: string]: GenericPalletError;
|
|
1327
1327
|
};
|
|
1328
1328
|
/**
|
|
1329
1329
|
* Pallet `ParachainSystem`'s errors
|
|
@@ -1332,48 +1332,48 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1332
1332
|
/**
|
|
1333
1333
|
* Attempt to upgrade validation function while existing upgrade pending.
|
|
1334
1334
|
**/
|
|
1335
|
-
OverlappingUpgrades: GenericPalletError
|
|
1335
|
+
OverlappingUpgrades: GenericPalletError;
|
|
1336
1336
|
|
|
1337
1337
|
/**
|
|
1338
1338
|
* Polkadot currently prohibits this parachain from upgrading its validation function.
|
|
1339
1339
|
**/
|
|
1340
|
-
ProhibitedByPolkadot: GenericPalletError
|
|
1340
|
+
ProhibitedByPolkadot: GenericPalletError;
|
|
1341
1341
|
|
|
1342
1342
|
/**
|
|
1343
1343
|
* The supplied validation function has compiled into a blob larger than Polkadot is
|
|
1344
1344
|
* willing to run.
|
|
1345
1345
|
**/
|
|
1346
|
-
TooBig: GenericPalletError
|
|
1346
|
+
TooBig: GenericPalletError;
|
|
1347
1347
|
|
|
1348
1348
|
/**
|
|
1349
1349
|
* The inherent which supplies the validation data did not run this block.
|
|
1350
1350
|
**/
|
|
1351
|
-
ValidationDataNotAvailable: GenericPalletError
|
|
1351
|
+
ValidationDataNotAvailable: GenericPalletError;
|
|
1352
1352
|
|
|
1353
1353
|
/**
|
|
1354
1354
|
* The inherent which supplies the host configuration did not run this block.
|
|
1355
1355
|
**/
|
|
1356
|
-
HostConfigurationNotAvailable: GenericPalletError
|
|
1356
|
+
HostConfigurationNotAvailable: GenericPalletError;
|
|
1357
1357
|
|
|
1358
1358
|
/**
|
|
1359
1359
|
* No validation function upgrade is currently scheduled.
|
|
1360
1360
|
**/
|
|
1361
|
-
NotScheduled: GenericPalletError
|
|
1361
|
+
NotScheduled: GenericPalletError;
|
|
1362
1362
|
|
|
1363
1363
|
/**
|
|
1364
1364
|
* No code upgrade has been authorized.
|
|
1365
1365
|
**/
|
|
1366
|
-
NothingAuthorized: GenericPalletError
|
|
1366
|
+
NothingAuthorized: GenericPalletError;
|
|
1367
1367
|
|
|
1368
1368
|
/**
|
|
1369
1369
|
* The given code upgrade has not been authorized.
|
|
1370
1370
|
**/
|
|
1371
|
-
Unauthorized: GenericPalletError
|
|
1371
|
+
Unauthorized: GenericPalletError;
|
|
1372
1372
|
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Generic pallet error
|
|
1375
1375
|
**/
|
|
1376
|
-
[error: string]: GenericPalletError
|
|
1376
|
+
[error: string]: GenericPalletError;
|
|
1377
1377
|
};
|
|
1378
1378
|
/**
|
|
1379
1379
|
* Pallet `PolkadotXcm`'s errors
|
|
@@ -1383,129 +1383,129 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1383
1383
|
* The desired destination was unreachable, generally because there is a no way of routing
|
|
1384
1384
|
* to it.
|
|
1385
1385
|
**/
|
|
1386
|
-
Unreachable: GenericPalletError
|
|
1386
|
+
Unreachable: GenericPalletError;
|
|
1387
1387
|
|
|
1388
1388
|
/**
|
|
1389
1389
|
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
1390
1390
|
* Perhaps a lack of space for buffering the message.
|
|
1391
1391
|
**/
|
|
1392
|
-
SendFailure: GenericPalletError
|
|
1392
|
+
SendFailure: GenericPalletError;
|
|
1393
1393
|
|
|
1394
1394
|
/**
|
|
1395
1395
|
* The message execution fails the filter.
|
|
1396
1396
|
**/
|
|
1397
|
-
Filtered: GenericPalletError
|
|
1397
|
+
Filtered: GenericPalletError;
|
|
1398
1398
|
|
|
1399
1399
|
/**
|
|
1400
1400
|
* The message's weight could not be determined.
|
|
1401
1401
|
**/
|
|
1402
|
-
UnweighableMessage: GenericPalletError
|
|
1402
|
+
UnweighableMessage: GenericPalletError;
|
|
1403
1403
|
|
|
1404
1404
|
/**
|
|
1405
1405
|
* The destination `Location` provided cannot be inverted.
|
|
1406
1406
|
**/
|
|
1407
|
-
DestinationNotInvertible: GenericPalletError
|
|
1407
|
+
DestinationNotInvertible: GenericPalletError;
|
|
1408
1408
|
|
|
1409
1409
|
/**
|
|
1410
1410
|
* The assets to be sent are empty.
|
|
1411
1411
|
**/
|
|
1412
|
-
Empty: GenericPalletError
|
|
1412
|
+
Empty: GenericPalletError;
|
|
1413
1413
|
|
|
1414
1414
|
/**
|
|
1415
1415
|
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
1416
1416
|
**/
|
|
1417
|
-
CannotReanchor: GenericPalletError
|
|
1417
|
+
CannotReanchor: GenericPalletError;
|
|
1418
1418
|
|
|
1419
1419
|
/**
|
|
1420
1420
|
* Too many assets have been attempted for transfer.
|
|
1421
1421
|
**/
|
|
1422
|
-
TooManyAssets: GenericPalletError
|
|
1422
|
+
TooManyAssets: GenericPalletError;
|
|
1423
1423
|
|
|
1424
1424
|
/**
|
|
1425
1425
|
* Origin is invalid for sending.
|
|
1426
1426
|
**/
|
|
1427
|
-
InvalidOrigin: GenericPalletError
|
|
1427
|
+
InvalidOrigin: GenericPalletError;
|
|
1428
1428
|
|
|
1429
1429
|
/**
|
|
1430
1430
|
* The version of the `Versioned` value used is not able to be interpreted.
|
|
1431
1431
|
**/
|
|
1432
|
-
BadVersion: GenericPalletError
|
|
1432
|
+
BadVersion: GenericPalletError;
|
|
1433
1433
|
|
|
1434
1434
|
/**
|
|
1435
1435
|
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
1436
1436
|
* desired version of XCM).
|
|
1437
1437
|
**/
|
|
1438
|
-
BadLocation: GenericPalletError
|
|
1438
|
+
BadLocation: GenericPalletError;
|
|
1439
1439
|
|
|
1440
1440
|
/**
|
|
1441
1441
|
* The referenced subscription could not be found.
|
|
1442
1442
|
**/
|
|
1443
|
-
NoSubscription: GenericPalletError
|
|
1443
|
+
NoSubscription: GenericPalletError;
|
|
1444
1444
|
|
|
1445
1445
|
/**
|
|
1446
1446
|
* The location is invalid since it already has a subscription from us.
|
|
1447
1447
|
**/
|
|
1448
|
-
AlreadySubscribed: GenericPalletError
|
|
1448
|
+
AlreadySubscribed: GenericPalletError;
|
|
1449
1449
|
|
|
1450
1450
|
/**
|
|
1451
1451
|
* Could not check-out the assets for teleportation to the destination chain.
|
|
1452
1452
|
**/
|
|
1453
|
-
CannotCheckOutTeleport: GenericPalletError
|
|
1453
|
+
CannotCheckOutTeleport: GenericPalletError;
|
|
1454
1454
|
|
|
1455
1455
|
/**
|
|
1456
1456
|
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
1457
1457
|
**/
|
|
1458
|
-
LowBalance: GenericPalletError
|
|
1458
|
+
LowBalance: GenericPalletError;
|
|
1459
1459
|
|
|
1460
1460
|
/**
|
|
1461
1461
|
* The asset owner has too many locks on the asset.
|
|
1462
1462
|
**/
|
|
1463
|
-
TooManyLocks: GenericPalletError
|
|
1463
|
+
TooManyLocks: GenericPalletError;
|
|
1464
1464
|
|
|
1465
1465
|
/**
|
|
1466
1466
|
* The given account is not an identifiable sovereign account for any location.
|
|
1467
1467
|
**/
|
|
1468
|
-
AccountNotSovereign: GenericPalletError
|
|
1468
|
+
AccountNotSovereign: GenericPalletError;
|
|
1469
1469
|
|
|
1470
1470
|
/**
|
|
1471
1471
|
* The operation required fees to be paid which the initiator could not meet.
|
|
1472
1472
|
**/
|
|
1473
|
-
FeesNotMet: GenericPalletError
|
|
1473
|
+
FeesNotMet: GenericPalletError;
|
|
1474
1474
|
|
|
1475
1475
|
/**
|
|
1476
1476
|
* A remote lock with the corresponding data could not be found.
|
|
1477
1477
|
**/
|
|
1478
|
-
LockNotFound: GenericPalletError
|
|
1478
|
+
LockNotFound: GenericPalletError;
|
|
1479
1479
|
|
|
1480
1480
|
/**
|
|
1481
1481
|
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
1482
1482
|
**/
|
|
1483
|
-
InUse: GenericPalletError
|
|
1483
|
+
InUse: GenericPalletError;
|
|
1484
1484
|
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Invalid asset, reserve chain could not be determined for it.
|
|
1487
1487
|
**/
|
|
1488
|
-
InvalidAssetUnknownReserve: GenericPalletError
|
|
1488
|
+
InvalidAssetUnknownReserve: GenericPalletError;
|
|
1489
1489
|
|
|
1490
1490
|
/**
|
|
1491
1491
|
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
1492
1492
|
**/
|
|
1493
|
-
InvalidAssetUnsupportedReserve: GenericPalletError
|
|
1493
|
+
InvalidAssetUnsupportedReserve: GenericPalletError;
|
|
1494
1494
|
|
|
1495
1495
|
/**
|
|
1496
1496
|
* Too many assets with different reserve locations have been attempted for transfer.
|
|
1497
1497
|
**/
|
|
1498
|
-
TooManyReserves: GenericPalletError
|
|
1498
|
+
TooManyReserves: GenericPalletError;
|
|
1499
1499
|
|
|
1500
1500
|
/**
|
|
1501
1501
|
* Local XCM execution incomplete.
|
|
1502
1502
|
**/
|
|
1503
|
-
LocalExecutionIncomplete: GenericPalletError
|
|
1503
|
+
LocalExecutionIncomplete: GenericPalletError;
|
|
1504
1504
|
|
|
1505
1505
|
/**
|
|
1506
1506
|
* Generic pallet error
|
|
1507
1507
|
**/
|
|
1508
|
-
[error: string]: GenericPalletError
|
|
1508
|
+
[error: string]: GenericPalletError;
|
|
1509
1509
|
};
|
|
1510
1510
|
/**
|
|
1511
1511
|
* Pallet `XcmpQueue`'s errors
|
|
@@ -1514,32 +1514,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1514
1514
|
/**
|
|
1515
1515
|
* Setting the queue config failed since one of its values was invalid.
|
|
1516
1516
|
**/
|
|
1517
|
-
BadQueueConfig: GenericPalletError
|
|
1517
|
+
BadQueueConfig: GenericPalletError;
|
|
1518
1518
|
|
|
1519
1519
|
/**
|
|
1520
1520
|
* The execution is already suspended.
|
|
1521
1521
|
**/
|
|
1522
|
-
AlreadySuspended: GenericPalletError
|
|
1522
|
+
AlreadySuspended: GenericPalletError;
|
|
1523
1523
|
|
|
1524
1524
|
/**
|
|
1525
1525
|
* The execution is already resumed.
|
|
1526
1526
|
**/
|
|
1527
|
-
AlreadyResumed: GenericPalletError
|
|
1527
|
+
AlreadyResumed: GenericPalletError;
|
|
1528
1528
|
|
|
1529
1529
|
/**
|
|
1530
1530
|
* There are too many active outbound channels.
|
|
1531
1531
|
**/
|
|
1532
|
-
TooManyActiveOutboundChannels: GenericPalletError
|
|
1532
|
+
TooManyActiveOutboundChannels: GenericPalletError;
|
|
1533
1533
|
|
|
1534
1534
|
/**
|
|
1535
1535
|
* The message is too big.
|
|
1536
1536
|
**/
|
|
1537
|
-
TooBig: GenericPalletError
|
|
1537
|
+
TooBig: GenericPalletError;
|
|
1538
1538
|
|
|
1539
1539
|
/**
|
|
1540
1540
|
* Generic pallet error
|
|
1541
1541
|
**/
|
|
1542
|
-
[error: string]: GenericPalletError
|
|
1542
|
+
[error: string]: GenericPalletError;
|
|
1543
1543
|
};
|
|
1544
1544
|
/**
|
|
1545
1545
|
* Pallet `MessageQueue`'s errors
|
|
@@ -1549,32 +1549,32 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1549
1549
|
* Page is not reapable because it has items remaining to be processed and is not old
|
|
1550
1550
|
* enough.
|
|
1551
1551
|
**/
|
|
1552
|
-
NotReapable: GenericPalletError
|
|
1552
|
+
NotReapable: GenericPalletError;
|
|
1553
1553
|
|
|
1554
1554
|
/**
|
|
1555
1555
|
* Page to be reaped does not exist.
|
|
1556
1556
|
**/
|
|
1557
|
-
NoPage: GenericPalletError
|
|
1557
|
+
NoPage: GenericPalletError;
|
|
1558
1558
|
|
|
1559
1559
|
/**
|
|
1560
1560
|
* The referenced message could not be found.
|
|
1561
1561
|
**/
|
|
1562
|
-
NoMessage: GenericPalletError
|
|
1562
|
+
NoMessage: GenericPalletError;
|
|
1563
1563
|
|
|
1564
1564
|
/**
|
|
1565
1565
|
* The message was already processed and cannot be processed again.
|
|
1566
1566
|
**/
|
|
1567
|
-
AlreadyProcessed: GenericPalletError
|
|
1567
|
+
AlreadyProcessed: GenericPalletError;
|
|
1568
1568
|
|
|
1569
1569
|
/**
|
|
1570
1570
|
* The message is queued for future execution.
|
|
1571
1571
|
**/
|
|
1572
|
-
Queued: GenericPalletError
|
|
1572
|
+
Queued: GenericPalletError;
|
|
1573
1573
|
|
|
1574
1574
|
/**
|
|
1575
1575
|
* There is temporarily not enough weight to continue servicing messages.
|
|
1576
1576
|
**/
|
|
1577
|
-
InsufficientWeight: GenericPalletError
|
|
1577
|
+
InsufficientWeight: GenericPalletError;
|
|
1578
1578
|
|
|
1579
1579
|
/**
|
|
1580
1580
|
* This message is temporarily unprocessable.
|
|
@@ -1582,24 +1582,24 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1582
1582
|
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
1583
1583
|
* retrying.
|
|
1584
1584
|
**/
|
|
1585
|
-
TemporarilyUnprocessable: GenericPalletError
|
|
1585
|
+
TemporarilyUnprocessable: GenericPalletError;
|
|
1586
1586
|
|
|
1587
1587
|
/**
|
|
1588
1588
|
* The queue is paused and no message can be executed from it.
|
|
1589
1589
|
*
|
|
1590
1590
|
* This can change at any time and may resolve in the future by re-trying.
|
|
1591
1591
|
**/
|
|
1592
|
-
QueuePaused: GenericPalletError
|
|
1592
|
+
QueuePaused: GenericPalletError;
|
|
1593
1593
|
|
|
1594
1594
|
/**
|
|
1595
1595
|
* Another call is in progress and needs to finish before this call can happen.
|
|
1596
1596
|
**/
|
|
1597
|
-
RecursiveDisallowed: GenericPalletError
|
|
1597
|
+
RecursiveDisallowed: GenericPalletError;
|
|
1598
1598
|
|
|
1599
1599
|
/**
|
|
1600
1600
|
* Generic pallet error
|
|
1601
1601
|
**/
|
|
1602
|
-
[error: string]: GenericPalletError
|
|
1602
|
+
[error: string]: GenericPalletError;
|
|
1603
1603
|
};
|
|
1604
1604
|
/**
|
|
1605
1605
|
* Pallet `AssetRegistry`'s errors
|
|
@@ -1608,52 +1608,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1608
1608
|
/**
|
|
1609
1609
|
* Asset ID is not available. This only happens when it reaches the MAX value of given id type.
|
|
1610
1610
|
**/
|
|
1611
|
-
NoIdAvailable: GenericPalletError
|
|
1611
|
+
NoIdAvailable: GenericPalletError;
|
|
1612
1612
|
|
|
1613
1613
|
/**
|
|
1614
1614
|
* Invalid asset name or symbol.
|
|
1615
1615
|
**/
|
|
1616
|
-
AssetNotFound: GenericPalletError
|
|
1616
|
+
AssetNotFound: GenericPalletError;
|
|
1617
1617
|
|
|
1618
1618
|
/**
|
|
1619
1619
|
* Invalid asset name or symbol.
|
|
1620
1620
|
**/
|
|
1621
|
-
TooLong: GenericPalletError
|
|
1621
|
+
TooLong: GenericPalletError;
|
|
1622
1622
|
|
|
1623
1623
|
/**
|
|
1624
1624
|
* Asset ID is not registered in the asset-registry.
|
|
1625
1625
|
**/
|
|
1626
|
-
AssetNotRegistered: GenericPalletError
|
|
1626
|
+
AssetNotRegistered: GenericPalletError;
|
|
1627
1627
|
|
|
1628
1628
|
/**
|
|
1629
1629
|
* Asset is already registered.
|
|
1630
1630
|
**/
|
|
1631
|
-
AssetAlreadyRegistered: GenericPalletError
|
|
1631
|
+
AssetAlreadyRegistered: GenericPalletError;
|
|
1632
1632
|
|
|
1633
1633
|
/**
|
|
1634
1634
|
* Incorrect number of assets provided to create shared asset.
|
|
1635
1635
|
**/
|
|
1636
|
-
InvalidSharedAssetLen: GenericPalletError
|
|
1636
|
+
InvalidSharedAssetLen: GenericPalletError;
|
|
1637
1637
|
|
|
1638
1638
|
/**
|
|
1639
1639
|
* Cannot update asset location
|
|
1640
1640
|
**/
|
|
1641
|
-
CannotUpdateLocation: GenericPalletError
|
|
1641
|
+
CannotUpdateLocation: GenericPalletError;
|
|
1642
1642
|
|
|
1643
1643
|
/**
|
|
1644
1644
|
* Selected asset id is out of reserved range.
|
|
1645
1645
|
**/
|
|
1646
|
-
NotInReservedRange: GenericPalletError
|
|
1646
|
+
NotInReservedRange: GenericPalletError;
|
|
1647
1647
|
|
|
1648
1648
|
/**
|
|
1649
1649
|
* Location already registered with different asset
|
|
1650
1650
|
**/
|
|
1651
|
-
LocationAlreadyRegistered: GenericPalletError
|
|
1651
|
+
LocationAlreadyRegistered: GenericPalletError;
|
|
1652
1652
|
|
|
1653
1653
|
/**
|
|
1654
1654
|
* Generic pallet error
|
|
1655
1655
|
**/
|
|
1656
|
-
[error: string]: GenericPalletError
|
|
1656
|
+
[error: string]: GenericPalletError;
|
|
1657
1657
|
};
|
|
1658
1658
|
/**
|
|
1659
1659
|
* Pallet `XYK`'s errors
|
|
@@ -1662,134 +1662,134 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1662
1662
|
/**
|
|
1663
1663
|
* It is not allowed to create a pool between same assets.
|
|
1664
1664
|
**/
|
|
1665
|
-
CannotCreatePoolWithSameAssets: GenericPalletError
|
|
1665
|
+
CannotCreatePoolWithSameAssets: GenericPalletError;
|
|
1666
1666
|
|
|
1667
1667
|
/**
|
|
1668
1668
|
* Liquidity has not reached the required minimum.
|
|
1669
1669
|
**/
|
|
1670
|
-
InsufficientLiquidity: GenericPalletError
|
|
1670
|
+
InsufficientLiquidity: GenericPalletError;
|
|
1671
1671
|
|
|
1672
1672
|
/**
|
|
1673
1673
|
* Amount is less than min trading limit.
|
|
1674
1674
|
**/
|
|
1675
|
-
InsufficientTradingAmount: GenericPalletError
|
|
1675
|
+
InsufficientTradingAmount: GenericPalletError;
|
|
1676
1676
|
|
|
1677
1677
|
/**
|
|
1678
1678
|
* Liquidity is zero.
|
|
1679
1679
|
**/
|
|
1680
|
-
ZeroLiquidity: GenericPalletError
|
|
1680
|
+
ZeroLiquidity: GenericPalletError;
|
|
1681
1681
|
|
|
1682
1682
|
/**
|
|
1683
1683
|
* It is not allowed to create a pool with zero initial price.
|
|
1684
1684
|
* Not used, kept for backward compatibility
|
|
1685
1685
|
**/
|
|
1686
|
-
ZeroInitialPrice: GenericPalletError
|
|
1686
|
+
ZeroInitialPrice: GenericPalletError;
|
|
1687
1687
|
|
|
1688
1688
|
/**
|
|
1689
1689
|
* Overflow
|
|
1690
1690
|
* Not used, kept for backward compatibility
|
|
1691
1691
|
**/
|
|
1692
|
-
CreatePoolAssetAmountInvalid: GenericPalletError
|
|
1692
|
+
CreatePoolAssetAmountInvalid: GenericPalletError;
|
|
1693
1693
|
|
|
1694
1694
|
/**
|
|
1695
1695
|
* Overflow
|
|
1696
1696
|
**/
|
|
1697
|
-
InvalidMintedLiquidity: GenericPalletError
|
|
1697
|
+
InvalidMintedLiquidity: GenericPalletError;
|
|
1698
1698
|
|
|
1699
1699
|
/**
|
|
1700
1700
|
* Overflow
|
|
1701
1701
|
**/
|
|
1702
|
-
InvalidLiquidityAmount: GenericPalletError
|
|
1702
|
+
InvalidLiquidityAmount: GenericPalletError;
|
|
1703
1703
|
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Asset amount has exceeded given limit.
|
|
1706
1706
|
**/
|
|
1707
|
-
AssetAmountExceededLimit: GenericPalletError
|
|
1707
|
+
AssetAmountExceededLimit: GenericPalletError;
|
|
1708
1708
|
|
|
1709
1709
|
/**
|
|
1710
1710
|
* Asset amount has not reached given limit.
|
|
1711
1711
|
**/
|
|
1712
|
-
AssetAmountNotReachedLimit: GenericPalletError
|
|
1712
|
+
AssetAmountNotReachedLimit: GenericPalletError;
|
|
1713
1713
|
|
|
1714
1714
|
/**
|
|
1715
1715
|
* Asset balance is not sufficient.
|
|
1716
1716
|
**/
|
|
1717
|
-
InsufficientAssetBalance: GenericPalletError
|
|
1717
|
+
InsufficientAssetBalance: GenericPalletError;
|
|
1718
1718
|
|
|
1719
1719
|
/**
|
|
1720
1720
|
* Not enough asset liquidity in the pool.
|
|
1721
1721
|
**/
|
|
1722
|
-
InsufficientPoolAssetBalance: GenericPalletError
|
|
1722
|
+
InsufficientPoolAssetBalance: GenericPalletError;
|
|
1723
1723
|
|
|
1724
1724
|
/**
|
|
1725
1725
|
* Not enough core asset liquidity in the pool.
|
|
1726
1726
|
**/
|
|
1727
|
-
InsufficientNativeCurrencyBalance: GenericPalletError
|
|
1727
|
+
InsufficientNativeCurrencyBalance: GenericPalletError;
|
|
1728
1728
|
|
|
1729
1729
|
/**
|
|
1730
1730
|
* Liquidity pool for given assets does not exist.
|
|
1731
1731
|
**/
|
|
1732
|
-
TokenPoolNotFound: GenericPalletError
|
|
1732
|
+
TokenPoolNotFound: GenericPalletError;
|
|
1733
1733
|
|
|
1734
1734
|
/**
|
|
1735
1735
|
* Liquidity pool for given assets already exists.
|
|
1736
1736
|
**/
|
|
1737
|
-
TokenPoolAlreadyExists: GenericPalletError
|
|
1737
|
+
TokenPoolAlreadyExists: GenericPalletError;
|
|
1738
1738
|
|
|
1739
1739
|
/**
|
|
1740
1740
|
* Overflow
|
|
1741
1741
|
**/
|
|
1742
|
-
AddAssetAmountInvalid: GenericPalletError
|
|
1742
|
+
AddAssetAmountInvalid: GenericPalletError;
|
|
1743
1743
|
|
|
1744
1744
|
/**
|
|
1745
1745
|
* Overflow
|
|
1746
1746
|
**/
|
|
1747
|
-
RemoveAssetAmountInvalid: GenericPalletError
|
|
1747
|
+
RemoveAssetAmountInvalid: GenericPalletError;
|
|
1748
1748
|
|
|
1749
1749
|
/**
|
|
1750
1750
|
* Overflow
|
|
1751
1751
|
**/
|
|
1752
|
-
SellAssetAmountInvalid: GenericPalletError
|
|
1752
|
+
SellAssetAmountInvalid: GenericPalletError;
|
|
1753
1753
|
|
|
1754
1754
|
/**
|
|
1755
1755
|
* Overflow
|
|
1756
1756
|
**/
|
|
1757
|
-
BuyAssetAmountInvalid: GenericPalletError
|
|
1757
|
+
BuyAssetAmountInvalid: GenericPalletError;
|
|
1758
1758
|
|
|
1759
1759
|
/**
|
|
1760
1760
|
* Overflow
|
|
1761
1761
|
**/
|
|
1762
|
-
FeeAmountInvalid: GenericPalletError
|
|
1762
|
+
FeeAmountInvalid: GenericPalletError;
|
|
1763
1763
|
|
|
1764
1764
|
/**
|
|
1765
1765
|
* Overflow
|
|
1766
1766
|
**/
|
|
1767
|
-
CannotApplyDiscount: GenericPalletError
|
|
1767
|
+
CannotApplyDiscount: GenericPalletError;
|
|
1768
1768
|
|
|
1769
1769
|
/**
|
|
1770
1770
|
* Max fraction of pool to buy in single transaction has been exceeded.
|
|
1771
1771
|
**/
|
|
1772
|
-
MaxOutRatioExceeded: GenericPalletError
|
|
1772
|
+
MaxOutRatioExceeded: GenericPalletError;
|
|
1773
1773
|
|
|
1774
1774
|
/**
|
|
1775
1775
|
* Max fraction of pool to sell in single transaction has been exceeded.
|
|
1776
1776
|
**/
|
|
1777
|
-
MaxInRatioExceeded: GenericPalletError
|
|
1777
|
+
MaxInRatioExceeded: GenericPalletError;
|
|
1778
1778
|
|
|
1779
1779
|
/**
|
|
1780
1780
|
* Overflow
|
|
1781
1781
|
**/
|
|
1782
|
-
Overflow: GenericPalletError
|
|
1782
|
+
Overflow: GenericPalletError;
|
|
1783
1783
|
|
|
1784
1784
|
/**
|
|
1785
1785
|
* Pool cannot be created due to outside factors.
|
|
1786
1786
|
**/
|
|
1787
|
-
CannotCreatePool: GenericPalletError
|
|
1787
|
+
CannotCreatePool: GenericPalletError;
|
|
1788
1788
|
|
|
1789
1789
|
/**
|
|
1790
1790
|
* Generic pallet error
|
|
1791
1791
|
**/
|
|
1792
|
-
[error: string]: GenericPalletError
|
|
1792
|
+
[error: string]: GenericPalletError;
|
|
1793
1793
|
};
|
|
1794
1794
|
/**
|
|
1795
1795
|
* Pallet `Duster`'s errors
|
|
@@ -1798,37 +1798,37 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1798
1798
|
/**
|
|
1799
1799
|
* Account is excluded from dusting.
|
|
1800
1800
|
**/
|
|
1801
|
-
AccountBlacklisted: GenericPalletError
|
|
1801
|
+
AccountBlacklisted: GenericPalletError;
|
|
1802
1802
|
|
|
1803
1803
|
/**
|
|
1804
1804
|
* Account is not present in the non-dustable list.
|
|
1805
1805
|
**/
|
|
1806
|
-
AccountNotBlacklisted: GenericPalletError
|
|
1806
|
+
AccountNotBlacklisted: GenericPalletError;
|
|
1807
1807
|
|
|
1808
1808
|
/**
|
|
1809
1809
|
* The balance is zero.
|
|
1810
1810
|
**/
|
|
1811
|
-
ZeroBalance: GenericPalletError
|
|
1811
|
+
ZeroBalance: GenericPalletError;
|
|
1812
1812
|
|
|
1813
1813
|
/**
|
|
1814
1814
|
* The balance is sufficient to keep account open.
|
|
1815
1815
|
**/
|
|
1816
|
-
BalanceSufficient: GenericPalletError
|
|
1816
|
+
BalanceSufficient: GenericPalletError;
|
|
1817
1817
|
|
|
1818
1818
|
/**
|
|
1819
1819
|
* Dust account is not set.
|
|
1820
1820
|
**/
|
|
1821
|
-
DustAccountNotSet: GenericPalletError
|
|
1821
|
+
DustAccountNotSet: GenericPalletError;
|
|
1822
1822
|
|
|
1823
1823
|
/**
|
|
1824
1824
|
* Reserve account is not set.
|
|
1825
1825
|
**/
|
|
1826
|
-
ReserveAccountNotSet: GenericPalletError
|
|
1826
|
+
ReserveAccountNotSet: GenericPalletError;
|
|
1827
1827
|
|
|
1828
1828
|
/**
|
|
1829
1829
|
* Generic pallet error
|
|
1830
1830
|
**/
|
|
1831
|
-
[error: string]: GenericPalletError
|
|
1831
|
+
[error: string]: GenericPalletError;
|
|
1832
1832
|
};
|
|
1833
1833
|
/**
|
|
1834
1834
|
* Pallet `LBP`'s errors
|
|
@@ -1837,122 +1837,122 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1837
1837
|
/**
|
|
1838
1838
|
* Pool assets can not be the same
|
|
1839
1839
|
**/
|
|
1840
|
-
CannotCreatePoolWithSameAssets: GenericPalletError
|
|
1840
|
+
CannotCreatePoolWithSameAssets: GenericPalletError;
|
|
1841
1841
|
|
|
1842
1842
|
/**
|
|
1843
1843
|
* Account is not a pool owner
|
|
1844
1844
|
**/
|
|
1845
|
-
NotOwner: GenericPalletError
|
|
1845
|
+
NotOwner: GenericPalletError;
|
|
1846
1846
|
|
|
1847
1847
|
/**
|
|
1848
1848
|
* Sale already started
|
|
1849
1849
|
**/
|
|
1850
|
-
SaleStarted: GenericPalletError
|
|
1850
|
+
SaleStarted: GenericPalletError;
|
|
1851
1851
|
|
|
1852
1852
|
/**
|
|
1853
1853
|
* Sale is still in progress
|
|
1854
1854
|
**/
|
|
1855
|
-
SaleNotEnded: GenericPalletError
|
|
1855
|
+
SaleNotEnded: GenericPalletError;
|
|
1856
1856
|
|
|
1857
1857
|
/**
|
|
1858
1858
|
* Sale is not running
|
|
1859
1859
|
**/
|
|
1860
|
-
SaleIsNotRunning: GenericPalletError
|
|
1860
|
+
SaleIsNotRunning: GenericPalletError;
|
|
1861
1861
|
|
|
1862
1862
|
/**
|
|
1863
1863
|
* Sale duration is too long
|
|
1864
1864
|
**/
|
|
1865
|
-
MaxSaleDurationExceeded: GenericPalletError
|
|
1865
|
+
MaxSaleDurationExceeded: GenericPalletError;
|
|
1866
1866
|
|
|
1867
1867
|
/**
|
|
1868
1868
|
* Liquidity being added should not be zero
|
|
1869
1869
|
**/
|
|
1870
|
-
CannotAddZeroLiquidity: GenericPalletError
|
|
1870
|
+
CannotAddZeroLiquidity: GenericPalletError;
|
|
1871
1871
|
|
|
1872
1872
|
/**
|
|
1873
1873
|
* Asset balance too low
|
|
1874
1874
|
**/
|
|
1875
|
-
InsufficientAssetBalance: GenericPalletError
|
|
1875
|
+
InsufficientAssetBalance: GenericPalletError;
|
|
1876
1876
|
|
|
1877
1877
|
/**
|
|
1878
1878
|
* Pool does not exist
|
|
1879
1879
|
**/
|
|
1880
|
-
PoolNotFound: GenericPalletError
|
|
1880
|
+
PoolNotFound: GenericPalletError;
|
|
1881
1881
|
|
|
1882
1882
|
/**
|
|
1883
1883
|
* Pool has been already created
|
|
1884
1884
|
**/
|
|
1885
|
-
PoolAlreadyExists: GenericPalletError
|
|
1885
|
+
PoolAlreadyExists: GenericPalletError;
|
|
1886
1886
|
|
|
1887
1887
|
/**
|
|
1888
1888
|
* Invalid block range
|
|
1889
1889
|
**/
|
|
1890
|
-
InvalidBlockRange: GenericPalletError
|
|
1890
|
+
InvalidBlockRange: GenericPalletError;
|
|
1891
1891
|
|
|
1892
1892
|
/**
|
|
1893
1893
|
* Calculation error
|
|
1894
1894
|
**/
|
|
1895
|
-
WeightCalculationError: GenericPalletError
|
|
1895
|
+
WeightCalculationError: GenericPalletError;
|
|
1896
1896
|
|
|
1897
1897
|
/**
|
|
1898
1898
|
* Weight set is out of range
|
|
1899
1899
|
**/
|
|
1900
|
-
InvalidWeight: GenericPalletError
|
|
1900
|
+
InvalidWeight: GenericPalletError;
|
|
1901
1901
|
|
|
1902
1902
|
/**
|
|
1903
1903
|
* Can not perform a trade with zero amount
|
|
1904
1904
|
**/
|
|
1905
|
-
ZeroAmount: GenericPalletError
|
|
1905
|
+
ZeroAmount: GenericPalletError;
|
|
1906
1906
|
|
|
1907
1907
|
/**
|
|
1908
1908
|
* Trade amount is too high
|
|
1909
1909
|
**/
|
|
1910
|
-
MaxInRatioExceeded: GenericPalletError
|
|
1910
|
+
MaxInRatioExceeded: GenericPalletError;
|
|
1911
1911
|
|
|
1912
1912
|
/**
|
|
1913
1913
|
* Trade amount is too high
|
|
1914
1914
|
**/
|
|
1915
|
-
MaxOutRatioExceeded: GenericPalletError
|
|
1915
|
+
MaxOutRatioExceeded: GenericPalletError;
|
|
1916
1916
|
|
|
1917
1917
|
/**
|
|
1918
1918
|
* Invalid fee amount
|
|
1919
1919
|
**/
|
|
1920
|
-
FeeAmountInvalid: GenericPalletError
|
|
1920
|
+
FeeAmountInvalid: GenericPalletError;
|
|
1921
1921
|
|
|
1922
1922
|
/**
|
|
1923
1923
|
* Trading limit reached
|
|
1924
1924
|
**/
|
|
1925
|
-
TradingLimitReached: GenericPalletError
|
|
1925
|
+
TradingLimitReached: GenericPalletError;
|
|
1926
1926
|
|
|
1927
1927
|
/**
|
|
1928
1928
|
* An unexpected integer overflow occurred
|
|
1929
1929
|
**/
|
|
1930
|
-
Overflow: GenericPalletError
|
|
1930
|
+
Overflow: GenericPalletError;
|
|
1931
1931
|
|
|
1932
1932
|
/**
|
|
1933
1933
|
* Nothing to update
|
|
1934
1934
|
**/
|
|
1935
|
-
NothingToUpdate: GenericPalletError
|
|
1935
|
+
NothingToUpdate: GenericPalletError;
|
|
1936
1936
|
|
|
1937
1937
|
/**
|
|
1938
1938
|
* Liquidity has not reached the required minimum.
|
|
1939
1939
|
**/
|
|
1940
|
-
InsufficientLiquidity: GenericPalletError
|
|
1940
|
+
InsufficientLiquidity: GenericPalletError;
|
|
1941
1941
|
|
|
1942
1942
|
/**
|
|
1943
1943
|
* Amount is less than minimum trading limit.
|
|
1944
1944
|
**/
|
|
1945
|
-
InsufficientTradingAmount: GenericPalletError
|
|
1945
|
+
InsufficientTradingAmount: GenericPalletError;
|
|
1946
1946
|
|
|
1947
1947
|
/**
|
|
1948
1948
|
* Not more than one fee collector per asset id
|
|
1949
1949
|
**/
|
|
1950
|
-
FeeCollectorWithAssetAlreadyUsed: GenericPalletError
|
|
1950
|
+
FeeCollectorWithAssetAlreadyUsed: GenericPalletError;
|
|
1951
1951
|
|
|
1952
1952
|
/**
|
|
1953
1953
|
* Generic pallet error
|
|
1954
1954
|
**/
|
|
1955
|
-
[error: string]: GenericPalletError
|
|
1955
|
+
[error: string]: GenericPalletError;
|
|
1956
1956
|
};
|
|
1957
1957
|
/**
|
|
1958
1958
|
* Pallet `NFT`'s errors
|
|
@@ -1961,42 +1961,42 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1961
1961
|
/**
|
|
1962
1962
|
* Count of items overflown
|
|
1963
1963
|
**/
|
|
1964
|
-
NoAvailableItemId: GenericPalletError
|
|
1964
|
+
NoAvailableItemId: GenericPalletError;
|
|
1965
1965
|
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Count of collections overflown
|
|
1968
1968
|
**/
|
|
1969
|
-
NoAvailableCollectionId: GenericPalletError
|
|
1969
|
+
NoAvailableCollectionId: GenericPalletError;
|
|
1970
1970
|
|
|
1971
1971
|
/**
|
|
1972
1972
|
* Collection still contains minted tokens
|
|
1973
1973
|
**/
|
|
1974
|
-
TokenCollectionNotEmpty: GenericPalletError
|
|
1974
|
+
TokenCollectionNotEmpty: GenericPalletError;
|
|
1975
1975
|
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Collection does not exist
|
|
1978
1978
|
**/
|
|
1979
|
-
CollectionUnknown: GenericPalletError
|
|
1979
|
+
CollectionUnknown: GenericPalletError;
|
|
1980
1980
|
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Item does not exist
|
|
1983
1983
|
**/
|
|
1984
|
-
ItemUnknown: GenericPalletError
|
|
1984
|
+
ItemUnknown: GenericPalletError;
|
|
1985
1985
|
|
|
1986
1986
|
/**
|
|
1987
1987
|
* Operation not permitted
|
|
1988
1988
|
**/
|
|
1989
|
-
NotPermitted: GenericPalletError
|
|
1989
|
+
NotPermitted: GenericPalletError;
|
|
1990
1990
|
|
|
1991
1991
|
/**
|
|
1992
1992
|
* ID reserved for runtime
|
|
1993
1993
|
**/
|
|
1994
|
-
IdReserved: GenericPalletError
|
|
1994
|
+
IdReserved: GenericPalletError;
|
|
1995
1995
|
|
|
1996
1996
|
/**
|
|
1997
1997
|
* Generic pallet error
|
|
1998
1998
|
**/
|
|
1999
|
-
[error: string]: GenericPalletError
|
|
1999
|
+
[error: string]: GenericPalletError;
|
|
2000
2000
|
};
|
|
2001
2001
|
/**
|
|
2002
2002
|
* Pallet `Marketplace`'s errors
|
|
@@ -2005,67 +2005,67 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2005
2005
|
/**
|
|
2006
2006
|
* Account is not the owner of the token
|
|
2007
2007
|
**/
|
|
2008
|
-
NotTheTokenOwner: GenericPalletError
|
|
2008
|
+
NotTheTokenOwner: GenericPalletError;
|
|
2009
2009
|
|
|
2010
2010
|
/**
|
|
2011
2011
|
* Cannot buy a token from yourself
|
|
2012
2012
|
**/
|
|
2013
|
-
BuyFromSelf: GenericPalletError
|
|
2013
|
+
BuyFromSelf: GenericPalletError;
|
|
2014
2014
|
|
|
2015
2015
|
/**
|
|
2016
2016
|
* Token is currently not for sale
|
|
2017
2017
|
**/
|
|
2018
|
-
NotForSale: GenericPalletError
|
|
2018
|
+
NotForSale: GenericPalletError;
|
|
2019
2019
|
|
|
2020
2020
|
/**
|
|
2021
2021
|
* Collection or item does not exist
|
|
2022
2022
|
**/
|
|
2023
|
-
CollectionOrItemUnknown: GenericPalletError
|
|
2023
|
+
CollectionOrItemUnknown: GenericPalletError;
|
|
2024
2024
|
|
|
2025
2025
|
/**
|
|
2026
2026
|
* Offer is lower than the minimum threshold
|
|
2027
2027
|
**/
|
|
2028
|
-
OfferTooLow: GenericPalletError
|
|
2028
|
+
OfferTooLow: GenericPalletError;
|
|
2029
2029
|
|
|
2030
2030
|
/**
|
|
2031
2031
|
* No offer for this token found from the user
|
|
2032
2032
|
**/
|
|
2033
|
-
UnknownOffer: GenericPalletError
|
|
2033
|
+
UnknownOffer: GenericPalletError;
|
|
2034
2034
|
|
|
2035
2035
|
/**
|
|
2036
2036
|
* Offer is no longer valid
|
|
2037
2037
|
**/
|
|
2038
|
-
OfferExpired: GenericPalletError
|
|
2038
|
+
OfferExpired: GenericPalletError;
|
|
2039
2039
|
|
|
2040
2040
|
/**
|
|
2041
2041
|
* User already made an offer for this token
|
|
2042
2042
|
**/
|
|
2043
|
-
AlreadyOffered: GenericPalletError
|
|
2043
|
+
AlreadyOffered: GenericPalletError;
|
|
2044
2044
|
|
|
2045
2045
|
/**
|
|
2046
2046
|
* User has to be offer maker or token owner to withdraw an offer
|
|
2047
2047
|
**/
|
|
2048
|
-
WithdrawNotAuthorized: GenericPalletError
|
|
2048
|
+
WithdrawNotAuthorized: GenericPalletError;
|
|
2049
2049
|
|
|
2050
2050
|
/**
|
|
2051
2051
|
* User has to be the token owner to accept an offer
|
|
2052
2052
|
**/
|
|
2053
|
-
AcceptNotAuthorized: GenericPalletError
|
|
2053
|
+
AcceptNotAuthorized: GenericPalletError;
|
|
2054
2054
|
|
|
2055
2055
|
/**
|
|
2056
2056
|
* Royalty can be set only once
|
|
2057
2057
|
**/
|
|
2058
|
-
RoyaltyAlreadySet: GenericPalletError
|
|
2058
|
+
RoyaltyAlreadySet: GenericPalletError;
|
|
2059
2059
|
|
|
2060
2060
|
/**
|
|
2061
2061
|
* Royalty not in 0-9_999 range
|
|
2062
2062
|
**/
|
|
2063
|
-
NotInRange: GenericPalletError
|
|
2063
|
+
NotInRange: GenericPalletError;
|
|
2064
2064
|
|
|
2065
2065
|
/**
|
|
2066
2066
|
* Generic pallet error
|
|
2067
2067
|
**/
|
|
2068
|
-
[error: string]: GenericPalletError
|
|
2068
|
+
[error: string]: GenericPalletError;
|
|
2069
2069
|
};
|
|
2070
2070
|
/**
|
|
2071
2071
|
* Pallet `TransactionPause`'s errors
|
|
@@ -2074,22 +2074,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2074
2074
|
/**
|
|
2075
2075
|
* can not pause
|
|
2076
2076
|
**/
|
|
2077
|
-
CannotPause: GenericPalletError
|
|
2077
|
+
CannotPause: GenericPalletError;
|
|
2078
2078
|
|
|
2079
2079
|
/**
|
|
2080
2080
|
* invalid character encoding
|
|
2081
2081
|
**/
|
|
2082
|
-
InvalidCharacter: GenericPalletError
|
|
2082
|
+
InvalidCharacter: GenericPalletError;
|
|
2083
2083
|
|
|
2084
2084
|
/**
|
|
2085
2085
|
* pallet name or function name is too long
|
|
2086
2086
|
**/
|
|
2087
|
-
NameTooLong: GenericPalletError
|
|
2087
|
+
NameTooLong: GenericPalletError;
|
|
2088
2088
|
|
|
2089
2089
|
/**
|
|
2090
2090
|
* Generic pallet error
|
|
2091
2091
|
**/
|
|
2092
|
-
[error: string]: GenericPalletError
|
|
2092
|
+
[error: string]: GenericPalletError;
|
|
2093
2093
|
};
|
|
2094
2094
|
/**
|
|
2095
2095
|
* Pallet `Router`'s errors
|
|
@@ -2098,57 +2098,57 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2098
2098
|
/**
|
|
2099
2099
|
* The trading limit has been reached
|
|
2100
2100
|
**/
|
|
2101
|
-
TradingLimitReached: GenericPalletError
|
|
2101
|
+
TradingLimitReached: GenericPalletError;
|
|
2102
2102
|
|
|
2103
2103
|
/**
|
|
2104
2104
|
* The the max number of trades limit is reached
|
|
2105
2105
|
**/
|
|
2106
|
-
MaxTradesExceeded: GenericPalletError
|
|
2106
|
+
MaxTradesExceeded: GenericPalletError;
|
|
2107
2107
|
|
|
2108
2108
|
/**
|
|
2109
2109
|
* The AMM pool is not supported for executing trades
|
|
2110
2110
|
**/
|
|
2111
|
-
PoolNotSupported: GenericPalletError
|
|
2111
|
+
PoolNotSupported: GenericPalletError;
|
|
2112
2112
|
|
|
2113
2113
|
/**
|
|
2114
2114
|
* The user has not enough balance to execute the trade
|
|
2115
2115
|
**/
|
|
2116
|
-
InsufficientBalance: GenericPalletError
|
|
2116
|
+
InsufficientBalance: GenericPalletError;
|
|
2117
2117
|
|
|
2118
2118
|
/**
|
|
2119
2119
|
* The calculation of route trade amounts failed in the underlying AMM
|
|
2120
2120
|
**/
|
|
2121
|
-
RouteCalculationFailed: GenericPalletError
|
|
2121
|
+
RouteCalculationFailed: GenericPalletError;
|
|
2122
2122
|
|
|
2123
2123
|
/**
|
|
2124
2124
|
* The route is invalid
|
|
2125
2125
|
**/
|
|
2126
|
-
InvalidRoute: GenericPalletError
|
|
2126
|
+
InvalidRoute: GenericPalletError;
|
|
2127
2127
|
|
|
2128
2128
|
/**
|
|
2129
2129
|
* The route update was not successful
|
|
2130
2130
|
**/
|
|
2131
|
-
RouteUpdateIsNotSuccessful: GenericPalletError
|
|
2131
|
+
RouteUpdateIsNotSuccessful: GenericPalletError;
|
|
2132
2132
|
|
|
2133
2133
|
/**
|
|
2134
2134
|
* Route contains assets that has no oracle data
|
|
2135
2135
|
**/
|
|
2136
|
-
RouteHasNoOracle: GenericPalletError
|
|
2136
|
+
RouteHasNoOracle: GenericPalletError;
|
|
2137
2137
|
|
|
2138
2138
|
/**
|
|
2139
2139
|
* The route execution failed in the underlying AMM
|
|
2140
2140
|
**/
|
|
2141
|
-
InvalidRouteExecution: GenericPalletError
|
|
2141
|
+
InvalidRouteExecution: GenericPalletError;
|
|
2142
2142
|
|
|
2143
2143
|
/**
|
|
2144
2144
|
* Trading same assets is not allowed.
|
|
2145
2145
|
**/
|
|
2146
|
-
NotAllowed: GenericPalletError
|
|
2146
|
+
NotAllowed: GenericPalletError;
|
|
2147
2147
|
|
|
2148
2148
|
/**
|
|
2149
2149
|
* Generic pallet error
|
|
2150
2150
|
**/
|
|
2151
|
-
[error: string]: GenericPalletError
|
|
2151
|
+
[error: string]: GenericPalletError;
|
|
2152
2152
|
};
|
|
2153
2153
|
/**
|
|
2154
2154
|
* Pallet `XYKLiquidityMining`'s errors
|
|
@@ -2157,52 +2157,52 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2157
2157
|
/**
|
|
2158
2158
|
* Nft pallet didn't return an owner.
|
|
2159
2159
|
**/
|
|
2160
|
-
CantFindDepositOwner: GenericPalletError
|
|
2160
|
+
CantFindDepositOwner: GenericPalletError;
|
|
2161
2161
|
|
|
2162
2162
|
/**
|
|
2163
2163
|
* Account balance of XYK pool shares is not sufficient.
|
|
2164
2164
|
**/
|
|
2165
|
-
InsufficientXykSharesBalance: GenericPalletError
|
|
2165
|
+
InsufficientXykSharesBalance: GenericPalletError;
|
|
2166
2166
|
|
|
2167
2167
|
/**
|
|
2168
2168
|
* XYK pool does not exist
|
|
2169
2169
|
**/
|
|
2170
|
-
XykPoolDoesntExist: GenericPalletError
|
|
2170
|
+
XykPoolDoesntExist: GenericPalletError;
|
|
2171
2171
|
|
|
2172
2172
|
/**
|
|
2173
2173
|
* Account is not deposit owner.
|
|
2174
2174
|
**/
|
|
2175
|
-
NotDepositOwner: GenericPalletError
|
|
2175
|
+
NotDepositOwner: GenericPalletError;
|
|
2176
2176
|
|
|
2177
2177
|
/**
|
|
2178
2178
|
* XYK did not return assets for given pool id
|
|
2179
2179
|
**/
|
|
2180
|
-
CantGetXykAssets: GenericPalletError
|
|
2180
|
+
CantGetXykAssets: GenericPalletError;
|
|
2181
2181
|
|
|
2182
2182
|
/**
|
|
2183
2183
|
* Deposit data not found
|
|
2184
2184
|
**/
|
|
2185
|
-
DepositDataNotFound: GenericPalletError
|
|
2185
|
+
DepositDataNotFound: GenericPalletError;
|
|
2186
2186
|
|
|
2187
2187
|
/**
|
|
2188
2188
|
* Calculated reward to claim is 0.
|
|
2189
2189
|
**/
|
|
2190
|
-
ZeroClaimedRewards: GenericPalletError
|
|
2190
|
+
ZeroClaimedRewards: GenericPalletError;
|
|
2191
2191
|
|
|
2192
2192
|
/**
|
|
2193
2193
|
* Asset is not in the `AssetPair`.
|
|
2194
2194
|
**/
|
|
2195
|
-
AssetNotInAssetPair: GenericPalletError
|
|
2195
|
+
AssetNotInAssetPair: GenericPalletError;
|
|
2196
2196
|
|
|
2197
2197
|
/**
|
|
2198
2198
|
* Provided `AssetPair` is not used by the deposit.
|
|
2199
2199
|
**/
|
|
2200
|
-
InvalidAssetPair: GenericPalletError
|
|
2200
|
+
InvalidAssetPair: GenericPalletError;
|
|
2201
2201
|
|
|
2202
2202
|
/**
|
|
2203
2203
|
* Generic pallet error
|
|
2204
2204
|
**/
|
|
2205
|
-
[error: string]: GenericPalletError
|
|
2205
|
+
[error: string]: GenericPalletError;
|
|
2206
2206
|
};
|
|
2207
2207
|
/**
|
|
2208
2208
|
* Pallet `XYKWarehouseLM`'s errors
|
|
@@ -2211,154 +2211,154 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2211
2211
|
/**
|
|
2212
2212
|
* Global farm does not exist.
|
|
2213
2213
|
**/
|
|
2214
|
-
GlobalFarmNotFound: GenericPalletError
|
|
2214
|
+
GlobalFarmNotFound: GenericPalletError;
|
|
2215
2215
|
|
|
2216
2216
|
/**
|
|
2217
2217
|
* Yield farm does not exist.
|
|
2218
2218
|
**/
|
|
2219
|
-
YieldFarmNotFound: GenericPalletError
|
|
2219
|
+
YieldFarmNotFound: GenericPalletError;
|
|
2220
2220
|
|
|
2221
2221
|
/**
|
|
2222
2222
|
* Multiple claims in the same period is not allowed.
|
|
2223
2223
|
**/
|
|
2224
|
-
DoubleClaimInPeriod: GenericPalletError
|
|
2224
|
+
DoubleClaimInPeriod: GenericPalletError;
|
|
2225
2225
|
|
|
2226
2226
|
/**
|
|
2227
2227
|
* Liquidity mining is canceled.
|
|
2228
2228
|
**/
|
|
2229
|
-
LiquidityMiningCanceled: GenericPalletError
|
|
2229
|
+
LiquidityMiningCanceled: GenericPalletError;
|
|
2230
2230
|
|
|
2231
2231
|
/**
|
|
2232
2232
|
* Liquidity mining is not canceled.
|
|
2233
2233
|
**/
|
|
2234
|
-
LiquidityMiningIsActive: GenericPalletError
|
|
2234
|
+
LiquidityMiningIsActive: GenericPalletError;
|
|
2235
2235
|
|
|
2236
2236
|
/**
|
|
2237
2237
|
* Liquidity mining is in `active` or `terminated` state and action cannot be completed.
|
|
2238
2238
|
**/
|
|
2239
|
-
LiquidityMiningIsNotStopped: GenericPalletError
|
|
2239
|
+
LiquidityMiningIsNotStopped: GenericPalletError;
|
|
2240
2240
|
|
|
2241
2241
|
/**
|
|
2242
2242
|
* LP shares amount is not valid.
|
|
2243
2243
|
**/
|
|
2244
|
-
InvalidDepositAmount: GenericPalletError
|
|
2244
|
+
InvalidDepositAmount: GenericPalletError;
|
|
2245
2245
|
|
|
2246
2246
|
/**
|
|
2247
2247
|
* Account is not allowed to perform action.
|
|
2248
2248
|
**/
|
|
2249
|
-
Forbidden: GenericPalletError
|
|
2249
|
+
Forbidden: GenericPalletError;
|
|
2250
2250
|
|
|
2251
2251
|
/**
|
|
2252
2252
|
* Yield farm multiplier can't be 0.
|
|
2253
2253
|
**/
|
|
2254
|
-
InvalidMultiplier: GenericPalletError
|
|
2254
|
+
InvalidMultiplier: GenericPalletError;
|
|
2255
2255
|
|
|
2256
2256
|
/**
|
|
2257
2257
|
* Yield farm with given `amm_pool_id` already exists in global farm.
|
|
2258
2258
|
**/
|
|
2259
|
-
YieldFarmAlreadyExists: GenericPalletError
|
|
2259
|
+
YieldFarmAlreadyExists: GenericPalletError;
|
|
2260
2260
|
|
|
2261
2261
|
/**
|
|
2262
2262
|
* Loyalty curve's initial reward percentage is not valid. Valid range is: [0, 1).
|
|
2263
2263
|
**/
|
|
2264
|
-
InvalidInitialRewardPercentage: GenericPalletError
|
|
2264
|
+
InvalidInitialRewardPercentage: GenericPalletError;
|
|
2265
2265
|
|
|
2266
2266
|
/**
|
|
2267
2267
|
* One or more yield farms exist in global farm.
|
|
2268
2268
|
**/
|
|
2269
|
-
GlobalFarmIsNotEmpty: GenericPalletError
|
|
2269
|
+
GlobalFarmIsNotEmpty: GenericPalletError;
|
|
2270
2270
|
|
|
2271
2271
|
/**
|
|
2272
2272
|
* Farm's `incentivized_asset` is missing in provided asset pair.
|
|
2273
2273
|
**/
|
|
2274
|
-
MissingIncentivizedAsset: GenericPalletError
|
|
2274
|
+
MissingIncentivizedAsset: GenericPalletError;
|
|
2275
2275
|
|
|
2276
2276
|
/**
|
|
2277
2277
|
* Reward currency balance is not sufficient.
|
|
2278
2278
|
**/
|
|
2279
|
-
InsufficientRewardCurrencyBalance: GenericPalletError
|
|
2279
|
+
InsufficientRewardCurrencyBalance: GenericPalletError;
|
|
2280
2280
|
|
|
2281
2281
|
/**
|
|
2282
2282
|
* Blocks per period can't be 0.
|
|
2283
2283
|
**/
|
|
2284
|
-
InvalidBlocksPerPeriod: GenericPalletError
|
|
2284
|
+
InvalidBlocksPerPeriod: GenericPalletError;
|
|
2285
2285
|
|
|
2286
2286
|
/**
|
|
2287
2287
|
* Yield per period can't be 0.
|
|
2288
2288
|
**/
|
|
2289
|
-
InvalidYieldPerPeriod: GenericPalletError
|
|
2289
|
+
InvalidYieldPerPeriod: GenericPalletError;
|
|
2290
2290
|
|
|
2291
2291
|
/**
|
|
2292
2292
|
* Total rewards is less than `MinTotalFarmRewards`.
|
|
2293
2293
|
**/
|
|
2294
|
-
InvalidTotalRewards: GenericPalletError
|
|
2294
|
+
InvalidTotalRewards: GenericPalletError;
|
|
2295
2295
|
|
|
2296
2296
|
/**
|
|
2297
2297
|
* Planned yielding periods is less than `MinPlannedYieldingPeriods`.
|
|
2298
2298
|
**/
|
|
2299
|
-
InvalidPlannedYieldingPeriods: GenericPalletError
|
|
2299
|
+
InvalidPlannedYieldingPeriods: GenericPalletError;
|
|
2300
2300
|
|
|
2301
2301
|
/**
|
|
2302
2302
|
* Maximum number of locks reached for deposit.
|
|
2303
2303
|
**/
|
|
2304
|
-
MaxEntriesPerDeposit: GenericPalletError
|
|
2304
|
+
MaxEntriesPerDeposit: GenericPalletError;
|
|
2305
2305
|
|
|
2306
2306
|
/**
|
|
2307
2307
|
* Trying to lock LP shares into already locked yield farm.
|
|
2308
2308
|
**/
|
|
2309
|
-
DoubleLock: GenericPalletError
|
|
2309
|
+
DoubleLock: GenericPalletError;
|
|
2310
2310
|
|
|
2311
2311
|
/**
|
|
2312
2312
|
* Yield farm entry doesn't exist for given deposit.
|
|
2313
2313
|
**/
|
|
2314
|
-
YieldFarmEntryNotFound: GenericPalletError
|
|
2314
|
+
YieldFarmEntryNotFound: GenericPalletError;
|
|
2315
2315
|
|
|
2316
2316
|
/**
|
|
2317
2317
|
* Max number of yield farms in global farm was reached. Global farm can't accept new
|
|
2318
2318
|
* yield farms until some yield farm is not removed from storage.
|
|
2319
2319
|
**/
|
|
2320
|
-
GlobalFarmIsFull: GenericPalletError
|
|
2320
|
+
GlobalFarmIsFull: GenericPalletError;
|
|
2321
2321
|
|
|
2322
2322
|
/**
|
|
2323
2323
|
* Invalid min. deposit was set for global farm.
|
|
2324
2324
|
**/
|
|
2325
|
-
InvalidMinDeposit: GenericPalletError
|
|
2325
|
+
InvalidMinDeposit: GenericPalletError;
|
|
2326
2326
|
|
|
2327
2327
|
/**
|
|
2328
2328
|
* Price adjustment multiplier can't be 0.
|
|
2329
2329
|
**/
|
|
2330
|
-
InvalidPriceAdjustment: GenericPalletError
|
|
2330
|
+
InvalidPriceAdjustment: GenericPalletError;
|
|
2331
2331
|
|
|
2332
2332
|
/**
|
|
2333
2333
|
* Account creation from id failed.
|
|
2334
2334
|
**/
|
|
2335
|
-
ErrorGetAccountId: GenericPalletError
|
|
2335
|
+
ErrorGetAccountId: GenericPalletError;
|
|
2336
2336
|
|
|
2337
2337
|
/**
|
|
2338
2338
|
* Value of deposited shares amount in reward currency is bellow min. limit.
|
|
2339
2339
|
**/
|
|
2340
|
-
IncorrectValuedShares: GenericPalletError
|
|
2340
|
+
IncorrectValuedShares: GenericPalletError;
|
|
2341
2341
|
|
|
2342
2342
|
/**
|
|
2343
2343
|
* `reward_currency` is not registered in asset registry.
|
|
2344
2344
|
**/
|
|
2345
|
-
RewardCurrencyNotRegistered: GenericPalletError
|
|
2345
|
+
RewardCurrencyNotRegistered: GenericPalletError;
|
|
2346
2346
|
|
|
2347
2347
|
/**
|
|
2348
2348
|
* `incentivized_asset` is not registered in asset registry.
|
|
2349
2349
|
**/
|
|
2350
|
-
IncentivizedAssetNotRegistered: GenericPalletError
|
|
2350
|
+
IncentivizedAssetNotRegistered: GenericPalletError;
|
|
2351
2351
|
|
|
2352
2352
|
/**
|
|
2353
2353
|
* Action cannot be completed because unexpected error has occurred. This should be reported
|
|
2354
2354
|
* to protocol maintainers.
|
|
2355
2355
|
**/
|
|
2356
|
-
InconsistentState: GenericPalletError
|
|
2356
|
+
InconsistentState: GenericPalletError;
|
|
2357
2357
|
|
|
2358
2358
|
/**
|
|
2359
2359
|
* Generic pallet error
|
|
2360
2360
|
**/
|
|
2361
|
-
[error: string]: GenericPalletError
|
|
2361
|
+
[error: string]: GenericPalletError;
|
|
2362
2362
|
};
|
|
2363
2363
|
/**
|
|
2364
2364
|
* Pallet `CollatorRewards`'s errors
|
|
@@ -2367,7 +2367,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2367
2367
|
/**
|
|
2368
2368
|
* Generic pallet error
|
|
2369
2369
|
**/
|
|
2370
|
-
[error: string]: GenericPalletError
|
|
2370
|
+
[error: string]: GenericPalletError;
|
|
2371
2371
|
};
|
|
2372
2372
|
/**
|
|
2373
2373
|
* Pallet `Broadcast`'s errors
|
|
@@ -2376,20 +2376,20 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2376
2376
|
/**
|
|
2377
2377
|
* Generic pallet error
|
|
2378
2378
|
**/
|
|
2379
|
-
[error: string]: GenericPalletError
|
|
2379
|
+
[error: string]: GenericPalletError;
|
|
2380
2380
|
};
|
|
2381
2381
|
/**
|
|
2382
2382
|
* Pallet `EmaOracle`'s errors
|
|
2383
2383
|
**/
|
|
2384
2384
|
emaOracle: {
|
|
2385
|
-
TooManyUniqueEntries: GenericPalletError
|
|
2386
|
-
OnTradeValueZero: GenericPalletError
|
|
2387
|
-
OracleNotFound: GenericPalletError
|
|
2385
|
+
TooManyUniqueEntries: GenericPalletError;
|
|
2386
|
+
OnTradeValueZero: GenericPalletError;
|
|
2387
|
+
OracleNotFound: GenericPalletError;
|
|
2388
2388
|
|
|
2389
2389
|
/**
|
|
2390
2390
|
* Generic pallet error
|
|
2391
2391
|
**/
|
|
2392
|
-
[error: string]: GenericPalletError
|
|
2392
|
+
[error: string]: GenericPalletError;
|
|
2393
2393
|
};
|
|
2394
2394
|
/**
|
|
2395
2395
|
* Pallet `Currencies`'s errors
|
|
@@ -2398,27 +2398,27 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2398
2398
|
/**
|
|
2399
2399
|
* Unable to convert the Amount type into Balance.
|
|
2400
2400
|
**/
|
|
2401
|
-
AmountIntoBalanceFailed: GenericPalletError
|
|
2401
|
+
AmountIntoBalanceFailed: GenericPalletError;
|
|
2402
2402
|
|
|
2403
2403
|
/**
|
|
2404
2404
|
* Balance is too low.
|
|
2405
2405
|
**/
|
|
2406
|
-
BalanceTooLow: GenericPalletError
|
|
2406
|
+
BalanceTooLow: GenericPalletError;
|
|
2407
2407
|
|
|
2408
2408
|
/**
|
|
2409
2409
|
* Deposit result is not expected
|
|
2410
2410
|
**/
|
|
2411
|
-
DepositFailed: GenericPalletError
|
|
2411
|
+
DepositFailed: GenericPalletError;
|
|
2412
2412
|
|
|
2413
2413
|
/**
|
|
2414
2414
|
* Operation is not supported for this currency
|
|
2415
2415
|
**/
|
|
2416
|
-
NotSupported: GenericPalletError
|
|
2416
|
+
NotSupported: GenericPalletError;
|
|
2417
2417
|
|
|
2418
2418
|
/**
|
|
2419
2419
|
* Generic pallet error
|
|
2420
2420
|
**/
|
|
2421
|
-
[error: string]: GenericPalletError
|
|
2421
|
+
[error: string]: GenericPalletError;
|
|
2422
2422
|
};
|
|
2423
2423
|
/**
|
|
2424
2424
|
* Pallet `Tokens`'s errors
|
|
@@ -2427,43 +2427,43 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2427
2427
|
/**
|
|
2428
2428
|
* The balance is too low
|
|
2429
2429
|
**/
|
|
2430
|
-
BalanceTooLow: GenericPalletError
|
|
2430
|
+
BalanceTooLow: GenericPalletError;
|
|
2431
2431
|
|
|
2432
2432
|
/**
|
|
2433
2433
|
* Cannot convert Amount into Balance type
|
|
2434
2434
|
**/
|
|
2435
|
-
AmountIntoBalanceFailed: GenericPalletError
|
|
2435
|
+
AmountIntoBalanceFailed: GenericPalletError;
|
|
2436
2436
|
|
|
2437
2437
|
/**
|
|
2438
2438
|
* Failed because liquidity restrictions due to locking
|
|
2439
2439
|
**/
|
|
2440
|
-
LiquidityRestrictions: GenericPalletError
|
|
2440
|
+
LiquidityRestrictions: GenericPalletError;
|
|
2441
2441
|
|
|
2442
2442
|
/**
|
|
2443
2443
|
* Failed because the maximum locks was exceeded
|
|
2444
2444
|
**/
|
|
2445
|
-
MaxLocksExceeded: GenericPalletError
|
|
2445
|
+
MaxLocksExceeded: GenericPalletError;
|
|
2446
2446
|
|
|
2447
2447
|
/**
|
|
2448
2448
|
* Transfer/payment would kill account
|
|
2449
2449
|
**/
|
|
2450
|
-
KeepAlive: GenericPalletError
|
|
2450
|
+
KeepAlive: GenericPalletError;
|
|
2451
2451
|
|
|
2452
2452
|
/**
|
|
2453
2453
|
* Value too low to create account due to existential deposit
|
|
2454
2454
|
**/
|
|
2455
|
-
ExistentialDeposit: GenericPalletError
|
|
2455
|
+
ExistentialDeposit: GenericPalletError;
|
|
2456
2456
|
|
|
2457
2457
|
/**
|
|
2458
2458
|
* Beneficiary account must pre-exist
|
|
2459
2459
|
**/
|
|
2460
|
-
DeadAccount: GenericPalletError
|
|
2461
|
-
TooManyReserves: GenericPalletError
|
|
2460
|
+
DeadAccount: GenericPalletError;
|
|
2461
|
+
TooManyReserves: GenericPalletError;
|
|
2462
2462
|
|
|
2463
2463
|
/**
|
|
2464
2464
|
* Generic pallet error
|
|
2465
2465
|
**/
|
|
2466
|
-
[error: string]: GenericPalletError
|
|
2466
|
+
[error: string]: GenericPalletError;
|
|
2467
2467
|
};
|
|
2468
2468
|
/**
|
|
2469
2469
|
* Pallet `OrmlXcm`'s errors
|
|
@@ -2473,24 +2473,24 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2473
2473
|
* The message and destination combination was not recognized as being
|
|
2474
2474
|
* reachable.
|
|
2475
2475
|
**/
|
|
2476
|
-
Unreachable: GenericPalletError
|
|
2476
|
+
Unreachable: GenericPalletError;
|
|
2477
2477
|
|
|
2478
2478
|
/**
|
|
2479
2479
|
* The message and destination was recognized as being reachable but
|
|
2480
2480
|
* the operation could not be completed.
|
|
2481
2481
|
**/
|
|
2482
|
-
SendFailure: GenericPalletError
|
|
2482
|
+
SendFailure: GenericPalletError;
|
|
2483
2483
|
|
|
2484
2484
|
/**
|
|
2485
2485
|
* The version of the `Versioned` value used is not able to be
|
|
2486
2486
|
* interpreted.
|
|
2487
2487
|
**/
|
|
2488
|
-
BadVersion: GenericPalletError
|
|
2488
|
+
BadVersion: GenericPalletError;
|
|
2489
2489
|
|
|
2490
2490
|
/**
|
|
2491
2491
|
* Generic pallet error
|
|
2492
2492
|
**/
|
|
2493
|
-
[error: string]: GenericPalletError
|
|
2493
|
+
[error: string]: GenericPalletError;
|
|
2494
2494
|
};
|
|
2495
2495
|
/**
|
|
2496
2496
|
* Pallet `XTokens`'s errors
|
|
@@ -2499,110 +2499,110 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2499
2499
|
/**
|
|
2500
2500
|
* Asset has no reserve location.
|
|
2501
2501
|
**/
|
|
2502
|
-
AssetHasNoReserve: GenericPalletError
|
|
2502
|
+
AssetHasNoReserve: GenericPalletError;
|
|
2503
2503
|
|
|
2504
2504
|
/**
|
|
2505
2505
|
* Not cross-chain transfer.
|
|
2506
2506
|
**/
|
|
2507
|
-
NotCrossChainTransfer: GenericPalletError
|
|
2507
|
+
NotCrossChainTransfer: GenericPalletError;
|
|
2508
2508
|
|
|
2509
2509
|
/**
|
|
2510
2510
|
* Invalid transfer destination.
|
|
2511
2511
|
**/
|
|
2512
|
-
InvalidDest: GenericPalletError
|
|
2512
|
+
InvalidDest: GenericPalletError;
|
|
2513
2513
|
|
|
2514
2514
|
/**
|
|
2515
2515
|
* Currency is not cross-chain transferable.
|
|
2516
2516
|
**/
|
|
2517
|
-
NotCrossChainTransferableCurrency: GenericPalletError
|
|
2517
|
+
NotCrossChainTransferableCurrency: GenericPalletError;
|
|
2518
2518
|
|
|
2519
2519
|
/**
|
|
2520
2520
|
* The message's weight could not be determined.
|
|
2521
2521
|
**/
|
|
2522
|
-
UnweighableMessage: GenericPalletError
|
|
2522
|
+
UnweighableMessage: GenericPalletError;
|
|
2523
2523
|
|
|
2524
2524
|
/**
|
|
2525
2525
|
* XCM execution failed.
|
|
2526
2526
|
**/
|
|
2527
|
-
XcmExecutionFailed: GenericPalletError
|
|
2527
|
+
XcmExecutionFailed: GenericPalletError;
|
|
2528
2528
|
|
|
2529
2529
|
/**
|
|
2530
2530
|
* Could not re-anchor the assets to declare the fees for the
|
|
2531
2531
|
* destination chain.
|
|
2532
2532
|
**/
|
|
2533
|
-
CannotReanchor: GenericPalletError
|
|
2533
|
+
CannotReanchor: GenericPalletError;
|
|
2534
2534
|
|
|
2535
2535
|
/**
|
|
2536
2536
|
* Could not get ancestry of asset reserve location.
|
|
2537
2537
|
**/
|
|
2538
|
-
InvalidAncestry: GenericPalletError
|
|
2538
|
+
InvalidAncestry: GenericPalletError;
|
|
2539
2539
|
|
|
2540
2540
|
/**
|
|
2541
2541
|
* The Asset is invalid.
|
|
2542
2542
|
**/
|
|
2543
|
-
InvalidAsset: GenericPalletError
|
|
2543
|
+
InvalidAsset: GenericPalletError;
|
|
2544
2544
|
|
|
2545
2545
|
/**
|
|
2546
2546
|
* The destination `Location` provided cannot be inverted.
|
|
2547
2547
|
**/
|
|
2548
|
-
DestinationNotInvertible: GenericPalletError
|
|
2548
|
+
DestinationNotInvertible: GenericPalletError;
|
|
2549
2549
|
|
|
2550
2550
|
/**
|
|
2551
2551
|
* The version of the `Versioned` value used is not able to be
|
|
2552
2552
|
* interpreted.
|
|
2553
2553
|
**/
|
|
2554
|
-
BadVersion: GenericPalletError
|
|
2554
|
+
BadVersion: GenericPalletError;
|
|
2555
2555
|
|
|
2556
2556
|
/**
|
|
2557
2557
|
* We tried sending distinct asset and fee but they have different
|
|
2558
2558
|
* reserve chains.
|
|
2559
2559
|
**/
|
|
2560
|
-
DistinctReserveForAssetAndFee: GenericPalletError
|
|
2560
|
+
DistinctReserveForAssetAndFee: GenericPalletError;
|
|
2561
2561
|
|
|
2562
2562
|
/**
|
|
2563
2563
|
* The fee is zero.
|
|
2564
2564
|
**/
|
|
2565
|
-
ZeroFee: GenericPalletError
|
|
2565
|
+
ZeroFee: GenericPalletError;
|
|
2566
2566
|
|
|
2567
2567
|
/**
|
|
2568
2568
|
* The transfering asset amount is zero.
|
|
2569
2569
|
**/
|
|
2570
|
-
ZeroAmount: GenericPalletError
|
|
2570
|
+
ZeroAmount: GenericPalletError;
|
|
2571
2571
|
|
|
2572
2572
|
/**
|
|
2573
2573
|
* The number of assets to be sent is over the maximum.
|
|
2574
2574
|
**/
|
|
2575
|
-
TooManyAssetsBeingSent: GenericPalletError
|
|
2575
|
+
TooManyAssetsBeingSent: GenericPalletError;
|
|
2576
2576
|
|
|
2577
2577
|
/**
|
|
2578
2578
|
* The specified index does not exist in a Assets struct.
|
|
2579
2579
|
**/
|
|
2580
|
-
AssetIndexNonExistent: GenericPalletError
|
|
2580
|
+
AssetIndexNonExistent: GenericPalletError;
|
|
2581
2581
|
|
|
2582
2582
|
/**
|
|
2583
2583
|
* Fee is not enough.
|
|
2584
2584
|
**/
|
|
2585
|
-
FeeNotEnough: GenericPalletError
|
|
2585
|
+
FeeNotEnough: GenericPalletError;
|
|
2586
2586
|
|
|
2587
2587
|
/**
|
|
2588
2588
|
* Not supported Location
|
|
2589
2589
|
**/
|
|
2590
|
-
NotSupportedLocation: GenericPalletError
|
|
2590
|
+
NotSupportedLocation: GenericPalletError;
|
|
2591
2591
|
|
|
2592
2592
|
/**
|
|
2593
2593
|
* MinXcmFee not registered for certain reserve location
|
|
2594
2594
|
**/
|
|
2595
|
-
MinXcmFeeNotDefined: GenericPalletError
|
|
2595
|
+
MinXcmFeeNotDefined: GenericPalletError;
|
|
2596
2596
|
|
|
2597
2597
|
/**
|
|
2598
2598
|
* Asset transfer is limited by RateLimiter.
|
|
2599
2599
|
**/
|
|
2600
|
-
RateLimited: GenericPalletError
|
|
2600
|
+
RateLimited: GenericPalletError;
|
|
2601
2601
|
|
|
2602
2602
|
/**
|
|
2603
2603
|
* Generic pallet error
|
|
2604
2604
|
**/
|
|
2605
|
-
[error: string]: GenericPalletError
|
|
2605
|
+
[error: string]: GenericPalletError;
|
|
2606
2606
|
};
|
|
2607
2607
|
/**
|
|
2608
2608
|
* Pallet `UnknownTokens`'s errors
|
|
@@ -2611,21 +2611,21 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2611
2611
|
/**
|
|
2612
2612
|
* The balance is too low.
|
|
2613
2613
|
**/
|
|
2614
|
-
BalanceTooLow: GenericPalletError
|
|
2614
|
+
BalanceTooLow: GenericPalletError;
|
|
2615
2615
|
|
|
2616
2616
|
/**
|
|
2617
2617
|
* The operation will cause balance to overflow.
|
|
2618
2618
|
**/
|
|
2619
|
-
BalanceOverflow: GenericPalletError
|
|
2619
|
+
BalanceOverflow: GenericPalletError;
|
|
2620
2620
|
|
|
2621
2621
|
/**
|
|
2622
2622
|
* Unhandled asset.
|
|
2623
2623
|
**/
|
|
2624
|
-
UnhandledAsset: GenericPalletError
|
|
2624
|
+
UnhandledAsset: GenericPalletError;
|
|
2625
2625
|
|
|
2626
2626
|
/**
|
|
2627
2627
|
* Generic pallet error
|
|
2628
2628
|
**/
|
|
2629
|
-
[error: string]: GenericPalletError
|
|
2629
|
+
[error: string]: GenericPalletError;
|
|
2630
2630
|
};
|
|
2631
2631
|
}
|