@argonprotocol/mainchain 1.5.2-dev.f0f0a03a → 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.
- package/README.md +87 -0
- package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +439 -0
- package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +319 -16
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
- package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
- package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
- package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
- package/browser/index.d.ts +5225 -606
- package/browser/index.js +4853 -1347
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +439 -0
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +319 -16
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
- package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
- package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
- package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
- package/lib/index.cjs +4431 -950
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +5225 -606
- package/lib/index.d.ts +5225 -606
- package/lib/index.js +4455 -974
- package/lib/index.js.map +1 -1
- package/package.json +8 -7
- package/src/interfaces/augment-api-consts.ts +70 -1
- package/src/interfaces/augment-api-errors.ts +148 -10
- package/src/interfaces/augment-api-events.ts +141 -28
- package/src/interfaces/augment-api-query.ts +254 -13
- package/src/interfaces/augment-api-rpc.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +182 -49
- package/src/interfaces/lookup.ts +765 -308
- package/src/interfaces/registry.ts +70 -6
- package/src/interfaces/types-lookup.ts +834 -328
|
@@ -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
|
-
|
|
28
|
+
ArgonPrimitivesAmountRankAmountRankKeyAccountId32,
|
|
29
|
+
ArgonPrimitivesAmountRankAmountRankKeyU32,
|
|
30
|
+
ArgonPrimitivesAmountRankAscendingRankKeyAccountId32,
|
|
31
|
+
ArgonPrimitivesAmountRankAscendingRankKeyU64,
|
|
28
32
|
ArgonPrimitivesBalanceChangeAccountOrigin,
|
|
29
33
|
ArgonPrimitivesBitcoinBitcoinBlock,
|
|
30
34
|
ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey,
|
|
@@ -48,9 +52,10 @@ import type {
|
|
|
48
52
|
ArgonPrimitivesNotaryNotaryNotebookKeyDetails,
|
|
49
53
|
ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails,
|
|
50
54
|
ArgonPrimitivesNotaryNotaryRecord,
|
|
55
|
+
ArgonPrimitivesPriceIndex,
|
|
51
56
|
ArgonPrimitivesProvidersBlockSealerInfo,
|
|
52
57
|
ArgonPrimitivesTickTicker,
|
|
53
|
-
|
|
58
|
+
ArgonPrimitivesTreasuryNetworkPositionQuantities,
|
|
54
59
|
ArgonPrimitivesVault,
|
|
55
60
|
ArgonPrimitivesVaultVaultArgonotSecuritization,
|
|
56
61
|
FrameSupportDispatchPerDispatchClassWeight,
|
|
@@ -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,15 +113,23 @@ 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,
|
|
115
128
|
PalletTreasuryFrameArgonotBondParticipants,
|
|
129
|
+
PalletTreasuryFrameVaultBitcoin,
|
|
116
130
|
PalletTreasuryFrameVaultCapital,
|
|
117
131
|
PalletTreasuryPositionsPosition,
|
|
132
|
+
PalletTreasuryRewardReserveBalances,
|
|
118
133
|
PalletTreasuryVaultBondState,
|
|
119
134
|
PalletVaultsVaultFrameRevenue,
|
|
120
135
|
SpConsensusGrandpaAppPublic,
|
|
@@ -255,13 +270,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
255
270
|
[u32, AccountId32]
|
|
256
271
|
>;
|
|
257
272
|
/**
|
|
258
|
-
* Highest Bitcoin UTXO sync height
|
|
273
|
+
* Highest Bitcoin UTXO sync height checked for funding expirations; failures remain pending.
|
|
259
274
|
**/
|
|
260
275
|
lastProcessedSecuritizationHoldBitcoinHeight: AugmentedQuery<
|
|
261
276
|
ApiType,
|
|
262
277
|
() => Observable<Option<u64>>,
|
|
263
278
|
[]
|
|
264
279
|
>;
|
|
280
|
+
/**
|
|
281
|
+
* Resume retries after this Lock so a persistent failure cannot starve other expirations.
|
|
282
|
+
**/
|
|
283
|
+
lastRetriedLockExpiration: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
|
|
265
284
|
/**
|
|
266
285
|
* Utxos that have been requested to be cosigned for releasing
|
|
267
286
|
**/
|
|
@@ -367,6 +386,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
367
386
|
) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>,
|
|
368
387
|
[AccountId32, ArgonPrimitivesBitcoinUtxoRef]
|
|
369
388
|
>;
|
|
389
|
+
/**
|
|
390
|
+
* Locks whose funding-window or terminal expiration failed and must be retried.
|
|
391
|
+
**/
|
|
392
|
+
pendingLockExpirations: AugmentedQuery<
|
|
393
|
+
ApiType,
|
|
394
|
+
(arg: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>,
|
|
395
|
+
[u64]
|
|
396
|
+
>;
|
|
370
397
|
/**
|
|
371
398
|
* Cosigned partial releases awaiting confirmation on Bitcoin.
|
|
372
399
|
**/
|
|
@@ -895,6 +922,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
895
922
|
() => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
|
|
896
923
|
[]
|
|
897
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
|
+
>;
|
|
898
934
|
/**
|
|
899
935
|
* Retained execution-layer header anchors by execution block hash.
|
|
900
936
|
**/
|
|
@@ -1088,6 +1124,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1088
1124
|
* Argonots that must be locked to take a Miner role
|
|
1089
1125
|
**/
|
|
1090
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>, []>;
|
|
1091
1132
|
/**
|
|
1092
1133
|
* Winning bid totals and seat counts for averaging prices over the last 10 frames (newest
|
|
1093
1134
|
* first).
|
|
@@ -1097,6 +1138,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1097
1138
|
() => Observable<Vec<PalletMiningSlotSeatPriceStats>>,
|
|
1098
1139
|
[]
|
|
1099
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
|
+
>;
|
|
1100
1149
|
/**
|
|
1101
1150
|
* The cohort set to go into effect in the next slot. The Vec has all
|
|
1102
1151
|
* registrants with their bid amount
|
|
@@ -1118,9 +1167,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1118
1167
|
* The previous 10 frame start ticks
|
|
1119
1168
|
**/
|
|
1120
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>, []>;
|
|
1121
1174
|
hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1122
1175
|
/**
|
|
1123
|
-
*
|
|
1176
|
+
* Bid activity and accepted prices for the last 10 auctions (newest first).
|
|
1177
|
+
* Activity counts committed submissions and automatic standing-bid price increases.
|
|
1124
1178
|
**/
|
|
1125
1179
|
historicalBidsPerSlot: AugmentedQuery<
|
|
1126
1180
|
ApiType,
|
|
@@ -1131,6 +1185,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1131
1185
|
* Is the next slot still open for bids
|
|
1132
1186
|
**/
|
|
1133
1187
|
isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1188
|
+
lastBidBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
1134
1189
|
/**
|
|
1135
1190
|
* This is a lookup of each miner's nonce to use when picking a best authority to submit a
|
|
1136
1191
|
* block. It's a blake2 256 hash of the miner account id and the block hash at time of
|
|
@@ -1172,6 +1227,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1172
1227
|
* cohorts.
|
|
1173
1228
|
**/
|
|
1174
1229
|
nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1230
|
+
pendingBids: AugmentedQuery<
|
|
1231
|
+
ApiType,
|
|
1232
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotPendingBid>>,
|
|
1233
|
+
[AccountId32]
|
|
1234
|
+
>;
|
|
1175
1235
|
/**
|
|
1176
1236
|
* The miners released in the last block (only kept for a single block)
|
|
1177
1237
|
**/
|
|
@@ -1190,6 +1250,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1190
1250
|
() => Observable<BTreeMap<u64, u32>>,
|
|
1191
1251
|
[]
|
|
1192
1252
|
>;
|
|
1253
|
+
standingBids: AugmentedQuery<
|
|
1254
|
+
ApiType,
|
|
1255
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotStandingBid>>,
|
|
1256
|
+
[AccountId32]
|
|
1257
|
+
>;
|
|
1193
1258
|
/**
|
|
1194
1259
|
* Temporary store the frame info digest
|
|
1195
1260
|
**/
|
|
@@ -1501,7 +1566,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1501
1566
|
/**
|
|
1502
1567
|
* Stores the active price index
|
|
1503
1568
|
**/
|
|
1504
|
-
current: AugmentedQuery<ApiType, () => Observable<Option<
|
|
1569
|
+
current: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
|
|
1505
1570
|
/**
|
|
1506
1571
|
* Stores the latest submitted Ethereum pricing.
|
|
1507
1572
|
**/
|
|
@@ -1553,7 +1618,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1553
1618
|
/**
|
|
1554
1619
|
* Stores the last valid price index
|
|
1555
1620
|
**/
|
|
1556
|
-
lastValid: AugmentedQuery<ApiType, () => Observable<Option<
|
|
1621
|
+
lastValid: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesPriceIndex>>, []>;
|
|
1557
1622
|
/**
|
|
1558
1623
|
* The price index operator account
|
|
1559
1624
|
**/
|
|
@@ -1582,6 +1647,162 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1582
1647
|
[AccountId32]
|
|
1583
1648
|
>;
|
|
1584
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
|
+
};
|
|
1585
1806
|
sudo: {
|
|
1586
1807
|
/**
|
|
1587
1808
|
* The `AccountId` of the sudo key.
|
|
@@ -1833,6 +2054,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1833
2054
|
() => Observable<Option<PalletTreasuryFrameArgonotBondParticipants>>,
|
|
1834
2055
|
[]
|
|
1835
2056
|
>;
|
|
2057
|
+
/**
|
|
2058
|
+
* Covered Bitcoin locked alongside vault capital for frames using independent reward tiers.
|
|
2059
|
+
**/
|
|
2060
|
+
currentFrameVaultBitcoin: AugmentedQuery<
|
|
2061
|
+
ApiType,
|
|
2062
|
+
() => Observable<Option<PalletTreasuryFrameVaultBitcoin>>,
|
|
2063
|
+
[]
|
|
2064
|
+
>;
|
|
1836
2065
|
/**
|
|
1837
2066
|
* The network bond total and vault capital locked for the current frame's payout.
|
|
1838
2067
|
**/
|
|
@@ -1866,6 +2095,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1866
2095
|
* The next bond lot id.
|
|
1867
2096
|
**/
|
|
1868
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>, []>;
|
|
1869
2102
|
/**
|
|
1870
2103
|
* The oldest frame that still has bond lots to retry releasing.
|
|
1871
2104
|
**/
|
|
@@ -1878,6 +2111,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1878
2111
|
(arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>,
|
|
1879
2112
|
[u64]
|
|
1880
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
|
+
>;
|
|
1881
2122
|
/**
|
|
1882
2123
|
* Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
|
|
1883
2124
|
**/
|
|
@@ -1895,12 +2136,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1895
2136
|
};
|
|
1896
2137
|
treasuryPositions: {
|
|
1897
2138
|
/**
|
|
1898
|
-
*
|
|
1899
|
-
* Treasury
|
|
2139
|
+
* Account contribution totals and Vault Bitcoin coverage, maintained as sources change.
|
|
2140
|
+
* Treasury freezes these network quantities at each frame boundary.
|
|
1900
2141
|
**/
|
|
1901
2142
|
networkTotals: AugmentedQuery<
|
|
1902
2143
|
ApiType,
|
|
1903
|
-
() => Observable<
|
|
2144
|
+
() => Observable<ArgonPrimitivesTreasuryNetworkPositionQuantities>,
|
|
1904
2145
|
[]
|
|
1905
2146
|
>;
|
|
1906
2147
|
/**
|
|
@@ -2021,12 +2262,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2021
2262
|
ApiType,
|
|
2022
2263
|
(
|
|
2023
2264
|
arg:
|
|
2024
|
-
|
|
|
2265
|
+
| ArgonPrimitivesAmountRankAmountRankKeyU32
|
|
2025
2266
|
| { descendingAmount?: any; orderedId?: any }
|
|
2026
2267
|
| string
|
|
2027
2268
|
| Uint8Array,
|
|
2028
2269
|
) => Observable<Option<Null>>,
|
|
2029
|
-
[
|
|
2270
|
+
[ArgonPrimitivesAmountRankAmountRankKeyU32]
|
|
2030
2271
|
>;
|
|
2031
2272
|
/**
|
|
2032
2273
|
* Vault Bitcoin Xpub and current child counter by VaultId
|