@argonprotocol/mainchain 1.3.25 → 1.3.27
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 +441 -162
- package/browser/index.js +139 -37
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +137 -34
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +441 -162
- package/lib/index.d.ts +441 -162
- package/lib/index.js +139 -36
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
package/browser/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
|
|
|
5
5
|
export { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import { Percent, AccountId32, H256, MultiAddress, Call, Hash, SignedBlock, BlockNumber, Header, StorageData, AccountId, Justification, H160, H64, KeyValue, Index, Block, ExtrinsicInclusionMode, KeyTypeId, Balance, Weight, AccountId20, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, BalanceOf, BlockNumberFor, BlockNumberOf, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H2048, H32, H512, HeaderPartial, I32F32, IndicesLookupSource, Justifications, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletsOrigin, PalletVersion, Pays, Perbill, Permill, Perquintill, PerU16, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
|
|
7
7
|
export { AccountId, AccountId32, Block, Call, H160, H256, Header, MultiAddress, Permill, SignedBlock } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, FrameSupportTokensMiscBalanceStatus, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletChainTransferQueuedTransferOut, ArgonPrimitivesDigestsDigestset, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, IsmpConsensusStateCommitment, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletPriceIndexPriceIndex, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, PalletTreasuryTreasuryCapital, PalletTreasuryPrebondedArgons, PalletTreasuryTreasuryPool, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, SpConsensusGrandpaEquivocationProof, SpCoreVoid, IsmpMessagingCreateConsensusState, PalletIsmpUtilsFundMessageParams, IsmpMessagingMessage, PalletIsmpUtilsUpdateConsensusState, IsmpGrandpaAddStateMachine, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletTokenGatewayAssetRegistration, PalletTokenGatewayTeleportParams, PalletTokenGatewayPrecisionUpdate, TokenGatewayPrimitivesGatewayAssetUpdate, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
|
|
8
|
+
import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, FrameSupportTokensMiscBalanceStatus, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksFeeCoupon, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletChainTransferQueuedTransferOut, ArgonPrimitivesDigestsDigestset, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, IsmpConsensusStateCommitment, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletPriceIndexPriceIndex, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, PalletTreasuryTreasuryCapital, PalletTreasuryPrebondedArgons, PalletTreasuryTreasuryPool, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, SpConsensusGrandpaEquivocationProof, SpCoreVoid, IsmpMessagingCreateConsensusState, PalletIsmpUtilsFundMessageParams, IsmpMessagingMessage, PalletIsmpUtilsUpdateConsensusState, IsmpGrandpaAddStateMachine, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletTokenGatewayAssetRegistration, PalletTokenGatewayTeleportParams, PalletTokenGatewayPrecisionUpdate, TokenGatewayPrimitivesGatewayAssetUpdate, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
|
|
9
9
|
export * from '@polkadot/types/lookup';
|
|
10
10
|
import { Observable, IExtrinsic } from '@polkadot/types/types';
|
|
11
11
|
import { AugmentedRpc } from '@polkadot/rpc-core/types';
|
|
@@ -88,13 +88,11 @@ export { Keyring } from '@polkadot/api';
|
|
|
88
88
|
export { decodeAddress, encodeAddress, isAddress, mnemonicGenerate } from '@polkadot/util-crypto';
|
|
89
89
|
export { InterfaceTypes as interfaces } from '@polkadot/types/types/registry';
|
|
90
90
|
export { KeypairType } from '@polkadot/util-crypto/types';
|
|
91
|
-
import * as _polkadot_api_types from '@polkadot/api/types';
|
|
92
91
|
import { SignerOptions, ApiDecoration, ApiOptions } from '@polkadot/api/types';
|
|
93
92
|
export { ApiDecoration } from '@polkadot/api/types';
|
|
94
93
|
import { SubmittableExtrinsic as SubmittableExtrinsic$1 } from '@polkadot/api/promise/types';
|
|
95
94
|
export { SubmittableExtrinsic } from '@polkadot/api/promise/types';
|
|
96
95
|
import { DispatchError as DispatchError$1 } from '@polkadot/types/interfaces';
|
|
97
|
-
import * as _polkadot_types_types_extrinsic from '@polkadot/types/types/extrinsic';
|
|
98
96
|
import { ISubmittableResult } from '@polkadot/types/types/extrinsic';
|
|
99
97
|
export { IExtrinsic, ISignerPayload, ISubmittableResult, Signer, SignerResult } from '@polkadot/types/types/extrinsic';
|
|
100
98
|
import { GenericEvent } from '@polkadot/types/generic';
|
|
@@ -152,6 +150,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
152
150
|
* Number of frames a vault has to counter-sign a bitcoin release
|
|
153
151
|
**/
|
|
154
152
|
lockReleaseCosignDeadlineFrames: u64 & AugmentedConst<ApiType>;
|
|
153
|
+
/**
|
|
154
|
+
* Max allowed tick-age of microgon-per-btc prices
|
|
155
|
+
**/
|
|
156
|
+
maxBtcPriceTickAge: u32 & AugmentedConst<ApiType>;
|
|
155
157
|
/**
|
|
156
158
|
* Pallet storage requires bounds, so we have to set a maximum number that can expire in a
|
|
157
159
|
* single block
|
|
@@ -167,6 +169,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
167
169
|
ticksPerBitcoinBlock: u64 & AugmentedConst<ApiType>;
|
|
168
170
|
};
|
|
169
171
|
bitcoinUtxos: {
|
|
172
|
+
/**
|
|
173
|
+
* Maximum number of satoshi difference allowed from expected to consider a UTXO as
|
|
174
|
+
* "confirmed"
|
|
175
|
+
**/
|
|
176
|
+
maximumSatoshiThresholdFromExpected: u64 & AugmentedConst<ApiType>;
|
|
170
177
|
/**
|
|
171
178
|
* Maximum bitcoin blocks to watch a Utxo for confirmation before canceling
|
|
172
179
|
**/
|
|
@@ -650,20 +657,52 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
650
657
|
* This bitcoin cosign script couldn't be decoded for release
|
|
651
658
|
**/
|
|
652
659
|
BitcoinUnableToBeDecodedForRelease: AugmentedError<ApiType>;
|
|
660
|
+
/**
|
|
661
|
+
* The Bitcoin Unspect Transaction Output (UTXO) was not found
|
|
662
|
+
**/
|
|
653
663
|
BitcoinUtxoNotFound: AugmentedError<ApiType>;
|
|
654
664
|
/**
|
|
655
665
|
* An overflow occurred recording a lock expiration
|
|
656
666
|
**/
|
|
657
667
|
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
668
|
+
/**
|
|
669
|
+
* The fee coupon already exists
|
|
670
|
+
**/
|
|
671
|
+
FeeCouponAlreadyExists: AugmentedError<ApiType>;
|
|
672
|
+
/**
|
|
673
|
+
* Initializing a lock for another account requires a fee coupon
|
|
674
|
+
**/
|
|
675
|
+
FeeCouponRequired: AugmentedError<ApiType>;
|
|
676
|
+
/**
|
|
677
|
+
* An error occurred in the vault module
|
|
678
|
+
**/
|
|
658
679
|
GenericVaultError: AugmentedError<ApiType>;
|
|
680
|
+
/**
|
|
681
|
+
* The expected amount of funds to return from hold was not available
|
|
682
|
+
**/
|
|
659
683
|
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
684
|
+
/**
|
|
685
|
+
* An ineligible microgon rate per btc was requested
|
|
686
|
+
**/
|
|
687
|
+
IneligibleMicrogonRateRequested: AugmentedError<ApiType>;
|
|
660
688
|
InsufficientFunds: AugmentedError<ApiType>;
|
|
689
|
+
/**
|
|
690
|
+
* The minimum number of satoshis was not met
|
|
691
|
+
**/
|
|
661
692
|
InsufficientSatoshisLocked: AugmentedError<ApiType>;
|
|
662
693
|
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
663
694
|
/**
|
|
664
695
|
* The bitcoin script to lock this bitcoin has errors
|
|
665
696
|
**/
|
|
666
697
|
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
698
|
+
/**
|
|
699
|
+
* The provided fee coupon is already used or invalid
|
|
700
|
+
**/
|
|
701
|
+
InvalidFeeCoupon: AugmentedError<ApiType>;
|
|
702
|
+
/**
|
|
703
|
+
* The provided fee coupon proof is invalid
|
|
704
|
+
**/
|
|
705
|
+
InvalidFeeCouponProof: AugmentedError<ApiType>;
|
|
667
706
|
/**
|
|
668
707
|
* Funding would result in an overflow of the balance type
|
|
669
708
|
**/
|
|
@@ -672,8 +711,22 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
672
711
|
* A lock in process of release cannot be ratcheted
|
|
673
712
|
**/
|
|
674
713
|
LockInProcessOfRelease: AugmentedError<ApiType>;
|
|
714
|
+
/**
|
|
715
|
+
* The Bitcoin Lock record was not found
|
|
716
|
+
**/
|
|
675
717
|
LockNotFound: AugmentedError<ApiType>;
|
|
718
|
+
/**
|
|
719
|
+
* This bitcoin lock exceeded the maximum allowed number of satoshis for the provided fee
|
|
720
|
+
* coupon
|
|
721
|
+
**/
|
|
722
|
+
MaxFeeCouponSatoshisExceeded: AugmentedError<ApiType>;
|
|
723
|
+
/**
|
|
724
|
+
* The price provider has no bitcoin prices available. This is a temporary error
|
|
725
|
+
**/
|
|
676
726
|
NoBitcoinPricesAvailable: AugmentedError<ApiType>;
|
|
727
|
+
/**
|
|
728
|
+
* The user does not have permissions to perform this action
|
|
729
|
+
**/
|
|
677
730
|
NoPermissions: AugmentedError<ApiType>;
|
|
678
731
|
/**
|
|
679
732
|
* Nothing to ratchet
|
|
@@ -695,12 +748,21 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
695
748
|
* Unable to generate a new vault public key
|
|
696
749
|
**/
|
|
697
750
|
UnableToGenerateVaultBitcoinPubkey: AugmentedError<ApiType>;
|
|
751
|
+
/**
|
|
752
|
+
* The hold on funds could not be recovered
|
|
753
|
+
**/
|
|
698
754
|
UnrecoverableHold: AugmentedError<ApiType>;
|
|
699
755
|
/**
|
|
700
756
|
* The lock is not verified
|
|
701
757
|
**/
|
|
702
758
|
UnverifiedLock: AugmentedError<ApiType>;
|
|
759
|
+
/**
|
|
760
|
+
* This vault is closed
|
|
761
|
+
**/
|
|
703
762
|
VaultClosed: AugmentedError<ApiType>;
|
|
763
|
+
/**
|
|
764
|
+
* The vault was not found
|
|
765
|
+
**/
|
|
704
766
|
VaultNotFound: AugmentedError<ApiType>;
|
|
705
767
|
/**
|
|
706
768
|
* This vault is not yet active
|
|
@@ -949,6 +1011,12 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
949
1011
|
**/
|
|
950
1012
|
NotDomainOwner: AugmentedError<ApiType>;
|
|
951
1013
|
};
|
|
1014
|
+
feeControl: {
|
|
1015
|
+
/**
|
|
1016
|
+
* The requested tip + fee is higher than the maximum allowed by the sponsor
|
|
1017
|
+
**/
|
|
1018
|
+
SponsoredFeeTooHigh: AugmentedError<ApiType>;
|
|
1019
|
+
};
|
|
952
1020
|
grandpa: {
|
|
953
1021
|
/**
|
|
954
1022
|
* Attempt to signal GRANDPA change with one already pending.
|
|
@@ -1819,14 +1887,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1819
1887
|
utxoId: u64,
|
|
1820
1888
|
vaultId: u32,
|
|
1821
1889
|
liquidityPromised: u128,
|
|
1822
|
-
|
|
1890
|
+
lockedMarketRate: u128,
|
|
1823
1891
|
accountId: AccountId32,
|
|
1824
1892
|
securityFee: u128
|
|
1825
1893
|
], {
|
|
1826
1894
|
utxoId: u64;
|
|
1827
1895
|
vaultId: u32;
|
|
1828
1896
|
liquidityPromised: u128;
|
|
1829
|
-
|
|
1897
|
+
lockedMarketRate: u128;
|
|
1830
1898
|
accountId: AccountId32;
|
|
1831
1899
|
securityFee: u128;
|
|
1832
1900
|
}>;
|
|
@@ -1834,18 +1902,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1834
1902
|
utxoId: u64,
|
|
1835
1903
|
vaultId: u32,
|
|
1836
1904
|
liquidityPromised: u128,
|
|
1837
|
-
|
|
1905
|
+
originalMarketRate: u128,
|
|
1838
1906
|
securityFee: u128,
|
|
1839
|
-
|
|
1907
|
+
newLockedMarketRate: u128,
|
|
1840
1908
|
amountBurned: u128,
|
|
1841
1909
|
accountId: AccountId32
|
|
1842
1910
|
], {
|
|
1843
1911
|
utxoId: u64;
|
|
1844
1912
|
vaultId: u32;
|
|
1845
1913
|
liquidityPromised: u128;
|
|
1846
|
-
|
|
1914
|
+
originalMarketRate: u128;
|
|
1847
1915
|
securityFee: u128;
|
|
1848
|
-
|
|
1916
|
+
newLockedMarketRate: u128;
|
|
1849
1917
|
amountBurned: u128;
|
|
1850
1918
|
accountId: AccountId32;
|
|
1851
1919
|
}>;
|
|
@@ -1885,21 +1953,27 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1885
1953
|
utxoId: u64;
|
|
1886
1954
|
error: SpRuntimeDispatchError;
|
|
1887
1955
|
}>;
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
UtxoExpiredError: AugmentedEvent<ApiType, [
|
|
1956
|
+
OrphanedUtxoCosigned: AugmentedEvent<ApiType, [
|
|
1957
|
+
utxoId: u64,
|
|
1891
1958
|
utxoRef: ArgonPrimitivesBitcoinUtxoRef,
|
|
1892
|
-
|
|
1959
|
+
vaultId: u32,
|
|
1960
|
+
signature: Bytes
|
|
1893
1961
|
], {
|
|
1962
|
+
utxoId: u64;
|
|
1894
1963
|
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
1895
|
-
|
|
1964
|
+
vaultId: u32;
|
|
1965
|
+
signature: Bytes;
|
|
1896
1966
|
}>;
|
|
1967
|
+
};
|
|
1968
|
+
bitcoinUtxos: {
|
|
1897
1969
|
UtxoRejected: AugmentedEvent<ApiType, [
|
|
1898
1970
|
utxoId: u64,
|
|
1899
|
-
rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason
|
|
1971
|
+
rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason,
|
|
1972
|
+
satoshisReceived: u64
|
|
1900
1973
|
], {
|
|
1901
1974
|
utxoId: u64;
|
|
1902
1975
|
rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
|
|
1976
|
+
satoshisReceived: u64;
|
|
1903
1977
|
}>;
|
|
1904
1978
|
UtxoRejectedError: AugmentedEvent<ApiType, [
|
|
1905
1979
|
utxoId: u64,
|
|
@@ -1925,8 +1999,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1925
1999
|
UtxoUnwatched: AugmentedEvent<ApiType, [utxoId: u64], {
|
|
1926
2000
|
utxoId: u64;
|
|
1927
2001
|
}>;
|
|
1928
|
-
UtxoVerified: AugmentedEvent<ApiType, [
|
|
2002
|
+
UtxoVerified: AugmentedEvent<ApiType, [
|
|
2003
|
+
utxoId: u64,
|
|
2004
|
+
satoshisReceived: u64
|
|
2005
|
+
], {
|
|
1929
2006
|
utxoId: u64;
|
|
2007
|
+
satoshisReceived: u64;
|
|
1930
2008
|
}>;
|
|
1931
2009
|
UtxoVerifiedError: AugmentedEvent<ApiType, [
|
|
1932
2010
|
utxoId: u64,
|
|
@@ -2137,7 +2215,19 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2137
2215
|
zoneRecord: ArgonPrimitivesDomainZoneRecord;
|
|
2138
2216
|
}>;
|
|
2139
2217
|
};
|
|
2140
|
-
|
|
2218
|
+
feeControl: {
|
|
2219
|
+
/**
|
|
2220
|
+
* A transaction fee was delegated
|
|
2221
|
+
**/
|
|
2222
|
+
FeeDelegated: AugmentedEvent<ApiType, [
|
|
2223
|
+
origin: ArgonRuntimeOriginCaller,
|
|
2224
|
+
from: AccountId32,
|
|
2225
|
+
to: AccountId32
|
|
2226
|
+
], {
|
|
2227
|
+
origin: ArgonRuntimeOriginCaller;
|
|
2228
|
+
from: AccountId32;
|
|
2229
|
+
to: AccountId32;
|
|
2230
|
+
}>;
|
|
2141
2231
|
/**
|
|
2142
2232
|
* A transaction fee was skipped.
|
|
2143
2233
|
**/
|
|
@@ -3242,13 +3332,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3242
3332
|
locker: AccountId32,
|
|
3243
3333
|
amount: u128,
|
|
3244
3334
|
isRatchet: bool,
|
|
3245
|
-
feeRevenue: u128
|
|
3335
|
+
feeRevenue: u128,
|
|
3336
|
+
didUseFeeCoupon: bool
|
|
3246
3337
|
], {
|
|
3247
3338
|
vaultId: u32;
|
|
3248
3339
|
locker: AccountId32;
|
|
3249
3340
|
amount: u128;
|
|
3250
3341
|
isRatchet: bool;
|
|
3251
3342
|
feeRevenue: u128;
|
|
3343
|
+
didUseFeeCoupon: bool;
|
|
3252
3344
|
}>;
|
|
3253
3345
|
FundsReleased: AugmentedEvent<ApiType, [
|
|
3254
3346
|
vaultId: u32,
|
|
@@ -3442,6 +3534,19 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3442
3534
|
totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
3443
3535
|
};
|
|
3444
3536
|
bitcoinLocks: {
|
|
3537
|
+
/**
|
|
3538
|
+
* Fee Coupons
|
|
3539
|
+
**/
|
|
3540
|
+
feeCouponsByPublic: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<PalletBitcoinLocksFeeCoupon>>, [
|
|
3541
|
+
U8aFixed
|
|
3542
|
+
]>;
|
|
3543
|
+
/**
|
|
3544
|
+
* Fee Coupon Expirations
|
|
3545
|
+
**/
|
|
3546
|
+
feeCouponsExpiringByFrame: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<Null>>, [
|
|
3547
|
+
u64,
|
|
3548
|
+
U8aFixed
|
|
3549
|
+
]>;
|
|
3445
3550
|
/**
|
|
3446
3551
|
* Utxos that have been requested to be cosigned for releasing
|
|
3447
3552
|
**/
|
|
@@ -3461,6 +3566,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3461
3566
|
lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
3462
3567
|
u64
|
|
3463
3568
|
]>;
|
|
3569
|
+
/**
|
|
3570
|
+
* Stores bitcoin locks that have requested to be released
|
|
3571
|
+
**/
|
|
3464
3572
|
lockReleaseRequestsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockReleaseRequest>>, [
|
|
3465
3573
|
u64
|
|
3466
3574
|
]>;
|
|
@@ -3470,11 +3578,26 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3470
3578
|
locksByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [
|
|
3471
3579
|
u64
|
|
3472
3580
|
]>;
|
|
3581
|
+
/**
|
|
3582
|
+
* History of microgons per btc
|
|
3583
|
+
**/
|
|
3584
|
+
microgonPerBtcHistory: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, [
|
|
3585
|
+
]>;
|
|
3473
3586
|
/**
|
|
3474
3587
|
* The minimum number of satoshis that can be locked
|
|
3475
3588
|
**/
|
|
3476
3589
|
minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
3477
3590
|
nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
|
|
3591
|
+
/**
|
|
3592
|
+
* Mismatched utxos that were sent with invalid amounts to a locked bitcoin
|
|
3593
|
+
**/
|
|
3594
|
+
orphanedUtxosByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: ArgonPrimitivesBitcoinUtxoRef | {
|
|
3595
|
+
txid?: any;
|
|
3596
|
+
outputIndex?: any;
|
|
3597
|
+
} | string | Uint8Array) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>, [
|
|
3598
|
+
AccountId32,
|
|
3599
|
+
ArgonPrimitivesBitcoinUtxoRef
|
|
3600
|
+
]>;
|
|
3478
3601
|
};
|
|
3479
3602
|
bitcoinUtxos: {
|
|
3480
3603
|
/**
|
|
@@ -3492,14 +3615,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3492
3615
|
**/
|
|
3493
3616
|
inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
3494
3617
|
/**
|
|
3495
|
-
*
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
u64
|
|
3499
|
-
]>;
|
|
3500
|
-
/**
|
|
3501
|
-
* Locked Bitcoin UTXOs that have had ownership confirmed. If a Bitcoin UTXO is moved before
|
|
3502
|
-
* the expiration block, the funds are burned and the UTXO is unlocked.
|
|
3618
|
+
* Locked Bitcoin UTXOs that have had ownership confirmed and amounts within the
|
|
3619
|
+
* MinimumSatoshiThreshold of the expected. If a Bitcoin UTXO is moved before the expiration
|
|
3620
|
+
* block, the funds are burned and the UTXO is unlocked.
|
|
3503
3621
|
**/
|
|
3504
3622
|
lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | {
|
|
3505
3623
|
txid?: any;
|
|
@@ -3522,11 +3640,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3522
3640
|
* Stores if parent block had a confirmed bitcoin block
|
|
3523
3641
|
**/
|
|
3524
3642
|
tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
3643
|
+
/**
|
|
3644
|
+
* A mapping of utxo id to the confirmed utxo reference
|
|
3645
|
+
**/
|
|
3525
3646
|
utxoIdToRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
|
|
3526
3647
|
u64
|
|
3527
3648
|
]>;
|
|
3528
3649
|
/**
|
|
3529
|
-
* Bitcoin
|
|
3650
|
+
* Bitcoin locks that are pending full funding on the bitcoin network
|
|
3530
3651
|
**/
|
|
3531
3652
|
utxosPendingConfirmation: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
3532
3653
|
]>;
|
|
@@ -4368,6 +4489,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4368
4489
|
u32
|
|
4369
4490
|
]>;
|
|
4370
4491
|
nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
4492
|
+
/**
|
|
4493
|
+
* Orphaned Bitcoin Utxos pending cosign by vault id
|
|
4494
|
+
**/
|
|
4495
|
+
orphanedUtxoAccountsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [
|
|
4496
|
+
u32,
|
|
4497
|
+
AccountId32
|
|
4498
|
+
]>;
|
|
4371
4499
|
/**
|
|
4372
4500
|
* Bitcoin Locks pending cosign by vault id
|
|
4373
4501
|
**/
|
|
@@ -4605,6 +4733,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4605
4733
|
adminModifyMinimumLockedSats: AugmentedSubmittable<(satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4606
4734
|
u64
|
|
4607
4735
|
]>;
|
|
4736
|
+
cosignOrphanedUtxoRelease: AugmentedSubmittable<(orphanOwner: AccountId32 | string | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | {
|
|
4737
|
+
txid?: any;
|
|
4738
|
+
outputIndex?: any;
|
|
4739
|
+
} | string | Uint8Array, signature: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4740
|
+
AccountId32,
|
|
4741
|
+
ArgonPrimitivesBitcoinUtxoRef,
|
|
4742
|
+
Bytes
|
|
4743
|
+
]>;
|
|
4608
4744
|
/**
|
|
4609
4745
|
* Submitted by a Vault operator to cosign the release of a bitcoin utxo. The Bitcoin owner
|
|
4610
4746
|
* release fee will be burned, and the lock will be allowed to expire without a penalty.
|
|
@@ -4626,10 +4762,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4626
4762
|
* NOTE: A "lock-er" must send btc to the cosigner UTXO address to "complete" the
|
|
4627
4763
|
* LockedBitcoin and be added to the Bitcoin Mint line.
|
|
4628
4764
|
**/
|
|
4629
|
-
initialize: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array
|
|
4765
|
+
initialize: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
|
|
4766
|
+
V1: any;
|
|
4767
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
4768
|
+
u32,
|
|
4769
|
+
Compact<u64>,
|
|
4770
|
+
ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
|
|
4771
|
+
Option<PalletBitcoinLocksLockOptions>
|
|
4772
|
+
]>;
|
|
4773
|
+
initializeFor: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array, vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
|
|
4774
|
+
V1: any;
|
|
4775
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
4776
|
+
AccountId32,
|
|
4630
4777
|
u32,
|
|
4631
4778
|
Compact<u64>,
|
|
4632
|
-
ArgonPrimitivesBitcoinCompressedBitcoinPubkey
|
|
4779
|
+
ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
|
|
4780
|
+
Option<PalletBitcoinLocksLockOptions>
|
|
4633
4781
|
]>;
|
|
4634
4782
|
/**
|
|
4635
4783
|
* Ratcheting allows a user to change the lock price of their bitcoin lock. This is
|
|
@@ -4647,7 +4795,23 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4647
4795
|
* prorated fee for the remainder of your existing lock duration. You are added to the mint
|
|
4648
4796
|
* queue for the difference in your new lock price vs the previous lock price.
|
|
4649
4797
|
**/
|
|
4650
|
-
ratchet: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array
|
|
4798
|
+
ratchet: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
|
|
4799
|
+
V1: any;
|
|
4800
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
4801
|
+
u64,
|
|
4802
|
+
Option<PalletBitcoinLocksLockOptions>
|
|
4803
|
+
]>;
|
|
4804
|
+
registerFeeCoupon: AugmentedSubmittable<(public: U8aFixed | string | Uint8Array, maxSatoshis: Compact<u64> | AnyNumber | Uint8Array, maxFeePlusTip: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
4805
|
+
U8aFixed,
|
|
4806
|
+
Compact<u64>,
|
|
4807
|
+
Option<u128>
|
|
4808
|
+
]>;
|
|
4809
|
+
requestOrphanedUtxoRelease: AugmentedSubmittable<(utxoRef: ArgonPrimitivesBitcoinUtxoRef | {
|
|
4810
|
+
txid?: any;
|
|
4811
|
+
outputIndex?: any;
|
|
4812
|
+
} | string | Uint8Array, toScriptPubkey: Bytes | string | Uint8Array, bitcoinNetworkFee: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4813
|
+
ArgonPrimitivesBitcoinUtxoRef,
|
|
4814
|
+
Bytes,
|
|
4651
4815
|
u64
|
|
4652
4816
|
]>;
|
|
4653
4817
|
/**
|
|
@@ -4690,8 +4854,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4690
4854
|
**/
|
|
4691
4855
|
sync: AugmentedSubmittable<(utxoSync: ArgonPrimitivesInherentsBitcoinUtxoSync | {
|
|
4692
4856
|
spent?: any;
|
|
4693
|
-
|
|
4694
|
-
invalid?: any;
|
|
4857
|
+
funded?: any;
|
|
4695
4858
|
syncToBlock?: any;
|
|
4696
4859
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4697
4860
|
ArgonPrimitivesInherentsBitcoinUtxoSync
|
|
@@ -5361,7 +5524,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5361
5524
|
Address32: any;
|
|
5362
5525
|
} | {
|
|
5363
5526
|
Address20: any;
|
|
5364
|
-
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5527
|
+
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5365
5528
|
MultiAddress,
|
|
5366
5529
|
ArgonRuntimeProxyType,
|
|
5367
5530
|
u32
|
|
@@ -5417,7 +5580,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5417
5580
|
*
|
|
5418
5581
|
* Fails if there are insufficient funds to pay for deposit.
|
|
5419
5582
|
**/
|
|
5420
|
-
createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5583
|
+
createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5421
5584
|
ArgonRuntimeProxyType,
|
|
5422
5585
|
u32,
|
|
5423
5586
|
u16
|
|
@@ -5450,7 +5613,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5450
5613
|
Address32: any;
|
|
5451
5614
|
} | {
|
|
5452
5615
|
Address20: any;
|
|
5453
|
-
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5616
|
+
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5454
5617
|
MultiAddress,
|
|
5455
5618
|
ArgonRuntimeProxyType,
|
|
5456
5619
|
u16,
|
|
@@ -5489,7 +5652,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5489
5652
|
Address32: any;
|
|
5490
5653
|
} | {
|
|
5491
5654
|
Address20: any;
|
|
5492
|
-
} | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5655
|
+
} | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5493
5656
|
MultiAddress,
|
|
5494
5657
|
Option<ArgonRuntimeProxyType>,
|
|
5495
5658
|
Call
|
|
@@ -5527,7 +5690,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5527
5690
|
Address32: any;
|
|
5528
5691
|
} | {
|
|
5529
5692
|
Address20: any;
|
|
5530
|
-
} | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5693
|
+
} | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5531
5694
|
MultiAddress,
|
|
5532
5695
|
MultiAddress,
|
|
5533
5696
|
Option<ArgonRuntimeProxyType>,
|
|
@@ -5613,7 +5776,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5613
5776
|
Address32: any;
|
|
5614
5777
|
} | {
|
|
5615
5778
|
Address20: any;
|
|
5616
|
-
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5779
|
+
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5617
5780
|
MultiAddress,
|
|
5618
5781
|
ArgonRuntimeProxyType,
|
|
5619
5782
|
u32
|
|
@@ -8574,7 +8737,8 @@ declare module '@polkadot/types/lookup' {
|
|
|
8574
8737
|
readonly isMiningBidRealPaysFee: boolean;
|
|
8575
8738
|
readonly isBitcoin: boolean;
|
|
8576
8739
|
readonly isVaultAdmin: boolean;
|
|
8577
|
-
readonly
|
|
8740
|
+
readonly isBitcoinInitializeFor: boolean;
|
|
8741
|
+
readonly type: 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor';
|
|
8578
8742
|
}
|
|
8579
8743
|
/** @name PalletProxyDepositKind (40) */
|
|
8580
8744
|
interface PalletProxyDepositKind extends Enum {
|
|
@@ -8649,11 +8813,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
8649
8813
|
readonly isUtxoVerified: boolean;
|
|
8650
8814
|
readonly asUtxoVerified: {
|
|
8651
8815
|
readonly utxoId: u64;
|
|
8816
|
+
readonly satoshisReceived: u64;
|
|
8652
8817
|
} & Struct;
|
|
8653
8818
|
readonly isUtxoRejected: boolean;
|
|
8654
8819
|
readonly asUtxoRejected: {
|
|
8655
8820
|
readonly utxoId: u64;
|
|
8656
8821
|
readonly rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
|
|
8822
|
+
readonly satoshisReceived: u64;
|
|
8657
8823
|
} & Struct;
|
|
8658
8824
|
readonly isUtxoSpent: boolean;
|
|
8659
8825
|
readonly asUtxoSpent: {
|
|
@@ -8679,30 +8845,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
8679
8845
|
readonly utxoId: u64;
|
|
8680
8846
|
readonly error: SpRuntimeDispatchError;
|
|
8681
8847
|
} & Struct;
|
|
8682
|
-
readonly
|
|
8683
|
-
readonly asUtxoExpiredError: {
|
|
8684
|
-
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
8685
|
-
readonly error: SpRuntimeDispatchError;
|
|
8686
|
-
} & Struct;
|
|
8687
|
-
readonly type: 'UtxoVerified' | 'UtxoRejected' | 'UtxoSpent' | 'UtxoUnwatched' | 'UtxoSpentError' | 'UtxoVerifiedError' | 'UtxoRejectedError' | 'UtxoExpiredError';
|
|
8848
|
+
readonly type: 'UtxoVerified' | 'UtxoRejected' | 'UtxoSpent' | 'UtxoUnwatched' | 'UtxoSpentError' | 'UtxoVerifiedError' | 'UtxoRejectedError';
|
|
8688
8849
|
}
|
|
8689
8850
|
/** @name ArgonPrimitivesBitcoinBitcoinRejectedReason (51) */
|
|
8690
8851
|
interface ArgonPrimitivesBitcoinBitcoinRejectedReason extends Enum {
|
|
8691
|
-
readonly
|
|
8852
|
+
readonly isSatoshisOutsideAcceptedRange: boolean;
|
|
8692
8853
|
readonly isSpent: boolean;
|
|
8693
|
-
readonly
|
|
8694
|
-
readonly
|
|
8695
|
-
readonly type: '
|
|
8854
|
+
readonly isVerificationExpired: boolean;
|
|
8855
|
+
readonly isAlreadyVerified: boolean;
|
|
8856
|
+
readonly type: 'SatoshisOutsideAcceptedRange' | 'Spent' | 'VerificationExpired' | 'AlreadyVerified';
|
|
8696
8857
|
}
|
|
8697
|
-
/** @name
|
|
8698
|
-
interface ArgonPrimitivesBitcoinUtxoRef extends Struct {
|
|
8699
|
-
readonly txid: ArgonPrimitivesBitcoinH256Le;
|
|
8700
|
-
readonly outputIndex: Compact<u32>;
|
|
8701
|
-
}
|
|
8702
|
-
/** @name ArgonPrimitivesBitcoinH256Le (53) */
|
|
8703
|
-
interface ArgonPrimitivesBitcoinH256Le extends U8aFixed {
|
|
8704
|
-
}
|
|
8705
|
-
/** @name PalletVaultsEvent (55) */
|
|
8858
|
+
/** @name PalletVaultsEvent (52) */
|
|
8706
8859
|
interface PalletVaultsEvent extends Enum {
|
|
8707
8860
|
readonly isVaultCreated: boolean;
|
|
8708
8861
|
readonly asVaultCreated: {
|
|
@@ -8755,6 +8908,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8755
8908
|
readonly amount: u128;
|
|
8756
8909
|
readonly isRatchet: bool;
|
|
8757
8910
|
readonly feeRevenue: u128;
|
|
8911
|
+
readonly didUseFeeCoupon: bool;
|
|
8758
8912
|
} & Struct;
|
|
8759
8913
|
readonly isFundLockCanceled: boolean;
|
|
8760
8914
|
readonly asFundLockCanceled: {
|
|
@@ -8793,14 +8947,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
8793
8947
|
} & Struct;
|
|
8794
8948
|
readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | 'VaultRevenueUncollected' | 'VaultCollected' | 'FundsLocked' | 'FundLockCanceled' | 'FundsScheduledForRelease' | 'LostBitcoinCompensated' | 'FundsReleased' | 'FundsReleasedError' | 'TreasuryRecordingError';
|
|
8795
8949
|
}
|
|
8796
|
-
/** @name PalletBitcoinLocksEvent (
|
|
8950
|
+
/** @name PalletBitcoinLocksEvent (54) */
|
|
8797
8951
|
interface PalletBitcoinLocksEvent extends Enum {
|
|
8798
8952
|
readonly isBitcoinLockCreated: boolean;
|
|
8799
8953
|
readonly asBitcoinLockCreated: {
|
|
8800
8954
|
readonly utxoId: u64;
|
|
8801
8955
|
readonly vaultId: u32;
|
|
8802
8956
|
readonly liquidityPromised: u128;
|
|
8803
|
-
readonly
|
|
8957
|
+
readonly lockedMarketRate: u128;
|
|
8804
8958
|
readonly accountId: AccountId32;
|
|
8805
8959
|
readonly securityFee: u128;
|
|
8806
8960
|
} & Struct;
|
|
@@ -8809,9 +8963,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
8809
8963
|
readonly utxoId: u64;
|
|
8810
8964
|
readonly vaultId: u32;
|
|
8811
8965
|
readonly liquidityPromised: u128;
|
|
8812
|
-
readonly
|
|
8966
|
+
readonly originalMarketRate: u128;
|
|
8813
8967
|
readonly securityFee: u128;
|
|
8814
|
-
readonly
|
|
8968
|
+
readonly newLockedMarketRate: u128;
|
|
8815
8969
|
readonly amountBurned: u128;
|
|
8816
8970
|
readonly accountId: AccountId32;
|
|
8817
8971
|
} & Struct;
|
|
@@ -8849,7 +9003,22 @@ declare module '@polkadot/types/lookup' {
|
|
|
8849
9003
|
readonly utxoId: u64;
|
|
8850
9004
|
readonly error: SpRuntimeDispatchError;
|
|
8851
9005
|
} & Struct;
|
|
8852
|
-
readonly
|
|
9006
|
+
readonly isOrphanedUtxoCosigned: boolean;
|
|
9007
|
+
readonly asOrphanedUtxoCosigned: {
|
|
9008
|
+
readonly utxoId: u64;
|
|
9009
|
+
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
9010
|
+
readonly vaultId: u32;
|
|
9011
|
+
readonly signature: Bytes;
|
|
9012
|
+
} & Struct;
|
|
9013
|
+
readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoCosigned';
|
|
9014
|
+
}
|
|
9015
|
+
/** @name ArgonPrimitivesBitcoinUtxoRef (57) */
|
|
9016
|
+
interface ArgonPrimitivesBitcoinUtxoRef extends Struct {
|
|
9017
|
+
readonly txid: ArgonPrimitivesBitcoinH256Le;
|
|
9018
|
+
readonly outputIndex: Compact<u32>;
|
|
9019
|
+
}
|
|
9020
|
+
/** @name ArgonPrimitivesBitcoinH256Le (58) */
|
|
9021
|
+
interface ArgonPrimitivesBitcoinH256Le extends U8aFixed {
|
|
8853
9022
|
}
|
|
8854
9023
|
/** @name PalletNotariesEvent (60) */
|
|
8855
9024
|
interface PalletNotariesEvent extends Enum {
|
|
@@ -9663,13 +9832,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
9663
9832
|
} & Struct;
|
|
9664
9833
|
readonly type: 'CouldNotDistributeBidPool' | 'CouldNotBurnBidPool' | 'BidPoolDistributed' | 'NextBidPoolCapitalLocked' | 'ErrorRefundingTreasuryCapital' | 'RefundedTreasuryCapital' | 'VaultOperatorPrebond';
|
|
9665
9834
|
}
|
|
9666
|
-
/** @name
|
|
9667
|
-
interface
|
|
9835
|
+
/** @name PalletFeeControlEvent (131) */
|
|
9836
|
+
interface PalletFeeControlEvent extends Enum {
|
|
9668
9837
|
readonly isFeeSkipped: boolean;
|
|
9669
9838
|
readonly asFeeSkipped: {
|
|
9670
9839
|
readonly origin: ArgonRuntimeOriginCaller;
|
|
9671
9840
|
} & Struct;
|
|
9672
|
-
readonly
|
|
9841
|
+
readonly isFeeDelegated: boolean;
|
|
9842
|
+
readonly asFeeDelegated: {
|
|
9843
|
+
readonly origin: ArgonRuntimeOriginCaller;
|
|
9844
|
+
readonly from: AccountId32;
|
|
9845
|
+
readonly to: AccountId32;
|
|
9846
|
+
} & Struct;
|
|
9847
|
+
readonly type: 'FeeSkipped' | 'FeeDelegated';
|
|
9673
9848
|
}
|
|
9674
9849
|
/** @name ArgonRuntimeOriginCaller (132) */
|
|
9675
9850
|
interface ArgonRuntimeOriginCaller extends Enum {
|
|
@@ -10024,16 +10199,23 @@ declare module '@polkadot/types/lookup' {
|
|
|
10024
10199
|
/** @name ArgonPrimitivesInherentsBitcoinUtxoSync (193) */
|
|
10025
10200
|
interface ArgonPrimitivesInherentsBitcoinUtxoSync extends Struct {
|
|
10026
10201
|
readonly spent: BTreeMap<u64, u64>;
|
|
10027
|
-
readonly
|
|
10028
|
-
readonly invalid: BTreeMap<u64, ArgonPrimitivesBitcoinBitcoinRejectedReason>;
|
|
10202
|
+
readonly funded: Vec<ArgonPrimitivesInherentsBitcoinUtxoFunding>;
|
|
10029
10203
|
readonly syncToBlock: ArgonPrimitivesBitcoinBitcoinBlock;
|
|
10030
10204
|
}
|
|
10031
|
-
/** @name
|
|
10205
|
+
/** @name ArgonPrimitivesInherentsBitcoinUtxoFunding (198) */
|
|
10206
|
+
interface ArgonPrimitivesInherentsBitcoinUtxoFunding extends Struct {
|
|
10207
|
+
readonly utxoId: Compact<u64>;
|
|
10208
|
+
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
10209
|
+
readonly satoshis: Compact<u64>;
|
|
10210
|
+
readonly expectedSatoshis: Compact<u64>;
|
|
10211
|
+
readonly bitcoinHeight: Compact<u64>;
|
|
10212
|
+
}
|
|
10213
|
+
/** @name ArgonPrimitivesBitcoinBitcoinBlock (199) */
|
|
10032
10214
|
interface ArgonPrimitivesBitcoinBitcoinBlock extends Struct {
|
|
10033
10215
|
readonly blockHeight: Compact<u64>;
|
|
10034
10216
|
readonly blockHash: ArgonPrimitivesBitcoinH256Le;
|
|
10035
10217
|
}
|
|
10036
|
-
/** @name PalletVaultsCall (
|
|
10218
|
+
/** @name PalletVaultsCall (200) */
|
|
10037
10219
|
interface PalletVaultsCall extends Enum {
|
|
10038
10220
|
readonly isCreate: boolean;
|
|
10039
10221
|
readonly asCreate: {
|
|
@@ -10065,29 +10247,30 @@ declare module '@polkadot/types/lookup' {
|
|
|
10065
10247
|
} & Struct;
|
|
10066
10248
|
readonly type: 'Create' | 'ModifyFunding' | 'ModifyTerms' | 'Close' | 'ReplaceBitcoinXpub' | 'Collect';
|
|
10067
10249
|
}
|
|
10068
|
-
/** @name PalletVaultsVaultConfig (
|
|
10250
|
+
/** @name PalletVaultsVaultConfig (201) */
|
|
10069
10251
|
interface PalletVaultsVaultConfig extends Struct {
|
|
10070
10252
|
readonly terms: ArgonPrimitivesVaultVaultTerms;
|
|
10071
10253
|
readonly securitization: Compact<u128>;
|
|
10072
10254
|
readonly bitcoinXpubkey: ArgonPrimitivesBitcoinOpaqueBitcoinXpub;
|
|
10073
10255
|
readonly securitizationRatio: Compact<u128>;
|
|
10074
10256
|
}
|
|
10075
|
-
/** @name ArgonPrimitivesVaultVaultTerms (
|
|
10257
|
+
/** @name ArgonPrimitivesVaultVaultTerms (202) */
|
|
10076
10258
|
interface ArgonPrimitivesVaultVaultTerms extends Struct {
|
|
10077
10259
|
readonly bitcoinAnnualPercentRate: Compact<u128>;
|
|
10078
10260
|
readonly bitcoinBaseFee: Compact<u128>;
|
|
10079
10261
|
readonly treasuryProfitSharing: Compact<Permill>;
|
|
10080
10262
|
}
|
|
10081
|
-
/** @name ArgonPrimitivesBitcoinOpaqueBitcoinXpub (
|
|
10263
|
+
/** @name ArgonPrimitivesBitcoinOpaqueBitcoinXpub (206) */
|
|
10082
10264
|
interface ArgonPrimitivesBitcoinOpaqueBitcoinXpub extends U8aFixed {
|
|
10083
10265
|
}
|
|
10084
|
-
/** @name PalletBitcoinLocksCall (
|
|
10266
|
+
/** @name PalletBitcoinLocksCall (208) */
|
|
10085
10267
|
interface PalletBitcoinLocksCall extends Enum {
|
|
10086
10268
|
readonly isInitialize: boolean;
|
|
10087
10269
|
readonly asInitialize: {
|
|
10088
10270
|
readonly vaultId: u32;
|
|
10089
10271
|
readonly satoshis: Compact<u64>;
|
|
10090
10272
|
readonly bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
10273
|
+
readonly options: Option<PalletBitcoinLocksLockOptions>;
|
|
10091
10274
|
} & Struct;
|
|
10092
10275
|
readonly isRequestRelease: boolean;
|
|
10093
10276
|
readonly asRequestRelease: {
|
|
@@ -10103,17 +10286,58 @@ declare module '@polkadot/types/lookup' {
|
|
|
10103
10286
|
readonly isRatchet: boolean;
|
|
10104
10287
|
readonly asRatchet: {
|
|
10105
10288
|
readonly utxoId: u64;
|
|
10289
|
+
readonly options: Option<PalletBitcoinLocksLockOptions>;
|
|
10106
10290
|
} & Struct;
|
|
10107
10291
|
readonly isAdminModifyMinimumLockedSats: boolean;
|
|
10108
10292
|
readonly asAdminModifyMinimumLockedSats: {
|
|
10109
10293
|
readonly satoshis: u64;
|
|
10110
10294
|
} & Struct;
|
|
10111
|
-
readonly
|
|
10295
|
+
readonly isRequestOrphanedUtxoRelease: boolean;
|
|
10296
|
+
readonly asRequestOrphanedUtxoRelease: {
|
|
10297
|
+
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
10298
|
+
readonly toScriptPubkey: Bytes;
|
|
10299
|
+
readonly bitcoinNetworkFee: u64;
|
|
10300
|
+
} & Struct;
|
|
10301
|
+
readonly isCosignOrphanedUtxoRelease: boolean;
|
|
10302
|
+
readonly asCosignOrphanedUtxoRelease: {
|
|
10303
|
+
readonly orphanOwner: AccountId32;
|
|
10304
|
+
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
10305
|
+
readonly signature: Bytes;
|
|
10306
|
+
} & Struct;
|
|
10307
|
+
readonly isRegisterFeeCoupon: boolean;
|
|
10308
|
+
readonly asRegisterFeeCoupon: {
|
|
10309
|
+
readonly public: U8aFixed;
|
|
10310
|
+
readonly maxSatoshis: Compact<u64>;
|
|
10311
|
+
readonly maxFeePlusTip: Option<u128>;
|
|
10312
|
+
} & Struct;
|
|
10313
|
+
readonly isInitializeFor: boolean;
|
|
10314
|
+
readonly asInitializeFor: {
|
|
10315
|
+
readonly accountId: AccountId32;
|
|
10316
|
+
readonly vaultId: u32;
|
|
10317
|
+
readonly satoshis: Compact<u64>;
|
|
10318
|
+
readonly bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
10319
|
+
readonly options: Option<PalletBitcoinLocksLockOptions>;
|
|
10320
|
+
} & Struct;
|
|
10321
|
+
readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'Ratchet' | 'AdminModifyMinimumLockedSats' | 'RequestOrphanedUtxoRelease' | 'CosignOrphanedUtxoRelease' | 'RegisterFeeCoupon' | 'InitializeFor';
|
|
10112
10322
|
}
|
|
10113
|
-
/** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (
|
|
10323
|
+
/** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (209) */
|
|
10114
10324
|
interface ArgonPrimitivesBitcoinCompressedBitcoinPubkey extends U8aFixed {
|
|
10115
10325
|
}
|
|
10116
|
-
/** @name
|
|
10326
|
+
/** @name PalletBitcoinLocksLockOptions (212) */
|
|
10327
|
+
interface PalletBitcoinLocksLockOptions extends Enum {
|
|
10328
|
+
readonly isV1: boolean;
|
|
10329
|
+
readonly asV1: {
|
|
10330
|
+
readonly microgonsPerBtc: Option<u128>;
|
|
10331
|
+
readonly feeCouponProof: Option<PalletBitcoinLocksFeeCouponProof>;
|
|
10332
|
+
} & Struct;
|
|
10333
|
+
readonly type: 'V1';
|
|
10334
|
+
}
|
|
10335
|
+
/** @name PalletBitcoinLocksFeeCouponProof (214) */
|
|
10336
|
+
interface PalletBitcoinLocksFeeCouponProof extends Struct {
|
|
10337
|
+
readonly public: U8aFixed;
|
|
10338
|
+
readonly signature: U8aFixed;
|
|
10339
|
+
}
|
|
10340
|
+
/** @name PalletNotariesCall (218) */
|
|
10117
10341
|
interface PalletNotariesCall extends Enum {
|
|
10118
10342
|
readonly isPropose: boolean;
|
|
10119
10343
|
readonly asPropose: {
|
|
@@ -10131,7 +10355,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10131
10355
|
} & Struct;
|
|
10132
10356
|
readonly type: 'Propose' | 'Activate' | 'Update';
|
|
10133
10357
|
}
|
|
10134
|
-
/** @name PalletNotebookCall (
|
|
10358
|
+
/** @name PalletNotebookCall (219) */
|
|
10135
10359
|
interface PalletNotebookCall extends Enum {
|
|
10136
10360
|
readonly isSubmit: boolean;
|
|
10137
10361
|
readonly asSubmit: {
|
|
@@ -10143,12 +10367,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
10143
10367
|
} & Struct;
|
|
10144
10368
|
readonly type: 'Submit' | 'Unlock';
|
|
10145
10369
|
}
|
|
10146
|
-
/** @name ArgonPrimitivesNotebookSignedNotebookHeader (
|
|
10370
|
+
/** @name ArgonPrimitivesNotebookSignedNotebookHeader (221) */
|
|
10147
10371
|
interface ArgonPrimitivesNotebookSignedNotebookHeader extends Struct {
|
|
10148
10372
|
readonly header: ArgonPrimitivesNotebookNotebookHeader;
|
|
10149
10373
|
readonly signature: U8aFixed;
|
|
10150
10374
|
}
|
|
10151
|
-
/** @name ArgonPrimitivesNotebookNotebookHeader (
|
|
10375
|
+
/** @name ArgonPrimitivesNotebookNotebookHeader (222) */
|
|
10152
10376
|
interface ArgonPrimitivesNotebookNotebookHeader extends Struct {
|
|
10153
10377
|
readonly version: Compact<u16>;
|
|
10154
10378
|
readonly notebookNumber: Compact<u32>;
|
|
@@ -10166,7 +10390,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10166
10390
|
readonly parentSecret: Option<H256>;
|
|
10167
10391
|
readonly domains: Vec<ITuple<[H256, AccountId32]>>;
|
|
10168
10392
|
}
|
|
10169
|
-
/** @name ArgonPrimitivesNotebookChainTransfer (
|
|
10393
|
+
/** @name ArgonPrimitivesNotebookChainTransfer (225) */
|
|
10170
10394
|
interface ArgonPrimitivesNotebookChainTransfer extends Enum {
|
|
10171
10395
|
readonly isToMainchain: boolean;
|
|
10172
10396
|
readonly asToMainchain: {
|
|
@@ -10179,7 +10403,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10179
10403
|
} & Struct;
|
|
10180
10404
|
readonly type: 'ToMainchain' | 'ToLocalchain';
|
|
10181
10405
|
}
|
|
10182
|
-
/** @name ArgonPrimitivesBalanceChangeAccountOrigin (
|
|
10406
|
+
/** @name ArgonPrimitivesBalanceChangeAccountOrigin (228) */
|
|
10183
10407
|
interface ArgonPrimitivesBalanceChangeAccountOrigin extends Struct {
|
|
10184
10408
|
readonly notebookNumber: Compact<u32>;
|
|
10185
10409
|
readonly accountUid: Compact<u32>;
|
|
@@ -10872,7 +11096,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10872
11096
|
readonly isRegtest: boolean;
|
|
10873
11097
|
readonly type: 'Bitcoin' | 'Testnet' | 'Signet' | 'Regtest';
|
|
10874
11098
|
}
|
|
10875
|
-
/** @name PalletBitcoinUtxosError (
|
|
11099
|
+
/** @name PalletBitcoinUtxosError (371) */
|
|
10876
11100
|
interface PalletBitcoinUtxosError extends Enum {
|
|
10877
11101
|
readonly isNoPermissions: boolean;
|
|
10878
11102
|
readonly isNoBitcoinConfirmedBlock: boolean;
|
|
@@ -10888,7 +11112,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10888
11112
|
readonly isDuplicateUtxoId: boolean;
|
|
10889
11113
|
readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript' | 'DuplicateUtxoId';
|
|
10890
11114
|
}
|
|
10891
|
-
/** @name ArgonPrimitivesVault (
|
|
11115
|
+
/** @name ArgonPrimitivesVault (372) */
|
|
10892
11116
|
interface ArgonPrimitivesVault extends Struct {
|
|
10893
11117
|
readonly operatorAccountId: AccountId32;
|
|
10894
11118
|
readonly securitization: Compact<u128>;
|
|
@@ -10901,7 +11125,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10901
11125
|
readonly pendingTerms: Option<ITuple<[u64, ArgonPrimitivesVaultVaultTerms]>>;
|
|
10902
11126
|
readonly openedTick: Compact<u64>;
|
|
10903
11127
|
}
|
|
10904
|
-
/** @name ArgonPrimitivesBitcoinBitcoinXPub (
|
|
11128
|
+
/** @name ArgonPrimitivesBitcoinBitcoinXPub (380) */
|
|
10905
11129
|
interface ArgonPrimitivesBitcoinBitcoinXPub extends Struct {
|
|
10906
11130
|
readonly publicKey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
10907
11131
|
readonly depth: Compact<u8>;
|
|
@@ -10910,16 +11134,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
10910
11134
|
readonly chainCode: U8aFixed;
|
|
10911
11135
|
readonly network: ArgonPrimitivesBitcoinNetworkKind;
|
|
10912
11136
|
}
|
|
10913
|
-
/** @name ArgonPrimitivesBitcoinNetworkKind (
|
|
11137
|
+
/** @name ArgonPrimitivesBitcoinNetworkKind (382) */
|
|
10914
11138
|
interface ArgonPrimitivesBitcoinNetworkKind extends Enum {
|
|
10915
11139
|
readonly isMain: boolean;
|
|
10916
11140
|
readonly isTest: boolean;
|
|
10917
11141
|
readonly type: 'Main' | 'Test';
|
|
10918
11142
|
}
|
|
10919
|
-
/** @name PalletVaultsVaultFrameRevenue (
|
|
11143
|
+
/** @name PalletVaultsVaultFrameRevenue (391) */
|
|
10920
11144
|
interface PalletVaultsVaultFrameRevenue extends Struct {
|
|
10921
11145
|
readonly frameId: Compact<u64>;
|
|
10922
11146
|
readonly bitcoinLockFeeRevenue: Compact<u128>;
|
|
11147
|
+
readonly bitcoinLockFeeCouponValueUsed: Compact<u128>;
|
|
10923
11148
|
readonly bitcoinLocksCreated: Compact<u32>;
|
|
10924
11149
|
readonly bitcoinLocksNewLiquidityPromised: Compact<u128>;
|
|
10925
11150
|
readonly bitcoinLocksReleasedLiquidity: Compact<u128>;
|
|
@@ -10934,7 +11159,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10934
11159
|
readonly treasuryExternalCapital: Compact<u128>;
|
|
10935
11160
|
readonly uncollectedRevenue: Compact<u128>;
|
|
10936
11161
|
}
|
|
10937
|
-
/** @name PalletVaultsError (
|
|
11162
|
+
/** @name PalletVaultsError (393) */
|
|
10938
11163
|
interface PalletVaultsError extends Enum {
|
|
10939
11164
|
readonly isNoMoreVaultIds: boolean;
|
|
10940
11165
|
readonly isInsufficientFunds: boolean;
|
|
@@ -10966,14 +11191,16 @@ declare module '@polkadot/types/lookup' {
|
|
|
10966
11191
|
readonly isAccountAlreadyHasVault: boolean;
|
|
10967
11192
|
readonly type: 'NoMoreVaultIds' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'VaultReductionBelowSecuritization' | 'InvalidSecuritization' | 'ReusedVaultBitcoinXpub' | 'InvalidBitcoinScript' | 'InvalidXpubkey' | 'WrongXpubNetwork' | 'UnsafeXpubkey' | 'UnableToDeriveVaultXpubChild' | 'BitcoinConversionFailed' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'VaultNotYetActive' | 'NoVaultBitcoinPubkeysAvailable' | 'TermsModificationOverflow' | 'TermsChangeAlreadyScheduled' | 'InternalError' | 'UnableToGenerateVaultBitcoinPubkey' | 'FundingChangeAlreadyScheduled' | 'PendingCosignsBeforeCollect' | 'AccountAlreadyHasVault';
|
|
10968
11193
|
}
|
|
10969
|
-
/** @name PalletBitcoinLocksLockedBitcoin (
|
|
11194
|
+
/** @name PalletBitcoinLocksLockedBitcoin (394) */
|
|
10970
11195
|
interface PalletBitcoinLocksLockedBitcoin extends Struct {
|
|
10971
11196
|
readonly vaultId: Compact<u32>;
|
|
10972
11197
|
readonly liquidityPromised: u128;
|
|
10973
|
-
readonly
|
|
11198
|
+
readonly lockedMarketRate: u128;
|
|
10974
11199
|
readonly ownerAccount: AccountId32;
|
|
10975
11200
|
readonly securityFees: u128;
|
|
11201
|
+
readonly couponPaidFees: u128;
|
|
10976
11202
|
readonly satoshis: Compact<u64>;
|
|
11203
|
+
readonly utxoSatoshis: Option<u64>;
|
|
10977
11204
|
readonly vaultPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
10978
11205
|
readonly vaultClaimPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
10979
11206
|
readonly vaultXpubSources: ITuple<[U8aFixed, u32, u32]>;
|
|
@@ -10983,10 +11210,10 @@ declare module '@polkadot/types/lookup' {
|
|
|
10983
11210
|
readonly createdAtHeight: Compact<u64>;
|
|
10984
11211
|
readonly utxoScriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
10985
11212
|
readonly isVerified: bool;
|
|
10986
|
-
readonly isRejectedNeedsRelease: bool;
|
|
10987
11213
|
readonly fundHoldExtensions: BTreeMap<u64, u128>;
|
|
11214
|
+
readonly createdAtArgonBlock: u32;
|
|
10988
11215
|
}
|
|
10989
|
-
/** @name PalletBitcoinLocksLockReleaseRequest (
|
|
11216
|
+
/** @name PalletBitcoinLocksLockReleaseRequest (396) */
|
|
10990
11217
|
interface PalletBitcoinLocksLockReleaseRequest extends Struct {
|
|
10991
11218
|
readonly utxoId: Compact<u64>;
|
|
10992
11219
|
readonly vaultId: Compact<u32>;
|
|
@@ -10995,7 +11222,28 @@ declare module '@polkadot/types/lookup' {
|
|
|
10995
11222
|
readonly toScriptPubkey: Bytes;
|
|
10996
11223
|
readonly redemptionPrice: Compact<u128>;
|
|
10997
11224
|
}
|
|
10998
|
-
/** @name
|
|
11225
|
+
/** @name PalletBitcoinLocksOrphanedUtxo (398) */
|
|
11226
|
+
interface PalletBitcoinLocksOrphanedUtxo extends Struct {
|
|
11227
|
+
readonly utxoId: Compact<u64>;
|
|
11228
|
+
readonly vaultId: Compact<u32>;
|
|
11229
|
+
readonly satoshis: Compact<u64>;
|
|
11230
|
+
readonly recordedArgonBlockNumber: Compact<u32>;
|
|
11231
|
+
readonly cosignRequest: Option<PalletBitcoinLocksOrphanedUtxoCosignRequest>;
|
|
11232
|
+
}
|
|
11233
|
+
/** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (400) */
|
|
11234
|
+
interface PalletBitcoinLocksOrphanedUtxoCosignRequest extends Struct {
|
|
11235
|
+
readonly bitcoinNetworkFee: u64;
|
|
11236
|
+
readonly toScriptPubkey: Bytes;
|
|
11237
|
+
readonly createdAtArgonBlockNumber: u32;
|
|
11238
|
+
}
|
|
11239
|
+
/** @name PalletBitcoinLocksFeeCoupon (404) */
|
|
11240
|
+
interface PalletBitcoinLocksFeeCoupon extends Struct {
|
|
11241
|
+
readonly vaultId: Compact<u32>;
|
|
11242
|
+
readonly maxSatoshis: Compact<u64>;
|
|
11243
|
+
readonly expirationFrame: Compact<u64>;
|
|
11244
|
+
readonly maxFeePlusTip: Option<u128>;
|
|
11245
|
+
}
|
|
11246
|
+
/** @name PalletBitcoinLocksError (406) */
|
|
10999
11247
|
interface PalletBitcoinLocksError extends Enum {
|
|
11000
11248
|
readonly isInsufficientFunds: boolean;
|
|
11001
11249
|
readonly isInsufficientVaultFunds: boolean;
|
|
@@ -11028,9 +11276,15 @@ declare module '@polkadot/types/lookup' {
|
|
|
11028
11276
|
readonly isLockInProcessOfRelease: boolean;
|
|
11029
11277
|
readonly isUnverifiedLock: boolean;
|
|
11030
11278
|
readonly isOverflowError: boolean;
|
|
11031
|
-
readonly
|
|
11032
|
-
|
|
11033
|
-
|
|
11279
|
+
readonly isIneligibleMicrogonRateRequested: boolean;
|
|
11280
|
+
readonly isInvalidFeeCoupon: boolean;
|
|
11281
|
+
readonly isInvalidFeeCouponProof: boolean;
|
|
11282
|
+
readonly isMaxFeeCouponSatoshisExceeded: boolean;
|
|
11283
|
+
readonly isFeeCouponAlreadyExists: boolean;
|
|
11284
|
+
readonly isFeeCouponRequired: boolean;
|
|
11285
|
+
readonly type: 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'RedemptionNotLocked' | 'BitcoinReleaseInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForRelease' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'InsufficientSatoshisLocked' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'GenericVaultError' | 'LockNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'VaultNotYetActive' | 'ExpirationAtBlockOverflow' | 'NoRatchetingAvailable' | 'LockInProcessOfRelease' | 'UnverifiedLock' | 'OverflowError' | 'IneligibleMicrogonRateRequested' | 'InvalidFeeCoupon' | 'InvalidFeeCouponProof' | 'MaxFeeCouponSatoshisExceeded' | 'FeeCouponAlreadyExists' | 'FeeCouponRequired';
|
|
11286
|
+
}
|
|
11287
|
+
/** @name ArgonPrimitivesVaultVaultError (407) */
|
|
11034
11288
|
interface ArgonPrimitivesVaultVaultError extends Enum {
|
|
11035
11289
|
readonly isVaultClosed: boolean;
|
|
11036
11290
|
readonly isAccountWouldBeBelowMinimum: boolean;
|
|
@@ -11046,7 +11300,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11046
11300
|
readonly isVaultNotYetActive: boolean;
|
|
11047
11301
|
readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive';
|
|
11048
11302
|
}
|
|
11049
|
-
/** @name PalletNotariesError (
|
|
11303
|
+
/** @name PalletNotariesError (419) */
|
|
11050
11304
|
interface PalletNotariesError extends Enum {
|
|
11051
11305
|
readonly isProposalNotFound: boolean;
|
|
11052
11306
|
readonly isMaxNotariesExceeded: boolean;
|
|
@@ -11059,7 +11313,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11059
11313
|
readonly isInvalidNotary: boolean;
|
|
11060
11314
|
readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
|
|
11061
11315
|
}
|
|
11062
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (
|
|
11316
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (423) */
|
|
11063
11317
|
interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
|
|
11064
11318
|
readonly notebookNumber: Compact<u32>;
|
|
11065
11319
|
readonly tick: Compact<u64>;
|
|
@@ -11067,7 +11321,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11067
11321
|
readonly secretHash: H256;
|
|
11068
11322
|
readonly parentSecret: Option<H256>;
|
|
11069
11323
|
}
|
|
11070
|
-
/** @name PalletNotebookError (
|
|
11324
|
+
/** @name PalletNotebookError (426) */
|
|
11071
11325
|
interface PalletNotebookError extends Enum {
|
|
11072
11326
|
readonly isDuplicateNotebookNumber: boolean;
|
|
11073
11327
|
readonly isMissingNotebookNumber: boolean;
|
|
@@ -11086,17 +11340,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
11086
11340
|
readonly isInvalidNotebookSubmissionTick: boolean;
|
|
11087
11341
|
readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
|
|
11088
11342
|
}
|
|
11089
|
-
/** @name PalletChainTransferQueuedTransferOut (
|
|
11343
|
+
/** @name PalletChainTransferQueuedTransferOut (427) */
|
|
11090
11344
|
interface PalletChainTransferQueuedTransferOut extends Struct {
|
|
11091
11345
|
readonly accountId: AccountId32;
|
|
11092
11346
|
readonly amount: u128;
|
|
11093
11347
|
readonly expirationTick: u64;
|
|
11094
11348
|
readonly notaryId: u32;
|
|
11095
11349
|
}
|
|
11096
|
-
/** @name FrameSupportPalletId (
|
|
11350
|
+
/** @name FrameSupportPalletId (433) */
|
|
11097
11351
|
interface FrameSupportPalletId extends U8aFixed {
|
|
11098
11352
|
}
|
|
11099
|
-
/** @name PalletChainTransferError (
|
|
11353
|
+
/** @name PalletChainTransferError (434) */
|
|
11100
11354
|
interface PalletChainTransferError extends Enum {
|
|
11101
11355
|
readonly isMaxBlockTransfersExceeded: boolean;
|
|
11102
11356
|
readonly isInsufficientFunds: boolean;
|
|
@@ -11106,7 +11360,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11106
11360
|
readonly isInvalidNotaryUsedForTransfer: boolean;
|
|
11107
11361
|
readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer';
|
|
11108
11362
|
}
|
|
11109
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (
|
|
11363
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (438) */
|
|
11110
11364
|
interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
|
|
11111
11365
|
readonly notaryId: Compact<u32>;
|
|
11112
11366
|
readonly notebookNumber: Compact<u32>;
|
|
@@ -11114,12 +11368,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
11114
11368
|
readonly blockVotesCount: Compact<u32>;
|
|
11115
11369
|
readonly blockVotingPower: Compact<u128>;
|
|
11116
11370
|
}
|
|
11117
|
-
/** @name PalletBlockSealSpecError (
|
|
11371
|
+
/** @name PalletBlockSealSpecError (443) */
|
|
11118
11372
|
interface PalletBlockSealSpecError extends Enum {
|
|
11119
11373
|
readonly isMaxNotebooksAtTickExceeded: boolean;
|
|
11120
11374
|
readonly type: 'MaxNotebooksAtTickExceeded';
|
|
11121
11375
|
}
|
|
11122
|
-
/** @name PalletDomainsError (
|
|
11376
|
+
/** @name PalletDomainsError (445) */
|
|
11123
11377
|
interface PalletDomainsError extends Enum {
|
|
11124
11378
|
readonly isDomainNotRegistered: boolean;
|
|
11125
11379
|
readonly isNotDomainOwner: boolean;
|
|
@@ -11128,13 +11382,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11128
11382
|
readonly isAccountDecodingError: boolean;
|
|
11129
11383
|
readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
|
|
11130
11384
|
}
|
|
11131
|
-
/** @name PalletPriceIndexCpiMeasurementBucket (
|
|
11385
|
+
/** @name PalletPriceIndexCpiMeasurementBucket (447) */
|
|
11132
11386
|
interface PalletPriceIndexCpiMeasurementBucket extends Struct {
|
|
11133
11387
|
readonly tickRange: ITuple<[u64, u64]>;
|
|
11134
11388
|
readonly totalCpi: i128;
|
|
11135
11389
|
readonly measurementsCount: u32;
|
|
11136
11390
|
}
|
|
11137
|
-
/** @name PalletPriceIndexError (
|
|
11391
|
+
/** @name PalletPriceIndexError (449) */
|
|
11138
11392
|
interface PalletPriceIndexError extends Enum {
|
|
11139
11393
|
readonly isNotAuthorizedOperator: boolean;
|
|
11140
11394
|
readonly isMissingValue: boolean;
|
|
@@ -11142,7 +11396,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11142
11396
|
readonly isMaxPriceChangePerTickExceeded: boolean;
|
|
11143
11397
|
readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded';
|
|
11144
11398
|
}
|
|
11145
|
-
/** @name PalletGrandpaStoredState (
|
|
11399
|
+
/** @name PalletGrandpaStoredState (450) */
|
|
11146
11400
|
interface PalletGrandpaStoredState extends Enum {
|
|
11147
11401
|
readonly isLive: boolean;
|
|
11148
11402
|
readonly isPendingPause: boolean;
|
|
@@ -11158,14 +11412,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
11158
11412
|
} & Struct;
|
|
11159
11413
|
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
|
11160
11414
|
}
|
|
11161
|
-
/** @name PalletGrandpaStoredPendingChange (
|
|
11415
|
+
/** @name PalletGrandpaStoredPendingChange (451) */
|
|
11162
11416
|
interface PalletGrandpaStoredPendingChange extends Struct {
|
|
11163
11417
|
readonly scheduledAt: u32;
|
|
11164
11418
|
readonly delay: u32;
|
|
11165
11419
|
readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
11166
11420
|
readonly forced: Option<u32>;
|
|
11167
11421
|
}
|
|
11168
|
-
/** @name PalletGrandpaError (
|
|
11422
|
+
/** @name PalletGrandpaError (453) */
|
|
11169
11423
|
interface PalletGrandpaError extends Enum {
|
|
11170
11424
|
readonly isPauseFailed: boolean;
|
|
11171
11425
|
readonly isResumeFailed: boolean;
|
|
@@ -11176,13 +11430,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11176
11430
|
readonly isDuplicateOffenceReport: boolean;
|
|
11177
11431
|
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
|
11178
11432
|
}
|
|
11179
|
-
/** @name ArgonPrimitivesProvidersBlockSealerInfo (
|
|
11433
|
+
/** @name ArgonPrimitivesProvidersBlockSealerInfo (454) */
|
|
11180
11434
|
interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
|
|
11181
11435
|
readonly blockAuthorAccountId: AccountId32;
|
|
11182
11436
|
readonly blockVoteRewardsAccount: Option<AccountId32>;
|
|
11183
11437
|
readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
|
|
11184
11438
|
}
|
|
11185
|
-
/** @name PalletBlockSealError (
|
|
11439
|
+
/** @name PalletBlockSealError (456) */
|
|
11186
11440
|
interface PalletBlockSealError extends Enum {
|
|
11187
11441
|
readonly isInvalidVoteSealStrength: boolean;
|
|
11188
11442
|
readonly isInvalidSubmitter: boolean;
|
|
@@ -11207,43 +11461,43 @@ declare module '@polkadot/types/lookup' {
|
|
|
11207
11461
|
readonly isDuplicateVoteBlockAtTick: boolean;
|
|
11208
11462
|
readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick' | 'InvalidMinerNonceScore' | 'DuplicateVoteBlockAtTick';
|
|
11209
11463
|
}
|
|
11210
|
-
/** @name PalletBlockRewardsError (
|
|
11464
|
+
/** @name PalletBlockRewardsError (460) */
|
|
11211
11465
|
type PalletBlockRewardsError = Null;
|
|
11212
|
-
/** @name PalletMintMintAction (
|
|
11466
|
+
/** @name PalletMintMintAction (466) */
|
|
11213
11467
|
interface PalletMintMintAction extends Struct {
|
|
11214
11468
|
readonly argonBurned: u128;
|
|
11215
11469
|
readonly argonMinted: u128;
|
|
11216
11470
|
readonly bitcoinMinted: u128;
|
|
11217
11471
|
}
|
|
11218
|
-
/** @name PalletMintError (
|
|
11472
|
+
/** @name PalletMintError (467) */
|
|
11219
11473
|
interface PalletMintError extends Enum {
|
|
11220
11474
|
readonly isTooManyPendingMints: boolean;
|
|
11221
11475
|
readonly type: 'TooManyPendingMints';
|
|
11222
11476
|
}
|
|
11223
|
-
/** @name PalletBalancesBalanceLock (
|
|
11477
|
+
/** @name PalletBalancesBalanceLock (469) */
|
|
11224
11478
|
interface PalletBalancesBalanceLock extends Struct {
|
|
11225
11479
|
readonly id: U8aFixed;
|
|
11226
11480
|
readonly amount: u128;
|
|
11227
11481
|
readonly reasons: PalletBalancesReasons;
|
|
11228
11482
|
}
|
|
11229
|
-
/** @name PalletBalancesReasons (
|
|
11483
|
+
/** @name PalletBalancesReasons (470) */
|
|
11230
11484
|
interface PalletBalancesReasons extends Enum {
|
|
11231
11485
|
readonly isFee: boolean;
|
|
11232
11486
|
readonly isMisc: boolean;
|
|
11233
11487
|
readonly isAll: boolean;
|
|
11234
11488
|
readonly type: 'Fee' | 'Misc' | 'All';
|
|
11235
11489
|
}
|
|
11236
|
-
/** @name PalletBalancesReserveData (
|
|
11490
|
+
/** @name PalletBalancesReserveData (473) */
|
|
11237
11491
|
interface PalletBalancesReserveData extends Struct {
|
|
11238
11492
|
readonly id: U8aFixed;
|
|
11239
11493
|
readonly amount: u128;
|
|
11240
11494
|
}
|
|
11241
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (
|
|
11495
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (476) */
|
|
11242
11496
|
interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
|
|
11243
11497
|
readonly id: ArgonRuntimeRuntimeHoldReason;
|
|
11244
11498
|
readonly amount: u128;
|
|
11245
11499
|
}
|
|
11246
|
-
/** @name ArgonRuntimeRuntimeHoldReason (
|
|
11500
|
+
/** @name ArgonRuntimeRuntimeHoldReason (477) */
|
|
11247
11501
|
interface ArgonRuntimeRuntimeHoldReason extends Enum {
|
|
11248
11502
|
readonly isMiningSlot: boolean;
|
|
11249
11503
|
readonly asMiningSlot: PalletMiningSlotHoldReason;
|
|
@@ -11257,50 +11511,50 @@ declare module '@polkadot/types/lookup' {
|
|
|
11257
11511
|
readonly asTreasury: PalletTreasuryHoldReason;
|
|
11258
11512
|
readonly type: 'MiningSlot' | 'Vaults' | 'BitcoinLocks' | 'BlockRewards' | 'Treasury';
|
|
11259
11513
|
}
|
|
11260
|
-
/** @name PalletMiningSlotHoldReason (
|
|
11514
|
+
/** @name PalletMiningSlotHoldReason (478) */
|
|
11261
11515
|
interface PalletMiningSlotHoldReason extends Enum {
|
|
11262
11516
|
readonly isRegisterAsMiner: boolean;
|
|
11263
11517
|
readonly type: 'RegisterAsMiner';
|
|
11264
11518
|
}
|
|
11265
|
-
/** @name PalletVaultsHoldReason (
|
|
11519
|
+
/** @name PalletVaultsHoldReason (479) */
|
|
11266
11520
|
interface PalletVaultsHoldReason extends Enum {
|
|
11267
11521
|
readonly isEnterVault: boolean;
|
|
11268
11522
|
readonly isObligationFee: boolean;
|
|
11269
11523
|
readonly isPendingCollect: boolean;
|
|
11270
11524
|
readonly type: 'EnterVault' | 'ObligationFee' | 'PendingCollect';
|
|
11271
11525
|
}
|
|
11272
|
-
/** @name PalletBitcoinLocksHoldReason (
|
|
11526
|
+
/** @name PalletBitcoinLocksHoldReason (480) */
|
|
11273
11527
|
interface PalletBitcoinLocksHoldReason extends Enum {
|
|
11274
11528
|
readonly isReleaseBitcoinLock: boolean;
|
|
11275
11529
|
readonly type: 'ReleaseBitcoinLock';
|
|
11276
11530
|
}
|
|
11277
|
-
/** @name PalletBlockRewardsHoldReason (
|
|
11531
|
+
/** @name PalletBlockRewardsHoldReason (481) */
|
|
11278
11532
|
interface PalletBlockRewardsHoldReason extends Enum {
|
|
11279
11533
|
readonly isMaturationPeriod: boolean;
|
|
11280
11534
|
readonly type: 'MaturationPeriod';
|
|
11281
11535
|
}
|
|
11282
|
-
/** @name PalletTreasuryHoldReason (
|
|
11536
|
+
/** @name PalletTreasuryHoldReason (482) */
|
|
11283
11537
|
interface PalletTreasuryHoldReason extends Enum {
|
|
11284
11538
|
readonly isContributedToTreasury: boolean;
|
|
11285
11539
|
readonly type: 'ContributedToTreasury';
|
|
11286
11540
|
}
|
|
11287
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (
|
|
11541
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (485) */
|
|
11288
11542
|
interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
|
|
11289
11543
|
readonly id: ArgonRuntimeRuntimeFreezeReason;
|
|
11290
11544
|
readonly amount: u128;
|
|
11291
11545
|
}
|
|
11292
|
-
/** @name ArgonRuntimeRuntimeFreezeReason (
|
|
11546
|
+
/** @name ArgonRuntimeRuntimeFreezeReason (486) */
|
|
11293
11547
|
interface ArgonRuntimeRuntimeFreezeReason extends Enum {
|
|
11294
11548
|
readonly isBlockRewards: boolean;
|
|
11295
11549
|
readonly asBlockRewards: PalletBlockRewardsFreezeReason;
|
|
11296
11550
|
readonly type: 'BlockRewards';
|
|
11297
11551
|
}
|
|
11298
|
-
/** @name PalletBlockRewardsFreezeReason (
|
|
11552
|
+
/** @name PalletBlockRewardsFreezeReason (487) */
|
|
11299
11553
|
interface PalletBlockRewardsFreezeReason extends Enum {
|
|
11300
11554
|
readonly isMaturationPeriod: boolean;
|
|
11301
11555
|
readonly type: 'MaturationPeriod';
|
|
11302
11556
|
}
|
|
11303
|
-
/** @name PalletBalancesError (
|
|
11557
|
+
/** @name PalletBalancesError (489) */
|
|
11304
11558
|
interface PalletBalancesError extends Enum {
|
|
11305
11559
|
readonly isVestingBalance: boolean;
|
|
11306
11560
|
readonly isLiquidityRestrictions: boolean;
|
|
@@ -11316,7 +11570,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11316
11570
|
readonly isDeltaZero: boolean;
|
|
11317
11571
|
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
|
|
11318
11572
|
}
|
|
11319
|
-
/** @name PalletTxPauseError (
|
|
11573
|
+
/** @name PalletTxPauseError (491) */
|
|
11320
11574
|
interface PalletTxPauseError extends Enum {
|
|
11321
11575
|
readonly isIsPaused: boolean;
|
|
11322
11576
|
readonly isIsUnpaused: boolean;
|
|
@@ -11324,23 +11578,23 @@ declare module '@polkadot/types/lookup' {
|
|
|
11324
11578
|
readonly isNotFound: boolean;
|
|
11325
11579
|
readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
|
|
11326
11580
|
}
|
|
11327
|
-
/** @name PalletTransactionPaymentReleases (
|
|
11581
|
+
/** @name PalletTransactionPaymentReleases (492) */
|
|
11328
11582
|
interface PalletTransactionPaymentReleases extends Enum {
|
|
11329
11583
|
readonly isV1Ancient: boolean;
|
|
11330
11584
|
readonly isV2: boolean;
|
|
11331
11585
|
readonly type: 'V1Ancient' | 'V2';
|
|
11332
11586
|
}
|
|
11333
|
-
/** @name PalletUtilityError (
|
|
11587
|
+
/** @name PalletUtilityError (493) */
|
|
11334
11588
|
interface PalletUtilityError extends Enum {
|
|
11335
11589
|
readonly isTooManyCalls: boolean;
|
|
11336
11590
|
readonly type: 'TooManyCalls';
|
|
11337
11591
|
}
|
|
11338
|
-
/** @name PalletSudoError (
|
|
11592
|
+
/** @name PalletSudoError (494) */
|
|
11339
11593
|
interface PalletSudoError extends Enum {
|
|
11340
11594
|
readonly isRequireSudo: boolean;
|
|
11341
11595
|
readonly type: 'RequireSudo';
|
|
11342
11596
|
}
|
|
11343
|
-
/** @name PalletIsmpError (
|
|
11597
|
+
/** @name PalletIsmpError (495) */
|
|
11344
11598
|
interface PalletIsmpError extends Enum {
|
|
11345
11599
|
readonly isInvalidMessage: boolean;
|
|
11346
11600
|
readonly isMessageNotFound: boolean;
|
|
@@ -11350,9 +11604,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
11350
11604
|
readonly isErrorChargingFee: boolean;
|
|
11351
11605
|
readonly type: 'InvalidMessage' | 'MessageNotFound' | 'ConsensusClientCreationFailed' | 'UnbondingPeriodUpdateFailed' | 'ChallengePeriodUpdateFailed' | 'ErrorChargingFee';
|
|
11352
11606
|
}
|
|
11353
|
-
/** @name PalletHyperbridgeError (
|
|
11607
|
+
/** @name PalletHyperbridgeError (496) */
|
|
11354
11608
|
type PalletHyperbridgeError = Null;
|
|
11355
|
-
/** @name PalletTokenGatewayError (
|
|
11609
|
+
/** @name PalletTokenGatewayError (498) */
|
|
11356
11610
|
interface PalletTokenGatewayError extends Enum {
|
|
11357
11611
|
readonly isUnregisteredAsset: boolean;
|
|
11358
11612
|
readonly isAssetTeleportError: boolean;
|
|
@@ -11365,7 +11619,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11365
11619
|
readonly isNotAssetOwner: boolean;
|
|
11366
11620
|
readonly type: 'UnregisteredAsset' | 'AssetTeleportError' | 'CoprocessorNotConfigured' | 'DispatchError' | 'AssetCreationError' | 'AssetDecimalsNotFound' | 'NotInitialized' | 'UnknownAsset' | 'NotAssetOwner';
|
|
11367
11621
|
}
|
|
11368
|
-
/** @name PalletTreasuryTreasuryPool (
|
|
11622
|
+
/** @name PalletTreasuryTreasuryPool (500) */
|
|
11369
11623
|
interface PalletTreasuryTreasuryPool extends Struct {
|
|
11370
11624
|
readonly bondHolders: Vec<ITuple<[AccountId32, PalletTreasuryBondHolder]>>;
|
|
11371
11625
|
readonly doNotRenew: Vec<AccountId32>;
|
|
@@ -11373,19 +11627,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
11373
11627
|
readonly distributedEarnings: Option<u128>;
|
|
11374
11628
|
readonly vaultSharingPercent: Compact<Permill>;
|
|
11375
11629
|
}
|
|
11376
|
-
/** @name PalletTreasuryBondHolder (
|
|
11630
|
+
/** @name PalletTreasuryBondHolder (503) */
|
|
11377
11631
|
interface PalletTreasuryBondHolder extends Struct {
|
|
11378
11632
|
readonly startingBalance: Compact<u128>;
|
|
11379
11633
|
readonly earnings: Compact<u128>;
|
|
11380
11634
|
readonly keepEarningsInPool: bool;
|
|
11381
11635
|
}
|
|
11382
|
-
/** @name PalletTreasuryTreasuryCapital (
|
|
11636
|
+
/** @name PalletTreasuryTreasuryCapital (510) */
|
|
11383
11637
|
interface PalletTreasuryTreasuryCapital extends Struct {
|
|
11384
11638
|
readonly vaultId: Compact<u32>;
|
|
11385
11639
|
readonly activatedCapital: Compact<u128>;
|
|
11386
11640
|
readonly frameId: Compact<u64>;
|
|
11387
11641
|
}
|
|
11388
|
-
/** @name PalletTreasuryPrebondedArgons (
|
|
11642
|
+
/** @name PalletTreasuryPrebondedArgons (512) */
|
|
11389
11643
|
interface PalletTreasuryPrebondedArgons extends Struct {
|
|
11390
11644
|
readonly vaultId: Compact<u32>;
|
|
11391
11645
|
readonly accountId: AccountId32;
|
|
@@ -11394,7 +11648,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11394
11648
|
readonly bondedByStartOffset: Vec<u128>;
|
|
11395
11649
|
readonly maxAmountPerFrame: Compact<u128>;
|
|
11396
11650
|
}
|
|
11397
|
-
/** @name PalletTreasuryError (
|
|
11651
|
+
/** @name PalletTreasuryError (513) */
|
|
11398
11652
|
interface PalletTreasuryError extends Enum {
|
|
11399
11653
|
readonly isContributionTooLow: boolean;
|
|
11400
11654
|
readonly isVaultNotAcceptingMiningBonds: boolean;
|
|
@@ -11410,39 +11664,42 @@ declare module '@polkadot/types/lookup' {
|
|
|
11410
11664
|
readonly isMaxAmountBelowMinimum: boolean;
|
|
11411
11665
|
readonly type: 'ContributionTooLow' | 'VaultNotAcceptingMiningBonds' | 'BelowMinimum' | 'NotAFundContributor' | 'InternalError' | 'CouldNotFindTreasury' | 'MaxContributorsExceeded' | 'ActivatedSecuritizationExceeded' | 'MaxVaultsExceeded' | 'AlreadyRenewed' | 'NotAVaultOperator' | 'MaxAmountBelowMinimum';
|
|
11412
11666
|
}
|
|
11413
|
-
/** @name
|
|
11667
|
+
/** @name PalletFeeControlError (514) */
|
|
11668
|
+
interface PalletFeeControlError extends Enum {
|
|
11669
|
+
readonly isSponsoredFeeTooHigh: boolean;
|
|
11670
|
+
readonly type: 'SponsoredFeeTooHigh';
|
|
11671
|
+
}
|
|
11672
|
+
/** @name FrameSystemExtensionsAuthorizeCall (517) */
|
|
11414
11673
|
type FrameSystemExtensionsAuthorizeCall = Null;
|
|
11415
|
-
/** @name FrameSystemExtensionsCheckNonZeroSender (
|
|
11674
|
+
/** @name FrameSystemExtensionsCheckNonZeroSender (518) */
|
|
11416
11675
|
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
|
11417
|
-
/** @name FrameSystemExtensionsCheckSpecVersion (
|
|
11676
|
+
/** @name FrameSystemExtensionsCheckSpecVersion (519) */
|
|
11418
11677
|
type FrameSystemExtensionsCheckSpecVersion = Null;
|
|
11419
|
-
/** @name FrameSystemExtensionsCheckTxVersion (
|
|
11678
|
+
/** @name FrameSystemExtensionsCheckTxVersion (520) */
|
|
11420
11679
|
type FrameSystemExtensionsCheckTxVersion = Null;
|
|
11421
|
-
/** @name FrameSystemExtensionsCheckGenesis (
|
|
11680
|
+
/** @name FrameSystemExtensionsCheckGenesis (521) */
|
|
11422
11681
|
type FrameSystemExtensionsCheckGenesis = Null;
|
|
11423
|
-
/** @name FrameSystemExtensionsCheckNonce (
|
|
11682
|
+
/** @name FrameSystemExtensionsCheckNonce (524) */
|
|
11424
11683
|
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
|
|
11425
11684
|
}
|
|
11426
|
-
/** @name FrameSystemExtensionsCheckWeight (
|
|
11685
|
+
/** @name FrameSystemExtensionsCheckWeight (525) */
|
|
11427
11686
|
type FrameSystemExtensionsCheckWeight = Null;
|
|
11428
|
-
/** @name PalletTransactionPaymentChargeTransactionPayment (
|
|
11687
|
+
/** @name PalletTransactionPaymentChargeTransactionPayment (526) */
|
|
11429
11688
|
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
|
|
11430
11689
|
}
|
|
11431
|
-
/** @name FrameMetadataHashExtensionCheckMetadataHash (
|
|
11690
|
+
/** @name FrameMetadataHashExtensionCheckMetadataHash (527) */
|
|
11432
11691
|
interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
|
|
11433
11692
|
readonly mode: FrameMetadataHashExtensionMode;
|
|
11434
11693
|
}
|
|
11435
|
-
/** @name FrameMetadataHashExtensionMode (
|
|
11694
|
+
/** @name FrameMetadataHashExtensionMode (528) */
|
|
11436
11695
|
interface FrameMetadataHashExtensionMode extends Enum {
|
|
11437
11696
|
readonly isDisabled: boolean;
|
|
11438
11697
|
readonly isEnabled: boolean;
|
|
11439
11698
|
readonly type: 'Disabled' | 'Enabled';
|
|
11440
11699
|
}
|
|
11441
|
-
/** @name FrameSystemExtensionsWeightReclaim (
|
|
11700
|
+
/** @name FrameSystemExtensionsWeightReclaim (529) */
|
|
11442
11701
|
type FrameSystemExtensionsWeightReclaim = Null;
|
|
11443
|
-
/** @name
|
|
11444
|
-
type ArgonRuntimeProxyFeeRefund = Null;
|
|
11445
|
-
/** @name ArgonRuntimeRuntime (525) */
|
|
11702
|
+
/** @name ArgonRuntimeRuntime (531) */
|
|
11446
11703
|
type ArgonRuntimeRuntime = Null;
|
|
11447
11704
|
}
|
|
11448
11705
|
|
|
@@ -11678,10 +11935,11 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
11678
11935
|
utxoId: number;
|
|
11679
11936
|
p2wshScriptHashHex: string;
|
|
11680
11937
|
vaultId: number;
|
|
11681
|
-
|
|
11938
|
+
lockedMarketRate: bigint;
|
|
11682
11939
|
liquidityPromised: bigint;
|
|
11683
11940
|
ownerAccount: string;
|
|
11684
11941
|
satoshis: bigint;
|
|
11942
|
+
utxoSatoshis?: bigint;
|
|
11685
11943
|
vaultPubkey: string;
|
|
11686
11944
|
securityFees: bigint;
|
|
11687
11945
|
vaultClaimPubkey: string;
|
|
@@ -11695,7 +11953,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
11695
11953
|
openClaimHeight: number;
|
|
11696
11954
|
createdAtHeight: number;
|
|
11697
11955
|
isVerified: boolean;
|
|
11698
|
-
|
|
11956
|
+
createdAtArgonBlock: number;
|
|
11699
11957
|
fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
|
|
11700
11958
|
constructor(data: IBitcoinLock);
|
|
11701
11959
|
/**
|
|
@@ -11722,12 +11980,14 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
11722
11980
|
priceIndex: PriceIndex;
|
|
11723
11981
|
argonKeyring: KeyringPair;
|
|
11724
11982
|
vault: Vault;
|
|
11983
|
+
microgonsPerBtc?: bigint;
|
|
11984
|
+
couponProofKeypair?: KeyringPair;
|
|
11725
11985
|
} & ISubmittableOptions): Promise<{
|
|
11726
11986
|
txResult: TxResult;
|
|
11727
11987
|
getRatchetResult: () => Promise<{
|
|
11728
11988
|
securityFee: bigint;
|
|
11729
11989
|
txFee: bigint;
|
|
11730
|
-
|
|
11990
|
+
newLockedMarketRate: bigint;
|
|
11731
11991
|
liquidityPromised: bigint;
|
|
11732
11992
|
pendingMint: bigint;
|
|
11733
11993
|
burned: bigint;
|
|
@@ -11758,7 +12018,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
11758
12018
|
static getMarketRate(priceIndex: PriceIndex, satoshis: number | bigint): Promise<bigint>;
|
|
11759
12019
|
static getRedemptionRate(priceIndex: PriceIndex, details: {
|
|
11760
12020
|
satoshis: bigint;
|
|
11761
|
-
|
|
12021
|
+
lockedMarketRate?: bigint;
|
|
11762
12022
|
}): Promise<bigint>;
|
|
11763
12023
|
static getConfig(client: IQueryableClient): Promise<IBitcoinLockConfig>;
|
|
11764
12024
|
static getBitcoinConfirmedBlockHeight(client: IQueryableClient): Promise<number>;
|
|
@@ -11770,6 +12030,20 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
11770
12030
|
} & ISubmittableOptions): Promise<TxResult>;
|
|
11771
12031
|
static get(client: IQueryableClient, utxoId: number): Promise<BitcoinLock | undefined>;
|
|
11772
12032
|
static blockHashAtHeight(client: ArgonClient, atHeight: number): Promise<string | undefined>;
|
|
12033
|
+
static areFeeCouponsSupported(client: ArgonClient): boolean;
|
|
12034
|
+
static createCouponProof(args: {
|
|
12035
|
+
couponProofKeypair: KeyringPair;
|
|
12036
|
+
argonKeyring: KeyringPair;
|
|
12037
|
+
}): {
|
|
12038
|
+
public: Uint8Array;
|
|
12039
|
+
signature: Uint8Array;
|
|
12040
|
+
};
|
|
12041
|
+
static createFeeCouponTx(args: {
|
|
12042
|
+
client: ArgonClient;
|
|
12043
|
+
couponProofKeypair: KeyringPair;
|
|
12044
|
+
maxSatoshis: number;
|
|
12045
|
+
maxFeePlusTip?: bigint;
|
|
12046
|
+
}): SubmittableExtrinsic$1 | undefined;
|
|
11773
12047
|
static createInitializeTx(args: {
|
|
11774
12048
|
client: ArgonClient;
|
|
11775
12049
|
vault: Vault;
|
|
@@ -11778,9 +12052,12 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
11778
12052
|
satoshis: bigint;
|
|
11779
12053
|
argonKeyring: KeyringPair;
|
|
11780
12054
|
reducedBalanceBy?: bigint;
|
|
12055
|
+
microgonsPerBtc?: bigint;
|
|
11781
12056
|
tip?: bigint;
|
|
12057
|
+
initializeForAccountId?: string;
|
|
12058
|
+
couponProofKeypair?: KeyringPair;
|
|
11782
12059
|
}): Promise<{
|
|
11783
|
-
tx:
|
|
12060
|
+
tx: SubmittableExtrinsic$1;
|
|
11784
12061
|
securityFee: bigint;
|
|
11785
12062
|
txFee: bigint;
|
|
11786
12063
|
canAfford: boolean;
|
|
@@ -11814,6 +12091,7 @@ interface IBitcoinLockConfig {
|
|
|
11814
12091
|
pendingConfirmationExpirationBlocks: number;
|
|
11815
12092
|
tickDurationMillis: number;
|
|
11816
12093
|
bitcoinNetwork: ArgonPrimitivesBitcoinBitcoinNetwork;
|
|
12094
|
+
lockSatoshiAllowedVariance: number;
|
|
11817
12095
|
}
|
|
11818
12096
|
interface IReleaseRequest {
|
|
11819
12097
|
toScriptPubkey: string;
|
|
@@ -11828,10 +12106,11 @@ interface IBitcoinLock {
|
|
|
11828
12106
|
utxoId: number;
|
|
11829
12107
|
p2wshScriptHashHex: string;
|
|
11830
12108
|
vaultId: number;
|
|
11831
|
-
|
|
12109
|
+
lockedMarketRate: bigint;
|
|
11832
12110
|
liquidityPromised: bigint;
|
|
11833
12111
|
ownerAccount: string;
|
|
11834
12112
|
satoshis: bigint;
|
|
12113
|
+
utxoSatoshis?: bigint;
|
|
11835
12114
|
vaultPubkey: string;
|
|
11836
12115
|
securityFees: bigint;
|
|
11837
12116
|
vaultClaimPubkey: string;
|
|
@@ -11845,7 +12124,7 @@ interface IBitcoinLock {
|
|
|
11845
12124
|
openClaimHeight: number;
|
|
11846
12125
|
createdAtHeight: number;
|
|
11847
12126
|
isVerified: boolean;
|
|
11848
|
-
|
|
12127
|
+
createdAtArgonBlock: number;
|
|
11849
12128
|
fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
|
|
11850
12129
|
}
|
|
11851
12130
|
|