@argonprotocol/mainchain 1.5.2-dev.b031c548 → 1.5.2-dev.c911d613
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 +1128 -493
- package/browser/index.js +374 -133
- 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 +373 -132
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1128 -493
- package/lib/index.d.ts +1128 -493
- package/lib/index.js +378 -137
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +48 -15
- package/src/interfaces/augment-api-errors.ts +39 -5
- package/src/interfaces/augment-api-events.ts +140 -56
- package/src/interfaces/augment-api-query.ts +202 -96
- package/src/interfaces/augment-api-tx.ts +29 -31
- package/src/interfaces/lookup.ts +429 -316
- package/src/interfaces/registry.ts +26 -12
- package/src/interfaces/types-lookup.ts +454 -322
|
@@ -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: {
|
|
@@ -1863,7 +1860,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1863
1860
|
};
|
|
1864
1861
|
stabilizerBuys: {
|
|
1865
1862
|
/**
|
|
1866
|
-
* Submit a whole-percent bid during F+1.
|
|
1863
|
+
* Submit a whole-percent bid during F+1. Larger matching bases break equal-rate ties;
|
|
1864
|
+
* account ID orders bids with the same rate and matching basis.
|
|
1867
1865
|
**/
|
|
1868
1866
|
bid: AugmentedSubmittable<
|
|
1869
1867
|
(
|