@argonprotocol/mainchain 1.5.1 → 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.
Files changed (38) hide show
  1. package/README.md +87 -0
  2. package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
  3. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  4. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  5. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +357 -16
  6. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  7. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  8. package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
  9. package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  10. package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  11. package/browser/index.d.ts +6074 -822
  12. package/browser/index.js +4738 -991
  13. package/browser/index.js.map +1 -1
  14. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
  15. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  16. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  17. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +357 -16
  18. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  19. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  20. package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
  21. package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  22. package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  23. package/lib/index.cjs +4955 -1233
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +6074 -822
  26. package/lib/index.d.ts +6074 -822
  27. package/lib/index.js +4720 -998
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +101 -1
  31. package/src/interfaces/augment-api-errors.ts +185 -13
  32. package/src/interfaces/augment-api-events.ts +279 -82
  33. package/src/interfaces/augment-api-query.ts +399 -54
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-tx.ts +209 -78
  36. package/src/interfaces/lookup.ts +909 -345
  37. package/src/interfaces/registry.ts +86 -10
  38. package/src/interfaces/types-lookup.ts +1003 -370
@@ -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
- ArgonPrimitivesAmountRankAmountRankKey,
28
+ ArgonPrimitivesAmountRankAmountRankKeyAccountId32,
29
+ ArgonPrimitivesAmountRankAmountRankKeyU32,
30
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32,
31
+ ArgonPrimitivesAmountRankAscendingRankKeyU64,
28
32
  ArgonPrimitivesBalanceChangeAccountOrigin,
29
33
  ArgonPrimitivesBitcoinBitcoinBlock,
30
34
  ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey,
@@ -43,14 +47,18 @@ 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
- ArgonPrimitivesTreasuryPositionQuantities,
61
+ ArgonPrimitivesTreasuryNetworkPositionQuantities,
54
62
  ArgonPrimitivesVault,
55
63
  ArgonPrimitivesVaultVaultArgonotSecuritization,
56
64
  FrameSupportDispatchPerDispatchClassWeight,
@@ -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,
@@ -95,7 +102,9 @@ import type {
95
102
  PalletGrandpaStoredState,
96
103
  PalletLocalchainTransferQueuedTransferOut,
97
104
  PalletMiningSlotMinerNonceScoring,
105
+ PalletMiningSlotPendingBid,
98
106
  PalletMiningSlotSeatPriceStats,
107
+ PalletMiningSlotStandingBid,
99
108
  PalletMintMintAction,
100
109
  PalletMintMintQueueCursor,
101
110
  PalletMintPendingBitcoinMint,
@@ -106,15 +115,25 @@ import type {
106
115
  PalletPriceIndexCpiMeasurementBucket,
107
116
  PalletPriceIndexEthereumPriceFrameAccumulator,
108
117
  PalletPriceIndexEthereumPriceIndex,
109
- PalletPriceIndexPriceIndex,
110
118
  PalletProxyAnnouncement,
111
119
  PalletProxyProxyDefinition,
120
+ PalletStabilizerBuysAccountFrameBuys,
121
+ PalletStabilizerBuysAccountPayoutState,
122
+ PalletStabilizerBuysAuction,
123
+ PalletStabilizerBuysLiquidRepay,
124
+ PalletStabilizerBuysPriceHistoryPriceObservation,
125
+ PalletStabilizerBuysUniswapPurchasePurchasePool,
126
+ PalletStabilizerPoolsPoolConfig,
127
+ PalletStabilizerPoolsPositionCheckpoint,
112
128
  PalletTransactionPaymentReleases,
113
129
  PalletTreasuryBondLot,
114
130
  PalletTreasuryBondLotSummary,
115
131
  PalletTreasuryFrameArgonotBondParticipants,
132
+ PalletTreasuryFrameVaultBitcoin,
116
133
  PalletTreasuryFrameVaultCapital,
134
+ PalletTreasuryPendingBondCollateral,
117
135
  PalletTreasuryPositionsPosition,
136
+ PalletTreasuryRewardReserveBalances,
118
137
  PalletTreasuryVaultBondState,
119
138
  PalletVaultsVaultFrameRevenue,
120
139
  SpConsensusGrandpaAppPublic,
@@ -236,6 +255,31 @@ declare module '@polkadot/api-base/types/storage' {
236
255
  (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>,
237
256
  [u64]
238
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
+ >;
239
283
  /**
240
284
  * Minimum Fission ID accepted from each owner.
241
285
  **/
@@ -244,6 +288,17 @@ declare module '@polkadot/api-base/types/storage' {
244
288
  (arg: AccountId32 | string | Uint8Array) => Observable<u64>,
245
289
  [AccountId32]
246
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
+ >;
247
302
  };
248
303
  bitcoinLocks: {
249
304
  lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<
@@ -255,13 +310,17 @@ declare module '@polkadot/api-base/types/storage' {
255
310
  [u32, AccountId32]
256
311
  >;
257
312
  /**
258
- * Highest Bitcoin UTXO sync height processed for securitization hold expirations.
313
+ * Highest Bitcoin UTXO sync height checked for funding expirations; failures remain pending.
259
314
  **/
260
315
  lastProcessedSecuritizationHoldBitcoinHeight: AugmentedQuery<
261
316
  ApiType,
262
317
  () => Observable<Option<u64>>,
263
318
  []
264
319
  >;
320
+ /**
321
+ * Resume retries after this Lock so a persistent failure cannot starve other expirations.
322
+ **/
323
+ lastRetriedLockExpiration: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
265
324
  /**
266
325
  * Utxos that have been requested to be cosigned for releasing
267
326
  **/
@@ -367,6 +426,14 @@ declare module '@polkadot/api-base/types/storage' {
367
426
  ) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>,
368
427
  [AccountId32, ArgonPrimitivesBitcoinUtxoRef]
369
428
  >;
429
+ /**
430
+ * Locks whose funding-window or terminal expiration failed and must be retried.
431
+ **/
432
+ pendingLockExpirations: AugmentedQuery<
433
+ ApiType,
434
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>,
435
+ [u64]
436
+ >;
370
437
  /**
371
438
  * Cosigned partial releases awaiting confirmation on Bitcoin.
372
439
  **/
@@ -612,9 +679,9 @@ declare module '@polkadot/api-base/types/storage' {
612
679
  activeGlobalIssuanceCouncilByDestinationChain: AugmentedQuery<
613
680
  ApiType,
614
681
  (
615
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
682
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
616
683
  ) => Observable<Option<H256>>,
617
- [PalletCrosschainTransferSourceChain]
684
+ [ArgonPrimitivesGatewaySourceChain]
618
685
  >;
619
686
  /**
620
687
  * Config accepted for each supported source chain.
@@ -622,9 +689,9 @@ declare module '@polkadot/api-base/types/storage' {
622
689
  chainConfigBySourceChain: AugmentedQuery<
623
690
  ApiType,
624
691
  (
625
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
692
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
626
693
  ) => Observable<Option<PalletCrosschainTransferChainConfig>>,
627
- [PalletCrosschainTransferSourceChain]
694
+ [ArgonPrimitivesGatewaySourceChain]
628
695
  >;
629
696
  /**
630
697
  * Latest council approval queue nonce signed by this account for one destination chain.
@@ -632,10 +699,10 @@ declare module '@polkadot/api-base/types/storage' {
632
699
  councilApprovalCursorByDestinationChainAndAccountId: AugmentedQuery<
633
700
  ApiType,
634
701
  (
635
- arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
702
+ arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
636
703
  arg2: AccountId32 | string | Uint8Array,
637
704
  ) => Observable<Option<u64>>,
638
- [PalletCrosschainTransferSourceChain, AccountId32]
705
+ [ArgonPrimitivesGatewaySourceChain, AccountId32]
639
706
  >;
640
707
  /**
641
708
  * The ordered outbound council approval queue for each destination chain.
@@ -643,10 +710,10 @@ declare module '@polkadot/api-base/types/storage' {
643
710
  councilApprovalQueueByDestinationChainAndNonce: AugmentedQuery<
644
711
  ApiType,
645
712
  (
646
- arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
713
+ arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
647
714
  arg2: u64 | AnyNumber | Uint8Array,
648
715
  ) => Observable<Option<PalletCrosschainTransferCouncilApprovalQueueEntry>>,
649
- [PalletCrosschainTransferSourceChain, u64]
716
+ [ArgonPrimitivesGatewaySourceChain, u64]
650
717
  >;
651
718
  /**
652
719
  * The registered council signer for each account on each destination chain.
@@ -654,10 +721,10 @@ declare module '@polkadot/api-base/types/storage' {
654
721
  councilSignerByDestinationChainAndAccountId: AugmentedQuery<
655
722
  ApiType,
656
723
  (
657
- arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
724
+ arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
658
725
  arg2: AccountId32 | string | Uint8Array,
659
726
  ) => Observable<Option<H160>>,
660
- [PalletCrosschainTransferSourceChain, AccountId32]
727
+ [ArgonPrimitivesGatewaySourceChain, AccountId32]
661
728
  >;
662
729
  /**
663
730
  * Conservative transfer-out conversion rate currently quoted for each destination chain.
@@ -665,9 +732,9 @@ declare module '@polkadot/api-base/types/storage' {
665
732
  currentTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
666
733
  ApiType,
667
734
  (
668
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
735
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
669
736
  ) => Observable<Option<u128>>,
670
- [PalletCrosschainTransferSourceChain]
737
+ [ArgonPrimitivesGatewaySourceChain]
671
738
  >;
672
739
  /**
673
740
  * Latest proven gateway activity snapshot for each source chain.
@@ -675,9 +742,9 @@ declare module '@polkadot/api-base/types/storage' {
675
742
  gatewayStateBySourceChain: AugmentedQuery<
676
743
  ApiType,
677
744
  (
678
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
679
- ) => Observable<Option<PalletCrosschainTransferGatewayState>>,
680
- [PalletCrosschainTransferSourceChain]
745
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
746
+ ) => Observable<Option<ArgonPrimitivesGatewayGatewayState>>,
747
+ [ArgonPrimitivesGatewaySourceChain]
681
748
  >;
682
749
  /**
683
750
  * Pause state recorded when a canonical gateway activity cannot be applied safely.
@@ -685,9 +752,9 @@ declare module '@polkadot/api-base/types/storage' {
685
752
  gatewaySyncPauseBySourceChain: AugmentedQuery<
686
753
  ApiType,
687
754
  (
688
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
755
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
689
756
  ) => Observable<Option<PalletCrosschainTransferGatewaySyncPause>>,
690
- [PalletCrosschainTransferSourceChain]
757
+ [ArgonPrimitivesGatewaySourceChain]
691
758
  >;
692
759
  /**
693
760
  * Historical Global Issuance Council snapshots keyed by their signer-ordered council hash.
@@ -706,9 +773,9 @@ declare module '@polkadot/api-base/types/storage' {
706
773
  latestQueuedCouncilHashByDestinationChain: AugmentedQuery<
707
774
  ApiType,
708
775
  (
709
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
776
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
710
777
  ) => Observable<Option<H256>>,
711
- [PalletCrosschainTransferSourceChain]
778
+ [ArgonPrimitivesGatewaySourceChain]
712
779
  >;
713
780
  /**
714
781
  * Per-chain override for the minimum normalized microgon value required to register a
@@ -717,9 +784,9 @@ declare module '@polkadot/api-base/types/storage' {
717
784
  minimumMintingAuthorityValueByDestinationChain: AugmentedQuery<
718
785
  ApiType,
719
786
  (
720
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
787
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
721
788
  ) => Observable<u128>,
722
- [PalletCrosschainTransferSourceChain]
789
+ [ArgonPrimitivesGatewaySourceChain]
723
790
  >;
724
791
  /**
725
792
  * Local Minting Authority records keyed by their destination signing key.
@@ -738,9 +805,9 @@ declare module '@polkadot/api-base/types/storage' {
738
805
  mintingAuthorityActivationRepaymentPricingByDestinationChain: AugmentedQuery<
739
806
  ApiType,
740
807
  (
741
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
808
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
742
809
  ) => Observable<Option<PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing>>,
743
- [PalletCrosschainTransferSourceChain]
810
+ [ArgonPrimitivesGatewaySourceChain]
744
811
  >;
745
812
  /**
746
813
  * The next outbound approval-queue nonce to assign on each destination chain.
@@ -748,9 +815,9 @@ declare module '@polkadot/api-base/types/storage' {
748
815
  nextCouncilApprovalQueueNonceByDestinationChain: AugmentedQuery<
749
816
  ApiType,
750
817
  (
751
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
818
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
752
819
  ) => Observable<u64>,
753
- [PalletCrosschainTransferSourceChain]
820
+ [ArgonPrimitivesGatewaySourceChain]
754
821
  >;
755
822
  /**
756
823
  * First frame where a new council snapshot may be added to a chain's approval queue.
@@ -758,9 +825,9 @@ declare module '@polkadot/api-base/types/storage' {
758
825
  nextCouncilRotationFrameByDestinationChain: AugmentedQuery<
759
826
  ApiType,
760
827
  (
761
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
828
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
762
829
  ) => Observable<Option<u64>>,
763
- [PalletCrosschainTransferSourceChain]
830
+ [ArgonPrimitivesGatewaySourceChain]
764
831
  >;
765
832
  /**
766
833
  * Next outbound transfer nonce for each sending account.
@@ -776,9 +843,9 @@ declare module '@polkadot/api-base/types/storage' {
776
843
  nonTerminalTransferOutCountByDestinationChain: AugmentedQuery<
777
844
  ApiType,
778
845
  (
779
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
846
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
780
847
  ) => Observable<u32>,
781
- [PalletCrosschainTransferSourceChain]
848
+ [ArgonPrimitivesGatewaySourceChain]
782
849
  >;
783
850
  /**
784
851
  * Collateralization requests still open on each destination chain.
@@ -786,9 +853,9 @@ declare module '@polkadot/api-base/types/storage' {
786
853
  pendingCollateralizationRequestsByChain: AugmentedQuery<
787
854
  ApiType,
788
855
  (
789
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
856
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
790
857
  ) => Observable<Vec<PalletCrosschainTransferTransferOutPendingCollateralizationRequest>>,
791
- [PalletCrosschainTransferSourceChain]
858
+ [ArgonPrimitivesGatewaySourceChain]
792
859
  >;
793
860
  /**
794
861
  * A staged council signer rotation for the next council activation on each destination chain.
@@ -796,10 +863,10 @@ declare module '@polkadot/api-base/types/storage' {
796
863
  pendingCouncilSignerByDestinationChainAndAccountId: AugmentedQuery<
797
864
  ApiType,
798
865
  (
799
- arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
866
+ arg1: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
800
867
  arg2: AccountId32 | string | Uint8Array,
801
868
  ) => Observable<Option<H160>>,
802
- [PalletCrosschainTransferSourceChain, AccountId32]
869
+ [ArgonPrimitivesGatewaySourceChain, AccountId32]
803
870
  >;
804
871
  /**
805
872
  * Pending outbound principal by destination chain.
@@ -807,9 +874,9 @@ declare module '@polkadot/api-base/types/storage' {
807
874
  pendingTransferOutCirculationByDestinationChain: AugmentedQuery<
808
875
  ApiType,
809
876
  (
810
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
877
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
811
878
  ) => Observable<PalletCrosschainTransferSourceChainCirculation>,
812
- [PalletCrosschainTransferSourceChain]
879
+ [ArgonPrimitivesGatewaySourceChain]
813
880
  >;
814
881
  /**
815
882
  * Immediately previous transfer-out conversion rate still accepted while the floor ratchets
@@ -818,9 +885,9 @@ declare module '@polkadot/api-base/types/storage' {
818
885
  previousTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
819
886
  ApiType,
820
887
  (
821
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
888
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
822
889
  ) => Observable<Option<u128>>,
823
- [PalletCrosschainTransferSourceChain]
890
+ [ArgonPrimitivesGatewaySourceChain]
824
891
  >;
825
892
  /**
826
893
  * Outbound transfers by transfer id.
@@ -839,9 +906,9 @@ declare module '@polkadot/api-base/types/storage' {
839
906
  transferOutQuoteMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
840
907
  ApiType,
841
908
  (
842
- arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
909
+ arg: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
843
910
  ) => Observable<Option<u128>>,
844
- [PalletCrosschainTransferSourceChain]
911
+ [ArgonPrimitivesGatewaySourceChain]
845
912
  >;
846
913
  /**
847
914
  * Cumulative inbound and outbound transfer totals for each local account.
@@ -895,6 +962,15 @@ declare module '@polkadot/api-base/types/storage' {
895
962
  () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
896
963
  []
897
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
+ >;
898
974
  /**
899
975
  * Retained execution-layer header anchors by execution block hash.
900
976
  **/
@@ -1088,6 +1164,11 @@ declare module '@polkadot/api-base/types/storage' {
1088
1164
  * Argonots that must be locked to take a Miner role
1089
1165
  **/
1090
1166
  argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1167
+ auctionAdmissionClosed: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1168
+ /**
1169
+ * Zero on fresh chains. Upgrades finish the deployed fixed-price auction first.
1170
+ **/
1171
+ auctionRulesStartAt: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1091
1172
  /**
1092
1173
  * Winning bid totals and seat counts for averaging prices over the last 10 frames (newest
1093
1174
  * first).
@@ -1097,6 +1178,14 @@ declare module '@polkadot/api-base/types/storage' {
1097
1178
  () => Observable<Vec<PalletMiningSlotSeatPriceStats>>,
1098
1179
  []
1099
1180
  >;
1181
+ /**
1182
+ * Vector position is canonical commitment order, including calls inside utility batches.
1183
+ **/
1184
+ bidBatches: AugmentedQuery<
1185
+ ApiType,
1186
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>,
1187
+ [u32]
1188
+ >;
1100
1189
  /**
1101
1190
  * The cohort set to go into effect in the next slot. The Vec has all
1102
1191
  * registrants with their bid amount
@@ -1118,9 +1207,14 @@ declare module '@polkadot/api-base/types/storage' {
1118
1207
  * The previous 10 frame start ticks
1119
1208
  **/
1120
1209
  frameStartTicks: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
1210
+ /**
1211
+ * Whether the current auction has an accepted price, including a valid zero price.
1212
+ **/
1213
+ hasAcceptedBidPrice: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1121
1214
  hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1122
1215
  /**
1123
- * The number of bids per slot for the last 10 slots (newest first)
1216
+ * Bid activity and accepted prices for the last 10 auctions (newest first).
1217
+ * Activity counts committed submissions and automatic standing-bid price increases.
1124
1218
  **/
1125
1219
  historicalBidsPerSlot: AugmentedQuery<
1126
1220
  ApiType,
@@ -1131,6 +1225,7 @@ declare module '@polkadot/api-base/types/storage' {
1131
1225
  * Is the next slot still open for bids
1132
1226
  **/
1133
1227
  isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1228
+ lastBidBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1134
1229
  /**
1135
1230
  * This is a lookup of each miner's nonce to use when picking a best authority to submit a
1136
1231
  * block. It's a blake2 256 hash of the miner account id and the block hash at time of
@@ -1172,6 +1267,11 @@ declare module '@polkadot/api-base/types/storage' {
1172
1267
  * cohorts.
1173
1268
  **/
1174
1269
  nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1270
+ pendingBids: AugmentedQuery<
1271
+ ApiType,
1272
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotPendingBid>>,
1273
+ [AccountId32]
1274
+ >;
1175
1275
  /**
1176
1276
  * The miners released in the last block (only kept for a single block)
1177
1277
  **/
@@ -1190,6 +1290,11 @@ declare module '@polkadot/api-base/types/storage' {
1190
1290
  () => Observable<BTreeMap<u64, u32>>,
1191
1291
  []
1192
1292
  >;
1293
+ standingBids: AugmentedQuery<
1294
+ ApiType,
1295
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotStandingBid>>,
1296
+ [AccountId32]
1297
+ >;
1193
1298
  /**
1194
1299
  * Temporary store the frame info digest
1195
1300
  **/
@@ -1501,7 +1606,7 @@ declare module '@polkadot/api-base/types/storage' {
1501
1606
  /**
1502
1607
  * Stores the active price index
1503
1608
  **/
1504
- current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1609
+ current: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
1505
1610
  /**
1506
1611
  * Stores the latest submitted Ethereum pricing.
1507
1612
  **/
@@ -1553,7 +1658,7 @@ declare module '@polkadot/api-base/types/storage' {
1553
1658
  /**
1554
1659
  * Stores the last valid price index
1555
1660
  **/
1556
- lastValid: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1661
+ lastValid: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
1557
1662
  /**
1558
1663
  * The price index operator account
1559
1664
  **/
@@ -1582,6 +1687,195 @@ declare module '@polkadot/api-base/types/storage' {
1582
1687
  [AccountId32]
1583
1688
  >;
1584
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
+ };
1585
1879
  sudo: {
1586
1880
  /**
1587
1881
  * The `AccountId` of the sudo key.
@@ -1782,6 +2076,21 @@ declare module '@polkadot/api-base/types/storage' {
1782
2076
  () => Observable<Vec<PalletTreasuryBondLotSummary>>,
1783
2077
  []
1784
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
+ >;
1785
2094
  /**
1786
2095
  * The stored state for each bond lot.
1787
2096
  **/
@@ -1833,6 +2142,14 @@ declare module '@polkadot/api-base/types/storage' {
1833
2142
  () => Observable<Option<PalletTreasuryFrameArgonotBondParticipants>>,
1834
2143
  []
1835
2144
  >;
2145
+ /**
2146
+ * Covered Bitcoin locked alongside vault capital for frames using independent reward tiers.
2147
+ **/
2148
+ currentFrameVaultBitcoin: AugmentedQuery<
2149
+ ApiType,
2150
+ () => Observable<Option<PalletTreasuryFrameVaultBitcoin>>,
2151
+ []
2152
+ >;
1836
2153
  /**
1837
2154
  * The network bond total and vault capital locked for the current frame's payout.
1838
2155
  **/
@@ -1866,6 +2183,21 @@ declare module '@polkadot/api-base/types/storage' {
1866
2183
  * The next bond lot id.
1867
2184
  **/
1868
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
+ >;
1869
2201
  /**
1870
2202
  * The oldest frame that still has bond lots to retry releasing.
1871
2203
  **/
@@ -1878,6 +2210,14 @@ declare module '@polkadot/api-base/types/storage' {
1878
2210
  (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
1879
2211
  [u64]
1880
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
+ >;
1881
2221
  /**
1882
2222
  * Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
1883
2223
  **/
@@ -1887,15 +2227,20 @@ declare module '@polkadot/api-base/types/storage' {
1887
2227
  * limit.
1888
2228
  **/
1889
2229
  totalArgonBondLots: AugmentedQuery<ApiType, () => Observable<u32>, []>;
2230
+ /**
2231
+ * Share of reward uplift controlled by upstream participation, frozen at frame start.
2232
+ * Zero disables the requirement; 100% applies the full participation score.
2233
+ **/
2234
+ upstreamParticipationFactor: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
1890
2235
  };
1891
2236
  treasuryPositions: {
1892
2237
  /**
1893
- * Maintained network quantities, updated together with their account contributions.
1894
- * Treasury reads these when freezing frame inputs. This replaces its live Argonot stake total.
2238
+ * Account contribution totals and Vault Bitcoin coverage, maintained as sources change.
2239
+ * Treasury freezes these network quantities at each frame boundary.
1895
2240
  **/
1896
2241
  networkTotals: AugmentedQuery<
1897
2242
  ApiType,
1898
- () => Observable<ArgonPrimitivesTreasuryPositionQuantities>,
2243
+ () => Observable<ArgonPrimitivesTreasuryNetworkPositionQuantities>,
1899
2244
  []
1900
2245
  >;
1901
2246
  /**
@@ -2016,12 +2361,12 @@ declare module '@polkadot/api-base/types/storage' {
2016
2361
  ApiType,
2017
2362
  (
2018
2363
  arg:
2019
- | ArgonPrimitivesAmountRankAmountRankKey
2364
+ | ArgonPrimitivesAmountRankAmountRankKeyU32
2020
2365
  | { descendingAmount?: any; orderedId?: any }
2021
2366
  | string
2022
2367
  | Uint8Array,
2023
2368
  ) => Observable<Option<Null>>,
2024
- [ArgonPrimitivesAmountRankAmountRankKey]
2369
+ [ArgonPrimitivesAmountRankAmountRankKeyU32]
2025
2370
  >;
2026
2371
  /**
2027
2372
  * Vault Bitcoin Xpub and current child counter by VaultId