@argonprotocol/mainchain 1.6.0-dev.270525da → 1.6.0-dev.feb29b52

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.270525da",
3
+ "version": "1.6.0-dev.feb29b52",
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.270525da",
75
+ "@argonprotocol/testing": "1.6.0-dev.feb29b52",
76
76
  "@polkadot/typegen": "^17.0.1",
77
77
  "@substrate/ss58-registry": "^1.51.0",
78
78
  "@types/node": "^20",
@@ -601,10 +601,35 @@ 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 the earning frame's correction period closes.
606
605
  **/
607
- maxFramePriceHistoryFrames: u32 & AugmentedConst<ApiType>;
606
+ claimWindowFrames: u32 & AugmentedConst<ApiType>;
607
+ /**
608
+ * Maximum simultaneously enrolled NFTs belonging to one beneficiary.
609
+ **/
610
+ maxPositionsPerAccount: u32 & AugmentedConst<ApiType>;
611
+ /**
612
+ * Maximum number of time buckets used to sample one frame. Zero disables sampling.
613
+ **/
614
+ maxPriceBucketsPerFrame: u32 & AugmentedConst<ApiType>;
615
+ /**
616
+ * Closed mining frames retained in the sampled Uniswap price history.
617
+ **/
618
+ maxSampledPriceHistoryFrames: u32 & AugmentedConst<ApiType>;
619
+ /**
620
+ * Minimum share of Mainchain ticks with a valid price in each bucket. Even at zero,
621
+ * each bucket needs a sample to calculate its mean.
622
+ **/
623
+ minPriceBucketCoverage: Percent & AugmentedConst<ApiType>;
624
+ /**
625
+ * Lower and upper reward price boundaries, as percentages of the ARGON USD target.
626
+ * The lower boundary must be positive and strictly below the upper boundary.
627
+ **/
628
+ rewardPriceBand: ITuple<[Percent, Percent]> & AugmentedConst<ApiType>;
629
+ /**
630
+ * Share of rewards assigned to USDC principal. ARGON receives the remainder.
631
+ **/
632
+ usdcRewardShare: Percent & AugmentedConst<ApiType>;
608
633
  };
609
634
  system: {
610
635
  /**
@@ -683,6 +708,10 @@ declare module '@polkadot/api-base/types/consts' {
683
708
  * Default percent of maximum Bitcoin-mintable Argons targeted by the network.
684
709
  **/
685
710
  defaultTargetBitcoinPercent: Percent & AugmentedConst<ApiType>;
711
+ /**
712
+ * Default circulating ARGON fraction used as the stabilizer pool reward reference.
713
+ **/
714
+ defaultTargetStabilizerPoolPercent: Percent & AugmentedConst<ApiType>;
686
715
  /**
687
716
  * The maximum number of active Argonot bond lots.
688
717
  **/
@@ -730,33 +759,37 @@ declare module '@polkadot/api-base/types/consts' {
730
759
  **/
731
760
  percentForArgonBondPool: Percent & AugmentedConst<ApiType>;
732
761
  /**
733
- * Percent reserved for Bitcoin Liquids and burned in this release.
762
+ * Percent credited to the Bitcoin Liquids reserve.
734
763
  **/
735
764
  percentForBitcoinLiquidPool: Percent & AugmentedConst<ApiType>;
765
+ /**
766
+ * Percent of the bid pool held for marketing rewards.
767
+ **/
768
+ percentForMarketing: Percent & AugmentedConst<ApiType>;
736
769
  /**
737
770
  * Percent reserved for future mining-operator rewards and burned in this release.
738
771
  **/
739
772
  percentForMiningOperatorPool: Percent & AugmentedConst<ApiType>;
740
773
  /**
741
- * Percent of the full bid pool paid to Argonot Stakes.
774
+ * Percent credited to the stabilizer pool rewards reserve.
742
775
  **/
743
- percentForStakePool: Percent & AugmentedConst<ApiType>;
776
+ percentForStabilizerPool: Percent & AugmentedConst<ApiType>;
744
777
  /**
745
- * Percent of the bid pool reserved for treasury reserves.
778
+ * Percent of the full bid pool paid to Argonot Stakes.
746
779
  **/
747
- percentForTreasuryReserves: Percent & AugmentedConst<ApiType>;
780
+ percentForStakePool: Percent & AugmentedConst<ApiType>;
748
781
  /**
749
782
  * Maximum percent paid to vaults when the network target is filled.
750
783
  **/
751
784
  percentForVaultPool: Percent & AugmentedConst<ApiType>;
752
785
  /**
753
- * The number of frames a releasing bond lot remains held before release.
786
+ * Retain each frame's financial terms through its correction and collection periods.
754
787
  **/
755
- treasuryExitDelayFrames: u64 & AugmentedConst<ApiType>;
788
+ stabilizerPoolRewardHistoryFrames: u32 & AugmentedConst<ApiType>;
756
789
  /**
757
- * Account that holds treasury reserves for claims and reserve-funded payouts.
790
+ * The number of frames a releasing bond lot remains held before release.
758
791
  **/
759
- treasuryReservesAccount: AccountId32 & AugmentedConst<ApiType>;
792
+ treasuryExitDelayFrames: u64 & AugmentedConst<ApiType>;
760
793
  upstreamBitcoinTarget: u128 & AugmentedConst<ApiType>;
761
794
  upstreamBitcoinWeight: Permill & AugmentedConst<ApiType>;
762
795
  upstreamBondTarget: u128 & AugmentedConst<ApiType>;
@@ -1517,6 +1517,10 @@ 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>;
1520
1524
  /**
1521
1525
  * The three account witnesses do not contain identical execution-block proofs.
1522
1526
  **/
@@ -1546,7 +1550,7 @@ declare module '@polkadot/api-base/types/errors' {
1546
1550
  **/
1547
1551
  InvalidSubscription: AugmentedError<ApiType>;
1548
1552
  /**
1549
- * The signer does not match the beneficiary encoded in the subscription witness.
1553
+ * The signer does not match the beneficiary of the position.
1550
1554
  **/
1551
1555
  NotBeneficiary: AugmentedError<ApiType>;
1552
1556
  /**
@@ -1562,6 +1566,14 @@ declare module '@polkadot/api-base/types/errors' {
1562
1566
  * increase.
1563
1567
  **/
1564
1568
  PositionChangedWithoutRevision: AugmentedError<ApiType>;
1569
+ /**
1570
+ * The authenticated state still has the registered revision or subscription.
1571
+ **/
1572
+ PositionChangeNotProven: AugmentedError<ApiType>;
1573
+ /**
1574
+ * The NFT has no registration to remove.
1575
+ **/
1576
+ PositionNotEnrolled: AugmentedError<ApiType>;
1565
1577
  /**
1566
1578
  * The subscriber revision is lower than the NFT's last accepted revision.
1567
1579
  **/
@@ -1570,6 +1582,10 @@ declare module '@polkadot/api-base/types/errors' {
1570
1582
  * Ethereum block height or time does not strictly advance past the stored checkpoint.
1571
1583
  **/
1572
1584
  StaleCheckpoint: AugmentedError<ApiType>;
1585
+ /**
1586
+ * The beneficiary already has the maximum number of enrolled NFTs.
1587
+ **/
1588
+ TooManyPositions: AugmentedError<ApiType>;
1573
1589
  };
1574
1590
  sudo: {
1575
1591
  /**
@@ -1695,6 +1711,10 @@ declare module '@polkadot/api-base/types/errors' {
1695
1711
  * The bonus approval signature is invalid or unauthorized.
1696
1712
  **/
1697
1713
  InvalidBonusApprovalSignature: AugmentedError<ApiType>;
1714
+ /**
1715
+ * A reward target or the price adjustment window is invalid.
1716
+ **/
1717
+ InvalidRewardTaperingPolicy: AugmentedError<ApiType>;
1698
1718
  /**
1699
1719
  * The network has reached the direct-payout vault bond lot admission limit.
1700
1720
  **/
@@ -1715,6 +1735,10 @@ declare module '@polkadot/api-base/types/errors' {
1715
1735
  * The caller does not own the bond lot.
1716
1736
  **/
1717
1737
  NotBondLotOwner: AugmentedError<ApiType>;
1738
+ /**
1739
+ * A requested reward frame has yet to finalize its rate.
1740
+ **/
1741
+ StabilizerPoolClaimNotReady: AugmentedError<ApiType>;
1718
1742
  /**
1719
1743
  * The vault is not accepting bond purchases.
1720
1744
  **/
@@ -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,6 +737,7 @@ 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 }>;
741
742
  };
742
743
  sudo: {
@@ -817,10 +818,6 @@ declare module '@polkadot/api-base/types/events' {
817
818
  * A bond lot was removed from future frames and scheduled for release.
818
819
  **/
819
820
  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
821
  /**
825
822
  * An error occurred while paying frame earnings for an Argonot bond lot.
826
823
  **/
@@ -829,6 +826,14 @@ declare module '@polkadot/api-base/types/events' {
829
826
  * An error occurred while paying frame earnings for a bond lot.
830
827
  **/
831
828
  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 }>;
829
+ /**
830
+ * Bid revenue could not be withdrawn for frame distribution.
831
+ **/
832
+ CouldNotFundBidPool: AugmentedEvent<ApiType, [frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError], { frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError }>;
833
+ /**
834
+ * A reserve top-up could not be added to the frame reward funding.
835
+ **/
836
+ CouldNotFundReserveTopup: AugmentedEvent<ApiType, [frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError], { frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError }>;
832
837
  /**
833
838
  * An error occurred while releasing a bond lot.
834
839
  **/
@@ -837,10 +842,6 @@ declare module '@polkadot/api-base/types/events' {
837
842
  * Settlement rolled back and remains queued for a later block.
838
843
  **/
839
844
  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
845
  /**
845
846
  * Encumbered treasury backing was burned and any no-longer-needed fractional hold was
846
847
  * returned.
@@ -849,14 +850,24 @@ declare module '@polkadot/api-base/types/events' {
849
850
  /**
850
851
  * Frame earnings were distributed.
851
852
  **/
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 }>;
853
+ 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
854
  /**
854
855
  * The current frame's vault capital was locked in.
855
856
  **/
856
857
  FrameVaultCapitalLocked: AugmentedEvent<ApiType, [frameId: u64, totalActiveBonds: u128, participatingVaults: u32], { frameId: u64, totalActiveBonds: u128, participatingVaults: u32 }>;
857
858
  ReservedBondSpaceChanged: AugmentedEvent<ApiType, [vaultId: u32, reservedBondSpace: u32], { vaultId: u32, reservedBondSpace: u32 }>;
858
- RewardEconomicsConfigured: AugmentedEvent<ApiType, [targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent], { targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent }>;
859
+ RewardEconomicsConfigured: AugmentedEvent<ApiType, [targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent, targetStabilizerPoolPercent: Percent], { targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent, targetStabilizerPoolPercent: Percent }>;
860
+ /**
861
+ * Reward reserve balances after settlement or a reserve-funded payment.
862
+ **/
859
863
  RewardReservesUpdated: AugmentedEvent<ApiType, [reserves: PalletTreasuryRewardReserveBalances], { reserves: PalletTreasuryRewardReserveBalances }>;
864
+ RewardTaperingPolicyConfigured: AugmentedEvent<ApiType, [policy: PalletTreasuryTaperingPolicy], { policy: PalletTreasuryTaperingPolicy }>;
865
+ };
866
+ treasuryPositions: {
867
+ /**
868
+ * ARGON delivered to the account, recorded by its source.
869
+ **/
870
+ Collected: AugmentedEvent<ApiType, [account: AccountId32, amounts: PalletTreasuryPositionsCollectAmounts], { account: AccountId32, amounts: PalletTreasuryPositionsCollectAmounts }>;
860
871
  };
861
872
  txPause: {
862
873
  /**
@@ -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, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletStabilizerPoolsPriceHistoryStabilizerPoolFramePrice, PalletStabilizerPoolsPriceHistoryStabilizerPoolPriceSampling, PalletStabilizerPoolsStabilizerPoolFrameLiquidity, PalletStabilizerPoolsStabilizerPoolLiquidityRange, PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsStabilizerPoolRangeLiquidity, PalletStabilizerPoolsStabilizerPoolRegistration, PalletTransactionPaymentReleases, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameArgonotBondParticipants, 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
@@ -976,13 +981,6 @@ declare module '@polkadot/api-base/types/storage' {
976
981
  priceHistoryByTick: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<PalletStabilizerBuysPriceHistoryPriceObservation>>, [U8aFixed]>;
977
982
  };
978
983
  stabilizerPools: {
979
- /**
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.
984
- **/
985
- frameStartPriceIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesPriceIndex>>, []>;
986
984
  /**
987
985
  * Approved deployments on the Ethereum network authenticated by EthereumVerifier.
988
986
  * Configuration is immutable once registered, preserving checkpoint identity and layout.
@@ -992,6 +990,39 @@ declare module '@polkadot/api-base/types/storage' {
992
990
  * Last accepted checkpoint for an NFT. Keep its source-block watermark across re-enrollment.
993
991
  **/
994
992
  positionCheckpoints: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: U256 | AnyNumber | Uint8Array) => Observable<Option<PalletStabilizerPoolsPositionCheckpoint>>, [H160, U256]>;
993
+ /**
994
+ * Enrolled NFTs belonging to each beneficiary, used by account collection.
995
+ **/
996
+ positionIdsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletStabilizerPoolsStabilizerPoolPositionId>>, [AccountId32]>;
997
+ /**
998
+ * Sum of registered raw Uniswap liquidity at each exact pool and range.
999
+ **/
1000
+ registeredLiquidityByRange: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolLiquidityRange | { poolManager?: any; poolId?: any; lowerUniswapTick?: any; upperUniswapTick?: any } | string | Uint8Array) => Observable<PalletStabilizerPoolsStabilizerPoolRangeLiquidity>, [PalletStabilizerPoolsStabilizerPoolLiquidityRange]>;
1001
+ /**
1002
+ * Opening block timestamp for each retained mining frame, in Unix milliseconds.
1003
+ * The opening of the next frame is the closing of this one.
1004
+ **/
1005
+ stabilizerPoolFrameStartMillis: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
1006
+ /**
1007
+ * Current sampling buckets and the latest spot observation awaiting a tick boundary.
1008
+ **/
1009
+ stabilizerPoolPriceSamplingState: AugmentedQuery<ApiType, () => Observable<PalletStabilizerPoolsPriceHistoryStabilizerPoolPriceSampling>, []>;
1010
+ /**
1011
+ * Representative Uniswap price and valuation quotes for each well-sampled closed frame.
1012
+ **/
1013
+ stabilizerPoolPricesByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, PalletStabilizerPoolsPriceHistoryStabilizerPoolFramePrice>>, []>;
1014
+ /**
1015
+ * Current reward enrollment or the latest authenticated removal for each NFT.
1016
+ **/
1017
+ stabilizerPoolRegistrations: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; tokenId?: any } | string | Uint8Array) => Observable<Option<PalletStabilizerPoolsStabilizerPoolRegistration>>, [PalletStabilizerPoolsStabilizerPoolPositionId]>;
1018
+ /**
1019
+ * Raw liquidity for the most recently closed frame, while public corrections are allowed.
1020
+ **/
1021
+ stabilizerPoolReviewFrame: AugmentedQuery<ApiType, () => Observable<Option<PalletStabilizerPoolsStabilizerPoolFrameLiquidity>>, []>;
1022
+ /**
1023
+ * USDC reward share fixed for each retained frame. ARGON receives the remainder.
1024
+ **/
1025
+ stabilizerPoolRewardSharesByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, Percent>>, []>;
995
1026
  };
996
1027
  sudo: {
997
1028
  /**
@@ -1175,6 +1206,10 @@ declare module '@polkadot/api-base/types/storage' {
1175
1206
  * Payout uses this to see which Argonot bond lots are participating in the frame.
1176
1207
  **/
1177
1208
  currentFrameArgonotBondParticipants: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameArgonotBondParticipants>>, []>;
1209
+ /**
1210
+ * Reward settings frozen before a frame starts earning. Prices are measured over that frame.
1211
+ **/
1212
+ currentFrameRewardTaperingPolicy: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameRewardTaperingPolicy>>, []>;
1178
1213
  /**
1179
1214
  * Covered Bitcoin locked alongside vault capital for frames using independent reward tiers.
1180
1215
  **/
@@ -1218,10 +1253,23 @@ declare module '@polkadot/api-base/types/storage' {
1218
1253
  * ARGON removed from circulation and available for future issuance as rewards.
1219
1254
  **/
1220
1255
  rewardReserves: AugmentedQuery<ApiType, () => Observable<PalletTreasuryRewardReserveBalances>, []>;
1256
+ /**
1257
+ * Configured daily reward targets and the share paid above each target.
1258
+ **/
1259
+ rewardTaperingPolicy: AugmentedQuery<ApiType, () => Observable<PalletTreasuryTaperingPolicy>, []>;
1260
+ /**
1261
+ * Shared funding and reward rates for each retained stabilizer pool earning frame.
1262
+ **/
1263
+ stabilizerPoolRewardFrames: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryStabilizerPoolRewardFrame>>, [u64]>;
1221
1264
  /**
1222
1265
  * Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
1223
1266
  **/
1224
1267
  targetBitcoinPercent: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
1268
+ /**
1269
+ * Circulating ARGON fraction used as the value reference for stabilizer pool rewards.
1270
+ * A zero reference leaves the frame's allocation in the stabilizer pool reserve.
1271
+ **/
1272
+ targetStabilizerPoolPercent: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
1225
1273
  /**
1226
1274
  * Live Argon bond lots, including those awaiting release; stakes have a separate admission
1227
1275
  * limit.
@@ -1240,8 +1288,8 @@ declare module '@polkadot/api-base/types/storage' {
1240
1288
  **/
1241
1289
  networkTotals: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTreasuryNetworkPositionQuantities>, []>;
1242
1290
  /**
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.
1291
+ * Source quantities and earnings keyed by the position owner. Upstream quantities belong to
1292
+ * the linked vault account; primary and mining accounts have separate positions.
1245
1293
  **/
1246
1294
  positionsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletTreasuryPositionsPosition>>, [AccountId32]>;
1247
1295
  };
@@ -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, 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,7 +799,8 @@ 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]>;
804
806
  /**
@@ -806,6 +808,12 @@ declare module '@polkadot/api-base/types/submittable' {
806
808
  * Root must verify the pinned implementations and their immutable bindings first.
807
809
  **/
808
810
  registerPool: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, config: PalletStabilizerPoolsPoolConfig | { positionManager?: any; subscriber?: any; key?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, PalletStabilizerPoolsPoolConfig]>;
811
+ /**
812
+ * Prove a newer revision or an ended subscription to remove the registration and forfeit
813
+ * its unclaimed rewards. During review, the report also removes its liquidity from the
814
+ * closed frame's total.
815
+ **/
816
+ reportPositionChange: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; tokenId?: any } | string | Uint8Array, proof: PalletStabilizerPoolsPositionChangeProof | { Revision: any } | { Subscription: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsPositionChangeProof]>;
809
817
  };
810
818
  sudo: {
811
819
  /**
@@ -957,7 +965,11 @@ declare module '@polkadot/api-base/types/submittable' {
957
965
  /**
958
966
  * Update reward economics without resetting fields omitted by the caller.
959
967
  **/
960
- configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<Percent>, Option<Percent>]>;
968
+ configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber, targetStabilizerPoolPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<Percent>, Option<Percent>, Option<Percent>]>;
969
+ /**
970
+ * Update selected reward programs for future frames, preserving omitted programs.
971
+ **/
972
+ 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
973
  /**
962
974
  * Liquidate one full bond lot. It keeps the locked frame's payout terms and is
963
975
  * released after the delay.
@@ -969,6 +981,12 @@ declare module '@polkadot/api-base/types/submittable' {
969
981
  **/
970
982
  setReservedBondSpace: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, reservedBondSpace: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
971
983
  };
984
+ treasuryPositions: {
985
+ /**
986
+ * Settle the signer's available source earnings and collect them in one payment.
987
+ **/
988
+ collect: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
989
+ };
972
990
  txPause: {
973
991
  /**
974
992
  * Pause a call.