@argonprotocol/mainchain 1.5.2-dev.862caf8c → 1.5.2-dev.96d18bee
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 +1619 -534
- package/browser/index.js +399 -139
- 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 +399 -138
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1619 -534
- package/lib/index.d.ts +1619 -534
- package/lib/index.js +403 -142
- 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 +140 -8
- package/src/interfaces/augment-api-events.ts +172 -56
- package/src/interfaces/augment-api-query.ts +247 -90
- package/src/interfaces/augment-api-tx.ts +175 -94
- package/src/interfaces/lookup.ts +604 -330
- package/src/interfaces/registry.ts +46 -10
- package/src/interfaces/types-lookup.ts +668 -342
|
@@ -47,12 +47,15 @@ import type {
|
|
|
47
47
|
ArgonPrimitivesDomainZoneRecord,
|
|
48
48
|
ArgonPrimitivesEthereumEthereumBeaconPreset,
|
|
49
49
|
ArgonPrimitivesForkPower,
|
|
50
|
+
ArgonPrimitivesGatewayGatewayState,
|
|
51
|
+
ArgonPrimitivesGatewaySourceChain,
|
|
50
52
|
ArgonPrimitivesInherentsBlockSealInherent,
|
|
51
53
|
ArgonPrimitivesNotaryNotaryMeta,
|
|
52
54
|
ArgonPrimitivesNotaryNotaryNotebookKeyDetails,
|
|
53
55
|
ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails,
|
|
54
56
|
ArgonPrimitivesNotaryNotaryRecord,
|
|
55
57
|
ArgonPrimitivesPriceIndex,
|
|
58
|
+
ArgonPrimitivesPriceIndexRValueHighWaterMark,
|
|
56
59
|
ArgonPrimitivesProvidersBlockSealerInfo,
|
|
57
60
|
ArgonPrimitivesTickTicker,
|
|
58
61
|
ArgonPrimitivesTreasuryNetworkPositionQuantities,
|
|
@@ -67,10 +70,13 @@ import type {
|
|
|
67
70
|
FrameSystemEventRecord,
|
|
68
71
|
FrameSystemLastRuntimeUpgradeInfo,
|
|
69
72
|
FrameSystemPhase,
|
|
73
|
+
PalletAccountSecurityPendingPolicyUpdate,
|
|
74
|
+
PalletAccountSecurityRegistration,
|
|
70
75
|
PalletBalancesAccountData,
|
|
71
76
|
PalletBalancesBalanceLock,
|
|
72
77
|
PalletBalancesReserveData,
|
|
73
78
|
PalletBitcoinFissionsFission,
|
|
79
|
+
PalletBitcoinFissionsLiquidTicks,
|
|
74
80
|
PalletBitcoinLocksLockReleaseCosignHeight,
|
|
75
81
|
PalletBitcoinLocksLockReleaseRequest,
|
|
76
82
|
PalletBitcoinLocksLockedBitcoin,
|
|
@@ -81,12 +87,10 @@ import type {
|
|
|
81
87
|
PalletCrosschainTransferAccountTransferTotals,
|
|
82
88
|
PalletCrosschainTransferChainConfig,
|
|
83
89
|
PalletCrosschainTransferCouncilApprovalQueueEntry,
|
|
84
|
-
PalletCrosschainTransferGatewayState,
|
|
85
90
|
PalletCrosschainTransferGatewaySyncPause,
|
|
86
91
|
PalletCrosschainTransferGlobalIssuanceCouncil,
|
|
87
92
|
PalletCrosschainTransferMintingAuthority,
|
|
88
93
|
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
89
|
-
PalletCrosschainTransferSourceChain,
|
|
90
94
|
PalletCrosschainTransferSourceChainCirculation,
|
|
91
95
|
PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
|
|
92
96
|
PalletCrosschainTransferTransferOutTransferOutOfArgon,
|
|
@@ -99,6 +103,7 @@ import type {
|
|
|
99
103
|
PalletGrandpaStoredPendingChange,
|
|
100
104
|
PalletGrandpaStoredState,
|
|
101
105
|
PalletLocalchainTransferQueuedTransferOut,
|
|
106
|
+
PalletMiningSlotBidEligibility,
|
|
102
107
|
PalletMiningSlotMinerNonceScoring,
|
|
103
108
|
PalletMiningSlotPendingBid,
|
|
104
109
|
PalletMiningSlotSeatPriceStats,
|
|
@@ -115,10 +120,11 @@ import type {
|
|
|
115
120
|
PalletPriceIndexEthereumPriceIndex,
|
|
116
121
|
PalletProxyAnnouncement,
|
|
117
122
|
PalletProxyProxyDefinition,
|
|
118
|
-
|
|
123
|
+
PalletStabilizerBuysAccountFrameBuys,
|
|
124
|
+
PalletStabilizerBuysAccountPayoutState,
|
|
119
125
|
PalletStabilizerBuysAuction,
|
|
120
|
-
|
|
121
|
-
|
|
126
|
+
PalletStabilizerBuysLiquidRepay,
|
|
127
|
+
PalletStabilizerBuysPriceHistoryPriceObservation,
|
|
122
128
|
PalletStabilizerBuysUniswapPurchasePurchasePool,
|
|
123
129
|
PalletStabilizerPoolsPoolConfig,
|
|
124
130
|
PalletStabilizerPoolsPositionCheckpoint,
|
|
@@ -128,6 +134,7 @@ import type {
|
|
|
128
134
|
PalletTreasuryFrameArgonotBondParticipants,
|
|
129
135
|
PalletTreasuryFrameVaultBitcoin,
|
|
130
136
|
PalletTreasuryFrameVaultCapital,
|
|
137
|
+
PalletTreasuryPendingBondCollateral,
|
|
131
138
|
PalletTreasuryPositionsPosition,
|
|
132
139
|
PalletTreasuryRewardReserveBalances,
|
|
133
140
|
PalletTreasuryVaultBondState,
|
|
@@ -143,6 +150,36 @@ export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorage
|
|
|
143
150
|
|
|
144
151
|
declare module '@polkadot/api-base/types/storage' {
|
|
145
152
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
153
|
+
accountSecurity: {
|
|
154
|
+
/**
|
|
155
|
+
* Next group authorization nonce. Never removed or reset by policy changes or linking.
|
|
156
|
+
**/
|
|
157
|
+
nextNonce: AugmentedQuery<
|
|
158
|
+
ApiType,
|
|
159
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<u64>,
|
|
160
|
+
[AccountId32]
|
|
161
|
+
>;
|
|
162
|
+
/**
|
|
163
|
+
* At most one delayed policy replacement per default account, separately deposit-backed.
|
|
164
|
+
**/
|
|
165
|
+
pendingPolicyUpdates: AugmentedQuery<
|
|
166
|
+
ApiType,
|
|
167
|
+
(
|
|
168
|
+
arg: AccountId32 | string | Uint8Array,
|
|
169
|
+
) => Observable<Option<PalletAccountSecurityPendingPolicyUpdate>>,
|
|
170
|
+
[AccountId32]
|
|
171
|
+
>;
|
|
172
|
+
/**
|
|
173
|
+
* One registration at the default account; linked members never duplicate it.
|
|
174
|
+
**/
|
|
175
|
+
registrations: AugmentedQuery<
|
|
176
|
+
ApiType,
|
|
177
|
+
(
|
|
178
|
+
arg: AccountId32 | string | Uint8Array,
|
|
179
|
+
) => Observable<Option<PalletAccountSecurityRegistration>>,
|
|
180
|
+
[AccountId32]
|
|
181
|
+
>;
|
|
182
|
+
};
|
|
146
183
|
authorship: {
|
|
147
184
|
/**
|
|
148
185
|
* Author of current block.
|
|
@@ -251,6 +288,31 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
251
288
|
(arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
|
|
252
289
|
[u64]
|
|
253
290
|
>;
|
|
291
|
+
/**
|
|
292
|
+
* Active Fission IDs grouped by their owner's Liquid. Debt remains on the Fission records.
|
|
293
|
+
**/
|
|
294
|
+
fissionIdsByOwnerAndLiquid: AugmentedQuery<
|
|
295
|
+
ApiType,
|
|
296
|
+
(
|
|
297
|
+
arg1:
|
|
298
|
+
| ITuple<[AccountId32, u64]>
|
|
299
|
+
| [AccountId32 | string | Uint8Array, u64 | AnyNumber | Uint8Array],
|
|
300
|
+
arg2: u64 | AnyNumber | Uint8Array,
|
|
301
|
+
) => Observable<Option<Null>>,
|
|
302
|
+
[ITuple<[AccountId32, u64]>, u64]
|
|
303
|
+
>;
|
|
304
|
+
/**
|
|
305
|
+
* Creation and ratchet timing for each owner-scoped Liquid. Retained after closure so an
|
|
306
|
+
* old Liquid ID cannot reopen its creation window or discard its ratchet history.
|
|
307
|
+
**/
|
|
308
|
+
liquidTicksByOwnerAndId: AugmentedQuery<
|
|
309
|
+
ApiType,
|
|
310
|
+
(
|
|
311
|
+
arg1: AccountId32 | string | Uint8Array,
|
|
312
|
+
arg2: u64 | AnyNumber | Uint8Array,
|
|
313
|
+
) => Observable<Option<PalletBitcoinFissionsLiquidTicks>>,
|
|
314
|
+
[AccountId32, u64]
|
|
315
|
+
>;
|
|
254
316
|
/**
|
|
255
317
|
* Minimum Fission ID accepted from each owner.
|
|
256
318
|
**/
|
|
@@ -259,6 +321,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
259
321
|
(arg: AccountId32 | string | Uint8Array) => Observable<u64>,
|
|
260
322
|
[AccountId32]
|
|
261
323
|
>;
|
|
324
|
+
/**
|
|
325
|
+
* Highest valid market-to-target ARGON ratio in each frame. Ordered frame keys support
|
|
326
|
+
* bounded pruning without loading the complete history during an Ethereum stall.
|
|
327
|
+
**/
|
|
328
|
+
rValueHighWaterByFrame: AugmentedQuery<
|
|
329
|
+
ApiType,
|
|
330
|
+
(
|
|
331
|
+
arg: U8aFixed | string | Uint8Array,
|
|
332
|
+
) => Observable<Option<ArgonPrimitivesPriceIndexRValueHighWaterMark>>,
|
|
333
|
+
[U8aFixed]
|
|
334
|
+
>;
|
|
262
335
|
};
|
|
263
336
|
bitcoinLocks: {
|
|
264
337
|
lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<
|
|
@@ -639,9 +712,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
639
712
|
activeGlobalIssuanceCouncilByDestinationChain: AugmentedQuery<
|
|
640
713
|
ApiType,
|
|
641
714
|
(
|
|
642
|
-
arg:
|
|
715
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
643
716
|
) => Observable<Option<H256>>,
|
|
644
|
-
[
|
|
717
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
645
718
|
>;
|
|
646
719
|
/**
|
|
647
720
|
* Config accepted for each supported source chain.
|
|
@@ -649,9 +722,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
649
722
|
chainConfigBySourceChain: AugmentedQuery<
|
|
650
723
|
ApiType,
|
|
651
724
|
(
|
|
652
|
-
arg:
|
|
725
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
653
726
|
) => Observable<Option<PalletCrosschainTransferChainConfig>>,
|
|
654
|
-
[
|
|
727
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
655
728
|
>;
|
|
656
729
|
/**
|
|
657
730
|
* Latest council approval queue nonce signed by this account for one destination chain.
|
|
@@ -659,10 +732,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
659
732
|
councilApprovalCursorByDestinationChainAndAccountId: AugmentedQuery<
|
|
660
733
|
ApiType,
|
|
661
734
|
(
|
|
662
|
-
arg1:
|
|
735
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
663
736
|
arg2: AccountId32 | string | Uint8Array,
|
|
664
737
|
) => Observable<Option<u64>>,
|
|
665
|
-
[
|
|
738
|
+
[ArgonPrimitivesGatewaySourceChain, AccountId32]
|
|
666
739
|
>;
|
|
667
740
|
/**
|
|
668
741
|
* The ordered outbound council approval queue for each destination chain.
|
|
@@ -670,10 +743,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
670
743
|
councilApprovalQueueByDestinationChainAndNonce: AugmentedQuery<
|
|
671
744
|
ApiType,
|
|
672
745
|
(
|
|
673
|
-
arg1:
|
|
746
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
674
747
|
arg2: u64 | AnyNumber | Uint8Array,
|
|
675
748
|
) => Observable<Option<PalletCrosschainTransferCouncilApprovalQueueEntry>>,
|
|
676
|
-
[
|
|
749
|
+
[ArgonPrimitivesGatewaySourceChain, u64]
|
|
677
750
|
>;
|
|
678
751
|
/**
|
|
679
752
|
* The registered council signer for each account on each destination chain.
|
|
@@ -681,20 +754,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
681
754
|
councilSignerByDestinationChainAndAccountId: AugmentedQuery<
|
|
682
755
|
ApiType,
|
|
683
756
|
(
|
|
684
|
-
arg1:
|
|
757
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
685
758
|
arg2: AccountId32 | string | Uint8Array,
|
|
686
759
|
) => Observable<Option<H160>>,
|
|
687
|
-
[
|
|
760
|
+
[ArgonPrimitivesGatewaySourceChain, AccountId32]
|
|
688
761
|
>;
|
|
689
762
|
/**
|
|
690
|
-
*
|
|
763
|
+
* Latest proved gateway acceptance ceiling, in microgons per whole Argonot.
|
|
691
764
|
**/
|
|
692
765
|
currentTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
693
766
|
ApiType,
|
|
694
767
|
(
|
|
695
|
-
arg:
|
|
768
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
696
769
|
) => Observable<Option<u128>>,
|
|
697
|
-
[
|
|
770
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
698
771
|
>;
|
|
699
772
|
/**
|
|
700
773
|
* Latest proven gateway activity snapshot for each source chain.
|
|
@@ -702,9 +775,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
702
775
|
gatewayStateBySourceChain: AugmentedQuery<
|
|
703
776
|
ApiType,
|
|
704
777
|
(
|
|
705
|
-
arg:
|
|
706
|
-
) => Observable<Option<
|
|
707
|
-
[
|
|
778
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
779
|
+
) => Observable<Option<ArgonPrimitivesGatewayGatewayState>>,
|
|
780
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
708
781
|
>;
|
|
709
782
|
/**
|
|
710
783
|
* Pause state recorded when a canonical gateway activity cannot be applied safely.
|
|
@@ -712,9 +785,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
712
785
|
gatewaySyncPauseBySourceChain: AugmentedQuery<
|
|
713
786
|
ApiType,
|
|
714
787
|
(
|
|
715
|
-
arg:
|
|
788
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
716
789
|
) => Observable<Option<PalletCrosschainTransferGatewaySyncPause>>,
|
|
717
|
-
[
|
|
790
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
718
791
|
>;
|
|
719
792
|
/**
|
|
720
793
|
* Historical Global Issuance Council snapshots keyed by their signer-ordered council hash.
|
|
@@ -733,9 +806,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
733
806
|
latestQueuedCouncilHashByDestinationChain: AugmentedQuery<
|
|
734
807
|
ApiType,
|
|
735
808
|
(
|
|
736
|
-
arg:
|
|
809
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
737
810
|
) => Observable<Option<H256>>,
|
|
738
|
-
[
|
|
811
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
739
812
|
>;
|
|
740
813
|
/**
|
|
741
814
|
* Per-chain override for the minimum normalized microgon value required to register a
|
|
@@ -744,9 +817,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
744
817
|
minimumMintingAuthorityValueByDestinationChain: AugmentedQuery<
|
|
745
818
|
ApiType,
|
|
746
819
|
(
|
|
747
|
-
arg:
|
|
820
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
748
821
|
) => Observable<u128>,
|
|
749
|
-
[
|
|
822
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
750
823
|
>;
|
|
751
824
|
/**
|
|
752
825
|
* Local Minting Authority records keyed by their destination signing key.
|
|
@@ -765,9 +838,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
765
838
|
mintingAuthorityActivationRepaymentPricingByDestinationChain: AugmentedQuery<
|
|
766
839
|
ApiType,
|
|
767
840
|
(
|
|
768
|
-
arg:
|
|
841
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
769
842
|
) => Observable<Option<PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing>>,
|
|
770
|
-
[
|
|
843
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
771
844
|
>;
|
|
772
845
|
/**
|
|
773
846
|
* The next outbound approval-queue nonce to assign on each destination chain.
|
|
@@ -775,9 +848,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
775
848
|
nextCouncilApprovalQueueNonceByDestinationChain: AugmentedQuery<
|
|
776
849
|
ApiType,
|
|
777
850
|
(
|
|
778
|
-
arg:
|
|
851
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
779
852
|
) => Observable<u64>,
|
|
780
|
-
[
|
|
853
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
781
854
|
>;
|
|
782
855
|
/**
|
|
783
856
|
* First frame where a new council snapshot may be added to a chain's approval queue.
|
|
@@ -785,9 +858,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
785
858
|
nextCouncilRotationFrameByDestinationChain: AugmentedQuery<
|
|
786
859
|
ApiType,
|
|
787
860
|
(
|
|
788
|
-
arg:
|
|
861
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
789
862
|
) => Observable<Option<u64>>,
|
|
790
|
-
[
|
|
863
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
791
864
|
>;
|
|
792
865
|
/**
|
|
793
866
|
* Next outbound transfer nonce for each sending account.
|
|
@@ -803,9 +876,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
803
876
|
nonTerminalTransferOutCountByDestinationChain: AugmentedQuery<
|
|
804
877
|
ApiType,
|
|
805
878
|
(
|
|
806
|
-
arg:
|
|
879
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
807
880
|
) => Observable<u32>,
|
|
808
|
-
[
|
|
881
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
809
882
|
>;
|
|
810
883
|
/**
|
|
811
884
|
* Collateralization requests still open on each destination chain.
|
|
@@ -813,9 +886,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
813
886
|
pendingCollateralizationRequestsByChain: AugmentedQuery<
|
|
814
887
|
ApiType,
|
|
815
888
|
(
|
|
816
|
-
arg:
|
|
889
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
817
890
|
) => Observable<Vec<PalletCrosschainTransferTransferOutPendingCollateralizationRequest>>,
|
|
818
|
-
[
|
|
891
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
819
892
|
>;
|
|
820
893
|
/**
|
|
821
894
|
* A staged council signer rotation for the next council activation on each destination chain.
|
|
@@ -823,10 +896,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
823
896
|
pendingCouncilSignerByDestinationChainAndAccountId: AugmentedQuery<
|
|
824
897
|
ApiType,
|
|
825
898
|
(
|
|
826
|
-
arg1:
|
|
899
|
+
arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
827
900
|
arg2: AccountId32 | string | Uint8Array,
|
|
828
901
|
) => Observable<Option<H160>>,
|
|
829
|
-
[
|
|
902
|
+
[ArgonPrimitivesGatewaySourceChain, AccountId32]
|
|
830
903
|
>;
|
|
831
904
|
/**
|
|
832
905
|
* Pending outbound principal by destination chain.
|
|
@@ -834,20 +907,30 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
834
907
|
pendingTransferOutCirculationByDestinationChain: AugmentedQuery<
|
|
835
908
|
ApiType,
|
|
836
909
|
(
|
|
837
|
-
arg:
|
|
910
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
838
911
|
) => Observable<PalletCrosschainTransferSourceChainCirculation>,
|
|
839
|
-
[
|
|
912
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
913
|
+
>;
|
|
914
|
+
/**
|
|
915
|
+
* Active transfer counts keyed by their quote in microgons per whole Argonot. The largest
|
|
916
|
+
* key gives the required gateway ceiling without scanning transfer records at rotation.
|
|
917
|
+
**/
|
|
918
|
+
pendingTransferOutQuoteCountsByDestinationChain: AugmentedQuery<
|
|
919
|
+
ApiType,
|
|
920
|
+
(
|
|
921
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
922
|
+
) => Observable<BTreeMap<u128, u32>>,
|
|
923
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
840
924
|
>;
|
|
841
925
|
/**
|
|
842
|
-
*
|
|
843
|
-
* upward across council transitions.
|
|
926
|
+
* Previous proved gateway ceiling, retained to quote conservatively across proof-back delays.
|
|
844
927
|
**/
|
|
845
928
|
previousTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
846
929
|
ApiType,
|
|
847
930
|
(
|
|
848
|
-
arg:
|
|
931
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
849
932
|
) => Observable<Option<u128>>,
|
|
850
|
-
[
|
|
933
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
851
934
|
>;
|
|
852
935
|
/**
|
|
853
936
|
* Outbound transfers by transfer id.
|
|
@@ -860,15 +943,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
860
943
|
[H256]
|
|
861
944
|
>;
|
|
862
945
|
/**
|
|
863
|
-
*
|
|
864
|
-
*
|
|
946
|
+
* Minimum active and queued gateway ceiling. New transfers also clamp this to the market
|
|
947
|
+
* floor.
|
|
865
948
|
**/
|
|
866
949
|
transferOutQuoteMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
867
950
|
ApiType,
|
|
868
951
|
(
|
|
869
|
-
arg:
|
|
952
|
+
arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
|
|
870
953
|
) => Observable<Option<u128>>,
|
|
871
|
-
[
|
|
954
|
+
[ArgonPrimitivesGatewaySourceChain]
|
|
872
955
|
>;
|
|
873
956
|
/**
|
|
874
957
|
* Cumulative inbound and outbound transfer totals for each local account.
|
|
@@ -1155,6 +1238,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1155
1238
|
() => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>,
|
|
1156
1239
|
[]
|
|
1157
1240
|
>;
|
|
1241
|
+
eligibleBids: AugmentedQuery<
|
|
1242
|
+
ApiType,
|
|
1243
|
+
(
|
|
1244
|
+
arg: AccountId32 | string | Uint8Array,
|
|
1245
|
+
) => Observable<Option<PalletMiningSlotBidEligibility>>,
|
|
1246
|
+
[AccountId32]
|
|
1247
|
+
>;
|
|
1158
1248
|
/**
|
|
1159
1249
|
* The number of reward ticks remaining in the frame
|
|
1160
1250
|
**/
|
|
@@ -1186,6 +1276,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1186
1276
|
**/
|
|
1187
1277
|
isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1188
1278
|
lastBidBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
1279
|
+
/**
|
|
1280
|
+
* Fresh chains use immediate clearing; upgrades finish the current auction first.
|
|
1281
|
+
**/
|
|
1282
|
+
liveAuctionStartAt: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1189
1283
|
/**
|
|
1190
1284
|
* This is a lookup of each miner's nonce to use when picking a best authority to submit a
|
|
1191
1285
|
* block. It's a blake2 256 hash of the miner account id and the block hash at time of
|
|
@@ -1240,6 +1334,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1240
1334
|
() => Observable<BTreeMap<AccountId32, ArgonPrimitivesBlockSealMiningRegistration>>,
|
|
1241
1335
|
[]
|
|
1242
1336
|
>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Valid disclosures awaiting this block's atomic maximum clearing.
|
|
1339
|
+
**/
|
|
1340
|
+
revealedBids: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []>;
|
|
1243
1341
|
/**
|
|
1244
1342
|
* The upcoming changes scheduled for cohort size by frame.
|
|
1245
1343
|
* Capacity of 11 allows for 10 frames worth of scheduled changes plus one working slot
|
|
@@ -1656,6 +1754,22 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1656
1754
|
() => Observable<Option<PalletStabilizerBuysUniswapPurchasePurchasePool>>,
|
|
1657
1755
|
[]
|
|
1658
1756
|
>;
|
|
1757
|
+
/**
|
|
1758
|
+
* Closed auctions awaiting reward allocation, ordered by scheduled processing frame and
|
|
1759
|
+
* admission frame. A failed allocation moves only its queue entry; the auction retains its
|
|
1760
|
+
* original maturity.
|
|
1761
|
+
**/
|
|
1762
|
+
auctionAllocationQueue: AugmentedQuery<
|
|
1763
|
+
ApiType,
|
|
1764
|
+
(
|
|
1765
|
+
arg:
|
|
1766
|
+
| ArgonPrimitivesAmountRankAscendingRankKeyU64
|
|
1767
|
+
| { ascendingRank?: any; orderedId?: any }
|
|
1768
|
+
| string
|
|
1769
|
+
| Uint8Array,
|
|
1770
|
+
) => Observable<Option<Null>>,
|
|
1771
|
+
[ArgonPrimitivesAmountRankAscendingRankKeyU64]
|
|
1772
|
+
>;
|
|
1659
1773
|
/**
|
|
1660
1774
|
* Auction policy and funding keyed by admission frame F; bidding takes place during F+1.
|
|
1661
1775
|
**/
|
|
@@ -1687,83 +1801,100 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1687
1801
|
[u64, ITuple<[Percent, ArgonPrimitivesAmountRankAmountRankKeyAccountId32]>]
|
|
1688
1802
|
>;
|
|
1689
1803
|
/**
|
|
1690
|
-
*
|
|
1804
|
+
* Aggregated discounts, shared bid and ordinary principal for each account/admission frame.
|
|
1805
|
+
* Ordered frame bytes let payout visits select the oldest buckets with bounded work.
|
|
1691
1806
|
**/
|
|
1692
|
-
|
|
1807
|
+
buysByAccountAndFrame: AugmentedQuery<
|
|
1693
1808
|
ApiType,
|
|
1694
|
-
(
|
|
1695
|
-
|
|
1809
|
+
(
|
|
1810
|
+
arg1: AccountId32 | string | Uint8Array,
|
|
1811
|
+
arg2: U8aFixed | string | Uint8Array,
|
|
1812
|
+
) => Observable<Option<PalletStabilizerBuysAccountFrameBuys>>,
|
|
1813
|
+
[AccountId32, U8aFixed]
|
|
1696
1814
|
>;
|
|
1697
1815
|
/**
|
|
1698
|
-
*
|
|
1699
|
-
|
|
1700
|
-
counterForHourlyPriceReferences: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
1701
|
-
/**
|
|
1702
|
-
* Counter for the related counted storage map
|
|
1703
|
-
**/
|
|
1704
|
-
counterForRecentPriceIndices: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
1705
|
-
/**
|
|
1706
|
-
* Hourly references keyed by the bucket-start tick in the same oldest-first order.
|
|
1816
|
+
* Pending repayment commitments, ordered by gateway nonce within each recipient.
|
|
1817
|
+
* The existing account payout queue selects work; this adds no separate settlement queue.
|
|
1707
1818
|
**/
|
|
1708
|
-
|
|
1819
|
+
liquidRepaysByAccountAndGatewayNonce: AugmentedQuery<
|
|
1709
1820
|
ApiType,
|
|
1710
1821
|
(
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1822
|
+
arg1: AccountId32 | string | Uint8Array,
|
|
1823
|
+
arg2: U8aFixed | string | Uint8Array,
|
|
1824
|
+
) => Observable<Option<PalletStabilizerBuysLiquidRepay>>,
|
|
1825
|
+
[AccountId32, U8aFixed]
|
|
1714
1826
|
>;
|
|
1715
1827
|
/**
|
|
1716
1828
|
* Matching fraction for new auctions; existing auctions retain their captured policy.
|
|
1717
1829
|
**/
|
|
1718
1830
|
matchingRate: AugmentedQuery<ApiType, () => Observable<Permill>, []>;
|
|
1719
1831
|
/**
|
|
1720
|
-
*
|
|
1721
|
-
*
|
|
1832
|
+
* One scheduled visit per account, ordered by frame then account. Purchase buckets and the
|
|
1833
|
+
* reward record retain unpaid funds while this index selects bounded work.
|
|
1722
1834
|
**/
|
|
1723
|
-
|
|
1835
|
+
payoutQueue: AugmentedQuery<
|
|
1724
1836
|
ApiType,
|
|
1725
1837
|
(
|
|
1726
1838
|
arg:
|
|
1727
|
-
|
|
|
1839
|
+
| ArgonPrimitivesAmountRankAscendingRankKeyAccountId32
|
|
1728
1840
|
| { ascendingRank?: any; orderedId?: any }
|
|
1729
1841
|
| string
|
|
1730
1842
|
| Uint8Array,
|
|
1731
1843
|
) => Observable<Option<Null>>,
|
|
1732
|
-
[
|
|
1844
|
+
[ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]
|
|
1733
1845
|
>;
|
|
1734
1846
|
/**
|
|
1735
|
-
*
|
|
1736
|
-
*
|
|
1847
|
+
* Fixed due-frame cutoff and last visited key for a bounded pass through the payout queue.
|
|
1848
|
+
* Waiting repayments keep their maturity rank without blocking accounts behind them.
|
|
1737
1849
|
**/
|
|
1738
|
-
|
|
1850
|
+
payoutQueueCursor: AugmentedQuery<
|
|
1851
|
+
ApiType,
|
|
1852
|
+
() => Observable<
|
|
1853
|
+
Option<ITuple<[u64, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]>>
|
|
1854
|
+
>,
|
|
1855
|
+
[]
|
|
1856
|
+
>;
|
|
1857
|
+
/**
|
|
1858
|
+
* Unpaid ordinary rewards and the account's single scheduled payout visit, across frames.
|
|
1859
|
+
**/
|
|
1860
|
+
payoutStateByAccount: AugmentedQuery<
|
|
1739
1861
|
ApiType,
|
|
1740
1862
|
(
|
|
1741
|
-
arg:
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
| string
|
|
1745
|
-
| Uint8Array,
|
|
1746
|
-
) => Observable<Option<Null>>,
|
|
1747
|
-
[ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]
|
|
1863
|
+
arg: AccountId32 | string | Uint8Array,
|
|
1864
|
+
) => Observable<PalletStabilizerBuysAccountPayoutState>,
|
|
1865
|
+
[AccountId32]
|
|
1748
1866
|
>;
|
|
1749
1867
|
/**
|
|
1750
|
-
*
|
|
1751
|
-
*
|
|
1868
|
+
* Unsettled purchase count for an owner's Liquid. Removed after its final settlement;
|
|
1869
|
+
* lets Fissions block direct close without scanning purchases. Counts use the gateway's
|
|
1870
|
+
* u64 nonce range so every authenticated purchase can be represented.
|
|
1752
1871
|
**/
|
|
1753
|
-
|
|
1872
|
+
pendingLiquidRepayCountByAccountAndLiquid: AugmentedQuery<
|
|
1754
1873
|
ApiType,
|
|
1755
1874
|
(
|
|
1756
1875
|
arg1: AccountId32 | string | Uint8Array,
|
|
1757
|
-
arg2:
|
|
1758
|
-
) => Observable<
|
|
1759
|
-
[AccountId32,
|
|
1876
|
+
arg2: u64 | AnyNumber | Uint8Array,
|
|
1877
|
+
) => Observable<u64>,
|
|
1878
|
+
[AccountId32, u64]
|
|
1760
1879
|
>;
|
|
1761
1880
|
/**
|
|
1762
|
-
*
|
|
1881
|
+
* Number of incomplete windows starting at each purchase tick. Ordered keys expose the
|
|
1882
|
+
* oldest history still needed without scanning purchases; counts share the u64 nonce range.
|
|
1763
1883
|
**/
|
|
1764
|
-
|
|
1884
|
+
pendingPriceWindowCountByTick: AugmentedQuery<
|
|
1765
1885
|
ApiType,
|
|
1766
|
-
(arg: U8aFixed | string | Uint8Array) => Observable<
|
|
1886
|
+
(arg: U8aFixed | string | Uint8Array) => Observable<u64>,
|
|
1887
|
+
[U8aFixed]
|
|
1888
|
+
>;
|
|
1889
|
+
/**
|
|
1890
|
+
* Compact observations keyed by ordered ticks. An unavailable purchase quote stops historical
|
|
1891
|
+
* lookup. Retention follows gateway sync and any incomplete repayment windows.
|
|
1892
|
+
**/
|
|
1893
|
+
priceHistoryByTick: AugmentedQuery<
|
|
1894
|
+
ApiType,
|
|
1895
|
+
(
|
|
1896
|
+
arg: U8aFixed | string | Uint8Array,
|
|
1897
|
+
) => Observable<Option<PalletStabilizerBuysPriceHistoryPriceObservation>>,
|
|
1767
1898
|
[U8aFixed]
|
|
1768
1899
|
>;
|
|
1769
1900
|
};
|
|
@@ -2003,6 +2134,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2003
2134
|
() => Observable<Vec<PalletTreasuryBondLotSummary>>,
|
|
2004
2135
|
[]
|
|
2005
2136
|
>;
|
|
2137
|
+
/**
|
|
2138
|
+
* Accounts due for collateral settlement, ordered by retry block and owner. Each pending
|
|
2139
|
+
* account has one entry; failures move to the next block without blocking other owners.
|
|
2140
|
+
**/
|
|
2141
|
+
bondCollateralSettlementQueue: AugmentedQuery<
|
|
2142
|
+
ApiType,
|
|
2143
|
+
(
|
|
2144
|
+
arg:
|
|
2145
|
+
| ArgonPrimitivesAmountRankAscendingRankKeyAccountId32
|
|
2146
|
+
| { ascendingRank?: any; orderedId?: any }
|
|
2147
|
+
| string
|
|
2148
|
+
| Uint8Array,
|
|
2149
|
+
) => Observable<Option<Null>>,
|
|
2150
|
+
[ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]
|
|
2151
|
+
>;
|
|
2006
2152
|
/**
|
|
2007
2153
|
* The stored state for each bond lot.
|
|
2008
2154
|
**/
|
|
@@ -2099,6 +2245,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2099
2245
|
* Awarded purchase rewards awaiting issuance. Auctions own their unallocated reservations.
|
|
2100
2246
|
**/
|
|
2101
2247
|
outstandingPurchaseRewards: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
2248
|
+
/**
|
|
2249
|
+
* Burn and release requests awaiting settlement, combined by owner. Both amounts remain
|
|
2250
|
+
* included in the owner's encumbrance until processed; bonds retain their live payout terms.
|
|
2251
|
+
**/
|
|
2252
|
+
pendingBondCollateralByAccount: AugmentedQuery<
|
|
2253
|
+
ApiType,
|
|
2254
|
+
(
|
|
2255
|
+
arg: AccountId32 | string | Uint8Array,
|
|
2256
|
+
) => Observable<Option<PalletTreasuryPendingBondCollateral>>,
|
|
2257
|
+
[AccountId32]
|
|
2258
|
+
>;
|
|
2102
2259
|
/**
|
|
2103
2260
|
* The oldest frame that still has bond lots to retry releasing.
|
|
2104
2261
|
**/
|