@argonprotocol/mainchain 1.6.0-dev.270525da → 1.6.0-dev.5a8defda
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 +1293 -495
- package/browser/index.js +2 -2
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +2 -2
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1293 -495
- package/lib/index.d.ts +1293 -495
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +71 -24
- package/src/interfaces/augment-api-errors.ts +114 -5
- package/src/interfaces/augment-api-events.ts +44 -13
- package/src/interfaces/augment-api-query.ts +123 -31
- package/src/interfaces/augment-api-tx.ts +37 -7
- package/src/interfaces/lookup.ts +841 -404
- package/src/interfaces/registry.ts +48 -5
- package/src/interfaces/types-lookup.ts +854 -408
|
@@ -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,
|
|
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, ArgonPrimitivesTreasuryCollectAmounts, ArgonPrimitivesTreasuryCollectTotals, ArgonPrimitivesTreasuryNetworkPositionQuantities, ArgonPrimitivesVault, ArgonPrimitivesVaultCosignRequest, 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, PalletStabilizerBuysAuction, PalletStabilizerBuysLiquidRepay, PalletStabilizerBuysPriceHistoryPriceObservation, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsClosedFrameRewardValue, PalletStabilizerPoolsPendingBandChange, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletStabilizerPoolsPositionContinuation, PalletStabilizerPoolsPriceHistoryStabilizerPoolFramePrice, PalletStabilizerPoolsPriceHistoryStabilizerPoolPriceSampling, PalletStabilizerPoolsStabilizerPoolLiquidityRange, PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsStabilizerPoolRangeLiquidity, PalletStabilizerPoolsStabilizerPoolRegistration, PalletTransactionPaymentReleases, PalletTreasuryBondCollateralLot, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameArgonotParticipation, PalletTreasuryFrameRewardTaperingPolicy, PalletTreasuryFrameVaultBitcoin, PalletTreasuryFrameVaultCapital, PalletTreasuryPendingBondCollateral, PalletTreasuryPositionsEarningPositionChange, PalletTreasuryPositionsEarningsIndexState, PalletTreasuryPositionsFrameEarningsIndexes, PalletTreasuryPositionsMiningMintIndexState, 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>;
|
|
@@ -875,7 +875,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
875
875
|
**/
|
|
876
876
|
currentFrameArgonotAverage: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexArgonotAverageFrameAccumulator>>, []>;
|
|
877
877
|
/**
|
|
878
|
-
*
|
|
878
|
+
* CPI history in buckets of ceil(frame ticks / 24).
|
|
879
879
|
**/
|
|
880
880
|
historicArgonCPI: AugmentedQuery<ApiType, () => Observable<Vec<PalletPriceIndexCpiMeasurementBucket>>, []>;
|
|
881
881
|
/**
|
|
@@ -915,6 +915,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
915
915
|
* Execution venue eligible for purchase rewards. Unset until governance selects a pool.
|
|
916
916
|
**/
|
|
917
917
|
approvedPool: AugmentedQuery<ApiType, () => Observable<Option<PalletStabilizerBuysUniswapPurchasePurchasePool>>, []>;
|
|
918
|
+
/**
|
|
919
|
+
* Revision of `ApprovedPool`, updated by `set_approved_pool` when approval changes.
|
|
920
|
+
* The oracle reads this from the same finalized block as `ApprovedPool`.
|
|
921
|
+
**/
|
|
922
|
+
approvedPoolRevision: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
918
923
|
/**
|
|
919
924
|
* Closed auctions awaiting reward allocation, ordered by scheduled processing frame and
|
|
920
925
|
* admission frame. A failed allocation moves only its queue entry; the auction retains its
|
|
@@ -945,8 +950,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
945
950
|
**/
|
|
946
951
|
matchingRate: AugmentedQuery<ApiType, () => Observable<Permill>, []>;
|
|
947
952
|
/**
|
|
948
|
-
*
|
|
949
|
-
*
|
|
953
|
+
* Frame of the account's next principal release or Liquid repayment attempt, including
|
|
954
|
+
* retries. Each entry owns one System provider reference.
|
|
955
|
+
**/
|
|
956
|
+
nextSettlementFrameByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [AccountId32]>;
|
|
957
|
+
/**
|
|
958
|
+
* One principal/repayment visit per account, ordered by frame then account. Purchase holds
|
|
959
|
+
* and repayment records retain funds while this index selects bounded work.
|
|
950
960
|
**/
|
|
951
961
|
payoutQueue: AugmentedQuery<ApiType, (arg: ArgonPrimitivesAmountRankAscendingRankKeyAccountId32 | { ascendingRank?: any; orderedId?: any } | string | Uint8Array) => Observable<Option<Null>>, [ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]>;
|
|
952
962
|
/**
|
|
@@ -954,10 +964,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
954
964
|
* Waiting repayments keep their maturity rank without blocking accounts behind them.
|
|
955
965
|
**/
|
|
956
966
|
payoutQueueCursor: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]>>>, []>;
|
|
957
|
-
/**
|
|
958
|
-
* Unpaid ordinary rewards and the account's single scheduled payout visit, across frames.
|
|
959
|
-
**/
|
|
960
|
-
payoutStateByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStabilizerBuysAccountPayoutState>, [AccountId32]>;
|
|
961
967
|
/**
|
|
962
968
|
* Unsettled purchase count for an owner's Liquid. Removed after its final settlement;
|
|
963
969
|
* lets Fissions block direct close without scanning purchases. Counts use the gateway's
|
|
@@ -977,12 +983,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
977
983
|
};
|
|
978
984
|
stabilizerPools: {
|
|
979
985
|
/**
|
|
980
|
-
*
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
986
|
+
* This frame's capped liquidity for handoffs whose two different bands must qualify at close.
|
|
987
|
+
**/
|
|
988
|
+
pendingBandChanges: AugmentedQuery<ApiType, () => Observable<BTreeMap<PalletStabilizerPoolsPendingBandChange, U256>>, []>;
|
|
989
|
+
/**
|
|
990
|
+
* Eligible pool value fixed at close, awaiting Treasury funding and rate finalization.
|
|
984
991
|
**/
|
|
985
|
-
|
|
992
|
+
pendingFrameRewardValue: AugmentedQuery<ApiType, () => Observable<Option<PalletStabilizerPoolsClosedFrameRewardValue>>, []>;
|
|
986
993
|
/**
|
|
987
994
|
* Approved deployments on the Ethereum network authenticated by EthereumVerifier.
|
|
988
995
|
* Configuration is immutable once registered, preserving checkpoint identity and layout.
|
|
@@ -992,6 +999,39 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
992
999
|
* Last accepted checkpoint for an NFT. Keep its source-block watermark across re-enrollment.
|
|
993
1000
|
**/
|
|
994
1001
|
positionCheckpoints: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: U256 | AnyNumber | Uint8Array) => Observable<Option<PalletStabilizerPoolsPositionCheckpoint>>, [H160, U256]>;
|
|
1002
|
+
/**
|
|
1003
|
+
* Per-position continuation history and unresolved public report, sharing one owner.
|
|
1004
|
+
**/
|
|
1005
|
+
positionContinuations: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array) => Observable<PalletStabilizerPoolsPositionContinuation>, [PalletStabilizerPoolsStabilizerPoolPositionId]>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Beneficiary slots for enrolled NFTs and reported NFTs held for recovery or collection.
|
|
1008
|
+
**/
|
|
1009
|
+
positionIdsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletStabilizerPoolsStabilizerPoolPositionId>>, [AccountId32]>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Sum of registered raw Uniswap liquidity at each exact pool and range.
|
|
1012
|
+
**/
|
|
1013
|
+
registeredLiquidityByRange: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolLiquidityRange | { poolManager?: any; poolId?: any; lowerUniswapTick?: any; upperUniswapTick?: any } | string | Uint8Array) => Observable<PalletStabilizerPoolsStabilizerPoolRangeLiquidity>, [PalletStabilizerPoolsStabilizerPoolLiquidityRange]>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Opening block timestamp for each retained mining frame, in Unix milliseconds.
|
|
1016
|
+
* The opening of the next frame is the closing of this one.
|
|
1017
|
+
**/
|
|
1018
|
+
stabilizerPoolFrameStartMillis: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Current sampling buckets and the latest spot observation awaiting a tick boundary.
|
|
1021
|
+
**/
|
|
1022
|
+
stabilizerPoolPriceSamplingState: AugmentedQuery<ApiType, () => Observable<PalletStabilizerPoolsPriceHistoryStabilizerPoolPriceSampling>, []>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Representative Uniswap price and valuation quotes for each well-sampled closed frame.
|
|
1025
|
+
**/
|
|
1026
|
+
stabilizerPoolPricesByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, PalletStabilizerPoolsPriceHistoryStabilizerPoolFramePrice>>, []>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Current reward enrollment or the latest authenticated removal for each NFT.
|
|
1029
|
+
**/
|
|
1030
|
+
stabilizerPoolRegistrations: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array) => Observable<Option<PalletStabilizerPoolsStabilizerPoolRegistration>>, [PalletStabilizerPoolsStabilizerPoolPositionId]>;
|
|
1031
|
+
/**
|
|
1032
|
+
* USDC reward share fixed for each retained frame. ARGON receives the remainder.
|
|
1033
|
+
**/
|
|
1034
|
+
stabilizerPoolRewardSharesByFrame: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, Percent>>, []>;
|
|
995
1035
|
};
|
|
996
1036
|
sudo: {
|
|
997
1037
|
/**
|
|
@@ -1140,11 +1180,24 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1140
1180
|
txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []>;
|
|
1141
1181
|
};
|
|
1142
1182
|
treasury: {
|
|
1183
|
+
/**
|
|
1184
|
+
* Whole non-releasing ARGON bonds by owner and vault, including displaced flexible bonds.
|
|
1185
|
+
**/
|
|
1186
|
+
activeBondsByAccountAndVault: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [AccountId32, u32]>;
|
|
1143
1187
|
/**
|
|
1144
1188
|
* The active Argonot set keeps the smallest bond amount first, then lower ids first when
|
|
1145
1189
|
* amounts tie.
|
|
1146
1190
|
**/
|
|
1147
1191
|
argonotBondLots: AugmentedQuery<ApiType, () => Observable<Vec<PalletTreasuryBondLotSummary>>, []>;
|
|
1192
|
+
/**
|
|
1193
|
+
* Share of variable vault earnings controlled by Argonot backing, applied next frame.
|
|
1194
|
+
* Zero disables the requirement; 100% requires full backing for variable earnings.
|
|
1195
|
+
**/
|
|
1196
|
+
argonotParticipationFactor: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
|
|
1197
|
+
/**
|
|
1198
|
+
* Active lots with unreserved principal. Reservation visits at most the configured lot limit.
|
|
1199
|
+
**/
|
|
1200
|
+
availableBondCollateralLots: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u64]>;
|
|
1148
1201
|
/**
|
|
1149
1202
|
* Accounts due for collateral settlement, ordered by retry block and owner. Each pending
|
|
1150
1203
|
* account has one entry; failures move to the next block without blocking other owners.
|
|
@@ -1159,8 +1212,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1159
1212
|
**/
|
|
1160
1213
|
bondLotIdsByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u64]>;
|
|
1161
1214
|
/**
|
|
1162
|
-
* Live Argon bond lot ids associated with a vault, including lots awaiting release.
|
|
1163
|
-
*
|
|
1215
|
+
* Live Argon bond lot ids associated with a vault, including lots awaiting release. Principal
|
|
1216
|
+
* operations use this index.
|
|
1164
1217
|
**/
|
|
1165
1218
|
bondLotIdsByVault: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32, u64]>;
|
|
1166
1219
|
/**
|
|
@@ -1170,11 +1223,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1170
1223
|
**/
|
|
1171
1224
|
bondLotsByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletTreasuryVaultBondState>, [u32]>;
|
|
1172
1225
|
/**
|
|
1173
|
-
*
|
|
1174
|
-
|
|
1175
|
-
|
|
1226
|
+
* Argonot reward weight frozen with the current frame's capital.
|
|
1227
|
+
**/
|
|
1228
|
+
currentFrameArgonotParticipation: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameArgonotParticipation>>, []>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Reward settings frozen before a frame starts earning. Prices are measured over that frame.
|
|
1176
1231
|
**/
|
|
1177
|
-
|
|
1232
|
+
currentFrameRewardTaperingPolicy: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameRewardTaperingPolicy>>, []>;
|
|
1178
1233
|
/**
|
|
1179
1234
|
* Covered Bitcoin locked alongside vault capital for frames using independent reward tiers.
|
|
1180
1235
|
**/
|
|
@@ -1183,6 +1238,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1183
1238
|
* The network bond total and vault capital locked for the current frame's payout.
|
|
1184
1239
|
**/
|
|
1185
1240
|
currentFrameVaultCapital: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameVaultCapital>>, []>;
|
|
1241
|
+
/**
|
|
1242
|
+
* Concrete backing shared by the operator's minting authorities. The list remains bounded
|
|
1243
|
+
* across registrations; each entry records exact reserved ARGON microgons.
|
|
1244
|
+
**/
|
|
1245
|
+
encumberedBondLotsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletTreasuryBondCollateralLot>>, [AccountId32]>;
|
|
1186
1246
|
/**
|
|
1187
1247
|
* Exact treasury bond backing reserved for crosschain minting authorities by account.
|
|
1188
1248
|
*
|
|
@@ -1197,10 +1257,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1197
1257
|
* The next bond lot id.
|
|
1198
1258
|
**/
|
|
1199
1259
|
nextBondLotId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1200
|
-
/**
|
|
1201
|
-
* Awarded purchase rewards awaiting issuance. Auctions own their unallocated reservations.
|
|
1202
|
-
**/
|
|
1203
|
-
outstandingPurchaseRewards: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
1204
1260
|
/**
|
|
1205
1261
|
* Burn and release requests awaiting settlement, combined by owner. Both amounts remain
|
|
1206
1262
|
* included in the owner's encumbrance until processed; bonds retain their live payout terms.
|
|
@@ -1218,10 +1274,23 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1218
1274
|
* ARGON removed from circulation and available for future issuance as rewards.
|
|
1219
1275
|
**/
|
|
1220
1276
|
rewardReserves: AugmentedQuery<ApiType, () => Observable<PalletTreasuryRewardReserveBalances>, []>;
|
|
1277
|
+
/**
|
|
1278
|
+
* Configured daily reward targets and the share paid above each target.
|
|
1279
|
+
**/
|
|
1280
|
+
rewardTaperingPolicy: AugmentedQuery<ApiType, () => Observable<PalletTreasuryTaperingPolicy>, []>;
|
|
1281
|
+
/**
|
|
1282
|
+
* Shared funding and reward rates for each retained stabilizer pool earning frame.
|
|
1283
|
+
**/
|
|
1284
|
+
stabilizerPoolRewardFrames: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryStabilizerPoolRewardFrame>>, [u64]>;
|
|
1221
1285
|
/**
|
|
1222
1286
|
* Configurable percent of maximum Bitcoin-mintable Argons targeted by the network.
|
|
1223
1287
|
**/
|
|
1224
1288
|
targetBitcoinPercent: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
|
|
1289
|
+
/**
|
|
1290
|
+
* Circulating ARGON fraction used as the value reference for stabilizer pool rewards.
|
|
1291
|
+
* A zero reference leaves the frame's allocation in the stabilizer pool reserve.
|
|
1292
|
+
**/
|
|
1293
|
+
targetStabilizerPoolPercent: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
|
|
1225
1294
|
/**
|
|
1226
1295
|
* Live Argon bond lots, including those awaiting release; stakes have a separate admission
|
|
1227
1296
|
* limit.
|
|
@@ -1234,14 +1303,40 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1234
1303
|
upstreamParticipationFactor: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
|
|
1235
1304
|
};
|
|
1236
1305
|
treasuryPositions: {
|
|
1306
|
+
/**
|
|
1307
|
+
* Issued funding and delivered collections since backed Collect was activated. The custody
|
|
1308
|
+
* minimum and historical wallet payments are excluded from these counters.
|
|
1309
|
+
**/
|
|
1310
|
+
collectTotals: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTreasuryCollectTotals>, []>;
|
|
1311
|
+
/**
|
|
1312
|
+
* Only unsettled next-frame quantity changes survive; same-frame changes coalesce.
|
|
1313
|
+
**/
|
|
1314
|
+
earningPositionChanges: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryPositionsEarningPositionChange>>, [AccountId32, u64]>;
|
|
1315
|
+
/**
|
|
1316
|
+
* Current funded index progress; frame transitions update this single record.
|
|
1317
|
+
**/
|
|
1318
|
+
earningsIndexes: AugmentedQuery<ApiType, () => Observable<PalletTreasuryPositionsEarningsIndexState>, []>;
|
|
1319
|
+
/**
|
|
1320
|
+
* Only boundaries still referenced by unsettled account quantity changes are retained.
|
|
1321
|
+
**/
|
|
1322
|
+
earningsIndexesAtFrameStart: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryPositionsFrameEarningsIndexes>>, [u64]>;
|
|
1323
|
+
/**
|
|
1324
|
+
* Expansion mint progress is independent of Treasury's financial indexes.
|
|
1325
|
+
**/
|
|
1326
|
+
miningMintIndex: AugmentedQuery<ApiType, () => Observable<PalletTreasuryPositionsMiningMintIndexState>, []>;
|
|
1237
1327
|
/**
|
|
1238
1328
|
* Account contribution totals and Vault Bitcoin coverage, maintained as sources change.
|
|
1239
1329
|
* Treasury freezes these network quantities at each frame boundary.
|
|
1240
1330
|
**/
|
|
1241
1331
|
networkTotals: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTreasuryNetworkPositionQuantities>, []>;
|
|
1242
1332
|
/**
|
|
1243
|
-
*
|
|
1244
|
-
*
|
|
1333
|
+
* Pre-upgrade IOUs still awaiting their one-time custody funding. Payments and new funding
|
|
1334
|
+
* finish this aggregate cutover first; retries never walk account records.
|
|
1335
|
+
**/
|
|
1336
|
+
pendingCollectBacking: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesTreasuryCollectAmounts>>, []>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Source quantities and earnings keyed by the position owner. Upstream quantities belong to
|
|
1339
|
+
* the linked vault account; primary and mining accounts have separate positions.
|
|
1245
1340
|
**/
|
|
1246
1341
|
positionsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletTreasuryPositionsPosition>>, [AccountId32]>;
|
|
1247
1342
|
};
|
|
@@ -1262,13 +1357,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1262
1357
|
lastCollectFrameByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [u32]>;
|
|
1263
1358
|
nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
1264
1359
|
/**
|
|
1265
|
-
*
|
|
1266
|
-
|
|
1267
|
-
orphanedUtxoAccountsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]>;
|
|
1268
|
-
/**
|
|
1269
|
-
* Bitcoin Locks pending cosign by vault id
|
|
1360
|
+
* Pending signing requests ordered by their Collect due frame within each vault.
|
|
1361
|
+
* Big-endian frame bytes put the earliest obligation first in storage iteration.
|
|
1270
1362
|
**/
|
|
1271
|
-
|
|
1363
|
+
pendingCosignsByVault: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ITuple<[U8aFixed, ArgonPrimitivesVaultCosignRequest]> | [U8aFixed | string | Uint8Array, ArgonPrimitivesVaultCosignRequest | { Lock: any } | { Orphan: any } | string | Uint8Array]) => Observable<Option<Null>>, [u32, ITuple<[U8aFixed, ArgonPrimitivesVaultCosignRequest]>]>;
|
|
1272
1364
|
/**
|
|
1273
1365
|
* Pending terms that will be committed at the given block number (must be a minimum of 1
|
|
1274
1366
|
* frame change away)
|
|
@@ -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, PalletStabilizerPoolsPositionProof, PalletTreasuryBondLotEarningsMetrics, 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>;
|
|
@@ -249,7 +249,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
249
249
|
**/
|
|
250
250
|
proveGatewayActivityStorage: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array, proof: PalletCrosschainTransferGatewayActivityStorageProof | { locatorIndex?: any; activityRootSeed?: any; storageProof?: any; activityLogs?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, Compact<u64>, PalletCrosschainTransferGatewayActivityStorageProof]>;
|
|
251
251
|
registerCouncilSigner: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, signingKey: H160 | string | Uint8Array, signature: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed]>;
|
|
252
|
-
|
|
252
|
+
/**
|
|
253
|
+
* Register a gateway signer. Optional ARGON lot IDs select the operator's preferred
|
|
254
|
+
* backing; otherwise Treasury chooses it. All authorities share the operator's lot limit.
|
|
255
|
+
**/
|
|
256
|
+
registerMintingAuthority: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, destinationSigningKey: H160 | string | Uint8Array, signature: U8aFixed | string | Uint8Array, microgonCollateral: Compact<u128> | AnyNumber | Uint8Array, micronotCollateral: Compact<u128> | AnyNumber | Uint8Array, bondLotIds: Option<Vec<u64>> | null | Uint8Array | Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>, Option<Vec<u64>>]>;
|
|
253
257
|
setChainConfig: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, config: PalletCrosschainTransferChainConfig | { Evm: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferChainConfig]>;
|
|
254
258
|
setMinimumMintingAuthorityValue: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, minimumValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, Compact<u128>]>;
|
|
255
259
|
setMintingAuthorityActivationRepaymentPricing: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, pricing: PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing | { activationGasCost?: any; signatureGasCost?: any; estimatedWeiPerGas?: any; estimatedMicrogonsPerEth?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing]>;
|
|
@@ -623,9 +627,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
623
627
|
**/
|
|
624
628
|
setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
625
629
|
/**
|
|
626
|
-
* Submit the latest price index
|
|
630
|
+
* Submit the latest price index as the configured oracle operator.
|
|
631
|
+
* A superseded pool revision omits only the pool quote from the accepted index.
|
|
627
632
|
**/
|
|
628
|
-
submit: AugmentedSubmittable<(index: ArgonPrimitivesPriceIndex | { btcUsdPrice?: any; argonotUsdPrice?: any; argonUsdPrice?: any; argonUsdTargetPrice?: any; argonTimeWeightedAverageLiquidity?: any; tick?: any; usdcUsdPrice?: any; stabilizerPoolSqrtPriceX96?: any } | string | Uint8Array, ethereum: Option<PalletPriceIndexEthereumPriceIndex> | null | Uint8Array | PalletPriceIndexEthereumPriceIndex | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any } | string) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]>;
|
|
633
|
+
submit: AugmentedSubmittable<(index: ArgonPrimitivesPriceIndex | { btcUsdPrice?: any; argonotUsdPrice?: any; argonUsdPrice?: any; argonUsdTargetPrice?: any; argonTimeWeightedAverageLiquidity?: any; tick?: any; usdcUsdPrice?: any; stabilizerPoolSqrtPriceX96?: any } | string | Uint8Array, ethereum: Option<PalletPriceIndexEthereumPriceIndex> | null | Uint8Array | PalletPriceIndexEthereumPriceIndex | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any } | string, stabilizerPoolRevision: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>, Option<u32>]>;
|
|
629
634
|
};
|
|
630
635
|
proxy: {
|
|
631
636
|
/**
|
|
@@ -798,14 +803,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
798
803
|
};
|
|
799
804
|
stabilizerPools: {
|
|
800
805
|
/**
|
|
801
|
-
* Register
|
|
806
|
+
* Register or refresh eligibility. A new revision preserves accepted earnings and starts
|
|
807
|
+
* fresh eligibility at the next frame; it cannot prove continuity for the prior revision.
|
|
802
808
|
**/
|
|
803
809
|
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]>;
|
|
810
|
+
/**
|
|
811
|
+
* Continue the enrollment with another NFT from the same Uniswap PositionManager.
|
|
812
|
+
* The replacement's own reward terms start in the frame after its proven Ethereum block.
|
|
813
|
+
**/
|
|
814
|
+
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]>;
|
|
804
815
|
/**
|
|
805
816
|
* Approve immutable deployment bindings and the canonical pool key.
|
|
806
817
|
* Root must verify the pinned implementations and their immutable bindings first.
|
|
807
818
|
**/
|
|
808
819
|
registerPool: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, config: PalletStabilizerPoolsPoolConfig | { positionManager?: any; subscriber?: any; key?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, PalletStabilizerPoolsPoolConfig]>;
|
|
820
|
+
/**
|
|
821
|
+
* Any signed account may report a newer revision or ended subscription. Proven rewards
|
|
822
|
+
* remain collectable after resets or removal. A timely continuation also preserves the
|
|
823
|
+
* enrollment and eligibility that has not yet been committed.
|
|
824
|
+
**/
|
|
825
|
+
reportPositionChange: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array, proof: PalletStabilizerPoolsPositionChangeProof | { Revision: any } | { Subscription: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsPositionChangeProof]>;
|
|
809
826
|
};
|
|
810
827
|
sudo: {
|
|
811
828
|
/**
|
|
@@ -957,7 +974,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
957
974
|
/**
|
|
958
975
|
* Update reward economics without resetting fields omitted by the caller.
|
|
959
976
|
**/
|
|
960
|
-
configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<Percent>, Option<Percent>]>;
|
|
977
|
+
configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber, targetStabilizerPoolPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, argonotParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<Percent>, Option<Percent>, Option<Percent>, Option<Percent>]>;
|
|
978
|
+
/**
|
|
979
|
+
* Update selected reward programs for future frames, preserving omitted programs.
|
|
980
|
+
**/
|
|
981
|
+
configureRewardTaperingPolicy: AugmentedSubmittable<(bitcoinLiquids: Option<PalletTreasuryTaperingProgram> | null | Uint8Array | PalletTreasuryTaperingProgram | { targetDailyReturn?: any; excessRewardPayoutPercent?: any; targetDailyReturnWithPriceBelowTarget?: any } | string, argonBonds: Option<PalletTreasuryTaperingProgram> | null | Uint8Array | PalletTreasuryTaperingProgram | { targetDailyReturn?: any; excessRewardPayoutPercent?: any; targetDailyReturnWithPriceBelowTarget?: any } | string, argonotStakes: Option<PalletTreasuryTaperingProgram> | null | Uint8Array | PalletTreasuryTaperingProgram | { targetDailyReturn?: any; excessRewardPayoutPercent?: any; targetDailyReturnWithPriceBelowTarget?: any } | string, vaultRevenue: Option<PalletTreasuryTaperingProgram> | null | Uint8Array | PalletTreasuryTaperingProgram | { targetDailyReturn?: any; excessRewardPayoutPercent?: any; targetDailyReturnWithPriceBelowTarget?: any } | string, stabilizerPools: Option<PalletTreasuryTaperingProgram> | null | Uint8Array | PalletTreasuryTaperingProgram | { targetDailyReturn?: any; excessRewardPayoutPercent?: any; targetDailyReturnWithPriceBelowTarget?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletTreasuryTaperingProgram>, Option<PalletTreasuryTaperingProgram>, Option<PalletTreasuryTaperingProgram>, Option<PalletTreasuryTaperingProgram>, Option<PalletTreasuryTaperingProgram>]>;
|
|
961
982
|
/**
|
|
962
983
|
* Liquidate one full bond lot. It keeps the locked frame's payout terms and is
|
|
963
984
|
* released after the delay.
|
|
@@ -969,6 +990,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
969
990
|
**/
|
|
970
991
|
setReservedBondSpace: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, reservedBondSpace: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
971
992
|
};
|
|
993
|
+
treasuryPositions: {
|
|
994
|
+
/**
|
|
995
|
+
* Settle the signer's available source earnings and collect them in one payment.
|
|
996
|
+
**/
|
|
997
|
+
collect: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
998
|
+
/**
|
|
999
|
+
* Collect a linked account's available earnings into the signer's account.
|
|
1000
|
+
**/
|
|
1001
|
+
collectFor: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
1002
|
+
};
|
|
972
1003
|
txPause: {
|
|
973
1004
|
/**
|
|
974
1005
|
* Pause a call.
|
|
@@ -1114,7 +1145,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1114
1145
|
* its notice and any existing Bitcoin commitment.
|
|
1115
1146
|
**/
|
|
1116
1147
|
close: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1117
|
-
collect: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1118
1148
|
create: AugmentedSubmittable<(vaultConfig: PalletVaultsVaultConfig | { terms?: any; delegateAccountId?: any; securitization?: any; bitcoinXpubkey?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletVaultsVaultConfig]>;
|
|
1119
1149
|
/**
|
|
1120
1150
|
* Modify funds allocated by the vault without changing existing Bitcoin locks.
|