@argonprotocol/mainchain 1.5.2-dev.04b26899 → 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 +20 -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 +328 -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 +5475 -614
- package/browser/index.js +3907 -972
- 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 +328 -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 +3905 -964
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +5475 -614
- package/lib/index.d.ts +5475 -614
- package/lib/index.js +3918 -977
- package/lib/index.js.map +1 -1
- package/package.json +8 -7
- package/src/interfaces/augment-api-consts.ts +86 -0
- package/src/interfaces/augment-api-errors.ts +132 -3
- package/src/interfaces/augment-api-events.ts +255 -53
- package/src/interfaces/augment-api-query.ts +336 -48
- package/src/interfaces/augment-api-tx.ts +123 -33
- package/src/interfaces/lookup.ts +763 -310
- package/src/interfaces/registry.ts +70 -10
- package/src/interfaces/types-lookup.ts +829 -321
|
@@ -7,9 +7,11 @@ import type {} from '@polkadot/api-base/types/events';
|
|
|
7
7
|
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
8
8
|
import type {
|
|
9
9
|
Bytes,
|
|
10
|
+
Compact,
|
|
10
11
|
Null,
|
|
11
12
|
Option,
|
|
12
13
|
Result,
|
|
14
|
+
U256,
|
|
13
15
|
U8aFixed,
|
|
14
16
|
Vec,
|
|
15
17
|
bool,
|
|
@@ -18,15 +20,18 @@ import type {
|
|
|
18
20
|
u16,
|
|
19
21
|
u32,
|
|
20
22
|
u64,
|
|
23
|
+
u8,
|
|
21
24
|
} from '@polkadot/types-codec';
|
|
22
25
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
23
|
-
import type { AccountId32, H160, H256, Percent } from '@polkadot/types/interfaces/runtime';
|
|
26
|
+
import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
24
27
|
import type {
|
|
25
28
|
ArgonNotaryAuditErrorVerifyError,
|
|
26
29
|
ArgonPrimitivesBitcoinUtxoRef,
|
|
27
30
|
ArgonPrimitivesBlockSealBlockPayout,
|
|
28
31
|
ArgonPrimitivesBlockSealMiningRegistration,
|
|
29
32
|
ArgonPrimitivesDomainZoneRecord,
|
|
33
|
+
ArgonPrimitivesGatewayGatewayState,
|
|
34
|
+
ArgonPrimitivesGatewaySourceChain,
|
|
30
35
|
ArgonPrimitivesNotaryNotaryMeta,
|
|
31
36
|
ArgonPrimitivesNotaryNotaryRecord,
|
|
32
37
|
ArgonPrimitivesProvidersOperationalRewardKind,
|
|
@@ -41,17 +46,22 @@ import type {
|
|
|
41
46
|
PalletBootstrapRecoveryPubkey,
|
|
42
47
|
PalletCrosschainTransferAssetKind,
|
|
43
48
|
PalletCrosschainTransferCouncilApprovalTargetId,
|
|
44
|
-
PalletCrosschainTransferGatewayState,
|
|
45
49
|
PalletCrosschainTransferGatewaySyncPause,
|
|
46
|
-
|
|
50
|
+
PalletCrosschainTransferSwapPurchaseEvidence,
|
|
47
51
|
PalletCrosschainTransferTransferToArgonActivity,
|
|
48
52
|
PalletDomainsDomainRegistration,
|
|
49
53
|
PalletEthereumVerifierBasicOperatingMode,
|
|
50
54
|
PalletMintMintType,
|
|
51
55
|
PalletMultisigTimepoint,
|
|
52
56
|
PalletProxyDepositKind,
|
|
57
|
+
PalletStabilizerBuysIneligibleReason,
|
|
58
|
+
PalletStabilizerBuysUniswapPurchasePurchasePool,
|
|
59
|
+
PalletStabilizerPoolsCheckpointOutcome,
|
|
60
|
+
PalletStabilizerPoolsPoolConfig,
|
|
61
|
+
PalletStabilizerPoolsPositionCheckpoint,
|
|
53
62
|
PalletTreasuryBondProgramId,
|
|
54
63
|
PalletTreasuryBondReleaseReason,
|
|
64
|
+
PalletTreasuryRewardReserveBalances,
|
|
55
65
|
SpConsensusGrandpaAppPublic,
|
|
56
66
|
SpRuntimeDispatchError,
|
|
57
67
|
} from '@polkadot/types/lookup';
|
|
@@ -375,6 +385,26 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
375
385
|
amountBurned: u128;
|
|
376
386
|
}
|
|
377
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
|
+
>;
|
|
378
408
|
};
|
|
379
409
|
bitcoinLocks: {
|
|
380
410
|
BitcoinCosignPastDue: AugmentedEvent<
|
|
@@ -627,13 +657,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
627
657
|
**/
|
|
628
658
|
CouncilSignerRegistered: AugmentedEvent<
|
|
629
659
|
ApiType,
|
|
630
|
-
[
|
|
631
|
-
destinationChain: PalletCrosschainTransferSourceChain,
|
|
632
|
-
accountId: AccountId32,
|
|
633
|
-
signer: H160,
|
|
634
|
-
],
|
|
660
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, accountId: AccountId32, signer: H160],
|
|
635
661
|
{
|
|
636
|
-
destinationChain:
|
|
662
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
637
663
|
accountId: AccountId32;
|
|
638
664
|
signer: H160;
|
|
639
665
|
}
|
|
@@ -643,13 +669,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
643
669
|
**/
|
|
644
670
|
CouncilSignerRotationQueued: AugmentedEvent<
|
|
645
671
|
ApiType,
|
|
646
|
-
[
|
|
647
|
-
destinationChain: PalletCrosschainTransferSourceChain,
|
|
648
|
-
accountId: AccountId32,
|
|
649
|
-
signer: H160,
|
|
650
|
-
],
|
|
672
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, accountId: AccountId32, signer: H160],
|
|
651
673
|
{
|
|
652
|
-
destinationChain:
|
|
674
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
653
675
|
accountId: AccountId32;
|
|
654
676
|
signer: H160;
|
|
655
677
|
}
|
|
@@ -660,12 +682,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
660
682
|
GatewayStateAdvanced: AugmentedEvent<
|
|
661
683
|
ApiType,
|
|
662
684
|
[
|
|
663
|
-
sourceChain:
|
|
664
|
-
gatewayState:
|
|
685
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
686
|
+
gatewayState: ArgonPrimitivesGatewayGatewayState,
|
|
665
687
|
],
|
|
666
688
|
{
|
|
667
|
-
sourceChain:
|
|
668
|
-
gatewayState:
|
|
689
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
690
|
+
gatewayState: ArgonPrimitivesGatewayGatewayState;
|
|
669
691
|
}
|
|
670
692
|
>;
|
|
671
693
|
/**
|
|
@@ -674,11 +696,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
674
696
|
GatewaySyncPaused: AugmentedEvent<
|
|
675
697
|
ApiType,
|
|
676
698
|
[
|
|
677
|
-
sourceChain:
|
|
699
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
678
700
|
pause: PalletCrosschainTransferGatewaySyncPause,
|
|
679
701
|
],
|
|
680
702
|
{
|
|
681
|
-
sourceChain:
|
|
703
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
682
704
|
pause: PalletCrosschainTransferGatewaySyncPause;
|
|
683
705
|
}
|
|
684
706
|
>;
|
|
@@ -687,16 +709,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
687
709
|
**/
|
|
688
710
|
GatewayUnpaused: AugmentedEvent<
|
|
689
711
|
ApiType,
|
|
690
|
-
[sourceChain:
|
|
691
|
-
{ sourceChain:
|
|
712
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain],
|
|
713
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain }
|
|
692
714
|
>;
|
|
693
715
|
/**
|
|
694
716
|
* Root force-set the active Global Issuance Council for a destination chain.
|
|
695
717
|
**/
|
|
696
718
|
GlobalIssuanceCouncilForced: AugmentedEvent<
|
|
697
719
|
ApiType,
|
|
698
|
-
[destinationChain:
|
|
699
|
-
{ destinationChain:
|
|
720
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, councilHash: H256],
|
|
721
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain; councilHash: H256 }
|
|
700
722
|
>;
|
|
701
723
|
/**
|
|
702
724
|
* A frame transition queued a new Global Issuance Council for destination-chain approval.
|
|
@@ -704,24 +726,42 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
704
726
|
GlobalIssuanceCouncilRotationQueued: AugmentedEvent<
|
|
705
727
|
ApiType,
|
|
706
728
|
[
|
|
707
|
-
destinationChain:
|
|
729
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
708
730
|
councilHash: H256,
|
|
709
731
|
approvalQueueNonce: u64,
|
|
710
732
|
],
|
|
711
733
|
{
|
|
712
|
-
destinationChain:
|
|
734
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
713
735
|
councilHash: H256;
|
|
714
736
|
approvalQueueNonce: u64;
|
|
715
737
|
}
|
|
716
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
|
+
>;
|
|
717
757
|
/**
|
|
718
758
|
* Root updated the minimum normalized microgon value required to register a Minting
|
|
719
759
|
* Authority on one destination chain.
|
|
720
760
|
**/
|
|
721
761
|
MinimumMintingAuthorityValueSet: AugmentedEvent<
|
|
722
762
|
ApiType,
|
|
723
|
-
[destinationChain:
|
|
724
|
-
{ destinationChain:
|
|
763
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, minimumValue: u128],
|
|
764
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain; minimumValue: u128 }
|
|
725
765
|
>;
|
|
726
766
|
/**
|
|
727
767
|
* A proven activation paid or released the held relayer reimbursement and made the
|
|
@@ -730,13 +770,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
730
770
|
MintingAuthorityActivationCompleted: AugmentedEvent<
|
|
731
771
|
ApiType,
|
|
732
772
|
[
|
|
733
|
-
destinationChain:
|
|
773
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
734
774
|
destinationSigningKey: H160,
|
|
735
775
|
relayerArgonAccountId: AccountId32,
|
|
736
776
|
repaymentAmount: u128,
|
|
737
777
|
],
|
|
738
778
|
{
|
|
739
|
-
destinationChain:
|
|
779
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
740
780
|
destinationSigningKey: H160;
|
|
741
781
|
relayerArgonAccountId: AccountId32;
|
|
742
782
|
repaymentAmount: u128;
|
|
@@ -747,8 +787,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
747
787
|
**/
|
|
748
788
|
MintingAuthorityActivationFinalized: AugmentedEvent<
|
|
749
789
|
ApiType,
|
|
750
|
-
[sourceChain:
|
|
751
|
-
{ sourceChain:
|
|
790
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, destinationSigningKey: H160],
|
|
791
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; destinationSigningKey: H160 }
|
|
752
792
|
>;
|
|
753
793
|
/**
|
|
754
794
|
* Root updated the pricing inputs used to repay relayers for activation batches on one
|
|
@@ -756,8 +796,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
756
796
|
**/
|
|
757
797
|
MintingAuthorityActivationRepaymentPricingSet: AugmentedEvent<
|
|
758
798
|
ApiType,
|
|
759
|
-
[destinationChain:
|
|
760
|
-
{ destinationChain:
|
|
799
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain],
|
|
800
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain }
|
|
761
801
|
>;
|
|
762
802
|
/**
|
|
763
803
|
* A proven Ethereum deactivation released collateral and removed the local authority
|
|
@@ -765,8 +805,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
765
805
|
**/
|
|
766
806
|
MintingAuthorityDeactivationFinalized: AugmentedEvent<
|
|
767
807
|
ApiType,
|
|
768
|
-
[sourceChain:
|
|
769
|
-
{ sourceChain:
|
|
808
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, destinationSigningKey: H160],
|
|
809
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; destinationSigningKey: H160 }
|
|
770
810
|
>;
|
|
771
811
|
/**
|
|
772
812
|
* An operator queued the council-approved Ethereum deactivation for a Minting Authority.
|
|
@@ -774,12 +814,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
774
814
|
MintingAuthorityDeactivationQueued: AugmentedEvent<
|
|
775
815
|
ApiType,
|
|
776
816
|
[
|
|
777
|
-
destinationChain:
|
|
817
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
778
818
|
destinationSigningKey: H160,
|
|
779
819
|
approvalQueueNonce: u64,
|
|
780
820
|
],
|
|
781
821
|
{
|
|
782
|
-
destinationChain:
|
|
822
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
783
823
|
destinationSigningKey: H160;
|
|
784
824
|
approvalQueueNonce: u64;
|
|
785
825
|
}
|
|
@@ -790,13 +830,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
790
830
|
MintingAuthorityRegistered: AugmentedEvent<
|
|
791
831
|
ApiType,
|
|
792
832
|
[
|
|
793
|
-
destinationChain:
|
|
833
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
794
834
|
destinationSigningKey: H160,
|
|
795
835
|
accountId: AccountId32,
|
|
796
836
|
approvalQueueNonce: u64,
|
|
797
837
|
],
|
|
798
838
|
{
|
|
799
|
-
destinationChain:
|
|
839
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
800
840
|
destinationSigningKey: H160;
|
|
801
841
|
accountId: AccountId32;
|
|
802
842
|
approvalQueueNonce: u64;
|
|
@@ -808,12 +848,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
808
848
|
QueueEntryApprovalReady: AugmentedEvent<
|
|
809
849
|
ApiType,
|
|
810
850
|
[
|
|
811
|
-
destinationChain:
|
|
851
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
812
852
|
target: PalletCrosschainTransferCouncilApprovalTargetId,
|
|
813
853
|
approvalQueueNonce: u64,
|
|
814
854
|
],
|
|
815
855
|
{
|
|
816
|
-
destinationChain:
|
|
856
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
817
857
|
target: PalletCrosschainTransferCouncilApprovalTargetId;
|
|
818
858
|
approvalQueueNonce: u64;
|
|
819
859
|
}
|
|
@@ -824,12 +864,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
824
864
|
QueueEntryApprovalRecorded: AugmentedEvent<
|
|
825
865
|
ApiType,
|
|
826
866
|
[
|
|
827
|
-
destinationChain:
|
|
867
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
828
868
|
target: PalletCrosschainTransferCouncilApprovalTargetId,
|
|
829
869
|
approvalQueueNonce: u64,
|
|
830
870
|
],
|
|
831
871
|
{
|
|
832
|
-
destinationChain:
|
|
872
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
833
873
|
target: PalletCrosschainTransferCouncilApprovalTargetId;
|
|
834
874
|
approvalQueueNonce: u64;
|
|
835
875
|
}
|
|
@@ -865,16 +905,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
865
905
|
**/
|
|
866
906
|
TransferOutCanceled: AugmentedEvent<
|
|
867
907
|
ApiType,
|
|
868
|
-
[sourceChain:
|
|
869
|
-
{ sourceChain:
|
|
908
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, transferId: H256],
|
|
909
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; transferId: H256 }
|
|
870
910
|
>;
|
|
871
911
|
/**
|
|
872
912
|
* A transfer was finalized on the source chain.
|
|
873
913
|
**/
|
|
874
914
|
TransferOutFinalized: AugmentedEvent<
|
|
875
915
|
ApiType,
|
|
876
|
-
[sourceChain:
|
|
877
|
-
{ sourceChain:
|
|
916
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, transferId: H256],
|
|
917
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; transferId: H256 }
|
|
878
918
|
>;
|
|
879
919
|
/**
|
|
880
920
|
* A transfer is ready for finalization.
|
|
@@ -886,7 +926,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
886
926
|
TransferOutStarted: AugmentedEvent<
|
|
887
927
|
ApiType,
|
|
888
928
|
[
|
|
889
|
-
destinationChain:
|
|
929
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
890
930
|
transferId: H256,
|
|
891
931
|
accountId: AccountId32,
|
|
892
932
|
asset: PalletCrosschainTransferAssetKind,
|
|
@@ -894,7 +934,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
894
934
|
mintingAuthorityTip: u128,
|
|
895
935
|
],
|
|
896
936
|
{
|
|
897
|
-
destinationChain:
|
|
937
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
898
938
|
transferId: H256;
|
|
899
939
|
accountId: AccountId32;
|
|
900
940
|
asset: PalletCrosschainTransferAssetKind;
|
|
@@ -902,20 +942,57 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
902
942
|
mintingAuthorityTip: u128;
|
|
903
943
|
}
|
|
904
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
|
+
>;
|
|
905
963
|
/**
|
|
906
964
|
* A `TransferToArgonStarted` activity was proven and settled locally.
|
|
907
965
|
**/
|
|
908
966
|
TransferToArgonSettled: AugmentedEvent<
|
|
909
967
|
ApiType,
|
|
910
968
|
[
|
|
911
|
-
sourceChain:
|
|
969
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
912
970
|
transfer: PalletCrosschainTransferTransferToArgonActivity,
|
|
913
971
|
],
|
|
914
972
|
{
|
|
915
|
-
sourceChain:
|
|
973
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
916
974
|
transfer: PalletCrosschainTransferTransferToArgonActivity;
|
|
917
975
|
}
|
|
918
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
|
+
>;
|
|
919
996
|
};
|
|
920
997
|
digests: {};
|
|
921
998
|
domains: {
|
|
@@ -977,6 +1054,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
977
1054
|
[blockHash: H256, blockNumber: u64],
|
|
978
1055
|
{ blockHash: H256; blockNumber: u64 }
|
|
979
1056
|
>;
|
|
1057
|
+
GloasForkScheduled: AugmentedEvent<
|
|
1058
|
+
ApiType,
|
|
1059
|
+
[version: U8aFixed, epoch: Compact<u64>],
|
|
1060
|
+
{ version: U8aFixed; epoch: Compact<u64> }
|
|
1061
|
+
>;
|
|
980
1062
|
/**
|
|
981
1063
|
* Set OperatingMode
|
|
982
1064
|
**/
|
|
@@ -1832,6 +1914,113 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1832
1914
|
}
|
|
1833
1915
|
>;
|
|
1834
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
|
+
};
|
|
1835
2024
|
sudo: {
|
|
1836
2025
|
/**
|
|
1837
2026
|
* The sudo key has been updated.
|
|
@@ -2074,6 +2263,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2074
2263
|
dispatchError: SpRuntimeDispatchError;
|
|
2075
2264
|
}
|
|
2076
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
|
+
>;
|
|
2077
2274
|
/**
|
|
2078
2275
|
* An error occurred while moving bid-pool funds into treasury reserves.
|
|
2079
2276
|
**/
|
|
@@ -2135,6 +2332,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2135
2332
|
[targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent],
|
|
2136
2333
|
{ targetBitcoinPercent: Percent; upstreamParticipationFactor: Percent }
|
|
2137
2334
|
>;
|
|
2335
|
+
RewardReservesUpdated: AugmentedEvent<
|
|
2336
|
+
ApiType,
|
|
2337
|
+
[reserves: PalletTreasuryRewardReserveBalances],
|
|
2338
|
+
{ reserves: PalletTreasuryRewardReserveBalances }
|
|
2339
|
+
>;
|
|
2138
2340
|
};
|
|
2139
2341
|
txPause: {
|
|
2140
2342
|
/**
|