@argonprotocol/mainchain 1.6.0-dev.707ec3f0 → 1.6.0-dev.b6758225
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/browser/index.d.ts +475 -336
- package/browser/index.js +1 -1
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +475 -336
- package/lib/index.d.ts +475 -336
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +7 -3
- package/src/interfaces/augment-api-errors.ts +41 -3
- package/src/interfaces/augment-api-events.ts +1 -0
- package/src/interfaces/augment-api-query.ts +15 -7
- package/src/interfaces/augment-api-tx.ts +10 -5
- package/src/interfaces/lookup.ts +392 -317
- package/src/interfaces/registry.ts +10 -2
- package/src/interfaces/types-lookup.ts +397 -319
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.6.0-dev.
|
|
3
|
+
"version": "1.6.0-dev.b6758225",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@argonprotocol/ethereum-contracts": "workspace:*",
|
|
75
|
-
"@argonprotocol/testing": "1.6.0-dev.
|
|
75
|
+
"@argonprotocol/testing": "1.6.0-dev.b6758225",
|
|
76
76
|
"@polkadot/typegen": "^17.0.1",
|
|
77
77
|
"@substrate/ss58-registry": "^1.51.0",
|
|
78
78
|
"@types/node": "^20",
|
|
@@ -601,11 +601,15 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
601
601
|
};
|
|
602
602
|
stabilizerPools: {
|
|
603
603
|
/**
|
|
604
|
-
* Frames available to collect after
|
|
604
|
+
* Frames available to collect after Treasury finalizes the reward rate.
|
|
605
605
|
**/
|
|
606
606
|
claimWindowFrames: u32 & AugmentedConst<ApiType>;
|
|
607
607
|
/**
|
|
608
|
-
* Maximum
|
|
608
|
+
* Maximum Ethereum handoff gap in milliseconds; finality and relay waits are excluded.
|
|
609
|
+
**/
|
|
610
|
+
continuationGraceMillis: u64 & AugmentedConst<ApiType>;
|
|
611
|
+
/**
|
|
612
|
+
* Maximum beneficiary slots, including reported NFTs held for recovery or collection.
|
|
609
613
|
**/
|
|
610
614
|
maxPositionsPerAccount: u32 & AugmentedConst<ApiType>;
|
|
611
615
|
/**
|
|
@@ -783,7 +787,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
783
787
|
**/
|
|
784
788
|
percentForVaultPool: Percent & AugmentedConst<ApiType>;
|
|
785
789
|
/**
|
|
786
|
-
* Retain each frame's financial terms through
|
|
790
|
+
* Retain each frame's financial terms through funding and the collection window.
|
|
787
791
|
**/
|
|
788
792
|
stabilizerPoolRewardHistoryFrames: u32 & AugmentedConst<ApiType>;
|
|
789
793
|
/**
|
|
@@ -1521,6 +1521,19 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1521
1521
|
* The registered position cannot be valued at the frame's sampled pool price.
|
|
1522
1522
|
**/
|
|
1523
1523
|
ClaimValuationFailed: AugmentedError<ApiType>;
|
|
1524
|
+
/**
|
|
1525
|
+
* Another handoff already consumed a frame touched by this transition.
|
|
1526
|
+
**/
|
|
1527
|
+
ContinuationAlreadyUsed: AugmentedError<ApiType>;
|
|
1528
|
+
/**
|
|
1529
|
+
* The Ethereum gap exceeds the configured allowance, or continuation is disabled.
|
|
1530
|
+
**/
|
|
1531
|
+
ContinuationGraceExceeded: AugmentedError<ApiType>;
|
|
1532
|
+
/**
|
|
1533
|
+
* The source frame is too old, the replacement proof is in the future, or report recovery
|
|
1534
|
+
* has expired.
|
|
1535
|
+
**/
|
|
1536
|
+
ContinuationTooLate: AugmentedError<ApiType>;
|
|
1524
1537
|
/**
|
|
1525
1538
|
* The three account witnesses do not contain identical execution-block proofs.
|
|
1526
1539
|
**/
|
|
@@ -1531,8 +1544,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1531
1544
|
**/
|
|
1532
1545
|
InvalidPool: AugmentedError<ApiType>;
|
|
1533
1546
|
/**
|
|
1534
|
-
* The
|
|
1535
|
-
* uint128.
|
|
1547
|
+
* The pool or PositionManager identity mismatches, ticks are invalid/misaligned,
|
|
1548
|
+
* or liquidity exceeds uint128.
|
|
1536
1549
|
**/
|
|
1537
1550
|
InvalidPosition: AugmentedError<ApiType>;
|
|
1538
1551
|
/**
|
|
@@ -1561,6 +1574,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1561
1574
|
* No approved configuration exists for the supplied PoolManager/PoolId pair.
|
|
1562
1575
|
**/
|
|
1563
1576
|
PoolNotRegistered: AugmentedError<ApiType>;
|
|
1577
|
+
/**
|
|
1578
|
+
* The replacement NFT has previous Mainchain checkpoint history.
|
|
1579
|
+
**/
|
|
1580
|
+
PositionAlreadyCheckpointed: AugmentedError<ApiType>;
|
|
1564
1581
|
/**
|
|
1565
1582
|
* Beneficiary, subscriber, pool, tick range, or liquidity changed without a revision
|
|
1566
1583
|
* increase.
|
|
@@ -1571,9 +1588,21 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1571
1588
|
**/
|
|
1572
1589
|
PositionChangeNotProven: AugmentedError<ApiType>;
|
|
1573
1590
|
/**
|
|
1574
|
-
* The
|
|
1591
|
+
* The enrollment, recoverable report, account slot, or required checkpoint is missing.
|
|
1575
1592
|
**/
|
|
1576
1593
|
PositionNotEnrolled: AugmentedError<ApiType>;
|
|
1594
|
+
/**
|
|
1595
|
+
* The source NFT's packed position slot is not proven zero at the replacement block.
|
|
1596
|
+
**/
|
|
1597
|
+
PositionNotRetired: AugmentedError<ApiType>;
|
|
1598
|
+
/**
|
|
1599
|
+
* New enrollment or increased liquidity would be admitted below the ARGON target price.
|
|
1600
|
+
**/
|
|
1601
|
+
PriceBelowTarget: AugmentedError<ApiType>;
|
|
1602
|
+
/**
|
|
1603
|
+
* Current market or target quotes are unavailable, or the target is zero.
|
|
1604
|
+
**/
|
|
1605
|
+
PriceUnavailable: AugmentedError<ApiType>;
|
|
1577
1606
|
/**
|
|
1578
1607
|
* The subscriber revision is lower than the NFT's last accepted revision.
|
|
1579
1608
|
**/
|
|
@@ -1582,6 +1611,15 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1582
1611
|
* Ethereum block height or time does not strictly advance past the stored checkpoint.
|
|
1583
1612
|
**/
|
|
1584
1613
|
StaleCheckpoint: AugmentedError<ApiType>;
|
|
1614
|
+
/**
|
|
1615
|
+
* The active frame is tracking its maximum number of distinct band changes. A proof
|
|
1616
|
+
* needs no pending entry when the Ethereum handoff frame has already closed.
|
|
1617
|
+
**/
|
|
1618
|
+
TooManyPendingBandChanges: AugmentedError<ApiType>;
|
|
1619
|
+
/**
|
|
1620
|
+
* Unpaid history cannot fit within the retained frame bound.
|
|
1621
|
+
**/
|
|
1622
|
+
TooManyPositionPeriods: AugmentedError<ApiType>;
|
|
1585
1623
|
/**
|
|
1586
1624
|
* The beneficiary already has the maximum number of enrolled NFTs.
|
|
1587
1625
|
**/
|
|
@@ -739,6 +739,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
739
739
|
PoolRegistered: AugmentedEvent<ApiType, [poolManager: H160, poolId: H256, config: PalletStabilizerPoolsPoolConfig], { poolManager: H160, poolId: H256, config: PalletStabilizerPoolsPoolConfig }>;
|
|
740
740
|
PositionChangeReported: AugmentedEvent<ApiType, [position: PalletStabilizerPoolsStabilizerPoolPositionId, observedAt: ArgonPrimitivesEthereumEthereumProofBlock], { position: PalletStabilizerPoolsStabilizerPoolPositionId, observedAt: ArgonPrimitivesEthereumEthereumProofBlock }>;
|
|
741
741
|
PositionCheckpointed: AugmentedEvent<ApiType, [positionManager: H160, tokenId: U256, checkpoint: PalletStabilizerPoolsPositionCheckpoint, outcome: PalletStabilizerPoolsCheckpointOutcome], { positionManager: H160, tokenId: U256, checkpoint: PalletStabilizerPoolsPositionCheckpoint, outcome: PalletStabilizerPoolsCheckpointOutcome }>;
|
|
742
|
+
PositionContinued: AugmentedEvent<ApiType, [position: PalletStabilizerPoolsStabilizerPoolPositionId, replacement: PalletStabilizerPoolsStabilizerPoolPositionId, firstEligibleFrameId: u64], { position: PalletStabilizerPoolsStabilizerPoolPositionId, replacement: PalletStabilizerPoolsStabilizerPoolPositionId, firstEligibleFrameId: u64 }>;
|
|
742
743
|
};
|
|
743
744
|
sudo: {
|
|
744
745
|
/**
|
|
@@ -8,7 +8,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/
|
|
|
8
8
|
import type { BTreeMap, BTreeSet, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
9
9
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
10
10
|
import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
11
|
-
import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesAmountRankAmountRankKeyAccountId32, ArgonPrimitivesAmountRankAmountRankKeyU32, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32, ArgonPrimitivesAmountRankAscendingRankKeyU64, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoAddress, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsFrameInfo, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumBeaconPreset, ArgonPrimitivesForkPower, ArgonPrimitivesGatewayGatewayState, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesPriceIndex, ArgonPrimitivesPriceIndexRValueHighWaterMark, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesTreasuryNetworkPositionQuantities, ArgonPrimitivesVault, ArgonPrimitivesVaultVaultArgonotSecuritization, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAccountSecurityPendingPolicyUpdate, PalletAccountSecurityRegistration, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinFissionsFission, PalletBitcoinFissionsLiquidTicks, PalletBitcoinLocksLockReleaseCosignHeight, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, PalletBitcoinLocksPendingPartialRelease, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAccountTransferTotals, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferTransferOutTransferOutOfArgon, PalletDomainsDomainRegistration, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletEthereumVerifierSyncCommitteePrepared, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, PalletMiningSlotBidEligibility, PalletMiningSlotMinerNonceScoring, PalletMiningSlotPendingBid, PalletMiningSlotSeatPriceStats, PalletMiningSlotStandingBid, PalletMintMintAction, PalletMintMintQueueCursor, PalletMintPendingBitcoinMint, PalletMultisigMultisig, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexArgonotAverageFrameAccumulator, PalletPriceIndexCpiMeasurementBucket, PalletPriceIndexEthereumPriceFrameAccumulator, PalletPriceIndexEthereumPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStabilizerBuysAccountFrameBuys, PalletStabilizerBuysAccountPayoutState, PalletStabilizerBuysAuction, PalletStabilizerBuysLiquidRepay, PalletStabilizerBuysPriceHistoryPriceObservation, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletStabilizerPoolsPriceHistoryStabilizerPoolFramePrice, PalletStabilizerPoolsPriceHistoryStabilizerPoolPriceSampling,
|
|
11
|
+
import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesAmountRankAmountRankKeyAccountId32, ArgonPrimitivesAmountRankAmountRankKeyU32, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32, ArgonPrimitivesAmountRankAscendingRankKeyU64, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoAddress, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsFrameInfo, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumBeaconPreset, ArgonPrimitivesForkPower, ArgonPrimitivesGatewayGatewayState, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesPriceIndex, ArgonPrimitivesPriceIndexRValueHighWaterMark, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesTreasuryNetworkPositionQuantities, ArgonPrimitivesVault, ArgonPrimitivesVaultVaultArgonotSecuritization, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAccountSecurityPendingPolicyUpdate, PalletAccountSecurityRegistration, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinFissionsFission, PalletBitcoinFissionsLiquidTicks, PalletBitcoinLocksLockReleaseCosignHeight, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, PalletBitcoinLocksPendingPartialRelease, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAccountTransferTotals, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferTransferOutTransferOutOfArgon, PalletDomainsDomainRegistration, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletEthereumVerifierSyncCommitteePrepared, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, PalletMiningSlotBidEligibility, PalletMiningSlotMinerNonceScoring, PalletMiningSlotPendingBid, PalletMiningSlotSeatPriceStats, PalletMiningSlotStandingBid, PalletMintMintAction, PalletMintMintQueueCursor, PalletMintPendingBitcoinMint, PalletMultisigMultisig, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexArgonotAverageFrameAccumulator, PalletPriceIndexCpiMeasurementBucket, PalletPriceIndexEthereumPriceFrameAccumulator, PalletPriceIndexEthereumPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStabilizerBuysAccountFrameBuys, PalletStabilizerBuysAccountPayoutState, PalletStabilizerBuysAuction, PalletStabilizerBuysLiquidRepay, PalletStabilizerBuysPriceHistoryPriceObservation, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsClosedFrameRewardValue, PalletStabilizerPoolsPendingBandChange, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletStabilizerPoolsPositionContinuation, PalletStabilizerPoolsPriceHistoryStabilizerPoolFramePrice, PalletStabilizerPoolsPriceHistoryStabilizerPoolPriceSampling, PalletStabilizerPoolsStabilizerPoolLiquidityRange, PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsStabilizerPoolRangeLiquidity, PalletStabilizerPoolsStabilizerPoolRegistration, PalletTransactionPaymentReleases, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameArgonotBondParticipants, PalletTreasuryFrameArgonotParticipation, PalletTreasuryFrameRewardTaperingPolicy, PalletTreasuryFrameVaultBitcoin, PalletTreasuryFrameVaultCapital, PalletTreasuryPendingBondCollateral, PalletTreasuryPositionsPosition, PalletTreasuryRewardReserveBalances, PalletTreasuryStabilizerPoolRewardFrame, PalletTreasuryTaperingPolicy, PalletTreasuryVaultBondState, PalletVaultsVaultFrameRevenue, SpConsensusGrandpaAppPublic, SpRuntimeDigest, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
12
12
|
import type { Observable } from '@polkadot/types/types';
|
|
13
13
|
|
|
14
14
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
@@ -981,6 +981,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
981
981
|
priceHistoryByTick: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<PalletStabilizerBuysPriceHistoryPriceObservation>>, [U8aFixed]>;
|
|
982
982
|
};
|
|
983
983
|
stabilizerPools: {
|
|
984
|
+
/**
|
|
985
|
+
* This frame's capped liquidity for handoffs whose two different bands must qualify at close.
|
|
986
|
+
**/
|
|
987
|
+
pendingBandChanges: AugmentedQuery<ApiType, () => Observable<BTreeMap<PalletStabilizerPoolsPendingBandChange, U256>>, []>;
|
|
988
|
+
/**
|
|
989
|
+
* Eligible pool value fixed at close, awaiting Treasury funding and rate finalization.
|
|
990
|
+
**/
|
|
991
|
+
pendingFrameRewardValue: AugmentedQuery<ApiType, () => Observable<Option<PalletStabilizerPoolsClosedFrameRewardValue>>, []>;
|
|
984
992
|
/**
|
|
985
993
|
* Approved deployments on the Ethereum network authenticated by EthereumVerifier.
|
|
986
994
|
* Configuration is immutable once registered, preserving checkpoint identity and layout.
|
|
@@ -991,7 +999,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
991
999
|
**/
|
|
992
1000
|
positionCheckpoints: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: U256 | AnyNumber | Uint8Array) => Observable<Option<PalletStabilizerPoolsPositionCheckpoint>>, [H160, U256]>;
|
|
993
1001
|
/**
|
|
994
|
-
*
|
|
1002
|
+
* Per-position continuation history and unresolved public report, sharing one owner.
|
|
1003
|
+
**/
|
|
1004
|
+
positionContinuations: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array) => Observable<PalletStabilizerPoolsPositionContinuation>, [PalletStabilizerPoolsStabilizerPoolPositionId]>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Beneficiary slots for enrolled NFTs and reported NFTs held for recovery or collection.
|
|
995
1007
|
**/
|
|
996
1008
|
positionIdsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletStabilizerPoolsStabilizerPoolPositionId>>, [AccountId32]>;
|
|
997
1009
|
/**
|
|
@@ -1014,11 +1026,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1014
1026
|
/**
|
|
1015
1027
|
* Current reward enrollment or the latest authenticated removal for each NFT.
|
|
1016
1028
|
**/
|
|
1017
|
-
stabilizerPoolRegistrations: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any;
|
|
1018
|
-
/**
|
|
1019
|
-
* Raw liquidity for the most recently closed frame, while public corrections are allowed.
|
|
1020
|
-
**/
|
|
1021
|
-
stabilizerPoolReviewFrame: AugmentedQuery<ApiType, () => Observable<Option<PalletStabilizerPoolsStabilizerPoolFrameLiquidity>>, []>;
|
|
1029
|
+
stabilizerPoolRegistrations: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array) => Observable<Option<PalletStabilizerPoolsStabilizerPoolRegistration>>, [PalletStabilizerPoolsStabilizerPoolPositionId]>;
|
|
1022
1030
|
/**
|
|
1023
1031
|
* USDC reward share fixed for each retained frame. ARGON receives the remainder.
|
|
1024
1032
|
**/
|
|
@@ -8,7 +8,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
|
|
|
8
8
|
import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
|
9
9
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
10
10
|
import type { AccountId32, Call, H160, H256, MultiAddress, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
11
|
-
import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBitcoinUtxoSyncV2, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonPrimitivesPriceIndex, ArgonPrimitivesVaultTreasuryBonusApprovalProof, ArgonPrimitivesVaultVaultTerms, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeSessionKeys, PalletAccountSecurityApproval, PalletAccountSecurityAuthorization, PalletBalancesAdjustmentDirection, PalletBitcoinLocksFeeCoupon, PalletBitcoinLocksLockOptions, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryProof, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferChainConfig, PalletCrosschainTransferGatewayActivityStorageProof, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierFork, PalletEthereumVerifierForkVersions, PalletEthereumVerifierUpdate, PalletMultisigTimepoint, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletPriceIndexEthereumPriceIndex, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionChangeProof, PalletStabilizerPoolsPositionProof, PalletStabilizerPoolsStabilizerPoolPositionId, PalletTreasuryBondLotEarningsMetrics, PalletTreasuryTaperingProgram, PalletVaultsVaultConfig, SnowbridgeBeaconPrimitivesBeaconHeader, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
11
|
+
import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBitcoinUtxoSyncV2, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonPrimitivesPriceIndex, ArgonPrimitivesVaultTreasuryBonusApprovalProof, ArgonPrimitivesVaultVaultTerms, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeSessionKeys, PalletAccountSecurityApproval, PalletAccountSecurityAuthorization, PalletBalancesAdjustmentDirection, PalletBitcoinLocksFeeCoupon, PalletBitcoinLocksLockOptions, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryProof, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferChainConfig, PalletCrosschainTransferGatewayActivityStorageProof, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierFork, PalletEthereumVerifierForkVersions, PalletEthereumVerifierUpdate, PalletMultisigTimepoint, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletPriceIndexEthereumPriceIndex, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionChangeProof, PalletStabilizerPoolsPositionContinuationProof, PalletStabilizerPoolsPositionProof, PalletStabilizerPoolsStabilizerPoolPositionId, PalletTreasuryBondLotEarningsMetrics, PalletTreasuryTaperingProgram, PalletVaultsVaultConfig, SnowbridgeBeaconPrimitivesBeaconHeader, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
12
12
|
|
|
13
13
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
14
14
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
@@ -803,17 +803,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
803
803
|
* registration's unclaimed rewards and starts earning at the next frame.
|
|
804
804
|
**/
|
|
805
805
|
checkpointPosition: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, poolId: H256 | string | Uint8Array, tokenId: U256 | AnyNumber | Uint8Array, proof: PalletStabilizerPoolsPositionProof | { subscriber?: any; positionManager?: any; poolManager?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, H256, U256, PalletStabilizerPoolsPositionProof]>;
|
|
806
|
+
/**
|
|
807
|
+
* Continue the enrollment with another NFT from the same Uniswap PositionManager.
|
|
808
|
+
* The replacement's own reward terms start in the frame after its proven Ethereum block.
|
|
809
|
+
**/
|
|
810
|
+
continueEnrollment: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array, replacementUniswapNftId: U256 | AnyNumber | Uint8Array, proof: PalletStabilizerPoolsPositionContinuationProof | { before?: any; after?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStabilizerPoolsStabilizerPoolPositionId, U256, PalletStabilizerPoolsPositionContinuationProof]>;
|
|
806
811
|
/**
|
|
807
812
|
* Approve immutable deployment bindings and the canonical pool key.
|
|
808
813
|
* Root must verify the pinned implementations and their immutable bindings first.
|
|
809
814
|
**/
|
|
810
815
|
registerPool: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, config: PalletStabilizerPoolsPoolConfig | { positionManager?: any; subscriber?: any; key?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, PalletStabilizerPoolsPoolConfig]>;
|
|
811
816
|
/**
|
|
812
|
-
*
|
|
813
|
-
*
|
|
814
|
-
*
|
|
817
|
+
* Any signed account may report a newer revision or ended subscription. Proven rewards
|
|
818
|
+
* remain collectible until an ordinary checkpoint reset starts a fresh enrollment.
|
|
819
|
+
* A timely continuation preserves the enrollment and its unpaid reward cursor.
|
|
815
820
|
**/
|
|
816
|
-
reportPositionChange: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any;
|
|
821
|
+
reportPositionChange: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array, proof: PalletStabilizerPoolsPositionChangeProof | { Revision: any } | { Subscription: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsPositionChangeProof]>;
|
|
817
822
|
};
|
|
818
823
|
sudo: {
|
|
819
824
|
/**
|