@argonprotocol/mainchain 1.5.2-dev.247195a5 → 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 (36) hide show
  1. package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +185 -51
  2. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +2 -2
  3. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +2 -2
  4. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +61 -23
  5. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
  6. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
  7. package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +6 -6
  8. package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +2 -2
  9. package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +1 -1
  10. package/browser/index.d.ts +1137 -491
  11. package/browser/index.js +334 -94
  12. package/browser/index.js.map +1 -1
  13. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +185 -51
  14. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +2 -2
  15. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +2 -2
  16. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +61 -23
  17. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
  18. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
  19. package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +6 -6
  20. package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +2 -2
  21. package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +1 -1
  22. package/lib/index.cjs +333 -93
  23. package/lib/index.cjs.map +1 -1
  24. package/lib/index.d.cts +1137 -491
  25. package/lib/index.d.ts +1137 -491
  26. package/lib/index.js +338 -98
  27. package/lib/index.js.map +1 -1
  28. package/package.json +2 -2
  29. package/src/interfaces/augment-api-consts.ts +44 -13
  30. package/src/interfaces/augment-api-errors.ts +45 -7
  31. package/src/interfaces/augment-api-events.ts +145 -56
  32. package/src/interfaces/augment-api-query.ts +184 -85
  33. package/src/interfaces/augment-api-tx.ts +34 -34
  34. package/src/interfaces/lookup.ts +431 -320
  35. package/src/interfaces/registry.ts +22 -10
  36. package/src/interfaces/types-lookup.ts +461 -327
@@ -40,6 +40,7 @@ import type {
40
40
  ArgonPrimitivesBitcoinUtxoRef,
41
41
  ArgonPrimitivesDomainZoneRecord,
42
42
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
43
+ ArgonPrimitivesGatewaySourceChain,
43
44
  ArgonPrimitivesInherentsBitcoinUtxoSyncV2,
44
45
  ArgonPrimitivesInherentsBlockSealInherent,
45
46
  ArgonPrimitivesNotaryNotaryMeta,
@@ -60,7 +61,6 @@ import type {
60
61
  PalletCrosschainTransferChainConfig,
61
62
  PalletCrosschainTransferGatewayActivityStorageProof,
62
63
  PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
63
- PalletCrosschainTransferSourceChain,
64
64
  PalletEthereumVerifierBasicOperatingMode,
65
65
  PalletEthereumVerifierCheckpointUpdate,
66
66
  PalletEthereumVerifierExecutionHeaderProof,
@@ -578,10 +578,10 @@ declare module '@polkadot/api-base/types/submittable' {
578
578
  crosschainTransfer: {
579
579
  approveQueueEntries: AugmentedSubmittable<
580
580
  (
581
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
581
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
582
582
  signatures: Vec<U8aFixed>,
583
583
  ) => SubmittableExtrinsic<ApiType>,
584
- [PalletCrosschainTransferSourceChain, Vec<U8aFixed>]
584
+ [ArgonPrimitivesGatewaySourceChain, Vec<U8aFixed>]
585
585
  >;
586
586
  collateralizeTransfer: AugmentedSubmittable<
587
587
  (
@@ -598,21 +598,21 @@ declare module '@polkadot/api-base/types/submittable' {
598
598
  >;
599
599
  forceSetGlobalIssuanceCouncil: AugmentedSubmittable<
600
600
  (
601
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
601
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
602
602
  afterNonce: Compact<u64> | AnyNumber | Uint8Array,
603
603
  memberAccountIds: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
604
604
  ) => SubmittableExtrinsic<ApiType>,
605
- [PalletCrosschainTransferSourceChain, Compact<u64>, Vec<AccountId32>]
605
+ [ArgonPrimitivesGatewaySourceChain, Compact<u64>, Vec<AccountId32>]
606
606
  >;
607
607
  pauseGateway: AugmentedSubmittable<
608
608
  (
609
- sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
609
+ sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
610
610
  ) => SubmittableExtrinsic<ApiType>,
611
- [PalletCrosschainTransferSourceChain]
611
+ [ArgonPrimitivesGatewaySourceChain]
612
612
  >;
613
613
  proveGatewayActivity: AugmentedSubmittable<
614
614
  (
615
- sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
615
+ sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
616
616
  previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array,
617
617
  proofBatch:
618
618
  | ArgonPrimitivesEthereumEthereumReceiptLogProofBatch
@@ -621,17 +621,19 @@ declare module '@polkadot/api-base/types/submittable' {
621
621
  | Uint8Array,
622
622
  ) => SubmittableExtrinsic<ApiType>,
623
623
  [
624
- PalletCrosschainTransferSourceChain,
624
+ ArgonPrimitivesGatewaySourceChain,
625
625
  Compact<u64>,
626
626
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
627
627
  ]
628
628
  >;
629
629
  /**
630
630
  * Authenticate a complete gateway locator and settle its unconsumed activities.
631
+ * Including the gateway's current nonce also records the proven block time once all
632
+ * activity through that nonce has been applied.
631
633
  **/
632
634
  proveGatewayActivityStorage: AugmentedSubmittable<
633
635
  (
634
- sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
636
+ sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
635
637
  previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array,
636
638
  proof:
637
639
  | PalletCrosschainTransferGatewayActivityStorageProof
@@ -640,46 +642,46 @@ declare module '@polkadot/api-base/types/submittable' {
640
642
  | Uint8Array,
641
643
  ) => SubmittableExtrinsic<ApiType>,
642
644
  [
643
- PalletCrosschainTransferSourceChain,
645
+ ArgonPrimitivesGatewaySourceChain,
644
646
  Compact<u64>,
645
647
  PalletCrosschainTransferGatewayActivityStorageProof,
646
648
  ]
647
649
  >;
648
650
  registerCouncilSigner: AugmentedSubmittable<
649
651
  (
650
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
652
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
651
653
  signingKey: H160 | string | Uint8Array,
652
654
  signature: U8aFixed | string | Uint8Array,
653
655
  ) => SubmittableExtrinsic<ApiType>,
654
- [PalletCrosschainTransferSourceChain, H160, U8aFixed]
656
+ [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed]
655
657
  >;
656
658
  registerMintingAuthority: AugmentedSubmittable<
657
659
  (
658
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
660
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
659
661
  destinationSigningKey: H160 | string | Uint8Array,
660
662
  signature: U8aFixed | string | Uint8Array,
661
663
  microgonCollateral: Compact<u128> | AnyNumber | Uint8Array,
662
664
  micronotCollateral: Compact<u128> | AnyNumber | Uint8Array,
663
665
  ) => SubmittableExtrinsic<ApiType>,
664
- [PalletCrosschainTransferSourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>]
666
+ [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>]
665
667
  >;
666
668
  setChainConfig: AugmentedSubmittable<
667
669
  (
668
- sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
670
+ sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
669
671
  config: PalletCrosschainTransferChainConfig | { Evm: any } | string | Uint8Array,
670
672
  ) => SubmittableExtrinsic<ApiType>,
671
- [PalletCrosschainTransferSourceChain, PalletCrosschainTransferChainConfig]
673
+ [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferChainConfig]
672
674
  >;
673
675
  setMinimumMintingAuthorityValue: AugmentedSubmittable<
674
676
  (
675
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
677
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
676
678
  minimumValue: Compact<u128> | AnyNumber | Uint8Array,
677
679
  ) => SubmittableExtrinsic<ApiType>,
678
- [PalletCrosschainTransferSourceChain, Compact<u128>]
680
+ [ArgonPrimitivesGatewaySourceChain, Compact<u128>]
679
681
  >;
680
682
  setMintingAuthorityActivationRepaymentPricing: AugmentedSubmittable<
681
683
  (
682
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
684
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
683
685
  pricing:
684
686
  | PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing
685
687
  | {
@@ -692,29 +694,24 @@ declare module '@polkadot/api-base/types/submittable' {
692
694
  | Uint8Array,
693
695
  ) => SubmittableExtrinsic<ApiType>,
694
696
  [
695
- PalletCrosschainTransferSourceChain,
697
+ ArgonPrimitivesGatewaySourceChain,
696
698
  PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
697
699
  ]
698
700
  >;
699
701
  transferOut: AugmentedSubmittable<
700
702
  (
701
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
703
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
702
704
  asset: PalletCrosschainTransferAssetKind | 'Argon' | 'Argonot' | number | Uint8Array,
703
705
  destinationAccount: H160 | string | Uint8Array,
704
706
  amount: Compact<u128> | AnyNumber | Uint8Array,
705
707
  ) => SubmittableExtrinsic<ApiType>,
706
- [
707
- PalletCrosschainTransferSourceChain,
708
- PalletCrosschainTransferAssetKind,
709
- H160,
710
- Compact<u128>,
711
- ]
708
+ [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferAssetKind, H160, Compact<u128>]
712
709
  >;
713
710
  unpauseGateway: AugmentedSubmittable<
714
711
  (
715
- sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
712
+ sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
716
713
  ) => SubmittableExtrinsic<ApiType>,
717
- [PalletCrosschainTransferSourceChain]
714
+ [ArgonPrimitivesGatewaySourceChain]
718
715
  >;
719
716
  };
720
717
  domains: {
@@ -905,6 +902,7 @@ declare module '@polkadot/api-base/types/submittable' {
905
902
  * Submit a funded public bid, optionally committing to a hidden maximum.
906
903
  * Every bid competes at its public amount even if no maximum is revealed.
907
904
  * An omitted target frame selects the current auction at dispatch time.
905
+ * Standing winners can commit a new maximum without clearing the new-bid entry threshold.
908
906
  **/
909
907
  bid: AugmentedSubmittable<
910
908
  (
@@ -921,17 +919,19 @@ declare module '@polkadot/api-base/types/submittable' {
921
919
  [u128, ArgonRuntimeSessionKeys, Option<AccountId32>, Option<u64>, Option<U8aFixed>]
922
920
  >;
923
921
  /**
924
- * Disclose a committed maximum during the five blocks following submission.
925
- * The target frame must match the original bid and the current auction.
922
+ * With a salt, disclose a committed maximum in the five blocks following submission.
923
+ * Without a salt, immediately update a settled winner's maximum while bidding is open.
924
+ * Updates cannot overlap pending bids or reduce the maximum below the current paid bid.
925
+ * Both modes must explicitly target the current auction frame.
926
926
  **/
927
927
  bidMax: AugmentedSubmittable<
928
928
  (
929
929
  max: u128 | AnyNumber | Uint8Array,
930
- salt: U8aFixed | string | Uint8Array,
930
+ salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string,
931
931
  miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
932
932
  targetFrameId: u64 | AnyNumber | Uint8Array,
933
933
  ) => SubmittableExtrinsic<ApiType>,
934
- [u128, U8aFixed, Option<AccountId32>, u64]
934
+ [u128, Option<U8aFixed>, Option<AccountId32>, u64]
935
935
  >;
936
936
  /**
937
937
  * Admin function to update the mining slot delay.