@argonprotocol/mainchain 1.5.2-dev.7cc5fb12 → 1.5.2-dev.862caf8c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +87 -0
  2. package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +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 +5048 -466
  12. package/browser/index.js +4620 -1109
  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 +4463 -977
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +5048 -466
  26. package/lib/index.d.ts +5048 -466
  27. package/lib/index.js +4454 -968
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +69 -0
  31. package/src/interfaces/augment-api-errors.ts +135 -1
  32. package/src/interfaces/augment-api-events.ts +132 -2
  33. package/src/interfaces/augment-api-query.ts +228 -8
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-tx.ts +135 -27
  36. package/src/interfaces/lookup.ts +706 -267
  37. package/src/interfaces/registry.ts +64 -6
  38. package/src/interfaces/types-lookup.ts +770 -280
@@ -11,6 +11,7 @@ import type {
11
11
  Bytes,
12
12
  Null,
13
13
  Option,
14
+ U256,
14
15
  U8aFixed,
15
16
  Vec,
16
17
  bool,
@@ -21,10 +22,13 @@ import type {
21
22
  u8,
22
23
  } from '@polkadot/types-codec';
23
24
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
24
- import type { AccountId32, H160, H256, Percent } from '@polkadot/types/interfaces/runtime';
25
+ import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
25
26
  import type {
26
27
  ArgonNotaryAuditErrorVerifyError,
27
- ArgonPrimitivesAmountRankAmountRankKey,
28
+ ArgonPrimitivesAmountRankAmountRankKeyAccountId32,
29
+ ArgonPrimitivesAmountRankAmountRankKeyU32,
30
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32,
31
+ ArgonPrimitivesAmountRankAscendingRankKeyU64,
28
32
  ArgonPrimitivesBalanceChangeAccountOrigin,
29
33
  ArgonPrimitivesBitcoinBitcoinBlock,
30
34
  ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey,
@@ -48,6 +52,7 @@ import type {
48
52
  ArgonPrimitivesNotaryNotaryNotebookKeyDetails,
49
53
  ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails,
50
54
  ArgonPrimitivesNotaryNotaryRecord,
55
+ ArgonPrimitivesPriceIndex,
51
56
  ArgonPrimitivesProvidersBlockSealerInfo,
52
57
  ArgonPrimitivesTickTicker,
53
58
  ArgonPrimitivesTreasuryNetworkPositionQuantities,
@@ -95,7 +100,9 @@ import type {
95
100
  PalletGrandpaStoredState,
96
101
  PalletLocalchainTransferQueuedTransferOut,
97
102
  PalletMiningSlotMinerNonceScoring,
103
+ PalletMiningSlotPendingBid,
98
104
  PalletMiningSlotSeatPriceStats,
105
+ PalletMiningSlotStandingBid,
99
106
  PalletMintMintAction,
100
107
  PalletMintMintQueueCursor,
101
108
  PalletMintPendingBitcoinMint,
@@ -106,9 +113,15 @@ import type {
106
113
  PalletPriceIndexCpiMeasurementBucket,
107
114
  PalletPriceIndexEthereumPriceFrameAccumulator,
108
115
  PalletPriceIndexEthereumPriceIndex,
109
- PalletPriceIndexPriceIndex,
110
116
  PalletProxyAnnouncement,
111
117
  PalletProxyProxyDefinition,
118
+ PalletStabilizerBuysAccountBuys,
119
+ PalletStabilizerBuysAuction,
120
+ PalletStabilizerBuysBuyPayout,
121
+ PalletStabilizerBuysPriceHistoryHourlyPriceReference,
122
+ PalletStabilizerBuysUniswapPurchasePurchasePool,
123
+ PalletStabilizerPoolsPoolConfig,
124
+ PalletStabilizerPoolsPositionCheckpoint,
112
125
  PalletTransactionPaymentReleases,
113
126
  PalletTreasuryBondLot,
114
127
  PalletTreasuryBondLotSummary,
@@ -116,6 +129,7 @@ import type {
116
129
  PalletTreasuryFrameVaultBitcoin,
117
130
  PalletTreasuryFrameVaultCapital,
118
131
  PalletTreasuryPositionsPosition,
132
+ PalletTreasuryRewardReserveBalances,
119
133
  PalletTreasuryVaultBondState,
120
134
  PalletVaultsVaultFrameRevenue,
121
135
  SpConsensusGrandpaAppPublic,
@@ -908,6 +922,15 @@ declare module '@polkadot/api-base/types/storage' {
908
922
  () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
909
923
  []
910
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
+ >;
911
934
  /**
912
935
  * Retained execution-layer header anchors by execution block hash.
913
936
  **/
@@ -1101,6 +1124,11 @@ declare module '@polkadot/api-base/types/storage' {
1101
1124
  * Argonots that must be locked to take a Miner role
1102
1125
  **/
1103
1126
  argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1127
+ auctionAdmissionClosed: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1128
+ /**
1129
+ * Zero on fresh chains. Upgrades finish the deployed fixed-price auction first.
1130
+ **/
1131
+ auctionRulesStartAt: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1104
1132
  /**
1105
1133
  * Winning bid totals and seat counts for averaging prices over the last 10 frames (newest
1106
1134
  * first).
@@ -1110,6 +1138,14 @@ declare module '@polkadot/api-base/types/storage' {
1110
1138
  () => Observable<Vec<PalletMiningSlotSeatPriceStats>>,
1111
1139
  []
1112
1140
  >;
1141
+ /**
1142
+ * Vector position is canonical commitment order, including calls inside utility batches.
1143
+ **/
1144
+ bidBatches: AugmentedQuery<
1145
+ ApiType,
1146
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>,
1147
+ [u32]
1148
+ >;
1113
1149
  /**
1114
1150
  * The cohort set to go into effect in the next slot. The Vec has all
1115
1151
  * registrants with their bid amount
@@ -1131,9 +1167,14 @@ declare module '@polkadot/api-base/types/storage' {
1131
1167
  * The previous 10 frame start ticks
1132
1168
  **/
1133
1169
  frameStartTicks: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
1170
+ /**
1171
+ * Whether the current auction has an accepted price, including a valid zero price.
1172
+ **/
1173
+ hasAcceptedBidPrice: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1134
1174
  hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1135
1175
  /**
1136
- * The number of bids per slot for the last 10 slots (newest first)
1176
+ * Bid activity and accepted prices for the last 10 auctions (newest first).
1177
+ * Activity counts committed submissions and automatic standing-bid price increases.
1137
1178
  **/
1138
1179
  historicalBidsPerSlot: AugmentedQuery<
1139
1180
  ApiType,
@@ -1144,6 +1185,7 @@ declare module '@polkadot/api-base/types/storage' {
1144
1185
  * Is the next slot still open for bids
1145
1186
  **/
1146
1187
  isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1188
+ lastBidBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1147
1189
  /**
1148
1190
  * This is a lookup of each miner's nonce to use when picking a best authority to submit a
1149
1191
  * block. It's a blake2 256 hash of the miner account id and the block hash at time of
@@ -1185,6 +1227,11 @@ declare module '@polkadot/api-base/types/storage' {
1185
1227
  * cohorts.
1186
1228
  **/
1187
1229
  nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1230
+ pendingBids: AugmentedQuery<
1231
+ ApiType,
1232
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotPendingBid>>,
1233
+ [AccountId32]
1234
+ >;
1188
1235
  /**
1189
1236
  * The miners released in the last block (only kept for a single block)
1190
1237
  **/
@@ -1203,6 +1250,11 @@ declare module '@polkadot/api-base/types/storage' {
1203
1250
  () => Observable<BTreeMap<u64, u32>>,
1204
1251
  []
1205
1252
  >;
1253
+ standingBids: AugmentedQuery<
1254
+ ApiType,
1255
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotStandingBid>>,
1256
+ [AccountId32]
1257
+ >;
1206
1258
  /**
1207
1259
  * Temporary store the frame info digest
1208
1260
  **/
@@ -1514,7 +1566,7 @@ declare module '@polkadot/api-base/types/storage' {
1514
1566
  /**
1515
1567
  * Stores the active price index
1516
1568
  **/
1517
- current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1569
+ current: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
1518
1570
  /**
1519
1571
  * Stores the latest submitted Ethereum pricing.
1520
1572
  **/
@@ -1566,7 +1618,7 @@ declare module '@polkadot/api-base/types/storage' {
1566
1618
  /**
1567
1619
  * Stores the last valid price index
1568
1620
  **/
1569
- lastValid: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1621
+ lastValid: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
1570
1622
  /**
1571
1623
  * The price index operator account
1572
1624
  **/
@@ -1595,6 +1647,162 @@ declare module '@polkadot/api-base/types/storage' {
1595
1647
  [AccountId32]
1596
1648
  >;
1597
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
+ };
1598
1806
  sudo: {
1599
1807
  /**
1600
1808
  * The `AccountId` of the sudo key.
@@ -1887,6 +2095,10 @@ declare module '@polkadot/api-base/types/storage' {
1887
2095
  * The next bond lot id.
1888
2096
  **/
1889
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>, []>;
1890
2102
  /**
1891
2103
  * The oldest frame that still has bond lots to retry releasing.
1892
2104
  **/
@@ -1899,6 +2111,14 @@ declare module '@polkadot/api-base/types/storage' {
1899
2111
  (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
1900
2112
  [u64]
1901
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
+ >;
1902
2122
  /**
1903
2123
  * Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
1904
2124
  **/
@@ -2042,12 +2262,12 @@ declare module '@polkadot/api-base/types/storage' {
2042
2262
  ApiType,
2043
2263
  (
2044
2264
  arg:
2045
- | ArgonPrimitivesAmountRankAmountRankKey
2265
+ | ArgonPrimitivesAmountRankAmountRankKeyU32
2046
2266
  | { descendingAmount?: any; orderedId?: any }
2047
2267
  | string
2048
2268
  | Uint8Array,
2049
2269
  ) => Observable<Option<Null>>,
2050
- [ArgonPrimitivesAmountRankAmountRankKey]
2270
+ [ArgonPrimitivesAmountRankAmountRankKeyU32]
2051
2271
  >;
2052
2272
  /**
2053
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
@@ -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
  **/
@@ -866,28 +902,9 @@ declare module '@polkadot/api-base/types/submittable' {
866
902
  };
867
903
  miningSlot: {
868
904
  /**
869
- * Submit a bid for a mining slot in the next cohort. Once all spots are filled in the next
870
- * cohort, a bidder can be supplanted by supplying a higher bid.
871
- *
872
- * Each slot has `MaxCohortSize` spots available.
873
- *
874
- * To be eligible for a slot, you must have the required ownership tokens (argonots) in
875
- * this account. The required amount is calculated as a percentage of the total ownership
876
- * tokens in the network. This percentage is adjusted before the beginning of each slot.
877
- *
878
- * If your bid is no longer winning, a `SlotBidderDropped` event will be emitted. By
879
- * monitoring for this event, you will be able to ensure your bid is accepted.
880
- *
881
- * NOTE: bidding for each slot will be closed at a random block within
882
- * `mining_config.ticks_before_bid_end_for_vrf_close` blocks of the slot end time.
883
- *
884
- * The slot duration can be calculated as `BlocksBetweenSlots * MaxMiners / MaxCohortSize`.
885
- *
886
- * Parameters:
887
- * - `bid`: The amount of argons to bid
888
- * - `keys`: The session "hot" keys for the slot (BlockSealAuthorityId and GrandpaId).
889
- * - `mining_account_id`: This account_id allows you to operate as this miner account id,
890
- * but use funding (argonots and bid) from the submitting account
905
+ * Submit a funded public bid, optionally committing to a hidden maximum.
906
+ * Every bid competes at its public amount even if no maximum is revealed.
907
+ * An omitted target frame selects the current auction at dispatch time.
891
908
  **/
892
909
  bid: AugmentedSubmittable<
893
910
  (
@@ -898,8 +915,23 @@ declare module '@polkadot/api-base/types/submittable' {
898
915
  | string
899
916
  | Uint8Array,
900
917
  miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
918
+ targetFrameId: Option<u64> | null | Uint8Array | u64 | AnyNumber,
919
+ maxHash: Option<U8aFixed> | null | Uint8Array | U8aFixed | string,
901
920
  ) => SubmittableExtrinsic<ApiType>,
902
- [u128, ArgonRuntimeSessionKeys, Option<AccountId32>]
921
+ [u128, ArgonRuntimeSessionKeys, Option<AccountId32>, Option<u64>, Option<U8aFixed>]
922
+ >;
923
+ /**
924
+ * Disclose a committed maximum during the five blocks following submission.
925
+ * The target frame must match the original bid and the current auction.
926
+ **/
927
+ bidMax: AugmentedSubmittable<
928
+ (
929
+ max: u128 | AnyNumber | Uint8Array,
930
+ salt: U8aFixed | string | Uint8Array,
931
+ miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
932
+ targetFrameId: u64 | AnyNumber | Uint8Array,
933
+ ) => SubmittableExtrinsic<ApiType>,
934
+ [u128, U8aFixed, Option<AccountId32>, u64]
903
935
  >;
904
936
  /**
905
937
  * Admin function to update the mining slot delay.
@@ -1446,7 +1478,7 @@ declare module '@polkadot/api-base/types/submittable' {
1446
1478
  submit: AugmentedSubmittable<
1447
1479
  (
1448
1480
  index:
1449
- | PalletPriceIndexPriceIndex
1481
+ | ArgonPrimitivesPriceIndex
1450
1482
  | {
1451
1483
  btcUsdPrice?: any;
1452
1484
  argonotUsdPrice?: any;
@@ -1454,6 +1486,8 @@ declare module '@polkadot/api-base/types/submittable' {
1454
1486
  argonUsdTargetPrice?: any;
1455
1487
  argonTimeWeightedAverageLiquidity?: any;
1456
1488
  tick?: any;
1489
+ usdcUsdPrice?: any;
1490
+ stabilizerPoolSqrtPriceX96?: any;
1457
1491
  }
1458
1492
  | string
1459
1493
  | Uint8Array,
@@ -1465,7 +1499,7 @@ declare module '@polkadot/api-base/types/submittable' {
1465
1499
  | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any }
1466
1500
  | string,
1467
1501
  ) => SubmittableExtrinsic<ApiType>,
1468
- [PalletPriceIndexPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]
1502
+ [ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]
1469
1503
  >;
1470
1504
  };
1471
1505
  proxy: {
@@ -1827,6 +1861,80 @@ declare module '@polkadot/api-base/types/submittable' {
1827
1861
  [MultiAddress, ArgonRuntimeProxyType, u32]
1828
1862
  >;
1829
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
+ };
1830
1938
  sudo: {
1831
1939
  /**
1832
1940
  * Permanently removes the sudo key.