@argonprotocol/mainchain 1.5.2-dev.aad85636 → 1.5.2-dev.b031c548

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 +5031 -461
  12. package/browser/index.js +4852 -1346
  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 +4430 -949
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +5031 -461
  26. package/lib/index.d.ts +5031 -461
  27. package/lib/index.js +4454 -973
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +67 -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 +218 -5
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-tx.ts +134 -27
  36. package/src/interfaces/lookup.ts +697 -266
  37. package/src/interfaces/registry.ts +60 -4
  38. package/src/interfaces/types-lookup.ts +762 -279
@@ -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,12 @@ 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
28
  ArgonPrimitivesAmountRankAmountRankKey,
29
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32,
30
+ ArgonPrimitivesAmountRankAscendingRankKeyU64,
28
31
  ArgonPrimitivesBalanceChangeAccountOrigin,
29
32
  ArgonPrimitivesBitcoinBitcoinBlock,
30
33
  ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey,
@@ -48,6 +51,7 @@ import type {
48
51
  ArgonPrimitivesNotaryNotaryNotebookKeyDetails,
49
52
  ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails,
50
53
  ArgonPrimitivesNotaryNotaryRecord,
54
+ ArgonPrimitivesPriceIndex,
51
55
  ArgonPrimitivesProvidersBlockSealerInfo,
52
56
  ArgonPrimitivesTickTicker,
53
57
  ArgonPrimitivesTreasuryNetworkPositionQuantities,
@@ -95,7 +99,9 @@ import type {
95
99
  PalletGrandpaStoredState,
96
100
  PalletLocalchainTransferQueuedTransferOut,
97
101
  PalletMiningSlotMinerNonceScoring,
102
+ PalletMiningSlotPendingBid,
98
103
  PalletMiningSlotSeatPriceStats,
104
+ PalletMiningSlotStandingBid,
99
105
  PalletMintMintAction,
100
106
  PalletMintMintQueueCursor,
101
107
  PalletMintPendingBitcoinMint,
@@ -106,9 +112,15 @@ import type {
106
112
  PalletPriceIndexCpiMeasurementBucket,
107
113
  PalletPriceIndexEthereumPriceFrameAccumulator,
108
114
  PalletPriceIndexEthereumPriceIndex,
109
- PalletPriceIndexPriceIndex,
110
115
  PalletProxyAnnouncement,
111
116
  PalletProxyProxyDefinition,
117
+ PalletStabilizerBuysAccountBuys,
118
+ PalletStabilizerBuysAuction,
119
+ PalletStabilizerBuysBuyPayout,
120
+ PalletStabilizerBuysPriceHistoryHourlyPriceReference,
121
+ PalletStabilizerBuysUniswapPurchasePurchasePool,
122
+ PalletStabilizerPoolsPoolConfig,
123
+ PalletStabilizerPoolsPositionCheckpoint,
112
124
  PalletTransactionPaymentReleases,
113
125
  PalletTreasuryBondLot,
114
126
  PalletTreasuryBondLotSummary,
@@ -116,6 +128,7 @@ import type {
116
128
  PalletTreasuryFrameVaultBitcoin,
117
129
  PalletTreasuryFrameVaultCapital,
118
130
  PalletTreasuryPositionsPosition,
131
+ PalletTreasuryRewardReserveBalances,
119
132
  PalletTreasuryVaultBondState,
120
133
  PalletVaultsVaultFrameRevenue,
121
134
  SpConsensusGrandpaAppPublic,
@@ -908,6 +921,15 @@ declare module '@polkadot/api-base/types/storage' {
908
921
  () => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
909
922
  []
910
923
  >;
924
+ /**
925
+ * Number of retained beacon roots sharing an execution anchor. Gloas EMPTY payloads can
926
+ * leave the parent execution hash unchanged across multiple finalized beacon blocks.
927
+ **/
928
+ executionHeaderAnchorReferences: AugmentedQuery<
929
+ ApiType,
930
+ (arg: H256 | string | Uint8Array) => Observable<u32>,
931
+ [H256]
932
+ >;
911
933
  /**
912
934
  * Retained execution-layer header anchors by execution block hash.
913
935
  **/
@@ -1101,6 +1123,11 @@ declare module '@polkadot/api-base/types/storage' {
1101
1123
  * Argonots that must be locked to take a Miner role
1102
1124
  **/
1103
1125
  argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1126
+ auctionAdmissionClosed: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1127
+ /**
1128
+ * Zero on fresh chains. Upgrades finish the deployed fixed-price auction first.
1129
+ **/
1130
+ auctionRulesStartAt: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1104
1131
  /**
1105
1132
  * Winning bid totals and seat counts for averaging prices over the last 10 frames (newest
1106
1133
  * first).
@@ -1110,6 +1137,14 @@ declare module '@polkadot/api-base/types/storage' {
1110
1137
  () => Observable<Vec<PalletMiningSlotSeatPriceStats>>,
1111
1138
  []
1112
1139
  >;
1140
+ /**
1141
+ * Vector position is canonical commitment order, including calls inside utility batches.
1142
+ **/
1143
+ bidBatches: AugmentedQuery<
1144
+ ApiType,
1145
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>,
1146
+ [u32]
1147
+ >;
1113
1148
  /**
1114
1149
  * The cohort set to go into effect in the next slot. The Vec has all
1115
1150
  * registrants with their bid amount
@@ -1131,9 +1166,14 @@ declare module '@polkadot/api-base/types/storage' {
1131
1166
  * The previous 10 frame start ticks
1132
1167
  **/
1133
1168
  frameStartTicks: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
1169
+ /**
1170
+ * Whether the current auction has an accepted price, including a valid zero price.
1171
+ **/
1172
+ hasAcceptedBidPrice: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1134
1173
  hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1135
1174
  /**
1136
- * The number of bids per slot for the last 10 slots (newest first)
1175
+ * Bid activity and accepted prices for the last 10 auctions (newest first).
1176
+ * Activity counts committed submissions and automatic standing-bid price increases.
1137
1177
  **/
1138
1178
  historicalBidsPerSlot: AugmentedQuery<
1139
1179
  ApiType,
@@ -1144,6 +1184,7 @@ declare module '@polkadot/api-base/types/storage' {
1144
1184
  * Is the next slot still open for bids
1145
1185
  **/
1146
1186
  isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
1187
+ lastBidBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
1147
1188
  /**
1148
1189
  * This is a lookup of each miner's nonce to use when picking a best authority to submit a
1149
1190
  * block. It's a blake2 256 hash of the miner account id and the block hash at time of
@@ -1185,6 +1226,11 @@ declare module '@polkadot/api-base/types/storage' {
1185
1226
  * cohorts.
1186
1227
  **/
1187
1228
  nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
1229
+ pendingBids: AugmentedQuery<
1230
+ ApiType,
1231
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotPendingBid>>,
1232
+ [AccountId32]
1233
+ >;
1188
1234
  /**
1189
1235
  * The miners released in the last block (only kept for a single block)
1190
1236
  **/
@@ -1203,6 +1249,11 @@ declare module '@polkadot/api-base/types/storage' {
1203
1249
  () => Observable<BTreeMap<u64, u32>>,
1204
1250
  []
1205
1251
  >;
1252
+ standingBids: AugmentedQuery<
1253
+ ApiType,
1254
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotStandingBid>>,
1255
+ [AccountId32]
1256
+ >;
1206
1257
  /**
1207
1258
  * Temporary store the frame info digest
1208
1259
  **/
@@ -1514,7 +1565,7 @@ declare module '@polkadot/api-base/types/storage' {
1514
1565
  /**
1515
1566
  * Stores the active price index
1516
1567
  **/
1517
- current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1568
+ current: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
1518
1569
  /**
1519
1570
  * Stores the latest submitted Ethereum pricing.
1520
1571
  **/
@@ -1566,7 +1617,7 @@ declare module '@polkadot/api-base/types/storage' {
1566
1617
  /**
1567
1618
  * Stores the last valid price index
1568
1619
  **/
1569
- lastValid: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1620
+ lastValid: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
1570
1621
  /**
1571
1622
  * The price index operator account
1572
1623
  **/
@@ -1595,6 +1646,156 @@ declare module '@polkadot/api-base/types/storage' {
1595
1646
  [AccountId32]
1596
1647
  >;
1597
1648
  };
1649
+ stabilizerBuys: {
1650
+ /**
1651
+ * Execution venue eligible for purchase rewards. Unset until governance selects a pool.
1652
+ **/
1653
+ approvedPool: AugmentedQuery<
1654
+ ApiType,
1655
+ () => Observable<Option<PalletStabilizerBuysUniswapPurchasePurchasePool>>,
1656
+ []
1657
+ >;
1658
+ /**
1659
+ * Auction policy and funding keyed by admission frame F; bidding takes place during F+1.
1660
+ **/
1661
+ auctions: AugmentedQuery<
1662
+ ApiType,
1663
+ (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletStabilizerBuysAuction>>,
1664
+ [u64]
1665
+ >;
1666
+ /**
1667
+ * Positive bids ordered by rate ascending, then account ascending. Values are frozen matching
1668
+ * bases in microgons, allowing settlement after the account's principal bucket is gone.
1669
+ **/
1670
+ bidsByAuction: AugmentedQuery<
1671
+ ApiType,
1672
+ (
1673
+ arg1: u64 | AnyNumber | Uint8Array,
1674
+ arg2:
1675
+ | ArgonPrimitivesAmountRankAscendingRankKeyAccountId32
1676
+ | { ascendingRank?: any; orderedId?: any }
1677
+ | string
1678
+ | Uint8Array,
1679
+ ) => Observable<Option<u128>>,
1680
+ [u64, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]
1681
+ >;
1682
+ /**
1683
+ * Scheduled rewards and the account's single payout queue entry.
1684
+ **/
1685
+ buysByAccount: AugmentedQuery<
1686
+ ApiType,
1687
+ (arg: AccountId32 | string | Uint8Array) => Observable<PalletStabilizerBuysAccountBuys>,
1688
+ [AccountId32]
1689
+ >;
1690
+ /**
1691
+ * Counter for the related counted storage map
1692
+ **/
1693
+ counterForHourlyPriceReferences: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1694
+ /**
1695
+ * Counter for the related counted storage map
1696
+ **/
1697
+ counterForRecentPriceIndices: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1698
+ /**
1699
+ * Hourly references keyed by the bucket-start tick in the same oldest-first order.
1700
+ **/
1701
+ hourlyPriceReferences: AugmentedQuery<
1702
+ ApiType,
1703
+ (
1704
+ arg: U8aFixed | string | Uint8Array,
1705
+ ) => Observable<Option<PalletStabilizerBuysPriceHistoryHourlyPriceReference>>,
1706
+ [U8aFixed]
1707
+ >;
1708
+ /**
1709
+ * Matching fraction for new auctions; existing auctions retain their captured policy.
1710
+ **/
1711
+ matchingRate: AugmentedQuery<ApiType, () => Observable<Permill>, []>;
1712
+ /**
1713
+ * Funded auctions awaiting automatic reward allocation, ordered by maturity tick and frame.
1714
+ * A failed allocation moves only its retry tick; the auction retains its original maturity.
1715
+ **/
1716
+ maturingAuctions: AugmentedQuery<
1717
+ ApiType,
1718
+ (
1719
+ arg:
1720
+ | ArgonPrimitivesAmountRankAscendingRankKeyU64
1721
+ | { ascendingRank?: any; orderedId?: any }
1722
+ | string
1723
+ | Uint8Array,
1724
+ ) => Observable<Option<Null>>,
1725
+ [ArgonPrimitivesAmountRankAscendingRankKeyU64]
1726
+ >;
1727
+ /**
1728
+ * One scheduled visit per account, ordered by tick then account. Purchase buckets and the
1729
+ * reward record retain unpaid funds while this index selects bounded work.
1730
+ **/
1731
+ payoutQueue: AugmentedQuery<
1732
+ ApiType,
1733
+ (
1734
+ arg:
1735
+ | ArgonPrimitivesAmountRankAscendingRankKeyAccountId32
1736
+ | { ascendingRank?: any; orderedId?: any }
1737
+ | string
1738
+ | Uint8Array,
1739
+ ) => Observable<Option<Null>>,
1740
+ [ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]
1741
+ >;
1742
+ /**
1743
+ * One principal bucket per account and admission frame, retained until release succeeds.
1744
+ * Ordered frame bytes let payout visits select the oldest buckets with bounded work.
1745
+ **/
1746
+ purchasesByAccount: AugmentedQuery<
1747
+ ApiType,
1748
+ (
1749
+ arg1: AccountId32 | string | Uint8Array,
1750
+ arg2: U8aFixed | string | Uint8Array,
1751
+ ) => Observable<Option<PalletStabilizerBuysBuyPayout>>,
1752
+ [AccountId32, U8aFixed]
1753
+ >;
1754
+ /**
1755
+ * Exact observations keyed by the oracle tick in big-endian order, for oldest-first pruning.
1756
+ **/
1757
+ recentPriceIndices: AugmentedQuery<
1758
+ ApiType,
1759
+ (arg: U8aFixed | string | Uint8Array) => Observable<Option<ArgonPrimitivesPriceIndex>>,
1760
+ [U8aFixed]
1761
+ >;
1762
+ };
1763
+ stabilizerPools: {
1764
+ /**
1765
+ * First current-tick price index accepted in each frame, including absent pool observations.
1766
+ * This is an oracle opening reference, not an exact historical Ethereum boundary proof.
1767
+ * Later indices cannot revalue it; frames without an observation have no entry. A new opening
1768
+ * reference prunes frames outside the configured window, including across oracle gaps.
1769
+ **/
1770
+ frameStartPriceIndices: AugmentedQuery<
1771
+ ApiType,
1772
+ () => Observable<BTreeMap<u64, ArgonPrimitivesPriceIndex>>,
1773
+ []
1774
+ >;
1775
+ /**
1776
+ * Approved deployments on the Ethereum network authenticated by EthereumVerifier.
1777
+ * Configuration is immutable once registered, preserving checkpoint identity and layout.
1778
+ **/
1779
+ pools: AugmentedQuery<
1780
+ ApiType,
1781
+ (
1782
+ arg1: H160 | string | Uint8Array,
1783
+ arg2: H256 | string | Uint8Array,
1784
+ ) => Observable<Option<PalletStabilizerPoolsPoolConfig>>,
1785
+ [H160, H256]
1786
+ >;
1787
+ /**
1788
+ * Last accepted checkpoint for an NFT. Keep its source-block watermark across re-enrollment.
1789
+ **/
1790
+ positionCheckpoints: AugmentedQuery<
1791
+ ApiType,
1792
+ (
1793
+ arg1: H160 | string | Uint8Array,
1794
+ arg2: U256 | AnyNumber | Uint8Array,
1795
+ ) => Observable<Option<PalletStabilizerPoolsPositionCheckpoint>>,
1796
+ [H160, U256]
1797
+ >;
1798
+ };
1598
1799
  sudo: {
1599
1800
  /**
1600
1801
  * The `AccountId` of the sudo key.
@@ -1887,6 +2088,10 @@ declare module '@polkadot/api-base/types/storage' {
1887
2088
  * The next bond lot id.
1888
2089
  **/
1889
2090
  nextBondLotId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
2091
+ /**
2092
+ * Awarded purchase rewards awaiting issuance. Auctions own their unallocated reservations.
2093
+ **/
2094
+ outstandingPurchaseRewards: AugmentedQuery<ApiType, () => Observable<u128>, []>;
1890
2095
  /**
1891
2096
  * The oldest frame that still has bond lots to retry releasing.
1892
2097
  **/
@@ -1899,6 +2104,14 @@ declare module '@polkadot/api-base/types/storage' {
1899
2104
  (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
1900
2105
  [u64]
1901
2106
  >;
2107
+ /**
2108
+ * ARGON removed from circulation and available for future issuance as rewards.
2109
+ **/
2110
+ rewardReserves: AugmentedQuery<
2111
+ ApiType,
2112
+ () => Observable<PalletTreasuryRewardReserveBalances>,
2113
+ []
2114
+ >;
1902
2115
  /**
1903
2116
  * Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
1904
2117
  **/
@@ -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,79 @@ 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. Account ID breaks equal-rate ties.
1867
+ **/
1868
+ bid: AugmentedSubmittable<
1869
+ (
1870
+ admissionFrame: u64 | AnyNumber | Uint8Array,
1871
+ rewardRate: Percent | AnyNumber | Uint8Array,
1872
+ ) => SubmittableExtrinsic<ApiType>,
1873
+ [u64, Percent]
1874
+ >;
1875
+ /**
1876
+ * Select the reward pool, or disable new purchase eligibility.
1877
+ **/
1878
+ setApprovedPool: AugmentedSubmittable<
1879
+ (
1880
+ pool:
1881
+ | Option<PalletStabilizerBuysUniswapPurchasePurchasePool>
1882
+ | null
1883
+ | Uint8Array
1884
+ | PalletStabilizerBuysUniswapPurchasePurchasePool
1885
+ | {
1886
+ chainId?: any;
1887
+ poolManager?: any;
1888
+ poolId?: any;
1889
+ usdcToken?: any;
1890
+ argonIsToken0?: any;
1891
+ }
1892
+ | string,
1893
+ ) => SubmittableExtrinsic<ApiType>,
1894
+ [Option<PalletStabilizerBuysUniswapPurchasePurchasePool>]
1895
+ >;
1896
+ /**
1897
+ * Change matching for newly created auctions; existing policy remains frozen.
1898
+ **/
1899
+ setMatchingRate: AugmentedSubmittable<
1900
+ (rate: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
1901
+ [Permill]
1902
+ >;
1903
+ };
1904
+ stabilizerPools: {
1905
+ /**
1906
+ * Register a baseline, extend a maintained revision, or reset after an unproven change.
1907
+ **/
1908
+ checkpointPosition: AugmentedSubmittable<
1909
+ (
1910
+ poolManager: H160 | string | Uint8Array,
1911
+ poolId: H256 | string | Uint8Array,
1912
+ tokenId: U256 | AnyNumber | Uint8Array,
1913
+ proof:
1914
+ | PalletStabilizerPoolsPositionProof
1915
+ | { subscriber?: any; positionManager?: any; poolManager?: any }
1916
+ | string
1917
+ | Uint8Array,
1918
+ ) => SubmittableExtrinsic<ApiType>,
1919
+ [H160, H256, U256, PalletStabilizerPoolsPositionProof]
1920
+ >;
1921
+ /**
1922
+ * Approve immutable deployment bindings and the canonical pool key.
1923
+ * Root must verify the pinned implementations and their immutable bindings first.
1924
+ **/
1925
+ registerPool: AugmentedSubmittable<
1926
+ (
1927
+ poolManager: H160 | string | Uint8Array,
1928
+ config:
1929
+ | PalletStabilizerPoolsPoolConfig
1930
+ | { positionManager?: any; subscriber?: any; key?: any }
1931
+ | string
1932
+ | Uint8Array,
1933
+ ) => SubmittableExtrinsic<ApiType>,
1934
+ [H160, PalletStabilizerPoolsPoolConfig]
1935
+ >;
1936
+ };
1830
1937
  sudo: {
1831
1938
  /**
1832
1939
  * Permanently removes the sudo key.