@argonprotocol/mainchain 1.5.2-dev.20010413 → 1.5.2-dev.4f5b015c

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.
Files changed (37) hide show
  1. package/README.md +20 -0
  2. package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
  3. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  4. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  5. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +328 -16
  6. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  7. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  8. package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
  9. package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  10. package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  11. package/browser/index.d.ts +5501 -617
  12. package/browser/index.js +3907 -972
  13. package/browser/index.js.map +1 -1
  14. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
  15. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  16. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  17. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +328 -16
  18. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  19. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  20. package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
  21. package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  22. package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  23. package/lib/index.cjs +3905 -964
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +5501 -617
  26. package/lib/index.d.ts +5501 -617
  27. package/lib/index.js +3918 -977
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +86 -0
  31. package/src/interfaces/augment-api-errors.ts +138 -5
  32. package/src/interfaces/augment-api-events.ts +260 -53
  33. package/src/interfaces/augment-api-query.ts +336 -48
  34. package/src/interfaces/augment-api-tx.ts +130 -37
  35. package/src/interfaces/lookup.ts +770 -311
  36. package/src/interfaces/registry.ts +70 -10
  37. package/src/interfaces/types-lookup.ts +841 -324
@@ -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
- PalletCrosschainTransferSourceChain,
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: PalletCrosschainTransferSourceChain;
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: PalletCrosschainTransferSourceChain;
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: PalletCrosschainTransferSourceChain,
664
- gatewayState: PalletCrosschainTransferGatewayState,
685
+ sourceChain: ArgonPrimitivesGatewaySourceChain,
686
+ gatewayState: ArgonPrimitivesGatewayGatewayState,
665
687
  ],
666
688
  {
667
- sourceChain: PalletCrosschainTransferSourceChain;
668
- gatewayState: PalletCrosschainTransferGatewayState;
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: PalletCrosschainTransferSourceChain,
699
+ sourceChain: ArgonPrimitivesGatewaySourceChain,
678
700
  pause: PalletCrosschainTransferGatewaySyncPause,
679
701
  ],
680
702
  {
681
- sourceChain: PalletCrosschainTransferSourceChain;
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: PalletCrosschainTransferSourceChain],
691
- { sourceChain: PalletCrosschainTransferSourceChain }
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: PalletCrosschainTransferSourceChain, councilHash: H256],
699
- { destinationChain: PalletCrosschainTransferSourceChain; councilHash: H256 }
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: PalletCrosschainTransferSourceChain,
729
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
708
730
  councilHash: H256,
709
731
  approvalQueueNonce: u64,
710
732
  ],
711
733
  {
712
- destinationChain: PalletCrosschainTransferSourceChain;
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: PalletCrosschainTransferSourceChain, minimumValue: u128],
724
- { destinationChain: PalletCrosschainTransferSourceChain; minimumValue: u128 }
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: PalletCrosschainTransferSourceChain,
773
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
734
774
  destinationSigningKey: H160,
735
775
  relayerArgonAccountId: AccountId32,
736
776
  repaymentAmount: u128,
737
777
  ],
738
778
  {
739
- destinationChain: PalletCrosschainTransferSourceChain;
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: PalletCrosschainTransferSourceChain, destinationSigningKey: H160],
751
- { sourceChain: PalletCrosschainTransferSourceChain; destinationSigningKey: H160 }
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: PalletCrosschainTransferSourceChain],
760
- { destinationChain: PalletCrosschainTransferSourceChain }
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: PalletCrosschainTransferSourceChain, destinationSigningKey: H160],
769
- { sourceChain: PalletCrosschainTransferSourceChain; destinationSigningKey: H160 }
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: PalletCrosschainTransferSourceChain,
817
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
778
818
  destinationSigningKey: H160,
779
819
  approvalQueueNonce: u64,
780
820
  ],
781
821
  {
782
- destinationChain: PalletCrosschainTransferSourceChain;
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: PalletCrosschainTransferSourceChain,
833
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
794
834
  destinationSigningKey: H160,
795
835
  accountId: AccountId32,
796
836
  approvalQueueNonce: u64,
797
837
  ],
798
838
  {
799
- destinationChain: PalletCrosschainTransferSourceChain;
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: PalletCrosschainTransferSourceChain,
851
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
812
852
  target: PalletCrosschainTransferCouncilApprovalTargetId,
813
853
  approvalQueueNonce: u64,
814
854
  ],
815
855
  {
816
- destinationChain: PalletCrosschainTransferSourceChain;
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: PalletCrosschainTransferSourceChain,
867
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
828
868
  target: PalletCrosschainTransferCouncilApprovalTargetId,
829
869
  approvalQueueNonce: u64,
830
870
  ],
831
871
  {
832
- destinationChain: PalletCrosschainTransferSourceChain;
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: PalletCrosschainTransferSourceChain, transferId: H256],
869
- { sourceChain: PalletCrosschainTransferSourceChain; transferId: H256 }
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: PalletCrosschainTransferSourceChain, transferId: H256],
877
- { sourceChain: PalletCrosschainTransferSourceChain; transferId: H256 }
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: PalletCrosschainTransferSourceChain,
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: PalletCrosschainTransferSourceChain;
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: PalletCrosschainTransferSourceChain,
969
+ sourceChain: ArgonPrimitivesGatewaySourceChain,
912
970
  transfer: PalletCrosschainTransferTransferToArgonActivity,
913
971
  ],
914
972
  {
915
- sourceChain: PalletCrosschainTransferSourceChain;
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
  **/
@@ -1119,6 +1201,11 @@ declare module '@polkadot/api-base/types/events' {
1119
1201
  { accountId: AccountId32; targetFrameId: u64 }
1120
1202
  >;
1121
1203
  BidLost: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
1204
+ BidMaxUpdated: AugmentedEvent<
1205
+ ApiType,
1206
+ [accountId: AccountId32, targetFrameId: u64, max: u128],
1207
+ { accountId: AccountId32; targetFrameId: u64; max: u128 }
1208
+ >;
1122
1209
  BidRejected: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
1123
1210
  BidRevealed: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
1124
1211
  /**
@@ -1832,6 +1919,113 @@ declare module '@polkadot/api-base/types/events' {
1832
1919
  }
1833
1920
  >;
1834
1921
  };
1922
+ stabilizerBuys: {
1923
+ ApprovedPoolChanged: AugmentedEvent<
1924
+ ApiType,
1925
+ [pool: Option<PalletStabilizerBuysUniswapPurchasePurchasePool>],
1926
+ { pool: Option<PalletStabilizerBuysUniswapPurchasePurchasePool> }
1927
+ >;
1928
+ AuctionAllocationFailed: AugmentedEvent<
1929
+ ApiType,
1930
+ [admissionFrame: u64, error: SpRuntimeDispatchError],
1931
+ { admissionFrame: u64; error: SpRuntimeDispatchError }
1932
+ >;
1933
+ AuctionFundingFailed: AugmentedEvent<
1934
+ ApiType,
1935
+ [admissionFrame: u64, error: SpRuntimeDispatchError],
1936
+ { admissionFrame: u64; error: SpRuntimeDispatchError }
1937
+ >;
1938
+ AuctionOpened: AugmentedEvent<
1939
+ ApiType,
1940
+ [admissionFrame: u64, budget: u128],
1941
+ { admissionFrame: u64; budget: u128 }
1942
+ >;
1943
+ AuctionSettled: AugmentedEvent<
1944
+ ApiType,
1945
+ [admissionFrame: u64, awarded: u128, returned: u128],
1946
+ { admissionFrame: u64; awarded: u128; returned: u128 }
1947
+ >;
1948
+ BidSubmitted: AugmentedEvent<
1949
+ ApiType,
1950
+ [account: AccountId32, admissionFrame: u64, rewardRate: Percent, positiveBidCount: u8],
1951
+ { account: AccountId32; admissionFrame: u64; rewardRate: Percent; positiveBidCount: u8 }
1952
+ >;
1953
+ /**
1954
+ * Repayment and its remaining principal were settled in the account payout transaction.
1955
+ **/
1956
+ LiquidRepaymentCompleted: AugmentedEvent<
1957
+ ApiType,
1958
+ [account: AccountId32, gatewayActivityNonce: u64, liquidId: u64, microgonsBurned: u128],
1959
+ { account: AccountId32; gatewayActivityNonce: u64; liquidId: u64; microgonsBurned: u128 }
1960
+ >;
1961
+ /**
1962
+ * The purchase lacks valid BTC/R prices, or the Liquid is empty, was recently ratcheted,
1963
+ * or lacks the hold plus release window.
1964
+ * Delivered ARGON is processed under the ordinary purchase rules.
1965
+ **/
1966
+ LiquidRepaymentInvalid: AugmentedEvent<
1967
+ ApiType,
1968
+ [account: AccountId32, gatewayActivityNonce: u64, liquidId: u64],
1969
+ { account: AccountId32; gatewayActivityNonce: u64; liquidId: u64 }
1970
+ >;
1971
+ /**
1972
+ * Additional reward funded by completed repayment burns, using the same auction result.
1973
+ * This does not consume the Treasury funding reserved for ordinary buy rewards.
1974
+ **/
1975
+ LiquidRepaymentRewardAwarded: AugmentedEvent<
1976
+ ApiType,
1977
+ [account: AccountId32, admissionFrame: u64, amount: u128],
1978
+ { account: AccountId32; admissionFrame: u64; amount: u128 }
1979
+ >;
1980
+ MatchingRateChanged: AugmentedEvent<ApiType, [rate: Permill], { rate: Permill }>;
1981
+ PayoutCompleted: AugmentedEvent<
1982
+ ApiType,
1983
+ [account: AccountId32, principal: u128, reward: u128],
1984
+ { account: AccountId32; principal: u128; reward: u128 }
1985
+ >;
1986
+ PayoutFailed: AugmentedEvent<
1987
+ ApiType,
1988
+ [account: AccountId32, error: SpRuntimeDispatchError],
1989
+ { account: AccountId32; error: SpRuntimeDispatchError }
1990
+ >;
1991
+ PurchaseIneligible: AugmentedEvent<
1992
+ ApiType,
1993
+ [account: AccountId32, purchaseTick: u64, reason: PalletStabilizerBuysIneligibleReason],
1994
+ { account: AccountId32; purchaseTick: u64; reason: PalletStabilizerBuysIneligibleReason }
1995
+ >;
1996
+ PurchaseRecorded: AugmentedEvent<
1997
+ ApiType,
1998
+ [account: AccountId32, admissionFrame: u64, principal: u128, matchingBasis: u128],
1999
+ { account: AccountId32; admissionFrame: u64; principal: u128; matchingBasis: u128 }
2000
+ >;
2001
+ RewardAwarded: AugmentedEvent<
2002
+ ApiType,
2003
+ [account: AccountId32, admissionFrame: u64, amount: u128, maturesAtFrame: u64],
2004
+ { account: AccountId32; admissionFrame: u64; amount: u128; maturesAtFrame: u64 }
2005
+ >;
2006
+ };
2007
+ stabilizerPools: {
2008
+ PoolRegistered: AugmentedEvent<
2009
+ ApiType,
2010
+ [poolManager: H160, poolId: H256, config: PalletStabilizerPoolsPoolConfig],
2011
+ { poolManager: H160; poolId: H256; config: PalletStabilizerPoolsPoolConfig }
2012
+ >;
2013
+ PositionCheckpointed: AugmentedEvent<
2014
+ ApiType,
2015
+ [
2016
+ positionManager: H160,
2017
+ tokenId: U256,
2018
+ checkpoint: PalletStabilizerPoolsPositionCheckpoint,
2019
+ outcome: PalletStabilizerPoolsCheckpointOutcome,
2020
+ ],
2021
+ {
2022
+ positionManager: H160;
2023
+ tokenId: U256;
2024
+ checkpoint: PalletStabilizerPoolsPositionCheckpoint;
2025
+ outcome: PalletStabilizerPoolsCheckpointOutcome;
2026
+ }
2027
+ >;
2028
+ };
1835
2029
  sudo: {
1836
2030
  /**
1837
2031
  * The sudo key has been updated.
@@ -2074,6 +2268,14 @@ declare module '@polkadot/api-base/types/events' {
2074
2268
  dispatchError: SpRuntimeDispatchError;
2075
2269
  }
2076
2270
  >;
2271
+ /**
2272
+ * Settlement rolled back and remains queued for a later block.
2273
+ **/
2274
+ CouldNotSettleBondCollateral: AugmentedEvent<
2275
+ ApiType,
2276
+ [accountId: AccountId32, dispatchError: SpRuntimeDispatchError],
2277
+ { accountId: AccountId32; dispatchError: SpRuntimeDispatchError }
2278
+ >;
2077
2279
  /**
2078
2280
  * An error occurred while moving bid-pool funds into treasury reserves.
2079
2281
  **/
@@ -2135,6 +2337,11 @@ declare module '@polkadot/api-base/types/events' {
2135
2337
  [targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent],
2136
2338
  { targetBitcoinPercent: Percent; upstreamParticipationFactor: Percent }
2137
2339
  >;
2340
+ RewardReservesUpdated: AugmentedEvent<
2341
+ ApiType,
2342
+ [reserves: PalletTreasuryRewardReserveBalances],
2343
+ { reserves: PalletTreasuryRewardReserveBalances }
2344
+ >;
2138
2345
  };
2139
2346
  txPause: {
2140
2347
  /**