@totochain/api-augment 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -2
- package/dist/definitions/definitions.d.ts +1 -0
- package/dist/definitions/definitions.js +2 -0
- package/dist/definitions/totochain/definitions.d.ts +5 -0
- package/dist/definitions/totochain/definitions.js +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +12 -0
- package/dist/interfaces/augment-api-consts.d.ts +819 -0
- package/dist/interfaces/augment-api-consts.js +5 -0
- package/dist/interfaces/augment-api-errors.d.ts +1156 -0
- package/dist/interfaces/augment-api-errors.js +5 -0
- package/dist/interfaces/augment-api-events.d.ts +1999 -0
- package/dist/interfaces/augment-api-events.js +5 -0
- package/dist/interfaces/augment-api-query.d.ts +1334 -0
- package/dist/interfaces/augment-api-query.js +5 -0
- package/dist/interfaces/augment-api-rpc.d.ts +683 -0
- package/dist/interfaces/augment-api-rpc.js +5 -0
- package/dist/interfaces/augment-api-runtime.d.ts +298 -0
- package/dist/interfaces/augment-api-runtime.js +5 -0
- package/dist/interfaces/augment-api-tx.d.ts +2333 -0
- package/dist/interfaces/augment-api-tx.js +5 -0
- package/dist/interfaces/augment-api.d.ts +7 -0
- package/dist/interfaces/augment-api.js +9 -0
- package/dist/interfaces/augment-types.d.ts +1368 -0
- package/dist/interfaces/augment-types.js +5 -0
- package/dist/interfaces/definitions.d.ts +1 -0
- package/dist/interfaces/definitions.js +2 -0
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/interfaces/index.js +3 -0
- package/dist/interfaces/lookup.d.ts +3899 -0
- package/dist/interfaces/lookup.js +3901 -0
- package/dist/interfaces/registry.d.ts +278 -0
- package/dist/interfaces/registry.js +5 -0
- package/dist/interfaces/totochain/definitions.d.ts +5 -0
- package/dist/interfaces/totochain/definitions.js +7 -0
- package/dist/interfaces/types-lookup.d.ts +4026 -0
- package/dist/interfaces/types-lookup.js +5 -0
- package/dist/interfaces/types.d.ts +1 -0
- package/dist/interfaces/types.js +3 -0
- package/package.json +69 -4
- package/src/definitions/definitions.ts +2 -0
- package/src/definitions/totochain/definitions.ts +7 -0
- package/src/index.ts +15 -0
- package/src/interfaces/augment-api-consts.ts +827 -0
- package/src/interfaces/augment-api-errors.ts +1164 -0
- package/src/interfaces/augment-api-events.ts +1294 -0
- package/src/interfaces/augment-api-query.ts +1342 -0
- package/src/interfaces/augment-api-rpc.ts +621 -0
- package/src/interfaces/augment-api-runtime.ts +264 -0
- package/src/interfaces/augment-api-tx.ts +2152 -0
- package/src/interfaces/augment-api.ts +10 -0
- package/src/interfaces/augment-types.ts +1375 -0
- package/src/interfaces/definitions.ts +2 -0
- package/src/interfaces/index.ts +4 -0
- package/src/interfaces/lookup.ts +3903 -0
- package/src/interfaces/registry.ts +285 -0
- package/src/interfaces/totochain/definitions.ts +7 -0
- package/src/interfaces/types-lookup.ts +4292 -0
- package/src/interfaces/types.ts +4 -0
|
@@ -0,0 +1,1164 @@
|
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/errors';
|
|
7
|
+
|
|
8
|
+
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
9
|
+
|
|
10
|
+
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
11
|
+
|
|
12
|
+
declare module '@polkadot/api-base/types/errors' {
|
|
13
|
+
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
14
|
+
activityTracker: {
|
|
15
|
+
/**
|
|
16
|
+
* Generic error
|
|
17
|
+
**/
|
|
18
|
+
[key: string]: AugmentedError<ApiType>;
|
|
19
|
+
};
|
|
20
|
+
attestation: {
|
|
21
|
+
AlreadyAProvider: AugmentedError<ApiType>;
|
|
22
|
+
AlreadyAttested: AugmentedError<ApiType>;
|
|
23
|
+
AlreadyRevoked: AugmentedError<ApiType>;
|
|
24
|
+
AuthorizationNotSupported: AugmentedError<ApiType>;
|
|
25
|
+
CtypeNotFound: AugmentedError<ApiType>;
|
|
26
|
+
CtypeWeightAlreadySet: AugmentedError<ApiType>;
|
|
27
|
+
CtypeWeightNotFound: AugmentedError<ApiType>;
|
|
28
|
+
NotAProvider: AugmentedError<ApiType>;
|
|
29
|
+
NotFound: AugmentedError<ApiType>;
|
|
30
|
+
TooManyClaimsForSubject: AugmentedError<ApiType>;
|
|
31
|
+
TooManyProviders: AugmentedError<ApiType>;
|
|
32
|
+
Unauthorized: AugmentedError<ApiType>;
|
|
33
|
+
/**
|
|
34
|
+
* Generic error
|
|
35
|
+
**/
|
|
36
|
+
[key: string]: AugmentedError<ApiType>;
|
|
37
|
+
};
|
|
38
|
+
babe: {
|
|
39
|
+
/**
|
|
40
|
+
* A given equivocation report is valid but already previously reported.
|
|
41
|
+
**/
|
|
42
|
+
DuplicateOffenceReport: AugmentedError<ApiType>;
|
|
43
|
+
/**
|
|
44
|
+
* Submitted configuration is invalid.
|
|
45
|
+
**/
|
|
46
|
+
InvalidConfiguration: AugmentedError<ApiType>;
|
|
47
|
+
/**
|
|
48
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
49
|
+
**/
|
|
50
|
+
InvalidEquivocationProof: AugmentedError<ApiType>;
|
|
51
|
+
/**
|
|
52
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
53
|
+
**/
|
|
54
|
+
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
55
|
+
/**
|
|
56
|
+
* Generic error
|
|
57
|
+
**/
|
|
58
|
+
[key: string]: AugmentedError<ApiType>;
|
|
59
|
+
};
|
|
60
|
+
balances: {
|
|
61
|
+
/**
|
|
62
|
+
* Beneficiary account must pre-exist.
|
|
63
|
+
**/
|
|
64
|
+
DeadAccount: AugmentedError<ApiType>;
|
|
65
|
+
/**
|
|
66
|
+
* The delta cannot be zero.
|
|
67
|
+
**/
|
|
68
|
+
DeltaZero: AugmentedError<ApiType>;
|
|
69
|
+
/**
|
|
70
|
+
* Value too low to create account due to existential deposit.
|
|
71
|
+
**/
|
|
72
|
+
ExistentialDeposit: AugmentedError<ApiType>;
|
|
73
|
+
/**
|
|
74
|
+
* A vesting schedule already exists for this account.
|
|
75
|
+
**/
|
|
76
|
+
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
77
|
+
/**
|
|
78
|
+
* Transfer/payment would kill account.
|
|
79
|
+
**/
|
|
80
|
+
Expendability: AugmentedError<ApiType>;
|
|
81
|
+
/**
|
|
82
|
+
* Balance too low to send value.
|
|
83
|
+
**/
|
|
84
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
85
|
+
/**
|
|
86
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
87
|
+
**/
|
|
88
|
+
IssuanceDeactivated: AugmentedError<ApiType>;
|
|
89
|
+
/**
|
|
90
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
91
|
+
**/
|
|
92
|
+
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
93
|
+
/**
|
|
94
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
95
|
+
**/
|
|
96
|
+
TooManyFreezes: AugmentedError<ApiType>;
|
|
97
|
+
/**
|
|
98
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
99
|
+
**/
|
|
100
|
+
TooManyHolds: AugmentedError<ApiType>;
|
|
101
|
+
/**
|
|
102
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
103
|
+
**/
|
|
104
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
105
|
+
/**
|
|
106
|
+
* Vesting balance too high to send value.
|
|
107
|
+
**/
|
|
108
|
+
VestingBalance: AugmentedError<ApiType>;
|
|
109
|
+
/**
|
|
110
|
+
* Generic error
|
|
111
|
+
**/
|
|
112
|
+
[key: string]: AugmentedError<ApiType>;
|
|
113
|
+
};
|
|
114
|
+
ctype: {
|
|
115
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
116
|
+
CannotPayFee: AugmentedError<ApiType>;
|
|
117
|
+
Empty: AugmentedError<ApiType>;
|
|
118
|
+
TooLong: AugmentedError<ApiType>;
|
|
119
|
+
/**
|
|
120
|
+
* Generic error
|
|
121
|
+
**/
|
|
122
|
+
[key: string]: AugmentedError<ApiType>;
|
|
123
|
+
};
|
|
124
|
+
did: {
|
|
125
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
126
|
+
CannotPayFee: AugmentedError<ApiType>;
|
|
127
|
+
/**
|
|
128
|
+
* Generic error
|
|
129
|
+
**/
|
|
130
|
+
[key: string]: AugmentedError<ApiType>;
|
|
131
|
+
};
|
|
132
|
+
ethereum: {
|
|
133
|
+
/**
|
|
134
|
+
* Signature is invalid.
|
|
135
|
+
**/
|
|
136
|
+
InvalidSignature: AugmentedError<ApiType>;
|
|
137
|
+
/**
|
|
138
|
+
* Pre-log is present, therefore transact is not allowed.
|
|
139
|
+
**/
|
|
140
|
+
PreLogExists: AugmentedError<ApiType>;
|
|
141
|
+
/**
|
|
142
|
+
* Generic error
|
|
143
|
+
**/
|
|
144
|
+
[key: string]: AugmentedError<ApiType>;
|
|
145
|
+
};
|
|
146
|
+
evm: {
|
|
147
|
+
/**
|
|
148
|
+
* Not enough balance to perform action
|
|
149
|
+
**/
|
|
150
|
+
BalanceLow: AugmentedError<ApiType>;
|
|
151
|
+
/**
|
|
152
|
+
* Address not allowed to deploy contracts either via CREATE or CALL(CREATE).
|
|
153
|
+
**/
|
|
154
|
+
CreateOriginNotAllowed: AugmentedError<ApiType>;
|
|
155
|
+
/**
|
|
156
|
+
* Calculating total fee overflowed
|
|
157
|
+
**/
|
|
158
|
+
FeeOverflow: AugmentedError<ApiType>;
|
|
159
|
+
/**
|
|
160
|
+
* Gas limit exceeds block gas limit.
|
|
161
|
+
**/
|
|
162
|
+
GasLimitExceedsBlockLimit: AugmentedError<ApiType>;
|
|
163
|
+
/**
|
|
164
|
+
* Gas limit is too low.
|
|
165
|
+
**/
|
|
166
|
+
GasLimitTooLow: AugmentedError<ApiType>;
|
|
167
|
+
/**
|
|
168
|
+
* Gas price is too low.
|
|
169
|
+
**/
|
|
170
|
+
GasPriceTooLow: AugmentedError<ApiType>;
|
|
171
|
+
/**
|
|
172
|
+
* The chain id is invalid.
|
|
173
|
+
**/
|
|
174
|
+
InvalidChainId: AugmentedError<ApiType>;
|
|
175
|
+
/**
|
|
176
|
+
* Nonce is invalid
|
|
177
|
+
**/
|
|
178
|
+
InvalidNonce: AugmentedError<ApiType>;
|
|
179
|
+
/**
|
|
180
|
+
* the signature is invalid.
|
|
181
|
+
**/
|
|
182
|
+
InvalidSignature: AugmentedError<ApiType>;
|
|
183
|
+
/**
|
|
184
|
+
* Calculating total payment overflowed
|
|
185
|
+
**/
|
|
186
|
+
PaymentOverflow: AugmentedError<ApiType>;
|
|
187
|
+
/**
|
|
188
|
+
* EVM reentrancy
|
|
189
|
+
**/
|
|
190
|
+
Reentrancy: AugmentedError<ApiType>;
|
|
191
|
+
/**
|
|
192
|
+
* EIP-7825: Transaction gas limit exceeds protocol cap (2^24).
|
|
193
|
+
**/
|
|
194
|
+
TransactionGasLimitExceedsCap: AugmentedError<ApiType>;
|
|
195
|
+
/**
|
|
196
|
+
* EIP-3607,
|
|
197
|
+
**/
|
|
198
|
+
TransactionMustComeFromEOA: AugmentedError<ApiType>;
|
|
199
|
+
/**
|
|
200
|
+
* Undefined error.
|
|
201
|
+
**/
|
|
202
|
+
Undefined: AugmentedError<ApiType>;
|
|
203
|
+
/**
|
|
204
|
+
* Withdraw fee failed
|
|
205
|
+
**/
|
|
206
|
+
WithdrawFailed: AugmentedError<ApiType>;
|
|
207
|
+
/**
|
|
208
|
+
* Generic error
|
|
209
|
+
**/
|
|
210
|
+
[key: string]: AugmentedError<ApiType>;
|
|
211
|
+
};
|
|
212
|
+
fractionalNft: {
|
|
213
|
+
ArithmeticOverflow: AugmentedError<ApiType>;
|
|
214
|
+
ArithmeticUnderflow: AugmentedError<ApiType>;
|
|
215
|
+
CollectionIdOverflow: AugmentedError<ApiType>;
|
|
216
|
+
DistributeFractionalNftRewardFailed: AugmentedError<ApiType>;
|
|
217
|
+
InvalidWildcardThreshold: AugmentedError<ApiType>;
|
|
218
|
+
ItemIdOverflow: AugmentedError<ApiType>;
|
|
219
|
+
/**
|
|
220
|
+
* Maximum unused IDs exceeded.
|
|
221
|
+
**/
|
|
222
|
+
MaxUnusedIdsExceeded: AugmentedError<ApiType>;
|
|
223
|
+
TotalFNFTsNotSet: AugmentedError<ApiType>;
|
|
224
|
+
TransferFractionalNftFailed: AugmentedError<ApiType>;
|
|
225
|
+
/**
|
|
226
|
+
* The unused-NFT pool is internally inconsistent beyond what
|
|
227
|
+
* `distribute_unused_nft` can self-heal, so a reward could not be picked.
|
|
228
|
+
* Distinct from an empty pool (true scarcity): this signals storage
|
|
229
|
+
* corruption that needs manual repair, and it aborts the surrounding
|
|
230
|
+
* distribution as an error rather than a silent shortfall.
|
|
231
|
+
**/
|
|
232
|
+
UnusedNftPoolInconsistent: AugmentedError<ApiType>;
|
|
233
|
+
WildcardCollectionNotSet: AugmentedError<ApiType>;
|
|
234
|
+
WildcardThresholdNotSet: AugmentedError<ApiType>;
|
|
235
|
+
/**
|
|
236
|
+
* Generic error
|
|
237
|
+
**/
|
|
238
|
+
[key: string]: AugmentedError<ApiType>;
|
|
239
|
+
};
|
|
240
|
+
grandpa: {
|
|
241
|
+
/**
|
|
242
|
+
* Attempt to signal GRANDPA change with one already pending.
|
|
243
|
+
**/
|
|
244
|
+
ChangePending: AugmentedError<ApiType>;
|
|
245
|
+
/**
|
|
246
|
+
* A given equivocation report is valid but already previously reported.
|
|
247
|
+
**/
|
|
248
|
+
DuplicateOffenceReport: AugmentedError<ApiType>;
|
|
249
|
+
/**
|
|
250
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
251
|
+
**/
|
|
252
|
+
InvalidEquivocationProof: AugmentedError<ApiType>;
|
|
253
|
+
/**
|
|
254
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
255
|
+
**/
|
|
256
|
+
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
257
|
+
/**
|
|
258
|
+
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
259
|
+
* (either paused or already pending pause).
|
|
260
|
+
**/
|
|
261
|
+
PauseFailed: AugmentedError<ApiType>;
|
|
262
|
+
/**
|
|
263
|
+
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
264
|
+
* (either live or already pending resume).
|
|
265
|
+
**/
|
|
266
|
+
ResumeFailed: AugmentedError<ApiType>;
|
|
267
|
+
/**
|
|
268
|
+
* Cannot signal forced change so soon after last.
|
|
269
|
+
**/
|
|
270
|
+
TooSoon: AugmentedError<ApiType>;
|
|
271
|
+
/**
|
|
272
|
+
* Generic error
|
|
273
|
+
**/
|
|
274
|
+
[key: string]: AugmentedError<ApiType>;
|
|
275
|
+
};
|
|
276
|
+
handshake: {
|
|
277
|
+
/**
|
|
278
|
+
* Cannot confirm own handshake request - only the recipient can confirm
|
|
279
|
+
**/
|
|
280
|
+
CannotConfirmOwnHandshake: AugmentedError<ApiType>;
|
|
281
|
+
/**
|
|
282
|
+
* Cannot handshake with yourself
|
|
283
|
+
**/
|
|
284
|
+
CannotHandshakeWithYourself: AugmentedError<ApiType>;
|
|
285
|
+
/**
|
|
286
|
+
* Handshake already exists
|
|
287
|
+
**/
|
|
288
|
+
HandshakeAlreadyExists: AugmentedError<ApiType>;
|
|
289
|
+
/**
|
|
290
|
+
* Handshake does not exist
|
|
291
|
+
**/
|
|
292
|
+
HandshakeDoesNotExist: AugmentedError<ApiType>;
|
|
293
|
+
/**
|
|
294
|
+
* Handshake is not confirmed
|
|
295
|
+
**/
|
|
296
|
+
HandshakeIsNotConfirmed: AugmentedError<ApiType>;
|
|
297
|
+
/**
|
|
298
|
+
* Handshake is not pending
|
|
299
|
+
**/
|
|
300
|
+
HandshakeIsNotPending: AugmentedError<ApiType>;
|
|
301
|
+
/**
|
|
302
|
+
* Sender is not an attestation provider
|
|
303
|
+
**/
|
|
304
|
+
SenderIsNotAttestationProvider: AugmentedError<ApiType>;
|
|
305
|
+
/**
|
|
306
|
+
* Generic error
|
|
307
|
+
**/
|
|
308
|
+
[key: string]: AugmentedError<ApiType>;
|
|
309
|
+
};
|
|
310
|
+
identity: {
|
|
311
|
+
/**
|
|
312
|
+
* Account ID is already named.
|
|
313
|
+
**/
|
|
314
|
+
AlreadyClaimed: AugmentedError<ApiType>;
|
|
315
|
+
/**
|
|
316
|
+
* The username cannot be unbound because it is already unbinding.
|
|
317
|
+
**/
|
|
318
|
+
AlreadyUnbinding: AugmentedError<ApiType>;
|
|
319
|
+
/**
|
|
320
|
+
* Empty index.
|
|
321
|
+
**/
|
|
322
|
+
EmptyIndex: AugmentedError<ApiType>;
|
|
323
|
+
/**
|
|
324
|
+
* Fee is changed.
|
|
325
|
+
**/
|
|
326
|
+
FeeChanged: AugmentedError<ApiType>;
|
|
327
|
+
/**
|
|
328
|
+
* The action cannot be performed because of insufficient privileges (e.g. authority
|
|
329
|
+
* trying to unbind a username provided by the system).
|
|
330
|
+
**/
|
|
331
|
+
InsufficientPrivileges: AugmentedError<ApiType>;
|
|
332
|
+
/**
|
|
333
|
+
* The index is invalid.
|
|
334
|
+
**/
|
|
335
|
+
InvalidIndex: AugmentedError<ApiType>;
|
|
336
|
+
/**
|
|
337
|
+
* Invalid judgement.
|
|
338
|
+
**/
|
|
339
|
+
InvalidJudgement: AugmentedError<ApiType>;
|
|
340
|
+
/**
|
|
341
|
+
* The signature on a username was not valid.
|
|
342
|
+
**/
|
|
343
|
+
InvalidSignature: AugmentedError<ApiType>;
|
|
344
|
+
/**
|
|
345
|
+
* The provided suffix is too long.
|
|
346
|
+
**/
|
|
347
|
+
InvalidSuffix: AugmentedError<ApiType>;
|
|
348
|
+
/**
|
|
349
|
+
* The target is invalid.
|
|
350
|
+
**/
|
|
351
|
+
InvalidTarget: AugmentedError<ApiType>;
|
|
352
|
+
/**
|
|
353
|
+
* The username does not meet the requirements.
|
|
354
|
+
**/
|
|
355
|
+
InvalidUsername: AugmentedError<ApiType>;
|
|
356
|
+
/**
|
|
357
|
+
* The provided judgement was for a different identity.
|
|
358
|
+
**/
|
|
359
|
+
JudgementForDifferentIdentity: AugmentedError<ApiType>;
|
|
360
|
+
/**
|
|
361
|
+
* Judgement given.
|
|
362
|
+
**/
|
|
363
|
+
JudgementGiven: AugmentedError<ApiType>;
|
|
364
|
+
/**
|
|
365
|
+
* Error that occurs when there is an issue paying for judgement.
|
|
366
|
+
**/
|
|
367
|
+
JudgementPaymentFailed: AugmentedError<ApiType>;
|
|
368
|
+
/**
|
|
369
|
+
* The authority cannot allocate any more usernames.
|
|
370
|
+
**/
|
|
371
|
+
NoAllocation: AugmentedError<ApiType>;
|
|
372
|
+
/**
|
|
373
|
+
* No identity found.
|
|
374
|
+
**/
|
|
375
|
+
NoIdentity: AugmentedError<ApiType>;
|
|
376
|
+
/**
|
|
377
|
+
* The username cannot be forcefully removed because it can still be accepted.
|
|
378
|
+
**/
|
|
379
|
+
NotExpired: AugmentedError<ApiType>;
|
|
380
|
+
/**
|
|
381
|
+
* Account isn't found.
|
|
382
|
+
**/
|
|
383
|
+
NotFound: AugmentedError<ApiType>;
|
|
384
|
+
/**
|
|
385
|
+
* Account isn't named.
|
|
386
|
+
**/
|
|
387
|
+
NotNamed: AugmentedError<ApiType>;
|
|
388
|
+
/**
|
|
389
|
+
* Sub-account isn't owned by sender.
|
|
390
|
+
**/
|
|
391
|
+
NotOwned: AugmentedError<ApiType>;
|
|
392
|
+
/**
|
|
393
|
+
* Sender is not a sub-account.
|
|
394
|
+
**/
|
|
395
|
+
NotSub: AugmentedError<ApiType>;
|
|
396
|
+
/**
|
|
397
|
+
* The username cannot be removed because it is not unbinding.
|
|
398
|
+
**/
|
|
399
|
+
NotUnbinding: AugmentedError<ApiType>;
|
|
400
|
+
/**
|
|
401
|
+
* The sender does not have permission to issue a username.
|
|
402
|
+
**/
|
|
403
|
+
NotUsernameAuthority: AugmentedError<ApiType>;
|
|
404
|
+
/**
|
|
405
|
+
* The requested username does not exist.
|
|
406
|
+
**/
|
|
407
|
+
NoUsername: AugmentedError<ApiType>;
|
|
408
|
+
/**
|
|
409
|
+
* Setting this username requires a signature, but none was provided.
|
|
410
|
+
**/
|
|
411
|
+
RequiresSignature: AugmentedError<ApiType>;
|
|
412
|
+
/**
|
|
413
|
+
* Sticky judgement.
|
|
414
|
+
**/
|
|
415
|
+
StickyJudgement: AugmentedError<ApiType>;
|
|
416
|
+
/**
|
|
417
|
+
* The username cannot be removed because it's still in the grace period.
|
|
418
|
+
**/
|
|
419
|
+
TooEarly: AugmentedError<ApiType>;
|
|
420
|
+
/**
|
|
421
|
+
* Maximum amount of registrars reached. Cannot add any more.
|
|
422
|
+
**/
|
|
423
|
+
TooManyRegistrars: AugmentedError<ApiType>;
|
|
424
|
+
/**
|
|
425
|
+
* Too many subs-accounts.
|
|
426
|
+
**/
|
|
427
|
+
TooManySubAccounts: AugmentedError<ApiType>;
|
|
428
|
+
/**
|
|
429
|
+
* The username is already taken.
|
|
430
|
+
**/
|
|
431
|
+
UsernameTaken: AugmentedError<ApiType>;
|
|
432
|
+
/**
|
|
433
|
+
* Generic error
|
|
434
|
+
**/
|
|
435
|
+
[key: string]: AugmentedError<ApiType>;
|
|
436
|
+
};
|
|
437
|
+
imOnline: {
|
|
438
|
+
/**
|
|
439
|
+
* Duplicated heartbeat.
|
|
440
|
+
**/
|
|
441
|
+
DuplicatedHeartbeat: AugmentedError<ApiType>;
|
|
442
|
+
/**
|
|
443
|
+
* Non existent public key.
|
|
444
|
+
**/
|
|
445
|
+
InvalidKey: AugmentedError<ApiType>;
|
|
446
|
+
/**
|
|
447
|
+
* Generic error
|
|
448
|
+
**/
|
|
449
|
+
[key: string]: AugmentedError<ApiType>;
|
|
450
|
+
};
|
|
451
|
+
multisig: {
|
|
452
|
+
/**
|
|
453
|
+
* Call is already approved by this signatory.
|
|
454
|
+
**/
|
|
455
|
+
AlreadyApproved: AugmentedError<ApiType>;
|
|
456
|
+
/**
|
|
457
|
+
* The data to be stored is already stored.
|
|
458
|
+
**/
|
|
459
|
+
AlreadyStored: AugmentedError<ApiType>;
|
|
460
|
+
/**
|
|
461
|
+
* The maximum weight information provided was too low.
|
|
462
|
+
**/
|
|
463
|
+
MaxWeightTooLow: AugmentedError<ApiType>;
|
|
464
|
+
/**
|
|
465
|
+
* Threshold must be 2 or greater.
|
|
466
|
+
**/
|
|
467
|
+
MinimumThreshold: AugmentedError<ApiType>;
|
|
468
|
+
/**
|
|
469
|
+
* Call doesn't need any (more) approvals.
|
|
470
|
+
**/
|
|
471
|
+
NoApprovalsNeeded: AugmentedError<ApiType>;
|
|
472
|
+
/**
|
|
473
|
+
* Multisig operation not found in storage.
|
|
474
|
+
**/
|
|
475
|
+
NotFound: AugmentedError<ApiType>;
|
|
476
|
+
/**
|
|
477
|
+
* No timepoint was given, yet the multisig operation is already underway.
|
|
478
|
+
**/
|
|
479
|
+
NoTimepoint: AugmentedError<ApiType>;
|
|
480
|
+
/**
|
|
481
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
482
|
+
* its deposits.
|
|
483
|
+
**/
|
|
484
|
+
NotOwner: AugmentedError<ApiType>;
|
|
485
|
+
/**
|
|
486
|
+
* The sender was contained in the other signatories; it shouldn't be.
|
|
487
|
+
**/
|
|
488
|
+
SenderInSignatories: AugmentedError<ApiType>;
|
|
489
|
+
/**
|
|
490
|
+
* The signatories were provided out of order; they should be ordered.
|
|
491
|
+
**/
|
|
492
|
+
SignatoriesOutOfOrder: AugmentedError<ApiType>;
|
|
493
|
+
/**
|
|
494
|
+
* There are too few signatories in the list.
|
|
495
|
+
**/
|
|
496
|
+
TooFewSignatories: AugmentedError<ApiType>;
|
|
497
|
+
/**
|
|
498
|
+
* There are too many signatories in the list.
|
|
499
|
+
**/
|
|
500
|
+
TooManySignatories: AugmentedError<ApiType>;
|
|
501
|
+
/**
|
|
502
|
+
* A timepoint was given, yet no multisig operation is underway.
|
|
503
|
+
**/
|
|
504
|
+
UnexpectedTimepoint: AugmentedError<ApiType>;
|
|
505
|
+
/**
|
|
506
|
+
* A different timepoint was given to the multisig operation that is underway.
|
|
507
|
+
**/
|
|
508
|
+
WrongTimepoint: AugmentedError<ApiType>;
|
|
509
|
+
/**
|
|
510
|
+
* Generic error
|
|
511
|
+
**/
|
|
512
|
+
[key: string]: AugmentedError<ApiType>;
|
|
513
|
+
};
|
|
514
|
+
potential: {
|
|
515
|
+
/**
|
|
516
|
+
* Cycle withdrawal from reward pool failed.
|
|
517
|
+
**/
|
|
518
|
+
CycleWithdrawalFailed: AugmentedError<ApiType>;
|
|
519
|
+
/**
|
|
520
|
+
* An error occurred during the minting process.
|
|
521
|
+
**/
|
|
522
|
+
MintFailed: AugmentedError<ApiType>;
|
|
523
|
+
/**
|
|
524
|
+
* An error occurred during the referral process.
|
|
525
|
+
**/
|
|
526
|
+
ReferralFailed: AugmentedError<ApiType>;
|
|
527
|
+
/**
|
|
528
|
+
* Set active referral share failed.
|
|
529
|
+
**/
|
|
530
|
+
SetActiveReferralShareFailed: AugmentedError<ApiType>;
|
|
531
|
+
/**
|
|
532
|
+
* Generic error
|
|
533
|
+
**/
|
|
534
|
+
[key: string]: AugmentedError<ApiType>;
|
|
535
|
+
};
|
|
536
|
+
preimage: {
|
|
537
|
+
/**
|
|
538
|
+
* Preimage has already been noted on-chain.
|
|
539
|
+
**/
|
|
540
|
+
AlreadyNoted: AugmentedError<ApiType>;
|
|
541
|
+
/**
|
|
542
|
+
* The user is not authorized to perform this action.
|
|
543
|
+
**/
|
|
544
|
+
NotAuthorized: AugmentedError<ApiType>;
|
|
545
|
+
/**
|
|
546
|
+
* The preimage cannot be removed since it has not yet been noted.
|
|
547
|
+
**/
|
|
548
|
+
NotNoted: AugmentedError<ApiType>;
|
|
549
|
+
/**
|
|
550
|
+
* The preimage request cannot be removed since no outstanding requests exist.
|
|
551
|
+
**/
|
|
552
|
+
NotRequested: AugmentedError<ApiType>;
|
|
553
|
+
/**
|
|
554
|
+
* A preimage may not be removed when there are outstanding requests.
|
|
555
|
+
**/
|
|
556
|
+
Requested: AugmentedError<ApiType>;
|
|
557
|
+
/**
|
|
558
|
+
* Preimage is too large to store on-chain.
|
|
559
|
+
**/
|
|
560
|
+
TooBig: AugmentedError<ApiType>;
|
|
561
|
+
/**
|
|
562
|
+
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
563
|
+
**/
|
|
564
|
+
TooFew: AugmentedError<ApiType>;
|
|
565
|
+
/**
|
|
566
|
+
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
567
|
+
**/
|
|
568
|
+
TooMany: AugmentedError<ApiType>;
|
|
569
|
+
/**
|
|
570
|
+
* Generic error
|
|
571
|
+
**/
|
|
572
|
+
[key: string]: AugmentedError<ApiType>;
|
|
573
|
+
};
|
|
574
|
+
proxy: {
|
|
575
|
+
/**
|
|
576
|
+
* Account is already a proxy.
|
|
577
|
+
**/
|
|
578
|
+
Duplicate: AugmentedError<ApiType>;
|
|
579
|
+
/**
|
|
580
|
+
* Call may not be made by proxy because it may escalate its privileges.
|
|
581
|
+
**/
|
|
582
|
+
NoPermission: AugmentedError<ApiType>;
|
|
583
|
+
/**
|
|
584
|
+
* Cannot add self as proxy.
|
|
585
|
+
**/
|
|
586
|
+
NoSelfProxy: AugmentedError<ApiType>;
|
|
587
|
+
/**
|
|
588
|
+
* Proxy registration not found.
|
|
589
|
+
**/
|
|
590
|
+
NotFound: AugmentedError<ApiType>;
|
|
591
|
+
/**
|
|
592
|
+
* Sender is not a proxy of the account to be proxied.
|
|
593
|
+
**/
|
|
594
|
+
NotProxy: AugmentedError<ApiType>;
|
|
595
|
+
/**
|
|
596
|
+
* There are too many proxies registered or too many announcements pending.
|
|
597
|
+
**/
|
|
598
|
+
TooMany: AugmentedError<ApiType>;
|
|
599
|
+
/**
|
|
600
|
+
* Announcement, if made at all, was made too recently.
|
|
601
|
+
**/
|
|
602
|
+
Unannounced: AugmentedError<ApiType>;
|
|
603
|
+
/**
|
|
604
|
+
* A call which is incompatible with the proxy type's filter was attempted.
|
|
605
|
+
**/
|
|
606
|
+
Unproxyable: AugmentedError<ApiType>;
|
|
607
|
+
/**
|
|
608
|
+
* Generic error
|
|
609
|
+
**/
|
|
610
|
+
[key: string]: AugmentedError<ApiType>;
|
|
611
|
+
};
|
|
612
|
+
referenda: {
|
|
613
|
+
/**
|
|
614
|
+
* The referendum index provided is invalid in this context.
|
|
615
|
+
**/
|
|
616
|
+
BadReferendum: AugmentedError<ApiType>;
|
|
617
|
+
/**
|
|
618
|
+
* The referendum status is invalid for this operation.
|
|
619
|
+
**/
|
|
620
|
+
BadStatus: AugmentedError<ApiType>;
|
|
621
|
+
/**
|
|
622
|
+
* The track identifier given was invalid.
|
|
623
|
+
**/
|
|
624
|
+
BadTrack: AugmentedError<ApiType>;
|
|
625
|
+
/**
|
|
626
|
+
* There are already a full complement of referenda in progress for this track.
|
|
627
|
+
**/
|
|
628
|
+
Full: AugmentedError<ApiType>;
|
|
629
|
+
/**
|
|
630
|
+
* Referendum's decision deposit is already paid.
|
|
631
|
+
**/
|
|
632
|
+
HasDeposit: AugmentedError<ApiType>;
|
|
633
|
+
/**
|
|
634
|
+
* The deposit cannot be refunded since none was made.
|
|
635
|
+
**/
|
|
636
|
+
NoDeposit: AugmentedError<ApiType>;
|
|
637
|
+
/**
|
|
638
|
+
* The deposit refunder is not the depositor.
|
|
639
|
+
**/
|
|
640
|
+
NoPermission: AugmentedError<ApiType>;
|
|
641
|
+
/**
|
|
642
|
+
* There was nothing to do in the advancement.
|
|
643
|
+
**/
|
|
644
|
+
NothingToDo: AugmentedError<ApiType>;
|
|
645
|
+
/**
|
|
646
|
+
* Referendum is not ongoing.
|
|
647
|
+
**/
|
|
648
|
+
NotOngoing: AugmentedError<ApiType>;
|
|
649
|
+
/**
|
|
650
|
+
* No track exists for the proposal origin.
|
|
651
|
+
**/
|
|
652
|
+
NoTrack: AugmentedError<ApiType>;
|
|
653
|
+
/**
|
|
654
|
+
* The preimage does not exist.
|
|
655
|
+
**/
|
|
656
|
+
PreimageNotExist: AugmentedError<ApiType>;
|
|
657
|
+
/**
|
|
658
|
+
* The preimage is stored with a different length than the one provided.
|
|
659
|
+
**/
|
|
660
|
+
PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
|
|
661
|
+
/**
|
|
662
|
+
* The queue of the track is empty.
|
|
663
|
+
**/
|
|
664
|
+
QueueEmpty: AugmentedError<ApiType>;
|
|
665
|
+
/**
|
|
666
|
+
* Any deposit cannot be refunded until after the decision is over.
|
|
667
|
+
**/
|
|
668
|
+
Unfinished: AugmentedError<ApiType>;
|
|
669
|
+
/**
|
|
670
|
+
* Generic error
|
|
671
|
+
**/
|
|
672
|
+
[key: string]: AugmentedError<ApiType>;
|
|
673
|
+
};
|
|
674
|
+
referral: {
|
|
675
|
+
/**
|
|
676
|
+
* No pending referral for the caller, or the `FractionalNftRewardDistributor`
|
|
677
|
+
* rejected a reward — the whole activation rolls back.
|
|
678
|
+
**/
|
|
679
|
+
ActivateReferralFailed: AugmentedError<ApiType>;
|
|
680
|
+
/**
|
|
681
|
+
* The caller is already registered as a block producer, and block producers
|
|
682
|
+
* must be active-tree roots (see `split_tree`). Attaching the caller under
|
|
683
|
+
* its referrer would leave it a non-root node that `do_add_block_producer`
|
|
684
|
+
* can never split again, so the activation is rejected. Activate the pending
|
|
685
|
+
* referral *before* registering as a validator.
|
|
686
|
+
**/
|
|
687
|
+
BlockProducerCannotActivateReferral: AugmentedError<ApiType>;
|
|
688
|
+
/**
|
|
689
|
+
* The proposed referrer is a descendant of the proposed referral —
|
|
690
|
+
* adding the edge would close a cycle.
|
|
691
|
+
**/
|
|
692
|
+
CircularReferralDetected: AugmentedError<ApiType>;
|
|
693
|
+
/**
|
|
694
|
+
* Per-node cap (`MaxChildrenPerNode`) reached, counting active children plus
|
|
695
|
+
* pending entries.
|
|
696
|
+
**/
|
|
697
|
+
MaxChildrenPerNodeReached: AugmentedError<ApiType>;
|
|
698
|
+
/**
|
|
699
|
+
* Per-referrer cap (`MaxPendingReferrals`) reached.
|
|
700
|
+
**/
|
|
701
|
+
MaxPendingReferralsReached: AugmentedError<ApiType>;
|
|
702
|
+
/**
|
|
703
|
+
* The active ancestor chain from the immediate referrer to the tree root
|
|
704
|
+
* already has `MAX_REFERRAL_DEPTH` ancestors; activating this pending
|
|
705
|
+
* referral would extend the chain beyond the bound on which
|
|
706
|
+
* `activate_referral_depth` is benchmarked.
|
|
707
|
+
**/
|
|
708
|
+
MaxReferralDepthExceeded: AugmentedError<ApiType>;
|
|
709
|
+
/**
|
|
710
|
+
* `referral` already has a referrer (active or pending).
|
|
711
|
+
**/
|
|
712
|
+
ReferralAlreadyExists: AugmentedError<ApiType>;
|
|
713
|
+
/**
|
|
714
|
+
* The referrer's pending-or-active ancestor chain is deeper than
|
|
715
|
+
* `MAX_TREE_DEPTH`, so cycle detection cannot verify the new edge is
|
|
716
|
+
* safe. The call is rejected to fail closed.
|
|
717
|
+
**/
|
|
718
|
+
ReferralChainTooDeep: AugmentedError<ApiType>;
|
|
719
|
+
/**
|
|
720
|
+
* Referrer and referral are the same account.
|
|
721
|
+
**/
|
|
722
|
+
SelfReferralNotAllowed: AugmentedError<ApiType>;
|
|
723
|
+
/**
|
|
724
|
+
* Generic error
|
|
725
|
+
**/
|
|
726
|
+
[key: string]: AugmentedError<ApiType>;
|
|
727
|
+
};
|
|
728
|
+
reputationVoting: {
|
|
729
|
+
/**
|
|
730
|
+
* Account has already voted on this poll
|
|
731
|
+
**/
|
|
732
|
+
AlreadyVoted: AugmentedError<ApiType>;
|
|
733
|
+
/**
|
|
734
|
+
* Account does not have enough reputation to vote
|
|
735
|
+
**/
|
|
736
|
+
InsufficientReputation: AugmentedError<ApiType>;
|
|
737
|
+
/**
|
|
738
|
+
* Poll has reached the maximum number of voters
|
|
739
|
+
**/
|
|
740
|
+
MaxVotersReached: AugmentedError<ApiType>;
|
|
741
|
+
/**
|
|
742
|
+
* Account has reached the maximum number of simultaneous votes
|
|
743
|
+
**/
|
|
744
|
+
MaxVotesReached: AugmentedError<ApiType>;
|
|
745
|
+
/**
|
|
746
|
+
* The poll is not ongoing
|
|
747
|
+
**/
|
|
748
|
+
NotOngoing: AugmentedError<ApiType>;
|
|
749
|
+
/**
|
|
750
|
+
* Account has not voted on this poll
|
|
751
|
+
**/
|
|
752
|
+
NotVoted: AugmentedError<ApiType>;
|
|
753
|
+
/**
|
|
754
|
+
* Vote update attempted with the same direction as the existing vote
|
|
755
|
+
**/
|
|
756
|
+
SameDirection: AugmentedError<ApiType>;
|
|
757
|
+
/**
|
|
758
|
+
* Generic error
|
|
759
|
+
**/
|
|
760
|
+
[key: string]: AugmentedError<ApiType>;
|
|
761
|
+
};
|
|
762
|
+
rewardPool: {
|
|
763
|
+
CollectionIdOverflow: AugmentedError<ApiType>;
|
|
764
|
+
/**
|
|
765
|
+
* The target collection holds more valid items than a single `unlock` call
|
|
766
|
+
* can safely handle within block weight limits. Bounded by [`MAX_UNLOCK_ITEMS`].
|
|
767
|
+
**/
|
|
768
|
+
CollectionTooLargeToUnlock: AugmentedError<ApiType>;
|
|
769
|
+
DailyNftSubmissionLimitExceeded: AugmentedError<ApiType>;
|
|
770
|
+
InsufficientReputationForNftSubmission: AugmentedError<ApiType>;
|
|
771
|
+
/**
|
|
772
|
+
* The `(contract address, token id)` pair is already backing a live collection.
|
|
773
|
+
**/
|
|
774
|
+
NftAlreadyDeposited: AugmentedError<ApiType>;
|
|
775
|
+
/**
|
|
776
|
+
* The submission would mint more fractional-NFT items than [`MAX_SUBMIT_ITEMS`],
|
|
777
|
+
* which is both the benchmarked gas-pricing envelope and the largest collection
|
|
778
|
+
* `unlock` can ever handle.
|
|
779
|
+
**/
|
|
780
|
+
SubmissionTooLarge: AugmentedError<ApiType>;
|
|
781
|
+
SubmitNftFailed: AugmentedError<ApiType>;
|
|
782
|
+
UnlockFailed: AugmentedError<ApiType>;
|
|
783
|
+
/**
|
|
784
|
+
* Generic error
|
|
785
|
+
**/
|
|
786
|
+
[key: string]: AugmentedError<ApiType>;
|
|
787
|
+
};
|
|
788
|
+
safeMode: {
|
|
789
|
+
/**
|
|
790
|
+
* The account already has a deposit reserved and can therefore not enter or extend again.
|
|
791
|
+
**/
|
|
792
|
+
AlreadyDeposited: AugmentedError<ApiType>;
|
|
793
|
+
/**
|
|
794
|
+
* This deposit cannot be released yet.
|
|
795
|
+
**/
|
|
796
|
+
CannotReleaseYet: AugmentedError<ApiType>;
|
|
797
|
+
/**
|
|
798
|
+
* An error from the underlying `Currency`.
|
|
799
|
+
**/
|
|
800
|
+
CurrencyError: AugmentedError<ApiType>;
|
|
801
|
+
/**
|
|
802
|
+
* The safe-mode is (already or still) entered.
|
|
803
|
+
**/
|
|
804
|
+
Entered: AugmentedError<ApiType>;
|
|
805
|
+
/**
|
|
806
|
+
* The safe-mode is (already or still) exited.
|
|
807
|
+
**/
|
|
808
|
+
Exited: AugmentedError<ApiType>;
|
|
809
|
+
/**
|
|
810
|
+
* There is no balance reserved.
|
|
811
|
+
**/
|
|
812
|
+
NoDeposit: AugmentedError<ApiType>;
|
|
813
|
+
/**
|
|
814
|
+
* This functionality of the pallet is disabled by the configuration.
|
|
815
|
+
**/
|
|
816
|
+
NotConfigured: AugmentedError<ApiType>;
|
|
817
|
+
/**
|
|
818
|
+
* Generic error
|
|
819
|
+
**/
|
|
820
|
+
[key: string]: AugmentedError<ApiType>;
|
|
821
|
+
};
|
|
822
|
+
scheduler: {
|
|
823
|
+
/**
|
|
824
|
+
* Failed to schedule a call
|
|
825
|
+
**/
|
|
826
|
+
FailedToSchedule: AugmentedError<ApiType>;
|
|
827
|
+
/**
|
|
828
|
+
* Attempt to use a non-named function on a named task.
|
|
829
|
+
**/
|
|
830
|
+
Named: AugmentedError<ApiType>;
|
|
831
|
+
/**
|
|
832
|
+
* Cannot find the scheduled call.
|
|
833
|
+
**/
|
|
834
|
+
NotFound: AugmentedError<ApiType>;
|
|
835
|
+
/**
|
|
836
|
+
* Reschedule failed because it does not change scheduled time.
|
|
837
|
+
**/
|
|
838
|
+
RescheduleNoChange: AugmentedError<ApiType>;
|
|
839
|
+
/**
|
|
840
|
+
* Given target block number is in the past.
|
|
841
|
+
**/
|
|
842
|
+
TargetBlockNumberInPast: AugmentedError<ApiType>;
|
|
843
|
+
/**
|
|
844
|
+
* Generic error
|
|
845
|
+
**/
|
|
846
|
+
[key: string]: AugmentedError<ApiType>;
|
|
847
|
+
};
|
|
848
|
+
session: {
|
|
849
|
+
/**
|
|
850
|
+
* Registered duplicate key.
|
|
851
|
+
**/
|
|
852
|
+
DuplicatedKey: AugmentedError<ApiType>;
|
|
853
|
+
/**
|
|
854
|
+
* Invalid ownership proof.
|
|
855
|
+
**/
|
|
856
|
+
InvalidProof: AugmentedError<ApiType>;
|
|
857
|
+
/**
|
|
858
|
+
* Key setting account is not live, so it's impossible to associate keys.
|
|
859
|
+
**/
|
|
860
|
+
NoAccount: AugmentedError<ApiType>;
|
|
861
|
+
/**
|
|
862
|
+
* No associated validator ID for account.
|
|
863
|
+
**/
|
|
864
|
+
NoAssociatedValidatorId: AugmentedError<ApiType>;
|
|
865
|
+
/**
|
|
866
|
+
* No keys are associated with this account.
|
|
867
|
+
**/
|
|
868
|
+
NoKeys: AugmentedError<ApiType>;
|
|
869
|
+
/**
|
|
870
|
+
* Generic error
|
|
871
|
+
**/
|
|
872
|
+
[key: string]: AugmentedError<ApiType>;
|
|
873
|
+
};
|
|
874
|
+
system: {
|
|
875
|
+
/**
|
|
876
|
+
* The origin filter prevent the call to be dispatched.
|
|
877
|
+
**/
|
|
878
|
+
CallFiltered: AugmentedError<ApiType>;
|
|
879
|
+
/**
|
|
880
|
+
* Failed to extract the runtime version from the new runtime.
|
|
881
|
+
*
|
|
882
|
+
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
883
|
+
**/
|
|
884
|
+
FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
|
|
885
|
+
/**
|
|
886
|
+
* The name of specification does not match between the current runtime
|
|
887
|
+
* and the new runtime.
|
|
888
|
+
**/
|
|
889
|
+
InvalidSpecName: AugmentedError<ApiType>;
|
|
890
|
+
/**
|
|
891
|
+
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
|
892
|
+
**/
|
|
893
|
+
MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
|
|
894
|
+
/**
|
|
895
|
+
* Suicide called when the account has non-default composite data.
|
|
896
|
+
**/
|
|
897
|
+
NonDefaultComposite: AugmentedError<ApiType>;
|
|
898
|
+
/**
|
|
899
|
+
* There is a non-zero reference count preventing the account from being purged.
|
|
900
|
+
**/
|
|
901
|
+
NonZeroRefCount: AugmentedError<ApiType>;
|
|
902
|
+
/**
|
|
903
|
+
* No upgrade authorized.
|
|
904
|
+
**/
|
|
905
|
+
NothingAuthorized: AugmentedError<ApiType>;
|
|
906
|
+
/**
|
|
907
|
+
* The specification version is not allowed to decrease between the current runtime
|
|
908
|
+
* and the new runtime.
|
|
909
|
+
**/
|
|
910
|
+
SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
|
|
911
|
+
/**
|
|
912
|
+
* The submitted code is not authorized.
|
|
913
|
+
**/
|
|
914
|
+
Unauthorized: AugmentedError<ApiType>;
|
|
915
|
+
/**
|
|
916
|
+
* Generic error
|
|
917
|
+
**/
|
|
918
|
+
[key: string]: AugmentedError<ApiType>;
|
|
919
|
+
};
|
|
920
|
+
techCommitteeManager: {
|
|
921
|
+
/**
|
|
922
|
+
* The maximum number of candidates has been reached.
|
|
923
|
+
**/
|
|
924
|
+
MaxCandidatesReached: AugmentedError<ApiType>;
|
|
925
|
+
/**
|
|
926
|
+
* The selection holds fewer members than `MinMembers`.
|
|
927
|
+
**/
|
|
928
|
+
TooFewMembers: AugmentedError<ApiType>;
|
|
929
|
+
/**
|
|
930
|
+
* The selection holds more members than `MaxMembers`.
|
|
931
|
+
**/
|
|
932
|
+
TooManyMembers: AugmentedError<ApiType>;
|
|
933
|
+
/**
|
|
934
|
+
* Generic error
|
|
935
|
+
**/
|
|
936
|
+
[key: string]: AugmentedError<ApiType>;
|
|
937
|
+
};
|
|
938
|
+
technicalCommittee: {
|
|
939
|
+
/**
|
|
940
|
+
* Members are already initialized!
|
|
941
|
+
**/
|
|
942
|
+
AlreadyInitialized: AugmentedError<ApiType>;
|
|
943
|
+
/**
|
|
944
|
+
* Duplicate proposals not allowed
|
|
945
|
+
**/
|
|
946
|
+
DuplicateProposal: AugmentedError<ApiType>;
|
|
947
|
+
/**
|
|
948
|
+
* Duplicate vote ignored
|
|
949
|
+
**/
|
|
950
|
+
DuplicateVote: AugmentedError<ApiType>;
|
|
951
|
+
/**
|
|
952
|
+
* Account is not a member
|
|
953
|
+
**/
|
|
954
|
+
NotMember: AugmentedError<ApiType>;
|
|
955
|
+
/**
|
|
956
|
+
* Prime account is not a member
|
|
957
|
+
**/
|
|
958
|
+
PrimeAccountNotMember: AugmentedError<ApiType>;
|
|
959
|
+
/**
|
|
960
|
+
* Proposal is still active.
|
|
961
|
+
**/
|
|
962
|
+
ProposalActive: AugmentedError<ApiType>;
|
|
963
|
+
/**
|
|
964
|
+
* Proposal must exist
|
|
965
|
+
**/
|
|
966
|
+
ProposalMissing: AugmentedError<ApiType>;
|
|
967
|
+
/**
|
|
968
|
+
* The close call was made too early, before the end of the voting.
|
|
969
|
+
**/
|
|
970
|
+
TooEarly: AugmentedError<ApiType>;
|
|
971
|
+
/**
|
|
972
|
+
* There can only be a maximum of `MaxProposals` active proposals.
|
|
973
|
+
**/
|
|
974
|
+
TooManyProposals: AugmentedError<ApiType>;
|
|
975
|
+
/**
|
|
976
|
+
* Mismatched index
|
|
977
|
+
**/
|
|
978
|
+
WrongIndex: AugmentedError<ApiType>;
|
|
979
|
+
/**
|
|
980
|
+
* The given length bound for the proposal was too low.
|
|
981
|
+
**/
|
|
982
|
+
WrongProposalLength: AugmentedError<ApiType>;
|
|
983
|
+
/**
|
|
984
|
+
* The given weight bound for the proposal was too low.
|
|
985
|
+
**/
|
|
986
|
+
WrongProposalWeight: AugmentedError<ApiType>;
|
|
987
|
+
/**
|
|
988
|
+
* Generic error
|
|
989
|
+
**/
|
|
990
|
+
[key: string]: AugmentedError<ApiType>;
|
|
991
|
+
};
|
|
992
|
+
txPause: {
|
|
993
|
+
/**
|
|
994
|
+
* The call is paused.
|
|
995
|
+
**/
|
|
996
|
+
IsPaused: AugmentedError<ApiType>;
|
|
997
|
+
/**
|
|
998
|
+
* The call is unpaused.
|
|
999
|
+
**/
|
|
1000
|
+
IsUnpaused: AugmentedError<ApiType>;
|
|
1001
|
+
NotFound: AugmentedError<ApiType>;
|
|
1002
|
+
/**
|
|
1003
|
+
* The call is whitelisted and cannot be paused.
|
|
1004
|
+
**/
|
|
1005
|
+
Unpausable: AugmentedError<ApiType>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Generic error
|
|
1008
|
+
**/
|
|
1009
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1010
|
+
};
|
|
1011
|
+
uniques: {
|
|
1012
|
+
/**
|
|
1013
|
+
* The item ID has already been used for an item.
|
|
1014
|
+
**/
|
|
1015
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
1016
|
+
/**
|
|
1017
|
+
* An attribute is not found.
|
|
1018
|
+
**/
|
|
1019
|
+
AttributeNotFound: AugmentedError<ApiType>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Invalid witness data given.
|
|
1022
|
+
**/
|
|
1023
|
+
BadWitness: AugmentedError<ApiType>;
|
|
1024
|
+
/**
|
|
1025
|
+
* The provided bid is too low.
|
|
1026
|
+
**/
|
|
1027
|
+
BidTooLow: AugmentedError<ApiType>;
|
|
1028
|
+
/**
|
|
1029
|
+
* The item or collection is frozen.
|
|
1030
|
+
**/
|
|
1031
|
+
Frozen: AugmentedError<ApiType>;
|
|
1032
|
+
/**
|
|
1033
|
+
* The item ID is already taken.
|
|
1034
|
+
**/
|
|
1035
|
+
InUse: AugmentedError<ApiType>;
|
|
1036
|
+
/**
|
|
1037
|
+
* The item is locked.
|
|
1038
|
+
**/
|
|
1039
|
+
Locked: AugmentedError<ApiType>;
|
|
1040
|
+
/**
|
|
1041
|
+
* The max supply has already been set.
|
|
1042
|
+
**/
|
|
1043
|
+
MaxSupplyAlreadySet: AugmentedError<ApiType>;
|
|
1044
|
+
/**
|
|
1045
|
+
* All items have been minted.
|
|
1046
|
+
**/
|
|
1047
|
+
MaxSupplyReached: AugmentedError<ApiType>;
|
|
1048
|
+
/**
|
|
1049
|
+
* The provided max supply is less to the amount of items a collection already has.
|
|
1050
|
+
**/
|
|
1051
|
+
MaxSupplyTooSmall: AugmentedError<ApiType>;
|
|
1052
|
+
/**
|
|
1053
|
+
* There is no delegate approved.
|
|
1054
|
+
**/
|
|
1055
|
+
NoDelegate: AugmentedError<ApiType>;
|
|
1056
|
+
/**
|
|
1057
|
+
* No metadata is found.
|
|
1058
|
+
**/
|
|
1059
|
+
NoMetadata: AugmentedError<ApiType>;
|
|
1060
|
+
/**
|
|
1061
|
+
* The signing account has no permission to do the operation.
|
|
1062
|
+
**/
|
|
1063
|
+
NoPermission: AugmentedError<ApiType>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Item is not for sale.
|
|
1066
|
+
**/
|
|
1067
|
+
NotForSale: AugmentedError<ApiType>;
|
|
1068
|
+
/**
|
|
1069
|
+
* The named owner has not signed ownership of the collection is acceptable.
|
|
1070
|
+
**/
|
|
1071
|
+
Unaccepted: AugmentedError<ApiType>;
|
|
1072
|
+
/**
|
|
1073
|
+
* No approval exists that would allow the transfer.
|
|
1074
|
+
**/
|
|
1075
|
+
Unapproved: AugmentedError<ApiType>;
|
|
1076
|
+
/**
|
|
1077
|
+
* The given item ID is unknown.
|
|
1078
|
+
**/
|
|
1079
|
+
UnknownCollection: AugmentedError<ApiType>;
|
|
1080
|
+
/**
|
|
1081
|
+
* The given item ID is unknown.
|
|
1082
|
+
**/
|
|
1083
|
+
UnknownItem: AugmentedError<ApiType>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Wrong attribute key/value bytes supplied.
|
|
1086
|
+
**/
|
|
1087
|
+
WrongAttribute: AugmentedError<ApiType>;
|
|
1088
|
+
/**
|
|
1089
|
+
* The delegate turned out to be different to what was expected.
|
|
1090
|
+
**/
|
|
1091
|
+
WrongDelegate: AugmentedError<ApiType>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Wrong metadata key/value bytes supplied.
|
|
1094
|
+
**/
|
|
1095
|
+
WrongMetadata: AugmentedError<ApiType>;
|
|
1096
|
+
/**
|
|
1097
|
+
* The owner turned out to be different to what was expected.
|
|
1098
|
+
**/
|
|
1099
|
+
WrongOwner: AugmentedError<ApiType>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Generic error
|
|
1102
|
+
**/
|
|
1103
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1104
|
+
};
|
|
1105
|
+
utility: {
|
|
1106
|
+
/**
|
|
1107
|
+
* Too many calls batched.
|
|
1108
|
+
**/
|
|
1109
|
+
TooManyCalls: AugmentedError<ApiType>;
|
|
1110
|
+
/**
|
|
1111
|
+
* Generic error
|
|
1112
|
+
**/
|
|
1113
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1114
|
+
};
|
|
1115
|
+
validatorManager: {
|
|
1116
|
+
/**
|
|
1117
|
+
* The registered validators list is full.
|
|
1118
|
+
**/
|
|
1119
|
+
MaxRegisteredValidatorsReached: AugmentedError<ApiType>;
|
|
1120
|
+
/**
|
|
1121
|
+
* The account is not in the registered validators list.
|
|
1122
|
+
**/
|
|
1123
|
+
NotRegistered: AugmentedError<ApiType>;
|
|
1124
|
+
/**
|
|
1125
|
+
* The account has an active offline or offence penalty and cannot register.
|
|
1126
|
+
**/
|
|
1127
|
+
PenaltyActive: AugmentedError<ApiType>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Unregistering would drop eligible (non-blacklisted) candidates below MinValidators.
|
|
1130
|
+
**/
|
|
1131
|
+
TooFewEligibleValidators: AugmentedError<ApiType>;
|
|
1132
|
+
/**
|
|
1133
|
+
* Generic error
|
|
1134
|
+
**/
|
|
1135
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1136
|
+
};
|
|
1137
|
+
whitelist: {
|
|
1138
|
+
/**
|
|
1139
|
+
* The call was already whitelisted; No-Op.
|
|
1140
|
+
**/
|
|
1141
|
+
CallAlreadyWhitelisted: AugmentedError<ApiType>;
|
|
1142
|
+
/**
|
|
1143
|
+
* The call was not whitelisted.
|
|
1144
|
+
**/
|
|
1145
|
+
CallIsNotWhitelisted: AugmentedError<ApiType>;
|
|
1146
|
+
/**
|
|
1147
|
+
* The weight of the decoded call was higher than the witness.
|
|
1148
|
+
**/
|
|
1149
|
+
InvalidCallWeightWitness: AugmentedError<ApiType>;
|
|
1150
|
+
/**
|
|
1151
|
+
* The preimage of the call hash could not be loaded.
|
|
1152
|
+
**/
|
|
1153
|
+
UnavailablePreImage: AugmentedError<ApiType>;
|
|
1154
|
+
/**
|
|
1155
|
+
* The call could not be decoded.
|
|
1156
|
+
**/
|
|
1157
|
+
UndecodableCall: AugmentedError<ApiType>;
|
|
1158
|
+
/**
|
|
1159
|
+
* Generic error
|
|
1160
|
+
**/
|
|
1161
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1162
|
+
};
|
|
1163
|
+
} // AugmentedErrors
|
|
1164
|
+
} // declare module
|