@argonprotocol/mainchain 1.0.18 → 1.1.0-rc.2
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 +110 -3
- package/lib/cli.cjs +3078 -0
- package/lib/cli.cjs.map +1 -0
- package/lib/cli.d.cts +1 -0
- package/lib/cli.d.ts +1 -0
- package/lib/cli.js +3073 -0
- package/lib/cli.js.map +1 -0
- package/lib/clis/index.cjs +3097 -0
- package/lib/clis/index.cjs.map +1 -0
- package/lib/clis/index.d.cts +26 -0
- package/lib/clis/index.d.ts +26 -0
- package/lib/clis/index.js +3077 -0
- package/lib/clis/index.js.map +1 -0
- package/lib/index.cjs +2402 -0
- package/lib/index.cjs.map +1 -0
- package/lib/index.d.cts +11542 -0
- package/lib/index.d.ts +11542 -0
- package/lib/index.js +2333 -0
- package/lib/index.js.map +1 -0
- package/lib/test-utils/index.cjs +2933 -0
- package/lib/test-utils/index.cjs.map +1 -0
- package/lib/test-utils/index.d.cts +180 -0
- package/lib/test-utils/index.d.ts +180 -0
- package/lib/test-utils/index.js +2915 -0
- package/lib/test-utils/index.js.map +1 -0
- package/package.json +50 -45
- package/lib/cjs/WageProtector.d.ts +0 -37
- package/lib/cjs/WageProtector.js +0 -64
- package/lib/cjs/WageProtector.js.map +0 -1
- package/lib/cjs/__test__/WageProtector.test.d.ts +0 -1
- package/lib/cjs/__test__/WageProtector.test.js +0 -28
- package/lib/cjs/__test__/WageProtector.test.js.map +0 -1
- package/lib/cjs/examples/decodePkcs.d.ts +0 -1
- package/lib/cjs/examples/decodePkcs.js +0 -48
- package/lib/cjs/examples/decodePkcs.js.map +0 -1
- package/lib/cjs/examples/findSs58Formats.d.ts +0 -1
- package/lib/cjs/examples/findSs58Formats.js +0 -42
- package/lib/cjs/examples/findSs58Formats.js.map +0 -1
- package/lib/cjs/index.d.ts +0 -32
- package/lib/cjs/index.js +0 -60
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-consts.d.ts +0 -442
- package/lib/cjs/interfaces/augment-api-consts.js +0 -8
- package/lib/cjs/interfaces/augment-api-consts.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-errors.d.ts +0 -919
- package/lib/cjs/interfaces/augment-api-errors.js +0 -8
- package/lib/cjs/interfaces/augment-api-errors.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-events.d.ts +0 -1675
- package/lib/cjs/interfaces/augment-api-events.js +0 -8
- package/lib/cjs/interfaces/augment-api-events.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-query.d.ts +0 -988
- package/lib/cjs/interfaces/augment-api-query.js +0 -8
- package/lib/cjs/interfaces/augment-api-query.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-rpc.d.ts +0 -683
- package/lib/cjs/interfaces/augment-api-rpc.js +0 -8
- package/lib/cjs/interfaces/augment-api-rpc.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-runtime.d.ts +0 -204
- package/lib/cjs/interfaces/augment-api-runtime.js +0 -8
- package/lib/cjs/interfaces/augment-api-runtime.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-tx.d.ts +0 -1605
- package/lib/cjs/interfaces/augment-api-tx.js +0 -8
- package/lib/cjs/interfaces/augment-api-tx.js.map +0 -1
- package/lib/cjs/interfaces/augment-api.d.ts +0 -7
- package/lib/cjs/interfaces/augment-api.js +0 -12
- package/lib/cjs/interfaces/augment-api.js.map +0 -1
- package/lib/cjs/interfaces/augment-types.d.ts +0 -1316
- package/lib/cjs/interfaces/augment-types.js +0 -8
- package/lib/cjs/interfaces/augment-types.js.map +0 -1
- package/lib/cjs/interfaces/definitions.d.ts +0 -0
- package/lib/cjs/interfaces/definitions.js +0 -2
- package/lib/cjs/interfaces/definitions.js.map +0 -1
- package/lib/cjs/interfaces/lookup.d.ts +0 -2999
- package/lib/cjs/interfaces/lookup.js +0 -3262
- package/lib/cjs/interfaces/lookup.js.map +0 -1
- package/lib/cjs/interfaces/registry.d.ts +0 -250
- package/lib/cjs/interfaces/registry.js +0 -8
- package/lib/cjs/interfaces/registry.js.map +0 -1
- package/lib/cjs/interfaces/types-lookup.d.ts +0 -2974
- package/lib/cjs/interfaces/types-lookup.js +0 -8
- package/lib/cjs/interfaces/types-lookup.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/esm/WageProtector.d.ts +0 -37
- package/lib/esm/WageProtector.js +0 -60
- package/lib/esm/WageProtector.js.map +0 -1
- package/lib/esm/__test__/WageProtector.test.d.ts +0 -1
- package/lib/esm/__test__/WageProtector.test.js +0 -26
- package/lib/esm/__test__/WageProtector.test.js.map +0 -1
- package/lib/esm/examples/decodePkcs.d.ts +0 -1
- package/lib/esm/examples/decodePkcs.js +0 -45
- package/lib/esm/examples/decodePkcs.js.map +0 -1
- package/lib/esm/examples/findSs58Formats.d.ts +0 -1
- package/lib/esm/examples/findSs58Formats.js +0 -39
- package/lib/esm/examples/findSs58Formats.js.map +0 -1
- package/lib/esm/index.d.ts +0 -32
- package/lib/esm/index.js +0 -50
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/interfaces/augment-api-consts.d.ts +0 -442
- package/lib/esm/interfaces/augment-api-consts.js +0 -6
- package/lib/esm/interfaces/augment-api-consts.js.map +0 -1
- package/lib/esm/interfaces/augment-api-errors.d.ts +0 -919
- package/lib/esm/interfaces/augment-api-errors.js +0 -6
- package/lib/esm/interfaces/augment-api-errors.js.map +0 -1
- package/lib/esm/interfaces/augment-api-events.d.ts +0 -1675
- package/lib/esm/interfaces/augment-api-events.js +0 -6
- package/lib/esm/interfaces/augment-api-events.js.map +0 -1
- package/lib/esm/interfaces/augment-api-query.d.ts +0 -988
- package/lib/esm/interfaces/augment-api-query.js +0 -6
- package/lib/esm/interfaces/augment-api-query.js.map +0 -1
- package/lib/esm/interfaces/augment-api-rpc.d.ts +0 -683
- package/lib/esm/interfaces/augment-api-rpc.js +0 -6
- package/lib/esm/interfaces/augment-api-rpc.js.map +0 -1
- package/lib/esm/interfaces/augment-api-runtime.d.ts +0 -204
- package/lib/esm/interfaces/augment-api-runtime.js +0 -6
- package/lib/esm/interfaces/augment-api-runtime.js.map +0 -1
- package/lib/esm/interfaces/augment-api-tx.d.ts +0 -1605
- package/lib/esm/interfaces/augment-api-tx.js +0 -6
- package/lib/esm/interfaces/augment-api-tx.js.map +0 -1
- package/lib/esm/interfaces/augment-api.d.ts +0 -7
- package/lib/esm/interfaces/augment-api.js +0 -10
- package/lib/esm/interfaces/augment-api.js.map +0 -1
- package/lib/esm/interfaces/augment-types.d.ts +0 -1316
- package/lib/esm/interfaces/augment-types.js +0 -6
- package/lib/esm/interfaces/augment-types.js.map +0 -1
- package/lib/esm/interfaces/definitions.d.ts +0 -0
- package/lib/esm/interfaces/definitions.js +0 -2
- package/lib/esm/interfaces/definitions.js.map +0 -1
- package/lib/esm/interfaces/lookup.d.ts +0 -2999
- package/lib/esm/interfaces/lookup.js +0 -3260
- package/lib/esm/interfaces/lookup.js.map +0 -1
- package/lib/esm/interfaces/registry.d.ts +0 -250
- package/lib/esm/interfaces/registry.js +0 -6
- package/lib/esm/interfaces/registry.js.map +0 -1
- package/lib/esm/interfaces/types-lookup.d.ts +0 -2974
- package/lib/esm/interfaces/types-lookup.js +0 -6
- package/lib/esm/interfaces/types-lookup.js.map +0 -1
- package/lib/tsconfig-cjs.tsbuildinfo +0 -1
- package/lib/tsconfig-types.tsbuildinfo +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/WageProtector.d.ts +0 -37
- package/lib/types/__test__/WageProtector.test.d.ts +0 -1
- package/lib/types/examples/decodePkcs.d.ts +0 -1
- package/lib/types/examples/findSs58Formats.d.ts +0 -1
- package/lib/types/index.d.ts +0 -32
- package/lib/types/interfaces/augment-api-consts.d.ts +0 -442
- package/lib/types/interfaces/augment-api-errors.d.ts +0 -919
- package/lib/types/interfaces/augment-api-events.d.ts +0 -1675
- package/lib/types/interfaces/augment-api-query.d.ts +0 -988
- package/lib/types/interfaces/augment-api-rpc.d.ts +0 -683
- package/lib/types/interfaces/augment-api-runtime.d.ts +0 -204
- package/lib/types/interfaces/augment-api-tx.d.ts +0 -1605
- package/lib/types/interfaces/augment-api.d.ts +0 -7
- package/lib/types/interfaces/augment-types.d.ts +0 -1316
- package/lib/types/interfaces/definitions.d.ts +0 -0
- package/lib/types/interfaces/lookup.d.ts +0 -2999
- package/lib/types/interfaces/registry.d.ts +0 -250
- package/lib/types/interfaces/types-lookup.d.ts +0 -2974
|
@@ -1,919 +0,0 @@
|
|
|
1
|
-
import '@polkadot/api-base/types/errors';
|
|
2
|
-
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
3
|
-
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
4
|
-
declare module '@polkadot/api-base/types/errors' {
|
|
5
|
-
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
6
|
-
balances: {
|
|
7
|
-
/**
|
|
8
|
-
* Beneficiary account must pre-exist.
|
|
9
|
-
**/
|
|
10
|
-
DeadAccount: AugmentedError<ApiType>;
|
|
11
|
-
/**
|
|
12
|
-
* The delta cannot be zero.
|
|
13
|
-
**/
|
|
14
|
-
DeltaZero: AugmentedError<ApiType>;
|
|
15
|
-
/**
|
|
16
|
-
* Value too low to create account due to existential deposit.
|
|
17
|
-
**/
|
|
18
|
-
ExistentialDeposit: AugmentedError<ApiType>;
|
|
19
|
-
/**
|
|
20
|
-
* A vesting schedule already exists for this account.
|
|
21
|
-
**/
|
|
22
|
-
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
23
|
-
/**
|
|
24
|
-
* Transfer/payment would kill account.
|
|
25
|
-
**/
|
|
26
|
-
Expendability: AugmentedError<ApiType>;
|
|
27
|
-
/**
|
|
28
|
-
* Balance too low to send value.
|
|
29
|
-
**/
|
|
30
|
-
InsufficientBalance: AugmentedError<ApiType>;
|
|
31
|
-
/**
|
|
32
|
-
* The issuance cannot be modified since it is already deactivated.
|
|
33
|
-
**/
|
|
34
|
-
IssuanceDeactivated: AugmentedError<ApiType>;
|
|
35
|
-
/**
|
|
36
|
-
* Account liquidity restrictions prevent withdrawal.
|
|
37
|
-
**/
|
|
38
|
-
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
39
|
-
/**
|
|
40
|
-
* Number of freezes exceed `MaxFreezes`.
|
|
41
|
-
**/
|
|
42
|
-
TooManyFreezes: AugmentedError<ApiType>;
|
|
43
|
-
/**
|
|
44
|
-
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
45
|
-
**/
|
|
46
|
-
TooManyHolds: AugmentedError<ApiType>;
|
|
47
|
-
/**
|
|
48
|
-
* Number of named reserves exceed `MaxReserves`.
|
|
49
|
-
**/
|
|
50
|
-
TooManyReserves: AugmentedError<ApiType>;
|
|
51
|
-
/**
|
|
52
|
-
* Vesting balance too high to send value.
|
|
53
|
-
**/
|
|
54
|
-
VestingBalance: AugmentedError<ApiType>;
|
|
55
|
-
};
|
|
56
|
-
bitcoinLocks: {
|
|
57
|
-
/**
|
|
58
|
-
* The proposed transaction would take the account below the minimum (existential) balance
|
|
59
|
-
**/
|
|
60
|
-
AccountWouldGoBelowMinimumBalance: AugmentedError<ApiType>;
|
|
61
|
-
/**
|
|
62
|
-
* The fee for this bitcoin release is too high
|
|
63
|
-
**/
|
|
64
|
-
BitcoinFeeTooHigh: AugmentedError<ApiType>;
|
|
65
|
-
/**
|
|
66
|
-
* The cosign signature is not valid for the bitcoin release
|
|
67
|
-
**/
|
|
68
|
-
BitcoinInvalidCosignature: AugmentedError<ApiType>;
|
|
69
|
-
/**
|
|
70
|
-
* This bitcoin pubkey couldn't be decoded for release
|
|
71
|
-
**/
|
|
72
|
-
BitcoinPubkeyUnableToBeDecoded: AugmentedError<ApiType>;
|
|
73
|
-
/**
|
|
74
|
-
* The bitcoin has passed the deadline to release it
|
|
75
|
-
**/
|
|
76
|
-
BitcoinReleaseInitiationDeadlinePassed: AugmentedError<ApiType>;
|
|
77
|
-
/**
|
|
78
|
-
* This bitcoin signature couldn't be decoded for release
|
|
79
|
-
**/
|
|
80
|
-
BitcoinSignatureUnableToBeDecoded: AugmentedError<ApiType>;
|
|
81
|
-
/**
|
|
82
|
-
* This bitcoin cosign script couldn't be decoded for release
|
|
83
|
-
**/
|
|
84
|
-
BitcoinUnableToBeDecodedForRelease: AugmentedError<ApiType>;
|
|
85
|
-
BitcoinUtxoNotFound: AugmentedError<ApiType>;
|
|
86
|
-
/**
|
|
87
|
-
* There are too many obligations expiring in the given expiration block
|
|
88
|
-
**/
|
|
89
|
-
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
90
|
-
GenericObligationError: AugmentedError<ApiType>;
|
|
91
|
-
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
92
|
-
InsufficientFunds: AugmentedError<ApiType>;
|
|
93
|
-
InsufficientSatoshisLocked: AugmentedError<ApiType>;
|
|
94
|
-
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
95
|
-
/**
|
|
96
|
-
* The bitcoin script to lock this bitcoin has errors
|
|
97
|
-
**/
|
|
98
|
-
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
99
|
-
/**
|
|
100
|
-
* Funding would result in an overflow of the balance type
|
|
101
|
-
**/
|
|
102
|
-
InvalidVaultAmount: AugmentedError<ApiType>;
|
|
103
|
-
LockNotFound: AugmentedError<ApiType>;
|
|
104
|
-
MinimumObligationAmountNotMet: AugmentedError<ApiType>;
|
|
105
|
-
NoBitcoinPricesAvailable: AugmentedError<ApiType>;
|
|
106
|
-
NoMoreObligationIds: AugmentedError<ApiType>;
|
|
107
|
-
NoPermissions: AugmentedError<ApiType>;
|
|
108
|
-
/**
|
|
109
|
-
* No Vault public keys are available
|
|
110
|
-
**/
|
|
111
|
-
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
112
|
-
ObligationNotFound: AugmentedError<ApiType>;
|
|
113
|
-
/**
|
|
114
|
-
* This bitcoin redemption has not been locked in
|
|
115
|
-
**/
|
|
116
|
-
RedemptionNotLocked: AugmentedError<ApiType>;
|
|
117
|
-
/**
|
|
118
|
-
* Unable to generate a new vault public key
|
|
119
|
-
**/
|
|
120
|
-
UnableToGenerateVaultBitcoinPubkey: AugmentedError<ApiType>;
|
|
121
|
-
UnrecoverableHold: AugmentedError<ApiType>;
|
|
122
|
-
VaultClosed: AugmentedError<ApiType>;
|
|
123
|
-
VaultNotFound: AugmentedError<ApiType>;
|
|
124
|
-
};
|
|
125
|
-
bitcoinUtxos: {
|
|
126
|
-
/**
|
|
127
|
-
* Bitcoin height not confirmed yet
|
|
128
|
-
**/
|
|
129
|
-
BitcoinHeightNotConfirmed: AugmentedError<ApiType>;
|
|
130
|
-
/**
|
|
131
|
-
* Duplicated UtxoId. Already in use
|
|
132
|
-
**/
|
|
133
|
-
DuplicateUtxoId: AugmentedError<ApiType>;
|
|
134
|
-
/**
|
|
135
|
-
* Insufficient bitcoin amount
|
|
136
|
-
**/
|
|
137
|
-
InsufficientBitcoinAmount: AugmentedError<ApiType>;
|
|
138
|
-
/**
|
|
139
|
-
* Locking script has errors
|
|
140
|
-
**/
|
|
141
|
-
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
142
|
-
/**
|
|
143
|
-
* Invalid bitcoin sync height attempted
|
|
144
|
-
**/
|
|
145
|
-
InvalidBitcoinSyncHeight: AugmentedError<ApiType>;
|
|
146
|
-
/**
|
|
147
|
-
* Too many UTXOs are being tracked
|
|
148
|
-
**/
|
|
149
|
-
MaxUtxosExceeded: AugmentedError<ApiType>;
|
|
150
|
-
/**
|
|
151
|
-
* No Oracle-provided bitcoin block has been provided to the network
|
|
152
|
-
**/
|
|
153
|
-
NoBitcoinConfirmedBlock: AugmentedError<ApiType>;
|
|
154
|
-
/**
|
|
155
|
-
* No prices are available to mint bitcoins
|
|
156
|
-
**/
|
|
157
|
-
NoBitcoinPricesAvailable: AugmentedError<ApiType>;
|
|
158
|
-
/**
|
|
159
|
-
* Only an Oracle Operator can perform this action
|
|
160
|
-
**/
|
|
161
|
-
NoPermissions: AugmentedError<ApiType>;
|
|
162
|
-
/**
|
|
163
|
-
* Redemptions not currently available
|
|
164
|
-
**/
|
|
165
|
-
RedemptionsUnavailable: AugmentedError<ApiType>;
|
|
166
|
-
/**
|
|
167
|
-
* ScriptPubKey is already being waited for
|
|
168
|
-
**/
|
|
169
|
-
ScriptPubkeyConflict: AugmentedError<ApiType>;
|
|
170
|
-
/**
|
|
171
|
-
* Locked Utxo Not Found
|
|
172
|
-
**/
|
|
173
|
-
UtxoNotLocked: AugmentedError<ApiType>;
|
|
174
|
-
};
|
|
175
|
-
blockRewards: {};
|
|
176
|
-
blockSeal: {
|
|
177
|
-
/**
|
|
178
|
-
* A block seal authority could not be properly decoded
|
|
179
|
-
**/
|
|
180
|
-
BlockSealDecodeError: AugmentedError<ApiType>;
|
|
181
|
-
/**
|
|
182
|
-
* The vote signature was invalid
|
|
183
|
-
**/
|
|
184
|
-
BlockVoteInvalidSignature: AugmentedError<ApiType>;
|
|
185
|
-
/**
|
|
186
|
-
* Could not decode the scale bytes of the votes
|
|
187
|
-
**/
|
|
188
|
-
CouldNotDecodeVote: AugmentedError<ApiType>;
|
|
189
|
-
/**
|
|
190
|
-
* Too many block seals submitted
|
|
191
|
-
**/
|
|
192
|
-
DuplicateBlockSealProvided: AugmentedError<ApiType>;
|
|
193
|
-
/**
|
|
194
|
-
* The notebook for this vote was not eligible to vote
|
|
195
|
-
**/
|
|
196
|
-
IneligibleNotebookUsed: AugmentedError<ApiType>;
|
|
197
|
-
/**
|
|
198
|
-
* The block vote did not reach the minimum voting power at time of the grandparent block
|
|
199
|
-
**/
|
|
200
|
-
InsufficientVotingPower: AugmentedError<ApiType>;
|
|
201
|
-
/**
|
|
202
|
-
* The merkle proof of vote inclusion in the notebook is invalid
|
|
203
|
-
**/
|
|
204
|
-
InvalidBlockVoteProof: AugmentedError<ApiType>;
|
|
205
|
-
/**
|
|
206
|
-
* Compute blocks cant be added in the same tick as a vote
|
|
207
|
-
**/
|
|
208
|
-
InvalidComputeBlockTick: AugmentedError<ApiType>;
|
|
209
|
-
/**
|
|
210
|
-
* Invalid fork power parent
|
|
211
|
-
**/
|
|
212
|
-
InvalidForkPowerParent: AugmentedError<ApiType>;
|
|
213
|
-
/**
|
|
214
|
-
* Vote not submitted by the right miner
|
|
215
|
-
**/
|
|
216
|
-
InvalidSubmitter: AugmentedError<ApiType>;
|
|
217
|
-
/**
|
|
218
|
-
* The block vote was not for a valid block
|
|
219
|
-
**/
|
|
220
|
-
InvalidVoteGrandparentHash: AugmentedError<ApiType>;
|
|
221
|
-
/**
|
|
222
|
-
* The strength of the given seal did not match calculations
|
|
223
|
-
**/
|
|
224
|
-
InvalidVoteSealStrength: AugmentedError<ApiType>;
|
|
225
|
-
/**
|
|
226
|
-
* Too many notebooks were submitted for the current tick. Should not be possible
|
|
227
|
-
**/
|
|
228
|
-
MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
|
|
229
|
-
/**
|
|
230
|
-
* No closest miner found for vote
|
|
231
|
-
**/
|
|
232
|
-
NoClosestMinerFoundForVote: AugmentedError<ApiType>;
|
|
233
|
-
/**
|
|
234
|
-
* The lookup to verify a vote's authenticity is not available for the given block
|
|
235
|
-
**/
|
|
236
|
-
NoEligibleVotingRoot: AugmentedError<ApiType>;
|
|
237
|
-
/**
|
|
238
|
-
* No vote minimum found at grandparent height
|
|
239
|
-
**/
|
|
240
|
-
NoGrandparentVoteMinimum: AugmentedError<ApiType>;
|
|
241
|
-
/**
|
|
242
|
-
* No registered voting key found for the parent block
|
|
243
|
-
**/
|
|
244
|
-
ParentVotingKeyNotFound: AugmentedError<ApiType>;
|
|
245
|
-
/**
|
|
246
|
-
* Could not decode the vote bytes
|
|
247
|
-
**/
|
|
248
|
-
UnableToDecodeVoteAccount: AugmentedError<ApiType>;
|
|
249
|
-
/**
|
|
250
|
-
* The block author is not a registered miner
|
|
251
|
-
**/
|
|
252
|
-
UnregisteredBlockAuthor: AugmentedError<ApiType>;
|
|
253
|
-
};
|
|
254
|
-
blockSealSpec: {
|
|
255
|
-
/**
|
|
256
|
-
* The maximum number of notebooks at the current tick has been exceeded
|
|
257
|
-
**/
|
|
258
|
-
MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
|
|
259
|
-
};
|
|
260
|
-
chainTransfer: {
|
|
261
|
-
/**
|
|
262
|
-
* Insufficient balance to create this transfer
|
|
263
|
-
**/
|
|
264
|
-
InsufficientFunds: AugmentedError<ApiType>;
|
|
265
|
-
/**
|
|
266
|
-
* Insufficient balance to fulfill a mainchain transfer
|
|
267
|
-
**/
|
|
268
|
-
InsufficientNotarizedFunds: AugmentedError<ApiType>;
|
|
269
|
-
/**
|
|
270
|
-
* The notary id is not registered
|
|
271
|
-
**/
|
|
272
|
-
InvalidNotaryUsedForTransfer: AugmentedError<ApiType>;
|
|
273
|
-
/**
|
|
274
|
-
* The transfer was already submitted in a previous block
|
|
275
|
-
**/
|
|
276
|
-
InvalidOrDuplicatedLocalchainTransfer: AugmentedError<ApiType>;
|
|
277
|
-
MaxBlockTransfersExceeded: AugmentedError<ApiType>;
|
|
278
|
-
/**
|
|
279
|
-
* A transfer was submitted in a previous block but the expiration block has passed
|
|
280
|
-
**/
|
|
281
|
-
NotebookIncludesExpiredLocalchainTransfer: AugmentedError<ApiType>;
|
|
282
|
-
};
|
|
283
|
-
digests: {
|
|
284
|
-
/**
|
|
285
|
-
* Failed to decode digests
|
|
286
|
-
**/
|
|
287
|
-
CouldNotDecodeDigest: AugmentedError<ApiType>;
|
|
288
|
-
/**
|
|
289
|
-
* Duplicate AuthorDigest found
|
|
290
|
-
**/
|
|
291
|
-
DuplicateAuthorDigest: AugmentedError<ApiType>;
|
|
292
|
-
/**
|
|
293
|
-
* Duplicate BlockVoteDigest found
|
|
294
|
-
**/
|
|
295
|
-
DuplicateBlockVoteDigest: AugmentedError<ApiType>;
|
|
296
|
-
/**
|
|
297
|
-
* Duplicate ForkPowerDigest found
|
|
298
|
-
**/
|
|
299
|
-
DuplicateForkPowerDigest: AugmentedError<ApiType>;
|
|
300
|
-
/**
|
|
301
|
-
* Duplicate NotebookDigest found
|
|
302
|
-
**/
|
|
303
|
-
DuplicateNotebookDigest: AugmentedError<ApiType>;
|
|
304
|
-
/**
|
|
305
|
-
* Duplicate ParentVotingKeyDigest found
|
|
306
|
-
**/
|
|
307
|
-
DuplicateParentVotingKeyDigest: AugmentedError<ApiType>;
|
|
308
|
-
/**
|
|
309
|
-
* Duplicate TickDigest found
|
|
310
|
-
**/
|
|
311
|
-
DuplicateTickDigest: AugmentedError<ApiType>;
|
|
312
|
-
/**
|
|
313
|
-
* Missing AuthorDigest
|
|
314
|
-
**/
|
|
315
|
-
MissingAuthorDigest: AugmentedError<ApiType>;
|
|
316
|
-
/**
|
|
317
|
-
* Missing BlockVoteDigest
|
|
318
|
-
**/
|
|
319
|
-
MissingBlockVoteDigest: AugmentedError<ApiType>;
|
|
320
|
-
/**
|
|
321
|
-
* Missing NotebookDigest
|
|
322
|
-
**/
|
|
323
|
-
MissingNotebookDigest: AugmentedError<ApiType>;
|
|
324
|
-
/**
|
|
325
|
-
* Missing ParentVotingKeyDigest
|
|
326
|
-
**/
|
|
327
|
-
MissingParentVotingKeyDigest: AugmentedError<ApiType>;
|
|
328
|
-
/**
|
|
329
|
-
* Missing TickDigest
|
|
330
|
-
**/
|
|
331
|
-
MissingTickDigest: AugmentedError<ApiType>;
|
|
332
|
-
};
|
|
333
|
-
domains: {
|
|
334
|
-
/**
|
|
335
|
-
* Error decoding account from notary
|
|
336
|
-
**/
|
|
337
|
-
AccountDecodingError: AugmentedError<ApiType>;
|
|
338
|
-
/**
|
|
339
|
-
* The domain is not registered.
|
|
340
|
-
**/
|
|
341
|
-
DomainNotRegistered: AugmentedError<ApiType>;
|
|
342
|
-
/**
|
|
343
|
-
* Failed to add to the expiring domain list
|
|
344
|
-
**/
|
|
345
|
-
FailedToAddExpiringDomain: AugmentedError<ApiType>;
|
|
346
|
-
/**
|
|
347
|
-
* Failed to add to the address history.
|
|
348
|
-
**/
|
|
349
|
-
FailedToAddToAddressHistory: AugmentedError<ApiType>;
|
|
350
|
-
/**
|
|
351
|
-
* The sender is not the owner of the domain.
|
|
352
|
-
**/
|
|
353
|
-
NotDomainOwner: AugmentedError<ApiType>;
|
|
354
|
-
};
|
|
355
|
-
grandpa: {
|
|
356
|
-
/**
|
|
357
|
-
* Attempt to signal GRANDPA change with one already pending.
|
|
358
|
-
**/
|
|
359
|
-
ChangePending: AugmentedError<ApiType>;
|
|
360
|
-
/**
|
|
361
|
-
* A given equivocation report is valid but already previously reported.
|
|
362
|
-
**/
|
|
363
|
-
DuplicateOffenceReport: AugmentedError<ApiType>;
|
|
364
|
-
/**
|
|
365
|
-
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
366
|
-
**/
|
|
367
|
-
InvalidEquivocationProof: AugmentedError<ApiType>;
|
|
368
|
-
/**
|
|
369
|
-
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
370
|
-
**/
|
|
371
|
-
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
372
|
-
/**
|
|
373
|
-
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
374
|
-
* (either paused or already pending pause).
|
|
375
|
-
**/
|
|
376
|
-
PauseFailed: AugmentedError<ApiType>;
|
|
377
|
-
/**
|
|
378
|
-
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
379
|
-
* (either live or already pending resume).
|
|
380
|
-
**/
|
|
381
|
-
ResumeFailed: AugmentedError<ApiType>;
|
|
382
|
-
/**
|
|
383
|
-
* Cannot signal forced change so soon after last.
|
|
384
|
-
**/
|
|
385
|
-
TooSoon: AugmentedError<ApiType>;
|
|
386
|
-
};
|
|
387
|
-
hyperbridge: {};
|
|
388
|
-
ismp: {
|
|
389
|
-
/**
|
|
390
|
-
* Couldn't update challenge period
|
|
391
|
-
**/
|
|
392
|
-
ChallengePeriodUpdateFailed: AugmentedError<ApiType>;
|
|
393
|
-
/**
|
|
394
|
-
* Encountered an error while creating the consensus client.
|
|
395
|
-
**/
|
|
396
|
-
ConsensusClientCreationFailed: AugmentedError<ApiType>;
|
|
397
|
-
/**
|
|
398
|
-
* Invalid ISMP message
|
|
399
|
-
**/
|
|
400
|
-
InvalidMessage: AugmentedError<ApiType>;
|
|
401
|
-
/**
|
|
402
|
-
* Requested message was not found
|
|
403
|
-
**/
|
|
404
|
-
MessageNotFound: AugmentedError<ApiType>;
|
|
405
|
-
/**
|
|
406
|
-
* Couldn't update unbonding period
|
|
407
|
-
**/
|
|
408
|
-
UnbondingPeriodUpdateFailed: AugmentedError<ApiType>;
|
|
409
|
-
};
|
|
410
|
-
miningSlot: {
|
|
411
|
-
AccountWouldBeBelowMinimum: AugmentedError<ApiType>;
|
|
412
|
-
/**
|
|
413
|
-
* The mining bid cannot be reduced
|
|
414
|
-
**/
|
|
415
|
-
BidCannotBeReduced: AugmentedError<ApiType>;
|
|
416
|
-
BidTooLow: AugmentedError<ApiType>;
|
|
417
|
-
/**
|
|
418
|
-
* Keys cannot be registered by multiple accounts
|
|
419
|
-
**/
|
|
420
|
-
CannotRegisterDuplicateKeys: AugmentedError<ApiType>;
|
|
421
|
-
CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
|
|
422
|
-
/**
|
|
423
|
-
* There are too many obligations expiring in the given expiration block
|
|
424
|
-
**/
|
|
425
|
-
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
426
|
-
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
427
|
-
InsufficientFunds: AugmentedError<ApiType>;
|
|
428
|
-
InsufficientOwnershipTokens: AugmentedError<ApiType>;
|
|
429
|
-
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
430
|
-
/**
|
|
431
|
-
* Bids must be in allowed increments
|
|
432
|
-
**/
|
|
433
|
-
InvalidBidAmount: AugmentedError<ApiType>;
|
|
434
|
-
/**
|
|
435
|
-
* Unable to decode the key format
|
|
436
|
-
**/
|
|
437
|
-
InvalidKeyFormat: AugmentedError<ApiType>;
|
|
438
|
-
MinimumObligationAmountNotMet: AugmentedError<ApiType>;
|
|
439
|
-
NoMoreObligationIds: AugmentedError<ApiType>;
|
|
440
|
-
NoPermissions: AugmentedError<ApiType>;
|
|
441
|
-
ObligationNotFound: AugmentedError<ApiType>;
|
|
442
|
-
SlotNotTakingBids: AugmentedError<ApiType>;
|
|
443
|
-
TooManyBlockRegistrants: AugmentedError<ApiType>;
|
|
444
|
-
UnrecoverableHold: AugmentedError<ApiType>;
|
|
445
|
-
VaultClosed: AugmentedError<ApiType>;
|
|
446
|
-
VaultNotFound: AugmentedError<ApiType>;
|
|
447
|
-
};
|
|
448
|
-
mint: {
|
|
449
|
-
TooManyPendingMints: 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 when attempting to cancel.
|
|
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.
|
|
482
|
-
**/
|
|
483
|
-
NotOwner: AugmentedError<ApiType>;
|
|
484
|
-
/**
|
|
485
|
-
* The sender was contained in the other signatories; it shouldn't be.
|
|
486
|
-
**/
|
|
487
|
-
SenderInSignatories: AugmentedError<ApiType>;
|
|
488
|
-
/**
|
|
489
|
-
* The signatories were provided out of order; they should be ordered.
|
|
490
|
-
**/
|
|
491
|
-
SignatoriesOutOfOrder: AugmentedError<ApiType>;
|
|
492
|
-
/**
|
|
493
|
-
* There are too few signatories in the list.
|
|
494
|
-
**/
|
|
495
|
-
TooFewSignatories: AugmentedError<ApiType>;
|
|
496
|
-
/**
|
|
497
|
-
* There are too many signatories in the list.
|
|
498
|
-
**/
|
|
499
|
-
TooManySignatories: AugmentedError<ApiType>;
|
|
500
|
-
/**
|
|
501
|
-
* A timepoint was given, yet no multisig operation is underway.
|
|
502
|
-
**/
|
|
503
|
-
UnexpectedTimepoint: AugmentedError<ApiType>;
|
|
504
|
-
/**
|
|
505
|
-
* A different timepoint was given to the multisig operation that is underway.
|
|
506
|
-
**/
|
|
507
|
-
WrongTimepoint: AugmentedError<ApiType>;
|
|
508
|
-
};
|
|
509
|
-
notaries: {
|
|
510
|
-
/**
|
|
511
|
-
* The proposed effective tick is too soon
|
|
512
|
-
**/
|
|
513
|
-
EffectiveTickTooSoon: AugmentedError<ApiType>;
|
|
514
|
-
/**
|
|
515
|
-
* The notary is invalid
|
|
516
|
-
**/
|
|
517
|
-
InvalidNotary: AugmentedError<ApiType>;
|
|
518
|
-
/**
|
|
519
|
-
* Invalid notary operator for this operation
|
|
520
|
-
**/
|
|
521
|
-
InvalidNotaryOperator: AugmentedError<ApiType>;
|
|
522
|
-
/**
|
|
523
|
-
* Maximum number of notaries exceeded
|
|
524
|
-
**/
|
|
525
|
-
MaxNotariesExceeded: AugmentedError<ApiType>;
|
|
526
|
-
/**
|
|
527
|
-
* Maximum number of proposals per block exceeded
|
|
528
|
-
**/
|
|
529
|
-
MaxProposalsPerBlockExceeded: AugmentedError<ApiType>;
|
|
530
|
-
/**
|
|
531
|
-
* An internal error has occurred. The notary ids are exhausted.
|
|
532
|
-
**/
|
|
533
|
-
NoMoreNotaryIds: AugmentedError<ApiType>;
|
|
534
|
-
/**
|
|
535
|
-
* This notary is not active, so this change cannot be made yet
|
|
536
|
-
**/
|
|
537
|
-
NotAnActiveNotary: AugmentedError<ApiType>;
|
|
538
|
-
/**
|
|
539
|
-
* The proposal to activate was not found
|
|
540
|
-
**/
|
|
541
|
-
ProposalNotFound: AugmentedError<ApiType>;
|
|
542
|
-
/**
|
|
543
|
-
* Too many internal keys
|
|
544
|
-
**/
|
|
545
|
-
TooManyKeys: AugmentedError<ApiType>;
|
|
546
|
-
};
|
|
547
|
-
notebook: {
|
|
548
|
-
/**
|
|
549
|
-
* Could not decode the scale bytes of the notebook
|
|
550
|
-
**/
|
|
551
|
-
CouldNotDecodeNotebook: AugmentedError<ApiType>;
|
|
552
|
-
/**
|
|
553
|
-
* The notebook digest was included more than once
|
|
554
|
-
**/
|
|
555
|
-
DuplicateNotebookDigest: AugmentedError<ApiType>;
|
|
556
|
-
/**
|
|
557
|
-
* This notebook has already been submitted
|
|
558
|
-
**/
|
|
559
|
-
DuplicateNotebookNumber: AugmentedError<ApiType>;
|
|
560
|
-
/**
|
|
561
|
-
* Unable to track the notebook change list
|
|
562
|
-
**/
|
|
563
|
-
InternalError: AugmentedError<ApiType>;
|
|
564
|
-
/**
|
|
565
|
-
* Invalid notary operator
|
|
566
|
-
**/
|
|
567
|
-
InvalidNotaryOperator: AugmentedError<ApiType>;
|
|
568
|
-
/**
|
|
569
|
-
* The notebook digest did not match the included notebooks
|
|
570
|
-
**/
|
|
571
|
-
InvalidNotebookDigest: AugmentedError<ApiType>;
|
|
572
|
-
/**
|
|
573
|
-
* The signature of the notebook is invalid
|
|
574
|
-
**/
|
|
575
|
-
InvalidNotebookSignature: AugmentedError<ApiType>;
|
|
576
|
-
/**
|
|
577
|
-
* Invalid notebook submission tick
|
|
578
|
-
**/
|
|
579
|
-
InvalidNotebookSubmissionTick: AugmentedError<ApiType>;
|
|
580
|
-
/**
|
|
581
|
-
* Invalid reprocess notebook
|
|
582
|
-
**/
|
|
583
|
-
InvalidReprocessNotebook: AugmentedError<ApiType>;
|
|
584
|
-
/**
|
|
585
|
-
* The secret or secret hash of the parent notebook do not match
|
|
586
|
-
**/
|
|
587
|
-
InvalidSecretProvided: AugmentedError<ApiType>;
|
|
588
|
-
/**
|
|
589
|
-
* The notebook digest was not included
|
|
590
|
-
**/
|
|
591
|
-
MissingNotebookDigest: AugmentedError<ApiType>;
|
|
592
|
-
/**
|
|
593
|
-
* Notebooks received out of order
|
|
594
|
-
**/
|
|
595
|
-
MissingNotebookNumber: AugmentedError<ApiType>;
|
|
596
|
-
/**
|
|
597
|
-
* Multiple inherents provided
|
|
598
|
-
**/
|
|
599
|
-
MultipleNotebookInherentsProvided: AugmentedError<ApiType>;
|
|
600
|
-
/**
|
|
601
|
-
* A notebook was submitted for a notary that failed audit, which is not allowed
|
|
602
|
-
**/
|
|
603
|
-
NotebookSubmittedForLockedNotary: AugmentedError<ApiType>;
|
|
604
|
-
/**
|
|
605
|
-
* A notebook was already provided at this tick
|
|
606
|
-
**/
|
|
607
|
-
NotebookTickAlreadyUsed: AugmentedError<ApiType>;
|
|
608
|
-
};
|
|
609
|
-
ownership: {
|
|
610
|
-
/**
|
|
611
|
-
* Beneficiary account must pre-exist.
|
|
612
|
-
**/
|
|
613
|
-
DeadAccount: AugmentedError<ApiType>;
|
|
614
|
-
/**
|
|
615
|
-
* The delta cannot be zero.
|
|
616
|
-
**/
|
|
617
|
-
DeltaZero: AugmentedError<ApiType>;
|
|
618
|
-
/**
|
|
619
|
-
* Value too low to create account due to existential deposit.
|
|
620
|
-
**/
|
|
621
|
-
ExistentialDeposit: AugmentedError<ApiType>;
|
|
622
|
-
/**
|
|
623
|
-
* A vesting schedule already exists for this account.
|
|
624
|
-
**/
|
|
625
|
-
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
626
|
-
/**
|
|
627
|
-
* Transfer/payment would kill account.
|
|
628
|
-
**/
|
|
629
|
-
Expendability: AugmentedError<ApiType>;
|
|
630
|
-
/**
|
|
631
|
-
* Balance too low to send value.
|
|
632
|
-
**/
|
|
633
|
-
InsufficientBalance: AugmentedError<ApiType>;
|
|
634
|
-
/**
|
|
635
|
-
* The issuance cannot be modified since it is already deactivated.
|
|
636
|
-
**/
|
|
637
|
-
IssuanceDeactivated: AugmentedError<ApiType>;
|
|
638
|
-
/**
|
|
639
|
-
* Account liquidity restrictions prevent withdrawal.
|
|
640
|
-
**/
|
|
641
|
-
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
642
|
-
/**
|
|
643
|
-
* Number of freezes exceed `MaxFreezes`.
|
|
644
|
-
**/
|
|
645
|
-
TooManyFreezes: AugmentedError<ApiType>;
|
|
646
|
-
/**
|
|
647
|
-
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
648
|
-
**/
|
|
649
|
-
TooManyHolds: AugmentedError<ApiType>;
|
|
650
|
-
/**
|
|
651
|
-
* Number of named reserves exceed `MaxReserves`.
|
|
652
|
-
**/
|
|
653
|
-
TooManyReserves: AugmentedError<ApiType>;
|
|
654
|
-
/**
|
|
655
|
-
* Vesting balance too high to send value.
|
|
656
|
-
**/
|
|
657
|
-
VestingBalance: AugmentedError<ApiType>;
|
|
658
|
-
};
|
|
659
|
-
priceIndex: {
|
|
660
|
-
/**
|
|
661
|
-
* Change in argon price is too large
|
|
662
|
-
**/
|
|
663
|
-
MaxPriceChangePerTickExceeded: AugmentedError<ApiType>;
|
|
664
|
-
/**
|
|
665
|
-
* Missing value
|
|
666
|
-
**/
|
|
667
|
-
MissingValue: AugmentedError<ApiType>;
|
|
668
|
-
/**
|
|
669
|
-
* Not authorized as an oracle operator
|
|
670
|
-
**/
|
|
671
|
-
NotAuthorizedOperator: AugmentedError<ApiType>;
|
|
672
|
-
/**
|
|
673
|
-
* The submitted prices are too old
|
|
674
|
-
**/
|
|
675
|
-
PricesTooOld: AugmentedError<ApiType>;
|
|
676
|
-
};
|
|
677
|
-
proxy: {
|
|
678
|
-
/**
|
|
679
|
-
* Account is already a proxy.
|
|
680
|
-
**/
|
|
681
|
-
Duplicate: AugmentedError<ApiType>;
|
|
682
|
-
/**
|
|
683
|
-
* Call may not be made by proxy because it may escalate its privileges.
|
|
684
|
-
**/
|
|
685
|
-
NoPermission: AugmentedError<ApiType>;
|
|
686
|
-
/**
|
|
687
|
-
* Cannot add self as proxy.
|
|
688
|
-
**/
|
|
689
|
-
NoSelfProxy: AugmentedError<ApiType>;
|
|
690
|
-
/**
|
|
691
|
-
* Proxy registration not found.
|
|
692
|
-
**/
|
|
693
|
-
NotFound: AugmentedError<ApiType>;
|
|
694
|
-
/**
|
|
695
|
-
* Sender is not a proxy of the account to be proxied.
|
|
696
|
-
**/
|
|
697
|
-
NotProxy: AugmentedError<ApiType>;
|
|
698
|
-
/**
|
|
699
|
-
* There are too many proxies registered or too many announcements pending.
|
|
700
|
-
**/
|
|
701
|
-
TooMany: AugmentedError<ApiType>;
|
|
702
|
-
/**
|
|
703
|
-
* Announcement, if made at all, was made too recently.
|
|
704
|
-
**/
|
|
705
|
-
Unannounced: AugmentedError<ApiType>;
|
|
706
|
-
/**
|
|
707
|
-
* A call which is incompatible with the proxy type's filter was attempted.
|
|
708
|
-
**/
|
|
709
|
-
Unproxyable: AugmentedError<ApiType>;
|
|
710
|
-
};
|
|
711
|
-
sudo: {
|
|
712
|
-
/**
|
|
713
|
-
* Sender must be the Sudo account.
|
|
714
|
-
**/
|
|
715
|
-
RequireSudo: AugmentedError<ApiType>;
|
|
716
|
-
};
|
|
717
|
-
system: {
|
|
718
|
-
/**
|
|
719
|
-
* The origin filter prevent the call to be dispatched.
|
|
720
|
-
**/
|
|
721
|
-
CallFiltered: AugmentedError<ApiType>;
|
|
722
|
-
/**
|
|
723
|
-
* Failed to extract the runtime version from the new runtime.
|
|
724
|
-
*
|
|
725
|
-
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
726
|
-
**/
|
|
727
|
-
FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
|
|
728
|
-
/**
|
|
729
|
-
* The name of specification does not match between the current runtime
|
|
730
|
-
* and the new runtime.
|
|
731
|
-
**/
|
|
732
|
-
InvalidSpecName: AugmentedError<ApiType>;
|
|
733
|
-
/**
|
|
734
|
-
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
|
735
|
-
**/
|
|
736
|
-
MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
|
|
737
|
-
/**
|
|
738
|
-
* Suicide called when the account has non-default composite data.
|
|
739
|
-
**/
|
|
740
|
-
NonDefaultComposite: AugmentedError<ApiType>;
|
|
741
|
-
/**
|
|
742
|
-
* There is a non-zero reference count preventing the account from being purged.
|
|
743
|
-
**/
|
|
744
|
-
NonZeroRefCount: AugmentedError<ApiType>;
|
|
745
|
-
/**
|
|
746
|
-
* No upgrade authorized.
|
|
747
|
-
**/
|
|
748
|
-
NothingAuthorized: AugmentedError<ApiType>;
|
|
749
|
-
/**
|
|
750
|
-
* The specification version is not allowed to decrease between the current runtime
|
|
751
|
-
* and the new runtime.
|
|
752
|
-
**/
|
|
753
|
-
SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
|
|
754
|
-
/**
|
|
755
|
-
* The submitted code is not authorized.
|
|
756
|
-
**/
|
|
757
|
-
Unauthorized: AugmentedError<ApiType>;
|
|
758
|
-
};
|
|
759
|
-
ticks: {};
|
|
760
|
-
tokenGateway: {
|
|
761
|
-
/**
|
|
762
|
-
* Asset Id creation failed
|
|
763
|
-
**/
|
|
764
|
-
AssetCreationError: AugmentedError<ApiType>;
|
|
765
|
-
/**
|
|
766
|
-
* Asset decimals not found
|
|
767
|
-
**/
|
|
768
|
-
AssetDecimalsNotFound: AugmentedError<ApiType>;
|
|
769
|
-
/**
|
|
770
|
-
* Error while teleporting asset
|
|
771
|
-
**/
|
|
772
|
-
AssetTeleportError: AugmentedError<ApiType>;
|
|
773
|
-
/**
|
|
774
|
-
* Coprocessor was not configured in the runtime
|
|
775
|
-
**/
|
|
776
|
-
CoprocessorNotConfigured: AugmentedError<ApiType>;
|
|
777
|
-
/**
|
|
778
|
-
* Asset or update Dispatch Error
|
|
779
|
-
**/
|
|
780
|
-
DispatchError: AugmentedError<ApiType>;
|
|
781
|
-
/**
|
|
782
|
-
* Only root or asset owner can update asset
|
|
783
|
-
**/
|
|
784
|
-
NotAssetOwner: AugmentedError<ApiType>;
|
|
785
|
-
/**
|
|
786
|
-
* Protocol Params have not been initialized
|
|
787
|
-
**/
|
|
788
|
-
NotInitialized: AugmentedError<ApiType>;
|
|
789
|
-
/**
|
|
790
|
-
* Unknown Asset
|
|
791
|
-
**/
|
|
792
|
-
UnknownAsset: AugmentedError<ApiType>;
|
|
793
|
-
/**
|
|
794
|
-
* A asset that has not been registered
|
|
795
|
-
**/
|
|
796
|
-
UnregisteredAsset: AugmentedError<ApiType>;
|
|
797
|
-
};
|
|
798
|
-
txPause: {
|
|
799
|
-
/**
|
|
800
|
-
* The call is paused.
|
|
801
|
-
**/
|
|
802
|
-
IsPaused: AugmentedError<ApiType>;
|
|
803
|
-
/**
|
|
804
|
-
* The call is unpaused.
|
|
805
|
-
**/
|
|
806
|
-
IsUnpaused: AugmentedError<ApiType>;
|
|
807
|
-
NotFound: AugmentedError<ApiType>;
|
|
808
|
-
/**
|
|
809
|
-
* The call is whitelisted and cannot be paused.
|
|
810
|
-
**/
|
|
811
|
-
Unpausable: AugmentedError<ApiType>;
|
|
812
|
-
};
|
|
813
|
-
utility: {
|
|
814
|
-
/**
|
|
815
|
-
* Too many calls batched.
|
|
816
|
-
**/
|
|
817
|
-
TooManyCalls: AugmentedError<ApiType>;
|
|
818
|
-
};
|
|
819
|
-
vaults: {
|
|
820
|
-
/**
|
|
821
|
-
* The proposed transaction would take the account below the minimum (existential) balance
|
|
822
|
-
**/
|
|
823
|
-
AccountBelowMinimumBalance: AugmentedError<ApiType>;
|
|
824
|
-
/**
|
|
825
|
-
* Too many base fee maturations were inserted per tick
|
|
826
|
-
**/
|
|
827
|
-
BaseFeeOverflow: AugmentedError<ApiType>;
|
|
828
|
-
/**
|
|
829
|
-
* Bitcoin conversion to compressed pubkey failed
|
|
830
|
-
**/
|
|
831
|
-
BitcoinConversionFailed: AugmentedError<ApiType>;
|
|
832
|
-
/**
|
|
833
|
-
* There are too many obligations expiring in the given expiration block
|
|
834
|
-
**/
|
|
835
|
-
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
836
|
-
/**
|
|
837
|
-
* A funding change is already scheduled
|
|
838
|
-
**/
|
|
839
|
-
FundingChangeAlreadyScheduled: AugmentedError<ApiType>;
|
|
840
|
-
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
841
|
-
InsufficientFunds: AugmentedError<ApiType>;
|
|
842
|
-
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
843
|
-
/**
|
|
844
|
-
* An internal processing error occurred
|
|
845
|
-
**/
|
|
846
|
-
InternalError: AugmentedError<ApiType>;
|
|
847
|
-
/**
|
|
848
|
-
* The bitcoin script to lock this bitcoin has errors
|
|
849
|
-
**/
|
|
850
|
-
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
851
|
-
/**
|
|
852
|
-
* An invalid securitization percent was provided for the vault. NOTE: it cannot be
|
|
853
|
-
* decreased (or negative)
|
|
854
|
-
**/
|
|
855
|
-
InvalidSecuritization: AugmentedError<ApiType>;
|
|
856
|
-
/**
|
|
857
|
-
* Funding would result in an overflow of the balance type
|
|
858
|
-
**/
|
|
859
|
-
InvalidVaultAmount: AugmentedError<ApiType>;
|
|
860
|
-
/**
|
|
861
|
-
* Unable to decode xpubkey
|
|
862
|
-
**/
|
|
863
|
-
InvalidXpubkey: AugmentedError<ApiType>;
|
|
864
|
-
MinimumObligationAmountNotMet: AugmentedError<ApiType>;
|
|
865
|
-
NoMoreObligationIds: AugmentedError<ApiType>;
|
|
866
|
-
NoMoreVaultIds: AugmentedError<ApiType>;
|
|
867
|
-
NoPermissions: AugmentedError<ApiType>;
|
|
868
|
-
/**
|
|
869
|
-
* No Vault public keys are available
|
|
870
|
-
**/
|
|
871
|
-
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
872
|
-
/**
|
|
873
|
-
* An error occurred processing an obligation completion
|
|
874
|
-
**/
|
|
875
|
-
ObligationCompletionError: AugmentedError<ApiType>;
|
|
876
|
-
ObligationNotFound: AugmentedError<ApiType>;
|
|
877
|
-
/**
|
|
878
|
-
* The vault bitcoin xpubkey has already been used
|
|
879
|
-
**/
|
|
880
|
-
ReusedVaultBitcoinXpub: AugmentedError<ApiType>;
|
|
881
|
-
/**
|
|
882
|
-
* Terms are already scheduled to be changed
|
|
883
|
-
**/
|
|
884
|
-
TermsChangeAlreadyScheduled: AugmentedError<ApiType>;
|
|
885
|
-
/**
|
|
886
|
-
* The terms modification list could not handle any more items
|
|
887
|
-
**/
|
|
888
|
-
TermsModificationOverflow: AugmentedError<ApiType>;
|
|
889
|
-
/**
|
|
890
|
-
* Unable to derive xpubkey child
|
|
891
|
-
**/
|
|
892
|
-
UnableToDeriveVaultXpubChild: AugmentedError<ApiType>;
|
|
893
|
-
/**
|
|
894
|
-
* Unable to generate a new vault bitcoin pubkey
|
|
895
|
-
**/
|
|
896
|
-
UnableToGenerateVaultBitcoinPubkey: AugmentedError<ApiType>;
|
|
897
|
-
UnrecoverableHold: AugmentedError<ApiType>;
|
|
898
|
-
/**
|
|
899
|
-
* The XPub is unsafe to use in a public blockchain (aka, unhardened)
|
|
900
|
-
**/
|
|
901
|
-
UnsafeXpubkey: AugmentedError<ApiType>;
|
|
902
|
-
VaultClosed: AugmentedError<ApiType>;
|
|
903
|
-
VaultNotFound: AugmentedError<ApiType>;
|
|
904
|
-
/**
|
|
905
|
-
* The vault is not yet active
|
|
906
|
-
**/
|
|
907
|
-
VaultNotYetActive: AugmentedError<ApiType>;
|
|
908
|
-
/**
|
|
909
|
-
* This reduction in obligation funds offered goes below the amount that is already
|
|
910
|
-
* committed to
|
|
911
|
-
**/
|
|
912
|
-
VaultReductionBelowAllocatedFunds: AugmentedError<ApiType>;
|
|
913
|
-
/**
|
|
914
|
-
* Wrong Xpub Network
|
|
915
|
-
**/
|
|
916
|
-
WrongXpubNetwork: AugmentedError<ApiType>;
|
|
917
|
-
};
|
|
918
|
-
}
|
|
919
|
-
}
|