@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.
- 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 +1137 -491
- package/browser/index.js +334 -94
- 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 +333 -93
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1137 -491
- package/lib/index.d.ts +1137 -491
- package/lib/index.js +338 -98
- 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 +45 -7
- package/src/interfaces/augment-api-events.ts +145 -56
- package/src/interfaces/augment-api-query.ts +184 -85
- package/src/interfaces/augment-api-tx.ts +34 -34
- package/src/interfaces/lookup.ts +431 -320
- package/src/interfaces/registry.ts +22 -10
- 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:
|
|
581
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
582
582
|
signatures: Vec<U8aFixed>,
|
|
583
583
|
) => SubmittableExtrinsic<ApiType>,
|
|
584
|
-
[
|
|
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:
|
|
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
|
-
[
|
|
605
|
+
[ArgonPrimitivesGatewaySourceChain, Compact<u64>, Vec<AccountId32>]
|
|
606
606
|
>;
|
|
607
607
|
pauseGateway: AugmentedSubmittable<
|
|
608
608
|
(
|
|
609
|
-
sourceChain:
|
|
609
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
610
610
|
) => SubmittableExtrinsic<ApiType>,
|
|
611
|
-
[
|
|
611
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
612
612
|
>;
|
|
613
613
|
proveGatewayActivity: AugmentedSubmittable<
|
|
614
614
|
(
|
|
615
|
-
sourceChain:
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
645
|
+
ArgonPrimitivesGatewaySourceChain,
|
|
644
646
|
Compact<u64>,
|
|
645
647
|
PalletCrosschainTransferGatewayActivityStorageProof,
|
|
646
648
|
]
|
|
647
649
|
>;
|
|
648
650
|
registerCouncilSigner: AugmentedSubmittable<
|
|
649
651
|
(
|
|
650
|
-
destinationChain:
|
|
652
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
651
653
|
signingKey: H160 | string | Uint8Array,
|
|
652
654
|
signature: U8aFixed | string | Uint8Array,
|
|
653
655
|
) => SubmittableExtrinsic<ApiType>,
|
|
654
|
-
[
|
|
656
|
+
[ArgonPrimitivesGatewaySourceChain, H160, U8aFixed]
|
|
655
657
|
>;
|
|
656
658
|
registerMintingAuthority: AugmentedSubmittable<
|
|
657
659
|
(
|
|
658
|
-
destinationChain:
|
|
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
|
-
[
|
|
666
|
+
[ArgonPrimitivesGatewaySourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>]
|
|
665
667
|
>;
|
|
666
668
|
setChainConfig: AugmentedSubmittable<
|
|
667
669
|
(
|
|
668
|
-
sourceChain:
|
|
670
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
669
671
|
config: PalletCrosschainTransferChainConfig | { Evm: any } | string | Uint8Array,
|
|
670
672
|
) => SubmittableExtrinsic<ApiType>,
|
|
671
|
-
[
|
|
673
|
+
[ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferChainConfig]
|
|
672
674
|
>;
|
|
673
675
|
setMinimumMintingAuthorityValue: AugmentedSubmittable<
|
|
674
676
|
(
|
|
675
|
-
destinationChain:
|
|
677
|
+
destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
676
678
|
minimumValue: Compact<u128> | AnyNumber | Uint8Array,
|
|
677
679
|
) => SubmittableExtrinsic<ApiType>,
|
|
678
|
-
[
|
|
680
|
+
[ArgonPrimitivesGatewaySourceChain, Compact<u128>]
|
|
679
681
|
>;
|
|
680
682
|
setMintingAuthorityActivationRepaymentPricing: AugmentedSubmittable<
|
|
681
683
|
(
|
|
682
|
-
destinationChain:
|
|
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
|
-
|
|
697
|
+
ArgonPrimitivesGatewaySourceChain,
|
|
696
698
|
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
697
699
|
]
|
|
698
700
|
>;
|
|
699
701
|
transferOut: AugmentedSubmittable<
|
|
700
702
|
(
|
|
701
|
-
destinationChain:
|
|
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:
|
|
712
|
+
sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
716
713
|
) => SubmittableExtrinsic<ApiType>,
|
|
717
|
-
[
|
|
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
|
-
*
|
|
925
|
-
*
|
|
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 |
|
|
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
|
|
934
|
+
[u128, Option<U8aFixed>, Option<AccountId32>, u64]
|
|
935
935
|
>;
|
|
936
936
|
/**
|
|
937
937
|
* Admin function to update the mining slot delay.
|