@argonprotocol/mainchain 1.3.25 → 1.3.27-dev.04f75baf

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.
@@ -5,7 +5,7 @@ import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
5
5
  export { Codec, ITuple } from '@polkadot/types-codec/types';
6
6
  import { Percent, AccountId32, H256, MultiAddress, Call, Hash, SignedBlock, BlockNumber, Header, StorageData, AccountId, Justification, H160, H64, KeyValue, Index, Block, ExtrinsicInclusionMode, KeyTypeId, Balance, Weight, AccountId20, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, BalanceOf, BlockNumberFor, BlockNumberOf, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H2048, H32, H512, HeaderPartial, I32F32, IndicesLookupSource, Justifications, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletsOrigin, PalletVersion, Pays, Perbill, Permill, Perquintill, PerU16, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
7
7
  export { AccountId, AccountId32, Block, Call, H160, H256, Header, MultiAddress, Permill, SignedBlock } from '@polkadot/types/interfaces/runtime';
8
- import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, FrameSupportTokensMiscBalanceStatus, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletChainTransferQueuedTransferOut, ArgonPrimitivesDigestsDigestset, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, IsmpConsensusStateCommitment, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletPriceIndexPriceIndex, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, PalletTreasuryTreasuryCapital, PalletTreasuryPrebondedArgons, PalletTreasuryTreasuryPool, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, SpConsensusGrandpaEquivocationProof, SpCoreVoid, IsmpMessagingCreateConsensusState, PalletIsmpUtilsFundMessageParams, IsmpMessagingMessage, PalletIsmpUtilsUpdateConsensusState, IsmpGrandpaAddStateMachine, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletTokenGatewayAssetRegistration, PalletTokenGatewayTeleportParams, PalletTokenGatewayPrecisionUpdate, TokenGatewayPrimitivesGatewayAssetUpdate, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
8
+ import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, FrameSupportTokensMiscBalanceStatus, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksFeeCoupon, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletChainTransferQueuedTransferOut, ArgonPrimitivesDigestsDigestset, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, IsmpConsensusStateCommitment, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletPriceIndexPriceIndex, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, PalletTreasuryTreasuryCapital, 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';
@@ -88,13 +88,11 @@ export { Keyring } from '@polkadot/api';
88
88
  export { decodeAddress, encodeAddress, isAddress, mnemonicGenerate } from '@polkadot/util-crypto';
89
89
  export { InterfaceTypes as interfaces } from '@polkadot/types/types/registry';
90
90
  export { KeypairType } from '@polkadot/util-crypto/types';
91
- import * as _polkadot_api_types from '@polkadot/api/types';
92
91
  import { SignerOptions, ApiDecoration, ApiOptions } from '@polkadot/api/types';
93
92
  export { ApiDecoration } from '@polkadot/api/types';
94
93
  import { SubmittableExtrinsic as SubmittableExtrinsic$1 } from '@polkadot/api/promise/types';
95
94
  export { SubmittableExtrinsic } from '@polkadot/api/promise/types';
96
95
  import { DispatchError as DispatchError$1 } from '@polkadot/types/interfaces';
97
- import * as _polkadot_types_types_extrinsic from '@polkadot/types/types/extrinsic';
98
96
  import { ISubmittableResult } from '@polkadot/types/types/extrinsic';
99
97
  export { IExtrinsic, ISignerPayload, ISubmittableResult, Signer, SignerResult } from '@polkadot/types/types/extrinsic';
100
98
  import { GenericEvent } from '@polkadot/types/generic';
@@ -152,6 +150,10 @@ declare module '@polkadot/api-base/types/consts' {
152
150
  * Number of frames a vault has to counter-sign a bitcoin release
153
151
  **/
154
152
  lockReleaseCosignDeadlineFrames: u64 & AugmentedConst<ApiType>;
153
+ /**
154
+ * Max allowed tick-age of microgon-per-btc prices
155
+ **/
156
+ maxBtcPriceTickAge: u32 & AugmentedConst<ApiType>;
155
157
  /**
156
158
  * Pallet storage requires bounds, so we have to set a maximum number that can expire in a
157
159
  * single block
@@ -161,18 +163,32 @@ declare module '@polkadot/api-base/types/consts' {
161
163
  * Maximum releasing utxos at a time
162
164
  **/
163
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>;
164
171
  /**
165
172
  * Number of ticks per bitcoin block
166
173
  **/
167
174
  ticksPerBitcoinBlock: u64 & AugmentedConst<ApiType>;
168
175
  };
169
176
  bitcoinUtxos: {
177
+ /**
178
+ * Maximum number of candidate UTXOs stored per lock
179
+ **/
180
+ maxCandidateUtxosPerLock: u32 & AugmentedConst<ApiType>;
181
+ /**
182
+ * Maximum number of satoshi difference allowed from expected to consider a UTXO as
183
+ * "confirmed"
184
+ **/
185
+ maximumSatoshiThresholdFromExpected: u64 & AugmentedConst<ApiType>;
170
186
  /**
171
187
  * Maximum bitcoin blocks to watch a Utxo for confirmation before canceling
172
188
  **/
173
189
  maxPendingConfirmationBlocks: u64 & AugmentedConst<ApiType>;
174
190
  /**
175
- * The maximum number of UTXOs that can be tracked in a block and/or expiring at same block
191
+ * The maximum number of UTXOs that can be watched in a block and/or expiring at same block
176
192
  **/
177
193
  maxPendingConfirmationUtxos: u32 & AugmentedConst<ApiType>;
178
194
  };
@@ -650,20 +666,56 @@ declare module '@polkadot/api-base/types/errors' {
650
666
  * This bitcoin cosign script couldn't be decoded for release
651
667
  **/
652
668
  BitcoinUnableToBeDecodedForRelease: AugmentedError<ApiType>;
669
+ /**
670
+ * The Bitcoin Unspect Transaction Output (UTXO) was not found
671
+ **/
653
672
  BitcoinUtxoNotFound: AugmentedError<ApiType>;
654
673
  /**
655
674
  * An overflow occurred recording a lock expiration
656
675
  **/
657
676
  ExpirationAtBlockOverflow: AugmentedError<ApiType>;
677
+ /**
678
+ * The fee coupon already exists
679
+ **/
680
+ FeeCouponAlreadyExists: AugmentedError<ApiType>;
681
+ /**
682
+ * Initializing a lock for another account requires a fee coupon
683
+ **/
684
+ FeeCouponRequired: AugmentedError<ApiType>;
685
+ /**
686
+ * Cannot request an orphaned release for the funding UTXO
687
+ **/
688
+ FundingUtxoCannotBeReleased: AugmentedError<ApiType>;
689
+ /**
690
+ * An error occurred in the vault module
691
+ **/
658
692
  GenericVaultError: AugmentedError<ApiType>;
693
+ /**
694
+ * The expected amount of funds to return from hold was not available
695
+ **/
659
696
  HoldUnexpectedlyModified: AugmentedError<ApiType>;
697
+ /**
698
+ * An ineligible microgon rate per btc was requested
699
+ **/
700
+ IneligibleMicrogonRateRequested: AugmentedError<ApiType>;
660
701
  InsufficientFunds: AugmentedError<ApiType>;
702
+ /**
703
+ * The minimum number of satoshis was not met
704
+ **/
661
705
  InsufficientSatoshisLocked: AugmentedError<ApiType>;
662
706
  InsufficientVaultFunds: AugmentedError<ApiType>;
663
707
  /**
664
708
  * The bitcoin script to lock this bitcoin has errors
665
709
  **/
666
710
  InvalidBitcoinScript: AugmentedError<ApiType>;
711
+ /**
712
+ * The provided fee coupon is already used or invalid
713
+ **/
714
+ InvalidFeeCoupon: AugmentedError<ApiType>;
715
+ /**
716
+ * The provided fee coupon proof is invalid
717
+ **/
718
+ InvalidFeeCouponProof: AugmentedError<ApiType>;
667
719
  /**
668
720
  * Funding would result in an overflow of the balance type
669
721
  **/
@@ -672,8 +724,30 @@ declare module '@polkadot/api-base/types/errors' {
672
724
  * A lock in process of release cannot be ratcheted
673
725
  **/
674
726
  LockInProcessOfRelease: AugmentedError<ApiType>;
727
+ /**
728
+ * The Bitcoin Lock record was not found
729
+ **/
675
730
  LockNotFound: AugmentedError<ApiType>;
731
+ /**
732
+ * The lock funding has not been confirmed on bitcoin
733
+ **/
734
+ LockPendingFunding: AugmentedError<ApiType>;
735
+ /**
736
+ * This bitcoin lock exceeded the maximum allowed number of satoshis for the provided fee
737
+ * coupon
738
+ **/
739
+ MaxFeeCouponSatoshisExceeded: AugmentedError<ApiType>;
740
+ /**
741
+ * Too many orphaned utxo release requests for a lock
742
+ **/
743
+ MaxOrphanedUtxoReleaseRequestsExceeded: AugmentedError<ApiType>;
744
+ /**
745
+ * The price provider has no bitcoin prices available. This is a temporary error
746
+ **/
676
747
  NoBitcoinPricesAvailable: AugmentedError<ApiType>;
748
+ /**
749
+ * The user does not have permissions to perform this action
750
+ **/
677
751
  NoPermissions: AugmentedError<ApiType>;
678
752
  /**
679
753
  * Nothing to ratchet
@@ -683,6 +757,14 @@ declare module '@polkadot/api-base/types/errors' {
683
757
  * No Vault public keys are available
684
758
  **/
685
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>;
686
768
  /**
687
769
  * An overflow or underflow occurred while calculating the redemption price
688
770
  **/
@@ -695,12 +777,17 @@ declare module '@polkadot/api-base/types/errors' {
695
777
  * Unable to generate a new vault public key
696
778
  **/
697
779
  UnableToGenerateVaultBitcoinPubkey: AugmentedError<ApiType>;
780
+ /**
781
+ * The hold on funds could not be recovered
782
+ **/
698
783
  UnrecoverableHold: AugmentedError<ApiType>;
699
784
  /**
700
- * The lock is not verified
785
+ * This vault is closed
701
786
  **/
702
- UnverifiedLock: AugmentedError<ApiType>;
703
787
  VaultClosed: AugmentedError<ApiType>;
788
+ /**
789
+ * The vault was not found
790
+ **/
704
791
  VaultNotFound: AugmentedError<ApiType>;
705
792
  /**
706
793
  * This vault is not yet active
@@ -729,7 +816,15 @@ declare module '@polkadot/api-base/types/errors' {
729
816
  **/
730
817
  InvalidBitcoinSyncHeight: AugmentedError<ApiType>;
731
818
  /**
732
- * Too many UTXOs are being tracked
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
733
828
  **/
734
829
  MaxUtxosExceeded: AugmentedError<ApiType>;
735
830
  /**
@@ -752,6 +847,10 @@ declare module '@polkadot/api-base/types/errors' {
752
847
  * ScriptPubKey is already being waited for
753
848
  **/
754
849
  ScriptPubkeyConflict: AugmentedError<ApiType>;
850
+ /**
851
+ * The UTXO reference does not map to a candidate entry
852
+ **/
853
+ UtxoNotCandidate: AugmentedError<ApiType>;
755
854
  /**
756
855
  * Locked Utxo Not Found
757
856
  **/
@@ -949,6 +1048,12 @@ declare module '@polkadot/api-base/types/errors' {
949
1048
  **/
950
1049
  NotDomainOwner: AugmentedError<ApiType>;
951
1050
  };
1051
+ feeControl: {
1052
+ /**
1053
+ * The requested tip + fee is higher than the maximum allowed by the sponsor
1054
+ **/
1055
+ SponsoredFeeTooHigh: AugmentedError<ApiType>;
1056
+ };
952
1057
  grandpa: {
953
1058
  /**
954
1059
  * Attempt to signal GRANDPA change with one already pending.
@@ -1017,6 +1122,10 @@ declare module '@polkadot/api-base/types/errors' {
1017
1122
  * The given bid isn't high enough to be in the cohort
1018
1123
  **/
1019
1124
  BidTooLow: AugmentedError<ApiType>;
1125
+ /**
1126
+ * Cannot re-register an account with a different funding account
1127
+ **/
1128
+ CannotChangeFundingAccount: AugmentedError<ApiType>;
1020
1129
  /**
1021
1130
  * An account can only have one active registration
1022
1131
  **/
@@ -1422,10 +1531,6 @@ declare module '@polkadot/api-base/types/errors' {
1422
1531
  * An internal error occurred (like an overflow)
1423
1532
  **/
1424
1533
  InternalError: AugmentedError<ApiType>;
1425
- /**
1426
- * The prebond amount cannot be reduced and this takes it below the previous allocation
1427
- **/
1428
- MaxAmountBelowMinimum: AugmentedError<ApiType>;
1429
1534
  /**
1430
1535
  * Max contributors for a fund exceeded
1431
1536
  **/
@@ -1528,6 +1633,10 @@ declare module '@polkadot/api-base/types/errors' {
1528
1633
  * A vault must clear out all pending cosigns before it can collect
1529
1634
  **/
1530
1635
  PendingCosignsBeforeCollect: AugmentedError<ApiType>;
1636
+ /**
1637
+ * A vault must clear out all pending orphan cosigns before it can collect
1638
+ **/
1639
+ PendingOrphanedUtxoCosignsBeforeCollect: AugmentedError<ApiType>;
1531
1640
  /**
1532
1641
  * The vault bitcoin xpubkey has already been used
1533
1642
  **/
@@ -1819,14 +1928,16 @@ declare module '@polkadot/api-base/types/events' {
1819
1928
  utxoId: u64,
1820
1929
  vaultId: u32,
1821
1930
  liquidityPromised: u128,
1822
- peggedPrice: u128,
1931
+ securitization: u128,
1932
+ lockedMarketRate: u128,
1823
1933
  accountId: AccountId32,
1824
1934
  securityFee: u128
1825
1935
  ], {
1826
1936
  utxoId: u64;
1827
1937
  vaultId: u32;
1828
1938
  liquidityPromised: u128;
1829
- peggedPrice: u128;
1939
+ securitization: u128;
1940
+ lockedMarketRate: u128;
1830
1941
  accountId: AccountId32;
1831
1942
  securityFee: u128;
1832
1943
  }>;
@@ -1834,18 +1945,18 @@ declare module '@polkadot/api-base/types/events' {
1834
1945
  utxoId: u64,
1835
1946
  vaultId: u32,
1836
1947
  liquidityPromised: u128,
1837
- originalPeggedPrice: u128,
1948
+ originalMarketRate: u128,
1838
1949
  securityFee: u128,
1839
- newPeggedPrice: u128,
1950
+ newLockedMarketRate: u128,
1840
1951
  amountBurned: u128,
1841
1952
  accountId: AccountId32
1842
1953
  ], {
1843
1954
  utxoId: u64;
1844
1955
  vaultId: u32;
1845
1956
  liquidityPromised: u128;
1846
- originalPeggedPrice: u128;
1957
+ originalMarketRate: u128;
1847
1958
  securityFee: u128;
1848
- newPeggedPrice: u128;
1959
+ newLockedMarketRate: u128;
1849
1960
  amountBurned: u128;
1850
1961
  accountId: AccountId32;
1851
1962
  }>;
@@ -1885,21 +1996,75 @@ declare module '@polkadot/api-base/types/events' {
1885
1996
  utxoId: u64;
1886
1997
  error: SpRuntimeDispatchError;
1887
1998
  }>;
1888
- };
1889
- bitcoinUtxos: {
1890
- UtxoExpiredError: AugmentedEvent<ApiType, [
1999
+ OrphanedUtxoCosigned: AugmentedEvent<ApiType, [
2000
+ utxoId: u64,
1891
2001
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
1892
- error: SpRuntimeDispatchError
2002
+ vaultId: u32,
2003
+ accountId: AccountId32,
2004
+ signature: Bytes
1893
2005
  ], {
2006
+ utxoId: u64;
1894
2007
  utxoRef: ArgonPrimitivesBitcoinUtxoRef;
1895
- error: SpRuntimeDispatchError;
2008
+ vaultId: u32;
2009
+ accountId: AccountId32;
2010
+ signature: Bytes;
1896
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
+ }>;
2056
+ };
2057
+ bitcoinUtxos: {
1897
2058
  UtxoRejected: AugmentedEvent<ApiType, [
1898
2059
  utxoId: u64,
1899
- rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason
2060
+ utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2061
+ rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason,
2062
+ satoshisReceived: u64
1900
2063
  ], {
1901
2064
  utxoId: u64;
2065
+ utxoRef: ArgonPrimitivesBitcoinUtxoRef;
1902
2066
  rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
2067
+ satoshisReceived: u64;
1903
2068
  }>;
1904
2069
  UtxoRejectedError: AugmentedEvent<ApiType, [
1905
2070
  utxoId: u64,
@@ -1925,8 +2090,12 @@ declare module '@polkadot/api-base/types/events' {
1925
2090
  UtxoUnwatched: AugmentedEvent<ApiType, [utxoId: u64], {
1926
2091
  utxoId: u64;
1927
2092
  }>;
1928
- UtxoVerified: AugmentedEvent<ApiType, [utxoId: u64], {
2093
+ UtxoVerified: AugmentedEvent<ApiType, [
2094
+ utxoId: u64,
2095
+ satoshisReceived: u64
2096
+ ], {
1929
2097
  utxoId: u64;
2098
+ satoshisReceived: u64;
1930
2099
  }>;
1931
2100
  UtxoVerifiedError: AugmentedEvent<ApiType, [
1932
2101
  utxoId: u64,
@@ -2137,7 +2306,19 @@ declare module '@polkadot/api-base/types/events' {
2137
2306
  zoneRecord: ArgonPrimitivesDomainZoneRecord;
2138
2307
  }>;
2139
2308
  };
2140
- feelessTransaction: {
2309
+ feeControl: {
2310
+ /**
2311
+ * A transaction fee was delegated
2312
+ **/
2313
+ FeeDelegated: AugmentedEvent<ApiType, [
2314
+ origin: ArgonRuntimeOriginCaller,
2315
+ from: AccountId32,
2316
+ to: AccountId32
2317
+ ], {
2318
+ origin: ArgonRuntimeOriginCaller;
2319
+ from: AccountId32;
2320
+ to: AccountId32;
2321
+ }>;
2141
2322
  /**
2142
2323
  * A transaction fee was skipped.
2143
2324
  **/
@@ -3146,16 +3327,18 @@ declare module '@polkadot/api-base/types/events' {
3146
3327
  accountId: AccountId32;
3147
3328
  }>;
3148
3329
  /**
3149
- * The vault operator pre-registered to bond argons for a vault
3330
+ * A funder has set their allocation for a vault
3150
3331
  **/
3151
- VaultOperatorPrebond: AugmentedEvent<ApiType, [
3332
+ VaultFunderAllocation: AugmentedEvent<ApiType, [
3152
3333
  vaultId: u32,
3153
3334
  accountId: AccountId32,
3154
- amountPerFrame: u128
3335
+ amount: u128,
3336
+ previousAmount: Option<u128>
3155
3337
  ], {
3156
3338
  vaultId: u32;
3157
3339
  accountId: AccountId32;
3158
- amountPerFrame: u128;
3340
+ amount: u128;
3341
+ previousAmount: Option<u128>;
3159
3342
  }>;
3160
3343
  };
3161
3344
  txPause: {
@@ -3240,22 +3423,24 @@ declare module '@polkadot/api-base/types/events' {
3240
3423
  FundsLocked: AugmentedEvent<ApiType, [
3241
3424
  vaultId: u32,
3242
3425
  locker: AccountId32,
3243
- amount: u128,
3426
+ liquidityPromised: u128,
3244
3427
  isRatchet: bool,
3245
- feeRevenue: u128
3428
+ feeRevenue: u128,
3429
+ didUseFeeCoupon: bool
3246
3430
  ], {
3247
3431
  vaultId: u32;
3248
3432
  locker: AccountId32;
3249
- amount: u128;
3433
+ liquidityPromised: u128;
3250
3434
  isRatchet: bool;
3251
3435
  feeRevenue: u128;
3436
+ didUseFeeCoupon: bool;
3252
3437
  }>;
3253
3438
  FundsReleased: AugmentedEvent<ApiType, [
3254
3439
  vaultId: u32,
3255
- amount: u128
3440
+ securitization: u128
3256
3441
  ], {
3257
3442
  vaultId: u32;
3258
- amount: u128;
3443
+ securitization: u128;
3259
3444
  }>;
3260
3445
  FundsReleasedError: AugmentedEvent<ApiType, [
3261
3446
  vaultId: u32,
@@ -3266,11 +3451,11 @@ declare module '@polkadot/api-base/types/events' {
3266
3451
  }>;
3267
3452
  FundsScheduledForRelease: AugmentedEvent<ApiType, [
3268
3453
  vaultId: u32,
3269
- amount: u128,
3454
+ securitization: u128,
3270
3455
  releaseHeight: u64
3271
3456
  ], {
3272
3457
  vaultId: u32;
3273
- amount: u128;
3458
+ securitization: u128;
3274
3459
  releaseHeight: u64;
3275
3460
  }>;
3276
3461
  LostBitcoinCompensated: AugmentedEvent<ApiType, [
@@ -3333,10 +3518,12 @@ declare module '@polkadot/api-base/types/events' {
3333
3518
  VaultModified: AugmentedEvent<ApiType, [
3334
3519
  vaultId: u32,
3335
3520
  securitization: u128,
3521
+ securitizationTarget: u128,
3336
3522
  securitizationRatio: u128
3337
3523
  ], {
3338
3524
  vaultId: u32;
3339
3525
  securitization: u128;
3526
+ securitizationTarget: u128;
3340
3527
  securitizationRatio: u128;
3341
3528
  }>;
3342
3529
  /**
@@ -3442,6 +3629,19 @@ declare module '@polkadot/api-base/types/storage' {
3442
3629
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
3443
3630
  };
3444
3631
  bitcoinLocks: {
3632
+ /**
3633
+ * Fee Coupons
3634
+ **/
3635
+ feeCouponsByPublic: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<PalletBitcoinLocksFeeCoupon>>, [
3636
+ U8aFixed
3637
+ ]>;
3638
+ /**
3639
+ * Fee Coupon Expirations
3640
+ **/
3641
+ feeCouponsExpiringByFrame: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<Null>>, [
3642
+ u64,
3643
+ U8aFixed
3644
+ ]>;
3445
3645
  /**
3446
3646
  * Utxos that have been requested to be cosigned for releasing
3447
3647
  **/
@@ -3461,6 +3661,9 @@ declare module '@polkadot/api-base/types/storage' {
3461
3661
  lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
3462
3662
  u64
3463
3663
  ]>;
3664
+ /**
3665
+ * Stores bitcoin locks that have requested to be released
3666
+ **/
3464
3667
  lockReleaseRequestsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockReleaseRequest>>, [
3465
3668
  u64
3466
3669
  ]>;
@@ -3470,11 +3673,32 @@ declare module '@polkadot/api-base/types/storage' {
3470
3673
  locksByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [
3471
3674
  u64
3472
3675
  ]>;
3676
+ /**
3677
+ * History of microgons per btc
3678
+ **/
3679
+ microgonPerBtcHistory: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, [
3680
+ ]>;
3473
3681
  /**
3474
3682
  * The minimum number of satoshis that can be locked
3475
3683
  **/
3476
3684
  minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
3477
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
+ ]>;
3692
+ /**
3693
+ * Mismatched utxos that were sent with invalid amounts to a locked bitcoin
3694
+ **/
3695
+ orphanedUtxosByAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: ArgonPrimitivesBitcoinUtxoRef | {
3696
+ txid?: any;
3697
+ outputIndex?: any;
3698
+ } | string | Uint8Array) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>, [
3699
+ AccountId32,
3700
+ ArgonPrimitivesBitcoinUtxoRef
3701
+ ]>;
3478
3702
  };
3479
3703
  bitcoinUtxos: {
3480
3704
  /**
@@ -3482,6 +3706,12 @@ declare module '@polkadot/api-base/types/storage' {
3482
3706
  **/
3483
3707
  bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, [
3484
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
+ ]>;
3485
3715
  /**
3486
3716
  * An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
3487
3717
  **/
@@ -3492,14 +3722,9 @@ declare module '@polkadot/api-base/types/storage' {
3492
3722
  **/
3493
3723
  inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
3494
3724
  /**
3495
- * Expiration date as a day since unix timestamp mapped to Bitcoin UTXOs
3496
- **/
3497
- lockedUtxoExpirationsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBitcoinUtxoRef>>, [
3498
- u64
3499
- ]>;
3500
- /**
3501
- * Locked Bitcoin UTXOs that have had ownership confirmed. If a Bitcoin UTXO is moved before
3502
- * the expiration block, the funds are burned and the UTXO is unlocked.
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.
3503
3728
  **/
3504
3729
  lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | {
3505
3730
  txid?: any;
@@ -3507,6 +3732,11 @@ declare module '@polkadot/api-base/types/storage' {
3507
3732
  } | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [
3508
3733
  ArgonPrimitivesBitcoinUtxoRef
3509
3734
  ]>;
3735
+ /**
3736
+ * Bitcoin locks that are pending full funding on the bitcoin network
3737
+ **/
3738
+ locksPendingFunding: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
3739
+ ]>;
3510
3740
  /**
3511
3741
  * Bitcoin Oracle Operator Account
3512
3742
  **/
@@ -3522,13 +3752,11 @@ declare module '@polkadot/api-base/types/storage' {
3522
3752
  * Stores if parent block had a confirmed bitcoin block
3523
3753
  **/
3524
3754
  tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
3525
- utxoIdToRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
3526
- u64
3527
- ]>;
3528
3755
  /**
3529
- * Bitcoin UTXOs that have been submitted for ownership confirmation
3756
+ * A mapping of utxo id to the confirmed utxo reference
3530
3757
  **/
3531
- utxosPendingConfirmation: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
3758
+ utxoIdToFundingUtxoRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
3759
+ u64
3532
3760
  ]>;
3533
3761
  };
3534
3762
  blockRewards: {
@@ -4328,21 +4556,22 @@ declare module '@polkadot/api-base/types/storage' {
4328
4556
  treasury: {
4329
4557
  /**
4330
4558
  * The treasury pool for the current frame. This correlates with the bids coming in for the
4331
- * current frame. Sorted with the biggest share last. (current frame)
4559
+ * current frame. Sorted with the biggest share first. (current frame)
4332
4560
  **/
4333
4561
  capitalActive: AugmentedQuery<ApiType, () => Observable<Vec<PalletTreasuryTreasuryCapital>>, [
4334
4562
  ]>;
4335
4563
  /**
4336
- * The treasury pool still raising capital. (current frame + 1)
4564
+ * Accounts that have a non-zero commitment for a vault. Bounded for predictable weights.
4337
4565
  **/
4338
- capitalRaising: AugmentedQuery<ApiType, () => Observable<Vec<PalletTreasuryTreasuryCapital>>, [
4566
+ fundersByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId32>>, [
4567
+ u32
4339
4568
  ]>;
4340
4569
  /**
4341
- * Any vaults that have been pre-registered for bonding argons. This is used by the vault
4342
- * 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).
4343
4571
  **/
4344
- prebondedByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryPrebondedArgons>>, [
4345
- u32
4572
+ funderStateByVaultAndAccount: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletTreasuryFunderState>>, [
4573
+ u32,
4574
+ AccountId32
4346
4575
  ]>;
4347
4576
  /**
4348
4577
  * The currently earning contributors for the current epoch's bond funds. Sorted by highest
@@ -4368,6 +4597,13 @@ declare module '@polkadot/api-base/types/storage' {
4368
4597
  u32
4369
4598
  ]>;
4370
4599
  nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
4600
+ /**
4601
+ * Orphaned Bitcoin Utxos pending cosign by vault id
4602
+ **/
4603
+ orphanedUtxoAccountsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [
4604
+ u32,
4605
+ AccountId32
4606
+ ]>;
4371
4607
  /**
4372
4608
  * Bitcoin Locks pending cosign by vault id
4373
4609
  **/
@@ -4605,6 +4841,14 @@ declare module '@polkadot/api-base/types/submittable' {
4605
4841
  adminModifyMinimumLockedSats: AugmentedSubmittable<(satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4606
4842
  u64
4607
4843
  ]>;
4844
+ cosignOrphanedUtxoRelease: AugmentedSubmittable<(orphanOwner: AccountId32 | string | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | {
4845
+ txid?: any;
4846
+ outputIndex?: any;
4847
+ } | string | Uint8Array, signature: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4848
+ AccountId32,
4849
+ ArgonPrimitivesBitcoinUtxoRef,
4850
+ Bytes
4851
+ ]>;
4608
4852
  /**
4609
4853
  * Submitted by a Vault operator to cosign the release of a bitcoin utxo. The Bitcoin owner
4610
4854
  * release fee will be burned, and the lock will be allowed to expire without a penalty.
@@ -4616,6 +4860,10 @@ declare module '@polkadot/api-base/types/submittable' {
4616
4860
  u64,
4617
4861
  Bytes
4618
4862
  ]>;
4863
+ increaseSecuritization: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, newSatoshis: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4864
+ u64,
4865
+ Compact<u64>
4866
+ ]>;
4619
4867
  /**
4620
4868
  * Initialize a bitcoin lock. This will create a LockedBitcoin for the submitting account
4621
4869
  * and log the Bitcoin Script hash to Events.
@@ -4626,10 +4874,22 @@ declare module '@polkadot/api-base/types/submittable' {
4626
4874
  * NOTE: A "lock-er" must send btc to the cosigner UTXO address to "complete" the
4627
4875
  * LockedBitcoin and be added to the Bitcoin Mint line.
4628
4876
  **/
4629
- initialize: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4877
+ initialize: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
4878
+ V1: any;
4879
+ } | string) => SubmittableExtrinsic<ApiType>, [
4880
+ u32,
4881
+ Compact<u64>,
4882
+ ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
4883
+ Option<PalletBitcoinLocksLockOptions>
4884
+ ]>;
4885
+ initializeFor: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array, vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
4886
+ V1: any;
4887
+ } | string) => SubmittableExtrinsic<ApiType>, [
4888
+ AccountId32,
4630
4889
  u32,
4631
4890
  Compact<u64>,
4632
- ArgonPrimitivesBitcoinCompressedBitcoinPubkey
4891
+ ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
4892
+ Option<PalletBitcoinLocksLockOptions>
4633
4893
  ]>;
4634
4894
  /**
4635
4895
  * Ratcheting allows a user to change the lock price of their bitcoin lock. This is
@@ -4647,7 +4907,23 @@ declare module '@polkadot/api-base/types/submittable' {
4647
4907
  * prorated fee for the remainder of your existing lock duration. You are added to the mint
4648
4908
  * queue for the difference in your new lock price vs the previous lock price.
4649
4909
  **/
4650
- ratchet: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4910
+ ratchet: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
4911
+ V1: any;
4912
+ } | string) => SubmittableExtrinsic<ApiType>, [
4913
+ u64,
4914
+ Option<PalletBitcoinLocksLockOptions>
4915
+ ]>;
4916
+ registerFeeCoupon: AugmentedSubmittable<(public: U8aFixed | string | Uint8Array, maxSatoshis: Compact<u64> | AnyNumber | Uint8Array, maxFeePlusTip: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
4917
+ U8aFixed,
4918
+ Compact<u64>,
4919
+ Option<u128>
4920
+ ]>;
4921
+ requestOrphanedUtxoRelease: AugmentedSubmittable<(utxoRef: ArgonPrimitivesBitcoinUtxoRef | {
4922
+ txid?: any;
4923
+ outputIndex?: any;
4924
+ } | string | Uint8Array, toScriptPubkey: Bytes | string | Uint8Array, bitcoinNetworkFee: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4925
+ ArgonPrimitivesBitcoinUtxoRef,
4926
+ Bytes,
4651
4927
  u64
4652
4928
  ]>;
4653
4929
  /**
@@ -4665,6 +4941,18 @@ declare module '@polkadot/api-base/types/submittable' {
4665
4941
  ]>;
4666
4942
  };
4667
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
+ ]>;
4668
4956
  /**
4669
4957
  * Sets the most recent confirmed bitcoin block height (only executable by the Oracle
4670
4958
  * Operator account)
@@ -4686,12 +4974,11 @@ declare module '@polkadot/api-base/types/submittable' {
4686
4974
  AccountId32
4687
4975
  ]>;
4688
4976
  /**
4689
- * Submitted when a bitcoin UTXO has been moved or confirmed
4977
+ * Submitted when a bitcoin UTXO has been moved or confirmed.
4690
4978
  **/
4691
4979
  sync: AugmentedSubmittable<(utxoSync: ArgonPrimitivesInherentsBitcoinUtxoSync | {
4692
4980
  spent?: any;
4693
- verified?: any;
4694
- invalid?: any;
4981
+ funded?: any;
4695
4982
  syncToBlock?: any;
4696
4983
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4697
4984
  ArgonPrimitivesInherentsBitcoinUtxoSync
@@ -5361,7 +5648,7 @@ declare module '@polkadot/api-base/types/submittable' {
5361
5648
  Address32: any;
5362
5649
  } | {
5363
5650
  Address20: any;
5364
- } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5651
+ } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5365
5652
  MultiAddress,
5366
5653
  ArgonRuntimeProxyType,
5367
5654
  u32
@@ -5417,7 +5704,7 @@ declare module '@polkadot/api-base/types/submittable' {
5417
5704
  *
5418
5705
  * Fails if there are insufficient funds to pay for deposit.
5419
5706
  **/
5420
- createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5707
+ createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5421
5708
  ArgonRuntimeProxyType,
5422
5709
  u32,
5423
5710
  u16
@@ -5450,7 +5737,7 @@ declare module '@polkadot/api-base/types/submittable' {
5450
5737
  Address32: any;
5451
5738
  } | {
5452
5739
  Address20: any;
5453
- } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5740
+ } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5454
5741
  MultiAddress,
5455
5742
  ArgonRuntimeProxyType,
5456
5743
  u16,
@@ -5489,7 +5776,7 @@ declare module '@polkadot/api-base/types/submittable' {
5489
5776
  Address32: any;
5490
5777
  } | {
5491
5778
  Address20: any;
5492
- } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5779
+ } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5493
5780
  MultiAddress,
5494
5781
  Option<ArgonRuntimeProxyType>,
5495
5782
  Call
@@ -5527,7 +5814,7 @@ declare module '@polkadot/api-base/types/submittable' {
5527
5814
  Address32: any;
5528
5815
  } | {
5529
5816
  Address20: any;
5530
- } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5817
+ } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5531
5818
  MultiAddress,
5532
5819
  MultiAddress,
5533
5820
  Option<ArgonRuntimeProxyType>,
@@ -5613,7 +5900,7 @@ declare module '@polkadot/api-base/types/submittable' {
5613
5900
  Address32: any;
5614
5901
  } | {
5615
5902
  Address20: any;
5616
- } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5903
+ } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5617
5904
  MultiAddress,
5618
5905
  ArgonRuntimeProxyType,
5619
5906
  u32
@@ -5807,27 +6094,12 @@ declare module '@polkadot/api-base/types/submittable' {
5807
6094
  ]>;
5808
6095
  };
5809
6096
  tokenGateway: {
5810
- /**
5811
- * Registers a multi-chain ERC6160 asset. The asset should not already exist.
5812
- *
5813
- * This works by dispatching a request to the TokenGateway module on each requested chain
5814
- * to create the asset.
5815
- * `native` should be true if this asset originates from this chain
5816
- **/
5817
- createErc6160Asset: AugmentedSubmittable<(asset: PalletTokenGatewayAssetRegistration | {
5818
- localId?: any;
5819
- reg?: any;
5820
- native?: any;
5821
- precision?: any;
5822
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5823
- PalletTokenGatewayAssetRegistration
5824
- ]>;
5825
6097
  /**
5826
6098
  * Registers a multi-chain ERC6160 asset without sending any dispatch request.
5827
6099
  * You should use register_asset_locally when you want to enable token gateway transfers
5828
6100
  * for an asset that already exists on an external chain.
5829
6101
  **/
5830
- registerAssetLocally: AugmentedSubmittable<(asset: PalletTokenGatewayAssetRegistration | {
6102
+ createErc6160Asset: AugmentedSubmittable<(asset: PalletTokenGatewayAssetRegistration | {
5831
6103
  localId?: any;
5832
6104
  reg?: any;
5833
6105
  native?: any;
@@ -5867,56 +6139,12 @@ declare module '@polkadot/api-base/types/submittable' {
5867
6139
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5868
6140
  PalletTokenGatewayPrecisionUpdate
5869
6141
  ]>;
5870
- /**
5871
- * Registers a multi-chain ERC6160 asset. The asset should not already exist.
5872
- *
5873
- * This works by dispatching a request to the TokenGateway module on each requested chain
5874
- * to create the asset.
5875
- **/
5876
- updateErc6160Asset: AugmentedSubmittable<(asset: TokenGatewayPrimitivesGatewayAssetUpdate | {
5877
- assetId?: any;
5878
- addChains?: any;
5879
- removeChains?: any;
5880
- newAdmins?: any;
5881
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5882
- TokenGatewayPrimitivesGatewayAssetUpdate
5883
- ]>;
5884
6142
  };
5885
6143
  treasury: {
5886
6144
  /**
5887
- * Bond argons to a Vault's next treasury pool, tied to the next frame (aka,
5888
- * tomorrow noon EDT to day after tomorrow noon). The amount bonded to the pool cannot
5889
- * exceed 1/10th of the activated securitization for the vault.
5890
- *
5891
- * The bonded argons and profits will be automatically rolled over to the next fund up to
5892
- * the max securitization activated.
5893
- *
5894
- * - `origin`: The account that is joining the fund
5895
- * - `vault_id`: The vault id that the account would like to join a fund for
5896
- * - `amount`: The amount of argons to contribute to the fund. If you increase this amount,
5897
- * it will just add the incremental amount
6145
+ * All funders can set their committed principal for a vault.
5898
6146
  **/
5899
- bondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5900
- u32,
5901
- u128
5902
- ]>;
5903
- /**
5904
- * Allows a user to remove their bonded argons from the fund after the hold is released
5905
- * (once epoch starting at bonded frame is complete).
5906
- **/
5907
- unbondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, frameId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5908
- u32,
5909
- u64
5910
- ]>;
5911
- /**
5912
- * Set the prebonded argons for a vault. This is used by the vault operator to
5913
- * pre-register funding for each frame. The total allocation will be capped per frame using
5914
- * the `max_amount_per_frame` parameter.
5915
- *
5916
- * NOTE: calling this a second time will ensure your max_amount_per_frame is updated.
5917
- * However, it will not reduce your allocation
5918
- **/
5919
- 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>, [
5920
6148
  u32,
5921
6149
  u128
5922
6150
  ]>;
@@ -8574,7 +8802,8 @@ declare module '@polkadot/types/lookup' {
8574
8802
  readonly isMiningBidRealPaysFee: boolean;
8575
8803
  readonly isBitcoin: boolean;
8576
8804
  readonly isVaultAdmin: boolean;
8577
- readonly type: 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin';
8805
+ readonly isBitcoinInitializeFor: boolean;
8806
+ readonly type: 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor';
8578
8807
  }
8579
8808
  /** @name PalletProxyDepositKind (40) */
8580
8809
  interface PalletProxyDepositKind extends Enum {
@@ -8649,11 +8878,14 @@ declare module '@polkadot/types/lookup' {
8649
8878
  readonly isUtxoVerified: boolean;
8650
8879
  readonly asUtxoVerified: {
8651
8880
  readonly utxoId: u64;
8881
+ readonly satoshisReceived: u64;
8652
8882
  } & Struct;
8653
8883
  readonly isUtxoRejected: boolean;
8654
8884
  readonly asUtxoRejected: {
8655
8885
  readonly utxoId: u64;
8886
+ readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
8656
8887
  readonly rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
8888
+ readonly satoshisReceived: u64;
8657
8889
  } & Struct;
8658
8890
  readonly isUtxoSpent: boolean;
8659
8891
  readonly asUtxoSpent: {
@@ -8679,29 +8911,24 @@ declare module '@polkadot/types/lookup' {
8679
8911
  readonly utxoId: u64;
8680
8912
  readonly error: SpRuntimeDispatchError;
8681
8913
  } & Struct;
8682
- readonly isUtxoExpiredError: boolean;
8683
- readonly asUtxoExpiredError: {
8684
- readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
8685
- readonly error: SpRuntimeDispatchError;
8686
- } & Struct;
8687
- readonly type: 'UtxoVerified' | 'UtxoRejected' | 'UtxoSpent' | 'UtxoUnwatched' | 'UtxoSpentError' | 'UtxoVerifiedError' | 'UtxoRejectedError' | 'UtxoExpiredError';
8688
- }
8689
- /** @name ArgonPrimitivesBitcoinBitcoinRejectedReason (51) */
8690
- interface ArgonPrimitivesBitcoinBitcoinRejectedReason extends Enum {
8691
- readonly isSatoshisMismatch: boolean;
8692
- readonly isSpent: boolean;
8693
- readonly isLookupExpired: boolean;
8694
- readonly isDuplicateUtxo: boolean;
8695
- readonly type: 'SatoshisMismatch' | 'Spent' | 'LookupExpired' | 'DuplicateUtxo';
8914
+ readonly type: 'UtxoVerified' | 'UtxoRejected' | 'UtxoSpent' | 'UtxoUnwatched' | 'UtxoSpentError' | 'UtxoVerifiedError' | 'UtxoRejectedError';
8696
8915
  }
8697
- /** @name ArgonPrimitivesBitcoinUtxoRef (52) */
8916
+ /** @name ArgonPrimitivesBitcoinUtxoRef (51) */
8698
8917
  interface ArgonPrimitivesBitcoinUtxoRef extends Struct {
8699
8918
  readonly txid: ArgonPrimitivesBitcoinH256Le;
8700
8919
  readonly outputIndex: Compact<u32>;
8701
8920
  }
8702
- /** @name ArgonPrimitivesBitcoinH256Le (53) */
8921
+ /** @name ArgonPrimitivesBitcoinH256Le (52) */
8703
8922
  interface ArgonPrimitivesBitcoinH256Le extends U8aFixed {
8704
8923
  }
8924
+ /** @name ArgonPrimitivesBitcoinBitcoinRejectedReason (54) */
8925
+ interface ArgonPrimitivesBitcoinBitcoinRejectedReason extends Enum {
8926
+ readonly isSatoshisOutsideAcceptedRange: boolean;
8927
+ readonly isSpent: boolean;
8928
+ readonly isVerificationExpired: boolean;
8929
+ readonly isAlreadyVerified: boolean;
8930
+ readonly type: 'SatoshisOutsideAcceptedRange' | 'Spent' | 'VerificationExpired' | 'AlreadyVerified';
8931
+ }
8705
8932
  /** @name PalletVaultsEvent (55) */
8706
8933
  interface PalletVaultsEvent extends Enum {
8707
8934
  readonly isVaultCreated: boolean;
@@ -8716,6 +8943,7 @@ declare module '@polkadot/types/lookup' {
8716
8943
  readonly asVaultModified: {
8717
8944
  readonly vaultId: u32;
8718
8945
  readonly securitization: u128;
8946
+ readonly securitizationTarget: u128;
8719
8947
  readonly securitizationRatio: u128;
8720
8948
  } & Struct;
8721
8949
  readonly isVaultTermsChangeScheduled: boolean;
@@ -8752,9 +8980,10 @@ declare module '@polkadot/types/lookup' {
8752
8980
  readonly asFundsLocked: {
8753
8981
  readonly vaultId: u32;
8754
8982
  readonly locker: AccountId32;
8755
- readonly amount: u128;
8983
+ readonly liquidityPromised: u128;
8756
8984
  readonly isRatchet: bool;
8757
8985
  readonly feeRevenue: u128;
8986
+ readonly didUseFeeCoupon: bool;
8758
8987
  } & Struct;
8759
8988
  readonly isFundLockCanceled: boolean;
8760
8989
  readonly asFundLockCanceled: {
@@ -8764,7 +8993,7 @@ declare module '@polkadot/types/lookup' {
8764
8993
  readonly isFundsScheduledForRelease: boolean;
8765
8994
  readonly asFundsScheduledForRelease: {
8766
8995
  readonly vaultId: u32;
8767
- readonly amount: u128;
8996
+ readonly securitization: u128;
8768
8997
  readonly releaseHeight: u64;
8769
8998
  } & Struct;
8770
8999
  readonly isLostBitcoinCompensated: boolean;
@@ -8777,7 +9006,7 @@ declare module '@polkadot/types/lookup' {
8777
9006
  readonly isFundsReleased: boolean;
8778
9007
  readonly asFundsReleased: {
8779
9008
  readonly vaultId: u32;
8780
- readonly amount: u128;
9009
+ readonly securitization: u128;
8781
9010
  } & Struct;
8782
9011
  readonly isFundsReleasedError: boolean;
8783
9012
  readonly asFundsReleasedError: {
@@ -8800,7 +9029,8 @@ declare module '@polkadot/types/lookup' {
8800
9029
  readonly utxoId: u64;
8801
9030
  readonly vaultId: u32;
8802
9031
  readonly liquidityPromised: u128;
8803
- readonly peggedPrice: u128;
9032
+ readonly securitization: u128;
9033
+ readonly lockedMarketRate: u128;
8804
9034
  readonly accountId: AccountId32;
8805
9035
  readonly securityFee: u128;
8806
9036
  } & Struct;
@@ -8809,9 +9039,9 @@ declare module '@polkadot/types/lookup' {
8809
9039
  readonly utxoId: u64;
8810
9040
  readonly vaultId: u32;
8811
9041
  readonly liquidityPromised: u128;
8812
- readonly originalPeggedPrice: u128;
9042
+ readonly originalMarketRate: u128;
8813
9043
  readonly securityFee: u128;
8814
- readonly newPeggedPrice: u128;
9044
+ readonly newLockedMarketRate: u128;
8815
9045
  readonly amountBurned: u128;
8816
9046
  readonly accountId: AccountId32;
8817
9047
  } & Struct;
@@ -8849,7 +9079,43 @@ declare module '@polkadot/types/lookup' {
8849
9079
  readonly utxoId: u64;
8850
9080
  readonly error: SpRuntimeDispatchError;
8851
9081
  } & Struct;
8852
- readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError';
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;
9096
+ readonly isOrphanedUtxoCosigned: boolean;
9097
+ readonly asOrphanedUtxoCosigned: {
9098
+ readonly utxoId: u64;
9099
+ readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
9100
+ readonly vaultId: u32;
9101
+ readonly accountId: AccountId32;
9102
+ readonly signature: Bytes;
9103
+ } & Struct;
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';
8853
9119
  }
8854
9120
  /** @name PalletNotariesEvent (60) */
8855
9121
  interface PalletNotariesEvent extends Enum {
@@ -9655,21 +9921,28 @@ declare module '@polkadot/types/lookup' {
9655
9921
  readonly amount: u128;
9656
9922
  readonly accountId: AccountId32;
9657
9923
  } & Struct;
9658
- readonly isVaultOperatorPrebond: boolean;
9659
- readonly asVaultOperatorPrebond: {
9924
+ readonly isVaultFunderAllocation: boolean;
9925
+ readonly asVaultFunderAllocation: {
9660
9926
  readonly vaultId: u32;
9661
9927
  readonly accountId: AccountId32;
9662
- readonly amountPerFrame: u128;
9928
+ readonly amount: u128;
9929
+ readonly previousAmount: Option<u128>;
9663
9930
  } & Struct;
9664
- readonly type: 'CouldNotDistributeBidPool' | 'CouldNotBurnBidPool' | 'BidPoolDistributed' | 'NextBidPoolCapitalLocked' | 'ErrorRefundingTreasuryCapital' | 'RefundedTreasuryCapital' | 'VaultOperatorPrebond';
9931
+ readonly type: 'CouldNotDistributeBidPool' | 'CouldNotBurnBidPool' | 'BidPoolDistributed' | 'NextBidPoolCapitalLocked' | 'ErrorRefundingTreasuryCapital' | 'RefundedTreasuryCapital' | 'VaultFunderAllocation';
9665
9932
  }
9666
- /** @name PalletSkipFeelessPaymentEvent (131) */
9667
- interface PalletSkipFeelessPaymentEvent extends Enum {
9933
+ /** @name PalletFeeControlEvent (131) */
9934
+ interface PalletFeeControlEvent extends Enum {
9668
9935
  readonly isFeeSkipped: boolean;
9669
9936
  readonly asFeeSkipped: {
9670
9937
  readonly origin: ArgonRuntimeOriginCaller;
9671
9938
  } & Struct;
9672
- readonly type: 'FeeSkipped';
9939
+ readonly isFeeDelegated: boolean;
9940
+ readonly asFeeDelegated: {
9941
+ readonly origin: ArgonRuntimeOriginCaller;
9942
+ readonly from: AccountId32;
9943
+ readonly to: AccountId32;
9944
+ } & Struct;
9945
+ readonly type: 'FeeSkipped' | 'FeeDelegated';
9673
9946
  }
9674
9947
  /** @name ArgonRuntimeOriginCaller (132) */
9675
9948
  interface ArgonRuntimeOriginCaller extends Enum {
@@ -10019,21 +10292,39 @@ declare module '@polkadot/types/lookup' {
10019
10292
  readonly asSetOperator: {
10020
10293
  readonly accountId: AccountId32;
10021
10294
  } & Struct;
10022
- readonly type: 'Sync' | 'SetConfirmedBlock' | 'SetOperator';
10295
+ readonly isFundWithUtxoCandidate: boolean;
10296
+ readonly asFundWithUtxoCandidate: {
10297
+ readonly utxoId: u64;
10298
+ readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
10299
+ } & Struct;
10300
+ readonly type: 'Sync' | 'SetConfirmedBlock' | 'SetOperator' | 'FundWithUtxoCandidate';
10023
10301
  }
10024
10302
  /** @name ArgonPrimitivesInherentsBitcoinUtxoSync (193) */
10025
10303
  interface ArgonPrimitivesInherentsBitcoinUtxoSync extends Struct {
10026
- readonly spent: BTreeMap<u64, u64>;
10027
- readonly verified: BTreeMap<u64, ArgonPrimitivesBitcoinUtxoRef>;
10028
- readonly invalid: BTreeMap<u64, ArgonPrimitivesBitcoinBitcoinRejectedReason>;
10304
+ readonly spent: Vec<ArgonPrimitivesInherentsBitcoinUtxoSpend>;
10305
+ readonly funded: Vec<ArgonPrimitivesInherentsBitcoinUtxoFunding>;
10029
10306
  readonly syncToBlock: ArgonPrimitivesBitcoinBitcoinBlock;
10030
10307
  }
10031
- /** @name ArgonPrimitivesBitcoinBitcoinBlock (203) */
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
+ }
10314
+ /** @name ArgonPrimitivesInherentsBitcoinUtxoFunding (198) */
10315
+ interface ArgonPrimitivesInherentsBitcoinUtxoFunding extends Struct {
10316
+ readonly utxoId: Compact<u64>;
10317
+ readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
10318
+ readonly satoshis: Compact<u64>;
10319
+ readonly expectedSatoshis: Compact<u64>;
10320
+ readonly bitcoinHeight: Compact<u64>;
10321
+ }
10322
+ /** @name ArgonPrimitivesBitcoinBitcoinBlock (199) */
10032
10323
  interface ArgonPrimitivesBitcoinBitcoinBlock extends Struct {
10033
10324
  readonly blockHeight: Compact<u64>;
10034
10325
  readonly blockHash: ArgonPrimitivesBitcoinH256Le;
10035
10326
  }
10036
- /** @name PalletVaultsCall (204) */
10327
+ /** @name PalletVaultsCall (200) */
10037
10328
  interface PalletVaultsCall extends Enum {
10038
10329
  readonly isCreate: boolean;
10039
10330
  readonly asCreate: {
@@ -10065,29 +10356,30 @@ declare module '@polkadot/types/lookup' {
10065
10356
  } & Struct;
10066
10357
  readonly type: 'Create' | 'ModifyFunding' | 'ModifyTerms' | 'Close' | 'ReplaceBitcoinXpub' | 'Collect';
10067
10358
  }
10068
- /** @name PalletVaultsVaultConfig (205) */
10359
+ /** @name PalletVaultsVaultConfig (201) */
10069
10360
  interface PalletVaultsVaultConfig extends Struct {
10070
10361
  readonly terms: ArgonPrimitivesVaultVaultTerms;
10071
10362
  readonly securitization: Compact<u128>;
10072
10363
  readonly bitcoinXpubkey: ArgonPrimitivesBitcoinOpaqueBitcoinXpub;
10073
10364
  readonly securitizationRatio: Compact<u128>;
10074
10365
  }
10075
- /** @name ArgonPrimitivesVaultVaultTerms (206) */
10366
+ /** @name ArgonPrimitivesVaultVaultTerms (202) */
10076
10367
  interface ArgonPrimitivesVaultVaultTerms extends Struct {
10077
10368
  readonly bitcoinAnnualPercentRate: Compact<u128>;
10078
10369
  readonly bitcoinBaseFee: Compact<u128>;
10079
10370
  readonly treasuryProfitSharing: Compact<Permill>;
10080
10371
  }
10081
- /** @name ArgonPrimitivesBitcoinOpaqueBitcoinXpub (210) */
10372
+ /** @name ArgonPrimitivesBitcoinOpaqueBitcoinXpub (206) */
10082
10373
  interface ArgonPrimitivesBitcoinOpaqueBitcoinXpub extends U8aFixed {
10083
10374
  }
10084
- /** @name PalletBitcoinLocksCall (212) */
10375
+ /** @name PalletBitcoinLocksCall (208) */
10085
10376
  interface PalletBitcoinLocksCall extends Enum {
10086
10377
  readonly isInitialize: boolean;
10087
10378
  readonly asInitialize: {
10088
10379
  readonly vaultId: u32;
10089
10380
  readonly satoshis: Compact<u64>;
10090
10381
  readonly bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
10382
+ readonly options: Option<PalletBitcoinLocksLockOptions>;
10091
10383
  } & Struct;
10092
10384
  readonly isRequestRelease: boolean;
10093
10385
  readonly asRequestRelease: {
@@ -10103,17 +10395,63 @@ declare module '@polkadot/types/lookup' {
10103
10395
  readonly isRatchet: boolean;
10104
10396
  readonly asRatchet: {
10105
10397
  readonly utxoId: u64;
10398
+ readonly options: Option<PalletBitcoinLocksLockOptions>;
10106
10399
  } & Struct;
10107
10400
  readonly isAdminModifyMinimumLockedSats: boolean;
10108
10401
  readonly asAdminModifyMinimumLockedSats: {
10109
10402
  readonly satoshis: u64;
10110
10403
  } & Struct;
10111
- readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'Ratchet' | 'AdminModifyMinimumLockedSats';
10404
+ readonly isRequestOrphanedUtxoRelease: boolean;
10405
+ readonly asRequestOrphanedUtxoRelease: {
10406
+ readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
10407
+ readonly toScriptPubkey: Bytes;
10408
+ readonly bitcoinNetworkFee: u64;
10409
+ } & Struct;
10410
+ readonly isCosignOrphanedUtxoRelease: boolean;
10411
+ readonly asCosignOrphanedUtxoRelease: {
10412
+ readonly orphanOwner: AccountId32;
10413
+ readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
10414
+ readonly signature: Bytes;
10415
+ } & Struct;
10416
+ readonly isRegisterFeeCoupon: boolean;
10417
+ readonly asRegisterFeeCoupon: {
10418
+ readonly public: U8aFixed;
10419
+ readonly maxSatoshis: Compact<u64>;
10420
+ readonly maxFeePlusTip: Option<u128>;
10421
+ } & Struct;
10422
+ readonly isInitializeFor: boolean;
10423
+ readonly asInitializeFor: {
10424
+ readonly accountId: AccountId32;
10425
+ readonly vaultId: u32;
10426
+ readonly satoshis: Compact<u64>;
10427
+ readonly bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
10428
+ readonly options: Option<PalletBitcoinLocksLockOptions>;
10429
+ } & Struct;
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';
10112
10436
  }
10113
- /** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (213) */
10437
+ /** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (209) */
10114
10438
  interface ArgonPrimitivesBitcoinCompressedBitcoinPubkey extends U8aFixed {
10115
10439
  }
10116
- /** @name PalletNotariesCall (217) */
10440
+ /** @name PalletBitcoinLocksLockOptions (212) */
10441
+ interface PalletBitcoinLocksLockOptions extends Enum {
10442
+ readonly isV1: boolean;
10443
+ readonly asV1: {
10444
+ readonly microgonsPerBtc: Option<u128>;
10445
+ readonly feeCouponProof: Option<PalletBitcoinLocksFeeCouponProof>;
10446
+ } & Struct;
10447
+ readonly type: 'V1';
10448
+ }
10449
+ /** @name PalletBitcoinLocksFeeCouponProof (214) */
10450
+ interface PalletBitcoinLocksFeeCouponProof extends Struct {
10451
+ readonly public: U8aFixed;
10452
+ readonly signature: U8aFixed;
10453
+ }
10454
+ /** @name PalletNotariesCall (218) */
10117
10455
  interface PalletNotariesCall extends Enum {
10118
10456
  readonly isPropose: boolean;
10119
10457
  readonly asPropose: {
@@ -10131,7 +10469,7 @@ declare module '@polkadot/types/lookup' {
10131
10469
  } & Struct;
10132
10470
  readonly type: 'Propose' | 'Activate' | 'Update';
10133
10471
  }
10134
- /** @name PalletNotebookCall (218) */
10472
+ /** @name PalletNotebookCall (219) */
10135
10473
  interface PalletNotebookCall extends Enum {
10136
10474
  readonly isSubmit: boolean;
10137
10475
  readonly asSubmit: {
@@ -10143,12 +10481,12 @@ declare module '@polkadot/types/lookup' {
10143
10481
  } & Struct;
10144
10482
  readonly type: 'Submit' | 'Unlock';
10145
10483
  }
10146
- /** @name ArgonPrimitivesNotebookSignedNotebookHeader (220) */
10484
+ /** @name ArgonPrimitivesNotebookSignedNotebookHeader (221) */
10147
10485
  interface ArgonPrimitivesNotebookSignedNotebookHeader extends Struct {
10148
10486
  readonly header: ArgonPrimitivesNotebookNotebookHeader;
10149
10487
  readonly signature: U8aFixed;
10150
10488
  }
10151
- /** @name ArgonPrimitivesNotebookNotebookHeader (221) */
10489
+ /** @name ArgonPrimitivesNotebookNotebookHeader (222) */
10152
10490
  interface ArgonPrimitivesNotebookNotebookHeader extends Struct {
10153
10491
  readonly version: Compact<u16>;
10154
10492
  readonly notebookNumber: Compact<u32>;
@@ -10166,7 +10504,7 @@ declare module '@polkadot/types/lookup' {
10166
10504
  readonly parentSecret: Option<H256>;
10167
10505
  readonly domains: Vec<ITuple<[H256, AccountId32]>>;
10168
10506
  }
10169
- /** @name ArgonPrimitivesNotebookChainTransfer (224) */
10507
+ /** @name ArgonPrimitivesNotebookChainTransfer (225) */
10170
10508
  interface ArgonPrimitivesNotebookChainTransfer extends Enum {
10171
10509
  readonly isToMainchain: boolean;
10172
10510
  readonly asToMainchain: {
@@ -10179,7 +10517,7 @@ declare module '@polkadot/types/lookup' {
10179
10517
  } & Struct;
10180
10518
  readonly type: 'ToMainchain' | 'ToLocalchain';
10181
10519
  }
10182
- /** @name ArgonPrimitivesBalanceChangeAccountOrigin (227) */
10520
+ /** @name ArgonPrimitivesBalanceChangeAccountOrigin (228) */
10183
10521
  interface ArgonPrimitivesBalanceChangeAccountOrigin extends Struct {
10184
10522
  readonly notebookNumber: Compact<u32>;
10185
10523
  readonly accountUid: Compact<u32>;
@@ -10695,19 +11033,11 @@ declare module '@polkadot/types/lookup' {
10695
11033
  readonly asCreateErc6160Asset: {
10696
11034
  readonly asset: PalletTokenGatewayAssetRegistration;
10697
11035
  } & Struct;
10698
- readonly isUpdateErc6160Asset: boolean;
10699
- readonly asUpdateErc6160Asset: {
10700
- readonly asset: TokenGatewayPrimitivesGatewayAssetUpdate;
10701
- } & Struct;
10702
11036
  readonly isUpdateAssetPrecision: boolean;
10703
11037
  readonly asUpdateAssetPrecision: {
10704
11038
  readonly update: PalletTokenGatewayPrecisionUpdate;
10705
11039
  } & Struct;
10706
- readonly isRegisterAssetLocally: boolean;
10707
- readonly asRegisterAssetLocally: {
10708
- readonly asset: PalletTokenGatewayAssetRegistration;
10709
- } & Struct;
10710
- readonly type: 'Teleport' | 'SetTokenGatewayAddresses' | 'CreateErc6160Asset' | 'UpdateErc6160Asset' | 'UpdateAssetPrecision' | 'RegisterAssetLocally';
11040
+ readonly type: 'Teleport' | 'SetTokenGatewayAddresses' | 'CreateErc6160Asset' | 'UpdateAssetPrecision';
10711
11041
  }
10712
11042
  /** @name PalletTokenGatewayTeleportParams (304) */
10713
11043
  interface PalletTokenGatewayTeleportParams extends Struct {
@@ -10735,38 +11065,21 @@ declare module '@polkadot/types/lookup' {
10735
11065
  readonly chains: Vec<IsmpHostStateMachine>;
10736
11066
  readonly minimumBalance: Option<u128>;
10737
11067
  }
10738
- /** @name TokenGatewayPrimitivesGatewayAssetUpdate (314) */
10739
- interface TokenGatewayPrimitivesGatewayAssetUpdate extends Struct {
10740
- readonly assetId: H256;
10741
- readonly addChains: Vec<IsmpHostStateMachine>;
10742
- readonly removeChains: Vec<IsmpHostStateMachine>;
10743
- readonly newAdmins: Vec<ITuple<[IsmpHostStateMachine, H160]>>;
10744
- }
10745
- /** @name PalletTokenGatewayPrecisionUpdate (320) */
11068
+ /** @name PalletTokenGatewayPrecisionUpdate (314) */
10746
11069
  interface PalletTokenGatewayPrecisionUpdate extends Struct {
10747
11070
  readonly assetId: u32;
10748
11071
  readonly precisions: BTreeMap<IsmpHostStateMachine, u8>;
10749
11072
  }
10750
- /** @name PalletTreasuryCall (321) */
11073
+ /** @name PalletTreasuryCall (315) */
10751
11074
  interface PalletTreasuryCall extends Enum {
10752
- readonly isBondArgons: boolean;
10753
- readonly asBondArgons: {
11075
+ readonly isSetAllocation: boolean;
11076
+ readonly asSetAllocation: {
10754
11077
  readonly vaultId: u32;
10755
11078
  readonly amount: u128;
10756
11079
  } & Struct;
10757
- readonly isUnbondArgons: boolean;
10758
- readonly asUnbondArgons: {
10759
- readonly vaultId: u32;
10760
- readonly frameId: u64;
10761
- } & Struct;
10762
- readonly isVaultOperatorPrebond: boolean;
10763
- readonly asVaultOperatorPrebond: {
10764
- readonly vaultId: u32;
10765
- readonly maxAmountPerFrame: u128;
10766
- } & Struct;
10767
- readonly type: 'BondArgons' | 'UnbondArgons' | 'VaultOperatorPrebond';
11080
+ readonly type: 'SetAllocation';
10768
11081
  }
10769
- /** @name PalletMultisigError (323) */
11082
+ /** @name PalletMultisigError (317) */
10770
11083
  interface PalletMultisigError extends Enum {
10771
11084
  readonly isMinimumThreshold: boolean;
10772
11085
  readonly isAlreadyApproved: boolean;
@@ -10784,19 +11097,19 @@ declare module '@polkadot/types/lookup' {
10784
11097
  readonly isAlreadyStored: boolean;
10785
11098
  readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored';
10786
11099
  }
10787
- /** @name PalletProxyProxyDefinition (326) */
11100
+ /** @name PalletProxyProxyDefinition (320) */
10788
11101
  interface PalletProxyProxyDefinition extends Struct {
10789
11102
  readonly delegate: AccountId32;
10790
11103
  readonly proxyType: ArgonRuntimeProxyType;
10791
11104
  readonly delay: u32;
10792
11105
  }
10793
- /** @name PalletProxyAnnouncement (330) */
11106
+ /** @name PalletProxyAnnouncement (324) */
10794
11107
  interface PalletProxyAnnouncement extends Struct {
10795
11108
  readonly real: AccountId32;
10796
11109
  readonly callHash: H256;
10797
11110
  readonly height: u32;
10798
11111
  }
10799
- /** @name PalletProxyError (332) */
11112
+ /** @name PalletProxyError (326) */
10800
11113
  interface PalletProxyError extends Enum {
10801
11114
  readonly isTooMany: boolean;
10802
11115
  readonly isNotFound: boolean;
@@ -10808,47 +11121,48 @@ declare module '@polkadot/types/lookup' {
10808
11121
  readonly isNoSelfProxy: boolean;
10809
11122
  readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy';
10810
11123
  }
10811
- /** @name ArgonPrimitivesTickTicker (333) */
11124
+ /** @name ArgonPrimitivesTickTicker (327) */
10812
11125
  interface ArgonPrimitivesTickTicker extends Struct {
10813
11126
  readonly tickDurationMillis: Compact<u64>;
10814
11127
  readonly channelHoldExpirationTicks: Compact<u64>;
10815
11128
  }
10816
- /** @name PalletTicksError (335) */
11129
+ /** @name PalletTicksError (329) */
10817
11130
  type PalletTicksError = Null;
10818
- /** @name PalletMiningSlotMinerNonceScoring (338) */
11131
+ /** @name PalletMiningSlotMinerNonceScoring (332) */
10819
11132
  interface PalletMiningSlotMinerNonceScoring extends Struct {
10820
11133
  readonly nonce: U256;
10821
11134
  readonly lastWinBlock: Option<u32>;
10822
11135
  readonly blocksWonInFrame: u16;
10823
11136
  readonly frameStartBlocksWonSurplus: i16;
10824
11137
  }
10825
- /** @name ArgonPrimitivesBlockSealMiningBidStats (351) */
11138
+ /** @name ArgonPrimitivesBlockSealMiningBidStats (345) */
10826
11139
  interface ArgonPrimitivesBlockSealMiningBidStats extends Struct {
10827
11140
  readonly bidsCount: u32;
10828
11141
  readonly bidAmountMin: u128;
10829
11142
  readonly bidAmountMax: u128;
10830
11143
  readonly bidAmountSum: u128;
10831
11144
  }
10832
- /** @name ArgonPrimitivesBlockSealMiningSlotConfig (355) */
11145
+ /** @name ArgonPrimitivesBlockSealMiningSlotConfig (349) */
10833
11146
  interface ArgonPrimitivesBlockSealMiningSlotConfig extends Struct {
10834
11147
  readonly ticksBeforeBidEndForVrfClose: Compact<u64>;
10835
11148
  readonly ticksBetweenSlots: Compact<u64>;
10836
11149
  readonly slotBiddingStartAfterTicks: Compact<u64>;
10837
11150
  }
10838
- /** @name PalletMiningSlotError (363) */
11151
+ /** @name PalletMiningSlotError (360) */
10839
11152
  interface PalletMiningSlotError extends Enum {
10840
11153
  readonly isSlotNotTakingBids: boolean;
10841
11154
  readonly isTooManyBlockRegistrants: boolean;
10842
11155
  readonly isInsufficientOwnershipTokens: boolean;
10843
11156
  readonly isBidTooLow: boolean;
10844
11157
  readonly isCannotRegisterOverlappingSessions: boolean;
11158
+ readonly isCannotChangeFundingAccount: boolean;
10845
11159
  readonly isInsufficientFunds: boolean;
10846
11160
  readonly isBidCannotBeReduced: boolean;
10847
11161
  readonly isInvalidBidAmount: boolean;
10848
11162
  readonly isUnrecoverableHold: boolean;
10849
- readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'InsufficientFunds' | 'BidCannotBeReduced' | 'InvalidBidAmount' | 'UnrecoverableHold';
11163
+ readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'CannotChangeFundingAccount' | 'InsufficientFunds' | 'BidCannotBeReduced' | 'InvalidBidAmount' | 'UnrecoverableHold';
10850
11164
  }
10851
- /** @name ArgonPrimitivesBitcoinUtxoValue (364) */
11165
+ /** @name ArgonPrimitivesBitcoinUtxoValue (361) */
10852
11166
  interface ArgonPrimitivesBitcoinUtxoValue extends Struct {
10853
11167
  readonly utxoId: u64;
10854
11168
  readonly scriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
@@ -10856,7 +11170,7 @@ declare module '@polkadot/types/lookup' {
10856
11170
  readonly submittedAtHeight: Compact<u64>;
10857
11171
  readonly watchForSpentUntilHeight: Compact<u64>;
10858
11172
  }
10859
- /** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (365) */
11173
+ /** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (362) */
10860
11174
  interface ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey extends Enum {
10861
11175
  readonly isP2wsh: boolean;
10862
11176
  readonly asP2wsh: {
@@ -10864,7 +11178,7 @@ declare module '@polkadot/types/lookup' {
10864
11178
  } & Struct;
10865
11179
  readonly type: 'P2wsh';
10866
11180
  }
10867
- /** @name ArgonPrimitivesBitcoinBitcoinNetwork (370) */
11181
+ /** @name ArgonPrimitivesBitcoinBitcoinNetwork (371) */
10868
11182
  interface ArgonPrimitivesBitcoinBitcoinNetwork extends Enum {
10869
11183
  readonly isBitcoin: boolean;
10870
11184
  readonly isTestnet: boolean;
@@ -10872,7 +11186,7 @@ declare module '@polkadot/types/lookup' {
10872
11186
  readonly isRegtest: boolean;
10873
11187
  readonly type: 'Bitcoin' | 'Testnet' | 'Signet' | 'Regtest';
10874
11188
  }
10875
- /** @name PalletBitcoinUtxosError (373) */
11189
+ /** @name PalletBitcoinUtxosError (372) */
10876
11190
  interface PalletBitcoinUtxosError extends Enum {
10877
11191
  readonly isNoPermissions: boolean;
10878
11192
  readonly isNoBitcoinConfirmedBlock: boolean;
@@ -10886,22 +11200,26 @@ declare module '@polkadot/types/lookup' {
10886
11200
  readonly isMaxUtxosExceeded: boolean;
10887
11201
  readonly isInvalidBitcoinScript: boolean;
10888
11202
  readonly isDuplicateUtxoId: boolean;
10889
- readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript' | 'DuplicateUtxoId';
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';
10890
11207
  }
10891
- /** @name ArgonPrimitivesVault (374) */
11208
+ /** @name ArgonPrimitivesVault (373) */
10892
11209
  interface ArgonPrimitivesVault extends Struct {
10893
11210
  readonly operatorAccountId: AccountId32;
10894
11211
  readonly securitization: Compact<u128>;
10895
- readonly argonsLocked: Compact<u128>;
10896
- readonly argonsPendingActivation: Compact<u128>;
10897
- readonly argonsScheduledForRelease: BTreeMap<u64, u128>;
11212
+ readonly securitizationTarget: Compact<u128>;
11213
+ readonly securitizationLocked: Compact<u128>;
11214
+ readonly securitizationPendingActivation: Compact<u128>;
11215
+ readonly securitizationReleaseSchedule: BTreeMap<u64, u128>;
10898
11216
  readonly securitizationRatio: Compact<u128>;
10899
11217
  readonly isClosed: bool;
10900
11218
  readonly terms: ArgonPrimitivesVaultVaultTerms;
10901
11219
  readonly pendingTerms: Option<ITuple<[u64, ArgonPrimitivesVaultVaultTerms]>>;
10902
11220
  readonly openedTick: Compact<u64>;
10903
11221
  }
10904
- /** @name ArgonPrimitivesBitcoinBitcoinXPub (382) */
11222
+ /** @name ArgonPrimitivesBitcoinBitcoinXPub (381) */
10905
11223
  interface ArgonPrimitivesBitcoinBitcoinXPub extends Struct {
10906
11224
  readonly publicKey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
10907
11225
  readonly depth: Compact<u8>;
@@ -10910,7 +11228,7 @@ declare module '@polkadot/types/lookup' {
10910
11228
  readonly chainCode: U8aFixed;
10911
11229
  readonly network: ArgonPrimitivesBitcoinNetworkKind;
10912
11230
  }
10913
- /** @name ArgonPrimitivesBitcoinNetworkKind (384) */
11231
+ /** @name ArgonPrimitivesBitcoinNetworkKind (383) */
10914
11232
  interface ArgonPrimitivesBitcoinNetworkKind extends Enum {
10915
11233
  readonly isMain: boolean;
10916
11234
  readonly isTest: boolean;
@@ -10920,6 +11238,7 @@ declare module '@polkadot/types/lookup' {
10920
11238
  interface PalletVaultsVaultFrameRevenue extends Struct {
10921
11239
  readonly frameId: Compact<u64>;
10922
11240
  readonly bitcoinLockFeeRevenue: Compact<u128>;
11241
+ readonly bitcoinLockFeeCouponValueUsed: Compact<u128>;
10923
11242
  readonly bitcoinLocksCreated: Compact<u32>;
10924
11243
  readonly bitcoinLocksNewLiquidityPromised: Compact<u128>;
10925
11244
  readonly bitcoinLocksReleasedLiquidity: Compact<u128>;
@@ -10963,17 +11282,21 @@ declare module '@polkadot/types/lookup' {
10963
11282
  readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
10964
11283
  readonly isFundingChangeAlreadyScheduled: boolean;
10965
11284
  readonly isPendingCosignsBeforeCollect: boolean;
11285
+ readonly isPendingOrphanedUtxoCosignsBeforeCollect: boolean;
10966
11286
  readonly isAccountAlreadyHasVault: boolean;
10967
- 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';
10968
11288
  }
10969
11289
  /** @name PalletBitcoinLocksLockedBitcoin (395) */
10970
11290
  interface PalletBitcoinLocksLockedBitcoin extends Struct {
10971
11291
  readonly vaultId: Compact<u32>;
10972
- readonly liquidityPromised: u128;
10973
- readonly peggedPrice: u128;
11292
+ readonly liquidityPromised: Compact<u128>;
11293
+ readonly lockedMarketRate: Compact<u128>;
10974
11294
  readonly ownerAccount: AccountId32;
10975
- readonly securityFees: u128;
11295
+ readonly securitizationRatio: u128;
11296
+ readonly securityFees: Compact<u128>;
11297
+ readonly couponPaidFees: Compact<u128>;
10976
11298
  readonly satoshis: Compact<u64>;
11299
+ readonly utxoSatoshis: Option<u64>;
10977
11300
  readonly vaultPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
10978
11301
  readonly vaultClaimPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
10979
11302
  readonly vaultXpubSources: ITuple<[U8aFixed, u32, u32]>;
@@ -10982,9 +11305,9 @@ declare module '@polkadot/types/lookup' {
10982
11305
  readonly openClaimHeight: Compact<u64>;
10983
11306
  readonly createdAtHeight: Compact<u64>;
10984
11307
  readonly utxoScriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
10985
- readonly isVerified: bool;
10986
- readonly isRejectedNeedsRelease: bool;
11308
+ readonly isFunded: bool;
10987
11309
  readonly fundHoldExtensions: BTreeMap<u64, u128>;
11310
+ readonly createdAtArgonBlock: Compact<u32>;
10988
11311
  }
10989
11312
  /** @name PalletBitcoinLocksLockReleaseRequest (397) */
10990
11313
  interface PalletBitcoinLocksLockReleaseRequest extends Struct {
@@ -10995,7 +11318,28 @@ declare module '@polkadot/types/lookup' {
10995
11318
  readonly toScriptPubkey: Bytes;
10996
11319
  readonly redemptionPrice: Compact<u128>;
10997
11320
  }
10998
- /** @name PalletBitcoinLocksError (400) */
11321
+ /** @name PalletBitcoinLocksOrphanedUtxo (399) */
11322
+ interface PalletBitcoinLocksOrphanedUtxo extends Struct {
11323
+ readonly utxoId: Compact<u64>;
11324
+ readonly vaultId: Compact<u32>;
11325
+ readonly satoshis: Compact<u64>;
11326
+ readonly recordedArgonBlockNumber: Compact<u32>;
11327
+ readonly cosignRequest: Option<PalletBitcoinLocksOrphanedUtxoCosignRequest>;
11328
+ }
11329
+ /** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (401) */
11330
+ interface PalletBitcoinLocksOrphanedUtxoCosignRequest extends Struct {
11331
+ readonly bitcoinNetworkFee: u64;
11332
+ readonly toScriptPubkey: Bytes;
11333
+ readonly createdAtArgonBlockNumber: u32;
11334
+ }
11335
+ /** @name PalletBitcoinLocksFeeCoupon (408) */
11336
+ interface PalletBitcoinLocksFeeCoupon extends Struct {
11337
+ readonly vaultId: Compact<u32>;
11338
+ readonly maxSatoshis: Compact<u64>;
11339
+ readonly expirationFrame: Compact<u64>;
11340
+ readonly maxFeePlusTip: Option<u128>;
11341
+ }
11342
+ /** @name PalletBitcoinLocksError (410) */
10999
11343
  interface PalletBitcoinLocksError extends Enum {
11000
11344
  readonly isInsufficientFunds: boolean;
11001
11345
  readonly isInsufficientVaultFunds: boolean;
@@ -11026,11 +11370,21 @@ declare module '@polkadot/types/lookup' {
11026
11370
  readonly isExpirationAtBlockOverflow: boolean;
11027
11371
  readonly isNoRatchetingAvailable: boolean;
11028
11372
  readonly isLockInProcessOfRelease: boolean;
11029
- readonly isUnverifiedLock: boolean;
11373
+ readonly isLockPendingFunding: boolean;
11030
11374
  readonly isOverflowError: boolean;
11031
- readonly type: 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'RedemptionNotLocked' | 'BitcoinReleaseInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForRelease' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'InsufficientSatoshisLocked' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'GenericVaultError' | 'LockNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'VaultNotYetActive' | 'ExpirationAtBlockOverflow' | 'NoRatchetingAvailable' | 'LockInProcessOfRelease' | 'UnverifiedLock' | 'OverflowError';
11032
- }
11033
- /** @name ArgonPrimitivesVaultVaultError (401) */
11375
+ readonly isIneligibleMicrogonRateRequested: boolean;
11376
+ readonly isInvalidFeeCoupon: boolean;
11377
+ readonly isInvalidFeeCouponProof: boolean;
11378
+ readonly isMaxFeeCouponSatoshisExceeded: boolean;
11379
+ readonly isFeeCouponAlreadyExists: boolean;
11380
+ readonly isFeeCouponRequired: boolean;
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';
11386
+ }
11387
+ /** @name ArgonPrimitivesVaultVaultError (411) */
11034
11388
  interface ArgonPrimitivesVaultVaultError extends Enum {
11035
11389
  readonly isVaultClosed: boolean;
11036
11390
  readonly isAccountWouldBeBelowMinimum: boolean;
@@ -11046,7 +11400,7 @@ declare module '@polkadot/types/lookup' {
11046
11400
  readonly isVaultNotYetActive: boolean;
11047
11401
  readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive';
11048
11402
  }
11049
- /** @name PalletNotariesError (413) */
11403
+ /** @name PalletNotariesError (423) */
11050
11404
  interface PalletNotariesError extends Enum {
11051
11405
  readonly isProposalNotFound: boolean;
11052
11406
  readonly isMaxNotariesExceeded: boolean;
@@ -11059,7 +11413,7 @@ declare module '@polkadot/types/lookup' {
11059
11413
  readonly isInvalidNotary: boolean;
11060
11414
  readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
11061
11415
  }
11062
- /** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (417) */
11416
+ /** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (427) */
11063
11417
  interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
11064
11418
  readonly notebookNumber: Compact<u32>;
11065
11419
  readonly tick: Compact<u64>;
@@ -11067,7 +11421,7 @@ declare module '@polkadot/types/lookup' {
11067
11421
  readonly secretHash: H256;
11068
11422
  readonly parentSecret: Option<H256>;
11069
11423
  }
11070
- /** @name PalletNotebookError (420) */
11424
+ /** @name PalletNotebookError (430) */
11071
11425
  interface PalletNotebookError extends Enum {
11072
11426
  readonly isDuplicateNotebookNumber: boolean;
11073
11427
  readonly isMissingNotebookNumber: boolean;
@@ -11086,17 +11440,17 @@ declare module '@polkadot/types/lookup' {
11086
11440
  readonly isInvalidNotebookSubmissionTick: boolean;
11087
11441
  readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
11088
11442
  }
11089
- /** @name PalletChainTransferQueuedTransferOut (421) */
11443
+ /** @name PalletChainTransferQueuedTransferOut (431) */
11090
11444
  interface PalletChainTransferQueuedTransferOut extends Struct {
11091
11445
  readonly accountId: AccountId32;
11092
11446
  readonly amount: u128;
11093
11447
  readonly expirationTick: u64;
11094
11448
  readonly notaryId: u32;
11095
11449
  }
11096
- /** @name FrameSupportPalletId (427) */
11450
+ /** @name FrameSupportPalletId (437) */
11097
11451
  interface FrameSupportPalletId extends U8aFixed {
11098
11452
  }
11099
- /** @name PalletChainTransferError (428) */
11453
+ /** @name PalletChainTransferError (438) */
11100
11454
  interface PalletChainTransferError extends Enum {
11101
11455
  readonly isMaxBlockTransfersExceeded: boolean;
11102
11456
  readonly isInsufficientFunds: boolean;
@@ -11106,7 +11460,7 @@ declare module '@polkadot/types/lookup' {
11106
11460
  readonly isInvalidNotaryUsedForTransfer: boolean;
11107
11461
  readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer';
11108
11462
  }
11109
- /** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (432) */
11463
+ /** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (442) */
11110
11464
  interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
11111
11465
  readonly notaryId: Compact<u32>;
11112
11466
  readonly notebookNumber: Compact<u32>;
@@ -11114,12 +11468,12 @@ declare module '@polkadot/types/lookup' {
11114
11468
  readonly blockVotesCount: Compact<u32>;
11115
11469
  readonly blockVotingPower: Compact<u128>;
11116
11470
  }
11117
- /** @name PalletBlockSealSpecError (437) */
11471
+ /** @name PalletBlockSealSpecError (447) */
11118
11472
  interface PalletBlockSealSpecError extends Enum {
11119
11473
  readonly isMaxNotebooksAtTickExceeded: boolean;
11120
11474
  readonly type: 'MaxNotebooksAtTickExceeded';
11121
11475
  }
11122
- /** @name PalletDomainsError (439) */
11476
+ /** @name PalletDomainsError (449) */
11123
11477
  interface PalletDomainsError extends Enum {
11124
11478
  readonly isDomainNotRegistered: boolean;
11125
11479
  readonly isNotDomainOwner: boolean;
@@ -11128,13 +11482,13 @@ declare module '@polkadot/types/lookup' {
11128
11482
  readonly isAccountDecodingError: boolean;
11129
11483
  readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
11130
11484
  }
11131
- /** @name PalletPriceIndexCpiMeasurementBucket (441) */
11485
+ /** @name PalletPriceIndexCpiMeasurementBucket (451) */
11132
11486
  interface PalletPriceIndexCpiMeasurementBucket extends Struct {
11133
11487
  readonly tickRange: ITuple<[u64, u64]>;
11134
11488
  readonly totalCpi: i128;
11135
11489
  readonly measurementsCount: u32;
11136
11490
  }
11137
- /** @name PalletPriceIndexError (443) */
11491
+ /** @name PalletPriceIndexError (453) */
11138
11492
  interface PalletPriceIndexError extends Enum {
11139
11493
  readonly isNotAuthorizedOperator: boolean;
11140
11494
  readonly isMissingValue: boolean;
@@ -11142,7 +11496,7 @@ declare module '@polkadot/types/lookup' {
11142
11496
  readonly isMaxPriceChangePerTickExceeded: boolean;
11143
11497
  readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded';
11144
11498
  }
11145
- /** @name PalletGrandpaStoredState (444) */
11499
+ /** @name PalletGrandpaStoredState (454) */
11146
11500
  interface PalletGrandpaStoredState extends Enum {
11147
11501
  readonly isLive: boolean;
11148
11502
  readonly isPendingPause: boolean;
@@ -11158,14 +11512,14 @@ declare module '@polkadot/types/lookup' {
11158
11512
  } & Struct;
11159
11513
  readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
11160
11514
  }
11161
- /** @name PalletGrandpaStoredPendingChange (445) */
11515
+ /** @name PalletGrandpaStoredPendingChange (455) */
11162
11516
  interface PalletGrandpaStoredPendingChange extends Struct {
11163
11517
  readonly scheduledAt: u32;
11164
11518
  readonly delay: u32;
11165
11519
  readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
11166
11520
  readonly forced: Option<u32>;
11167
11521
  }
11168
- /** @name PalletGrandpaError (447) */
11522
+ /** @name PalletGrandpaError (457) */
11169
11523
  interface PalletGrandpaError extends Enum {
11170
11524
  readonly isPauseFailed: boolean;
11171
11525
  readonly isResumeFailed: boolean;
@@ -11176,13 +11530,13 @@ declare module '@polkadot/types/lookup' {
11176
11530
  readonly isDuplicateOffenceReport: boolean;
11177
11531
  readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
11178
11532
  }
11179
- /** @name ArgonPrimitivesProvidersBlockSealerInfo (448) */
11533
+ /** @name ArgonPrimitivesProvidersBlockSealerInfo (458) */
11180
11534
  interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
11181
11535
  readonly blockAuthorAccountId: AccountId32;
11182
11536
  readonly blockVoteRewardsAccount: Option<AccountId32>;
11183
11537
  readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
11184
11538
  }
11185
- /** @name PalletBlockSealError (450) */
11539
+ /** @name PalletBlockSealError (460) */
11186
11540
  interface PalletBlockSealError extends Enum {
11187
11541
  readonly isInvalidVoteSealStrength: boolean;
11188
11542
  readonly isInvalidSubmitter: boolean;
@@ -11207,43 +11561,43 @@ declare module '@polkadot/types/lookup' {
11207
11561
  readonly isDuplicateVoteBlockAtTick: boolean;
11208
11562
  readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick' | 'InvalidMinerNonceScore' | 'DuplicateVoteBlockAtTick';
11209
11563
  }
11210
- /** @name PalletBlockRewardsError (454) */
11564
+ /** @name PalletBlockRewardsError (464) */
11211
11565
  type PalletBlockRewardsError = Null;
11212
- /** @name PalletMintMintAction (460) */
11566
+ /** @name PalletMintMintAction (470) */
11213
11567
  interface PalletMintMintAction extends Struct {
11214
11568
  readonly argonBurned: u128;
11215
11569
  readonly argonMinted: u128;
11216
11570
  readonly bitcoinMinted: u128;
11217
11571
  }
11218
- /** @name PalletMintError (461) */
11572
+ /** @name PalletMintError (471) */
11219
11573
  interface PalletMintError extends Enum {
11220
11574
  readonly isTooManyPendingMints: boolean;
11221
11575
  readonly type: 'TooManyPendingMints';
11222
11576
  }
11223
- /** @name PalletBalancesBalanceLock (463) */
11577
+ /** @name PalletBalancesBalanceLock (473) */
11224
11578
  interface PalletBalancesBalanceLock extends Struct {
11225
11579
  readonly id: U8aFixed;
11226
11580
  readonly amount: u128;
11227
11581
  readonly reasons: PalletBalancesReasons;
11228
11582
  }
11229
- /** @name PalletBalancesReasons (464) */
11583
+ /** @name PalletBalancesReasons (474) */
11230
11584
  interface PalletBalancesReasons extends Enum {
11231
11585
  readonly isFee: boolean;
11232
11586
  readonly isMisc: boolean;
11233
11587
  readonly isAll: boolean;
11234
11588
  readonly type: 'Fee' | 'Misc' | 'All';
11235
11589
  }
11236
- /** @name PalletBalancesReserveData (467) */
11590
+ /** @name PalletBalancesReserveData (477) */
11237
11591
  interface PalletBalancesReserveData extends Struct {
11238
11592
  readonly id: U8aFixed;
11239
11593
  readonly amount: u128;
11240
11594
  }
11241
- /** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (470) */
11595
+ /** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (480) */
11242
11596
  interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
11243
11597
  readonly id: ArgonRuntimeRuntimeHoldReason;
11244
11598
  readonly amount: u128;
11245
11599
  }
11246
- /** @name ArgonRuntimeRuntimeHoldReason (471) */
11600
+ /** @name ArgonRuntimeRuntimeHoldReason (481) */
11247
11601
  interface ArgonRuntimeRuntimeHoldReason extends Enum {
11248
11602
  readonly isMiningSlot: boolean;
11249
11603
  readonly asMiningSlot: PalletMiningSlotHoldReason;
@@ -11257,50 +11611,50 @@ declare module '@polkadot/types/lookup' {
11257
11611
  readonly asTreasury: PalletTreasuryHoldReason;
11258
11612
  readonly type: 'MiningSlot' | 'Vaults' | 'BitcoinLocks' | 'BlockRewards' | 'Treasury';
11259
11613
  }
11260
- /** @name PalletMiningSlotHoldReason (472) */
11614
+ /** @name PalletMiningSlotHoldReason (482) */
11261
11615
  interface PalletMiningSlotHoldReason extends Enum {
11262
11616
  readonly isRegisterAsMiner: boolean;
11263
11617
  readonly type: 'RegisterAsMiner';
11264
11618
  }
11265
- /** @name PalletVaultsHoldReason (473) */
11619
+ /** @name PalletVaultsHoldReason (483) */
11266
11620
  interface PalletVaultsHoldReason extends Enum {
11267
11621
  readonly isEnterVault: boolean;
11268
11622
  readonly isObligationFee: boolean;
11269
11623
  readonly isPendingCollect: boolean;
11270
11624
  readonly type: 'EnterVault' | 'ObligationFee' | 'PendingCollect';
11271
11625
  }
11272
- /** @name PalletBitcoinLocksHoldReason (474) */
11626
+ /** @name PalletBitcoinLocksHoldReason (484) */
11273
11627
  interface PalletBitcoinLocksHoldReason extends Enum {
11274
11628
  readonly isReleaseBitcoinLock: boolean;
11275
11629
  readonly type: 'ReleaseBitcoinLock';
11276
11630
  }
11277
- /** @name PalletBlockRewardsHoldReason (475) */
11631
+ /** @name PalletBlockRewardsHoldReason (485) */
11278
11632
  interface PalletBlockRewardsHoldReason extends Enum {
11279
11633
  readonly isMaturationPeriod: boolean;
11280
11634
  readonly type: 'MaturationPeriod';
11281
11635
  }
11282
- /** @name PalletTreasuryHoldReason (476) */
11636
+ /** @name PalletTreasuryHoldReason (486) */
11283
11637
  interface PalletTreasuryHoldReason extends Enum {
11284
11638
  readonly isContributedToTreasury: boolean;
11285
11639
  readonly type: 'ContributedToTreasury';
11286
11640
  }
11287
- /** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (479) */
11641
+ /** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (489) */
11288
11642
  interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
11289
11643
  readonly id: ArgonRuntimeRuntimeFreezeReason;
11290
11644
  readonly amount: u128;
11291
11645
  }
11292
- /** @name ArgonRuntimeRuntimeFreezeReason (480) */
11646
+ /** @name ArgonRuntimeRuntimeFreezeReason (490) */
11293
11647
  interface ArgonRuntimeRuntimeFreezeReason extends Enum {
11294
11648
  readonly isBlockRewards: boolean;
11295
11649
  readonly asBlockRewards: PalletBlockRewardsFreezeReason;
11296
11650
  readonly type: 'BlockRewards';
11297
11651
  }
11298
- /** @name PalletBlockRewardsFreezeReason (481) */
11652
+ /** @name PalletBlockRewardsFreezeReason (491) */
11299
11653
  interface PalletBlockRewardsFreezeReason extends Enum {
11300
11654
  readonly isMaturationPeriod: boolean;
11301
11655
  readonly type: 'MaturationPeriod';
11302
11656
  }
11303
- /** @name PalletBalancesError (483) */
11657
+ /** @name PalletBalancesError (493) */
11304
11658
  interface PalletBalancesError extends Enum {
11305
11659
  readonly isVestingBalance: boolean;
11306
11660
  readonly isLiquidityRestrictions: boolean;
@@ -11316,7 +11670,7 @@ declare module '@polkadot/types/lookup' {
11316
11670
  readonly isDeltaZero: boolean;
11317
11671
  readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
11318
11672
  }
11319
- /** @name PalletTxPauseError (485) */
11673
+ /** @name PalletTxPauseError (495) */
11320
11674
  interface PalletTxPauseError extends Enum {
11321
11675
  readonly isIsPaused: boolean;
11322
11676
  readonly isIsUnpaused: boolean;
@@ -11324,23 +11678,23 @@ declare module '@polkadot/types/lookup' {
11324
11678
  readonly isNotFound: boolean;
11325
11679
  readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
11326
11680
  }
11327
- /** @name PalletTransactionPaymentReleases (486) */
11681
+ /** @name PalletTransactionPaymentReleases (496) */
11328
11682
  interface PalletTransactionPaymentReleases extends Enum {
11329
11683
  readonly isV1Ancient: boolean;
11330
11684
  readonly isV2: boolean;
11331
11685
  readonly type: 'V1Ancient' | 'V2';
11332
11686
  }
11333
- /** @name PalletUtilityError (487) */
11687
+ /** @name PalletUtilityError (497) */
11334
11688
  interface PalletUtilityError extends Enum {
11335
11689
  readonly isTooManyCalls: boolean;
11336
11690
  readonly type: 'TooManyCalls';
11337
11691
  }
11338
- /** @name PalletSudoError (488) */
11692
+ /** @name PalletSudoError (498) */
11339
11693
  interface PalletSudoError extends Enum {
11340
11694
  readonly isRequireSudo: boolean;
11341
11695
  readonly type: 'RequireSudo';
11342
11696
  }
11343
- /** @name PalletIsmpError (489) */
11697
+ /** @name PalletIsmpError (499) */
11344
11698
  interface PalletIsmpError extends Enum {
11345
11699
  readonly isInvalidMessage: boolean;
11346
11700
  readonly isMessageNotFound: boolean;
@@ -11350,9 +11704,9 @@ declare module '@polkadot/types/lookup' {
11350
11704
  readonly isErrorChargingFee: boolean;
11351
11705
  readonly type: 'InvalidMessage' | 'MessageNotFound' | 'ConsensusClientCreationFailed' | 'UnbondingPeriodUpdateFailed' | 'ChallengePeriodUpdateFailed' | 'ErrorChargingFee';
11352
11706
  }
11353
- /** @name PalletHyperbridgeError (490) */
11707
+ /** @name PalletHyperbridgeError (500) */
11354
11708
  type PalletHyperbridgeError = Null;
11355
- /** @name PalletTokenGatewayError (492) */
11709
+ /** @name PalletTokenGatewayError (502) */
11356
11710
  interface PalletTokenGatewayError extends Enum {
11357
11711
  readonly isUnregisteredAsset: boolean;
11358
11712
  readonly isAssetTeleportError: boolean;
@@ -11365,36 +11719,28 @@ declare module '@polkadot/types/lookup' {
11365
11719
  readonly isNotAssetOwner: boolean;
11366
11720
  readonly type: 'UnregisteredAsset' | 'AssetTeleportError' | 'CoprocessorNotConfigured' | 'DispatchError' | 'AssetCreationError' | 'AssetDecimalsNotFound' | 'NotInitialized' | 'UnknownAsset' | 'NotAssetOwner';
11367
11721
  }
11368
- /** @name PalletTreasuryTreasuryPool (494) */
11722
+ /** @name PalletTreasuryTreasuryPool (504) */
11369
11723
  interface PalletTreasuryTreasuryPool extends Struct {
11370
- readonly bondHolders: Vec<ITuple<[AccountId32, PalletTreasuryBondHolder]>>;
11371
- readonly doNotRenew: Vec<AccountId32>;
11372
- readonly isRolledOver: bool;
11724
+ readonly bondHolders: Vec<ITuple<[AccountId32, u128]>>;
11373
11725
  readonly distributedEarnings: Option<u128>;
11374
11726
  readonly vaultSharingPercent: Compact<Permill>;
11375
11727
  }
11376
- /** @name PalletTreasuryBondHolder (497) */
11377
- interface PalletTreasuryBondHolder extends Struct {
11378
- readonly startingBalance: Compact<u128>;
11379
- readonly earnings: Compact<u128>;
11380
- readonly keepEarningsInPool: bool;
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>;
11381
11736
  }
11382
- /** @name PalletTreasuryTreasuryCapital (504) */
11737
+ /** @name PalletTreasuryTreasuryCapital (513) */
11383
11738
  interface PalletTreasuryTreasuryCapital extends Struct {
11384
11739
  readonly vaultId: Compact<u32>;
11385
11740
  readonly activatedCapital: Compact<u128>;
11386
11741
  readonly frameId: Compact<u64>;
11387
11742
  }
11388
- /** @name PalletTreasuryPrebondedArgons (506) */
11389
- interface PalletTreasuryPrebondedArgons extends Struct {
11390
- readonly vaultId: Compact<u32>;
11391
- readonly accountId: AccountId32;
11392
- readonly amountUnbonded: Compact<u128>;
11393
- readonly startingFrameId: Compact<u64>;
11394
- readonly bondedByStartOffset: Vec<u128>;
11395
- readonly maxAmountPerFrame: Compact<u128>;
11396
- }
11397
- /** @name PalletTreasuryError (507) */
11743
+ /** @name PalletTreasuryError (517) */
11398
11744
  interface PalletTreasuryError extends Enum {
11399
11745
  readonly isContributionTooLow: boolean;
11400
11746
  readonly isVaultNotAcceptingMiningBonds: boolean;
@@ -11407,42 +11753,44 @@ declare module '@polkadot/types/lookup' {
11407
11753
  readonly isMaxVaultsExceeded: boolean;
11408
11754
  readonly isAlreadyRenewed: boolean;
11409
11755
  readonly isNotAVaultOperator: boolean;
11410
- readonly isMaxAmountBelowMinimum: boolean;
11411
- 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';
11757
+ }
11758
+ /** @name PalletFeeControlError (518) */
11759
+ interface PalletFeeControlError extends Enum {
11760
+ readonly isSponsoredFeeTooHigh: boolean;
11761
+ readonly type: 'SponsoredFeeTooHigh';
11412
11762
  }
11413
- /** @name FrameSystemExtensionsAuthorizeCall (510) */
11763
+ /** @name FrameSystemExtensionsAuthorizeCall (521) */
11414
11764
  type FrameSystemExtensionsAuthorizeCall = Null;
11415
- /** @name FrameSystemExtensionsCheckNonZeroSender (511) */
11765
+ /** @name FrameSystemExtensionsCheckNonZeroSender (522) */
11416
11766
  type FrameSystemExtensionsCheckNonZeroSender = Null;
11417
- /** @name FrameSystemExtensionsCheckSpecVersion (512) */
11767
+ /** @name FrameSystemExtensionsCheckSpecVersion (523) */
11418
11768
  type FrameSystemExtensionsCheckSpecVersion = Null;
11419
- /** @name FrameSystemExtensionsCheckTxVersion (513) */
11769
+ /** @name FrameSystemExtensionsCheckTxVersion (524) */
11420
11770
  type FrameSystemExtensionsCheckTxVersion = Null;
11421
- /** @name FrameSystemExtensionsCheckGenesis (514) */
11771
+ /** @name FrameSystemExtensionsCheckGenesis (525) */
11422
11772
  type FrameSystemExtensionsCheckGenesis = Null;
11423
- /** @name FrameSystemExtensionsCheckNonce (517) */
11773
+ /** @name FrameSystemExtensionsCheckNonce (528) */
11424
11774
  interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
11425
11775
  }
11426
- /** @name FrameSystemExtensionsCheckWeight (518) */
11776
+ /** @name FrameSystemExtensionsCheckWeight (529) */
11427
11777
  type FrameSystemExtensionsCheckWeight = Null;
11428
- /** @name PalletTransactionPaymentChargeTransactionPayment (519) */
11778
+ /** @name PalletTransactionPaymentChargeTransactionPayment (530) */
11429
11779
  interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
11430
11780
  }
11431
- /** @name FrameMetadataHashExtensionCheckMetadataHash (520) */
11781
+ /** @name FrameMetadataHashExtensionCheckMetadataHash (531) */
11432
11782
  interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
11433
11783
  readonly mode: FrameMetadataHashExtensionMode;
11434
11784
  }
11435
- /** @name FrameMetadataHashExtensionMode (521) */
11785
+ /** @name FrameMetadataHashExtensionMode (532) */
11436
11786
  interface FrameMetadataHashExtensionMode extends Enum {
11437
11787
  readonly isDisabled: boolean;
11438
11788
  readonly isEnabled: boolean;
11439
11789
  readonly type: 'Disabled' | 'Enabled';
11440
11790
  }
11441
- /** @name FrameSystemExtensionsWeightReclaim (522) */
11791
+ /** @name FrameSystemExtensionsWeightReclaim (533) */
11442
11792
  type FrameSystemExtensionsWeightReclaim = Null;
11443
- /** @name ArgonRuntimeProxyFeeRefund (523) */
11444
- type ArgonRuntimeProxyFeeRefund = Null;
11445
- /** @name ArgonRuntimeRuntime (525) */
11793
+ /** @name ArgonRuntimeRuntime (535) */
11446
11794
  type ArgonRuntimeRuntime = Null;
11447
11795
  }
11448
11796
 
@@ -11603,12 +11951,27 @@ declare function getFrameInfoFromHeader(header: Header): {
11603
11951
  frameRewardTicksRemaining: number;
11604
11952
  } | undefined;
11605
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
+ }
11606
11966
  declare class Vault {
11607
11967
  tickDuration: number;
11608
11968
  securitization: bigint;
11609
- argonsLocked: bigint;
11610
- argonsPendingActivation: bigint;
11611
- argonsScheduledForRelease: Map<number, bigint>;
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>;
11612
11975
  terms: ITerms;
11613
11976
  operatorAccountId: string;
11614
11977
  isClosed: boolean;
@@ -11619,15 +11982,14 @@ declare class Vault {
11619
11982
  openedTick: number;
11620
11983
  securitizationRatio: number;
11621
11984
  constructor(id: number, vault: ArgonPrimitivesVault, tickDuration: number);
11622
- load(vault: ArgonPrimitivesVault): void;
11985
+ load(vault: ArgonPrimitivesVault | ArgonPrimitivesVaultV144): void;
11623
11986
  availableBitcoinSpace(): bigint;
11987
+ availableSecuritization(): bigint;
11624
11988
  getRelockCapacity(): bigint;
11625
11989
  securitizationRatioBN(): BigNumber;
11626
- recoverySecuritization(): bigint;
11627
- minimumSecuritization(): bigint;
11628
11990
  activatedSecuritization(): bigint;
11629
11991
  /**
11630
- * Returns the amount of Argons available to match per treasury pool
11992
+ * Returns the amount of securitization available to match per treasury pool
11631
11993
  */
11632
11994
  activatedSecuritizationPerSlot(): bigint;
11633
11995
  calculateBitcoinFee(amount: bigint): bigint;
@@ -11674,14 +12036,19 @@ declare class PriceIndex {
11674
12036
 
11675
12037
  declare const SATS_PER_BTC = 100000000n;
11676
12038
  type IQueryableClient = ArgonClient | ApiDecoration<'promise'>;
12039
+ type UtxoRefLike = ArgonPrimitivesBitcoinUtxoRef | {
12040
+ txid: string | Uint8Array;
12041
+ outputIndex: number;
12042
+ };
11677
12043
  declare class BitcoinLock implements IBitcoinLock {
11678
12044
  utxoId: number;
11679
12045
  p2wshScriptHashHex: string;
11680
12046
  vaultId: number;
11681
- peggedPrice: bigint;
12047
+ lockedMarketRate: bigint;
11682
12048
  liquidityPromised: bigint;
11683
12049
  ownerAccount: string;
11684
12050
  satoshis: bigint;
12051
+ utxoSatoshis?: bigint;
11685
12052
  vaultPubkey: string;
11686
12053
  securityFees: bigint;
11687
12054
  vaultClaimPubkey: string;
@@ -11694,8 +12061,8 @@ declare class BitcoinLock implements IBitcoinLock {
11694
12061
  vaultClaimHeight: number;
11695
12062
  openClaimHeight: number;
11696
12063
  createdAtHeight: number;
11697
- isVerified: boolean;
11698
- isRejectedNeedsRelease: boolean;
12064
+ isFunded: boolean;
12065
+ createdAtArgonBlock: number;
11699
12066
  fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
11700
12067
  constructor(data: IBitcoinLock);
11701
12068
  /**
@@ -11706,7 +12073,7 @@ declare class BitcoinLock implements IBitcoinLock {
11706
12073
  * @return.vout - The output index of the UTXO in the transaction.
11707
12074
  * @return.bitcoinTxid - The Bitcoin transaction ID of the UTXO formatted in little endian
11708
12075
  */
11709
- getUtxoRef(client: IQueryableClient): Promise<{
12076
+ getFundingUtxoRef(client: IQueryableClient): Promise<{
11710
12077
  txid: string;
11711
12078
  vout: number;
11712
12079
  bitcoinTxid: string;
@@ -11722,12 +12089,14 @@ declare class BitcoinLock implements IBitcoinLock {
11722
12089
  priceIndex: PriceIndex;
11723
12090
  argonKeyring: KeyringPair;
11724
12091
  vault: Vault;
12092
+ microgonsPerBtc?: bigint;
12093
+ couponProofKeypair?: KeyringPair;
11725
12094
  } & ISubmittableOptions): Promise<{
11726
12095
  txResult: TxResult;
11727
12096
  getRatchetResult: () => Promise<{
11728
12097
  securityFee: bigint;
11729
12098
  txFee: bigint;
11730
- newPeggedPrice: bigint;
12099
+ newLockedMarketRate: bigint;
11731
12100
  liquidityPromised: bigint;
11732
12101
  pendingMint: bigint;
11733
12102
  burned: bigint;
@@ -11758,7 +12127,7 @@ declare class BitcoinLock implements IBitcoinLock {
11758
12127
  static getMarketRate(priceIndex: PriceIndex, satoshis: number | bigint): Promise<bigint>;
11759
12128
  static getRedemptionRate(priceIndex: PriceIndex, details: {
11760
12129
  satoshis: bigint;
11761
- peggedPrice?: bigint;
12130
+ lockedMarketRate?: bigint;
11762
12131
  }): Promise<bigint>;
11763
12132
  static getConfig(client: IQueryableClient): Promise<IBitcoinLockConfig>;
11764
12133
  static getBitcoinConfirmedBlockHeight(client: IQueryableClient): Promise<number>;
@@ -11768,8 +12137,43 @@ declare class BitcoinLock implements IBitcoinLock {
11768
12137
  vaultSignature: Uint8Array;
11769
12138
  argonKeyring: KeyringPair;
11770
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>;
11771
12161
  static get(client: IQueryableClient, utxoId: number): Promise<BitcoinLock | undefined>;
11772
12162
  static blockHashAtHeight(client: ArgonClient, atHeight: number): Promise<string | undefined>;
12163
+ static areFeeCouponsSupported(client: ArgonClient): boolean;
12164
+ static createCouponProof(args: {
12165
+ couponProofKeypair: KeyringPair;
12166
+ argonKeyring: KeyringPair;
12167
+ }): {
12168
+ public: Uint8Array;
12169
+ signature: Uint8Array;
12170
+ };
12171
+ static createFeeCouponTx(args: {
12172
+ client: ArgonClient;
12173
+ couponProofKeypair: KeyringPair;
12174
+ maxSatoshis: number;
12175
+ maxFeePlusTip?: bigint;
12176
+ }): SubmittableExtrinsic$1 | undefined;
11773
12177
  static createInitializeTx(args: {
11774
12178
  client: ArgonClient;
11775
12179
  vault: Vault;
@@ -11778,9 +12182,13 @@ declare class BitcoinLock implements IBitcoinLock {
11778
12182
  satoshis: bigint;
11779
12183
  argonKeyring: KeyringPair;
11780
12184
  reducedBalanceBy?: bigint;
12185
+ microgonsPerBtc?: bigint;
11781
12186
  tip?: bigint;
12187
+ initializeForAccountId?: string;
12188
+ couponProofKeypair?: KeyringPair;
12189
+ skipCouponProofCheck?: boolean;
11782
12190
  }): Promise<{
11783
- tx: _polkadot_api_types.SubmittableExtrinsic<"promise", _polkadot_types_types_extrinsic.ISubmittableResult>;
12191
+ tx: SubmittableExtrinsic$1;
11784
12192
  securityFee: bigint;
11785
12193
  txFee: bigint;
11786
12194
  canAfford: boolean;
@@ -11814,6 +12222,7 @@ interface IBitcoinLockConfig {
11814
12222
  pendingConfirmationExpirationBlocks: number;
11815
12223
  tickDurationMillis: number;
11816
12224
  bitcoinNetwork: ArgonPrimitivesBitcoinBitcoinNetwork;
12225
+ lockSatoshiAllowedVariance: number;
11817
12226
  }
11818
12227
  interface IReleaseRequest {
11819
12228
  toScriptPubkey: string;
@@ -11828,10 +12237,11 @@ interface IBitcoinLock {
11828
12237
  utxoId: number;
11829
12238
  p2wshScriptHashHex: string;
11830
12239
  vaultId: number;
11831
- peggedPrice: bigint;
12240
+ lockedMarketRate: bigint;
11832
12241
  liquidityPromised: bigint;
11833
12242
  ownerAccount: string;
11834
12243
  satoshis: bigint;
12244
+ utxoSatoshis?: bigint;
11835
12245
  vaultPubkey: string;
11836
12246
  securityFees: bigint;
11837
12247
  vaultClaimPubkey: string;
@@ -11844,8 +12254,8 @@ interface IBitcoinLock {
11844
12254
  vaultClaimHeight: number;
11845
12255
  openClaimHeight: number;
11846
12256
  createdAtHeight: number;
11847
- isVerified: boolean;
11848
- isRejectedNeedsRelease: boolean;
12257
+ isFunded: boolean;
12258
+ createdAtArgonBlock: number;
11849
12259
  fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
11850
12260
  }
11851
12261