@argonprotocol/mainchain 1.0.8 → 1.0.10
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/lib/cjs/interfaces/augment-api-consts.d.ts +57 -57
- package/lib/cjs/interfaces/augment-api-errors.d.ts +91 -106
- package/lib/cjs/interfaces/augment-api-events.d.ts +108 -102
- package/lib/cjs/interfaces/augment-api-query.d.ts +76 -52
- package/lib/cjs/interfaces/augment-api-tx.d.ts +71 -55
- package/lib/cjs/interfaces/lookup.d.ts +234 -206
- package/lib/cjs/interfaces/lookup.js +250 -222
- package/lib/cjs/interfaces/lookup.js.map +1 -1
- package/lib/cjs/interfaces/registry.d.ts +15 -14
- package/lib/cjs/interfaces/types-lookup.d.ts +276 -251
- package/lib/esm/interfaces/augment-api-consts.d.ts +57 -57
- package/lib/esm/interfaces/augment-api-errors.d.ts +91 -106
- package/lib/esm/interfaces/augment-api-events.d.ts +108 -102
- package/lib/esm/interfaces/augment-api-query.d.ts +76 -52
- package/lib/esm/interfaces/augment-api-tx.d.ts +71 -55
- package/lib/esm/interfaces/lookup.d.ts +234 -206
- package/lib/esm/interfaces/lookup.js +250 -222
- package/lib/esm/interfaces/lookup.js.map +1 -1
- package/lib/esm/interfaces/registry.d.ts +15 -14
- package/lib/esm/interfaces/types-lookup.d.ts +276 -251
- package/lib/tsconfig-cjs.tsbuildinfo +1 -1
- package/lib/tsconfig-types.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/interfaces/augment-api-consts.d.ts +57 -57
- package/lib/types/interfaces/augment-api-errors.d.ts +91 -106
- package/lib/types/interfaces/augment-api-events.d.ts +108 -102
- package/lib/types/interfaces/augment-api-query.d.ts +76 -52
- package/lib/types/interfaces/augment-api-tx.d.ts +71 -55
- package/lib/types/interfaces/lookup.d.ts +234 -206
- package/lib/types/interfaces/registry.d.ts +15 -14
- package/lib/types/interfaces/types-lookup.d.ts +276 -251
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/consts';
|
|
2
2
|
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
|
3
|
-
import type { u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
|
+
import type { bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { Percent } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight } from '@polkadot/types/lookup';
|
|
@@ -37,6 +37,29 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
37
37
|
**/
|
|
38
38
|
maxReserves: u32 & AugmentedConst<ApiType>;
|
|
39
39
|
};
|
|
40
|
+
bitcoinLocks: {
|
|
41
|
+
/**
|
|
42
|
+
* Argon blocks per day
|
|
43
|
+
**/
|
|
44
|
+
argonTicksPerDay: u64 & AugmentedConst<ApiType>;
|
|
45
|
+
/**
|
|
46
|
+
* The number of bitcoin blocks a bitcoin is locked for
|
|
47
|
+
**/
|
|
48
|
+
lockDurationBlocks: u64 & AugmentedConst<ApiType>;
|
|
49
|
+
/**
|
|
50
|
+
* The bitcoin blocks after an obligation expires which the vault will be allowed to claim
|
|
51
|
+
* a bitcoin
|
|
52
|
+
**/
|
|
53
|
+
lockReclamationBlocks: u64 & AugmentedConst<ApiType>;
|
|
54
|
+
/**
|
|
55
|
+
* Number of bitcoin blocks a vault has to counter-sign a bitcoin release
|
|
56
|
+
**/
|
|
57
|
+
lockReleaseCosignDeadlineBlocks: u64 & AugmentedConst<ApiType>;
|
|
58
|
+
/**
|
|
59
|
+
* Maximum releasing utxos at a time
|
|
60
|
+
**/
|
|
61
|
+
maxConcurrentlyReleasingLocks: u32 & AugmentedConst<ApiType>;
|
|
62
|
+
};
|
|
40
63
|
bitcoinUtxos: {
|
|
41
64
|
/**
|
|
42
65
|
* Maximum bitcoin blocks to watch a Utxo for confirmation before canceling
|
|
@@ -49,17 +72,17 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
49
72
|
};
|
|
50
73
|
blockRewards: {
|
|
51
74
|
/**
|
|
52
|
-
* The
|
|
75
|
+
* The tick number at which the halving begins for ownership tokens
|
|
53
76
|
**/
|
|
54
|
-
|
|
77
|
+
halvingBeginTick: u64 & AugmentedConst<ApiType>;
|
|
55
78
|
/**
|
|
56
|
-
* Number of
|
|
79
|
+
* Number of ticks for halving of ownership share rewards
|
|
57
80
|
**/
|
|
58
|
-
|
|
81
|
+
halvingTicks: u64 & AugmentedConst<ApiType>;
|
|
59
82
|
/**
|
|
60
83
|
* The growth path for both ownership and argons before halving
|
|
61
84
|
**/
|
|
62
|
-
incrementalGrowth: ITuple<[u128,
|
|
85
|
+
incrementalGrowth: ITuple<[u128, u64, u128]> & AugmentedConst<ApiType>;
|
|
63
86
|
/**
|
|
64
87
|
* Blocks until a block reward is mature
|
|
65
88
|
**/
|
|
@@ -100,38 +123,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
100
123
|
**/
|
|
101
124
|
targetBlockVotes: u128 & AugmentedConst<ApiType>;
|
|
102
125
|
};
|
|
103
|
-
bonds: {
|
|
104
|
-
/**
|
|
105
|
-
* Argon blocks per day
|
|
106
|
-
**/
|
|
107
|
-
argonBlocksPerDay: u32 & AugmentedConst<ApiType>;
|
|
108
|
-
/**
|
|
109
|
-
* The number of bitcoin blocks a bitcoin bond is locked for
|
|
110
|
-
**/
|
|
111
|
-
bitcoinBondDurationBlocks: u64 & AugmentedConst<ApiType>;
|
|
112
|
-
/**
|
|
113
|
-
* The bitcoin blocks after a bond expires which the vault will be allowed to claim a
|
|
114
|
-
* bitcoin
|
|
115
|
-
**/
|
|
116
|
-
bitcoinBondReclamationBlocks: u64 & AugmentedConst<ApiType>;
|
|
117
|
-
/**
|
|
118
|
-
* Pallet storage requires bounds, so we have to set a maximum number that can expire in a
|
|
119
|
-
* single block
|
|
120
|
-
**/
|
|
121
|
-
maxConcurrentlyExpiringBonds: u32 & AugmentedConst<ApiType>;
|
|
122
|
-
/**
|
|
123
|
-
* Maximum unlocking utxos at a time
|
|
124
|
-
**/
|
|
125
|
-
maxUnlockingUtxos: u32 & AugmentedConst<ApiType>;
|
|
126
|
-
/**
|
|
127
|
-
* Minimum amount for a bond
|
|
128
|
-
**/
|
|
129
|
-
minimumBondAmount: u128 & AugmentedConst<ApiType>;
|
|
130
|
-
/**
|
|
131
|
-
* Number of bitcoin blocks a vault has to counter-sign a bitcoin unlock
|
|
132
|
-
**/
|
|
133
|
-
utxoUnlockCosignDeadlineBlocks: u64 & AugmentedConst<ApiType>;
|
|
134
|
-
};
|
|
135
126
|
chainTransfer: {
|
|
136
127
|
/**
|
|
137
128
|
* How many transfers out can be queued per block
|
|
@@ -164,29 +155,29 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
164
155
|
maxSetIdSessionEntries: u64 & AugmentedConst<ApiType>;
|
|
165
156
|
};
|
|
166
157
|
miningSlot: {
|
|
158
|
+
/**
|
|
159
|
+
* The max percent swing for the argonots per slot (from the last percent
|
|
160
|
+
**/
|
|
161
|
+
argonotsPercentAdjustmentDamper: u128 & AugmentedConst<ApiType>;
|
|
167
162
|
/**
|
|
168
163
|
* How many new miners can be in the cohort for each slot
|
|
169
164
|
**/
|
|
170
165
|
maxCohortSize: u32 & AugmentedConst<ApiType>;
|
|
171
166
|
/**
|
|
172
|
-
* The maximum percent of
|
|
173
|
-
*
|
|
167
|
+
* The maximum percent of argonots in the network that should be required for
|
|
168
|
+
* mining seats
|
|
174
169
|
**/
|
|
175
|
-
|
|
170
|
+
maximumArgonotProrataPercent: Percent & AugmentedConst<ApiType>;
|
|
176
171
|
/**
|
|
177
172
|
* The maximum number of Miners that the pallet can hold.
|
|
178
173
|
**/
|
|
179
174
|
maxMiners: u32 & AugmentedConst<ApiType>;
|
|
180
175
|
/**
|
|
181
|
-
* The minimum
|
|
176
|
+
* The minimum argonots needed per seat
|
|
182
177
|
**/
|
|
183
|
-
|
|
178
|
+
minimumArgonotsPerSeat: u128 & AugmentedConst<ApiType>;
|
|
184
179
|
/**
|
|
185
|
-
* The
|
|
186
|
-
**/
|
|
187
|
-
ownershipPercentAdjustmentDamper: u128 & AugmentedConst<ApiType>;
|
|
188
|
-
/**
|
|
189
|
-
* The target number of bids per slot. This will adjust the ownership bond amount up or
|
|
180
|
+
* The target number of bids per slot. This will adjust the argonots per seat up or
|
|
190
181
|
* down to ensure mining slots are filled.
|
|
191
182
|
**/
|
|
192
183
|
targetBidsPerSlot: u32 & AugmentedConst<ApiType>;
|
|
@@ -417,27 +408,36 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
417
408
|
};
|
|
418
409
|
vaults: {
|
|
419
410
|
/**
|
|
420
|
-
*
|
|
411
|
+
* Is reward sharing enabled
|
|
412
|
+
**/
|
|
413
|
+
enableRewardSharing: bool & AugmentedConst<ApiType>;
|
|
414
|
+
/**
|
|
415
|
+
* Pallet storage requires bounds, so we have to set a maximum number that can expire in a
|
|
416
|
+
* single block
|
|
421
417
|
**/
|
|
422
|
-
|
|
418
|
+
maxConcurrentlyExpiringObligations: u32 & AugmentedConst<ApiType>;
|
|
423
419
|
/**
|
|
424
420
|
* The max pending vault term changes per block
|
|
425
421
|
**/
|
|
426
|
-
|
|
422
|
+
maxPendingTermModificationsPerTick: u32 & AugmentedConst<ApiType>;
|
|
427
423
|
/**
|
|
428
|
-
* Minimum amount for
|
|
424
|
+
* Minimum amount for an obligation
|
|
429
425
|
**/
|
|
430
|
-
|
|
426
|
+
minimumObligationAmount: u128 & AugmentedConst<ApiType>;
|
|
431
427
|
/**
|
|
432
|
-
* The number of
|
|
428
|
+
* The number of ticks that a funding change will be delayed before it takes effect
|
|
433
429
|
**/
|
|
434
|
-
|
|
430
|
+
miningArgonIncreaseTickDelay: u64 & AugmentedConst<ApiType>;
|
|
435
431
|
/**
|
|
436
|
-
* The number of
|
|
432
|
+
* The number of ticks that a change in terms will take before applying. Terms only apply
|
|
437
433
|
* on a slot changeover, so this setting is the minimum blocks that must pass, in
|
|
438
434
|
* addition to the time to the next slot after that
|
|
439
435
|
**/
|
|
440
|
-
|
|
436
|
+
minTermsModificationTickDelay: u64 & AugmentedConst<ApiType>;
|
|
437
|
+
/**
|
|
438
|
+
* Argon blocks per day
|
|
439
|
+
**/
|
|
440
|
+
ticksPerDay: u64 & AugmentedConst<ApiType>;
|
|
441
441
|
};
|
|
442
442
|
}
|
|
443
443
|
}
|
|
@@ -53,6 +53,80 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
53
53
|
**/
|
|
54
54
|
VestingBalance: AugmentedError<ApiType>;
|
|
55
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
|
+
ExpirationTooSoon: AugmentedError<ApiType>;
|
|
91
|
+
GenericObligationError: AugmentedError<ApiType>;
|
|
92
|
+
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
93
|
+
/**
|
|
94
|
+
* The vault does not have enough bitcoins to cover the bonded argons
|
|
95
|
+
**/
|
|
96
|
+
InsufficientBondedArgons: AugmentedError<ApiType>;
|
|
97
|
+
InsufficientFunds: AugmentedError<ApiType>;
|
|
98
|
+
InsufficientSatoshisLocked: AugmentedError<ApiType>;
|
|
99
|
+
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
100
|
+
/**
|
|
101
|
+
* The bitcoin script to lock this bitcoin has errors
|
|
102
|
+
**/
|
|
103
|
+
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
104
|
+
/**
|
|
105
|
+
* Funding would result in an overflow of the balance type
|
|
106
|
+
**/
|
|
107
|
+
InvalidVaultAmount: AugmentedError<ApiType>;
|
|
108
|
+
LockNotFound: AugmentedError<ApiType>;
|
|
109
|
+
MinimumObligationAmountNotMet: AugmentedError<ApiType>;
|
|
110
|
+
NoBitcoinPricesAvailable: AugmentedError<ApiType>;
|
|
111
|
+
NoMoreObligationIds: AugmentedError<ApiType>;
|
|
112
|
+
NoPermissions: AugmentedError<ApiType>;
|
|
113
|
+
/**
|
|
114
|
+
* No Vault public keys are available
|
|
115
|
+
**/
|
|
116
|
+
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
117
|
+
ObligationNotFound: AugmentedError<ApiType>;
|
|
118
|
+
/**
|
|
119
|
+
* This bitcoin redemption has not been locked in
|
|
120
|
+
**/
|
|
121
|
+
RedemptionNotLocked: AugmentedError<ApiType>;
|
|
122
|
+
/**
|
|
123
|
+
* Unable to generate a new vault public key
|
|
124
|
+
**/
|
|
125
|
+
UnableToGenerateVaultBitcoinPubkey: AugmentedError<ApiType>;
|
|
126
|
+
UnrecoverableHold: AugmentedError<ApiType>;
|
|
127
|
+
VaultClosed: AugmentedError<ApiType>;
|
|
128
|
+
VaultNotFound: AugmentedError<ApiType>;
|
|
129
|
+
};
|
|
56
130
|
bitcoinUtxos: {
|
|
57
131
|
/**
|
|
58
132
|
* Bitcoin height not confirmed yet
|
|
@@ -184,76 +258,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
184
258
|
**/
|
|
185
259
|
MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
|
|
186
260
|
};
|
|
187
|
-
bonds: {
|
|
188
|
-
/**
|
|
189
|
-
* The proposed transaction would take the account below the minimum (existential) balance
|
|
190
|
-
**/
|
|
191
|
-
AccountWouldGoBelowMinimumBalance: AugmentedError<ApiType>;
|
|
192
|
-
/**
|
|
193
|
-
* The fee for this bitcoin unlock is too high
|
|
194
|
-
**/
|
|
195
|
-
BitcoinFeeTooHigh: AugmentedError<ApiType>;
|
|
196
|
-
/**
|
|
197
|
-
* The cosign signature is not valid for the bitcoin unlock
|
|
198
|
-
**/
|
|
199
|
-
BitcoinInvalidCosignature: AugmentedError<ApiType>;
|
|
200
|
-
/**
|
|
201
|
-
* This bitcoin pubkey couldn't be decoded for unlock
|
|
202
|
-
**/
|
|
203
|
-
BitcoinPubkeyUnableToBeDecoded: AugmentedError<ApiType>;
|
|
204
|
-
/**
|
|
205
|
-
* This bitcoin signature couldn't be decoded for unlock
|
|
206
|
-
**/
|
|
207
|
-
BitcoinSignatureUnableToBeDecoded: AugmentedError<ApiType>;
|
|
208
|
-
/**
|
|
209
|
-
* This bitcoin cosign script couldn't be decoded for unlock
|
|
210
|
-
**/
|
|
211
|
-
BitcoinUnableToBeDecodedForUnlock: AugmentedError<ApiType>;
|
|
212
|
-
/**
|
|
213
|
-
* The bitcoin has passed the deadline to unlock it
|
|
214
|
-
**/
|
|
215
|
-
BitcoinUnlockInitiationDeadlinePassed: AugmentedError<ApiType>;
|
|
216
|
-
BitcoinUtxoNotFound: AugmentedError<ApiType>;
|
|
217
|
-
BondNotFound: AugmentedError<ApiType>;
|
|
218
|
-
/**
|
|
219
|
-
* This bitcoin redemption has not been locked in
|
|
220
|
-
**/
|
|
221
|
-
BondRedemptionNotLocked: AugmentedError<ApiType>;
|
|
222
|
-
/**
|
|
223
|
-
* There are too many bond or bond funds expiring in the given expiration block
|
|
224
|
-
**/
|
|
225
|
-
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
226
|
-
ExpirationTooSoon: AugmentedError<ApiType>;
|
|
227
|
-
/**
|
|
228
|
-
* The fee for this bond exceeds the amount of the bond, which is unsafe
|
|
229
|
-
**/
|
|
230
|
-
FeeExceedsBondAmount: AugmentedError<ApiType>;
|
|
231
|
-
GenericBondError: AugmentedError<ApiType>;
|
|
232
|
-
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
233
|
-
/**
|
|
234
|
-
* The vault does not have enough bitcoins to cover the mining bond
|
|
235
|
-
**/
|
|
236
|
-
InsufficientBitcoinsForMining: AugmentedError<ApiType>;
|
|
237
|
-
InsufficientFunds: AugmentedError<ApiType>;
|
|
238
|
-
InsufficientSatoshisBonded: AugmentedError<ApiType>;
|
|
239
|
-
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
240
|
-
/**
|
|
241
|
-
* The bitcoin script to lock this bitcoin has errors
|
|
242
|
-
**/
|
|
243
|
-
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
244
|
-
InvalidBondType: AugmentedError<ApiType>;
|
|
245
|
-
/**
|
|
246
|
-
* Funding would result in an overflow of the balance type
|
|
247
|
-
**/
|
|
248
|
-
InvalidVaultAmount: AugmentedError<ApiType>;
|
|
249
|
-
MinimumBondAmountNotMet: AugmentedError<ApiType>;
|
|
250
|
-
NoBitcoinPricesAvailable: AugmentedError<ApiType>;
|
|
251
|
-
NoMoreBondIds: AugmentedError<ApiType>;
|
|
252
|
-
NoPermissions: AugmentedError<ApiType>;
|
|
253
|
-
UnrecoverableHold: AugmentedError<ApiType>;
|
|
254
|
-
VaultClosed: AugmentedError<ApiType>;
|
|
255
|
-
VaultNotFound: AugmentedError<ApiType>;
|
|
256
|
-
};
|
|
257
261
|
chainTransfer: {
|
|
258
262
|
/**
|
|
259
263
|
* Insufficient balance to create this transfer
|
|
@@ -407,29 +411,21 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
407
411
|
miningSlot: {
|
|
408
412
|
AccountWouldBeBelowMinimum: AugmentedError<ApiType>;
|
|
409
413
|
BidTooLow: AugmentedError<ApiType>;
|
|
410
|
-
BondAlreadyClosed: AugmentedError<ApiType>;
|
|
411
|
-
BondNotFound: AugmentedError<ApiType>;
|
|
412
|
-
/**
|
|
413
|
-
* A Non-Mining bond was submitted as part of a bid
|
|
414
|
-
**/
|
|
415
414
|
CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
|
|
416
415
|
/**
|
|
417
|
-
* There are too many
|
|
416
|
+
* There are too many obligations expiring in the given expiration block
|
|
418
417
|
**/
|
|
419
418
|
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
420
419
|
ExpirationTooSoon: AugmentedError<ApiType>;
|
|
421
|
-
|
|
422
|
-
* The fee for this bond exceeds the amount of the bond, which is unsafe
|
|
423
|
-
**/
|
|
424
|
-
FeeExceedsBondAmount: AugmentedError<ApiType>;
|
|
425
|
-
GenericBondError: AugmentedError<ApiType>;
|
|
420
|
+
GenericObligationError: AugmentedError<ApiType>;
|
|
426
421
|
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
427
422
|
InsufficientFunds: AugmentedError<ApiType>;
|
|
428
423
|
InsufficientOwnershipTokens: AugmentedError<ApiType>;
|
|
429
424
|
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
430
|
-
|
|
431
|
-
|
|
425
|
+
MinimumObligationAmountNotMet: AugmentedError<ApiType>;
|
|
426
|
+
NoMoreObligationIds: AugmentedError<ApiType>;
|
|
432
427
|
NoPermissions: AugmentedError<ApiType>;
|
|
428
|
+
ObligationNotFound: AugmentedError<ApiType>;
|
|
433
429
|
SlotNotTakingBids: AugmentedError<ApiType>;
|
|
434
430
|
TooManyBlockRegistrants: AugmentedError<ApiType>;
|
|
435
431
|
UnrecoverableHold: AugmentedError<ApiType>;
|
|
@@ -816,28 +812,21 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
816
812
|
* Bitcoin conversion to compressed pubkey failed
|
|
817
813
|
**/
|
|
818
814
|
BitcoinConversionFailed: AugmentedError<ApiType>;
|
|
819
|
-
BitcoinUtxoNotFound: AugmentedError<ApiType>;
|
|
820
|
-
BondNotFound: AugmentedError<ApiType>;
|
|
821
815
|
/**
|
|
822
|
-
* There are too many
|
|
816
|
+
* There are too many obligations expiring in the given expiration block
|
|
823
817
|
**/
|
|
824
818
|
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
825
819
|
ExpirationTooSoon: AugmentedError<ApiType>;
|
|
826
|
-
/**
|
|
827
|
-
* The fee for this bond exceeds the amount of the bond, which is unsafe
|
|
828
|
-
**/
|
|
829
|
-
FeeExceedsBondAmount: AugmentedError<ApiType>;
|
|
830
820
|
/**
|
|
831
821
|
* A funding change is already scheduled
|
|
832
822
|
**/
|
|
833
823
|
FundingChangeAlreadyScheduled: AugmentedError<ApiType>;
|
|
834
824
|
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
835
825
|
/**
|
|
836
|
-
* The vault does not have enough
|
|
826
|
+
* The vault does not have enough bonded argons for the request
|
|
837
827
|
**/
|
|
838
|
-
|
|
828
|
+
InsufficientBondedArgons: AugmentedError<ApiType>;
|
|
839
829
|
InsufficientFunds: AugmentedError<ApiType>;
|
|
840
|
-
InsufficientSatoshisBonded: AugmentedError<ApiType>;
|
|
841
830
|
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
842
831
|
/**
|
|
843
832
|
* An internal processing error occurred
|
|
@@ -847,7 +836,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
847
836
|
* The bitcoin script to lock this bitcoin has errors
|
|
848
837
|
**/
|
|
849
838
|
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
850
|
-
InvalidBondType: AugmentedError<ApiType>;
|
|
851
839
|
/**
|
|
852
840
|
* An invalid securitization percent was provided for the vault. NOTE: it cannot be
|
|
853
841
|
* decreased (or negative)
|
|
@@ -861,19 +849,19 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
861
849
|
* Unable to decode xpubkey
|
|
862
850
|
**/
|
|
863
851
|
InvalidXpubkey: AugmentedError<ApiType>;
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
**/
|
|
867
|
-
MaxSecuritizationPercentExceeded: AugmentedError<ApiType>;
|
|
868
|
-
MinimumBondAmountNotMet: AugmentedError<ApiType>;
|
|
869
|
-
NoBitcoinPricesAvailable: AugmentedError<ApiType>;
|
|
870
|
-
NoMoreBondIds: AugmentedError<ApiType>;
|
|
852
|
+
MinimumObligationAmountNotMet: AugmentedError<ApiType>;
|
|
853
|
+
NoMoreObligationIds: AugmentedError<ApiType>;
|
|
871
854
|
NoMoreVaultIds: AugmentedError<ApiType>;
|
|
872
855
|
NoPermissions: AugmentedError<ApiType>;
|
|
873
856
|
/**
|
|
874
857
|
* No Vault public keys are available
|
|
875
858
|
**/
|
|
876
859
|
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
860
|
+
/**
|
|
861
|
+
* An error occurred processing an obligation completion
|
|
862
|
+
**/
|
|
863
|
+
ObligationCompletionError: AugmentedError<ApiType>;
|
|
864
|
+
ObligationNotFound: AugmentedError<ApiType>;
|
|
877
865
|
/**
|
|
878
866
|
* The vault bitcoin xpubkey has already been used
|
|
879
867
|
**/
|
|
@@ -886,10 +874,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
886
874
|
* The terms modification list could not handle any more items
|
|
887
875
|
**/
|
|
888
876
|
TermsModificationOverflow: AugmentedError<ApiType>;
|
|
889
|
-
/**
|
|
890
|
-
* Unable to decode vault bitcoin pubkey
|
|
891
|
-
**/
|
|
892
|
-
UnableToDecodeVaultBitcoinPubkey: AugmentedError<ApiType>;
|
|
893
877
|
/**
|
|
894
878
|
* Unable to derive xpubkey child
|
|
895
879
|
**/
|
|
@@ -906,7 +890,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
906
890
|
VaultClosed: AugmentedError<ApiType>;
|
|
907
891
|
VaultNotFound: AugmentedError<ApiType>;
|
|
908
892
|
/**
|
|
909
|
-
* This reduction in
|
|
893
|
+
* This reduction in obligation funds offered goes below the amount that is already
|
|
894
|
+
* committed to
|
|
910
895
|
**/
|
|
911
896
|
VaultReductionBelowAllocatedFunds: AugmentedError<ApiType>;
|
|
912
897
|
/**
|