@argonprotocol/mainchain 1.6.0-dev.707ec3f0 → 1.6.0-dev.975bc263
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 +845 -446
- 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 +845 -446
- package/lib/index.d.ts +845 -446
- 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 +24 -16
- package/src/interfaces/augment-api-errors.ts +92 -7
- package/src/interfaces/augment-api-events.ts +26 -6
- package/src/interfaces/augment-api-query.ts +66 -31
- package/src/interfaces/augment-api-tx.ts +21 -9
- package/src/interfaces/lookup.ts +576 -380
- package/src/interfaces/registry.ts +24 -6
- package/src/interfaces/types-lookup.ts +597 -382
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.975bc263",
|
|
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.975bc263",
|
|
76
76
|
"@polkadot/typegen": "^17.0.1",
|
|
77
77
|
"@substrate/ss58-registry": "^1.51.0",
|
|
78
78
|
"@types/node": "^20",
|
|
@@ -572,9 +572,9 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
572
572
|
**/
|
|
573
573
|
maxLiquidRepaysPerBlock: u32 & AugmentedConst<ApiType>;
|
|
574
574
|
/**
|
|
575
|
-
* Maximum work in each automatic stage per block: ranked bid decisions, then
|
|
576
|
-
*
|
|
577
|
-
* queued.
|
|
575
|
+
* Maximum work in each automatic stage per block: ranked bid decisions, then principal
|
|
576
|
+
* release and repayment attempts. Failures and empty-auction completion consume work;
|
|
577
|
+
* excess stays queued.
|
|
578
578
|
**/
|
|
579
579
|
maxPayoutsPerBlock: u32 & AugmentedConst<ApiType>;
|
|
580
580
|
/**
|
|
@@ -601,11 +601,15 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
601
601
|
};
|
|
602
602
|
stabilizerPools: {
|
|
603
603
|
/**
|
|
604
|
-
*
|
|
604
|
+
* Closed frames available to prove eligibility. Accepted earnings never expire.
|
|
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
|
/**
|
|
@@ -716,24 +720,18 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
716
720
|
* The maximum number of active Argonot bond lots.
|
|
717
721
|
**/
|
|
718
722
|
maxActiveArgonotBondLots: u32 & AugmentedConst<ApiType>;
|
|
719
|
-
/**
|
|
720
|
-
* Maximum live Argon bond lots while direct frame payouts iterate every lot.
|
|
721
|
-
**/
|
|
722
|
-
maxArgonBondLots: u32 & AugmentedConst<ApiType>;
|
|
723
723
|
/**
|
|
724
724
|
* The maximum percent of ownership-token circulation that can be bonded.
|
|
725
725
|
**/
|
|
726
726
|
maxArgonotBondedPercentOfCirculation: Percent & AugmentedConst<ApiType>;
|
|
727
727
|
/**
|
|
728
|
-
* Maximum
|
|
728
|
+
* Maximum concrete lots backing one operator across all of its authorities.
|
|
729
729
|
**/
|
|
730
|
-
|
|
730
|
+
maxBondCollateralLots: u32 & AugmentedConst<ApiType>;
|
|
731
731
|
/**
|
|
732
|
-
*
|
|
733
|
-
* Includes lots awaiting release. Purchases remain unrestricted and scans are not
|
|
734
|
-
* truncated.
|
|
732
|
+
* Maximum accounts whose queued bond collateral is attempted in one block.
|
|
735
733
|
**/
|
|
736
|
-
|
|
734
|
+
maxBondCollateralSettlementsPerBlock: u32 & AugmentedConst<ApiType>;
|
|
737
735
|
/**
|
|
738
736
|
* The maximum number of bond lots whose release delay may mature in a single frame.
|
|
739
737
|
**/
|
|
@@ -783,7 +781,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
783
781
|
**/
|
|
784
782
|
percentForVaultPool: Percent & AugmentedConst<ApiType>;
|
|
785
783
|
/**
|
|
786
|
-
* Retain each frame's financial terms through
|
|
784
|
+
* Retain each frame's financial terms through funding and the collection window.
|
|
787
785
|
**/
|
|
788
786
|
stabilizerPoolRewardHistoryFrames: u32 & AugmentedConst<ApiType>;
|
|
789
787
|
/**
|
|
@@ -804,6 +802,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
804
802
|
**/
|
|
805
803
|
vaultBitcoinRewardPercent: Permill & AugmentedConst<ApiType>;
|
|
806
804
|
};
|
|
805
|
+
treasuryPositions: {
|
|
806
|
+
/**
|
|
807
|
+
* Maximum ready quantity changes settled by one Collect.
|
|
808
|
+
**/
|
|
809
|
+
maxEarningChangesPerCall: u32 & AugmentedConst<ApiType>;
|
|
810
|
+
/**
|
|
811
|
+
* Account that holds issued backing for committed collections.
|
|
812
|
+
**/
|
|
813
|
+
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
|
814
|
+
};
|
|
807
815
|
txPause: {
|
|
808
816
|
/**
|
|
809
817
|
* Maximum length for pallet name and call name SCALE encoded string names.
|
|
@@ -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
|
**/
|
|
@@ -1651,6 +1689,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1651
1689
|
* The Argonot bond purchase did not beat the current active-set cutoff.
|
|
1652
1690
|
**/
|
|
1653
1691
|
ArgonotBondPurchaseBelowCutoff: AugmentedError<ApiType>;
|
|
1692
|
+
/**
|
|
1693
|
+
* Pre-upgrade collateral exceeds its selected backing; supply a complete lot selection
|
|
1694
|
+
* with registration before withdrawing principal or processing collateral.
|
|
1695
|
+
**/
|
|
1696
|
+
BondCollateralSelectionRequired: AugmentedError<ApiType>;
|
|
1654
1697
|
/**
|
|
1655
1698
|
* The bond lot is already scheduled for release.
|
|
1656
1699
|
**/
|
|
@@ -1695,6 +1738,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1695
1738
|
* The bonus approval was signed for a different vault.
|
|
1696
1739
|
**/
|
|
1697
1740
|
BonusApprovalWrongVault: AugmentedError<ApiType>;
|
|
1741
|
+
/**
|
|
1742
|
+
* A caller-supplied collateral selection repeats a lot ID.
|
|
1743
|
+
**/
|
|
1744
|
+
DuplicateBondCollateralLot: AugmentedError<ApiType>;
|
|
1698
1745
|
/**
|
|
1699
1746
|
* The vault doesn't have enough raw securitization to support this bond purchase.
|
|
1700
1747
|
**/
|
|
@@ -1703,6 +1750,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1703
1750
|
* An internal error occurred.
|
|
1704
1751
|
**/
|
|
1705
1752
|
InternalError: AugmentedError<ApiType>;
|
|
1753
|
+
/**
|
|
1754
|
+
* Only active ARGON vault bonds can back a gateway authority.
|
|
1755
|
+
**/
|
|
1756
|
+
InvalidBondCollateralLot: AugmentedError<ApiType>;
|
|
1706
1757
|
/**
|
|
1707
1758
|
* The proposed backfill would reduce or corrupt the lot's earnings metrics.
|
|
1708
1759
|
**/
|
|
@@ -1715,10 +1766,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1715
1766
|
* A reward target or the price adjustment window is invalid.
|
|
1716
1767
|
**/
|
|
1717
1768
|
InvalidRewardTaperingPolicy: AugmentedError<ApiType>;
|
|
1718
|
-
/**
|
|
1719
|
-
* The network has reached the direct-payout vault bond lot admission limit.
|
|
1720
|
-
**/
|
|
1721
|
-
MaxArgonBondLotsExceeded: AugmentedError<ApiType>;
|
|
1722
1769
|
/**
|
|
1723
1770
|
* The vault already has the maximum number of flexible bond lots.
|
|
1724
1771
|
**/
|
|
@@ -1739,11 +1786,41 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1739
1786
|
* A requested reward frame has yet to finalize its rate.
|
|
1740
1787
|
**/
|
|
1741
1788
|
StabilizerPoolClaimNotReady: AugmentedError<ApiType>;
|
|
1789
|
+
/**
|
|
1790
|
+
* The supplied list or the operator's resulting backing set exceeds the lot limit.
|
|
1791
|
+
**/
|
|
1792
|
+
TooManyBondCollateralLots: AugmentedError<ApiType>;
|
|
1742
1793
|
/**
|
|
1743
1794
|
* The vault is not accepting bond purchases.
|
|
1744
1795
|
**/
|
|
1745
1796
|
VaultNotAcceptingBondPurchases: AugmentedError<ApiType>;
|
|
1746
1797
|
};
|
|
1798
|
+
treasuryPositions: {
|
|
1799
|
+
/**
|
|
1800
|
+
* The account layout upgrade must succeed before custody can be used.
|
|
1801
|
+
**/
|
|
1802
|
+
CollectMigrationIncomplete: AugmentedError<ApiType>;
|
|
1803
|
+
/**
|
|
1804
|
+
* Indexed frames must commit once and in their allocation order.
|
|
1805
|
+
**/
|
|
1806
|
+
EarningsFrameOutOfOrder: AugmentedError<ApiType>;
|
|
1807
|
+
/**
|
|
1808
|
+
* The source tried to expire more vault revenue than its account bucket contains.
|
|
1809
|
+
**/
|
|
1810
|
+
InsufficientVaultEarnings: AugmentedError<ApiType>;
|
|
1811
|
+
/**
|
|
1812
|
+
* An account quantity transition still refers to a missing retained boundary.
|
|
1813
|
+
**/
|
|
1814
|
+
MissingEarningsBoundary: AugmentedError<ApiType>;
|
|
1815
|
+
/**
|
|
1816
|
+
* The caller and beneficiary do not share a registered operational account.
|
|
1817
|
+
**/
|
|
1818
|
+
NotLinkedAccount: AugmentedError<ApiType>;
|
|
1819
|
+
/**
|
|
1820
|
+
* A nonzero indexed allocation requires eligible quantity.
|
|
1821
|
+
**/
|
|
1822
|
+
UnfundedEarnings: AugmentedError<ApiType>;
|
|
1823
|
+
};
|
|
1747
1824
|
txPause: {
|
|
1748
1825
|
/**
|
|
1749
1826
|
* The call is paused.
|
|
@@ -1782,6 +1859,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1782
1859
|
* Bitcoin conversion to compressed pubkey failed
|
|
1783
1860
|
**/
|
|
1784
1861
|
BitcoinConversionFailed: AugmentedError<ApiType>;
|
|
1862
|
+
/**
|
|
1863
|
+
* Vault revenue must be moved from legacy holds into Collect custody first.
|
|
1864
|
+
**/
|
|
1865
|
+
CollectMigrationIncomplete: AugmentedError<ApiType>;
|
|
1785
1866
|
/**
|
|
1786
1867
|
* A funding change is already scheduled
|
|
1787
1868
|
**/
|
|
@@ -1879,6 +1960,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1879
1960
|
* This reduction in vault securitization goes below the amount already committed
|
|
1880
1961
|
**/
|
|
1881
1962
|
VaultReductionBelowSecuritization: AugmentedError<ApiType>;
|
|
1963
|
+
/**
|
|
1964
|
+
* The vault's frame ledger differs from its aggregate earnings in Positions.
|
|
1965
|
+
**/
|
|
1966
|
+
VaultRevenueMismatch: AugmentedError<ApiType>;
|
|
1882
1967
|
/**
|
|
1883
1968
|
* Wrong Xpub Network
|
|
1884
1969
|
**/
|
|
@@ -8,7 +8,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
|
8
8
|
import type { Bytes, Compact, Null, Option, Result, U256, U8aFixed, Vec, bool, i128, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
9
9
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
10
10
|
import type { AccountId32, H160, H256, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
11
|
-
import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumProofBlock, ArgonPrimitivesGatewayGatewayState, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersOperationalRewardKind, ArgonPrimitivesVaultBitcoinSecuritizationBasis, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferCouncilApprovalTargetId, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferSwapPurchaseEvidence, PalletCrosschainTransferTransferToArgonActivity, PalletDomainsDomainRegistration, PalletEthereumVerifierBasicOperatingMode, PalletMintMintType, PalletMultisigTimepoint, PalletProxyDepositKind, PalletStabilizerBuysIneligibleReason, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsCheckpointOutcome, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletStabilizerPoolsStabilizerPoolPositionId, PalletTreasuryBondProgramId, PalletTreasuryBondReleaseReason,
|
|
11
|
+
import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumProofBlock, ArgonPrimitivesGatewayGatewayState, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersOperationalRewardKind, ArgonPrimitivesTreasuryCollectAmounts, ArgonPrimitivesTreasuryCollectSource, ArgonPrimitivesVaultBitcoinSecuritizationBasis, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferCouncilApprovalTargetId, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferSwapPurchaseEvidence, PalletCrosschainTransferTransferToArgonActivity, PalletDomainsDomainRegistration, PalletEthereumVerifierBasicOperatingMode, PalletMintMintType, PalletMultisigTimepoint, PalletProxyDepositKind, PalletStabilizerBuysIneligibleReason, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsCheckpointOutcome, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionCheckpoint, PalletStabilizerPoolsStabilizerPoolPositionId, PalletTreasuryBondProgramId, PalletTreasuryBondReleaseReason, PalletTreasuryRewardReserveBalances, PalletTreasuryTaperingPolicy, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } from '@polkadot/types/lookup';
|
|
12
12
|
|
|
13
13
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
14
14
|
|
|
@@ -455,8 +455,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
455
455
|
**/
|
|
456
456
|
BitcoinMint: AugmentedEvent<ApiType, [accountId: AccountId32, fissionId: u64, lockId: Option<u64>, amount: u128], { accountId: AccountId32, fissionId: u64, lockId: Option<u64>, amount: u128 }>;
|
|
457
457
|
/**
|
|
458
|
-
*
|
|
459
|
-
* will not be able to mint
|
|
458
|
+
* ARGON expansion minted into custody and indexed for eligible mining seats.
|
|
460
459
|
**/
|
|
461
460
|
MiningMint: AugmentedEvent<ApiType, [amount: u128, perMiner: u128, argonCpi: i128, liquidity: u128], { amount: u128, perMiner: u128, argonCpi: i128, liquidity: u128 }>;
|
|
462
461
|
/**
|
|
@@ -739,6 +738,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
739
738
|
PoolRegistered: AugmentedEvent<ApiType, [poolManager: H160, poolId: H256, config: PalletStabilizerPoolsPoolConfig], { poolManager: H160, poolId: H256, config: PalletStabilizerPoolsPoolConfig }>;
|
|
740
739
|
PositionChangeReported: AugmentedEvent<ApiType, [position: PalletStabilizerPoolsStabilizerPoolPositionId, observedAt: ArgonPrimitivesEthereumEthereumProofBlock], { position: PalletStabilizerPoolsStabilizerPoolPositionId, observedAt: ArgonPrimitivesEthereumEthereumProofBlock }>;
|
|
741
740
|
PositionCheckpointed: AugmentedEvent<ApiType, [positionManager: H160, tokenId: U256, checkpoint: PalletStabilizerPoolsPositionCheckpoint, outcome: PalletStabilizerPoolsCheckpointOutcome], { positionManager: H160, tokenId: U256, checkpoint: PalletStabilizerPoolsPositionCheckpoint, outcome: PalletStabilizerPoolsCheckpointOutcome }>;
|
|
741
|
+
PositionContinued: AugmentedEvent<ApiType, [position: PalletStabilizerPoolsStabilizerPoolPositionId, replacement: PalletStabilizerPoolsStabilizerPoolPositionId, firstEligibleFrameId: u64], { position: PalletStabilizerPoolsStabilizerPoolPositionId, replacement: PalletStabilizerPoolsStabilizerPoolPositionId, firstEligibleFrameId: u64 }>;
|
|
742
|
+
/**
|
|
743
|
+
* An accepted NFT earning period was handed to the owner's backed Positions bucket.
|
|
744
|
+
**/
|
|
745
|
+
PositionEarningsAccrued: AugmentedEvent<ApiType, [account: AccountId32, position: PalletStabilizerPoolsStabilizerPoolPositionId, frameId: u64, amount: u128], { account: AccountId32, position: PalletStabilizerPoolsStabilizerPoolPositionId, frameId: u64, amount: u128 }>;
|
|
742
746
|
};
|
|
743
747
|
sudo: {
|
|
744
748
|
/**
|
|
@@ -847,10 +851,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
847
851
|
* returned.
|
|
848
852
|
**/
|
|
849
853
|
EncumberedBondMicrogonsBurned: AugmentedEvent<ApiType, [accountId: AccountId32, burnedAmount: u128, releasedAmount: u128], { accountId: AccountId32, burnedAmount: u128, releasedAmount: u128 }>;
|
|
854
|
+
/**
|
|
855
|
+
* Earnings reserved for the frame; wallet delivery is recorded by Collect.
|
|
856
|
+
**/
|
|
857
|
+
FrameEarningsAllocated: AugmentedEvent<ApiType, [frameId: u64, bidPoolAllocated: u128, stakeEarnings: u128, bondEarnings: u128, bitcoinEarnings: u128, vaultEarnings: u128, reservedFromCirculation: u128, participatingVaults: u32], { frameId: u64, bidPoolAllocated: u128, stakeEarnings: u128, bondEarnings: u128, bitcoinEarnings: u128, vaultEarnings: u128, reservedFromCirculation: u128, participatingVaults: u32 }>;
|
|
850
858
|
/**
|
|
851
859
|
* Frame earnings were distributed.
|
|
852
860
|
**/
|
|
853
|
-
FrameEarningsDistributed: AugmentedEvent<ApiType, [frameId: u64, bidPoolDistributed: u128, stakePoolDistributed: u128, argonBondPoolDistributed: u128, vaultPoolDistributed: u128, reservedFromCirculation: u128, participatingVaults: u32], { frameId: u64, bidPoolDistributed: u128, stakePoolDistributed: u128, argonBondPoolDistributed: u128, vaultPoolDistributed: u128, reservedFromCirculation: u128, participatingVaults: u32 }>;
|
|
861
|
+
FrameEarningsDistributed: AugmentedEvent<ApiType, [frameId: u64, bidPoolDistributed: u128, stakePoolDistributed: u128, argonBondPoolDistributed: u128, bitcoinEarnings: u128, vaultPoolDistributed: u128, reservedFromCirculation: u128, participatingVaults: u32], { frameId: u64, bidPoolDistributed: u128, stakePoolDistributed: u128, argonBondPoolDistributed: u128, bitcoinEarnings: u128, vaultPoolDistributed: u128, reservedFromCirculation: u128, participatingVaults: u32 }>;
|
|
854
862
|
/**
|
|
855
863
|
* The current frame's vault capital was locked in.
|
|
856
864
|
**/
|
|
@@ -865,9 +873,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
865
873
|
};
|
|
866
874
|
treasuryPositions: {
|
|
867
875
|
/**
|
|
868
|
-
*
|
|
876
|
+
* Already backed earnings assigned to the beneficiary.
|
|
877
|
+
**/
|
|
878
|
+
CollectAccrued: AugmentedEvent<ApiType, [account: AccountId32, source: ArgonPrimitivesTreasuryCollectSource, amount: u128], { account: AccountId32, source: ArgonPrimitivesTreasuryCollectSource, amount: u128 }>;
|
|
879
|
+
/**
|
|
880
|
+
* ARGON and ARGNOT collected from a position, recorded by source.
|
|
881
|
+
**/
|
|
882
|
+
Collected: AugmentedEvent<ApiType, [account: AccountId32, recipient: AccountId32, amounts: ArgonPrimitivesTreasuryCollectAmounts], { account: AccountId32, recipient: AccountId32, amounts: ArgonPrimitivesTreasuryCollectAmounts }>;
|
|
883
|
+
/**
|
|
884
|
+
* Source earnings backed in custody, before assignment to individual owners.
|
|
885
|
+
**/
|
|
886
|
+
CollectFunded: AugmentedEvent<ApiType, [amounts: ArgonPrimitivesTreasuryCollectAmounts], { amounts: ArgonPrimitivesTreasuryCollectAmounts }>;
|
|
887
|
+
/**
|
|
888
|
+
* Funded allocations added to the cumulative bond/stake indexes, once per frame.
|
|
869
889
|
**/
|
|
870
|
-
|
|
890
|
+
FrameEarningsIndexed: AugmentedEvent<ApiType, [frameId: u64, amounts: ArgonPrimitivesTreasuryCollectAmounts], { frameId: u64, amounts: ArgonPrimitivesTreasuryCollectAmounts }>;
|
|
871
891
|
};
|
|
872
892
|
txPause: {
|
|
873
893
|
/**
|
|
@@ -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>;
|
|
@@ -950,8 +950,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
950
950
|
**/
|
|
951
951
|
matchingRate: AugmentedQuery<ApiType, () => Observable<Permill>, []>;
|
|
952
952
|
/**
|
|
953
|
-
*
|
|
954
|
-
*
|
|
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.
|
|
955
960
|
**/
|
|
956
961
|
payoutQueue: AugmentedQuery<ApiType, (arg: ArgonPrimitivesAmountRankAscendingRankKeyAccountId32 | { ascendingRank?: any; orderedId?: any } | string | Uint8Array) => Observable<Option<Null>>, [ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]>;
|
|
957
962
|
/**
|
|
@@ -959,10 +964,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
959
964
|
* Waiting repayments keep their maturity rank without blocking accounts behind them.
|
|
960
965
|
**/
|
|
961
966
|
payoutQueueCursor: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, ArgonPrimitivesAmountRankAscendingRankKeyAccountId32]>>>, []>;
|
|
962
|
-
/**
|
|
963
|
-
* Unpaid ordinary rewards and the account's single scheduled payout visit, across frames.
|
|
964
|
-
**/
|
|
965
|
-
payoutStateByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStabilizerBuysAccountPayoutState>, [AccountId32]>;
|
|
966
967
|
/**
|
|
967
968
|
* Unsettled purchase count for an owner's Liquid. Removed after its final settlement;
|
|
968
969
|
* lets Fissions block direct close without scanning purchases. Counts use the gateway's
|
|
@@ -981,6 +982,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
981
982
|
priceHistoryByTick: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<PalletStabilizerBuysPriceHistoryPriceObservation>>, [U8aFixed]>;
|
|
982
983
|
};
|
|
983
984
|
stabilizerPools: {
|
|
985
|
+
/**
|
|
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.
|
|
991
|
+
**/
|
|
992
|
+
pendingFrameRewardValue: AugmentedQuery<ApiType, () => Observable<Option<PalletStabilizerPoolsClosedFrameRewardValue>>, []>;
|
|
984
993
|
/**
|
|
985
994
|
* Approved deployments on the Ethereum network authenticated by EthereumVerifier.
|
|
986
995
|
* Configuration is immutable once registered, preserving checkpoint identity and layout.
|
|
@@ -991,7 +1000,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
991
1000
|
**/
|
|
992
1001
|
positionCheckpoints: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: U256 | AnyNumber | Uint8Array) => Observable<Option<PalletStabilizerPoolsPositionCheckpoint>>, [H160, U256]>;
|
|
993
1002
|
/**
|
|
994
|
-
*
|
|
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.
|
|
995
1008
|
**/
|
|
996
1009
|
positionIdsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletStabilizerPoolsStabilizerPoolPositionId>>, [AccountId32]>;
|
|
997
1010
|
/**
|
|
@@ -1014,11 +1027,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1014
1027
|
/**
|
|
1015
1028
|
* Current reward enrollment or the latest authenticated removal for each NFT.
|
|
1016
1029
|
**/
|
|
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>>, []>;
|
|
1030
|
+
stabilizerPoolRegistrations: AugmentedQuery<ApiType, (arg: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array) => Observable<Option<PalletStabilizerPoolsStabilizerPoolRegistration>>, [PalletStabilizerPoolsStabilizerPoolPositionId]>;
|
|
1022
1031
|
/**
|
|
1023
1032
|
* USDC reward share fixed for each retained frame. ARGON receives the remainder.
|
|
1024
1033
|
**/
|
|
@@ -1171,6 +1180,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1171
1180
|
txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []>;
|
|
1172
1181
|
};
|
|
1173
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]>;
|
|
1174
1187
|
/**
|
|
1175
1188
|
* The active Argonot set keeps the smallest bond amount first, then lower ids first when
|
|
1176
1189
|
* amounts tie.
|
|
@@ -1181,6 +1194,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1181
1194
|
* Zero disables the requirement; 100% requires full backing for variable earnings.
|
|
1182
1195
|
**/
|
|
1183
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]>;
|
|
1184
1201
|
/**
|
|
1185
1202
|
* Accounts due for collateral settlement, ordered by retry block and owner. Each pending
|
|
1186
1203
|
* account has one entry; failures move to the next block without blocking other owners.
|
|
@@ -1195,8 +1212,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1195
1212
|
**/
|
|
1196
1213
|
bondLotIdsByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u64]>;
|
|
1197
1214
|
/**
|
|
1198
|
-
* Live Argon bond lot ids associated with a vault, including lots awaiting release.
|
|
1199
|
-
*
|
|
1215
|
+
* Live Argon bond lot ids associated with a vault, including lots awaiting release. Principal
|
|
1216
|
+
* operations use this index.
|
|
1200
1217
|
**/
|
|
1201
1218
|
bondLotIdsByVault: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32, u64]>;
|
|
1202
1219
|
/**
|
|
@@ -1205,12 +1222,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1205
1222
|
* Admission totals and flexible displacement; individual lots live in `BondLotById`.
|
|
1206
1223
|
**/
|
|
1207
1224
|
bondLotsByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletTreasuryVaultBondState>, [u32]>;
|
|
1208
|
-
/**
|
|
1209
|
-
* The Argonot bond participants locked for the current frame.
|
|
1210
|
-
*
|
|
1211
|
-
* Payout uses this to see which Argonot bond lots are participating in the frame.
|
|
1212
|
-
**/
|
|
1213
|
-
currentFrameArgonotBondParticipants: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameArgonotBondParticipants>>, []>;
|
|
1214
1225
|
/**
|
|
1215
1226
|
* Argonot reward weight frozen with the current frame's capital.
|
|
1216
1227
|
**/
|
|
@@ -1227,6 +1238,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1227
1238
|
* The network bond total and vault capital locked for the current frame's payout.
|
|
1228
1239
|
**/
|
|
1229
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]>;
|
|
1230
1246
|
/**
|
|
1231
1247
|
* Exact treasury bond backing reserved for crosschain minting authorities by account.
|
|
1232
1248
|
*
|
|
@@ -1241,10 +1257,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1241
1257
|
* The next bond lot id.
|
|
1242
1258
|
**/
|
|
1243
1259
|
nextBondLotId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1244
|
-
/**
|
|
1245
|
-
* Awarded purchase rewards awaiting issuance. Auctions own their unallocated reservations.
|
|
1246
|
-
**/
|
|
1247
|
-
outstandingPurchaseRewards: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
1248
1260
|
/**
|
|
1249
1261
|
* Burn and release requests awaiting settlement, combined by owner. Both amounts remain
|
|
1250
1262
|
* included in the owner's encumbrance until processed; bonds retain their live payout terms.
|
|
@@ -1291,11 +1303,37 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1291
1303
|
upstreamParticipationFactor: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
|
|
1292
1304
|
};
|
|
1293
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>, []>;
|
|
1294
1327
|
/**
|
|
1295
1328
|
* Account contribution totals and Vault Bitcoin coverage, maintained as sources change.
|
|
1296
1329
|
* Treasury freezes these network quantities at each frame boundary.
|
|
1297
1330
|
**/
|
|
1298
1331
|
networkTotals: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTreasuryNetworkPositionQuantities>, []>;
|
|
1332
|
+
/**
|
|
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>>, []>;
|
|
1299
1337
|
/**
|
|
1300
1338
|
* Source quantities and earnings keyed by the position owner. Upstream quantities belong to
|
|
1301
1339
|
* the linked vault account; primary and mining accounts have separate positions.
|
|
@@ -1319,13 +1357,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1319
1357
|
lastCollectFrameByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [u32]>;
|
|
1320
1358
|
nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
1321
1359
|
/**
|
|
1322
|
-
*
|
|
1323
|
-
|
|
1324
|
-
orphanedUtxoAccountsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]>;
|
|
1325
|
-
/**
|
|
1326
|
-
* 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.
|
|
1327
1362
|
**/
|
|
1328
|
-
|
|
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]>]>;
|
|
1329
1364
|
/**
|
|
1330
1365
|
* Pending terms that will be committed at the given block number (must be a minimum of 1
|
|
1331
1366
|
* frame change away)
|