@argonprotocol/mainchain 1.5.2-dev.eeea0796 → 1.5.2-dev.f931ed2c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +87 -0
  2. package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +439 -0
  3. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  4. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  5. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +319 -16
  6. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  7. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  8. package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
  9. package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  10. package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  11. package/browser/index.d.ts +4886 -484
  12. package/browser/index.js +4449 -1008
  13. package/browser/index.js.map +1 -1
  14. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +439 -0
  15. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  16. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  17. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +319 -16
  18. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  19. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  20. package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
  21. package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  22. package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  23. package/lib/index.cjs +4348 -938
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +4886 -484
  26. package/lib/index.d.ts +4886 -484
  27. package/lib/index.js +4363 -953
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +63 -1
  31. package/src/interfaces/augment-api-errors.ts +95 -1
  32. package/src/interfaces/augment-api-events.ts +119 -2
  33. package/src/interfaces/augment-api-query.ts +196 -8
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-runtime.ts +0 -1
  36. package/src/interfaces/augment-api-tx.ts +116 -4
  37. package/src/interfaces/augment-api.ts +0 -1
  38. package/src/interfaces/augment-types.ts +0 -1
  39. package/src/interfaces/lookup.ts +648 -272
  40. package/src/interfaces/registry.ts +60 -7
  41. package/src/interfaces/types-lookup.ts +690 -278
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
@@ -12,6 +11,7 @@ import type {
12
11
  Bytes,
13
12
  Null,
14
13
  Option,
14
+ U256,
15
15
  U8aFixed,
16
16
  Vec,
17
17
  bool,
@@ -22,10 +22,13 @@ import type {
22
22
  u8,
23
23
  } from '@polkadot/types-codec';
24
24
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
25
- import type { AccountId32, H160, H256, Percent } from '@polkadot/types/interfaces/runtime';
25
+ import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
26
26
  import type {
27
27
  ArgonNotaryAuditErrorVerifyError,
28
- ArgonPrimitivesAmountRankAmountRankKey,
28
+ ArgonPrimitivesAmountRankAmountRankKeyAccountId32,
29
+ ArgonPrimitivesAmountRankAmountRankKeyU32,
30
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32,
31
+ ArgonPrimitivesAmountRankAscendingRankKeyU64,
29
32
  ArgonPrimitivesBalanceChangeAccountOrigin,
30
33
  ArgonPrimitivesBitcoinBitcoinBlock,
31
34
  ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey,
@@ -49,6 +52,7 @@ import type {
49
52
  ArgonPrimitivesNotaryNotaryNotebookKeyDetails,
50
53
  ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails,
51
54
  ArgonPrimitivesNotaryNotaryRecord,
55
+ ArgonPrimitivesPriceIndex,
52
56
  ArgonPrimitivesProvidersBlockSealerInfo,
53
57
  ArgonPrimitivesTickTicker,
54
58
  ArgonPrimitivesTreasuryNetworkPositionQuantities,
@@ -109,9 +113,15 @@ import type {
109
113
  PalletPriceIndexCpiMeasurementBucket,
110
114
  PalletPriceIndexEthereumPriceFrameAccumulator,
111
115
  PalletPriceIndexEthereumPriceIndex,
112
- PalletPriceIndexPriceIndex,
113
116
  PalletProxyAnnouncement,
114
117
  PalletProxyProxyDefinition,
118
+ PalletStabilizerBuysAccountBuys,
119
+ PalletStabilizerBuysAuction,
120
+ PalletStabilizerBuysBuyPayout,
121
+ PalletStabilizerBuysPriceHistoryHourlyPriceReference,
122
+ PalletStabilizerBuysUniswapPurchasePurchasePool,
123
+ PalletStabilizerPoolsPoolConfig,
124
+ PalletStabilizerPoolsPositionCheckpoint,
115
125
  PalletTransactionPaymentReleases,
116
126
  PalletTreasuryBondLot,
117
127
  PalletTreasuryBondLotSummary,
@@ -119,6 +129,7 @@ import type {
119
129
  PalletTreasuryFrameVaultBitcoin,
120
130
  PalletTreasuryFrameVaultCapital,
121
131
  PalletTreasuryPositionsPosition,
132
+ PalletTreasuryRewardReserveBalances,
122
133
  PalletTreasuryVaultBondState,
123
134
  PalletVaultsVaultFrameRevenue,
124
135
  SpConsensusGrandpaAppPublic,
@@ -911,6 +922,15 @@ declare module '@polkadot/api-base/types/storage' {
911
922
  () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
912
923
  []
913
924
  >;
925
+ /**
926
+ * Number of retained beacon roots sharing an execution anchor. Gloas EMPTY payloads can
927
+ * leave the parent execution hash unchanged across multiple finalized beacon blocks.
928
+ **/
929
+ executionHeaderAnchorReferences: AugmentedQuery<
930
+ ApiType,
931
+ (arg: H256 | string | Uint8Array) => Observable<u32>,
932
+ [H256]
933
+ >;
914
934
  /**
915
935
  * Retained execution-layer header anchors by execution block hash.
916
936
  **/
@@ -1546,7 +1566,7 @@ declare module '@polkadot/api-base/types/storage' {
1546
1566
  /**
1547
1567
  * Stores the active price index
1548
1568
  **/
1549
- current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1569
+ current: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
1550
1570
  /**
1551
1571
  * Stores the latest submitted Ethereum pricing.
1552
1572
  **/
@@ -1598,7 +1618,7 @@ declare module '@polkadot/api-base/types/storage' {
1598
1618
  /**
1599
1619
  * Stores the last valid price index
1600
1620
  **/
1601
- lastValid: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1621
+ lastValid: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
1602
1622
  /**
1603
1623
  * The price index operator account
1604
1624
  **/
@@ -1627,6 +1647,162 @@ declare module '@polkadot/api-base/types/storage' {
1627
1647
  [AccountId32]
1628
1648
  >;
1629
1649
  };
1650
+ stabilizerBuys: {
1651
+ /**
1652
+ * Execution venue eligible for purchase rewards. Unset until governance selects a pool.
1653
+ **/
1654
+ approvedPool: AugmentedQuery<
1655
+ ApiType,
1656
+ () => Observable<Option<PalletStabilizerBuysUniswapPurchasePurchasePool>>,
1657
+ []
1658
+ >;
1659
+ /**
1660
+ * Auction policy and funding keyed by admission frame F; bidding takes place during F+1.
1661
+ **/
1662
+ auctions: AugmentedQuery<
1663
+ ApiType,
1664
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletStabilizerBuysAuction>>,
1665
+ [u64]
1666
+ >;
1667
+ /**
1668
+ * Positive bids ordered by rate ascending, matching basis descending, then account ascending.
1669
+ * Keys retain each frozen matching basis in microgons even after principal is released.
1670
+ **/
1671
+ bidsByAuction: AugmentedQuery<
1672
+ ApiType,
1673
+ (
1674
+ arg1: u64 | AnyNumber | Uint8Array,
1675
+ arg2:
1676
+ | ITuple<[Percent, ArgonPrimitivesAmountRankAmountRankKeyAccountId32]>
1677
+ | [
1678
+ Percent | AnyNumber | Uint8Array,
1679
+ (
1680
+ | ArgonPrimitivesAmountRankAmountRankKeyAccountId32
1681
+ | { descendingAmount?: any; orderedId?: any }
1682
+ | string
1683
+ | Uint8Array
1684
+ ),
1685
+ ],
1686
+ ) => Observable<Option<Null>>,
1687
+ [u64, ITuple<[Percent, ArgonPrimitivesAmountRankAmountRankKeyAccountId32]>]
1688
+ >;
1689
+ /**
1690
+ * Scheduled rewards and the account's single payout queue entry.
1691
+ **/
1692
+ buysByAccount: AugmentedQuery<
1693
+ ApiType,
1694
+ (arg: AccountId32 | string | Uint8Array) => Observable<PalletStabilizerBuysAccountBuys>,
1695
+ [AccountId32]
1696
+ >;
1697
+ /**
1698
+ * Counter for the related counted storage map
1699
+ **/
1700
+ counterForHourlyPriceReferences: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1701
+ /**
1702
+ * Counter for the related counted storage map
1703
+ **/
1704
+ counterForRecentPriceIndices: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1705
+ /**
1706
+ * Hourly references keyed by the bucket-start tick in the same oldest-first order.
1707
+ **/
1708
+ hourlyPriceReferences: AugmentedQuery<
1709
+ ApiType,
1710
+ (
1711
+ arg: U8aFixed | string | Uint8Array,
1712
+ ) => Observable<Option<PalletStabilizerBuysPriceHistoryHourlyPriceReference>>,
1713
+ [U8aFixed]
1714
+ >;
1715
+ /**
1716
+ * Matching fraction for new auctions; existing auctions retain their captured policy.
1717
+ **/
1718
+ matchingRate: AugmentedQuery<ApiType, () => Observable<Permill>, []>;
1719
+ /**
1720
+ * Funded auctions awaiting automatic reward allocation, ordered by maturity tick and frame.
1721
+ * A failed allocation moves only its retry tick; the auction retains its original maturity.
1722
+ **/
1723
+ maturingAuctions: AugmentedQuery<
1724
+ ApiType,
1725
+ (
1726
+ arg:
1727
+ | ArgonPrimitivesAmountRankAscendingRankKeyU64
1728
+ | { ascendingRank?: any; orderedId?: any }
1729
+ | string
1730
+ | Uint8Array,
1731
+ ) => Observable<Option<Null>>,
1732
+ [ArgonPrimitivesAmountRankAscendingRankKeyU64]
1733
+ >;
1734
+ /**
1735
+ * One scheduled visit per account, ordered by tick then account. Purchase buckets and the
1736
+ * reward record retain unpaid funds while this index selects bounded work.
1737
+ **/
1738
+ payoutQueue: AugmentedQuery<
1739
+ ApiType,
1740
+ (
1741
+ arg:
1742
+ | ArgonPrimitivesAmountRankAscendingRankKeyAccountId32
1743
+ | { ascendingRank?: any; orderedId?: any }
1744
+ | string
1745
+ | Uint8Array,
1746
+ ) => Observable<Option<Null>>,
1747
+ [ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]
1748
+ >;
1749
+ /**
1750
+ * One principal bucket per account and admission frame, retained until release succeeds.
1751
+ * Ordered frame bytes let payout visits select the oldest buckets with bounded work.
1752
+ **/
1753
+ purchasesByAccount: AugmentedQuery<
1754
+ ApiType,
1755
+ (
1756
+ arg1: AccountId32 | string | Uint8Array,
1757
+ arg2: U8aFixed | string | Uint8Array,
1758
+ ) => Observable<Option<PalletStabilizerBuysBuyPayout>>,
1759
+ [AccountId32, U8aFixed]
1760
+ >;
1761
+ /**
1762
+ * Exact observations keyed by the oracle tick in big-endian order, for oldest-first pruning.
1763
+ **/
1764
+ recentPriceIndices: AugmentedQuery<
1765
+ ApiType,
1766
+ (arg: U8aFixed | string | Uint8Array) => Observable<Option<ArgonPrimitivesPriceIndex>>,
1767
+ [U8aFixed]
1768
+ >;
1769
+ };
1770
+ stabilizerPools: {
1771
+ /**
1772
+ * First current-tick price index accepted in each frame, including absent pool observations.
1773
+ * This is an oracle opening reference, not an exact historical Ethereum boundary proof.
1774
+ * Later indices cannot revalue it; frames without an observation have no entry. A new opening
1775
+ * reference prunes frames outside the configured window, including across oracle gaps.
1776
+ **/
1777
+ frameStartPriceIndices: AugmentedQuery<
1778
+ ApiType,
1779
+ () => Observable<BTreeMap<u64, ArgonPrimitivesPriceIndex>>,
1780
+ []
1781
+ >;
1782
+ /**
1783
+ * Approved deployments on the Ethereum network authenticated by EthereumVerifier.
1784
+ * Configuration is immutable once registered, preserving checkpoint identity and layout.
1785
+ **/
1786
+ pools: AugmentedQuery<
1787
+ ApiType,
1788
+ (
1789
+ arg1: H160 | string | Uint8Array,
1790
+ arg2: H256 | string | Uint8Array,
1791
+ ) => Observable<Option<PalletStabilizerPoolsPoolConfig>>,
1792
+ [H160, H256]
1793
+ >;
1794
+ /**
1795
+ * Last accepted checkpoint for an NFT. Keep its source-block watermark across re-enrollment.
1796
+ **/
1797
+ positionCheckpoints: AugmentedQuery<
1798
+ ApiType,
1799
+ (
1800
+ arg1: H160 | string | Uint8Array,
1801
+ arg2: U256 | AnyNumber | Uint8Array,
1802
+ ) => Observable<Option<PalletStabilizerPoolsPositionCheckpoint>>,
1803
+ [H160, U256]
1804
+ >;
1805
+ };
1630
1806
  sudo: {
1631
1807
  /**
1632
1808
  * The `AccountId` of the sudo key.
@@ -1919,6 +2095,10 @@ declare module '@polkadot/api-base/types/storage' {
1919
2095
  * The next bond lot id.
1920
2096
  **/
1921
2097
  nextBondLotId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
2098
+ /**
2099
+ * Awarded purchase rewards awaiting issuance. Auctions own their unallocated reservations.
2100
+ **/
2101
+ outstandingPurchaseRewards: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1922
2102
  /**
1923
2103
  * The oldest frame that still has bond lots to retry releasing.
1924
2104
  **/
@@ -1931,6 +2111,14 @@ declare module '@polkadot/api-base/types/storage' {
1931
2111
  (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
1932
2112
  [u64]
1933
2113
  >;
2114
+ /**
2115
+ * ARGON removed from circulation and available for future issuance as rewards.
2116
+ **/
2117
+ rewardReserves: AugmentedQuery<
2118
+ ApiType,
2119
+ () => Observable<PalletTreasuryRewardReserveBalances>,
2120
+ []
2121
+ >;
1934
2122
  /**
1935
2123
  * Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
1936
2124
  **/
@@ -2074,12 +2262,12 @@ declare module '@polkadot/api-base/types/storage' {
2074
2262
  ApiType,
2075
2263
  (
2076
2264
  arg:
2077
- | ArgonPrimitivesAmountRankAmountRankKey
2265
+ | ArgonPrimitivesAmountRankAmountRankKeyU32
2078
2266
  | { descendingAmount?: any; orderedId?: any }
2079
2267
  | string
2080
2268
  | Uint8Array,
2081
2269
  ) => Observable<Option<Null>>,
2082
- [ArgonPrimitivesAmountRankAmountRankKey]
2270
+ [ArgonPrimitivesAmountRankAmountRankKeyU32]
2083
2271
  >;
2084
2272
  /**
2085
2273
  * Vault Bitcoin Xpub and current child counter by VaultId
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
@@ -15,6 +14,7 @@ import type {
15
14
  Bytes,
16
15
  Compact,
17
16
  Option,
17
+ U256,
18
18
  U8aFixed,
19
19
  Vec,
20
20
  bool,
@@ -31,6 +31,7 @@ import type {
31
31
  H256,
32
32
  MultiAddress,
33
33
  Percent,
34
+ Permill,
34
35
  } from '@polkadot/types/interfaces/runtime';
35
36
  import type {
36
37
  ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
@@ -43,6 +44,7 @@ import type {
43
44
  ArgonPrimitivesInherentsBlockSealInherent,
44
45
  ArgonPrimitivesNotaryNotaryMeta,
45
46
  ArgonPrimitivesNotebookSignedNotebookHeader,
47
+ ArgonPrimitivesPriceIndex,
46
48
  ArgonPrimitivesVaultTreasuryBonusApprovalProof,
47
49
  ArgonPrimitivesVaultVaultTerms,
48
50
  ArgonRuntimeOriginCaller,
@@ -56,18 +58,22 @@ import type {
56
58
  PalletBootstrapRecoveryPubkey,
57
59
  PalletCrosschainTransferAssetKind,
58
60
  PalletCrosschainTransferChainConfig,
61
+ PalletCrosschainTransferGatewayActivityStorageProof,
59
62
  PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
60
63
  PalletCrosschainTransferSourceChain,
61
64
  PalletEthereumVerifierBasicOperatingMode,
62
65
  PalletEthereumVerifierCheckpointUpdate,
63
66
  PalletEthereumVerifierExecutionHeaderProof,
67
+ PalletEthereumVerifierFork,
64
68
  PalletEthereumVerifierForkVersions,
65
69
  PalletEthereumVerifierUpdate,
66
70
  PalletMultisigTimepoint,
67
71
  PalletOperationalAccountsOperationalProgressPatch,
68
72
  PalletOperationalAccountsRegistration,
69
73
  PalletPriceIndexEthereumPriceIndex,
70
- PalletPriceIndexPriceIndex,
74
+ PalletStabilizerBuysUniswapPurchasePurchasePool,
75
+ PalletStabilizerPoolsPoolConfig,
76
+ PalletStabilizerPoolsPositionProof,
71
77
  PalletTreasuryBondLotEarningsMetrics,
72
78
  PalletVaultsVaultConfig,
73
79
  SnowbridgeBeaconPrimitivesBeaconHeader,
@@ -620,6 +626,25 @@ declare module '@polkadot/api-base/types/submittable' {
620
626
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
621
627
  ]
622
628
  >;
629
+ /**
630
+ * Authenticate a complete gateway locator and settle its unconsumed activities.
631
+ **/
632
+ proveGatewayActivityStorage: AugmentedSubmittable<
633
+ (
634
+ sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
635
+ previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array,
636
+ proof:
637
+ | PalletCrosschainTransferGatewayActivityStorageProof
638
+ | { locatorIndex?: any; activityRootSeed?: any; storageProof?: any; activityLogs?: any }
639
+ | string
640
+ | Uint8Array,
641
+ ) => SubmittableExtrinsic<ApiType>,
642
+ [
643
+ PalletCrosschainTransferSourceChain,
644
+ Compact<u64>,
645
+ PalletCrosschainTransferGatewayActivityStorageProof,
646
+ ]
647
+ >;
623
648
  registerCouncilSigner: AugmentedSubmittable<
624
649
  (
625
650
  destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
@@ -733,6 +758,7 @@ declare module '@polkadot/api-base/types/submittable' {
733
758
  deneb?: any;
734
759
  electra?: any;
735
760
  fulu?: any;
761
+ gloas?: any;
736
762
  }
737
763
  | string
738
764
  | Uint8Array,
@@ -755,6 +781,16 @@ declare module '@polkadot/api-base/types/submittable' {
755
781
  ) => SubmittableExtrinsic<ApiType>,
756
782
  [H256, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof]
757
783
  >;
784
+ /**
785
+ * Configure the implemented Gloas fork before the verifier finalizes its activation.
786
+ * Earlier forks and retained consensus state are preserved. May only be called by root.
787
+ **/
788
+ setGloasFork: AugmentedSubmittable<
789
+ (
790
+ fork: PalletEthereumVerifierFork | { version?: any; epoch?: any } | string | Uint8Array,
791
+ ) => SubmittableExtrinsic<ApiType>,
792
+ [PalletEthereumVerifierFork]
793
+ >;
758
794
  /**
759
795
  * Halt or resume all pallet operations. May only be called by root.
760
796
  **/
@@ -1442,7 +1478,7 @@ declare module '@polkadot/api-base/types/submittable' {
1442
1478
  submit: AugmentedSubmittable<
1443
1479
  (
1444
1480
  index:
1445
- | PalletPriceIndexPriceIndex
1481
+ | ArgonPrimitivesPriceIndex
1446
1482
  | {
1447
1483
  btcUsdPrice?: any;
1448
1484
  argonotUsdPrice?: any;
@@ -1450,6 +1486,8 @@ declare module '@polkadot/api-base/types/submittable' {
1450
1486
  argonUsdTargetPrice?: any;
1451
1487
  argonTimeWeightedAverageLiquidity?: any;
1452
1488
  tick?: any;
1489
+ usdcUsdPrice?: any;
1490
+ stabilizerPoolSqrtPriceX96?: any;
1453
1491
  }
1454
1492
  | string
1455
1493
  | Uint8Array,
@@ -1461,7 +1499,7 @@ declare module '@polkadot/api-base/types/submittable' {
1461
1499
  | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any }
1462
1500
  | string,
1463
1501
  ) => SubmittableExtrinsic<ApiType>,
1464
- [PalletPriceIndexPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]
1502
+ [ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]
1465
1503
  >;
1466
1504
  };
1467
1505
  proxy: {
@@ -1823,6 +1861,80 @@ declare module '@polkadot/api-base/types/submittable' {
1823
1861
  [MultiAddress, ArgonRuntimeProxyType, u32]
1824
1862
  >;
1825
1863
  };
1864
+ stabilizerBuys: {
1865
+ /**
1866
+ * Submit a whole-percent bid during F+1. Larger matching bases break equal-rate ties;
1867
+ * account ID orders bids with the same rate and matching basis.
1868
+ **/
1869
+ bid: AugmentedSubmittable<
1870
+ (
1871
+ admissionFrame: u64 | AnyNumber | Uint8Array,
1872
+ rewardRate: Percent | AnyNumber | Uint8Array,
1873
+ ) => SubmittableExtrinsic<ApiType>,
1874
+ [u64, Percent]
1875
+ >;
1876
+ /**
1877
+ * Select the reward pool, or disable new purchase eligibility.
1878
+ **/
1879
+ setApprovedPool: AugmentedSubmittable<
1880
+ (
1881
+ pool:
1882
+ | Option<PalletStabilizerBuysUniswapPurchasePurchasePool>
1883
+ | null
1884
+ | Uint8Array
1885
+ | PalletStabilizerBuysUniswapPurchasePurchasePool
1886
+ | {
1887
+ chainId?: any;
1888
+ poolManager?: any;
1889
+ poolId?: any;
1890
+ usdcToken?: any;
1891
+ argonIsToken0?: any;
1892
+ }
1893
+ | string,
1894
+ ) => SubmittableExtrinsic<ApiType>,
1895
+ [Option<PalletStabilizerBuysUniswapPurchasePurchasePool>]
1896
+ >;
1897
+ /**
1898
+ * Change matching for newly created auctions; existing policy remains frozen.
1899
+ **/
1900
+ setMatchingRate: AugmentedSubmittable<
1901
+ (rate: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
1902
+ [Permill]
1903
+ >;
1904
+ };
1905
+ stabilizerPools: {
1906
+ /**
1907
+ * Register a baseline, extend a maintained revision, or reset after an unproven change.
1908
+ **/
1909
+ checkpointPosition: AugmentedSubmittable<
1910
+ (
1911
+ poolManager: H160 | string | Uint8Array,
1912
+ poolId: H256 | string | Uint8Array,
1913
+ tokenId: U256 | AnyNumber | Uint8Array,
1914
+ proof:
1915
+ | PalletStabilizerPoolsPositionProof
1916
+ | { subscriber?: any; positionManager?: any; poolManager?: any }
1917
+ | string
1918
+ | Uint8Array,
1919
+ ) => SubmittableExtrinsic<ApiType>,
1920
+ [H160, H256, U256, PalletStabilizerPoolsPositionProof]
1921
+ >;
1922
+ /**
1923
+ * Approve immutable deployment bindings and the canonical pool key.
1924
+ * Root must verify the pinned implementations and their immutable bindings first.
1925
+ **/
1926
+ registerPool: AugmentedSubmittable<
1927
+ (
1928
+ poolManager: H160 | string | Uint8Array,
1929
+ config:
1930
+ | PalletStabilizerPoolsPoolConfig
1931
+ | { positionManager?: any; subscriber?: any; key?: any }
1932
+ | string
1933
+ | Uint8Array,
1934
+ ) => SubmittableExtrinsic<ApiType>,
1935
+ [H160, PalletStabilizerPoolsPoolConfig]
1936
+ >;
1937
+ };
1826
1938
  sudo: {
1827
1939
  /**
1828
1940
  * Permanently removes the sudo key.
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  import './augment-api-consts.js';
5
4
  import './augment-api-errors.js';
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions