@argonprotocol/mainchain 1.4.12 → 1.4.13-dev.01d57087
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 +0 -10
- package/browser/index.d.ts +1365 -1260
- package/browser/index.js +16 -1350
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +18 -1353
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1365 -1260
- package/lib/index.d.ts +1365 -1260
- package/lib/index.js +20 -1355
- package/lib/index.js.map +1 -1
- package/package.json +13 -11
- package/src/interfaces/augment-api-consts.ts +64 -34
- package/src/interfaces/augment-api-errors.ts +150 -36
- package/src/interfaces/augment-api-events.ts +243 -120
- package/src/interfaces/augment-api-query.ts +182 -96
- package/src/interfaces/augment-api-rpc.ts +22 -2
- package/src/interfaces/augment-api-runtime.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +127 -104
- package/src/interfaces/augment-api.ts +0 -1
- package/src/interfaces/augment-types.ts +8 -2
- package/src/interfaces/lookup.ts +643 -434
- package/src/interfaces/registry.ts +42 -17
- package/src/interfaces/types-lookup.ts +723 -493
|
@@ -21,10 +21,9 @@ import type {
|
|
|
21
21
|
u64,
|
|
22
22
|
} from '@polkadot/types-codec';
|
|
23
23
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
24
|
-
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
|
|
24
|
+
import type { AccountId32, H160, H256, Percent } from '@polkadot/types/interfaces/runtime';
|
|
25
25
|
import type {
|
|
26
26
|
ArgonNotaryAuditErrorVerifyError,
|
|
27
|
-
ArgonPrimitivesBitcoinBitcoinRejectedReason,
|
|
28
27
|
ArgonPrimitivesBitcoinUtxoRef,
|
|
29
28
|
ArgonPrimitivesBlockSealBlockPayout,
|
|
30
29
|
ArgonPrimitivesBlockSealMiningRegistration,
|
|
@@ -32,6 +31,7 @@ import type {
|
|
|
32
31
|
ArgonPrimitivesNotaryNotaryMeta,
|
|
33
32
|
ArgonPrimitivesNotaryNotaryRecord,
|
|
34
33
|
ArgonPrimitivesProvidersOperationalRewardKind,
|
|
34
|
+
ArgonPrimitivesVaultBitcoinSecuritizationBasis,
|
|
35
35
|
ArgonRuntimeOriginCaller,
|
|
36
36
|
ArgonRuntimeProxyType,
|
|
37
37
|
ArgonRuntimeRuntimeHoldReason,
|
|
@@ -311,139 +311,216 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
311
311
|
{ who: AccountId32; amount: u128 }
|
|
312
312
|
>;
|
|
313
313
|
};
|
|
314
|
-
|
|
315
|
-
|
|
314
|
+
bitcoinFissions: {
|
|
315
|
+
/**
|
|
316
|
+
* A Fission was closed and its source Lock allocation was released.
|
|
317
|
+
**/
|
|
318
|
+
FissionClosed: AugmentedEvent<
|
|
319
|
+
ApiType,
|
|
320
|
+
[accountId: AccountId32, fissionId: u64, redemptionAmount: u128],
|
|
321
|
+
{ accountId: AccountId32; fissionId: u64; redemptionAmount: u128 }
|
|
322
|
+
>;
|
|
323
|
+
/**
|
|
324
|
+
* An active Fission was closed because its source Lock was spent.
|
|
325
|
+
**/
|
|
326
|
+
FissionClosedByLock: AugmentedEvent<
|
|
327
|
+
ApiType,
|
|
328
|
+
[accountId: AccountId32, fissionId: u64, lockId: u64],
|
|
329
|
+
{ accountId: AccountId32; fissionId: u64; lockId: u64 }
|
|
330
|
+
>;
|
|
331
|
+
/**
|
|
332
|
+
* A Fission was created and allocated from its source Lock.
|
|
333
|
+
**/
|
|
334
|
+
FissionCreated: AugmentedEvent<
|
|
335
|
+
ApiType,
|
|
336
|
+
[
|
|
337
|
+
accountId: AccountId32,
|
|
338
|
+
fissionId: u64,
|
|
339
|
+
liquidId: u64,
|
|
340
|
+
lockId: u64,
|
|
341
|
+
satoshis: u64,
|
|
342
|
+
microgonsAtTargetPerBtc: u128,
|
|
343
|
+
liquidityPromised: u128,
|
|
344
|
+
],
|
|
345
|
+
{
|
|
346
|
+
accountId: AccountId32;
|
|
347
|
+
fissionId: u64;
|
|
348
|
+
liquidId: u64;
|
|
349
|
+
lockId: u64;
|
|
350
|
+
satoshis: u64;
|
|
351
|
+
microgonsAtTargetPerBtc: u128;
|
|
352
|
+
liquidityPromised: u128;
|
|
353
|
+
}
|
|
354
|
+
>;
|
|
355
|
+
/**
|
|
356
|
+
* A Fission ratchet changed its target-normalized BTC value and liability.
|
|
357
|
+
**/
|
|
358
|
+
FissionRatcheted: AugmentedEvent<
|
|
316
359
|
ApiType,
|
|
317
|
-
[
|
|
318
|
-
|
|
360
|
+
[
|
|
361
|
+
accountId: AccountId32,
|
|
362
|
+
fissionId: u64,
|
|
363
|
+
ratchetNumber: u32,
|
|
364
|
+
microgonsAtTargetPerBtc: u128,
|
|
365
|
+
liquidityPromised: u128,
|
|
366
|
+
amountMinted: u128,
|
|
367
|
+
amountBurned: u128,
|
|
368
|
+
],
|
|
369
|
+
{
|
|
370
|
+
accountId: AccountId32;
|
|
371
|
+
fissionId: u64;
|
|
372
|
+
ratchetNumber: u32;
|
|
373
|
+
microgonsAtTargetPerBtc: u128;
|
|
374
|
+
liquidityPromised: u128;
|
|
375
|
+
amountMinted: u128;
|
|
376
|
+
amountBurned: u128;
|
|
377
|
+
}
|
|
319
378
|
>;
|
|
320
|
-
|
|
379
|
+
};
|
|
380
|
+
bitcoinLocks: {
|
|
381
|
+
BitcoinCosignPastDue: AugmentedEvent<
|
|
321
382
|
ApiType,
|
|
322
|
-
[
|
|
323
|
-
|
|
383
|
+
[
|
|
384
|
+
lockId: u64,
|
|
385
|
+
vaultId: u32,
|
|
386
|
+
releaseNumber: u32,
|
|
387
|
+
compensationAmount: u128,
|
|
388
|
+
compensatedAccountId: AccountId32,
|
|
389
|
+
],
|
|
390
|
+
{
|
|
391
|
+
lockId: u64;
|
|
392
|
+
vaultId: u32;
|
|
393
|
+
releaseNumber: u32;
|
|
394
|
+
compensationAmount: u128;
|
|
395
|
+
compensatedAccountId: AccountId32;
|
|
396
|
+
}
|
|
324
397
|
>;
|
|
325
398
|
BitcoinLockCreated: AugmentedEvent<
|
|
326
399
|
ApiType,
|
|
327
400
|
[
|
|
328
|
-
|
|
401
|
+
lockId: u64,
|
|
329
402
|
vaultId: u32,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
lockedTargetPrice: u128,
|
|
403
|
+
securitizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis,
|
|
404
|
+
collateralRequired: u128,
|
|
333
405
|
accountId: AccountId32,
|
|
334
406
|
securityFee: u128,
|
|
335
407
|
],
|
|
336
408
|
{
|
|
337
|
-
|
|
409
|
+
lockId: u64;
|
|
338
410
|
vaultId: u32;
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
lockedTargetPrice: u128;
|
|
411
|
+
securitizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis;
|
|
412
|
+
collateralRequired: u128;
|
|
342
413
|
accountId: AccountId32;
|
|
343
414
|
securityFee: u128;
|
|
344
415
|
}
|
|
345
416
|
>;
|
|
346
417
|
BitcoinLockFlexibleChanged: AugmentedEvent<
|
|
347
418
|
ApiType,
|
|
348
|
-
[
|
|
349
|
-
{
|
|
419
|
+
[lockId: u64, vaultId: u32, isFlexible: bool],
|
|
420
|
+
{ lockId: u64; vaultId: u32; isFlexible: bool }
|
|
350
421
|
>;
|
|
351
|
-
|
|
422
|
+
BitcoinLockResecuritized: AugmentedEvent<
|
|
352
423
|
ApiType,
|
|
353
424
|
[
|
|
354
|
-
|
|
425
|
+
lockId: u64,
|
|
355
426
|
vaultId: u32,
|
|
356
|
-
|
|
357
|
-
oldTargetPrice: u128,
|
|
358
|
-
securityFee: u128,
|
|
359
|
-
newTargetPrice: u128,
|
|
360
|
-
amountBurned: u128,
|
|
427
|
+
securitizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis,
|
|
361
428
|
accountId: AccountId32,
|
|
362
429
|
],
|
|
363
430
|
{
|
|
364
|
-
|
|
431
|
+
lockId: u64;
|
|
365
432
|
vaultId: u32;
|
|
366
|
-
|
|
367
|
-
oldTargetPrice: u128;
|
|
368
|
-
securityFee: u128;
|
|
369
|
-
newTargetPrice: u128;
|
|
370
|
-
amountBurned: u128;
|
|
433
|
+
securitizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis;
|
|
371
434
|
accountId: AccountId32;
|
|
372
435
|
}
|
|
373
436
|
>;
|
|
437
|
+
BitcoinLockTerminated: AugmentedEvent<
|
|
438
|
+
ApiType,
|
|
439
|
+
[lockId: u64, vaultId: u32, wasUtxoSpent: bool, burnedArgons: u128],
|
|
440
|
+
{ lockId: u64; vaultId: u32; wasUtxoSpent: bool; burnedArgons: u128 }
|
|
441
|
+
>;
|
|
374
442
|
BitcoinSpentAfterRelease: AugmentedEvent<
|
|
375
443
|
ApiType,
|
|
376
|
-
[
|
|
377
|
-
{
|
|
444
|
+
[lockId: u64, vaultId: u32, releaseNumber: u32, bitcoinHeight: u64],
|
|
445
|
+
{ lockId: u64; vaultId: u32; releaseNumber: u32; bitcoinHeight: u64 }
|
|
378
446
|
>;
|
|
379
447
|
BitcoinUtxoCosigned: AugmentedEvent<
|
|
380
448
|
ApiType,
|
|
381
|
-
[
|
|
382
|
-
{
|
|
449
|
+
[lockId: u64, vaultId: u32, releaseNumber: u32, signatures: Vec<Bytes>],
|
|
450
|
+
{ lockId: u64; vaultId: u32; releaseNumber: u32; signatures: Vec<Bytes> }
|
|
383
451
|
>;
|
|
384
452
|
BitcoinUtxoCosignRequested: AugmentedEvent<
|
|
385
453
|
ApiType,
|
|
386
|
-
[
|
|
387
|
-
{
|
|
454
|
+
[lockId: u64, vaultId: u32, releaseNumber: u32],
|
|
455
|
+
{ lockId: u64; vaultId: u32; releaseNumber: u32 }
|
|
388
456
|
>;
|
|
389
457
|
/**
|
|
390
458
|
* An error occurred while refunding an overdue cosigned bitcoin lock
|
|
391
459
|
**/
|
|
392
460
|
CosignOverdueError: AugmentedEvent<
|
|
393
461
|
ApiType,
|
|
394
|
-
[
|
|
395
|
-
{
|
|
462
|
+
[lockId: u64, error: SpRuntimeDispatchError],
|
|
463
|
+
{ lockId: u64; error: SpRuntimeDispatchError }
|
|
396
464
|
>;
|
|
397
465
|
/**
|
|
398
466
|
* An error occurred while completing a lock
|
|
399
467
|
**/
|
|
400
468
|
LockExpirationError: AugmentedEvent<
|
|
401
469
|
ApiType,
|
|
402
|
-
[
|
|
403
|
-
{
|
|
470
|
+
[lockId: u64, error: SpRuntimeDispatchError],
|
|
471
|
+
{ lockId: u64; error: SpRuntimeDispatchError }
|
|
472
|
+
>;
|
|
473
|
+
/**
|
|
474
|
+
* Not all orphaned UTXOs for a retired Lock fit in the cleanup schedule.
|
|
475
|
+
**/
|
|
476
|
+
OrphanedUtxoCleanupScheduleOverflow: AugmentedEvent<
|
|
477
|
+
ApiType,
|
|
478
|
+
[accountId: AccountId32, lockId: u64, expirationFrame: u64],
|
|
479
|
+
{ accountId: AccountId32; lockId: u64; expirationFrame: u64 }
|
|
404
480
|
>;
|
|
405
481
|
OrphanedUtxoCosigned: AugmentedEvent<
|
|
406
482
|
ApiType,
|
|
407
483
|
[
|
|
408
|
-
|
|
484
|
+
lockId: u64,
|
|
409
485
|
utxoRef: ArgonPrimitivesBitcoinUtxoRef,
|
|
410
486
|
vaultId: u32,
|
|
411
487
|
accountId: AccountId32,
|
|
412
488
|
signature: Bytes,
|
|
413
489
|
],
|
|
414
490
|
{
|
|
415
|
-
|
|
491
|
+
lockId: u64;
|
|
416
492
|
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
417
493
|
vaultId: u32;
|
|
418
494
|
accountId: AccountId32;
|
|
419
495
|
signature: Bytes;
|
|
420
496
|
}
|
|
421
497
|
>;
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
>;
|
|
427
|
-
OrphanedUtxoReleaseRequested: AugmentedEvent<
|
|
498
|
+
/**
|
|
499
|
+
* An orphaned UTXO expiration could not reconcile its pending Vault cosign state.
|
|
500
|
+
**/
|
|
501
|
+
OrphanedUtxoExpirationError: AugmentedEvent<
|
|
428
502
|
ApiType,
|
|
429
|
-
[
|
|
503
|
+
[
|
|
504
|
+
accountId: AccountId32,
|
|
505
|
+
utxoRef: ArgonPrimitivesBitcoinUtxoRef,
|
|
506
|
+
error: SpRuntimeDispatchError,
|
|
507
|
+
],
|
|
430
508
|
{
|
|
431
|
-
utxoId: u64;
|
|
432
|
-
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
433
|
-
vaultId: u32;
|
|
434
509
|
accountId: AccountId32;
|
|
510
|
+
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
511
|
+
error: SpRuntimeDispatchError;
|
|
435
512
|
}
|
|
436
513
|
>;
|
|
437
|
-
|
|
514
|
+
OrphanedUtxoReceived: AugmentedEvent<
|
|
438
515
|
ApiType,
|
|
439
|
-
[
|
|
440
|
-
{
|
|
516
|
+
[lockId: u64, utxoRef: ArgonPrimitivesBitcoinUtxoRef, vaultId: u32, satoshis: u64],
|
|
517
|
+
{ lockId: u64; utxoRef: ArgonPrimitivesBitcoinUtxoRef; vaultId: u32; satoshis: u64 }
|
|
441
518
|
>;
|
|
442
|
-
|
|
519
|
+
OrphanedUtxoReleaseRequested: AugmentedEvent<
|
|
443
520
|
ApiType,
|
|
444
|
-
[
|
|
521
|
+
[lockId: u64, utxoRef: ArgonPrimitivesBitcoinUtxoRef, vaultId: u32, accountId: AccountId32],
|
|
445
522
|
{
|
|
446
|
-
|
|
523
|
+
lockId: u64;
|
|
447
524
|
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
448
525
|
vaultId: u32;
|
|
449
526
|
accountId: AccountId32;
|
|
@@ -451,47 +528,37 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
451
528
|
>;
|
|
452
529
|
};
|
|
453
530
|
bitcoinUtxos: {
|
|
454
|
-
|
|
531
|
+
UtxoDetected: AugmentedEvent<
|
|
455
532
|
ApiType,
|
|
456
533
|
[
|
|
457
|
-
|
|
534
|
+
lockId: u64,
|
|
458
535
|
utxoRef: ArgonPrimitivesBitcoinUtxoRef,
|
|
459
|
-
rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason,
|
|
460
536
|
satoshisReceived: u64,
|
|
537
|
+
bitcoinHeight: u64,
|
|
461
538
|
],
|
|
462
539
|
{
|
|
463
|
-
|
|
540
|
+
lockId: u64;
|
|
464
541
|
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
465
|
-
rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
|
|
466
542
|
satoshisReceived: u64;
|
|
543
|
+
bitcoinHeight: u64;
|
|
467
544
|
}
|
|
468
545
|
>;
|
|
469
|
-
|
|
546
|
+
UtxoDetectedError: AugmentedEvent<
|
|
470
547
|
ApiType,
|
|
471
|
-
[
|
|
472
|
-
{
|
|
548
|
+
[lockId: u64, error: SpRuntimeDispatchError],
|
|
549
|
+
{ lockId: u64; error: SpRuntimeDispatchError }
|
|
473
550
|
>;
|
|
474
551
|
UtxoSpent: AugmentedEvent<
|
|
475
552
|
ApiType,
|
|
476
|
-
[
|
|
477
|
-
{
|
|
553
|
+
[lockId: u64, utxoRef: ArgonPrimitivesBitcoinUtxoRef, blockHeight: u64],
|
|
554
|
+
{ lockId: u64; utxoRef: ArgonPrimitivesBitcoinUtxoRef; blockHeight: u64 }
|
|
478
555
|
>;
|
|
479
556
|
UtxoSpentError: AugmentedEvent<
|
|
480
557
|
ApiType,
|
|
481
|
-
[
|
|
482
|
-
{
|
|
483
|
-
>;
|
|
484
|
-
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 }
|
|
558
|
+
[lockId: u64, error: SpRuntimeDispatchError],
|
|
559
|
+
{ lockId: u64; error: SpRuntimeDispatchError }
|
|
494
560
|
>;
|
|
561
|
+
UtxoUnwatched: AugmentedEvent<ApiType, [lockId: u64], { lockId: u64 }>;
|
|
495
562
|
};
|
|
496
563
|
blockRewards: {
|
|
497
564
|
RewardCreated: AugmentedEvent<
|
|
@@ -1104,8 +1171,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1104
1171
|
**/
|
|
1105
1172
|
BitcoinMint: AugmentedEvent<
|
|
1106
1173
|
ApiType,
|
|
1107
|
-
[accountId: AccountId32,
|
|
1108
|
-
{ accountId: AccountId32;
|
|
1174
|
+
[accountId: AccountId32, fissionId: u64, lockId: Option<u64>, amount: u128],
|
|
1175
|
+
{ accountId: AccountId32; fissionId: u64; lockId: Option<u64>; amount: u128 }
|
|
1109
1176
|
>;
|
|
1110
1177
|
/**
|
|
1111
1178
|
* The amount of microgons minted for mining. NOTE: accounts below Existential Deposit
|
|
@@ -1125,14 +1192,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1125
1192
|
[
|
|
1126
1193
|
mintType: PalletMintMintType,
|
|
1127
1194
|
accountId: AccountId32,
|
|
1128
|
-
|
|
1195
|
+
fissionId: Option<u64>,
|
|
1196
|
+
lockId: Option<u64>,
|
|
1129
1197
|
amount: u128,
|
|
1130
1198
|
error: SpRuntimeDispatchError,
|
|
1131
1199
|
],
|
|
1132
1200
|
{
|
|
1133
1201
|
mintType: PalletMintMintType;
|
|
1134
1202
|
accountId: AccountId32;
|
|
1135
|
-
|
|
1203
|
+
fissionId: Option<u64>;
|
|
1204
|
+
lockId: Option<u64>;
|
|
1136
1205
|
amount: u128;
|
|
1137
1206
|
error: SpRuntimeDispatchError;
|
|
1138
1207
|
}
|
|
@@ -1847,6 +1916,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1847
1916
|
>;
|
|
1848
1917
|
};
|
|
1849
1918
|
treasury: {
|
|
1919
|
+
/**
|
|
1920
|
+
* Historical flexible-bond earnings were attributed to a surviving vault lot. No funds
|
|
1921
|
+
* move.
|
|
1922
|
+
**/
|
|
1923
|
+
BondLotEarningsBackfilled: AugmentedEvent<
|
|
1924
|
+
ApiType,
|
|
1925
|
+
[bondLotId: u64, addedFrames: u32, addedEarnings: u128],
|
|
1926
|
+
{ bondLotId: u64; addedFrames: u32; addedEarnings: u128 }
|
|
1927
|
+
>;
|
|
1850
1928
|
BondLotFlexibilityChanged: AugmentedEvent<
|
|
1851
1929
|
ApiType,
|
|
1852
1930
|
[vaultId: u32, bondLotId: u64, isFlexible: bool],
|
|
@@ -1912,6 +1990,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1912
1990
|
reason: PalletTreasuryBondReleaseReason;
|
|
1913
1991
|
}
|
|
1914
1992
|
>;
|
|
1993
|
+
/**
|
|
1994
|
+
* A fixed or unearned reward allocation could not be burned.
|
|
1995
|
+
**/
|
|
1996
|
+
CouldNotBurnRewardAllocation: AugmentedEvent<
|
|
1997
|
+
ApiType,
|
|
1998
|
+
[frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError],
|
|
1999
|
+
{ frameId: u64; amount: u128; dispatchError: SpRuntimeDispatchError }
|
|
2000
|
+
>;
|
|
1915
2001
|
/**
|
|
1916
2002
|
* An error occurred while paying frame earnings for an Argonot bond lot.
|
|
1917
2003
|
**/
|
|
@@ -2001,18 +2087,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2001
2087
|
[
|
|
2002
2088
|
frameId: u64,
|
|
2003
2089
|
bidPoolDistributed: u128,
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2090
|
+
stakePoolDistributed: u128,
|
|
2091
|
+
argonBondPoolDistributed: u128,
|
|
2092
|
+
vaultPoolDistributed: u128,
|
|
2093
|
+
burned: u128,
|
|
2007
2094
|
treasuryReserves: u128,
|
|
2008
2095
|
participatingVaults: u32,
|
|
2009
2096
|
],
|
|
2010
2097
|
{
|
|
2011
2098
|
frameId: u64;
|
|
2012
2099
|
bidPoolDistributed: u128;
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2100
|
+
stakePoolDistributed: u128;
|
|
2101
|
+
argonBondPoolDistributed: u128;
|
|
2102
|
+
vaultPoolDistributed: u128;
|
|
2103
|
+
burned: u128;
|
|
2016
2104
|
treasuryReserves: u128;
|
|
2017
2105
|
participatingVaults: u32;
|
|
2018
2106
|
}
|
|
@@ -2022,14 +2110,19 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2022
2110
|
**/
|
|
2023
2111
|
FrameVaultCapitalLocked: AugmentedEvent<
|
|
2024
2112
|
ApiType,
|
|
2025
|
-
[frameId: u64,
|
|
2026
|
-
{ frameId: u64;
|
|
2113
|
+
[frameId: u64, totalActiveBonds: u128, participatingVaults: u32],
|
|
2114
|
+
{ frameId: u64; totalActiveBonds: u128; participatingVaults: u32 }
|
|
2027
2115
|
>;
|
|
2028
2116
|
ReservedBondSpaceChanged: AugmentedEvent<
|
|
2029
2117
|
ApiType,
|
|
2030
2118
|
[vaultId: u32, reservedBondSpace: u32],
|
|
2031
2119
|
{ vaultId: u32; reservedBondSpace: u32 }
|
|
2032
2120
|
>;
|
|
2121
|
+
RewardEconomicsConfigured: AugmentedEvent<
|
|
2122
|
+
ApiType,
|
|
2123
|
+
[targetBitcoinPercent: Percent],
|
|
2124
|
+
{ targetBitcoinPercent: Percent }
|
|
2125
|
+
>;
|
|
2033
2126
|
};
|
|
2034
2127
|
txPause: {
|
|
2035
2128
|
/**
|
|
@@ -2101,34 +2194,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2101
2194
|
>;
|
|
2102
2195
|
};
|
|
2103
2196
|
vaults: {
|
|
2104
|
-
|
|
2105
|
-
ApiType,
|
|
2106
|
-
[vaultId: u32, operatorAccountId: AccountId32, amount: u128],
|
|
2107
|
-
{ vaultId: u32; operatorAccountId: AccountId32; amount: u128 }
|
|
2108
|
-
>;
|
|
2109
|
-
FundLockCanceled: AugmentedEvent<
|
|
2197
|
+
ArgonotExitReleased: AugmentedEvent<
|
|
2110
2198
|
ApiType,
|
|
2111
2199
|
[vaultId: u32, amount: u128],
|
|
2112
2200
|
{ vaultId: u32; amount: u128 }
|
|
2113
2201
|
>;
|
|
2114
|
-
|
|
2202
|
+
ArgonotExitRequested: AugmentedEvent<
|
|
2115
2203
|
ApiType,
|
|
2116
|
-
[
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
],
|
|
2124
|
-
{
|
|
2125
|
-
vaultId: u32;
|
|
2126
|
-
locker: AccountId32;
|
|
2127
|
-
liquidityPromised: u128;
|
|
2128
|
-
isRatchet: bool;
|
|
2129
|
-
feeRevenue: u128;
|
|
2130
|
-
didUseFeeCoupon: bool;
|
|
2131
|
-
}
|
|
2204
|
+
[vaultId: u32, amount: u128, noticeEndsAt: u64],
|
|
2205
|
+
{ vaultId: u32; amount: u128; noticeEndsAt: u64 }
|
|
2206
|
+
>;
|
|
2207
|
+
ArgonotSecuritizationSet: AugmentedEvent<
|
|
2208
|
+
ApiType,
|
|
2209
|
+
[vaultId: u32, operatorAccountId: AccountId32, amount: u128],
|
|
2210
|
+
{ vaultId: u32; operatorAccountId: AccountId32; amount: u128 }
|
|
2132
2211
|
>;
|
|
2133
2212
|
FundsReleased: AugmentedEvent<
|
|
2134
2213
|
ApiType,
|
|
@@ -2147,14 +2226,58 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2147
2226
|
>;
|
|
2148
2227
|
LostBitcoinCompensated: AugmentedEvent<
|
|
2149
2228
|
ApiType,
|
|
2150
|
-
[
|
|
2151
|
-
|
|
2229
|
+
[
|
|
2230
|
+
vaultId: u32,
|
|
2231
|
+
beneficiary: AccountId32,
|
|
2232
|
+
toBeneficiary: u128,
|
|
2233
|
+
shortfall: u128,
|
|
2234
|
+
burned: u128,
|
|
2235
|
+
],
|
|
2236
|
+
{
|
|
2237
|
+
vaultId: u32;
|
|
2238
|
+
beneficiary: AccountId32;
|
|
2239
|
+
toBeneficiary: u128;
|
|
2240
|
+
shortfall: u128;
|
|
2241
|
+
burned: u128;
|
|
2242
|
+
}
|
|
2152
2243
|
>;
|
|
2153
2244
|
ReservedSecuritizationSpaceChanged: AugmentedEvent<
|
|
2154
2245
|
ApiType,
|
|
2155
2246
|
[vaultId: u32, reservedSecuritizationSpace: u128],
|
|
2156
2247
|
{ vaultId: u32; reservedSecuritizationSpace: u128 }
|
|
2157
2248
|
>;
|
|
2249
|
+
SecuritizationExitReleased: AugmentedEvent<
|
|
2250
|
+
ApiType,
|
|
2251
|
+
[vaultId: u32, amount: u128],
|
|
2252
|
+
{ vaultId: u32; amount: u128 }
|
|
2253
|
+
>;
|
|
2254
|
+
SecuritizationExitRequested: AugmentedEvent<
|
|
2255
|
+
ApiType,
|
|
2256
|
+
[vaultId: u32, amount: u128, noticeEndsAt: u64],
|
|
2257
|
+
{ vaultId: u32; amount: u128; noticeEndsAt: u64 }
|
|
2258
|
+
>;
|
|
2259
|
+
SecuritizationReserved: AugmentedEvent<
|
|
2260
|
+
ApiType,
|
|
2261
|
+
[
|
|
2262
|
+
vaultId: u32,
|
|
2263
|
+
locker: AccountId32,
|
|
2264
|
+
securitizationCoverageMicrogons: u128,
|
|
2265
|
+
feeRevenue: u128,
|
|
2266
|
+
didUseFeeCoupon: bool,
|
|
2267
|
+
],
|
|
2268
|
+
{
|
|
2269
|
+
vaultId: u32;
|
|
2270
|
+
locker: AccountId32;
|
|
2271
|
+
securitizationCoverageMicrogons: u128;
|
|
2272
|
+
feeRevenue: u128;
|
|
2273
|
+
didUseFeeCoupon: bool;
|
|
2274
|
+
}
|
|
2275
|
+
>;
|
|
2276
|
+
SecuritizationReturned: AugmentedEvent<
|
|
2277
|
+
ApiType,
|
|
2278
|
+
[vaultId: u32, amount: u128],
|
|
2279
|
+
{ vaultId: u32; amount: u128 }
|
|
2280
|
+
>;
|
|
2158
2281
|
TreasuryRecordingError: AugmentedEvent<
|
|
2159
2282
|
ApiType,
|
|
2160
2283
|
[vaultId: u32, frameId: u64, vaultEarnings: u128, error: SpRuntimeDispatchError],
|