@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
|
@@ -25,7 +25,8 @@ import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
|
25
25
|
import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
26
26
|
import type {
|
|
27
27
|
ArgonNotaryAuditErrorVerifyError,
|
|
28
|
-
|
|
28
|
+
ArgonPrimitivesAmountRankAmountRankKeyAccountId32,
|
|
29
|
+
ArgonPrimitivesAmountRankAmountRankKeyU32,
|
|
29
30
|
ArgonPrimitivesAmountRankAscendingRankKeyAccountId32,
|
|
30
31
|
ArgonPrimitivesAmountRankAscendingRankKeyU64,
|
|
31
32
|
ArgonPrimitivesBalanceChangeAccountOrigin,
|
|
@@ -46,12 +47,15 @@ import type {
|
|
|
46
47
|
ArgonPrimitivesDomainZoneRecord,
|
|
47
48
|
ArgonPrimitivesEthereumEthereumBeaconPreset,
|
|
48
49
|
ArgonPrimitivesForkPower,
|
|
50
|
+
ArgonPrimitivesGatewayGatewayState,
|
|
51
|
+
ArgonPrimitivesGatewaySourceChain,
|
|
49
52
|
ArgonPrimitivesInherentsBlockSealInherent,
|
|
50
53
|
ArgonPrimitivesNotaryNotaryMeta,
|
|
51
54
|
ArgonPrimitivesNotaryNotaryNotebookKeyDetails,
|
|
52
55
|
ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails,
|
|
53
56
|
ArgonPrimitivesNotaryNotaryRecord,
|
|
54
57
|
ArgonPrimitivesPriceIndex,
|
|
58
|
+
ArgonPrimitivesPriceIndexRValueHighWaterMark,
|
|
55
59
|
ArgonPrimitivesProvidersBlockSealerInfo,
|
|
56
60
|
ArgonPrimitivesTickTicker,
|
|
57
61
|
ArgonPrimitivesTreasuryNetworkPositionQuantities,
|
|
@@ -70,6 +74,7 @@ import type {
|
|
|
70
74
|
PalletBalancesBalanceLock,
|
|
71
75
|
PalletBalancesReserveData,
|
|
72
76
|
PalletBitcoinFissionsFission,
|
|
77
|
+
PalletBitcoinFissionsLiquidTicks,
|
|
73
78
|
PalletBitcoinLocksLockReleaseCosignHeight,
|
|
74
79
|
PalletBitcoinLocksLockReleaseRequest,
|
|
75
80
|
PalletBitcoinLocksLockedBitcoin,
|
|
@@ -80,12 +85,10 @@ import type {
|
|
|
80
85
|
PalletCrosschainTransferAccountTransferTotals,
|
|
81
86
|
PalletCrosschainTransferChainConfig,
|
|
82
87
|
PalletCrosschainTransferCouncilApprovalQueueEntry,
|
|
83
|
-
PalletCrosschainTransferGatewayState,
|
|
84
88
|
PalletCrosschainTransferGatewaySyncPause,
|
|
85
89
|
PalletCrosschainTransferGlobalIssuanceCouncil,
|
|
86
90
|
PalletCrosschainTransferMintingAuthority,
|
|
87
91
|
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
88
|
-
PalletCrosschainTransferSourceChain,
|
|
89
92
|
PalletCrosschainTransferSourceChainCirculation,
|
|
90
93
|
PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
|
|
91
94
|
PalletCrosschainTransferTransferOutTransferOutOfArgon,
|
|
@@ -114,10 +117,11 @@ import type {
|
|
|
114
117
|
PalletPriceIndexEthereumPriceIndex,
|
|
115
118
|
PalletProxyAnnouncement,
|
|
116
119
|
PalletProxyProxyDefinition,
|
|
117
|
-
|
|
120
|
+
PalletStabilizerBuysAccountFrameBuys,
|
|
121
|
+
PalletStabilizerBuysAccountPayoutState,
|
|
118
122
|
PalletStabilizerBuysAuction,
|
|
119
|
-
|
|
120
|
-
|
|
123
|
+
PalletStabilizerBuysLiquidRepay,
|
|
124
|
+
PalletStabilizerBuysPriceHistoryPriceObservation,
|
|
121
125
|
PalletStabilizerBuysUniswapPurchasePurchasePool,
|
|
122
126
|
PalletStabilizerPoolsPoolConfig,
|
|
123
127
|
PalletStabilizerPoolsPositionCheckpoint,
|
|
@@ -127,6 +131,7 @@ import type {
|
|
|
127
131
|
PalletTreasuryFrameArgonotBondParticipants,
|
|
128
132
|
PalletTreasuryFrameVaultBitcoin,
|
|
129
133
|
PalletTreasuryFrameVaultCapital,
|
|
134
|
+
PalletTreasuryPendingBondCollateral,
|
|
130
135
|
PalletTreasuryPositionsPosition,
|
|
131
136
|
PalletTreasuryRewardReserveBalances,
|
|
132
137
|
PalletTreasuryVaultBondState,
|
|
@@ -250,6 +255,31 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
250
255
|
(arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
|
|
251
256
|
[u64]
|
|
252
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
|
+
>;
|
|
253
283
|
/**
|
|
254
284
|
* Minimum Fission ID accepted from each owner.
|
|
255
285
|
**/
|
|
@@ -258,6 +288,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
258
288
|
(arg: AccountId32 | string | Uint8Array) => Observable<u64>,
|
|
259
289
|
[AccountId32]
|
|
260
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
|
+
>;
|
|
261
302
|
};
|
|
262
303
|
bitcoinLocks: {
|
|
263
304
|
lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<
|
|
@@ -638,9 +679,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
638
679
|
activeGlobalIssuanceCouncilByDestinationChain: AugmentedQuery<
|
|
639
680
|
ApiType,
|
|
640
681
|
(
|
|
641
|
-
arg:
|
|
682
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
642
683
|
) => Observable<Option<H256>>,
|
|
643
|
-
[
|
|
684
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
644
685
|
>;
|
|
645
686
|
/**
|
|
646
687
|
* Config accepted for each supported source chain.
|
|
@@ -648,9 +689,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
648
689
|
chainConfigBySourceChain: AugmentedQuery<
|
|
649
690
|
ApiType,
|
|
650
691
|
(
|
|
651
|
-
arg:
|
|
692
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
652
693
|
) => Observable<Option<PalletCrosschainTransferChainConfig>>,
|
|
653
|
-
[
|
|
694
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
654
695
|
>;
|
|
655
696
|
/**
|
|
656
697
|
* Latest council approval queue nonce signed by this account for one destination chain.
|
|
@@ -658,10 +699,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
658
699
|
councilApprovalCursorByDestinationChainAndAccountId: AugmentedQuery<
|
|
659
700
|
ApiType,
|
|
660
701
|
(
|
|
661
|
-
arg1:
|
|
702
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
662
703
|
arg2: AccountId32 | string | Uint8Array,
|
|
663
704
|
) => Observable<Option<u64>>,
|
|
664
|
-
[
|
|
705
|
+
[ArgonPrimitivesGatewaySourceChain, AccountId32]
|
|
665
706
|
>;
|
|
666
707
|
/**
|
|
667
708
|
* The ordered outbound council approval queue for each destination chain.
|
|
@@ -669,10 +710,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
669
710
|
councilApprovalQueueByDestinationChainAndNonce: AugmentedQuery<
|
|
670
711
|
ApiType,
|
|
671
712
|
(
|
|
672
|
-
arg1:
|
|
713
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
673
714
|
arg2: u64 | AnyNumber | Uint8Array,
|
|
674
715
|
) => Observable<Option<PalletCrosschainTransferCouncilApprovalQueueEntry>>,
|
|
675
|
-
[
|
|
716
|
+
[ArgonPrimitivesGatewaySourceChain, u64]
|
|
676
717
|
>;
|
|
677
718
|
/**
|
|
678
719
|
* The registered council signer for each account on each destination chain.
|
|
@@ -680,10 +721,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
680
721
|
councilSignerByDestinationChainAndAccountId: AugmentedQuery<
|
|
681
722
|
ApiType,
|
|
682
723
|
(
|
|
683
|
-
arg1:
|
|
724
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
684
725
|
arg2: AccountId32 | string | Uint8Array,
|
|
685
726
|
) => Observable<Option<H160>>,
|
|
686
|
-
[
|
|
727
|
+
[ArgonPrimitivesGatewaySourceChain, AccountId32]
|
|
687
728
|
>;
|
|
688
729
|
/**
|
|
689
730
|
* Conservative transfer-out conversion rate currently quoted for each destination chain.
|
|
@@ -691,9 +732,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
691
732
|
currentTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
692
733
|
ApiType,
|
|
693
734
|
(
|
|
694
|
-
arg:
|
|
735
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
695
736
|
) => Observable<Option<u128>>,
|
|
696
|
-
[
|
|
737
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
697
738
|
>;
|
|
698
739
|
/**
|
|
699
740
|
* Latest proven gateway activity snapshot for each source chain.
|
|
@@ -701,9 +742,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
701
742
|
gatewayStateBySourceChain: AugmentedQuery<
|
|
702
743
|
ApiType,
|
|
703
744
|
(
|
|
704
|
-
arg:
|
|
705
|
-
) => Observable<Option<
|
|
706
|
-
[
|
|
745
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
746
|
+
) => Observable<Option<ArgonPrimitivesGatewayGatewayState>>,
|
|
747
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
707
748
|
>;
|
|
708
749
|
/**
|
|
709
750
|
* Pause state recorded when a canonical gateway activity cannot be applied safely.
|
|
@@ -711,9 +752,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
711
752
|
gatewaySyncPauseBySourceChain: AugmentedQuery<
|
|
712
753
|
ApiType,
|
|
713
754
|
(
|
|
714
|
-
arg:
|
|
755
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
715
756
|
) => Observable<Option<PalletCrosschainTransferGatewaySyncPause>>,
|
|
716
|
-
[
|
|
757
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
717
758
|
>;
|
|
718
759
|
/**
|
|
719
760
|
* Historical Global Issuance Council snapshots keyed by their signer-ordered council hash.
|
|
@@ -732,9 +773,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
732
773
|
latestQueuedCouncilHashByDestinationChain: AugmentedQuery<
|
|
733
774
|
ApiType,
|
|
734
775
|
(
|
|
735
|
-
arg:
|
|
776
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
736
777
|
) => Observable<Option<H256>>,
|
|
737
|
-
[
|
|
778
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
738
779
|
>;
|
|
739
780
|
/**
|
|
740
781
|
* Per-chain override for the minimum normalized microgon value required to register a
|
|
@@ -743,9 +784,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
743
784
|
minimumMintingAuthorityValueByDestinationChain: AugmentedQuery<
|
|
744
785
|
ApiType,
|
|
745
786
|
(
|
|
746
|
-
arg:
|
|
787
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
747
788
|
) => Observable<u128>,
|
|
748
|
-
[
|
|
789
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
749
790
|
>;
|
|
750
791
|
/**
|
|
751
792
|
* Local Minting Authority records keyed by their destination signing key.
|
|
@@ -764,9 +805,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
764
805
|
mintingAuthorityActivationRepaymentPricingByDestinationChain: AugmentedQuery<
|
|
765
806
|
ApiType,
|
|
766
807
|
(
|
|
767
|
-
arg:
|
|
808
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
768
809
|
) => Observable<Option<PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing>>,
|
|
769
|
-
[
|
|
810
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
770
811
|
>;
|
|
771
812
|
/**
|
|
772
813
|
* The next outbound approval-queue nonce to assign on each destination chain.
|
|
@@ -774,9 +815,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
774
815
|
nextCouncilApprovalQueueNonceByDestinationChain: AugmentedQuery<
|
|
775
816
|
ApiType,
|
|
776
817
|
(
|
|
777
|
-
arg:
|
|
818
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
778
819
|
) => Observable<u64>,
|
|
779
|
-
[
|
|
820
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
780
821
|
>;
|
|
781
822
|
/**
|
|
782
823
|
* First frame where a new council snapshot may be added to a chain's approval queue.
|
|
@@ -784,9 +825,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
784
825
|
nextCouncilRotationFrameByDestinationChain: AugmentedQuery<
|
|
785
826
|
ApiType,
|
|
786
827
|
(
|
|
787
|
-
arg:
|
|
828
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
788
829
|
) => Observable<Option<u64>>,
|
|
789
|
-
[
|
|
830
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
790
831
|
>;
|
|
791
832
|
/**
|
|
792
833
|
* Next outbound transfer nonce for each sending account.
|
|
@@ -802,9 +843,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
802
843
|
nonTerminalTransferOutCountByDestinationChain: AugmentedQuery<
|
|
803
844
|
ApiType,
|
|
804
845
|
(
|
|
805
|
-
arg:
|
|
846
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
806
847
|
) => Observable<u32>,
|
|
807
|
-
[
|
|
848
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
808
849
|
>;
|
|
809
850
|
/**
|
|
810
851
|
* Collateralization requests still open on each destination chain.
|
|
@@ -812,9 +853,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
812
853
|
pendingCollateralizationRequestsByChain: AugmentedQuery<
|
|
813
854
|
ApiType,
|
|
814
855
|
(
|
|
815
|
-
arg:
|
|
856
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
816
857
|
) => Observable<Vec<PalletCrosschainTransferTransferOutPendingCollateralizationRequest>>,
|
|
817
|
-
[
|
|
858
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
818
859
|
>;
|
|
819
860
|
/**
|
|
820
861
|
* A staged council signer rotation for the next council activation on each destination chain.
|
|
@@ -822,10 +863,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
822
863
|
pendingCouncilSignerByDestinationChainAndAccountId: AugmentedQuery<
|
|
823
864
|
ApiType,
|
|
824
865
|
(
|
|
825
|
-
arg1:
|
|
866
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
826
867
|
arg2: AccountId32 | string | Uint8Array,
|
|
827
868
|
) => Observable<Option<H160>>,
|
|
828
|
-
[
|
|
869
|
+
[ArgonPrimitivesGatewaySourceChain, AccountId32]
|
|
829
870
|
>;
|
|
830
871
|
/**
|
|
831
872
|
* Pending outbound principal by destination chain.
|
|
@@ -833,9 +874,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
833
874
|
pendingTransferOutCirculationByDestinationChain: AugmentedQuery<
|
|
834
875
|
ApiType,
|
|
835
876
|
(
|
|
836
|
-
arg:
|
|
877
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
837
878
|
) => Observable<PalletCrosschainTransferSourceChainCirculation>,
|
|
838
|
-
[
|
|
879
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
839
880
|
>;
|
|
840
881
|
/**
|
|
841
882
|
* Immediately previous transfer-out conversion rate still accepted while the floor ratchets
|
|
@@ -844,9 +885,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
844
885
|
previousTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
845
886
|
ApiType,
|
|
846
887
|
(
|
|
847
|
-
arg:
|
|
888
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
848
889
|
) => Observable<Option<u128>>,
|
|
849
|
-
[
|
|
890
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
850
891
|
>;
|
|
851
892
|
/**
|
|
852
893
|
* Outbound transfers by transfer id.
|
|
@@ -865,9 +906,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
865
906
|
transferOutQuoteMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
866
907
|
ApiType,
|
|
867
908
|
(
|
|
868
|
-
arg:
|
|
909
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
869
910
|
) => Observable<Option<u128>>,
|
|
870
|
-
[
|
|
911
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
871
912
|
>;
|
|
872
913
|
/**
|
|
873
914
|
* Cumulative inbound and outbound transfer totals for each local account.
|
|
@@ -1655,6 +1696,22 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1655
1696
|
() => Observable<Option<PalletStabilizerBuysUniswapPurchasePurchasePool>>,
|
|
1656
1697
|
[]
|
|
1657
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
|
+
>;
|
|
1658
1715
|
/**
|
|
1659
1716
|
* Auction policy and funding keyed by admission frame F; bidding takes place during F+1.
|
|
1660
1717
|
**/
|
|
@@ -1664,99 +1721,122 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1664
1721
|
[u64]
|
|
1665
1722
|
>;
|
|
1666
1723
|
/**
|
|
1667
|
-
* Positive bids ordered by rate ascending, then account ascending.
|
|
1668
|
-
*
|
|
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.
|
|
1669
1726
|
**/
|
|
1670
1727
|
bidsByAuction: AugmentedQuery<
|
|
1671
1728
|
ApiType,
|
|
1672
1729
|
(
|
|
1673
1730
|
arg1: u64 | AnyNumber | Uint8Array,
|
|
1674
1731
|
arg2:
|
|
1675
|
-
|
|
|
1676
|
-
|
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
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]>]
|
|
1681
1744
|
>;
|
|
1682
1745
|
/**
|
|
1683
|
-
*
|
|
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.
|
|
1684
1748
|
**/
|
|
1685
|
-
|
|
1749
|
+
buysByAccountAndFrame: AugmentedQuery<
|
|
1686
1750
|
ApiType,
|
|
1687
|
-
(
|
|
1688
|
-
|
|
1751
|
+
(
|
|
1752
|
+
arg1: AccountId32 | string | Uint8Array,
|
|
1753
|
+
arg2: U8aFixed | string | Uint8Array,
|
|
1754
|
+
) => Observable<Option<PalletStabilizerBuysAccountFrameBuys>>,
|
|
1755
|
+
[AccountId32, U8aFixed]
|
|
1689
1756
|
>;
|
|
1690
1757
|
/**
|
|
1691
|
-
*
|
|
1692
|
-
|
|
1693
|
-
counterForHourlyPriceReferences: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
1694
|
-
/**
|
|
1695
|
-
* Counter for the related counted storage map
|
|
1696
|
-
**/
|
|
1697
|
-
counterForRecentPriceIndices: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
1698
|
-
/**
|
|
1699
|
-
* Hourly references keyed by the bucket-start tick in the same oldest-first order.
|
|
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.
|
|
1700
1760
|
**/
|
|
1701
|
-
|
|
1761
|
+
liquidRepaysByAccountAndGatewayNonce: AugmentedQuery<
|
|
1702
1762
|
ApiType,
|
|
1703
1763
|
(
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1764
|
+
arg1: AccountId32 | string | Uint8Array,
|
|
1765
|
+
arg2: U8aFixed | string | Uint8Array,
|
|
1766
|
+
) => Observable<Option<PalletStabilizerBuysLiquidRepay>>,
|
|
1767
|
+
[AccountId32, U8aFixed]
|
|
1707
1768
|
>;
|
|
1708
1769
|
/**
|
|
1709
1770
|
* Matching fraction for new auctions; existing auctions retain their captured policy.
|
|
1710
1771
|
**/
|
|
1711
1772
|
matchingRate: AugmentedQuery<ApiType, () => Observable<Permill>, []>;
|
|
1712
1773
|
/**
|
|
1713
|
-
*
|
|
1714
|
-
*
|
|
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.
|
|
1715
1776
|
**/
|
|
1716
|
-
|
|
1777
|
+
payoutQueue: AugmentedQuery<
|
|
1717
1778
|
ApiType,
|
|
1718
1779
|
(
|
|
1719
1780
|
arg:
|
|
1720
|
-
|
|
|
1781
|
+
| ArgonPrimitivesAmountRankAscendingRankKeyAccountId32
|
|
1721
1782
|
| { ascendingRank?: any; orderedId?: any }
|
|
1722
1783
|
| string
|
|
1723
1784
|
| Uint8Array,
|
|
1724
1785
|
) => Observable<Option<Null>>,
|
|
1725
|
-
[
|
|
1786
|
+
[ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]
|
|
1726
1787
|
>;
|
|
1727
1788
|
/**
|
|
1728
|
-
*
|
|
1729
|
-
*
|
|
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.
|
|
1730
1791
|
**/
|
|
1731
|
-
|
|
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<
|
|
1732
1803
|
ApiType,
|
|
1733
1804
|
(
|
|
1734
|
-
arg:
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
| string
|
|
1738
|
-
| Uint8Array,
|
|
1739
|
-
) => Observable<Option<Null>>,
|
|
1740
|
-
[ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]
|
|
1805
|
+
arg: AccountId32 | string | Uint8Array,
|
|
1806
|
+
) => Observable<PalletStabilizerBuysAccountPayoutState>,
|
|
1807
|
+
[AccountId32]
|
|
1741
1808
|
>;
|
|
1742
1809
|
/**
|
|
1743
|
-
*
|
|
1744
|
-
*
|
|
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.
|
|
1745
1813
|
**/
|
|
1746
|
-
|
|
1814
|
+
pendingLiquidRepayCountByAccountAndLiquid: AugmentedQuery<
|
|
1747
1815
|
ApiType,
|
|
1748
1816
|
(
|
|
1749
1817
|
arg1: AccountId32 | string | Uint8Array,
|
|
1750
|
-
arg2:
|
|
1751
|
-
) => Observable<
|
|
1752
|
-
[AccountId32,
|
|
1818
|
+
arg2: u64 | AnyNumber | Uint8Array,
|
|
1819
|
+
) => Observable<u64>,
|
|
1820
|
+
[AccountId32, u64]
|
|
1753
1821
|
>;
|
|
1754
1822
|
/**
|
|
1755
|
-
*
|
|
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.
|
|
1756
1825
|
**/
|
|
1757
|
-
|
|
1826
|
+
pendingPriceWindowCountByTick: AugmentedQuery<
|
|
1758
1827
|
ApiType,
|
|
1759
|
-
(arg: U8aFixed | string | Uint8Array) => Observable<
|
|
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>>,
|
|
1760
1840
|
[U8aFixed]
|
|
1761
1841
|
>;
|
|
1762
1842
|
};
|
|
@@ -1996,6 +2076,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1996
2076
|
() => Observable<Vec<PalletTreasuryBondLotSummary>>,
|
|
1997
2077
|
[]
|
|
1998
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
|
+
>;
|
|
1999
2094
|
/**
|
|
2000
2095
|
* The stored state for each bond lot.
|
|
2001
2096
|
**/
|
|
@@ -2092,6 +2187,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2092
2187
|
* Awarded purchase rewards awaiting issuance. Auctions own their unallocated reservations.
|
|
2093
2188
|
**/
|
|
2094
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
|
+
>;
|
|
2095
2201
|
/**
|
|
2096
2202
|
* The oldest frame that still has bond lots to retry releasing.
|
|
2097
2203
|
**/
|
|
@@ -2255,12 +2361,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2255
2361
|
ApiType,
|
|
2256
2362
|
(
|
|
2257
2363
|
arg:
|
|
2258
|
-
|
|
|
2364
|
+
| ArgonPrimitivesAmountRankAmountRankKeyU32
|
|
2259
2365
|
| { descendingAmount?: any; orderedId?: any }
|
|
2260
2366
|
| string
|
|
2261
2367
|
| Uint8Array,
|
|
2262
2368
|
) => Observable<Option<Null>>,
|
|
2263
|
-
[
|
|
2369
|
+
[ArgonPrimitivesAmountRankAmountRankKeyU32]
|
|
2264
2370
|
>;
|
|
2265
2371
|
/**
|
|
2266
2372
|
* Vault Bitcoin Xpub and current child counter by VaultId
|