@argonprotocol/mainchain 1.4.11-dev.f3bdc948 → 1.4.12-dev.2afa6e4a

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argonprotocol/mainchain",
3
- "version": "1.4.11-dev.f3bdc948",
3
+ "version": "1.4.12-dev.2afa6e4a",
4
4
  "description": "A client for accessing the Argon mainchain apis.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -62,13 +62,12 @@
62
62
  "@polkadot/util": "^14.0.3",
63
63
  "@polkadot/util-crypto": "^14.0.3",
64
64
  "bignumber.js": "^9.3.1",
65
- "bs58check": "^4.0.0",
66
65
  "camelcase-keys": "^9.1.3",
67
66
  "viem": "^2.38.5"
68
67
  },
69
68
  "devDependencies": {
70
69
  "@argonprotocol/ethereum-contracts": "workspace:*",
71
- "@argonprotocol/testing": "1.4.11-dev.f3bdc948",
70
+ "@argonprotocol/testing": "1.4.12-dev.2afa6e4a",
72
71
  "@polkadot/typegen": "^16.5.6",
73
72
  "@substrate/ss58-registry": "^1.51.0",
74
73
  "@types/node": "^20",
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
@@ -51,6 +50,16 @@ declare module '@polkadot/api-base/types/consts' {
51
50
  **/
52
51
  maxReserves: u32 & AugmentedConst<ApiType>;
53
52
  };
53
+ bitcoinFissions: {
54
+ /**
55
+ * Maximum number of active Fissions that may allocate satoshis from one Lock.
56
+ **/
57
+ maxFissionsPerLock: u32 & AugmentedConst<ApiType>;
58
+ /**
59
+ * Minimum percentage change required to ratchet a Fission.
60
+ **/
61
+ minimumRatchetPercent: Percent & AugmentedConst<ApiType>;
62
+ };
54
63
  bitcoinLocks: {
55
64
  /**
56
65
  * Argon tick per day
@@ -82,6 +91,10 @@ declare module '@polkadot/api-base/types/consts' {
82
91
  * Maximum releasing utxos at a time
83
92
  **/
84
93
  maxConcurrentlyReleasingLocks: u32 & AugmentedConst<ApiType>;
94
+ /**
95
+ * Max bitcoin blocks up to which the first observed output may fund the Lock.
96
+ **/
97
+ maxPendingConfirmationBlocks: u64 & AugmentedConst<ApiType>;
85
98
  /**
86
99
  * Number of frames orphaned UTXO release entries are retained after a lock lifecycle
87
100
  * transition before being cleaned up.
@@ -94,27 +107,9 @@ declare module '@polkadot/api-base/types/consts' {
94
107
  };
95
108
  bitcoinUtxos: {
96
109
  /**
97
- * Maximum number of candidate UTXOs stored per lock
98
- **/
99
- maxCandidateUtxosPerLock: u32 & AugmentedConst<ApiType>;
100
- /**
101
- * Maximum number of satoshi difference allowed from expected to consider a UTXO as
102
- * "confirmed"
103
- **/
104
- maximumSatoshiThresholdFromExpected: u64 & AugmentedConst<ApiType>;
105
- /**
106
- * Maximum bitcoin blocks to accept a UTXO for confirmation. Expired locks remain watched
107
- * for this many additional blocks so late funding can be detected as orphaned.
108
- **/
109
- maxPendingConfirmationBlocks: u64 & AugmentedConst<ApiType>;
110
- /**
111
- * The maximum number of UTXOs that can be watched in a block and/or expiring at same block
112
- **/
113
- maxPendingConfirmationUtxos: u32 & AugmentedConst<ApiType>;
114
- /**
115
- * The maximum number of expired pending funding entries cleaned up in a block
110
+ * Maximum number of outputs tracked for a single Lock address.
116
111
  **/
117
- maxPendingFundingExpirationsPerBlock: u32 & AugmentedConst<ApiType>;
112
+ maxUtxosPerLock: u32 & AugmentedConst<ApiType>;
118
113
  };
119
114
  blockRewards: {
120
115
  /**
@@ -61,6 +61,88 @@ declare module '@polkadot/api-base/types/errors' {
61
61
  **/
62
62
  VestingBalance: AugmentedError<ApiType>;
63
63
  };
64
+ bitcoinFissions: {
65
+ /**
66
+ * A Fission already exists under this owner and Fission ID.
67
+ **/
68
+ FissionAlreadyExists: AugmentedError<ApiType>;
69
+ /**
70
+ * A Fission must allocate at least one satoshi.
71
+ **/
72
+ FissionHasNoSatoshis: AugmentedError<ApiType>;
73
+ /**
74
+ * The submitted Fission ID is below the owner's current minimum.
75
+ **/
76
+ FissionIdBelowMinimum: AugmentedError<ApiType>;
77
+ /**
78
+ * The owner's Fission ID counter cannot be incremented.
79
+ **/
80
+ FissionIdOverflow: AugmentedError<ApiType>;
81
+ /**
82
+ * No Fission exists under this owner and Fission ID.
83
+ **/
84
+ FissionNotFound: AugmentedError<ApiType>;
85
+ /**
86
+ * The requested target-normalized BTC value is not present in recent price history.
87
+ **/
88
+ IneligibleMicrogonsAtTargetPerBtc: AugmentedError<ApiType>;
89
+ /**
90
+ * A source Lock has fewer active Fission satoshis than the Fission being closed.
91
+ **/
92
+ InsufficientFissionedSatoshis: AugmentedError<ApiType>;
93
+ /**
94
+ * A requested source Lock does not have enough unallocated funded satoshis.
95
+ **/
96
+ InsufficientFundedSatoshis: AugmentedError<ApiType>;
97
+ /**
98
+ * The Fission owner cannot burn the complete redemption amount.
99
+ **/
100
+ InsufficientFunds: AugmentedError<ApiType>;
101
+ /**
102
+ * A source Lock's securitization does not cover the requested allocation and liability.
103
+ **/
104
+ InsufficientSecuritization: AugmentedError<ApiType>;
105
+ /**
106
+ * The requested source Lock does not exist.
107
+ **/
108
+ LockNotFound: AugmentedError<ApiType>;
109
+ /**
110
+ * A requested source Lock has no confirmed funding satoshis.
111
+ **/
112
+ LockNotFunded: AugmentedError<ApiType>;
113
+ /**
114
+ * A requested source Lock is already in the release process.
115
+ **/
116
+ LockReleasePending: AugmentedError<ApiType>;
117
+ /**
118
+ * The requested price-history entry predates the Fission or Lock coverage floor.
119
+ **/
120
+ MicrogonsAtTargetPerBtcTickOlderThanCurrent: AugmentedError<ApiType>;
121
+ /**
122
+ * No current Bitcoin price is available to calculate the redemption amount.
123
+ **/
124
+ NoBitcoinPricesAvailable: AugmentedError<ApiType>;
125
+ /**
126
+ * The caller does not own a requested source Lock.
127
+ **/
128
+ NoPermissions: AugmentedError<ApiType>;
129
+ /**
130
+ * The Fission did not meet both the minimum change and Lock coverage requirements.
131
+ **/
132
+ NoRatchetingAvailable: AugmentedError<ApiType>;
133
+ /**
134
+ * A Fission allocation, liability, or identifier overflowed.
135
+ **/
136
+ Overflow: AugmentedError<ApiType>;
137
+ /**
138
+ * The Fission's ratchet counter cannot be incremented.
139
+ **/
140
+ RatchetNumberOverflow: AugmentedError<ApiType>;
141
+ /**
142
+ * The source Lock already has the maximum number of active Fissions.
143
+ **/
144
+ TooManyFissionsForLock: AugmentedError<ApiType>;
145
+ };
64
146
  bitcoinLocks: {
65
147
  /**
66
148
  * The proposed transaction would take the account below the minimum (existential) balance
@@ -107,9 +189,9 @@ declare module '@polkadot/api-base/types/errors' {
107
189
  **/
108
190
  FeeCouponExpired: AugmentedError<ApiType>;
109
191
  /**
110
- * Fee coupons can only be applied when initializing a lock.
192
+ * The Lock records fissioned satoshis without matching active Fission requirements.
111
193
  **/
112
- FeeCouponOnlyForInitialization: AugmentedError<ApiType>;
194
+ FissionStateMismatch: AugmentedError<ApiType>;
113
195
  /**
114
196
  * Cannot request an orphaned release for the funding UTXO
115
197
  **/
@@ -123,14 +205,18 @@ declare module '@polkadot/api-base/types/errors' {
123
205
  **/
124
206
  HoldUnexpectedlyModified: AugmentedError<ApiType>;
125
207
  /**
126
- * An ineligible microgon rate per btc was requested
208
+ * The requested target-normalized BTC value is not present in recent price history.
127
209
  **/
128
- IneligibleMicrogonRateRequested: AugmentedError<ApiType>;
210
+ IneligibleMicrogonsAtTargetPerBtcRequested: AugmentedError<ApiType>;
129
211
  InsufficientFunds: AugmentedError<ApiType>;
130
212
  /**
131
- * The minimum number of satoshis was not met
213
+ * The requested Lock securitization has fewer satoshis than its active Fissions.
132
214
  **/
133
- InsufficientSatoshisLocked: AugmentedError<ApiType>;
215
+ InsufficientSatoshisForFissions: AugmentedError<ApiType>;
216
+ /**
217
+ * The requested Lock securitization does not cover its active Fission liabilities.
218
+ **/
219
+ InsufficientSecuritizationForFissions: AugmentedError<ApiType>;
134
220
  InsufficientVaultFunds: AugmentedError<ApiType>;
135
221
  /**
136
222
  * The bitcoin script to lock this bitcoin has errors
@@ -145,7 +231,11 @@ declare module '@polkadot/api-base/types/errors' {
145
231
  **/
146
232
  InvalidVaultAmount: AugmentedError<ApiType>;
147
233
  /**
148
- * A lock in process of release cannot be ratcheted
234
+ * The Lock cannot be released while it has active Fissions.
235
+ **/
236
+ LockHasActiveFissions: AugmentedError<ApiType>;
237
+ /**
238
+ * A Lock in the release process cannot be resecuritized.
149
239
  **/
150
240
  LockInProcessOfRelease: AugmentedError<ApiType>;
151
241
  /**
@@ -160,6 +250,10 @@ declare module '@polkadot/api-base/types/errors' {
160
250
  * Too many orphaned utxo release requests for a lock
161
251
  **/
162
252
  MaxOrphanedUtxoReleaseRequestsExceeded: AugmentedError<ApiType>;
253
+ /**
254
+ * The requested price-history entry predates the Lock's current securitization.
255
+ **/
256
+ MicrogonsAtTargetPerBtcTickOlderThanCurrent: AugmentedError<ApiType>;
163
257
  /**
164
258
  * The price provider has no bitcoin prices available. This is a temporary error
165
259
  **/
@@ -169,9 +263,9 @@ declare module '@polkadot/api-base/types/errors' {
169
263
  **/
170
264
  NoPermissions: AugmentedError<ApiType>;
171
265
  /**
172
- * Nothing to ratchet
266
+ * The requested securitization matches the Lock's current securitization.
173
267
  **/
174
- NoRatchetingAvailable: AugmentedError<ApiType>;
268
+ NoResecuritizationChange: AugmentedError<ApiType>;
175
269
  /**
176
270
  * No Vault public keys are available
177
271
  **/
@@ -234,18 +328,14 @@ declare module '@polkadot/api-base/types/errors' {
234
328
  * Invalid bitcoin sync height attempted
235
329
  **/
236
330
  InvalidBitcoinSyncHeight: AugmentedError<ApiType>;
237
- /**
238
- * This Lock already has an attached funding UTXO
239
- **/
240
- LockAlreadyFunded: AugmentedError<ApiType>;
241
- /**
242
- * Too many candidate UTXOs are being stored for this lock
243
- **/
244
- MaxCandidateUtxosExceeded: AugmentedError<ApiType>;
245
331
  /**
246
332
  * Too many UTXOs are being watched
247
333
  **/
248
334
  MaxUtxosExceeded: AugmentedError<ApiType>;
335
+ /**
336
+ * Too many outputs have been observed at one Lock address.
337
+ **/
338
+ MaxUtxosPerLockExceeded: AugmentedError<ApiType>;
249
339
  /**
250
340
  * No Oracle-provided bitcoin block has been provided to the network
251
341
  **/
@@ -267,11 +357,7 @@ declare module '@polkadot/api-base/types/errors' {
267
357
  **/
268
358
  ScriptPubkeyConflict: AugmentedError<ApiType>;
269
359
  /**
270
- * The UTXO reference does not map to a candidate entry
271
- **/
272
- UtxoNotCandidate: AugmentedError<ApiType>;
273
- /**
274
- * Locked Utxo Not Found
360
+ * Watched Lock or attached UTXO not found.
275
361
  **/
276
362
  UtxoNotLocked: AugmentedError<ApiType>;
277
363
  };
@@ -24,7 +24,6 @@ import type { ITuple } from '@polkadot/types-codec/types';
24
24
  import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
25
25
  import type {
26
26
  ArgonNotaryAuditErrorVerifyError,
27
- ArgonPrimitivesBitcoinBitcoinRejectedReason,
28
27
  ArgonPrimitivesBitcoinUtxoRef,
29
28
  ArgonPrimitivesBlockSealBlockPayout,
30
29
  ArgonPrimitivesBlockSealMiningRegistration,
@@ -311,6 +310,72 @@ declare module '@polkadot/api-base/types/events' {
311
310
  { who: AccountId32; amount: u128 }
312
311
  >;
313
312
  };
313
+ bitcoinFissions: {
314
+ /**
315
+ * A Fission was closed and its source Lock allocation was released.
316
+ **/
317
+ FissionClosed: AugmentedEvent<
318
+ ApiType,
319
+ [accountId: AccountId32, fissionId: u64, redemptionAmount: u128],
320
+ { accountId: AccountId32; fissionId: u64; redemptionAmount: u128 }
321
+ >;
322
+ /**
323
+ * An active Fission was closed because its source Lock was spent.
324
+ **/
325
+ FissionClosedByLock: AugmentedEvent<
326
+ ApiType,
327
+ [accountId: AccountId32, fissionId: u64, utxoId: u64],
328
+ { accountId: AccountId32; fissionId: u64; utxoId: u64 }
329
+ >;
330
+ /**
331
+ * A Fission was created and allocated from its source Lock.
332
+ **/
333
+ FissionCreated: AugmentedEvent<
334
+ ApiType,
335
+ [
336
+ accountId: AccountId32,
337
+ fissionId: u64,
338
+ liquidId: u64,
339
+ utxoId: u64,
340
+ satoshis: u64,
341
+ microgonsAtTargetPerBtc: u128,
342
+ liquidityPromised: u128,
343
+ ],
344
+ {
345
+ accountId: AccountId32;
346
+ fissionId: u64;
347
+ liquidId: u64;
348
+ utxoId: u64;
349
+ satoshis: u64;
350
+ microgonsAtTargetPerBtc: u128;
351
+ liquidityPromised: u128;
352
+ }
353
+ >;
354
+ /**
355
+ * A Fission ratchet changed its target-normalized BTC value and liability.
356
+ **/
357
+ FissionRatcheted: AugmentedEvent<
358
+ ApiType,
359
+ [
360
+ accountId: AccountId32,
361
+ fissionId: u64,
362
+ ratchetNumber: u32,
363
+ microgonsAtTargetPerBtc: u128,
364
+ liquidityPromised: u128,
365
+ amountMinted: u128,
366
+ amountBurned: u128,
367
+ ],
368
+ {
369
+ accountId: AccountId32;
370
+ fissionId: u64;
371
+ ratchetNumber: u32;
372
+ microgonsAtTargetPerBtc: u128;
373
+ liquidityPromised: u128;
374
+ amountMinted: u128;
375
+ amountBurned: u128;
376
+ }
377
+ >;
378
+ };
314
379
  bitcoinLocks: {
315
380
  BitcoinCosignPastDue: AugmentedEvent<
316
381
  ApiType,
@@ -327,18 +392,18 @@ declare module '@polkadot/api-base/types/events' {
327
392
  [
328
393
  utxoId: u64,
329
394
  vaultId: u32,
330
- liquidityPromised: u128,
331
- securitization: u128,
332
- lockedTargetPrice: u128,
395
+ securitizedSatoshis: u64,
396
+ microgonsAtTargetPerBtc: u128,
397
+ collateralRequired: u128,
333
398
  accountId: AccountId32,
334
399
  securityFee: u128,
335
400
  ],
336
401
  {
337
402
  utxoId: u64;
338
403
  vaultId: u32;
339
- liquidityPromised: u128;
340
- securitization: u128;
341
- lockedTargetPrice: u128;
404
+ securitizedSatoshis: u64;
405
+ microgonsAtTargetPerBtc: u128;
406
+ collateralRequired: u128;
342
407
  accountId: AccountId32;
343
408
  securityFee: u128;
344
409
  }
@@ -348,26 +413,20 @@ declare module '@polkadot/api-base/types/events' {
348
413
  [utxoId: u64, vaultId: u32, isFlexible: bool],
349
414
  { utxoId: u64; vaultId: u32; isFlexible: bool }
350
415
  >;
351
- BitcoinLockRatcheted: AugmentedEvent<
416
+ BitcoinLockResecuritized: AugmentedEvent<
352
417
  ApiType,
353
418
  [
354
419
  utxoId: u64,
355
420
  vaultId: u32,
356
- liquidityPromised: u128,
357
- oldTargetPrice: u128,
358
- securityFee: u128,
359
- newTargetPrice: u128,
360
- amountBurned: u128,
421
+ securitizedSatoshis: u64,
422
+ microgonsAtTargetPerBtc: u128,
361
423
  accountId: AccountId32,
362
424
  ],
363
425
  {
364
426
  utxoId: u64;
365
427
  vaultId: u32;
366
- liquidityPromised: u128;
367
- oldTargetPrice: u128;
368
- securityFee: u128;
369
- newTargetPrice: u128;
370
- amountBurned: u128;
428
+ securitizedSatoshis: u64;
429
+ microgonsAtTargetPerBtc: u128;
371
430
  accountId: AccountId32;
372
431
  }
373
432
  >;
@@ -402,6 +461,14 @@ declare module '@polkadot/api-base/types/events' {
402
461
  [utxoId: u64, error: SpRuntimeDispatchError],
403
462
  { utxoId: u64; error: SpRuntimeDispatchError }
404
463
  >;
464
+ /**
465
+ * Not all orphaned UTXOs for a retired Lock fit in the cleanup schedule.
466
+ **/
467
+ OrphanedUtxoCleanupScheduleOverflow: AugmentedEvent<
468
+ ApiType,
469
+ [accountId: AccountId32, utxoId: u64, expirationFrame: u64],
470
+ { accountId: AccountId32; utxoId: u64; expirationFrame: u64 }
471
+ >;
405
472
  OrphanedUtxoCosigned: AugmentedEvent<
406
473
  ApiType,
407
474
  [
@@ -419,27 +486,28 @@ declare module '@polkadot/api-base/types/events' {
419
486
  signature: Bytes;
420
487
  }
421
488
  >;
422
- OrphanedUtxoReceived: AugmentedEvent<
423
- ApiType,
424
- [utxoId: u64, utxoRef: ArgonPrimitivesBitcoinUtxoRef, vaultId: u32, satoshis: u64],
425
- { utxoId: u64; utxoRef: ArgonPrimitivesBitcoinUtxoRef; vaultId: u32; satoshis: u64 }
426
- >;
427
- OrphanedUtxoReleaseRequested: AugmentedEvent<
489
+ /**
490
+ * An orphaned UTXO expiration could not reconcile its pending Vault cosign state.
491
+ **/
492
+ OrphanedUtxoExpirationError: AugmentedEvent<
428
493
  ApiType,
429
- [utxoId: u64, utxoRef: ArgonPrimitivesBitcoinUtxoRef, vaultId: u32, accountId: AccountId32],
494
+ [
495
+ accountId: AccountId32,
496
+ utxoRef: ArgonPrimitivesBitcoinUtxoRef,
497
+ error: SpRuntimeDispatchError,
498
+ ],
430
499
  {
431
- utxoId: u64;
432
- utxoRef: ArgonPrimitivesBitcoinUtxoRef;
433
- vaultId: u32;
434
500
  accountId: AccountId32;
501
+ utxoRef: ArgonPrimitivesBitcoinUtxoRef;
502
+ error: SpRuntimeDispatchError;
435
503
  }
436
504
  >;
437
- SecuritizationIncreased: AugmentedEvent<
505
+ OrphanedUtxoReceived: AugmentedEvent<
438
506
  ApiType,
439
- [utxoId: u64, vaultId: u32, newSatoshis: u64, accountId: AccountId32],
440
- { utxoId: u64; vaultId: u32; newSatoshis: u64; accountId: AccountId32 }
507
+ [utxoId: u64, utxoRef: ArgonPrimitivesBitcoinUtxoRef, vaultId: u32, satoshis: u64],
508
+ { utxoId: u64; utxoRef: ArgonPrimitivesBitcoinUtxoRef; vaultId: u32; satoshis: u64 }
441
509
  >;
442
- UtxoFundedFromCandidate: AugmentedEvent<
510
+ OrphanedUtxoReleaseRequested: AugmentedEvent<
443
511
  ApiType,
444
512
  [utxoId: u64, utxoRef: ArgonPrimitivesBitcoinUtxoRef, vaultId: u32, accountId: AccountId32],
445
513
  {
@@ -451,30 +519,30 @@ declare module '@polkadot/api-base/types/events' {
451
519
  >;
452
520
  };
453
521
  bitcoinUtxos: {
454
- UtxoRejected: AugmentedEvent<
522
+ UtxoDetected: AugmentedEvent<
455
523
  ApiType,
456
524
  [
457
525
  utxoId: u64,
458
526
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
459
- rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason,
460
527
  satoshisReceived: u64,
528
+ bitcoinHeight: u64,
461
529
  ],
462
530
  {
463
531
  utxoId: u64;
464
532
  utxoRef: ArgonPrimitivesBitcoinUtxoRef;
465
- rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
466
533
  satoshisReceived: u64;
534
+ bitcoinHeight: u64;
467
535
  }
468
536
  >;
469
- UtxoRejectedError: AugmentedEvent<
537
+ UtxoDetectedError: AugmentedEvent<
470
538
  ApiType,
471
539
  [utxoId: u64, error: SpRuntimeDispatchError],
472
540
  { utxoId: u64; error: SpRuntimeDispatchError }
473
541
  >;
474
542
  UtxoSpent: AugmentedEvent<
475
543
  ApiType,
476
- [utxoId: u64, blockHeight: u64],
477
- { utxoId: u64; blockHeight: u64 }
544
+ [utxoId: u64, utxoRef: ArgonPrimitivesBitcoinUtxoRef, blockHeight: u64],
545
+ { utxoId: u64; utxoRef: ArgonPrimitivesBitcoinUtxoRef; blockHeight: u64 }
478
546
  >;
479
547
  UtxoSpentError: AugmentedEvent<
480
548
  ApiType,
@@ -482,16 +550,6 @@ declare module '@polkadot/api-base/types/events' {
482
550
  { utxoId: u64; error: SpRuntimeDispatchError }
483
551
  >;
484
552
  UtxoUnwatched: AugmentedEvent<ApiType, [utxoId: u64], { utxoId: u64 }>;
485
- UtxoVerified: AugmentedEvent<
486
- ApiType,
487
- [utxoId: u64, satoshisReceived: u64],
488
- { utxoId: u64; satoshisReceived: u64 }
489
- >;
490
- UtxoVerifiedError: AugmentedEvent<
491
- ApiType,
492
- [utxoId: u64, error: SpRuntimeDispatchError],
493
- { utxoId: u64; error: SpRuntimeDispatchError }
494
- >;
495
553
  };
496
554
  blockRewards: {
497
555
  RewardCreated: AugmentedEvent<
@@ -1104,8 +1162,8 @@ declare module '@polkadot/api-base/types/events' {
1104
1162
  **/
1105
1163
  BitcoinMint: AugmentedEvent<
1106
1164
  ApiType,
1107
- [accountId: AccountId32, utxoId: Option<u64>, amount: u128],
1108
- { accountId: AccountId32; utxoId: Option<u64>; amount: u128 }
1165
+ [accountId: AccountId32, fissionId: u64, utxoId: Option<u64>, amount: u128],
1166
+ { accountId: AccountId32; fissionId: u64; utxoId: Option<u64>; amount: u128 }
1109
1167
  >;
1110
1168
  /**
1111
1169
  * The amount of microgons minted for mining. NOTE: accounts below Existential Deposit
@@ -1125,6 +1183,7 @@ declare module '@polkadot/api-base/types/events' {
1125
1183
  [
1126
1184
  mintType: PalletMintMintType,
1127
1185
  accountId: AccountId32,
1186
+ fissionId: Option<u64>,
1128
1187
  utxoId: Option<u64>,
1129
1188
  amount: u128,
1130
1189
  error: SpRuntimeDispatchError,
@@ -1132,6 +1191,7 @@ declare module '@polkadot/api-base/types/events' {
1132
1191
  {
1133
1192
  mintType: PalletMintMintType;
1134
1193
  accountId: AccountId32;
1194
+ fissionId: Option<u64>;
1135
1195
  utxoId: Option<u64>;
1136
1196
  amount: u128;
1137
1197
  error: SpRuntimeDispatchError;
@@ -2106,30 +2166,6 @@ declare module '@polkadot/api-base/types/events' {
2106
2166
  [vaultId: u32, operatorAccountId: AccountId32, amount: u128],
2107
2167
  { vaultId: u32; operatorAccountId: AccountId32; amount: u128 }
2108
2168
  >;
2109
- FundLockCanceled: AugmentedEvent<
2110
- ApiType,
2111
- [vaultId: u32, amount: u128],
2112
- { vaultId: u32; amount: u128 }
2113
- >;
2114
- FundsLocked: AugmentedEvent<
2115
- ApiType,
2116
- [
2117
- vaultId: u32,
2118
- locker: AccountId32,
2119
- liquidityPromised: u128,
2120
- isRatchet: bool,
2121
- feeRevenue: u128,
2122
- didUseFeeCoupon: bool,
2123
- ],
2124
- {
2125
- vaultId: u32;
2126
- locker: AccountId32;
2127
- liquidityPromised: u128;
2128
- isRatchet: bool;
2129
- feeRevenue: u128;
2130
- didUseFeeCoupon: bool;
2131
- }
2132
- >;
2133
2169
  FundsReleased: AugmentedEvent<
2134
2170
  ApiType,
2135
2171
  [vaultId: u32, securitization: u128],
@@ -2155,6 +2191,28 @@ declare module '@polkadot/api-base/types/events' {
2155
2191
  [vaultId: u32, reservedSecuritizationSpace: u128],
2156
2192
  { vaultId: u32; reservedSecuritizationSpace: u128 }
2157
2193
  >;
2194
+ SecuritizationReserved: AugmentedEvent<
2195
+ ApiType,
2196
+ [
2197
+ vaultId: u32,
2198
+ locker: AccountId32,
2199
+ securitizationCoverageMicrogons: u128,
2200
+ feeRevenue: u128,
2201
+ didUseFeeCoupon: bool,
2202
+ ],
2203
+ {
2204
+ vaultId: u32;
2205
+ locker: AccountId32;
2206
+ securitizationCoverageMicrogons: u128;
2207
+ feeRevenue: u128;
2208
+ didUseFeeCoupon: bool;
2209
+ }
2210
+ >;
2211
+ SecuritizationReturned: AugmentedEvent<
2212
+ ApiType,
2213
+ [vaultId: u32, amount: u128],
2214
+ { vaultId: u32; amount: u128 }
2215
+ >;
2158
2216
  TreasuryRecordingError: AugmentedEvent<
2159
2217
  ApiType,
2160
2218
  [vaultId: u32, frameId: u64, vaultEarnings: u128, error: SpRuntimeDispatchError],