@argonprotocol/mainchain 1.4.11-dev.f3bdc948 → 1.4.12-dev.2afa6e4a

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,72 @@ 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
+ utxoId: u64,
2639
+ satoshis: u64,
2640
+ microgonsAtTargetPerBtc: u128,
2641
+ liquidityPromised: u128
2642
+ ], {
2643
+ accountId: AccountId32;
2644
+ fissionId: u64;
2645
+ liquidId: u64;
2646
+ utxoId: u64;
2647
+ satoshis: u64;
2648
+ microgonsAtTargetPerBtc: u128;
2649
+ liquidityPromised: u128;
2650
+ }>;
2651
+ /**
2652
+ * A Fission ratchet changed its target-normalized BTC value and liability.
2653
+ **/
2654
+ FissionRatcheted: AugmentedEvent<ApiType, [
2655
+ accountId: AccountId32,
2656
+ fissionId: u64,
2657
+ ratchetNumber: u32,
2658
+ microgonsAtTargetPerBtc: u128,
2659
+ liquidityPromised: u128,
2660
+ amountMinted: u128,
2661
+ amountBurned: u128
2662
+ ], {
2663
+ accountId: AccountId32;
2664
+ fissionId: u64;
2665
+ ratchetNumber: u32;
2666
+ microgonsAtTargetPerBtc: u128;
2667
+ liquidityPromised: u128;
2668
+ amountMinted: u128;
2669
+ amountBurned: u128;
2670
+ }>;
2671
+ };
2526
2672
  bitcoinLocks: {
2527
2673
  BitcoinCosignPastDue: AugmentedEvent<ApiType, [
2528
2674
  utxoId: u64,
@@ -2547,17 +2693,17 @@ declare module '@polkadot/api-base/types/events' {
2547
2693
  BitcoinLockCreated: AugmentedEvent<ApiType, [
2548
2694
  utxoId: u64,
2549
2695
  vaultId: u32,
2550
- liquidityPromised: u128,
2551
- securitization: u128,
2552
- lockedTargetPrice: u128,
2696
+ securitizedSatoshis: u64,
2697
+ microgonsAtTargetPerBtc: u128,
2698
+ collateralRequired: u128,
2553
2699
  accountId: AccountId32,
2554
2700
  securityFee: u128
2555
2701
  ], {
2556
2702
  utxoId: u64;
2557
2703
  vaultId: u32;
2558
- liquidityPromised: u128;
2559
- securitization: u128;
2560
- lockedTargetPrice: u128;
2704
+ securitizedSatoshis: u64;
2705
+ microgonsAtTargetPerBtc: u128;
2706
+ collateralRequired: u128;
2561
2707
  accountId: AccountId32;
2562
2708
  securityFee: u128;
2563
2709
  }>;
@@ -2570,23 +2716,17 @@ declare module '@polkadot/api-base/types/events' {
2570
2716
  vaultId: u32;
2571
2717
  isFlexible: bool;
2572
2718
  }>;
2573
- BitcoinLockRatcheted: AugmentedEvent<ApiType, [
2719
+ BitcoinLockResecuritized: AugmentedEvent<ApiType, [
2574
2720
  utxoId: u64,
2575
2721
  vaultId: u32,
2576
- liquidityPromised: u128,
2577
- oldTargetPrice: u128,
2578
- securityFee: u128,
2579
- newTargetPrice: u128,
2580
- amountBurned: u128,
2722
+ securitizedSatoshis: u64,
2723
+ microgonsAtTargetPerBtc: u128,
2581
2724
  accountId: AccountId32
2582
2725
  ], {
2583
2726
  utxoId: u64;
2584
2727
  vaultId: u32;
2585
- liquidityPromised: u128;
2586
- oldTargetPrice: u128;
2587
- securityFee: u128;
2588
- newTargetPrice: u128;
2589
- amountBurned: u128;
2728
+ securitizedSatoshis: u64;
2729
+ microgonsAtTargetPerBtc: u128;
2590
2730
  accountId: AccountId32;
2591
2731
  }>;
2592
2732
  BitcoinSpentAfterRelease: AugmentedEvent<ApiType, [
@@ -2632,6 +2772,18 @@ declare module '@polkadot/api-base/types/events' {
2632
2772
  utxoId: u64;
2633
2773
  error: SpRuntimeDispatchError;
2634
2774
  }>;
2775
+ /**
2776
+ * Not all orphaned UTXOs for a retired Lock fit in the cleanup schedule.
2777
+ **/
2778
+ OrphanedUtxoCleanupScheduleOverflow: AugmentedEvent<ApiType, [
2779
+ accountId: AccountId32,
2780
+ utxoId: u64,
2781
+ expirationFrame: u64
2782
+ ], {
2783
+ accountId: AccountId32;
2784
+ utxoId: u64;
2785
+ expirationFrame: u64;
2786
+ }>;
2635
2787
  OrphanedUtxoCosigned: AugmentedEvent<ApiType, [
2636
2788
  utxoId: u64,
2637
2789
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
@@ -2645,40 +2797,30 @@ declare module '@polkadot/api-base/types/events' {
2645
2797
  accountId: AccountId32;
2646
2798
  signature: Bytes;
2647
2799
  }>;
2648
- OrphanedUtxoReceived: AugmentedEvent<ApiType, [
2649
- utxoId: u64,
2800
+ /**
2801
+ * An orphaned UTXO expiration could not reconcile its pending Vault cosign state.
2802
+ **/
2803
+ OrphanedUtxoExpirationError: AugmentedEvent<ApiType, [
2804
+ accountId: AccountId32,
2650
2805
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2651
- vaultId: u32,
2652
- satoshis: u64
2806
+ error: SpRuntimeDispatchError
2653
2807
  ], {
2654
- utxoId: u64;
2808
+ accountId: AccountId32;
2655
2809
  utxoRef: ArgonPrimitivesBitcoinUtxoRef;
2656
- vaultId: u32;
2657
- satoshis: u64;
2810
+ error: SpRuntimeDispatchError;
2658
2811
  }>;
2659
- OrphanedUtxoReleaseRequested: AugmentedEvent<ApiType, [
2812
+ OrphanedUtxoReceived: AugmentedEvent<ApiType, [
2660
2813
  utxoId: u64,
2661
2814
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2662
2815
  vaultId: u32,
2663
- accountId: AccountId32
2816
+ satoshis: u64
2664
2817
  ], {
2665
2818
  utxoId: u64;
2666
2819
  utxoRef: ArgonPrimitivesBitcoinUtxoRef;
2667
2820
  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;
2821
+ satoshis: u64;
2680
2822
  }>;
2681
- UtxoFundedFromCandidate: AugmentedEvent<ApiType, [
2823
+ OrphanedUtxoReleaseRequested: AugmentedEvent<ApiType, [
2682
2824
  utxoId: u64,
2683
2825
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2684
2826
  vaultId: u32,
@@ -2691,18 +2833,18 @@ declare module '@polkadot/api-base/types/events' {
2691
2833
  }>;
2692
2834
  };
2693
2835
  bitcoinUtxos: {
2694
- UtxoRejected: AugmentedEvent<ApiType, [
2836
+ UtxoDetected: AugmentedEvent<ApiType, [
2695
2837
  utxoId: u64,
2696
2838
  utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2697
- rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason,
2698
- satoshisReceived: u64
2839
+ satoshisReceived: u64,
2840
+ bitcoinHeight: u64
2699
2841
  ], {
2700
2842
  utxoId: u64;
2701
2843
  utxoRef: ArgonPrimitivesBitcoinUtxoRef;
2702
- rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
2703
2844
  satoshisReceived: u64;
2845
+ bitcoinHeight: u64;
2704
2846
  }>;
2705
- UtxoRejectedError: AugmentedEvent<ApiType, [
2847
+ UtxoDetectedError: AugmentedEvent<ApiType, [
2706
2848
  utxoId: u64,
2707
2849
  error: SpRuntimeDispatchError
2708
2850
  ], {
@@ -2711,9 +2853,11 @@ declare module '@polkadot/api-base/types/events' {
2711
2853
  }>;
2712
2854
  UtxoSpent: AugmentedEvent<ApiType, [
2713
2855
  utxoId: u64,
2856
+ utxoRef: ArgonPrimitivesBitcoinUtxoRef,
2714
2857
  blockHeight: u64
2715
2858
  ], {
2716
2859
  utxoId: u64;
2860
+ utxoRef: ArgonPrimitivesBitcoinUtxoRef;
2717
2861
  blockHeight: u64;
2718
2862
  }>;
2719
2863
  UtxoSpentError: AugmentedEvent<ApiType, [
@@ -2726,20 +2870,6 @@ declare module '@polkadot/api-base/types/events' {
2726
2870
  UtxoUnwatched: AugmentedEvent<ApiType, [utxoId: u64], {
2727
2871
  utxoId: u64;
2728
2872
  }>;
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
2873
  };
2744
2874
  blockRewards: {
2745
2875
  RewardCreated: AugmentedEvent<ApiType, [
@@ -3364,10 +3494,12 @@ declare module '@polkadot/api-base/types/events' {
3364
3494
  **/
3365
3495
  BitcoinMint: AugmentedEvent<ApiType, [
3366
3496
  accountId: AccountId32,
3497
+ fissionId: u64,
3367
3498
  utxoId: Option<u64>,
3368
3499
  amount: u128
3369
3500
  ], {
3370
3501
  accountId: AccountId32;
3502
+ fissionId: u64;
3371
3503
  utxoId: Option<u64>;
3372
3504
  amount: u128;
3373
3505
  }>;
@@ -3393,12 +3525,14 @@ declare module '@polkadot/api-base/types/events' {
3393
3525
  MintError: AugmentedEvent<ApiType, [
3394
3526
  mintType: PalletMintMintType,
3395
3527
  accountId: AccountId32,
3528
+ fissionId: Option<u64>,
3396
3529
  utxoId: Option<u64>,
3397
3530
  amount: u128,
3398
3531
  error: SpRuntimeDispatchError
3399
3532
  ], {
3400
3533
  mintType: PalletMintMintType;
3401
3534
  accountId: AccountId32;
3535
+ fissionId: Option<u64>;
3402
3536
  utxoId: Option<u64>;
3403
3537
  amount: u128;
3404
3538
  error: SpRuntimeDispatchError;
@@ -4426,28 +4560,6 @@ declare module '@polkadot/api-base/types/events' {
4426
4560
  operatorAccountId: AccountId32;
4427
4561
  amount: u128;
4428
4562
  }>;
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
4563
  FundsReleased: AugmentedEvent<ApiType, [
4452
4564
  vaultId: u32,
4453
4565
  securitization: u128
@@ -4489,6 +4601,26 @@ declare module '@polkadot/api-base/types/events' {
4489
4601
  vaultId: u32;
4490
4602
  reservedSecuritizationSpace: u128;
4491
4603
  }>;
4604
+ SecuritizationReserved: AugmentedEvent<ApiType, [
4605
+ vaultId: u32,
4606
+ locker: AccountId32,
4607
+ securitizationCoverageMicrogons: u128,
4608
+ feeRevenue: u128,
4609
+ didUseFeeCoupon: bool
4610
+ ], {
4611
+ vaultId: u32;
4612
+ locker: AccountId32;
4613
+ securitizationCoverageMicrogons: u128;
4614
+ feeRevenue: u128;
4615
+ didUseFeeCoupon: bool;
4616
+ }>;
4617
+ SecuritizationReturned: AugmentedEvent<ApiType, [
4618
+ vaultId: u32,
4619
+ amount: u128
4620
+ ], {
4621
+ vaultId: u32;
4622
+ amount: u128;
4623
+ }>;
4492
4624
  TreasuryRecordingError: AugmentedEvent<ApiType, [
4493
4625
  vaultId: u32,
4494
4626
  frameId: u64,
@@ -4648,11 +4780,37 @@ declare module '@polkadot/api-base/types/storage' {
4648
4780
  **/
4649
4781
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
4650
4782
  };
4783
+ bitcoinFissions: {
4784
+ /**
4785
+ * Active Fission records addressed by their owner and owner-local Fission ID.
4786
+ **/
4787
+ fissionByOwnerAndId: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinFissionsFission>>, [
4788
+ AccountId32,
4789
+ u64
4790
+ ]>;
4791
+ /**
4792
+ * Active Fission IDs allocating satoshis from each Lock.
4793
+ **/
4794
+ fissionIdsByLockId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [
4795
+ u64
4796
+ ]>;
4797
+ /**
4798
+ * Minimum Fission ID accepted from each owner.
4799
+ **/
4800
+ nextFissionIdByOwner: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
4801
+ AccountId32
4802
+ ]>;
4803
+ };
4651
4804
  bitcoinLocks: {
4652
4805
  lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [
4653
4806
  u32,
4654
4807
  AccountId32
4655
4808
  ]>;
4809
+ /**
4810
+ * Highest Bitcoin UTXO sync height processed for pending-funding expirations.
4811
+ **/
4812
+ lastPendingFundingExpirationHeight: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
4813
+ ]>;
4656
4814
  /**
4657
4815
  * Utxos that have been requested to be cosigned for releasing
4658
4816
  **/
@@ -4685,12 +4843,28 @@ declare module '@polkadot/api-base/types/storage' {
4685
4843
  u64
4686
4844
  ]>;
4687
4845
  /**
4688
- * History of target microgons per btc.
4846
+ * Unfunded locks whose pending securitization reservation expires at the indexed height.
4847
+ * Expiry releases the reservation but leaves the lock address watched for late orphan output.
4848
+ **/
4849
+ locksPendingFundingByBitcoinHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [
4850
+ u64
4851
+ ]>;
4852
+ /**
4853
+ * Recent target-normalized microgon values per BTC and their observed ticks.
4689
4854
  **/
4690
4855
  microgonPerBtcHistory: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, [
4691
4856
  ]>;
4692
4857
  /**
4693
- * The minimum number of satoshis that can be locked
4858
+ * Release amounts identified by the version 10 to 11 migration.
4859
+ *
4860
+ * Current release requests do not create currency holds. Each migrated entry is removed when
4861
+ * its in-flight release request terminates.
4862
+ **/
4863
+ migratedReleaseHoldByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [
4864
+ u64
4865
+ ]>;
4866
+ /**
4867
+ * The minimum number of satoshis accepted in one watched funding UTXO.
4694
4868
  **/
4695
4869
  minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
4696
4870
  nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
@@ -4724,6 +4898,12 @@ declare module '@polkadot/api-base/types/storage' {
4724
4898
  u32,
4725
4899
  u64
4726
4900
  ]>;
4901
+ /**
4902
+ * The utxo funding this lock. In the current runtime, this is just the first utxo received
4903
+ **/
4904
+ utxoIdToFundingUtxoRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
4905
+ u64
4906
+ ]>;
4727
4907
  };
4728
4908
  bitcoinUtxos: {
4729
4909
  /**
@@ -4731,43 +4911,15 @@ declare module '@polkadot/api-base/types/storage' {
4731
4911
  **/
4732
4912
  bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, [
4733
4913
  ]>;
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
4914
  /**
4741
4915
  * An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
4742
4916
  **/
4743
4917
  confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
4744
4918
  ]>;
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
4919
  /**
4752
4920
  * Check if the inherent was included
4753
4921
  **/
4754
4922
  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
4923
  /**
4772
4924
  * Bitcoin Oracle Operator Account
4773
4925
  **/
@@ -4784,9 +4936,23 @@ declare module '@polkadot/api-base/types/storage' {
4784
4936
  **/
4785
4937
  tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
4786
4938
  /**
4787
- * A mapping of utxo id to the confirmed utxo reference
4939
+ * Watched Lock addresses and the scan height needed to observe them.
4788
4940
  **/
4789
- utxoIdToFundingUtxoRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
4941
+ utxoAddressByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoAddress>>, [
4942
+ u64
4943
+ ]>;
4944
+ /**
4945
+ * The Lock ID identified by each watched script pubkey.
4946
+ **/
4947
+ utxoIdByScriptPubkey: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey | {
4948
+ P2WSH: any;
4949
+ } | string | Uint8Array) => Observable<Option<u64>>, [
4950
+ ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey
4951
+ ]>;
4952
+ /**
4953
+ * Every output observed at a watched Lock address, retained until explicitly removed.
4954
+ **/
4955
+ utxoRefsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<ArgonPrimitivesBitcoinUtxoRef>>, [
4790
4956
  u64
4791
4957
  ]>;
4792
4958
  };
@@ -6114,6 +6280,31 @@ declare module '@polkadot/api-base/types/submittable' {
6114
6280
  Vec<AccountId32>
6115
6281
  ]>;
6116
6282
  };
6283
+ bitcoinFissions: {
6284
+ /**
6285
+ * Close a Fission without moving Bitcoin and remove its active record.
6286
+ **/
6287
+ close: AugmentedSubmittable<(fissionId: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6288
+ Compact<u64>
6289
+ ]>;
6290
+ /**
6291
+ * Create a Fission from one owner-held Lock and associate it with a Liquid ID.
6292
+ **/
6293
+ 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>, [
6294
+ Compact<u64>,
6295
+ Compact<u64>,
6296
+ Compact<u64>,
6297
+ Compact<u64>,
6298
+ Compact<u128>
6299
+ ]>;
6300
+ /**
6301
+ * Ratchet an active Fission to a replacement target-normalized BTC value.
6302
+ **/
6303
+ ratchet: AugmentedSubmittable<(fissionId: Compact<u64> | AnyNumber | Uint8Array, microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6304
+ Compact<u64>,
6305
+ Compact<u128>
6306
+ ]>;
6307
+ };
6117
6308
  bitcoinLocks: {
6118
6309
  adminModifyMinimumLockedSats: AugmentedSubmittable<(satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6119
6310
  u64
@@ -6136,8 +6327,8 @@ declare module '@polkadot/api-base/types/submittable' {
6136
6327
  Bytes
6137
6328
  ]>;
6138
6329
  /**
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.
6330
+ * Submitted by a Vault operator to cosign the release of a bitcoin UTXO. The Lock's
6331
+ * securitization will be scheduled for release without a penalty.
6141
6332
  *
6142
6333
  * This is submitted as a no-fee transaction off chain to allow keys to remain in cold
6143
6334
  * wallets.
@@ -6146,54 +6337,21 @@ declare module '@polkadot/api-base/types/submittable' {
6146
6337
  u64,
6147
6338
  Bytes
6148
6339
  ]>;
6149
- increaseSecuritization: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, newSatoshis: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6150
- u64,
6151
- Compact<u64>
6152
- ]>;
6153
6340
  /**
6154
- * Initialize a bitcoin lock. This will create a LockedBitcoin for the submitting account
6155
- * and log the Bitcoin Script hash to Events.
6341
+ * Create a Bitcoin receive address backed by a Lock for the submitting account.
6156
6342
  *
6157
6343
  * The pubkey submitted here will be used to create a script pubkey that will be used in a
6158
6344
  * 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
6345
  **/
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;
6346
+ createReceiveAddress: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
6347
+ microgonsAtTargetPerBtc?: any;
6348
+ feeCoupon?: any;
6167
6349
  } | string) => SubmittableExtrinsic<ApiType>, [
6168
6350
  u32,
6169
6351
  Compact<u64>,
6170
6352
  ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
6171
6353
  Option<PalletBitcoinLocksLockOptions>
6172
6354
  ]>;
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
6355
  requestOrphanedUtxoRelease: AugmentedSubmittable<(utxoRef: ArgonPrimitivesBitcoinUtxoRef | {
6198
6356
  txid?: any;
6199
6357
  outputIndex?: any;
@@ -6215,35 +6373,23 @@ declare module '@polkadot/api-base/types/submittable' {
6215
6373
  Bytes,
6216
6374
  u64
6217
6375
  ]>;
6218
- setFlexible: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, isFlexible: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6219
- u64,
6220
- bool
6221
- ]>;
6222
- };
6223
- bitcoinUtxos: {
6224
6376
  /**
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.
6377
+ * Replace this Lock's BTC coverage and target value for its remaining term.
6228
6378
  **/
6229
- fundWithUtxoCandidate: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | {
6230
- txid?: any;
6231
- outputIndex?: any;
6232
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6379
+ resecuritize: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | {
6380
+ microgonsAtTargetPerBtc?: any;
6381
+ feeCoupon?: any;
6382
+ } | string) => SubmittableExtrinsic<ApiType>, [
6233
6383
  u64,
6234
- ArgonPrimitivesBitcoinUtxoRef
6384
+ Compact<u64>,
6385
+ Option<PalletBitcoinLocksLockOptions>
6235
6386
  ]>;
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>, [
6387
+ setFlexible: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, isFlexible: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6244
6388
  u64,
6245
- ArgonPrimitivesBitcoinUtxoRef
6389
+ bool
6246
6390
  ]>;
6391
+ };
6392
+ bitcoinUtxos: {
6247
6393
  /**
6248
6394
  * Sets the most recent confirmed bitcoin block height (only executable by the Oracle
6249
6395
  * Operator account)
@@ -10284,21 +10430,17 @@ declare module '@polkadot/types/lookup' {
10284
10430
  }
10285
10431
  /** @name PalletBitcoinUtxosEvent (50) */
10286
10432
  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: {
10433
+ readonly isUtxoDetected: boolean;
10434
+ readonly asUtxoDetected: {
10294
10435
  readonly utxoId: u64;
10295
10436
  readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
10296
- readonly rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
10297
10437
  readonly satoshisReceived: u64;
10438
+ readonly bitcoinHeight: u64;
10298
10439
  } & Struct;
10299
10440
  readonly isUtxoSpent: boolean;
10300
10441
  readonly asUtxoSpent: {
10301
10442
  readonly utxoId: u64;
10443
+ readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
10302
10444
  readonly blockHeight: u64;
10303
10445
  } & Struct;
10304
10446
  readonly isUtxoUnwatched: boolean;
@@ -10310,17 +10452,12 @@ declare module '@polkadot/types/lookup' {
10310
10452
  readonly utxoId: u64;
10311
10453
  readonly error: SpRuntimeDispatchError;
10312
10454
  } & Struct;
10313
- readonly isUtxoVerifiedError: boolean;
10314
- readonly asUtxoVerifiedError: {
10455
+ readonly isUtxoDetectedError: boolean;
10456
+ readonly asUtxoDetectedError: {
10315
10457
  readonly utxoId: u64;
10316
10458
  readonly error: SpRuntimeDispatchError;
10317
10459
  } & 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';
10460
+ readonly type: 'UtxoDetected' | 'UtxoSpent' | 'UtxoUnwatched' | 'UtxoSpentError' | 'UtxoDetectedError';
10324
10461
  }
10325
10462
  /** @name ArgonPrimitivesBitcoinUtxoRef (51) */
10326
10463
  interface ArgonPrimitivesBitcoinUtxoRef extends Struct {
@@ -10330,15 +10467,7 @@ declare module '@polkadot/types/lookup' {
10330
10467
  /** @name ArgonPrimitivesBitcoinH256Le (52) */
10331
10468
  interface ArgonPrimitivesBitcoinH256Le extends U8aFixed {
10332
10469
  }
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) */
10470
+ /** @name PalletVaultsEvent (54) */
10342
10471
  interface PalletVaultsEvent extends Enum {
10343
10472
  readonly isVaultCreated: boolean;
10344
10473
  readonly asVaultCreated: {
@@ -10390,17 +10519,16 @@ declare module '@polkadot/types/lookup' {
10390
10519
  readonly vaultId: u32;
10391
10520
  readonly revenue: u128;
10392
10521
  } & Struct;
10393
- readonly isFundsLocked: boolean;
10394
- readonly asFundsLocked: {
10522
+ readonly isSecuritizationReserved: boolean;
10523
+ readonly asSecuritizationReserved: {
10395
10524
  readonly vaultId: u32;
10396
10525
  readonly locker: AccountId32;
10397
- readonly liquidityPromised: u128;
10398
- readonly isRatchet: bool;
10526
+ readonly securitizationCoverageMicrogons: u128;
10399
10527
  readonly feeRevenue: u128;
10400
10528
  readonly didUseFeeCoupon: bool;
10401
10529
  } & Struct;
10402
- readonly isFundLockCanceled: boolean;
10403
- readonly asFundLockCanceled: {
10530
+ readonly isSecuritizationReturned: boolean;
10531
+ readonly asSecuritizationReturned: {
10404
10532
  readonly vaultId: u32;
10405
10533
  readonly amount: u128;
10406
10534
  } & Struct;
@@ -10440,31 +10568,20 @@ declare module '@polkadot/types/lookup' {
10440
10568
  readonly operatorAccountId: AccountId32;
10441
10569
  readonly amount: u128;
10442
10570
  } & Struct;
10443
- readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | 'ReservedSecuritizationSpaceChanged' | 'VaultRevenueUncollected' | 'VaultCollected' | 'FundsLocked' | 'FundLockCanceled' | 'FundsScheduledForRelease' | 'LostBitcoinCompensated' | 'FundsReleased' | 'FundsReleasedError' | 'TreasuryRecordingError' | 'CommittedArgonotsSet';
10571
+ readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | 'ReservedSecuritizationSpaceChanged' | 'VaultRevenueUncollected' | 'VaultCollected' | 'SecuritizationReserved' | 'SecuritizationReturned' | 'FundsScheduledForRelease' | 'LostBitcoinCompensated' | 'FundsReleased' | 'FundsReleasedError' | 'TreasuryRecordingError' | 'CommittedArgonotsSet';
10444
10572
  }
10445
- /** @name PalletBitcoinLocksEvent (57) */
10573
+ /** @name PalletBitcoinLocksEvent (56) */
10446
10574
  interface PalletBitcoinLocksEvent extends Enum {
10447
10575
  readonly isBitcoinLockCreated: boolean;
10448
10576
  readonly asBitcoinLockCreated: {
10449
10577
  readonly utxoId: u64;
10450
10578
  readonly vaultId: u32;
10451
- readonly liquidityPromised: u128;
10452
- readonly securitization: u128;
10453
- readonly lockedTargetPrice: u128;
10579
+ readonly securitizedSatoshis: u64;
10580
+ readonly microgonsAtTargetPerBtc: u128;
10581
+ readonly collateralRequired: u128;
10454
10582
  readonly accountId: AccountId32;
10455
10583
  readonly securityFee: u128;
10456
10584
  } & 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
10585
  readonly isBitcoinLockBurned: boolean;
10469
10586
  readonly asBitcoinLockBurned: {
10470
10587
  readonly utxoId: u64;
@@ -10526,18 +10643,24 @@ declare module '@polkadot/types/lookup' {
10526
10643
  readonly accountId: AccountId32;
10527
10644
  readonly signature: Bytes;
10528
10645
  } & Struct;
10529
- readonly isUtxoFundedFromCandidate: boolean;
10530
- readonly asUtxoFundedFromCandidate: {
10531
- readonly utxoId: u64;
10646
+ readonly isOrphanedUtxoExpirationError: boolean;
10647
+ readonly asOrphanedUtxoExpirationError: {
10648
+ readonly accountId: AccountId32;
10532
10649
  readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
10533
- readonly vaultId: u32;
10650
+ readonly error: SpRuntimeDispatchError;
10651
+ } & Struct;
10652
+ readonly isOrphanedUtxoCleanupScheduleOverflow: boolean;
10653
+ readonly asOrphanedUtxoCleanupScheduleOverflow: {
10534
10654
  readonly accountId: AccountId32;
10655
+ readonly utxoId: u64;
10656
+ readonly expirationFrame: u64;
10535
10657
  } & Struct;
10536
- readonly isSecuritizationIncreased: boolean;
10537
- readonly asSecuritizationIncreased: {
10658
+ readonly isBitcoinLockResecuritized: boolean;
10659
+ readonly asBitcoinLockResecuritized: {
10538
10660
  readonly utxoId: u64;
10539
10661
  readonly vaultId: u32;
10540
- readonly newSatoshis: u64;
10662
+ readonly securitizedSatoshis: u64;
10663
+ readonly microgonsAtTargetPerBtc: u128;
10541
10664
  readonly accountId: AccountId32;
10542
10665
  } & Struct;
10543
10666
  readonly isBitcoinLockFlexibleChanged: boolean;
@@ -10546,9 +10669,9 @@ declare module '@polkadot/types/lookup' {
10546
10669
  readonly vaultId: u32;
10547
10670
  readonly isFlexible: bool;
10548
10671
  } & Struct;
10549
- readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinSpentAfterRelease' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'UtxoFundedFromCandidate' | 'SecuritizationIncreased' | 'BitcoinLockFlexibleChanged';
10672
+ readonly type: 'BitcoinLockCreated' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinSpentAfterRelease' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'OrphanedUtxoExpirationError' | 'OrphanedUtxoCleanupScheduleOverflow' | 'BitcoinLockResecuritized' | 'BitcoinLockFlexibleChanged';
10550
10673
  }
10551
- /** @name PalletNotariesEvent (60) */
10674
+ /** @name PalletNotariesEvent (59) */
10552
10675
  interface PalletNotariesEvent extends Enum {
10553
10676
  readonly isNotaryProposed: boolean;
10554
10677
  readonly asNotaryProposed: {
@@ -10579,13 +10702,13 @@ declare module '@polkadot/types/lookup' {
10579
10702
  } & Struct;
10580
10703
  readonly type: 'NotaryProposed' | 'NotaryActivated' | 'NotaryMetaUpdateQueued' | 'NotaryMetaUpdated' | 'NotaryMetaUpdateError';
10581
10704
  }
10582
- /** @name ArgonPrimitivesNotaryNotaryMeta (61) */
10705
+ /** @name ArgonPrimitivesNotaryNotaryMeta (60) */
10583
10706
  interface ArgonPrimitivesNotaryNotaryMeta extends Struct {
10584
10707
  readonly name: Bytes;
10585
10708
  readonly public: U8aFixed;
10586
10709
  readonly hosts: Vec<Bytes>;
10587
10710
  }
10588
- /** @name ArgonPrimitivesNotaryNotaryRecord (68) */
10711
+ /** @name ArgonPrimitivesNotaryNotaryRecord (67) */
10589
10712
  interface ArgonPrimitivesNotaryNotaryRecord extends Struct {
10590
10713
  readonly notaryId: Compact<u32>;
10591
10714
  readonly operatorAccountId: AccountId32;
@@ -10594,7 +10717,7 @@ declare module '@polkadot/types/lookup' {
10594
10717
  readonly metaUpdatedTick: Compact<u64>;
10595
10718
  readonly meta: ArgonPrimitivesNotaryNotaryMeta;
10596
10719
  }
10597
- /** @name PalletNotebookEvent (69) */
10720
+ /** @name PalletNotebookEvent (68) */
10598
10721
  interface PalletNotebookEvent extends Enum {
10599
10722
  readonly isNotebookSubmitted: boolean;
10600
10723
  readonly asNotebookSubmitted: {
@@ -10615,7 +10738,7 @@ declare module '@polkadot/types/lookup' {
10615
10738
  } & Struct;
10616
10739
  readonly type: 'NotebookSubmitted' | 'NotebookAuditFailure' | 'NotebookReadyForReprocess';
10617
10740
  }
10618
- /** @name ArgonNotaryAuditErrorVerifyError (70) */
10741
+ /** @name ArgonNotaryAuditErrorVerifyError (69) */
10619
10742
  interface ArgonNotaryAuditErrorVerifyError extends Enum {
10620
10743
  readonly isMissingAccountOrigin: boolean;
10621
10744
  readonly asMissingAccountOrigin: {
@@ -10735,13 +10858,13 @@ declare module '@polkadot/types/lookup' {
10735
10858
  readonly isNoDefaultBlockVote: boolean;
10736
10859
  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
10860
  }
10738
- /** @name ArgonPrimitivesAccountAccountType (71) */
10861
+ /** @name ArgonPrimitivesAccountAccountType (70) */
10739
10862
  interface ArgonPrimitivesAccountAccountType extends Enum {
10740
10863
  readonly isTax: boolean;
10741
10864
  readonly isDeposit: boolean;
10742
10865
  readonly type: 'Tax' | 'Deposit';
10743
10866
  }
10744
- /** @name ArgonNotaryAuditAccountHistoryLookupError (72) */
10867
+ /** @name ArgonNotaryAuditAccountHistoryLookupError (71) */
10745
10868
  interface ArgonNotaryAuditAccountHistoryLookupError extends Enum {
10746
10869
  readonly isRootNotFound: boolean;
10747
10870
  readonly isLastChangeNotFound: boolean;
@@ -10749,7 +10872,7 @@ declare module '@polkadot/types/lookup' {
10749
10872
  readonly isBlockSpecificationNotFound: boolean;
10750
10873
  readonly type: 'RootNotFound' | 'LastChangeNotFound' | 'InvalidTransferToLocalchain' | 'BlockSpecificationNotFound';
10751
10874
  }
10752
- /** @name PalletLocalchainTransferEvent (76) */
10875
+ /** @name PalletLocalchainTransferEvent (75) */
10753
10876
  interface PalletLocalchainTransferEvent extends Enum {
10754
10877
  readonly isTransferToLocalchain: boolean;
10755
10878
  readonly asTransferToLocalchain: {
@@ -10802,7 +10925,7 @@ declare module '@polkadot/types/lookup' {
10802
10925
  } & Struct;
10803
10926
  readonly type: 'TransferToLocalchain' | 'TransferToLocalchainExpired' | 'TransferFromLocalchain' | 'TransferFromLocalchainError' | 'TransferToLocalchainRefundError' | 'PossibleInvalidLocalchainTransferAllowed' | 'TaxationError';
10804
10927
  }
10805
- /** @name PalletBlockSealSpecEvent (77) */
10928
+ /** @name PalletBlockSealSpecEvent (76) */
10806
10929
  interface PalletBlockSealSpecEvent extends Enum {
10807
10930
  readonly isVoteMinimumAdjusted: boolean;
10808
10931
  readonly asVoteMinimumAdjusted: {
@@ -10820,7 +10943,7 @@ declare module '@polkadot/types/lookup' {
10820
10943
  } & Struct;
10821
10944
  readonly type: 'VoteMinimumAdjusted' | 'ComputeDifficultyAdjusted';
10822
10945
  }
10823
- /** @name PalletDomainsEvent (78) */
10946
+ /** @name PalletDomainsEvent (77) */
10824
10947
  interface PalletDomainsEvent extends Enum {
10825
10948
  readonly isZoneRecordUpdated: boolean;
10826
10949
  readonly asZoneRecordUpdated: {
@@ -10853,29 +10976,29 @@ declare module '@polkadot/types/lookup' {
10853
10976
  } & Struct;
10854
10977
  readonly type: 'ZoneRecordUpdated' | 'DomainRegistered' | 'DomainRenewed' | 'DomainExpired' | 'DomainRegistrationCanceled' | 'DomainRegistrationError';
10855
10978
  }
10856
- /** @name ArgonPrimitivesDomainZoneRecord (79) */
10979
+ /** @name ArgonPrimitivesDomainZoneRecord (78) */
10857
10980
  interface ArgonPrimitivesDomainZoneRecord extends Struct {
10858
10981
  readonly paymentAccount: AccountId32;
10859
10982
  readonly notaryId: u32;
10860
10983
  readonly versions: BTreeMap<ArgonPrimitivesDomainSemver, ArgonPrimitivesDomainVersionHost>;
10861
10984
  }
10862
- /** @name ArgonPrimitivesDomainSemver (81) */
10985
+ /** @name ArgonPrimitivesDomainSemver (80) */
10863
10986
  interface ArgonPrimitivesDomainSemver extends Struct {
10864
10987
  readonly major: u32;
10865
10988
  readonly minor: u32;
10866
10989
  readonly patch: u32;
10867
10990
  }
10868
- /** @name ArgonPrimitivesDomainVersionHost (82) */
10991
+ /** @name ArgonPrimitivesDomainVersionHost (81) */
10869
10992
  interface ArgonPrimitivesDomainVersionHost extends Struct {
10870
10993
  readonly datastoreId: Bytes;
10871
10994
  readonly host: Bytes;
10872
10995
  }
10873
- /** @name PalletDomainsDomainRegistration (87) */
10996
+ /** @name PalletDomainsDomainRegistration (86) */
10874
10997
  interface PalletDomainsDomainRegistration extends Struct {
10875
10998
  readonly accountId: AccountId32;
10876
10999
  readonly registeredAtTick: u64;
10877
11000
  }
10878
- /** @name PalletPriceIndexEvent (88) */
11001
+ /** @name PalletPriceIndexEvent (87) */
10879
11002
  interface PalletPriceIndexEvent extends Enum {
10880
11003
  readonly isNewIndex: boolean;
10881
11004
  readonly isOperatorChanged: boolean;
@@ -10884,7 +11007,7 @@ declare module '@polkadot/types/lookup' {
10884
11007
  } & Struct;
10885
11008
  readonly type: 'NewIndex' | 'OperatorChanged';
10886
11009
  }
10887
- /** @name PalletGrandpaEvent (89) */
11010
+ /** @name PalletGrandpaEvent (88) */
10888
11011
  interface PalletGrandpaEvent extends Enum {
10889
11012
  readonly isNewAuthorities: boolean;
10890
11013
  readonly asNewAuthorities: {
@@ -10894,7 +11017,7 @@ declare module '@polkadot/types/lookup' {
10894
11017
  readonly isResumed: boolean;
10895
11018
  readonly type: 'NewAuthorities' | 'Paused' | 'Resumed';
10896
11019
  }
10897
- /** @name PalletBlockRewardsEvent (92) */
11020
+ /** @name PalletBlockRewardsEvent (91) */
10898
11021
  interface PalletBlockRewardsEvent extends Enum {
10899
11022
  readonly isRewardCreated: boolean;
10900
11023
  readonly asRewardCreated: {
@@ -10909,7 +11032,7 @@ declare module '@polkadot/types/lookup' {
10909
11032
  } & Struct;
10910
11033
  readonly type: 'RewardCreated' | 'RewardCreateError';
10911
11034
  }
10912
- /** @name ArgonPrimitivesBlockSealBlockPayout (94) */
11035
+ /** @name ArgonPrimitivesBlockSealBlockPayout (93) */
10913
11036
  interface ArgonPrimitivesBlockSealBlockPayout extends Struct {
10914
11037
  readonly accountId: AccountId32;
10915
11038
  readonly ownership: Compact<u128>;
@@ -10917,18 +11040,19 @@ declare module '@polkadot/types/lookup' {
10917
11040
  readonly rewardType: ArgonPrimitivesBlockSealBlockRewardType;
10918
11041
  readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
10919
11042
  }
10920
- /** @name ArgonPrimitivesBlockSealBlockRewardType (95) */
11043
+ /** @name ArgonPrimitivesBlockSealBlockRewardType (94) */
10921
11044
  interface ArgonPrimitivesBlockSealBlockRewardType extends Enum {
10922
11045
  readonly isMiner: boolean;
10923
11046
  readonly isVoter: boolean;
10924
11047
  readonly isProfitShare: boolean;
10925
11048
  readonly type: 'Miner' | 'Voter' | 'ProfitShare';
10926
11049
  }
10927
- /** @name PalletMintEvent (98) */
11050
+ /** @name PalletMintEvent (97) */
10928
11051
  interface PalletMintEvent extends Enum {
10929
11052
  readonly isBitcoinMint: boolean;
10930
11053
  readonly asBitcoinMint: {
10931
11054
  readonly accountId: AccountId32;
11055
+ readonly fissionId: u64;
10932
11056
  readonly utxoId: Option<u64>;
10933
11057
  readonly amount: u128;
10934
11058
  } & Struct;
@@ -10943,19 +11067,20 @@ declare module '@polkadot/types/lookup' {
10943
11067
  readonly asMintError: {
10944
11068
  readonly mintType: PalletMintMintType;
10945
11069
  readonly accountId: AccountId32;
11070
+ readonly fissionId: Option<u64>;
10946
11071
  readonly utxoId: Option<u64>;
10947
11072
  readonly amount: u128;
10948
11073
  readonly error: SpRuntimeDispatchError;
10949
11074
  } & Struct;
10950
11075
  readonly type: 'BitcoinMint' | 'MiningMint' | 'MintError';
10951
11076
  }
10952
- /** @name PalletMintMintType (101) */
11077
+ /** @name PalletMintMintType (100) */
10953
11078
  interface PalletMintMintType extends Enum {
10954
11079
  readonly isBitcoin: boolean;
10955
11080
  readonly isMining: boolean;
10956
11081
  readonly type: 'Bitcoin' | 'Mining';
10957
11082
  }
10958
- /** @name PalletBalancesEvent (102) */
11083
+ /** @name PalletBalancesEvent (101) */
10959
11084
  interface PalletBalancesEvent extends Enum {
10960
11085
  readonly isEndowed: boolean;
10961
11086
  readonly asEndowed: {
@@ -11111,13 +11236,13 @@ declare module '@polkadot/types/lookup' {
11111
11236
  readonly asUnexpected: PalletBalancesUnexpectedKind;
11112
11237
  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
11238
  }
11114
- /** @name FrameSupportTokensMiscBalanceStatus (103) */
11239
+ /** @name FrameSupportTokensMiscBalanceStatus (102) */
11115
11240
  interface FrameSupportTokensMiscBalanceStatus extends Enum {
11116
11241
  readonly isFree: boolean;
11117
11242
  readonly isReserved: boolean;
11118
11243
  readonly type: 'Free' | 'Reserved';
11119
11244
  }
11120
- /** @name ArgonRuntimeRuntimeHoldReason (104) */
11245
+ /** @name ArgonRuntimeRuntimeHoldReason (103) */
11121
11246
  interface ArgonRuntimeRuntimeHoldReason extends Enum {
11122
11247
  readonly isMiningSlot: boolean;
11123
11248
  readonly asMiningSlot: PalletMiningSlotHoldReason;
@@ -11133,46 +11258,46 @@ declare module '@polkadot/types/lookup' {
11133
11258
  readonly asCrosschainTransfer: PalletCrosschainTransferHoldReason;
11134
11259
  readonly type: 'MiningSlot' | 'Vaults' | 'BitcoinLocks' | 'BlockRewards' | 'Treasury' | 'CrosschainTransfer';
11135
11260
  }
11136
- /** @name PalletMiningSlotHoldReason (105) */
11261
+ /** @name PalletMiningSlotHoldReason (104) */
11137
11262
  interface PalletMiningSlotHoldReason extends Enum {
11138
11263
  readonly isRegisterAsMiner: boolean;
11139
11264
  readonly type: 'RegisterAsMiner';
11140
11265
  }
11141
- /** @name PalletVaultsHoldReason (106) */
11266
+ /** @name PalletVaultsHoldReason (105) */
11142
11267
  interface PalletVaultsHoldReason extends Enum {
11143
11268
  readonly isEnterVault: boolean;
11144
11269
  readonly isObligationFee: boolean;
11145
11270
  readonly isPendingCollect: boolean;
11146
11271
  readonly type: 'EnterVault' | 'ObligationFee' | 'PendingCollect';
11147
11272
  }
11148
- /** @name PalletBitcoinLocksHoldReason (107) */
11273
+ /** @name PalletBitcoinLocksHoldReason (106) */
11149
11274
  interface PalletBitcoinLocksHoldReason extends Enum {
11150
11275
  readonly isReleaseBitcoinLock: boolean;
11151
11276
  readonly type: 'ReleaseBitcoinLock';
11152
11277
  }
11153
- /** @name PalletBlockRewardsHoldReason (108) */
11278
+ /** @name PalletBlockRewardsHoldReason (107) */
11154
11279
  interface PalletBlockRewardsHoldReason extends Enum {
11155
11280
  readonly isMaturationPeriod: boolean;
11156
11281
  readonly type: 'MaturationPeriod';
11157
11282
  }
11158
- /** @name PalletTreasuryHoldReason (109) */
11283
+ /** @name PalletTreasuryHoldReason (108) */
11159
11284
  interface PalletTreasuryHoldReason extends Enum {
11160
11285
  readonly isContributedToTreasury: boolean;
11161
11286
  readonly type: 'ContributedToTreasury';
11162
11287
  }
11163
- /** @name PalletCrosschainTransferHoldReason (110) */
11288
+ /** @name PalletCrosschainTransferHoldReason (109) */
11164
11289
  interface PalletCrosschainTransferHoldReason extends Enum {
11165
11290
  readonly isTransferOutMintingAuthorityTip: boolean;
11166
11291
  readonly isMintingAuthorityActivationRepayment: boolean;
11167
11292
  readonly type: 'TransferOutMintingAuthorityTip' | 'MintingAuthorityActivationRepayment';
11168
11293
  }
11169
- /** @name PalletBalancesUnexpectedKind (111) */
11294
+ /** @name PalletBalancesUnexpectedKind (110) */
11170
11295
  interface PalletBalancesUnexpectedKind extends Enum {
11171
11296
  readonly isBalanceUpdated: boolean;
11172
11297
  readonly isFailedToMutateAccount: boolean;
11173
11298
  readonly type: 'BalanceUpdated' | 'FailedToMutateAccount';
11174
11299
  }
11175
- /** @name PalletTxPauseEvent (113) */
11300
+ /** @name PalletTxPauseEvent (112) */
11176
11301
  interface PalletTxPauseEvent extends Enum {
11177
11302
  readonly isCallPaused: boolean;
11178
11303
  readonly asCallPaused: {
@@ -11184,7 +11309,7 @@ declare module '@polkadot/types/lookup' {
11184
11309
  } & Struct;
11185
11310
  readonly type: 'CallPaused' | 'CallUnpaused';
11186
11311
  }
11187
- /** @name PalletTransactionPaymentEvent (116) */
11312
+ /** @name PalletTransactionPaymentEvent (115) */
11188
11313
  interface PalletTransactionPaymentEvent extends Enum {
11189
11314
  readonly isTransactionFeePaid: boolean;
11190
11315
  readonly asTransactionFeePaid: {
@@ -11194,7 +11319,7 @@ declare module '@polkadot/types/lookup' {
11194
11319
  } & Struct;
11195
11320
  readonly type: 'TransactionFeePaid';
11196
11321
  }
11197
- /** @name PalletUtilityEvent (117) */
11322
+ /** @name PalletUtilityEvent (116) */
11198
11323
  interface PalletUtilityEvent extends Enum {
11199
11324
  readonly isBatchInterrupted: boolean;
11200
11325
  readonly asBatchInterrupted: {
@@ -11219,7 +11344,7 @@ declare module '@polkadot/types/lookup' {
11219
11344
  } & Struct;
11220
11345
  readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs' | 'IfElseMainSuccess' | 'IfElseFallbackCalled';
11221
11346
  }
11222
- /** @name PalletSudoEvent (118) */
11347
+ /** @name PalletSudoEvent (117) */
11223
11348
  interface PalletSudoEvent extends Enum {
11224
11349
  readonly isSudid: boolean;
11225
11350
  readonly asSudid: {
@@ -11237,6 +11362,42 @@ declare module '@polkadot/types/lookup' {
11237
11362
  } & Struct;
11238
11363
  readonly type: 'Sudid' | 'KeyChanged' | 'KeyRemoved' | 'SudoAsDone';
11239
11364
  }
11365
+ /** @name PalletBitcoinFissionsEvent (118) */
11366
+ interface PalletBitcoinFissionsEvent extends Enum {
11367
+ readonly isFissionCreated: boolean;
11368
+ readonly asFissionCreated: {
11369
+ readonly accountId: AccountId32;
11370
+ readonly fissionId: u64;
11371
+ readonly liquidId: u64;
11372
+ readonly utxoId: u64;
11373
+ readonly satoshis: u64;
11374
+ readonly microgonsAtTargetPerBtc: u128;
11375
+ readonly liquidityPromised: u128;
11376
+ } & Struct;
11377
+ readonly isFissionRatcheted: boolean;
11378
+ readonly asFissionRatcheted: {
11379
+ readonly accountId: AccountId32;
11380
+ readonly fissionId: u64;
11381
+ readonly ratchetNumber: u32;
11382
+ readonly microgonsAtTargetPerBtc: u128;
11383
+ readonly liquidityPromised: u128;
11384
+ readonly amountMinted: u128;
11385
+ readonly amountBurned: u128;
11386
+ } & Struct;
11387
+ readonly isFissionClosed: boolean;
11388
+ readonly asFissionClosed: {
11389
+ readonly accountId: AccountId32;
11390
+ readonly fissionId: u64;
11391
+ readonly redemptionAmount: u128;
11392
+ } & Struct;
11393
+ readonly isFissionClosedByLock: boolean;
11394
+ readonly asFissionClosedByLock: {
11395
+ readonly accountId: AccountId32;
11396
+ readonly fissionId: u64;
11397
+ readonly utxoId: u64;
11398
+ } & Struct;
11399
+ readonly type: 'FissionCreated' | 'FissionRatcheted' | 'FissionClosed' | 'FissionClosedByLock';
11400
+ }
11240
11401
  /** @name PalletTreasuryEvent (119) */
11241
11402
  interface PalletTreasuryEvent extends Enum {
11242
11403
  readonly isCouldNotDistributeEarningsToBondLot: boolean;
@@ -12007,17 +12168,7 @@ declare module '@polkadot/types/lookup' {
12007
12168
  readonly asSetOperator: {
12008
12169
  readonly accountId: AccountId32;
12009
12170
  } & 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';
12171
+ readonly type: 'Sync' | 'SetConfirmedBlock' | 'SetOperator';
12021
12172
  }
12022
12173
  /** @name ArgonPrimitivesInherentsBitcoinUtxoSync (201) */
12023
12174
  interface ArgonPrimitivesInherentsBitcoinUtxoSync extends Struct {
@@ -12107,8 +12258,8 @@ declare module '@polkadot/types/lookup' {
12107
12258
  }
12108
12259
  /** @name PalletBitcoinLocksCall (216) */
12109
12260
  interface PalletBitcoinLocksCall extends Enum {
12110
- readonly isInitialize: boolean;
12111
- readonly asInitialize: {
12261
+ readonly isCreateReceiveAddress: boolean;
12262
+ readonly asCreateReceiveAddress: {
12112
12263
  readonly vaultId: u32;
12113
12264
  readonly satoshis: Compact<u64>;
12114
12265
  readonly bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
@@ -12125,11 +12276,6 @@ declare module '@polkadot/types/lookup' {
12125
12276
  readonly utxoId: u64;
12126
12277
  readonly signature: Bytes;
12127
12278
  } & Struct;
12128
- readonly isRatchet: boolean;
12129
- readonly asRatchet: {
12130
- readonly utxoId: u64;
12131
- readonly options: Option<PalletBitcoinLocksLockOptions>;
12132
- } & Struct;
12133
12279
  readonly isAdminModifyMinimumLockedSats: boolean;
12134
12280
  readonly asAdminModifyMinimumLockedSats: {
12135
12281
  readonly satoshis: u64;
@@ -12146,35 +12292,28 @@ declare module '@polkadot/types/lookup' {
12146
12292
  readonly utxoRef: ArgonPrimitivesBitcoinUtxoRef;
12147
12293
  readonly signature: Bytes;
12148
12294
  } & Struct;
12149
- readonly isIncreaseSecuritization: boolean;
12150
- readonly asIncreaseSecuritization: {
12295
+ readonly isResecuritize: boolean;
12296
+ readonly asResecuritize: {
12151
12297
  readonly utxoId: u64;
12152
- readonly newSatoshis: Compact<u64>;
12298
+ readonly satoshis: Compact<u64>;
12299
+ readonly options: Option<PalletBitcoinLocksLockOptions>;
12153
12300
  } & Struct;
12154
12301
  readonly isSetFlexible: boolean;
12155
12302
  readonly asSetFlexible: {
12156
12303
  readonly utxoId: u64;
12157
12304
  readonly isFlexible: bool;
12158
12305
  } & Struct;
12159
- readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'Ratchet' | 'AdminModifyMinimumLockedSats' | 'RequestOrphanedUtxoRelease' | 'CosignOrphanedUtxoRelease' | 'IncreaseSecuritization' | 'SetFlexible';
12306
+ readonly type: 'CreateReceiveAddress' | 'RequestRelease' | 'CosignRelease' | 'AdminModifyMinimumLockedSats' | 'RequestOrphanedUtxoRelease' | 'CosignOrphanedUtxoRelease' | 'Resecuritize' | 'SetFlexible';
12160
12307
  }
12161
12308
  /** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (217) */
12162
12309
  interface ArgonPrimitivesBitcoinCompressedBitcoinPubkey extends U8aFixed {
12163
12310
  }
12164
12311
  /** @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';
12312
+ interface PalletBitcoinLocksLockOptions extends Struct {
12313
+ readonly microgonsAtTargetPerBtc: Compact<u128>;
12314
+ readonly feeCoupon: Option<PalletBitcoinLocksFeeCoupon>;
12176
12315
  }
12177
- /** @name PalletBitcoinLocksFeeCoupon (221) */
12316
+ /** @name PalletBitcoinLocksFeeCoupon (222) */
12178
12317
  interface PalletBitcoinLocksFeeCoupon extends Struct {
12179
12318
  readonly feeDiscount: Compact<u128>;
12180
12319
  readonly securitizationSpaceToUnreserve: Compact<u128>;
@@ -12182,7 +12321,7 @@ declare module '@polkadot/types/lookup' {
12182
12321
  readonly nonce: Compact<u64>;
12183
12322
  readonly signature: SpRuntimeMultiSignature;
12184
12323
  }
12185
- /** @name SpRuntimeMultiSignature (222) */
12324
+ /** @name SpRuntimeMultiSignature (223) */
12186
12325
  interface SpRuntimeMultiSignature extends Enum {
12187
12326
  readonly isEd25519: boolean;
12188
12327
  readonly asEd25519: U8aFixed;
@@ -12194,7 +12333,7 @@ declare module '@polkadot/types/lookup' {
12194
12333
  readonly asEth: U8aFixed;
12195
12334
  readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa' | 'Eth';
12196
12335
  }
12197
- /** @name PalletNotariesCall (227) */
12336
+ /** @name PalletNotariesCall (228) */
12198
12337
  interface PalletNotariesCall extends Enum {
12199
12338
  readonly isPropose: boolean;
12200
12339
  readonly asPropose: {
@@ -12212,7 +12351,7 @@ declare module '@polkadot/types/lookup' {
12212
12351
  } & Struct;
12213
12352
  readonly type: 'Propose' | 'Activate' | 'Update';
12214
12353
  }
12215
- /** @name PalletNotebookCall (228) */
12354
+ /** @name PalletNotebookCall (229) */
12216
12355
  interface PalletNotebookCall extends Enum {
12217
12356
  readonly isSubmit: boolean;
12218
12357
  readonly asSubmit: {
@@ -12224,12 +12363,12 @@ declare module '@polkadot/types/lookup' {
12224
12363
  } & Struct;
12225
12364
  readonly type: 'Submit' | 'Unlock';
12226
12365
  }
12227
- /** @name ArgonPrimitivesNotebookSignedNotebookHeader (230) */
12366
+ /** @name ArgonPrimitivesNotebookSignedNotebookHeader (231) */
12228
12367
  interface ArgonPrimitivesNotebookSignedNotebookHeader extends Struct {
12229
12368
  readonly header: ArgonPrimitivesNotebookNotebookHeader;
12230
12369
  readonly signature: U8aFixed;
12231
12370
  }
12232
- /** @name ArgonPrimitivesNotebookNotebookHeader (231) */
12371
+ /** @name ArgonPrimitivesNotebookNotebookHeader (232) */
12233
12372
  interface ArgonPrimitivesNotebookNotebookHeader extends Struct {
12234
12373
  readonly version: Compact<u16>;
12235
12374
  readonly notebookNumber: Compact<u32>;
@@ -12247,7 +12386,7 @@ declare module '@polkadot/types/lookup' {
12247
12386
  readonly parentSecret: Option<H256>;
12248
12387
  readonly domains: Vec<ITuple<[H256, AccountId32]>>;
12249
12388
  }
12250
- /** @name ArgonPrimitivesNotebookChainTransfer (234) */
12389
+ /** @name ArgonPrimitivesNotebookChainTransfer (235) */
12251
12390
  interface ArgonPrimitivesNotebookChainTransfer extends Enum {
12252
12391
  readonly isToMainchain: boolean;
12253
12392
  readonly asToMainchain: {
@@ -12260,12 +12399,12 @@ declare module '@polkadot/types/lookup' {
12260
12399
  } & Struct;
12261
12400
  readonly type: 'ToMainchain' | 'ToLocalchain';
12262
12401
  }
12263
- /** @name ArgonPrimitivesBalanceChangeAccountOrigin (237) */
12402
+ /** @name ArgonPrimitivesBalanceChangeAccountOrigin (238) */
12264
12403
  interface ArgonPrimitivesBalanceChangeAccountOrigin extends Struct {
12265
12404
  readonly notebookNumber: Compact<u32>;
12266
12405
  readonly accountUid: Compact<u32>;
12267
12406
  }
12268
- /** @name PalletLocalchainTransferCall (243) */
12407
+ /** @name PalletLocalchainTransferCall (244) */
12269
12408
  interface PalletLocalchainTransferCall extends Enum {
12270
12409
  readonly isSendToLocalchain: boolean;
12271
12410
  readonly asSendToLocalchain: {
@@ -12274,7 +12413,7 @@ declare module '@polkadot/types/lookup' {
12274
12413
  } & Struct;
12275
12414
  readonly type: 'SendToLocalchain';
12276
12415
  }
12277
- /** @name PalletBlockSealSpecCall (244) */
12416
+ /** @name PalletBlockSealSpecCall (245) */
12278
12417
  interface PalletBlockSealSpecCall extends Enum {
12279
12418
  readonly isConfigure: boolean;
12280
12419
  readonly asConfigure: {
@@ -12283,7 +12422,7 @@ declare module '@polkadot/types/lookup' {
12283
12422
  } & Struct;
12284
12423
  readonly type: 'Configure';
12285
12424
  }
12286
- /** @name PalletDomainsCall (245) */
12425
+ /** @name PalletDomainsCall (246) */
12287
12426
  interface PalletDomainsCall extends Enum {
12288
12427
  readonly isSetZoneRecord: boolean;
12289
12428
  readonly asSetZoneRecord: {
@@ -12292,7 +12431,7 @@ declare module '@polkadot/types/lookup' {
12292
12431
  } & Struct;
12293
12432
  readonly type: 'SetZoneRecord';
12294
12433
  }
12295
- /** @name PalletPriceIndexCall (246) */
12434
+ /** @name PalletPriceIndexCall (247) */
12296
12435
  interface PalletPriceIndexCall extends Enum {
12297
12436
  readonly isSubmit: boolean;
12298
12437
  readonly asSubmit: {
@@ -12305,7 +12444,7 @@ declare module '@polkadot/types/lookup' {
12305
12444
  } & Struct;
12306
12445
  readonly type: 'Submit' | 'SetOperator';
12307
12446
  }
12308
- /** @name PalletPriceIndexPriceIndex (247) */
12447
+ /** @name PalletPriceIndexPriceIndex (248) */
12309
12448
  interface PalletPriceIndexPriceIndex extends Struct {
12310
12449
  readonly btcUsdPrice: Compact<u128>;
12311
12450
  readonly argonotUsdPrice: u128;
@@ -12314,13 +12453,13 @@ declare module '@polkadot/types/lookup' {
12314
12453
  readonly argonTimeWeightedAverageLiquidity: u128;
12315
12454
  readonly tick: Compact<u64>;
12316
12455
  }
12317
- /** @name PalletPriceIndexEthereumPriceIndex (249) */
12456
+ /** @name PalletPriceIndexEthereumPriceIndex (250) */
12318
12457
  interface PalletPriceIndexEthereumPriceIndex extends Struct {
12319
12458
  readonly ethereumUsdPrice: u128;
12320
12459
  readonly ethereumGasPriceWei: Compact<u128>;
12321
12460
  readonly tick: Compact<u64>;
12322
12461
  }
12323
- /** @name PalletGrandpaCall (250) */
12462
+ /** @name PalletGrandpaCall (251) */
12324
12463
  interface PalletGrandpaCall extends Enum {
12325
12464
  readonly isReportEquivocation: boolean;
12326
12465
  readonly asReportEquivocation: {
@@ -12339,12 +12478,12 @@ declare module '@polkadot/types/lookup' {
12339
12478
  } & Struct;
12340
12479
  readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled';
12341
12480
  }
12342
- /** @name SpConsensusGrandpaEquivocationProof (251) */
12481
+ /** @name SpConsensusGrandpaEquivocationProof (252) */
12343
12482
  interface SpConsensusGrandpaEquivocationProof extends Struct {
12344
12483
  readonly setId: u64;
12345
12484
  readonly equivocation: SpConsensusGrandpaEquivocation;
12346
12485
  }
12347
- /** @name SpConsensusGrandpaEquivocation (252) */
12486
+ /** @name SpConsensusGrandpaEquivocation (253) */
12348
12487
  interface SpConsensusGrandpaEquivocation extends Enum {
12349
12488
  readonly isPrevote: boolean;
12350
12489
  readonly asPrevote: FinalityGrandpaEquivocationPrevote;
@@ -12352,36 +12491,36 @@ declare module '@polkadot/types/lookup' {
12352
12491
  readonly asPrecommit: FinalityGrandpaEquivocationPrecommit;
12353
12492
  readonly type: 'Prevote' | 'Precommit';
12354
12493
  }
12355
- /** @name FinalityGrandpaEquivocationPrevote (253) */
12494
+ /** @name FinalityGrandpaEquivocationPrevote (254) */
12356
12495
  interface FinalityGrandpaEquivocationPrevote extends Struct {
12357
12496
  readonly roundNumber: u64;
12358
12497
  readonly identity: SpConsensusGrandpaAppPublic;
12359
12498
  readonly first: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>;
12360
12499
  readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>;
12361
12500
  }
12362
- /** @name FinalityGrandpaPrevote (254) */
12501
+ /** @name FinalityGrandpaPrevote (255) */
12363
12502
  interface FinalityGrandpaPrevote extends Struct {
12364
12503
  readonly targetHash: H256;
12365
12504
  readonly targetNumber: u32;
12366
12505
  }
12367
- /** @name SpConsensusGrandpaAppSignature (255) */
12506
+ /** @name SpConsensusGrandpaAppSignature (256) */
12368
12507
  interface SpConsensusGrandpaAppSignature extends U8aFixed {
12369
12508
  }
12370
- /** @name FinalityGrandpaEquivocationPrecommit (257) */
12509
+ /** @name FinalityGrandpaEquivocationPrecommit (258) */
12371
12510
  interface FinalityGrandpaEquivocationPrecommit extends Struct {
12372
12511
  readonly roundNumber: u64;
12373
12512
  readonly identity: SpConsensusGrandpaAppPublic;
12374
12513
  readonly first: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>;
12375
12514
  readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>;
12376
12515
  }
12377
- /** @name FinalityGrandpaPrecommit (258) */
12516
+ /** @name FinalityGrandpaPrecommit (259) */
12378
12517
  interface FinalityGrandpaPrecommit extends Struct {
12379
12518
  readonly targetHash: H256;
12380
12519
  readonly targetNumber: u32;
12381
12520
  }
12382
- /** @name SpCoreVoid (260) */
12521
+ /** @name SpCoreVoid (261) */
12383
12522
  type SpCoreVoid = Null;
12384
- /** @name PalletBlockSealCall (261) */
12523
+ /** @name PalletBlockSealCall (262) */
12385
12524
  interface PalletBlockSealCall extends Enum {
12386
12525
  readonly isApply: boolean;
12387
12526
  readonly asApply: {
@@ -12389,7 +12528,7 @@ declare module '@polkadot/types/lookup' {
12389
12528
  } & Struct;
12390
12529
  readonly type: 'Apply';
12391
12530
  }
12392
- /** @name ArgonPrimitivesInherentsBlockSealInherent (262) */
12531
+ /** @name ArgonPrimitivesInherentsBlockSealInherent (263) */
12393
12532
  interface ArgonPrimitivesInherentsBlockSealInherent extends Enum {
12394
12533
  readonly isVote: boolean;
12395
12534
  readonly asVote: {
@@ -12403,13 +12542,13 @@ declare module '@polkadot/types/lookup' {
12403
12542
  readonly isCompute: boolean;
12404
12543
  readonly type: 'Vote' | 'Compute';
12405
12544
  }
12406
- /** @name ArgonPrimitivesBalanceChangeMerkleProof (263) */
12545
+ /** @name ArgonPrimitivesBalanceChangeMerkleProof (264) */
12407
12546
  interface ArgonPrimitivesBalanceChangeMerkleProof extends Struct {
12408
12547
  readonly proof: Vec<H256>;
12409
12548
  readonly numberOfLeaves: Compact<u32>;
12410
12549
  readonly leafIndex: Compact<u32>;
12411
12550
  }
12412
- /** @name ArgonPrimitivesBlockVoteBlockVoteT (265) */
12551
+ /** @name ArgonPrimitivesBlockVoteBlockVoteT (266) */
12413
12552
  interface ArgonPrimitivesBlockVoteBlockVoteT extends Struct {
12414
12553
  readonly accountId: AccountId32;
12415
12554
  readonly blockHash: H256;
@@ -12419,7 +12558,7 @@ declare module '@polkadot/types/lookup' {
12419
12558
  readonly blockRewardsAccountId: AccountId32;
12420
12559
  readonly tick: Compact<u64>;
12421
12560
  }
12422
- /** @name PalletBlockRewardsCall (266) */
12561
+ /** @name PalletBlockRewardsCall (267) */
12423
12562
  interface PalletBlockRewardsCall extends Enum {
12424
12563
  readonly isSetBlockRewardsPaused: boolean;
12425
12564
  readonly asSetBlockRewardsPaused: {
@@ -12431,9 +12570,9 @@ declare module '@polkadot/types/lookup' {
12431
12570
  } & Struct;
12432
12571
  readonly type: 'SetBlockRewardsPaused' | 'SetBlockVoterRewardsEnabled';
12433
12572
  }
12434
- /** @name PalletMintCall (267) */
12573
+ /** @name PalletMintCall (268) */
12435
12574
  type PalletMintCall = Null;
12436
- /** @name PalletBalancesCall (268) */
12575
+ /** @name PalletBalancesCall (269) */
12437
12576
  interface PalletBalancesCall extends Enum {
12438
12577
  readonly isTransferAllowDeath: boolean;
12439
12578
  readonly asTransferAllowDeath: {
@@ -12482,13 +12621,13 @@ declare module '@polkadot/types/lookup' {
12482
12621
  } & Struct;
12483
12622
  readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance' | 'Burn';
12484
12623
  }
12485
- /** @name PalletBalancesAdjustmentDirection (269) */
12624
+ /** @name PalletBalancesAdjustmentDirection (270) */
12486
12625
  interface PalletBalancesAdjustmentDirection extends Enum {
12487
12626
  readonly isIncrease: boolean;
12488
12627
  readonly isDecrease: boolean;
12489
12628
  readonly type: 'Increase' | 'Decrease';
12490
12629
  }
12491
- /** @name PalletTxPauseCall (271) */
12630
+ /** @name PalletTxPauseCall (272) */
12492
12631
  interface PalletTxPauseCall extends Enum {
12493
12632
  readonly isPause: boolean;
12494
12633
  readonly asPause: {
@@ -12500,7 +12639,7 @@ declare module '@polkadot/types/lookup' {
12500
12639
  } & Struct;
12501
12640
  readonly type: 'Pause' | 'Unpause';
12502
12641
  }
12503
- /** @name PalletUtilityCall (272) */
12642
+ /** @name PalletUtilityCall (273) */
12504
12643
  interface PalletUtilityCall extends Enum {
12505
12644
  readonly isBatch: boolean;
12506
12645
  readonly asBatch: {
@@ -12541,7 +12680,7 @@ declare module '@polkadot/types/lookup' {
12541
12680
  } & Struct;
12542
12681
  readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight' | 'IfElse' | 'DispatchAsFallible';
12543
12682
  }
12544
- /** @name PalletSudoCall (274) */
12683
+ /** @name PalletSudoCall (275) */
12545
12684
  interface PalletSudoCall extends Enum {
12546
12685
  readonly isSudo: boolean;
12547
12686
  readonly asSudo: {
@@ -12564,7 +12703,28 @@ declare module '@polkadot/types/lookup' {
12564
12703
  readonly isRemoveKey: boolean;
12565
12704
  readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs' | 'RemoveKey';
12566
12705
  }
12567
- /** @name PalletTreasuryCall (275) */
12706
+ /** @name PalletBitcoinFissionsCall (276) */
12707
+ interface PalletBitcoinFissionsCall extends Enum {
12708
+ readonly isCreate: boolean;
12709
+ readonly asCreate: {
12710
+ readonly fissionId: Compact<u64>;
12711
+ readonly liquidId: Compact<u64>;
12712
+ readonly utxoId: Compact<u64>;
12713
+ readonly satoshis: Compact<u64>;
12714
+ readonly microgonsAtTargetPerBtc: Compact<u128>;
12715
+ } & Struct;
12716
+ readonly isRatchet: boolean;
12717
+ readonly asRatchet: {
12718
+ readonly fissionId: Compact<u64>;
12719
+ readonly microgonsAtTargetPerBtc: Compact<u128>;
12720
+ } & Struct;
12721
+ readonly isClose: boolean;
12722
+ readonly asClose: {
12723
+ readonly fissionId: Compact<u64>;
12724
+ } & Struct;
12725
+ readonly type: 'Create' | 'Ratchet' | 'Close';
12726
+ }
12727
+ /** @name PalletTreasuryCall (277) */
12568
12728
  interface PalletTreasuryCall extends Enum {
12569
12729
  readonly isBuyBonds: boolean;
12570
12730
  readonly asBuyBonds: {
@@ -12592,7 +12752,7 @@ declare module '@polkadot/types/lookup' {
12592
12752
  } & Struct;
12593
12753
  readonly type: 'BuyBonds' | 'LiquidateBondLot' | 'BuyArgonotBonds' | 'SetBondLotFlexible' | 'SetReservedBondSpace';
12594
12754
  }
12595
- /** @name ArgonPrimitivesVaultTreasuryBonusApprovalProof (277) */
12755
+ /** @name ArgonPrimitivesVaultTreasuryBonusApprovalProof (279) */
12596
12756
  interface ArgonPrimitivesVaultTreasuryBonusApprovalProof extends Struct {
12597
12757
  readonly vaultId: Compact<u32>;
12598
12758
  readonly beneficiary: AccountId32;
@@ -12602,7 +12762,7 @@ declare module '@polkadot/types/lookup' {
12602
12762
  readonly nonce: Compact<u64>;
12603
12763
  readonly signature: SpRuntimeMultiSignature;
12604
12764
  }
12605
- /** @name PalletOperationalAccountsCall (278) */
12765
+ /** @name PalletOperationalAccountsCall (280) */
12606
12766
  interface PalletOperationalAccountsCall extends Enum {
12607
12767
  readonly isRegister: boolean;
12608
12768
  readonly asRegister: {
@@ -12630,13 +12790,13 @@ declare module '@polkadot/types/lookup' {
12630
12790
  } & Struct;
12631
12791
  readonly type: 'Register' | 'SetName' | 'SetRewardConfig' | 'ForceSetProgress' | 'Activate' | 'ClaimRewards';
12632
12792
  }
12633
- /** @name PalletOperationalAccountsRegistration (279) */
12793
+ /** @name PalletOperationalAccountsRegistration (281) */
12634
12794
  interface PalletOperationalAccountsRegistration extends Enum {
12635
12795
  readonly isV1: boolean;
12636
12796
  readonly asV1: PalletOperationalAccountsRegistrationV1;
12637
12797
  readonly type: 'V1';
12638
12798
  }
12639
- /** @name PalletOperationalAccountsRegistrationV1 (280) */
12799
+ /** @name PalletOperationalAccountsRegistrationV1 (282) */
12640
12800
  interface PalletOperationalAccountsRegistrationV1 extends Struct {
12641
12801
  readonly operationalAccount: AccountId32;
12642
12802
  readonly encryptionPubkey: PalletOperationalAccountsOpaqueEncryptionPubkey;
@@ -12647,19 +12807,19 @@ declare module '@polkadot/types/lookup' {
12647
12807
  readonly miningAccountProof: PalletOperationalAccountsAccountOwnershipProof;
12648
12808
  readonly accessProof: Option<PalletOperationalAccountsUpstreamAccessProof>;
12649
12809
  }
12650
- /** @name PalletOperationalAccountsOpaqueEncryptionPubkey (281) */
12810
+ /** @name PalletOperationalAccountsOpaqueEncryptionPubkey (283) */
12651
12811
  interface PalletOperationalAccountsOpaqueEncryptionPubkey extends U8aFixed {
12652
12812
  }
12653
- /** @name PalletOperationalAccountsAccountOwnershipProof (282) */
12813
+ /** @name PalletOperationalAccountsAccountOwnershipProof (284) */
12654
12814
  interface PalletOperationalAccountsAccountOwnershipProof extends Struct {
12655
12815
  readonly signature: SpRuntimeMultiSignature;
12656
12816
  }
12657
- /** @name PalletOperationalAccountsUpstreamAccessProof (284) */
12817
+ /** @name PalletOperationalAccountsUpstreamAccessProof (286) */
12658
12818
  interface PalletOperationalAccountsUpstreamAccessProof extends Struct {
12659
12819
  readonly upstreamAccount: AccountId32;
12660
12820
  readonly signature: SpRuntimeMultiSignature;
12661
12821
  }
12662
- /** @name PalletOperationalAccountsOperationalProgressPatch (287) */
12822
+ /** @name PalletOperationalAccountsOperationalProgressPatch (289) */
12663
12823
  interface PalletOperationalAccountsOperationalProgressPatch extends Struct {
12664
12824
  readonly uniswapArgonTransfersInAmount: Option<u128>;
12665
12825
  readonly accountBitcoinAmount: Option<u128>;
@@ -12668,7 +12828,7 @@ declare module '@polkadot/types/lookup' {
12668
12828
  readonly vaultBitcoinAmount: Option<u128>;
12669
12829
  readonly miningSeatCount: Option<u32>;
12670
12830
  }
12671
- /** @name PalletEthereumVerifierCall (289) */
12831
+ /** @name PalletEthereumVerifierCall (291) */
12672
12832
  interface PalletEthereumVerifierCall extends Enum {
12673
12833
  readonly isForceCheckpoint: boolean;
12674
12834
  readonly asForceCheckpoint: {
@@ -12691,7 +12851,7 @@ declare module '@polkadot/types/lookup' {
12691
12851
  } & Struct;
12692
12852
  readonly type: 'ForceCheckpoint' | 'Submit' | 'ImportTrustedExecutionHeaderBackfill' | 'SetOperatingMode';
12693
12853
  }
12694
- /** @name PalletEthereumVerifierCheckpointUpdate (290) */
12854
+ /** @name PalletEthereumVerifierCheckpointUpdate (292) */
12695
12855
  interface PalletEthereumVerifierCheckpointUpdate extends Struct {
12696
12856
  readonly header: SnowbridgeBeaconPrimitivesBeaconHeader;
12697
12857
  readonly currentSyncCommittee: PalletEthereumVerifierSyncCommittee;
@@ -12699,7 +12859,7 @@ declare module '@polkadot/types/lookup' {
12699
12859
  readonly validatorsRoot: H256;
12700
12860
  readonly executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof;
12701
12861
  }
12702
- /** @name SnowbridgeBeaconPrimitivesBeaconHeader (291) */
12862
+ /** @name SnowbridgeBeaconPrimitivesBeaconHeader (293) */
12703
12863
  interface SnowbridgeBeaconPrimitivesBeaconHeader extends Struct {
12704
12864
  readonly slot: u64;
12705
12865
  readonly proposerIndex: u64;
@@ -12707,20 +12867,20 @@ declare module '@polkadot/types/lookup' {
12707
12867
  readonly stateRoot: H256;
12708
12868
  readonly bodyRoot: H256;
12709
12869
  }
12710
- /** @name PalletEthereumVerifierSyncCommittee (292) */
12870
+ /** @name PalletEthereumVerifierSyncCommittee (294) */
12711
12871
  interface PalletEthereumVerifierSyncCommittee extends Struct {
12712
12872
  readonly pubkeys: Vec<SnowbridgeBeaconPrimitivesPublicKey>;
12713
12873
  readonly aggregatePubkey: SnowbridgeBeaconPrimitivesPublicKey;
12714
12874
  }
12715
- /** @name SnowbridgeBeaconPrimitivesPublicKey (294) */
12875
+ /** @name SnowbridgeBeaconPrimitivesPublicKey (296) */
12716
12876
  interface SnowbridgeBeaconPrimitivesPublicKey extends U8aFixed {
12717
12877
  }
12718
- /** @name PalletEthereumVerifierExecutionHeaderProof (298) */
12878
+ /** @name PalletEthereumVerifierExecutionHeaderProof (300) */
12719
12879
  interface PalletEthereumVerifierExecutionHeaderProof extends Struct {
12720
12880
  readonly executionHeader: SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader;
12721
12881
  readonly executionBranch: Vec<H256>;
12722
12882
  }
12723
- /** @name SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader (299) */
12883
+ /** @name SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader (301) */
12724
12884
  interface SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader extends Enum {
12725
12885
  readonly isCapella: boolean;
12726
12886
  readonly asCapella: SnowbridgeBeaconPrimitivesExecutionPayloadHeader;
@@ -12728,7 +12888,7 @@ declare module '@polkadot/types/lookup' {
12728
12888
  readonly asDeneb: SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader;
12729
12889
  readonly type: 'Capella' | 'Deneb';
12730
12890
  }
12731
- /** @name SnowbridgeBeaconPrimitivesExecutionPayloadHeader (300) */
12891
+ /** @name SnowbridgeBeaconPrimitivesExecutionPayloadHeader (302) */
12732
12892
  interface SnowbridgeBeaconPrimitivesExecutionPayloadHeader extends Struct {
12733
12893
  readonly parentHash: H256;
12734
12894
  readonly feeRecipient: H160;
@@ -12746,7 +12906,7 @@ declare module '@polkadot/types/lookup' {
12746
12906
  readonly transactionsRoot: H256;
12747
12907
  readonly withdrawalsRoot: H256;
12748
12908
  }
12749
- /** @name SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader (301) */
12909
+ /** @name SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader (303) */
12750
12910
  interface SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader extends Struct {
12751
12911
  readonly parentHash: H256;
12752
12912
  readonly feeRecipient: H160;
@@ -12766,7 +12926,7 @@ declare module '@polkadot/types/lookup' {
12766
12926
  readonly blobGasUsed: u64;
12767
12927
  readonly excessBlobGas: u64;
12768
12928
  }
12769
- /** @name PalletEthereumVerifierForkVersions (302) */
12929
+ /** @name PalletEthereumVerifierForkVersions (304) */
12770
12930
  interface PalletEthereumVerifierForkVersions extends Struct {
12771
12931
  readonly genesis: PalletEthereumVerifierFork;
12772
12932
  readonly altair: PalletEthereumVerifierFork;
@@ -12776,12 +12936,12 @@ declare module '@polkadot/types/lookup' {
12776
12936
  readonly electra: PalletEthereumVerifierFork;
12777
12937
  readonly fulu: PalletEthereumVerifierFork;
12778
12938
  }
12779
- /** @name PalletEthereumVerifierFork (303) */
12939
+ /** @name PalletEthereumVerifierFork (305) */
12780
12940
  interface PalletEthereumVerifierFork extends Struct {
12781
12941
  readonly version: U8aFixed;
12782
12942
  readonly epoch: Compact<u64>;
12783
12943
  }
12784
- /** @name PalletEthereumVerifierUpdate (304) */
12944
+ /** @name PalletEthereumVerifierUpdate (306) */
12785
12945
  interface PalletEthereumVerifierUpdate extends Struct {
12786
12946
  readonly attestedHeader: SnowbridgeBeaconPrimitivesBeaconHeader;
12787
12947
  readonly syncAggregate: PalletEthereumVerifierSyncAggregate;
@@ -12791,20 +12951,20 @@ declare module '@polkadot/types/lookup' {
12791
12951
  readonly finalityBranch: Vec<H256>;
12792
12952
  readonly executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof;
12793
12953
  }
12794
- /** @name PalletEthereumVerifierSyncAggregate (305) */
12954
+ /** @name PalletEthereumVerifierSyncAggregate (307) */
12795
12955
  interface PalletEthereumVerifierSyncAggregate extends Struct {
12796
12956
  readonly syncCommitteeBits: Bytes;
12797
12957
  readonly syncCommitteeSignature: SnowbridgeBeaconPrimitivesSignature;
12798
12958
  }
12799
- /** @name SnowbridgeBeaconPrimitivesSignature (307) */
12959
+ /** @name SnowbridgeBeaconPrimitivesSignature (309) */
12800
12960
  interface SnowbridgeBeaconPrimitivesSignature extends U8aFixed {
12801
12961
  }
12802
- /** @name PalletEthereumVerifierNextSyncCommitteeUpdate (310) */
12962
+ /** @name PalletEthereumVerifierNextSyncCommitteeUpdate (312) */
12803
12963
  interface PalletEthereumVerifierNextSyncCommitteeUpdate extends Struct {
12804
12964
  readonly nextSyncCommittee: PalletEthereumVerifierSyncCommittee;
12805
12965
  readonly nextSyncCommitteeBranch: Vec<H256>;
12806
12966
  }
12807
- /** @name PalletCrosschainTransferCall (311) */
12967
+ /** @name PalletCrosschainTransferCall (313) */
12808
12968
  interface PalletCrosschainTransferCall extends Enum {
12809
12969
  readonly isSetChainConfig: boolean;
12810
12970
  readonly asSetChainConfig: {
@@ -12880,7 +13040,7 @@ declare module '@polkadot/types/lookup' {
12880
13040
  } & Struct;
12881
13041
  readonly type: 'SetChainConfig' | 'ForceSetGlobalIssuanceCouncil' | 'PauseGateway' | 'UnpauseGateway' | 'SetMinimumMintingAuthorityValue' | 'SetMintingAuthorityActivationRepaymentPricing' | 'RegisterCouncilSigner' | 'ApproveQueueEntries' | 'ProveGatewayActivity' | 'RegisterMintingAuthority' | 'DeactivateMintingAuthority' | 'TransferOut' | 'CollateralizeTransfer';
12882
13042
  }
12883
- /** @name PalletCrosschainTransferChainConfig (312) */
13043
+ /** @name PalletCrosschainTransferChainConfig (314) */
12884
13044
  interface PalletCrosschainTransferChainConfig extends Enum {
12885
13045
  readonly isEvm: boolean;
12886
13046
  readonly asEvm: {
@@ -12891,55 +13051,55 @@ declare module '@polkadot/types/lookup' {
12891
13051
  } & Struct;
12892
13052
  readonly type: 'Evm';
12893
13053
  }
12894
- /** @name PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing (314) */
13054
+ /** @name PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing (316) */
12895
13055
  interface PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing extends Struct {
12896
13056
  readonly activationGasCost: Compact<u128>;
12897
13057
  readonly signatureGasCost: Compact<u128>;
12898
13058
  readonly estimatedWeiPerGas: Compact<u128>;
12899
13059
  readonly estimatedMicrogonsPerEth: u128;
12900
13060
  }
12901
- /** @name ArgonPrimitivesEthereumEthereumReceiptLogProofBatch (317) */
13061
+ /** @name ArgonPrimitivesEthereumEthereumReceiptLogProofBatch (319) */
12902
13062
  interface ArgonPrimitivesEthereumEthereumReceiptLogProofBatch extends Struct {
12903
13063
  readonly executionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
12904
13064
  readonly blocks: Vec<ArgonPrimitivesEthereumEthereumReceiptLogProofBlock>;
12905
13065
  }
12906
- /** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof (318) */
13066
+ /** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof (320) */
12907
13067
  interface ArgonPrimitivesEthereumEthereumExecutionBlockProof extends Struct {
12908
13068
  readonly anchorBlockHash: H256;
12909
13069
  readonly targetToAnchorHeaderChain: Vec<ArgonPrimitivesEthereumEthereumExecutionHeader>;
12910
13070
  }
12911
- /** @name ArgonPrimitivesEthereumEthereumExecutionHeader (320) */
13071
+ /** @name ArgonPrimitivesEthereumEthereumExecutionHeader (322) */
12912
13072
  interface ArgonPrimitivesEthereumEthereumExecutionHeader extends Struct {
12913
13073
  readonly rlp: Bytes;
12914
13074
  }
12915
- /** @name ArgonPrimitivesEthereumEthereumReceiptLogProofBlock (324) */
13075
+ /** @name ArgonPrimitivesEthereumEthereumReceiptLogProofBlock (326) */
12916
13076
  interface ArgonPrimitivesEthereumEthereumReceiptLogProofBlock extends Struct {
12917
13077
  readonly targetBlockNumber: Compact<u64>;
12918
13078
  readonly receiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
12919
13079
  readonly receiptLogs: Vec<ArgonPrimitivesEthereumEthereumReceiptLog>;
12920
13080
  }
12921
- /** @name ArgonPrimitivesEthereumEthereumCombinedReceiptProof (325) */
13081
+ /** @name ArgonPrimitivesEthereumEthereumCombinedReceiptProof (327) */
12922
13082
  interface ArgonPrimitivesEthereumEthereumCombinedReceiptProof extends Struct {
12923
13083
  readonly nodes: Vec<Bytes>;
12924
13084
  readonly receipts: Vec<ArgonPrimitivesEthereumEthereumReceiptProofReceipt>;
12925
13085
  }
12926
- /** @name ArgonPrimitivesEthereumEthereumReceiptProofReceipt (329) */
13086
+ /** @name ArgonPrimitivesEthereumEthereumReceiptProofReceipt (331) */
12927
13087
  interface ArgonPrimitivesEthereumEthereumReceiptProofReceipt extends Struct {
12928
13088
  readonly transactionIndex: Compact<u64>;
12929
13089
  readonly nodeIndexes: Vec<u16>;
12930
13090
  }
12931
- /** @name ArgonPrimitivesEthereumEthereumReceiptLog (334) */
13091
+ /** @name ArgonPrimitivesEthereumEthereumReceiptLog (336) */
12932
13092
  interface ArgonPrimitivesEthereumEthereumReceiptLog extends Struct {
12933
13093
  readonly transactionIndex: Compact<u64>;
12934
13094
  readonly eventLog: ArgonPrimitivesEthereumEthereumLog;
12935
13095
  }
12936
- /** @name ArgonPrimitivesEthereumEthereumLog (335) */
13096
+ /** @name ArgonPrimitivesEthereumEthereumLog (337) */
12937
13097
  interface ArgonPrimitivesEthereumEthereumLog extends Struct {
12938
13098
  readonly address: H160;
12939
13099
  readonly topics: Vec<H256>;
12940
13100
  readonly data: Bytes;
12941
13101
  }
12942
- /** @name PalletBootstrapCall (340) */
13102
+ /** @name PalletBootstrapCall (342) */
12943
13103
  interface PalletBootstrapCall extends Enum {
12944
13104
  readonly isSetRecoveryPayload: boolean;
12945
13105
  readonly asSetRecoveryPayload: {
@@ -12954,11 +13114,11 @@ declare module '@polkadot/types/lookup' {
12954
13114
  } & Struct;
12955
13115
  readonly type: 'SetRecoveryPayload' | 'SetEndpoint';
12956
13116
  }
12957
- /** @name PalletBootstrapRecoveryProof (341) */
13117
+ /** @name PalletBootstrapRecoveryProof (343) */
12958
13118
  interface PalletBootstrapRecoveryProof extends Struct {
12959
13119
  readonly signature: U8aFixed;
12960
13120
  }
12961
- /** @name PalletMultisigError (343) */
13121
+ /** @name PalletMultisigError (345) */
12962
13122
  interface PalletMultisigError extends Enum {
12963
13123
  readonly isMinimumThreshold: boolean;
12964
13124
  readonly isAlreadyApproved: boolean;
@@ -12976,19 +13136,19 @@ declare module '@polkadot/types/lookup' {
12976
13136
  readonly isAlreadyStored: boolean;
12977
13137
  readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored';
12978
13138
  }
12979
- /** @name PalletProxyProxyDefinition (346) */
13139
+ /** @name PalletProxyProxyDefinition (348) */
12980
13140
  interface PalletProxyProxyDefinition extends Struct {
12981
13141
  readonly delegate: AccountId32;
12982
13142
  readonly proxyType: ArgonRuntimeProxyType;
12983
13143
  readonly delay: u32;
12984
13144
  }
12985
- /** @name PalletProxyAnnouncement (350) */
13145
+ /** @name PalletProxyAnnouncement (352) */
12986
13146
  interface PalletProxyAnnouncement extends Struct {
12987
13147
  readonly real: AccountId32;
12988
13148
  readonly callHash: H256;
12989
13149
  readonly height: u32;
12990
13150
  }
12991
- /** @name PalletProxyError (352) */
13151
+ /** @name PalletProxyError (354) */
12992
13152
  interface PalletProxyError extends Enum {
12993
13153
  readonly isTooMany: boolean;
12994
13154
  readonly isNotFound: boolean;
@@ -13000,34 +13160,34 @@ declare module '@polkadot/types/lookup' {
13000
13160
  readonly isNoSelfProxy: boolean;
13001
13161
  readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy';
13002
13162
  }
13003
- /** @name ArgonPrimitivesTickTicker (353) */
13163
+ /** @name ArgonPrimitivesTickTicker (355) */
13004
13164
  interface ArgonPrimitivesTickTicker extends Struct {
13005
13165
  readonly tickDurationMillis: Compact<u64>;
13006
13166
  readonly channelHoldExpirationTicks: Compact<u64>;
13007
13167
  }
13008
- /** @name PalletTicksError (355) */
13168
+ /** @name PalletTicksError (357) */
13009
13169
  type PalletTicksError = Null;
13010
- /** @name PalletMiningSlotMinerNonceScoring (358) */
13170
+ /** @name PalletMiningSlotMinerNonceScoring (360) */
13011
13171
  interface PalletMiningSlotMinerNonceScoring extends Struct {
13012
13172
  readonly nonce: U256;
13013
13173
  readonly lastWinBlock: Option<u32>;
13014
13174
  readonly blocksWonInFrame: u16;
13015
13175
  readonly frameStartBlocksWonSurplus: i16;
13016
13176
  }
13017
- /** @name ArgonPrimitivesBlockSealMiningBidStats (370) */
13177
+ /** @name ArgonPrimitivesBlockSealMiningBidStats (372) */
13018
13178
  interface ArgonPrimitivesBlockSealMiningBidStats extends Struct {
13019
13179
  readonly bidsCount: u32;
13020
13180
  readonly bidAmountMin: u128;
13021
13181
  readonly bidAmountMax: u128;
13022
13182
  readonly bidAmountSum: u128;
13023
13183
  }
13024
- /** @name ArgonPrimitivesBlockSealMiningSlotConfig (374) */
13184
+ /** @name ArgonPrimitivesBlockSealMiningSlotConfig (376) */
13025
13185
  interface ArgonPrimitivesBlockSealMiningSlotConfig extends Struct {
13026
13186
  readonly ticksBeforeBidEndForVrfClose: Compact<u64>;
13027
13187
  readonly ticksBetweenSlots: Compact<u64>;
13028
13188
  readonly slotBiddingStartAfterTicks: Compact<u64>;
13029
13189
  }
13030
- /** @name PalletMiningSlotError (384) */
13190
+ /** @name PalletMiningSlotError (386) */
13031
13191
  interface PalletMiningSlotError extends Enum {
13032
13192
  readonly isSlotNotTakingBids: boolean;
13033
13193
  readonly isTooManyBlockRegistrants: boolean;
@@ -13042,15 +13202,7 @@ declare module '@polkadot/types/lookup' {
13042
13202
  readonly isUnrecoverableHold: boolean;
13043
13203
  readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'CannotChangeFundingAccount' | 'InsufficientFunds' | 'BidCannotBeReduced' | 'InvalidBidAmount' | 'OperationalAccountRegistrationRequired' | 'UnrecoverableHold';
13044
13204
  }
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) */
13205
+ /** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (387) */
13054
13206
  interface ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey extends Enum {
13055
13207
  readonly isP2wsh: boolean;
13056
13208
  readonly asP2wsh: {
@@ -13058,7 +13210,13 @@ declare module '@polkadot/types/lookup' {
13058
13210
  } & Struct;
13059
13211
  readonly type: 'P2wsh';
13060
13212
  }
13061
- /** @name ArgonPrimitivesBitcoinBitcoinNetwork (395) */
13213
+ /** @name ArgonPrimitivesBitcoinUtxoAddress (388) */
13214
+ interface ArgonPrimitivesBitcoinUtxoAddress extends Struct {
13215
+ readonly utxoId: u64;
13216
+ readonly scriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
13217
+ readonly submittedAtHeight: Compact<u64>;
13218
+ }
13219
+ /** @name ArgonPrimitivesBitcoinBitcoinNetwork (392) */
13062
13220
  interface ArgonPrimitivesBitcoinBitcoinNetwork extends Enum {
13063
13221
  readonly isBitcoin: boolean;
13064
13222
  readonly isTestnet: boolean;
@@ -13066,7 +13224,7 @@ declare module '@polkadot/types/lookup' {
13066
13224
  readonly isRegtest: boolean;
13067
13225
  readonly type: 'Bitcoin' | 'Testnet' | 'Signet' | 'Regtest';
13068
13226
  }
13069
- /** @name PalletBitcoinUtxosError (396) */
13227
+ /** @name PalletBitcoinUtxosError (393) */
13070
13228
  interface PalletBitcoinUtxosError extends Enum {
13071
13229
  readonly isNoPermissions: boolean;
13072
13230
  readonly isNoBitcoinConfirmedBlock: boolean;
@@ -13080,12 +13238,10 @@ declare module '@polkadot/types/lookup' {
13080
13238
  readonly isMaxUtxosExceeded: boolean;
13081
13239
  readonly isInvalidBitcoinScript: boolean;
13082
13240
  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';
13241
+ readonly isMaxUtxosPerLockExceeded: boolean;
13242
+ readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript' | 'DuplicateUtxoId' | 'MaxUtxosPerLockExceeded';
13087
13243
  }
13088
- /** @name ArgonPrimitivesVault (397) */
13244
+ /** @name ArgonPrimitivesVault (394) */
13089
13245
  interface ArgonPrimitivesVault extends Struct {
13090
13246
  readonly operatorAccountId: AccountId32;
13091
13247
  readonly delegateAccountId: Option<AccountId32>;
@@ -13096,8 +13252,8 @@ declare module '@polkadot/types/lookup' {
13096
13252
  readonly reservedSecuritizationSpace: Compact<u128>;
13097
13253
  readonly securitizationPendingActivation: Compact<u128>;
13098
13254
  readonly lockedSatoshis: Compact<u64>;
13099
- readonly securitizedSatoshis: Compact<u64>;
13100
- readonly flexibleSecuritizedSatoshis: Compact<u64>;
13255
+ readonly ratioAdjustedSatoshis: Compact<u64>;
13256
+ readonly flexibleRatioAdjustedSatoshis: Compact<u64>;
13101
13257
  readonly securitizationReleaseSchedule: BTreeMap<u64, u128>;
13102
13258
  readonly securitizationRatio: Compact<u128>;
13103
13259
  readonly isClosed: bool;
@@ -13106,12 +13262,12 @@ declare module '@polkadot/types/lookup' {
13106
13262
  readonly openedTick: Compact<u64>;
13107
13263
  readonly operationalMinimumReleaseTick: Option<u64>;
13108
13264
  }
13109
- /** @name ArgonPrimitivesVaultVaultArgonotCommitment (404) */
13265
+ /** @name ArgonPrimitivesVaultVaultArgonotCommitment (401) */
13110
13266
  interface ArgonPrimitivesVaultVaultArgonotCommitment extends Struct {
13111
13267
  readonly committedMicronots: Compact<u128>;
13112
13268
  readonly encumberedMicronots: Compact<u128>;
13113
13269
  }
13114
- /** @name ArgonPrimitivesBitcoinBitcoinXPub (406) */
13270
+ /** @name ArgonPrimitivesBitcoinBitcoinXPub (403) */
13115
13271
  interface ArgonPrimitivesBitcoinBitcoinXPub extends Struct {
13116
13272
  readonly publicKey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
13117
13273
  readonly depth: Compact<u8>;
@@ -13120,20 +13276,20 @@ declare module '@polkadot/types/lookup' {
13120
13276
  readonly chainCode: U8aFixed;
13121
13277
  readonly network: ArgonPrimitivesBitcoinNetworkKind;
13122
13278
  }
13123
- /** @name ArgonPrimitivesBitcoinNetworkKind (408) */
13279
+ /** @name ArgonPrimitivesBitcoinNetworkKind (405) */
13124
13280
  interface ArgonPrimitivesBitcoinNetworkKind extends Enum {
13125
13281
  readonly isMain: boolean;
13126
13282
  readonly isTest: boolean;
13127
13283
  readonly type: 'Main' | 'Test';
13128
13284
  }
13129
- /** @name PalletVaultsVaultFrameRevenue (417) */
13285
+ /** @name PalletVaultsVaultFrameRevenue (414) */
13130
13286
  interface PalletVaultsVaultFrameRevenue extends Struct {
13131
13287
  readonly frameId: Compact<u64>;
13132
13288
  readonly bitcoinLockFeeRevenue: Compact<u128>;
13133
13289
  readonly bitcoinLockFeeCouponValueUsed: Compact<u128>;
13134
13290
  readonly bitcoinLocksCreated: Compact<u32>;
13135
- readonly bitcoinLocksNewLiquidityPromised: Compact<u128>;
13136
- readonly bitcoinLocksReleasedLiquidity: Compact<u128>;
13291
+ readonly bitcoinLocksNewSecuritization: Compact<u128>;
13292
+ readonly bitcoinLocksReleasedSecuritization: Compact<u128>;
13137
13293
  readonly bitcoinLocksAddedSatoshis: Compact<u64>;
13138
13294
  readonly bitcoinLocksReleasedSatoshis: Compact<u64>;
13139
13295
  readonly securitizationActivated: Compact<u128>;
@@ -13145,7 +13301,7 @@ declare module '@polkadot/types/lookup' {
13145
13301
  readonly treasuryExternalCapital: Compact<u128>;
13146
13302
  readonly uncollectedRevenue: Compact<u128>;
13147
13303
  }
13148
- /** @name PalletVaultsError (419) */
13304
+ /** @name PalletVaultsError (416) */
13149
13305
  interface PalletVaultsError extends Enum {
13150
13306
  readonly isNoMoreVaultIds: boolean;
13151
13307
  readonly isInsufficientFunds: boolean;
@@ -13181,17 +13337,19 @@ declare module '@polkadot/types/lookup' {
13181
13337
  readonly isCommittedArgonotsBelowEncumberedBacking: boolean;
13182
13338
  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
13339
  }
13184
- /** @name PalletBitcoinLocksLockedBitcoin (420) */
13340
+ /** @name PalletBitcoinLocksLockedBitcoin (417) */
13185
13341
  interface PalletBitcoinLocksLockedBitcoin extends Struct {
13186
13342
  readonly vaultId: Compact<u32>;
13187
- readonly liquidityPromised: Compact<u128>;
13188
- readonly lockedTargetPrice: Compact<u128>;
13343
+ readonly securitizedSatoshis: Compact<u64>;
13344
+ readonly microgonsAtTargetPerBtc: Compact<u128>;
13345
+ readonly securitizationCoverageMicrogons: Compact<u128>;
13346
+ readonly securitizationTick: Compact<u64>;
13347
+ readonly fundedSatoshis: Compact<u64>;
13348
+ readonly fissionedSatoshis: Compact<u64>;
13189
13349
  readonly ownerAccount: AccountId32;
13190
13350
  readonly securitizationRatio: u128;
13191
13351
  readonly securityFees: Compact<u128>;
13192
13352
  readonly couponPaidFees: Compact<u128>;
13193
- readonly satoshis: Compact<u64>;
13194
- readonly utxoSatoshis: Option<u64>;
13195
13353
  readonly vaultPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
13196
13354
  readonly vaultClaimPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
13197
13355
  readonly vaultXpubSources: ITuple<[U8aFixed, u32, u32]>;
@@ -13199,22 +13357,22 @@ declare module '@polkadot/types/lookup' {
13199
13357
  readonly vaultClaimHeight: Compact<u64>;
13200
13358
  readonly openClaimHeight: Compact<u64>;
13201
13359
  readonly createdAtHeight: Compact<u64>;
13360
+ readonly fundingExpirationHeight: Compact<u64>;
13202
13361
  readonly utxoScriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
13203
- readonly isFunded: bool;
13204
13362
  readonly isFlexible: bool;
13205
13363
  readonly fundHoldExtensions: BTreeMap<u64, u128>;
13206
13364
  readonly createdAtArgonBlock: Compact<u32>;
13207
13365
  }
13208
- /** @name PalletBitcoinLocksLockReleaseRequest (424) */
13366
+ /** @name PalletBitcoinLocksLockReleaseRequest (421) */
13209
13367
  interface PalletBitcoinLocksLockReleaseRequest extends Struct {
13210
13368
  readonly utxoId: Compact<u64>;
13211
13369
  readonly vaultId: Compact<u32>;
13212
13370
  readonly bitcoinNetworkFee: Compact<u64>;
13213
13371
  readonly cosignDueFrame: Compact<u64>;
13214
13372
  readonly toScriptPubkey: Bytes;
13215
- readonly redemptionAmount: Compact<u128>;
13373
+ readonly securitizationAtRisk: Compact<u128>;
13216
13374
  }
13217
- /** @name PalletBitcoinLocksOrphanedUtxo (426) */
13375
+ /** @name PalletBitcoinLocksOrphanedUtxo (423) */
13218
13376
  interface PalletBitcoinLocksOrphanedUtxo extends Struct {
13219
13377
  readonly utxoId: Compact<u64>;
13220
13378
  readonly vaultId: Compact<u32>;
@@ -13222,13 +13380,13 @@ declare module '@polkadot/types/lookup' {
13222
13380
  readonly recordedArgonBlockNumber: Compact<u32>;
13223
13381
  readonly cosignRequest: Option<PalletBitcoinLocksOrphanedUtxoCosignRequest>;
13224
13382
  }
13225
- /** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (428) */
13383
+ /** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (425) */
13226
13384
  interface PalletBitcoinLocksOrphanedUtxoCosignRequest extends Struct {
13227
13385
  readonly bitcoinNetworkFee: u64;
13228
13386
  readonly toScriptPubkey: Bytes;
13229
13387
  readonly createdAtArgonBlockNumber: u32;
13230
13388
  }
13231
- /** @name PalletBitcoinLocksError (435) */
13389
+ /** @name PalletBitcoinLocksError (432) */
13232
13390
  interface PalletBitcoinLocksError extends Enum {
13233
13391
  readonly isInsufficientFunds: boolean;
13234
13392
  readonly isInsufficientVaultFunds: boolean;
@@ -13243,10 +13401,13 @@ declare module '@polkadot/types/lookup' {
13243
13401
  readonly isBitcoinSignatureUnableToBeDecoded: boolean;
13244
13402
  readonly isBitcoinPubkeyUnableToBeDecoded: boolean;
13245
13403
  readonly isBitcoinInvalidCosignature: boolean;
13246
- readonly isInsufficientSatoshisLocked: boolean;
13247
13404
  readonly isNoBitcoinPricesAvailable: boolean;
13248
13405
  readonly isInvalidBitcoinScript: boolean;
13249
13406
  readonly isNoPermissions: boolean;
13407
+ readonly isLockHasActiveFissions: boolean;
13408
+ readonly isInsufficientSatoshisForFissions: boolean;
13409
+ readonly isFissionStateMismatch: boolean;
13410
+ readonly isInsufficientSecuritizationForFissions: boolean;
13250
13411
  readonly isHoldUnexpectedlyModified: boolean;
13251
13412
  readonly isUnrecoverableHold: boolean;
13252
13413
  readonly isVaultNotFound: boolean;
@@ -13257,22 +13418,22 @@ declare module '@polkadot/types/lookup' {
13257
13418
  readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
13258
13419
  readonly isVaultNotYetActive: boolean;
13259
13420
  readonly isExpirationAtBlockOverflow: boolean;
13260
- readonly isNoRatchetingAvailable: boolean;
13421
+ readonly isNoResecuritizationChange: boolean;
13261
13422
  readonly isLockInProcessOfRelease: boolean;
13262
13423
  readonly isLockPendingFunding: boolean;
13263
13424
  readonly isOverflowError: boolean;
13264
- readonly isIneligibleMicrogonRateRequested: boolean;
13425
+ readonly isIneligibleMicrogonsAtTargetPerBtcRequested: boolean;
13426
+ readonly isMicrogonsAtTargetPerBtcTickOlderThanCurrent: boolean;
13265
13427
  readonly isFeeCouponExpired: boolean;
13266
13428
  readonly isInvalidFeeCouponSignature: boolean;
13267
13429
  readonly isFeeCouponAlreadyUsed: boolean;
13268
- readonly isFeeCouponOnlyForInitialization: boolean;
13269
13430
  readonly isOrphanedUtxoFundingConflict: boolean;
13270
13431
  readonly isOrphanedUtxoReleaseRequested: boolean;
13271
13432
  readonly isFundingUtxoCannotBeReleased: boolean;
13272
13433
  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';
13434
+ 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
13435
  }
13275
- /** @name ArgonPrimitivesVaultVaultError (436) */
13436
+ /** @name ArgonPrimitivesVaultVaultError (433) */
13276
13437
  interface ArgonPrimitivesVaultVaultError extends Enum {
13277
13438
  readonly isVaultClosed: boolean;
13278
13439
  readonly isAccountWouldBeBelowMinimum: boolean;
@@ -13289,7 +13450,7 @@ declare module '@polkadot/types/lookup' {
13289
13450
  readonly isCommittedArgonotsBelowEncumberedBacking: boolean;
13290
13451
  readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive' | 'CommittedArgonotsBelowEncumberedBacking';
13291
13452
  }
13292
- /** @name PalletNotariesError (448) */
13453
+ /** @name PalletNotariesError (445) */
13293
13454
  interface PalletNotariesError extends Enum {
13294
13455
  readonly isProposalNotFound: boolean;
13295
13456
  readonly isMaxNotariesExceeded: boolean;
@@ -13302,7 +13463,7 @@ declare module '@polkadot/types/lookup' {
13302
13463
  readonly isInvalidNotary: boolean;
13303
13464
  readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
13304
13465
  }
13305
- /** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (452) */
13466
+ /** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (449) */
13306
13467
  interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
13307
13468
  readonly notebookNumber: Compact<u32>;
13308
13469
  readonly tick: Compact<u64>;
@@ -13310,7 +13471,7 @@ declare module '@polkadot/types/lookup' {
13310
13471
  readonly secretHash: H256;
13311
13472
  readonly parentSecret: Option<H256>;
13312
13473
  }
13313
- /** @name PalletNotebookError (455) */
13474
+ /** @name PalletNotebookError (452) */
13314
13475
  interface PalletNotebookError extends Enum {
13315
13476
  readonly isDuplicateNotebookNumber: boolean;
13316
13477
  readonly isMissingNotebookNumber: boolean;
@@ -13329,17 +13490,17 @@ declare module '@polkadot/types/lookup' {
13329
13490
  readonly isInvalidNotebookSubmissionTick: boolean;
13330
13491
  readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
13331
13492
  }
13332
- /** @name PalletLocalchainTransferQueuedTransferOut (456) */
13493
+ /** @name PalletLocalchainTransferQueuedTransferOut (453) */
13333
13494
  interface PalletLocalchainTransferQueuedTransferOut extends Struct {
13334
13495
  readonly accountId: AccountId32;
13335
13496
  readonly amount: u128;
13336
13497
  readonly expirationTick: u64;
13337
13498
  readonly notaryId: u32;
13338
13499
  }
13339
- /** @name FrameSupportPalletId (458) */
13500
+ /** @name FrameSupportPalletId (455) */
13340
13501
  interface FrameSupportPalletId extends U8aFixed {
13341
13502
  }
13342
- /** @name PalletLocalchainTransferError (459) */
13503
+ /** @name PalletLocalchainTransferError (456) */
13343
13504
  interface PalletLocalchainTransferError extends Enum {
13344
13505
  readonly isMaxBlockTransfersExceeded: boolean;
13345
13506
  readonly isInsufficientFunds: boolean;
@@ -13351,7 +13512,7 @@ declare module '@polkadot/types/lookup' {
13351
13512
  readonly isNoAvailableTransferId: boolean;
13352
13513
  readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer' | 'NotaryLockedForTransfer' | 'NoAvailableTransferId';
13353
13514
  }
13354
- /** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (463) */
13515
+ /** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (460) */
13355
13516
  interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
13356
13517
  readonly notaryId: Compact<u32>;
13357
13518
  readonly notebookNumber: Compact<u32>;
@@ -13359,12 +13520,12 @@ declare module '@polkadot/types/lookup' {
13359
13520
  readonly blockVotesCount: Compact<u32>;
13360
13521
  readonly blockVotingPower: Compact<u128>;
13361
13522
  }
13362
- /** @name PalletBlockSealSpecError (468) */
13523
+ /** @name PalletBlockSealSpecError (465) */
13363
13524
  interface PalletBlockSealSpecError extends Enum {
13364
13525
  readonly isMaxNotebooksAtTickExceeded: boolean;
13365
13526
  readonly type: 'MaxNotebooksAtTickExceeded';
13366
13527
  }
13367
- /** @name PalletDomainsError (470) */
13528
+ /** @name PalletDomainsError (467) */
13368
13529
  interface PalletDomainsError extends Enum {
13369
13530
  readonly isDomainNotRegistered: boolean;
13370
13531
  readonly isNotDomainOwner: boolean;
@@ -13373,25 +13534,25 @@ declare module '@polkadot/types/lookup' {
13373
13534
  readonly isAccountDecodingError: boolean;
13374
13535
  readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
13375
13536
  }
13376
- /** @name PalletPriceIndexEthereumPriceFrameAccumulator (472) */
13537
+ /** @name PalletPriceIndexEthereumPriceFrameAccumulator (469) */
13377
13538
  interface PalletPriceIndexEthereumPriceFrameAccumulator extends Struct {
13378
13539
  readonly totalUsdPrice: u128;
13379
13540
  readonly totalWeiPerGas: Compact<u128>;
13380
13541
  readonly sampleCount: Compact<u32>;
13381
13542
  }
13382
- /** @name PalletPriceIndexCpiMeasurementBucket (477) */
13543
+ /** @name PalletPriceIndexCpiMeasurementBucket (474) */
13383
13544
  interface PalletPriceIndexCpiMeasurementBucket extends Struct {
13384
13545
  readonly tickRange: ITuple<[u64, u64]>;
13385
13546
  readonly totalCpi: i128;
13386
13547
  readonly measurementsCount: u32;
13387
13548
  }
13388
- /** @name PalletPriceIndexArgonotAverageFrameAccumulator (481) */
13549
+ /** @name PalletPriceIndexArgonotAverageFrameAccumulator (478) */
13389
13550
  interface PalletPriceIndexArgonotAverageFrameAccumulator extends Struct {
13390
13551
  readonly frameId: Compact<u64>;
13391
13552
  readonly totalMicrogonsPerArgonot: Compact<u128>;
13392
13553
  readonly sampleCount: Compact<u32>;
13393
13554
  }
13394
- /** @name PalletPriceIndexError (482) */
13555
+ /** @name PalletPriceIndexError (479) */
13395
13556
  interface PalletPriceIndexError extends Enum {
13396
13557
  readonly isNotAuthorizedOperator: boolean;
13397
13558
  readonly isMissingValue: boolean;
@@ -13400,7 +13561,7 @@ declare module '@polkadot/types/lookup' {
13400
13561
  readonly isInvalidEthereumPrices: boolean;
13401
13562
  readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded' | 'InvalidEthereumPrices';
13402
13563
  }
13403
- /** @name PalletGrandpaStoredState (483) */
13564
+ /** @name PalletGrandpaStoredState (480) */
13404
13565
  interface PalletGrandpaStoredState extends Enum {
13405
13566
  readonly isLive: boolean;
13406
13567
  readonly isPendingPause: boolean;
@@ -13416,14 +13577,14 @@ declare module '@polkadot/types/lookup' {
13416
13577
  } & Struct;
13417
13578
  readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
13418
13579
  }
13419
- /** @name PalletGrandpaStoredPendingChange (484) */
13580
+ /** @name PalletGrandpaStoredPendingChange (481) */
13420
13581
  interface PalletGrandpaStoredPendingChange extends Struct {
13421
13582
  readonly scheduledAt: u32;
13422
13583
  readonly delay: u32;
13423
13584
  readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
13424
13585
  readonly forced: Option<u32>;
13425
13586
  }
13426
- /** @name PalletGrandpaError (486) */
13587
+ /** @name PalletGrandpaError (483) */
13427
13588
  interface PalletGrandpaError extends Enum {
13428
13589
  readonly isPauseFailed: boolean;
13429
13590
  readonly isResumeFailed: boolean;
@@ -13434,13 +13595,13 @@ declare module '@polkadot/types/lookup' {
13434
13595
  readonly isDuplicateOffenceReport: boolean;
13435
13596
  readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
13436
13597
  }
13437
- /** @name ArgonPrimitivesProvidersBlockSealerInfo (487) */
13598
+ /** @name ArgonPrimitivesProvidersBlockSealerInfo (484) */
13438
13599
  interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
13439
13600
  readonly blockAuthorAccountId: AccountId32;
13440
13601
  readonly blockVoteRewardsAccount: Option<AccountId32>;
13441
13602
  readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
13442
13603
  }
13443
- /** @name PalletBlockSealError (489) */
13604
+ /** @name PalletBlockSealError (486) */
13444
13605
  interface PalletBlockSealError extends Enum {
13445
13606
  readonly isInvalidVoteSealStrength: boolean;
13446
13607
  readonly isInvalidSubmitter: boolean;
@@ -13465,72 +13626,73 @@ declare module '@polkadot/types/lookup' {
13465
13626
  readonly isDuplicateVoteBlockAtTick: boolean;
13466
13627
  readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick' | 'InvalidMinerNonceScore' | 'DuplicateVoteBlockAtTick';
13467
13628
  }
13468
- /** @name PalletBlockRewardsError (493) */
13629
+ /** @name PalletBlockRewardsError (490) */
13469
13630
  type PalletBlockRewardsError = Null;
13470
- /** @name PalletMintPendingMintUtxo (494) */
13631
+ /** @name PalletMintPendingMintUtxo (491) */
13471
13632
  interface PalletMintPendingMintUtxo extends Struct {
13633
+ readonly fissionId: Compact<u64>;
13472
13634
  readonly utxoId: Compact<u64>;
13473
13635
  readonly accountId: AccountId32;
13474
13636
  readonly remainingAmount: Compact<u128>;
13475
13637
  readonly maxAmountPerFrame: Compact<u128>;
13476
13638
  }
13477
- /** @name PalletMintMintQueueCursor (496) */
13639
+ /** @name PalletMintMintQueueCursor (493) */
13478
13640
  interface PalletMintMintQueueCursor extends Struct {
13479
13641
  readonly payoutStartIndex: Compact<u64>;
13480
13642
  readonly payoutCursorIndex: Compact<u64>;
13481
13643
  readonly payoutCursorFrameId: Option<u64>;
13482
13644
  }
13483
- /** @name PalletMintMintAction (499) */
13645
+ /** @name PalletMintMintAction (496) */
13484
13646
  interface PalletMintMintAction extends Struct {
13485
13647
  readonly argonBurned: u128;
13486
13648
  readonly argonMinted: u128;
13487
13649
  readonly bitcoinMinted: u128;
13488
13650
  }
13489
- /** @name PalletMintError (501) */
13651
+ /** @name PalletMintError (498) */
13490
13652
  interface PalletMintError extends Enum {
13491
13653
  readonly isTooManyPendingMints: boolean;
13492
13654
  readonly type: 'TooManyPendingMints';
13493
13655
  }
13494
- /** @name PalletBalancesBalanceLock (503) */
13656
+ /** @name PalletBalancesBalanceLock (500) */
13495
13657
  interface PalletBalancesBalanceLock extends Struct {
13496
13658
  readonly id: U8aFixed;
13497
13659
  readonly amount: u128;
13498
13660
  readonly reasons: PalletBalancesReasons;
13499
13661
  }
13500
- /** @name PalletBalancesReasons (504) */
13662
+ /** @name PalletBalancesReasons (501) */
13501
13663
  interface PalletBalancesReasons extends Enum {
13502
13664
  readonly isFee: boolean;
13503
13665
  readonly isMisc: boolean;
13504
13666
  readonly isAll: boolean;
13505
13667
  readonly type: 'Fee' | 'Misc' | 'All';
13506
13668
  }
13507
- /** @name PalletBalancesReserveData (507) */
13669
+ /** @name PalletBalancesReserveData (504) */
13508
13670
  interface PalletBalancesReserveData extends Struct {
13509
13671
  readonly id: U8aFixed;
13510
13672
  readonly amount: u128;
13511
13673
  }
13512
- /** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (510) */
13674
+ /** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (507) */
13513
13675
  interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
13514
13676
  readonly id: ArgonRuntimeRuntimeHoldReason;
13515
13677
  readonly amount: u128;
13516
13678
  }
13517
- /** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (513) */
13679
+ /** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (510) */
13518
13680
  interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
13519
13681
  readonly id: ArgonRuntimeRuntimeFreezeReason;
13520
13682
  readonly amount: u128;
13521
13683
  }
13522
- /** @name ArgonRuntimeRuntimeFreezeReason (514) */
13684
+ /** @name ArgonRuntimeRuntimeFreezeReason (511) */
13523
13685
  interface ArgonRuntimeRuntimeFreezeReason extends Enum {
13524
13686
  readonly isBlockRewards: boolean;
13525
13687
  readonly asBlockRewards: PalletBlockRewardsFreezeReason;
13526
13688
  readonly type: 'BlockRewards';
13527
13689
  }
13528
- /** @name PalletBlockRewardsFreezeReason (515) */
13690
+ /** @name PalletBlockRewardsFreezeReason (512) */
13529
13691
  interface PalletBlockRewardsFreezeReason extends Enum {
13530
13692
  readonly isMaturationPeriod: boolean;
13531
13693
  readonly type: 'MaturationPeriod';
13532
13694
  }
13533
- /** @name PalletBalancesError (517) */
13695
+ /** @name PalletBalancesError (514) */
13534
13696
  interface PalletBalancesError extends Enum {
13535
13697
  readonly isVestingBalance: boolean;
13536
13698
  readonly isLiquidityRestrictions: boolean;
@@ -13546,7 +13708,7 @@ declare module '@polkadot/types/lookup' {
13546
13708
  readonly isDeltaZero: boolean;
13547
13709
  readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
13548
13710
  }
13549
- /** @name PalletTxPauseError (519) */
13711
+ /** @name PalletTxPauseError (516) */
13550
13712
  interface PalletTxPauseError extends Enum {
13551
13713
  readonly isIsPaused: boolean;
13552
13714
  readonly isIsUnpaused: boolean;
@@ -13554,29 +13716,65 @@ declare module '@polkadot/types/lookup' {
13554
13716
  readonly isNotFound: boolean;
13555
13717
  readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
13556
13718
  }
13557
- /** @name PalletTransactionPaymentReleases (520) */
13719
+ /** @name PalletTransactionPaymentReleases (517) */
13558
13720
  interface PalletTransactionPaymentReleases extends Enum {
13559
13721
  readonly isV1Ancient: boolean;
13560
13722
  readonly isV2: boolean;
13561
13723
  readonly type: 'V1Ancient' | 'V2';
13562
13724
  }
13563
- /** @name FrameSupportStorageNoDrop (521) */
13725
+ /** @name FrameSupportStorageNoDrop (518) */
13564
13726
  interface FrameSupportStorageNoDrop extends FrameSupportTokensFungibleImbalance {
13565
13727
  }
13566
- /** @name FrameSupportTokensFungibleImbalance (522) */
13728
+ /** @name FrameSupportTokensFungibleImbalance (519) */
13567
13729
  interface FrameSupportTokensFungibleImbalance extends Struct {
13568
13730
  readonly amount: u128;
13569
13731
  }
13570
- /** @name PalletUtilityError (523) */
13732
+ /** @name PalletUtilityError (520) */
13571
13733
  interface PalletUtilityError extends Enum {
13572
13734
  readonly isTooManyCalls: boolean;
13573
13735
  readonly type: 'TooManyCalls';
13574
13736
  }
13575
- /** @name PalletSudoError (524) */
13737
+ /** @name PalletSudoError (521) */
13576
13738
  interface PalletSudoError extends Enum {
13577
13739
  readonly isRequireSudo: boolean;
13578
13740
  readonly type: 'RequireSudo';
13579
13741
  }
13742
+ /** @name PalletBitcoinFissionsFission (522) */
13743
+ interface PalletBitcoinFissionsFission extends Struct {
13744
+ readonly liquidId: Compact<u64>;
13745
+ readonly utxoId: Compact<u64>;
13746
+ readonly satoshis: Compact<u64>;
13747
+ readonly microgonsAtTargetPerBtc: Compact<u128>;
13748
+ readonly liquidityPromised: Compact<u128>;
13749
+ readonly createdAtArgonBlock: Compact<u32>;
13750
+ readonly ratchetNumber: Compact<u32>;
13751
+ readonly lastRatchetTick: Compact<u64>;
13752
+ readonly lastUpdatedArgonBlock: Compact<u32>;
13753
+ }
13754
+ /** @name PalletBitcoinFissionsError (524) */
13755
+ interface PalletBitcoinFissionsError extends Enum {
13756
+ readonly isFissionIdBelowMinimum: boolean;
13757
+ readonly isFissionIdOverflow: boolean;
13758
+ readonly isFissionAlreadyExists: boolean;
13759
+ readonly isFissionNotFound: boolean;
13760
+ readonly isNoRatchetingAvailable: boolean;
13761
+ readonly isRatchetNumberOverflow: boolean;
13762
+ readonly isFissionHasNoSatoshis: boolean;
13763
+ readonly isTooManyFissionsForLock: boolean;
13764
+ readonly isLockNotFound: boolean;
13765
+ readonly isNoPermissions: boolean;
13766
+ readonly isLockNotFunded: boolean;
13767
+ readonly isLockReleasePending: boolean;
13768
+ readonly isInsufficientFundedSatoshis: boolean;
13769
+ readonly isInsufficientSecuritization: boolean;
13770
+ readonly isIneligibleMicrogonsAtTargetPerBtc: boolean;
13771
+ readonly isMicrogonsAtTargetPerBtcTickOlderThanCurrent: boolean;
13772
+ readonly isInsufficientFissionedSatoshis: boolean;
13773
+ readonly isNoBitcoinPricesAvailable: boolean;
13774
+ readonly isInsufficientFunds: boolean;
13775
+ readonly isOverflow: boolean;
13776
+ readonly type: 'FissionIdBelowMinimum' | 'FissionIdOverflow' | 'FissionAlreadyExists' | 'FissionNotFound' | 'NoRatchetingAvailable' | 'RatchetNumberOverflow' | 'FissionHasNoSatoshis' | 'TooManyFissionsForLock' | 'LockNotFound' | 'NoPermissions' | 'LockNotFunded' | 'LockReleasePending' | 'InsufficientFundedSatoshis' | 'InsufficientSecuritization' | 'IneligibleMicrogonsAtTargetPerBtc' | 'MicrogonsAtTargetPerBtcTickOlderThanCurrent' | 'InsufficientFissionedSatoshis' | 'NoBitcoinPricesAvailable' | 'InsufficientFunds' | 'Overflow';
13777
+ }
13580
13778
  /** @name PalletTreasuryFrameVaultCapital (525) */
13581
13779
  interface PalletTreasuryFrameVaultCapital extends Struct {
13582
13780
  readonly frameId: Compact<u64>;
@@ -14074,103 +14272,6 @@ type IBigIntLike = bigint | {
14074
14272
  toBigInt(): bigint;
14075
14273
  };
14076
14274
 
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
14275
  declare function keyringFromSuri(suri: string, cryptoType?: 'sr25519' | 'ed25519'): KeyringPair;
14175
14276
  declare function createKeyringPair(opts: {
14176
14277
  cryptoType?: 'sr25519' | 'ed25519';
@@ -14184,6 +14285,12 @@ declare function getFrameInfoFromHeader(header: Header): {
14184
14285
  frameRewardTicksRemaining: number;
14185
14286
  } | undefined;
14186
14287
 
14288
+ declare function toFixedNumber(value: string | number | BigNumber, // accept string to avoid early precision loss
14289
+ decimals: number): bigint;
14290
+ declare function fromFixedNumber(value: bigint, decimals?: number): BigNumber;
14291
+ declare const FIXED_U128_DECIMALS = 18;
14292
+ declare const PERMILL_DECIMALS = 6;
14293
+
14187
14294
  declare class PriceIndex {
14188
14295
  btcUsdPrice?: BigNumber;
14189
14296
  argonotUsdPrice?: BigNumber;
@@ -14198,339 +14305,6 @@ declare class PriceIndex {
14198
14305
  get argonCpi(): BigNumber;
14199
14306
  }
14200
14307
 
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
14308
  declare const MINTING_GATEWAY_RUNTIME_DECIMALS = 6;
14535
14309
  declare const MINTING_GATEWAY_TOKEN_DECIMALS = 18;
14536
14310
  declare const MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE: bigint;
@@ -18467,4 +18241,4 @@ declare function waitForLoad(): Promise<void>;
18467
18241
  declare function getClient(host: string, options?: ApiOptions): Promise<ArgonClient>;
18468
18242
  declare function getOfflineRegistry(): TypeRegistry;
18469
18243
 
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 };
18244
+ 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 };