@argonprotocol/mainchain 1.3.26 → 1.3.27-dev.8f6b267e
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 +409 -278
- package/browser/index.js +141 -62
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +130 -51
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +409 -278
- package/lib/index.d.ts +409 -278
- package/lib/index.js +130 -51
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
package/lib/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, 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,
|
|
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, PalletTreasuryFunderState, PalletTreasuryTreasuryPool, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, SpConsensusGrandpaEquivocationProof, SpCoreVoid, IsmpMessagingCreateConsensusState, PalletIsmpUtilsFundMessageParams, IsmpMessagingMessage, PalletIsmpUtilsUpdateConsensusState, IsmpGrandpaAddStateMachine, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletTokenGatewayAssetRegistration, PalletTokenGatewayTeleportParams, PalletTokenGatewayPrecisionUpdate, 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';
|
|
@@ -163,12 +163,21 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
163
163
|
* Maximum releasing utxos at a time
|
|
164
164
|
**/
|
|
165
165
|
maxConcurrentlyReleasingLocks: u32 & AugmentedConst<ApiType>;
|
|
166
|
+
/**
|
|
167
|
+
* Number of frames orphaned UTXO release entries are retained after a lock lifecycle
|
|
168
|
+
* transition before being cleaned up.
|
|
169
|
+
**/
|
|
170
|
+
orphanedUtxoReleaseExpiryFrames: u64 & AugmentedConst<ApiType>;
|
|
166
171
|
/**
|
|
167
172
|
* Number of ticks per bitcoin block
|
|
168
173
|
**/
|
|
169
174
|
ticksPerBitcoinBlock: u64 & AugmentedConst<ApiType>;
|
|
170
175
|
};
|
|
171
176
|
bitcoinUtxos: {
|
|
177
|
+
/**
|
|
178
|
+
* Maximum number of candidate UTXOs stored per lock
|
|
179
|
+
**/
|
|
180
|
+
maxCandidateUtxosPerLock: u32 & AugmentedConst<ApiType>;
|
|
172
181
|
/**
|
|
173
182
|
* Maximum number of satoshi difference allowed from expected to consider a UTXO as
|
|
174
183
|
* "confirmed"
|
|
@@ -179,7 +188,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
179
188
|
**/
|
|
180
189
|
maxPendingConfirmationBlocks: u64 & AugmentedConst<ApiType>;
|
|
181
190
|
/**
|
|
182
|
-
* The maximum number of UTXOs that can be
|
|
191
|
+
* The maximum number of UTXOs that can be watched in a block and/or expiring at same block
|
|
183
192
|
**/
|
|
184
193
|
maxPendingConfirmationUtxos: u32 & AugmentedConst<ApiType>;
|
|
185
194
|
};
|
|
@@ -673,6 +682,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
673
682
|
* Initializing a lock for another account requires a fee coupon
|
|
674
683
|
**/
|
|
675
684
|
FeeCouponRequired: AugmentedError<ApiType>;
|
|
685
|
+
/**
|
|
686
|
+
* Cannot request an orphaned release for the funding UTXO
|
|
687
|
+
**/
|
|
688
|
+
FundingUtxoCannotBeReleased: AugmentedError<ApiType>;
|
|
676
689
|
/**
|
|
677
690
|
* An error occurred in the vault module
|
|
678
691
|
**/
|
|
@@ -715,11 +728,19 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
715
728
|
* The Bitcoin Lock record was not found
|
|
716
729
|
**/
|
|
717
730
|
LockNotFound: AugmentedError<ApiType>;
|
|
731
|
+
/**
|
|
732
|
+
* The lock funding has not been confirmed on bitcoin
|
|
733
|
+
**/
|
|
734
|
+
LockPendingFunding: AugmentedError<ApiType>;
|
|
718
735
|
/**
|
|
719
736
|
* This bitcoin lock exceeded the maximum allowed number of satoshis for the provided fee
|
|
720
737
|
* coupon
|
|
721
738
|
**/
|
|
722
739
|
MaxFeeCouponSatoshisExceeded: AugmentedError<ApiType>;
|
|
740
|
+
/**
|
|
741
|
+
* Too many orphaned utxo release requests for a lock
|
|
742
|
+
**/
|
|
743
|
+
MaxOrphanedUtxoReleaseRequestsExceeded: AugmentedError<ApiType>;
|
|
723
744
|
/**
|
|
724
745
|
* The price provider has no bitcoin prices available. This is a temporary error
|
|
725
746
|
**/
|
|
@@ -736,6 +757,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
736
757
|
* No Vault public keys are available
|
|
737
758
|
**/
|
|
738
759
|
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
760
|
+
/**
|
|
761
|
+
* Cannot fund with an orphaned utxo after lock funding is confirmed
|
|
762
|
+
**/
|
|
763
|
+
OrphanedUtxoFundingConflict: AugmentedError<ApiType>;
|
|
764
|
+
/**
|
|
765
|
+
* Cannot lock an orphaned utxo with a pending release request
|
|
766
|
+
**/
|
|
767
|
+
OrphanedUtxoReleaseRequested: AugmentedError<ApiType>;
|
|
739
768
|
/**
|
|
740
769
|
* An overflow or underflow occurred while calculating the redemption price
|
|
741
770
|
**/
|
|
@@ -752,10 +781,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
752
781
|
* The hold on funds could not be recovered
|
|
753
782
|
**/
|
|
754
783
|
UnrecoverableHold: AugmentedError<ApiType>;
|
|
755
|
-
/**
|
|
756
|
-
* The lock is not verified
|
|
757
|
-
**/
|
|
758
|
-
UnverifiedLock: AugmentedError<ApiType>;
|
|
759
784
|
/**
|
|
760
785
|
* This vault is closed
|
|
761
786
|
**/
|
|
@@ -791,7 +816,15 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
791
816
|
**/
|
|
792
817
|
InvalidBitcoinSyncHeight: AugmentedError<ApiType>;
|
|
793
818
|
/**
|
|
794
|
-
*
|
|
819
|
+
* This Lock already has an attached funding UTXO
|
|
820
|
+
**/
|
|
821
|
+
LockAlreadyFunded: AugmentedError<ApiType>;
|
|
822
|
+
/**
|
|
823
|
+
* Too many candidate UTXOs are being stored for this lock
|
|
824
|
+
**/
|
|
825
|
+
MaxCandidateUtxosExceeded: AugmentedError<ApiType>;
|
|
826
|
+
/**
|
|
827
|
+
* Too many UTXOs are being watched
|
|
795
828
|
**/
|
|
796
829
|
MaxUtxosExceeded: AugmentedError<ApiType>;
|
|
797
830
|
/**
|
|
@@ -814,6 +847,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
814
847
|
* ScriptPubKey is already being waited for
|
|
815
848
|
**/
|
|
816
849
|
ScriptPubkeyConflict: AugmentedError<ApiType>;
|
|
850
|
+
/**
|
|
851
|
+
* The UTXO reference does not map to a candidate entry
|
|
852
|
+
**/
|
|
853
|
+
UtxoNotCandidate: AugmentedError<ApiType>;
|
|
817
854
|
/**
|
|
818
855
|
* Locked Utxo Not Found
|
|
819
856
|
**/
|
|
@@ -1085,6 +1122,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1085
1122
|
* The given bid isn't high enough to be in the cohort
|
|
1086
1123
|
**/
|
|
1087
1124
|
BidTooLow: AugmentedError<ApiType>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Cannot re-register an account with a different funding account
|
|
1127
|
+
**/
|
|
1128
|
+
CannotChangeFundingAccount: AugmentedError<ApiType>;
|
|
1088
1129
|
/**
|
|
1089
1130
|
* An account can only have one active registration
|
|
1090
1131
|
**/
|
|
@@ -1490,10 +1531,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1490
1531
|
* An internal error occurred (like an overflow)
|
|
1491
1532
|
**/
|
|
1492
1533
|
InternalError: AugmentedError<ApiType>;
|
|
1493
|
-
/**
|
|
1494
|
-
* The prebond amount cannot be reduced and this takes it below the previous allocation
|
|
1495
|
-
**/
|
|
1496
|
-
MaxAmountBelowMinimum: AugmentedError<ApiType>;
|
|
1497
1534
|
/**
|
|
1498
1535
|
* Max contributors for a fund exceeded
|
|
1499
1536
|
**/
|
|
@@ -1596,6 +1633,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1596
1633
|
* A vault must clear out all pending cosigns before it can collect
|
|
1597
1634
|
**/
|
|
1598
1635
|
PendingCosignsBeforeCollect: AugmentedError<ApiType>;
|
|
1636
|
+
/**
|
|
1637
|
+
* A vault must clear out all pending orphan cosigns before it can collect
|
|
1638
|
+
**/
|
|
1639
|
+
PendingOrphanedUtxoCosignsBeforeCollect: AugmentedError<ApiType>;
|
|
1599
1640
|
/**
|
|
1600
1641
|
* The vault bitcoin xpubkey has already been used
|
|
1601
1642
|
**/
|
|
@@ -1887,6 +1928,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1887
1928
|
utxoId: u64,
|
|
1888
1929
|
vaultId: u32,
|
|
1889
1930
|
liquidityPromised: u128,
|
|
1931
|
+
securitization: u128,
|
|
1890
1932
|
lockedMarketRate: u128,
|
|
1891
1933
|
accountId: AccountId32,
|
|
1892
1934
|
securityFee: u128
|
|
@@ -1894,6 +1936,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1894
1936
|
utxoId: u64;
|
|
1895
1937
|
vaultId: u32;
|
|
1896
1938
|
liquidityPromised: u128;
|
|
1939
|
+
securitization: u128;
|
|
1897
1940
|
lockedMarketRate: u128;
|
|
1898
1941
|
accountId: AccountId32;
|
|
1899
1942
|
securityFee: u128;
|
|
@@ -1957,21 +2000,69 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1957
2000
|
utxoId: u64,
|
|
1958
2001
|
utxoRef: ArgonPrimitivesBitcoinUtxoRef,
|
|
1959
2002
|
vaultId: u32,
|
|
2003
|
+
accountId: AccountId32,
|
|
1960
2004
|
signature: Bytes
|
|
1961
2005
|
], {
|
|
1962
2006
|
utxoId: u64;
|
|
1963
2007
|
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
1964
2008
|
vaultId: u32;
|
|
2009
|
+
accountId: AccountId32;
|
|
1965
2010
|
signature: Bytes;
|
|
1966
2011
|
}>;
|
|
2012
|
+
OrphanedUtxoReceived: AugmentedEvent<ApiType, [
|
|
2013
|
+
utxoId: u64,
|
|
2014
|
+
utxoRef: ArgonPrimitivesBitcoinUtxoRef,
|
|
2015
|
+
vaultId: u32,
|
|
2016
|
+
satoshis: u64
|
|
2017
|
+
], {
|
|
2018
|
+
utxoId: u64;
|
|
2019
|
+
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
2020
|
+
vaultId: u32;
|
|
2021
|
+
satoshis: u64;
|
|
2022
|
+
}>;
|
|
2023
|
+
OrphanedUtxoReleaseRequested: AugmentedEvent<ApiType, [
|
|
2024
|
+
utxoId: u64,
|
|
2025
|
+
utxoRef: ArgonPrimitivesBitcoinUtxoRef,
|
|
2026
|
+
vaultId: u32,
|
|
2027
|
+
accountId: AccountId32
|
|
2028
|
+
], {
|
|
2029
|
+
utxoId: u64;
|
|
2030
|
+
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
2031
|
+
vaultId: u32;
|
|
2032
|
+
accountId: AccountId32;
|
|
2033
|
+
}>;
|
|
2034
|
+
SecuritizationIncreased: AugmentedEvent<ApiType, [
|
|
2035
|
+
utxoId: u64,
|
|
2036
|
+
vaultId: u32,
|
|
2037
|
+
newSatoshis: u64,
|
|
2038
|
+
accountId: AccountId32
|
|
2039
|
+
], {
|
|
2040
|
+
utxoId: u64;
|
|
2041
|
+
vaultId: u32;
|
|
2042
|
+
newSatoshis: u64;
|
|
2043
|
+
accountId: AccountId32;
|
|
2044
|
+
}>;
|
|
2045
|
+
UtxoFundedFromCandidate: AugmentedEvent<ApiType, [
|
|
2046
|
+
utxoId: u64,
|
|
2047
|
+
utxoRef: ArgonPrimitivesBitcoinUtxoRef,
|
|
2048
|
+
vaultId: u32,
|
|
2049
|
+
accountId: AccountId32
|
|
2050
|
+
], {
|
|
2051
|
+
utxoId: u64;
|
|
2052
|
+
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
2053
|
+
vaultId: u32;
|
|
2054
|
+
accountId: AccountId32;
|
|
2055
|
+
}>;
|
|
1967
2056
|
};
|
|
1968
2057
|
bitcoinUtxos: {
|
|
1969
2058
|
UtxoRejected: AugmentedEvent<ApiType, [
|
|
1970
2059
|
utxoId: u64,
|
|
2060
|
+
utxoRef: ArgonPrimitivesBitcoinUtxoRef,
|
|
1971
2061
|
rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason,
|
|
1972
2062
|
satoshisReceived: u64
|
|
1973
2063
|
], {
|
|
1974
2064
|
utxoId: u64;
|
|
2065
|
+
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
1975
2066
|
rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
|
|
1976
2067
|
satoshisReceived: u64;
|
|
1977
2068
|
}>;
|
|
@@ -3236,16 +3327,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3236
3327
|
accountId: AccountId32;
|
|
3237
3328
|
}>;
|
|
3238
3329
|
/**
|
|
3239
|
-
*
|
|
3330
|
+
* A funder has set their allocation for a vault
|
|
3240
3331
|
**/
|
|
3241
|
-
|
|
3332
|
+
VaultFunderAllocation: AugmentedEvent<ApiType, [
|
|
3242
3333
|
vaultId: u32,
|
|
3243
3334
|
accountId: AccountId32,
|
|
3244
|
-
|
|
3335
|
+
amount: u128,
|
|
3336
|
+
previousAmount: Option<u128>
|
|
3245
3337
|
], {
|
|
3246
3338
|
vaultId: u32;
|
|
3247
3339
|
accountId: AccountId32;
|
|
3248
|
-
|
|
3340
|
+
amount: u128;
|
|
3341
|
+
previousAmount: Option<u128>;
|
|
3249
3342
|
}>;
|
|
3250
3343
|
};
|
|
3251
3344
|
txPause: {
|
|
@@ -3330,24 +3423,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3330
3423
|
FundsLocked: AugmentedEvent<ApiType, [
|
|
3331
3424
|
vaultId: u32,
|
|
3332
3425
|
locker: AccountId32,
|
|
3333
|
-
|
|
3426
|
+
liquidityPromised: u128,
|
|
3334
3427
|
isRatchet: bool,
|
|
3335
3428
|
feeRevenue: u128,
|
|
3336
3429
|
didUseFeeCoupon: bool
|
|
3337
3430
|
], {
|
|
3338
3431
|
vaultId: u32;
|
|
3339
3432
|
locker: AccountId32;
|
|
3340
|
-
|
|
3433
|
+
liquidityPromised: u128;
|
|
3341
3434
|
isRatchet: bool;
|
|
3342
3435
|
feeRevenue: u128;
|
|
3343
3436
|
didUseFeeCoupon: bool;
|
|
3344
3437
|
}>;
|
|
3345
3438
|
FundsReleased: AugmentedEvent<ApiType, [
|
|
3346
3439
|
vaultId: u32,
|
|
3347
|
-
|
|
3440
|
+
securitization: u128
|
|
3348
3441
|
], {
|
|
3349
3442
|
vaultId: u32;
|
|
3350
|
-
|
|
3443
|
+
securitization: u128;
|
|
3351
3444
|
}>;
|
|
3352
3445
|
FundsReleasedError: AugmentedEvent<ApiType, [
|
|
3353
3446
|
vaultId: u32,
|
|
@@ -3358,11 +3451,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3358
3451
|
}>;
|
|
3359
3452
|
FundsScheduledForRelease: AugmentedEvent<ApiType, [
|
|
3360
3453
|
vaultId: u32,
|
|
3361
|
-
|
|
3454
|
+
securitization: u128,
|
|
3362
3455
|
releaseHeight: u64
|
|
3363
3456
|
], {
|
|
3364
3457
|
vaultId: u32;
|
|
3365
|
-
|
|
3458
|
+
securitization: u128;
|
|
3366
3459
|
releaseHeight: u64;
|
|
3367
3460
|
}>;
|
|
3368
3461
|
LostBitcoinCompensated: AugmentedEvent<ApiType, [
|
|
@@ -3425,10 +3518,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3425
3518
|
VaultModified: AugmentedEvent<ApiType, [
|
|
3426
3519
|
vaultId: u32,
|
|
3427
3520
|
securitization: u128,
|
|
3521
|
+
securitizationTarget: u128,
|
|
3428
3522
|
securitizationRatio: u128
|
|
3429
3523
|
], {
|
|
3430
3524
|
vaultId: u32;
|
|
3431
3525
|
securitization: u128;
|
|
3526
|
+
securitizationTarget: u128;
|
|
3432
3527
|
securitizationRatio: u128;
|
|
3433
3528
|
}>;
|
|
3434
3529
|
/**
|
|
@@ -3588,6 +3683,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3588
3683
|
**/
|
|
3589
3684
|
minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
3590
3685
|
nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
|
|
3686
|
+
/**
|
|
3687
|
+
* Expiration of orphaned utxo refs by user account
|
|
3688
|
+
**/
|
|
3689
|
+
orphanedUtxoExpirationByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ITuple<[AccountId32, ArgonPrimitivesBitcoinUtxoRef]>>>, [
|
|
3690
|
+
u64
|
|
3691
|
+
]>;
|
|
3591
3692
|
/**
|
|
3592
3693
|
* Mismatched utxos that were sent with invalid amounts to a locked bitcoin
|
|
3593
3694
|
**/
|
|
@@ -3605,6 +3706,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3605
3706
|
**/
|
|
3606
3707
|
bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, [
|
|
3607
3708
|
]>;
|
|
3709
|
+
/**
|
|
3710
|
+
* Candidate UTXOs associated with a lock (mismatches, extra funding, etc.).
|
|
3711
|
+
**/
|
|
3712
|
+
candidateUtxoRefsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<ArgonPrimitivesBitcoinUtxoRef, u64>>, [
|
|
3713
|
+
u64
|
|
3714
|
+
]>;
|
|
3608
3715
|
/**
|
|
3609
3716
|
* An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
|
|
3610
3717
|
**/
|
|
@@ -3615,9 +3722,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3615
3722
|
**/
|
|
3616
3723
|
inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
3617
3724
|
/**
|
|
3618
|
-
* Locked Bitcoin UTXOs that have
|
|
3619
|
-
* MinimumSatoshiThreshold of the expected. If a Bitcoin UTXO is moved
|
|
3620
|
-
* block, the funds are burned and the UTXO is unlocked.
|
|
3725
|
+
* Locked Bitcoin UTXOs that have been funded with a UtxoRef from the Bitcoin network and
|
|
3726
|
+
* amounts within the MinimumSatoshiThreshold of the expected. If a Bitcoin UTXO is moved
|
|
3727
|
+
* before the expiration block, the funds are burned and the UTXO is unlocked.
|
|
3621
3728
|
**/
|
|
3622
3729
|
lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | {
|
|
3623
3730
|
txid?: any;
|
|
@@ -3625,6 +3732,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3625
3732
|
} | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
3626
3733
|
ArgonPrimitivesBitcoinUtxoRef
|
|
3627
3734
|
]>;
|
|
3735
|
+
/**
|
|
3736
|
+
* Bitcoin locks that are pending full funding on the bitcoin network
|
|
3737
|
+
**/
|
|
3738
|
+
locksPendingFunding: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
3739
|
+
]>;
|
|
3628
3740
|
/**
|
|
3629
3741
|
* Bitcoin Oracle Operator Account
|
|
3630
3742
|
**/
|
|
@@ -3643,14 +3755,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3643
3755
|
/**
|
|
3644
3756
|
* A mapping of utxo id to the confirmed utxo reference
|
|
3645
3757
|
**/
|
|
3646
|
-
|
|
3758
|
+
utxoIdToFundingUtxoRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
|
|
3647
3759
|
u64
|
|
3648
3760
|
]>;
|
|
3649
|
-
/**
|
|
3650
|
-
* Bitcoin locks that are pending full funding on the bitcoin network
|
|
3651
|
-
**/
|
|
3652
|
-
utxosPendingConfirmation: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
3653
|
-
]>;
|
|
3654
3761
|
};
|
|
3655
3762
|
blockRewards: {
|
|
3656
3763
|
/**
|
|
@@ -4449,21 +4556,22 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4449
4556
|
treasury: {
|
|
4450
4557
|
/**
|
|
4451
4558
|
* The treasury pool for the current frame. This correlates with the bids coming in for the
|
|
4452
|
-
* current frame. Sorted with the biggest share
|
|
4559
|
+
* current frame. Sorted with the biggest share first. (current frame)
|
|
4453
4560
|
**/
|
|
4454
4561
|
capitalActive: AugmentedQuery<ApiType, () => Observable<Vec<PalletTreasuryTreasuryCapital>>, [
|
|
4455
4562
|
]>;
|
|
4456
4563
|
/**
|
|
4457
|
-
*
|
|
4564
|
+
* Accounts that have a non-zero commitment for a vault. Bounded for predictable weights.
|
|
4458
4565
|
**/
|
|
4459
|
-
|
|
4566
|
+
fundersByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId32>>, [
|
|
4567
|
+
u32
|
|
4460
4568
|
]>;
|
|
4461
4569
|
/**
|
|
4462
|
-
*
|
|
4463
|
-
* operator to allocate argons to be bonded once bitcoins are securitized in their vault.
|
|
4570
|
+
* Per-vault per-account commitment and current bonded principal (long-lived source of truth).
|
|
4464
4571
|
**/
|
|
4465
|
-
|
|
4466
|
-
u32
|
|
4572
|
+
funderStateByVaultAndAccount: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletTreasuryFunderState>>, [
|
|
4573
|
+
u32,
|
|
4574
|
+
AccountId32
|
|
4467
4575
|
]>;
|
|
4468
4576
|
/**
|
|
4469
4577
|
* The currently earning contributors for the current epoch's bond funds. Sorted by highest
|
|
@@ -4752,6 +4860,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4752
4860
|
u64,
|
|
4753
4861
|
Bytes
|
|
4754
4862
|
]>;
|
|
4863
|
+
increaseSecuritization: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, newSatoshis: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4864
|
+
u64,
|
|
4865
|
+
Compact<u64>
|
|
4866
|
+
]>;
|
|
4755
4867
|
/**
|
|
4756
4868
|
* Initialize a bitcoin lock. This will create a LockedBitcoin for the submitting account
|
|
4757
4869
|
* and log the Bitcoin Script hash to Events.
|
|
@@ -4829,6 +4941,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4829
4941
|
]>;
|
|
4830
4942
|
};
|
|
4831
4943
|
bitcoinUtxos: {
|
|
4944
|
+
/**
|
|
4945
|
+
* Bind a candidate UTXO ref as the funding UTXO for its lock.
|
|
4946
|
+
* The locks pallet authorizes the promotion; this pallet binds the ref and begins
|
|
4947
|
+
* tracking.
|
|
4948
|
+
**/
|
|
4949
|
+
fundWithUtxoCandidate: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | {
|
|
4950
|
+
txid?: any;
|
|
4951
|
+
outputIndex?: any;
|
|
4952
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4953
|
+
u64,
|
|
4954
|
+
ArgonPrimitivesBitcoinUtxoRef
|
|
4955
|
+
]>;
|
|
4832
4956
|
/**
|
|
4833
4957
|
* Sets the most recent confirmed bitcoin block height (only executable by the Oracle
|
|
4834
4958
|
* Operator account)
|
|
@@ -4850,7 +4974,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4850
4974
|
AccountId32
|
|
4851
4975
|
]>;
|
|
4852
4976
|
/**
|
|
4853
|
-
* Submitted when a bitcoin UTXO has been moved or confirmed
|
|
4977
|
+
* Submitted when a bitcoin UTXO has been moved or confirmed.
|
|
4854
4978
|
**/
|
|
4855
4979
|
sync: AugmentedSubmittable<(utxoSync: ArgonPrimitivesInherentsBitcoinUtxoSync | {
|
|
4856
4980
|
spent?: any;
|
|
@@ -5970,27 +6094,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5970
6094
|
]>;
|
|
5971
6095
|
};
|
|
5972
6096
|
tokenGateway: {
|
|
5973
|
-
/**
|
|
5974
|
-
* Registers a multi-chain ERC6160 asset. The asset should not already exist.
|
|
5975
|
-
*
|
|
5976
|
-
* This works by dispatching a request to the TokenGateway module on each requested chain
|
|
5977
|
-
* to create the asset.
|
|
5978
|
-
* `native` should be true if this asset originates from this chain
|
|
5979
|
-
**/
|
|
5980
|
-
createErc6160Asset: AugmentedSubmittable<(asset: PalletTokenGatewayAssetRegistration | {
|
|
5981
|
-
localId?: any;
|
|
5982
|
-
reg?: any;
|
|
5983
|
-
native?: any;
|
|
5984
|
-
precision?: any;
|
|
5985
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5986
|
-
PalletTokenGatewayAssetRegistration
|
|
5987
|
-
]>;
|
|
5988
6097
|
/**
|
|
5989
6098
|
* Registers a multi-chain ERC6160 asset without sending any dispatch request.
|
|
5990
6099
|
* You should use register_asset_locally when you want to enable token gateway transfers
|
|
5991
6100
|
* for an asset that already exists on an external chain.
|
|
5992
6101
|
**/
|
|
5993
|
-
|
|
6102
|
+
createErc6160Asset: AugmentedSubmittable<(asset: PalletTokenGatewayAssetRegistration | {
|
|
5994
6103
|
localId?: any;
|
|
5995
6104
|
reg?: any;
|
|
5996
6105
|
native?: any;
|
|
@@ -6030,56 +6139,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6030
6139
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6031
6140
|
PalletTokenGatewayPrecisionUpdate
|
|
6032
6141
|
]>;
|
|
6033
|
-
/**
|
|
6034
|
-
* Registers a multi-chain ERC6160 asset. The asset should not already exist.
|
|
6035
|
-
*
|
|
6036
|
-
* This works by dispatching a request to the TokenGateway module on each requested chain
|
|
6037
|
-
* to create the asset.
|
|
6038
|
-
**/
|
|
6039
|
-
updateErc6160Asset: AugmentedSubmittable<(asset: TokenGatewayPrimitivesGatewayAssetUpdate | {
|
|
6040
|
-
assetId?: any;
|
|
6041
|
-
addChains?: any;
|
|
6042
|
-
removeChains?: any;
|
|
6043
|
-
newAdmins?: any;
|
|
6044
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6045
|
-
TokenGatewayPrimitivesGatewayAssetUpdate
|
|
6046
|
-
]>;
|
|
6047
6142
|
};
|
|
6048
6143
|
treasury: {
|
|
6049
6144
|
/**
|
|
6050
|
-
*
|
|
6051
|
-
* tomorrow noon EDT to day after tomorrow noon). The amount bonded to the pool cannot
|
|
6052
|
-
* exceed 1/10th of the activated securitization for the vault.
|
|
6053
|
-
*
|
|
6054
|
-
* The bonded argons and profits will be automatically rolled over to the next fund up to
|
|
6055
|
-
* the max securitization activated.
|
|
6056
|
-
*
|
|
6057
|
-
* - `origin`: The account that is joining the fund
|
|
6058
|
-
* - `vault_id`: The vault id that the account would like to join a fund for
|
|
6059
|
-
* - `amount`: The amount of argons to contribute to the fund. If you increase this amount,
|
|
6060
|
-
* it will just add the incremental amount
|
|
6145
|
+
* All funders can set their committed principal for a vault.
|
|
6061
6146
|
**/
|
|
6062
|
-
|
|
6063
|
-
u32,
|
|
6064
|
-
u128
|
|
6065
|
-
]>;
|
|
6066
|
-
/**
|
|
6067
|
-
* Allows a user to remove their bonded argons from the fund after the hold is released
|
|
6068
|
-
* (once epoch starting at bonded frame is complete).
|
|
6069
|
-
**/
|
|
6070
|
-
unbondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, frameId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6071
|
-
u32,
|
|
6072
|
-
u64
|
|
6073
|
-
]>;
|
|
6074
|
-
/**
|
|
6075
|
-
* Set the prebonded argons for a vault. This is used by the vault operator to
|
|
6076
|
-
* pre-register funding for each frame. The total allocation will be capped per frame using
|
|
6077
|
-
* the `max_amount_per_frame` parameter.
|
|
6078
|
-
*
|
|
6079
|
-
* NOTE: calling this a second time will ensure your max_amount_per_frame is updated.
|
|
6080
|
-
* However, it will not reduce your allocation
|
|
6081
|
-
**/
|
|
6082
|
-
vaultOperatorPrebond: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, maxAmountPerFrame: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6147
|
+
setAllocation: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6083
6148
|
u32,
|
|
6084
6149
|
u128
|
|
6085
6150
|
]>;
|
|
@@ -8818,6 +8883,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8818
8883
|
readonly isUtxoRejected: boolean;
|
|
8819
8884
|
readonly asUtxoRejected: {
|
|
8820
8885
|
readonly utxoId: u64;
|
|
8886
|
+
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
8821
8887
|
readonly rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
|
|
8822
8888
|
readonly satoshisReceived: u64;
|
|
8823
8889
|
} & Struct;
|
|
@@ -8847,7 +8913,15 @@ declare module '@polkadot/types/lookup' {
|
|
|
8847
8913
|
} & Struct;
|
|
8848
8914
|
readonly type: 'UtxoVerified' | 'UtxoRejected' | 'UtxoSpent' | 'UtxoUnwatched' | 'UtxoSpentError' | 'UtxoVerifiedError' | 'UtxoRejectedError';
|
|
8849
8915
|
}
|
|
8850
|
-
/** @name
|
|
8916
|
+
/** @name ArgonPrimitivesBitcoinUtxoRef (51) */
|
|
8917
|
+
interface ArgonPrimitivesBitcoinUtxoRef extends Struct {
|
|
8918
|
+
readonly txid: ArgonPrimitivesBitcoinH256Le;
|
|
8919
|
+
readonly outputIndex: Compact<u32>;
|
|
8920
|
+
}
|
|
8921
|
+
/** @name ArgonPrimitivesBitcoinH256Le (52) */
|
|
8922
|
+
interface ArgonPrimitivesBitcoinH256Le extends U8aFixed {
|
|
8923
|
+
}
|
|
8924
|
+
/** @name ArgonPrimitivesBitcoinBitcoinRejectedReason (54) */
|
|
8851
8925
|
interface ArgonPrimitivesBitcoinBitcoinRejectedReason extends Enum {
|
|
8852
8926
|
readonly isSatoshisOutsideAcceptedRange: boolean;
|
|
8853
8927
|
readonly isSpent: boolean;
|
|
@@ -8855,7 +8929,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8855
8929
|
readonly isAlreadyVerified: boolean;
|
|
8856
8930
|
readonly type: 'SatoshisOutsideAcceptedRange' | 'Spent' | 'VerificationExpired' | 'AlreadyVerified';
|
|
8857
8931
|
}
|
|
8858
|
-
/** @name PalletVaultsEvent (
|
|
8932
|
+
/** @name PalletVaultsEvent (55) */
|
|
8859
8933
|
interface PalletVaultsEvent extends Enum {
|
|
8860
8934
|
readonly isVaultCreated: boolean;
|
|
8861
8935
|
readonly asVaultCreated: {
|
|
@@ -8869,6 +8943,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8869
8943
|
readonly asVaultModified: {
|
|
8870
8944
|
readonly vaultId: u32;
|
|
8871
8945
|
readonly securitization: u128;
|
|
8946
|
+
readonly securitizationTarget: u128;
|
|
8872
8947
|
readonly securitizationRatio: u128;
|
|
8873
8948
|
} & Struct;
|
|
8874
8949
|
readonly isVaultTermsChangeScheduled: boolean;
|
|
@@ -8905,7 +8980,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8905
8980
|
readonly asFundsLocked: {
|
|
8906
8981
|
readonly vaultId: u32;
|
|
8907
8982
|
readonly locker: AccountId32;
|
|
8908
|
-
readonly
|
|
8983
|
+
readonly liquidityPromised: u128;
|
|
8909
8984
|
readonly isRatchet: bool;
|
|
8910
8985
|
readonly feeRevenue: u128;
|
|
8911
8986
|
readonly didUseFeeCoupon: bool;
|
|
@@ -8918,7 +8993,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8918
8993
|
readonly isFundsScheduledForRelease: boolean;
|
|
8919
8994
|
readonly asFundsScheduledForRelease: {
|
|
8920
8995
|
readonly vaultId: u32;
|
|
8921
|
-
readonly
|
|
8996
|
+
readonly securitization: u128;
|
|
8922
8997
|
readonly releaseHeight: u64;
|
|
8923
8998
|
} & Struct;
|
|
8924
8999
|
readonly isLostBitcoinCompensated: boolean;
|
|
@@ -8931,7 +9006,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8931
9006
|
readonly isFundsReleased: boolean;
|
|
8932
9007
|
readonly asFundsReleased: {
|
|
8933
9008
|
readonly vaultId: u32;
|
|
8934
|
-
readonly
|
|
9009
|
+
readonly securitization: u128;
|
|
8935
9010
|
} & Struct;
|
|
8936
9011
|
readonly isFundsReleasedError: boolean;
|
|
8937
9012
|
readonly asFundsReleasedError: {
|
|
@@ -8947,13 +9022,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
8947
9022
|
} & Struct;
|
|
8948
9023
|
readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | 'VaultRevenueUncollected' | 'VaultCollected' | 'FundsLocked' | 'FundLockCanceled' | 'FundsScheduledForRelease' | 'LostBitcoinCompensated' | 'FundsReleased' | 'FundsReleasedError' | 'TreasuryRecordingError';
|
|
8949
9024
|
}
|
|
8950
|
-
/** @name PalletBitcoinLocksEvent (
|
|
9025
|
+
/** @name PalletBitcoinLocksEvent (57) */
|
|
8951
9026
|
interface PalletBitcoinLocksEvent extends Enum {
|
|
8952
9027
|
readonly isBitcoinLockCreated: boolean;
|
|
8953
9028
|
readonly asBitcoinLockCreated: {
|
|
8954
9029
|
readonly utxoId: u64;
|
|
8955
9030
|
readonly vaultId: u32;
|
|
8956
9031
|
readonly liquidityPromised: u128;
|
|
9032
|
+
readonly securitization: u128;
|
|
8957
9033
|
readonly lockedMarketRate: u128;
|
|
8958
9034
|
readonly accountId: AccountId32;
|
|
8959
9035
|
readonly securityFee: u128;
|
|
@@ -9003,22 +9079,43 @@ declare module '@polkadot/types/lookup' {
|
|
|
9003
9079
|
readonly utxoId: u64;
|
|
9004
9080
|
readonly error: SpRuntimeDispatchError;
|
|
9005
9081
|
} & Struct;
|
|
9082
|
+
readonly isOrphanedUtxoReceived: boolean;
|
|
9083
|
+
readonly asOrphanedUtxoReceived: {
|
|
9084
|
+
readonly utxoId: u64;
|
|
9085
|
+
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
9086
|
+
readonly vaultId: u32;
|
|
9087
|
+
readonly satoshis: u64;
|
|
9088
|
+
} & Struct;
|
|
9089
|
+
readonly isOrphanedUtxoReleaseRequested: boolean;
|
|
9090
|
+
readonly asOrphanedUtxoReleaseRequested: {
|
|
9091
|
+
readonly utxoId: u64;
|
|
9092
|
+
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
9093
|
+
readonly vaultId: u32;
|
|
9094
|
+
readonly accountId: AccountId32;
|
|
9095
|
+
} & Struct;
|
|
9006
9096
|
readonly isOrphanedUtxoCosigned: boolean;
|
|
9007
9097
|
readonly asOrphanedUtxoCosigned: {
|
|
9008
9098
|
readonly utxoId: u64;
|
|
9009
9099
|
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
9010
9100
|
readonly vaultId: u32;
|
|
9101
|
+
readonly accountId: AccountId32;
|
|
9011
9102
|
readonly signature: Bytes;
|
|
9012
9103
|
} & Struct;
|
|
9013
|
-
readonly
|
|
9014
|
-
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9104
|
+
readonly isUtxoFundedFromCandidate: boolean;
|
|
9105
|
+
readonly asUtxoFundedFromCandidate: {
|
|
9106
|
+
readonly utxoId: u64;
|
|
9107
|
+
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
9108
|
+
readonly vaultId: u32;
|
|
9109
|
+
readonly accountId: AccountId32;
|
|
9110
|
+
} & Struct;
|
|
9111
|
+
readonly isSecuritizationIncreased: boolean;
|
|
9112
|
+
readonly asSecuritizationIncreased: {
|
|
9113
|
+
readonly utxoId: u64;
|
|
9114
|
+
readonly vaultId: u32;
|
|
9115
|
+
readonly newSatoshis: u64;
|
|
9116
|
+
readonly accountId: AccountId32;
|
|
9117
|
+
} & Struct;
|
|
9118
|
+
readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'UtxoFundedFromCandidate' | 'SecuritizationIncreased';
|
|
9022
9119
|
}
|
|
9023
9120
|
/** @name PalletNotariesEvent (60) */
|
|
9024
9121
|
interface PalletNotariesEvent extends Enum {
|
|
@@ -9824,13 +9921,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
9824
9921
|
readonly amount: u128;
|
|
9825
9922
|
readonly accountId: AccountId32;
|
|
9826
9923
|
} & Struct;
|
|
9827
|
-
readonly
|
|
9828
|
-
readonly
|
|
9924
|
+
readonly isVaultFunderAllocation: boolean;
|
|
9925
|
+
readonly asVaultFunderAllocation: {
|
|
9829
9926
|
readonly vaultId: u32;
|
|
9830
9927
|
readonly accountId: AccountId32;
|
|
9831
|
-
readonly
|
|
9928
|
+
readonly amount: u128;
|
|
9929
|
+
readonly previousAmount: Option<u128>;
|
|
9832
9930
|
} & Struct;
|
|
9833
|
-
readonly type: 'CouldNotDistributeBidPool' | 'CouldNotBurnBidPool' | 'BidPoolDistributed' | 'NextBidPoolCapitalLocked' | 'ErrorRefundingTreasuryCapital' | 'RefundedTreasuryCapital' | '
|
|
9931
|
+
readonly type: 'CouldNotDistributeBidPool' | 'CouldNotBurnBidPool' | 'BidPoolDistributed' | 'NextBidPoolCapitalLocked' | 'ErrorRefundingTreasuryCapital' | 'RefundedTreasuryCapital' | 'VaultFunderAllocation';
|
|
9834
9932
|
}
|
|
9835
9933
|
/** @name PalletFeeControlEvent (131) */
|
|
9836
9934
|
interface PalletFeeControlEvent extends Enum {
|
|
@@ -10194,14 +10292,25 @@ declare module '@polkadot/types/lookup' {
|
|
|
10194
10292
|
readonly asSetOperator: {
|
|
10195
10293
|
readonly accountId: AccountId32;
|
|
10196
10294
|
} & Struct;
|
|
10197
|
-
readonly
|
|
10295
|
+
readonly isFundWithUtxoCandidate: boolean;
|
|
10296
|
+
readonly asFundWithUtxoCandidate: {
|
|
10297
|
+
readonly utxoId: u64;
|
|
10298
|
+
readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
10299
|
+
} & Struct;
|
|
10300
|
+
readonly type: 'Sync' | 'SetConfirmedBlock' | 'SetOperator' | 'FundWithUtxoCandidate';
|
|
10198
10301
|
}
|
|
10199
10302
|
/** @name ArgonPrimitivesInherentsBitcoinUtxoSync (193) */
|
|
10200
10303
|
interface ArgonPrimitivesInherentsBitcoinUtxoSync extends Struct {
|
|
10201
|
-
readonly spent:
|
|
10304
|
+
readonly spent: Vec<ArgonPrimitivesInherentsBitcoinUtxoSpend>;
|
|
10202
10305
|
readonly funded: Vec<ArgonPrimitivesInherentsBitcoinUtxoFunding>;
|
|
10203
10306
|
readonly syncToBlock: ArgonPrimitivesBitcoinBitcoinBlock;
|
|
10204
10307
|
}
|
|
10308
|
+
/** @name ArgonPrimitivesInherentsBitcoinUtxoSpend (195) */
|
|
10309
|
+
interface ArgonPrimitivesInherentsBitcoinUtxoSpend extends Struct {
|
|
10310
|
+
readonly utxoId: Compact<u64>;
|
|
10311
|
+
readonly utxoRef: Option<ArgonPrimitivesBitcoinUtxoRef>;
|
|
10312
|
+
readonly bitcoinHeight: Compact<u64>;
|
|
10313
|
+
}
|
|
10205
10314
|
/** @name ArgonPrimitivesInherentsBitcoinUtxoFunding (198) */
|
|
10206
10315
|
interface ArgonPrimitivesInherentsBitcoinUtxoFunding extends Struct {
|
|
10207
10316
|
readonly utxoId: Compact<u64>;
|
|
@@ -10318,7 +10427,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
10318
10427
|
readonly bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
10319
10428
|
readonly options: Option<PalletBitcoinLocksLockOptions>;
|
|
10320
10429
|
} & Struct;
|
|
10321
|
-
readonly
|
|
10430
|
+
readonly isIncreaseSecuritization: boolean;
|
|
10431
|
+
readonly asIncreaseSecuritization: {
|
|
10432
|
+
readonly utxoId: u64;
|
|
10433
|
+
readonly newSatoshis: Compact<u64>;
|
|
10434
|
+
} & Struct;
|
|
10435
|
+
readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'Ratchet' | 'AdminModifyMinimumLockedSats' | 'RequestOrphanedUtxoRelease' | 'CosignOrphanedUtxoRelease' | 'RegisterFeeCoupon' | 'InitializeFor' | 'IncreaseSecuritization';
|
|
10322
10436
|
}
|
|
10323
10437
|
/** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (209) */
|
|
10324
10438
|
interface ArgonPrimitivesBitcoinCompressedBitcoinPubkey extends U8aFixed {
|
|
@@ -10919,19 +11033,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
10919
11033
|
readonly asCreateErc6160Asset: {
|
|
10920
11034
|
readonly asset: PalletTokenGatewayAssetRegistration;
|
|
10921
11035
|
} & Struct;
|
|
10922
|
-
readonly isUpdateErc6160Asset: boolean;
|
|
10923
|
-
readonly asUpdateErc6160Asset: {
|
|
10924
|
-
readonly asset: TokenGatewayPrimitivesGatewayAssetUpdate;
|
|
10925
|
-
} & Struct;
|
|
10926
11036
|
readonly isUpdateAssetPrecision: boolean;
|
|
10927
11037
|
readonly asUpdateAssetPrecision: {
|
|
10928
11038
|
readonly update: PalletTokenGatewayPrecisionUpdate;
|
|
10929
11039
|
} & Struct;
|
|
10930
|
-
readonly
|
|
10931
|
-
readonly asRegisterAssetLocally: {
|
|
10932
|
-
readonly asset: PalletTokenGatewayAssetRegistration;
|
|
10933
|
-
} & Struct;
|
|
10934
|
-
readonly type: 'Teleport' | 'SetTokenGatewayAddresses' | 'CreateErc6160Asset' | 'UpdateErc6160Asset' | 'UpdateAssetPrecision' | 'RegisterAssetLocally';
|
|
11040
|
+
readonly type: 'Teleport' | 'SetTokenGatewayAddresses' | 'CreateErc6160Asset' | 'UpdateAssetPrecision';
|
|
10935
11041
|
}
|
|
10936
11042
|
/** @name PalletTokenGatewayTeleportParams (304) */
|
|
10937
11043
|
interface PalletTokenGatewayTeleportParams extends Struct {
|
|
@@ -10959,38 +11065,21 @@ declare module '@polkadot/types/lookup' {
|
|
|
10959
11065
|
readonly chains: Vec<IsmpHostStateMachine>;
|
|
10960
11066
|
readonly minimumBalance: Option<u128>;
|
|
10961
11067
|
}
|
|
10962
|
-
/** @name
|
|
10963
|
-
interface TokenGatewayPrimitivesGatewayAssetUpdate extends Struct {
|
|
10964
|
-
readonly assetId: H256;
|
|
10965
|
-
readonly addChains: Vec<IsmpHostStateMachine>;
|
|
10966
|
-
readonly removeChains: Vec<IsmpHostStateMachine>;
|
|
10967
|
-
readonly newAdmins: Vec<ITuple<[IsmpHostStateMachine, H160]>>;
|
|
10968
|
-
}
|
|
10969
|
-
/** @name PalletTokenGatewayPrecisionUpdate (320) */
|
|
11068
|
+
/** @name PalletTokenGatewayPrecisionUpdate (314) */
|
|
10970
11069
|
interface PalletTokenGatewayPrecisionUpdate extends Struct {
|
|
10971
11070
|
readonly assetId: u32;
|
|
10972
11071
|
readonly precisions: BTreeMap<IsmpHostStateMachine, u8>;
|
|
10973
11072
|
}
|
|
10974
|
-
/** @name PalletTreasuryCall (
|
|
11073
|
+
/** @name PalletTreasuryCall (315) */
|
|
10975
11074
|
interface PalletTreasuryCall extends Enum {
|
|
10976
|
-
readonly
|
|
10977
|
-
readonly
|
|
11075
|
+
readonly isSetAllocation: boolean;
|
|
11076
|
+
readonly asSetAllocation: {
|
|
10978
11077
|
readonly vaultId: u32;
|
|
10979
11078
|
readonly amount: u128;
|
|
10980
11079
|
} & Struct;
|
|
10981
|
-
readonly
|
|
10982
|
-
readonly asUnbondArgons: {
|
|
10983
|
-
readonly vaultId: u32;
|
|
10984
|
-
readonly frameId: u64;
|
|
10985
|
-
} & Struct;
|
|
10986
|
-
readonly isVaultOperatorPrebond: boolean;
|
|
10987
|
-
readonly asVaultOperatorPrebond: {
|
|
10988
|
-
readonly vaultId: u32;
|
|
10989
|
-
readonly maxAmountPerFrame: u128;
|
|
10990
|
-
} & Struct;
|
|
10991
|
-
readonly type: 'BondArgons' | 'UnbondArgons' | 'VaultOperatorPrebond';
|
|
11080
|
+
readonly type: 'SetAllocation';
|
|
10992
11081
|
}
|
|
10993
|
-
/** @name PalletMultisigError (
|
|
11082
|
+
/** @name PalletMultisigError (317) */
|
|
10994
11083
|
interface PalletMultisigError extends Enum {
|
|
10995
11084
|
readonly isMinimumThreshold: boolean;
|
|
10996
11085
|
readonly isAlreadyApproved: boolean;
|
|
@@ -11008,19 +11097,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
11008
11097
|
readonly isAlreadyStored: boolean;
|
|
11009
11098
|
readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored';
|
|
11010
11099
|
}
|
|
11011
|
-
/** @name PalletProxyProxyDefinition (
|
|
11100
|
+
/** @name PalletProxyProxyDefinition (320) */
|
|
11012
11101
|
interface PalletProxyProxyDefinition extends Struct {
|
|
11013
11102
|
readonly delegate: AccountId32;
|
|
11014
11103
|
readonly proxyType: ArgonRuntimeProxyType;
|
|
11015
11104
|
readonly delay: u32;
|
|
11016
11105
|
}
|
|
11017
|
-
/** @name PalletProxyAnnouncement (
|
|
11106
|
+
/** @name PalletProxyAnnouncement (324) */
|
|
11018
11107
|
interface PalletProxyAnnouncement extends Struct {
|
|
11019
11108
|
readonly real: AccountId32;
|
|
11020
11109
|
readonly callHash: H256;
|
|
11021
11110
|
readonly height: u32;
|
|
11022
11111
|
}
|
|
11023
|
-
/** @name PalletProxyError (
|
|
11112
|
+
/** @name PalletProxyError (326) */
|
|
11024
11113
|
interface PalletProxyError extends Enum {
|
|
11025
11114
|
readonly isTooMany: boolean;
|
|
11026
11115
|
readonly isNotFound: boolean;
|
|
@@ -11032,47 +11121,48 @@ declare module '@polkadot/types/lookup' {
|
|
|
11032
11121
|
readonly isNoSelfProxy: boolean;
|
|
11033
11122
|
readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy';
|
|
11034
11123
|
}
|
|
11035
|
-
/** @name ArgonPrimitivesTickTicker (
|
|
11124
|
+
/** @name ArgonPrimitivesTickTicker (327) */
|
|
11036
11125
|
interface ArgonPrimitivesTickTicker extends Struct {
|
|
11037
11126
|
readonly tickDurationMillis: Compact<u64>;
|
|
11038
11127
|
readonly channelHoldExpirationTicks: Compact<u64>;
|
|
11039
11128
|
}
|
|
11040
|
-
/** @name PalletTicksError (
|
|
11129
|
+
/** @name PalletTicksError (329) */
|
|
11041
11130
|
type PalletTicksError = Null;
|
|
11042
|
-
/** @name PalletMiningSlotMinerNonceScoring (
|
|
11131
|
+
/** @name PalletMiningSlotMinerNonceScoring (332) */
|
|
11043
11132
|
interface PalletMiningSlotMinerNonceScoring extends Struct {
|
|
11044
11133
|
readonly nonce: U256;
|
|
11045
11134
|
readonly lastWinBlock: Option<u32>;
|
|
11046
11135
|
readonly blocksWonInFrame: u16;
|
|
11047
11136
|
readonly frameStartBlocksWonSurplus: i16;
|
|
11048
11137
|
}
|
|
11049
|
-
/** @name ArgonPrimitivesBlockSealMiningBidStats (
|
|
11138
|
+
/** @name ArgonPrimitivesBlockSealMiningBidStats (345) */
|
|
11050
11139
|
interface ArgonPrimitivesBlockSealMiningBidStats extends Struct {
|
|
11051
11140
|
readonly bidsCount: u32;
|
|
11052
11141
|
readonly bidAmountMin: u128;
|
|
11053
11142
|
readonly bidAmountMax: u128;
|
|
11054
11143
|
readonly bidAmountSum: u128;
|
|
11055
11144
|
}
|
|
11056
|
-
/** @name ArgonPrimitivesBlockSealMiningSlotConfig (
|
|
11145
|
+
/** @name ArgonPrimitivesBlockSealMiningSlotConfig (349) */
|
|
11057
11146
|
interface ArgonPrimitivesBlockSealMiningSlotConfig extends Struct {
|
|
11058
11147
|
readonly ticksBeforeBidEndForVrfClose: Compact<u64>;
|
|
11059
11148
|
readonly ticksBetweenSlots: Compact<u64>;
|
|
11060
11149
|
readonly slotBiddingStartAfterTicks: Compact<u64>;
|
|
11061
11150
|
}
|
|
11062
|
-
/** @name PalletMiningSlotError (
|
|
11151
|
+
/** @name PalletMiningSlotError (360) */
|
|
11063
11152
|
interface PalletMiningSlotError extends Enum {
|
|
11064
11153
|
readonly isSlotNotTakingBids: boolean;
|
|
11065
11154
|
readonly isTooManyBlockRegistrants: boolean;
|
|
11066
11155
|
readonly isInsufficientOwnershipTokens: boolean;
|
|
11067
11156
|
readonly isBidTooLow: boolean;
|
|
11068
11157
|
readonly isCannotRegisterOverlappingSessions: boolean;
|
|
11158
|
+
readonly isCannotChangeFundingAccount: boolean;
|
|
11069
11159
|
readonly isInsufficientFunds: boolean;
|
|
11070
11160
|
readonly isBidCannotBeReduced: boolean;
|
|
11071
11161
|
readonly isInvalidBidAmount: boolean;
|
|
11072
11162
|
readonly isUnrecoverableHold: boolean;
|
|
11073
|
-
readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'InsufficientFunds' | 'BidCannotBeReduced' | 'InvalidBidAmount' | 'UnrecoverableHold';
|
|
11163
|
+
readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'CannotChangeFundingAccount' | 'InsufficientFunds' | 'BidCannotBeReduced' | 'InvalidBidAmount' | 'UnrecoverableHold';
|
|
11074
11164
|
}
|
|
11075
|
-
/** @name ArgonPrimitivesBitcoinUtxoValue (
|
|
11165
|
+
/** @name ArgonPrimitivesBitcoinUtxoValue (361) */
|
|
11076
11166
|
interface ArgonPrimitivesBitcoinUtxoValue extends Struct {
|
|
11077
11167
|
readonly utxoId: u64;
|
|
11078
11168
|
readonly scriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
@@ -11080,7 +11170,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11080
11170
|
readonly submittedAtHeight: Compact<u64>;
|
|
11081
11171
|
readonly watchForSpentUntilHeight: Compact<u64>;
|
|
11082
11172
|
}
|
|
11083
|
-
/** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (
|
|
11173
|
+
/** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (362) */
|
|
11084
11174
|
interface ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey extends Enum {
|
|
11085
11175
|
readonly isP2wsh: boolean;
|
|
11086
11176
|
readonly asP2wsh: {
|
|
@@ -11088,7 +11178,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11088
11178
|
} & Struct;
|
|
11089
11179
|
readonly type: 'P2wsh';
|
|
11090
11180
|
}
|
|
11091
|
-
/** @name ArgonPrimitivesBitcoinBitcoinNetwork (
|
|
11181
|
+
/** @name ArgonPrimitivesBitcoinBitcoinNetwork (371) */
|
|
11092
11182
|
interface ArgonPrimitivesBitcoinBitcoinNetwork extends Enum {
|
|
11093
11183
|
readonly isBitcoin: boolean;
|
|
11094
11184
|
readonly isTestnet: boolean;
|
|
@@ -11096,7 +11186,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11096
11186
|
readonly isRegtest: boolean;
|
|
11097
11187
|
readonly type: 'Bitcoin' | 'Testnet' | 'Signet' | 'Regtest';
|
|
11098
11188
|
}
|
|
11099
|
-
/** @name PalletBitcoinUtxosError (
|
|
11189
|
+
/** @name PalletBitcoinUtxosError (372) */
|
|
11100
11190
|
interface PalletBitcoinUtxosError extends Enum {
|
|
11101
11191
|
readonly isNoPermissions: boolean;
|
|
11102
11192
|
readonly isNoBitcoinConfirmedBlock: boolean;
|
|
@@ -11110,22 +11200,26 @@ declare module '@polkadot/types/lookup' {
|
|
|
11110
11200
|
readonly isMaxUtxosExceeded: boolean;
|
|
11111
11201
|
readonly isInvalidBitcoinScript: boolean;
|
|
11112
11202
|
readonly isDuplicateUtxoId: boolean;
|
|
11113
|
-
readonly
|
|
11203
|
+
readonly isMaxCandidateUtxosExceeded: boolean;
|
|
11204
|
+
readonly isUtxoNotCandidate: boolean;
|
|
11205
|
+
readonly isLockAlreadyFunded: boolean;
|
|
11206
|
+
readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript' | 'DuplicateUtxoId' | 'MaxCandidateUtxosExceeded' | 'UtxoNotCandidate' | 'LockAlreadyFunded';
|
|
11114
11207
|
}
|
|
11115
|
-
/** @name ArgonPrimitivesVault (
|
|
11208
|
+
/** @name ArgonPrimitivesVault (373) */
|
|
11116
11209
|
interface ArgonPrimitivesVault extends Struct {
|
|
11117
11210
|
readonly operatorAccountId: AccountId32;
|
|
11118
11211
|
readonly securitization: Compact<u128>;
|
|
11119
|
-
readonly
|
|
11120
|
-
readonly
|
|
11121
|
-
readonly
|
|
11212
|
+
readonly securitizationTarget: Compact<u128>;
|
|
11213
|
+
readonly securitizationLocked: Compact<u128>;
|
|
11214
|
+
readonly securitizationPendingActivation: Compact<u128>;
|
|
11215
|
+
readonly securitizationReleaseSchedule: BTreeMap<u64, u128>;
|
|
11122
11216
|
readonly securitizationRatio: Compact<u128>;
|
|
11123
11217
|
readonly isClosed: bool;
|
|
11124
11218
|
readonly terms: ArgonPrimitivesVaultVaultTerms;
|
|
11125
11219
|
readonly pendingTerms: Option<ITuple<[u64, ArgonPrimitivesVaultVaultTerms]>>;
|
|
11126
11220
|
readonly openedTick: Compact<u64>;
|
|
11127
11221
|
}
|
|
11128
|
-
/** @name ArgonPrimitivesBitcoinBitcoinXPub (
|
|
11222
|
+
/** @name ArgonPrimitivesBitcoinBitcoinXPub (381) */
|
|
11129
11223
|
interface ArgonPrimitivesBitcoinBitcoinXPub extends Struct {
|
|
11130
11224
|
readonly publicKey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
11131
11225
|
readonly depth: Compact<u8>;
|
|
@@ -11134,13 +11228,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11134
11228
|
readonly chainCode: U8aFixed;
|
|
11135
11229
|
readonly network: ArgonPrimitivesBitcoinNetworkKind;
|
|
11136
11230
|
}
|
|
11137
|
-
/** @name ArgonPrimitivesBitcoinNetworkKind (
|
|
11231
|
+
/** @name ArgonPrimitivesBitcoinNetworkKind (383) */
|
|
11138
11232
|
interface ArgonPrimitivesBitcoinNetworkKind extends Enum {
|
|
11139
11233
|
readonly isMain: boolean;
|
|
11140
11234
|
readonly isTest: boolean;
|
|
11141
11235
|
readonly type: 'Main' | 'Test';
|
|
11142
11236
|
}
|
|
11143
|
-
/** @name PalletVaultsVaultFrameRevenue (
|
|
11237
|
+
/** @name PalletVaultsVaultFrameRevenue (392) */
|
|
11144
11238
|
interface PalletVaultsVaultFrameRevenue extends Struct {
|
|
11145
11239
|
readonly frameId: Compact<u64>;
|
|
11146
11240
|
readonly bitcoinLockFeeRevenue: Compact<u128>;
|
|
@@ -11159,7 +11253,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11159
11253
|
readonly treasuryExternalCapital: Compact<u128>;
|
|
11160
11254
|
readonly uncollectedRevenue: Compact<u128>;
|
|
11161
11255
|
}
|
|
11162
|
-
/** @name PalletVaultsError (
|
|
11256
|
+
/** @name PalletVaultsError (394) */
|
|
11163
11257
|
interface PalletVaultsError extends Enum {
|
|
11164
11258
|
readonly isNoMoreVaultIds: boolean;
|
|
11165
11259
|
readonly isInsufficientFunds: boolean;
|
|
@@ -11188,17 +11282,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
11188
11282
|
readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
|
|
11189
11283
|
readonly isFundingChangeAlreadyScheduled: boolean;
|
|
11190
11284
|
readonly isPendingCosignsBeforeCollect: boolean;
|
|
11285
|
+
readonly isPendingOrphanedUtxoCosignsBeforeCollect: boolean;
|
|
11191
11286
|
readonly isAccountAlreadyHasVault: boolean;
|
|
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';
|
|
11287
|
+
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' | 'PendingOrphanedUtxoCosignsBeforeCollect' | 'AccountAlreadyHasVault';
|
|
11193
11288
|
}
|
|
11194
|
-
/** @name PalletBitcoinLocksLockedBitcoin (
|
|
11289
|
+
/** @name PalletBitcoinLocksLockedBitcoin (395) */
|
|
11195
11290
|
interface PalletBitcoinLocksLockedBitcoin extends Struct {
|
|
11196
11291
|
readonly vaultId: Compact<u32>;
|
|
11197
|
-
readonly liquidityPromised: u128
|
|
11198
|
-
readonly lockedMarketRate: u128
|
|
11292
|
+
readonly liquidityPromised: Compact<u128>;
|
|
11293
|
+
readonly lockedMarketRate: Compact<u128>;
|
|
11199
11294
|
readonly ownerAccount: AccountId32;
|
|
11200
|
-
readonly
|
|
11201
|
-
readonly
|
|
11295
|
+
readonly securitizationRatio: u128;
|
|
11296
|
+
readonly securityFees: Compact<u128>;
|
|
11297
|
+
readonly couponPaidFees: Compact<u128>;
|
|
11202
11298
|
readonly satoshis: Compact<u64>;
|
|
11203
11299
|
readonly utxoSatoshis: Option<u64>;
|
|
11204
11300
|
readonly vaultPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
@@ -11209,11 +11305,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
11209
11305
|
readonly openClaimHeight: Compact<u64>;
|
|
11210
11306
|
readonly createdAtHeight: Compact<u64>;
|
|
11211
11307
|
readonly utxoScriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
11212
|
-
readonly
|
|
11308
|
+
readonly isFunded: bool;
|
|
11213
11309
|
readonly fundHoldExtensions: BTreeMap<u64, u128>;
|
|
11214
|
-
readonly createdAtArgonBlock: u32
|
|
11310
|
+
readonly createdAtArgonBlock: Compact<u32>;
|
|
11215
11311
|
}
|
|
11216
|
-
/** @name PalletBitcoinLocksLockReleaseRequest (
|
|
11312
|
+
/** @name PalletBitcoinLocksLockReleaseRequest (397) */
|
|
11217
11313
|
interface PalletBitcoinLocksLockReleaseRequest extends Struct {
|
|
11218
11314
|
readonly utxoId: Compact<u64>;
|
|
11219
11315
|
readonly vaultId: Compact<u32>;
|
|
@@ -11222,7 +11318,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11222
11318
|
readonly toScriptPubkey: Bytes;
|
|
11223
11319
|
readonly redemptionPrice: Compact<u128>;
|
|
11224
11320
|
}
|
|
11225
|
-
/** @name PalletBitcoinLocksOrphanedUtxo (
|
|
11321
|
+
/** @name PalletBitcoinLocksOrphanedUtxo (399) */
|
|
11226
11322
|
interface PalletBitcoinLocksOrphanedUtxo extends Struct {
|
|
11227
11323
|
readonly utxoId: Compact<u64>;
|
|
11228
11324
|
readonly vaultId: Compact<u32>;
|
|
@@ -11230,20 +11326,20 @@ declare module '@polkadot/types/lookup' {
|
|
|
11230
11326
|
readonly recordedArgonBlockNumber: Compact<u32>;
|
|
11231
11327
|
readonly cosignRequest: Option<PalletBitcoinLocksOrphanedUtxoCosignRequest>;
|
|
11232
11328
|
}
|
|
11233
|
-
/** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (
|
|
11329
|
+
/** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (401) */
|
|
11234
11330
|
interface PalletBitcoinLocksOrphanedUtxoCosignRequest extends Struct {
|
|
11235
11331
|
readonly bitcoinNetworkFee: u64;
|
|
11236
11332
|
readonly toScriptPubkey: Bytes;
|
|
11237
11333
|
readonly createdAtArgonBlockNumber: u32;
|
|
11238
11334
|
}
|
|
11239
|
-
/** @name PalletBitcoinLocksFeeCoupon (
|
|
11335
|
+
/** @name PalletBitcoinLocksFeeCoupon (408) */
|
|
11240
11336
|
interface PalletBitcoinLocksFeeCoupon extends Struct {
|
|
11241
11337
|
readonly vaultId: Compact<u32>;
|
|
11242
11338
|
readonly maxSatoshis: Compact<u64>;
|
|
11243
11339
|
readonly expirationFrame: Compact<u64>;
|
|
11244
11340
|
readonly maxFeePlusTip: Option<u128>;
|
|
11245
11341
|
}
|
|
11246
|
-
/** @name PalletBitcoinLocksError (
|
|
11342
|
+
/** @name PalletBitcoinLocksError (410) */
|
|
11247
11343
|
interface PalletBitcoinLocksError extends Enum {
|
|
11248
11344
|
readonly isInsufficientFunds: boolean;
|
|
11249
11345
|
readonly isInsufficientVaultFunds: boolean;
|
|
@@ -11274,7 +11370,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11274
11370
|
readonly isExpirationAtBlockOverflow: boolean;
|
|
11275
11371
|
readonly isNoRatchetingAvailable: boolean;
|
|
11276
11372
|
readonly isLockInProcessOfRelease: boolean;
|
|
11277
|
-
readonly
|
|
11373
|
+
readonly isLockPendingFunding: boolean;
|
|
11278
11374
|
readonly isOverflowError: boolean;
|
|
11279
11375
|
readonly isIneligibleMicrogonRateRequested: boolean;
|
|
11280
11376
|
readonly isInvalidFeeCoupon: boolean;
|
|
@@ -11282,9 +11378,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11282
11378
|
readonly isMaxFeeCouponSatoshisExceeded: boolean;
|
|
11283
11379
|
readonly isFeeCouponAlreadyExists: boolean;
|
|
11284
11380
|
readonly isFeeCouponRequired: boolean;
|
|
11285
|
-
readonly
|
|
11381
|
+
readonly isOrphanedUtxoFundingConflict: boolean;
|
|
11382
|
+
readonly isOrphanedUtxoReleaseRequested: boolean;
|
|
11383
|
+
readonly isFundingUtxoCannotBeReleased: boolean;
|
|
11384
|
+
readonly isMaxOrphanedUtxoReleaseRequestsExceeded: boolean;
|
|
11385
|
+
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' | 'LockPendingFunding' | 'OverflowError' | 'IneligibleMicrogonRateRequested' | 'InvalidFeeCoupon' | 'InvalidFeeCouponProof' | 'MaxFeeCouponSatoshisExceeded' | 'FeeCouponAlreadyExists' | 'FeeCouponRequired' | 'OrphanedUtxoFundingConflict' | 'OrphanedUtxoReleaseRequested' | 'FundingUtxoCannotBeReleased' | 'MaxOrphanedUtxoReleaseRequestsExceeded';
|
|
11286
11386
|
}
|
|
11287
|
-
/** @name ArgonPrimitivesVaultVaultError (
|
|
11387
|
+
/** @name ArgonPrimitivesVaultVaultError (411) */
|
|
11288
11388
|
interface ArgonPrimitivesVaultVaultError extends Enum {
|
|
11289
11389
|
readonly isVaultClosed: boolean;
|
|
11290
11390
|
readonly isAccountWouldBeBelowMinimum: boolean;
|
|
@@ -11300,7 +11400,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11300
11400
|
readonly isVaultNotYetActive: boolean;
|
|
11301
11401
|
readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive';
|
|
11302
11402
|
}
|
|
11303
|
-
/** @name PalletNotariesError (
|
|
11403
|
+
/** @name PalletNotariesError (423) */
|
|
11304
11404
|
interface PalletNotariesError extends Enum {
|
|
11305
11405
|
readonly isProposalNotFound: boolean;
|
|
11306
11406
|
readonly isMaxNotariesExceeded: boolean;
|
|
@@ -11313,7 +11413,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11313
11413
|
readonly isInvalidNotary: boolean;
|
|
11314
11414
|
readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
|
|
11315
11415
|
}
|
|
11316
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (
|
|
11416
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (427) */
|
|
11317
11417
|
interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
|
|
11318
11418
|
readonly notebookNumber: Compact<u32>;
|
|
11319
11419
|
readonly tick: Compact<u64>;
|
|
@@ -11321,7 +11421,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11321
11421
|
readonly secretHash: H256;
|
|
11322
11422
|
readonly parentSecret: Option<H256>;
|
|
11323
11423
|
}
|
|
11324
|
-
/** @name PalletNotebookError (
|
|
11424
|
+
/** @name PalletNotebookError (430) */
|
|
11325
11425
|
interface PalletNotebookError extends Enum {
|
|
11326
11426
|
readonly isDuplicateNotebookNumber: boolean;
|
|
11327
11427
|
readonly isMissingNotebookNumber: boolean;
|
|
@@ -11340,17 +11440,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
11340
11440
|
readonly isInvalidNotebookSubmissionTick: boolean;
|
|
11341
11441
|
readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
|
|
11342
11442
|
}
|
|
11343
|
-
/** @name PalletChainTransferQueuedTransferOut (
|
|
11443
|
+
/** @name PalletChainTransferQueuedTransferOut (431) */
|
|
11344
11444
|
interface PalletChainTransferQueuedTransferOut extends Struct {
|
|
11345
11445
|
readonly accountId: AccountId32;
|
|
11346
11446
|
readonly amount: u128;
|
|
11347
11447
|
readonly expirationTick: u64;
|
|
11348
11448
|
readonly notaryId: u32;
|
|
11349
11449
|
}
|
|
11350
|
-
/** @name FrameSupportPalletId (
|
|
11450
|
+
/** @name FrameSupportPalletId (437) */
|
|
11351
11451
|
interface FrameSupportPalletId extends U8aFixed {
|
|
11352
11452
|
}
|
|
11353
|
-
/** @name PalletChainTransferError (
|
|
11453
|
+
/** @name PalletChainTransferError (438) */
|
|
11354
11454
|
interface PalletChainTransferError extends Enum {
|
|
11355
11455
|
readonly isMaxBlockTransfersExceeded: boolean;
|
|
11356
11456
|
readonly isInsufficientFunds: boolean;
|
|
@@ -11360,7 +11460,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11360
11460
|
readonly isInvalidNotaryUsedForTransfer: boolean;
|
|
11361
11461
|
readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer';
|
|
11362
11462
|
}
|
|
11363
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (
|
|
11463
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (442) */
|
|
11364
11464
|
interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
|
|
11365
11465
|
readonly notaryId: Compact<u32>;
|
|
11366
11466
|
readonly notebookNumber: Compact<u32>;
|
|
@@ -11368,12 +11468,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
11368
11468
|
readonly blockVotesCount: Compact<u32>;
|
|
11369
11469
|
readonly blockVotingPower: Compact<u128>;
|
|
11370
11470
|
}
|
|
11371
|
-
/** @name PalletBlockSealSpecError (
|
|
11471
|
+
/** @name PalletBlockSealSpecError (447) */
|
|
11372
11472
|
interface PalletBlockSealSpecError extends Enum {
|
|
11373
11473
|
readonly isMaxNotebooksAtTickExceeded: boolean;
|
|
11374
11474
|
readonly type: 'MaxNotebooksAtTickExceeded';
|
|
11375
11475
|
}
|
|
11376
|
-
/** @name PalletDomainsError (
|
|
11476
|
+
/** @name PalletDomainsError (449) */
|
|
11377
11477
|
interface PalletDomainsError extends Enum {
|
|
11378
11478
|
readonly isDomainNotRegistered: boolean;
|
|
11379
11479
|
readonly isNotDomainOwner: boolean;
|
|
@@ -11382,13 +11482,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11382
11482
|
readonly isAccountDecodingError: boolean;
|
|
11383
11483
|
readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
|
|
11384
11484
|
}
|
|
11385
|
-
/** @name PalletPriceIndexCpiMeasurementBucket (
|
|
11485
|
+
/** @name PalletPriceIndexCpiMeasurementBucket (451) */
|
|
11386
11486
|
interface PalletPriceIndexCpiMeasurementBucket extends Struct {
|
|
11387
11487
|
readonly tickRange: ITuple<[u64, u64]>;
|
|
11388
11488
|
readonly totalCpi: i128;
|
|
11389
11489
|
readonly measurementsCount: u32;
|
|
11390
11490
|
}
|
|
11391
|
-
/** @name PalletPriceIndexError (
|
|
11491
|
+
/** @name PalletPriceIndexError (453) */
|
|
11392
11492
|
interface PalletPriceIndexError extends Enum {
|
|
11393
11493
|
readonly isNotAuthorizedOperator: boolean;
|
|
11394
11494
|
readonly isMissingValue: boolean;
|
|
@@ -11396,7 +11496,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11396
11496
|
readonly isMaxPriceChangePerTickExceeded: boolean;
|
|
11397
11497
|
readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded';
|
|
11398
11498
|
}
|
|
11399
|
-
/** @name PalletGrandpaStoredState (
|
|
11499
|
+
/** @name PalletGrandpaStoredState (454) */
|
|
11400
11500
|
interface PalletGrandpaStoredState extends Enum {
|
|
11401
11501
|
readonly isLive: boolean;
|
|
11402
11502
|
readonly isPendingPause: boolean;
|
|
@@ -11412,14 +11512,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
11412
11512
|
} & Struct;
|
|
11413
11513
|
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
|
11414
11514
|
}
|
|
11415
|
-
/** @name PalletGrandpaStoredPendingChange (
|
|
11515
|
+
/** @name PalletGrandpaStoredPendingChange (455) */
|
|
11416
11516
|
interface PalletGrandpaStoredPendingChange extends Struct {
|
|
11417
11517
|
readonly scheduledAt: u32;
|
|
11418
11518
|
readonly delay: u32;
|
|
11419
11519
|
readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
11420
11520
|
readonly forced: Option<u32>;
|
|
11421
11521
|
}
|
|
11422
|
-
/** @name PalletGrandpaError (
|
|
11522
|
+
/** @name PalletGrandpaError (457) */
|
|
11423
11523
|
interface PalletGrandpaError extends Enum {
|
|
11424
11524
|
readonly isPauseFailed: boolean;
|
|
11425
11525
|
readonly isResumeFailed: boolean;
|
|
@@ -11430,13 +11530,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11430
11530
|
readonly isDuplicateOffenceReport: boolean;
|
|
11431
11531
|
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
|
11432
11532
|
}
|
|
11433
|
-
/** @name ArgonPrimitivesProvidersBlockSealerInfo (
|
|
11533
|
+
/** @name ArgonPrimitivesProvidersBlockSealerInfo (458) */
|
|
11434
11534
|
interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
|
|
11435
11535
|
readonly blockAuthorAccountId: AccountId32;
|
|
11436
11536
|
readonly blockVoteRewardsAccount: Option<AccountId32>;
|
|
11437
11537
|
readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
|
|
11438
11538
|
}
|
|
11439
|
-
/** @name PalletBlockSealError (
|
|
11539
|
+
/** @name PalletBlockSealError (460) */
|
|
11440
11540
|
interface PalletBlockSealError extends Enum {
|
|
11441
11541
|
readonly isInvalidVoteSealStrength: boolean;
|
|
11442
11542
|
readonly isInvalidSubmitter: boolean;
|
|
@@ -11461,43 +11561,43 @@ declare module '@polkadot/types/lookup' {
|
|
|
11461
11561
|
readonly isDuplicateVoteBlockAtTick: boolean;
|
|
11462
11562
|
readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick' | 'InvalidMinerNonceScore' | 'DuplicateVoteBlockAtTick';
|
|
11463
11563
|
}
|
|
11464
|
-
/** @name PalletBlockRewardsError (
|
|
11564
|
+
/** @name PalletBlockRewardsError (464) */
|
|
11465
11565
|
type PalletBlockRewardsError = Null;
|
|
11466
|
-
/** @name PalletMintMintAction (
|
|
11566
|
+
/** @name PalletMintMintAction (470) */
|
|
11467
11567
|
interface PalletMintMintAction extends Struct {
|
|
11468
11568
|
readonly argonBurned: u128;
|
|
11469
11569
|
readonly argonMinted: u128;
|
|
11470
11570
|
readonly bitcoinMinted: u128;
|
|
11471
11571
|
}
|
|
11472
|
-
/** @name PalletMintError (
|
|
11572
|
+
/** @name PalletMintError (471) */
|
|
11473
11573
|
interface PalletMintError extends Enum {
|
|
11474
11574
|
readonly isTooManyPendingMints: boolean;
|
|
11475
11575
|
readonly type: 'TooManyPendingMints';
|
|
11476
11576
|
}
|
|
11477
|
-
/** @name PalletBalancesBalanceLock (
|
|
11577
|
+
/** @name PalletBalancesBalanceLock (473) */
|
|
11478
11578
|
interface PalletBalancesBalanceLock extends Struct {
|
|
11479
11579
|
readonly id: U8aFixed;
|
|
11480
11580
|
readonly amount: u128;
|
|
11481
11581
|
readonly reasons: PalletBalancesReasons;
|
|
11482
11582
|
}
|
|
11483
|
-
/** @name PalletBalancesReasons (
|
|
11583
|
+
/** @name PalletBalancesReasons (474) */
|
|
11484
11584
|
interface PalletBalancesReasons extends Enum {
|
|
11485
11585
|
readonly isFee: boolean;
|
|
11486
11586
|
readonly isMisc: boolean;
|
|
11487
11587
|
readonly isAll: boolean;
|
|
11488
11588
|
readonly type: 'Fee' | 'Misc' | 'All';
|
|
11489
11589
|
}
|
|
11490
|
-
/** @name PalletBalancesReserveData (
|
|
11590
|
+
/** @name PalletBalancesReserveData (477) */
|
|
11491
11591
|
interface PalletBalancesReserveData extends Struct {
|
|
11492
11592
|
readonly id: U8aFixed;
|
|
11493
11593
|
readonly amount: u128;
|
|
11494
11594
|
}
|
|
11495
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (
|
|
11595
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (480) */
|
|
11496
11596
|
interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
|
|
11497
11597
|
readonly id: ArgonRuntimeRuntimeHoldReason;
|
|
11498
11598
|
readonly amount: u128;
|
|
11499
11599
|
}
|
|
11500
|
-
/** @name ArgonRuntimeRuntimeHoldReason (
|
|
11600
|
+
/** @name ArgonRuntimeRuntimeHoldReason (481) */
|
|
11501
11601
|
interface ArgonRuntimeRuntimeHoldReason extends Enum {
|
|
11502
11602
|
readonly isMiningSlot: boolean;
|
|
11503
11603
|
readonly asMiningSlot: PalletMiningSlotHoldReason;
|
|
@@ -11511,50 +11611,50 @@ declare module '@polkadot/types/lookup' {
|
|
|
11511
11611
|
readonly asTreasury: PalletTreasuryHoldReason;
|
|
11512
11612
|
readonly type: 'MiningSlot' | 'Vaults' | 'BitcoinLocks' | 'BlockRewards' | 'Treasury';
|
|
11513
11613
|
}
|
|
11514
|
-
/** @name PalletMiningSlotHoldReason (
|
|
11614
|
+
/** @name PalletMiningSlotHoldReason (482) */
|
|
11515
11615
|
interface PalletMiningSlotHoldReason extends Enum {
|
|
11516
11616
|
readonly isRegisterAsMiner: boolean;
|
|
11517
11617
|
readonly type: 'RegisterAsMiner';
|
|
11518
11618
|
}
|
|
11519
|
-
/** @name PalletVaultsHoldReason (
|
|
11619
|
+
/** @name PalletVaultsHoldReason (483) */
|
|
11520
11620
|
interface PalletVaultsHoldReason extends Enum {
|
|
11521
11621
|
readonly isEnterVault: boolean;
|
|
11522
11622
|
readonly isObligationFee: boolean;
|
|
11523
11623
|
readonly isPendingCollect: boolean;
|
|
11524
11624
|
readonly type: 'EnterVault' | 'ObligationFee' | 'PendingCollect';
|
|
11525
11625
|
}
|
|
11526
|
-
/** @name PalletBitcoinLocksHoldReason (
|
|
11626
|
+
/** @name PalletBitcoinLocksHoldReason (484) */
|
|
11527
11627
|
interface PalletBitcoinLocksHoldReason extends Enum {
|
|
11528
11628
|
readonly isReleaseBitcoinLock: boolean;
|
|
11529
11629
|
readonly type: 'ReleaseBitcoinLock';
|
|
11530
11630
|
}
|
|
11531
|
-
/** @name PalletBlockRewardsHoldReason (
|
|
11631
|
+
/** @name PalletBlockRewardsHoldReason (485) */
|
|
11532
11632
|
interface PalletBlockRewardsHoldReason extends Enum {
|
|
11533
11633
|
readonly isMaturationPeriod: boolean;
|
|
11534
11634
|
readonly type: 'MaturationPeriod';
|
|
11535
11635
|
}
|
|
11536
|
-
/** @name PalletTreasuryHoldReason (
|
|
11636
|
+
/** @name PalletTreasuryHoldReason (486) */
|
|
11537
11637
|
interface PalletTreasuryHoldReason extends Enum {
|
|
11538
11638
|
readonly isContributedToTreasury: boolean;
|
|
11539
11639
|
readonly type: 'ContributedToTreasury';
|
|
11540
11640
|
}
|
|
11541
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (
|
|
11641
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (489) */
|
|
11542
11642
|
interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
|
|
11543
11643
|
readonly id: ArgonRuntimeRuntimeFreezeReason;
|
|
11544
11644
|
readonly amount: u128;
|
|
11545
11645
|
}
|
|
11546
|
-
/** @name ArgonRuntimeRuntimeFreezeReason (
|
|
11646
|
+
/** @name ArgonRuntimeRuntimeFreezeReason (490) */
|
|
11547
11647
|
interface ArgonRuntimeRuntimeFreezeReason extends Enum {
|
|
11548
11648
|
readonly isBlockRewards: boolean;
|
|
11549
11649
|
readonly asBlockRewards: PalletBlockRewardsFreezeReason;
|
|
11550
11650
|
readonly type: 'BlockRewards';
|
|
11551
11651
|
}
|
|
11552
|
-
/** @name PalletBlockRewardsFreezeReason (
|
|
11652
|
+
/** @name PalletBlockRewardsFreezeReason (491) */
|
|
11553
11653
|
interface PalletBlockRewardsFreezeReason extends Enum {
|
|
11554
11654
|
readonly isMaturationPeriod: boolean;
|
|
11555
11655
|
readonly type: 'MaturationPeriod';
|
|
11556
11656
|
}
|
|
11557
|
-
/** @name PalletBalancesError (
|
|
11657
|
+
/** @name PalletBalancesError (493) */
|
|
11558
11658
|
interface PalletBalancesError extends Enum {
|
|
11559
11659
|
readonly isVestingBalance: boolean;
|
|
11560
11660
|
readonly isLiquidityRestrictions: boolean;
|
|
@@ -11570,7 +11670,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11570
11670
|
readonly isDeltaZero: boolean;
|
|
11571
11671
|
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
|
|
11572
11672
|
}
|
|
11573
|
-
/** @name PalletTxPauseError (
|
|
11673
|
+
/** @name PalletTxPauseError (495) */
|
|
11574
11674
|
interface PalletTxPauseError extends Enum {
|
|
11575
11675
|
readonly isIsPaused: boolean;
|
|
11576
11676
|
readonly isIsUnpaused: boolean;
|
|
@@ -11578,23 +11678,23 @@ declare module '@polkadot/types/lookup' {
|
|
|
11578
11678
|
readonly isNotFound: boolean;
|
|
11579
11679
|
readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
|
|
11580
11680
|
}
|
|
11581
|
-
/** @name PalletTransactionPaymentReleases (
|
|
11681
|
+
/** @name PalletTransactionPaymentReleases (496) */
|
|
11582
11682
|
interface PalletTransactionPaymentReleases extends Enum {
|
|
11583
11683
|
readonly isV1Ancient: boolean;
|
|
11584
11684
|
readonly isV2: boolean;
|
|
11585
11685
|
readonly type: 'V1Ancient' | 'V2';
|
|
11586
11686
|
}
|
|
11587
|
-
/** @name PalletUtilityError (
|
|
11687
|
+
/** @name PalletUtilityError (497) */
|
|
11588
11688
|
interface PalletUtilityError extends Enum {
|
|
11589
11689
|
readonly isTooManyCalls: boolean;
|
|
11590
11690
|
readonly type: 'TooManyCalls';
|
|
11591
11691
|
}
|
|
11592
|
-
/** @name PalletSudoError (
|
|
11692
|
+
/** @name PalletSudoError (498) */
|
|
11593
11693
|
interface PalletSudoError extends Enum {
|
|
11594
11694
|
readonly isRequireSudo: boolean;
|
|
11595
11695
|
readonly type: 'RequireSudo';
|
|
11596
11696
|
}
|
|
11597
|
-
/** @name PalletIsmpError (
|
|
11697
|
+
/** @name PalletIsmpError (499) */
|
|
11598
11698
|
interface PalletIsmpError extends Enum {
|
|
11599
11699
|
readonly isInvalidMessage: boolean;
|
|
11600
11700
|
readonly isMessageNotFound: boolean;
|
|
@@ -11604,9 +11704,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
11604
11704
|
readonly isErrorChargingFee: boolean;
|
|
11605
11705
|
readonly type: 'InvalidMessage' | 'MessageNotFound' | 'ConsensusClientCreationFailed' | 'UnbondingPeriodUpdateFailed' | 'ChallengePeriodUpdateFailed' | 'ErrorChargingFee';
|
|
11606
11706
|
}
|
|
11607
|
-
/** @name PalletHyperbridgeError (
|
|
11707
|
+
/** @name PalletHyperbridgeError (500) */
|
|
11608
11708
|
type PalletHyperbridgeError = Null;
|
|
11609
|
-
/** @name PalletTokenGatewayError (
|
|
11709
|
+
/** @name PalletTokenGatewayError (502) */
|
|
11610
11710
|
interface PalletTokenGatewayError extends Enum {
|
|
11611
11711
|
readonly isUnregisteredAsset: boolean;
|
|
11612
11712
|
readonly isAssetTeleportError: boolean;
|
|
@@ -11619,36 +11719,28 @@ declare module '@polkadot/types/lookup' {
|
|
|
11619
11719
|
readonly isNotAssetOwner: boolean;
|
|
11620
11720
|
readonly type: 'UnregisteredAsset' | 'AssetTeleportError' | 'CoprocessorNotConfigured' | 'DispatchError' | 'AssetCreationError' | 'AssetDecimalsNotFound' | 'NotInitialized' | 'UnknownAsset' | 'NotAssetOwner';
|
|
11621
11721
|
}
|
|
11622
|
-
/** @name PalletTreasuryTreasuryPool (
|
|
11722
|
+
/** @name PalletTreasuryTreasuryPool (504) */
|
|
11623
11723
|
interface PalletTreasuryTreasuryPool extends Struct {
|
|
11624
|
-
readonly bondHolders: Vec<ITuple<[AccountId32,
|
|
11625
|
-
readonly doNotRenew: Vec<AccountId32>;
|
|
11626
|
-
readonly isRolledOver: bool;
|
|
11724
|
+
readonly bondHolders: Vec<ITuple<[AccountId32, u128]>>;
|
|
11627
11725
|
readonly distributedEarnings: Option<u128>;
|
|
11628
11726
|
readonly vaultSharingPercent: Compact<Permill>;
|
|
11629
11727
|
}
|
|
11630
|
-
/** @name
|
|
11631
|
-
interface
|
|
11632
|
-
readonly
|
|
11633
|
-
readonly
|
|
11634
|
-
readonly
|
|
11728
|
+
/** @name PalletTreasuryFunderState (511) */
|
|
11729
|
+
interface PalletTreasuryFunderState extends Struct {
|
|
11730
|
+
readonly targetPrincipal: Compact<u128>;
|
|
11731
|
+
readonly bondedPrincipal: Compact<u128>;
|
|
11732
|
+
readonly heldPrincipal: Compact<u128>;
|
|
11733
|
+
readonly lifetimeCompoundedEarnings: Compact<u128>;
|
|
11734
|
+
readonly lifetimePrincipalDeployed: Compact<u128>;
|
|
11735
|
+
readonly lifetimePrincipalLastBasisFrame: Compact<u64>;
|
|
11635
11736
|
}
|
|
11636
|
-
/** @name PalletTreasuryTreasuryCapital (
|
|
11737
|
+
/** @name PalletTreasuryTreasuryCapital (513) */
|
|
11637
11738
|
interface PalletTreasuryTreasuryCapital extends Struct {
|
|
11638
11739
|
readonly vaultId: Compact<u32>;
|
|
11639
11740
|
readonly activatedCapital: Compact<u128>;
|
|
11640
11741
|
readonly frameId: Compact<u64>;
|
|
11641
11742
|
}
|
|
11642
|
-
/** @name
|
|
11643
|
-
interface PalletTreasuryPrebondedArgons extends Struct {
|
|
11644
|
-
readonly vaultId: Compact<u32>;
|
|
11645
|
-
readonly accountId: AccountId32;
|
|
11646
|
-
readonly amountUnbonded: Compact<u128>;
|
|
11647
|
-
readonly startingFrameId: Compact<u64>;
|
|
11648
|
-
readonly bondedByStartOffset: Vec<u128>;
|
|
11649
|
-
readonly maxAmountPerFrame: Compact<u128>;
|
|
11650
|
-
}
|
|
11651
|
-
/** @name PalletTreasuryError (513) */
|
|
11743
|
+
/** @name PalletTreasuryError (517) */
|
|
11652
11744
|
interface PalletTreasuryError extends Enum {
|
|
11653
11745
|
readonly isContributionTooLow: boolean;
|
|
11654
11746
|
readonly isVaultNotAcceptingMiningBonds: boolean;
|
|
@@ -11661,45 +11753,44 @@ declare module '@polkadot/types/lookup' {
|
|
|
11661
11753
|
readonly isMaxVaultsExceeded: boolean;
|
|
11662
11754
|
readonly isAlreadyRenewed: boolean;
|
|
11663
11755
|
readonly isNotAVaultOperator: boolean;
|
|
11664
|
-
readonly
|
|
11665
|
-
readonly type: 'ContributionTooLow' | 'VaultNotAcceptingMiningBonds' | 'BelowMinimum' | 'NotAFundContributor' | 'InternalError' | 'CouldNotFindTreasury' | 'MaxContributorsExceeded' | 'ActivatedSecuritizationExceeded' | 'MaxVaultsExceeded' | 'AlreadyRenewed' | 'NotAVaultOperator' | 'MaxAmountBelowMinimum';
|
|
11756
|
+
readonly type: 'ContributionTooLow' | 'VaultNotAcceptingMiningBonds' | 'BelowMinimum' | 'NotAFundContributor' | 'InternalError' | 'CouldNotFindTreasury' | 'MaxContributorsExceeded' | 'ActivatedSecuritizationExceeded' | 'MaxVaultsExceeded' | 'AlreadyRenewed' | 'NotAVaultOperator';
|
|
11666
11757
|
}
|
|
11667
|
-
/** @name PalletFeeControlError (
|
|
11758
|
+
/** @name PalletFeeControlError (518) */
|
|
11668
11759
|
interface PalletFeeControlError extends Enum {
|
|
11669
11760
|
readonly isSponsoredFeeTooHigh: boolean;
|
|
11670
11761
|
readonly type: 'SponsoredFeeTooHigh';
|
|
11671
11762
|
}
|
|
11672
|
-
/** @name FrameSystemExtensionsAuthorizeCall (
|
|
11763
|
+
/** @name FrameSystemExtensionsAuthorizeCall (521) */
|
|
11673
11764
|
type FrameSystemExtensionsAuthorizeCall = Null;
|
|
11674
|
-
/** @name FrameSystemExtensionsCheckNonZeroSender (
|
|
11765
|
+
/** @name FrameSystemExtensionsCheckNonZeroSender (522) */
|
|
11675
11766
|
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
|
11676
|
-
/** @name FrameSystemExtensionsCheckSpecVersion (
|
|
11767
|
+
/** @name FrameSystemExtensionsCheckSpecVersion (523) */
|
|
11677
11768
|
type FrameSystemExtensionsCheckSpecVersion = Null;
|
|
11678
|
-
/** @name FrameSystemExtensionsCheckTxVersion (
|
|
11769
|
+
/** @name FrameSystemExtensionsCheckTxVersion (524) */
|
|
11679
11770
|
type FrameSystemExtensionsCheckTxVersion = Null;
|
|
11680
|
-
/** @name FrameSystemExtensionsCheckGenesis (
|
|
11771
|
+
/** @name FrameSystemExtensionsCheckGenesis (525) */
|
|
11681
11772
|
type FrameSystemExtensionsCheckGenesis = Null;
|
|
11682
|
-
/** @name FrameSystemExtensionsCheckNonce (
|
|
11773
|
+
/** @name FrameSystemExtensionsCheckNonce (528) */
|
|
11683
11774
|
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
|
|
11684
11775
|
}
|
|
11685
|
-
/** @name FrameSystemExtensionsCheckWeight (
|
|
11776
|
+
/** @name FrameSystemExtensionsCheckWeight (529) */
|
|
11686
11777
|
type FrameSystemExtensionsCheckWeight = Null;
|
|
11687
|
-
/** @name PalletTransactionPaymentChargeTransactionPayment (
|
|
11778
|
+
/** @name PalletTransactionPaymentChargeTransactionPayment (530) */
|
|
11688
11779
|
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
|
|
11689
11780
|
}
|
|
11690
|
-
/** @name FrameMetadataHashExtensionCheckMetadataHash (
|
|
11781
|
+
/** @name FrameMetadataHashExtensionCheckMetadataHash (531) */
|
|
11691
11782
|
interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
|
|
11692
11783
|
readonly mode: FrameMetadataHashExtensionMode;
|
|
11693
11784
|
}
|
|
11694
|
-
/** @name FrameMetadataHashExtensionMode (
|
|
11785
|
+
/** @name FrameMetadataHashExtensionMode (532) */
|
|
11695
11786
|
interface FrameMetadataHashExtensionMode extends Enum {
|
|
11696
11787
|
readonly isDisabled: boolean;
|
|
11697
11788
|
readonly isEnabled: boolean;
|
|
11698
11789
|
readonly type: 'Disabled' | 'Enabled';
|
|
11699
11790
|
}
|
|
11700
|
-
/** @name FrameSystemExtensionsWeightReclaim (
|
|
11791
|
+
/** @name FrameSystemExtensionsWeightReclaim (533) */
|
|
11701
11792
|
type FrameSystemExtensionsWeightReclaim = Null;
|
|
11702
|
-
/** @name ArgonRuntimeRuntime (
|
|
11793
|
+
/** @name ArgonRuntimeRuntime (535) */
|
|
11703
11794
|
type ArgonRuntimeRuntime = Null;
|
|
11704
11795
|
}
|
|
11705
11796
|
|
|
@@ -11860,12 +11951,27 @@ declare function getFrameInfoFromHeader(header: Header): {
|
|
|
11860
11951
|
frameRewardTicksRemaining: number;
|
|
11861
11952
|
} | undefined;
|
|
11862
11953
|
|
|
11954
|
+
interface ArgonPrimitivesVaultV144 extends Struct {
|
|
11955
|
+
readonly operatorAccountId: AccountId32;
|
|
11956
|
+
readonly securitization: Compact<u128>;
|
|
11957
|
+
readonly argonsLocked: Compact<u128>;
|
|
11958
|
+
readonly argonsPendingActivation: Compact<u128>;
|
|
11959
|
+
readonly argonsScheduledForRelease: BTreeMap<u64, u128>;
|
|
11960
|
+
readonly securitizationRatio: Compact<u128>;
|
|
11961
|
+
readonly isClosed: bool;
|
|
11962
|
+
readonly terms: ArgonPrimitivesVaultVaultTerms;
|
|
11963
|
+
readonly pendingTerms: Option<ITuple<[u64, ArgonPrimitivesVaultVaultTerms]>>;
|
|
11964
|
+
readonly openedTick: Compact<u64>;
|
|
11965
|
+
}
|
|
11863
11966
|
declare class Vault {
|
|
11864
11967
|
tickDuration: number;
|
|
11865
11968
|
securitization: bigint;
|
|
11866
|
-
|
|
11867
|
-
|
|
11868
|
-
|
|
11969
|
+
securitizationLocked: bigint;
|
|
11970
|
+
securitizationPendingActivation: bigint;
|
|
11971
|
+
/**
|
|
11972
|
+
* Map of bitcoin height to amount of securitization released at that height
|
|
11973
|
+
*/
|
|
11974
|
+
securitizationReleaseSchedule: Map<number, bigint>;
|
|
11869
11975
|
terms: ITerms;
|
|
11870
11976
|
operatorAccountId: string;
|
|
11871
11977
|
isClosed: boolean;
|
|
@@ -11876,15 +11982,14 @@ declare class Vault {
|
|
|
11876
11982
|
openedTick: number;
|
|
11877
11983
|
securitizationRatio: number;
|
|
11878
11984
|
constructor(id: number, vault: ArgonPrimitivesVault, tickDuration: number);
|
|
11879
|
-
load(vault: ArgonPrimitivesVault): void;
|
|
11985
|
+
load(vault: ArgonPrimitivesVault | ArgonPrimitivesVaultV144): void;
|
|
11880
11986
|
availableBitcoinSpace(): bigint;
|
|
11987
|
+
availableSecuritization(): bigint;
|
|
11881
11988
|
getRelockCapacity(): bigint;
|
|
11882
11989
|
securitizationRatioBN(): BigNumber;
|
|
11883
|
-
recoverySecuritization(): bigint;
|
|
11884
|
-
minimumSecuritization(): bigint;
|
|
11885
11990
|
activatedSecuritization(): bigint;
|
|
11886
11991
|
/**
|
|
11887
|
-
* Returns the amount of
|
|
11992
|
+
* Returns the amount of securitization available to match per treasury pool
|
|
11888
11993
|
*/
|
|
11889
11994
|
activatedSecuritizationPerSlot(): bigint;
|
|
11890
11995
|
calculateBitcoinFee(amount: bigint): bigint;
|
|
@@ -11931,6 +12036,10 @@ declare class PriceIndex {
|
|
|
11931
12036
|
|
|
11932
12037
|
declare const SATS_PER_BTC = 100000000n;
|
|
11933
12038
|
type IQueryableClient = ArgonClient | ApiDecoration<'promise'>;
|
|
12039
|
+
type UtxoRefLike = ArgonPrimitivesBitcoinUtxoRef | {
|
|
12040
|
+
txid: string | Uint8Array;
|
|
12041
|
+
outputIndex: number;
|
|
12042
|
+
};
|
|
11934
12043
|
declare class BitcoinLock implements IBitcoinLock {
|
|
11935
12044
|
utxoId: number;
|
|
11936
12045
|
p2wshScriptHashHex: string;
|
|
@@ -11952,7 +12061,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
11952
12061
|
vaultClaimHeight: number;
|
|
11953
12062
|
openClaimHeight: number;
|
|
11954
12063
|
createdAtHeight: number;
|
|
11955
|
-
|
|
12064
|
+
isFunded: boolean;
|
|
11956
12065
|
createdAtArgonBlock: number;
|
|
11957
12066
|
fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
|
|
11958
12067
|
constructor(data: IBitcoinLock);
|
|
@@ -11964,7 +12073,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
11964
12073
|
* @return.vout - The output index of the UTXO in the transaction.
|
|
11965
12074
|
* @return.bitcoinTxid - The Bitcoin transaction ID of the UTXO formatted in little endian
|
|
11966
12075
|
*/
|
|
11967
|
-
|
|
12076
|
+
getFundingUtxoRef(client: IQueryableClient): Promise<{
|
|
11968
12077
|
txid: string;
|
|
11969
12078
|
vout: number;
|
|
11970
12079
|
bitcoinTxid: string;
|
|
@@ -12028,6 +12137,27 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
12028
12137
|
vaultSignature: Uint8Array;
|
|
12029
12138
|
argonKeyring: KeyringPair;
|
|
12030
12139
|
} & ISubmittableOptions): Promise<TxResult>;
|
|
12140
|
+
static createIncreaseSecuritizationTx(args: {
|
|
12141
|
+
utxoId: number;
|
|
12142
|
+
client: ArgonClient;
|
|
12143
|
+
newSatoshis: bigint;
|
|
12144
|
+
} & ISubmittableOptions): Promise<SubmittableExtrinsic$1 | undefined>;
|
|
12145
|
+
static createFundWithUtxoCandidateTx(args: {
|
|
12146
|
+
client: ArgonClient;
|
|
12147
|
+
utxoId: number;
|
|
12148
|
+
utxoRef: UtxoRefLike;
|
|
12149
|
+
} & ISubmittableOptions): Promise<SubmittableExtrinsic$1 | undefined>;
|
|
12150
|
+
static createOrphanedUtxoReleaseRequestTx(args: {
|
|
12151
|
+
client: ArgonClient;
|
|
12152
|
+
utxoRef: UtxoRefLike;
|
|
12153
|
+
releaseRequest: IReleaseRequest;
|
|
12154
|
+
} & ISubmittableOptions): Promise<SubmittableExtrinsic$1 | undefined>;
|
|
12155
|
+
static createOrphanedUtxoCosignTx(args: {
|
|
12156
|
+
client: ArgonClient;
|
|
12157
|
+
orphanOwner: string;
|
|
12158
|
+
utxoRef: UtxoRefLike;
|
|
12159
|
+
vaultSignature: Uint8Array;
|
|
12160
|
+
} & ISubmittableOptions): Promise<SubmittableExtrinsic$1 | undefined>;
|
|
12031
12161
|
static get(client: IQueryableClient, utxoId: number): Promise<BitcoinLock | undefined>;
|
|
12032
12162
|
static blockHashAtHeight(client: ArgonClient, atHeight: number): Promise<string | undefined>;
|
|
12033
12163
|
static areFeeCouponsSupported(client: ArgonClient): boolean;
|
|
@@ -12056,6 +12186,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
12056
12186
|
tip?: bigint;
|
|
12057
12187
|
initializeForAccountId?: string;
|
|
12058
12188
|
couponProofKeypair?: KeyringPair;
|
|
12189
|
+
skipCouponProofCheck?: boolean;
|
|
12059
12190
|
}): Promise<{
|
|
12060
12191
|
tx: SubmittableExtrinsic$1;
|
|
12061
12192
|
securityFee: bigint;
|
|
@@ -12123,7 +12254,7 @@ interface IBitcoinLock {
|
|
|
12123
12254
|
vaultClaimHeight: number;
|
|
12124
12255
|
openClaimHeight: number;
|
|
12125
12256
|
createdAtHeight: number;
|
|
12126
|
-
|
|
12257
|
+
isFunded: boolean;
|
|
12127
12258
|
createdAtArgonBlock: number;
|
|
12128
12259
|
fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
|
|
12129
12260
|
}
|