@argonprotocol/mainchain 1.6.0-dev.b6758225 → 1.6.0-dev.cc2a2d94
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 +688 -428
- 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 +688 -428
- package/lib/index.d.ts +688 -428
- 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 +18 -14
- package/src/interfaces/augment-api-errors.ts +51 -4
- package/src/interfaces/augment-api-events.ts +25 -6
- package/src/interfaces/augment-api-query.ts +52 -25
- package/src/interfaces/augment-api-tx.ts +13 -6
- package/src/interfaces/lookup.ts +498 -377
- package/src/interfaces/registry.ts +15 -5
- package/src/interfaces/types-lookup.ts +514 -377
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.cc2a2d94",
|
|
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.cc2a2d94",
|
|
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,7 +601,7 @@ 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
|
/**
|
|
@@ -720,24 +720,18 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
720
720
|
* The maximum number of active Argonot bond lots.
|
|
721
721
|
**/
|
|
722
722
|
maxActiveArgonotBondLots: u32 & AugmentedConst<ApiType>;
|
|
723
|
-
/**
|
|
724
|
-
* Maximum live Argon bond lots while direct frame payouts iterate every lot.
|
|
725
|
-
**/
|
|
726
|
-
maxArgonBondLots: u32 & AugmentedConst<ApiType>;
|
|
727
723
|
/**
|
|
728
724
|
* The maximum percent of ownership-token circulation that can be bonded.
|
|
729
725
|
**/
|
|
730
726
|
maxArgonotBondedPercentOfCirculation: Percent & AugmentedConst<ApiType>;
|
|
731
727
|
/**
|
|
732
|
-
* Maximum
|
|
728
|
+
* Maximum concrete lots backing one operator across all of its authorities.
|
|
733
729
|
**/
|
|
734
|
-
|
|
730
|
+
maxBondCollateralLots: u32 & AugmentedConst<ApiType>;
|
|
735
731
|
/**
|
|
736
|
-
*
|
|
737
|
-
* Includes lots awaiting release. Purchases remain unrestricted and scans are not
|
|
738
|
-
* truncated.
|
|
732
|
+
* Maximum accounts whose queued bond collateral is attempted in one block.
|
|
739
733
|
**/
|
|
740
|
-
|
|
734
|
+
maxBondCollateralSettlementsPerBlock: u32 & AugmentedConst<ApiType>;
|
|
741
735
|
/**
|
|
742
736
|
* The maximum number of bond lots whose release delay may mature in a single frame.
|
|
743
737
|
**/
|
|
@@ -808,6 +802,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
808
802
|
**/
|
|
809
803
|
vaultBitcoinRewardPercent: Permill & AugmentedConst<ApiType>;
|
|
810
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
|
+
};
|
|
811
815
|
txPause: {
|
|
812
816
|
/**
|
|
813
817
|
* Maximum length for pallet name and call name SCALE encoded string names.
|
|
@@ -1689,6 +1689,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1689
1689
|
* The Argonot bond purchase did not beat the current active-set cutoff.
|
|
1690
1690
|
**/
|
|
1691
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>;
|
|
1692
1697
|
/**
|
|
1693
1698
|
* The bond lot is already scheduled for release.
|
|
1694
1699
|
**/
|
|
@@ -1733,6 +1738,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1733
1738
|
* The bonus approval was signed for a different vault.
|
|
1734
1739
|
**/
|
|
1735
1740
|
BonusApprovalWrongVault: AugmentedError<ApiType>;
|
|
1741
|
+
/**
|
|
1742
|
+
* A caller-supplied collateral selection repeats a lot ID.
|
|
1743
|
+
**/
|
|
1744
|
+
DuplicateBondCollateralLot: AugmentedError<ApiType>;
|
|
1736
1745
|
/**
|
|
1737
1746
|
* The vault doesn't have enough raw securitization to support this bond purchase.
|
|
1738
1747
|
**/
|
|
@@ -1741,6 +1750,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1741
1750
|
* An internal error occurred.
|
|
1742
1751
|
**/
|
|
1743
1752
|
InternalError: AugmentedError<ApiType>;
|
|
1753
|
+
/**
|
|
1754
|
+
* Only active ARGON vault bonds can back a gateway authority.
|
|
1755
|
+
**/
|
|
1756
|
+
InvalidBondCollateralLot: AugmentedError<ApiType>;
|
|
1744
1757
|
/**
|
|
1745
1758
|
* The proposed backfill would reduce or corrupt the lot's earnings metrics.
|
|
1746
1759
|
**/
|
|
@@ -1753,10 +1766,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1753
1766
|
* A reward target or the price adjustment window is invalid.
|
|
1754
1767
|
**/
|
|
1755
1768
|
InvalidRewardTaperingPolicy: AugmentedError<ApiType>;
|
|
1756
|
-
/**
|
|
1757
|
-
* The network has reached the direct-payout vault bond lot admission limit.
|
|
1758
|
-
**/
|
|
1759
|
-
MaxArgonBondLotsExceeded: AugmentedError<ApiType>;
|
|
1760
1769
|
/**
|
|
1761
1770
|
* The vault already has the maximum number of flexible bond lots.
|
|
1762
1771
|
**/
|
|
@@ -1777,11 +1786,41 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1777
1786
|
* A requested reward frame has yet to finalize its rate.
|
|
1778
1787
|
**/
|
|
1779
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>;
|
|
1780
1793
|
/**
|
|
1781
1794
|
* The vault is not accepting bond purchases.
|
|
1782
1795
|
**/
|
|
1783
1796
|
VaultNotAcceptingBondPurchases: AugmentedError<ApiType>;
|
|
1784
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
|
+
};
|
|
1785
1824
|
txPause: {
|
|
1786
1825
|
/**
|
|
1787
1826
|
* The call is paused.
|
|
@@ -1820,6 +1859,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1820
1859
|
* Bitcoin conversion to compressed pubkey failed
|
|
1821
1860
|
**/
|
|
1822
1861
|
BitcoinConversionFailed: AugmentedError<ApiType>;
|
|
1862
|
+
/**
|
|
1863
|
+
* Vault revenue must be moved from legacy holds into Collect custody first.
|
|
1864
|
+
**/
|
|
1865
|
+
CollectMigrationIncomplete: AugmentedError<ApiType>;
|
|
1823
1866
|
/**
|
|
1824
1867
|
* A funding change is already scheduled
|
|
1825
1868
|
**/
|
|
@@ -1917,6 +1960,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1917
1960
|
* This reduction in vault securitization goes below the amount already committed
|
|
1918
1961
|
**/
|
|
1919
1962
|
VaultReductionBelowSecuritization: AugmentedError<ApiType>;
|
|
1963
|
+
/**
|
|
1964
|
+
* The vault's frame ledger differs from its aggregate earnings in Positions.
|
|
1965
|
+
**/
|
|
1966
|
+
VaultRevenueMismatch: AugmentedError<ApiType>;
|
|
1920
1967
|
/**
|
|
1921
1968
|
* Wrong Xpub Network
|
|
1922
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
|
/**
|
|
@@ -740,6 +739,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
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 }>;
|
|
742
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 }>;
|
|
743
746
|
};
|
|
744
747
|
sudo: {
|
|
745
748
|
/**
|
|
@@ -848,10 +851,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
848
851
|
* returned.
|
|
849
852
|
**/
|
|
850
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 }>;
|
|
851
858
|
/**
|
|
852
859
|
* Frame earnings were distributed.
|
|
853
860
|
**/
|
|
854
|
-
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 }>;
|
|
855
862
|
/**
|
|
856
863
|
* The current frame's vault capital was locked in.
|
|
857
864
|
**/
|
|
@@ -866,9 +873,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
866
873
|
};
|
|
867
874
|
treasuryPositions: {
|
|
868
875
|
/**
|
|
869
|
-
*
|
|
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.
|
|
870
889
|
**/
|
|
871
|
-
|
|
890
|
+
FrameEarningsIndexed: AugmentedEvent<ApiType, [frameId: u64, amounts: ArgonPrimitivesTreasuryCollectAmounts], { frameId: u64, amounts: ArgonPrimitivesTreasuryCollectAmounts }>;
|
|
872
891
|
};
|
|
873
892
|
txPause: {
|
|
874
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
|
|
@@ -1179,6 +1180,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1179
1180
|
txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []>;
|
|
1180
1181
|
};
|
|
1181
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]>;
|
|
1182
1187
|
/**
|
|
1183
1188
|
* The active Argonot set keeps the smallest bond amount first, then lower ids first when
|
|
1184
1189
|
* amounts tie.
|
|
@@ -1189,6 +1194,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1189
1194
|
* Zero disables the requirement; 100% requires full backing for variable earnings.
|
|
1190
1195
|
**/
|
|
1191
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]>;
|
|
1192
1201
|
/**
|
|
1193
1202
|
* Accounts due for collateral settlement, ordered by retry block and owner. Each pending
|
|
1194
1203
|
* account has one entry; failures move to the next block without blocking other owners.
|
|
@@ -1203,8 +1212,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1203
1212
|
**/
|
|
1204
1213
|
bondLotIdsByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u64]>;
|
|
1205
1214
|
/**
|
|
1206
|
-
* Live Argon bond lot ids associated with a vault, including lots awaiting release.
|
|
1207
|
-
*
|
|
1215
|
+
* Live Argon bond lot ids associated with a vault, including lots awaiting release. Principal
|
|
1216
|
+
* operations use this index.
|
|
1208
1217
|
**/
|
|
1209
1218
|
bondLotIdsByVault: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32, u64]>;
|
|
1210
1219
|
/**
|
|
@@ -1213,12 +1222,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1213
1222
|
* Admission totals and flexible displacement; individual lots live in `BondLotById`.
|
|
1214
1223
|
**/
|
|
1215
1224
|
bondLotsByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletTreasuryVaultBondState>, [u32]>;
|
|
1216
|
-
/**
|
|
1217
|
-
* The Argonot bond participants locked for the current frame.
|
|
1218
|
-
*
|
|
1219
|
-
* Payout uses this to see which Argonot bond lots are participating in the frame.
|
|
1220
|
-
**/
|
|
1221
|
-
currentFrameArgonotBondParticipants: AugmentedQuery<ApiType, () => Observable<Option<PalletTreasuryFrameArgonotBondParticipants>>, []>;
|
|
1222
1225
|
/**
|
|
1223
1226
|
* Argonot reward weight frozen with the current frame's capital.
|
|
1224
1227
|
**/
|
|
@@ -1235,6 +1238,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1235
1238
|
* The network bond total and vault capital locked for the current frame's payout.
|
|
1236
1239
|
**/
|
|
1237
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]>;
|
|
1238
1246
|
/**
|
|
1239
1247
|
* Exact treasury bond backing reserved for crosschain minting authorities by account.
|
|
1240
1248
|
*
|
|
@@ -1249,10 +1257,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1249
1257
|
* The next bond lot id.
|
|
1250
1258
|
**/
|
|
1251
1259
|
nextBondLotId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1252
|
-
/**
|
|
1253
|
-
* Awarded purchase rewards awaiting issuance. Auctions own their unallocated reservations.
|
|
1254
|
-
**/
|
|
1255
|
-
outstandingPurchaseRewards: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
1256
1260
|
/**
|
|
1257
1261
|
* Burn and release requests awaiting settlement, combined by owner. Both amounts remain
|
|
1258
1262
|
* included in the owner's encumbrance until processed; bonds retain their live payout terms.
|
|
@@ -1299,11 +1303,37 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1299
1303
|
upstreamParticipationFactor: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
|
|
1300
1304
|
};
|
|
1301
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>, []>;
|
|
1302
1327
|
/**
|
|
1303
1328
|
* Account contribution totals and Vault Bitcoin coverage, maintained as sources change.
|
|
1304
1329
|
* Treasury freezes these network quantities at each frame boundary.
|
|
1305
1330
|
**/
|
|
1306
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>>, []>;
|
|
1307
1337
|
/**
|
|
1308
1338
|
* Source quantities and earnings keyed by the position owner. Upstream quantities belong to
|
|
1309
1339
|
* the linked vault account; primary and mining accounts have separate positions.
|
|
@@ -1327,13 +1357,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1327
1357
|
lastCollectFrameByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [u32]>;
|
|
1328
1358
|
nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
1329
1359
|
/**
|
|
1330
|
-
*
|
|
1331
|
-
|
|
1332
|
-
orphanedUtxoAccountsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]>;
|
|
1333
|
-
/**
|
|
1334
|
-
* 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.
|
|
1335
1362
|
**/
|
|
1336
|
-
|
|
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]>]>;
|
|
1337
1364
|
/**
|
|
1338
1365
|
* Pending terms that will be committed at the given block number (must be a minimum of 1
|
|
1339
1366
|
* frame change away)
|
|
@@ -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]>;
|
|
@@ -799,8 +803,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
799
803
|
};
|
|
800
804
|
stabilizerPools: {
|
|
801
805
|
/**
|
|
802
|
-
* Register
|
|
803
|
-
*
|
|
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.
|
|
804
808
|
**/
|
|
805
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]>;
|
|
806
810
|
/**
|
|
@@ -815,8 +819,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
815
819
|
registerPool: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, config: PalletStabilizerPoolsPoolConfig | { positionManager?: any; subscriber?: any; key?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, PalletStabilizerPoolsPoolConfig]>;
|
|
816
820
|
/**
|
|
817
821
|
* Any signed account may report a newer revision or ended subscription. Proven rewards
|
|
818
|
-
* remain
|
|
819
|
-
*
|
|
822
|
+
* remain collectable after resets or removal. A timely continuation also preserves the
|
|
823
|
+
* enrollment and eligibility that has not yet been committed.
|
|
820
824
|
**/
|
|
821
825
|
reportPositionChange: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array, proof: PalletStabilizerPoolsPositionChangeProof | { Revision: any } | { Subscription: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsPositionChangeProof]>;
|
|
822
826
|
};
|
|
@@ -991,6 +995,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
991
995
|
* Settle the signer's available source earnings and collect them in one payment.
|
|
992
996
|
**/
|
|
993
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]>;
|
|
994
1002
|
};
|
|
995
1003
|
txPause: {
|
|
996
1004
|
/**
|
|
@@ -1137,7 +1145,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1137
1145
|
* its notice and any existing Bitcoin commitment.
|
|
1138
1146
|
**/
|
|
1139
1147
|
close: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1140
|
-
collect: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1141
1148
|
create: AugmentedSubmittable<(vaultConfig: PalletVaultsVaultConfig | { terms?: any; delegateAccountId?: any; securitization?: any; bitcoinXpubkey?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletVaultsVaultConfig]>;
|
|
1142
1149
|
/**
|
|
1143
1150
|
* Modify funds allocated by the vault without changing existing Bitcoin locks.
|