@argonprotocol/mainchain 1.6.0-dev.63af99c7 → 1.6.0-dev.b6758225

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argonprotocol/mainchain",
3
- "version": "1.6.0-dev.63af99c7",
3
+ "version": "1.6.0-dev.b6758225",
4
4
  "description": "A client for accessing the Argon mainchain apis.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "devDependencies": {
74
74
  "@argonprotocol/ethereum-contracts": "workspace:*",
75
- "@argonprotocol/testing": "1.6.0-dev.63af99c7",
75
+ "@argonprotocol/testing": "1.6.0-dev.b6758225",
76
76
  "@polkadot/typegen": "^17.0.1",
77
77
  "@substrate/ss58-registry": "^1.51.0",
78
78
  "@types/node": "^20",
@@ -601,10 +601,39 @@ declare module '@polkadot/api-base/types/consts' {
601
601
  };
602
602
  stabilizerPools: {
603
603
  /**
604
- * Opening references retained in financial-day frames, including the checkpoint buffer.
605
- * Zero disables history. Both production runtimes retain 30 frames plus a 3-frame buffer.
604
+ * Frames available to collect after Treasury finalizes the reward rate.
606
605
  **/
607
- maxFramePriceHistoryFrames: u32 & AugmentedConst<ApiType>;
606
+ claimWindowFrames: u32 & AugmentedConst<ApiType>;
607
+ /**
608
+ * Maximum Ethereum handoff gap in milliseconds; finality and relay waits are excluded.
609
+ **/
610
+ continuationGraceMillis: u64 & AugmentedConst<ApiType>;
611
+ /**
612
+ * Maximum beneficiary slots, including reported NFTs held for recovery or collection.
613
+ **/
614
+ maxPositionsPerAccount: u32 & AugmentedConst<ApiType>;
615
+ /**
616
+ * Maximum number of time buckets used to sample one frame. Zero disables sampling.
617
+ **/
618
+ maxPriceBucketsPerFrame: u32 & AugmentedConst<ApiType>;
619
+ /**
620
+ * Closed mining frames retained in the sampled Uniswap price history.
621
+ **/
622
+ maxSampledPriceHistoryFrames: u32 & AugmentedConst<ApiType>;
623
+ /**
624
+ * Minimum share of Mainchain ticks with a valid price in each bucket. Even at zero,
625
+ * each bucket needs a sample to calculate its mean.
626
+ **/
627
+ minPriceBucketCoverage: Percent & AugmentedConst<ApiType>;
628
+ /**
629
+ * Lower and upper reward price boundaries, as percentages of the ARGON USD target.
630
+ * The lower boundary must be positive and strictly below the upper boundary.
631
+ **/
632
+ rewardPriceBand: ITuple<[Percent, Percent]> & AugmentedConst<ApiType>;
633
+ /**
634
+ * Share of rewards assigned to USDC principal. ARGON receives the remainder.
635
+ **/
636
+ usdcRewardShare: Percent & AugmentedConst<ApiType>;
608
637
  };
609
638
  system: {
610
639
  /**
@@ -676,13 +705,17 @@ declare module '@polkadot/api-base/types/consts' {
676
705
  treasury: {
677
706
  /**
678
707
  * Maximum rewarded Argonot value as a multiple of the vault's Argon securitization.
679
- * Zero disables Argonot backing requirements and bonuses.
708
+ * The reward weight is configured separately by `ArgonotParticipationFactor`.
680
709
  **/
681
710
  argonotSecuritizationMultiplier: u32 & AugmentedConst<ApiType>;
682
711
  /**
683
712
  * Default percent of maximum Bitcoin-mintable Argons targeted by the network.
684
713
  **/
685
714
  defaultTargetBitcoinPercent: Percent & AugmentedConst<ApiType>;
715
+ /**
716
+ * Default circulating ARGON fraction used as the stabilizer pool reward reference.
717
+ **/
718
+ defaultTargetStabilizerPoolPercent: Percent & AugmentedConst<ApiType>;
686
719
  /**
687
720
  * The maximum number of active Argonot bond lots.
688
721
  **/
@@ -730,35 +763,45 @@ declare module '@polkadot/api-base/types/consts' {
730
763
  **/
731
764
  percentForArgonBondPool: Percent & AugmentedConst<ApiType>;
732
765
  /**
733
- * Percent reserved for Bitcoin Liquids and burned in this release.
766
+ * Percent credited to the Bitcoin Liquids reserve.
734
767
  **/
735
768
  percentForBitcoinLiquidPool: Percent & AugmentedConst<ApiType>;
769
+ /**
770
+ * Percent of the bid pool held for marketing rewards.
771
+ **/
772
+ percentForMarketing: Percent & AugmentedConst<ApiType>;
736
773
  /**
737
774
  * Percent reserved for future mining-operator rewards and burned in this release.
738
775
  **/
739
776
  percentForMiningOperatorPool: Percent & AugmentedConst<ApiType>;
740
777
  /**
741
- * Percent of the full bid pool paid to Argonot Stakes.
778
+ * Percent credited to the stabilizer pool rewards reserve.
742
779
  **/
743
- percentForStakePool: Percent & AugmentedConst<ApiType>;
780
+ percentForStabilizerPool: Percent & AugmentedConst<ApiType>;
744
781
  /**
745
- * Percent of the bid pool reserved for treasury reserves.
782
+ * Percent of the full bid pool paid to Argonot Stakes.
746
783
  **/
747
- percentForTreasuryReserves: Percent & AugmentedConst<ApiType>;
784
+ percentForStakePool: Percent & AugmentedConst<ApiType>;
748
785
  /**
749
786
  * Maximum percent paid to vaults when the network target is filled.
750
787
  **/
751
788
  percentForVaultPool: Percent & AugmentedConst<ApiType>;
789
+ /**
790
+ * Retain each frame's financial terms through funding and the collection window.
791
+ **/
792
+ stabilizerPoolRewardHistoryFrames: u32 & AugmentedConst<ApiType>;
752
793
  /**
753
794
  * The number of frames a releasing bond lot remains held before release.
754
795
  **/
755
796
  treasuryExitDelayFrames: u64 & AugmentedConst<ApiType>;
756
797
  /**
757
- * Account that holds treasury reserves for claims and reserve-funded payouts.
798
+ * Funded upstream Bitcoin securitization, in microgons, required for full Bitcoin credit.
758
799
  **/
759
- treasuryReservesAccount: AccountId32 & AugmentedConst<ApiType>;
760
800
  upstreamBitcoinTarget: u128 & AugmentedConst<ApiType>;
761
801
  upstreamBitcoinWeight: Permill & AugmentedConst<ApiType>;
802
+ /**
803
+ * Upstream bond principal, in microgons, required for full bond credit.
804
+ **/
762
805
  upstreamBondTarget: u128 & AugmentedConst<ApiType>;
763
806
  /**
764
807
  * Maximum share of the full bid pool paid for vault Bitcoin participation.
@@ -1517,6 +1517,23 @@ declare module '@polkadot/api-base/types/errors' {
1517
1517
  PayoutNotReady: AugmentedError<ApiType>;
1518
1518
  };
1519
1519
  stabilizerPools: {
1520
+ /**
1521
+ * The registered position cannot be valued at the frame's sampled pool price.
1522
+ **/
1523
+ ClaimValuationFailed: AugmentedError<ApiType>;
1524
+ /**
1525
+ * Another handoff already consumed a frame touched by this transition.
1526
+ **/
1527
+ ContinuationAlreadyUsed: AugmentedError<ApiType>;
1528
+ /**
1529
+ * The Ethereum gap exceeds the configured allowance, or continuation is disabled.
1530
+ **/
1531
+ ContinuationGraceExceeded: AugmentedError<ApiType>;
1532
+ /**
1533
+ * The source frame is too old, the replacement proof is in the future, or report recovery
1534
+ * has expired.
1535
+ **/
1536
+ ContinuationTooLate: AugmentedError<ApiType>;
1520
1537
  /**
1521
1538
  * The three account witnesses do not contain identical execution-block proofs.
1522
1539
  **/
@@ -1527,8 +1544,8 @@ declare module '@polkadot/api-base/types/errors' {
1527
1544
  **/
1528
1545
  InvalidPool: AugmentedError<ApiType>;
1529
1546
  /**
1530
- * The packed PoolId mismatches, ticks are invalid/misaligned, or liquidity exceeds
1531
- * uint128.
1547
+ * The pool or PositionManager identity mismatches, ticks are invalid/misaligned,
1548
+ * or liquidity exceeds uint128.
1532
1549
  **/
1533
1550
  InvalidPosition: AugmentedError<ApiType>;
1534
1551
  /**
@@ -1546,7 +1563,7 @@ declare module '@polkadot/api-base/types/errors' {
1546
1563
  **/
1547
1564
  InvalidSubscription: AugmentedError<ApiType>;
1548
1565
  /**
1549
- * The signer does not match the beneficiary encoded in the subscription witness.
1566
+ * The signer does not match the beneficiary of the position.
1550
1567
  **/
1551
1568
  NotBeneficiary: AugmentedError<ApiType>;
1552
1569
  /**
@@ -1557,11 +1574,35 @@ declare module '@polkadot/api-base/types/errors' {
1557
1574
  * No approved configuration exists for the supplied PoolManager/PoolId pair.
1558
1575
  **/
1559
1576
  PoolNotRegistered: AugmentedError<ApiType>;
1577
+ /**
1578
+ * The replacement NFT has previous Mainchain checkpoint history.
1579
+ **/
1580
+ PositionAlreadyCheckpointed: AugmentedError<ApiType>;
1560
1581
  /**
1561
1582
  * Beneficiary, subscriber, pool, tick range, or liquidity changed without a revision
1562
1583
  * increase.
1563
1584
  **/
1564
1585
  PositionChangedWithoutRevision: AugmentedError<ApiType>;
1586
+ /**
1587
+ * The authenticated state still has the registered revision or subscription.
1588
+ **/
1589
+ PositionChangeNotProven: AugmentedError<ApiType>;
1590
+ /**
1591
+ * The enrollment, recoverable report, account slot, or required checkpoint is missing.
1592
+ **/
1593
+ PositionNotEnrolled: AugmentedError<ApiType>;
1594
+ /**
1595
+ * The source NFT's packed position slot is not proven zero at the replacement block.
1596
+ **/
1597
+ PositionNotRetired: AugmentedError<ApiType>;
1598
+ /**
1599
+ * New enrollment or increased liquidity would be admitted below the ARGON target price.
1600
+ **/
1601
+ PriceBelowTarget: AugmentedError<ApiType>;
1602
+ /**
1603
+ * Current market or target quotes are unavailable, or the target is zero.
1604
+ **/
1605
+ PriceUnavailable: AugmentedError<ApiType>;
1565
1606
  /**
1566
1607
  * The subscriber revision is lower than the NFT's last accepted revision.
1567
1608
  **/
@@ -1570,6 +1611,19 @@ declare module '@polkadot/api-base/types/errors' {
1570
1611
  * Ethereum block height or time does not strictly advance past the stored checkpoint.
1571
1612
  **/
1572
1613
  StaleCheckpoint: AugmentedError<ApiType>;
1614
+ /**
1615
+ * The active frame is tracking its maximum number of distinct band changes. A proof
1616
+ * needs no pending entry when the Ethereum handoff frame has already closed.
1617
+ **/
1618
+ TooManyPendingBandChanges: AugmentedError<ApiType>;
1619
+ /**
1620
+ * Unpaid history cannot fit within the retained frame bound.
1621
+ **/
1622
+ TooManyPositionPeriods: AugmentedError<ApiType>;
1623
+ /**
1624
+ * The beneficiary already has the maximum number of enrolled NFTs.
1625
+ **/
1626
+ TooManyPositions: AugmentedError<ApiType>;
1573
1627
  };
1574
1628
  sudo: {
1575
1629
  /**
@@ -1695,6 +1749,10 @@ declare module '@polkadot/api-base/types/errors' {
1695
1749
  * The bonus approval signature is invalid or unauthorized.
1696
1750
  **/
1697
1751
  InvalidBonusApprovalSignature: AugmentedError<ApiType>;
1752
+ /**
1753
+ * A reward target or the price adjustment window is invalid.
1754
+ **/
1755
+ InvalidRewardTaperingPolicy: AugmentedError<ApiType>;
1698
1756
  /**
1699
1757
  * The network has reached the direct-payout vault bond lot admission limit.
1700
1758
  **/
@@ -1715,6 +1773,10 @@ declare module '@polkadot/api-base/types/errors' {
1715
1773
  * The caller does not own the bond lot.
1716
1774
  **/
1717
1775
  NotBondLotOwner: AugmentedError<ApiType>;
1776
+ /**
1777
+ * A requested reward frame has yet to finalize its rate.
1778
+ **/
1779
+ StabilizerPoolClaimNotReady: AugmentedError<ApiType>;
1718
1780
  /**
1719
1781
  * The vault is not accepting bond purchases.
1720
1782
  **/
@@ -8,7 +8,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
8
8
  import type { Bytes, Compact, Null, Option, Result, U256, U8aFixed, Vec, bool, i128, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
9
9
  import type { ITuple } from '@polkadot/types-codec/types';
10
10
  import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
11
- import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesGatewayGatewayState, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersOperationalRewardKind, ArgonPrimitivesVaultBitcoinSecuritizationBasis, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferCouncilApprovalTargetId, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferSwapPurchaseEvidence, PalletCrosschainTransferTransferToArgonActivity, PalletDomainsDomainRegistration, PalletEthereumVerifierBasicOperatingMode, PalletMintMintType, PalletMultisigTimepoint, PalletProxyDepositKind, PalletStabilizerBuysIneligibleReason, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsCheckpointOutcome, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletTreasuryBondProgramId, PalletTreasuryBondReleaseReason, PalletTreasuryRewardReserveBalances, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } from '@polkadot/types/lookup';
11
+ import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumProofBlock, ArgonPrimitivesGatewayGatewayState, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersOperationalRewardKind, ArgonPrimitivesVaultBitcoinSecuritizationBasis, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferCouncilApprovalTargetId, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferSwapPurchaseEvidence, PalletCrosschainTransferTransferToArgonActivity, PalletDomainsDomainRegistration, PalletEthereumVerifierBasicOperatingMode, PalletMintMintType, PalletMultisigTimepoint, PalletProxyDepositKind, PalletStabilizerBuysIneligibleReason, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsCheckpointOutcome, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletStabilizerPoolsStabilizerPoolPositionId, PalletTreasuryBondProgramId, PalletTreasuryBondReleaseReason, PalletTreasuryPositionsCollectAmounts, PalletTreasuryRewardReserveBalances, PalletTreasuryTaperingPolicy, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } from '@polkadot/types/lookup';
12
12
 
13
13
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
14
14
 
@@ -737,7 +737,9 @@ declare module '@polkadot/api-base/types/events' {
737
737
  };
738
738
  stabilizerPools: {
739
739
  PoolRegistered: AugmentedEvent<ApiType, [poolManager: H160, poolId: H256, config: PalletStabilizerPoolsPoolConfig], { poolManager: H160, poolId: H256, config: PalletStabilizerPoolsPoolConfig }>;
740
+ PositionChangeReported: AugmentedEvent<ApiType, [position: PalletStabilizerPoolsStabilizerPoolPositionId, observedAt: ArgonPrimitivesEthereumEthereumProofBlock], { position: PalletStabilizerPoolsStabilizerPoolPositionId, observedAt: ArgonPrimitivesEthereumEthereumProofBlock }>;
740
741
  PositionCheckpointed: AugmentedEvent<ApiType, [positionManager: H160, tokenId: U256, checkpoint: PalletStabilizerPoolsPositionCheckpoint, outcome: PalletStabilizerPoolsCheckpointOutcome], { positionManager: H160, tokenId: U256, checkpoint: PalletStabilizerPoolsPositionCheckpoint, outcome: PalletStabilizerPoolsCheckpointOutcome }>;
742
+ PositionContinued: AugmentedEvent<ApiType, [position: PalletStabilizerPoolsStabilizerPoolPositionId, replacement: PalletStabilizerPoolsStabilizerPoolPositionId, firstEligibleFrameId: u64], { position: PalletStabilizerPoolsStabilizerPoolPositionId, replacement: PalletStabilizerPoolsStabilizerPoolPositionId, firstEligibleFrameId: u64 }>;
741
743
  };
742
744
  sudo: {
743
745
  /**
@@ -817,10 +819,6 @@ declare module '@polkadot/api-base/types/events' {
817
819
  * A bond lot was removed from future frames and scheduled for release.
818
820
  **/
819
821
  BondLotReleaseScheduled: AugmentedEvent<ApiType, [programId: PalletTreasuryBondProgramId, bondLotId: u64, accountId: AccountId32, bonds: u32, releaseFrameId: u64, reason: PalletTreasuryBondReleaseReason], { programId: PalletTreasuryBondProgramId, bondLotId: u64, accountId: AccountId32, bonds: u32, releaseFrameId: u64, reason: PalletTreasuryBondReleaseReason }>;
820
- /**
821
- * A fixed or unearned reward allocation could not be burned.
822
- **/
823
- CouldNotBurnRewardAllocation: AugmentedEvent<ApiType, [frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError], { frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError }>;
824
822
  /**
825
823
  * An error occurred while paying frame earnings for an Argonot bond lot.
826
824
  **/
@@ -829,6 +827,14 @@ declare module '@polkadot/api-base/types/events' {
829
827
  * An error occurred while paying frame earnings for a bond lot.
830
828
  **/
831
829
  CouldNotDistributeEarningsToBondLot: AugmentedEvent<ApiType, [frameId: u64, vaultId: u32, bondLotId: u64, accountId: AccountId32, amount: u128, dispatchError: SpRuntimeDispatchError], { frameId: u64, vaultId: u32, bondLotId: u64, accountId: AccountId32, amount: u128, dispatchError: SpRuntimeDispatchError }>;
830
+ /**
831
+ * Bid revenue could not be withdrawn for frame distribution.
832
+ **/
833
+ CouldNotFundBidPool: AugmentedEvent<ApiType, [frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError], { frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError }>;
834
+ /**
835
+ * A reserve top-up could not be added to the frame reward funding.
836
+ **/
837
+ CouldNotFundReserveTopup: AugmentedEvent<ApiType, [frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError], { frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError }>;
832
838
  /**
833
839
  * An error occurred while releasing a bond lot.
834
840
  **/
@@ -837,10 +843,6 @@ declare module '@polkadot/api-base/types/events' {
837
843
  * Settlement rolled back and remains queued for a later block.
838
844
  **/
839
845
  CouldNotSettleBondCollateral: AugmentedEvent<ApiType, [accountId: AccountId32, dispatchError: SpRuntimeDispatchError], { accountId: AccountId32, dispatchError: SpRuntimeDispatchError }>;
840
- /**
841
- * An error occurred while moving bid-pool funds into treasury reserves.
842
- **/
843
- CouldNotTransferToTreasuryReserves: AugmentedEvent<ApiType, [frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError], { frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError }>;
844
846
  /**
845
847
  * Encumbered treasury backing was burned and any no-longer-needed fractional hold was
846
848
  * returned.
@@ -849,14 +851,24 @@ declare module '@polkadot/api-base/types/events' {
849
851
  /**
850
852
  * Frame earnings were distributed.
851
853
  **/
852
- FrameEarningsDistributed: AugmentedEvent<ApiType, [frameId: u64, bidPoolDistributed: u128, stakePoolDistributed: u128, argonBondPoolDistributed: u128, vaultPoolDistributed: u128, burned: u128, treasuryReserves: u128, participatingVaults: u32], { frameId: u64, bidPoolDistributed: u128, stakePoolDistributed: u128, argonBondPoolDistributed: u128, vaultPoolDistributed: u128, burned: u128, treasuryReserves: u128, participatingVaults: u32 }>;
854
+ FrameEarningsDistributed: AugmentedEvent<ApiType, [frameId: u64, bidPoolDistributed: u128, stakePoolDistributed: u128, argonBondPoolDistributed: u128, vaultPoolDistributed: u128, reservedFromCirculation: u128, participatingVaults: u32], { frameId: u64, bidPoolDistributed: u128, stakePoolDistributed: u128, argonBondPoolDistributed: u128, vaultPoolDistributed: u128, reservedFromCirculation: u128, participatingVaults: u32 }>;
853
855
  /**
854
856
  * The current frame's vault capital was locked in.
855
857
  **/
856
858
  FrameVaultCapitalLocked: AugmentedEvent<ApiType, [frameId: u64, totalActiveBonds: u128, participatingVaults: u32], { frameId: u64, totalActiveBonds: u128, participatingVaults: u32 }>;
857
859
  ReservedBondSpaceChanged: AugmentedEvent<ApiType, [vaultId: u32, reservedBondSpace: u32], { vaultId: u32, reservedBondSpace: u32 }>;
858
- RewardEconomicsConfigured: AugmentedEvent<ApiType, [targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent], { targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent }>;
860
+ RewardEconomicsConfigured: AugmentedEvent<ApiType, [targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent, targetStabilizerPoolPercent: Percent, argonotParticipationFactor: Percent], { targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent, targetStabilizerPoolPercent: Percent, argonotParticipationFactor: Percent }>;
861
+ /**
862
+ * Reward reserve balances after settlement or a reserve-funded payment.
863
+ **/
859
864
  RewardReservesUpdated: AugmentedEvent<ApiType, [reserves: PalletTreasuryRewardReserveBalances], { reserves: PalletTreasuryRewardReserveBalances }>;
865
+ RewardTaperingPolicyConfigured: AugmentedEvent<ApiType, [policy: PalletTreasuryTaperingPolicy], { policy: PalletTreasuryTaperingPolicy }>;
866
+ };
867
+ treasuryPositions: {
868
+ /**
869
+ * ARGON delivered to the account, recorded by its source.
870
+ **/
871
+ Collected: AugmentedEvent<ApiType, [account: AccountId32, amounts: PalletTreasuryPositionsCollectAmounts], { account: AccountId32, amounts: PalletTreasuryPositionsCollectAmounts }>;
860
872
  };
861
873
  txPause: {
862
874
  /**
@@ -8,7 +8,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/
8
8
  import type { BTreeMap, BTreeSet, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
9
9
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
10
10
  import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
11
- import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesAmountRankAmountRankKeyAccountId32, ArgonPrimitivesAmountRankAmountRankKeyU32, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32, ArgonPrimitivesAmountRankAscendingRankKeyU64, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoAddress, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsFrameInfo, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumBeaconPreset, ArgonPrimitivesForkPower, ArgonPrimitivesGatewayGatewayState, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesPriceIndex, ArgonPrimitivesPriceIndexRValueHighWaterMark, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesTreasuryNetworkPositionQuantities, ArgonPrimitivesVault, ArgonPrimitivesVaultVaultArgonotSecuritization, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAccountSecurityPendingPolicyUpdate, PalletAccountSecurityRegistration, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinFissionsFission, PalletBitcoinFissionsLiquidTicks, PalletBitcoinLocksLockReleaseCosignHeight, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, PalletBitcoinLocksPendingPartialRelease, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAccountTransferTotals, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferTransferOutTransferOutOfArgon, PalletDomainsDomainRegistration, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletEthereumVerifierSyncCommitteePrepared, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, PalletMiningSlotBidEligibility, PalletMiningSlotMinerNonceScoring, PalletMiningSlotPendingBid, PalletMiningSlotSeatPriceStats, PalletMiningSlotStandingBid, PalletMintMintAction, PalletMintMintQueueCursor, PalletMintPendingBitcoinMint, PalletMultisigMultisig, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexArgonotAverageFrameAccumulator, PalletPriceIndexCpiMeasurementBucket, PalletPriceIndexEthereumPriceFrameAccumulator, PalletPriceIndexEthereumPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStabilizerBuysAccountFrameBuys, PalletStabilizerBuysAccountPayoutState, PalletStabilizerBuysAuction, PalletStabilizerBuysLiquidRepay, PalletStabilizerBuysPriceHistoryPriceObservation, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletTransactionPaymentReleases, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameArgonotBondParticipants, PalletTreasuryFrameVaultBitcoin, PalletTreasuryFrameVaultCapital, PalletTreasuryPendingBondCollateral, PalletTreasuryPositionsPosition, PalletTreasuryRewardReserveBalances, PalletTreasuryVaultBondState, PalletVaultsVaultFrameRevenue, SpConsensusGrandpaAppPublic, SpRuntimeDigest, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
11
+ import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesAmountRankAmountRankKeyAccountId32, ArgonPrimitivesAmountRankAmountRankKeyU32, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32, ArgonPrimitivesAmountRankAscendingRankKeyU64, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoAddress, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsFrameInfo, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumBeaconPreset, ArgonPrimitivesForkPower, ArgonPrimitivesGatewayGatewayState, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesPriceIndex, ArgonPrimitivesPriceIndexRValueHighWaterMark, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesTreasuryNetworkPositionQuantities, ArgonPrimitivesVault, ArgonPrimitivesVaultVaultArgonotSecuritization, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAccountSecurityPendingPolicyUpdate, PalletAccountSecurityRegistration, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinFissionsFission, PalletBitcoinFissionsLiquidTicks, PalletBitcoinLocksLockReleaseCosignHeight, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, PalletBitcoinLocksPendingPartialRelease, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAccountTransferTotals, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferTransferOutTransferOutOfArgon, PalletDomainsDomainRegistration, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletEthereumVerifierSyncCommitteePrepared, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, PalletMiningSlotBidEligibility, PalletMiningSlotMinerNonceScoring, PalletMiningSlotPendingBid, PalletMiningSlotSeatPriceStats, PalletMiningSlotStandingBid, PalletMintMintAction, PalletMintMintQueueCursor, PalletMintPendingBitcoinMint, PalletMultisigMultisig, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexArgonotAverageFrameAccumulator, PalletPriceIndexCpiMeasurementBucket, PalletPriceIndexEthereumPriceFrameAccumulator, PalletPriceIndexEthereumPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStabilizerBuysAccountFrameBuys, PalletStabilizerBuysAccountPayoutState, PalletStabilizerBuysAuction, PalletStabilizerBuysLiquidRepay, PalletStabilizerBuysPriceHistoryPriceObservation, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsClosedFrameRewardValue, PalletStabilizerPoolsPendingBandChange, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletStabilizerPoolsPositionContinuation, PalletStabilizerPoolsPriceHistoryStabilizerPoolFramePrice, PalletStabilizerPoolsPriceHistoryStabilizerPoolPriceSampling, PalletStabilizerPoolsStabilizerPoolLiquidityRange, PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsStabilizerPoolRangeLiquidity, PalletStabilizerPoolsStabilizerPoolRegistration, PalletTransactionPaymentReleases, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameArgonotBondParticipants, PalletTreasuryFrameArgonotParticipation, PalletTreasuryFrameRewardTaperingPolicy, PalletTreasuryFrameVaultBitcoin, PalletTreasuryFrameVaultCapital, PalletTreasuryPendingBondCollateral, PalletTreasuryPositionsPosition, PalletTreasuryRewardReserveBalances, PalletTreasuryStabilizerPoolRewardFrame, PalletTreasuryTaperingPolicy, PalletTreasuryVaultBondState, PalletVaultsVaultFrameRevenue, SpConsensusGrandpaAppPublic, SpRuntimeDigest, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
12
12
  import type { Observable } from '@polkadot/types/types';
13
13
 
14
14
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -875,7 +875,7 @@ declare module '@polkadot/api-base/types/storage' {
875
875
  **/
876
876
  currentFrameArgonotAverage: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexArgonotAverageFrameAccumulator>>, []>;
877
877
  /**
878
- * Tracks the average cpi data every 60 ticks
878
+ * CPI history in buckets of ceil(frame ticks / 24).
879
879
  **/
880
880
  historicArgonCPI: AugmentedQuery<ApiType, () => Observable<Vec<PalletPriceIndexCpiMeasurementBucket>>, []>;
881
881
  /**
@@ -915,6 +915,11 @@ declare module '@polkadot/api-base/types/storage' {
915
915
  * Execution venue eligible for purchase rewards. Unset until governance selects a pool.
916
916
  **/
917
917
  approvedPool: AugmentedQuery<ApiType, () => Observable<Option<PalletStabilizerBuysUniswapPurchasePurchasePool>>, []>;
918
+ /**
919
+ * Revision of `ApprovedPool`, updated by `set_approved_pool` when approval changes.
920
+ * The oracle reads this from the same finalized block as `ApprovedPool`.
921
+ **/
922
+ approvedPoolRevision: AugmentedQuery<ApiType, () => Observable<u32>, []>;
918
923
  /**
919
924
  * Closed auctions awaiting reward allocation, ordered by scheduled processing frame and
920
925
  * admission frame. A failed allocation moves only its queue entry; the auction retains its
@@ -977,12 +982,13 @@ declare module '@polkadot/api-base/types/storage' {
977
982
  };
978
983
  stabilizerPools: {
979
984
  /**
980
- * First current-tick price index accepted in each frame, including absent pool observations.
981
- * This is an oracle opening reference, not an exact historical Ethereum boundary proof.
982
- * Later indices cannot revalue it; frames without an observation have no entry. A new opening
983
- * reference prunes frames outside the configured window, including across oracle gaps.
985
+ * This frame's capped liquidity for handoffs whose two different bands must qualify at close.
986
+ **/
987
+ pendingBandChanges: AugmentedQuery<ApiType, () => Observable<BTreeMap<PalletStabilizerPoolsPendingBandChange, U256>>, []>;
988
+ /**
989
+ * Eligible pool value fixed at close, awaiting Treasury funding and rate finalization.
984
990
  **/
985
- frameStartPriceIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesPriceIndex>>, []>;
991
+ pendingFrameRewardValue: AugmentedQuery<ApiType, () => Observable<Option<PalletStabilizerPoolsClosedFrameRewardValue>>, []>;
986
992
  /**
987
993
  * Approved deployments on the Ethereum network authenticated by EthereumVerifier.
988
994
  * Configuration is immutable once registered, preserving checkpoint identity and layout.
@@ -992,6 +998,39 @@ declare module '@polkadot/api-base/types/storage' {
992
998
  * Last accepted checkpoint for an NFT. Keep its source-block watermark across re-enrollment.
993
999
  **/
994
1000
  positionCheckpoints: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: U256 | AnyNumber | Uint8Array) => Observable<Option<PalletStabilizerPoolsPositionCheckpoint>>, [H160, U256]>;
1001
+ /**
1002
+ * Per-position continuation history and unresolved public report, sharing one owner.
1003
+ **/
1004
+ positionContinuations: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array) => Observable<PalletStabilizerPoolsPositionContinuation>, [PalletStabilizerPoolsStabilizerPoolPositionId]>;
1005
+ /**
1006
+ * Beneficiary slots for enrolled NFTs and reported NFTs held for recovery or collection.
1007
+ **/
1008
+ positionIdsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletStabilizerPoolsStabilizerPoolPositionId>>, [AccountId32]>;
1009
+ /**
1010
+ * Sum of registered raw Uniswap liquidity at each exact pool and range.
1011
+ **/
1012
+ registeredLiquidityByRange: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolLiquidityRange | { poolManager?: any; poolId?: any; lowerUniswapTick?: any; upperUniswapTick?: any } | string | Uint8Array) => Observable<PalletStabilizerPoolsStabilizerPoolRangeLiquidity>, [PalletStabilizerPoolsStabilizerPoolLiquidityRange]>;
1013
+ /**
1014
+ * Opening block timestamp for each retained mining frame, in Unix milliseconds.
1015
+ * The opening of the next frame is the closing of this one.
1016
+ **/
1017
+ stabilizerPoolFrameStartMillis: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
1018
+ /**
1019
+ * Current sampling buckets and the latest spot observation awaiting a tick boundary.
1020
+ **/
1021
+ stabilizerPoolPriceSamplingState: AugmentedQuery<ApiType, () => Observable<PalletStabilizerPoolsPriceHistoryStabilizerPoolPriceSampling>, []>;
1022
+ /**
1023
+ * Representative Uniswap price and valuation quotes for each well-sampled closed frame.
1024
+ **/
1025
+ stabilizerPoolPricesByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, PalletStabilizerPoolsPriceHistoryStabilizerPoolFramePrice>>, []>;
1026
+ /**
1027
+ * Current reward enrollment or the latest authenticated removal for each NFT.
1028
+ **/
1029
+ stabilizerPoolRegistrations: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array) => Observable<Option<PalletStabilizerPoolsStabilizerPoolRegistration>>, [PalletStabilizerPoolsStabilizerPoolPositionId]>;
1030
+ /**
1031
+ * USDC reward share fixed for each retained frame. ARGON receives the remainder.
1032
+ **/
1033
+ stabilizerPoolRewardSharesByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, Percent>>, []>;
995
1034
  };
996
1035
  sudo: {
997
1036
  /**
@@ -1145,6 +1184,11 @@ declare module '@polkadot/api-base/types/storage' {
1145
1184
  * amounts tie.
1146
1185
  **/
1147
1186
  argonotBondLots: AugmentedQuery<ApiType, () => Observable<Vec<PalletTreasuryBondLotSummary>>, []>;
1187
+ /**
1188
+ * Share of variable vault earnings controlled by Argonot backing, applied next frame.
1189
+ * Zero disables the requirement; 100% requires full backing for variable earnings.
1190
+ **/
1191
+ argonotParticipationFactor: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
1148
1192
  /**
1149
1193
  * Accounts due for collateral settlement, ordered by retry block and owner. Each pending
1150
1194
  * account has one entry; failures move to the next block without blocking other owners.
@@ -1175,6 +1219,14 @@ declare module '@polkadot/api-base/types/storage' {
1175
1219
  * Payout uses this to see which Argonot bond lots are participating in the frame.
1176
1220
  **/
1177
1221
  currentFrameArgonotBondParticipants: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameArgonotBondParticipants>>, []>;
1222
+ /**
1223
+ * Argonot reward weight frozen with the current frame's capital.
1224
+ **/
1225
+ currentFrameArgonotParticipation: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameArgonotParticipation>>, []>;
1226
+ /**
1227
+ * Reward settings frozen before a frame starts earning. Prices are measured over that frame.
1228
+ **/
1229
+ currentFrameRewardTaperingPolicy: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameRewardTaperingPolicy>>, []>;
1178
1230
  /**
1179
1231
  * Covered Bitcoin locked alongside vault capital for frames using independent reward tiers.
1180
1232
  **/
@@ -1218,10 +1270,23 @@ declare module '@polkadot/api-base/types/storage' {
1218
1270
  * ARGON removed from circulation and available for future issuance as rewards.
1219
1271
  **/
1220
1272
  rewardReserves: AugmentedQuery<ApiType, () => Observable<PalletTreasuryRewardReserveBalances>, []>;
1273
+ /**
1274
+ * Configured daily reward targets and the share paid above each target.
1275
+ **/
1276
+ rewardTaperingPolicy: AugmentedQuery<ApiType, () => Observable<PalletTreasuryTaperingPolicy>, []>;
1277
+ /**
1278
+ * Shared funding and reward rates for each retained stabilizer pool earning frame.
1279
+ **/
1280
+ stabilizerPoolRewardFrames: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryStabilizerPoolRewardFrame>>, [u64]>;
1221
1281
  /**
1222
1282
  * Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
1223
1283
  **/
1224
1284
  targetBitcoinPercent: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
1285
+ /**
1286
+ * Circulating ARGON fraction used as the value reference for stabilizer pool rewards.
1287
+ * A zero reference leaves the frame's allocation in the stabilizer pool reserve.
1288
+ **/
1289
+ targetStabilizerPoolPercent: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
1225
1290
  /**
1226
1291
  * Live Argon bond lots, including those awaiting release; stakes have a separate admission
1227
1292
  * limit.
@@ -1240,8 +1305,8 @@ declare module '@polkadot/api-base/types/storage' {
1240
1305
  **/
1241
1306
  networkTotals: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTreasuryNetworkPositionQuantities>, []>;
1242
1307
  /**
1243
- * Maintained source quantities keyed by the actual position owner. Upstream quantities belong
1244
- * to the linked vault account; primary and mining account balances are separate owners.
1308
+ * Source quantities and earnings keyed by the position owner. Upstream quantities belong to
1309
+ * the linked vault account; primary and mining accounts have separate positions.
1245
1310
  **/
1246
1311
  positionsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletTreasuryPositionsPosition>>, [AccountId32]>;
1247
1312
  };
@@ -8,7 +8,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
8
8
  import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
9
9
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
10
10
  import type { AccountId32, Call, H160, H256, MultiAddress, Percent, Permill } from '@polkadot/types/interfaces/runtime';
11
- import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBitcoinUtxoSyncV2, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonPrimitivesPriceIndex, ArgonPrimitivesVaultTreasuryBonusApprovalProof, ArgonPrimitivesVaultVaultTerms, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeSessionKeys, PalletAccountSecurityApproval, PalletAccountSecurityAuthorization, PalletBalancesAdjustmentDirection, PalletBitcoinLocksFeeCoupon, PalletBitcoinLocksLockOptions, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryProof, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferChainConfig, PalletCrosschainTransferGatewayActivityStorageProof, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierFork, PalletEthereumVerifierForkVersions, PalletEthereumVerifierUpdate, PalletMultisigTimepoint, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletPriceIndexEthereumPriceIndex, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionProof, PalletTreasuryBondLotEarningsMetrics, PalletVaultsVaultConfig, SnowbridgeBeaconPrimitivesBeaconHeader, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
11
+ import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBitcoinUtxoSyncV2, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonPrimitivesPriceIndex, ArgonPrimitivesVaultTreasuryBonusApprovalProof, ArgonPrimitivesVaultVaultTerms, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeSessionKeys, PalletAccountSecurityApproval, PalletAccountSecurityAuthorization, PalletBalancesAdjustmentDirection, PalletBitcoinLocksFeeCoupon, PalletBitcoinLocksLockOptions, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryProof, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferChainConfig, PalletCrosschainTransferGatewayActivityStorageProof, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierFork, PalletEthereumVerifierForkVersions, PalletEthereumVerifierUpdate, PalletMultisigTimepoint, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletPriceIndexEthereumPriceIndex, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionChangeProof, PalletStabilizerPoolsPositionContinuationProof, PalletStabilizerPoolsPositionProof, PalletStabilizerPoolsStabilizerPoolPositionId, PalletTreasuryBondLotEarningsMetrics, PalletTreasuryTaperingProgram, PalletVaultsVaultConfig, SnowbridgeBeaconPrimitivesBeaconHeader, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
12
12
 
13
13
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
14
14
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -623,9 +623,10 @@ declare module '@polkadot/api-base/types/submittable' {
623
623
  **/
624
624
  setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
625
625
  /**
626
- * Submit the latest price index. Only valid for the configured operator account
626
+ * Submit the latest price index as the configured oracle operator.
627
+ * A superseded pool revision omits only the pool quote from the accepted index.
627
628
  **/
628
- submit: AugmentedSubmittable<(index: ArgonPrimitivesPriceIndex | { btcUsdPrice?: any; argonotUsdPrice?: any; argonUsdPrice?: any; argonUsdTargetPrice?: any; argonTimeWeightedAverageLiquidity?: any; tick?: any; usdcUsdPrice?: any; stabilizerPoolSqrtPriceX96?: any } | string | Uint8Array, ethereum: Option<PalletPriceIndexEthereumPriceIndex> | null | Uint8Array | PalletPriceIndexEthereumPriceIndex | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any } | string) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]>;
629
+ submit: AugmentedSubmittable<(index: ArgonPrimitivesPriceIndex | { btcUsdPrice?: any; argonotUsdPrice?: any; argonUsdPrice?: any; argonUsdTargetPrice?: any; argonTimeWeightedAverageLiquidity?: any; tick?: any; usdcUsdPrice?: any; stabilizerPoolSqrtPriceX96?: any } | string | Uint8Array, ethereum: Option<PalletPriceIndexEthereumPriceIndex> | null | Uint8Array | PalletPriceIndexEthereumPriceIndex | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any } | string, stabilizerPoolRevision: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>, Option<u32>]>;
629
630
  };
630
631
  proxy: {
631
632
  /**
@@ -798,14 +799,26 @@ declare module '@polkadot/api-base/types/submittable' {
798
799
  };
799
800
  stabilizerPools: {
800
801
  /**
801
- * Register a baseline, extend a maintained revision, or reset after an unproven change.
802
+ * Register a position or refresh its checkpoint. A new revision forfeits the old
803
+ * registration's unclaimed rewards and starts earning at the next frame.
802
804
  **/
803
805
  checkpointPosition: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, poolId: H256 | string | Uint8Array, tokenId: U256 | AnyNumber | Uint8Array, proof: PalletStabilizerPoolsPositionProof | { subscriber?: any; positionManager?: any; poolManager?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, H256, U256, PalletStabilizerPoolsPositionProof]>;
806
+ /**
807
+ * Continue the enrollment with another NFT from the same Uniswap PositionManager.
808
+ * The replacement's own reward terms start in the frame after its proven Ethereum block.
809
+ **/
810
+ continueEnrollment: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array, replacementUniswapNftId: U256 | AnyNumber | Uint8Array, proof: PalletStabilizerPoolsPositionContinuationProof | { before?: any; after?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStabilizerPoolsStabilizerPoolPositionId, U256, PalletStabilizerPoolsPositionContinuationProof]>;
804
811
  /**
805
812
  * Approve immutable deployment bindings and the canonical pool key.
806
813
  * Root must verify the pinned implementations and their immutable bindings first.
807
814
  **/
808
815
  registerPool: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, config: PalletStabilizerPoolsPoolConfig | { positionManager?: any; subscriber?: any; key?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, PalletStabilizerPoolsPoolConfig]>;
816
+ /**
817
+ * Any signed account may report a newer revision or ended subscription. Proven rewards
818
+ * remain collectible until an ordinary checkpoint reset starts a fresh enrollment.
819
+ * A timely continuation preserves the enrollment and its unpaid reward cursor.
820
+ **/
821
+ reportPositionChange: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array, proof: PalletStabilizerPoolsPositionChangeProof | { Revision: any } | { Subscription: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsPositionChangeProof]>;
809
822
  };
810
823
  sudo: {
811
824
  /**
@@ -957,7 +970,11 @@ declare module '@polkadot/api-base/types/submittable' {
957
970
  /**
958
971
  * Update reward economics without resetting fields omitted by the caller.
959
972
  **/
960
- configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<Percent>, Option<Percent>]>;
973
+ configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber, targetStabilizerPoolPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, argonotParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<Percent>, Option<Percent>, Option<Percent>, Option<Percent>]>;
974
+ /**
975
+ * Update selected reward programs for future frames, preserving omitted programs.
976
+ **/
977
+ configureRewardTaperingPolicy: AugmentedSubmittable<(bitcoinLiquids: Option<PalletTreasuryTaperingProgram> | null | Uint8Array | PalletTreasuryTaperingProgram | { targetDailyReturn?: any; excessRewardPayoutPercent?: any; targetDailyReturnWithPriceBelowTarget?: any } | string, argonBonds: Option<PalletTreasuryTaperingProgram> | null | Uint8Array | PalletTreasuryTaperingProgram | { targetDailyReturn?: any; excessRewardPayoutPercent?: any; targetDailyReturnWithPriceBelowTarget?: any } | string, argonotStakes: Option<PalletTreasuryTaperingProgram> | null | Uint8Array | PalletTreasuryTaperingProgram | { targetDailyReturn?: any; excessRewardPayoutPercent?: any; targetDailyReturnWithPriceBelowTarget?: any } | string, vaultRevenue: Option<PalletTreasuryTaperingProgram> | null | Uint8Array | PalletTreasuryTaperingProgram | { targetDailyReturn?: any; excessRewardPayoutPercent?: any; targetDailyReturnWithPriceBelowTarget?: any } | string, stabilizerPools: Option<PalletTreasuryTaperingProgram> | null | Uint8Array | PalletTreasuryTaperingProgram | { targetDailyReturn?: any; excessRewardPayoutPercent?: any; targetDailyReturnWithPriceBelowTarget?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletTreasuryTaperingProgram>, Option<PalletTreasuryTaperingProgram>, Option<PalletTreasuryTaperingProgram>, Option<PalletTreasuryTaperingProgram>, Option<PalletTreasuryTaperingProgram>]>;
961
978
  /**
962
979
  * Liquidate one full bond lot. It keeps the locked frame's payout terms and is
963
980
  * released after the delay.
@@ -969,6 +986,12 @@ declare module '@polkadot/api-base/types/submittable' {
969
986
  **/
970
987
  setReservedBondSpace: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, reservedBondSpace: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
971
988
  };
989
+ treasuryPositions: {
990
+ /**
991
+ * Settle the signer's available source earnings and collect them in one payment.
992
+ **/
993
+ collect: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
994
+ };
972
995
  txPause: {
973
996
  /**
974
997
  * Pause a call.