@argonprotocol/mainchain 1.4.3-dev.b97b3c4f → 1.4.3-dev.caca6309
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/browser/index.d.ts +1463 -1797
- package/browser/index.js +1209 -118
- package/browser/index.js.map +1 -1
- package/lib/chunk-3KFMHNNJ.cjs +706 -0
- package/lib/chunk-3KFMHNNJ.cjs.map +1 -0
- package/lib/chunk-D3FCDADJ.cjs +175 -0
- package/lib/chunk-D3FCDADJ.cjs.map +1 -0
- package/lib/chunk-RF6NOJOR.js +706 -0
- package/lib/chunk-RF6NOJOR.js.map +1 -0
- package/lib/chunk-YPXWOFUS.js +175 -0
- package/lib/chunk-YPXWOFUS.js.map +1 -0
- package/lib/index.cjs +1238 -118
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1463 -1797
- package/lib/index.d.ts +1463 -1797
- package/lib/index.js +1238 -118
- package/lib/index.js.map +1 -1
- package/lib/lib-CU2JUZW6.cjs +403 -0
- package/lib/lib-CU2JUZW6.cjs.map +1 -0
- package/lib/lib-P3PEMYOB.js +403 -0
- package/lib/lib-P3PEMYOB.js.map +1 -0
- package/lib/setPreset-NCTHSXWD.js +15 -0
- package/lib/setPreset-NCTHSXWD.js.map +1 -0
- package/lib/setPreset-XHOPATBO.cjs +15 -0
- package/lib/setPreset-XHOPATBO.cjs.map +1 -0
- package/package.json +31 -25
- package/src/interfaces/augment-api-consts.ts +603 -0
- package/src/interfaces/augment-api-errors.ts +1175 -0
- package/src/interfaces/augment-api-events.ts +1816 -0
- package/src/interfaces/augment-api-query.ts +1545 -0
- package/src/interfaces/augment-api-rpc.ts +1133 -0
- package/src/interfaces/augment-api-runtime.ts +332 -0
- package/src/interfaces/augment-api-tx.ts +2184 -0
- package/src/interfaces/augment-api.ts +10 -0
- package/src/interfaces/augment-types.ts +2688 -0
- package/src/interfaces/definitions.ts +57 -0
- package/src/interfaces/ethereum/index.ts +4 -0
- package/src/interfaces/ethereum/types.ts +54 -0
- package/src/interfaces/lookup.ts +3768 -0
- package/src/interfaces/registry.ts +558 -0
- package/src/interfaces/types-lookup.ts +4345 -0
|
@@ -0,0 +1,1175 @@
|
|
|
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
|
+
balances: {
|
|
15
|
+
/**
|
|
16
|
+
* Beneficiary account must pre-exist.
|
|
17
|
+
**/
|
|
18
|
+
DeadAccount: AugmentedError<ApiType>;
|
|
19
|
+
/**
|
|
20
|
+
* The delta cannot be zero.
|
|
21
|
+
**/
|
|
22
|
+
DeltaZero: AugmentedError<ApiType>;
|
|
23
|
+
/**
|
|
24
|
+
* Value too low to create account due to existential deposit.
|
|
25
|
+
**/
|
|
26
|
+
ExistentialDeposit: AugmentedError<ApiType>;
|
|
27
|
+
/**
|
|
28
|
+
* A vesting schedule already exists for this account.
|
|
29
|
+
**/
|
|
30
|
+
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
31
|
+
/**
|
|
32
|
+
* Transfer/payment would kill account.
|
|
33
|
+
**/
|
|
34
|
+
Expendability: AugmentedError<ApiType>;
|
|
35
|
+
/**
|
|
36
|
+
* Balance too low to send value.
|
|
37
|
+
**/
|
|
38
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
39
|
+
/**
|
|
40
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
41
|
+
**/
|
|
42
|
+
IssuanceDeactivated: AugmentedError<ApiType>;
|
|
43
|
+
/**
|
|
44
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
45
|
+
**/
|
|
46
|
+
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
47
|
+
/**
|
|
48
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
49
|
+
**/
|
|
50
|
+
TooManyFreezes: AugmentedError<ApiType>;
|
|
51
|
+
/**
|
|
52
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
53
|
+
**/
|
|
54
|
+
TooManyHolds: AugmentedError<ApiType>;
|
|
55
|
+
/**
|
|
56
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
57
|
+
**/
|
|
58
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
59
|
+
/**
|
|
60
|
+
* Vesting balance too high to send value.
|
|
61
|
+
**/
|
|
62
|
+
VestingBalance: AugmentedError<ApiType>;
|
|
63
|
+
};
|
|
64
|
+
bitcoinLocks: {
|
|
65
|
+
/**
|
|
66
|
+
* The proposed transaction would take the account below the minimum (existential) balance
|
|
67
|
+
**/
|
|
68
|
+
AccountWouldGoBelowMinimumBalance: AugmentedError<ApiType>;
|
|
69
|
+
/**
|
|
70
|
+
* The fee for this bitcoin release is too high
|
|
71
|
+
**/
|
|
72
|
+
BitcoinFeeTooHigh: AugmentedError<ApiType>;
|
|
73
|
+
/**
|
|
74
|
+
* The cosign signature is not valid for the bitcoin release
|
|
75
|
+
**/
|
|
76
|
+
BitcoinInvalidCosignature: AugmentedError<ApiType>;
|
|
77
|
+
/**
|
|
78
|
+
* This bitcoin pubkey couldn't be decoded for release
|
|
79
|
+
**/
|
|
80
|
+
BitcoinPubkeyUnableToBeDecoded: AugmentedError<ApiType>;
|
|
81
|
+
/**
|
|
82
|
+
* The bitcoin has passed the deadline to release it
|
|
83
|
+
**/
|
|
84
|
+
BitcoinReleaseInitiationDeadlinePassed: AugmentedError<ApiType>;
|
|
85
|
+
/**
|
|
86
|
+
* This bitcoin signature couldn't be decoded for release
|
|
87
|
+
**/
|
|
88
|
+
BitcoinSignatureUnableToBeDecoded: AugmentedError<ApiType>;
|
|
89
|
+
/**
|
|
90
|
+
* This bitcoin cosign script couldn't be decoded for release
|
|
91
|
+
**/
|
|
92
|
+
BitcoinUnableToBeDecodedForRelease: AugmentedError<ApiType>;
|
|
93
|
+
/**
|
|
94
|
+
* The Bitcoin Unspect Transaction Output (UTXO) was not found
|
|
95
|
+
**/
|
|
96
|
+
BitcoinUtxoNotFound: AugmentedError<ApiType>;
|
|
97
|
+
/**
|
|
98
|
+
* An overflow occurred recording a lock expiration
|
|
99
|
+
**/
|
|
100
|
+
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
101
|
+
/**
|
|
102
|
+
* Cannot request an orphaned release for the funding UTXO
|
|
103
|
+
**/
|
|
104
|
+
FundingUtxoCannotBeReleased: AugmentedError<ApiType>;
|
|
105
|
+
/**
|
|
106
|
+
* An error occurred in the vault module
|
|
107
|
+
**/
|
|
108
|
+
GenericVaultError: AugmentedError<ApiType>;
|
|
109
|
+
/**
|
|
110
|
+
* The expected amount of funds to return from hold was not available
|
|
111
|
+
**/
|
|
112
|
+
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
113
|
+
/**
|
|
114
|
+
* An ineligible microgon rate per btc was requested
|
|
115
|
+
**/
|
|
116
|
+
IneligibleMicrogonRateRequested: AugmentedError<ApiType>;
|
|
117
|
+
InsufficientFunds: AugmentedError<ApiType>;
|
|
118
|
+
/**
|
|
119
|
+
* The minimum number of satoshis was not met
|
|
120
|
+
**/
|
|
121
|
+
InsufficientSatoshisLocked: AugmentedError<ApiType>;
|
|
122
|
+
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
123
|
+
/**
|
|
124
|
+
* The bitcoin script to lock this bitcoin has errors
|
|
125
|
+
**/
|
|
126
|
+
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
127
|
+
/**
|
|
128
|
+
* Funding would result in an overflow of the balance type
|
|
129
|
+
**/
|
|
130
|
+
InvalidVaultAmount: AugmentedError<ApiType>;
|
|
131
|
+
/**
|
|
132
|
+
* A lock in process of release cannot be ratcheted
|
|
133
|
+
**/
|
|
134
|
+
LockInProcessOfRelease: AugmentedError<ApiType>;
|
|
135
|
+
/**
|
|
136
|
+
* The Bitcoin Lock record was not found
|
|
137
|
+
**/
|
|
138
|
+
LockNotFound: AugmentedError<ApiType>;
|
|
139
|
+
/**
|
|
140
|
+
* The lock funding has not been confirmed on bitcoin
|
|
141
|
+
**/
|
|
142
|
+
LockPendingFunding: AugmentedError<ApiType>;
|
|
143
|
+
/**
|
|
144
|
+
* Too many orphaned utxo release requests for a lock
|
|
145
|
+
**/
|
|
146
|
+
MaxOrphanedUtxoReleaseRequestsExceeded: AugmentedError<ApiType>;
|
|
147
|
+
/**
|
|
148
|
+
* The price provider has no bitcoin prices available. This is a temporary error
|
|
149
|
+
**/
|
|
150
|
+
NoBitcoinPricesAvailable: AugmentedError<ApiType>;
|
|
151
|
+
/**
|
|
152
|
+
* The user does not have permissions to perform this action
|
|
153
|
+
**/
|
|
154
|
+
NoPermissions: AugmentedError<ApiType>;
|
|
155
|
+
/**
|
|
156
|
+
* Nothing to ratchet
|
|
157
|
+
**/
|
|
158
|
+
NoRatchetingAvailable: AugmentedError<ApiType>;
|
|
159
|
+
/**
|
|
160
|
+
* No Vault public keys are available
|
|
161
|
+
**/
|
|
162
|
+
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
163
|
+
/**
|
|
164
|
+
* Cannot fund with an orphaned utxo after lock funding is confirmed
|
|
165
|
+
**/
|
|
166
|
+
OrphanedUtxoFundingConflict: AugmentedError<ApiType>;
|
|
167
|
+
/**
|
|
168
|
+
* Cannot lock an orphaned utxo with a pending release request
|
|
169
|
+
**/
|
|
170
|
+
OrphanedUtxoReleaseRequested: AugmentedError<ApiType>;
|
|
171
|
+
/**
|
|
172
|
+
* An overflow or underflow occurred while calculating the redemption price
|
|
173
|
+
**/
|
|
174
|
+
OverflowError: AugmentedError<ApiType>;
|
|
175
|
+
/**
|
|
176
|
+
* This bitcoin redemption has not been locked in
|
|
177
|
+
**/
|
|
178
|
+
RedemptionNotLocked: AugmentedError<ApiType>;
|
|
179
|
+
/**
|
|
180
|
+
* Unable to generate a new vault public key
|
|
181
|
+
**/
|
|
182
|
+
UnableToGenerateVaultBitcoinPubkey: AugmentedError<ApiType>;
|
|
183
|
+
/**
|
|
184
|
+
* The hold on funds could not be recovered
|
|
185
|
+
**/
|
|
186
|
+
UnrecoverableHold: AugmentedError<ApiType>;
|
|
187
|
+
/**
|
|
188
|
+
* This vault is closed
|
|
189
|
+
**/
|
|
190
|
+
VaultClosed: AugmentedError<ApiType>;
|
|
191
|
+
/**
|
|
192
|
+
* The vault was not found
|
|
193
|
+
**/
|
|
194
|
+
VaultNotFound: AugmentedError<ApiType>;
|
|
195
|
+
/**
|
|
196
|
+
* This vault is not yet active
|
|
197
|
+
**/
|
|
198
|
+
VaultNotYetActive: AugmentedError<ApiType>;
|
|
199
|
+
};
|
|
200
|
+
bitcoinUtxos: {
|
|
201
|
+
/**
|
|
202
|
+
* Bitcoin height not confirmed yet
|
|
203
|
+
**/
|
|
204
|
+
BitcoinHeightNotConfirmed: AugmentedError<ApiType>;
|
|
205
|
+
/**
|
|
206
|
+
* Duplicated UtxoId. Already in use
|
|
207
|
+
**/
|
|
208
|
+
DuplicateUtxoId: AugmentedError<ApiType>;
|
|
209
|
+
/**
|
|
210
|
+
* Insufficient bitcoin amount
|
|
211
|
+
**/
|
|
212
|
+
InsufficientBitcoinAmount: AugmentedError<ApiType>;
|
|
213
|
+
/**
|
|
214
|
+
* Locking script has errors
|
|
215
|
+
**/
|
|
216
|
+
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
217
|
+
/**
|
|
218
|
+
* Invalid bitcoin sync height attempted
|
|
219
|
+
**/
|
|
220
|
+
InvalidBitcoinSyncHeight: AugmentedError<ApiType>;
|
|
221
|
+
/**
|
|
222
|
+
* This Lock already has an attached funding UTXO
|
|
223
|
+
**/
|
|
224
|
+
LockAlreadyFunded: AugmentedError<ApiType>;
|
|
225
|
+
/**
|
|
226
|
+
* Too many candidate UTXOs are being stored for this lock
|
|
227
|
+
**/
|
|
228
|
+
MaxCandidateUtxosExceeded: AugmentedError<ApiType>;
|
|
229
|
+
/**
|
|
230
|
+
* Too many UTXOs are being watched
|
|
231
|
+
**/
|
|
232
|
+
MaxUtxosExceeded: AugmentedError<ApiType>;
|
|
233
|
+
/**
|
|
234
|
+
* No Oracle-provided bitcoin block has been provided to the network
|
|
235
|
+
**/
|
|
236
|
+
NoBitcoinConfirmedBlock: AugmentedError<ApiType>;
|
|
237
|
+
/**
|
|
238
|
+
* No prices are available to mint bitcoins
|
|
239
|
+
**/
|
|
240
|
+
NoBitcoinPricesAvailable: AugmentedError<ApiType>;
|
|
241
|
+
/**
|
|
242
|
+
* Only an Oracle Operator can perform this action
|
|
243
|
+
**/
|
|
244
|
+
NoPermissions: AugmentedError<ApiType>;
|
|
245
|
+
/**
|
|
246
|
+
* Redemptions not currently available
|
|
247
|
+
**/
|
|
248
|
+
RedemptionsUnavailable: AugmentedError<ApiType>;
|
|
249
|
+
/**
|
|
250
|
+
* ScriptPubKey is already being waited for
|
|
251
|
+
**/
|
|
252
|
+
ScriptPubkeyConflict: AugmentedError<ApiType>;
|
|
253
|
+
/**
|
|
254
|
+
* The UTXO reference does not map to a candidate entry
|
|
255
|
+
**/
|
|
256
|
+
UtxoNotCandidate: AugmentedError<ApiType>;
|
|
257
|
+
/**
|
|
258
|
+
* Locked Utxo Not Found
|
|
259
|
+
**/
|
|
260
|
+
UtxoNotLocked: AugmentedError<ApiType>;
|
|
261
|
+
};
|
|
262
|
+
blockRewards: {};
|
|
263
|
+
blockSeal: {
|
|
264
|
+
/**
|
|
265
|
+
* A block seal authority could not be properly decoded
|
|
266
|
+
**/
|
|
267
|
+
BlockSealDecodeError: AugmentedError<ApiType>;
|
|
268
|
+
/**
|
|
269
|
+
* The vote signature was invalid
|
|
270
|
+
**/
|
|
271
|
+
BlockVoteInvalidSignature: AugmentedError<ApiType>;
|
|
272
|
+
/**
|
|
273
|
+
* Could not decode the scale bytes of the votes
|
|
274
|
+
**/
|
|
275
|
+
CouldNotDecodeVote: AugmentedError<ApiType>;
|
|
276
|
+
/**
|
|
277
|
+
* Too many block seals submitted
|
|
278
|
+
**/
|
|
279
|
+
DuplicateBlockSealProvided: AugmentedError<ApiType>;
|
|
280
|
+
/**
|
|
281
|
+
* Duplicate vote block
|
|
282
|
+
**/
|
|
283
|
+
DuplicateVoteBlockAtTick: AugmentedError<ApiType>;
|
|
284
|
+
/**
|
|
285
|
+
* The notebook for this vote was not eligible to vote
|
|
286
|
+
**/
|
|
287
|
+
IneligibleNotebookUsed: AugmentedError<ApiType>;
|
|
288
|
+
/**
|
|
289
|
+
* The block vote did not reach the minimum voting power at time of the grandparent block
|
|
290
|
+
**/
|
|
291
|
+
InsufficientVotingPower: AugmentedError<ApiType>;
|
|
292
|
+
/**
|
|
293
|
+
* The merkle proof of vote inclusion in the notebook is invalid
|
|
294
|
+
**/
|
|
295
|
+
InvalidBlockVoteProof: AugmentedError<ApiType>;
|
|
296
|
+
/**
|
|
297
|
+
* Compute blocks cant be added in the same tick as a vote
|
|
298
|
+
**/
|
|
299
|
+
InvalidComputeBlockTick: AugmentedError<ApiType>;
|
|
300
|
+
/**
|
|
301
|
+
* Invalid fork power parent
|
|
302
|
+
**/
|
|
303
|
+
InvalidForkPowerParent: AugmentedError<ApiType>;
|
|
304
|
+
/**
|
|
305
|
+
* The nonce score distance supplied is invalid
|
|
306
|
+
**/
|
|
307
|
+
InvalidMinerNonceScore: AugmentedError<ApiType>;
|
|
308
|
+
/**
|
|
309
|
+
* Vote not submitted by the right miner
|
|
310
|
+
**/
|
|
311
|
+
InvalidSubmitter: AugmentedError<ApiType>;
|
|
312
|
+
/**
|
|
313
|
+
* The block vote was not for a valid block
|
|
314
|
+
**/
|
|
315
|
+
InvalidVoteGrandparentHash: AugmentedError<ApiType>;
|
|
316
|
+
/**
|
|
317
|
+
* The strength of the given seal did not match calculations
|
|
318
|
+
**/
|
|
319
|
+
InvalidVoteSealStrength: AugmentedError<ApiType>;
|
|
320
|
+
/**
|
|
321
|
+
* Too many notebooks were submitted for the current tick. Should not be possible
|
|
322
|
+
**/
|
|
323
|
+
MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
|
|
324
|
+
/**
|
|
325
|
+
* No closest miner found for vote
|
|
326
|
+
**/
|
|
327
|
+
NoClosestMinerFoundForVote: AugmentedError<ApiType>;
|
|
328
|
+
/**
|
|
329
|
+
* The lookup to verify a vote's authenticity is not available for the given block
|
|
330
|
+
**/
|
|
331
|
+
NoEligibleVotingRoot: AugmentedError<ApiType>;
|
|
332
|
+
/**
|
|
333
|
+
* No vote minimum found at grandparent height
|
|
334
|
+
**/
|
|
335
|
+
NoGrandparentVoteMinimum: AugmentedError<ApiType>;
|
|
336
|
+
/**
|
|
337
|
+
* No registered voting key found for the parent block
|
|
338
|
+
**/
|
|
339
|
+
ParentVotingKeyNotFound: AugmentedError<ApiType>;
|
|
340
|
+
/**
|
|
341
|
+
* Could not decode the vote bytes
|
|
342
|
+
**/
|
|
343
|
+
UnableToDecodeVoteAccount: AugmentedError<ApiType>;
|
|
344
|
+
/**
|
|
345
|
+
* The block author is not a registered miner
|
|
346
|
+
**/
|
|
347
|
+
UnregisteredBlockAuthor: AugmentedError<ApiType>;
|
|
348
|
+
};
|
|
349
|
+
blockSealSpec: {
|
|
350
|
+
/**
|
|
351
|
+
* The maximum number of notebooks at the current tick has been exceeded
|
|
352
|
+
**/
|
|
353
|
+
MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
|
|
354
|
+
};
|
|
355
|
+
crosschainTransfer: {
|
|
356
|
+
/**
|
|
357
|
+
* The burn account lacks enough balance for the payout.
|
|
358
|
+
**/
|
|
359
|
+
InsufficientLiquidity: AugmentedError<ApiType>;
|
|
360
|
+
/**
|
|
361
|
+
* The claimed amount was zero or too large for the local balance type.
|
|
362
|
+
**/
|
|
363
|
+
InvalidAmount: AugmentedError<ApiType>;
|
|
364
|
+
/**
|
|
365
|
+
* The configured source-chain shape is incomplete or malformed.
|
|
366
|
+
**/
|
|
367
|
+
InvalidChainConfig: AugmentedError<ApiType>;
|
|
368
|
+
/**
|
|
369
|
+
* The Ethereum event topics or payload do not match `BurnForTransfer`.
|
|
370
|
+
**/
|
|
371
|
+
InvalidEthereumEvent: AugmentedError<ApiType>;
|
|
372
|
+
/**
|
|
373
|
+
* The Ethereum verifier rejected the supplied proof.
|
|
374
|
+
**/
|
|
375
|
+
InvalidProof: AugmentedError<ApiType>;
|
|
376
|
+
/**
|
|
377
|
+
* The destination account bytes could not be decoded into a local account id.
|
|
378
|
+
**/
|
|
379
|
+
InvalidRecipient: AugmentedError<ApiType>;
|
|
380
|
+
/**
|
|
381
|
+
* The claim nonce is not exactly the next accepted nonce for the source account.
|
|
382
|
+
**/
|
|
383
|
+
UnexpectedNonce: AugmentedError<ApiType>;
|
|
384
|
+
/**
|
|
385
|
+
* The gateway does not match the active or still-accepted previous release.
|
|
386
|
+
**/
|
|
387
|
+
UnsupportedGateway: AugmentedError<ApiType>;
|
|
388
|
+
/**
|
|
389
|
+
* The source chain is not configured for inbound claims.
|
|
390
|
+
**/
|
|
391
|
+
UnsupportedSource: AugmentedError<ApiType>;
|
|
392
|
+
/**
|
|
393
|
+
* The token is not supported under the matched gateway release.
|
|
394
|
+
**/
|
|
395
|
+
UnsupportedToken: AugmentedError<ApiType>;
|
|
396
|
+
};
|
|
397
|
+
digests: {
|
|
398
|
+
/**
|
|
399
|
+
* Failed to decode digests
|
|
400
|
+
**/
|
|
401
|
+
CouldNotDecodeDigest: AugmentedError<ApiType>;
|
|
402
|
+
/**
|
|
403
|
+
* Duplicate AuthorDigest found
|
|
404
|
+
**/
|
|
405
|
+
DuplicateAuthorDigest: AugmentedError<ApiType>;
|
|
406
|
+
/**
|
|
407
|
+
* Duplicate BlockVoteDigest found
|
|
408
|
+
**/
|
|
409
|
+
DuplicateBlockVoteDigest: AugmentedError<ApiType>;
|
|
410
|
+
/**
|
|
411
|
+
* Duplicate ForkPowerDigest found
|
|
412
|
+
**/
|
|
413
|
+
DuplicateForkPowerDigest: AugmentedError<ApiType>;
|
|
414
|
+
/**
|
|
415
|
+
* Duplicate FrameInfo found
|
|
416
|
+
**/
|
|
417
|
+
DuplicateFrameInfoDigest: AugmentedError<ApiType>;
|
|
418
|
+
/**
|
|
419
|
+
* Duplicate NotebookDigest found
|
|
420
|
+
**/
|
|
421
|
+
DuplicateNotebookDigest: AugmentedError<ApiType>;
|
|
422
|
+
/**
|
|
423
|
+
* Duplicate ParentVotingKeyDigest found
|
|
424
|
+
**/
|
|
425
|
+
DuplicateParentVotingKeyDigest: AugmentedError<ApiType>;
|
|
426
|
+
/**
|
|
427
|
+
* Duplicate TickDigest found
|
|
428
|
+
**/
|
|
429
|
+
DuplicateTickDigest: AugmentedError<ApiType>;
|
|
430
|
+
/**
|
|
431
|
+
* Missing AuthorDigest
|
|
432
|
+
**/
|
|
433
|
+
MissingAuthorDigest: AugmentedError<ApiType>;
|
|
434
|
+
/**
|
|
435
|
+
* Missing BlockVoteDigest
|
|
436
|
+
**/
|
|
437
|
+
MissingBlockVoteDigest: AugmentedError<ApiType>;
|
|
438
|
+
/**
|
|
439
|
+
* Missing NotebookDigest
|
|
440
|
+
**/
|
|
441
|
+
MissingNotebookDigest: AugmentedError<ApiType>;
|
|
442
|
+
/**
|
|
443
|
+
* Missing ParentVotingKeyDigest
|
|
444
|
+
**/
|
|
445
|
+
MissingParentVotingKeyDigest: AugmentedError<ApiType>;
|
|
446
|
+
/**
|
|
447
|
+
* Missing TickDigest
|
|
448
|
+
**/
|
|
449
|
+
MissingTickDigest: AugmentedError<ApiType>;
|
|
450
|
+
};
|
|
451
|
+
domains: {
|
|
452
|
+
/**
|
|
453
|
+
* Error decoding account from notary
|
|
454
|
+
**/
|
|
455
|
+
AccountDecodingError: AugmentedError<ApiType>;
|
|
456
|
+
/**
|
|
457
|
+
* The domain is not registered.
|
|
458
|
+
**/
|
|
459
|
+
DomainNotRegistered: AugmentedError<ApiType>;
|
|
460
|
+
/**
|
|
461
|
+
* Failed to add to the expiring domain list
|
|
462
|
+
**/
|
|
463
|
+
FailedToAddExpiringDomain: AugmentedError<ApiType>;
|
|
464
|
+
/**
|
|
465
|
+
* Failed to add to the address history.
|
|
466
|
+
**/
|
|
467
|
+
FailedToAddToAddressHistory: AugmentedError<ApiType>;
|
|
468
|
+
/**
|
|
469
|
+
* The sender is not the owner of the domain.
|
|
470
|
+
**/
|
|
471
|
+
NotDomainOwner: AugmentedError<ApiType>;
|
|
472
|
+
};
|
|
473
|
+
ethereumVerifier: {
|
|
474
|
+
BlockBodyHashTreeRootFailed: AugmentedError<ApiType>;
|
|
475
|
+
BLSPreparePublicKeysFailed: AugmentedError<ApiType>;
|
|
476
|
+
BLSVerificationFailed: AugmentedError<ApiType>;
|
|
477
|
+
ExpectedFinalizedHeaderNotStored: AugmentedError<ApiType>;
|
|
478
|
+
ForkDataHashTreeRootFailed: AugmentedError<ApiType>;
|
|
479
|
+
Halted: AugmentedError<ApiType>;
|
|
480
|
+
HeaderHashTreeRootFailed: AugmentedError<ApiType>;
|
|
481
|
+
InvalidExecutionHeaderProof: AugmentedError<ApiType>;
|
|
482
|
+
/**
|
|
483
|
+
* The gap between finalized headers is larger than the retained historical window.
|
|
484
|
+
**/
|
|
485
|
+
InvalidFinalizedHeaderGap: AugmentedError<ApiType>;
|
|
486
|
+
InvalidHeaderMerkleProof: AugmentedError<ApiType>;
|
|
487
|
+
InvalidSyncCommitteeMerkleProof: AugmentedError<ApiType>;
|
|
488
|
+
/**
|
|
489
|
+
* The given update is not in the expected period, or the given next sync committee does
|
|
490
|
+
* not match the next sync committee in storage.
|
|
491
|
+
**/
|
|
492
|
+
InvalidSyncCommitteeUpdate: AugmentedError<ApiType>;
|
|
493
|
+
InvalidUpdateSlot: AugmentedError<ApiType>;
|
|
494
|
+
/**
|
|
495
|
+
* Attested header is older than latest finalized header.
|
|
496
|
+
**/
|
|
497
|
+
IrrelevantUpdate: AugmentedError<ApiType>;
|
|
498
|
+
NotBootstrapped: AugmentedError<ApiType>;
|
|
499
|
+
SigningRootHashTreeRootFailed: AugmentedError<ApiType>;
|
|
500
|
+
SkippedSyncCommitteePeriod: AugmentedError<ApiType>;
|
|
501
|
+
SyncCommitteeHashTreeRootFailed: AugmentedError<ApiType>;
|
|
502
|
+
SyncCommitteeParticipantsNotSupermajority: AugmentedError<ApiType>;
|
|
503
|
+
SyncCommitteeUpdateRequired: AugmentedError<ApiType>;
|
|
504
|
+
};
|
|
505
|
+
feeControl: {
|
|
506
|
+
/**
|
|
507
|
+
* The requested tip + fee is higher than the maximum allowed by the sponsor
|
|
508
|
+
**/
|
|
509
|
+
SponsoredFeeTooHigh: AugmentedError<ApiType>;
|
|
510
|
+
};
|
|
511
|
+
grandpa: {
|
|
512
|
+
/**
|
|
513
|
+
* Attempt to signal GRANDPA change with one already pending.
|
|
514
|
+
**/
|
|
515
|
+
ChangePending: AugmentedError<ApiType>;
|
|
516
|
+
/**
|
|
517
|
+
* A given equivocation report is valid but already previously reported.
|
|
518
|
+
**/
|
|
519
|
+
DuplicateOffenceReport: AugmentedError<ApiType>;
|
|
520
|
+
/**
|
|
521
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
522
|
+
**/
|
|
523
|
+
InvalidEquivocationProof: AugmentedError<ApiType>;
|
|
524
|
+
/**
|
|
525
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
526
|
+
**/
|
|
527
|
+
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
528
|
+
/**
|
|
529
|
+
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
530
|
+
* (either paused or already pending pause).
|
|
531
|
+
**/
|
|
532
|
+
PauseFailed: AugmentedError<ApiType>;
|
|
533
|
+
/**
|
|
534
|
+
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
535
|
+
* (either live or already pending resume).
|
|
536
|
+
**/
|
|
537
|
+
ResumeFailed: AugmentedError<ApiType>;
|
|
538
|
+
/**
|
|
539
|
+
* Cannot signal forced change so soon after last.
|
|
540
|
+
**/
|
|
541
|
+
TooSoon: AugmentedError<ApiType>;
|
|
542
|
+
};
|
|
543
|
+
localchainTransfer: {
|
|
544
|
+
/**
|
|
545
|
+
* Insufficient balance to create this transfer
|
|
546
|
+
**/
|
|
547
|
+
InsufficientFunds: AugmentedError<ApiType>;
|
|
548
|
+
/**
|
|
549
|
+
* Insufficient balance to fulfill a mainchain transfer
|
|
550
|
+
**/
|
|
551
|
+
InsufficientNotarizedFunds: AugmentedError<ApiType>;
|
|
552
|
+
/**
|
|
553
|
+
* The notary id is not registered
|
|
554
|
+
**/
|
|
555
|
+
InvalidNotaryUsedForTransfer: AugmentedError<ApiType>;
|
|
556
|
+
/**
|
|
557
|
+
* The transfer was already submitted in a previous block
|
|
558
|
+
**/
|
|
559
|
+
InvalidOrDuplicatedLocalchainTransfer: AugmentedError<ApiType>;
|
|
560
|
+
MaxBlockTransfersExceeded: AugmentedError<ApiType>;
|
|
561
|
+
/**
|
|
562
|
+
* No transfer IDs are currently available
|
|
563
|
+
**/
|
|
564
|
+
NoAvailableTransferId: AugmentedError<ApiType>;
|
|
565
|
+
/**
|
|
566
|
+
* The notary is currently locked and cannot process transfers
|
|
567
|
+
**/
|
|
568
|
+
NotaryLockedForTransfer: AugmentedError<ApiType>;
|
|
569
|
+
/**
|
|
570
|
+
* A transfer was submitted in a previous block but the expiration block has passed
|
|
571
|
+
**/
|
|
572
|
+
NotebookIncludesExpiredLocalchainTransfer: AugmentedError<ApiType>;
|
|
573
|
+
};
|
|
574
|
+
miningSlot: {
|
|
575
|
+
/**
|
|
576
|
+
* The mining bid cannot be reduced
|
|
577
|
+
**/
|
|
578
|
+
BidCannotBeReduced: AugmentedError<ApiType>;
|
|
579
|
+
/**
|
|
580
|
+
* The given bid isn't high enough to be in the cohort
|
|
581
|
+
**/
|
|
582
|
+
BidTooLow: AugmentedError<ApiType>;
|
|
583
|
+
/**
|
|
584
|
+
* Cannot re-register an account with a different funding account
|
|
585
|
+
**/
|
|
586
|
+
CannotChangeFundingAccount: AugmentedError<ApiType>;
|
|
587
|
+
/**
|
|
588
|
+
* An account can only have one active registration
|
|
589
|
+
**/
|
|
590
|
+
CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
|
|
591
|
+
/**
|
|
592
|
+
* The funding account does not have enough funds to cover the bid
|
|
593
|
+
**/
|
|
594
|
+
InsufficientFunds: AugmentedError<ApiType>;
|
|
595
|
+
/**
|
|
596
|
+
* This funding account does not hold the minimum argonots needed
|
|
597
|
+
**/
|
|
598
|
+
InsufficientOwnershipTokens: AugmentedError<ApiType>;
|
|
599
|
+
/**
|
|
600
|
+
* Bids must be in allowed increments
|
|
601
|
+
**/
|
|
602
|
+
InvalidBidAmount: AugmentedError<ApiType>;
|
|
603
|
+
/**
|
|
604
|
+
* Bidding for the next cohort has closed
|
|
605
|
+
**/
|
|
606
|
+
SlotNotTakingBids: AugmentedError<ApiType>;
|
|
607
|
+
/**
|
|
608
|
+
* The cohort registration overflowed
|
|
609
|
+
**/
|
|
610
|
+
TooManyBlockRegistrants: AugmentedError<ApiType>;
|
|
611
|
+
/**
|
|
612
|
+
* The argonots on hold cannot be released
|
|
613
|
+
**/
|
|
614
|
+
UnrecoverableHold: AugmentedError<ApiType>;
|
|
615
|
+
};
|
|
616
|
+
mint: {
|
|
617
|
+
TooManyPendingMints: AugmentedError<ApiType>;
|
|
618
|
+
};
|
|
619
|
+
multisig: {
|
|
620
|
+
/**
|
|
621
|
+
* Call is already approved by this signatory.
|
|
622
|
+
**/
|
|
623
|
+
AlreadyApproved: AugmentedError<ApiType>;
|
|
624
|
+
/**
|
|
625
|
+
* The data to be stored is already stored.
|
|
626
|
+
**/
|
|
627
|
+
AlreadyStored: AugmentedError<ApiType>;
|
|
628
|
+
/**
|
|
629
|
+
* The maximum weight information provided was too low.
|
|
630
|
+
**/
|
|
631
|
+
MaxWeightTooLow: AugmentedError<ApiType>;
|
|
632
|
+
/**
|
|
633
|
+
* Threshold must be 2 or greater.
|
|
634
|
+
**/
|
|
635
|
+
MinimumThreshold: AugmentedError<ApiType>;
|
|
636
|
+
/**
|
|
637
|
+
* Call doesn't need any (more) approvals.
|
|
638
|
+
**/
|
|
639
|
+
NoApprovalsNeeded: AugmentedError<ApiType>;
|
|
640
|
+
/**
|
|
641
|
+
* Multisig operation not found in storage.
|
|
642
|
+
**/
|
|
643
|
+
NotFound: AugmentedError<ApiType>;
|
|
644
|
+
/**
|
|
645
|
+
* No timepoint was given, yet the multisig operation is already underway.
|
|
646
|
+
**/
|
|
647
|
+
NoTimepoint: AugmentedError<ApiType>;
|
|
648
|
+
/**
|
|
649
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
650
|
+
* its deposits.
|
|
651
|
+
**/
|
|
652
|
+
NotOwner: AugmentedError<ApiType>;
|
|
653
|
+
/**
|
|
654
|
+
* The sender was contained in the other signatories; it shouldn't be.
|
|
655
|
+
**/
|
|
656
|
+
SenderInSignatories: AugmentedError<ApiType>;
|
|
657
|
+
/**
|
|
658
|
+
* The signatories were provided out of order; they should be ordered.
|
|
659
|
+
**/
|
|
660
|
+
SignatoriesOutOfOrder: AugmentedError<ApiType>;
|
|
661
|
+
/**
|
|
662
|
+
* There are too few signatories in the list.
|
|
663
|
+
**/
|
|
664
|
+
TooFewSignatories: AugmentedError<ApiType>;
|
|
665
|
+
/**
|
|
666
|
+
* There are too many signatories in the list.
|
|
667
|
+
**/
|
|
668
|
+
TooManySignatories: AugmentedError<ApiType>;
|
|
669
|
+
/**
|
|
670
|
+
* A timepoint was given, yet no multisig operation is underway.
|
|
671
|
+
**/
|
|
672
|
+
UnexpectedTimepoint: AugmentedError<ApiType>;
|
|
673
|
+
/**
|
|
674
|
+
* A different timepoint was given to the multisig operation that is underway.
|
|
675
|
+
**/
|
|
676
|
+
WrongTimepoint: AugmentedError<ApiType>;
|
|
677
|
+
};
|
|
678
|
+
notaries: {
|
|
679
|
+
/**
|
|
680
|
+
* The proposed effective tick is too soon
|
|
681
|
+
**/
|
|
682
|
+
EffectiveTickTooSoon: AugmentedError<ApiType>;
|
|
683
|
+
/**
|
|
684
|
+
* The notary is invalid
|
|
685
|
+
**/
|
|
686
|
+
InvalidNotary: AugmentedError<ApiType>;
|
|
687
|
+
/**
|
|
688
|
+
* Invalid notary operator for this operation
|
|
689
|
+
**/
|
|
690
|
+
InvalidNotaryOperator: AugmentedError<ApiType>;
|
|
691
|
+
/**
|
|
692
|
+
* Maximum number of notaries exceeded
|
|
693
|
+
**/
|
|
694
|
+
MaxNotariesExceeded: AugmentedError<ApiType>;
|
|
695
|
+
/**
|
|
696
|
+
* Maximum number of proposals per block exceeded
|
|
697
|
+
**/
|
|
698
|
+
MaxProposalsPerBlockExceeded: AugmentedError<ApiType>;
|
|
699
|
+
/**
|
|
700
|
+
* An internal error has occurred. The notary ids are exhausted.
|
|
701
|
+
**/
|
|
702
|
+
NoMoreNotaryIds: AugmentedError<ApiType>;
|
|
703
|
+
/**
|
|
704
|
+
* This notary is not active, so this change cannot be made yet
|
|
705
|
+
**/
|
|
706
|
+
NotAnActiveNotary: AugmentedError<ApiType>;
|
|
707
|
+
/**
|
|
708
|
+
* The proposal to activate was not found
|
|
709
|
+
**/
|
|
710
|
+
ProposalNotFound: AugmentedError<ApiType>;
|
|
711
|
+
/**
|
|
712
|
+
* Too many internal keys
|
|
713
|
+
**/
|
|
714
|
+
TooManyKeys: AugmentedError<ApiType>;
|
|
715
|
+
};
|
|
716
|
+
notebook: {
|
|
717
|
+
/**
|
|
718
|
+
* Could not decode the scale bytes of the notebook
|
|
719
|
+
**/
|
|
720
|
+
CouldNotDecodeNotebook: AugmentedError<ApiType>;
|
|
721
|
+
/**
|
|
722
|
+
* The notebook digest was included more than once
|
|
723
|
+
**/
|
|
724
|
+
DuplicateNotebookDigest: AugmentedError<ApiType>;
|
|
725
|
+
/**
|
|
726
|
+
* This notebook has already been submitted
|
|
727
|
+
**/
|
|
728
|
+
DuplicateNotebookNumber: AugmentedError<ApiType>;
|
|
729
|
+
/**
|
|
730
|
+
* Unable to track the notebook change list
|
|
731
|
+
**/
|
|
732
|
+
InternalError: AugmentedError<ApiType>;
|
|
733
|
+
/**
|
|
734
|
+
* Invalid notary operator
|
|
735
|
+
**/
|
|
736
|
+
InvalidNotaryOperator: AugmentedError<ApiType>;
|
|
737
|
+
/**
|
|
738
|
+
* The notebook digest did not match the included notebooks
|
|
739
|
+
**/
|
|
740
|
+
InvalidNotebookDigest: AugmentedError<ApiType>;
|
|
741
|
+
/**
|
|
742
|
+
* The signature of the notebook is invalid
|
|
743
|
+
**/
|
|
744
|
+
InvalidNotebookSignature: AugmentedError<ApiType>;
|
|
745
|
+
/**
|
|
746
|
+
* Invalid notebook submission tick
|
|
747
|
+
**/
|
|
748
|
+
InvalidNotebookSubmissionTick: AugmentedError<ApiType>;
|
|
749
|
+
/**
|
|
750
|
+
* Invalid reprocess notebook
|
|
751
|
+
**/
|
|
752
|
+
InvalidReprocessNotebook: AugmentedError<ApiType>;
|
|
753
|
+
/**
|
|
754
|
+
* The secret or secret hash of the parent notebook do not match
|
|
755
|
+
**/
|
|
756
|
+
InvalidSecretProvided: AugmentedError<ApiType>;
|
|
757
|
+
/**
|
|
758
|
+
* The notebook digest was not included
|
|
759
|
+
**/
|
|
760
|
+
MissingNotebookDigest: AugmentedError<ApiType>;
|
|
761
|
+
/**
|
|
762
|
+
* Notebooks received out of order
|
|
763
|
+
**/
|
|
764
|
+
MissingNotebookNumber: AugmentedError<ApiType>;
|
|
765
|
+
/**
|
|
766
|
+
* Multiple inherents provided
|
|
767
|
+
**/
|
|
768
|
+
MultipleNotebookInherentsProvided: AugmentedError<ApiType>;
|
|
769
|
+
/**
|
|
770
|
+
* A notebook was submitted for a notary that failed audit, which is not allowed
|
|
771
|
+
**/
|
|
772
|
+
NotebookSubmittedForLockedNotary: AugmentedError<ApiType>;
|
|
773
|
+
/**
|
|
774
|
+
* A notebook was already provided at this tick
|
|
775
|
+
**/
|
|
776
|
+
NotebookTickAlreadyUsed: AugmentedError<ApiType>;
|
|
777
|
+
};
|
|
778
|
+
operationalAccounts: {
|
|
779
|
+
/**
|
|
780
|
+
* One of the provided accounts is already linked to an operational account.
|
|
781
|
+
**/
|
|
782
|
+
AccountAlreadyLinked: AugmentedError<ApiType>;
|
|
783
|
+
/**
|
|
784
|
+
* The account is already operational.
|
|
785
|
+
**/
|
|
786
|
+
AlreadyOperational: AugmentedError<ApiType>;
|
|
787
|
+
/**
|
|
788
|
+
* The caller already registered an operational account.
|
|
789
|
+
**/
|
|
790
|
+
AlreadyRegistered: AugmentedError<ApiType>;
|
|
791
|
+
/**
|
|
792
|
+
* The encrypted server payload exceeds the configured max length.
|
|
793
|
+
**/
|
|
794
|
+
EncryptedServerTooLong: AugmentedError<ApiType>;
|
|
795
|
+
/**
|
|
796
|
+
* One of the linked account ownership proofs is invalid.
|
|
797
|
+
**/
|
|
798
|
+
InvalidAccountProof: AugmentedError<ApiType>;
|
|
799
|
+
/**
|
|
800
|
+
* The referral proof or sponsor proof is invalid.
|
|
801
|
+
**/
|
|
802
|
+
InvalidReferralProof: AugmentedError<ApiType>;
|
|
803
|
+
/**
|
|
804
|
+
* The caller is not one of the accounts included in the registration.
|
|
805
|
+
**/
|
|
806
|
+
InvalidRegistrationSubmitter: AugmentedError<ApiType>;
|
|
807
|
+
/**
|
|
808
|
+
* The operational account has no pending rewards to claim.
|
|
809
|
+
**/
|
|
810
|
+
NoPendingRewards: AugmentedError<ApiType>;
|
|
811
|
+
/**
|
|
812
|
+
* The requested progress patch does not contain any updates.
|
|
813
|
+
**/
|
|
814
|
+
NoProgressUpdateProvided: AugmentedError<ApiType>;
|
|
815
|
+
/**
|
|
816
|
+
* The account has not satisfied operational requirements yet.
|
|
817
|
+
**/
|
|
818
|
+
NotEligibleForActivation: AugmentedError<ApiType>;
|
|
819
|
+
/**
|
|
820
|
+
* The caller has not registered an operational account.
|
|
821
|
+
**/
|
|
822
|
+
NotOperationalAccount: AugmentedError<ApiType>;
|
|
823
|
+
/**
|
|
824
|
+
* The caller is not the sponsor of the requested sponsee.
|
|
825
|
+
**/
|
|
826
|
+
NotSponsorOfSponsee: AugmentedError<ApiType>;
|
|
827
|
+
/**
|
|
828
|
+
* The referral proof has expired.
|
|
829
|
+
**/
|
|
830
|
+
ReferralProofExpired: AugmentedError<ApiType>;
|
|
831
|
+
/**
|
|
832
|
+
* Reward claims must be at least one Argon.
|
|
833
|
+
**/
|
|
834
|
+
RewardClaimBelowMinimum: AugmentedError<ApiType>;
|
|
835
|
+
/**
|
|
836
|
+
* The requested reward claim exceeds pending rewards.
|
|
837
|
+
**/
|
|
838
|
+
RewardClaimExceedsPending: AugmentedError<ApiType>;
|
|
839
|
+
/**
|
|
840
|
+
* Reward claims must be whole Argon increments.
|
|
841
|
+
**/
|
|
842
|
+
RewardClaimNotWholeArgon: AugmentedError<ApiType>;
|
|
843
|
+
/**
|
|
844
|
+
* The treasury does not currently have enough available reserves for the claim.
|
|
845
|
+
**/
|
|
846
|
+
TreasuryInsufficientFunds: AugmentedError<ApiType>;
|
|
847
|
+
};
|
|
848
|
+
ownership: {
|
|
849
|
+
/**
|
|
850
|
+
* Beneficiary account must pre-exist.
|
|
851
|
+
**/
|
|
852
|
+
DeadAccount: AugmentedError<ApiType>;
|
|
853
|
+
/**
|
|
854
|
+
* The delta cannot be zero.
|
|
855
|
+
**/
|
|
856
|
+
DeltaZero: AugmentedError<ApiType>;
|
|
857
|
+
/**
|
|
858
|
+
* Value too low to create account due to existential deposit.
|
|
859
|
+
**/
|
|
860
|
+
ExistentialDeposit: AugmentedError<ApiType>;
|
|
861
|
+
/**
|
|
862
|
+
* A vesting schedule already exists for this account.
|
|
863
|
+
**/
|
|
864
|
+
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
865
|
+
/**
|
|
866
|
+
* Transfer/payment would kill account.
|
|
867
|
+
**/
|
|
868
|
+
Expendability: AugmentedError<ApiType>;
|
|
869
|
+
/**
|
|
870
|
+
* Balance too low to send value.
|
|
871
|
+
**/
|
|
872
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
873
|
+
/**
|
|
874
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
875
|
+
**/
|
|
876
|
+
IssuanceDeactivated: AugmentedError<ApiType>;
|
|
877
|
+
/**
|
|
878
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
879
|
+
**/
|
|
880
|
+
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
881
|
+
/**
|
|
882
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
883
|
+
**/
|
|
884
|
+
TooManyFreezes: AugmentedError<ApiType>;
|
|
885
|
+
/**
|
|
886
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
887
|
+
**/
|
|
888
|
+
TooManyHolds: AugmentedError<ApiType>;
|
|
889
|
+
/**
|
|
890
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
891
|
+
**/
|
|
892
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
893
|
+
/**
|
|
894
|
+
* Vesting balance too high to send value.
|
|
895
|
+
**/
|
|
896
|
+
VestingBalance: AugmentedError<ApiType>;
|
|
897
|
+
};
|
|
898
|
+
priceIndex: {
|
|
899
|
+
/**
|
|
900
|
+
* Change in argon price is too large
|
|
901
|
+
**/
|
|
902
|
+
MaxPriceChangePerTickExceeded: AugmentedError<ApiType>;
|
|
903
|
+
/**
|
|
904
|
+
* Missing value
|
|
905
|
+
**/
|
|
906
|
+
MissingValue: AugmentedError<ApiType>;
|
|
907
|
+
/**
|
|
908
|
+
* Not authorized as an oracle operator
|
|
909
|
+
**/
|
|
910
|
+
NotAuthorizedOperator: AugmentedError<ApiType>;
|
|
911
|
+
/**
|
|
912
|
+
* The submitted prices are too old
|
|
913
|
+
**/
|
|
914
|
+
PricesTooOld: AugmentedError<ApiType>;
|
|
915
|
+
};
|
|
916
|
+
proxy: {
|
|
917
|
+
/**
|
|
918
|
+
* Account is already a proxy.
|
|
919
|
+
**/
|
|
920
|
+
Duplicate: AugmentedError<ApiType>;
|
|
921
|
+
/**
|
|
922
|
+
* Call may not be made by proxy because it may escalate its privileges.
|
|
923
|
+
**/
|
|
924
|
+
NoPermission: AugmentedError<ApiType>;
|
|
925
|
+
/**
|
|
926
|
+
* Cannot add self as proxy.
|
|
927
|
+
**/
|
|
928
|
+
NoSelfProxy: AugmentedError<ApiType>;
|
|
929
|
+
/**
|
|
930
|
+
* Proxy registration not found.
|
|
931
|
+
**/
|
|
932
|
+
NotFound: AugmentedError<ApiType>;
|
|
933
|
+
/**
|
|
934
|
+
* Sender is not a proxy of the account to be proxied.
|
|
935
|
+
**/
|
|
936
|
+
NotProxy: AugmentedError<ApiType>;
|
|
937
|
+
/**
|
|
938
|
+
* There are too many proxies registered or too many announcements pending.
|
|
939
|
+
**/
|
|
940
|
+
TooMany: AugmentedError<ApiType>;
|
|
941
|
+
/**
|
|
942
|
+
* Announcement, if made at all, was made too recently.
|
|
943
|
+
**/
|
|
944
|
+
Unannounced: AugmentedError<ApiType>;
|
|
945
|
+
/**
|
|
946
|
+
* A call which is incompatible with the proxy type's filter was attempted.
|
|
947
|
+
**/
|
|
948
|
+
Unproxyable: AugmentedError<ApiType>;
|
|
949
|
+
};
|
|
950
|
+
sudo: {
|
|
951
|
+
/**
|
|
952
|
+
* Sender must be the Sudo account.
|
|
953
|
+
**/
|
|
954
|
+
RequireSudo: AugmentedError<ApiType>;
|
|
955
|
+
};
|
|
956
|
+
system: {
|
|
957
|
+
/**
|
|
958
|
+
* The origin filter prevent the call to be dispatched.
|
|
959
|
+
**/
|
|
960
|
+
CallFiltered: AugmentedError<ApiType>;
|
|
961
|
+
/**
|
|
962
|
+
* Failed to extract the runtime version from the new runtime.
|
|
963
|
+
*
|
|
964
|
+
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
965
|
+
**/
|
|
966
|
+
FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
|
|
967
|
+
/**
|
|
968
|
+
* The name of specification does not match between the current runtime
|
|
969
|
+
* and the new runtime.
|
|
970
|
+
**/
|
|
971
|
+
InvalidSpecName: AugmentedError<ApiType>;
|
|
972
|
+
/**
|
|
973
|
+
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
|
974
|
+
**/
|
|
975
|
+
MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
|
|
976
|
+
/**
|
|
977
|
+
* Suicide called when the account has non-default composite data.
|
|
978
|
+
**/
|
|
979
|
+
NonDefaultComposite: AugmentedError<ApiType>;
|
|
980
|
+
/**
|
|
981
|
+
* There is a non-zero reference count preventing the account from being purged.
|
|
982
|
+
**/
|
|
983
|
+
NonZeroRefCount: AugmentedError<ApiType>;
|
|
984
|
+
/**
|
|
985
|
+
* No upgrade authorized.
|
|
986
|
+
**/
|
|
987
|
+
NothingAuthorized: AugmentedError<ApiType>;
|
|
988
|
+
/**
|
|
989
|
+
* The specification version is not allowed to decrease between the current runtime
|
|
990
|
+
* and the new runtime.
|
|
991
|
+
**/
|
|
992
|
+
SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
|
|
993
|
+
/**
|
|
994
|
+
* The submitted code is not authorized.
|
|
995
|
+
**/
|
|
996
|
+
Unauthorized: AugmentedError<ApiType>;
|
|
997
|
+
};
|
|
998
|
+
ticks: {};
|
|
999
|
+
treasury: {
|
|
1000
|
+
/**
|
|
1001
|
+
* The bond lot is already scheduled for release.
|
|
1002
|
+
**/
|
|
1003
|
+
BondLotAlreadyReleasing: AugmentedError<ApiType>;
|
|
1004
|
+
/**
|
|
1005
|
+
* The bond lot could not be found.
|
|
1006
|
+
**/
|
|
1007
|
+
BondLotNotFound: AugmentedError<ApiType>;
|
|
1008
|
+
/**
|
|
1009
|
+
* The vault doesn't have enough bitcoin security to support this bond purchase
|
|
1010
|
+
**/
|
|
1011
|
+
BondPurchaseAboveSecurity: AugmentedError<ApiType>;
|
|
1012
|
+
/**
|
|
1013
|
+
* The purchase is below the minimum amount.
|
|
1014
|
+
**/
|
|
1015
|
+
BondPurchaseBelowMinimum: AugmentedError<ApiType>;
|
|
1016
|
+
/**
|
|
1017
|
+
* The purchase would not enter the vault's accepted list.
|
|
1018
|
+
**/
|
|
1019
|
+
BondPurchaseRejected: AugmentedError<ApiType>;
|
|
1020
|
+
/**
|
|
1021
|
+
* An internal error occurred.
|
|
1022
|
+
**/
|
|
1023
|
+
InternalError: AugmentedError<ApiType>;
|
|
1024
|
+
/**
|
|
1025
|
+
* The vault already has the maximum number of accepted bond lots.
|
|
1026
|
+
**/
|
|
1027
|
+
MaxAcceptedBondLotsExceeded: AugmentedError<ApiType>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Too many bond lot releases are scheduled for the same frame.
|
|
1030
|
+
**/
|
|
1031
|
+
MaxPendingBondReleasesExceeded: AugmentedError<ApiType>;
|
|
1032
|
+
/**
|
|
1033
|
+
* The caller does not own the bond lot.
|
|
1034
|
+
**/
|
|
1035
|
+
NotBondLotOwner: AugmentedError<ApiType>;
|
|
1036
|
+
/**
|
|
1037
|
+
* The vault is not accepting bond purchases.
|
|
1038
|
+
**/
|
|
1039
|
+
VaultNotAcceptingBondPurchases: AugmentedError<ApiType>;
|
|
1040
|
+
};
|
|
1041
|
+
txPause: {
|
|
1042
|
+
/**
|
|
1043
|
+
* The call is paused.
|
|
1044
|
+
**/
|
|
1045
|
+
IsPaused: AugmentedError<ApiType>;
|
|
1046
|
+
/**
|
|
1047
|
+
* The call is unpaused.
|
|
1048
|
+
**/
|
|
1049
|
+
IsUnpaused: AugmentedError<ApiType>;
|
|
1050
|
+
NotFound: AugmentedError<ApiType>;
|
|
1051
|
+
/**
|
|
1052
|
+
* The call is whitelisted and cannot be paused.
|
|
1053
|
+
**/
|
|
1054
|
+
Unpausable: AugmentedError<ApiType>;
|
|
1055
|
+
};
|
|
1056
|
+
utility: {
|
|
1057
|
+
/**
|
|
1058
|
+
* Too many calls batched.
|
|
1059
|
+
**/
|
|
1060
|
+
TooManyCalls: AugmentedError<ApiType>;
|
|
1061
|
+
};
|
|
1062
|
+
vaults: {
|
|
1063
|
+
/**
|
|
1064
|
+
* An account may only be associated with a single vault
|
|
1065
|
+
**/
|
|
1066
|
+
AccountAlreadyHasVault: AugmentedError<ApiType>;
|
|
1067
|
+
/**
|
|
1068
|
+
* The proposed transaction would take the account below the minimum (existential) balance
|
|
1069
|
+
**/
|
|
1070
|
+
AccountBelowMinimumBalance: AugmentedError<ApiType>;
|
|
1071
|
+
/**
|
|
1072
|
+
* Bitcoin conversion to compressed pubkey failed
|
|
1073
|
+
**/
|
|
1074
|
+
BitcoinConversionFailed: AugmentedError<ApiType>;
|
|
1075
|
+
/**
|
|
1076
|
+
* A funding change is already scheduled
|
|
1077
|
+
**/
|
|
1078
|
+
FundingChangeAlreadyScheduled: AugmentedError<ApiType>;
|
|
1079
|
+
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
1080
|
+
/**
|
|
1081
|
+
* The user doesn't have enough funds to complete this request
|
|
1082
|
+
**/
|
|
1083
|
+
InsufficientFunds: AugmentedError<ApiType>;
|
|
1084
|
+
/**
|
|
1085
|
+
* There aren't enough funds in the vault to cover the requested bitcoin lock
|
|
1086
|
+
**/
|
|
1087
|
+
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
1088
|
+
/**
|
|
1089
|
+
* An internal processing error occurred
|
|
1090
|
+
**/
|
|
1091
|
+
InternalError: AugmentedError<ApiType>;
|
|
1092
|
+
/**
|
|
1093
|
+
* The bitcoin script to lock this bitcoin has errors
|
|
1094
|
+
**/
|
|
1095
|
+
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
1096
|
+
/**
|
|
1097
|
+
* An invalid securitization percent was provided for the vault. NOTE: it cannot be
|
|
1098
|
+
* decreased (or negative)
|
|
1099
|
+
**/
|
|
1100
|
+
InvalidSecuritization: AugmentedError<ApiType>;
|
|
1101
|
+
/**
|
|
1102
|
+
* Funding would result in an overflow of the balance type
|
|
1103
|
+
**/
|
|
1104
|
+
InvalidVaultAmount: AugmentedError<ApiType>;
|
|
1105
|
+
/**
|
|
1106
|
+
* Vault names must start with an uppercase ASCII letter and otherwise be ASCII
|
|
1107
|
+
* alphanumeric.
|
|
1108
|
+
**/
|
|
1109
|
+
InvalidVaultName: AugmentedError<ApiType>;
|
|
1110
|
+
/**
|
|
1111
|
+
* Unable to decode xpubkey
|
|
1112
|
+
**/
|
|
1113
|
+
InvalidXpubkey: AugmentedError<ApiType>;
|
|
1114
|
+
/**
|
|
1115
|
+
* Internally, the vault ids are maxed out
|
|
1116
|
+
**/
|
|
1117
|
+
NoMoreVaultIds: AugmentedError<ApiType>;
|
|
1118
|
+
NoPermissions: AugmentedError<ApiType>;
|
|
1119
|
+
/**
|
|
1120
|
+
* No Vault public keys are available
|
|
1121
|
+
**/
|
|
1122
|
+
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
1123
|
+
/**
|
|
1124
|
+
* A vault must clear out all pending cosigns before it can collect
|
|
1125
|
+
**/
|
|
1126
|
+
PendingCosignsBeforeCollect: AugmentedError<ApiType>;
|
|
1127
|
+
/**
|
|
1128
|
+
* A vault must clear out all pending orphan cosigns before it can collect
|
|
1129
|
+
**/
|
|
1130
|
+
PendingOrphanedUtxoCosignsBeforeCollect: AugmentedError<ApiType>;
|
|
1131
|
+
/**
|
|
1132
|
+
* The vault bitcoin xpubkey has already been used
|
|
1133
|
+
**/
|
|
1134
|
+
ReusedVaultBitcoinXpub: AugmentedError<ApiType>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Terms are already scheduled to be changed
|
|
1137
|
+
**/
|
|
1138
|
+
TermsChangeAlreadyScheduled: AugmentedError<ApiType>;
|
|
1139
|
+
/**
|
|
1140
|
+
* The terms modification list could not handle any more items
|
|
1141
|
+
**/
|
|
1142
|
+
TermsModificationOverflow: AugmentedError<ApiType>;
|
|
1143
|
+
/**
|
|
1144
|
+
* Unable to derive xpubkey child
|
|
1145
|
+
**/
|
|
1146
|
+
UnableToDeriveVaultXpubChild: AugmentedError<ApiType>;
|
|
1147
|
+
/**
|
|
1148
|
+
* Unable to generate a new vault bitcoin pubkey
|
|
1149
|
+
**/
|
|
1150
|
+
UnableToGenerateVaultBitcoinPubkey: AugmentedError<ApiType>;
|
|
1151
|
+
UnrecoverableHold: AugmentedError<ApiType>;
|
|
1152
|
+
/**
|
|
1153
|
+
* The XPub is unsafe to use in a public blockchain (aka, unhardened)
|
|
1154
|
+
**/
|
|
1155
|
+
UnsafeXpubkey: AugmentedError<ApiType>;
|
|
1156
|
+
/**
|
|
1157
|
+
* This vault is closed
|
|
1158
|
+
**/
|
|
1159
|
+
VaultClosed: AugmentedError<ApiType>;
|
|
1160
|
+
VaultNotFound: AugmentedError<ApiType>;
|
|
1161
|
+
/**
|
|
1162
|
+
* The vault is not yet active
|
|
1163
|
+
**/
|
|
1164
|
+
VaultNotYetActive: AugmentedError<ApiType>;
|
|
1165
|
+
/**
|
|
1166
|
+
* This reduction in vault securitization goes below the amount already committed
|
|
1167
|
+
**/
|
|
1168
|
+
VaultReductionBelowSecuritization: AugmentedError<ApiType>;
|
|
1169
|
+
/**
|
|
1170
|
+
* Wrong Xpub Network
|
|
1171
|
+
**/
|
|
1172
|
+
WrongXpubNetwork: AugmentedError<ApiType>;
|
|
1173
|
+
};
|
|
1174
|
+
} // AugmentedErrors
|
|
1175
|
+
} // declare module
|