@argonprotocol/mainchain 1.4.12-dev.8cae3588 → 1.4.12-dev.dd86fab9

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.
@@ -1,15 +1,15 @@
1
- import { ApiTypes, AugmentedConst, AugmentedError, AugmentedEvent, AugmentedQuery, AugmentedSubmittable, SubmittableExtrinsic, AugmentedCall, SignerOptions } from '@polkadot/api-base/types';
1
+ import { ApiTypes, AugmentedConst, AugmentedError, AugmentedEvent, AugmentedQuery, AugmentedSubmittable, SubmittableExtrinsic, AugmentedCall } from '@polkadot/api-base/types';
2
2
  import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, i128, U8aFixed, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, U256, U64, f64, Json, BitVec, Bool, f32, F32, F64, I128, i16, I16, i256, I256, i32, I32, i64, I64, i8, I8, isize, ISize, OptionBool, Raw, Type, U128, U16, u256, U32, U8, usize, USize, Struct, Enum } from '@polkadot/types-codec';
3
3
  export { BTreeMap, Bool, Bytes, Compact, Enum, Null, Option, Range, Result, Struct, Text, Tuple, U256, U8aFixed, Vec, bool, i128, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
- import { ITuple, AnyNumber, IMethod, Codec, AnyJson } from '@polkadot/types-codec/types';
4
+ import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
5
5
  export { Codec, ITuple } from '@polkadot/types-codec/types';
6
- import { AccountId32, Percent, H160, H256, MultiAddress, Call, Hash, SignedBlock, BlockNumber, Header, StorageData, AccountId, Justification, H64, KeyValue, Index, Block, ExtrinsicInclusionMode, 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, KeyTypeId, 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';
6
+ import { Percent, AccountId32, H160, H256, MultiAddress, Call, Hash, SignedBlock, BlockNumber, Header, StorageData, AccountId, Justification, H64, KeyValue, Index, Block, ExtrinsicInclusionMode, 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, KeyTypeId, 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, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, PalletBalancesUnexpectedKind, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferSourceChain, PalletCrosschainTransferGatewayState, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferCouncilApprovalTargetId, PalletCrosschainTransferAssetKind, PalletCrosschainTransferTransferToArgonActivity, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, PalletEthereumVerifierBasicOperatingMode, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesProvidersOperationalRewardKind, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletTreasuryBondProgramId, PalletTreasuryBondReleaseReason, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutTransferOutOfArgon, PalletCrosschainTransferAccountTransferTotals, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesEthereumEthereumBeaconPreset, PalletEthereumVerifierSyncCommitteePrepared, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMintMintQueueCursor, PalletMintPendingMintUtxo, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexPriceIndex, PalletPriceIndexEthereumPriceIndex, PalletPriceIndexArgonotAverageFrameAccumulator, PalletPriceIndexCpiMeasurementBucket, PalletPriceIndexEthereumPriceFrameAccumulator, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, FrameSupportTokensFungibleImbalance, PalletTreasuryBondLotSummary, PalletTreasuryBondLot, PalletTreasuryVaultBondState, PalletTreasuryFrameArgonotBondParticipants, PalletTreasuryFrameVaultCapital, ArgonPrimitivesVaultVaultArgonotCommitment, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, PalletBootstrapRecoveryProof, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, PalletEthereumVerifierCheckpointUpdate, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierUpdate, SpConsensusGrandpaEquivocationProof, SpCoreVoid, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, ArgonPrimitivesVaultTreasuryBonusApprovalProof, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
8
+ import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, PalletBalancesUnexpectedKind, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferSourceChain, PalletCrosschainTransferGatewayState, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferCouncilApprovalTargetId, PalletCrosschainTransferAssetKind, PalletCrosschainTransferTransferToArgonActivity, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, PalletEthereumVerifierBasicOperatingMode, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesProvidersOperationalRewardKind, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletTreasuryBondProgramId, PalletTreasuryBondReleaseReason, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinFissionsFission, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoAddress, ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutTransferOutOfArgon, PalletCrosschainTransferAccountTransferTotals, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesEthereumEthereumBeaconPreset, PalletEthereumVerifierSyncCommitteePrepared, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMintMintQueueCursor, PalletMintPendingMintUtxo, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexPriceIndex, PalletPriceIndexEthereumPriceIndex, PalletPriceIndexArgonotAverageFrameAccumulator, PalletPriceIndexCpiMeasurementBucket, PalletPriceIndexEthereumPriceFrameAccumulator, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, FrameSupportTokensFungibleImbalance, PalletTreasuryBondLotSummary, PalletTreasuryBondLot, PalletTreasuryVaultBondState, PalletTreasuryFrameArgonotBondParticipants, PalletTreasuryFrameVaultCapital, ArgonPrimitivesVaultVaultArgonotCommitment, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, PalletBootstrapRecoveryProof, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, PalletEthereumVerifierCheckpointUpdate, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierUpdate, SpConsensusGrandpaEquivocationProof, SpCoreVoid, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, ArgonPrimitivesVaultTreasuryBonusApprovalProof, 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';
12
- import { StorageKey, Metadata, Data, GenericEvent as GenericEvent$1, TypeRegistry } from '@polkadot/types';
12
+ import { StorageKey, Metadata, Data, TypeRegistry } from '@polkadot/types';
13
13
  import { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
14
14
  export { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
15
15
  import { EpochAuthorship, OpaqueKeyOwnershipProof, AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';
@@ -92,14 +92,12 @@ import { ApiDecoration, ApiOptions } from '@polkadot/api/types';
92
92
  export { ApiDecoration } from '@polkadot/api/types';
93
93
  import { SubmittableExtrinsic as SubmittableExtrinsic$1 } from '@polkadot/api/promise/types';
94
94
  export { SubmittableExtrinsic } from '@polkadot/api/promise/types';
95
- import { ISubmittableResult } from '@polkadot/types/types/extrinsic';
96
- export { IExtrinsic, ISignerPayload, ISubmittableResult, Signer, SignerResult } from '@polkadot/types/types/extrinsic';
97
- import { GenericEvent } from '@polkadot/types/generic';
98
- export { GenericAddress, GenericBlock, GenericEvent } from '@polkadot/types/generic';
99
95
  import BigNumber from 'bignumber.js';
100
96
  import { Hex, ContractFunctionArgs, Address as Address$1, Abi, createPublicClient } from 'viem';
101
97
  import { BlockHeader } from '@ethereumjs/block';
102
98
  export { hexToU8a, u8aEq, u8aToHex } from '@polkadot/util';
99
+ export { GenericAddress, GenericBlock, GenericEvent } from '@polkadot/types/generic';
100
+ export { IExtrinsic, ISignerPayload, ISubmittableResult, Signer, SignerResult } from '@polkadot/types/types/extrinsic';
103
101
 
104
102
  declare module '@polkadot/api-base/types/consts' {
105
103
  interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -133,6 +131,16 @@ declare module '@polkadot/api-base/types/consts' {
133
131
  **/
134
132
  maxReserves: u32 & AugmentedConst<ApiType>;
135
133
  };
134
+ bitcoinFissions: {
135
+ /**
136
+ * Maximum number of active Fissions that may allocate satoshis from one Lock.
137
+ **/
138
+ maxFissionsPerLock: u32 & AugmentedConst<ApiType>;
139
+ /**
140
+ * Minimum percentage change required to ratchet a Fission.
141
+ **/
142
+ minimumRatchetPercent: Percent & AugmentedConst<ApiType>;
143
+ };
136
144
  bitcoinLocks: {
137
145
  /**
138
146
  * Argon tick per day
@@ -164,6 +172,10 @@ declare module '@polkadot/api-base/types/consts' {
164
172
  * Maximum releasing utxos at a time
165
173
  **/
166
174
  maxConcurrentlyReleasingLocks: u32 & AugmentedConst<ApiType>;
175
+ /**
176
+ * Max bitcoin blocks up to which the first observed output may fund the Lock.
177
+ **/
178
+ maxPendingConfirmationBlocks: u64 & AugmentedConst<ApiType>;
167
179
  /**
168
180
  * Number of frames orphaned UTXO release entries are retained after a lock lifecycle
169
181
  * transition before being cleaned up.
@@ -176,27 +188,9 @@ declare module '@polkadot/api-base/types/consts' {
176
188
  };
177
189
  bitcoinUtxos: {
178
190
  /**
179
- * Maximum number of candidate UTXOs stored per lock
180
- **/
181
- maxCandidateUtxosPerLock: u32 & AugmentedConst<ApiType>;
182
- /**
183
- * Maximum number of satoshi difference allowed from expected to consider a UTXO as
184
- * "confirmed"
185
- **/
186
- maximumSatoshiThresholdFromExpected: u64 & AugmentedConst<ApiType>;
187
- /**
188
- * Maximum bitcoin blocks to accept a UTXO for confirmation. Expired locks remain watched
189
- * for this many additional blocks so late funding can be detected as orphaned.
190
- **/
191
- maxPendingConfirmationBlocks: u64 & AugmentedConst<ApiType>;
192
- /**
193
- * The maximum number of UTXOs that can be watched in a block and/or expiring at same block
191
+ * Maximum number of outputs tracked for a single Lock address.
194
192
  **/
195
- maxPendingConfirmationUtxos: u32 & AugmentedConst<ApiType>;
196
- /**
197
- * The maximum number of expired pending funding entries cleaned up in a block
198
- **/
199
- maxPendingFundingExpirationsPerBlock: u32 & AugmentedConst<ApiType>;
193
+ maxUtxosPerLock: u32 & AugmentedConst<ApiType>;
200
194
  };
201
195
  blockRewards: {
202
196
  /**
@@ -813,6 +807,88 @@ declare module '@polkadot/api-base/types/errors' {
813
807
  **/
814
808
  VestingBalance: AugmentedError<ApiType>;
815
809
  };
810
+ bitcoinFissions: {
811
+ /**
812
+ * A Fission already exists under this owner and Fission ID.
813
+ **/
814
+ FissionAlreadyExists: AugmentedError<ApiType>;
815
+ /**
816
+ * A Fission must allocate at least one satoshi.
817
+ **/
818
+ FissionHasNoSatoshis: AugmentedError<ApiType>;
819
+ /**
820
+ * The submitted Fission ID is below the owner's current minimum.
821
+ **/
822
+ FissionIdBelowMinimum: AugmentedError<ApiType>;
823
+ /**
824
+ * The owner's Fission ID counter cannot be incremented.
825
+ **/
826
+ FissionIdOverflow: AugmentedError<ApiType>;
827
+ /**
828
+ * No Fission exists under this owner and Fission ID.
829
+ **/
830
+ FissionNotFound: AugmentedError<ApiType>;
831
+ /**
832
+ * The requested target-normalized BTC value is not present in recent price history.
833
+ **/
834
+ IneligibleMicrogonsAtTargetPerBtc: AugmentedError<ApiType>;
835
+ /**
836
+ * A source Lock has fewer active Fission satoshis than the Fission being closed.
837
+ **/
838
+ InsufficientFissionedSatoshis: AugmentedError<ApiType>;
839
+ /**
840
+ * A requested source Lock does not have enough unallocated funded satoshis.
841
+ **/
842
+ InsufficientFundedSatoshis: AugmentedError<ApiType>;
843
+ /**
844
+ * The Fission owner cannot burn the complete redemption amount.
845
+ **/
846
+ InsufficientFunds: AugmentedError<ApiType>;
847
+ /**
848
+ * A source Lock's securitization does not cover the requested allocation and liability.
849
+ **/
850
+ InsufficientSecuritization: AugmentedError<ApiType>;
851
+ /**
852
+ * The requested source Lock does not exist.
853
+ **/
854
+ LockNotFound: AugmentedError<ApiType>;
855
+ /**
856
+ * A requested source Lock has no confirmed funding satoshis.
857
+ **/
858
+ LockNotFunded: AugmentedError<ApiType>;
859
+ /**
860
+ * A requested source Lock is already in the release process.
861
+ **/
862
+ LockReleasePending: AugmentedError<ApiType>;
863
+ /**
864
+ * The requested price-history entry predates the Fission or Lock coverage floor.
865
+ **/
866
+ MicrogonsAtTargetPerBtcTickOlderThanCurrent: AugmentedError<ApiType>;
867
+ /**
868
+ * No current Bitcoin price is available to calculate the redemption amount.
869
+ **/
870
+ NoBitcoinPricesAvailable: AugmentedError<ApiType>;
871
+ /**
872
+ * The caller does not own a requested source Lock.
873
+ **/
874
+ NoPermissions: AugmentedError<ApiType>;
875
+ /**
876
+ * The Fission did not meet both the minimum change and Lock coverage requirements.
877
+ **/
878
+ NoRatchetingAvailable: AugmentedError<ApiType>;
879
+ /**
880
+ * A Fission allocation, liability, or identifier overflowed.
881
+ **/
882
+ Overflow: AugmentedError<ApiType>;
883
+ /**
884
+ * The Fission's ratchet counter cannot be incremented.
885
+ **/
886
+ RatchetNumberOverflow: AugmentedError<ApiType>;
887
+ /**
888
+ * The source Lock already has the maximum number of active Fissions.
889
+ **/
890
+ TooManyFissionsForLock: AugmentedError<ApiType>;
891
+ };
816
892
  bitcoinLocks: {
817
893
  /**
818
894
  * The proposed transaction would take the account below the minimum (existential) balance
@@ -859,9 +935,9 @@ declare module '@polkadot/api-base/types/errors' {
859
935
  **/
860
936
  FeeCouponExpired: AugmentedError<ApiType>;
861
937
  /**
862
- * Fee coupons can only be applied when initializing a lock.
938
+ * The Lock records fissioned satoshis without matching active Fission requirements.
863
939
  **/
864
- FeeCouponOnlyForInitialization: AugmentedError<ApiType>;
940
+ FissionStateMismatch: AugmentedError<ApiType>;
865
941
  /**
866
942
  * Cannot request an orphaned release for the funding UTXO
867
943
  **/
@@ -875,14 +951,18 @@ declare module '@polkadot/api-base/types/errors' {
875
951
  **/
876
952
  HoldUnexpectedlyModified: AugmentedError<ApiType>;
877
953
  /**
878
- * An ineligible microgon rate per btc was requested
954
+ * The requested target-normalized BTC value is not present in recent price history.
879
955
  **/
880
- IneligibleMicrogonRateRequested: AugmentedError<ApiType>;
956
+ IneligibleMicrogonsAtTargetPerBtcRequested: AugmentedError<ApiType>;
881
957
  InsufficientFunds: AugmentedError<ApiType>;
882
958
  /**
883
- * The minimum number of satoshis was not met
959
+ * The requested Lock securitization has fewer satoshis than its active Fissions.
884
960
  **/
885
- InsufficientSatoshisLocked: AugmentedError<ApiType>;
961
+ InsufficientSatoshisForFissions: AugmentedError<ApiType>;
962
+ /**
963
+ * The requested Lock securitization does not cover its active Fission liabilities.
964
+ **/
965
+ InsufficientSecuritizationForFissions: AugmentedError<ApiType>;
886
966
  InsufficientVaultFunds: AugmentedError<ApiType>;
887
967
  /**
888
968
  * The bitcoin script to lock this bitcoin has errors
@@ -897,7 +977,11 @@ declare module '@polkadot/api-base/types/errors' {
897
977
  **/
898
978
  InvalidVaultAmount: AugmentedError<ApiType>;
899
979
  /**
900
- * A lock in process of release cannot be ratcheted
980
+ * The Lock cannot be released while it has active Fissions.
981
+ **/
982
+ LockHasActiveFissions: AugmentedError<ApiType>;
983
+ /**
984
+ * A Lock in the release process cannot be resecuritized.
901
985
  **/
902
986
  LockInProcessOfRelease: AugmentedError<ApiType>;
903
987
  /**
@@ -912,6 +996,10 @@ declare module '@polkadot/api-base/types/errors' {
912
996
  * Too many orphaned utxo release requests for a lock
913
997
  **/
914
998
  MaxOrphanedUtxoReleaseRequestsExceeded: AugmentedError<ApiType>;
999
+ /**
1000
+ * The requested price-history entry predates the Lock's current securitization.
1001
+ **/
1002
+ MicrogonsAtTargetPerBtcTickOlderThanCurrent: AugmentedError<ApiType>;
915
1003
  /**
916
1004
  * The price provider has no bitcoin prices available. This is a temporary error
917
1005
  **/
@@ -921,9 +1009,9 @@ declare module '@polkadot/api-base/types/errors' {
921
1009
  **/
922
1010
  NoPermissions: AugmentedError<ApiType>;
923
1011
  /**
924
- * Nothing to ratchet
1012
+ * The requested securitization matches the Lock's current securitization.
925
1013
  **/
926
- NoRatchetingAvailable: AugmentedError<ApiType>;
1014
+ NoResecuritizationChange: AugmentedError<ApiType>;
927
1015
  /**
928
1016
  * No Vault public keys are available
929
1017
  **/
@@ -986,18 +1074,14 @@ declare module '@polkadot/api-base/types/errors' {
986
1074
  * Invalid bitcoin sync height attempted
987
1075
  **/
988
1076
  InvalidBitcoinSyncHeight: AugmentedError<ApiType>;
989
- /**
990
- * This Lock already has an attached funding UTXO
991
- **/
992
- LockAlreadyFunded: AugmentedError<ApiType>;
993
- /**
994
- * Too many candidate UTXOs are being stored for this lock
995
- **/
996
- MaxCandidateUtxosExceeded: AugmentedError<ApiType>;
997
1077
  /**
998
1078
  * Too many UTXOs are being watched
999
1079
  **/
1000
1080
  MaxUtxosExceeded: AugmentedError<ApiType>;
1081
+ /**
1082
+ * Too many outputs have been observed at one Lock address.
1083
+ **/
1084
+ MaxUtxosPerLockExceeded: AugmentedError<ApiType>;
1001
1085
  /**
1002
1086
  * No Oracle-provided bitcoin block has been provided to the network
1003
1087
  **/
@@ -1019,11 +1103,7 @@ declare module '@polkadot/api-base/types/errors' {
1019
1103
  **/
1020
1104
  ScriptPubkeyConflict: AugmentedError<ApiType>;
1021
1105
  /**
1022
- * The UTXO reference does not map to a candidate entry
1023
- **/
1024
- UtxoNotCandidate: AugmentedError<ApiType>;
1025
- /**
1026
- * Locked Utxo Not Found
1106
+ * Watched Lock or attached UTXO not found.
1027
1107
  **/
1028
1108
  UtxoNotLocked: AugmentedError<ApiType>;
1029
1109
  };
@@ -2523,6 +2603,64 @@ declare module '@polkadot/api-base/types/events' {
2523
2603
  amount: u128;
2524
2604
  }>;
2525
2605
  };
2606
+ bitcoinFissions: {
2607
+ /**
2608
+ * A Fission was closed and its source Lock allocation was released.
2609
+ **/
2610
+ FissionClosed: AugmentedEvent<ApiType, [
2611
+ accountId: AccountId32,
2612
+ fissionId: u64,
2613
+ redemptionAmount: u128
2614
+ ], {
2615
+ accountId: AccountId32;
2616
+ fissionId: u64;
2617
+ redemptionAmount: u128;
2618
+ }>;
2619
+ /**
2620
+ * An active Fission was closed because its source Lock was spent.
2621
+ **/
2622
+ FissionClosedByLock: AugmentedEvent<ApiType, [
2623
+ accountId: AccountId32,
2624
+ fissionId: u64,
2625
+ utxoId: u64
2626
+ ], {
2627
+ accountId: AccountId32;
2628
+ fissionId: u64;
2629
+ utxoId: u64;
2630
+ }>;
2631
+ /**
2632
+ * A Fission was created and allocated from its source Lock.
2633
+ **/
2634
+ FissionCreated: AugmentedEvent<ApiType, [
2635
+ accountId: AccountId32,
2636
+ fissionId: u64,
2637
+ liquidId: u64,
2638
+ liquidityPromised: u128
2639
+ ], {
2640
+ accountId: AccountId32;
2641
+ fissionId: u64;
2642
+ liquidId: u64;
2643
+ liquidityPromised: u128;
2644
+ }>;
2645
+ /**
2646
+ * A Fission ratchet changed its target-normalized BTC value and liability.
2647
+ **/
2648
+ FissionRatcheted: AugmentedEvent<ApiType, [
2649
+ accountId: AccountId32,
2650
+ fissionId: u64,
2651
+ ratchetNumber: u32,
2652
+ liquidityPromised: u128,
2653
+ amountMinted: u128,
2654
+ amountBurned: u128
2655
+ ], {
2656
+ accountId: AccountId32;
2657
+ fissionId: u64;
2658
+ ratchetNumber: u32;
2659
+ liquidityPromised: u128;
2660
+ amountMinted: u128;
2661
+ amountBurned: u128;
2662
+ }>;
2663
+ };
2526
2664
  bitcoinLocks: {
2527
2665
  BitcoinCosignPastDue: AugmentedEvent<ApiType, [
2528
2666
  utxoId: u64,
@@ -2547,17 +2685,17 @@ declare module '@polkadot/api-base/types/events' {
2547
2685
  BitcoinLockCreated: AugmentedEvent<ApiType, [
2548
2686
  utxoId: u64,
2549
2687
  vaultId: u32,
2550
- liquidityPromised: u128,
2551
- securitization: u128,
2552
- lockedTargetPrice: u128,
2688
+ securitizedSatoshis: u64,
2689
+ microgonsAtTargetPerBtc: u128,
2690
+ collateralRequired: u128,
2553
2691
  accountId: AccountId32,
2554
2692
  securityFee: u128
2555
2693
  ], {
2556
2694
  utxoId: u64;
2557
2695
  vaultId: u32;
2558
- liquidityPromised: u128;
2559
- securitization: u128;
2560
- lockedTargetPrice: u128;
2696
+ securitizedSatoshis: u64;
2697
+ microgonsAtTargetPerBtc: u128;
2698
+ collateralRequired: u128;
2561
2699
  accountId: AccountId32;
2562
2700
  securityFee: u128;
2563
2701
  }>;
@@ -2570,23 +2708,17 @@ declare module '@polkadot/api-base/types/events' {
2570
2708
  vaultId: u32;
2571
2709
  isFlexible: bool;
2572
2710
  }>;
2573
- BitcoinLockRatcheted: AugmentedEvent<ApiType, [
2711
+ BitcoinLockResecuritized: AugmentedEvent<ApiType, [
2574
2712
  utxoId: u64,
2575
2713
  vaultId: u32,
2576
- liquidityPromised: u128,
2577
- oldTargetPrice: u128,
2578
- securityFee: u128,
2579
- newTargetPrice: u128,
2580
- amountBurned: u128,
2714
+ securitizedSatoshis: u64,
2715
+ microgonsAtTargetPerBtc: u128,
2581
2716
  accountId: AccountId32
2582
2717
  ], {
2583
2718
  utxoId: u64;
2584
2719
  vaultId: u32;
2585
- liquidityPromised: u128;
2586
- oldTargetPrice: u128;
2587
- securityFee: u128;
2588
- newTargetPrice: u128;
2589
- amountBurned: u128;
2720
+ securitizedSatoshis: u64;
2721
+ microgonsAtTargetPerBtc: u128;
2590
2722
  accountId: AccountId32;
2591
2723
  }>;
2592
2724
  BitcoinSpentAfterRelease: AugmentedEvent<ApiType, [
@@ -2632,6 +2764,18 @@ declare module '@polkadot/api-base/types/events' {
2632
2764
  utxoId: u64;
2633
2765
  error: SpRuntimeDispatchError;
2634
2766
  }>;
2767
+ /**
2768
+ * Not all orphaned UTXOs for a retired Lock fit in the cleanup schedule.
2769
+ **/
2770
+ OrphanedUtxoCleanupScheduleOverflow: AugmentedEvent<ApiType, [
2771
+ accountId: AccountId32,
2772
+ utxoId: u64,
2773
+ expirationFrame: u64
2774
+ ], {
2775
+ accountId: AccountId32;
2776
+ utxoId: u64;
2777
+ expirationFrame: u64;
2778
+ }>;
2635
2779
  OrphanedUtxoCosigned: AugmentedEvent<ApiType, [
2636
2780
  utxoId: u64,
2637
2781
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
@@ -2645,40 +2789,30 @@ declare module '@polkadot/api-base/types/events' {
2645
2789
  accountId: AccountId32;
2646
2790
  signature: Bytes;
2647
2791
  }>;
2648
- OrphanedUtxoReceived: AugmentedEvent<ApiType, [
2649
- utxoId: u64,
2792
+ /**
2793
+ * An orphaned UTXO expiration could not reconcile its pending Vault cosign state.
2794
+ **/
2795
+ OrphanedUtxoExpirationError: AugmentedEvent<ApiType, [
2796
+ accountId: AccountId32,
2650
2797
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2651
- vaultId: u32,
2652
- satoshis: u64
2798
+ error: SpRuntimeDispatchError
2653
2799
  ], {
2654
- utxoId: u64;
2800
+ accountId: AccountId32;
2655
2801
  utxoRef: ArgonPrimitivesBitcoinUtxoRef;
2656
- vaultId: u32;
2657
- satoshis: u64;
2802
+ error: SpRuntimeDispatchError;
2658
2803
  }>;
2659
- OrphanedUtxoReleaseRequested: AugmentedEvent<ApiType, [
2804
+ OrphanedUtxoReceived: AugmentedEvent<ApiType, [
2660
2805
  utxoId: u64,
2661
2806
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2662
2807
  vaultId: u32,
2663
- accountId: AccountId32
2808
+ satoshis: u64
2664
2809
  ], {
2665
2810
  utxoId: u64;
2666
2811
  utxoRef: ArgonPrimitivesBitcoinUtxoRef;
2667
2812
  vaultId: u32;
2668
- accountId: AccountId32;
2669
- }>;
2670
- SecuritizationIncreased: AugmentedEvent<ApiType, [
2671
- utxoId: u64,
2672
- vaultId: u32,
2673
- newSatoshis: u64,
2674
- accountId: AccountId32
2675
- ], {
2676
- utxoId: u64;
2677
- vaultId: u32;
2678
- newSatoshis: u64;
2679
- accountId: AccountId32;
2813
+ satoshis: u64;
2680
2814
  }>;
2681
- UtxoFundedFromCandidate: AugmentedEvent<ApiType, [
2815
+ OrphanedUtxoReleaseRequested: AugmentedEvent<ApiType, [
2682
2816
  utxoId: u64,
2683
2817
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2684
2818
  vaultId: u32,
@@ -2691,18 +2825,18 @@ declare module '@polkadot/api-base/types/events' {
2691
2825
  }>;
2692
2826
  };
2693
2827
  bitcoinUtxos: {
2694
- UtxoRejected: AugmentedEvent<ApiType, [
2828
+ UtxoDetected: AugmentedEvent<ApiType, [
2695
2829
  utxoId: u64,
2696
2830
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2697
- rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason,
2698
- satoshisReceived: u64
2831
+ satoshisReceived: u64,
2832
+ bitcoinHeight: u64
2699
2833
  ], {
2700
2834
  utxoId: u64;
2701
2835
  utxoRef: ArgonPrimitivesBitcoinUtxoRef;
2702
- rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
2703
2836
  satoshisReceived: u64;
2837
+ bitcoinHeight: u64;
2704
2838
  }>;
2705
- UtxoRejectedError: AugmentedEvent<ApiType, [
2839
+ UtxoDetectedError: AugmentedEvent<ApiType, [
2706
2840
  utxoId: u64,
2707
2841
  error: SpRuntimeDispatchError
2708
2842
  ], {
@@ -2711,9 +2845,11 @@ declare module '@polkadot/api-base/types/events' {
2711
2845
  }>;
2712
2846
  UtxoSpent: AugmentedEvent<ApiType, [
2713
2847
  utxoId: u64,
2848
+ utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2714
2849
  blockHeight: u64
2715
2850
  ], {
2716
2851
  utxoId: u64;
2852
+ utxoRef: ArgonPrimitivesBitcoinUtxoRef;
2717
2853
  blockHeight: u64;
2718
2854
  }>;
2719
2855
  UtxoSpentError: AugmentedEvent<ApiType, [
@@ -2726,20 +2862,6 @@ declare module '@polkadot/api-base/types/events' {
2726
2862
  UtxoUnwatched: AugmentedEvent<ApiType, [utxoId: u64], {
2727
2863
  utxoId: u64;
2728
2864
  }>;
2729
- UtxoVerified: AugmentedEvent<ApiType, [
2730
- utxoId: u64,
2731
- satoshisReceived: u64
2732
- ], {
2733
- utxoId: u64;
2734
- satoshisReceived: u64;
2735
- }>;
2736
- UtxoVerifiedError: AugmentedEvent<ApiType, [
2737
- utxoId: u64,
2738
- error: SpRuntimeDispatchError
2739
- ], {
2740
- utxoId: u64;
2741
- error: SpRuntimeDispatchError;
2742
- }>;
2743
2865
  };
2744
2866
  blockRewards: {
2745
2867
  RewardCreated: AugmentedEvent<ApiType, [
@@ -4426,28 +4548,6 @@ declare module '@polkadot/api-base/types/events' {
4426
4548
  operatorAccountId: AccountId32;
4427
4549
  amount: u128;
4428
4550
  }>;
4429
- FundLockCanceled: AugmentedEvent<ApiType, [
4430
- vaultId: u32,
4431
- amount: u128
4432
- ], {
4433
- vaultId: u32;
4434
- amount: u128;
4435
- }>;
4436
- FundsLocked: AugmentedEvent<ApiType, [
4437
- vaultId: u32,
4438
- locker: AccountId32,
4439
- liquidityPromised: u128,
4440
- isRatchet: bool,
4441
- feeRevenue: u128,
4442
- didUseFeeCoupon: bool
4443
- ], {
4444
- vaultId: u32;
4445
- locker: AccountId32;
4446
- liquidityPromised: u128;
4447
- isRatchet: bool;
4448
- feeRevenue: u128;
4449
- didUseFeeCoupon: bool;
4450
- }>;
4451
4551
  FundsReleased: AugmentedEvent<ApiType, [
4452
4552
  vaultId: u32,
4453
4553
  securitization: u128
@@ -4489,6 +4589,26 @@ declare module '@polkadot/api-base/types/events' {
4489
4589
  vaultId: u32;
4490
4590
  reservedSecuritizationSpace: u128;
4491
4591
  }>;
4592
+ SecuritizationReserved: AugmentedEvent<ApiType, [
4593
+ vaultId: u32,
4594
+ locker: AccountId32,
4595
+ securitizationCoverageMicrogons: u128,
4596
+ feeRevenue: u128,
4597
+ didUseFeeCoupon: bool
4598
+ ], {
4599
+ vaultId: u32;
4600
+ locker: AccountId32;
4601
+ securitizationCoverageMicrogons: u128;
4602
+ feeRevenue: u128;
4603
+ didUseFeeCoupon: bool;
4604
+ }>;
4605
+ SecuritizationReturned: AugmentedEvent<ApiType, [
4606
+ vaultId: u32,
4607
+ amount: u128
4608
+ ], {
4609
+ vaultId: u32;
4610
+ amount: u128;
4611
+ }>;
4492
4612
  TreasuryRecordingError: AugmentedEvent<ApiType, [
4493
4613
  vaultId: u32,
4494
4614
  frameId: u64,
@@ -4648,11 +4768,37 @@ declare module '@polkadot/api-base/types/storage' {
4648
4768
  **/
4649
4769
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
4650
4770
  };
4771
+ bitcoinFissions: {
4772
+ /**
4773
+ * Active Fission records addressed by their owner and owner-local Fission ID.
4774
+ **/
4775
+ fissionByOwnerAndId: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinFissionsFission>>, [
4776
+ AccountId32,
4777
+ u64
4778
+ ]>;
4779
+ /**
4780
+ * Active Fission IDs allocating satoshis from each Lock.
4781
+ **/
4782
+ fissionIdsByLockId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [
4783
+ u64
4784
+ ]>;
4785
+ /**
4786
+ * Minimum Fission ID accepted from each owner.
4787
+ **/
4788
+ nextFissionIdByOwner: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
4789
+ AccountId32
4790
+ ]>;
4791
+ };
4651
4792
  bitcoinLocks: {
4652
4793
  lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [
4653
4794
  u32,
4654
4795
  AccountId32
4655
4796
  ]>;
4797
+ /**
4798
+ * Highest Bitcoin UTXO sync height processed for pending-funding expirations.
4799
+ **/
4800
+ lastPendingFundingExpirationHeight: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
4801
+ ]>;
4656
4802
  /**
4657
4803
  * Utxos that have been requested to be cosigned for releasing
4658
4804
  **/
@@ -4685,12 +4831,28 @@ declare module '@polkadot/api-base/types/storage' {
4685
4831
  u64
4686
4832
  ]>;
4687
4833
  /**
4688
- * History of target microgons per btc.
4834
+ * Unfunded locks whose pending securitization reservation expires at the indexed height.
4835
+ * Expiry releases the reservation but leaves the lock address watched for late orphan output.
4836
+ **/
4837
+ locksPendingFundingByBitcoinHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [
4838
+ u64
4839
+ ]>;
4840
+ /**
4841
+ * Recent target-normalized microgon values per BTC and their observed ticks.
4689
4842
  **/
4690
4843
  microgonPerBtcHistory: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, [
4691
4844
  ]>;
4692
4845
  /**
4693
- * The minimum number of satoshis that can be locked
4846
+ * Release amounts identified by the version 10 to 11 migration.
4847
+ *
4848
+ * Current release requests do not create currency holds. Each migrated entry is removed when
4849
+ * its in-flight release request terminates.
4850
+ **/
4851
+ migratedReleaseHoldByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [
4852
+ u64
4853
+ ]>;
4854
+ /**
4855
+ * The minimum number of satoshis accepted in one watched funding UTXO.
4694
4856
  **/
4695
4857
  minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
4696
4858
  nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
@@ -4724,6 +4886,12 @@ declare module '@polkadot/api-base/types/storage' {
4724
4886
  u32,
4725
4887
  u64
4726
4888
  ]>;
4889
+ /**
4890
+ * The utxo funding this lock. In the current runtime, this is just the first utxo received
4891
+ **/
4892
+ utxoIdToFundingUtxoRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
4893
+ u64
4894
+ ]>;
4727
4895
  };
4728
4896
  bitcoinUtxos: {
4729
4897
  /**
@@ -4731,43 +4899,15 @@ declare module '@polkadot/api-base/types/storage' {
4731
4899
  **/
4732
4900
  bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, [
4733
4901
  ]>;
4734
- /**
4735
- * Candidate UTXOs associated with a lock (mismatches, extra funding, etc.).
4736
- **/
4737
- candidateUtxoRefsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<ArgonPrimitivesBitcoinUtxoRef, u64>>, [
4738
- u64
4739
- ]>;
4740
4902
  /**
4741
4903
  * An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
4742
4904
  **/
4743
4905
  confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
4744
4906
  ]>;
4745
- /**
4746
- * Pending funding entries that have expired. These remain watched until their additional
4747
- * orphan-detection window ends, then await bounded cleanup.
4748
- **/
4749
- expiredPendingFunding: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
4750
- ]>;
4751
4907
  /**
4752
4908
  * Check if the inherent was included
4753
4909
  **/
4754
4910
  inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
4755
- /**
4756
- * Locked Bitcoin UTXOs that have been funded with a UtxoRef from the Bitcoin network and
4757
- * amounts within the MinimumSatoshiThreshold of the expected. If a Bitcoin UTXO is moved
4758
- * before the expiration block, the funds are burned and the UTXO is unlocked.
4759
- **/
4760
- lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | {
4761
- txid?: any;
4762
- outputIndex?: any;
4763
- } | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [
4764
- ArgonPrimitivesBitcoinUtxoRef
4765
- ]>;
4766
- /**
4767
- * Bitcoin locks that are pending full funding on the bitcoin network
4768
- **/
4769
- locksPendingFunding: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
4770
- ]>;
4771
4911
  /**
4772
4912
  * Bitcoin Oracle Operator Account
4773
4913
  **/
@@ -4784,9 +4924,23 @@ declare module '@polkadot/api-base/types/storage' {
4784
4924
  **/
4785
4925
  tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
4786
4926
  /**
4787
- * A mapping of utxo id to the confirmed utxo reference
4927
+ * Watched Lock addresses and the scan height needed to observe them.
4788
4928
  **/
4789
- utxoIdToFundingUtxoRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
4929
+ utxoAddressByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoAddress>>, [
4930
+ u64
4931
+ ]>;
4932
+ /**
4933
+ * The Lock ID identified by each watched script pubkey.
4934
+ **/
4935
+ utxoIdByScriptPubkey: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey | {
4936
+ P2WSH: any;
4937
+ } | string | Uint8Array) => Observable<Option<u64>>, [
4938
+ ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey
4939
+ ]>;
4940
+ /**
4941
+ * Every output observed at a watched Lock address, retained until explicitly removed.
4942
+ **/
4943
+ utxoRefsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ArgonPrimitivesBitcoinUtxoRef>>, [
4790
4944
  u64
4791
4945
  ]>;
4792
4946
  };
@@ -6114,6 +6268,31 @@ declare module '@polkadot/api-base/types/submittable' {
6114
6268
  Vec<AccountId32>
6115
6269
  ]>;
6116
6270
  };
6271
+ bitcoinFissions: {
6272
+ /**
6273
+ * Close a Fission without moving Bitcoin and remove its active record.
6274
+ **/
6275
+ close: AugmentedSubmittable<(fissionId: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6276
+ Compact<u64>
6277
+ ]>;
6278
+ /**
6279
+ * Create a Fission from one owner-held Lock and associate it with a Liquid ID.
6280
+ **/
6281
+ create: AugmentedSubmittable<(fissionId: Compact<u64> | AnyNumber | Uint8Array, liquidId: Compact<u64> | AnyNumber | Uint8Array, utxoId: Compact<u64> | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6282
+ Compact<u64>,
6283
+ Compact<u64>,
6284
+ Compact<u64>,
6285
+ Compact<u64>,
6286
+ Compact<u128>
6287
+ ]>;
6288
+ /**
6289
+ * Ratchet an active Fission to a replacement target-normalized BTC value.
6290
+ **/
6291
+ ratchet: AugmentedSubmittable<(fissionId: Compact<u64> | AnyNumber | Uint8Array, microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6292
+ Compact<u64>,
6293
+ Compact<u128>
6294
+ ]>;
6295
+ };
6117
6296
  bitcoinLocks: {
6118
6297
  adminModifyMinimumLockedSats: AugmentedSubmittable<(satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6119
6298
  u64
@@ -6136,8 +6315,8 @@ declare module '@polkadot/api-base/types/submittable' {
6136
6315
  Bytes
6137
6316
  ]>;
6138
6317
  /**
6139
- * Submitted by a Vault operator to cosign the release of a bitcoin utxo. The Bitcoin owner
6140
- * release fee will be burned, and the lock will be allowed to expire without a penalty.
6318
+ * Submitted by a Vault operator to cosign the release of a bitcoin UTXO. The Lock's
6319
+ * securitization will be scheduled for release without a penalty.
6141
6320
  *
6142
6321
  * This is submitted as a no-fee transaction off chain to allow keys to remain in cold
6143
6322
  * wallets.
@@ -6146,54 +6325,21 @@ declare module '@polkadot/api-base/types/submittable' {
6146
6325
  u64,
6147
6326
  Bytes
6148
6327
  ]>;
6149
- increaseSecuritization: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, newSatoshis: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6150
- u64,
6151
- Compact<u64>
6152
- ]>;
6153
6328
  /**
6154
- * Initialize a bitcoin lock. This will create a LockedBitcoin for the submitting account
6155
- * and log the Bitcoin Script hash to Events.
6329
+ * Create a Bitcoin receive address backed by a Lock for the submitting account.
6156
6330
  *
6157
6331
  * The pubkey submitted here will be used to create a script pubkey that will be used in a
6158
6332
  * timelock multisig script to lock the bitcoin.
6159
- *
6160
- * NOTE: A "lock-er" must send btc to the cosigner UTXO address to "complete" the
6161
- * LockedBitcoin and be added to the Bitcoin Mint line.
6162
6333
  **/
6163
- initialize: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
6164
- V1: any;
6165
- } | {
6166
- V2: any;
6334
+ createReceiveAddress: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
6335
+ microgonsAtTargetPerBtc?: any;
6336
+ feeCoupon?: any;
6167
6337
  } | string) => SubmittableExtrinsic<ApiType>, [
6168
6338
  u32,
6169
6339
  Compact<u64>,
6170
6340
  ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
6171
6341
  Option<PalletBitcoinLocksLockOptions>
6172
6342
  ]>;
6173
- /**
6174
- * Ratcheting allows a user to change the lock price of their bitcoin lock. This is
6175
- * functionally the same as releasing and re-initializing, but it allows a user to skip
6176
- * sending transactions through bitcoin and any associated fees. It also allows you to stay
6177
- * on your original lock expiration without having to pay the full year of fees again.
6178
- *
6179
- * Ratcheting "down" - when the price of bitcoin is lower than your lock price, you pay the
6180
- * full release price and get added back to the mint queue at the current market rate. You
6181
- * pocket the difference between the already minted "lock price" and the new market value
6182
- * (which you just had burned). Your new lock price is set to the market low, so you can
6183
- * take advantage of ratchets "up" in the future.
6184
- *
6185
- * Ratcheting "up" - when the price of bitcoin is higher than your lock price, you pay a
6186
- * prorated fee for the remainder of your existing lock duration. You are added to the mint
6187
- * queue for the difference in your new lock price vs the previous lock price.
6188
- **/
6189
- ratchet: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
6190
- V1: any;
6191
- } | {
6192
- V2: any;
6193
- } | string) => SubmittableExtrinsic<ApiType>, [
6194
- u64,
6195
- Option<PalletBitcoinLocksLockOptions>
6196
- ]>;
6197
6343
  requestOrphanedUtxoRelease: AugmentedSubmittable<(utxoRef: ArgonPrimitivesBitcoinUtxoRef | {
6198
6344
  txid?: any;
6199
6345
  outputIndex?: any;
@@ -6215,35 +6361,23 @@ declare module '@polkadot/api-base/types/submittable' {
6215
6361
  Bytes,
6216
6362
  u64
6217
6363
  ]>;
6218
- setFlexible: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, isFlexible: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6219
- u64,
6220
- bool
6221
- ]>;
6222
- };
6223
- bitcoinUtxos: {
6224
6364
  /**
6225
- * Bind a candidate UTXO ref as the funding UTXO for its lock.
6226
- * The locks pallet authorizes the promotion; this pallet binds the ref and begins
6227
- * tracking.
6365
+ * Replace this Lock's BTC coverage and target value for its remaining term.
6228
6366
  **/
6229
- fundWithUtxoCandidate: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | {
6230
- txid?: any;
6231
- outputIndex?: any;
6232
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6367
+ resecuritize: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
6368
+ microgonsAtTargetPerBtc?: any;
6369
+ feeCoupon?: any;
6370
+ } | string) => SubmittableExtrinsic<ApiType>, [
6233
6371
  u64,
6234
- ArgonPrimitivesBitcoinUtxoRef
6372
+ Compact<u64>,
6373
+ Option<PalletBitcoinLocksLockOptions>
6235
6374
  ]>;
6236
- /**
6237
- * Reject a pending candidate UTXO and materialize it as an orphan through the locks
6238
- * pallet.
6239
- **/
6240
- rejectUtxoCandidate: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | {
6241
- txid?: any;
6242
- outputIndex?: any;
6243
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6375
+ setFlexible: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, isFlexible: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6244
6376
  u64,
6245
- ArgonPrimitivesBitcoinUtxoRef
6377
+ bool
6246
6378
  ]>;
6379
+ };
6380
+ bitcoinUtxos: {
6247
6381
  /**
6248
6382
  * Sets the most recent confirmed bitcoin block height (only executable by the Oracle
6249
6383
  * Operator account)
@@ -10284,21 +10418,17 @@ declare module '@polkadot/types/lookup' {
10284
10418
  }
10285
10419
  /** @name PalletBitcoinUtxosEvent (50) */
10286
10420
  interface PalletBitcoinUtxosEvent extends Enum {
10287
- readonly isUtxoVerified: boolean;
10288
- readonly asUtxoVerified: {
10289
- readonly utxoId: u64;
10290
- readonly satoshisReceived: u64;
10291
- } & Struct;
10292
- readonly isUtxoRejected: boolean;
10293
- readonly asUtxoRejected: {
10421
+ readonly isUtxoDetected: boolean;
10422
+ readonly asUtxoDetected: {
10294
10423
  readonly utxoId: u64;
10295
10424
  readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
10296
- readonly rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
10297
10425
  readonly satoshisReceived: u64;
10426
+ readonly bitcoinHeight: u64;
10298
10427
  } & Struct;
10299
10428
  readonly isUtxoSpent: boolean;
10300
10429
  readonly asUtxoSpent: {
10301
10430
  readonly utxoId: u64;
10431
+ readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
10302
10432
  readonly blockHeight: u64;
10303
10433
  } & Struct;
10304
10434
  readonly isUtxoUnwatched: boolean;
@@ -10310,17 +10440,12 @@ declare module '@polkadot/types/lookup' {
10310
10440
  readonly utxoId: u64;
10311
10441
  readonly error: SpRuntimeDispatchError;
10312
10442
  } & Struct;
10313
- readonly isUtxoVerifiedError: boolean;
10314
- readonly asUtxoVerifiedError: {
10443
+ readonly isUtxoDetectedError: boolean;
10444
+ readonly asUtxoDetectedError: {
10315
10445
  readonly utxoId: u64;
10316
10446
  readonly error: SpRuntimeDispatchError;
10317
10447
  } & Struct;
10318
- readonly isUtxoRejectedError: boolean;
10319
- readonly asUtxoRejectedError: {
10320
- readonly utxoId: u64;
10321
- readonly error: SpRuntimeDispatchError;
10322
- } & Struct;
10323
- readonly type: 'UtxoVerified' | 'UtxoRejected' | 'UtxoSpent' | 'UtxoUnwatched' | 'UtxoSpentError' | 'UtxoVerifiedError' | 'UtxoRejectedError';
10448
+ readonly type: 'UtxoDetected' | 'UtxoSpent' | 'UtxoUnwatched' | 'UtxoSpentError' | 'UtxoDetectedError';
10324
10449
  }
10325
10450
  /** @name ArgonPrimitivesBitcoinUtxoRef (51) */
10326
10451
  interface ArgonPrimitivesBitcoinUtxoRef extends Struct {
@@ -10330,15 +10455,7 @@ declare module '@polkadot/types/lookup' {
10330
10455
  /** @name ArgonPrimitivesBitcoinH256Le (52) */
10331
10456
  interface ArgonPrimitivesBitcoinH256Le extends U8aFixed {
10332
10457
  }
10333
- /** @name ArgonPrimitivesBitcoinBitcoinRejectedReason (54) */
10334
- interface ArgonPrimitivesBitcoinBitcoinRejectedReason extends Enum {
10335
- readonly isSatoshisOutsideAcceptedRange: boolean;
10336
- readonly isSpent: boolean;
10337
- readonly isVerificationExpired: boolean;
10338
- readonly isAlreadyVerified: boolean;
10339
- readonly type: 'SatoshisOutsideAcceptedRange' | 'Spent' | 'VerificationExpired' | 'AlreadyVerified';
10340
- }
10341
- /** @name PalletVaultsEvent (55) */
10458
+ /** @name PalletVaultsEvent (54) */
10342
10459
  interface PalletVaultsEvent extends Enum {
10343
10460
  readonly isVaultCreated: boolean;
10344
10461
  readonly asVaultCreated: {
@@ -10390,17 +10507,16 @@ declare module '@polkadot/types/lookup' {
10390
10507
  readonly vaultId: u32;
10391
10508
  readonly revenue: u128;
10392
10509
  } & Struct;
10393
- readonly isFundsLocked: boolean;
10394
- readonly asFundsLocked: {
10510
+ readonly isSecuritizationReserved: boolean;
10511
+ readonly asSecuritizationReserved: {
10395
10512
  readonly vaultId: u32;
10396
10513
  readonly locker: AccountId32;
10397
- readonly liquidityPromised: u128;
10398
- readonly isRatchet: bool;
10514
+ readonly securitizationCoverageMicrogons: u128;
10399
10515
  readonly feeRevenue: u128;
10400
10516
  readonly didUseFeeCoupon: bool;
10401
10517
  } & Struct;
10402
- readonly isFundLockCanceled: boolean;
10403
- readonly asFundLockCanceled: {
10518
+ readonly isSecuritizationReturned: boolean;
10519
+ readonly asSecuritizationReturned: {
10404
10520
  readonly vaultId: u32;
10405
10521
  readonly amount: u128;
10406
10522
  } & Struct;
@@ -10440,31 +10556,20 @@ declare module '@polkadot/types/lookup' {
10440
10556
  readonly operatorAccountId: AccountId32;
10441
10557
  readonly amount: u128;
10442
10558
  } & Struct;
10443
- readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | 'ReservedSecuritizationSpaceChanged' | 'VaultRevenueUncollected' | 'VaultCollected' | 'FundsLocked' | 'FundLockCanceled' | 'FundsScheduledForRelease' | 'LostBitcoinCompensated' | 'FundsReleased' | 'FundsReleasedError' | 'TreasuryRecordingError' | 'CommittedArgonotsSet';
10559
+ readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | 'ReservedSecuritizationSpaceChanged' | 'VaultRevenueUncollected' | 'VaultCollected' | 'SecuritizationReserved' | 'SecuritizationReturned' | 'FundsScheduledForRelease' | 'LostBitcoinCompensated' | 'FundsReleased' | 'FundsReleasedError' | 'TreasuryRecordingError' | 'CommittedArgonotsSet';
10444
10560
  }
10445
- /** @name PalletBitcoinLocksEvent (57) */
10561
+ /** @name PalletBitcoinLocksEvent (56) */
10446
10562
  interface PalletBitcoinLocksEvent extends Enum {
10447
10563
  readonly isBitcoinLockCreated: boolean;
10448
10564
  readonly asBitcoinLockCreated: {
10449
10565
  readonly utxoId: u64;
10450
10566
  readonly vaultId: u32;
10451
- readonly liquidityPromised: u128;
10452
- readonly securitization: u128;
10453
- readonly lockedTargetPrice: u128;
10567
+ readonly securitizedSatoshis: u64;
10568
+ readonly microgonsAtTargetPerBtc: u128;
10569
+ readonly collateralRequired: u128;
10454
10570
  readonly accountId: AccountId32;
10455
10571
  readonly securityFee: u128;
10456
10572
  } & Struct;
10457
- readonly isBitcoinLockRatcheted: boolean;
10458
- readonly asBitcoinLockRatcheted: {
10459
- readonly utxoId: u64;
10460
- readonly vaultId: u32;
10461
- readonly liquidityPromised: u128;
10462
- readonly oldTargetPrice: u128;
10463
- readonly securityFee: u128;
10464
- readonly newTargetPrice: u128;
10465
- readonly amountBurned: u128;
10466
- readonly accountId: AccountId32;
10467
- } & Struct;
10468
10573
  readonly isBitcoinLockBurned: boolean;
10469
10574
  readonly asBitcoinLockBurned: {
10470
10575
  readonly utxoId: u64;
@@ -10526,18 +10631,24 @@ declare module '@polkadot/types/lookup' {
10526
10631
  readonly accountId: AccountId32;
10527
10632
  readonly signature: Bytes;
10528
10633
  } & Struct;
10529
- readonly isUtxoFundedFromCandidate: boolean;
10530
- readonly asUtxoFundedFromCandidate: {
10531
- readonly utxoId: u64;
10634
+ readonly isOrphanedUtxoExpirationError: boolean;
10635
+ readonly asOrphanedUtxoExpirationError: {
10636
+ readonly accountId: AccountId32;
10532
10637
  readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
10533
- readonly vaultId: u32;
10638
+ readonly error: SpRuntimeDispatchError;
10639
+ } & Struct;
10640
+ readonly isOrphanedUtxoCleanupScheduleOverflow: boolean;
10641
+ readonly asOrphanedUtxoCleanupScheduleOverflow: {
10534
10642
  readonly accountId: AccountId32;
10643
+ readonly utxoId: u64;
10644
+ readonly expirationFrame: u64;
10535
10645
  } & Struct;
10536
- readonly isSecuritizationIncreased: boolean;
10537
- readonly asSecuritizationIncreased: {
10646
+ readonly isBitcoinLockResecuritized: boolean;
10647
+ readonly asBitcoinLockResecuritized: {
10538
10648
  readonly utxoId: u64;
10539
10649
  readonly vaultId: u32;
10540
- readonly newSatoshis: u64;
10650
+ readonly securitizedSatoshis: u64;
10651
+ readonly microgonsAtTargetPerBtc: u128;
10541
10652
  readonly accountId: AccountId32;
10542
10653
  } & Struct;
10543
10654
  readonly isBitcoinLockFlexibleChanged: boolean;
@@ -10546,9 +10657,9 @@ declare module '@polkadot/types/lookup' {
10546
10657
  readonly vaultId: u32;
10547
10658
  readonly isFlexible: bool;
10548
10659
  } & Struct;
10549
- readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinSpentAfterRelease' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'UtxoFundedFromCandidate' | 'SecuritizationIncreased' | 'BitcoinLockFlexibleChanged';
10660
+ readonly type: 'BitcoinLockCreated' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinSpentAfterRelease' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'OrphanedUtxoExpirationError' | 'OrphanedUtxoCleanupScheduleOverflow' | 'BitcoinLockResecuritized' | 'BitcoinLockFlexibleChanged';
10550
10661
  }
10551
- /** @name PalletNotariesEvent (60) */
10662
+ /** @name PalletNotariesEvent (59) */
10552
10663
  interface PalletNotariesEvent extends Enum {
10553
10664
  readonly isNotaryProposed: boolean;
10554
10665
  readonly asNotaryProposed: {
@@ -10579,13 +10690,13 @@ declare module '@polkadot/types/lookup' {
10579
10690
  } & Struct;
10580
10691
  readonly type: 'NotaryProposed' | 'NotaryActivated' | 'NotaryMetaUpdateQueued' | 'NotaryMetaUpdated' | 'NotaryMetaUpdateError';
10581
10692
  }
10582
- /** @name ArgonPrimitivesNotaryNotaryMeta (61) */
10693
+ /** @name ArgonPrimitivesNotaryNotaryMeta (60) */
10583
10694
  interface ArgonPrimitivesNotaryNotaryMeta extends Struct {
10584
10695
  readonly name: Bytes;
10585
10696
  readonly public: U8aFixed;
10586
10697
  readonly hosts: Vec<Bytes>;
10587
10698
  }
10588
- /** @name ArgonPrimitivesNotaryNotaryRecord (68) */
10699
+ /** @name ArgonPrimitivesNotaryNotaryRecord (67) */
10589
10700
  interface ArgonPrimitivesNotaryNotaryRecord extends Struct {
10590
10701
  readonly notaryId: Compact<u32>;
10591
10702
  readonly operatorAccountId: AccountId32;
@@ -10594,7 +10705,7 @@ declare module '@polkadot/types/lookup' {
10594
10705
  readonly metaUpdatedTick: Compact<u64>;
10595
10706
  readonly meta: ArgonPrimitivesNotaryNotaryMeta;
10596
10707
  }
10597
- /** @name PalletNotebookEvent (69) */
10708
+ /** @name PalletNotebookEvent (68) */
10598
10709
  interface PalletNotebookEvent extends Enum {
10599
10710
  readonly isNotebookSubmitted: boolean;
10600
10711
  readonly asNotebookSubmitted: {
@@ -10615,7 +10726,7 @@ declare module '@polkadot/types/lookup' {
10615
10726
  } & Struct;
10616
10727
  readonly type: 'NotebookSubmitted' | 'NotebookAuditFailure' | 'NotebookReadyForReprocess';
10617
10728
  }
10618
- /** @name ArgonNotaryAuditErrorVerifyError (70) */
10729
+ /** @name ArgonNotaryAuditErrorVerifyError (69) */
10619
10730
  interface ArgonNotaryAuditErrorVerifyError extends Enum {
10620
10731
  readonly isMissingAccountOrigin: boolean;
10621
10732
  readonly asMissingAccountOrigin: {
@@ -10735,13 +10846,13 @@ declare module '@polkadot/types/lookup' {
10735
10846
  readonly isNoDefaultBlockVote: boolean;
10736
10847
  readonly type: 'MissingAccountOrigin' | 'HistoryLookupError' | 'InvalidAccountChangelist' | 'InvalidChainTransfersList' | 'InvalidBalanceChangeRoot' | 'InvalidHeaderTaxRecorded' | 'InvalidPreviousNonce' | 'InvalidPreviousBalance' | 'InvalidPreviousAccountOrigin' | 'InvalidPreviousBalanceChangeNotebook' | 'InvalidBalanceChange' | 'InvalidBalanceChangeSignature' | 'InvalidNoteRecipients' | 'BalanceChangeError' | 'InvalidNetBalanceChangeset' | 'InsufficientBalance' | 'ExceededMaxBalance' | 'BalanceChangeMismatch' | 'BalanceChangeNotNetZero' | 'InvalidDomainLeaseAllocation' | 'TaxBalanceChangeNotNetZero' | 'MissingBalanceProof' | 'InvalidPreviousBalanceProof' | 'InvalidNotebookHash' | 'InvalidNotebookHeaderHash' | 'InvalidNotebookVersion' | 'DuplicateChainTransfer' | 'DuplicatedAccountOriginUid' | 'InvalidNotarySignature' | 'InvalidSecretProvided' | 'NotebookTooOld' | 'CatchupNotebooksMissing' | 'DecodeError' | 'AccountChannelHoldDoesntExist' | 'AccountAlreadyHasChannelHold' | 'ChannelHoldNotReadyForClaim' | 'AccountLocked' | 'MissingChannelHoldNote' | 'InvalidChannelHoldNote' | 'InvalidChannelHoldClaimers' | 'ChannelHoldNoteBelowMinimum' | 'InvalidTaxNoteAccount' | 'InvalidTaxOperation' | 'InsufficientTaxIncluded' | 'InsufficientBlockVoteTax' | 'IneligibleTaxVoter' | 'BlockVoteInvalidSignature' | 'InvalidBlockVoteAllocation' | 'InvalidBlockVoteRoot' | 'InvalidBlockVotesCount' | 'InvalidBlockVotingPower' | 'InvalidBlockVoteList' | 'InvalidComputeProof' | 'InvalidBlockVoteSource' | 'InsufficientBlockVoteMinimum' | 'InvalidBlockVoteTick' | 'InvalidDefaultBlockVote' | 'InvalidDefaultBlockVoteAuthor' | 'NoDefaultBlockVote';
10737
10848
  }
10738
- /** @name ArgonPrimitivesAccountAccountType (71) */
10849
+ /** @name ArgonPrimitivesAccountAccountType (70) */
10739
10850
  interface ArgonPrimitivesAccountAccountType extends Enum {
10740
10851
  readonly isTax: boolean;
10741
10852
  readonly isDeposit: boolean;
10742
10853
  readonly type: 'Tax' | 'Deposit';
10743
10854
  }
10744
- /** @name ArgonNotaryAuditAccountHistoryLookupError (72) */
10855
+ /** @name ArgonNotaryAuditAccountHistoryLookupError (71) */
10745
10856
  interface ArgonNotaryAuditAccountHistoryLookupError extends Enum {
10746
10857
  readonly isRootNotFound: boolean;
10747
10858
  readonly isLastChangeNotFound: boolean;
@@ -10749,7 +10860,7 @@ declare module '@polkadot/types/lookup' {
10749
10860
  readonly isBlockSpecificationNotFound: boolean;
10750
10861
  readonly type: 'RootNotFound' | 'LastChangeNotFound' | 'InvalidTransferToLocalchain' | 'BlockSpecificationNotFound';
10751
10862
  }
10752
- /** @name PalletLocalchainTransferEvent (76) */
10863
+ /** @name PalletLocalchainTransferEvent (75) */
10753
10864
  interface PalletLocalchainTransferEvent extends Enum {
10754
10865
  readonly isTransferToLocalchain: boolean;
10755
10866
  readonly asTransferToLocalchain: {
@@ -10802,7 +10913,7 @@ declare module '@polkadot/types/lookup' {
10802
10913
  } & Struct;
10803
10914
  readonly type: 'TransferToLocalchain' | 'TransferToLocalchainExpired' | 'TransferFromLocalchain' | 'TransferFromLocalchainError' | 'TransferToLocalchainRefundError' | 'PossibleInvalidLocalchainTransferAllowed' | 'TaxationError';
10804
10915
  }
10805
- /** @name PalletBlockSealSpecEvent (77) */
10916
+ /** @name PalletBlockSealSpecEvent (76) */
10806
10917
  interface PalletBlockSealSpecEvent extends Enum {
10807
10918
  readonly isVoteMinimumAdjusted: boolean;
10808
10919
  readonly asVoteMinimumAdjusted: {
@@ -10820,7 +10931,7 @@ declare module '@polkadot/types/lookup' {
10820
10931
  } & Struct;
10821
10932
  readonly type: 'VoteMinimumAdjusted' | 'ComputeDifficultyAdjusted';
10822
10933
  }
10823
- /** @name PalletDomainsEvent (78) */
10934
+ /** @name PalletDomainsEvent (77) */
10824
10935
  interface PalletDomainsEvent extends Enum {
10825
10936
  readonly isZoneRecordUpdated: boolean;
10826
10937
  readonly asZoneRecordUpdated: {
@@ -10853,29 +10964,29 @@ declare module '@polkadot/types/lookup' {
10853
10964
  } & Struct;
10854
10965
  readonly type: 'ZoneRecordUpdated' | 'DomainRegistered' | 'DomainRenewed' | 'DomainExpired' | 'DomainRegistrationCanceled' | 'DomainRegistrationError';
10855
10966
  }
10856
- /** @name ArgonPrimitivesDomainZoneRecord (79) */
10967
+ /** @name ArgonPrimitivesDomainZoneRecord (78) */
10857
10968
  interface ArgonPrimitivesDomainZoneRecord extends Struct {
10858
10969
  readonly paymentAccount: AccountId32;
10859
10970
  readonly notaryId: u32;
10860
10971
  readonly versions: BTreeMap<ArgonPrimitivesDomainSemver, ArgonPrimitivesDomainVersionHost>;
10861
10972
  }
10862
- /** @name ArgonPrimitivesDomainSemver (81) */
10973
+ /** @name ArgonPrimitivesDomainSemver (80) */
10863
10974
  interface ArgonPrimitivesDomainSemver extends Struct {
10864
10975
  readonly major: u32;
10865
10976
  readonly minor: u32;
10866
10977
  readonly patch: u32;
10867
10978
  }
10868
- /** @name ArgonPrimitivesDomainVersionHost (82) */
10979
+ /** @name ArgonPrimitivesDomainVersionHost (81) */
10869
10980
  interface ArgonPrimitivesDomainVersionHost extends Struct {
10870
10981
  readonly datastoreId: Bytes;
10871
10982
  readonly host: Bytes;
10872
10983
  }
10873
- /** @name PalletDomainsDomainRegistration (87) */
10984
+ /** @name PalletDomainsDomainRegistration (86) */
10874
10985
  interface PalletDomainsDomainRegistration extends Struct {
10875
10986
  readonly accountId: AccountId32;
10876
10987
  readonly registeredAtTick: u64;
10877
10988
  }
10878
- /** @name PalletPriceIndexEvent (88) */
10989
+ /** @name PalletPriceIndexEvent (87) */
10879
10990
  interface PalletPriceIndexEvent extends Enum {
10880
10991
  readonly isNewIndex: boolean;
10881
10992
  readonly isOperatorChanged: boolean;
@@ -10884,7 +10995,7 @@ declare module '@polkadot/types/lookup' {
10884
10995
  } & Struct;
10885
10996
  readonly type: 'NewIndex' | 'OperatorChanged';
10886
10997
  }
10887
- /** @name PalletGrandpaEvent (89) */
10998
+ /** @name PalletGrandpaEvent (88) */
10888
10999
  interface PalletGrandpaEvent extends Enum {
10889
11000
  readonly isNewAuthorities: boolean;
10890
11001
  readonly asNewAuthorities: {
@@ -10894,7 +11005,7 @@ declare module '@polkadot/types/lookup' {
10894
11005
  readonly isResumed: boolean;
10895
11006
  readonly type: 'NewAuthorities' | 'Paused' | 'Resumed';
10896
11007
  }
10897
- /** @name PalletBlockRewardsEvent (92) */
11008
+ /** @name PalletBlockRewardsEvent (91) */
10898
11009
  interface PalletBlockRewardsEvent extends Enum {
10899
11010
  readonly isRewardCreated: boolean;
10900
11011
  readonly asRewardCreated: {
@@ -10909,7 +11020,7 @@ declare module '@polkadot/types/lookup' {
10909
11020
  } & Struct;
10910
11021
  readonly type: 'RewardCreated' | 'RewardCreateError';
10911
11022
  }
10912
- /** @name ArgonPrimitivesBlockSealBlockPayout (94) */
11023
+ /** @name ArgonPrimitivesBlockSealBlockPayout (93) */
10913
11024
  interface ArgonPrimitivesBlockSealBlockPayout extends Struct {
10914
11025
  readonly accountId: AccountId32;
10915
11026
  readonly ownership: Compact<u128>;
@@ -10917,14 +11028,14 @@ declare module '@polkadot/types/lookup' {
10917
11028
  readonly rewardType: ArgonPrimitivesBlockSealBlockRewardType;
10918
11029
  readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
10919
11030
  }
10920
- /** @name ArgonPrimitivesBlockSealBlockRewardType (95) */
11031
+ /** @name ArgonPrimitivesBlockSealBlockRewardType (94) */
10921
11032
  interface ArgonPrimitivesBlockSealBlockRewardType extends Enum {
10922
11033
  readonly isMiner: boolean;
10923
11034
  readonly isVoter: boolean;
10924
11035
  readonly isProfitShare: boolean;
10925
11036
  readonly type: 'Miner' | 'Voter' | 'ProfitShare';
10926
11037
  }
10927
- /** @name PalletMintEvent (98) */
11038
+ /** @name PalletMintEvent (97) */
10928
11039
  interface PalletMintEvent extends Enum {
10929
11040
  readonly isBitcoinMint: boolean;
10930
11041
  readonly asBitcoinMint: {
@@ -10949,13 +11060,13 @@ declare module '@polkadot/types/lookup' {
10949
11060
  } & Struct;
10950
11061
  readonly type: 'BitcoinMint' | 'MiningMint' | 'MintError';
10951
11062
  }
10952
- /** @name PalletMintMintType (101) */
11063
+ /** @name PalletMintMintType (100) */
10953
11064
  interface PalletMintMintType extends Enum {
10954
11065
  readonly isBitcoin: boolean;
10955
11066
  readonly isMining: boolean;
10956
11067
  readonly type: 'Bitcoin' | 'Mining';
10957
11068
  }
10958
- /** @name PalletBalancesEvent (102) */
11069
+ /** @name PalletBalancesEvent (101) */
10959
11070
  interface PalletBalancesEvent extends Enum {
10960
11071
  readonly isEndowed: boolean;
10961
11072
  readonly asEndowed: {
@@ -11111,13 +11222,13 @@ declare module '@polkadot/types/lookup' {
11111
11222
  readonly asUnexpected: PalletBalancesUnexpectedKind;
11112
11223
  readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed' | 'Minted' | 'MintedCredit' | 'Burned' | 'BurnedDebt' | 'Suspended' | 'Restored' | 'Upgraded' | 'Issued' | 'Rescinded' | 'Locked' | 'Unlocked' | 'Frozen' | 'Thawed' | 'TotalIssuanceForced' | 'Held' | 'BurnedHeld' | 'TransferOnHold' | 'TransferAndHold' | 'Released' | 'Unexpected';
11113
11224
  }
11114
- /** @name FrameSupportTokensMiscBalanceStatus (103) */
11225
+ /** @name FrameSupportTokensMiscBalanceStatus (102) */
11115
11226
  interface FrameSupportTokensMiscBalanceStatus extends Enum {
11116
11227
  readonly isFree: boolean;
11117
11228
  readonly isReserved: boolean;
11118
11229
  readonly type: 'Free' | 'Reserved';
11119
11230
  }
11120
- /** @name ArgonRuntimeRuntimeHoldReason (104) */
11231
+ /** @name ArgonRuntimeRuntimeHoldReason (103) */
11121
11232
  interface ArgonRuntimeRuntimeHoldReason extends Enum {
11122
11233
  readonly isMiningSlot: boolean;
11123
11234
  readonly asMiningSlot: PalletMiningSlotHoldReason;
@@ -11133,46 +11244,46 @@ declare module '@polkadot/types/lookup' {
11133
11244
  readonly asCrosschainTransfer: PalletCrosschainTransferHoldReason;
11134
11245
  readonly type: 'MiningSlot' | 'Vaults' | 'BitcoinLocks' | 'BlockRewards' | 'Treasury' | 'CrosschainTransfer';
11135
11246
  }
11136
- /** @name PalletMiningSlotHoldReason (105) */
11247
+ /** @name PalletMiningSlotHoldReason (104) */
11137
11248
  interface PalletMiningSlotHoldReason extends Enum {
11138
11249
  readonly isRegisterAsMiner: boolean;
11139
11250
  readonly type: 'RegisterAsMiner';
11140
11251
  }
11141
- /** @name PalletVaultsHoldReason (106) */
11252
+ /** @name PalletVaultsHoldReason (105) */
11142
11253
  interface PalletVaultsHoldReason extends Enum {
11143
11254
  readonly isEnterVault: boolean;
11144
11255
  readonly isObligationFee: boolean;
11145
11256
  readonly isPendingCollect: boolean;
11146
11257
  readonly type: 'EnterVault' | 'ObligationFee' | 'PendingCollect';
11147
11258
  }
11148
- /** @name PalletBitcoinLocksHoldReason (107) */
11259
+ /** @name PalletBitcoinLocksHoldReason (106) */
11149
11260
  interface PalletBitcoinLocksHoldReason extends Enum {
11150
11261
  readonly isReleaseBitcoinLock: boolean;
11151
11262
  readonly type: 'ReleaseBitcoinLock';
11152
11263
  }
11153
- /** @name PalletBlockRewardsHoldReason (108) */
11264
+ /** @name PalletBlockRewardsHoldReason (107) */
11154
11265
  interface PalletBlockRewardsHoldReason extends Enum {
11155
11266
  readonly isMaturationPeriod: boolean;
11156
11267
  readonly type: 'MaturationPeriod';
11157
11268
  }
11158
- /** @name PalletTreasuryHoldReason (109) */
11269
+ /** @name PalletTreasuryHoldReason (108) */
11159
11270
  interface PalletTreasuryHoldReason extends Enum {
11160
11271
  readonly isContributedToTreasury: boolean;
11161
11272
  readonly type: 'ContributedToTreasury';
11162
11273
  }
11163
- /** @name PalletCrosschainTransferHoldReason (110) */
11274
+ /** @name PalletCrosschainTransferHoldReason (109) */
11164
11275
  interface PalletCrosschainTransferHoldReason extends Enum {
11165
11276
  readonly isTransferOutMintingAuthorityTip: boolean;
11166
11277
  readonly isMintingAuthorityActivationRepayment: boolean;
11167
11278
  readonly type: 'TransferOutMintingAuthorityTip' | 'MintingAuthorityActivationRepayment';
11168
11279
  }
11169
- /** @name PalletBalancesUnexpectedKind (111) */
11280
+ /** @name PalletBalancesUnexpectedKind (110) */
11170
11281
  interface PalletBalancesUnexpectedKind extends Enum {
11171
11282
  readonly isBalanceUpdated: boolean;
11172
11283
  readonly isFailedToMutateAccount: boolean;
11173
11284
  readonly type: 'BalanceUpdated' | 'FailedToMutateAccount';
11174
11285
  }
11175
- /** @name PalletTxPauseEvent (113) */
11286
+ /** @name PalletTxPauseEvent (112) */
11176
11287
  interface PalletTxPauseEvent extends Enum {
11177
11288
  readonly isCallPaused: boolean;
11178
11289
  readonly asCallPaused: {
@@ -11184,7 +11295,7 @@ declare module '@polkadot/types/lookup' {
11184
11295
  } & Struct;
11185
11296
  readonly type: 'CallPaused' | 'CallUnpaused';
11186
11297
  }
11187
- /** @name PalletTransactionPaymentEvent (116) */
11298
+ /** @name PalletTransactionPaymentEvent (115) */
11188
11299
  interface PalletTransactionPaymentEvent extends Enum {
11189
11300
  readonly isTransactionFeePaid: boolean;
11190
11301
  readonly asTransactionFeePaid: {
@@ -11194,7 +11305,7 @@ declare module '@polkadot/types/lookup' {
11194
11305
  } & Struct;
11195
11306
  readonly type: 'TransactionFeePaid';
11196
11307
  }
11197
- /** @name PalletUtilityEvent (117) */
11308
+ /** @name PalletUtilityEvent (116) */
11198
11309
  interface PalletUtilityEvent extends Enum {
11199
11310
  readonly isBatchInterrupted: boolean;
11200
11311
  readonly asBatchInterrupted: {
@@ -11219,7 +11330,7 @@ declare module '@polkadot/types/lookup' {
11219
11330
  } & Struct;
11220
11331
  readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs' | 'IfElseMainSuccess' | 'IfElseFallbackCalled';
11221
11332
  }
11222
- /** @name PalletSudoEvent (118) */
11333
+ /** @name PalletSudoEvent (117) */
11223
11334
  interface PalletSudoEvent extends Enum {
11224
11335
  readonly isSudid: boolean;
11225
11336
  readonly asSudid: {
@@ -11237,6 +11348,38 @@ declare module '@polkadot/types/lookup' {
11237
11348
  } & Struct;
11238
11349
  readonly type: 'Sudid' | 'KeyChanged' | 'KeyRemoved' | 'SudoAsDone';
11239
11350
  }
11351
+ /** @name PalletBitcoinFissionsEvent (118) */
11352
+ interface PalletBitcoinFissionsEvent extends Enum {
11353
+ readonly isFissionCreated: boolean;
11354
+ readonly asFissionCreated: {
11355
+ readonly accountId: AccountId32;
11356
+ readonly fissionId: u64;
11357
+ readonly liquidId: u64;
11358
+ readonly liquidityPromised: u128;
11359
+ } & Struct;
11360
+ readonly isFissionRatcheted: boolean;
11361
+ readonly asFissionRatcheted: {
11362
+ readonly accountId: AccountId32;
11363
+ readonly fissionId: u64;
11364
+ readonly ratchetNumber: u32;
11365
+ readonly liquidityPromised: u128;
11366
+ readonly amountMinted: u128;
11367
+ readonly amountBurned: u128;
11368
+ } & Struct;
11369
+ readonly isFissionClosed: boolean;
11370
+ readonly asFissionClosed: {
11371
+ readonly accountId: AccountId32;
11372
+ readonly fissionId: u64;
11373
+ readonly redemptionAmount: u128;
11374
+ } & Struct;
11375
+ readonly isFissionClosedByLock: boolean;
11376
+ readonly asFissionClosedByLock: {
11377
+ readonly accountId: AccountId32;
11378
+ readonly fissionId: u64;
11379
+ readonly utxoId: u64;
11380
+ } & Struct;
11381
+ readonly type: 'FissionCreated' | 'FissionRatcheted' | 'FissionClosed' | 'FissionClosedByLock';
11382
+ }
11240
11383
  /** @name PalletTreasuryEvent (119) */
11241
11384
  interface PalletTreasuryEvent extends Enum {
11242
11385
  readonly isCouldNotDistributeEarningsToBondLot: boolean;
@@ -12007,17 +12150,7 @@ declare module '@polkadot/types/lookup' {
12007
12150
  readonly asSetOperator: {
12008
12151
  readonly accountId: AccountId32;
12009
12152
  } & Struct;
12010
- readonly isFundWithUtxoCandidate: boolean;
12011
- readonly asFundWithUtxoCandidate: {
12012
- readonly utxoId: u64;
12013
- readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
12014
- } & Struct;
12015
- readonly isRejectUtxoCandidate: boolean;
12016
- readonly asRejectUtxoCandidate: {
12017
- readonly utxoId: u64;
12018
- readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
12019
- } & Struct;
12020
- readonly type: 'Sync' | 'SetConfirmedBlock' | 'SetOperator' | 'FundWithUtxoCandidate' | 'RejectUtxoCandidate';
12153
+ readonly type: 'Sync' | 'SetConfirmedBlock' | 'SetOperator';
12021
12154
  }
12022
12155
  /** @name ArgonPrimitivesInherentsBitcoinUtxoSync (201) */
12023
12156
  interface ArgonPrimitivesInherentsBitcoinUtxoSync extends Struct {
@@ -12107,8 +12240,8 @@ declare module '@polkadot/types/lookup' {
12107
12240
  }
12108
12241
  /** @name PalletBitcoinLocksCall (216) */
12109
12242
  interface PalletBitcoinLocksCall extends Enum {
12110
- readonly isInitialize: boolean;
12111
- readonly asInitialize: {
12243
+ readonly isCreateReceiveAddress: boolean;
12244
+ readonly asCreateReceiveAddress: {
12112
12245
  readonly vaultId: u32;
12113
12246
  readonly satoshis: Compact<u64>;
12114
12247
  readonly bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
@@ -12125,11 +12258,6 @@ declare module '@polkadot/types/lookup' {
12125
12258
  readonly utxoId: u64;
12126
12259
  readonly signature: Bytes;
12127
12260
  } & Struct;
12128
- readonly isRatchet: boolean;
12129
- readonly asRatchet: {
12130
- readonly utxoId: u64;
12131
- readonly options: Option<PalletBitcoinLocksLockOptions>;
12132
- } & Struct;
12133
12261
  readonly isAdminModifyMinimumLockedSats: boolean;
12134
12262
  readonly asAdminModifyMinimumLockedSats: {
12135
12263
  readonly satoshis: u64;
@@ -12146,35 +12274,28 @@ declare module '@polkadot/types/lookup' {
12146
12274
  readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
12147
12275
  readonly signature: Bytes;
12148
12276
  } & Struct;
12149
- readonly isIncreaseSecuritization: boolean;
12150
- readonly asIncreaseSecuritization: {
12277
+ readonly isResecuritize: boolean;
12278
+ readonly asResecuritize: {
12151
12279
  readonly utxoId: u64;
12152
- readonly newSatoshis: Compact<u64>;
12280
+ readonly satoshis: Compact<u64>;
12281
+ readonly options: Option<PalletBitcoinLocksLockOptions>;
12153
12282
  } & Struct;
12154
12283
  readonly isSetFlexible: boolean;
12155
12284
  readonly asSetFlexible: {
12156
12285
  readonly utxoId: u64;
12157
12286
  readonly isFlexible: bool;
12158
12287
  } & Struct;
12159
- readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'Ratchet' | 'AdminModifyMinimumLockedSats' | 'RequestOrphanedUtxoRelease' | 'CosignOrphanedUtxoRelease' | 'IncreaseSecuritization' | 'SetFlexible';
12288
+ readonly type: 'CreateReceiveAddress' | 'RequestRelease' | 'CosignRelease' | 'AdminModifyMinimumLockedSats' | 'RequestOrphanedUtxoRelease' | 'CosignOrphanedUtxoRelease' | 'Resecuritize' | 'SetFlexible';
12160
12289
  }
12161
12290
  /** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (217) */
12162
12291
  interface ArgonPrimitivesBitcoinCompressedBitcoinPubkey extends U8aFixed {
12163
12292
  }
12164
12293
  /** @name PalletBitcoinLocksLockOptions (220) */
12165
- interface PalletBitcoinLocksLockOptions extends Enum {
12166
- readonly isV1: boolean;
12167
- readonly asV1: {
12168
- readonly microgonsAtTargetPerBtc: Option<u128>;
12169
- } & Struct;
12170
- readonly isV2: boolean;
12171
- readonly asV2: {
12172
- readonly microgonsAtTargetPerBtc: Compact<u128>;
12173
- readonly feeCoupon: PalletBitcoinLocksFeeCoupon;
12174
- } & Struct;
12175
- readonly type: 'V1' | 'V2';
12294
+ interface PalletBitcoinLocksLockOptions extends Struct {
12295
+ readonly microgonsAtTargetPerBtc: Compact<u128>;
12296
+ readonly feeCoupon: Option<PalletBitcoinLocksFeeCoupon>;
12176
12297
  }
12177
- /** @name PalletBitcoinLocksFeeCoupon (221) */
12298
+ /** @name PalletBitcoinLocksFeeCoupon (222) */
12178
12299
  interface PalletBitcoinLocksFeeCoupon extends Struct {
12179
12300
  readonly feeDiscount: Compact<u128>;
12180
12301
  readonly securitizationSpaceToUnreserve: Compact<u128>;
@@ -12182,7 +12303,7 @@ declare module '@polkadot/types/lookup' {
12182
12303
  readonly nonce: Compact<u64>;
12183
12304
  readonly signature: SpRuntimeMultiSignature;
12184
12305
  }
12185
- /** @name SpRuntimeMultiSignature (222) */
12306
+ /** @name SpRuntimeMultiSignature (223) */
12186
12307
  interface SpRuntimeMultiSignature extends Enum {
12187
12308
  readonly isEd25519: boolean;
12188
12309
  readonly asEd25519: U8aFixed;
@@ -12194,7 +12315,7 @@ declare module '@polkadot/types/lookup' {
12194
12315
  readonly asEth: U8aFixed;
12195
12316
  readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa' | 'Eth';
12196
12317
  }
12197
- /** @name PalletNotariesCall (227) */
12318
+ /** @name PalletNotariesCall (228) */
12198
12319
  interface PalletNotariesCall extends Enum {
12199
12320
  readonly isPropose: boolean;
12200
12321
  readonly asPropose: {
@@ -12212,7 +12333,7 @@ declare module '@polkadot/types/lookup' {
12212
12333
  } & Struct;
12213
12334
  readonly type: 'Propose' | 'Activate' | 'Update';
12214
12335
  }
12215
- /** @name PalletNotebookCall (228) */
12336
+ /** @name PalletNotebookCall (229) */
12216
12337
  interface PalletNotebookCall extends Enum {
12217
12338
  readonly isSubmit: boolean;
12218
12339
  readonly asSubmit: {
@@ -12224,12 +12345,12 @@ declare module '@polkadot/types/lookup' {
12224
12345
  } & Struct;
12225
12346
  readonly type: 'Submit' | 'Unlock';
12226
12347
  }
12227
- /** @name ArgonPrimitivesNotebookSignedNotebookHeader (230) */
12348
+ /** @name ArgonPrimitivesNotebookSignedNotebookHeader (231) */
12228
12349
  interface ArgonPrimitivesNotebookSignedNotebookHeader extends Struct {
12229
12350
  readonly header: ArgonPrimitivesNotebookNotebookHeader;
12230
12351
  readonly signature: U8aFixed;
12231
12352
  }
12232
- /** @name ArgonPrimitivesNotebookNotebookHeader (231) */
12353
+ /** @name ArgonPrimitivesNotebookNotebookHeader (232) */
12233
12354
  interface ArgonPrimitivesNotebookNotebookHeader extends Struct {
12234
12355
  readonly version: Compact<u16>;
12235
12356
  readonly notebookNumber: Compact<u32>;
@@ -12247,7 +12368,7 @@ declare module '@polkadot/types/lookup' {
12247
12368
  readonly parentSecret: Option<H256>;
12248
12369
  readonly domains: Vec<ITuple<[H256, AccountId32]>>;
12249
12370
  }
12250
- /** @name ArgonPrimitivesNotebookChainTransfer (234) */
12371
+ /** @name ArgonPrimitivesNotebookChainTransfer (235) */
12251
12372
  interface ArgonPrimitivesNotebookChainTransfer extends Enum {
12252
12373
  readonly isToMainchain: boolean;
12253
12374
  readonly asToMainchain: {
@@ -12260,12 +12381,12 @@ declare module '@polkadot/types/lookup' {
12260
12381
  } & Struct;
12261
12382
  readonly type: 'ToMainchain' | 'ToLocalchain';
12262
12383
  }
12263
- /** @name ArgonPrimitivesBalanceChangeAccountOrigin (237) */
12384
+ /** @name ArgonPrimitivesBalanceChangeAccountOrigin (238) */
12264
12385
  interface ArgonPrimitivesBalanceChangeAccountOrigin extends Struct {
12265
12386
  readonly notebookNumber: Compact<u32>;
12266
12387
  readonly accountUid: Compact<u32>;
12267
12388
  }
12268
- /** @name PalletLocalchainTransferCall (243) */
12389
+ /** @name PalletLocalchainTransferCall (244) */
12269
12390
  interface PalletLocalchainTransferCall extends Enum {
12270
12391
  readonly isSendToLocalchain: boolean;
12271
12392
  readonly asSendToLocalchain: {
@@ -12274,7 +12395,7 @@ declare module '@polkadot/types/lookup' {
12274
12395
  } & Struct;
12275
12396
  readonly type: 'SendToLocalchain';
12276
12397
  }
12277
- /** @name PalletBlockSealSpecCall (244) */
12398
+ /** @name PalletBlockSealSpecCall (245) */
12278
12399
  interface PalletBlockSealSpecCall extends Enum {
12279
12400
  readonly isConfigure: boolean;
12280
12401
  readonly asConfigure: {
@@ -12283,7 +12404,7 @@ declare module '@polkadot/types/lookup' {
12283
12404
  } & Struct;
12284
12405
  readonly type: 'Configure';
12285
12406
  }
12286
- /** @name PalletDomainsCall (245) */
12407
+ /** @name PalletDomainsCall (246) */
12287
12408
  interface PalletDomainsCall extends Enum {
12288
12409
  readonly isSetZoneRecord: boolean;
12289
12410
  readonly asSetZoneRecord: {
@@ -12292,7 +12413,7 @@ declare module '@polkadot/types/lookup' {
12292
12413
  } & Struct;
12293
12414
  readonly type: 'SetZoneRecord';
12294
12415
  }
12295
- /** @name PalletPriceIndexCall (246) */
12416
+ /** @name PalletPriceIndexCall (247) */
12296
12417
  interface PalletPriceIndexCall extends Enum {
12297
12418
  readonly isSubmit: boolean;
12298
12419
  readonly asSubmit: {
@@ -12305,7 +12426,7 @@ declare module '@polkadot/types/lookup' {
12305
12426
  } & Struct;
12306
12427
  readonly type: 'Submit' | 'SetOperator';
12307
12428
  }
12308
- /** @name PalletPriceIndexPriceIndex (247) */
12429
+ /** @name PalletPriceIndexPriceIndex (248) */
12309
12430
  interface PalletPriceIndexPriceIndex extends Struct {
12310
12431
  readonly btcUsdPrice: Compact<u128>;
12311
12432
  readonly argonotUsdPrice: u128;
@@ -12314,13 +12435,13 @@ declare module '@polkadot/types/lookup' {
12314
12435
  readonly argonTimeWeightedAverageLiquidity: u128;
12315
12436
  readonly tick: Compact<u64>;
12316
12437
  }
12317
- /** @name PalletPriceIndexEthereumPriceIndex (249) */
12438
+ /** @name PalletPriceIndexEthereumPriceIndex (250) */
12318
12439
  interface PalletPriceIndexEthereumPriceIndex extends Struct {
12319
12440
  readonly ethereumUsdPrice: u128;
12320
12441
  readonly ethereumGasPriceWei: Compact<u128>;
12321
12442
  readonly tick: Compact<u64>;
12322
12443
  }
12323
- /** @name PalletGrandpaCall (250) */
12444
+ /** @name PalletGrandpaCall (251) */
12324
12445
  interface PalletGrandpaCall extends Enum {
12325
12446
  readonly isReportEquivocation: boolean;
12326
12447
  readonly asReportEquivocation: {
@@ -12339,12 +12460,12 @@ declare module '@polkadot/types/lookup' {
12339
12460
  } & Struct;
12340
12461
  readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled';
12341
12462
  }
12342
- /** @name SpConsensusGrandpaEquivocationProof (251) */
12463
+ /** @name SpConsensusGrandpaEquivocationProof (252) */
12343
12464
  interface SpConsensusGrandpaEquivocationProof extends Struct {
12344
12465
  readonly setId: u64;
12345
12466
  readonly equivocation: SpConsensusGrandpaEquivocation;
12346
12467
  }
12347
- /** @name SpConsensusGrandpaEquivocation (252) */
12468
+ /** @name SpConsensusGrandpaEquivocation (253) */
12348
12469
  interface SpConsensusGrandpaEquivocation extends Enum {
12349
12470
  readonly isPrevote: boolean;
12350
12471
  readonly asPrevote: FinalityGrandpaEquivocationPrevote;
@@ -12352,36 +12473,36 @@ declare module '@polkadot/types/lookup' {
12352
12473
  readonly asPrecommit: FinalityGrandpaEquivocationPrecommit;
12353
12474
  readonly type: 'Prevote' | 'Precommit';
12354
12475
  }
12355
- /** @name FinalityGrandpaEquivocationPrevote (253) */
12476
+ /** @name FinalityGrandpaEquivocationPrevote (254) */
12356
12477
  interface FinalityGrandpaEquivocationPrevote extends Struct {
12357
12478
  readonly roundNumber: u64;
12358
12479
  readonly identity: SpConsensusGrandpaAppPublic;
12359
12480
  readonly first: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>;
12360
12481
  readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>;
12361
12482
  }
12362
- /** @name FinalityGrandpaPrevote (254) */
12483
+ /** @name FinalityGrandpaPrevote (255) */
12363
12484
  interface FinalityGrandpaPrevote extends Struct {
12364
12485
  readonly targetHash: H256;
12365
12486
  readonly targetNumber: u32;
12366
12487
  }
12367
- /** @name SpConsensusGrandpaAppSignature (255) */
12488
+ /** @name SpConsensusGrandpaAppSignature (256) */
12368
12489
  interface SpConsensusGrandpaAppSignature extends U8aFixed {
12369
12490
  }
12370
- /** @name FinalityGrandpaEquivocationPrecommit (257) */
12491
+ /** @name FinalityGrandpaEquivocationPrecommit (258) */
12371
12492
  interface FinalityGrandpaEquivocationPrecommit extends Struct {
12372
12493
  readonly roundNumber: u64;
12373
12494
  readonly identity: SpConsensusGrandpaAppPublic;
12374
12495
  readonly first: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>;
12375
12496
  readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>;
12376
12497
  }
12377
- /** @name FinalityGrandpaPrecommit (258) */
12498
+ /** @name FinalityGrandpaPrecommit (259) */
12378
12499
  interface FinalityGrandpaPrecommit extends Struct {
12379
12500
  readonly targetHash: H256;
12380
12501
  readonly targetNumber: u32;
12381
12502
  }
12382
- /** @name SpCoreVoid (260) */
12503
+ /** @name SpCoreVoid (261) */
12383
12504
  type SpCoreVoid = Null;
12384
- /** @name PalletBlockSealCall (261) */
12505
+ /** @name PalletBlockSealCall (262) */
12385
12506
  interface PalletBlockSealCall extends Enum {
12386
12507
  readonly isApply: boolean;
12387
12508
  readonly asApply: {
@@ -12389,7 +12510,7 @@ declare module '@polkadot/types/lookup' {
12389
12510
  } & Struct;
12390
12511
  readonly type: 'Apply';
12391
12512
  }
12392
- /** @name ArgonPrimitivesInherentsBlockSealInherent (262) */
12513
+ /** @name ArgonPrimitivesInherentsBlockSealInherent (263) */
12393
12514
  interface ArgonPrimitivesInherentsBlockSealInherent extends Enum {
12394
12515
  readonly isVote: boolean;
12395
12516
  readonly asVote: {
@@ -12403,13 +12524,13 @@ declare module '@polkadot/types/lookup' {
12403
12524
  readonly isCompute: boolean;
12404
12525
  readonly type: 'Vote' | 'Compute';
12405
12526
  }
12406
- /** @name ArgonPrimitivesBalanceChangeMerkleProof (263) */
12527
+ /** @name ArgonPrimitivesBalanceChangeMerkleProof (264) */
12407
12528
  interface ArgonPrimitivesBalanceChangeMerkleProof extends Struct {
12408
12529
  readonly proof: Vec<H256>;
12409
12530
  readonly numberOfLeaves: Compact<u32>;
12410
12531
  readonly leafIndex: Compact<u32>;
12411
12532
  }
12412
- /** @name ArgonPrimitivesBlockVoteBlockVoteT (265) */
12533
+ /** @name ArgonPrimitivesBlockVoteBlockVoteT (266) */
12413
12534
  interface ArgonPrimitivesBlockVoteBlockVoteT extends Struct {
12414
12535
  readonly accountId: AccountId32;
12415
12536
  readonly blockHash: H256;
@@ -12419,7 +12540,7 @@ declare module '@polkadot/types/lookup' {
12419
12540
  readonly blockRewardsAccountId: AccountId32;
12420
12541
  readonly tick: Compact<u64>;
12421
12542
  }
12422
- /** @name PalletBlockRewardsCall (266) */
12543
+ /** @name PalletBlockRewardsCall (267) */
12423
12544
  interface PalletBlockRewardsCall extends Enum {
12424
12545
  readonly isSetBlockRewardsPaused: boolean;
12425
12546
  readonly asSetBlockRewardsPaused: {
@@ -12431,9 +12552,9 @@ declare module '@polkadot/types/lookup' {
12431
12552
  } & Struct;
12432
12553
  readonly type: 'SetBlockRewardsPaused' | 'SetBlockVoterRewardsEnabled';
12433
12554
  }
12434
- /** @name PalletMintCall (267) */
12555
+ /** @name PalletMintCall (268) */
12435
12556
  type PalletMintCall = Null;
12436
- /** @name PalletBalancesCall (268) */
12557
+ /** @name PalletBalancesCall (269) */
12437
12558
  interface PalletBalancesCall extends Enum {
12438
12559
  readonly isTransferAllowDeath: boolean;
12439
12560
  readonly asTransferAllowDeath: {
@@ -12482,13 +12603,13 @@ declare module '@polkadot/types/lookup' {
12482
12603
  } & Struct;
12483
12604
  readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance' | 'Burn';
12484
12605
  }
12485
- /** @name PalletBalancesAdjustmentDirection (269) */
12606
+ /** @name PalletBalancesAdjustmentDirection (270) */
12486
12607
  interface PalletBalancesAdjustmentDirection extends Enum {
12487
12608
  readonly isIncrease: boolean;
12488
12609
  readonly isDecrease: boolean;
12489
12610
  readonly type: 'Increase' | 'Decrease';
12490
12611
  }
12491
- /** @name PalletTxPauseCall (271) */
12612
+ /** @name PalletTxPauseCall (272) */
12492
12613
  interface PalletTxPauseCall extends Enum {
12493
12614
  readonly isPause: boolean;
12494
12615
  readonly asPause: {
@@ -12500,7 +12621,7 @@ declare module '@polkadot/types/lookup' {
12500
12621
  } & Struct;
12501
12622
  readonly type: 'Pause' | 'Unpause';
12502
12623
  }
12503
- /** @name PalletUtilityCall (272) */
12624
+ /** @name PalletUtilityCall (273) */
12504
12625
  interface PalletUtilityCall extends Enum {
12505
12626
  readonly isBatch: boolean;
12506
12627
  readonly asBatch: {
@@ -12541,7 +12662,7 @@ declare module '@polkadot/types/lookup' {
12541
12662
  } & Struct;
12542
12663
  readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight' | 'IfElse' | 'DispatchAsFallible';
12543
12664
  }
12544
- /** @name PalletSudoCall (274) */
12665
+ /** @name PalletSudoCall (275) */
12545
12666
  interface PalletSudoCall extends Enum {
12546
12667
  readonly isSudo: boolean;
12547
12668
  readonly asSudo: {
@@ -12564,7 +12685,28 @@ declare module '@polkadot/types/lookup' {
12564
12685
  readonly isRemoveKey: boolean;
12565
12686
  readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs' | 'RemoveKey';
12566
12687
  }
12567
- /** @name PalletTreasuryCall (275) */
12688
+ /** @name PalletBitcoinFissionsCall (276) */
12689
+ interface PalletBitcoinFissionsCall extends Enum {
12690
+ readonly isCreate: boolean;
12691
+ readonly asCreate: {
12692
+ readonly fissionId: Compact<u64>;
12693
+ readonly liquidId: Compact<u64>;
12694
+ readonly utxoId: Compact<u64>;
12695
+ readonly satoshis: Compact<u64>;
12696
+ readonly microgonsAtTargetPerBtc: Compact<u128>;
12697
+ } & Struct;
12698
+ readonly isRatchet: boolean;
12699
+ readonly asRatchet: {
12700
+ readonly fissionId: Compact<u64>;
12701
+ readonly microgonsAtTargetPerBtc: Compact<u128>;
12702
+ } & Struct;
12703
+ readonly isClose: boolean;
12704
+ readonly asClose: {
12705
+ readonly fissionId: Compact<u64>;
12706
+ } & Struct;
12707
+ readonly type: 'Create' | 'Ratchet' | 'Close';
12708
+ }
12709
+ /** @name PalletTreasuryCall (277) */
12568
12710
  interface PalletTreasuryCall extends Enum {
12569
12711
  readonly isBuyBonds: boolean;
12570
12712
  readonly asBuyBonds: {
@@ -12592,7 +12734,7 @@ declare module '@polkadot/types/lookup' {
12592
12734
  } & Struct;
12593
12735
  readonly type: 'BuyBonds' | 'LiquidateBondLot' | 'BuyArgonotBonds' | 'SetBondLotFlexible' | 'SetReservedBondSpace';
12594
12736
  }
12595
- /** @name ArgonPrimitivesVaultTreasuryBonusApprovalProof (277) */
12737
+ /** @name ArgonPrimitivesVaultTreasuryBonusApprovalProof (279) */
12596
12738
  interface ArgonPrimitivesVaultTreasuryBonusApprovalProof extends Struct {
12597
12739
  readonly vaultId: Compact<u32>;
12598
12740
  readonly beneficiary: AccountId32;
@@ -12602,7 +12744,7 @@ declare module '@polkadot/types/lookup' {
12602
12744
  readonly nonce: Compact<u64>;
12603
12745
  readonly signature: SpRuntimeMultiSignature;
12604
12746
  }
12605
- /** @name PalletOperationalAccountsCall (278) */
12747
+ /** @name PalletOperationalAccountsCall (280) */
12606
12748
  interface PalletOperationalAccountsCall extends Enum {
12607
12749
  readonly isRegister: boolean;
12608
12750
  readonly asRegister: {
@@ -12630,13 +12772,13 @@ declare module '@polkadot/types/lookup' {
12630
12772
  } & Struct;
12631
12773
  readonly type: 'Register' | 'SetName' | 'SetRewardConfig' | 'ForceSetProgress' | 'Activate' | 'ClaimRewards';
12632
12774
  }
12633
- /** @name PalletOperationalAccountsRegistration (279) */
12775
+ /** @name PalletOperationalAccountsRegistration (281) */
12634
12776
  interface PalletOperationalAccountsRegistration extends Enum {
12635
12777
  readonly isV1: boolean;
12636
12778
  readonly asV1: PalletOperationalAccountsRegistrationV1;
12637
12779
  readonly type: 'V1';
12638
12780
  }
12639
- /** @name PalletOperationalAccountsRegistrationV1 (280) */
12781
+ /** @name PalletOperationalAccountsRegistrationV1 (282) */
12640
12782
  interface PalletOperationalAccountsRegistrationV1 extends Struct {
12641
12783
  readonly operationalAccount: AccountId32;
12642
12784
  readonly encryptionPubkey: PalletOperationalAccountsOpaqueEncryptionPubkey;
@@ -12647,19 +12789,19 @@ declare module '@polkadot/types/lookup' {
12647
12789
  readonly miningAccountProof: PalletOperationalAccountsAccountOwnershipProof;
12648
12790
  readonly accessProof: Option<PalletOperationalAccountsUpstreamAccessProof>;
12649
12791
  }
12650
- /** @name PalletOperationalAccountsOpaqueEncryptionPubkey (281) */
12792
+ /** @name PalletOperationalAccountsOpaqueEncryptionPubkey (283) */
12651
12793
  interface PalletOperationalAccountsOpaqueEncryptionPubkey extends U8aFixed {
12652
12794
  }
12653
- /** @name PalletOperationalAccountsAccountOwnershipProof (282) */
12795
+ /** @name PalletOperationalAccountsAccountOwnershipProof (284) */
12654
12796
  interface PalletOperationalAccountsAccountOwnershipProof extends Struct {
12655
12797
  readonly signature: SpRuntimeMultiSignature;
12656
12798
  }
12657
- /** @name PalletOperationalAccountsUpstreamAccessProof (284) */
12799
+ /** @name PalletOperationalAccountsUpstreamAccessProof (286) */
12658
12800
  interface PalletOperationalAccountsUpstreamAccessProof extends Struct {
12659
12801
  readonly upstreamAccount: AccountId32;
12660
12802
  readonly signature: SpRuntimeMultiSignature;
12661
12803
  }
12662
- /** @name PalletOperationalAccountsOperationalProgressPatch (287) */
12804
+ /** @name PalletOperationalAccountsOperationalProgressPatch (289) */
12663
12805
  interface PalletOperationalAccountsOperationalProgressPatch extends Struct {
12664
12806
  readonly uniswapArgonTransfersInAmount: Option<u128>;
12665
12807
  readonly accountBitcoinAmount: Option<u128>;
@@ -12668,7 +12810,7 @@ declare module '@polkadot/types/lookup' {
12668
12810
  readonly vaultBitcoinAmount: Option<u128>;
12669
12811
  readonly miningSeatCount: Option<u32>;
12670
12812
  }
12671
- /** @name PalletEthereumVerifierCall (289) */
12813
+ /** @name PalletEthereumVerifierCall (291) */
12672
12814
  interface PalletEthereumVerifierCall extends Enum {
12673
12815
  readonly isForceCheckpoint: boolean;
12674
12816
  readonly asForceCheckpoint: {
@@ -12691,7 +12833,7 @@ declare module '@polkadot/types/lookup' {
12691
12833
  } & Struct;
12692
12834
  readonly type: 'ForceCheckpoint' | 'Submit' | 'ImportTrustedExecutionHeaderBackfill' | 'SetOperatingMode';
12693
12835
  }
12694
- /** @name PalletEthereumVerifierCheckpointUpdate (290) */
12836
+ /** @name PalletEthereumVerifierCheckpointUpdate (292) */
12695
12837
  interface PalletEthereumVerifierCheckpointUpdate extends Struct {
12696
12838
  readonly header: SnowbridgeBeaconPrimitivesBeaconHeader;
12697
12839
  readonly currentSyncCommittee: PalletEthereumVerifierSyncCommittee;
@@ -12699,7 +12841,7 @@ declare module '@polkadot/types/lookup' {
12699
12841
  readonly validatorsRoot: H256;
12700
12842
  readonly executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof;
12701
12843
  }
12702
- /** @name SnowbridgeBeaconPrimitivesBeaconHeader (291) */
12844
+ /** @name SnowbridgeBeaconPrimitivesBeaconHeader (293) */
12703
12845
  interface SnowbridgeBeaconPrimitivesBeaconHeader extends Struct {
12704
12846
  readonly slot: u64;
12705
12847
  readonly proposerIndex: u64;
@@ -12707,20 +12849,20 @@ declare module '@polkadot/types/lookup' {
12707
12849
  readonly stateRoot: H256;
12708
12850
  readonly bodyRoot: H256;
12709
12851
  }
12710
- /** @name PalletEthereumVerifierSyncCommittee (292) */
12852
+ /** @name PalletEthereumVerifierSyncCommittee (294) */
12711
12853
  interface PalletEthereumVerifierSyncCommittee extends Struct {
12712
12854
  readonly pubkeys: Vec<SnowbridgeBeaconPrimitivesPublicKey>;
12713
12855
  readonly aggregatePubkey: SnowbridgeBeaconPrimitivesPublicKey;
12714
12856
  }
12715
- /** @name SnowbridgeBeaconPrimitivesPublicKey (294) */
12857
+ /** @name SnowbridgeBeaconPrimitivesPublicKey (296) */
12716
12858
  interface SnowbridgeBeaconPrimitivesPublicKey extends U8aFixed {
12717
12859
  }
12718
- /** @name PalletEthereumVerifierExecutionHeaderProof (298) */
12860
+ /** @name PalletEthereumVerifierExecutionHeaderProof (300) */
12719
12861
  interface PalletEthereumVerifierExecutionHeaderProof extends Struct {
12720
12862
  readonly executionHeader: SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader;
12721
12863
  readonly executionBranch: Vec<H256>;
12722
12864
  }
12723
- /** @name SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader (299) */
12865
+ /** @name SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader (301) */
12724
12866
  interface SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader extends Enum {
12725
12867
  readonly isCapella: boolean;
12726
12868
  readonly asCapella: SnowbridgeBeaconPrimitivesExecutionPayloadHeader;
@@ -12728,7 +12870,7 @@ declare module '@polkadot/types/lookup' {
12728
12870
  readonly asDeneb: SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader;
12729
12871
  readonly type: 'Capella' | 'Deneb';
12730
12872
  }
12731
- /** @name SnowbridgeBeaconPrimitivesExecutionPayloadHeader (300) */
12873
+ /** @name SnowbridgeBeaconPrimitivesExecutionPayloadHeader (302) */
12732
12874
  interface SnowbridgeBeaconPrimitivesExecutionPayloadHeader extends Struct {
12733
12875
  readonly parentHash: H256;
12734
12876
  readonly feeRecipient: H160;
@@ -12746,7 +12888,7 @@ declare module '@polkadot/types/lookup' {
12746
12888
  readonly transactionsRoot: H256;
12747
12889
  readonly withdrawalsRoot: H256;
12748
12890
  }
12749
- /** @name SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader (301) */
12891
+ /** @name SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader (303) */
12750
12892
  interface SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader extends Struct {
12751
12893
  readonly parentHash: H256;
12752
12894
  readonly feeRecipient: H160;
@@ -12766,7 +12908,7 @@ declare module '@polkadot/types/lookup' {
12766
12908
  readonly blobGasUsed: u64;
12767
12909
  readonly excessBlobGas: u64;
12768
12910
  }
12769
- /** @name PalletEthereumVerifierForkVersions (302) */
12911
+ /** @name PalletEthereumVerifierForkVersions (304) */
12770
12912
  interface PalletEthereumVerifierForkVersions extends Struct {
12771
12913
  readonly genesis: PalletEthereumVerifierFork;
12772
12914
  readonly altair: PalletEthereumVerifierFork;
@@ -12776,12 +12918,12 @@ declare module '@polkadot/types/lookup' {
12776
12918
  readonly electra: PalletEthereumVerifierFork;
12777
12919
  readonly fulu: PalletEthereumVerifierFork;
12778
12920
  }
12779
- /** @name PalletEthereumVerifierFork (303) */
12921
+ /** @name PalletEthereumVerifierFork (305) */
12780
12922
  interface PalletEthereumVerifierFork extends Struct {
12781
12923
  readonly version: U8aFixed;
12782
12924
  readonly epoch: Compact<u64>;
12783
12925
  }
12784
- /** @name PalletEthereumVerifierUpdate (304) */
12926
+ /** @name PalletEthereumVerifierUpdate (306) */
12785
12927
  interface PalletEthereumVerifierUpdate extends Struct {
12786
12928
  readonly attestedHeader: SnowbridgeBeaconPrimitivesBeaconHeader;
12787
12929
  readonly syncAggregate: PalletEthereumVerifierSyncAggregate;
@@ -12791,20 +12933,20 @@ declare module '@polkadot/types/lookup' {
12791
12933
  readonly finalityBranch: Vec<H256>;
12792
12934
  readonly executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof;
12793
12935
  }
12794
- /** @name PalletEthereumVerifierSyncAggregate (305) */
12936
+ /** @name PalletEthereumVerifierSyncAggregate (307) */
12795
12937
  interface PalletEthereumVerifierSyncAggregate extends Struct {
12796
12938
  readonly syncCommitteeBits: Bytes;
12797
12939
  readonly syncCommitteeSignature: SnowbridgeBeaconPrimitivesSignature;
12798
12940
  }
12799
- /** @name SnowbridgeBeaconPrimitivesSignature (307) */
12941
+ /** @name SnowbridgeBeaconPrimitivesSignature (309) */
12800
12942
  interface SnowbridgeBeaconPrimitivesSignature extends U8aFixed {
12801
12943
  }
12802
- /** @name PalletEthereumVerifierNextSyncCommitteeUpdate (310) */
12944
+ /** @name PalletEthereumVerifierNextSyncCommitteeUpdate (312) */
12803
12945
  interface PalletEthereumVerifierNextSyncCommitteeUpdate extends Struct {
12804
12946
  readonly nextSyncCommittee: PalletEthereumVerifierSyncCommittee;
12805
12947
  readonly nextSyncCommitteeBranch: Vec<H256>;
12806
12948
  }
12807
- /** @name PalletCrosschainTransferCall (311) */
12949
+ /** @name PalletCrosschainTransferCall (313) */
12808
12950
  interface PalletCrosschainTransferCall extends Enum {
12809
12951
  readonly isSetChainConfig: boolean;
12810
12952
  readonly asSetChainConfig: {
@@ -12880,7 +13022,7 @@ declare module '@polkadot/types/lookup' {
12880
13022
  } & Struct;
12881
13023
  readonly type: 'SetChainConfig' | 'ForceSetGlobalIssuanceCouncil' | 'PauseGateway' | 'UnpauseGateway' | 'SetMinimumMintingAuthorityValue' | 'SetMintingAuthorityActivationRepaymentPricing' | 'RegisterCouncilSigner' | 'ApproveQueueEntries' | 'ProveGatewayActivity' | 'RegisterMintingAuthority' | 'DeactivateMintingAuthority' | 'TransferOut' | 'CollateralizeTransfer';
12882
13024
  }
12883
- /** @name PalletCrosschainTransferChainConfig (312) */
13025
+ /** @name PalletCrosschainTransferChainConfig (314) */
12884
13026
  interface PalletCrosschainTransferChainConfig extends Enum {
12885
13027
  readonly isEvm: boolean;
12886
13028
  readonly asEvm: {
@@ -12891,55 +13033,55 @@ declare module '@polkadot/types/lookup' {
12891
13033
  } & Struct;
12892
13034
  readonly type: 'Evm';
12893
13035
  }
12894
- /** @name PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing (314) */
13036
+ /** @name PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing (316) */
12895
13037
  interface PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing extends Struct {
12896
13038
  readonly activationGasCost: Compact<u128>;
12897
13039
  readonly signatureGasCost: Compact<u128>;
12898
13040
  readonly estimatedWeiPerGas: Compact<u128>;
12899
13041
  readonly estimatedMicrogonsPerEth: u128;
12900
13042
  }
12901
- /** @name ArgonPrimitivesEthereumEthereumReceiptLogProofBatch (317) */
13043
+ /** @name ArgonPrimitivesEthereumEthereumReceiptLogProofBatch (319) */
12902
13044
  interface ArgonPrimitivesEthereumEthereumReceiptLogProofBatch extends Struct {
12903
13045
  readonly executionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
12904
13046
  readonly blocks: Vec<ArgonPrimitivesEthereumEthereumReceiptLogProofBlock>;
12905
13047
  }
12906
- /** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof (318) */
13048
+ /** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof (320) */
12907
13049
  interface ArgonPrimitivesEthereumEthereumExecutionBlockProof extends Struct {
12908
13050
  readonly anchorBlockHash: H256;
12909
13051
  readonly targetToAnchorHeaderChain: Vec<ArgonPrimitivesEthereumEthereumExecutionHeader>;
12910
13052
  }
12911
- /** @name ArgonPrimitivesEthereumEthereumExecutionHeader (320) */
13053
+ /** @name ArgonPrimitivesEthereumEthereumExecutionHeader (322) */
12912
13054
  interface ArgonPrimitivesEthereumEthereumExecutionHeader extends Struct {
12913
13055
  readonly rlp: Bytes;
12914
13056
  }
12915
- /** @name ArgonPrimitivesEthereumEthereumReceiptLogProofBlock (324) */
13057
+ /** @name ArgonPrimitivesEthereumEthereumReceiptLogProofBlock (326) */
12916
13058
  interface ArgonPrimitivesEthereumEthereumReceiptLogProofBlock extends Struct {
12917
13059
  readonly targetBlockNumber: Compact<u64>;
12918
13060
  readonly receiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
12919
13061
  readonly receiptLogs: Vec<ArgonPrimitivesEthereumEthereumReceiptLog>;
12920
13062
  }
12921
- /** @name ArgonPrimitivesEthereumEthereumCombinedReceiptProof (325) */
13063
+ /** @name ArgonPrimitivesEthereumEthereumCombinedReceiptProof (327) */
12922
13064
  interface ArgonPrimitivesEthereumEthereumCombinedReceiptProof extends Struct {
12923
13065
  readonly nodes: Vec<Bytes>;
12924
13066
  readonly receipts: Vec<ArgonPrimitivesEthereumEthereumReceiptProofReceipt>;
12925
13067
  }
12926
- /** @name ArgonPrimitivesEthereumEthereumReceiptProofReceipt (329) */
13068
+ /** @name ArgonPrimitivesEthereumEthereumReceiptProofReceipt (331) */
12927
13069
  interface ArgonPrimitivesEthereumEthereumReceiptProofReceipt extends Struct {
12928
13070
  readonly transactionIndex: Compact<u64>;
12929
13071
  readonly nodeIndexes: Vec<u16>;
12930
13072
  }
12931
- /** @name ArgonPrimitivesEthereumEthereumReceiptLog (334) */
13073
+ /** @name ArgonPrimitivesEthereumEthereumReceiptLog (336) */
12932
13074
  interface ArgonPrimitivesEthereumEthereumReceiptLog extends Struct {
12933
13075
  readonly transactionIndex: Compact<u64>;
12934
13076
  readonly eventLog: ArgonPrimitivesEthereumEthereumLog;
12935
13077
  }
12936
- /** @name ArgonPrimitivesEthereumEthereumLog (335) */
13078
+ /** @name ArgonPrimitivesEthereumEthereumLog (337) */
12937
13079
  interface ArgonPrimitivesEthereumEthereumLog extends Struct {
12938
13080
  readonly address: H160;
12939
13081
  readonly topics: Vec<H256>;
12940
13082
  readonly data: Bytes;
12941
13083
  }
12942
- /** @name PalletBootstrapCall (340) */
13084
+ /** @name PalletBootstrapCall (342) */
12943
13085
  interface PalletBootstrapCall extends Enum {
12944
13086
  readonly isSetRecoveryPayload: boolean;
12945
13087
  readonly asSetRecoveryPayload: {
@@ -12954,11 +13096,11 @@ declare module '@polkadot/types/lookup' {
12954
13096
  } & Struct;
12955
13097
  readonly type: 'SetRecoveryPayload' | 'SetEndpoint';
12956
13098
  }
12957
- /** @name PalletBootstrapRecoveryProof (341) */
13099
+ /** @name PalletBootstrapRecoveryProof (343) */
12958
13100
  interface PalletBootstrapRecoveryProof extends Struct {
12959
13101
  readonly signature: U8aFixed;
12960
13102
  }
12961
- /** @name PalletMultisigError (343) */
13103
+ /** @name PalletMultisigError (345) */
12962
13104
  interface PalletMultisigError extends Enum {
12963
13105
  readonly isMinimumThreshold: boolean;
12964
13106
  readonly isAlreadyApproved: boolean;
@@ -12976,19 +13118,19 @@ declare module '@polkadot/types/lookup' {
12976
13118
  readonly isAlreadyStored: boolean;
12977
13119
  readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored';
12978
13120
  }
12979
- /** @name PalletProxyProxyDefinition (346) */
13121
+ /** @name PalletProxyProxyDefinition (348) */
12980
13122
  interface PalletProxyProxyDefinition extends Struct {
12981
13123
  readonly delegate: AccountId32;
12982
13124
  readonly proxyType: ArgonRuntimeProxyType;
12983
13125
  readonly delay: u32;
12984
13126
  }
12985
- /** @name PalletProxyAnnouncement (350) */
13127
+ /** @name PalletProxyAnnouncement (352) */
12986
13128
  interface PalletProxyAnnouncement extends Struct {
12987
13129
  readonly real: AccountId32;
12988
13130
  readonly callHash: H256;
12989
13131
  readonly height: u32;
12990
13132
  }
12991
- /** @name PalletProxyError (352) */
13133
+ /** @name PalletProxyError (354) */
12992
13134
  interface PalletProxyError extends Enum {
12993
13135
  readonly isTooMany: boolean;
12994
13136
  readonly isNotFound: boolean;
@@ -13000,34 +13142,34 @@ declare module '@polkadot/types/lookup' {
13000
13142
  readonly isNoSelfProxy: boolean;
13001
13143
  readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy';
13002
13144
  }
13003
- /** @name ArgonPrimitivesTickTicker (353) */
13145
+ /** @name ArgonPrimitivesTickTicker (355) */
13004
13146
  interface ArgonPrimitivesTickTicker extends Struct {
13005
13147
  readonly tickDurationMillis: Compact<u64>;
13006
13148
  readonly channelHoldExpirationTicks: Compact<u64>;
13007
13149
  }
13008
- /** @name PalletTicksError (355) */
13150
+ /** @name PalletTicksError (357) */
13009
13151
  type PalletTicksError = Null;
13010
- /** @name PalletMiningSlotMinerNonceScoring (358) */
13152
+ /** @name PalletMiningSlotMinerNonceScoring (360) */
13011
13153
  interface PalletMiningSlotMinerNonceScoring extends Struct {
13012
13154
  readonly nonce: U256;
13013
13155
  readonly lastWinBlock: Option<u32>;
13014
13156
  readonly blocksWonInFrame: u16;
13015
13157
  readonly frameStartBlocksWonSurplus: i16;
13016
13158
  }
13017
- /** @name ArgonPrimitivesBlockSealMiningBidStats (370) */
13159
+ /** @name ArgonPrimitivesBlockSealMiningBidStats (372) */
13018
13160
  interface ArgonPrimitivesBlockSealMiningBidStats extends Struct {
13019
13161
  readonly bidsCount: u32;
13020
13162
  readonly bidAmountMin: u128;
13021
13163
  readonly bidAmountMax: u128;
13022
13164
  readonly bidAmountSum: u128;
13023
13165
  }
13024
- /** @name ArgonPrimitivesBlockSealMiningSlotConfig (374) */
13166
+ /** @name ArgonPrimitivesBlockSealMiningSlotConfig (376) */
13025
13167
  interface ArgonPrimitivesBlockSealMiningSlotConfig extends Struct {
13026
13168
  readonly ticksBeforeBidEndForVrfClose: Compact<u64>;
13027
13169
  readonly ticksBetweenSlots: Compact<u64>;
13028
13170
  readonly slotBiddingStartAfterTicks: Compact<u64>;
13029
13171
  }
13030
- /** @name PalletMiningSlotError (384) */
13172
+ /** @name PalletMiningSlotError (386) */
13031
13173
  interface PalletMiningSlotError extends Enum {
13032
13174
  readonly isSlotNotTakingBids: boolean;
13033
13175
  readonly isTooManyBlockRegistrants: boolean;
@@ -13042,15 +13184,7 @@ declare module '@polkadot/types/lookup' {
13042
13184
  readonly isUnrecoverableHold: boolean;
13043
13185
  readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'CannotChangeFundingAccount' | 'InsufficientFunds' | 'BidCannotBeReduced' | 'InvalidBidAmount' | 'OperationalAccountRegistrationRequired' | 'UnrecoverableHold';
13044
13186
  }
13045
- /** @name ArgonPrimitivesBitcoinUtxoValue (385) */
13046
- interface ArgonPrimitivesBitcoinUtxoValue extends Struct {
13047
- readonly utxoId: u64;
13048
- readonly scriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
13049
- readonly satoshis: Compact<u64>;
13050
- readonly submittedAtHeight: Compact<u64>;
13051
- readonly watchForSpentUntilHeight: Compact<u64>;
13052
- }
13053
- /** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (386) */
13187
+ /** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (387) */
13054
13188
  interface ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey extends Enum {
13055
13189
  readonly isP2wsh: boolean;
13056
13190
  readonly asP2wsh: {
@@ -13058,7 +13192,13 @@ declare module '@polkadot/types/lookup' {
13058
13192
  } & Struct;
13059
13193
  readonly type: 'P2wsh';
13060
13194
  }
13061
- /** @name ArgonPrimitivesBitcoinBitcoinNetwork (395) */
13195
+ /** @name ArgonPrimitivesBitcoinUtxoAddress (388) */
13196
+ interface ArgonPrimitivesBitcoinUtxoAddress extends Struct {
13197
+ readonly utxoId: u64;
13198
+ readonly scriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
13199
+ readonly submittedAtHeight: Compact<u64>;
13200
+ }
13201
+ /** @name ArgonPrimitivesBitcoinBitcoinNetwork (392) */
13062
13202
  interface ArgonPrimitivesBitcoinBitcoinNetwork extends Enum {
13063
13203
  readonly isBitcoin: boolean;
13064
13204
  readonly isTestnet: boolean;
@@ -13066,7 +13206,7 @@ declare module '@polkadot/types/lookup' {
13066
13206
  readonly isRegtest: boolean;
13067
13207
  readonly type: 'Bitcoin' | 'Testnet' | 'Signet' | 'Regtest';
13068
13208
  }
13069
- /** @name PalletBitcoinUtxosError (396) */
13209
+ /** @name PalletBitcoinUtxosError (393) */
13070
13210
  interface PalletBitcoinUtxosError extends Enum {
13071
13211
  readonly isNoPermissions: boolean;
13072
13212
  readonly isNoBitcoinConfirmedBlock: boolean;
@@ -13080,12 +13220,10 @@ declare module '@polkadot/types/lookup' {
13080
13220
  readonly isMaxUtxosExceeded: boolean;
13081
13221
  readonly isInvalidBitcoinScript: boolean;
13082
13222
  readonly isDuplicateUtxoId: boolean;
13083
- readonly isMaxCandidateUtxosExceeded: boolean;
13084
- readonly isUtxoNotCandidate: boolean;
13085
- readonly isLockAlreadyFunded: boolean;
13086
- readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript' | 'DuplicateUtxoId' | 'MaxCandidateUtxosExceeded' | 'UtxoNotCandidate' | 'LockAlreadyFunded';
13223
+ readonly isMaxUtxosPerLockExceeded: boolean;
13224
+ readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript' | 'DuplicateUtxoId' | 'MaxUtxosPerLockExceeded';
13087
13225
  }
13088
- /** @name ArgonPrimitivesVault (397) */
13226
+ /** @name ArgonPrimitivesVault (394) */
13089
13227
  interface ArgonPrimitivesVault extends Struct {
13090
13228
  readonly operatorAccountId: AccountId32;
13091
13229
  readonly delegateAccountId: Option<AccountId32>;
@@ -13096,8 +13234,8 @@ declare module '@polkadot/types/lookup' {
13096
13234
  readonly reservedSecuritizationSpace: Compact<u128>;
13097
13235
  readonly securitizationPendingActivation: Compact<u128>;
13098
13236
  readonly lockedSatoshis: Compact<u64>;
13099
- readonly securitizedSatoshis: Compact<u64>;
13100
- readonly flexibleSecuritizedSatoshis: Compact<u64>;
13237
+ readonly ratioAdjustedSatoshis: Compact<u64>;
13238
+ readonly flexibleRatioAdjustedSatoshis: Compact<u64>;
13101
13239
  readonly securitizationReleaseSchedule: BTreeMap<u64, u128>;
13102
13240
  readonly securitizationRatio: Compact<u128>;
13103
13241
  readonly isClosed: bool;
@@ -13106,12 +13244,12 @@ declare module '@polkadot/types/lookup' {
13106
13244
  readonly openedTick: Compact<u64>;
13107
13245
  readonly operationalMinimumReleaseTick: Option<u64>;
13108
13246
  }
13109
- /** @name ArgonPrimitivesVaultVaultArgonotCommitment (404) */
13247
+ /** @name ArgonPrimitivesVaultVaultArgonotCommitment (401) */
13110
13248
  interface ArgonPrimitivesVaultVaultArgonotCommitment extends Struct {
13111
13249
  readonly committedMicronots: Compact<u128>;
13112
13250
  readonly encumberedMicronots: Compact<u128>;
13113
13251
  }
13114
- /** @name ArgonPrimitivesBitcoinBitcoinXPub (406) */
13252
+ /** @name ArgonPrimitivesBitcoinBitcoinXPub (403) */
13115
13253
  interface ArgonPrimitivesBitcoinBitcoinXPub extends Struct {
13116
13254
  readonly publicKey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
13117
13255
  readonly depth: Compact<u8>;
@@ -13120,20 +13258,20 @@ declare module '@polkadot/types/lookup' {
13120
13258
  readonly chainCode: U8aFixed;
13121
13259
  readonly network: ArgonPrimitivesBitcoinNetworkKind;
13122
13260
  }
13123
- /** @name ArgonPrimitivesBitcoinNetworkKind (408) */
13261
+ /** @name ArgonPrimitivesBitcoinNetworkKind (405) */
13124
13262
  interface ArgonPrimitivesBitcoinNetworkKind extends Enum {
13125
13263
  readonly isMain: boolean;
13126
13264
  readonly isTest: boolean;
13127
13265
  readonly type: 'Main' | 'Test';
13128
13266
  }
13129
- /** @name PalletVaultsVaultFrameRevenue (417) */
13267
+ /** @name PalletVaultsVaultFrameRevenue (414) */
13130
13268
  interface PalletVaultsVaultFrameRevenue extends Struct {
13131
13269
  readonly frameId: Compact<u64>;
13132
13270
  readonly bitcoinLockFeeRevenue: Compact<u128>;
13133
13271
  readonly bitcoinLockFeeCouponValueUsed: Compact<u128>;
13134
13272
  readonly bitcoinLocksCreated: Compact<u32>;
13135
- readonly bitcoinLocksNewLiquidityPromised: Compact<u128>;
13136
- readonly bitcoinLocksReleasedLiquidity: Compact<u128>;
13273
+ readonly bitcoinLocksNewSecuritization: Compact<u128>;
13274
+ readonly bitcoinLocksReleasedSecuritization: Compact<u128>;
13137
13275
  readonly bitcoinLocksAddedSatoshis: Compact<u64>;
13138
13276
  readonly bitcoinLocksReleasedSatoshis: Compact<u64>;
13139
13277
  readonly securitizationActivated: Compact<u128>;
@@ -13145,7 +13283,7 @@ declare module '@polkadot/types/lookup' {
13145
13283
  readonly treasuryExternalCapital: Compact<u128>;
13146
13284
  readonly uncollectedRevenue: Compact<u128>;
13147
13285
  }
13148
- /** @name PalletVaultsError (419) */
13286
+ /** @name PalletVaultsError (416) */
13149
13287
  interface PalletVaultsError extends Enum {
13150
13288
  readonly isNoMoreVaultIds: boolean;
13151
13289
  readonly isInsufficientFunds: boolean;
@@ -13181,17 +13319,19 @@ declare module '@polkadot/types/lookup' {
13181
13319
  readonly isCommittedArgonotsBelowEncumberedBacking: boolean;
13182
13320
  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' | 'OverdueCollectBlockersBeforeCollect' | 'AccountAlreadyHasVault' | 'OperationalAccountRegistrationRequired' | 'CommittedArgonotsBelowEncumberedBacking';
13183
13321
  }
13184
- /** @name PalletBitcoinLocksLockedBitcoin (420) */
13322
+ /** @name PalletBitcoinLocksLockedBitcoin (417) */
13185
13323
  interface PalletBitcoinLocksLockedBitcoin extends Struct {
13186
13324
  readonly vaultId: Compact<u32>;
13187
- readonly liquidityPromised: Compact<u128>;
13188
- readonly lockedTargetPrice: Compact<u128>;
13325
+ readonly securitizedSatoshis: Compact<u64>;
13326
+ readonly microgonsAtTargetPerBtc: Compact<u128>;
13327
+ readonly securitizationCoverageMicrogons: Compact<u128>;
13328
+ readonly securitizationTick: Compact<u64>;
13329
+ readonly fundedSatoshis: Compact<u64>;
13330
+ readonly fissionedSatoshis: Compact<u64>;
13189
13331
  readonly ownerAccount: AccountId32;
13190
13332
  readonly securitizationRatio: u128;
13191
13333
  readonly securityFees: Compact<u128>;
13192
13334
  readonly couponPaidFees: Compact<u128>;
13193
- readonly satoshis: Compact<u64>;
13194
- readonly utxoSatoshis: Option<u64>;
13195
13335
  readonly vaultPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
13196
13336
  readonly vaultClaimPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
13197
13337
  readonly vaultXpubSources: ITuple<[U8aFixed, u32, u32]>;
@@ -13199,22 +13339,22 @@ declare module '@polkadot/types/lookup' {
13199
13339
  readonly vaultClaimHeight: Compact<u64>;
13200
13340
  readonly openClaimHeight: Compact<u64>;
13201
13341
  readonly createdAtHeight: Compact<u64>;
13342
+ readonly fundingExpirationHeight: Compact<u64>;
13202
13343
  readonly utxoScriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
13203
- readonly isFunded: bool;
13204
13344
  readonly isFlexible: bool;
13205
13345
  readonly fundHoldExtensions: BTreeMap<u64, u128>;
13206
13346
  readonly createdAtArgonBlock: Compact<u32>;
13207
13347
  }
13208
- /** @name PalletBitcoinLocksLockReleaseRequest (424) */
13348
+ /** @name PalletBitcoinLocksLockReleaseRequest (421) */
13209
13349
  interface PalletBitcoinLocksLockReleaseRequest extends Struct {
13210
13350
  readonly utxoId: Compact<u64>;
13211
13351
  readonly vaultId: Compact<u32>;
13212
13352
  readonly bitcoinNetworkFee: Compact<u64>;
13213
13353
  readonly cosignDueFrame: Compact<u64>;
13214
13354
  readonly toScriptPubkey: Bytes;
13215
- readonly redemptionAmount: Compact<u128>;
13355
+ readonly securitizationAtRisk: Compact<u128>;
13216
13356
  }
13217
- /** @name PalletBitcoinLocksOrphanedUtxo (426) */
13357
+ /** @name PalletBitcoinLocksOrphanedUtxo (423) */
13218
13358
  interface PalletBitcoinLocksOrphanedUtxo extends Struct {
13219
13359
  readonly utxoId: Compact<u64>;
13220
13360
  readonly vaultId: Compact<u32>;
@@ -13222,13 +13362,13 @@ declare module '@polkadot/types/lookup' {
13222
13362
  readonly recordedArgonBlockNumber: Compact<u32>;
13223
13363
  readonly cosignRequest: Option<PalletBitcoinLocksOrphanedUtxoCosignRequest>;
13224
13364
  }
13225
- /** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (428) */
13365
+ /** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (425) */
13226
13366
  interface PalletBitcoinLocksOrphanedUtxoCosignRequest extends Struct {
13227
13367
  readonly bitcoinNetworkFee: u64;
13228
13368
  readonly toScriptPubkey: Bytes;
13229
13369
  readonly createdAtArgonBlockNumber: u32;
13230
13370
  }
13231
- /** @name PalletBitcoinLocksError (435) */
13371
+ /** @name PalletBitcoinLocksError (432) */
13232
13372
  interface PalletBitcoinLocksError extends Enum {
13233
13373
  readonly isInsufficientFunds: boolean;
13234
13374
  readonly isInsufficientVaultFunds: boolean;
@@ -13243,10 +13383,13 @@ declare module '@polkadot/types/lookup' {
13243
13383
  readonly isBitcoinSignatureUnableToBeDecoded: boolean;
13244
13384
  readonly isBitcoinPubkeyUnableToBeDecoded: boolean;
13245
13385
  readonly isBitcoinInvalidCosignature: boolean;
13246
- readonly isInsufficientSatoshisLocked: boolean;
13247
13386
  readonly isNoBitcoinPricesAvailable: boolean;
13248
13387
  readonly isInvalidBitcoinScript: boolean;
13249
13388
  readonly isNoPermissions: boolean;
13389
+ readonly isLockHasActiveFissions: boolean;
13390
+ readonly isInsufficientSatoshisForFissions: boolean;
13391
+ readonly isFissionStateMismatch: boolean;
13392
+ readonly isInsufficientSecuritizationForFissions: boolean;
13250
13393
  readonly isHoldUnexpectedlyModified: boolean;
13251
13394
  readonly isUnrecoverableHold: boolean;
13252
13395
  readonly isVaultNotFound: boolean;
@@ -13257,22 +13400,22 @@ declare module '@polkadot/types/lookup' {
13257
13400
  readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
13258
13401
  readonly isVaultNotYetActive: boolean;
13259
13402
  readonly isExpirationAtBlockOverflow: boolean;
13260
- readonly isNoRatchetingAvailable: boolean;
13403
+ readonly isNoResecuritizationChange: boolean;
13261
13404
  readonly isLockInProcessOfRelease: boolean;
13262
13405
  readonly isLockPendingFunding: boolean;
13263
13406
  readonly isOverflowError: boolean;
13264
- readonly isIneligibleMicrogonRateRequested: boolean;
13407
+ readonly isIneligibleMicrogonsAtTargetPerBtcRequested: boolean;
13408
+ readonly isMicrogonsAtTargetPerBtcTickOlderThanCurrent: boolean;
13265
13409
  readonly isFeeCouponExpired: boolean;
13266
13410
  readonly isInvalidFeeCouponSignature: boolean;
13267
13411
  readonly isFeeCouponAlreadyUsed: boolean;
13268
- readonly isFeeCouponOnlyForInitialization: boolean;
13269
13412
  readonly isOrphanedUtxoFundingConflict: boolean;
13270
13413
  readonly isOrphanedUtxoReleaseRequested: boolean;
13271
13414
  readonly isFundingUtxoCannotBeReleased: boolean;
13272
13415
  readonly isMaxOrphanedUtxoReleaseRequestsExceeded: boolean;
13273
- 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' | 'FeeCouponExpired' | 'InvalidFeeCouponSignature' | 'FeeCouponAlreadyUsed' | 'FeeCouponOnlyForInitialization' | 'OrphanedUtxoFundingConflict' | 'OrphanedUtxoReleaseRequested' | 'FundingUtxoCannotBeReleased' | 'MaxOrphanedUtxoReleaseRequestsExceeded';
13416
+ readonly type: 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'RedemptionNotLocked' | 'BitcoinReleaseInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForRelease' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'NoPermissions' | 'LockHasActiveFissions' | 'InsufficientSatoshisForFissions' | 'FissionStateMismatch' | 'InsufficientSecuritizationForFissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'GenericVaultError' | 'LockNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'VaultNotYetActive' | 'ExpirationAtBlockOverflow' | 'NoResecuritizationChange' | 'LockInProcessOfRelease' | 'LockPendingFunding' | 'OverflowError' | 'IneligibleMicrogonsAtTargetPerBtcRequested' | 'MicrogonsAtTargetPerBtcTickOlderThanCurrent' | 'FeeCouponExpired' | 'InvalidFeeCouponSignature' | 'FeeCouponAlreadyUsed' | 'OrphanedUtxoFundingConflict' | 'OrphanedUtxoReleaseRequested' | 'FundingUtxoCannotBeReleased' | 'MaxOrphanedUtxoReleaseRequestsExceeded';
13274
13417
  }
13275
- /** @name ArgonPrimitivesVaultVaultError (436) */
13418
+ /** @name ArgonPrimitivesVaultVaultError (433) */
13276
13419
  interface ArgonPrimitivesVaultVaultError extends Enum {
13277
13420
  readonly isVaultClosed: boolean;
13278
13421
  readonly isAccountWouldBeBelowMinimum: boolean;
@@ -13289,7 +13432,7 @@ declare module '@polkadot/types/lookup' {
13289
13432
  readonly isCommittedArgonotsBelowEncumberedBacking: boolean;
13290
13433
  readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive' | 'CommittedArgonotsBelowEncumberedBacking';
13291
13434
  }
13292
- /** @name PalletNotariesError (448) */
13435
+ /** @name PalletNotariesError (445) */
13293
13436
  interface PalletNotariesError extends Enum {
13294
13437
  readonly isProposalNotFound: boolean;
13295
13438
  readonly isMaxNotariesExceeded: boolean;
@@ -13302,7 +13445,7 @@ declare module '@polkadot/types/lookup' {
13302
13445
  readonly isInvalidNotary: boolean;
13303
13446
  readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
13304
13447
  }
13305
- /** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (452) */
13448
+ /** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (449) */
13306
13449
  interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
13307
13450
  readonly notebookNumber: Compact<u32>;
13308
13451
  readonly tick: Compact<u64>;
@@ -13310,7 +13453,7 @@ declare module '@polkadot/types/lookup' {
13310
13453
  readonly secretHash: H256;
13311
13454
  readonly parentSecret: Option<H256>;
13312
13455
  }
13313
- /** @name PalletNotebookError (455) */
13456
+ /** @name PalletNotebookError (452) */
13314
13457
  interface PalletNotebookError extends Enum {
13315
13458
  readonly isDuplicateNotebookNumber: boolean;
13316
13459
  readonly isMissingNotebookNumber: boolean;
@@ -13329,17 +13472,17 @@ declare module '@polkadot/types/lookup' {
13329
13472
  readonly isInvalidNotebookSubmissionTick: boolean;
13330
13473
  readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
13331
13474
  }
13332
- /** @name PalletLocalchainTransferQueuedTransferOut (456) */
13475
+ /** @name PalletLocalchainTransferQueuedTransferOut (453) */
13333
13476
  interface PalletLocalchainTransferQueuedTransferOut extends Struct {
13334
13477
  readonly accountId: AccountId32;
13335
13478
  readonly amount: u128;
13336
13479
  readonly expirationTick: u64;
13337
13480
  readonly notaryId: u32;
13338
13481
  }
13339
- /** @name FrameSupportPalletId (458) */
13482
+ /** @name FrameSupportPalletId (455) */
13340
13483
  interface FrameSupportPalletId extends U8aFixed {
13341
13484
  }
13342
- /** @name PalletLocalchainTransferError (459) */
13485
+ /** @name PalletLocalchainTransferError (456) */
13343
13486
  interface PalletLocalchainTransferError extends Enum {
13344
13487
  readonly isMaxBlockTransfersExceeded: boolean;
13345
13488
  readonly isInsufficientFunds: boolean;
@@ -13351,7 +13494,7 @@ declare module '@polkadot/types/lookup' {
13351
13494
  readonly isNoAvailableTransferId: boolean;
13352
13495
  readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer' | 'NotaryLockedForTransfer' | 'NoAvailableTransferId';
13353
13496
  }
13354
- /** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (463) */
13497
+ /** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (460) */
13355
13498
  interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
13356
13499
  readonly notaryId: Compact<u32>;
13357
13500
  readonly notebookNumber: Compact<u32>;
@@ -13359,12 +13502,12 @@ declare module '@polkadot/types/lookup' {
13359
13502
  readonly blockVotesCount: Compact<u32>;
13360
13503
  readonly blockVotingPower: Compact<u128>;
13361
13504
  }
13362
- /** @name PalletBlockSealSpecError (468) */
13505
+ /** @name PalletBlockSealSpecError (465) */
13363
13506
  interface PalletBlockSealSpecError extends Enum {
13364
13507
  readonly isMaxNotebooksAtTickExceeded: boolean;
13365
13508
  readonly type: 'MaxNotebooksAtTickExceeded';
13366
13509
  }
13367
- /** @name PalletDomainsError (470) */
13510
+ /** @name PalletDomainsError (467) */
13368
13511
  interface PalletDomainsError extends Enum {
13369
13512
  readonly isDomainNotRegistered: boolean;
13370
13513
  readonly isNotDomainOwner: boolean;
@@ -13373,25 +13516,25 @@ declare module '@polkadot/types/lookup' {
13373
13516
  readonly isAccountDecodingError: boolean;
13374
13517
  readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
13375
13518
  }
13376
- /** @name PalletPriceIndexEthereumPriceFrameAccumulator (472) */
13519
+ /** @name PalletPriceIndexEthereumPriceFrameAccumulator (469) */
13377
13520
  interface PalletPriceIndexEthereumPriceFrameAccumulator extends Struct {
13378
13521
  readonly totalUsdPrice: u128;
13379
13522
  readonly totalWeiPerGas: Compact<u128>;
13380
13523
  readonly sampleCount: Compact<u32>;
13381
13524
  }
13382
- /** @name PalletPriceIndexCpiMeasurementBucket (477) */
13525
+ /** @name PalletPriceIndexCpiMeasurementBucket (474) */
13383
13526
  interface PalletPriceIndexCpiMeasurementBucket extends Struct {
13384
13527
  readonly tickRange: ITuple<[u64, u64]>;
13385
13528
  readonly totalCpi: i128;
13386
13529
  readonly measurementsCount: u32;
13387
13530
  }
13388
- /** @name PalletPriceIndexArgonotAverageFrameAccumulator (481) */
13531
+ /** @name PalletPriceIndexArgonotAverageFrameAccumulator (478) */
13389
13532
  interface PalletPriceIndexArgonotAverageFrameAccumulator extends Struct {
13390
13533
  readonly frameId: Compact<u64>;
13391
13534
  readonly totalMicrogonsPerArgonot: Compact<u128>;
13392
13535
  readonly sampleCount: Compact<u32>;
13393
13536
  }
13394
- /** @name PalletPriceIndexError (482) */
13537
+ /** @name PalletPriceIndexError (479) */
13395
13538
  interface PalletPriceIndexError extends Enum {
13396
13539
  readonly isNotAuthorizedOperator: boolean;
13397
13540
  readonly isMissingValue: boolean;
@@ -13400,7 +13543,7 @@ declare module '@polkadot/types/lookup' {
13400
13543
  readonly isInvalidEthereumPrices: boolean;
13401
13544
  readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded' | 'InvalidEthereumPrices';
13402
13545
  }
13403
- /** @name PalletGrandpaStoredState (483) */
13546
+ /** @name PalletGrandpaStoredState (480) */
13404
13547
  interface PalletGrandpaStoredState extends Enum {
13405
13548
  readonly isLive: boolean;
13406
13549
  readonly isPendingPause: boolean;
@@ -13416,14 +13559,14 @@ declare module '@polkadot/types/lookup' {
13416
13559
  } & Struct;
13417
13560
  readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
13418
13561
  }
13419
- /** @name PalletGrandpaStoredPendingChange (484) */
13562
+ /** @name PalletGrandpaStoredPendingChange (481) */
13420
13563
  interface PalletGrandpaStoredPendingChange extends Struct {
13421
13564
  readonly scheduledAt: u32;
13422
13565
  readonly delay: u32;
13423
13566
  readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
13424
13567
  readonly forced: Option<u32>;
13425
13568
  }
13426
- /** @name PalletGrandpaError (486) */
13569
+ /** @name PalletGrandpaError (483) */
13427
13570
  interface PalletGrandpaError extends Enum {
13428
13571
  readonly isPauseFailed: boolean;
13429
13572
  readonly isResumeFailed: boolean;
@@ -13434,13 +13577,13 @@ declare module '@polkadot/types/lookup' {
13434
13577
  readonly isDuplicateOffenceReport: boolean;
13435
13578
  readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
13436
13579
  }
13437
- /** @name ArgonPrimitivesProvidersBlockSealerInfo (487) */
13580
+ /** @name ArgonPrimitivesProvidersBlockSealerInfo (484) */
13438
13581
  interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
13439
13582
  readonly blockAuthorAccountId: AccountId32;
13440
13583
  readonly blockVoteRewardsAccount: Option<AccountId32>;
13441
13584
  readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
13442
13585
  }
13443
- /** @name PalletBlockSealError (489) */
13586
+ /** @name PalletBlockSealError (486) */
13444
13587
  interface PalletBlockSealError extends Enum {
13445
13588
  readonly isInvalidVoteSealStrength: boolean;
13446
13589
  readonly isInvalidSubmitter: boolean;
@@ -13465,72 +13608,73 @@ declare module '@polkadot/types/lookup' {
13465
13608
  readonly isDuplicateVoteBlockAtTick: boolean;
13466
13609
  readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick' | 'InvalidMinerNonceScore' | 'DuplicateVoteBlockAtTick';
13467
13610
  }
13468
- /** @name PalletBlockRewardsError (493) */
13611
+ /** @name PalletBlockRewardsError (490) */
13469
13612
  type PalletBlockRewardsError = Null;
13470
- /** @name PalletMintPendingMintUtxo (494) */
13613
+ /** @name PalletMintPendingMintUtxo (491) */
13471
13614
  interface PalletMintPendingMintUtxo extends Struct {
13615
+ readonly fissionId: Compact<u64>;
13472
13616
  readonly utxoId: Compact<u64>;
13473
13617
  readonly accountId: AccountId32;
13474
13618
  readonly remainingAmount: Compact<u128>;
13475
13619
  readonly maxAmountPerFrame: Compact<u128>;
13476
13620
  }
13477
- /** @name PalletMintMintQueueCursor (496) */
13621
+ /** @name PalletMintMintQueueCursor (493) */
13478
13622
  interface PalletMintMintQueueCursor extends Struct {
13479
13623
  readonly payoutStartIndex: Compact<u64>;
13480
13624
  readonly payoutCursorIndex: Compact<u64>;
13481
13625
  readonly payoutCursorFrameId: Option<u64>;
13482
13626
  }
13483
- /** @name PalletMintMintAction (499) */
13627
+ /** @name PalletMintMintAction (496) */
13484
13628
  interface PalletMintMintAction extends Struct {
13485
13629
  readonly argonBurned: u128;
13486
13630
  readonly argonMinted: u128;
13487
13631
  readonly bitcoinMinted: u128;
13488
13632
  }
13489
- /** @name PalletMintError (501) */
13633
+ /** @name PalletMintError (498) */
13490
13634
  interface PalletMintError extends Enum {
13491
13635
  readonly isTooManyPendingMints: boolean;
13492
13636
  readonly type: 'TooManyPendingMints';
13493
13637
  }
13494
- /** @name PalletBalancesBalanceLock (503) */
13638
+ /** @name PalletBalancesBalanceLock (500) */
13495
13639
  interface PalletBalancesBalanceLock extends Struct {
13496
13640
  readonly id: U8aFixed;
13497
13641
  readonly amount: u128;
13498
13642
  readonly reasons: PalletBalancesReasons;
13499
13643
  }
13500
- /** @name PalletBalancesReasons (504) */
13644
+ /** @name PalletBalancesReasons (501) */
13501
13645
  interface PalletBalancesReasons extends Enum {
13502
13646
  readonly isFee: boolean;
13503
13647
  readonly isMisc: boolean;
13504
13648
  readonly isAll: boolean;
13505
13649
  readonly type: 'Fee' | 'Misc' | 'All';
13506
13650
  }
13507
- /** @name PalletBalancesReserveData (507) */
13651
+ /** @name PalletBalancesReserveData (504) */
13508
13652
  interface PalletBalancesReserveData extends Struct {
13509
13653
  readonly id: U8aFixed;
13510
13654
  readonly amount: u128;
13511
13655
  }
13512
- /** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (510) */
13656
+ /** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (507) */
13513
13657
  interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
13514
13658
  readonly id: ArgonRuntimeRuntimeHoldReason;
13515
13659
  readonly amount: u128;
13516
13660
  }
13517
- /** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (513) */
13661
+ /** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (510) */
13518
13662
  interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
13519
13663
  readonly id: ArgonRuntimeRuntimeFreezeReason;
13520
13664
  readonly amount: u128;
13521
13665
  }
13522
- /** @name ArgonRuntimeRuntimeFreezeReason (514) */
13666
+ /** @name ArgonRuntimeRuntimeFreezeReason (511) */
13523
13667
  interface ArgonRuntimeRuntimeFreezeReason extends Enum {
13524
13668
  readonly isBlockRewards: boolean;
13525
13669
  readonly asBlockRewards: PalletBlockRewardsFreezeReason;
13526
13670
  readonly type: 'BlockRewards';
13527
13671
  }
13528
- /** @name PalletBlockRewardsFreezeReason (515) */
13672
+ /** @name PalletBlockRewardsFreezeReason (512) */
13529
13673
  interface PalletBlockRewardsFreezeReason extends Enum {
13530
13674
  readonly isMaturationPeriod: boolean;
13531
13675
  readonly type: 'MaturationPeriod';
13532
13676
  }
13533
- /** @name PalletBalancesError (517) */
13677
+ /** @name PalletBalancesError (514) */
13534
13678
  interface PalletBalancesError extends Enum {
13535
13679
  readonly isVestingBalance: boolean;
13536
13680
  readonly isLiquidityRestrictions: boolean;
@@ -13546,7 +13690,7 @@ declare module '@polkadot/types/lookup' {
13546
13690
  readonly isDeltaZero: boolean;
13547
13691
  readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
13548
13692
  }
13549
- /** @name PalletTxPauseError (519) */
13693
+ /** @name PalletTxPauseError (516) */
13550
13694
  interface PalletTxPauseError extends Enum {
13551
13695
  readonly isIsPaused: boolean;
13552
13696
  readonly isIsUnpaused: boolean;
@@ -13554,29 +13698,65 @@ declare module '@polkadot/types/lookup' {
13554
13698
  readonly isNotFound: boolean;
13555
13699
  readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
13556
13700
  }
13557
- /** @name PalletTransactionPaymentReleases (520) */
13701
+ /** @name PalletTransactionPaymentReleases (517) */
13558
13702
  interface PalletTransactionPaymentReleases extends Enum {
13559
13703
  readonly isV1Ancient: boolean;
13560
13704
  readonly isV2: boolean;
13561
13705
  readonly type: 'V1Ancient' | 'V2';
13562
13706
  }
13563
- /** @name FrameSupportStorageNoDrop (521) */
13707
+ /** @name FrameSupportStorageNoDrop (518) */
13564
13708
  interface FrameSupportStorageNoDrop extends FrameSupportTokensFungibleImbalance {
13565
13709
  }
13566
- /** @name FrameSupportTokensFungibleImbalance (522) */
13710
+ /** @name FrameSupportTokensFungibleImbalance (519) */
13567
13711
  interface FrameSupportTokensFungibleImbalance extends Struct {
13568
13712
  readonly amount: u128;
13569
13713
  }
13570
- /** @name PalletUtilityError (523) */
13714
+ /** @name PalletUtilityError (520) */
13571
13715
  interface PalletUtilityError extends Enum {
13572
13716
  readonly isTooManyCalls: boolean;
13573
13717
  readonly type: 'TooManyCalls';
13574
13718
  }
13575
- /** @name PalletSudoError (524) */
13719
+ /** @name PalletSudoError (521) */
13576
13720
  interface PalletSudoError extends Enum {
13577
13721
  readonly isRequireSudo: boolean;
13578
13722
  readonly type: 'RequireSudo';
13579
13723
  }
13724
+ /** @name PalletBitcoinFissionsFission (522) */
13725
+ interface PalletBitcoinFissionsFission extends Struct {
13726
+ readonly liquidId: Compact<u64>;
13727
+ readonly utxoId: Compact<u64>;
13728
+ readonly satoshis: Compact<u64>;
13729
+ readonly microgonsAtTargetPerBtc: Compact<u128>;
13730
+ readonly liquidityPromised: Compact<u128>;
13731
+ readonly createdAtArgonBlock: Compact<u32>;
13732
+ readonly ratchetNumber: Compact<u32>;
13733
+ readonly lastRatchetTick: Compact<u64>;
13734
+ readonly lastUpdatedArgonBlock: Compact<u32>;
13735
+ }
13736
+ /** @name PalletBitcoinFissionsError (524) */
13737
+ interface PalletBitcoinFissionsError extends Enum {
13738
+ readonly isFissionIdBelowMinimum: boolean;
13739
+ readonly isFissionIdOverflow: boolean;
13740
+ readonly isFissionAlreadyExists: boolean;
13741
+ readonly isFissionNotFound: boolean;
13742
+ readonly isNoRatchetingAvailable: boolean;
13743
+ readonly isRatchetNumberOverflow: boolean;
13744
+ readonly isFissionHasNoSatoshis: boolean;
13745
+ readonly isTooManyFissionsForLock: boolean;
13746
+ readonly isLockNotFound: boolean;
13747
+ readonly isNoPermissions: boolean;
13748
+ readonly isLockNotFunded: boolean;
13749
+ readonly isLockReleasePending: boolean;
13750
+ readonly isInsufficientFundedSatoshis: boolean;
13751
+ readonly isInsufficientSecuritization: boolean;
13752
+ readonly isIneligibleMicrogonsAtTargetPerBtc: boolean;
13753
+ readonly isMicrogonsAtTargetPerBtcTickOlderThanCurrent: boolean;
13754
+ readonly isInsufficientFissionedSatoshis: boolean;
13755
+ readonly isNoBitcoinPricesAvailable: boolean;
13756
+ readonly isInsufficientFunds: boolean;
13757
+ readonly isOverflow: boolean;
13758
+ readonly type: 'FissionIdBelowMinimum' | 'FissionIdOverflow' | 'FissionAlreadyExists' | 'FissionNotFound' | 'NoRatchetingAvailable' | 'RatchetNumberOverflow' | 'FissionHasNoSatoshis' | 'TooManyFissionsForLock' | 'LockNotFound' | 'NoPermissions' | 'LockNotFunded' | 'LockReleasePending' | 'InsufficientFundedSatoshis' | 'InsufficientSecuritization' | 'IneligibleMicrogonsAtTargetPerBtc' | 'MicrogonsAtTargetPerBtcTickOlderThanCurrent' | 'InsufficientFissionedSatoshis' | 'NoBitcoinPricesAvailable' | 'InsufficientFunds' | 'Overflow';
13759
+ }
13580
13760
  /** @name PalletTreasuryFrameVaultCapital (525) */
13581
13761
  interface PalletTreasuryFrameVaultCapital extends Struct {
13582
13762
  readonly frameId: Compact<u64>;
@@ -14074,103 +14254,6 @@ type IBigIntLike = bigint | {
14074
14254
  toBigInt(): bigint;
14075
14255
  };
14076
14256
 
14077
- type ITxProgressCallback = (progressToInBlock: number, result?: TxResult) => void;
14078
- type IBlockInclusion = {
14079
- blockHash: Uint8Array;
14080
- blockNumber?: number;
14081
- extrinsicIndex: number;
14082
- events: GenericEvent[];
14083
- };
14084
- declare class TxResult {
14085
- #private;
14086
- protected readonly client: ArgonClient;
14087
- extrinsic: {
14088
- signedHash: string;
14089
- method: any;
14090
- submittedTime: Date;
14091
- submittedAtBlockNumber: number;
14092
- accountAddress: string;
14093
- nonce: number;
14094
- };
14095
- set isBroadcast(value: boolean);
14096
- get isBroadcast(): boolean;
14097
- set submissionError(value: Error);
14098
- get submissionError(): Error | undefined;
14099
- waitForFinalizedBlock: Promise<Uint8Array>;
14100
- waitForInFirstBlock: Promise<Uint8Array>;
14101
- events: GenericEvent[];
14102
- extrinsicError: ExtrinsicError | Error | undefined;
14103
- extrinsicIndex: number | undefined;
14104
- txProgressCallback?: ITxProgressCallback;
14105
- /**
14106
- * The index of the batch that was interrupted, if any.
14107
- */
14108
- batchInterruptedIndex?: number;
14109
- blockHash?: Uint8Array;
14110
- blockNumber?: number;
14111
- /**
14112
- * The final fee paid for the transaction, including the fee tip.
14113
- */
14114
- finalFee?: bigint;
14115
- /**
14116
- * The fee tip paid for the transaction.
14117
- */
14118
- finalFeeTip?: bigint;
14119
- txProgress: number;
14120
- isFinalized: boolean;
14121
- protected finalizedResolve: (block: Uint8Array) => void;
14122
- protected finalizedReject: (error: ExtrinsicError | Error) => void;
14123
- protected inBlockResolve: (block: Uint8Array) => void;
14124
- protected inBlockReject: (error: ExtrinsicError | Error) => void;
14125
- constructor(client: ArgonClient, extrinsic: {
14126
- signedHash: string;
14127
- method: any;
14128
- submittedTime: Date;
14129
- submittedAtBlockNumber: number;
14130
- accountAddress: string;
14131
- nonce: number;
14132
- });
14133
- setSeenInBlock(block: IBlockInclusion): Promise<void>;
14134
- setFinalized(): Promise<void>;
14135
- onSubscriptionResult(result: ISubmittableResult): void;
14136
- private publishSeenInBlock;
14137
- private updateProgress;
14138
- private parseEvents;
14139
- }
14140
-
14141
- type TxSigningAccount = KeyringPair | {
14142
- address: string;
14143
- signer: NonNullable<SignerOptions['signer']>;
14144
- };
14145
- type ISubmittableOptions = Partial<Omit<SignerOptions, 'signer'>> & {
14146
- tip?: bigint;
14147
- logResults?: boolean;
14148
- useLatestNonce?: boolean;
14149
- txProgressCallback?: ITxProgressCallback;
14150
- disableAutomaticTxTracking?: boolean;
14151
- };
14152
- declare class TxSubmitter {
14153
- readonly client: ArgonClient;
14154
- tx: SubmittableExtrinsic$1;
14155
- readonly account: TxSigningAccount;
14156
- readonly address: string;
14157
- constructor(client: ArgonClient, tx: SubmittableExtrinsic$1, account: TxSigningAccount);
14158
- feeEstimate(tip?: bigint): Promise<bigint>;
14159
- canAfford(options?: {
14160
- tip?: bigint;
14161
- unavailableBalance?: bigint;
14162
- includeExistentialDeposit?: boolean;
14163
- }): Promise<{
14164
- canAfford: boolean;
14165
- availableBalance: bigint;
14166
- txFee: bigint;
14167
- }>;
14168
- sign(options?: ISubmittableOptions): Promise<SubmittableExtrinsic$1>;
14169
- submitSigned(signedTx: SubmittableExtrinsic$1, options?: ISubmittableOptions): Promise<TxResult>;
14170
- submit(options?: ISubmittableOptions): Promise<TxResult>;
14171
- private logRequest;
14172
- }
14173
-
14174
14257
  declare function keyringFromSuri(suri: string, cryptoType?: 'sr25519' | 'ed25519'): KeyringPair;
14175
14258
  declare function createKeyringPair(opts: {
14176
14259
  cryptoType?: 'sr25519' | 'ed25519';
@@ -14184,6 +14267,12 @@ declare function getFrameInfoFromHeader(header: Header): {
14184
14267
  frameRewardTicksRemaining: number;
14185
14268
  } | undefined;
14186
14269
 
14270
+ declare function toFixedNumber(value: string | number | BigNumber, // accept string to avoid early precision loss
14271
+ decimals: number): bigint;
14272
+ declare function fromFixedNumber(value: bigint, decimals?: number): BigNumber;
14273
+ declare const FIXED_U128_DECIMALS = 18;
14274
+ declare const PERMILL_DECIMALS = 6;
14275
+
14187
14276
  declare class PriceIndex {
14188
14277
  btcUsdPrice?: BigNumber;
14189
14278
  argonotUsdPrice?: BigNumber;
@@ -14198,339 +14287,6 @@ declare class PriceIndex {
14198
14287
  get argonCpi(): BigNumber;
14199
14288
  }
14200
14289
 
14201
- interface ArgonPrimitivesVaultV144 extends Struct {
14202
- readonly operatorAccountId: AccountId32;
14203
- readonly name: Option<Bytes>;
14204
- readonly lastNameChangeTick: Option<u64>;
14205
- readonly securitization: Compact<u128>;
14206
- readonly argonsLocked: Compact<u128>;
14207
- readonly argonsPendingActivation: Compact<u128>;
14208
- readonly argonsScheduledForRelease: BTreeMap<u64, u128>;
14209
- readonly securitizationRatio: Compact<u128>;
14210
- readonly isClosed: bool;
14211
- readonly terms: ArgonPrimitivesVaultVaultTerms;
14212
- readonly pendingTerms: Option<ITuple<[u64, ArgonPrimitivesVaultVaultTerms]>>;
14213
- readonly openedTick: Compact<u64>;
14214
- }
14215
- type PreviousArgonPrimitivesVault = Omit<ArgonPrimitivesVault, 'flexibleSecuritizationLocked' | 'reservedSecuritizationSpace' | 'flexibleSecuritizedSatoshis'> & {
14216
- readonly backfillSecuritizationLocked: ArgonPrimitivesVault['flexibleSecuritizationLocked'];
14217
- readonly backfillSecuritizationReserved: ArgonPrimitivesVault['reservedSecuritizationSpace'];
14218
- readonly backfillSecuritizedSatoshis: ArgonPrimitivesVault['flexibleSecuritizedSatoshis'];
14219
- };
14220
- type PreviousPalletTreasuryVaultBondState = Omit<PalletTreasuryVaultBondState, 'regularBondLots' | 'flexibleBonds' | 'reservedBondSpace'> & {
14221
- readonly bondLots: PalletTreasuryVaultBondState['regularBondLots'];
14222
- readonly backfillBonds: PalletTreasuryVaultBondState['flexibleBonds'];
14223
- readonly backfillBondsReserved: PalletTreasuryVaultBondState['reservedBondSpace'];
14224
- };
14225
- declare class Vault {
14226
- tickDuration: number;
14227
- securitization: bigint;
14228
- securitizationLocked: bigint;
14229
- securitizationPendingActivation: bigint;
14230
- /**
14231
- * Map of bitcoin height to amount of securitization released at that height
14232
- */
14233
- securitizationReleaseSchedule: Map<number, bigint>;
14234
- terms: ITerms;
14235
- operatorAccountId: string;
14236
- isClosed: boolean;
14237
- vaultId: number;
14238
- pendingTerms?: ITerms;
14239
- pendingTermsChangeTick?: number;
14240
- openedDate: Date;
14241
- openedTick: number;
14242
- securitizationRatio: number;
14243
- lockedSatoshis: number;
14244
- securitizedSatoshis: number;
14245
- flexibleSecuritizationLocked: bigint;
14246
- reservedSecuritizationSpace: bigint;
14247
- flexibleSecuritizedSatoshis: number;
14248
- name?: string;
14249
- lastNameChangeTick?: number;
14250
- delegateAccountId?: string;
14251
- constructor(id: number, vault: ArgonPrimitivesVault, tickDuration: number);
14252
- load(vault: ArgonPrimitivesVault | PreviousArgonPrimitivesVault | ArgonPrimitivesVaultV144): void;
14253
- availableBitcoinSpace(lockOwner?: string): bigint;
14254
- availableSecuritizationSpace(lockOwner?: string): bigint;
14255
- availableBondSpace(priceIndex: PriceIndex, bondState?: Iterable<{
14256
- activeBonds: number;
14257
- }> | PalletTreasuryVaultBondState | PreviousPalletTreasuryVaultBondState, bondFullCapacityPerFrame?: boolean): bigint;
14258
- getRelockCapacity(): bigint;
14259
- securitizationRatioBN(): BigNumber;
14260
- activatedSecuritization(): bigint;
14261
- effectiveSecuritizedSatoshis(): bigint;
14262
- /**
14263
- * Returns the amount of securitization available to match per treasury pool
14264
- */
14265
- activatedSecuritizationPerSlot(): bigint;
14266
- calculateBitcoinFee(amount: bigint): bigint;
14267
- static get(client: ArgonClient | ApiDecoration<'promise'>, vaultId: number, tickDurationMillis?: number): Promise<Vault>;
14268
- static create(client: ArgonClient, txSigner: TxSigningAccount, args: {
14269
- securitization: bigint | number;
14270
- securitizationRatio: number;
14271
- annualPercentRate: number;
14272
- baseFee: bigint | number;
14273
- bitcoinXpub: string;
14274
- delegateAccountId?: string;
14275
- treasuryProfitSharing: number;
14276
- doNotExceedBalance?: bigint;
14277
- } & ISubmittableOptions, config?: {
14278
- tickDurationMillis?: number;
14279
- }): Promise<{
14280
- getVault(): Promise<Vault>;
14281
- txResult: TxResult;
14282
- }>;
14283
- static setName(client: ArgonClient, txSigner: TxSigningAccount, args: {
14284
- name?: string | null;
14285
- } & ISubmittableOptions): Promise<TxResult>;
14286
- }
14287
- interface ITerms {
14288
- readonly bitcoinAnnualPercentRate: BigNumber;
14289
- readonly bitcoinBaseFee: bigint;
14290
- readonly treasuryProfitSharing: BigNumber;
14291
- }
14292
-
14293
- declare function toFixedNumber(value: string | number | BigNumber, // accept string to avoid early precision loss
14294
- decimals: number): bigint;
14295
- declare function fromFixedNumber(value: bigint, decimals?: number): BigNumber;
14296
- declare const FIXED_U128_DECIMALS = 18;
14297
- declare const PERMILL_DECIMALS = 6;
14298
-
14299
- declare const SATS_PER_BTC = 100000000n;
14300
- type IQueryableClient = ArgonClient | ApiDecoration<'promise'>;
14301
- type PendingMintQueries = Pick<IQueryableClient['query']['mint'], 'pendingMintUtxoIdLookup' | 'pendingMintUtxosByIndex'> | {
14302
- pendingMintUtxos: () => Promise<Vec<ITuple<[u64, AccountId32, u128]>>>;
14303
- };
14304
- type PendingMintQueryableClient = {
14305
- query: {
14306
- mint: PendingMintQueries;
14307
- };
14308
- };
14309
- type UtxoRefLike = ArgonPrimitivesBitcoinUtxoRef | {
14310
- txid: string | Uint8Array;
14311
- outputIndex: number;
14312
- };
14313
- type BitcoinLockFeeCoupon = {
14314
- feeDiscount: bigint;
14315
- securitizationSpaceToUnreserve: bigint;
14316
- expiresAtFrame: bigint;
14317
- nonce: bigint;
14318
- signature: AnyJson;
14319
- };
14320
- type BitcoinLockInitializationTerms = {
14321
- feeCoupon: BitcoinLockFeeCoupon;
14322
- microgonsAtTargetPerBtc: bigint;
14323
- initializeForAccountId?: never;
14324
- } | {
14325
- feeCoupon?: undefined;
14326
- microgonsAtTargetPerBtc?: bigint;
14327
- initializeForAccountId?: string;
14328
- };
14329
- declare class BitcoinLock implements IBitcoinLock {
14330
- utxoId: number;
14331
- p2wshScriptHashHex: string;
14332
- vaultId: number;
14333
- lockedTargetPrice: bigint;
14334
- liquidityPromised: bigint;
14335
- ownerAccount: string;
14336
- securitizationRatio: number;
14337
- satoshis: bigint;
14338
- utxoSatoshis?: bigint;
14339
- vaultPubkey: string;
14340
- securityFees: bigint;
14341
- vaultClaimPubkey: string;
14342
- ownerPubkey: string;
14343
- vaultXpubSources: {
14344
- parentFingerprint: Uint8Array;
14345
- cosignHdIndex: number;
14346
- claimHdIndex: number;
14347
- };
14348
- vaultClaimHeight: number;
14349
- openClaimHeight: number;
14350
- createdAtHeight: number;
14351
- isFunded: boolean;
14352
- isFlexible: boolean;
14353
- createdAtArgonBlock: number;
14354
- fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
14355
- couponFeesPaid: bigint;
14356
- constructor(data: IBitcoinLock);
14357
- /**
14358
- * Gets the UTXO reference by ID.
14359
- * @param client - client at the block height to query the UTXO reference at a specific point in time.
14360
- * @return An object containing the transaction ID and output index, or undefined if not found.
14361
- * @return.txid - The Bitcoin transaction ID of the UTXO.
14362
- * @return.vout - The output index of the UTXO in the transaction.
14363
- * @return.bitcoinTxid - The Bitcoin transaction ID of the UTXO formatted in little endian
14364
- */
14365
- getFundingUtxoRef(client: IQueryableClient): Promise<{
14366
- txid: string;
14367
- vout: number;
14368
- bitcoinTxid: string;
14369
- } | undefined>;
14370
- findPendingMints(client: PendingMintQueryableClient): Promise<bigint[]>;
14371
- calculateRatchetingCosts(client: IQueryableClient, priceIndex: PriceIndex, vault: Vault, microgonsAtTargetPerBtc?: bigint): Promise<{
14372
- burnAmount: bigint;
14373
- ratchetingFee: bigint;
14374
- }>;
14375
- ratchet(args: {
14376
- client: ArgonClient;
14377
- priceIndex: PriceIndex;
14378
- txSigner: TxSigningAccount;
14379
- vault: Vault;
14380
- microgonsAtTargetPerBtc?: bigint;
14381
- } & ISubmittableOptions): Promise<{
14382
- txResult: TxResult;
14383
- getRatchetResult: () => Promise<{
14384
- securityFee: bigint;
14385
- txFee: bigint;
14386
- lockedTargetPrice: bigint;
14387
- liquidityPromised: bigint;
14388
- pendingMint: bigint;
14389
- burned: bigint;
14390
- blockHeight: number;
14391
- bitcoinBlockHeight: number;
14392
- }>;
14393
- }>;
14394
- calculateRedemptionAmount(priceIndex: PriceIndex): bigint;
14395
- requestRelease(args: {
14396
- client: ArgonClient;
14397
- priceIndex: PriceIndex;
14398
- releaseRequest: IReleaseRequest;
14399
- txSigner: TxSigningAccount;
14400
- } & ISubmittableOptions): Promise<TxResult>;
14401
- getReleaseRequest(client: IQueryableClient): Promise<IReleaseRequestDetails | undefined>;
14402
- /**
14403
- * Finds the cosign signature for a vault lock by UTXO ID. Optionally waits for the signature
14404
- * @param client - The Argon client with rpc access
14405
- * @param finalizedStateOnly - If true, only checks finalized state
14406
- * @param waitForSignatureMillis - Optional timeout in milliseconds to wait for the signature. If -1, waits indefinitely.
14407
- */
14408
- findVaultCosignSignature(client: ArgonClient, finalizedStateOnly?: boolean, waitForSignatureMillis?: number): Promise<{
14409
- blockHeight: number;
14410
- signature: Uint8Array;
14411
- } | undefined>;
14412
- getVaultCosignSignature(client: ArgonClient, atHeight: number): Promise<Uint8Array | undefined>;
14413
- static getUtxoIdFromEvents(client: IQueryableClient, events: GenericEvent$1[]): Promise<number | undefined>;
14414
- static calculateRedemptionAmountFromSatoshis(priceIndex: PriceIndex, satoshis: bigint, lockedTargetPrice?: bigint): bigint;
14415
- static calculateRedemptionAmount(priceIndex: PriceIndex, btcMicrogonsAtTarget: bigint, maxMicrogonsAtTarget?: bigint): bigint;
14416
- private static redemptionMultiplierBn;
14417
- static getConfig(client: IQueryableClient): Promise<IBitcoinLockConfig>;
14418
- static getBitcoinConfirmedBlockHeight(client: IQueryableClient): Promise<number>;
14419
- static submitVaultSignature(args: {
14420
- client: ArgonClient;
14421
- utxoId: number;
14422
- vaultSignature: Uint8Array;
14423
- txSigner: TxSigningAccount;
14424
- } & ISubmittableOptions): Promise<TxResult>;
14425
- static createIncreaseSecuritizationTx(args: {
14426
- utxoId: number;
14427
- client: ArgonClient;
14428
- newSatoshis: bigint;
14429
- } & ISubmittableOptions): Promise<SubmittableExtrinsic$1 | undefined>;
14430
- static createFundWithUtxoCandidateTx(args: {
14431
- client: ArgonClient;
14432
- utxoId: number;
14433
- utxoRef: UtxoRefLike;
14434
- } & ISubmittableOptions): Promise<SubmittableExtrinsic$1 | undefined>;
14435
- static createOrphanedUtxoReleaseRequestTx(args: {
14436
- client: ArgonClient;
14437
- utxoRef: UtxoRefLike;
14438
- releaseRequest: IReleaseRequest;
14439
- } & ISubmittableOptions): Promise<SubmittableExtrinsic$1 | undefined>;
14440
- static createOrphanedUtxoCosignTx(args: {
14441
- client: ArgonClient;
14442
- orphanOwner: string;
14443
- utxoRef: UtxoRefLike;
14444
- vaultSignature: Uint8Array;
14445
- } & ISubmittableOptions): Promise<SubmittableExtrinsic$1 | undefined>;
14446
- static get(client: IQueryableClient, utxoId: number): Promise<BitcoinLock | undefined>;
14447
- static blockHashAtHeight(client: ArgonClient, atHeight: number): Promise<string | undefined>;
14448
- static createInitializeTx(args: {
14449
- client: ArgonClient;
14450
- vault: Vault;
14451
- priceIndex: PriceIndex;
14452
- ownerBitcoinPubkey: Uint8Array;
14453
- satoshis: bigint;
14454
- txSigner: TxSigningAccount;
14455
- reducedBalanceBy?: bigint;
14456
- tip?: bigint;
14457
- securitizationSpaceToUnreserve?: bigint;
14458
- } & BitcoinLockInitializationTerms): Promise<{
14459
- tx: SubmittableExtrinsic$1;
14460
- securityFee: bigint;
14461
- txFee: bigint;
14462
- canAfford: boolean;
14463
- availableBalance: bigint;
14464
- txFeePlusTip: bigint;
14465
- }>;
14466
- static supportsInitializeFor(client: ArgonClient): boolean;
14467
- static initialize(args: {
14468
- client: ArgonClient;
14469
- vault: Vault;
14470
- priceIndex: PriceIndex;
14471
- ownerBitcoinPubkey: Uint8Array;
14472
- txSigner: TxSigningAccount;
14473
- satoshis: bigint;
14474
- } & BitcoinLockInitializationTerms & ISubmittableOptions): Promise<{
14475
- getLock(): Promise<{
14476
- lock: BitcoinLock;
14477
- createdAtHeight: number;
14478
- }>;
14479
- txResult: TxResult;
14480
- securityFee: bigint;
14481
- }>;
14482
- static getBitcoinLockFromTxResult(client: IQueryableClient, txResult: TxResult): Promise<{
14483
- lock: BitcoinLock;
14484
- createdAtHeight: number;
14485
- txResult: TxResult;
14486
- }>;
14487
- static satoshisRequiredForRedemptionAmount(priceIndex: PriceIndex, redemptionAmount: bigint): bigint;
14488
- }
14489
- interface IBitcoinLockConfig {
14490
- lockReleaseCosignDeadlineFrames: number;
14491
- pendingConfirmationExpirationBlocks: number;
14492
- tickDurationMillis: number;
14493
- bitcoinNetwork: ArgonPrimitivesBitcoinBitcoinNetwork;
14494
- lockSatoshiAllowedVariance: number;
14495
- }
14496
- interface IReleaseRequest {
14497
- toScriptPubkey: string;
14498
- bitcoinNetworkFee: bigint;
14499
- }
14500
- interface IReleaseRequestDetails extends IReleaseRequest {
14501
- dueFrame: number;
14502
- vaultId: number;
14503
- redemptionAmount: bigint;
14504
- }
14505
- interface IBitcoinLock {
14506
- utxoId: number;
14507
- p2wshScriptHashHex: string;
14508
- vaultId: number;
14509
- lockedTargetPrice: bigint;
14510
- liquidityPromised: bigint;
14511
- ownerAccount: string;
14512
- securitizationRatio: number;
14513
- satoshis: bigint;
14514
- utxoSatoshis?: bigint;
14515
- vaultPubkey: string;
14516
- securityFees: bigint;
14517
- couponFeesPaid: bigint;
14518
- vaultClaimPubkey: string;
14519
- ownerPubkey: string;
14520
- vaultXpubSources: {
14521
- parentFingerprint: Uint8Array;
14522
- cosignHdIndex: number;
14523
- claimHdIndex: number;
14524
- };
14525
- vaultClaimHeight: number;
14526
- openClaimHeight: number;
14527
- createdAtHeight: number;
14528
- isFunded: boolean;
14529
- isFlexible: boolean;
14530
- createdAtArgonBlock: number;
14531
- fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
14532
- }
14533
-
14534
14290
  declare const MINTING_GATEWAY_RUNTIME_DECIMALS = 6;
14535
14291
  declare const MINTING_GATEWAY_TOKEN_DECIMALS = 18;
14536
14292
  declare const MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE: bigint;
@@ -18467,4 +18223,4 @@ declare function waitForLoad(): Promise<void>;
18467
18223
  declare function getClient(host: string, options?: ApiOptions): Promise<ArgonClient>;
18468
18224
  declare function getOfflineRegistry(): TypeRegistry;
18469
18225
 
18470
- export { type ArgonClient, type ArgonFinalizedExecutionHeader, ArgonFinalizedExecutionHeaderPathError, BitcoinLock, type BitcoinLockFeeCoupon, type EthereumBeaconBlockResponse, type EthereumBeaconConfigSpecResponse, type EthereumBeaconGenesisResponse, type EthereumBeaconHeaderDetailsResponse, type EthereumEventLocator, type EthereumEventLocatorBlock, type EthereumEventLog, type EthereumEventProof, type EthereumExecutionClient, type EthereumExecutionHeaderBackfillPayload, type EthereumExecutionSource, type EthereumGatewayActivity, type EthereumGatewayActivityProofPayload, type EthereumLightClientBootstrapResponse, type EthereumLightClientHeader, type EthereumLightClientUpdate, type EthereumReceipt, type EthereumVersionedLightClientUpdate, EvmContracts, ExtrinsicError, FIXED_U128_DECIMALS, type IArgonQueryable, type IBitcoinLock, type IBitcoinLockConfig, type IReleaseRequest, type IReleaseRequestDetails, type ISubmittableOptions, type ITerms, type ITxProgressCallback, MICROGONS_PER_ARGON, PERMILL_DECIMALS, PriceIndex, SATS_PER_BTC, TxResult, type TxSigningAccount, TxSubmissionError, TxSubmissionErrorCode, TxSubmitter, Vault, WageProtector, buildEthereumEventProof, buildExecutionHeaderChain, buildGatewayActivityProofPayload, buildGatewayExecutionHeaderBackfill, buildGatewayExecutionHeaderBackfills, checkForExtrinsicSuccess, createKeyringPair, decodeEthereumGatewayActivityLog, decodeEthereumTransferToArgonStartedLog, dispatchErrorToExtrinsicError, dispatchErrorToString, encodeEthereumReceiptForProof, encodeReceiptTrieKey, findEthereumTransferToArgonStartedLogIndexes, formatArgons, fromFixedNumber, getAuthorFromHeader, getBigIntFallback, getClient, getEthereumBeaconSyncBootstrapTx, getEthereumBeaconSyncState, getFrameInfoFromHeader, getLatestArgonFinalizedExecutionHeader, getNextEthereumBeaconSyncTxs, getOfflineRegistry, getTickFromHeader, gettersToObject, isOutdatedTransactionError, isTxSubmissionError, keyringFromSuri, loadExecutionHeader, toFixedNumber, waitForArgonFinalizedExecutionHeader, waitForLoad };
18226
+ export { type ArgonClient, type ArgonFinalizedExecutionHeader, ArgonFinalizedExecutionHeaderPathError, type EthereumBeaconBlockResponse, type EthereumBeaconConfigSpecResponse, type EthereumBeaconGenesisResponse, type EthereumBeaconHeaderDetailsResponse, type EthereumEventLocator, type EthereumEventLocatorBlock, type EthereumEventLog, type EthereumEventProof, type EthereumExecutionClient, type EthereumExecutionHeaderBackfillPayload, type EthereumExecutionSource, type EthereumGatewayActivity, type EthereumGatewayActivityProofPayload, type EthereumLightClientBootstrapResponse, type EthereumLightClientHeader, type EthereumLightClientUpdate, type EthereumReceipt, type EthereumVersionedLightClientUpdate, EvmContracts, ExtrinsicError, FIXED_U128_DECIMALS, type IArgonQueryable, MICROGONS_PER_ARGON, PERMILL_DECIMALS, PriceIndex, TxSubmissionError, TxSubmissionErrorCode, WageProtector, buildEthereumEventProof, buildExecutionHeaderChain, buildGatewayActivityProofPayload, buildGatewayExecutionHeaderBackfill, buildGatewayExecutionHeaderBackfills, checkForExtrinsicSuccess, createKeyringPair, decodeEthereumGatewayActivityLog, decodeEthereumTransferToArgonStartedLog, dispatchErrorToExtrinsicError, dispatchErrorToString, encodeEthereumReceiptForProof, encodeReceiptTrieKey, findEthereumTransferToArgonStartedLogIndexes, formatArgons, fromFixedNumber, getAuthorFromHeader, getBigIntFallback, getClient, getEthereumBeaconSyncBootstrapTx, getEthereumBeaconSyncState, getFrameInfoFromHeader, getLatestArgonFinalizedExecutionHeader, getNextEthereumBeaconSyncTxs, getOfflineRegistry, getTickFromHeader, gettersToObject, isOutdatedTransactionError, isTxSubmissionError, keyringFromSuri, loadExecutionHeader, toFixedNumber, waitForArgonFinalizedExecutionHeader, waitForLoad };