@argonprotocol/mainchain 1.5.2-dev.862caf8c → 1.5.2-dev.96d18bee
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 +1619 -534
- package/browser/index.js +399 -139
- 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 +399 -138
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1619 -534
- package/lib/index.d.ts +1619 -534
- package/lib/index.js +403 -142
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +44 -13
- package/src/interfaces/augment-api-errors.ts +140 -8
- package/src/interfaces/augment-api-events.ts +172 -56
- package/src/interfaces/augment-api-query.ts +247 -90
- package/src/interfaces/augment-api-tx.ts +175 -94
- package/src/interfaces/lookup.ts +604 -330
- package/src/interfaces/registry.ts +46 -10
- package/src/interfaces/types-lookup.ts +668 -342
|
@@ -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,
|
|
@@ -70,6 +70,33 @@ export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>
|
|
|
70
70
|
|
|
71
71
|
declare module '@polkadot/api-base/types/events' {
|
|
72
72
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
73
|
+
accountSecurity: {
|
|
74
|
+
/**
|
|
75
|
+
* A failed child still consumes its nonce; inspect this result, not outer success.
|
|
76
|
+
**/
|
|
77
|
+
Executed: AugmentedEvent<
|
|
78
|
+
ApiType,
|
|
79
|
+
[account: AccountId32, nonce: u64, result: Result<Null, SpRuntimeDispatchError>],
|
|
80
|
+
{ account: AccountId32; nonce: u64; result: Result<Null, SpRuntimeDispatchError> }
|
|
81
|
+
>;
|
|
82
|
+
GroupLinked: AugmentedEvent<
|
|
83
|
+
ApiType,
|
|
84
|
+
[defaultAccount: AccountId32],
|
|
85
|
+
{ defaultAccount: AccountId32 }
|
|
86
|
+
>;
|
|
87
|
+
PolicyUpdateCancelled: AugmentedEvent<
|
|
88
|
+
ApiType,
|
|
89
|
+
[account: AccountId32, nonce: u64],
|
|
90
|
+
{ account: AccountId32; nonce: u64 }
|
|
91
|
+
>;
|
|
92
|
+
PolicyUpdated: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
|
93
|
+
PolicyUpdateScheduled: AugmentedEvent<
|
|
94
|
+
ApiType,
|
|
95
|
+
[account: AccountId32, nonce: u64, executeAfterTick: u64],
|
|
96
|
+
{ account: AccountId32; nonce: u64; executeAfterTick: u64 }
|
|
97
|
+
>;
|
|
98
|
+
Registered: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
|
99
|
+
};
|
|
73
100
|
balances: {
|
|
74
101
|
/**
|
|
75
102
|
* A balance was set by root.
|
|
@@ -385,6 +412,26 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
385
412
|
amountBurned: u128;
|
|
386
413
|
}
|
|
387
414
|
>;
|
|
415
|
+
/**
|
|
416
|
+
* Part of a Fission was repaid and its Bitcoin allocation returned to the source Lock.
|
|
417
|
+
**/
|
|
418
|
+
FissionRepaid: AugmentedEvent<
|
|
419
|
+
ApiType,
|
|
420
|
+
[
|
|
421
|
+
accountId: AccountId32,
|
|
422
|
+
fissionId: u64,
|
|
423
|
+
satoshis: u64,
|
|
424
|
+
liquidityRepaid: u128,
|
|
425
|
+
redemptionAmount: u128,
|
|
426
|
+
],
|
|
427
|
+
{
|
|
428
|
+
accountId: AccountId32;
|
|
429
|
+
fissionId: u64;
|
|
430
|
+
satoshis: u64;
|
|
431
|
+
liquidityRepaid: u128;
|
|
432
|
+
redemptionAmount: u128;
|
|
433
|
+
}
|
|
434
|
+
>;
|
|
388
435
|
};
|
|
389
436
|
bitcoinLocks: {
|
|
390
437
|
BitcoinCosignPastDue: AugmentedEvent<
|
|
@@ -637,13 +684,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
637
684
|
**/
|
|
638
685
|
CouncilSignerRegistered: AugmentedEvent<
|
|
639
686
|
ApiType,
|
|
640
|
-
[
|
|
641
|
-
destinationChain: PalletCrosschainTransferSourceChain,
|
|
642
|
-
accountId: AccountId32,
|
|
643
|
-
signer: H160,
|
|
644
|
-
],
|
|
687
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, accountId: AccountId32, signer: H160],
|
|
645
688
|
{
|
|
646
|
-
destinationChain:
|
|
689
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
647
690
|
accountId: AccountId32;
|
|
648
691
|
signer: H160;
|
|
649
692
|
}
|
|
@@ -653,13 +696,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
653
696
|
**/
|
|
654
697
|
CouncilSignerRotationQueued: AugmentedEvent<
|
|
655
698
|
ApiType,
|
|
656
|
-
[
|
|
657
|
-
destinationChain: PalletCrosschainTransferSourceChain,
|
|
658
|
-
accountId: AccountId32,
|
|
659
|
-
signer: H160,
|
|
660
|
-
],
|
|
699
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, accountId: AccountId32, signer: H160],
|
|
661
700
|
{
|
|
662
|
-
destinationChain:
|
|
701
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
663
702
|
accountId: AccountId32;
|
|
664
703
|
signer: H160;
|
|
665
704
|
}
|
|
@@ -670,12 +709,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
670
709
|
GatewayStateAdvanced: AugmentedEvent<
|
|
671
710
|
ApiType,
|
|
672
711
|
[
|
|
673
|
-
sourceChain:
|
|
674
|
-
gatewayState:
|
|
712
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
713
|
+
gatewayState: ArgonPrimitivesGatewayGatewayState,
|
|
675
714
|
],
|
|
676
715
|
{
|
|
677
|
-
sourceChain:
|
|
678
|
-
gatewayState:
|
|
716
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
717
|
+
gatewayState: ArgonPrimitivesGatewayGatewayState;
|
|
679
718
|
}
|
|
680
719
|
>;
|
|
681
720
|
/**
|
|
@@ -684,11 +723,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
684
723
|
GatewaySyncPaused: AugmentedEvent<
|
|
685
724
|
ApiType,
|
|
686
725
|
[
|
|
687
|
-
sourceChain:
|
|
726
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
688
727
|
pause: PalletCrosschainTransferGatewaySyncPause,
|
|
689
728
|
],
|
|
690
729
|
{
|
|
691
|
-
sourceChain:
|
|
730
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
692
731
|
pause: PalletCrosschainTransferGatewaySyncPause;
|
|
693
732
|
}
|
|
694
733
|
>;
|
|
@@ -697,16 +736,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
697
736
|
**/
|
|
698
737
|
GatewayUnpaused: AugmentedEvent<
|
|
699
738
|
ApiType,
|
|
700
|
-
[sourceChain:
|
|
701
|
-
{ sourceChain:
|
|
739
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain],
|
|
740
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain }
|
|
702
741
|
>;
|
|
703
742
|
/**
|
|
704
743
|
* Root force-set the active Global Issuance Council for a destination chain.
|
|
705
744
|
**/
|
|
706
745
|
GlobalIssuanceCouncilForced: AugmentedEvent<
|
|
707
746
|
ApiType,
|
|
708
|
-
[destinationChain:
|
|
709
|
-
{ destinationChain:
|
|
747
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, councilHash: H256],
|
|
748
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain; councilHash: H256 }
|
|
710
749
|
>;
|
|
711
750
|
/**
|
|
712
751
|
* A frame transition queued a new Global Issuance Council for destination-chain approval.
|
|
@@ -714,24 +753,42 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
714
753
|
GlobalIssuanceCouncilRotationQueued: AugmentedEvent<
|
|
715
754
|
ApiType,
|
|
716
755
|
[
|
|
717
|
-
destinationChain:
|
|
756
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
718
757
|
councilHash: H256,
|
|
719
758
|
approvalQueueNonce: u64,
|
|
720
759
|
],
|
|
721
760
|
{
|
|
722
|
-
destinationChain:
|
|
761
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
723
762
|
councilHash: H256;
|
|
724
763
|
approvalQueueNonce: u64;
|
|
725
764
|
}
|
|
726
765
|
>;
|
|
766
|
+
/**
|
|
767
|
+
* Sender authorization failed; the selection was skipped and ordinary buy rules apply.
|
|
768
|
+
**/
|
|
769
|
+
LiquidRepaymentUnauthorized: AugmentedEvent<
|
|
770
|
+
ApiType,
|
|
771
|
+
[
|
|
772
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
773
|
+
gatewayActivityNonce: u64,
|
|
774
|
+
account: AccountId32,
|
|
775
|
+
liquidId: u64,
|
|
776
|
+
],
|
|
777
|
+
{
|
|
778
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
779
|
+
gatewayActivityNonce: u64;
|
|
780
|
+
account: AccountId32;
|
|
781
|
+
liquidId: u64;
|
|
782
|
+
}
|
|
783
|
+
>;
|
|
727
784
|
/**
|
|
728
785
|
* Root updated the minimum normalized microgon value required to register a Minting
|
|
729
786
|
* Authority on one destination chain.
|
|
730
787
|
**/
|
|
731
788
|
MinimumMintingAuthorityValueSet: AugmentedEvent<
|
|
732
789
|
ApiType,
|
|
733
|
-
[destinationChain:
|
|
734
|
-
{ destinationChain:
|
|
790
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain, minimumValue: u128],
|
|
791
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain; minimumValue: u128 }
|
|
735
792
|
>;
|
|
736
793
|
/**
|
|
737
794
|
* A proven activation paid or released the held relayer reimbursement and made the
|
|
@@ -740,13 +797,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
740
797
|
MintingAuthorityActivationCompleted: AugmentedEvent<
|
|
741
798
|
ApiType,
|
|
742
799
|
[
|
|
743
|
-
destinationChain:
|
|
800
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
744
801
|
destinationSigningKey: H160,
|
|
745
802
|
relayerArgonAccountId: AccountId32,
|
|
746
803
|
repaymentAmount: u128,
|
|
747
804
|
],
|
|
748
805
|
{
|
|
749
|
-
destinationChain:
|
|
806
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
750
807
|
destinationSigningKey: H160;
|
|
751
808
|
relayerArgonAccountId: AccountId32;
|
|
752
809
|
repaymentAmount: u128;
|
|
@@ -757,8 +814,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
757
814
|
**/
|
|
758
815
|
MintingAuthorityActivationFinalized: AugmentedEvent<
|
|
759
816
|
ApiType,
|
|
760
|
-
[sourceChain:
|
|
761
|
-
{ sourceChain:
|
|
817
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, destinationSigningKey: H160],
|
|
818
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; destinationSigningKey: H160 }
|
|
762
819
|
>;
|
|
763
820
|
/**
|
|
764
821
|
* Root updated the pricing inputs used to repay relayers for activation batches on one
|
|
@@ -766,8 +823,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
766
823
|
**/
|
|
767
824
|
MintingAuthorityActivationRepaymentPricingSet: AugmentedEvent<
|
|
768
825
|
ApiType,
|
|
769
|
-
[destinationChain:
|
|
770
|
-
{ destinationChain:
|
|
826
|
+
[destinationChain: ArgonPrimitivesGatewaySourceChain],
|
|
827
|
+
{ destinationChain: ArgonPrimitivesGatewaySourceChain }
|
|
771
828
|
>;
|
|
772
829
|
/**
|
|
773
830
|
* A proven Ethereum deactivation released collateral and removed the local authority
|
|
@@ -775,8 +832,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
775
832
|
**/
|
|
776
833
|
MintingAuthorityDeactivationFinalized: AugmentedEvent<
|
|
777
834
|
ApiType,
|
|
778
|
-
[sourceChain:
|
|
779
|
-
{ sourceChain:
|
|
835
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, destinationSigningKey: H160],
|
|
836
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; destinationSigningKey: H160 }
|
|
780
837
|
>;
|
|
781
838
|
/**
|
|
782
839
|
* An operator queued the council-approved Ethereum deactivation for a Minting Authority.
|
|
@@ -784,12 +841,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
784
841
|
MintingAuthorityDeactivationQueued: AugmentedEvent<
|
|
785
842
|
ApiType,
|
|
786
843
|
[
|
|
787
|
-
destinationChain:
|
|
844
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
788
845
|
destinationSigningKey: H160,
|
|
789
846
|
approvalQueueNonce: u64,
|
|
790
847
|
],
|
|
791
848
|
{
|
|
792
|
-
destinationChain:
|
|
849
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
793
850
|
destinationSigningKey: H160;
|
|
794
851
|
approvalQueueNonce: u64;
|
|
795
852
|
}
|
|
@@ -800,13 +857,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
800
857
|
MintingAuthorityRegistered: AugmentedEvent<
|
|
801
858
|
ApiType,
|
|
802
859
|
[
|
|
803
|
-
destinationChain:
|
|
860
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
804
861
|
destinationSigningKey: H160,
|
|
805
862
|
accountId: AccountId32,
|
|
806
863
|
approvalQueueNonce: u64,
|
|
807
864
|
],
|
|
808
865
|
{
|
|
809
|
-
destinationChain:
|
|
866
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
810
867
|
destinationSigningKey: H160;
|
|
811
868
|
accountId: AccountId32;
|
|
812
869
|
approvalQueueNonce: u64;
|
|
@@ -818,12 +875,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
818
875
|
QueueEntryApprovalReady: AugmentedEvent<
|
|
819
876
|
ApiType,
|
|
820
877
|
[
|
|
821
|
-
destinationChain:
|
|
878
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
822
879
|
target: PalletCrosschainTransferCouncilApprovalTargetId,
|
|
823
880
|
approvalQueueNonce: u64,
|
|
824
881
|
],
|
|
825
882
|
{
|
|
826
|
-
destinationChain:
|
|
883
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
827
884
|
target: PalletCrosschainTransferCouncilApprovalTargetId;
|
|
828
885
|
approvalQueueNonce: u64;
|
|
829
886
|
}
|
|
@@ -834,12 +891,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
834
891
|
QueueEntryApprovalRecorded: AugmentedEvent<
|
|
835
892
|
ApiType,
|
|
836
893
|
[
|
|
837
|
-
destinationChain:
|
|
894
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
838
895
|
target: PalletCrosschainTransferCouncilApprovalTargetId,
|
|
839
896
|
approvalQueueNonce: u64,
|
|
840
897
|
],
|
|
841
898
|
{
|
|
842
|
-
destinationChain:
|
|
899
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
843
900
|
target: PalletCrosschainTransferCouncilApprovalTargetId;
|
|
844
901
|
approvalQueueNonce: u64;
|
|
845
902
|
}
|
|
@@ -875,16 +932,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
875
932
|
**/
|
|
876
933
|
TransferOutCanceled: AugmentedEvent<
|
|
877
934
|
ApiType,
|
|
878
|
-
[sourceChain:
|
|
879
|
-
{ sourceChain:
|
|
935
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, transferId: H256],
|
|
936
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; transferId: H256 }
|
|
880
937
|
>;
|
|
881
938
|
/**
|
|
882
939
|
* A transfer was finalized on the source chain.
|
|
883
940
|
**/
|
|
884
941
|
TransferOutFinalized: AugmentedEvent<
|
|
885
942
|
ApiType,
|
|
886
|
-
[sourceChain:
|
|
887
|
-
{ sourceChain:
|
|
943
|
+
[sourceChain: ArgonPrimitivesGatewaySourceChain, transferId: H256],
|
|
944
|
+
{ sourceChain: ArgonPrimitivesGatewaySourceChain; transferId: H256 }
|
|
888
945
|
>;
|
|
889
946
|
/**
|
|
890
947
|
* A transfer is ready for finalization.
|
|
@@ -896,7 +953,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
896
953
|
TransferOutStarted: AugmentedEvent<
|
|
897
954
|
ApiType,
|
|
898
955
|
[
|
|
899
|
-
destinationChain:
|
|
956
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain,
|
|
900
957
|
transferId: H256,
|
|
901
958
|
accountId: AccountId32,
|
|
902
959
|
asset: PalletCrosschainTransferAssetKind,
|
|
@@ -904,7 +961,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
904
961
|
mintingAuthorityTip: u128,
|
|
905
962
|
],
|
|
906
963
|
{
|
|
907
|
-
destinationChain:
|
|
964
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain;
|
|
908
965
|
transferId: H256;
|
|
909
966
|
accountId: AccountId32;
|
|
910
967
|
asset: PalletCrosschainTransferAssetKind;
|
|
@@ -918,13 +975,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
918
975
|
TransferToArgonFromSwapSettled: AugmentedEvent<
|
|
919
976
|
ApiType,
|
|
920
977
|
[
|
|
921
|
-
sourceChain:
|
|
978
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
922
979
|
transfer: PalletCrosschainTransferTransferToArgonActivity,
|
|
923
980
|
purchase: PalletCrosschainTransferSwapPurchaseEvidence,
|
|
924
981
|
purchaseTick: u64,
|
|
925
982
|
],
|
|
926
983
|
{
|
|
927
|
-
sourceChain:
|
|
984
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
928
985
|
transfer: PalletCrosschainTransferTransferToArgonActivity;
|
|
929
986
|
purchase: PalletCrosschainTransferSwapPurchaseEvidence;
|
|
930
987
|
purchaseTick: u64;
|
|
@@ -936,14 +993,33 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
936
993
|
TransferToArgonSettled: AugmentedEvent<
|
|
937
994
|
ApiType,
|
|
938
995
|
[
|
|
939
|
-
sourceChain:
|
|
996
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
940
997
|
transfer: PalletCrosschainTransferTransferToArgonActivity,
|
|
941
998
|
],
|
|
942
999
|
{
|
|
943
|
-
sourceChain:
|
|
1000
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
944
1001
|
transfer: PalletCrosschainTransferTransferToArgonActivity;
|
|
945
1002
|
}
|
|
946
1003
|
>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Delivery succeeded, but purchase admission rolled back. Funds remain spendable and
|
|
1006
|
+
* the gateway nonce advances without a reward or Liquid repayment commitment.
|
|
1007
|
+
**/
|
|
1008
|
+
UniswapPurchaseAdmissionFailed: AugmentedEvent<
|
|
1009
|
+
ApiType,
|
|
1010
|
+
[
|
|
1011
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain,
|
|
1012
|
+
gatewayActivityNonce: u64,
|
|
1013
|
+
account: AccountId32,
|
|
1014
|
+
error: SpRuntimeDispatchError,
|
|
1015
|
+
],
|
|
1016
|
+
{
|
|
1017
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain;
|
|
1018
|
+
gatewayActivityNonce: u64;
|
|
1019
|
+
account: AccountId32;
|
|
1020
|
+
error: SpRuntimeDispatchError;
|
|
1021
|
+
}
|
|
1022
|
+
>;
|
|
947
1023
|
};
|
|
948
1024
|
digests: {};
|
|
949
1025
|
domains: {
|
|
@@ -1152,6 +1228,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1152
1228
|
{ accountId: AccountId32; targetFrameId: u64 }
|
|
1153
1229
|
>;
|
|
1154
1230
|
BidLost: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1231
|
+
BidMaxUpdated: AugmentedEvent<
|
|
1232
|
+
ApiType,
|
|
1233
|
+
[accountId: AccountId32, targetFrameId: u64, max: u128],
|
|
1234
|
+
{ accountId: AccountId32; targetFrameId: u64; max: u128 }
|
|
1235
|
+
>;
|
|
1155
1236
|
BidRejected: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1156
1237
|
BidRevealed: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1157
1238
|
/**
|
|
@@ -1896,6 +1977,33 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1896
1977
|
[account: AccountId32, admissionFrame: u64, rewardRate: Percent, positiveBidCount: u8],
|
|
1897
1978
|
{ account: AccountId32; admissionFrame: u64; rewardRate: Percent; positiveBidCount: u8 }
|
|
1898
1979
|
>;
|
|
1980
|
+
/**
|
|
1981
|
+
* Repayment and its remaining principal were settled in the account payout transaction.
|
|
1982
|
+
**/
|
|
1983
|
+
LiquidRepaymentCompleted: AugmentedEvent<
|
|
1984
|
+
ApiType,
|
|
1985
|
+
[account: AccountId32, gatewayActivityNonce: u64, liquidId: u64, microgonsBurned: u128],
|
|
1986
|
+
{ account: AccountId32; gatewayActivityNonce: u64; liquidId: u64; microgonsBurned: u128 }
|
|
1987
|
+
>;
|
|
1988
|
+
/**
|
|
1989
|
+
* The purchase lacks valid BTC/R prices, or the Liquid is empty, was recently ratcheted,
|
|
1990
|
+
* or lacks the hold plus release window.
|
|
1991
|
+
* Delivered ARGON is processed under the ordinary purchase rules.
|
|
1992
|
+
**/
|
|
1993
|
+
LiquidRepaymentInvalid: AugmentedEvent<
|
|
1994
|
+
ApiType,
|
|
1995
|
+
[account: AccountId32, gatewayActivityNonce: u64, liquidId: u64],
|
|
1996
|
+
{ account: AccountId32; gatewayActivityNonce: u64; liquidId: u64 }
|
|
1997
|
+
>;
|
|
1998
|
+
/**
|
|
1999
|
+
* Additional reward funded by completed repayment burns, using the same auction result.
|
|
2000
|
+
* This does not consume the Treasury funding reserved for ordinary buy rewards.
|
|
2001
|
+
**/
|
|
2002
|
+
LiquidRepaymentRewardAwarded: AugmentedEvent<
|
|
2003
|
+
ApiType,
|
|
2004
|
+
[account: AccountId32, admissionFrame: u64, amount: u128],
|
|
2005
|
+
{ account: AccountId32; admissionFrame: u64; amount: u128 }
|
|
2006
|
+
>;
|
|
1899
2007
|
MatchingRateChanged: AugmentedEvent<ApiType, [rate: Permill], { rate: Permill }>;
|
|
1900
2008
|
PayoutCompleted: AugmentedEvent<
|
|
1901
2009
|
ApiType,
|
|
@@ -1919,8 +2027,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1919
2027
|
>;
|
|
1920
2028
|
RewardAwarded: AugmentedEvent<
|
|
1921
2029
|
ApiType,
|
|
1922
|
-
[account: AccountId32, admissionFrame: u64, amount: u128,
|
|
1923
|
-
{ account: AccountId32; admissionFrame: u64; amount: u128;
|
|
2030
|
+
[account: AccountId32, admissionFrame: u64, amount: u128, maturesAtFrame: u64],
|
|
2031
|
+
{ account: AccountId32; admissionFrame: u64; amount: u128; maturesAtFrame: u64 }
|
|
1924
2032
|
>;
|
|
1925
2033
|
};
|
|
1926
2034
|
stabilizerPools: {
|
|
@@ -2187,6 +2295,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2187
2295
|
dispatchError: SpRuntimeDispatchError;
|
|
2188
2296
|
}
|
|
2189
2297
|
>;
|
|
2298
|
+
/**
|
|
2299
|
+
* Settlement rolled back and remains queued for a later block.
|
|
2300
|
+
**/
|
|
2301
|
+
CouldNotSettleBondCollateral: AugmentedEvent<
|
|
2302
|
+
ApiType,
|
|
2303
|
+
[accountId: AccountId32, dispatchError: SpRuntimeDispatchError],
|
|
2304
|
+
{ accountId: AccountId32; dispatchError: SpRuntimeDispatchError }
|
|
2305
|
+
>;
|
|
2190
2306
|
/**
|
|
2191
2307
|
* An error occurred while moving bid-pool funds into treasury reserves.
|
|
2192
2308
|
**/
|