@argonprotocol/mainchain 1.5.1 → 1.5.2-dev.085c3add
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 +87 -0
- package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
- package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +357 -16
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
- package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
- package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
- package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
- package/browser/index.d.ts +6074 -822
- package/browser/index.js +4738 -991
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +357 -16
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
- package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
- package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
- package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
- package/lib/index.cjs +4955 -1233
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +6074 -822
- package/lib/index.d.ts +6074 -822
- package/lib/index.js +4720 -998
- package/lib/index.js.map +1 -1
- package/package.json +8 -7
- package/src/interfaces/augment-api-consts.ts +101 -1
- package/src/interfaces/augment-api-errors.ts +185 -13
- package/src/interfaces/augment-api-events.ts +279 -82
- package/src/interfaces/augment-api-query.ts +399 -54
- package/src/interfaces/augment-api-rpc.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +209 -78
- package/src/interfaces/lookup.ts +909 -345
- package/src/interfaces/registry.ts +86 -10
- package/src/interfaces/types-lookup.ts +1003 -370
|
@@ -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
|
|
@@ -8,9 +7,11 @@ import type {} from '@polkadot/api-base/types/events';
|
|
|
8
7
|
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
9
8
|
import type {
|
|
10
9
|
Bytes,
|
|
10
|
+
Compact,
|
|
11
11
|
Null,
|
|
12
12
|
Option,
|
|
13
13
|
Result,
|
|
14
|
+
U256,
|
|
14
15
|
U8aFixed,
|
|
15
16
|
Vec,
|
|
16
17
|
bool,
|
|
@@ -19,15 +20,18 @@ import type {
|
|
|
19
20
|
u16,
|
|
20
21
|
u32,
|
|
21
22
|
u64,
|
|
23
|
+
u8,
|
|
22
24
|
} from '@polkadot/types-codec';
|
|
23
25
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
24
|
-
import type { AccountId32, H160, H256, Percent } from '@polkadot/types/interfaces/runtime';
|
|
26
|
+
import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
25
27
|
import type {
|
|
26
28
|
ArgonNotaryAuditErrorVerifyError,
|
|
27
29
|
ArgonPrimitivesBitcoinUtxoRef,
|
|
28
30
|
ArgonPrimitivesBlockSealBlockPayout,
|
|
29
31
|
ArgonPrimitivesBlockSealMiningRegistration,
|
|
30
32
|
ArgonPrimitivesDomainZoneRecord,
|
|
33
|
+
ArgonPrimitivesGatewayGatewayState,
|
|
34
|
+
ArgonPrimitivesGatewaySourceChain,
|
|
31
35
|
ArgonPrimitivesNotaryNotaryMeta,
|
|
32
36
|
ArgonPrimitivesNotaryNotaryRecord,
|
|
33
37
|
ArgonPrimitivesProvidersOperationalRewardKind,
|
|
@@ -42,17 +46,22 @@ import type {
|
|
|
42
46
|
PalletBootstrapRecoveryPubkey,
|
|
43
47
|
PalletCrosschainTransferAssetKind,
|
|
44
48
|
PalletCrosschainTransferCouncilApprovalTargetId,
|
|
45
|
-
PalletCrosschainTransferGatewayState,
|
|
46
49
|
PalletCrosschainTransferGatewaySyncPause,
|
|
47
|
-
|
|
50
|
+
PalletCrosschainTransferSwapPurchaseEvidence,
|
|
48
51
|
PalletCrosschainTransferTransferToArgonActivity,
|
|
49
52
|
PalletDomainsDomainRegistration,
|
|
50
53
|
PalletEthereumVerifierBasicOperatingMode,
|
|
51
54
|
PalletMintMintType,
|
|
52
55
|
PalletMultisigTimepoint,
|
|
53
56
|
PalletProxyDepositKind,
|
|
57
|
+
PalletStabilizerBuysIneligibleReason,
|
|
58
|
+
PalletStabilizerBuysUniswapPurchasePurchasePool,
|
|
59
|
+
PalletStabilizerPoolsCheckpointOutcome,
|
|
60
|
+
PalletStabilizerPoolsPoolConfig,
|
|
61
|
+
PalletStabilizerPoolsPositionCheckpoint,
|
|
54
62
|
PalletTreasuryBondProgramId,
|
|
55
63
|
PalletTreasuryBondReleaseReason,
|
|
64
|
+
PalletTreasuryRewardReserveBalances,
|
|
56
65
|
SpConsensusGrandpaAppPublic,
|
|
57
66
|
SpRuntimeDispatchError,
|
|
58
67
|
} from '@polkadot/types/lookup';
|
|
@@ -376,6 +385,26 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
376
385
|
amountBurned: u128;
|
|
377
386
|
}
|
|
378
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
|
+
>;
|
|
379
408
|
};
|
|
380
409
|
bitcoinLocks: {
|
|
381
410
|
BitcoinCosignPastDue: AugmentedEvent<
|
|
@@ -401,7 +430,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
401
430
|
lockId: u64,
|
|
402
431
|
vaultId: u32,
|
|
403
432
|
securitizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis,
|
|
404
|
-
|
|
433
|
+
securitizationMicrogons: u128,
|
|
405
434
|
accountId: AccountId32,
|
|
406
435
|
securityFee: u128,
|
|
407
436
|
],
|
|
@@ -409,7 +438,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
409
438
|
lockId: u64;
|
|
410
439
|
vaultId: u32;
|
|
411
440
|
securitizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis;
|
|
412
|
-
|
|
441
|
+
securitizationMicrogons: u128;
|
|
413
442
|
accountId: AccountId32;
|
|
414
443
|
securityFee: u128;
|
|
415
444
|
}
|
|
@@ -419,7 +448,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
419
448
|
[lockId: u64, vaultId: u32, isFlexible: bool],
|
|
420
449
|
{ lockId: u64; vaultId: u32; isFlexible: bool }
|
|
421
450
|
>;
|
|
422
|
-
|
|
451
|
+
BitcoinLockGuaranteeSet: AugmentedEvent<
|
|
423
452
|
ApiType,
|
|
424
453
|
[
|
|
425
454
|
lockId: u64,
|
|
@@ -628,13 +657,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
628
657
|
**/
|
|
629
658
|
CouncilSignerRegistered: AugmentedEvent<
|
|
630
659
|
ApiType,
|
|
631
|
-
[
|
|
632
|
-
destinationChain: PalletCrosschainTransferSourceChain,
|
|
633
|
-
accountId: AccountId32,
|
|
634
|
-
signer: H160,
|
|
635
|
-
],
|
|
660
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, accountId: AccountId32, signer: H160],
|
|
636
661
|
{
|
|
637
|
-
destinationChain:
|
|
662
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
638
663
|
accountId: AccountId32;
|
|
639
664
|
signer: H160;
|
|
640
665
|
}
|
|
@@ -644,13 +669,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
644
669
|
**/
|
|
645
670
|
CouncilSignerRotationQueued: AugmentedEvent<
|
|
646
671
|
ApiType,
|
|
647
|
-
[
|
|
648
|
-
destinationChain: PalletCrosschainTransferSourceChain,
|
|
649
|
-
accountId: AccountId32,
|
|
650
|
-
signer: H160,
|
|
651
|
-
],
|
|
672
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, accountId: AccountId32, signer: H160],
|
|
652
673
|
{
|
|
653
|
-
destinationChain:
|
|
674
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
654
675
|
accountId: AccountId32;
|
|
655
676
|
signer: H160;
|
|
656
677
|
}
|
|
@@ -661,12 +682,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
661
682
|
GatewayStateAdvanced: AugmentedEvent<
|
|
662
683
|
ApiType,
|
|
663
684
|
[
|
|
664
|
-
sourceChain:
|
|
665
|
-
gatewayState:
|
|
685
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
686
|
+
gatewayState: ArgonPrimitivesGatewayGatewayState,
|
|
666
687
|
],
|
|
667
688
|
{
|
|
668
|
-
sourceChain:
|
|
669
|
-
gatewayState:
|
|
689
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
690
|
+
gatewayState: ArgonPrimitivesGatewayGatewayState;
|
|
670
691
|
}
|
|
671
692
|
>;
|
|
672
693
|
/**
|
|
@@ -675,11 +696,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
675
696
|
GatewaySyncPaused: AugmentedEvent<
|
|
676
697
|
ApiType,
|
|
677
698
|
[
|
|
678
|
-
sourceChain:
|
|
699
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
679
700
|
pause: PalletCrosschainTransferGatewaySyncPause,
|
|
680
701
|
],
|
|
681
702
|
{
|
|
682
|
-
sourceChain:
|
|
703
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
683
704
|
pause: PalletCrosschainTransferGatewaySyncPause;
|
|
684
705
|
}
|
|
685
706
|
>;
|
|
@@ -688,16 +709,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
688
709
|
**/
|
|
689
710
|
GatewayUnpaused: AugmentedEvent<
|
|
690
711
|
ApiType,
|
|
691
|
-
[sourceChain:
|
|
692
|
-
{ sourceChain:
|
|
712
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain],
|
|
713
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain }
|
|
693
714
|
>;
|
|
694
715
|
/**
|
|
695
716
|
* Root force-set the active Global Issuance Council for a destination chain.
|
|
696
717
|
**/
|
|
697
718
|
GlobalIssuanceCouncilForced: AugmentedEvent<
|
|
698
719
|
ApiType,
|
|
699
|
-
[destinationChain:
|
|
700
|
-
{ destinationChain:
|
|
720
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, councilHash: H256],
|
|
721
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain; councilHash: H256 }
|
|
701
722
|
>;
|
|
702
723
|
/**
|
|
703
724
|
* A frame transition queued a new Global Issuance Council for destination-chain approval.
|
|
@@ -705,24 +726,42 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
705
726
|
GlobalIssuanceCouncilRotationQueued: AugmentedEvent<
|
|
706
727
|
ApiType,
|
|
707
728
|
[
|
|
708
|
-
destinationChain:
|
|
729
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
709
730
|
councilHash: H256,
|
|
710
731
|
approvalQueueNonce: u64,
|
|
711
732
|
],
|
|
712
733
|
{
|
|
713
|
-
destinationChain:
|
|
734
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
714
735
|
councilHash: H256;
|
|
715
736
|
approvalQueueNonce: u64;
|
|
716
737
|
}
|
|
717
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
|
+
>;
|
|
718
757
|
/**
|
|
719
758
|
* Root updated the minimum normalized microgon value required to register a Minting
|
|
720
759
|
* Authority on one destination chain.
|
|
721
760
|
**/
|
|
722
761
|
MinimumMintingAuthorityValueSet: AugmentedEvent<
|
|
723
762
|
ApiType,
|
|
724
|
-
[destinationChain:
|
|
725
|
-
{ destinationChain:
|
|
763
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, minimumValue: u128],
|
|
764
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain; minimumValue: u128 }
|
|
726
765
|
>;
|
|
727
766
|
/**
|
|
728
767
|
* A proven activation paid or released the held relayer reimbursement and made the
|
|
@@ -731,13 +770,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
731
770
|
MintingAuthorityActivationCompleted: AugmentedEvent<
|
|
732
771
|
ApiType,
|
|
733
772
|
[
|
|
734
|
-
destinationChain:
|
|
773
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
735
774
|
destinationSigningKey: H160,
|
|
736
775
|
relayerArgonAccountId: AccountId32,
|
|
737
776
|
repaymentAmount: u128,
|
|
738
777
|
],
|
|
739
778
|
{
|
|
740
|
-
destinationChain:
|
|
779
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
741
780
|
destinationSigningKey: H160;
|
|
742
781
|
relayerArgonAccountId: AccountId32;
|
|
743
782
|
repaymentAmount: u128;
|
|
@@ -748,8 +787,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
748
787
|
**/
|
|
749
788
|
MintingAuthorityActivationFinalized: AugmentedEvent<
|
|
750
789
|
ApiType,
|
|
751
|
-
[sourceChain:
|
|
752
|
-
{ sourceChain:
|
|
790
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, destinationSigningKey: H160],
|
|
791
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; destinationSigningKey: H160 }
|
|
753
792
|
>;
|
|
754
793
|
/**
|
|
755
794
|
* Root updated the pricing inputs used to repay relayers for activation batches on one
|
|
@@ -757,8 +796,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
757
796
|
**/
|
|
758
797
|
MintingAuthorityActivationRepaymentPricingSet: AugmentedEvent<
|
|
759
798
|
ApiType,
|
|
760
|
-
[destinationChain:
|
|
761
|
-
{ destinationChain:
|
|
799
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain],
|
|
800
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain }
|
|
762
801
|
>;
|
|
763
802
|
/**
|
|
764
803
|
* A proven Ethereum deactivation released collateral and removed the local authority
|
|
@@ -766,8 +805,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
766
805
|
**/
|
|
767
806
|
MintingAuthorityDeactivationFinalized: AugmentedEvent<
|
|
768
807
|
ApiType,
|
|
769
|
-
[sourceChain:
|
|
770
|
-
{ sourceChain:
|
|
808
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, destinationSigningKey: H160],
|
|
809
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; destinationSigningKey: H160 }
|
|
771
810
|
>;
|
|
772
811
|
/**
|
|
773
812
|
* An operator queued the council-approved Ethereum deactivation for a Minting Authority.
|
|
@@ -775,12 +814,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
775
814
|
MintingAuthorityDeactivationQueued: AugmentedEvent<
|
|
776
815
|
ApiType,
|
|
777
816
|
[
|
|
778
|
-
destinationChain:
|
|
817
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
779
818
|
destinationSigningKey: H160,
|
|
780
819
|
approvalQueueNonce: u64,
|
|
781
820
|
],
|
|
782
821
|
{
|
|
783
|
-
destinationChain:
|
|
822
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
784
823
|
destinationSigningKey: H160;
|
|
785
824
|
approvalQueueNonce: u64;
|
|
786
825
|
}
|
|
@@ -791,13 +830,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
791
830
|
MintingAuthorityRegistered: AugmentedEvent<
|
|
792
831
|
ApiType,
|
|
793
832
|
[
|
|
794
|
-
destinationChain:
|
|
833
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
795
834
|
destinationSigningKey: H160,
|
|
796
835
|
accountId: AccountId32,
|
|
797
836
|
approvalQueueNonce: u64,
|
|
798
837
|
],
|
|
799
838
|
{
|
|
800
|
-
destinationChain:
|
|
839
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
801
840
|
destinationSigningKey: H160;
|
|
802
841
|
accountId: AccountId32;
|
|
803
842
|
approvalQueueNonce: u64;
|
|
@@ -809,12 +848,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
809
848
|
QueueEntryApprovalReady: AugmentedEvent<
|
|
810
849
|
ApiType,
|
|
811
850
|
[
|
|
812
|
-
destinationChain:
|
|
851
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
813
852
|
target: PalletCrosschainTransferCouncilApprovalTargetId,
|
|
814
853
|
approvalQueueNonce: u64,
|
|
815
854
|
],
|
|
816
855
|
{
|
|
817
|
-
destinationChain:
|
|
856
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
818
857
|
target: PalletCrosschainTransferCouncilApprovalTargetId;
|
|
819
858
|
approvalQueueNonce: u64;
|
|
820
859
|
}
|
|
@@ -825,12 +864,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
825
864
|
QueueEntryApprovalRecorded: AugmentedEvent<
|
|
826
865
|
ApiType,
|
|
827
866
|
[
|
|
828
|
-
destinationChain:
|
|
867
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
829
868
|
target: PalletCrosschainTransferCouncilApprovalTargetId,
|
|
830
869
|
approvalQueueNonce: u64,
|
|
831
870
|
],
|
|
832
871
|
{
|
|
833
|
-
destinationChain:
|
|
872
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
834
873
|
target: PalletCrosschainTransferCouncilApprovalTargetId;
|
|
835
874
|
approvalQueueNonce: u64;
|
|
836
875
|
}
|
|
@@ -866,16 +905,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
866
905
|
**/
|
|
867
906
|
TransferOutCanceled: AugmentedEvent<
|
|
868
907
|
ApiType,
|
|
869
|
-
[sourceChain:
|
|
870
|
-
{ sourceChain:
|
|
908
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, transferId: H256],
|
|
909
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; transferId: H256 }
|
|
871
910
|
>;
|
|
872
911
|
/**
|
|
873
912
|
* A transfer was finalized on the source chain.
|
|
874
913
|
**/
|
|
875
914
|
TransferOutFinalized: AugmentedEvent<
|
|
876
915
|
ApiType,
|
|
877
|
-
[sourceChain:
|
|
878
|
-
{ sourceChain:
|
|
916
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, transferId: H256],
|
|
917
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; transferId: H256 }
|
|
879
918
|
>;
|
|
880
919
|
/**
|
|
881
920
|
* A transfer is ready for finalization.
|
|
@@ -887,7 +926,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
887
926
|
TransferOutStarted: AugmentedEvent<
|
|
888
927
|
ApiType,
|
|
889
928
|
[
|
|
890
|
-
destinationChain:
|
|
929
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
891
930
|
transferId: H256,
|
|
892
931
|
accountId: AccountId32,
|
|
893
932
|
asset: PalletCrosschainTransferAssetKind,
|
|
@@ -895,7 +934,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
895
934
|
mintingAuthorityTip: u128,
|
|
896
935
|
],
|
|
897
936
|
{
|
|
898
|
-
destinationChain:
|
|
937
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
899
938
|
transferId: H256;
|
|
900
939
|
accountId: AccountId32;
|
|
901
940
|
asset: PalletCrosschainTransferAssetKind;
|
|
@@ -903,20 +942,57 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
903
942
|
mintingAuthorityTip: u128;
|
|
904
943
|
}
|
|
905
944
|
>;
|
|
945
|
+
/**
|
|
946
|
+
* A Uniswap purchase was credited without operational transfer credit.
|
|
947
|
+
**/
|
|
948
|
+
TransferToArgonFromSwapSettled: AugmentedEvent<
|
|
949
|
+
ApiType,
|
|
950
|
+
[
|
|
951
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
952
|
+
transfer: PalletCrosschainTransferTransferToArgonActivity,
|
|
953
|
+
purchase: PalletCrosschainTransferSwapPurchaseEvidence,
|
|
954
|
+
purchaseTick: u64,
|
|
955
|
+
],
|
|
956
|
+
{
|
|
957
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
958
|
+
transfer: PalletCrosschainTransferTransferToArgonActivity;
|
|
959
|
+
purchase: PalletCrosschainTransferSwapPurchaseEvidence;
|
|
960
|
+
purchaseTick: u64;
|
|
961
|
+
}
|
|
962
|
+
>;
|
|
906
963
|
/**
|
|
907
964
|
* A `TransferToArgonStarted` activity was proven and settled locally.
|
|
908
965
|
**/
|
|
909
966
|
TransferToArgonSettled: AugmentedEvent<
|
|
910
967
|
ApiType,
|
|
911
968
|
[
|
|
912
|
-
sourceChain:
|
|
969
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
913
970
|
transfer: PalletCrosschainTransferTransferToArgonActivity,
|
|
914
971
|
],
|
|
915
972
|
{
|
|
916
|
-
sourceChain:
|
|
973
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
917
974
|
transfer: PalletCrosschainTransferTransferToArgonActivity;
|
|
918
975
|
}
|
|
919
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
|
+
>;
|
|
920
996
|
};
|
|
921
997
|
digests: {};
|
|
922
998
|
domains: {
|
|
@@ -978,6 +1054,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
978
1054
|
[blockHash: H256, blockNumber: u64],
|
|
979
1055
|
{ blockHash: H256; blockNumber: u64 }
|
|
980
1056
|
>;
|
|
1057
|
+
GloasForkScheduled: AugmentedEvent<
|
|
1058
|
+
ApiType,
|
|
1059
|
+
[version: U8aFixed, epoch: Compact<u64>],
|
|
1060
|
+
{ version: U8aFixed; epoch: Compact<u64> }
|
|
1061
|
+
>;
|
|
981
1062
|
/**
|
|
982
1063
|
* Set OperatingMode
|
|
983
1064
|
**/
|
|
@@ -1114,6 +1195,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1114
1195
|
>;
|
|
1115
1196
|
};
|
|
1116
1197
|
miningSlot: {
|
|
1198
|
+
BidCommitted: AugmentedEvent<
|
|
1199
|
+
ApiType,
|
|
1200
|
+
[accountId: AccountId32, targetFrameId: u64],
|
|
1201
|
+
{ accountId: AccountId32; targetFrameId: u64 }
|
|
1202
|
+
>;
|
|
1203
|
+
BidLost: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1204
|
+
BidRejected: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1205
|
+
BidRevealed: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1117
1206
|
/**
|
|
1118
1207
|
* Bids are closed due to the VRF randomized function triggering
|
|
1119
1208
|
**/
|
|
@@ -1164,6 +1253,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1164
1253
|
[accountId: AccountId32, preservedArgonotHold: bool],
|
|
1165
1254
|
{ accountId: AccountId32; preservedArgonotHold: bool }
|
|
1166
1255
|
>;
|
|
1256
|
+
WinningBidPriceChanged: AugmentedEvent<
|
|
1257
|
+
ApiType,
|
|
1258
|
+
[accountId: AccountId32, bidAmount: u128],
|
|
1259
|
+
{ accountId: AccountId32; bidAmount: u128 }
|
|
1260
|
+
>;
|
|
1167
1261
|
};
|
|
1168
1262
|
mint: {
|
|
1169
1263
|
/**
|
|
@@ -1820,6 +1914,113 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1820
1914
|
}
|
|
1821
1915
|
>;
|
|
1822
1916
|
};
|
|
1917
|
+
stabilizerBuys: {
|
|
1918
|
+
ApprovedPoolChanged: AugmentedEvent<
|
|
1919
|
+
ApiType,
|
|
1920
|
+
[pool: Option<PalletStabilizerBuysUniswapPurchasePurchasePool>],
|
|
1921
|
+
{ pool: Option<PalletStabilizerBuysUniswapPurchasePurchasePool> }
|
|
1922
|
+
>;
|
|
1923
|
+
AuctionAllocationFailed: AugmentedEvent<
|
|
1924
|
+
ApiType,
|
|
1925
|
+
[admissionFrame: u64, error: SpRuntimeDispatchError],
|
|
1926
|
+
{ admissionFrame: u64; error: SpRuntimeDispatchError }
|
|
1927
|
+
>;
|
|
1928
|
+
AuctionFundingFailed: AugmentedEvent<
|
|
1929
|
+
ApiType,
|
|
1930
|
+
[admissionFrame: u64, error: SpRuntimeDispatchError],
|
|
1931
|
+
{ admissionFrame: u64; error: SpRuntimeDispatchError }
|
|
1932
|
+
>;
|
|
1933
|
+
AuctionOpened: AugmentedEvent<
|
|
1934
|
+
ApiType,
|
|
1935
|
+
[admissionFrame: u64, budget: u128],
|
|
1936
|
+
{ admissionFrame: u64; budget: u128 }
|
|
1937
|
+
>;
|
|
1938
|
+
AuctionSettled: AugmentedEvent<
|
|
1939
|
+
ApiType,
|
|
1940
|
+
[admissionFrame: u64, awarded: u128, returned: u128],
|
|
1941
|
+
{ admissionFrame: u64; awarded: u128; returned: u128 }
|
|
1942
|
+
>;
|
|
1943
|
+
BidSubmitted: AugmentedEvent<
|
|
1944
|
+
ApiType,
|
|
1945
|
+
[account: AccountId32, admissionFrame: u64, rewardRate: Percent, positiveBidCount: u8],
|
|
1946
|
+
{ account: AccountId32; admissionFrame: u64; rewardRate: Percent; positiveBidCount: u8 }
|
|
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
|
+
>;
|
|
1975
|
+
MatchingRateChanged: AugmentedEvent<ApiType, [rate: Permill], { rate: Permill }>;
|
|
1976
|
+
PayoutCompleted: AugmentedEvent<
|
|
1977
|
+
ApiType,
|
|
1978
|
+
[account: AccountId32, principal: u128, reward: u128],
|
|
1979
|
+
{ account: AccountId32; principal: u128; reward: u128 }
|
|
1980
|
+
>;
|
|
1981
|
+
PayoutFailed: AugmentedEvent<
|
|
1982
|
+
ApiType,
|
|
1983
|
+
[account: AccountId32, error: SpRuntimeDispatchError],
|
|
1984
|
+
{ account: AccountId32; error: SpRuntimeDispatchError }
|
|
1985
|
+
>;
|
|
1986
|
+
PurchaseIneligible: AugmentedEvent<
|
|
1987
|
+
ApiType,
|
|
1988
|
+
[account: AccountId32, purchaseTick: u64, reason: PalletStabilizerBuysIneligibleReason],
|
|
1989
|
+
{ account: AccountId32; purchaseTick: u64; reason: PalletStabilizerBuysIneligibleReason }
|
|
1990
|
+
>;
|
|
1991
|
+
PurchaseRecorded: AugmentedEvent<
|
|
1992
|
+
ApiType,
|
|
1993
|
+
[account: AccountId32, admissionFrame: u64, principal: u128, matchingBasis: u128],
|
|
1994
|
+
{ account: AccountId32; admissionFrame: u64; principal: u128; matchingBasis: u128 }
|
|
1995
|
+
>;
|
|
1996
|
+
RewardAwarded: AugmentedEvent<
|
|
1997
|
+
ApiType,
|
|
1998
|
+
[account: AccountId32, admissionFrame: u64, amount: u128, maturesAtFrame: u64],
|
|
1999
|
+
{ account: AccountId32; admissionFrame: u64; amount: u128; maturesAtFrame: u64 }
|
|
2000
|
+
>;
|
|
2001
|
+
};
|
|
2002
|
+
stabilizerPools: {
|
|
2003
|
+
PoolRegistered: AugmentedEvent<
|
|
2004
|
+
ApiType,
|
|
2005
|
+
[poolManager: H160, poolId: H256, config: PalletStabilizerPoolsPoolConfig],
|
|
2006
|
+
{ poolManager: H160; poolId: H256; config: PalletStabilizerPoolsPoolConfig }
|
|
2007
|
+
>;
|
|
2008
|
+
PositionCheckpointed: AugmentedEvent<
|
|
2009
|
+
ApiType,
|
|
2010
|
+
[
|
|
2011
|
+
positionManager: H160,
|
|
2012
|
+
tokenId: U256,
|
|
2013
|
+
checkpoint: PalletStabilizerPoolsPositionCheckpoint,
|
|
2014
|
+
outcome: PalletStabilizerPoolsCheckpointOutcome,
|
|
2015
|
+
],
|
|
2016
|
+
{
|
|
2017
|
+
positionManager: H160;
|
|
2018
|
+
tokenId: U256;
|
|
2019
|
+
checkpoint: PalletStabilizerPoolsPositionCheckpoint;
|
|
2020
|
+
outcome: PalletStabilizerPoolsCheckpointOutcome;
|
|
2021
|
+
}
|
|
2022
|
+
>;
|
|
2023
|
+
};
|
|
1823
2024
|
sudo: {
|
|
1824
2025
|
/**
|
|
1825
2026
|
* The sudo key has been updated.
|
|
@@ -2062,6 +2263,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2062
2263
|
dispatchError: SpRuntimeDispatchError;
|
|
2063
2264
|
}
|
|
2064
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
|
+
>;
|
|
2065
2274
|
/**
|
|
2066
2275
|
* An error occurred while moving bid-pool funds into treasury reserves.
|
|
2067
2276
|
**/
|
|
@@ -2120,8 +2329,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2120
2329
|
>;
|
|
2121
2330
|
RewardEconomicsConfigured: AugmentedEvent<
|
|
2122
2331
|
ApiType,
|
|
2123
|
-
[targetBitcoinPercent: Percent],
|
|
2124
|
-
{ targetBitcoinPercent: Percent }
|
|
2332
|
+
[targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent],
|
|
2333
|
+
{ targetBitcoinPercent: Percent; upstreamParticipationFactor: Percent }
|
|
2334
|
+
>;
|
|
2335
|
+
RewardReservesUpdated: AugmentedEvent<
|
|
2336
|
+
ApiType,
|
|
2337
|
+
[reserves: PalletTreasuryRewardReserveBalances],
|
|
2338
|
+
{ reserves: PalletTreasuryRewardReserveBalances }
|
|
2125
2339
|
>;
|
|
2126
2340
|
};
|
|
2127
2341
|
txPause: {
|
|
@@ -2261,14 +2475,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2261
2475
|
[
|
|
2262
2476
|
vaultId: u32,
|
|
2263
2477
|
locker: AccountId32,
|
|
2264
|
-
|
|
2478
|
+
securitizationMicrogons: u128,
|
|
2265
2479
|
feeRevenue: u128,
|
|
2266
2480
|
didUseFeeCoupon: bool,
|
|
2267
2481
|
],
|
|
2268
2482
|
{
|
|
2269
2483
|
vaultId: u32;
|
|
2270
2484
|
locker: AccountId32;
|
|
2271
|
-
|
|
2485
|
+
securitizationMicrogons: u128;
|
|
2272
2486
|
feeRevenue: u128;
|
|
2273
2487
|
didUseFeeCoupon: bool;
|
|
2274
2488
|
}
|
|
@@ -2299,30 +2513,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2299
2513
|
>;
|
|
2300
2514
|
VaultCreated: AugmentedEvent<
|
|
2301
2515
|
ApiType,
|
|
2302
|
-
[
|
|
2303
|
-
|
|
2304
|
-
securitization: u128,
|
|
2305
|
-
securitizationRatio: u128,
|
|
2306
|
-
operatorAccountId: AccountId32,
|
|
2307
|
-
openedTick: u64,
|
|
2308
|
-
],
|
|
2309
|
-
{
|
|
2310
|
-
vaultId: u32;
|
|
2311
|
-
securitization: u128;
|
|
2312
|
-
securitizationRatio: u128;
|
|
2313
|
-
operatorAccountId: AccountId32;
|
|
2314
|
-
openedTick: u64;
|
|
2315
|
-
}
|
|
2516
|
+
[vaultId: u32, securitization: u128, operatorAccountId: AccountId32, openedTick: u64],
|
|
2517
|
+
{ vaultId: u32; securitization: u128; operatorAccountId: AccountId32; openedTick: u64 }
|
|
2316
2518
|
>;
|
|
2317
2519
|
VaultModified: AugmentedEvent<
|
|
2318
2520
|
ApiType,
|
|
2319
|
-
[vaultId: u32, securitization: u128, securitizationTarget: u128
|
|
2320
|
-
{
|
|
2321
|
-
vaultId: u32;
|
|
2322
|
-
securitization: u128;
|
|
2323
|
-
securitizationTarget: u128;
|
|
2324
|
-
securitizationRatio: u128;
|
|
2325
|
-
}
|
|
2521
|
+
[vaultId: u32, securitization: u128, securitizationTarget: u128],
|
|
2522
|
+
{ vaultId: u32; securitization: u128; securitizationTarget: u128 }
|
|
2326
2523
|
>;
|
|
2327
2524
|
/**
|
|
2328
2525
|
* Vault revenue was not collected within the required window, so has been burned
|