@argonprotocol/mainchain 1.5.2-dev.04b26899 → 1.5.2-dev.085c3add
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/README.md +20 -0
- package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
- package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +328 -16
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
- package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
- package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
- package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
- package/browser/index.d.ts +5475 -614
- package/browser/index.js +3907 -972
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +328 -16
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
- package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
- package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
- package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
- package/lib/index.cjs +3905 -964
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +5475 -614
- package/lib/index.d.ts +5475 -614
- package/lib/index.js +3918 -977
- package/lib/index.js.map +1 -1
- package/package.json +8 -7
- package/src/interfaces/augment-api-consts.ts +86 -0
- package/src/interfaces/augment-api-errors.ts +132 -3
- package/src/interfaces/augment-api-events.ts +255 -53
- package/src/interfaces/augment-api-query.ts +336 -48
- package/src/interfaces/augment-api-tx.ts +123 -33
- package/src/interfaces/lookup.ts +763 -310
- package/src/interfaces/registry.ts +70 -10
- package/src/interfaces/types-lookup.ts +829 -321
|
@@ -11,6 +11,7 @@ import type {
|
|
|
11
11
|
Bytes,
|
|
12
12
|
Null,
|
|
13
13
|
Option,
|
|
14
|
+
U256,
|
|
14
15
|
U8aFixed,
|
|
15
16
|
Vec,
|
|
16
17
|
bool,
|
|
@@ -21,10 +22,13 @@ import type {
|
|
|
21
22
|
u8,
|
|
22
23
|
} from '@polkadot/types-codec';
|
|
23
24
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
24
|
-
import type { AccountId32, H160, H256, Percent } from '@polkadot/types/interfaces/runtime';
|
|
25
|
+
import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
25
26
|
import type {
|
|
26
27
|
ArgonNotaryAuditErrorVerifyError,
|
|
27
|
-
|
|
28
|
+
ArgonPrimitivesAmountRankAmountRankKeyAccountId32,
|
|
29
|
+
ArgonPrimitivesAmountRankAmountRankKeyU32,
|
|
30
|
+
ArgonPrimitivesAmountRankAscendingRankKeyAccountId32,
|
|
31
|
+
ArgonPrimitivesAmountRankAscendingRankKeyU64,
|
|
28
32
|
ArgonPrimitivesBalanceChangeAccountOrigin,
|
|
29
33
|
ArgonPrimitivesBitcoinBitcoinBlock,
|
|
30
34
|
ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey,
|
|
@@ -43,11 +47,15 @@ import type {
|
|
|
43
47
|
ArgonPrimitivesDomainZoneRecord,
|
|
44
48
|
ArgonPrimitivesEthereumEthereumBeaconPreset,
|
|
45
49
|
ArgonPrimitivesForkPower,
|
|
50
|
+
ArgonPrimitivesGatewayGatewayState,
|
|
51
|
+
ArgonPrimitivesGatewaySourceChain,
|
|
46
52
|
ArgonPrimitivesInherentsBlockSealInherent,
|
|
47
53
|
ArgonPrimitivesNotaryNotaryMeta,
|
|
48
54
|
ArgonPrimitivesNotaryNotaryNotebookKeyDetails,
|
|
49
55
|
ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails,
|
|
50
56
|
ArgonPrimitivesNotaryNotaryRecord,
|
|
57
|
+
ArgonPrimitivesPriceIndex,
|
|
58
|
+
ArgonPrimitivesPriceIndexRValueHighWaterMark,
|
|
51
59
|
ArgonPrimitivesProvidersBlockSealerInfo,
|
|
52
60
|
ArgonPrimitivesTickTicker,
|
|
53
61
|
ArgonPrimitivesTreasuryNetworkPositionQuantities,
|
|
@@ -66,6 +74,7 @@ import type {
|
|
|
66
74
|
PalletBalancesBalanceLock,
|
|
67
75
|
PalletBalancesReserveData,
|
|
68
76
|
PalletBitcoinFissionsFission,
|
|
77
|
+
PalletBitcoinFissionsLiquidTicks,
|
|
69
78
|
PalletBitcoinLocksLockReleaseCosignHeight,
|
|
70
79
|
PalletBitcoinLocksLockReleaseRequest,
|
|
71
80
|
PalletBitcoinLocksLockedBitcoin,
|
|
@@ -76,12 +85,10 @@ import type {
|
|
|
76
85
|
PalletCrosschainTransferAccountTransferTotals,
|
|
77
86
|
PalletCrosschainTransferChainConfig,
|
|
78
87
|
PalletCrosschainTransferCouncilApprovalQueueEntry,
|
|
79
|
-
PalletCrosschainTransferGatewayState,
|
|
80
88
|
PalletCrosschainTransferGatewaySyncPause,
|
|
81
89
|
PalletCrosschainTransferGlobalIssuanceCouncil,
|
|
82
90
|
PalletCrosschainTransferMintingAuthority,
|
|
83
91
|
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
84
|
-
PalletCrosschainTransferSourceChain,
|
|
85
92
|
PalletCrosschainTransferSourceChainCirculation,
|
|
86
93
|
PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
|
|
87
94
|
PalletCrosschainTransferTransferOutTransferOutOfArgon,
|
|
@@ -108,16 +115,25 @@ import type {
|
|
|
108
115
|
PalletPriceIndexCpiMeasurementBucket,
|
|
109
116
|
PalletPriceIndexEthereumPriceFrameAccumulator,
|
|
110
117
|
PalletPriceIndexEthereumPriceIndex,
|
|
111
|
-
PalletPriceIndexPriceIndex,
|
|
112
118
|
PalletProxyAnnouncement,
|
|
113
119
|
PalletProxyProxyDefinition,
|
|
120
|
+
PalletStabilizerBuysAccountFrameBuys,
|
|
121
|
+
PalletStabilizerBuysAccountPayoutState,
|
|
122
|
+
PalletStabilizerBuysAuction,
|
|
123
|
+
PalletStabilizerBuysLiquidRepay,
|
|
124
|
+
PalletStabilizerBuysPriceHistoryPriceObservation,
|
|
125
|
+
PalletStabilizerBuysUniswapPurchasePurchasePool,
|
|
126
|
+
PalletStabilizerPoolsPoolConfig,
|
|
127
|
+
PalletStabilizerPoolsPositionCheckpoint,
|
|
114
128
|
PalletTransactionPaymentReleases,
|
|
115
129
|
PalletTreasuryBondLot,
|
|
116
130
|
PalletTreasuryBondLotSummary,
|
|
117
131
|
PalletTreasuryFrameArgonotBondParticipants,
|
|
118
132
|
PalletTreasuryFrameVaultBitcoin,
|
|
119
133
|
PalletTreasuryFrameVaultCapital,
|
|
134
|
+
PalletTreasuryPendingBondCollateral,
|
|
120
135
|
PalletTreasuryPositionsPosition,
|
|
136
|
+
PalletTreasuryRewardReserveBalances,
|
|
121
137
|
PalletTreasuryVaultBondState,
|
|
122
138
|
PalletVaultsVaultFrameRevenue,
|
|
123
139
|
SpConsensusGrandpaAppPublic,
|
|
@@ -239,6 +255,31 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
239
255
|
(arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
|
|
240
256
|
[u64]
|
|
241
257
|
>;
|
|
258
|
+
/**
|
|
259
|
+
* Active Fission IDs grouped by their owner's Liquid. Debt remains on the Fission records.
|
|
260
|
+
**/
|
|
261
|
+
fissionIdsByOwnerAndLiquid: AugmentedQuery<
|
|
262
|
+
ApiType,
|
|
263
|
+
(
|
|
264
|
+
arg1:
|
|
265
|
+
| ITuple<[AccountId32, u64]>
|
|
266
|
+
| [AccountId32 | string | Uint8Array, u64 | AnyNumber | Uint8Array],
|
|
267
|
+
arg2: u64 | AnyNumber | Uint8Array,
|
|
268
|
+
) => Observable<Option<Null>>,
|
|
269
|
+
[ITuple<[AccountId32, u64]>, u64]
|
|
270
|
+
>;
|
|
271
|
+
/**
|
|
272
|
+
* Creation and ratchet timing for each owner-scoped Liquid. Retained after closure so an
|
|
273
|
+
* old Liquid ID cannot reopen its creation window or discard its ratchet history.
|
|
274
|
+
**/
|
|
275
|
+
liquidTicksByOwnerAndId: AugmentedQuery<
|
|
276
|
+
ApiType,
|
|
277
|
+
(
|
|
278
|
+
arg1: AccountId32 | string | Uint8Array,
|
|
279
|
+
arg2: u64 | AnyNumber | Uint8Array,
|
|
280
|
+
) => Observable<Option<PalletBitcoinFissionsLiquidTicks>>,
|
|
281
|
+
[AccountId32, u64]
|
|
282
|
+
>;
|
|
242
283
|
/**
|
|
243
284
|
* Minimum Fission ID accepted from each owner.
|
|
244
285
|
**/
|
|
@@ -247,6 +288,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
247
288
|
(arg: AccountId32 | string | Uint8Array) => Observable<u64>,
|
|
248
289
|
[AccountId32]
|
|
249
290
|
>;
|
|
291
|
+
/**
|
|
292
|
+
* Highest valid market-to-target ARGON ratio in each frame. Ordered frame keys support
|
|
293
|
+
* bounded pruning without loading the complete history during an Ethereum stall.
|
|
294
|
+
**/
|
|
295
|
+
rValueHighWaterByFrame: AugmentedQuery<
|
|
296
|
+
ApiType,
|
|
297
|
+
(
|
|
298
|
+
arg: U8aFixed | string | Uint8Array,
|
|
299
|
+
) => Observable<Option<ArgonPrimitivesPriceIndexRValueHighWaterMark>>,
|
|
300
|
+
[U8aFixed]
|
|
301
|
+
>;
|
|
250
302
|
};
|
|
251
303
|
bitcoinLocks: {
|
|
252
304
|
lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<
|
|
@@ -627,9 +679,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
627
679
|
activeGlobalIssuanceCouncilByDestinationChain: AugmentedQuery<
|
|
628
680
|
ApiType,
|
|
629
681
|
(
|
|
630
|
-
arg:
|
|
682
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
631
683
|
) => Observable<Option<H256>>,
|
|
632
|
-
[
|
|
684
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
633
685
|
>;
|
|
634
686
|
/**
|
|
635
687
|
* Config accepted for each supported source chain.
|
|
@@ -637,9 +689,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
637
689
|
chainConfigBySourceChain: AugmentedQuery<
|
|
638
690
|
ApiType,
|
|
639
691
|
(
|
|
640
|
-
arg:
|
|
692
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
641
693
|
) => Observable<Option<PalletCrosschainTransferChainConfig>>,
|
|
642
|
-
[
|
|
694
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
643
695
|
>;
|
|
644
696
|
/**
|
|
645
697
|
* Latest council approval queue nonce signed by this account for one destination chain.
|
|
@@ -647,10 +699,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
647
699
|
councilApprovalCursorByDestinationChainAndAccountId: AugmentedQuery<
|
|
648
700
|
ApiType,
|
|
649
701
|
(
|
|
650
|
-
arg1:
|
|
702
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
651
703
|
arg2: AccountId32 | string | Uint8Array,
|
|
652
704
|
) => Observable<Option<u64>>,
|
|
653
|
-
[
|
|
705
|
+
[ArgonPrimitivesGatewaySourceChain, AccountId32]
|
|
654
706
|
>;
|
|
655
707
|
/**
|
|
656
708
|
* The ordered outbound council approval queue for each destination chain.
|
|
@@ -658,10 +710,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
658
710
|
councilApprovalQueueByDestinationChainAndNonce: AugmentedQuery<
|
|
659
711
|
ApiType,
|
|
660
712
|
(
|
|
661
|
-
arg1:
|
|
713
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
662
714
|
arg2: u64 | AnyNumber | Uint8Array,
|
|
663
715
|
) => Observable<Option<PalletCrosschainTransferCouncilApprovalQueueEntry>>,
|
|
664
|
-
[
|
|
716
|
+
[ArgonPrimitivesGatewaySourceChain, u64]
|
|
665
717
|
>;
|
|
666
718
|
/**
|
|
667
719
|
* The registered council signer for each account on each destination chain.
|
|
@@ -669,10 +721,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
669
721
|
councilSignerByDestinationChainAndAccountId: AugmentedQuery<
|
|
670
722
|
ApiType,
|
|
671
723
|
(
|
|
672
|
-
arg1:
|
|
724
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
673
725
|
arg2: AccountId32 | string | Uint8Array,
|
|
674
726
|
) => Observable<Option<H160>>,
|
|
675
|
-
[
|
|
727
|
+
[ArgonPrimitivesGatewaySourceChain, AccountId32]
|
|
676
728
|
>;
|
|
677
729
|
/**
|
|
678
730
|
* Conservative transfer-out conversion rate currently quoted for each destination chain.
|
|
@@ -680,9 +732,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
680
732
|
currentTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
681
733
|
ApiType,
|
|
682
734
|
(
|
|
683
|
-
arg:
|
|
735
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
684
736
|
) => Observable<Option<u128>>,
|
|
685
|
-
[
|
|
737
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
686
738
|
>;
|
|
687
739
|
/**
|
|
688
740
|
* Latest proven gateway activity snapshot for each source chain.
|
|
@@ -690,9 +742,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
690
742
|
gatewayStateBySourceChain: AugmentedQuery<
|
|
691
743
|
ApiType,
|
|
692
744
|
(
|
|
693
|
-
arg:
|
|
694
|
-
) => Observable<Option<
|
|
695
|
-
[
|
|
745
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
746
|
+
) => Observable<Option<ArgonPrimitivesGatewayGatewayState>>,
|
|
747
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
696
748
|
>;
|
|
697
749
|
/**
|
|
698
750
|
* Pause state recorded when a canonical gateway activity cannot be applied safely.
|
|
@@ -700,9 +752,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
700
752
|
gatewaySyncPauseBySourceChain: AugmentedQuery<
|
|
701
753
|
ApiType,
|
|
702
754
|
(
|
|
703
|
-
arg:
|
|
755
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
704
756
|
) => Observable<Option<PalletCrosschainTransferGatewaySyncPause>>,
|
|
705
|
-
[
|
|
757
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
706
758
|
>;
|
|
707
759
|
/**
|
|
708
760
|
* Historical Global Issuance Council snapshots keyed by their signer-ordered council hash.
|
|
@@ -721,9 +773,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
721
773
|
latestQueuedCouncilHashByDestinationChain: AugmentedQuery<
|
|
722
774
|
ApiType,
|
|
723
775
|
(
|
|
724
|
-
arg:
|
|
776
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
725
777
|
) => Observable<Option<H256>>,
|
|
726
|
-
[
|
|
778
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
727
779
|
>;
|
|
728
780
|
/**
|
|
729
781
|
* Per-chain override for the minimum normalized microgon value required to register a
|
|
@@ -732,9 +784,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
732
784
|
minimumMintingAuthorityValueByDestinationChain: AugmentedQuery<
|
|
733
785
|
ApiType,
|
|
734
786
|
(
|
|
735
|
-
arg:
|
|
787
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
736
788
|
) => Observable<u128>,
|
|
737
|
-
[
|
|
789
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
738
790
|
>;
|
|
739
791
|
/**
|
|
740
792
|
* Local Minting Authority records keyed by their destination signing key.
|
|
@@ -753,9 +805,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
753
805
|
mintingAuthorityActivationRepaymentPricingByDestinationChain: AugmentedQuery<
|
|
754
806
|
ApiType,
|
|
755
807
|
(
|
|
756
|
-
arg:
|
|
808
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
757
809
|
) => Observable<Option<PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing>>,
|
|
758
|
-
[
|
|
810
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
759
811
|
>;
|
|
760
812
|
/**
|
|
761
813
|
* The next outbound approval-queue nonce to assign on each destination chain.
|
|
@@ -763,9 +815,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
763
815
|
nextCouncilApprovalQueueNonceByDestinationChain: AugmentedQuery<
|
|
764
816
|
ApiType,
|
|
765
817
|
(
|
|
766
|
-
arg:
|
|
818
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
767
819
|
) => Observable<u64>,
|
|
768
|
-
[
|
|
820
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
769
821
|
>;
|
|
770
822
|
/**
|
|
771
823
|
* First frame where a new council snapshot may be added to a chain's approval queue.
|
|
@@ -773,9 +825,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
773
825
|
nextCouncilRotationFrameByDestinationChain: AugmentedQuery<
|
|
774
826
|
ApiType,
|
|
775
827
|
(
|
|
776
|
-
arg:
|
|
828
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
777
829
|
) => Observable<Option<u64>>,
|
|
778
|
-
[
|
|
830
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
779
831
|
>;
|
|
780
832
|
/**
|
|
781
833
|
* Next outbound transfer nonce for each sending account.
|
|
@@ -791,9 +843,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
791
843
|
nonTerminalTransferOutCountByDestinationChain: AugmentedQuery<
|
|
792
844
|
ApiType,
|
|
793
845
|
(
|
|
794
|
-
arg:
|
|
846
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
795
847
|
) => Observable<u32>,
|
|
796
|
-
[
|
|
848
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
797
849
|
>;
|
|
798
850
|
/**
|
|
799
851
|
* Collateralization requests still open on each destination chain.
|
|
@@ -801,9 +853,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
801
853
|
pendingCollateralizationRequestsByChain: AugmentedQuery<
|
|
802
854
|
ApiType,
|
|
803
855
|
(
|
|
804
|
-
arg:
|
|
856
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
805
857
|
) => Observable<Vec<PalletCrosschainTransferTransferOutPendingCollateralizationRequest>>,
|
|
806
|
-
[
|
|
858
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
807
859
|
>;
|
|
808
860
|
/**
|
|
809
861
|
* A staged council signer rotation for the next council activation on each destination chain.
|
|
@@ -811,10 +863,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
811
863
|
pendingCouncilSignerByDestinationChainAndAccountId: AugmentedQuery<
|
|
812
864
|
ApiType,
|
|
813
865
|
(
|
|
814
|
-
arg1:
|
|
866
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
815
867
|
arg2: AccountId32 | string | Uint8Array,
|
|
816
868
|
) => Observable<Option<H160>>,
|
|
817
|
-
[
|
|
869
|
+
[ArgonPrimitivesGatewaySourceChain, AccountId32]
|
|
818
870
|
>;
|
|
819
871
|
/**
|
|
820
872
|
* Pending outbound principal by destination chain.
|
|
@@ -822,9 +874,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
822
874
|
pendingTransferOutCirculationByDestinationChain: AugmentedQuery<
|
|
823
875
|
ApiType,
|
|
824
876
|
(
|
|
825
|
-
arg:
|
|
877
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
826
878
|
) => Observable<PalletCrosschainTransferSourceChainCirculation>,
|
|
827
|
-
[
|
|
879
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
828
880
|
>;
|
|
829
881
|
/**
|
|
830
882
|
* Immediately previous transfer-out conversion rate still accepted while the floor ratchets
|
|
@@ -833,9 +885,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
833
885
|
previousTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
834
886
|
ApiType,
|
|
835
887
|
(
|
|
836
|
-
arg:
|
|
888
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
837
889
|
) => Observable<Option<u128>>,
|
|
838
|
-
[
|
|
890
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
839
891
|
>;
|
|
840
892
|
/**
|
|
841
893
|
* Outbound transfers by transfer id.
|
|
@@ -854,9 +906,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
854
906
|
transferOutQuoteMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
855
907
|
ApiType,
|
|
856
908
|
(
|
|
857
|
-
arg:
|
|
909
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
858
910
|
) => Observable<Option<u128>>,
|
|
859
|
-
[
|
|
911
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
860
912
|
>;
|
|
861
913
|
/**
|
|
862
914
|
* Cumulative inbound and outbound transfer totals for each local account.
|
|
@@ -910,6 +962,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
910
962
|
() => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
|
|
911
963
|
[]
|
|
912
964
|
>;
|
|
965
|
+
/**
|
|
966
|
+
* Number of retained beacon roots sharing an execution anchor. Gloas EMPTY payloads can
|
|
967
|
+
* leave the parent execution hash unchanged across multiple finalized beacon blocks.
|
|
968
|
+
**/
|
|
969
|
+
executionHeaderAnchorReferences: AugmentedQuery<
|
|
970
|
+
ApiType,
|
|
971
|
+
(arg: H256 | string | Uint8Array) => Observable<u32>,
|
|
972
|
+
[H256]
|
|
973
|
+
>;
|
|
913
974
|
/**
|
|
914
975
|
* Retained execution-layer header anchors by execution block hash.
|
|
915
976
|
**/
|
|
@@ -1545,7 +1606,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1545
1606
|
/**
|
|
1546
1607
|
* Stores the active price index
|
|
1547
1608
|
**/
|
|
1548
|
-
current: AugmentedQuery<ApiType, () => Observable<Option<
|
|
1609
|
+
current: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
|
|
1549
1610
|
/**
|
|
1550
1611
|
* Stores the latest submitted Ethereum pricing.
|
|
1551
1612
|
**/
|
|
@@ -1597,7 +1658,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1597
1658
|
/**
|
|
1598
1659
|
* Stores the last valid price index
|
|
1599
1660
|
**/
|
|
1600
|
-
lastValid: AugmentedQuery<ApiType, () => Observable<Option<
|
|
1661
|
+
lastValid: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
|
|
1601
1662
|
/**
|
|
1602
1663
|
* The price index operator account
|
|
1603
1664
|
**/
|
|
@@ -1626,6 +1687,195 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1626
1687
|
[AccountId32]
|
|
1627
1688
|
>;
|
|
1628
1689
|
};
|
|
1690
|
+
stabilizerBuys: {
|
|
1691
|
+
/**
|
|
1692
|
+
* Execution venue eligible for purchase rewards. Unset until governance selects a pool.
|
|
1693
|
+
**/
|
|
1694
|
+
approvedPool: AugmentedQuery<
|
|
1695
|
+
ApiType,
|
|
1696
|
+
() => Observable<Option<PalletStabilizerBuysUniswapPurchasePurchasePool>>,
|
|
1697
|
+
[]
|
|
1698
|
+
>;
|
|
1699
|
+
/**
|
|
1700
|
+
* Closed auctions awaiting reward allocation, ordered by scheduled processing frame and
|
|
1701
|
+
* admission frame. A failed allocation moves only its queue entry; the auction retains its
|
|
1702
|
+
* original maturity.
|
|
1703
|
+
**/
|
|
1704
|
+
auctionAllocationQueue: AugmentedQuery<
|
|
1705
|
+
ApiType,
|
|
1706
|
+
(
|
|
1707
|
+
arg:
|
|
1708
|
+
| ArgonPrimitivesAmountRankAscendingRankKeyU64
|
|
1709
|
+
| { ascendingRank?: any; orderedId?: any }
|
|
1710
|
+
| string
|
|
1711
|
+
| Uint8Array,
|
|
1712
|
+
) => Observable<Option<Null>>,
|
|
1713
|
+
[ArgonPrimitivesAmountRankAscendingRankKeyU64]
|
|
1714
|
+
>;
|
|
1715
|
+
/**
|
|
1716
|
+
* Auction policy and funding keyed by admission frame F; bidding takes place during F+1.
|
|
1717
|
+
**/
|
|
1718
|
+
auctions: AugmentedQuery<
|
|
1719
|
+
ApiType,
|
|
1720
|
+
(arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletStabilizerBuysAuction>>,
|
|
1721
|
+
[u64]
|
|
1722
|
+
>;
|
|
1723
|
+
/**
|
|
1724
|
+
* Positive bids ordered by rate ascending, matching basis descending, then account ascending.
|
|
1725
|
+
* Keys retain each frozen matching basis in microgons even after principal is released.
|
|
1726
|
+
**/
|
|
1727
|
+
bidsByAuction: AugmentedQuery<
|
|
1728
|
+
ApiType,
|
|
1729
|
+
(
|
|
1730
|
+
arg1: u64 | AnyNumber | Uint8Array,
|
|
1731
|
+
arg2:
|
|
1732
|
+
| ITuple<[Percent, ArgonPrimitivesAmountRankAmountRankKeyAccountId32]>
|
|
1733
|
+
| [
|
|
1734
|
+
Percent | AnyNumber | Uint8Array,
|
|
1735
|
+
(
|
|
1736
|
+
| ArgonPrimitivesAmountRankAmountRankKeyAccountId32
|
|
1737
|
+
| { descendingAmount?: any; orderedId?: any }
|
|
1738
|
+
| string
|
|
1739
|
+
| Uint8Array
|
|
1740
|
+
),
|
|
1741
|
+
],
|
|
1742
|
+
) => Observable<Option<Null>>,
|
|
1743
|
+
[u64, ITuple<[Percent, ArgonPrimitivesAmountRankAmountRankKeyAccountId32]>]
|
|
1744
|
+
>;
|
|
1745
|
+
/**
|
|
1746
|
+
* Aggregated discounts, shared bid and ordinary principal for each account/admission frame.
|
|
1747
|
+
* Ordered frame bytes let payout visits select the oldest buckets with bounded work.
|
|
1748
|
+
**/
|
|
1749
|
+
buysByAccountAndFrame: AugmentedQuery<
|
|
1750
|
+
ApiType,
|
|
1751
|
+
(
|
|
1752
|
+
arg1: AccountId32 | string | Uint8Array,
|
|
1753
|
+
arg2: U8aFixed | string | Uint8Array,
|
|
1754
|
+
) => Observable<Option<PalletStabilizerBuysAccountFrameBuys>>,
|
|
1755
|
+
[AccountId32, U8aFixed]
|
|
1756
|
+
>;
|
|
1757
|
+
/**
|
|
1758
|
+
* Pending repayment commitments, ordered by gateway nonce within each recipient.
|
|
1759
|
+
* The existing account payout queue selects work; this adds no separate settlement queue.
|
|
1760
|
+
**/
|
|
1761
|
+
liquidRepaysByAccountAndGatewayNonce: AugmentedQuery<
|
|
1762
|
+
ApiType,
|
|
1763
|
+
(
|
|
1764
|
+
arg1: AccountId32 | string | Uint8Array,
|
|
1765
|
+
arg2: U8aFixed | string | Uint8Array,
|
|
1766
|
+
) => Observable<Option<PalletStabilizerBuysLiquidRepay>>,
|
|
1767
|
+
[AccountId32, U8aFixed]
|
|
1768
|
+
>;
|
|
1769
|
+
/**
|
|
1770
|
+
* Matching fraction for new auctions; existing auctions retain their captured policy.
|
|
1771
|
+
**/
|
|
1772
|
+
matchingRate: AugmentedQuery<ApiType, () => Observable<Permill>, []>;
|
|
1773
|
+
/**
|
|
1774
|
+
* One scheduled visit per account, ordered by frame then account. Purchase buckets and the
|
|
1775
|
+
* reward record retain unpaid funds while this index selects bounded work.
|
|
1776
|
+
**/
|
|
1777
|
+
payoutQueue: AugmentedQuery<
|
|
1778
|
+
ApiType,
|
|
1779
|
+
(
|
|
1780
|
+
arg:
|
|
1781
|
+
| ArgonPrimitivesAmountRankAscendingRankKeyAccountId32
|
|
1782
|
+
| { ascendingRank?: any; orderedId?: any }
|
|
1783
|
+
| string
|
|
1784
|
+
| Uint8Array,
|
|
1785
|
+
) => Observable<Option<Null>>,
|
|
1786
|
+
[ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]
|
|
1787
|
+
>;
|
|
1788
|
+
/**
|
|
1789
|
+
* Fixed due-frame cutoff and last visited key for a bounded pass through the payout queue.
|
|
1790
|
+
* Waiting repayments keep their maturity rank without blocking accounts behind them.
|
|
1791
|
+
**/
|
|
1792
|
+
payoutQueueCursor: AugmentedQuery<
|
|
1793
|
+
ApiType,
|
|
1794
|
+
() => Observable<
|
|
1795
|
+
Option<ITuple<[u64, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]>>
|
|
1796
|
+
>,
|
|
1797
|
+
[]
|
|
1798
|
+
>;
|
|
1799
|
+
/**
|
|
1800
|
+
* Unpaid ordinary rewards and the account's single scheduled payout visit, across frames.
|
|
1801
|
+
**/
|
|
1802
|
+
payoutStateByAccount: AugmentedQuery<
|
|
1803
|
+
ApiType,
|
|
1804
|
+
(
|
|
1805
|
+
arg: AccountId32 | string | Uint8Array,
|
|
1806
|
+
) => Observable<PalletStabilizerBuysAccountPayoutState>,
|
|
1807
|
+
[AccountId32]
|
|
1808
|
+
>;
|
|
1809
|
+
/**
|
|
1810
|
+
* Unsettled purchase count for an owner's Liquid. Removed after its final settlement;
|
|
1811
|
+
* lets Fissions block direct close without scanning purchases. Counts use the gateway's
|
|
1812
|
+
* u64 nonce range so every authenticated purchase can be represented.
|
|
1813
|
+
**/
|
|
1814
|
+
pendingLiquidRepayCountByAccountAndLiquid: AugmentedQuery<
|
|
1815
|
+
ApiType,
|
|
1816
|
+
(
|
|
1817
|
+
arg1: AccountId32 | string | Uint8Array,
|
|
1818
|
+
arg2: u64 | AnyNumber | Uint8Array,
|
|
1819
|
+
) => Observable<u64>,
|
|
1820
|
+
[AccountId32, u64]
|
|
1821
|
+
>;
|
|
1822
|
+
/**
|
|
1823
|
+
* Number of incomplete windows starting at each purchase tick. Ordered keys expose the
|
|
1824
|
+
* oldest history still needed without scanning purchases; counts share the u64 nonce range.
|
|
1825
|
+
**/
|
|
1826
|
+
pendingPriceWindowCountByTick: AugmentedQuery<
|
|
1827
|
+
ApiType,
|
|
1828
|
+
(arg: U8aFixed | string | Uint8Array) => Observable<u64>,
|
|
1829
|
+
[U8aFixed]
|
|
1830
|
+
>;
|
|
1831
|
+
/**
|
|
1832
|
+
* Compact observations keyed by ordered ticks. An unavailable purchase quote stops historical
|
|
1833
|
+
* lookup. Retention follows gateway sync and any incomplete repayment windows.
|
|
1834
|
+
**/
|
|
1835
|
+
priceHistoryByTick: AugmentedQuery<
|
|
1836
|
+
ApiType,
|
|
1837
|
+
(
|
|
1838
|
+
arg: U8aFixed | string | Uint8Array,
|
|
1839
|
+
) => Observable<Option<PalletStabilizerBuysPriceHistoryPriceObservation>>,
|
|
1840
|
+
[U8aFixed]
|
|
1841
|
+
>;
|
|
1842
|
+
};
|
|
1843
|
+
stabilizerPools: {
|
|
1844
|
+
/**
|
|
1845
|
+
* First current-tick price index accepted in each frame, including absent pool observations.
|
|
1846
|
+
* This is an oracle opening reference, not an exact historical Ethereum boundary proof.
|
|
1847
|
+
* Later indices cannot revalue it; frames without an observation have no entry. A new opening
|
|
1848
|
+
* reference prunes frames outside the configured window, including across oracle gaps.
|
|
1849
|
+
**/
|
|
1850
|
+
frameStartPriceIndices: AugmentedQuery<
|
|
1851
|
+
ApiType,
|
|
1852
|
+
() => Observable<BTreeMap<u64, ArgonPrimitivesPriceIndex>>,
|
|
1853
|
+
[]
|
|
1854
|
+
>;
|
|
1855
|
+
/**
|
|
1856
|
+
* Approved deployments on the Ethereum network authenticated by EthereumVerifier.
|
|
1857
|
+
* Configuration is immutable once registered, preserving checkpoint identity and layout.
|
|
1858
|
+
**/
|
|
1859
|
+
pools: AugmentedQuery<
|
|
1860
|
+
ApiType,
|
|
1861
|
+
(
|
|
1862
|
+
arg1: H160 | string | Uint8Array,
|
|
1863
|
+
arg2: H256 | string | Uint8Array,
|
|
1864
|
+
) => Observable<Option<PalletStabilizerPoolsPoolConfig>>,
|
|
1865
|
+
[H160, H256]
|
|
1866
|
+
>;
|
|
1867
|
+
/**
|
|
1868
|
+
* Last accepted checkpoint for an NFT. Keep its source-block watermark across re-enrollment.
|
|
1869
|
+
**/
|
|
1870
|
+
positionCheckpoints: AugmentedQuery<
|
|
1871
|
+
ApiType,
|
|
1872
|
+
(
|
|
1873
|
+
arg1: H160 | string | Uint8Array,
|
|
1874
|
+
arg2: U256 | AnyNumber | Uint8Array,
|
|
1875
|
+
) => Observable<Option<PalletStabilizerPoolsPositionCheckpoint>>,
|
|
1876
|
+
[H160, U256]
|
|
1877
|
+
>;
|
|
1878
|
+
};
|
|
1629
1879
|
sudo: {
|
|
1630
1880
|
/**
|
|
1631
1881
|
* The `AccountId` of the sudo key.
|
|
@@ -1826,6 +2076,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1826
2076
|
() => Observable<Vec<PalletTreasuryBondLotSummary>>,
|
|
1827
2077
|
[]
|
|
1828
2078
|
>;
|
|
2079
|
+
/**
|
|
2080
|
+
* Accounts due for collateral settlement, ordered by retry block and owner. Each pending
|
|
2081
|
+
* account has one entry; failures move to the next block without blocking other owners.
|
|
2082
|
+
**/
|
|
2083
|
+
bondCollateralSettlementQueue: AugmentedQuery<
|
|
2084
|
+
ApiType,
|
|
2085
|
+
(
|
|
2086
|
+
arg:
|
|
2087
|
+
| ArgonPrimitivesAmountRankAscendingRankKeyAccountId32
|
|
2088
|
+
| { ascendingRank?: any; orderedId?: any }
|
|
2089
|
+
| string
|
|
2090
|
+
| Uint8Array,
|
|
2091
|
+
) => Observable<Option<Null>>,
|
|
2092
|
+
[ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]
|
|
2093
|
+
>;
|
|
1829
2094
|
/**
|
|
1830
2095
|
* The stored state for each bond lot.
|
|
1831
2096
|
**/
|
|
@@ -1918,6 +2183,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1918
2183
|
* The next bond lot id.
|
|
1919
2184
|
**/
|
|
1920
2185
|
nextBondLotId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
2186
|
+
/**
|
|
2187
|
+
* Awarded purchase rewards awaiting issuance. Auctions own their unallocated reservations.
|
|
2188
|
+
**/
|
|
2189
|
+
outstandingPurchaseRewards: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
2190
|
+
/**
|
|
2191
|
+
* Burn and release requests awaiting settlement, combined by owner. Both amounts remain
|
|
2192
|
+
* included in the owner's encumbrance until processed; bonds retain their live payout terms.
|
|
2193
|
+
**/
|
|
2194
|
+
pendingBondCollateralByAccount: AugmentedQuery<
|
|
2195
|
+
ApiType,
|
|
2196
|
+
(
|
|
2197
|
+
arg: AccountId32 | string | Uint8Array,
|
|
2198
|
+
) => Observable<Option<PalletTreasuryPendingBondCollateral>>,
|
|
2199
|
+
[AccountId32]
|
|
2200
|
+
>;
|
|
1921
2201
|
/**
|
|
1922
2202
|
* The oldest frame that still has bond lots to retry releasing.
|
|
1923
2203
|
**/
|
|
@@ -1930,6 +2210,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1930
2210
|
(arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
|
|
1931
2211
|
[u64]
|
|
1932
2212
|
>;
|
|
2213
|
+
/**
|
|
2214
|
+
* ARGON removed from circulation and available for future issuance as rewards.
|
|
2215
|
+
**/
|
|
2216
|
+
rewardReserves: AugmentedQuery<
|
|
2217
|
+
ApiType,
|
|
2218
|
+
() => Observable<PalletTreasuryRewardReserveBalances>,
|
|
2219
|
+
[]
|
|
2220
|
+
>;
|
|
1933
2221
|
/**
|
|
1934
2222
|
* Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
|
|
1935
2223
|
**/
|
|
@@ -2073,12 +2361,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2073
2361
|
ApiType,
|
|
2074
2362
|
(
|
|
2075
2363
|
arg:
|
|
2076
|
-
|
|
|
2364
|
+
| ArgonPrimitivesAmountRankAmountRankKeyU32
|
|
2077
2365
|
| { descendingAmount?: any; orderedId?: any }
|
|
2078
2366
|
| string
|
|
2079
2367
|
| Uint8Array,
|
|
2080
2368
|
) => Observable<Option<Null>>,
|
|
2081
|
-
[
|
|
2369
|
+
[ArgonPrimitivesAmountRankAmountRankKeyU32]
|
|
2082
2370
|
>;
|
|
2083
2371
|
/**
|
|
2084
2372
|
* Vault Bitcoin Xpub and current child counter by VaultId
|