@argonprotocol/mainchain 1.5.2-dev.b031c548 → 1.5.2-dev.c911d613
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +185 -51
- package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +2 -2
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +2 -2
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +61 -23
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
- package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +6 -6
- package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +2 -2
- package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +1 -1
- package/browser/index.d.ts +1128 -493
- package/browser/index.js +374 -133
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +185 -51
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +2 -2
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +2 -2
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +61 -23
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
- package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +6 -6
- package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +2 -2
- package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +1 -1
- package/lib/index.cjs +373 -132
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1128 -493
- package/lib/index.d.ts +1128 -493
- package/lib/index.js +378 -137
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +48 -15
- package/src/interfaces/augment-api-errors.ts +39 -5
- package/src/interfaces/augment-api-events.ts +140 -56
- package/src/interfaces/augment-api-query.ts +202 -96
- package/src/interfaces/augment-api-tx.ts +29 -31
- package/src/interfaces/lookup.ts +429 -316
- package/src/interfaces/registry.ts +26 -12
- package/src/interfaces/types-lookup.ts +454 -322
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.5.2-dev.
|
|
3
|
+
"version": "1.5.2-dev.c911d613",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@argonprotocol/ethereum-contracts": "workspace:*",
|
|
72
|
-
"@argonprotocol/testing": "1.5.2-dev.
|
|
72
|
+
"@argonprotocol/testing": "1.5.2-dev.c911d613",
|
|
73
73
|
"@polkadot/typegen": "^17.0.1",
|
|
74
74
|
"@substrate/ss58-registry": "^1.51.0",
|
|
75
75
|
"@types/node": "^20",
|
|
@@ -51,14 +51,26 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
51
51
|
maxReserves: u32 & AugmentedConst<ApiType>;
|
|
52
52
|
};
|
|
53
53
|
bitcoinFissions: {
|
|
54
|
+
/**
|
|
55
|
+
* Fissions per Liquid covered by repayment benchmarks and checked by try-state.
|
|
56
|
+
**/
|
|
57
|
+
maxExpectedFissionsPerLiquid: u32 & AugmentedConst<ApiType>;
|
|
54
58
|
/**
|
|
55
59
|
* Maximum number of active Fissions that may allocate satoshis from one Lock.
|
|
56
60
|
**/
|
|
57
61
|
maxFissionsPerLock: u32 & AugmentedConst<ApiType>;
|
|
62
|
+
/**
|
|
63
|
+
* Maximum older frame records pruned in one block after gateway sync catches up.
|
|
64
|
+
**/
|
|
65
|
+
maxRValueHistoryPrunesPerBlock: u32 & AugmentedConst<ApiType>;
|
|
58
66
|
/**
|
|
59
67
|
* Minimum percentage change required to ratchet a Fission.
|
|
60
68
|
**/
|
|
61
69
|
minimumRatchetPercent: Percent & AugmentedConst<ApiType>;
|
|
70
|
+
/**
|
|
71
|
+
* Number of recent frame high-water marks retained after their source interval has synced.
|
|
72
|
+
**/
|
|
73
|
+
rValueHistoryFrames: u32 & AugmentedConst<ApiType>;
|
|
62
74
|
};
|
|
63
75
|
bitcoinLocks: {
|
|
64
76
|
/**
|
|
@@ -442,6 +454,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
442
454
|
* Minimum vault securitization required to become operational.
|
|
443
455
|
**/
|
|
444
456
|
operationalMinimumVaultSecuritization: u128 & AugmentedConst<ApiType>;
|
|
457
|
+
/**
|
|
458
|
+
* Required operational registration signing contract. Clients must require version 2
|
|
459
|
+
* before signing; older clients must upgrade rather than reuse ownership-only proofs.
|
|
460
|
+
**/
|
|
461
|
+
registrationProofVersion: u8 & AugmentedConst<ApiType>;
|
|
445
462
|
};
|
|
446
463
|
ownership: {
|
|
447
464
|
/**
|
|
@@ -542,17 +559,24 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
542
559
|
};
|
|
543
560
|
stabilizerBuys: {
|
|
544
561
|
/**
|
|
545
|
-
* Fraction of
|
|
562
|
+
* Fraction of total matching basis admitted to rewards, independent of bid rates.
|
|
563
|
+
* Configure 90%; reserve up to that amount, bounded separately by available Treasury
|
|
564
|
+
* funding.
|
|
546
565
|
**/
|
|
547
|
-
|
|
566
|
+
auctionInclusionPercent: Percent & AugmentedConst<ApiType>;
|
|
548
567
|
/**
|
|
549
|
-
*
|
|
568
|
+
* Additional burn-funded reward before applying the purchase's auction result.
|
|
550
569
|
**/
|
|
551
|
-
|
|
570
|
+
liquidRepaymentRewardPercent: Percent & AugmentedConst<ApiType>;
|
|
552
571
|
/**
|
|
553
|
-
* Maximum
|
|
572
|
+
* Maximum account/frame purchase buckets visited in one account payout.
|
|
573
|
+
* This bounds work, without limiting the number of purchases an account can hold.
|
|
574
|
+
**/
|
|
575
|
+
maxFramesPerPayout: u32 & AugmentedConst<ApiType>;
|
|
576
|
+
/**
|
|
577
|
+
* Maximum Liquid repayments attempted across all account payouts in one block.
|
|
554
578
|
**/
|
|
555
|
-
|
|
579
|
+
maxLiquidRepaysPerBlock: u32 & AugmentedConst<ApiType>;
|
|
556
580
|
/**
|
|
557
581
|
* Maximum work in each automatic stage per block: ranked bid decisions, then account
|
|
558
582
|
* payout attempts. Failures and empty-auction completion consume work; excess stays
|
|
@@ -565,22 +589,21 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
565
589
|
**/
|
|
566
590
|
maxPositiveBids: u8 & AugmentedConst<ApiType>;
|
|
567
591
|
/**
|
|
568
|
-
* Maximum
|
|
569
|
-
* This bounds work, without limiting the number of purchases an account can hold.
|
|
592
|
+
* Maximum observation age at purchase time; also bounds historical lookup reads.
|
|
570
593
|
**/
|
|
571
|
-
|
|
594
|
+
maxPriceAgeTicks: u64 & AugmentedConst<ApiType>;
|
|
572
595
|
/**
|
|
573
|
-
*
|
|
596
|
+
* Maximum obsolete price entries removed per block after gateway sync advances.
|
|
574
597
|
**/
|
|
575
|
-
|
|
598
|
+
maxPriceHistoryPrunesPerBlock: u32 & AugmentedConst<ApiType>;
|
|
576
599
|
/**
|
|
577
|
-
*
|
|
600
|
+
* Maximum frame visits per repayment attempt; a partial frame visit also reads one tick.
|
|
578
601
|
**/
|
|
579
|
-
|
|
602
|
+
maxPriceWindowSteps: u32 & AugmentedConst<ApiType>;
|
|
580
603
|
/**
|
|
581
|
-
*
|
|
604
|
+
* Total mining-frame hold from admission, including the bidding window.
|
|
582
605
|
**/
|
|
583
|
-
|
|
606
|
+
purchaseHoldFrames: u64 & AugmentedConst<ApiType>;
|
|
584
607
|
};
|
|
585
608
|
stabilizerPools: {
|
|
586
609
|
/**
|
|
@@ -678,6 +701,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
678
701
|
* The maximum percent of ownership-token circulation that can be bonded.
|
|
679
702
|
**/
|
|
680
703
|
maxArgonotBondedPercentOfCirculation: Percent & AugmentedConst<ApiType>;
|
|
704
|
+
/**
|
|
705
|
+
* Maximum accounts whose queued bond collateral is attempted in one block.
|
|
706
|
+
**/
|
|
707
|
+
maxBondCollateralSettlementsPerBlock: u32 & AugmentedConst<ApiType>;
|
|
708
|
+
/**
|
|
709
|
+
* Owner bond/stake lot count assumed by scan benchmarks and checked by try_state.
|
|
710
|
+
* Includes lots awaiting release. Purchases remain unrestricted and scans are not
|
|
711
|
+
* truncated.
|
|
712
|
+
**/
|
|
713
|
+
maxExpectedBondLotsPerAccount: u32 & AugmentedConst<ApiType>;
|
|
681
714
|
/**
|
|
682
715
|
* The maximum number of bond lots whose release delay may mature in a single frame.
|
|
683
716
|
**/
|
|
@@ -105,6 +105,22 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
105
105
|
* The fee coupon is invalid, expired, or already consumed.
|
|
106
106
|
**/
|
|
107
107
|
InvalidFeeCoupon: AugmentedError<ApiType>;
|
|
108
|
+
/**
|
|
109
|
+
* Zero is reserved for the absence of a Liquid and cannot identify a new allocation.
|
|
110
|
+
**/
|
|
111
|
+
InvalidLiquidId: AugmentedError<ApiType>;
|
|
112
|
+
/**
|
|
113
|
+
* Fissions can join an existing Liquid only during its original creation tick.
|
|
114
|
+
**/
|
|
115
|
+
LiquidCreationWindowClosed: AugmentedError<ApiType>;
|
|
116
|
+
/**
|
|
117
|
+
* This owner has no active Fissions in the selected Liquid.
|
|
118
|
+
**/
|
|
119
|
+
LiquidNotFound: AugmentedError<ApiType>;
|
|
120
|
+
/**
|
|
121
|
+
* This owner's Liquid has unsettled repayment purchases, so it cannot close or ratchet.
|
|
122
|
+
**/
|
|
123
|
+
LiquidRepaymentPending: AugmentedError<ApiType>;
|
|
108
124
|
/**
|
|
109
125
|
* The requested source Lock does not exist.
|
|
110
126
|
**/
|
|
@@ -141,6 +157,18 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
141
157
|
* The Fission's ratchet counter cannot be incremented.
|
|
142
158
|
**/
|
|
143
159
|
RatchetNumberOverflow: AugmentedError<ApiType>;
|
|
160
|
+
/**
|
|
161
|
+
* The actual burn exceeds the remaining purchase budget.
|
|
162
|
+
**/
|
|
163
|
+
RepaymentBudgetExceeded: AugmentedError<ApiType>;
|
|
164
|
+
/**
|
|
165
|
+
* The repayment requests more satoshis than the Fission currently allocates.
|
|
166
|
+
**/
|
|
167
|
+
RepaymentExceedsFission: AugmentedError<ApiType>;
|
|
168
|
+
/**
|
|
169
|
+
* A repayment must return at least one satoshi to its source Lock.
|
|
170
|
+
**/
|
|
171
|
+
RepaymentHasNoSatoshis: AugmentedError<ApiType>;
|
|
144
172
|
/**
|
|
145
173
|
* The Vault could not upgrade the guarantee assigned to this Fission.
|
|
146
174
|
**/
|
|
@@ -613,7 +641,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
613
641
|
**/
|
|
614
642
|
InvalidTransferCollateralUpdate: AugmentedError<ApiType>;
|
|
615
643
|
/**
|
|
616
|
-
* The transfer-out amount
|
|
644
|
+
* The transfer-out amount is below the selected currency's minimum account balance.
|
|
617
645
|
**/
|
|
618
646
|
InvalidTransferOutAmount: AugmentedError<ApiType>;
|
|
619
647
|
/**
|
|
@@ -1180,6 +1208,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1180
1208
|
* alphanumeric.
|
|
1181
1209
|
**/
|
|
1182
1210
|
InvalidName: AugmentedError<ApiType>;
|
|
1211
|
+
/**
|
|
1212
|
+
* The operational signature does not authorize this registration on this chain.
|
|
1213
|
+
* Clients using ownership-only proofs must upgrade to registration proof version 2.
|
|
1214
|
+
**/
|
|
1215
|
+
InvalidRegistrationProof: AugmentedError<ApiType>;
|
|
1183
1216
|
/**
|
|
1184
1217
|
* The caller is not one of the accounts included in the registration.
|
|
1185
1218
|
**/
|
|
@@ -1349,7 +1382,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1349
1382
|
**/
|
|
1350
1383
|
AuctionNotFound: AugmentedError<ApiType>;
|
|
1351
1384
|
/**
|
|
1352
|
-
*
|
|
1385
|
+
* Allocation was requested before the auction's Treasury budget was finalized.
|
|
1353
1386
|
**/
|
|
1354
1387
|
AuctionNotReady: AugmentedError<ApiType>;
|
|
1355
1388
|
/**
|
|
@@ -1373,7 +1406,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1373
1406
|
**/
|
|
1374
1407
|
EntryNotFound: AugmentedError<ApiType>;
|
|
1375
1408
|
/**
|
|
1376
|
-
*
|
|
1409
|
+
* A repayment hold has not matured, its price window is incomplete, or its auction
|
|
1410
|
+
* result is not available yet.
|
|
1377
1411
|
**/
|
|
1378
1412
|
PayoutNotReady: AugmentedError<ApiType>;
|
|
1379
1413
|
};
|
|
@@ -1483,8 +1517,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1483
1517
|
ticks: {};
|
|
1484
1518
|
treasury: {
|
|
1485
1519
|
/**
|
|
1486
|
-
*
|
|
1487
|
-
*
|
|
1520
|
+
* A reservation or liquidation would leave Treasury backing uncovered, or queued
|
|
1521
|
+
* settlement exceeds the account's remaining encumbrance.
|
|
1488
1522
|
**/
|
|
1489
1523
|
ActiveBondAmountBelowEncumberedBacking: AugmentedError<ApiType>;
|
|
1490
1524
|
/**
|
|
@@ -30,6 +30,8 @@ import type {
|
|
|
30
30
|
ArgonPrimitivesBlockSealBlockPayout,
|
|
31
31
|
ArgonPrimitivesBlockSealMiningRegistration,
|
|
32
32
|
ArgonPrimitivesDomainZoneRecord,
|
|
33
|
+
ArgonPrimitivesGatewayGatewayState,
|
|
34
|
+
ArgonPrimitivesGatewaySourceChain,
|
|
33
35
|
ArgonPrimitivesNotaryNotaryMeta,
|
|
34
36
|
ArgonPrimitivesNotaryNotaryRecord,
|
|
35
37
|
ArgonPrimitivesProvidersOperationalRewardKind,
|
|
@@ -44,9 +46,7 @@ import type {
|
|
|
44
46
|
PalletBootstrapRecoveryPubkey,
|
|
45
47
|
PalletCrosschainTransferAssetKind,
|
|
46
48
|
PalletCrosschainTransferCouncilApprovalTargetId,
|
|
47
|
-
PalletCrosschainTransferGatewayState,
|
|
48
49
|
PalletCrosschainTransferGatewaySyncPause,
|
|
49
|
-
PalletCrosschainTransferSourceChain,
|
|
50
50
|
PalletCrosschainTransferSwapPurchaseEvidence,
|
|
51
51
|
PalletCrosschainTransferTransferToArgonActivity,
|
|
52
52
|
PalletDomainsDomainRegistration,
|
|
@@ -385,6 +385,26 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
385
385
|
amountBurned: u128;
|
|
386
386
|
}
|
|
387
387
|
>;
|
|
388
|
+
/**
|
|
389
|
+
* Part of a Fission was repaid and its Bitcoin allocation returned to the source Lock.
|
|
390
|
+
**/
|
|
391
|
+
FissionRepaid: AugmentedEvent<
|
|
392
|
+
ApiType,
|
|
393
|
+
[
|
|
394
|
+
accountId: AccountId32,
|
|
395
|
+
fissionId: u64,
|
|
396
|
+
satoshis: u64,
|
|
397
|
+
liquidityRepaid: u128,
|
|
398
|
+
redemptionAmount: u128,
|
|
399
|
+
],
|
|
400
|
+
{
|
|
401
|
+
accountId: AccountId32;
|
|
402
|
+
fissionId: u64;
|
|
403
|
+
satoshis: u64;
|
|
404
|
+
liquidityRepaid: u128;
|
|
405
|
+
redemptionAmount: u128;
|
|
406
|
+
}
|
|
407
|
+
>;
|
|
388
408
|
};
|
|
389
409
|
bitcoinLocks: {
|
|
390
410
|
BitcoinCosignPastDue: AugmentedEvent<
|
|
@@ -637,13 +657,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
637
657
|
**/
|
|
638
658
|
CouncilSignerRegistered: AugmentedEvent<
|
|
639
659
|
ApiType,
|
|
640
|
-
[
|
|
641
|
-
destinationChain: PalletCrosschainTransferSourceChain,
|
|
642
|
-
accountId: AccountId32,
|
|
643
|
-
signer: H160,
|
|
644
|
-
],
|
|
660
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, accountId: AccountId32, signer: H160],
|
|
645
661
|
{
|
|
646
|
-
destinationChain:
|
|
662
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
647
663
|
accountId: AccountId32;
|
|
648
664
|
signer: H160;
|
|
649
665
|
}
|
|
@@ -653,13 +669,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
653
669
|
**/
|
|
654
670
|
CouncilSignerRotationQueued: AugmentedEvent<
|
|
655
671
|
ApiType,
|
|
656
|
-
[
|
|
657
|
-
destinationChain: PalletCrosschainTransferSourceChain,
|
|
658
|
-
accountId: AccountId32,
|
|
659
|
-
signer: H160,
|
|
660
|
-
],
|
|
672
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, accountId: AccountId32, signer: H160],
|
|
661
673
|
{
|
|
662
|
-
destinationChain:
|
|
674
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
663
675
|
accountId: AccountId32;
|
|
664
676
|
signer: H160;
|
|
665
677
|
}
|
|
@@ -670,12 +682,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
670
682
|
GatewayStateAdvanced: AugmentedEvent<
|
|
671
683
|
ApiType,
|
|
672
684
|
[
|
|
673
|
-
sourceChain:
|
|
674
|
-
gatewayState:
|
|
685
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
686
|
+
gatewayState: ArgonPrimitivesGatewayGatewayState,
|
|
675
687
|
],
|
|
676
688
|
{
|
|
677
|
-
sourceChain:
|
|
678
|
-
gatewayState:
|
|
689
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
690
|
+
gatewayState: ArgonPrimitivesGatewayGatewayState;
|
|
679
691
|
}
|
|
680
692
|
>;
|
|
681
693
|
/**
|
|
@@ -684,11 +696,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
684
696
|
GatewaySyncPaused: AugmentedEvent<
|
|
685
697
|
ApiType,
|
|
686
698
|
[
|
|
687
|
-
sourceChain:
|
|
699
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
688
700
|
pause: PalletCrosschainTransferGatewaySyncPause,
|
|
689
701
|
],
|
|
690
702
|
{
|
|
691
|
-
sourceChain:
|
|
703
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
692
704
|
pause: PalletCrosschainTransferGatewaySyncPause;
|
|
693
705
|
}
|
|
694
706
|
>;
|
|
@@ -697,16 +709,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
697
709
|
**/
|
|
698
710
|
GatewayUnpaused: AugmentedEvent<
|
|
699
711
|
ApiType,
|
|
700
|
-
[sourceChain:
|
|
701
|
-
{ sourceChain:
|
|
712
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain],
|
|
713
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain }
|
|
702
714
|
>;
|
|
703
715
|
/**
|
|
704
716
|
* Root force-set the active Global Issuance Council for a destination chain.
|
|
705
717
|
**/
|
|
706
718
|
GlobalIssuanceCouncilForced: AugmentedEvent<
|
|
707
719
|
ApiType,
|
|
708
|
-
[destinationChain:
|
|
709
|
-
{ destinationChain:
|
|
720
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, councilHash: H256],
|
|
721
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain; councilHash: H256 }
|
|
710
722
|
>;
|
|
711
723
|
/**
|
|
712
724
|
* A frame transition queued a new Global Issuance Council for destination-chain approval.
|
|
@@ -714,24 +726,42 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
714
726
|
GlobalIssuanceCouncilRotationQueued: AugmentedEvent<
|
|
715
727
|
ApiType,
|
|
716
728
|
[
|
|
717
|
-
destinationChain:
|
|
729
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
718
730
|
councilHash: H256,
|
|
719
731
|
approvalQueueNonce: u64,
|
|
720
732
|
],
|
|
721
733
|
{
|
|
722
|
-
destinationChain:
|
|
734
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
723
735
|
councilHash: H256;
|
|
724
736
|
approvalQueueNonce: u64;
|
|
725
737
|
}
|
|
726
738
|
>;
|
|
739
|
+
/**
|
|
740
|
+
* Sender authorization failed; the selection was skipped and ordinary buy rules apply.
|
|
741
|
+
**/
|
|
742
|
+
LiquidRepaymentUnauthorized: AugmentedEvent<
|
|
743
|
+
ApiType,
|
|
744
|
+
[
|
|
745
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
746
|
+
gatewayActivityNonce: u64,
|
|
747
|
+
account: AccountId32,
|
|
748
|
+
liquidId: u64,
|
|
749
|
+
],
|
|
750
|
+
{
|
|
751
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
752
|
+
gatewayActivityNonce: u64;
|
|
753
|
+
account: AccountId32;
|
|
754
|
+
liquidId: u64;
|
|
755
|
+
}
|
|
756
|
+
>;
|
|
727
757
|
/**
|
|
728
758
|
* Root updated the minimum normalized microgon value required to register a Minting
|
|
729
759
|
* Authority on one destination chain.
|
|
730
760
|
**/
|
|
731
761
|
MinimumMintingAuthorityValueSet: AugmentedEvent<
|
|
732
762
|
ApiType,
|
|
733
|
-
[destinationChain:
|
|
734
|
-
{ destinationChain:
|
|
763
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, minimumValue: u128],
|
|
764
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain; minimumValue: u128 }
|
|
735
765
|
>;
|
|
736
766
|
/**
|
|
737
767
|
* A proven activation paid or released the held relayer reimbursement and made the
|
|
@@ -740,13 +770,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
740
770
|
MintingAuthorityActivationCompleted: AugmentedEvent<
|
|
741
771
|
ApiType,
|
|
742
772
|
[
|
|
743
|
-
destinationChain:
|
|
773
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
744
774
|
destinationSigningKey: H160,
|
|
745
775
|
relayerArgonAccountId: AccountId32,
|
|
746
776
|
repaymentAmount: u128,
|
|
747
777
|
],
|
|
748
778
|
{
|
|
749
|
-
destinationChain:
|
|
779
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
750
780
|
destinationSigningKey: H160;
|
|
751
781
|
relayerArgonAccountId: AccountId32;
|
|
752
782
|
repaymentAmount: u128;
|
|
@@ -757,8 +787,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
757
787
|
**/
|
|
758
788
|
MintingAuthorityActivationFinalized: AugmentedEvent<
|
|
759
789
|
ApiType,
|
|
760
|
-
[sourceChain:
|
|
761
|
-
{ sourceChain:
|
|
790
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, destinationSigningKey: H160],
|
|
791
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; destinationSigningKey: H160 }
|
|
762
792
|
>;
|
|
763
793
|
/**
|
|
764
794
|
* Root updated the pricing inputs used to repay relayers for activation batches on one
|
|
@@ -766,8 +796,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
766
796
|
**/
|
|
767
797
|
MintingAuthorityActivationRepaymentPricingSet: AugmentedEvent<
|
|
768
798
|
ApiType,
|
|
769
|
-
[destinationChain:
|
|
770
|
-
{ destinationChain:
|
|
799
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain],
|
|
800
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain }
|
|
771
801
|
>;
|
|
772
802
|
/**
|
|
773
803
|
* A proven Ethereum deactivation released collateral and removed the local authority
|
|
@@ -775,8 +805,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
775
805
|
**/
|
|
776
806
|
MintingAuthorityDeactivationFinalized: AugmentedEvent<
|
|
777
807
|
ApiType,
|
|
778
|
-
[sourceChain:
|
|
779
|
-
{ sourceChain:
|
|
808
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, destinationSigningKey: H160],
|
|
809
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; destinationSigningKey: H160 }
|
|
780
810
|
>;
|
|
781
811
|
/**
|
|
782
812
|
* An operator queued the council-approved Ethereum deactivation for a Minting Authority.
|
|
@@ -784,12 +814,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
784
814
|
MintingAuthorityDeactivationQueued: AugmentedEvent<
|
|
785
815
|
ApiType,
|
|
786
816
|
[
|
|
787
|
-
destinationChain:
|
|
817
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
788
818
|
destinationSigningKey: H160,
|
|
789
819
|
approvalQueueNonce: u64,
|
|
790
820
|
],
|
|
791
821
|
{
|
|
792
|
-
destinationChain:
|
|
822
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
793
823
|
destinationSigningKey: H160;
|
|
794
824
|
approvalQueueNonce: u64;
|
|
795
825
|
}
|
|
@@ -800,13 +830,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
800
830
|
MintingAuthorityRegistered: AugmentedEvent<
|
|
801
831
|
ApiType,
|
|
802
832
|
[
|
|
803
|
-
destinationChain:
|
|
833
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
804
834
|
destinationSigningKey: H160,
|
|
805
835
|
accountId: AccountId32,
|
|
806
836
|
approvalQueueNonce: u64,
|
|
807
837
|
],
|
|
808
838
|
{
|
|
809
|
-
destinationChain:
|
|
839
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
810
840
|
destinationSigningKey: H160;
|
|
811
841
|
accountId: AccountId32;
|
|
812
842
|
approvalQueueNonce: u64;
|
|
@@ -818,12 +848,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
818
848
|
QueueEntryApprovalReady: AugmentedEvent<
|
|
819
849
|
ApiType,
|
|
820
850
|
[
|
|
821
|
-
destinationChain:
|
|
851
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
822
852
|
target: PalletCrosschainTransferCouncilApprovalTargetId,
|
|
823
853
|
approvalQueueNonce: u64,
|
|
824
854
|
],
|
|
825
855
|
{
|
|
826
|
-
destinationChain:
|
|
856
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
827
857
|
target: PalletCrosschainTransferCouncilApprovalTargetId;
|
|
828
858
|
approvalQueueNonce: u64;
|
|
829
859
|
}
|
|
@@ -834,12 +864,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
834
864
|
QueueEntryApprovalRecorded: AugmentedEvent<
|
|
835
865
|
ApiType,
|
|
836
866
|
[
|
|
837
|
-
destinationChain:
|
|
867
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
838
868
|
target: PalletCrosschainTransferCouncilApprovalTargetId,
|
|
839
869
|
approvalQueueNonce: u64,
|
|
840
870
|
],
|
|
841
871
|
{
|
|
842
|
-
destinationChain:
|
|
872
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
843
873
|
target: PalletCrosschainTransferCouncilApprovalTargetId;
|
|
844
874
|
approvalQueueNonce: u64;
|
|
845
875
|
}
|
|
@@ -875,16 +905,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
875
905
|
**/
|
|
876
906
|
TransferOutCanceled: AugmentedEvent<
|
|
877
907
|
ApiType,
|
|
878
|
-
[sourceChain:
|
|
879
|
-
{ sourceChain:
|
|
908
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, transferId: H256],
|
|
909
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; transferId: H256 }
|
|
880
910
|
>;
|
|
881
911
|
/**
|
|
882
912
|
* A transfer was finalized on the source chain.
|
|
883
913
|
**/
|
|
884
914
|
TransferOutFinalized: AugmentedEvent<
|
|
885
915
|
ApiType,
|
|
886
|
-
[sourceChain:
|
|
887
|
-
{ sourceChain:
|
|
916
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, transferId: H256],
|
|
917
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; transferId: H256 }
|
|
888
918
|
>;
|
|
889
919
|
/**
|
|
890
920
|
* A transfer is ready for finalization.
|
|
@@ -896,7 +926,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
896
926
|
TransferOutStarted: AugmentedEvent<
|
|
897
927
|
ApiType,
|
|
898
928
|
[
|
|
899
|
-
destinationChain:
|
|
929
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
900
930
|
transferId: H256,
|
|
901
931
|
accountId: AccountId32,
|
|
902
932
|
asset: PalletCrosschainTransferAssetKind,
|
|
@@ -904,7 +934,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
904
934
|
mintingAuthorityTip: u128,
|
|
905
935
|
],
|
|
906
936
|
{
|
|
907
|
-
destinationChain:
|
|
937
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
908
938
|
transferId: H256;
|
|
909
939
|
accountId: AccountId32;
|
|
910
940
|
asset: PalletCrosschainTransferAssetKind;
|
|
@@ -918,13 +948,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
918
948
|
TransferToArgonFromSwapSettled: AugmentedEvent<
|
|
919
949
|
ApiType,
|
|
920
950
|
[
|
|
921
|
-
sourceChain:
|
|
951
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
922
952
|
transfer: PalletCrosschainTransferTransferToArgonActivity,
|
|
923
953
|
purchase: PalletCrosschainTransferSwapPurchaseEvidence,
|
|
924
954
|
purchaseTick: u64,
|
|
925
955
|
],
|
|
926
956
|
{
|
|
927
|
-
sourceChain:
|
|
957
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
928
958
|
transfer: PalletCrosschainTransferTransferToArgonActivity;
|
|
929
959
|
purchase: PalletCrosschainTransferSwapPurchaseEvidence;
|
|
930
960
|
purchaseTick: u64;
|
|
@@ -936,14 +966,33 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
936
966
|
TransferToArgonSettled: AugmentedEvent<
|
|
937
967
|
ApiType,
|
|
938
968
|
[
|
|
939
|
-
sourceChain:
|
|
969
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
940
970
|
transfer: PalletCrosschainTransferTransferToArgonActivity,
|
|
941
971
|
],
|
|
942
972
|
{
|
|
943
|
-
sourceChain:
|
|
973
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
944
974
|
transfer: PalletCrosschainTransferTransferToArgonActivity;
|
|
945
975
|
}
|
|
946
976
|
>;
|
|
977
|
+
/**
|
|
978
|
+
* Delivery succeeded, but purchase admission rolled back. Funds remain spendable and
|
|
979
|
+
* the gateway nonce advances without a reward or Liquid repayment commitment.
|
|
980
|
+
**/
|
|
981
|
+
UniswapPurchaseAdmissionFailed: AugmentedEvent<
|
|
982
|
+
ApiType,
|
|
983
|
+
[
|
|
984
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
985
|
+
gatewayActivityNonce: u64,
|
|
986
|
+
account: AccountId32,
|
|
987
|
+
error: SpRuntimeDispatchError,
|
|
988
|
+
],
|
|
989
|
+
{
|
|
990
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
991
|
+
gatewayActivityNonce: u64;
|
|
992
|
+
account: AccountId32;
|
|
993
|
+
error: SpRuntimeDispatchError;
|
|
994
|
+
}
|
|
995
|
+
>;
|
|
947
996
|
};
|
|
948
997
|
digests: {};
|
|
949
998
|
domains: {
|
|
@@ -1896,6 +1945,33 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1896
1945
|
[account: AccountId32, admissionFrame: u64, rewardRate: Percent, positiveBidCount: u8],
|
|
1897
1946
|
{ account: AccountId32; admissionFrame: u64; rewardRate: Percent; positiveBidCount: u8 }
|
|
1898
1947
|
>;
|
|
1948
|
+
/**
|
|
1949
|
+
* Repayment and its remaining principal were settled in the account payout transaction.
|
|
1950
|
+
**/
|
|
1951
|
+
LiquidRepaymentCompleted: AugmentedEvent<
|
|
1952
|
+
ApiType,
|
|
1953
|
+
[account: AccountId32, gatewayActivityNonce: u64, liquidId: u64, microgonsBurned: u128],
|
|
1954
|
+
{ account: AccountId32; gatewayActivityNonce: u64; liquidId: u64; microgonsBurned: u128 }
|
|
1955
|
+
>;
|
|
1956
|
+
/**
|
|
1957
|
+
* The purchase lacks valid BTC/R prices, or the Liquid is empty, was recently ratcheted,
|
|
1958
|
+
* or lacks the hold plus release window.
|
|
1959
|
+
* Delivered ARGON is processed under the ordinary purchase rules.
|
|
1960
|
+
**/
|
|
1961
|
+
LiquidRepaymentInvalid: AugmentedEvent<
|
|
1962
|
+
ApiType,
|
|
1963
|
+
[account: AccountId32, gatewayActivityNonce: u64, liquidId: u64],
|
|
1964
|
+
{ account: AccountId32; gatewayActivityNonce: u64; liquidId: u64 }
|
|
1965
|
+
>;
|
|
1966
|
+
/**
|
|
1967
|
+
* Additional reward funded by completed repayment burns, using the same auction result.
|
|
1968
|
+
* This does not consume the Treasury funding reserved for ordinary buy rewards.
|
|
1969
|
+
**/
|
|
1970
|
+
LiquidRepaymentRewardAwarded: AugmentedEvent<
|
|
1971
|
+
ApiType,
|
|
1972
|
+
[account: AccountId32, admissionFrame: u64, amount: u128],
|
|
1973
|
+
{ account: AccountId32; admissionFrame: u64; amount: u128 }
|
|
1974
|
+
>;
|
|
1899
1975
|
MatchingRateChanged: AugmentedEvent<ApiType, [rate: Permill], { rate: Permill }>;
|
|
1900
1976
|
PayoutCompleted: AugmentedEvent<
|
|
1901
1977
|
ApiType,
|
|
@@ -1919,8 +1995,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1919
1995
|
>;
|
|
1920
1996
|
RewardAwarded: AugmentedEvent<
|
|
1921
1997
|
ApiType,
|
|
1922
|
-
[account: AccountId32, admissionFrame: u64, amount: u128,
|
|
1923
|
-
{ account: AccountId32; admissionFrame: u64; amount: u128;
|
|
1998
|
+
[account: AccountId32, admissionFrame: u64, amount: u128, maturesAtFrame: u64],
|
|
1999
|
+
{ account: AccountId32; admissionFrame: u64; amount: u128; maturesAtFrame: u64 }
|
|
1924
2000
|
>;
|
|
1925
2001
|
};
|
|
1926
2002
|
stabilizerPools: {
|
|
@@ -2187,6 +2263,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2187
2263
|
dispatchError: SpRuntimeDispatchError;
|
|
2188
2264
|
}
|
|
2189
2265
|
>;
|
|
2266
|
+
/**
|
|
2267
|
+
* Settlement rolled back and remains queued for a later block.
|
|
2268
|
+
**/
|
|
2269
|
+
CouldNotSettleBondCollateral: AugmentedEvent<
|
|
2270
|
+
ApiType,
|
|
2271
|
+
[accountId: AccountId32, dispatchError: SpRuntimeDispatchError],
|
|
2272
|
+
{ accountId: AccountId32; dispatchError: SpRuntimeDispatchError }
|
|
2273
|
+
>;
|
|
2190
2274
|
/**
|
|
2191
2275
|
* An error occurred while moving bid-pool funds into treasury reserves.
|
|
2192
2276
|
**/
|