@argonprotocol/mainchain 1.5.2-dev.87829152 → 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.
Files changed (38) hide show
  1. package/README.md +87 -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 +357 -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 +6395 -675
  12. package/browser/index.js +4758 -987
  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 +357 -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 +4976 -1229
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +6395 -675
  26. package/lib/index.d.ts +6395 -675
  27. package/lib/index.js +4741 -994
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +101 -1
  31. package/src/interfaces/augment-api-errors.ts +285 -15
  32. package/src/interfaces/augment-api-events.ts +301 -55
  33. package/src/interfaces/augment-api-query.ts +457 -59
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-tx.ts +349 -126
  36. package/src/interfaces/lookup.ts +1059 -320
  37. package/src/interfaces/registry.ts +110 -10
  38. package/src/interfaces/types-lookup.ts +1191 -351
@@ -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
- PalletCrosschainTransferSourceChain,
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';
@@ -61,6 +70,33 @@ export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>
61
70
 
62
71
  declare module '@polkadot/api-base/types/events' {
63
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
+ };
64
100
  balances: {
65
101
  /**
66
102
  * A balance was set by root.
@@ -376,6 +412,26 @@ declare module '@polkadot/api-base/types/events' {
376
412
  amountBurned: u128;
377
413
  }
378
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
+ >;
379
435
  };
380
436
  bitcoinLocks: {
381
437
  BitcoinCosignPastDue: AugmentedEvent<
@@ -419,7 +475,7 @@ declare module '@polkadot/api-base/types/events' {
419
475
  [lockId: u64, vaultId: u32, isFlexible: bool],
420
476
  { lockId: u64; vaultId: u32; isFlexible: bool }
421
477
  >;
422
- BitcoinLockResecuritized: AugmentedEvent<
478
+ BitcoinLockGuaranteeSet: AugmentedEvent<
423
479
  ApiType,
424
480
  [
425
481
  lockId: u64,
@@ -628,13 +684,9 @@ declare module '@polkadot/api-base/types/events' {
628
684
  **/
629
685
  CouncilSignerRegistered: AugmentedEvent<
630
686
  ApiType,
631
- [
632
- destinationChain: PalletCrosschainTransferSourceChain,
633
- accountId: AccountId32,
634
- signer: H160,
635
- ],
687
+ [destinationChain: ArgonPrimitivesGatewaySourceChain, accountId: AccountId32, signer: H160],
636
688
  {
637
- destinationChain: PalletCrosschainTransferSourceChain;
689
+ destinationChain: ArgonPrimitivesGatewaySourceChain;
638
690
  accountId: AccountId32;
639
691
  signer: H160;
640
692
  }
@@ -644,13 +696,9 @@ declare module '@polkadot/api-base/types/events' {
644
696
  **/
645
697
  CouncilSignerRotationQueued: AugmentedEvent<
646
698
  ApiType,
647
- [
648
- destinationChain: PalletCrosschainTransferSourceChain,
649
- accountId: AccountId32,
650
- signer: H160,
651
- ],
699
+ [destinationChain: ArgonPrimitivesGatewaySourceChain, accountId: AccountId32, signer: H160],
652
700
  {
653
- destinationChain: PalletCrosschainTransferSourceChain;
701
+ destinationChain: ArgonPrimitivesGatewaySourceChain;
654
702
  accountId: AccountId32;
655
703
  signer: H160;
656
704
  }
@@ -661,12 +709,12 @@ declare module '@polkadot/api-base/types/events' {
661
709
  GatewayStateAdvanced: AugmentedEvent<
662
710
  ApiType,
663
711
  [
664
- sourceChain: PalletCrosschainTransferSourceChain,
665
- gatewayState: PalletCrosschainTransferGatewayState,
712
+ sourceChain: ArgonPrimitivesGatewaySourceChain,
713
+ gatewayState: ArgonPrimitivesGatewayGatewayState,
666
714
  ],
667
715
  {
668
- sourceChain: PalletCrosschainTransferSourceChain;
669
- gatewayState: PalletCrosschainTransferGatewayState;
716
+ sourceChain: ArgonPrimitivesGatewaySourceChain;
717
+ gatewayState: ArgonPrimitivesGatewayGatewayState;
670
718
  }
671
719
  >;
672
720
  /**
@@ -675,11 +723,11 @@ declare module '@polkadot/api-base/types/events' {
675
723
  GatewaySyncPaused: AugmentedEvent<
676
724
  ApiType,
677
725
  [
678
- sourceChain: PalletCrosschainTransferSourceChain,
726
+ sourceChain: ArgonPrimitivesGatewaySourceChain,
679
727
  pause: PalletCrosschainTransferGatewaySyncPause,
680
728
  ],
681
729
  {
682
- sourceChain: PalletCrosschainTransferSourceChain;
730
+ sourceChain: ArgonPrimitivesGatewaySourceChain;
683
731
  pause: PalletCrosschainTransferGatewaySyncPause;
684
732
  }
685
733
  >;
@@ -688,16 +736,16 @@ declare module '@polkadot/api-base/types/events' {
688
736
  **/
689
737
  GatewayUnpaused: AugmentedEvent<
690
738
  ApiType,
691
- [sourceChain: PalletCrosschainTransferSourceChain],
692
- { sourceChain: PalletCrosschainTransferSourceChain }
739
+ [sourceChain: ArgonPrimitivesGatewaySourceChain],
740
+ { sourceChain: ArgonPrimitivesGatewaySourceChain }
693
741
  >;
694
742
  /**
695
743
  * Root force-set the active Global Issuance Council for a destination chain.
696
744
  **/
697
745
  GlobalIssuanceCouncilForced: AugmentedEvent<
698
746
  ApiType,
699
- [destinationChain: PalletCrosschainTransferSourceChain, councilHash: H256],
700
- { destinationChain: PalletCrosschainTransferSourceChain; councilHash: H256 }
747
+ [destinationChain: ArgonPrimitivesGatewaySourceChain, councilHash: H256],
748
+ { destinationChain: ArgonPrimitivesGatewaySourceChain; councilHash: H256 }
701
749
  >;
702
750
  /**
703
751
  * A frame transition queued a new Global Issuance Council for destination-chain approval.
@@ -705,24 +753,42 @@ declare module '@polkadot/api-base/types/events' {
705
753
  GlobalIssuanceCouncilRotationQueued: AugmentedEvent<
706
754
  ApiType,
707
755
  [
708
- destinationChain: PalletCrosschainTransferSourceChain,
756
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
709
757
  councilHash: H256,
710
758
  approvalQueueNonce: u64,
711
759
  ],
712
760
  {
713
- destinationChain: PalletCrosschainTransferSourceChain;
761
+ destinationChain: ArgonPrimitivesGatewaySourceChain;
714
762
  councilHash: H256;
715
763
  approvalQueueNonce: u64;
716
764
  }
717
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
+ >;
718
784
  /**
719
785
  * Root updated the minimum normalized microgon value required to register a Minting
720
786
  * Authority on one destination chain.
721
787
  **/
722
788
  MinimumMintingAuthorityValueSet: AugmentedEvent<
723
789
  ApiType,
724
- [destinationChain: PalletCrosschainTransferSourceChain, minimumValue: u128],
725
- { destinationChain: PalletCrosschainTransferSourceChain; minimumValue: u128 }
790
+ [destinationChain: ArgonPrimitivesGatewaySourceChain, minimumValue: u128],
791
+ { destinationChain: ArgonPrimitivesGatewaySourceChain; minimumValue: u128 }
726
792
  >;
727
793
  /**
728
794
  * A proven activation paid or released the held relayer reimbursement and made the
@@ -731,13 +797,13 @@ declare module '@polkadot/api-base/types/events' {
731
797
  MintingAuthorityActivationCompleted: AugmentedEvent<
732
798
  ApiType,
733
799
  [
734
- destinationChain: PalletCrosschainTransferSourceChain,
800
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
735
801
  destinationSigningKey: H160,
736
802
  relayerArgonAccountId: AccountId32,
737
803
  repaymentAmount: u128,
738
804
  ],
739
805
  {
740
- destinationChain: PalletCrosschainTransferSourceChain;
806
+ destinationChain: ArgonPrimitivesGatewaySourceChain;
741
807
  destinationSigningKey: H160;
742
808
  relayerArgonAccountId: AccountId32;
743
809
  repaymentAmount: u128;
@@ -748,8 +814,8 @@ declare module '@polkadot/api-base/types/events' {
748
814
  **/
749
815
  MintingAuthorityActivationFinalized: AugmentedEvent<
750
816
  ApiType,
751
- [sourceChain: PalletCrosschainTransferSourceChain, destinationSigningKey: H160],
752
- { sourceChain: PalletCrosschainTransferSourceChain; destinationSigningKey: H160 }
817
+ [sourceChain: ArgonPrimitivesGatewaySourceChain, destinationSigningKey: H160],
818
+ { sourceChain: ArgonPrimitivesGatewaySourceChain; destinationSigningKey: H160 }
753
819
  >;
754
820
  /**
755
821
  * Root updated the pricing inputs used to repay relayers for activation batches on one
@@ -757,8 +823,8 @@ declare module '@polkadot/api-base/types/events' {
757
823
  **/
758
824
  MintingAuthorityActivationRepaymentPricingSet: AugmentedEvent<
759
825
  ApiType,
760
- [destinationChain: PalletCrosschainTransferSourceChain],
761
- { destinationChain: PalletCrosschainTransferSourceChain }
826
+ [destinationChain: ArgonPrimitivesGatewaySourceChain],
827
+ { destinationChain: ArgonPrimitivesGatewaySourceChain }
762
828
  >;
763
829
  /**
764
830
  * A proven Ethereum deactivation released collateral and removed the local authority
@@ -766,8 +832,8 @@ declare module '@polkadot/api-base/types/events' {
766
832
  **/
767
833
  MintingAuthorityDeactivationFinalized: AugmentedEvent<
768
834
  ApiType,
769
- [sourceChain: PalletCrosschainTransferSourceChain, destinationSigningKey: H160],
770
- { sourceChain: PalletCrosschainTransferSourceChain; destinationSigningKey: H160 }
835
+ [sourceChain: ArgonPrimitivesGatewaySourceChain, destinationSigningKey: H160],
836
+ { sourceChain: ArgonPrimitivesGatewaySourceChain; destinationSigningKey: H160 }
771
837
  >;
772
838
  /**
773
839
  * An operator queued the council-approved Ethereum deactivation for a Minting Authority.
@@ -775,12 +841,12 @@ declare module '@polkadot/api-base/types/events' {
775
841
  MintingAuthorityDeactivationQueued: AugmentedEvent<
776
842
  ApiType,
777
843
  [
778
- destinationChain: PalletCrosschainTransferSourceChain,
844
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
779
845
  destinationSigningKey: H160,
780
846
  approvalQueueNonce: u64,
781
847
  ],
782
848
  {
783
- destinationChain: PalletCrosschainTransferSourceChain;
849
+ destinationChain: ArgonPrimitivesGatewaySourceChain;
784
850
  destinationSigningKey: H160;
785
851
  approvalQueueNonce: u64;
786
852
  }
@@ -791,13 +857,13 @@ declare module '@polkadot/api-base/types/events' {
791
857
  MintingAuthorityRegistered: AugmentedEvent<
792
858
  ApiType,
793
859
  [
794
- destinationChain: PalletCrosschainTransferSourceChain,
860
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
795
861
  destinationSigningKey: H160,
796
862
  accountId: AccountId32,
797
863
  approvalQueueNonce: u64,
798
864
  ],
799
865
  {
800
- destinationChain: PalletCrosschainTransferSourceChain;
866
+ destinationChain: ArgonPrimitivesGatewaySourceChain;
801
867
  destinationSigningKey: H160;
802
868
  accountId: AccountId32;
803
869
  approvalQueueNonce: u64;
@@ -809,12 +875,12 @@ declare module '@polkadot/api-base/types/events' {
809
875
  QueueEntryApprovalReady: AugmentedEvent<
810
876
  ApiType,
811
877
  [
812
- destinationChain: PalletCrosschainTransferSourceChain,
878
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
813
879
  target: PalletCrosschainTransferCouncilApprovalTargetId,
814
880
  approvalQueueNonce: u64,
815
881
  ],
816
882
  {
817
- destinationChain: PalletCrosschainTransferSourceChain;
883
+ destinationChain: ArgonPrimitivesGatewaySourceChain;
818
884
  target: PalletCrosschainTransferCouncilApprovalTargetId;
819
885
  approvalQueueNonce: u64;
820
886
  }
@@ -825,12 +891,12 @@ declare module '@polkadot/api-base/types/events' {
825
891
  QueueEntryApprovalRecorded: AugmentedEvent<
826
892
  ApiType,
827
893
  [
828
- destinationChain: PalletCrosschainTransferSourceChain,
894
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
829
895
  target: PalletCrosschainTransferCouncilApprovalTargetId,
830
896
  approvalQueueNonce: u64,
831
897
  ],
832
898
  {
833
- destinationChain: PalletCrosschainTransferSourceChain;
899
+ destinationChain: ArgonPrimitivesGatewaySourceChain;
834
900
  target: PalletCrosschainTransferCouncilApprovalTargetId;
835
901
  approvalQueueNonce: u64;
836
902
  }
@@ -866,16 +932,16 @@ declare module '@polkadot/api-base/types/events' {
866
932
  **/
867
933
  TransferOutCanceled: AugmentedEvent<
868
934
  ApiType,
869
- [sourceChain: PalletCrosschainTransferSourceChain, transferId: H256],
870
- { sourceChain: PalletCrosschainTransferSourceChain; transferId: H256 }
935
+ [sourceChain: ArgonPrimitivesGatewaySourceChain, transferId: H256],
936
+ { sourceChain: ArgonPrimitivesGatewaySourceChain; transferId: H256 }
871
937
  >;
872
938
  /**
873
939
  * A transfer was finalized on the source chain.
874
940
  **/
875
941
  TransferOutFinalized: AugmentedEvent<
876
942
  ApiType,
877
- [sourceChain: PalletCrosschainTransferSourceChain, transferId: H256],
878
- { sourceChain: PalletCrosschainTransferSourceChain; transferId: H256 }
943
+ [sourceChain: ArgonPrimitivesGatewaySourceChain, transferId: H256],
944
+ { sourceChain: ArgonPrimitivesGatewaySourceChain; transferId: H256 }
879
945
  >;
880
946
  /**
881
947
  * A transfer is ready for finalization.
@@ -887,7 +953,7 @@ declare module '@polkadot/api-base/types/events' {
887
953
  TransferOutStarted: AugmentedEvent<
888
954
  ApiType,
889
955
  [
890
- destinationChain: PalletCrosschainTransferSourceChain,
956
+ destinationChain: ArgonPrimitivesGatewaySourceChain,
891
957
  transferId: H256,
892
958
  accountId: AccountId32,
893
959
  asset: PalletCrosschainTransferAssetKind,
@@ -895,7 +961,7 @@ declare module '@polkadot/api-base/types/events' {
895
961
  mintingAuthorityTip: u128,
896
962
  ],
897
963
  {
898
- destinationChain: PalletCrosschainTransferSourceChain;
964
+ destinationChain: ArgonPrimitivesGatewaySourceChain;
899
965
  transferId: H256;
900
966
  accountId: AccountId32;
901
967
  asset: PalletCrosschainTransferAssetKind;
@@ -903,20 +969,57 @@ declare module '@polkadot/api-base/types/events' {
903
969
  mintingAuthorityTip: u128;
904
970
  }
905
971
  >;
972
+ /**
973
+ * A Uniswap purchase was credited without operational transfer credit.
974
+ **/
975
+ TransferToArgonFromSwapSettled: AugmentedEvent<
976
+ ApiType,
977
+ [
978
+ sourceChain: ArgonPrimitivesGatewaySourceChain,
979
+ transfer: PalletCrosschainTransferTransferToArgonActivity,
980
+ purchase: PalletCrosschainTransferSwapPurchaseEvidence,
981
+ purchaseTick: u64,
982
+ ],
983
+ {
984
+ sourceChain: ArgonPrimitivesGatewaySourceChain;
985
+ transfer: PalletCrosschainTransferTransferToArgonActivity;
986
+ purchase: PalletCrosschainTransferSwapPurchaseEvidence;
987
+ purchaseTick: u64;
988
+ }
989
+ >;
906
990
  /**
907
991
  * A `TransferToArgonStarted` activity was proven and settled locally.
908
992
  **/
909
993
  TransferToArgonSettled: AugmentedEvent<
910
994
  ApiType,
911
995
  [
912
- sourceChain: PalletCrosschainTransferSourceChain,
996
+ sourceChain: ArgonPrimitivesGatewaySourceChain,
913
997
  transfer: PalletCrosschainTransferTransferToArgonActivity,
914
998
  ],
915
999
  {
916
- sourceChain: PalletCrosschainTransferSourceChain;
1000
+ sourceChain: ArgonPrimitivesGatewaySourceChain;
917
1001
  transfer: PalletCrosschainTransferTransferToArgonActivity;
918
1002
  }
919
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
+ >;
920
1023
  };
921
1024
  digests: {};
922
1025
  domains: {
@@ -978,6 +1081,11 @@ declare module '@polkadot/api-base/types/events' {
978
1081
  [blockHash: H256, blockNumber: u64],
979
1082
  { blockHash: H256; blockNumber: u64 }
980
1083
  >;
1084
+ GloasForkScheduled: AugmentedEvent<
1085
+ ApiType,
1086
+ [version: U8aFixed, epoch: Compact<u64>],
1087
+ { version: U8aFixed; epoch: Compact<u64> }
1088
+ >;
981
1089
  /**
982
1090
  * Set OperatingMode
983
1091
  **/
@@ -1114,6 +1222,19 @@ declare module '@polkadot/api-base/types/events' {
1114
1222
  >;
1115
1223
  };
1116
1224
  miningSlot: {
1225
+ BidCommitted: AugmentedEvent<
1226
+ ApiType,
1227
+ [accountId: AccountId32, targetFrameId: u64],
1228
+ { accountId: AccountId32; targetFrameId: u64 }
1229
+ >;
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
+ >;
1236
+ BidRejected: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
1237
+ BidRevealed: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
1117
1238
  /**
1118
1239
  * Bids are closed due to the VRF randomized function triggering
1119
1240
  **/
@@ -1164,6 +1285,11 @@ declare module '@polkadot/api-base/types/events' {
1164
1285
  [accountId: AccountId32, preservedArgonotHold: bool],
1165
1286
  { accountId: AccountId32; preservedArgonotHold: bool }
1166
1287
  >;
1288
+ WinningBidPriceChanged: AugmentedEvent<
1289
+ ApiType,
1290
+ [accountId: AccountId32, bidAmount: u128],
1291
+ { accountId: AccountId32; bidAmount: u128 }
1292
+ >;
1167
1293
  };
1168
1294
  mint: {
1169
1295
  /**
@@ -1820,6 +1946,113 @@ declare module '@polkadot/api-base/types/events' {
1820
1946
  }
1821
1947
  >;
1822
1948
  };
1949
+ stabilizerBuys: {
1950
+ ApprovedPoolChanged: AugmentedEvent<
1951
+ ApiType,
1952
+ [pool: Option<PalletStabilizerBuysUniswapPurchasePurchasePool>],
1953
+ { pool: Option<PalletStabilizerBuysUniswapPurchasePurchasePool> }
1954
+ >;
1955
+ AuctionAllocationFailed: AugmentedEvent<
1956
+ ApiType,
1957
+ [admissionFrame: u64, error: SpRuntimeDispatchError],
1958
+ { admissionFrame: u64; error: SpRuntimeDispatchError }
1959
+ >;
1960
+ AuctionFundingFailed: AugmentedEvent<
1961
+ ApiType,
1962
+ [admissionFrame: u64, error: SpRuntimeDispatchError],
1963
+ { admissionFrame: u64; error: SpRuntimeDispatchError }
1964
+ >;
1965
+ AuctionOpened: AugmentedEvent<
1966
+ ApiType,
1967
+ [admissionFrame: u64, budget: u128],
1968
+ { admissionFrame: u64; budget: u128 }
1969
+ >;
1970
+ AuctionSettled: AugmentedEvent<
1971
+ ApiType,
1972
+ [admissionFrame: u64, awarded: u128, returned: u128],
1973
+ { admissionFrame: u64; awarded: u128; returned: u128 }
1974
+ >;
1975
+ BidSubmitted: AugmentedEvent<
1976
+ ApiType,
1977
+ [account: AccountId32, admissionFrame: u64, rewardRate: Percent, positiveBidCount: u8],
1978
+ { account: AccountId32; admissionFrame: u64; rewardRate: Percent; positiveBidCount: u8 }
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
+ >;
2007
+ MatchingRateChanged: AugmentedEvent<ApiType, [rate: Permill], { rate: Permill }>;
2008
+ PayoutCompleted: AugmentedEvent<
2009
+ ApiType,
2010
+ [account: AccountId32, principal: u128, reward: u128],
2011
+ { account: AccountId32; principal: u128; reward: u128 }
2012
+ >;
2013
+ PayoutFailed: AugmentedEvent<
2014
+ ApiType,
2015
+ [account: AccountId32, error: SpRuntimeDispatchError],
2016
+ { account: AccountId32; error: SpRuntimeDispatchError }
2017
+ >;
2018
+ PurchaseIneligible: AugmentedEvent<
2019
+ ApiType,
2020
+ [account: AccountId32, purchaseTick: u64, reason: PalletStabilizerBuysIneligibleReason],
2021
+ { account: AccountId32; purchaseTick: u64; reason: PalletStabilizerBuysIneligibleReason }
2022
+ >;
2023
+ PurchaseRecorded: AugmentedEvent<
2024
+ ApiType,
2025
+ [account: AccountId32, admissionFrame: u64, principal: u128, matchingBasis: u128],
2026
+ { account: AccountId32; admissionFrame: u64; principal: u128; matchingBasis: u128 }
2027
+ >;
2028
+ RewardAwarded: AugmentedEvent<
2029
+ ApiType,
2030
+ [account: AccountId32, admissionFrame: u64, amount: u128, maturesAtFrame: u64],
2031
+ { account: AccountId32; admissionFrame: u64; amount: u128; maturesAtFrame: u64 }
2032
+ >;
2033
+ };
2034
+ stabilizerPools: {
2035
+ PoolRegistered: AugmentedEvent<
2036
+ ApiType,
2037
+ [poolManager: H160, poolId: H256, config: PalletStabilizerPoolsPoolConfig],
2038
+ { poolManager: H160; poolId: H256; config: PalletStabilizerPoolsPoolConfig }
2039
+ >;
2040
+ PositionCheckpointed: AugmentedEvent<
2041
+ ApiType,
2042
+ [
2043
+ positionManager: H160,
2044
+ tokenId: U256,
2045
+ checkpoint: PalletStabilizerPoolsPositionCheckpoint,
2046
+ outcome: PalletStabilizerPoolsCheckpointOutcome,
2047
+ ],
2048
+ {
2049
+ positionManager: H160;
2050
+ tokenId: U256;
2051
+ checkpoint: PalletStabilizerPoolsPositionCheckpoint;
2052
+ outcome: PalletStabilizerPoolsCheckpointOutcome;
2053
+ }
2054
+ >;
2055
+ };
1823
2056
  sudo: {
1824
2057
  /**
1825
2058
  * The sudo key has been updated.
@@ -2062,6 +2295,14 @@ declare module '@polkadot/api-base/types/events' {
2062
2295
  dispatchError: SpRuntimeDispatchError;
2063
2296
  }
2064
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
+ >;
2065
2306
  /**
2066
2307
  * An error occurred while moving bid-pool funds into treasury reserves.
2067
2308
  **/
@@ -2123,6 +2364,11 @@ declare module '@polkadot/api-base/types/events' {
2123
2364
  [targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent],
2124
2365
  { targetBitcoinPercent: Percent; upstreamParticipationFactor: Percent }
2125
2366
  >;
2367
+ RewardReservesUpdated: AugmentedEvent<
2368
+ ApiType,
2369
+ [reserves: PalletTreasuryRewardReserveBalances],
2370
+ { reserves: PalletTreasuryRewardReserveBalances }
2371
+ >;
2126
2372
  };
2127
2373
  txPause: {
2128
2374
  /**