@argonprotocol/mainchain 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  import * as _polkadot_api_base_types from '@polkadot/api-base/types';
2
2
  import { ApiTypes, AugmentedConst, AugmentedError, AugmentedEvent, AugmentedQuery, AugmentedSubmittable, SubmittableExtrinsic, AugmentedCall } from '@polkadot/api-base/types';
3
- import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, U8aFixed, U256, i128, Result, Null, BTreeMap, Compact, Text, HashMap, 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';
4
- import { ITuple, AnyNumber, IMethod, Codec, GenericEvent, Header as Header$2, ArgonPrimitivesVault as ArgonPrimitivesVault$1 } from '@polkadot/types-codec/types';
3
+ import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, U8aFixed, U256, i128, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, 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';
4
+ import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
5
5
  export * from '@polkadot/types-codec/types';
6
6
  import { Percent, AccountId32, H256, MultiAddress, Call, Hash, SignedBlock, BlockNumber, Header, StorageData, AccountId, Justification, H160, H64, KeyValue, Index, Block, ExtrinsicInclusionMode, KeyTypeId, Balance, Weight, AccountId20, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, BalanceOf, BlockNumberFor, BlockNumberOf, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H2048, H32, H512, HeaderPartial, I32F32, IndicesLookupSource, Justifications, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletsOrigin, PalletVersion, Pays, Perbill, Permill, Perquintill, PerU16, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
7
- import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, FrameSupportTokensMiscBalanceStatus, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, ArgonPrimitivesVaultFundType, ArgonPrimitivesVaultObligationExpiration, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksLockReleaseRequest, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletChainTransferQueuedTransferOut, ArgonPrimitivesDigestsDigestset, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, IsmpConsensusStateCommitment, PalletLiquidityPoolsLiquidityPool, PalletLiquidityPoolsLiquidityPoolCapital, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningSlotConfig, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, ArgonPrimitivesVaultObligation, PalletVaultsVaultRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, SpConsensusGrandpaEquivocationProof, SpCoreVoid, IsmpMessagingCreateConsensusState, PalletIsmpUtilsFundMessageParams, IsmpMessagingMessage, PalletIsmpUtilsUpdateConsensusState, IsmpGrandpaAddStateMachine, ArgonPrimitivesBlockSealRewardDestination, ArgonRuntimeSessionKeys, SpWeightsWeightV2Weight, ArgonPrimitivesNotebookSignedNotebookHeader, PalletTokenGatewayAssetRegistration, PalletTokenGatewayTeleportParams, PalletTokenGatewayPrecisionUpdate, TokenGatewayPrimitivesGatewayAssetUpdate, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
7
+ import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, FrameSupportTokensMiscBalanceStatus, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksLockReleaseRequest, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletChainTransferQueuedTransferOut, ArgonPrimitivesDigestsDigestset, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, IsmpConsensusStateCommitment, PalletLiquidityPoolsLiquidityPoolCapital, PalletLiquidityPoolsLiquidityPool, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningSlotConfig, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, PalletVaultsVaultFrameFeeRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, SpConsensusGrandpaEquivocationProof, SpCoreVoid, IsmpMessagingCreateConsensusState, PalletIsmpUtilsFundMessageParams, IsmpMessagingMessage, PalletIsmpUtilsUpdateConsensusState, IsmpGrandpaAddStateMachine, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletTokenGatewayAssetRegistration, PalletTokenGatewayTeleportParams, PalletTokenGatewayPrecisionUpdate, TokenGatewayPrimitivesGatewayAssetUpdate, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
8
8
  export * from '@polkadot/types/lookup';
9
9
  import * as _polkadot_types_types from '@polkadot/types/types';
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 } from '@polkadot/types';
12
+ import { StorageKey, Metadata, Data, GenericEvent, Header as Header$2, ArgonPrimitivesVault as ArgonPrimitivesVault$1 } from '@polkadot/types';
13
13
  export * from '@polkadot/types';
14
14
  import { 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';
@@ -90,10 +90,9 @@ export { KeypairType } from '@polkadot/util-crypto/types';
90
90
  import { ISubmittableResult } from '@polkadot/types/types/extrinsic';
91
91
  import { SubmittableExtrinsic as SubmittableExtrinsic$1 } from '@polkadot/api/promise/types';
92
92
  import { SignerOptions, ApiDecoration } from '@polkadot/api/types';
93
- import * as nanoevents from 'nanoevents';
94
- import { Header as Header$1, DispatchError as DispatchError$1 } from '@polkadot/types/interfaces';
95
- export * from '@polkadot/types/interfaces';
96
93
  import BigNumber from 'bignumber.js';
94
+ import { DispatchError as DispatchError$1, Header as Header$1 } from '@polkadot/types/interfaces';
95
+ export * from '@polkadot/types/interfaces';
97
96
 
98
97
  declare module '@polkadot/api-base/types/consts' {
99
98
  interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -137,7 +136,7 @@ declare module '@polkadot/api-base/types/consts' {
137
136
  **/
138
137
  lockDurationBlocks: u64 & AugmentedConst<ApiType>;
139
138
  /**
140
- * The bitcoin blocks after an obligation expires which the vault will be allowed to claim
139
+ * The bitcoin blocks after a BitcoinLock expires which the vault will be allowed to claim
141
140
  * a bitcoin
142
141
  **/
143
142
  lockReclamationBlocks: u64 & AugmentedConst<ApiType>;
@@ -145,6 +144,11 @@ declare module '@polkadot/api-base/types/consts' {
145
144
  * Number of bitcoin blocks a vault has to counter-sign a bitcoin release
146
145
  **/
147
146
  lockReleaseCosignDeadlineBlocks: u64 & AugmentedConst<ApiType>;
147
+ /**
148
+ * Pallet storage requires bounds, so we have to set a maximum number that can expire in a
149
+ * single block
150
+ **/
151
+ maxConcurrentlyExpiringLocks: u32 & AugmentedConst<ApiType>;
148
152
  /**
149
153
  * Maximum releasing utxos at a time
150
154
  **/
@@ -260,7 +264,7 @@ declare module '@polkadot/api-base/types/consts' {
260
264
  };
261
265
  miningSlot: {
262
266
  /**
263
- * The max percent swing for the argonots per slot (from the last percent
267
+ * The max percent swing for the argonots per slot (from the last percent)
264
268
  **/
265
269
  argonotsPercentAdjustmentDamper: u128 & AugmentedConst<ApiType>;
266
270
  /**
@@ -268,7 +272,12 @@ declare module '@polkadot/api-base/types/consts' {
268
272
  **/
269
273
  bidIncrements: u128 & AugmentedConst<ApiType>;
270
274
  /**
271
- * How many new miners can be in the cohort for each slot
275
+ * The number of frames a miner operates for
276
+ **/
277
+ framesPerMiningTerm: u32 & AugmentedConst<ApiType>;
278
+ /**
279
+ * How many new miners can be in the cohort for each slot. The actual maximum will adjust
280
+ * dynamically
272
281
  **/
273
282
  maxCohortSize: u32 & AugmentedConst<ApiType>;
274
283
  /**
@@ -277,18 +286,26 @@ declare module '@polkadot/api-base/types/consts' {
277
286
  **/
278
287
  maximumArgonotProrataPercent: Percent & AugmentedConst<ApiType>;
279
288
  /**
280
- * The maximum number of Miners that the pallet can hold.
289
+ * The minimum number of miners per cohort
281
290
  **/
282
- maxMiners: u32 & AugmentedConst<ApiType>;
291
+ minCohortSize: u32 & AugmentedConst<ApiType>;
283
292
  /**
284
293
  * The minimum argonots needed per seat
285
294
  **/
286
295
  minimumArgonotsPerSeat: u128 & AugmentedConst<ApiType>;
296
+ /**
297
+ * The damper on the price per seat adjustment (from the last price)
298
+ **/
299
+ pricePerSeatAdjustmentDamper: u128 & AugmentedConst<ApiType>;
287
300
  /**
288
301
  * The target number of bids per slot. This will adjust the argonots per seat up or
289
302
  * down to ensure mining slots are filled.
290
303
  **/
291
304
  targetBidsPerSlot: u32 & AugmentedConst<ApiType>;
305
+ /**
306
+ * The target price per seat.
307
+ **/
308
+ targetPricePerSeat: u128 & AugmentedConst<ApiType>;
292
309
  };
293
310
  mint: {
294
311
  /**
@@ -519,19 +536,14 @@ declare module '@polkadot/api-base/types/consts' {
519
536
  batchedCallsLimit: u32 & AugmentedConst<ApiType>;
520
537
  };
521
538
  vaults: {
522
- /**
523
- * Pallet storage requires bounds, so we have to set a maximum number that can expire in a
524
- * single block
525
- **/
526
- maxConcurrentlyExpiringObligations: u32 & AugmentedConst<ApiType>;
527
539
  /**
528
540
  * The max pending vault term changes per block
529
541
  **/
530
542
  maxPendingTermModificationsPerTick: u32 & AugmentedConst<ApiType>;
531
543
  /**
532
- * Minimum amount for an obligation
544
+ * The max number of vaults that can be created
533
545
  **/
534
- minimumObligationAmount: u128 & AugmentedConst<ApiType>;
546
+ maxVaults: u32 & AugmentedConst<ApiType>;
535
547
  };
536
548
  }
537
549
  }
@@ -619,10 +631,10 @@ declare module '@polkadot/api-base/types/errors' {
619
631
  BitcoinUnableToBeDecodedForRelease: AugmentedError<ApiType>;
620
632
  BitcoinUtxoNotFound: AugmentedError<ApiType>;
621
633
  /**
622
- * There are too many obligations expiring in the given expiration block
634
+ * An overflow occurred recording a lock expiration
623
635
  **/
624
636
  ExpirationAtBlockOverflow: AugmentedError<ApiType>;
625
- GenericObligationError: AugmentedError<ApiType>;
637
+ GenericVaultError: AugmentedError<ApiType>;
626
638
  HoldUnexpectedlyModified: AugmentedError<ApiType>;
627
639
  InsufficientFunds: AugmentedError<ApiType>;
628
640
  InsufficientSatoshisLocked: AugmentedError<ApiType>;
@@ -635,16 +647,25 @@ declare module '@polkadot/api-base/types/errors' {
635
647
  * Funding would result in an overflow of the balance type
636
648
  **/
637
649
  InvalidVaultAmount: AugmentedError<ApiType>;
650
+ /**
651
+ * A lock in process of release cannot be ratcheted
652
+ **/
653
+ LockInProcessOfRelease: AugmentedError<ApiType>;
638
654
  LockNotFound: AugmentedError<ApiType>;
639
- MinimumObligationAmountNotMet: AugmentedError<ApiType>;
640
655
  NoBitcoinPricesAvailable: AugmentedError<ApiType>;
641
- NoMoreObligationIds: AugmentedError<ApiType>;
642
656
  NoPermissions: AugmentedError<ApiType>;
657
+ /**
658
+ * Nothing to ratchet
659
+ **/
660
+ NoRatchetingAvailable: AugmentedError<ApiType>;
643
661
  /**
644
662
  * No Vault public keys are available
645
663
  **/
646
664
  NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
647
- ObligationNotFound: AugmentedError<ApiType>;
665
+ /**
666
+ * An overflow or underflow occurred while calculating the redemption price
667
+ **/
668
+ OverflowError: AugmentedError<ApiType>;
648
669
  /**
649
670
  * This bitcoin redemption has not been locked in
650
671
  **/
@@ -654,6 +675,10 @@ declare module '@polkadot/api-base/types/errors' {
654
675
  **/
655
676
  UnableToGenerateVaultBitcoinPubkey: AugmentedError<ApiType>;
656
677
  UnrecoverableHold: AugmentedError<ApiType>;
678
+ /**
679
+ * The lock is not verified
680
+ **/
681
+ UnverifiedLock: AugmentedError<ApiType>;
657
682
  VaultClosed: AugmentedError<ApiType>;
658
683
  VaultNotFound: AugmentedError<ApiType>;
659
684
  /**
@@ -989,42 +1014,42 @@ declare module '@polkadot/api-base/types/errors' {
989
1014
  VaultNotAcceptingMiningBonds: AugmentedError<ApiType>;
990
1015
  };
991
1016
  miningSlot: {
992
- AccountWouldBeBelowMinimum: AugmentedError<ApiType>;
993
1017
  /**
994
1018
  * The mining bid cannot be reduced
995
1019
  **/
996
1020
  BidCannotBeReduced: AugmentedError<ApiType>;
1021
+ /**
1022
+ * The given bid isn't high enough to be in the cohort
1023
+ **/
997
1024
  BidTooLow: AugmentedError<ApiType>;
998
1025
  /**
999
- * Keys cannot be registered by multiple accounts
1026
+ * An account can only have one active registration
1000
1027
  **/
1001
- CannotRegisterDuplicateKeys: AugmentedError<ApiType>;
1002
1028
  CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
1003
1029
  /**
1004
- * There are too many obligations expiring in the given expiration block
1030
+ * The funding account does not have enough funds to cover the bid
1005
1031
  **/
1006
- ExpirationAtBlockOverflow: AugmentedError<ApiType>;
1007
- HoldUnexpectedlyModified: AugmentedError<ApiType>;
1008
1032
  InsufficientFunds: AugmentedError<ApiType>;
1033
+ /**
1034
+ * This funding account does not hold the minimum argonots needed
1035
+ **/
1009
1036
  InsufficientOwnershipTokens: AugmentedError<ApiType>;
1010
- InsufficientVaultFunds: AugmentedError<ApiType>;
1011
1037
  /**
1012
1038
  * Bids must be in allowed increments
1013
1039
  **/
1014
1040
  InvalidBidAmount: AugmentedError<ApiType>;
1015
1041
  /**
1016
- * Unable to decode the key format
1042
+ * Bidding for the next cohort has closed
1017
1043
  **/
1018
- InvalidKeyFormat: AugmentedError<ApiType>;
1019
- MinimumObligationAmountNotMet: AugmentedError<ApiType>;
1020
- NoMoreObligationIds: AugmentedError<ApiType>;
1021
- NoPermissions: AugmentedError<ApiType>;
1022
- ObligationNotFound: AugmentedError<ApiType>;
1023
1044
  SlotNotTakingBids: AugmentedError<ApiType>;
1045
+ /**
1046
+ * The cohort registration overflowed
1047
+ **/
1024
1048
  TooManyBlockRegistrants: AugmentedError<ApiType>;
1049
+ /**
1050
+ * The argonots on hold cannot be released
1051
+ **/
1025
1052
  UnrecoverableHold: AugmentedError<ApiType>;
1026
- VaultClosed: AugmentedError<ApiType>;
1027
- VaultNotFound: AugmentedError<ApiType>;
1028
1053
  };
1029
1054
  mint: {
1030
1055
  TooManyPendingMints: AugmentedError<ApiType>;
@@ -1051,7 +1076,7 @@ declare module '@polkadot/api-base/types/errors' {
1051
1076
  **/
1052
1077
  NoApprovalsNeeded: AugmentedError<ApiType>;
1053
1078
  /**
1054
- * Multisig operation not found when attempting to cancel.
1079
+ * Multisig operation not found in storage.
1055
1080
  **/
1056
1081
  NotFound: AugmentedError<ApiType>;
1057
1082
  /**
@@ -1059,7 +1084,8 @@ declare module '@polkadot/api-base/types/errors' {
1059
1084
  **/
1060
1085
  NoTimepoint: AugmentedError<ApiType>;
1061
1086
  /**
1062
- * Only the account that originally created the multisig is able to cancel it.
1087
+ * Only the account that originally created the multisig is able to cancel it or update
1088
+ * its deposits.
1063
1089
  **/
1064
1090
  NotOwner: AugmentedError<ApiType>;
1065
1091
  /**
@@ -1406,16 +1432,18 @@ declare module '@polkadot/api-base/types/errors' {
1406
1432
  * Bitcoin conversion to compressed pubkey failed
1407
1433
  **/
1408
1434
  BitcoinConversionFailed: AugmentedError<ApiType>;
1409
- /**
1410
- * There are too many obligations expiring in the given expiration block
1411
- **/
1412
- ExpirationAtBlockOverflow: AugmentedError<ApiType>;
1413
1435
  /**
1414
1436
  * A funding change is already scheduled
1415
1437
  **/
1416
1438
  FundingChangeAlreadyScheduled: AugmentedError<ApiType>;
1417
1439
  HoldUnexpectedlyModified: AugmentedError<ApiType>;
1440
+ /**
1441
+ * The user doesn't have enough funds to complete this request
1442
+ **/
1418
1443
  InsufficientFunds: AugmentedError<ApiType>;
1444
+ /**
1445
+ * There aren't enough funds in the vault to cover the requested bitcoin lock
1446
+ **/
1419
1447
  InsufficientVaultFunds: AugmentedError<ApiType>;
1420
1448
  /**
1421
1449
  * An internal processing error occurred
@@ -1438,19 +1466,15 @@ declare module '@polkadot/api-base/types/errors' {
1438
1466
  * Unable to decode xpubkey
1439
1467
  **/
1440
1468
  InvalidXpubkey: AugmentedError<ApiType>;
1441
- MinimumObligationAmountNotMet: AugmentedError<ApiType>;
1442
- NoMoreObligationIds: AugmentedError<ApiType>;
1469
+ /**
1470
+ * Internally, the vault ids are maxed out
1471
+ **/
1443
1472
  NoMoreVaultIds: AugmentedError<ApiType>;
1444
1473
  NoPermissions: AugmentedError<ApiType>;
1445
1474
  /**
1446
1475
  * No Vault public keys are available
1447
1476
  **/
1448
1477
  NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
1449
- /**
1450
- * An error occurred processing an obligation completion
1451
- **/
1452
- ObligationCompletionError: AugmentedError<ApiType>;
1453
- ObligationNotFound: AugmentedError<ApiType>;
1454
1478
  /**
1455
1479
  * The vault bitcoin xpubkey has already been used
1456
1480
  **/
@@ -1476,6 +1500,9 @@ declare module '@polkadot/api-base/types/errors' {
1476
1500
  * The XPub is unsafe to use in a public blockchain (aka, unhardened)
1477
1501
  **/
1478
1502
  UnsafeXpubkey: AugmentedError<ApiType>;
1503
+ /**
1504
+ * This vault is closed
1505
+ **/
1479
1506
  VaultClosed: AugmentedError<ApiType>;
1480
1507
  VaultNotFound: AugmentedError<ApiType>;
1481
1508
  /**
@@ -1719,65 +1746,64 @@ declare module '@polkadot/api-base/types/events' {
1719
1746
  bitcoinLocks: {
1720
1747
  BitcoinCosignPastDue: AugmentedEvent<ApiType, [
1721
1748
  utxoId: u64,
1722
- obligationId: u64,
1723
1749
  vaultId: u32,
1724
1750
  compensationAmount: u128,
1725
- compensationStillOwed: u128,
1726
1751
  compensatedAccountId: AccountId32
1727
1752
  ], {
1728
1753
  utxoId: u64;
1729
- obligationId: u64;
1730
1754
  vaultId: u32;
1731
1755
  compensationAmount: u128;
1732
- compensationStillOwed: u128;
1733
1756
  compensatedAccountId: AccountId32;
1734
1757
  }>;
1735
1758
  BitcoinLockBurned: AugmentedEvent<ApiType, [
1736
1759
  utxoId: u64,
1737
1760
  vaultId: u32,
1738
- obligationId: u64,
1739
- amountBurned: u128,
1740
- amountHeld: u128,
1741
1761
  wasUtxoSpent: bool
1742
1762
  ], {
1743
1763
  utxoId: u64;
1744
1764
  vaultId: u32;
1745
- obligationId: u64;
1746
- amountBurned: u128;
1747
- amountHeld: u128;
1748
1765
  wasUtxoSpent: bool;
1749
1766
  }>;
1750
1767
  BitcoinLockCreated: AugmentedEvent<ApiType, [
1751
1768
  utxoId: u64,
1752
1769
  vaultId: u32,
1753
- obligationId: u64,
1754
1770
  lockPrice: u128,
1755
1771
  accountId: AccountId32
1756
1772
  ], {
1757
1773
  utxoId: u64;
1758
1774
  vaultId: u32;
1759
- obligationId: u64;
1760
1775
  lockPrice: u128;
1761
1776
  accountId: AccountId32;
1762
1777
  }>;
1778
+ BitcoinLockRatcheted: AugmentedEvent<ApiType, [
1779
+ utxoId: u64,
1780
+ vaultId: u32,
1781
+ originalLockPrice: u128,
1782
+ newLockPrice: u128,
1783
+ amountBurned: u128,
1784
+ accountId: AccountId32
1785
+ ], {
1786
+ utxoId: u64;
1787
+ vaultId: u32;
1788
+ originalLockPrice: u128;
1789
+ newLockPrice: u128;
1790
+ amountBurned: u128;
1791
+ accountId: AccountId32;
1792
+ }>;
1763
1793
  BitcoinUtxoCosigned: AugmentedEvent<ApiType, [
1764
1794
  utxoId: u64,
1765
- obligationId: u64,
1766
1795
  vaultId: u32,
1767
1796
  signature: Bytes
1768
1797
  ], {
1769
1798
  utxoId: u64;
1770
- obligationId: u64;
1771
1799
  vaultId: u32;
1772
1800
  signature: Bytes;
1773
1801
  }>;
1774
1802
  BitcoinUtxoCosignRequested: AugmentedEvent<ApiType, [
1775
1803
  utxoId: u64,
1776
- obligationId: u64,
1777
1804
  vaultId: u32
1778
1805
  ], {
1779
1806
  utxoId: u64;
1780
- obligationId: u64;
1781
1807
  vaultId: u32;
1782
1808
  }>;
1783
1809
  /**
@@ -1790,6 +1816,16 @@ declare module '@polkadot/api-base/types/events' {
1790
1816
  utxoId: u64;
1791
1817
  error: SpRuntimeDispatchError;
1792
1818
  }>;
1819
+ /**
1820
+ * An error occurred while completing a lock
1821
+ **/
1822
+ LockExpirationError: AugmentedEvent<ApiType, [
1823
+ utxoId: u64,
1824
+ error: SpRuntimeDispatchError
1825
+ ], {
1826
+ utxoId: u64;
1827
+ error: SpRuntimeDispatchError;
1828
+ }>;
1793
1829
  };
1794
1830
  bitcoinUtxos: {
1795
1831
  UtxoExpiredError: AugmentedEvent<ApiType, [
@@ -2241,12 +2277,12 @@ declare module '@polkadot/api-base/types/events' {
2241
2277
  * Funds from the active bid pool have been distributed
2242
2278
  **/
2243
2279
  BidPoolDistributed: AugmentedEvent<ApiType, [
2244
- cohortId: u64,
2280
+ frameId: u64,
2245
2281
  bidPoolDistributed: u128,
2246
2282
  bidPoolBurned: u128,
2247
2283
  bidPoolShares: u32
2248
2284
  ], {
2249
- cohortId: u64;
2285
+ frameId: u64;
2250
2286
  bidPoolDistributed: u128;
2251
2287
  bidPoolBurned: u128;
2252
2288
  bidPoolShares: u32;
@@ -2255,11 +2291,11 @@ declare module '@polkadot/api-base/types/events' {
2255
2291
  * An error occurred burning from the bid pool
2256
2292
  **/
2257
2293
  CouldNotBurnBidPool: AugmentedEvent<ApiType, [
2258
- cohortId: u64,
2294
+ frameId: u64,
2259
2295
  amount: u128,
2260
2296
  dispatchError: SpRuntimeDispatchError
2261
2297
  ], {
2262
- cohortId: u64;
2298
+ frameId: u64;
2263
2299
  amount: u128;
2264
2300
  dispatchError: SpRuntimeDispatchError;
2265
2301
  }>;
@@ -2268,14 +2304,14 @@ declare module '@polkadot/api-base/types/events' {
2268
2304
  **/
2269
2305
  CouldNotDistributeBidPool: AugmentedEvent<ApiType, [
2270
2306
  accountId: AccountId32,
2271
- cohortId: u64,
2307
+ frameId: u64,
2272
2308
  vaultId: u32,
2273
2309
  amount: u128,
2274
2310
  dispatchError: SpRuntimeDispatchError,
2275
2311
  isForVault: bool
2276
2312
  ], {
2277
2313
  accountId: AccountId32;
2278
- cohortId: u64;
2314
+ frameId: u64;
2279
2315
  vaultId: u32;
2280
2316
  amount: u128;
2281
2317
  dispatchError: SpRuntimeDispatchError;
@@ -2285,13 +2321,13 @@ declare module '@polkadot/api-base/types/events' {
2285
2321
  * An error occurred releasing a contributor hold
2286
2322
  **/
2287
2323
  ErrorRefundingLiquidityPoolCapital: AugmentedEvent<ApiType, [
2288
- cohortId: u64,
2324
+ frameId: u64,
2289
2325
  vaultId: u32,
2290
2326
  amount: u128,
2291
2327
  accountId: AccountId32,
2292
2328
  dispatchError: SpRuntimeDispatchError
2293
2329
  ], {
2294
- cohortId: u64;
2330
+ frameId: u64;
2295
2331
  vaultId: u32;
2296
2332
  amount: u128;
2297
2333
  accountId: AccountId32;
@@ -2301,11 +2337,11 @@ declare module '@polkadot/api-base/types/events' {
2301
2337
  * The next bid pool has been locked in
2302
2338
  **/
2303
2339
  NextBidPoolCapitalLocked: AugmentedEvent<ApiType, [
2304
- cohortId: u64,
2340
+ frameId: u64,
2305
2341
  totalActivatedCapital: u128,
2306
2342
  participatingVaults: u32
2307
2343
  ], {
2308
- cohortId: u64;
2344
+ frameId: u64;
2309
2345
  totalActivatedCapital: u128;
2310
2346
  participatingVaults: u32;
2311
2347
  }>;
@@ -2314,12 +2350,12 @@ declare module '@polkadot/api-base/types/events' {
2314
2350
  * capital
2315
2351
  **/
2316
2352
  RefundedLiquidityPoolCapital: AugmentedEvent<ApiType, [
2317
- cohortId: u64,
2353
+ frameId: u64,
2318
2354
  vaultId: u32,
2319
2355
  amount: u128,
2320
2356
  accountId: AccountId32
2321
2357
  ], {
2322
- cohortId: u64;
2358
+ frameId: u64;
2323
2359
  vaultId: u32;
2324
2360
  amount: u128;
2325
2361
  accountId: AccountId32;
@@ -2330,9 +2366,9 @@ declare module '@polkadot/api-base/types/events' {
2330
2366
  * Bids are closed due to the VRF randomized function triggering
2331
2367
  **/
2332
2368
  MiningBidsClosed: AugmentedEvent<ApiType, [
2333
- cohortId: u64
2369
+ frameId: u64
2334
2370
  ], {
2335
- cohortId: u64;
2371
+ frameId: u64;
2336
2372
  }>;
2337
2373
  MiningConfigurationUpdated: AugmentedEvent<ApiType, [
2338
2374
  ticksBeforeBidEndForVrfClose: u64,
@@ -2344,15 +2380,13 @@ declare module '@polkadot/api-base/types/events' {
2344
2380
  slotBiddingStartAfterTicks: u64;
2345
2381
  }>;
2346
2382
  NewMiners: AugmentedEvent<ApiType, [
2347
- startIndex: u32,
2348
2383
  newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>,
2349
2384
  releasedMiners: u32,
2350
- cohortId: u64
2385
+ frameId: u64
2351
2386
  ], {
2352
- startIndex: u32;
2353
2387
  newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>;
2354
2388
  releasedMiners: u32;
2355
- cohortId: u64;
2389
+ frameId: u64;
2356
2390
  }>;
2357
2391
  ReleaseBidError: AugmentedEvent<ApiType, [
2358
2392
  accountId: AccountId32,
@@ -2432,6 +2466,20 @@ declare module '@polkadot/api-base/types/events' {
2432
2466
  }>;
2433
2467
  };
2434
2468
  multisig: {
2469
+ /**
2470
+ * The deposit for a multisig operation has been updated/poked.
2471
+ **/
2472
+ DepositPoked: AugmentedEvent<ApiType, [
2473
+ who: AccountId32,
2474
+ callHash: U8aFixed,
2475
+ oldDeposit: u128,
2476
+ newDeposit: u128
2477
+ ], {
2478
+ who: AccountId32;
2479
+ callHash: U8aFixed;
2480
+ oldDeposit: u128;
2481
+ newDeposit: u128;
2482
+ }>;
2435
2483
  /**
2436
2484
  * A multisig operation has been approved by someone.
2437
2485
  **/
@@ -2816,6 +2864,20 @@ declare module '@polkadot/api-base/types/events' {
2816
2864
  proxy: AccountId32;
2817
2865
  callHash: H256;
2818
2866
  }>;
2867
+ /**
2868
+ * A deposit stored for proxies or announcements was poked / updated.
2869
+ **/
2870
+ DepositPoked: AugmentedEvent<ApiType, [
2871
+ who: AccountId32,
2872
+ kind: PalletProxyDepositKind,
2873
+ oldDeposit: u128,
2874
+ newDeposit: u128
2875
+ ], {
2876
+ who: AccountId32;
2877
+ kind: PalletProxyDepositKind;
2878
+ oldDeposit: u128;
2879
+ newDeposit: u128;
2880
+ }>;
2819
2881
  /**
2820
2882
  * A proxy was added.
2821
2883
  **/
@@ -2939,6 +3001,16 @@ declare module '@polkadot/api-base/types/events' {
2939
3001
  ], {
2940
3002
  account: AccountId32;
2941
3003
  }>;
3004
+ /**
3005
+ * An invalid authorized upgrade was rejected while trying to apply it.
3006
+ **/
3007
+ RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [
3008
+ codeHash: H256,
3009
+ error: SpRuntimeDispatchError
3010
+ ], {
3011
+ codeHash: H256;
3012
+ error: SpRuntimeDispatchError;
3013
+ }>;
2942
3014
  /**
2943
3015
  * On on-chain remark happened.
2944
3016
  **/
@@ -3071,6 +3143,18 @@ declare module '@polkadot/api-base/types/events' {
3071
3143
  ], {
3072
3144
  result: Result<Null, SpRuntimeDispatchError>;
3073
3145
  }>;
3146
+ /**
3147
+ * The fallback call was dispatched.
3148
+ **/
3149
+ IfElseFallbackCalled: AugmentedEvent<ApiType, [
3150
+ mainError: SpRuntimeDispatchError
3151
+ ], {
3152
+ mainError: SpRuntimeDispatchError;
3153
+ }>;
3154
+ /**
3155
+ * Main call was dispatched.
3156
+ **/
3157
+ IfElseMainSuccess: AugmentedEvent<ApiType, []>;
3074
3158
  /**
3075
3159
  * A single item within a Batch of dispatches has completed with no error.
3076
3160
  **/
@@ -3085,48 +3169,57 @@ declare module '@polkadot/api-base/types/events' {
3085
3169
  }>;
3086
3170
  };
3087
3171
  vaults: {
3088
- ObligationCompleted: AugmentedEvent<ApiType, [
3172
+ FundLockCanceled: AugmentedEvent<ApiType, [
3089
3173
  vaultId: u32,
3090
- obligationId: u64,
3091
- wasCanceled: bool
3174
+ amount: u128
3092
3175
  ], {
3093
3176
  vaultId: u32;
3094
- obligationId: u64;
3095
- wasCanceled: bool;
3177
+ amount: u128;
3096
3178
  }>;
3097
- /**
3098
- * An error occurred while completing an obligation
3099
- **/
3100
- ObligationCompletionError: AugmentedEvent<ApiType, [
3101
- obligationId: u64,
3179
+ FundsLocked: AugmentedEvent<ApiType, [
3180
+ vaultId: u32,
3181
+ locker: AccountId32,
3182
+ amount: u128,
3183
+ isRatchet: bool
3184
+ ], {
3185
+ vaultId: u32;
3186
+ locker: AccountId32;
3187
+ amount: u128;
3188
+ isRatchet: bool;
3189
+ }>;
3190
+ FundsReleased: AugmentedEvent<ApiType, [
3191
+ vaultId: u32,
3192
+ amount: u128
3193
+ ], {
3194
+ vaultId: u32;
3195
+ amount: u128;
3196
+ }>;
3197
+ FundsReleasedError: AugmentedEvent<ApiType, [
3198
+ vaultId: u32,
3102
3199
  error: SpRuntimeDispatchError
3103
3200
  ], {
3104
- obligationId: u64;
3201
+ vaultId: u32;
3105
3202
  error: SpRuntimeDispatchError;
3106
3203
  }>;
3107
- ObligationCreated: AugmentedEvent<ApiType, [
3204
+ FundsScheduledForRelease: AugmentedEvent<ApiType, [
3108
3205
  vaultId: u32,
3109
- obligationId: u64,
3110
- fundType: ArgonPrimitivesVaultFundType,
3111
- beneficiary: AccountId32,
3112
3206
  amount: u128,
3113
- expiration: ArgonPrimitivesVaultObligationExpiration
3207
+ releaseHeight: u64
3114
3208
  ], {
3115
3209
  vaultId: u32;
3116
- obligationId: u64;
3117
- fundType: ArgonPrimitivesVaultFundType;
3118
- beneficiary: AccountId32;
3119
3210
  amount: u128;
3120
- expiration: ArgonPrimitivesVaultObligationExpiration;
3211
+ releaseHeight: u64;
3121
3212
  }>;
3122
- ObligationModified: AugmentedEvent<ApiType, [
3213
+ LostBitcoinCompensated: AugmentedEvent<ApiType, [
3123
3214
  vaultId: u32,
3124
- obligationId: u64,
3125
- amount: u128
3215
+ beneficiary: AccountId32,
3216
+ toBeneficiary: u128,
3217
+ burned: u128
3126
3218
  ], {
3127
3219
  vaultId: u32;
3128
- obligationId: u64;
3129
- amount: u128;
3220
+ beneficiary: AccountId32;
3221
+ toBeneficiary: u128;
3222
+ burned: u128;
3130
3223
  }>;
3131
3224
  VaultBitcoinXpubChange: AugmentedEvent<ApiType, [
3132
3225
  vaultId: u32
@@ -3135,12 +3228,12 @@ declare module '@polkadot/api-base/types/events' {
3135
3228
  }>;
3136
3229
  VaultClosed: AugmentedEvent<ApiType, [
3137
3230
  vaultId: u32,
3138
- remainingSecuritization: u128,
3139
- released: u128
3231
+ securitizationRemaining: u128,
3232
+ securitizationReleased: u128
3140
3233
  ], {
3141
3234
  vaultId: u32;
3142
- remainingSecuritization: u128;
3143
- released: u128;
3235
+ securitizationRemaining: u128;
3236
+ securitizationReleased: u128;
3144
3237
  }>;
3145
3238
  VaultCreated: AugmentedEvent<ApiType, [
3146
3239
  vaultId: u32,
@@ -3258,6 +3351,13 @@ declare module '@polkadot/api-base/types/storage' {
3258
3351
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
3259
3352
  };
3260
3353
  bitcoinLocks: {
3354
+ /**
3355
+ * Expiration of bitcoin locks by bitcoin height. Funds are burned since the user did not
3356
+ * unlock it
3357
+ **/
3358
+ lockExpirationsByBitcoinHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [
3359
+ u64
3360
+ ]>;
3261
3361
  /**
3262
3362
  * Stores the block number where the lock was released
3263
3363
  **/
@@ -3280,20 +3380,6 @@ declare module '@polkadot/api-base/types/storage' {
3280
3380
  **/
3281
3381
  minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
3282
3382
  nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
3283
- /**
3284
- * Mapping of obligation id to lock id
3285
- **/
3286
- obligationIdToUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
3287
- u64
3288
- ]>;
3289
- /**
3290
- * Stores Utxos that were not paid back in full
3291
- *
3292
- * Tuple stores Account, Vault, Still Owed, State
3293
- **/
3294
- owedUtxoAggrieved: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u32, u128, PalletBitcoinLocksLockedBitcoin]>>>, [
3295
- u64
3296
- ]>;
3297
3383
  };
3298
3384
  bitcoinUtxos: {
3299
3385
  /**
@@ -3318,7 +3404,7 @@ declare module '@polkadot/api-base/types/storage' {
3318
3404
  ]>;
3319
3405
  /**
3320
3406
  * Locked Bitcoin UTXOs that have had ownership confirmed. If a Bitcoin UTXO is moved before
3321
- * the expiration block, the obligation is burned and the UTXO is unlocked.
3407
+ * the expiration block, the funds are burned and the UTXO is unlocked.
3322
3408
  **/
3323
3409
  lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | {
3324
3410
  txid?: any;
@@ -3359,7 +3445,7 @@ declare module '@polkadot/api-base/types/storage' {
3359
3445
  **/
3360
3446
  argonsPerBlock: AugmentedQuery<ApiType, () => Observable<u128>, []>;
3361
3447
  /**
3362
- * The cohort block rewards
3448
+ * The cohort block rewards by mining cohort (ie, with the same starting frame id)
3363
3449
  **/
3364
3450
  blockRewardsByCohort: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, [
3365
3451
  ]>;
@@ -3641,43 +3727,39 @@ declare module '@polkadot/api-base/types/storage' {
3641
3727
  Substrate: any;
3642
3728
  } | {
3643
3729
  Tendermint: any;
3730
+ } | {
3731
+ Relay: any;
3644
3732
  } | string | Uint8Array) => Observable<Option<u64>>, [
3645
3733
  IsmpHostStateMachine
3646
3734
  ]>;
3647
3735
  };
3648
3736
  liquidityPools: {
3649
3737
  /**
3650
- * The currently earning contributors for the current epoch's bond funds. Sorted by highest
3651
- * bids first
3738
+ * The liquidity pool for the current frame. This correlates with the bids coming in for the
3739
+ * current frame. Sorted with the biggest share last. (current frame + 1)
3652
3740
  **/
3653
- liquidityPoolsByCohort: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, PalletLiquidityPoolsLiquidityPool>>, [
3654
- u64
3741
+ capitalActive: AugmentedQuery<ApiType, () => Observable<Vec<PalletLiquidityPoolsLiquidityPoolCapital>>, [
3655
3742
  ]>;
3656
3743
  /**
3657
- * The liquidity pool capital for the next mining slot cohort.
3744
+ * The liquidity pool still raising capital. (current frame + 2)
3658
3745
  **/
3659
- nextLiquidityPoolCapital: AugmentedQuery<ApiType, () => Observable<Vec<PalletLiquidityPoolsLiquidityPoolCapital>>, [
3746
+ capitalRaising: AugmentedQuery<ApiType, () => Observable<Vec<PalletLiquidityPoolsLiquidityPoolCapital>>, [
3660
3747
  ]>;
3661
3748
  /**
3662
- * The entrants in the liquidity pool for the mining slot cohort being bid on. Sorted with
3663
- * biggest share last.
3749
+ * The currently earning contributors for the current epoch's bond funds. Sorted by highest
3750
+ * bids first
3664
3751
  **/
3665
- openLiquidityPoolCapital: AugmentedQuery<ApiType, () => Observable<Vec<PalletLiquidityPoolsLiquidityPoolCapital>>, [
3752
+ vaultPoolsByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, PalletLiquidityPoolsLiquidityPool>>, [
3753
+ u64
3666
3754
  ]>;
3667
3755
  };
3668
3756
  miningSlot: {
3669
3757
  /**
3670
- * Lookup by account id to the corresponding index in ActiveMinersByIndex and Authorities
3758
+ * Lookup by account id to the corresponding index in MinersByCohort and MinerXorKeysByCohort
3671
3759
  **/
3672
- accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [
3760
+ accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [
3673
3761
  AccountId32
3674
3762
  ]>;
3675
- /**
3676
- * Miners that are active in the current block (post initialize)
3677
- **/
3678
- activeMinersByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBlockSealMiningRegistration>>, [
3679
- u32
3680
- ]>;
3681
3763
  activeMinersCount: AugmentedQuery<ApiType, () => Observable<u16>, []>;
3682
3764
  /**
3683
3765
  * Argonots that must be locked to take a Miner role
@@ -3685,7 +3767,18 @@ declare module '@polkadot/api-base/types/storage' {
3685
3767
  argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, [
3686
3768
  ]>;
3687
3769
  /**
3688
- * Did this block activate a new cohort
3770
+ * The average price per seat for the last 10 frames (newest first)
3771
+ **/
3772
+ averagePricePerSeat: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, [
3773
+ ]>;
3774
+ /**
3775
+ * The cohort set to go into effect in the next slot. The Vec has all
3776
+ * registrants with their bid amount
3777
+ **/
3778
+ bidsForNextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
3779
+ ]>;
3780
+ /**
3781
+ * Did this block activate a new frame
3689
3782
  **/
3690
3783
  didStartNewCohort: AugmentedQuery<ApiType, () => Observable<bool>, []>;
3691
3784
  /**
@@ -3706,10 +3799,16 @@ declare module '@polkadot/api-base/types/storage' {
3706
3799
  isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, [
3707
3800
  ]>;
3708
3801
  /**
3709
- * This is a lookup of each miner's XOR key to use. It's a blake2 256 hash of the account id of
3710
- * the miner and the block hash at time of activation.
3802
+ * Miners that are active in the current block (post initialize) by their starting frame
3803
+ **/
3804
+ minersByCohort: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
3805
+ u64
3806
+ ]>;
3807
+ /**
3808
+ * This is a lookup of each miner's XOR key to use. It's a blake2 256 hash of the miner account
3809
+ * id and the block hash at time of activation.
3711
3810
  **/
3712
- minerXorKeyByIndex: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, U256>>, [
3811
+ minerXorKeysByCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, Vec<U256>>>, [
3713
3812
  ]>;
3714
3813
  /**
3715
3814
  * The mining slot configuration set in genesis
@@ -3717,15 +3816,14 @@ declare module '@polkadot/api-base/types/storage' {
3717
3816
  miningConfig: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>, [
3718
3817
  ]>;
3719
3818
  /**
3720
- * The next cohort id
3819
+ * The number of allow miners to bid for the next mining cohort
3721
3820
  **/
3722
- nextCohortId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
3821
+ nextCohortSize: AugmentedQuery<ApiType, () => Observable<u32>, []>;
3723
3822
  /**
3724
- * The cohort set to go into effect in the next slot. The Vec has all
3725
- * registrants with their bid amount
3823
+ * The next frameId. A frame in argon is the 24 hours between the start of two different mining
3824
+ * cohorts.
3726
3825
  **/
3727
- nextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
3728
- ]>;
3826
+ nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
3729
3827
  /**
3730
3828
  * The miners released in the last block (only kept for a single block)
3731
3829
  **/
@@ -3736,7 +3834,7 @@ declare module '@polkadot/api-base/types/storage' {
3736
3834
  blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, [
3737
3835
  ]>;
3738
3836
  /**
3739
- * The amount of argons minted per cohort for mining
3837
+ * The amount of argons minted per mining cohort (ie, grouped by starting frame id)
3740
3838
  **/
3741
3839
  miningMintPerCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u128>>, [
3742
3840
  ]>;
@@ -4013,6 +4111,17 @@ declare module '@polkadot/api-base/types/storage' {
4013
4111
  extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
4014
4112
  u32
4015
4113
  ]>;
4114
+ /**
4115
+ * The weight reclaimed for the extrinsic.
4116
+ *
4117
+ * This information is available until the end of the extrinsic execution.
4118
+ * More precisely this information is removed in `note_applied_extrinsic`.
4119
+ *
4120
+ * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
4121
+ * reduction.
4122
+ **/
4123
+ extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, [
4124
+ ]>;
4016
4125
  /**
4017
4126
  * Whether all inherents have been applied.
4018
4127
  **/
@@ -4096,6 +4205,8 @@ declare module '@polkadot/api-base/types/storage' {
4096
4205
  Substrate: any;
4097
4206
  } | {
4098
4207
  Tendermint: any;
4208
+ } | {
4209
+ Relay: any;
4099
4210
  } | string | Uint8Array) => Observable<Option<u8>>, [
4100
4211
  u32,
4101
4212
  IsmpHostStateMachine
@@ -4120,6 +4231,8 @@ declare module '@polkadot/api-base/types/storage' {
4120
4231
  Substrate: any;
4121
4232
  } | {
4122
4233
  Tendermint: any;
4234
+ } | {
4235
+ Relay: any;
4123
4236
  } | string | Uint8Array) => Observable<Option<Bytes>>, [
4124
4237
  IsmpHostStateMachine
4125
4238
  ]>;
@@ -4138,22 +4251,7 @@ declare module '@polkadot/api-base/types/storage' {
4138
4251
  ]>;
4139
4252
  };
4140
4253
  vaults: {
4141
- /**
4142
- * Completion of bitcoin locks by bitcoin height. Funds are returned to the vault if
4143
- * unlocked or used as the price of the bitcoin
4144
- **/
4145
- bitcoinLockCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
4146
- u64
4147
- ]>;
4148
- nextObligationId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
4149
- ]>;
4150
4254
  nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
4151
- /**
4152
- * Obligation by id
4153
- **/
4154
- obligationsById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVaultObligation>>, [
4155
- u64
4156
- ]>;
4157
4255
  /**
4158
4256
  * Pending terms that will be committed at the given block number (must be a minimum of 1 slot
4159
4257
  * change away)
@@ -4162,11 +4260,19 @@ declare module '@polkadot/api-base/types/storage' {
4162
4260
  u64
4163
4261
  ]>;
4164
4262
  /**
4165
- * Tracks revenue for the last 10 cohort frames for each vault
4263
+ * Tracks fee revenue from Bitcoin Locks for the last 10 Frames for each vault (a frame is a
4264
+ * "mining day" in Argon). The total revenue for a vault includes Liquidity Pools, of which the
4265
+ * associated data can be found in that pallet.
4166
4266
  **/
4167
- trailingRevenueByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultRevenue>>, [
4267
+ perFrameFeeRevenueByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameFeeRevenue>>, [
4168
4268
  u32
4169
4269
  ]>;
4270
+ /**
4271
+ * The vaults that have funds releasing at a given bitcoin height
4272
+ **/
4273
+ vaultFundsReleasingByHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>, [
4274
+ u64
4275
+ ]>;
4170
4276
  /**
4171
4277
  * Vaults by id
4172
4278
  **/
@@ -4373,8 +4479,7 @@ declare module '@polkadot/api-base/types/submittable' {
4373
4479
  ]>;
4374
4480
  /**
4375
4481
  * Submitted by a Vault operator to cosign the release of a bitcoin utxo. The Bitcoin owner
4376
- * release fee will be burned, and the obligation will be allowed to expire without
4377
- * penalty.
4482
+ * release fee will be burned, and the lock will be allowed to expire without a penalty.
4378
4483
  *
4379
4484
  * This is submitted as a no-fee transaction off chain to allow keys to remain in cold
4380
4485
  * wallets.
@@ -4390,7 +4495,7 @@ declare module '@polkadot/api-base/types/submittable' {
4390
4495
  * The pubkey submitted here will be used to create a script pubkey that will be used in a
4391
4496
  * timelock multisig script to lock the bitcoin.
4392
4497
  *
4393
- * NOTE: A "lock-er" must sends btc to the cosign UTXO address in order to "complete" the
4498
+ * NOTE: A "lock-er" must send btc to the cosigner UTXO address to "complete" the
4394
4499
  * LockedBitcoin and be added to the Bitcoin Mint line.
4395
4500
  **/
4396
4501
  initialize: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
@@ -4398,6 +4503,25 @@ declare module '@polkadot/api-base/types/submittable' {
4398
4503
  Compact<u64>,
4399
4504
  ArgonPrimitivesBitcoinCompressedBitcoinPubkey
4400
4505
  ]>;
4506
+ /**
4507
+ * Ratcheting allows a user to change the lock price of their bitcoin lock. This is
4508
+ * functionally the same as releasing and re-initializing, but it allows a user to skip
4509
+ * sending transactions through bitcoin and any associated fees. It also allows you to stay
4510
+ * on your original lock expiration without having to pay the full year of fees again.
4511
+ *
4512
+ * Ratcheting "down" - when the price of bitcoin is lower than your lock price, you pay the
4513
+ * full release price and get added back to the mint queue at the current market rate. You
4514
+ * pocket the difference between the already minted "lock price" and the new market value
4515
+ * (which you just had burned). Your new lock price is set to the market low, so you can
4516
+ * take advantage of ratchets "up" in the future.
4517
+ *
4518
+ * Ratcheting "up" - when the price of bitcoin is higher than your lock price, you pay a
4519
+ * prorated fee for the remainder of your existing lock duration. You are added to the mint
4520
+ * queue for the difference in your new lock price vs the previous lock price.
4521
+ **/
4522
+ ratchet: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4523
+ u64
4524
+ ]>;
4401
4525
  /**
4402
4526
  * Submitted by a Bitcoin holder to trigger the release of their Utxo out of the cosign
4403
4527
  * script. A transaction spending the UTXO should be pre-created so that the sighash
@@ -4626,15 +4750,17 @@ declare module '@polkadot/api-base/types/submittable' {
4626
4750
  Substrate: any;
4627
4751
  } | {
4628
4752
  Tendermint: any;
4753
+ } | {
4754
+ Relay: any;
4629
4755
  } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
4630
4756
  Vec<IsmpHostStateMachine>
4631
4757
  ]>;
4632
4758
  };
4633
4759
  liquidityPools: {
4634
4760
  /**
4635
- * Bond argons to a Vault's next liquidity pool, tied to the next MiningSlot cohort (aka,
4636
- * tomorrow after noon EST). The amount bonded to the pool cannot exceed 1/10th of the
4637
- * activated securitization for the vault.
4761
+ * Bond argons to a Vault's next liquidity pool, tied to the next frame (aka,
4762
+ * tomorrow noon EDT to day after tomorrow noon). The amount bonded to the pool cannot
4763
+ * exceed 1/10th of the activated securitization for the vault.
4638
4764
  *
4639
4765
  * The bonded argons and profits will be automatically rolled over to the next fund up to
4640
4766
  * the max securitization activated.
@@ -4650,9 +4776,9 @@ declare module '@polkadot/api-base/types/submittable' {
4650
4776
  ]>;
4651
4777
  /**
4652
4778
  * Allows a user to remove their bonded argons from the fund after the hold is released
4653
- * (once cohort slot period is complete).
4779
+ * (once epoch starting at bonded frame is complete).
4654
4780
  **/
4655
- unbondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, cohortId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4781
+ unbondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, frameId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4656
4782
  u32,
4657
4783
  u64
4658
4784
  ]>;
@@ -4678,22 +4804,15 @@ declare module '@polkadot/api-base/types/submittable' {
4678
4804
  *
4679
4805
  * Parameters:
4680
4806
  * - `bid`: The amount of argons to bid
4681
- * - `reward_destination`: The account_id for the mining rewards, or `Owner` for the
4682
- * submitting user.
4683
4807
  * - `keys`: The session "hot" keys for the slot (BlockSealAuthorityId and GrandpaId).
4684
4808
  * - `mining_account_id`: This account_id allows you to operate as this miner account id,
4685
4809
  * but use funding (argonots and bid) from the submitting account
4686
4810
  **/
4687
- bid: AugmentedSubmittable<(bid: u128 | AnyNumber | Uint8Array, rewardDestination: ArgonPrimitivesBlockSealRewardDestination | {
4688
- Owner: any;
4689
- } | {
4690
- Account: any;
4691
- } | string | Uint8Array, keys: ArgonRuntimeSessionKeys | {
4811
+ bid: AugmentedSubmittable<(bid: u128 | AnyNumber | Uint8Array, keys: ArgonRuntimeSessionKeys | {
4692
4812
  grandpa?: any;
4693
4813
  blockSealAuthority?: any;
4694
4814
  } | string | Uint8Array, miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [
4695
4815
  u128,
4696
- ArgonPrimitivesBlockSealRewardDestination,
4697
4816
  ArgonRuntimeSessionKeys,
4698
4817
  Option<AccountId32>
4699
4818
  ]>;
@@ -4856,6 +4975,26 @@ declare module '@polkadot/api-base/types/submittable' {
4856
4975
  PalletMultisigTimepoint,
4857
4976
  U8aFixed
4858
4977
  ]>;
4978
+ /**
4979
+ * Poke the deposit reserved for an existing multisig operation.
4980
+ *
4981
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
4982
+ * the multisig operation.
4983
+ *
4984
+ * The transaction fee is waived if the deposit amount has changed.
4985
+ *
4986
+ * - `threshold`: The total number of approvals needed for this multisig.
4987
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
4988
+ * multisig.
4989
+ * - `call_hash`: The hash of the call this deposit is reserved for.
4990
+ *
4991
+ * Emits `DepositPoked` if successful.
4992
+ **/
4993
+ pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4994
+ u16,
4995
+ Vec<AccountId32>,
4996
+ U8aFixed
4997
+ ]>;
4859
4998
  };
4860
4999
  notaries: {
4861
5000
  activate: AugmentedSubmittable<(operatorAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
@@ -5217,6 +5356,18 @@ declare module '@polkadot/api-base/types/submittable' {
5217
5356
  Compact<u32>,
5218
5357
  Compact<u32>
5219
5358
  ]>;
5359
+ /**
5360
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
5361
+ * This can be used by accounts to possibly lower their locked amount.
5362
+ *
5363
+ * The dispatch origin for this call must be _Signed_.
5364
+ *
5365
+ * The transaction fee is waived if the deposit amount has changed.
5366
+ *
5367
+ * Emits `DepositPoked` if successful.
5368
+ **/
5369
+ pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, [
5370
+ ]>;
5220
5371
  /**
5221
5372
  * Dispatch the given `call` from an account that the sender is authorised for through
5222
5373
  * `add_proxy`.
@@ -5714,6 +5865,19 @@ declare module '@polkadot/api-base/types/submittable' {
5714
5865
  ArgonRuntimeOriginCaller,
5715
5866
  Call
5716
5867
  ]>;
5868
+ /**
5869
+ * Dispatches a function call with a provided origin.
5870
+ *
5871
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
5872
+ *
5873
+ * The dispatch origin for this call must be _Root_.
5874
+ **/
5875
+ dispatchAsFallible: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | {
5876
+ system: any;
5877
+ } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5878
+ ArgonRuntimeOriginCaller,
5879
+ Call
5880
+ ]>;
5717
5881
  /**
5718
5882
  * Send a batch of dispatch calls.
5719
5883
  * Unlike `batch`, it allows errors and won't interrupt.
@@ -5732,6 +5896,35 @@ declare module '@polkadot/api-base/types/submittable' {
5732
5896
  forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
5733
5897
  Vec<Call>
5734
5898
  ]>;
5899
+ /**
5900
+ * Dispatch a fallback call in the event the main call fails to execute.
5901
+ * May be called from any origin except `None`.
5902
+ *
5903
+ * This function first attempts to dispatch the `main` call.
5904
+ * If the `main` call fails, the `fallback` is attemted.
5905
+ * if the fallback is successfully dispatched, the weights of both calls
5906
+ * are accumulated and an event containing the main call error is deposited.
5907
+ *
5908
+ * In the event of a fallback failure the whole call fails
5909
+ * with the weights returned.
5910
+ *
5911
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
5912
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
5913
+ *
5914
+ * ## Dispatch Logic
5915
+ * - If the origin is `root`, both the main and fallback calls are executed without
5916
+ * applying any origin filters.
5917
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
5918
+ * `fallback` calls.
5919
+ *
5920
+ * ## Use Case
5921
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
5922
+ * or both.
5923
+ **/
5924
+ ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5925
+ Call,
5926
+ Call
5927
+ ]>;
5735
5928
  /**
5736
5929
  * Dispatch a function call with a specified weight.
5737
5930
  *
@@ -5750,8 +5943,8 @@ declare module '@polkadot/api-base/types/submittable' {
5750
5943
  };
5751
5944
  vaults: {
5752
5945
  /**
5753
- * Stop offering additional obligations from this vault. Will not affect existing
5754
- * obligations. As funds are returned, they will be released to the vault owner.
5946
+ * Stop offering additional bitcoin locks from this vault. Will not affect existing
5947
+ * locks. As funds are returned, they will be released to the vault owner.
5755
5948
  **/
5756
5949
  close: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5757
5950
  u32
@@ -5765,14 +5958,14 @@ declare module '@polkadot/api-base/types/submittable' {
5765
5958
  PalletVaultsVaultConfig
5766
5959
  ]>;
5767
5960
  /**
5768
- * Modify funds allocated by the vault. This will not affect issued obligations, but will
5961
+ * Modify funds allocated by the vault. This will not affect issued bitcoin locks, but will
5769
5962
  * affect the amount of funds available for new ones.
5770
5963
  *
5771
5964
  * The securitization percent must be maintained or increased.
5772
5965
  *
5773
5966
  * The amount allocated may not go below the existing reserved amounts, but you can release
5774
- * funds in this vault as obligations are released. To stop issuing any more obligations,
5775
- * use the `close` api.
5967
+ * funds in this vault as bitcoin locks are released. To stop issuing any more bitcoin
5968
+ * locks, use the `close` api.
5776
5969
  **/
5777
5970
  modifyFunding: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, securitization: u128 | AnyNumber | Uint8Array, securitizationRatio: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5778
5971
  u32,
@@ -5792,8 +5985,8 @@ declare module '@polkadot/api-base/types/submittable' {
5792
5985
  ArgonPrimitivesVaultVaultTerms
5793
5986
  ]>;
5794
5987
  /**
5795
- * Replace the bitcoin xpubkey for this vault. This will not affect existing obligations,
5796
- * but will be used for any obligations after this point. Will be rejected if already
5988
+ * Replace the bitcoin xpubkey for this vault. This will not affect existing bitcoin locks,
5989
+ * but will be used for any locks after this point. Will be rejected if already
5797
5990
  * used.
5798
5991
  **/
5799
5992
  replaceBitcoinXpub: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bitcoinXpub: ArgonPrimitivesBitcoinOpaqueBitcoinXpub | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
@@ -7971,7 +8164,12 @@ declare module '@polkadot/types/lookup' {
7971
8164
  readonly codeHash: H256;
7972
8165
  readonly checkVersion: bool;
7973
8166
  } & Struct;
7974
- readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked' | 'UpgradeAuthorized';
8167
+ readonly isRejectedInvalidAuthorizedUpgrade: boolean;
8168
+ readonly asRejectedInvalidAuthorizedUpgrade: {
8169
+ readonly codeHash: H256;
8170
+ readonly error: SpRuntimeDispatchError;
8171
+ } & Struct;
8172
+ readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked' | 'UpgradeAuthorized' | 'RejectedInvalidAuthorizedUpgrade';
7975
8173
  }
7976
8174
  /** @name FrameSystemDispatchEventInfo (23) */
7977
8175
  interface FrameSystemDispatchEventInfo extends Struct {
@@ -8098,7 +8296,14 @@ declare module '@polkadot/types/lookup' {
8098
8296
  readonly multisig: AccountId32;
8099
8297
  readonly callHash: U8aFixed;
8100
8298
  } & Struct;
8101
- readonly type: 'NewMultisig' | 'MultisigApproval' | 'MultisigExecuted' | 'MultisigCancelled';
8299
+ readonly isDepositPoked: boolean;
8300
+ readonly asDepositPoked: {
8301
+ readonly who: AccountId32;
8302
+ readonly callHash: U8aFixed;
8303
+ readonly oldDeposit: u128;
8304
+ readonly newDeposit: u128;
8305
+ } & Struct;
8306
+ readonly type: 'NewMultisig' | 'MultisigApproval' | 'MultisigExecuted' | 'MultisigCancelled' | 'DepositPoked';
8102
8307
  }
8103
8308
  /** @name PalletMultisigTimepoint (34) */
8104
8309
  interface PalletMultisigTimepoint extends Struct {
@@ -8138,7 +8343,14 @@ declare module '@polkadot/types/lookup' {
8138
8343
  readonly proxyType: ArgonRuntimeProxyType;
8139
8344
  readonly delay: u32;
8140
8345
  } & Struct;
8141
- readonly type: 'ProxyExecuted' | 'PureCreated' | 'Announced' | 'ProxyAdded' | 'ProxyRemoved';
8346
+ readonly isDepositPoked: boolean;
8347
+ readonly asDepositPoked: {
8348
+ readonly who: AccountId32;
8349
+ readonly kind: PalletProxyDepositKind;
8350
+ readonly oldDeposit: u128;
8351
+ readonly newDeposit: u128;
8352
+ } & Struct;
8353
+ readonly type: 'ProxyExecuted' | 'PureCreated' | 'Announced' | 'ProxyAdded' | 'ProxyRemoved' | 'DepositPoked';
8142
8354
  }
8143
8355
  /** @name ArgonRuntimeProxyType (38) */
8144
8356
  interface ArgonRuntimeProxyType extends Enum {
@@ -8150,14 +8362,19 @@ declare module '@polkadot/types/lookup' {
8150
8362
  readonly isVaultAdmin: boolean;
8151
8363
  readonly type: 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin';
8152
8364
  }
8153
- /** @name PalletMiningSlotEvent (40) */
8365
+ /** @name PalletProxyDepositKind (40) */
8366
+ interface PalletProxyDepositKind extends Enum {
8367
+ readonly isProxies: boolean;
8368
+ readonly isAnnouncements: boolean;
8369
+ readonly type: 'Proxies' | 'Announcements';
8370
+ }
8371
+ /** @name PalletMiningSlotEvent (41) */
8154
8372
  interface PalletMiningSlotEvent extends Enum {
8155
8373
  readonly isNewMiners: boolean;
8156
8374
  readonly asNewMiners: {
8157
- readonly startIndex: u32;
8158
8375
  readonly newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>;
8159
8376
  readonly releasedMiners: u32;
8160
- readonly cohortId: u64;
8377
+ readonly frameId: u64;
8161
8378
  } & Struct;
8162
8379
  readonly isSlotBidderAdded: boolean;
8163
8380
  readonly asSlotBidderAdded: {
@@ -8183,7 +8400,7 @@ declare module '@polkadot/types/lookup' {
8183
8400
  } & Struct;
8184
8401
  readonly isMiningBidsClosed: boolean;
8185
8402
  readonly asMiningBidsClosed: {
8186
- readonly cohortId: u64;
8403
+ readonly frameId: u64;
8187
8404
  } & Struct;
8188
8405
  readonly isReleaseBidError: boolean;
8189
8406
  readonly asReleaseBidError: {
@@ -8192,35 +8409,27 @@ declare module '@polkadot/types/lookup' {
8192
8409
  } & Struct;
8193
8410
  readonly type: 'NewMiners' | 'SlotBidderAdded' | 'SlotBidderDropped' | 'ReleaseMinerSeatError' | 'MiningConfigurationUpdated' | 'MiningBidsClosed' | 'ReleaseBidError';
8194
8411
  }
8195
- /** @name ArgonPrimitivesBlockSealMiningRegistration (42) */
8412
+ /** @name ArgonPrimitivesBlockSealMiningRegistration (43) */
8196
8413
  interface ArgonPrimitivesBlockSealMiningRegistration extends Struct {
8197
8414
  readonly accountId: AccountId32;
8198
8415
  readonly externalFundingAccount: Option<AccountId32>;
8199
- readonly rewardDestination: ArgonPrimitivesBlockSealRewardDestination;
8200
8416
  readonly bid: Compact<u128>;
8201
8417
  readonly argonots: Compact<u128>;
8202
8418
  readonly authorityKeys: ArgonRuntimeSessionKeys;
8203
- readonly cohortId: Compact<u64>;
8419
+ readonly startingFrameId: Compact<u64>;
8204
8420
  readonly bidAtTick: Compact<u64>;
8205
8421
  }
8206
- /** @name ArgonRuntimeSessionKeys (43) */
8422
+ /** @name ArgonRuntimeSessionKeys (44) */
8207
8423
  interface ArgonRuntimeSessionKeys extends Struct {
8208
8424
  readonly grandpa: SpConsensusGrandpaAppPublic;
8209
8425
  readonly blockSealAuthority: ArgonPrimitivesBlockSealAppPublic;
8210
8426
  }
8211
- /** @name SpConsensusGrandpaAppPublic (44) */
8427
+ /** @name SpConsensusGrandpaAppPublic (45) */
8212
8428
  interface SpConsensusGrandpaAppPublic extends U8aFixed {
8213
8429
  }
8214
- /** @name ArgonPrimitivesBlockSealAppPublic (45) */
8430
+ /** @name ArgonPrimitivesBlockSealAppPublic (46) */
8215
8431
  interface ArgonPrimitivesBlockSealAppPublic extends U8aFixed {
8216
8432
  }
8217
- /** @name ArgonPrimitivesBlockSealRewardDestination (47) */
8218
- interface ArgonPrimitivesBlockSealRewardDestination extends Enum {
8219
- readonly isOwner: boolean;
8220
- readonly isAccount: boolean;
8221
- readonly asAccount: AccountId32;
8222
- readonly type: 'Owner' | 'Account';
8223
- }
8224
8433
  /** @name PalletBitcoinUtxosEvent (50) */
8225
8434
  interface PalletBitcoinUtxosEvent extends Enum {
8226
8435
  readonly isUtxoVerified: boolean;
@@ -8307,93 +8516,90 @@ declare module '@polkadot/types/lookup' {
8307
8516
  readonly isVaultClosed: boolean;
8308
8517
  readonly asVaultClosed: {
8309
8518
  readonly vaultId: u32;
8310
- readonly remainingSecuritization: u128;
8311
- readonly released: u128;
8519
+ readonly securitizationRemaining: u128;
8520
+ readonly securitizationReleased: u128;
8312
8521
  } & Struct;
8313
8522
  readonly isVaultBitcoinXpubChange: boolean;
8314
8523
  readonly asVaultBitcoinXpubChange: {
8315
8524
  readonly vaultId: u32;
8316
8525
  } & Struct;
8317
- readonly isObligationCreated: boolean;
8318
- readonly asObligationCreated: {
8526
+ readonly isFundsLocked: boolean;
8527
+ readonly asFundsLocked: {
8319
8528
  readonly vaultId: u32;
8320
- readonly obligationId: u64;
8321
- readonly fundType: ArgonPrimitivesVaultFundType;
8322
- readonly beneficiary: AccountId32;
8529
+ readonly locker: AccountId32;
8323
8530
  readonly amount: u128;
8324
- readonly expiration: ArgonPrimitivesVaultObligationExpiration;
8531
+ readonly isRatchet: bool;
8325
8532
  } & Struct;
8326
- readonly isObligationCompleted: boolean;
8327
- readonly asObligationCompleted: {
8533
+ readonly isFundLockCanceled: boolean;
8534
+ readonly asFundLockCanceled: {
8328
8535
  readonly vaultId: u32;
8329
- readonly obligationId: u64;
8330
- readonly wasCanceled: bool;
8536
+ readonly amount: u128;
8331
8537
  } & Struct;
8332
- readonly isObligationModified: boolean;
8333
- readonly asObligationModified: {
8538
+ readonly isFundsScheduledForRelease: boolean;
8539
+ readonly asFundsScheduledForRelease: {
8334
8540
  readonly vaultId: u32;
8335
- readonly obligationId: u64;
8336
8541
  readonly amount: u128;
8542
+ readonly releaseHeight: u64;
8337
8543
  } & Struct;
8338
- readonly isObligationCompletionError: boolean;
8339
- readonly asObligationCompletionError: {
8340
- readonly obligationId: u64;
8544
+ readonly isLostBitcoinCompensated: boolean;
8545
+ readonly asLostBitcoinCompensated: {
8546
+ readonly vaultId: u32;
8547
+ readonly beneficiary: AccountId32;
8548
+ readonly toBeneficiary: u128;
8549
+ readonly burned: u128;
8550
+ } & Struct;
8551
+ readonly isFundsReleased: boolean;
8552
+ readonly asFundsReleased: {
8553
+ readonly vaultId: u32;
8554
+ readonly amount: u128;
8555
+ } & Struct;
8556
+ readonly isFundsReleasedError: boolean;
8557
+ readonly asFundsReleasedError: {
8558
+ readonly vaultId: u32;
8341
8559
  readonly error: SpRuntimeDispatchError;
8342
8560
  } & Struct;
8343
- readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | 'ObligationCreated' | 'ObligationCompleted' | 'ObligationModified' | 'ObligationCompletionError';
8561
+ readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | 'FundsLocked' | 'FundLockCanceled' | 'FundsScheduledForRelease' | 'LostBitcoinCompensated' | 'FundsReleased' | 'FundsReleasedError';
8344
8562
  }
8345
- /** @name ArgonPrimitivesVaultFundType (57) */
8346
- interface ArgonPrimitivesVaultFundType extends Enum {
8347
- readonly isLockedBitcoin: boolean;
8348
- readonly type: 'LockedBitcoin';
8349
- }
8350
- /** @name ArgonPrimitivesVaultObligationExpiration (58) */
8351
- interface ArgonPrimitivesVaultObligationExpiration extends Enum {
8352
- readonly isAtTick: boolean;
8353
- readonly asAtTick: Compact<u64>;
8354
- readonly isBitcoinBlock: boolean;
8355
- readonly asBitcoinBlock: Compact<u64>;
8356
- readonly type: 'AtTick' | 'BitcoinBlock';
8357
- }
8358
- /** @name PalletBitcoinLocksEvent (59) */
8563
+ /** @name PalletBitcoinLocksEvent (57) */
8359
8564
  interface PalletBitcoinLocksEvent extends Enum {
8360
8565
  readonly isBitcoinLockCreated: boolean;
8361
8566
  readonly asBitcoinLockCreated: {
8362
8567
  readonly utxoId: u64;
8363
8568
  readonly vaultId: u32;
8364
- readonly obligationId: u64;
8365
8569
  readonly lockPrice: u128;
8366
8570
  readonly accountId: AccountId32;
8367
8571
  } & Struct;
8572
+ readonly isBitcoinLockRatcheted: boolean;
8573
+ readonly asBitcoinLockRatcheted: {
8574
+ readonly utxoId: u64;
8575
+ readonly vaultId: u32;
8576
+ readonly originalLockPrice: u128;
8577
+ readonly newLockPrice: u128;
8578
+ readonly amountBurned: u128;
8579
+ readonly accountId: AccountId32;
8580
+ } & Struct;
8368
8581
  readonly isBitcoinLockBurned: boolean;
8369
8582
  readonly asBitcoinLockBurned: {
8370
8583
  readonly utxoId: u64;
8371
8584
  readonly vaultId: u32;
8372
- readonly obligationId: u64;
8373
- readonly amountBurned: u128;
8374
- readonly amountHeld: u128;
8375
8585
  readonly wasUtxoSpent: bool;
8376
8586
  } & Struct;
8377
8587
  readonly isBitcoinUtxoCosignRequested: boolean;
8378
8588
  readonly asBitcoinUtxoCosignRequested: {
8379
8589
  readonly utxoId: u64;
8380
- readonly obligationId: u64;
8381
8590
  readonly vaultId: u32;
8382
8591
  } & Struct;
8383
8592
  readonly isBitcoinUtxoCosigned: boolean;
8384
8593
  readonly asBitcoinUtxoCosigned: {
8385
8594
  readonly utxoId: u64;
8386
- readonly obligationId: u64;
8387
8595
  readonly vaultId: u32;
8388
8596
  readonly signature: Bytes;
8389
8597
  } & Struct;
8390
8598
  readonly isBitcoinCosignPastDue: boolean;
8391
8599
  readonly asBitcoinCosignPastDue: {
8392
8600
  readonly utxoId: u64;
8393
- readonly obligationId: u64;
8394
8601
  readonly vaultId: u32;
8395
8602
  readonly compensationAmount: u128;
8396
- readonly compensationStillOwed: u128;
8397
8603
  readonly compensatedAccountId: AccountId32;
8398
8604
  } & Struct;
8399
8605
  readonly isCosignOverdueError: boolean;
@@ -8401,9 +8607,14 @@ declare module '@polkadot/types/lookup' {
8401
8607
  readonly utxoId: u64;
8402
8608
  readonly error: SpRuntimeDispatchError;
8403
8609
  } & Struct;
8404
- readonly type: 'BitcoinLockCreated' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinCosignPastDue' | 'CosignOverdueError';
8610
+ readonly isLockExpirationError: boolean;
8611
+ readonly asLockExpirationError: {
8612
+ readonly utxoId: u64;
8613
+ readonly error: SpRuntimeDispatchError;
8614
+ } & Struct;
8615
+ readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError';
8405
8616
  }
8406
- /** @name PalletNotariesEvent (62) */
8617
+ /** @name PalletNotariesEvent (60) */
8407
8618
  interface PalletNotariesEvent extends Enum {
8408
8619
  readonly isNotaryProposed: boolean;
8409
8620
  readonly asNotaryProposed: {
@@ -8434,13 +8645,13 @@ declare module '@polkadot/types/lookup' {
8434
8645
  } & Struct;
8435
8646
  readonly type: 'NotaryProposed' | 'NotaryActivated' | 'NotaryMetaUpdateQueued' | 'NotaryMetaUpdated' | 'NotaryMetaUpdateError';
8436
8647
  }
8437
- /** @name ArgonPrimitivesNotaryNotaryMeta (63) */
8648
+ /** @name ArgonPrimitivesNotaryNotaryMeta (61) */
8438
8649
  interface ArgonPrimitivesNotaryNotaryMeta extends Struct {
8439
8650
  readonly name: Bytes;
8440
8651
  readonly public: U8aFixed;
8441
8652
  readonly hosts: Vec<Bytes>;
8442
8653
  }
8443
- /** @name ArgonPrimitivesNotaryNotaryRecord (70) */
8654
+ /** @name ArgonPrimitivesNotaryNotaryRecord (68) */
8444
8655
  interface ArgonPrimitivesNotaryNotaryRecord extends Struct {
8445
8656
  readonly notaryId: Compact<u32>;
8446
8657
  readonly operatorAccountId: AccountId32;
@@ -8449,7 +8660,7 @@ declare module '@polkadot/types/lookup' {
8449
8660
  readonly metaUpdatedTick: Compact<u64>;
8450
8661
  readonly meta: ArgonPrimitivesNotaryNotaryMeta;
8451
8662
  }
8452
- /** @name PalletNotebookEvent (71) */
8663
+ /** @name PalletNotebookEvent (69) */
8453
8664
  interface PalletNotebookEvent extends Enum {
8454
8665
  readonly isNotebookSubmitted: boolean;
8455
8666
  readonly asNotebookSubmitted: {
@@ -8470,7 +8681,7 @@ declare module '@polkadot/types/lookup' {
8470
8681
  } & Struct;
8471
8682
  readonly type: 'NotebookSubmitted' | 'NotebookAuditFailure' | 'NotebookReadyForReprocess';
8472
8683
  }
8473
- /** @name ArgonNotaryAuditErrorVerifyError (72) */
8684
+ /** @name ArgonNotaryAuditErrorVerifyError (70) */
8474
8685
  interface ArgonNotaryAuditErrorVerifyError extends Enum {
8475
8686
  readonly isMissingAccountOrigin: boolean;
8476
8687
  readonly asMissingAccountOrigin: {
@@ -8589,13 +8800,13 @@ declare module '@polkadot/types/lookup' {
8589
8800
  readonly isNoDefaultBlockVote: boolean;
8590
8801
  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' | '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';
8591
8802
  }
8592
- /** @name ArgonPrimitivesAccountAccountType (73) */
8803
+ /** @name ArgonPrimitivesAccountAccountType (71) */
8593
8804
  interface ArgonPrimitivesAccountAccountType extends Enum {
8594
8805
  readonly isTax: boolean;
8595
8806
  readonly isDeposit: boolean;
8596
8807
  readonly type: 'Tax' | 'Deposit';
8597
8808
  }
8598
- /** @name ArgonNotaryAuditAccountHistoryLookupError (74) */
8809
+ /** @name ArgonNotaryAuditAccountHistoryLookupError (72) */
8599
8810
  interface ArgonNotaryAuditAccountHistoryLookupError extends Enum {
8600
8811
  readonly isRootNotFound: boolean;
8601
8812
  readonly isLastChangeNotFound: boolean;
@@ -8603,7 +8814,7 @@ declare module '@polkadot/types/lookup' {
8603
8814
  readonly isBlockSpecificationNotFound: boolean;
8604
8815
  readonly type: 'RootNotFound' | 'LastChangeNotFound' | 'InvalidTransferToLocalchain' | 'BlockSpecificationNotFound';
8605
8816
  }
8606
- /** @name PalletChainTransferEvent (78) */
8817
+ /** @name PalletChainTransferEvent (75) */
8607
8818
  interface PalletChainTransferEvent extends Enum {
8608
8819
  readonly isTransferToLocalchain: boolean;
8609
8820
  readonly asTransferToLocalchain: {
@@ -8656,7 +8867,7 @@ declare module '@polkadot/types/lookup' {
8656
8867
  } & Struct;
8657
8868
  readonly type: 'TransferToLocalchain' | 'TransferToLocalchainExpired' | 'TransferFromLocalchain' | 'TransferFromLocalchainError' | 'TransferToLocalchainRefundError' | 'PossibleInvalidLocalchainTransferAllowed' | 'TaxationError';
8658
8869
  }
8659
- /** @name PalletBlockSealSpecEvent (79) */
8870
+ /** @name PalletBlockSealSpecEvent (76) */
8660
8871
  interface PalletBlockSealSpecEvent extends Enum {
8661
8872
  readonly isVoteMinimumAdjusted: boolean;
8662
8873
  readonly asVoteMinimumAdjusted: {
@@ -8674,7 +8885,7 @@ declare module '@polkadot/types/lookup' {
8674
8885
  } & Struct;
8675
8886
  readonly type: 'VoteMinimumAdjusted' | 'ComputeDifficultyAdjusted';
8676
8887
  }
8677
- /** @name PalletDomainsEvent (80) */
8888
+ /** @name PalletDomainsEvent (77) */
8678
8889
  interface PalletDomainsEvent extends Enum {
8679
8890
  readonly isZoneRecordUpdated: boolean;
8680
8891
  readonly asZoneRecordUpdated: {
@@ -8707,29 +8918,29 @@ declare module '@polkadot/types/lookup' {
8707
8918
  } & Struct;
8708
8919
  readonly type: 'ZoneRecordUpdated' | 'DomainRegistered' | 'DomainRenewed' | 'DomainExpired' | 'DomainRegistrationCanceled' | 'DomainRegistrationError';
8709
8920
  }
8710
- /** @name ArgonPrimitivesDomainZoneRecord (81) */
8921
+ /** @name ArgonPrimitivesDomainZoneRecord (78) */
8711
8922
  interface ArgonPrimitivesDomainZoneRecord extends Struct {
8712
8923
  readonly paymentAccount: AccountId32;
8713
8924
  readonly notaryId: u32;
8714
8925
  readonly versions: BTreeMap<ArgonPrimitivesDomainSemver, ArgonPrimitivesDomainVersionHost>;
8715
8926
  }
8716
- /** @name ArgonPrimitivesDomainSemver (83) */
8927
+ /** @name ArgonPrimitivesDomainSemver (80) */
8717
8928
  interface ArgonPrimitivesDomainSemver extends Struct {
8718
8929
  readonly major: u32;
8719
8930
  readonly minor: u32;
8720
8931
  readonly patch: u32;
8721
8932
  }
8722
- /** @name ArgonPrimitivesDomainVersionHost (84) */
8933
+ /** @name ArgonPrimitivesDomainVersionHost (81) */
8723
8934
  interface ArgonPrimitivesDomainVersionHost extends Struct {
8724
8935
  readonly datastoreId: Bytes;
8725
8936
  readonly host: Bytes;
8726
8937
  }
8727
- /** @name PalletDomainsDomainRegistration (88) */
8938
+ /** @name PalletDomainsDomainRegistration (85) */
8728
8939
  interface PalletDomainsDomainRegistration extends Struct {
8729
8940
  readonly accountId: AccountId32;
8730
8941
  readonly registeredAtTick: u64;
8731
8942
  }
8732
- /** @name PalletPriceIndexEvent (89) */
8943
+ /** @name PalletPriceIndexEvent (86) */
8733
8944
  interface PalletPriceIndexEvent extends Enum {
8734
8945
  readonly isNewIndex: boolean;
8735
8946
  readonly isOperatorChanged: boolean;
@@ -8738,7 +8949,7 @@ declare module '@polkadot/types/lookup' {
8738
8949
  } & Struct;
8739
8950
  readonly type: 'NewIndex' | 'OperatorChanged';
8740
8951
  }
8741
- /** @name PalletGrandpaEvent (90) */
8952
+ /** @name PalletGrandpaEvent (87) */
8742
8953
  interface PalletGrandpaEvent extends Enum {
8743
8954
  readonly isNewAuthorities: boolean;
8744
8955
  readonly asNewAuthorities: {
@@ -8748,7 +8959,7 @@ declare module '@polkadot/types/lookup' {
8748
8959
  readonly isResumed: boolean;
8749
8960
  readonly type: 'NewAuthorities' | 'Paused' | 'Resumed';
8750
8961
  }
8751
- /** @name PalletBlockRewardsEvent (93) */
8962
+ /** @name PalletBlockRewardsEvent (90) */
8752
8963
  interface PalletBlockRewardsEvent extends Enum {
8753
8964
  readonly isRewardCreated: boolean;
8754
8965
  readonly asRewardCreated: {
@@ -8763,7 +8974,7 @@ declare module '@polkadot/types/lookup' {
8763
8974
  } & Struct;
8764
8975
  readonly type: 'RewardCreated' | 'RewardCreateError';
8765
8976
  }
8766
- /** @name ArgonPrimitivesBlockSealBlockPayout (95) */
8977
+ /** @name ArgonPrimitivesBlockSealBlockPayout (92) */
8767
8978
  interface ArgonPrimitivesBlockSealBlockPayout extends Struct {
8768
8979
  readonly accountId: AccountId32;
8769
8980
  readonly ownership: Compact<u128>;
@@ -8771,14 +8982,14 @@ declare module '@polkadot/types/lookup' {
8771
8982
  readonly rewardType: ArgonPrimitivesBlockSealBlockRewardType;
8772
8983
  readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
8773
8984
  }
8774
- /** @name ArgonPrimitivesBlockSealBlockRewardType (96) */
8985
+ /** @name ArgonPrimitivesBlockSealBlockRewardType (93) */
8775
8986
  interface ArgonPrimitivesBlockSealBlockRewardType extends Enum {
8776
8987
  readonly isMiner: boolean;
8777
8988
  readonly isVoter: boolean;
8778
8989
  readonly isProfitShare: boolean;
8779
8990
  readonly type: 'Miner' | 'Voter' | 'ProfitShare';
8780
8991
  }
8781
- /** @name PalletMintEvent (99) */
8992
+ /** @name PalletMintEvent (96) */
8782
8993
  interface PalletMintEvent extends Enum {
8783
8994
  readonly isBitcoinMint: boolean;
8784
8995
  readonly asBitcoinMint: {
@@ -8803,13 +9014,13 @@ declare module '@polkadot/types/lookup' {
8803
9014
  } & Struct;
8804
9015
  readonly type: 'BitcoinMint' | 'MiningMint' | 'MintError';
8805
9016
  }
8806
- /** @name PalletMintMintType (104) */
9017
+ /** @name PalletMintMintType (101) */
8807
9018
  interface PalletMintMintType extends Enum {
8808
9019
  readonly isBitcoin: boolean;
8809
9020
  readonly isMining: boolean;
8810
9021
  readonly type: 'Bitcoin' | 'Mining';
8811
9022
  }
8812
- /** @name PalletBalancesEvent (105) */
9023
+ /** @name PalletBalancesEvent (102) */
8813
9024
  interface PalletBalancesEvent extends Enum {
8814
9025
  readonly isEndowed: boolean;
8815
9026
  readonly asEndowed: {
@@ -8923,13 +9134,13 @@ declare module '@polkadot/types/lookup' {
8923
9134
  } & Struct;
8924
9135
  readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed' | 'Minted' | 'Burned' | 'Suspended' | 'Restored' | 'Upgraded' | 'Issued' | 'Rescinded' | 'Locked' | 'Unlocked' | 'Frozen' | 'Thawed' | 'TotalIssuanceForced';
8925
9136
  }
8926
- /** @name FrameSupportTokensMiscBalanceStatus (106) */
9137
+ /** @name FrameSupportTokensMiscBalanceStatus (103) */
8927
9138
  interface FrameSupportTokensMiscBalanceStatus extends Enum {
8928
9139
  readonly isFree: boolean;
8929
9140
  readonly isReserved: boolean;
8930
9141
  readonly type: 'Free' | 'Reserved';
8931
9142
  }
8932
- /** @name PalletTxPauseEvent (108) */
9143
+ /** @name PalletTxPauseEvent (105) */
8933
9144
  interface PalletTxPauseEvent extends Enum {
8934
9145
  readonly isCallPaused: boolean;
8935
9146
  readonly asCallPaused: {
@@ -8941,7 +9152,7 @@ declare module '@polkadot/types/lookup' {
8941
9152
  } & Struct;
8942
9153
  readonly type: 'CallPaused' | 'CallUnpaused';
8943
9154
  }
8944
- /** @name PalletTransactionPaymentEvent (111) */
9155
+ /** @name PalletTransactionPaymentEvent (108) */
8945
9156
  interface PalletTransactionPaymentEvent extends Enum {
8946
9157
  readonly isTransactionFeePaid: boolean;
8947
9158
  readonly asTransactionFeePaid: {
@@ -8951,7 +9162,7 @@ declare module '@polkadot/types/lookup' {
8951
9162
  } & Struct;
8952
9163
  readonly type: 'TransactionFeePaid';
8953
9164
  }
8954
- /** @name PalletUtilityEvent (112) */
9165
+ /** @name PalletUtilityEvent (109) */
8955
9166
  interface PalletUtilityEvent extends Enum {
8956
9167
  readonly isBatchInterrupted: boolean;
8957
9168
  readonly asBatchInterrupted: {
@@ -8969,9 +9180,14 @@ declare module '@polkadot/types/lookup' {
8969
9180
  readonly asDispatchedAs: {
8970
9181
  readonly result: Result<Null, SpRuntimeDispatchError>;
8971
9182
  } & Struct;
8972
- readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs';
9183
+ readonly isIfElseMainSuccess: boolean;
9184
+ readonly isIfElseFallbackCalled: boolean;
9185
+ readonly asIfElseFallbackCalled: {
9186
+ readonly mainError: SpRuntimeDispatchError;
9187
+ } & Struct;
9188
+ readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs' | 'IfElseMainSuccess' | 'IfElseFallbackCalled';
8973
9189
  }
8974
- /** @name PalletSudoEvent (113) */
9190
+ /** @name PalletSudoEvent (110) */
8975
9191
  interface PalletSudoEvent extends Enum {
8976
9192
  readonly isSudid: boolean;
8977
9193
  readonly asSudid: {
@@ -8989,7 +9205,7 @@ declare module '@polkadot/types/lookup' {
8989
9205
  } & Struct;
8990
9206
  readonly type: 'Sudid' | 'KeyChanged' | 'KeyRemoved' | 'SudoAsDone';
8991
9207
  }
8992
- /** @name PalletIsmpEvent (114) */
9208
+ /** @name PalletIsmpEvent (111) */
8993
9209
  interface PalletIsmpEvent extends Enum {
8994
9210
  readonly isStateMachineUpdated: boolean;
8995
9211
  readonly asStateMachineUpdated: {
@@ -9042,12 +9258,12 @@ declare module '@polkadot/types/lookup' {
9042
9258
  readonly asGetRequestTimeoutHandled: IsmpEventsTimeoutHandled;
9043
9259
  readonly type: 'StateMachineUpdated' | 'StateCommitmentVetoed' | 'ConsensusClientCreated' | 'ConsensusClientFrozen' | 'Response' | 'Request' | 'Errors' | 'PostRequestHandled' | 'PostResponseHandled' | 'GetRequestHandled' | 'PostRequestTimeoutHandled' | 'PostResponseTimeoutHandled' | 'GetRequestTimeoutHandled';
9044
9260
  }
9045
- /** @name IsmpConsensusStateMachineId (115) */
9261
+ /** @name IsmpConsensusStateMachineId (112) */
9046
9262
  interface IsmpConsensusStateMachineId extends Struct {
9047
9263
  readonly stateId: IsmpHostStateMachine;
9048
9264
  readonly consensusStateId: U8aFixed;
9049
9265
  }
9050
- /** @name IsmpHostStateMachine (116) */
9266
+ /** @name IsmpHostStateMachine (113) */
9051
9267
  interface IsmpHostStateMachine extends Enum {
9052
9268
  readonly isEvm: boolean;
9053
9269
  readonly asEvm: u32;
@@ -9059,29 +9275,34 @@ declare module '@polkadot/types/lookup' {
9059
9275
  readonly asSubstrate: U8aFixed;
9060
9276
  readonly isTendermint: boolean;
9061
9277
  readonly asTendermint: U8aFixed;
9062
- readonly type: 'Evm' | 'Polkadot' | 'Kusama' | 'Substrate' | 'Tendermint';
9278
+ readonly isRelay: boolean;
9279
+ readonly asRelay: {
9280
+ readonly relay: U8aFixed;
9281
+ readonly paraId: u32;
9282
+ } & Struct;
9283
+ readonly type: 'Evm' | 'Polkadot' | 'Kusama' | 'Substrate' | 'Tendermint' | 'Relay';
9063
9284
  }
9064
- /** @name IsmpConsensusStateMachineHeight (117) */
9285
+ /** @name IsmpConsensusStateMachineHeight (114) */
9065
9286
  interface IsmpConsensusStateMachineHeight extends Struct {
9066
9287
  readonly id: IsmpConsensusStateMachineId;
9067
9288
  readonly height: u64;
9068
9289
  }
9069
- /** @name PalletIsmpErrorsHandlingError (120) */
9290
+ /** @name PalletIsmpErrorsHandlingError (117) */
9070
9291
  interface PalletIsmpErrorsHandlingError extends Struct {
9071
9292
  readonly message: Bytes;
9072
9293
  }
9073
- /** @name IsmpEventsRequestResponseHandled (122) */
9294
+ /** @name IsmpEventsRequestResponseHandled (119) */
9074
9295
  interface IsmpEventsRequestResponseHandled extends Struct {
9075
9296
  readonly commitment: H256;
9076
9297
  readonly relayer: Bytes;
9077
9298
  }
9078
- /** @name IsmpEventsTimeoutHandled (123) */
9299
+ /** @name IsmpEventsTimeoutHandled (120) */
9079
9300
  interface IsmpEventsTimeoutHandled extends Struct {
9080
9301
  readonly commitment: H256;
9081
9302
  readonly source: IsmpHostStateMachine;
9082
9303
  readonly dest: IsmpHostStateMachine;
9083
9304
  }
9084
- /** @name IsmpGrandpaEvent (124) */
9305
+ /** @name IsmpGrandpaEvent (121) */
9085
9306
  interface IsmpGrandpaEvent extends Enum {
9086
9307
  readonly isStateMachineAdded: boolean;
9087
9308
  readonly asStateMachineAdded: {
@@ -9093,7 +9314,7 @@ declare module '@polkadot/types/lookup' {
9093
9314
  } & Struct;
9094
9315
  readonly type: 'StateMachineAdded' | 'StateMachineRemoved';
9095
9316
  }
9096
- /** @name PalletHyperbridgeEvent (126) */
9317
+ /** @name PalletHyperbridgeEvent (123) */
9097
9318
  interface PalletHyperbridgeEvent extends Enum {
9098
9319
  readonly isHostParamsUpdated: boolean;
9099
9320
  readonly asHostParamsUpdated: {
@@ -9112,19 +9333,19 @@ declare module '@polkadot/types/lookup' {
9112
9333
  } & Struct;
9113
9334
  readonly type: 'HostParamsUpdated' | 'RelayerFeeWithdrawn' | 'ProtocolRevenueWithdrawn';
9114
9335
  }
9115
- /** @name PalletHyperbridgeVersionedHostParams (127) */
9336
+ /** @name PalletHyperbridgeVersionedHostParams (124) */
9116
9337
  interface PalletHyperbridgeVersionedHostParams extends Enum {
9117
9338
  readonly isV1: boolean;
9118
9339
  readonly asV1: PalletHyperbridgeSubstrateHostParams;
9119
9340
  readonly type: 'V1';
9120
9341
  }
9121
- /** @name PalletHyperbridgeSubstrateHostParams (128) */
9342
+ /** @name PalletHyperbridgeSubstrateHostParams (125) */
9122
9343
  interface PalletHyperbridgeSubstrateHostParams extends Struct {
9123
9344
  readonly defaultPerByteFee: u128;
9124
9345
  readonly perByteFees: BTreeMap<IsmpHostStateMachine, u128>;
9125
9346
  readonly assetRegistrationFee: u128;
9126
9347
  }
9127
- /** @name PalletTokenGatewayEvent (132) */
9348
+ /** @name PalletTokenGatewayEvent (129) */
9128
9349
  interface PalletTokenGatewayEvent extends Enum {
9129
9350
  readonly isAssetTeleported: boolean;
9130
9351
  readonly asAssetTeleported: {
@@ -9152,12 +9373,12 @@ declare module '@polkadot/types/lookup' {
9152
9373
  } & Struct;
9153
9374
  readonly type: 'AssetTeleported' | 'AssetReceived' | 'AssetRefunded' | 'Erc6160AssetRegistrationDispatched';
9154
9375
  }
9155
- /** @name PalletLiquidityPoolsEvent (133) */
9376
+ /** @name PalletLiquidityPoolsEvent (130) */
9156
9377
  interface PalletLiquidityPoolsEvent extends Enum {
9157
9378
  readonly isCouldNotDistributeBidPool: boolean;
9158
9379
  readonly asCouldNotDistributeBidPool: {
9159
9380
  readonly accountId: AccountId32;
9160
- readonly cohortId: u64;
9381
+ readonly frameId: u64;
9161
9382
  readonly vaultId: u32;
9162
9383
  readonly amount: u128;
9163
9384
  readonly dispatchError: SpRuntimeDispatchError;
@@ -9165,26 +9386,26 @@ declare module '@polkadot/types/lookup' {
9165
9386
  } & Struct;
9166
9387
  readonly isCouldNotBurnBidPool: boolean;
9167
9388
  readonly asCouldNotBurnBidPool: {
9168
- readonly cohortId: u64;
9389
+ readonly frameId: u64;
9169
9390
  readonly amount: u128;
9170
9391
  readonly dispatchError: SpRuntimeDispatchError;
9171
9392
  } & Struct;
9172
9393
  readonly isBidPoolDistributed: boolean;
9173
9394
  readonly asBidPoolDistributed: {
9174
- readonly cohortId: u64;
9395
+ readonly frameId: u64;
9175
9396
  readonly bidPoolDistributed: u128;
9176
9397
  readonly bidPoolBurned: u128;
9177
9398
  readonly bidPoolShares: u32;
9178
9399
  } & Struct;
9179
9400
  readonly isNextBidPoolCapitalLocked: boolean;
9180
9401
  readonly asNextBidPoolCapitalLocked: {
9181
- readonly cohortId: u64;
9402
+ readonly frameId: u64;
9182
9403
  readonly totalActivatedCapital: u128;
9183
9404
  readonly participatingVaults: u32;
9184
9405
  } & Struct;
9185
9406
  readonly isErrorRefundingLiquidityPoolCapital: boolean;
9186
9407
  readonly asErrorRefundingLiquidityPoolCapital: {
9187
- readonly cohortId: u64;
9408
+ readonly frameId: u64;
9188
9409
  readonly vaultId: u32;
9189
9410
  readonly amount: u128;
9190
9411
  readonly accountId: AccountId32;
@@ -9192,14 +9413,14 @@ declare module '@polkadot/types/lookup' {
9192
9413
  } & Struct;
9193
9414
  readonly isRefundedLiquidityPoolCapital: boolean;
9194
9415
  readonly asRefundedLiquidityPoolCapital: {
9195
- readonly cohortId: u64;
9416
+ readonly frameId: u64;
9196
9417
  readonly vaultId: u32;
9197
9418
  readonly amount: u128;
9198
9419
  readonly accountId: AccountId32;
9199
9420
  } & Struct;
9200
9421
  readonly type: 'CouldNotDistributeBidPool' | 'CouldNotBurnBidPool' | 'BidPoolDistributed' | 'NextBidPoolCapitalLocked' | 'ErrorRefundingLiquidityPoolCapital' | 'RefundedLiquidityPoolCapital';
9201
9422
  }
9202
- /** @name PalletSkipFeelessPaymentEvent (134) */
9423
+ /** @name PalletSkipFeelessPaymentEvent (131) */
9203
9424
  interface PalletSkipFeelessPaymentEvent extends Enum {
9204
9425
  readonly isFeeSkipped: boolean;
9205
9426
  readonly asFeeSkipped: {
@@ -9207,13 +9428,13 @@ declare module '@polkadot/types/lookup' {
9207
9428
  } & Struct;
9208
9429
  readonly type: 'FeeSkipped';
9209
9430
  }
9210
- /** @name ArgonRuntimeOriginCaller (135) */
9431
+ /** @name ArgonRuntimeOriginCaller (132) */
9211
9432
  interface ArgonRuntimeOriginCaller extends Enum {
9212
9433
  readonly isSystem: boolean;
9213
9434
  readonly asSystem: FrameSupportDispatchRawOrigin;
9214
9435
  readonly type: 'System';
9215
9436
  }
9216
- /** @name FrameSupportDispatchRawOrigin (136) */
9437
+ /** @name FrameSupportDispatchRawOrigin (133) */
9217
9438
  interface FrameSupportDispatchRawOrigin extends Enum {
9218
9439
  readonly isRoot: boolean;
9219
9440
  readonly isSigned: boolean;
@@ -9221,7 +9442,7 @@ declare module '@polkadot/types/lookup' {
9221
9442
  readonly isNone: boolean;
9222
9443
  readonly type: 'Root' | 'Signed' | 'None';
9223
9444
  }
9224
- /** @name FrameSystemPhase (137) */
9445
+ /** @name FrameSystemPhase (134) */
9225
9446
  interface FrameSystemPhase extends Enum {
9226
9447
  readonly isApplyExtrinsic: boolean;
9227
9448
  readonly asApplyExtrinsic: u32;
@@ -9229,17 +9450,17 @@ declare module '@polkadot/types/lookup' {
9229
9450
  readonly isInitialization: boolean;
9230
9451
  readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
9231
9452
  }
9232
- /** @name FrameSystemLastRuntimeUpgradeInfo (141) */
9453
+ /** @name FrameSystemLastRuntimeUpgradeInfo (138) */
9233
9454
  interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
9234
9455
  readonly specVersion: Compact<u32>;
9235
9456
  readonly specName: Text;
9236
9457
  }
9237
- /** @name FrameSystemCodeUpgradeAuthorization (142) */
9458
+ /** @name FrameSystemCodeUpgradeAuthorization (140) */
9238
9459
  interface FrameSystemCodeUpgradeAuthorization extends Struct {
9239
9460
  readonly codeHash: H256;
9240
9461
  readonly checkVersion: bool;
9241
9462
  }
9242
- /** @name FrameSystemCall (143) */
9463
+ /** @name FrameSystemCall (141) */
9243
9464
  interface FrameSystemCall extends Enum {
9244
9465
  readonly isRemark: boolean;
9245
9466
  readonly asRemark: {
@@ -9288,41 +9509,41 @@ declare module '@polkadot/types/lookup' {
9288
9509
  } & Struct;
9289
9510
  readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent' | 'AuthorizeUpgrade' | 'AuthorizeUpgradeWithoutChecks' | 'ApplyAuthorizedUpgrade';
9290
9511
  }
9291
- /** @name FrameSystemLimitsBlockWeights (147) */
9512
+ /** @name FrameSystemLimitsBlockWeights (145) */
9292
9513
  interface FrameSystemLimitsBlockWeights extends Struct {
9293
9514
  readonly baseBlock: SpWeightsWeightV2Weight;
9294
9515
  readonly maxBlock: SpWeightsWeightV2Weight;
9295
9516
  readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
9296
9517
  }
9297
- /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (148) */
9518
+ /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (146) */
9298
9519
  interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
9299
9520
  readonly normal: FrameSystemLimitsWeightsPerClass;
9300
9521
  readonly operational: FrameSystemLimitsWeightsPerClass;
9301
9522
  readonly mandatory: FrameSystemLimitsWeightsPerClass;
9302
9523
  }
9303
- /** @name FrameSystemLimitsWeightsPerClass (149) */
9524
+ /** @name FrameSystemLimitsWeightsPerClass (147) */
9304
9525
  interface FrameSystemLimitsWeightsPerClass extends Struct {
9305
9526
  readonly baseExtrinsic: SpWeightsWeightV2Weight;
9306
9527
  readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
9307
9528
  readonly maxTotal: Option<SpWeightsWeightV2Weight>;
9308
9529
  readonly reserved: Option<SpWeightsWeightV2Weight>;
9309
9530
  }
9310
- /** @name FrameSystemLimitsBlockLength (151) */
9531
+ /** @name FrameSystemLimitsBlockLength (149) */
9311
9532
  interface FrameSystemLimitsBlockLength extends Struct {
9312
9533
  readonly max: FrameSupportDispatchPerDispatchClassU32;
9313
9534
  }
9314
- /** @name FrameSupportDispatchPerDispatchClassU32 (152) */
9535
+ /** @name FrameSupportDispatchPerDispatchClassU32 (150) */
9315
9536
  interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
9316
9537
  readonly normal: u32;
9317
9538
  readonly operational: u32;
9318
9539
  readonly mandatory: u32;
9319
9540
  }
9320
- /** @name SpWeightsRuntimeDbWeight (153) */
9541
+ /** @name SpWeightsRuntimeDbWeight (151) */
9321
9542
  interface SpWeightsRuntimeDbWeight extends Struct {
9322
9543
  readonly read: u64;
9323
9544
  readonly write: u64;
9324
9545
  }
9325
- /** @name SpVersionRuntimeVersion (154) */
9546
+ /** @name SpVersionRuntimeVersion (152) */
9326
9547
  interface SpVersionRuntimeVersion extends Struct {
9327
9548
  readonly specName: Text;
9328
9549
  readonly implName: Text;
@@ -9333,7 +9554,7 @@ declare module '@polkadot/types/lookup' {
9333
9554
  readonly transactionVersion: u32;
9334
9555
  readonly systemVersion: u8;
9335
9556
  }
9336
- /** @name FrameSystemError (159) */
9557
+ /** @name FrameSystemError (157) */
9337
9558
  interface FrameSystemError extends Enum {
9338
9559
  readonly isInvalidSpecName: boolean;
9339
9560
  readonly isSpecVersionNeedsToIncrease: boolean;
@@ -9346,7 +9567,7 @@ declare module '@polkadot/types/lookup' {
9346
9567
  readonly isUnauthorized: boolean;
9347
9568
  readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered' | 'MultiBlockMigrationsOngoing' | 'NothingAuthorized' | 'Unauthorized';
9348
9569
  }
9349
- /** @name ArgonPrimitivesDigestsDigestset (160) */
9570
+ /** @name ArgonPrimitivesDigestsDigestset (158) */
9350
9571
  interface ArgonPrimitivesDigestsDigestset extends Struct {
9351
9572
  readonly author: AccountId32;
9352
9573
  readonly blockVote: ArgonPrimitivesDigestsBlockVoteDigest;
@@ -9355,16 +9576,16 @@ declare module '@polkadot/types/lookup' {
9355
9576
  readonly tick: u64;
9356
9577
  readonly notebooks: ArgonPrimitivesDigestsNotebookDigest;
9357
9578
  }
9358
- /** @name ArgonPrimitivesDigestsBlockVoteDigest (161) */
9579
+ /** @name ArgonPrimitivesDigestsBlockVoteDigest (159) */
9359
9580
  interface ArgonPrimitivesDigestsBlockVoteDigest extends Struct {
9360
9581
  readonly votingPower: Compact<u128>;
9361
9582
  readonly votesCount: Compact<u32>;
9362
9583
  }
9363
- /** @name ArgonPrimitivesDigestsParentVotingKeyDigest (163) */
9584
+ /** @name ArgonPrimitivesDigestsParentVotingKeyDigest (161) */
9364
9585
  interface ArgonPrimitivesDigestsParentVotingKeyDigest extends Struct {
9365
9586
  readonly parentVotingKey: Option<H256>;
9366
9587
  }
9367
- /** @name ArgonPrimitivesForkPower (166) */
9588
+ /** @name ArgonPrimitivesForkPower (164) */
9368
9589
  interface ArgonPrimitivesForkPower extends Struct {
9369
9590
  readonly isLatestVote: bool;
9370
9591
  readonly notebooks: Compact<u64>;
@@ -9373,18 +9594,18 @@ declare module '@polkadot/types/lookup' {
9373
9594
  readonly totalComputeDifficulty: U256;
9374
9595
  readonly voteCreatedBlocks: Compact<u128>;
9375
9596
  }
9376
- /** @name ArgonPrimitivesDigestsNotebookDigest (168) */
9597
+ /** @name ArgonPrimitivesDigestsNotebookDigest (166) */
9377
9598
  interface ArgonPrimitivesDigestsNotebookDigest extends Struct {
9378
9599
  readonly notebooks: Vec<ArgonPrimitivesNotebookNotebookAuditResult>;
9379
9600
  }
9380
- /** @name ArgonPrimitivesNotebookNotebookAuditResult (170) */
9601
+ /** @name ArgonPrimitivesNotebookNotebookAuditResult (168) */
9381
9602
  interface ArgonPrimitivesNotebookNotebookAuditResult extends Struct {
9382
9603
  readonly notaryId: Compact<u32>;
9383
9604
  readonly notebookNumber: Compact<u32>;
9384
9605
  readonly tick: Compact<u64>;
9385
9606
  readonly auditFirstFailure: Option<ArgonNotaryAuditErrorVerifyError>;
9386
9607
  }
9387
- /** @name PalletDigestsError (172) */
9608
+ /** @name PalletDigestsError (170) */
9388
9609
  interface PalletDigestsError extends Enum {
9389
9610
  readonly isDuplicateBlockVoteDigest: boolean;
9390
9611
  readonly isDuplicateAuthorDigest: boolean;
@@ -9400,7 +9621,7 @@ declare module '@polkadot/types/lookup' {
9400
9621
  readonly isCouldNotDecodeDigest: boolean;
9401
9622
  readonly type: 'DuplicateBlockVoteDigest' | 'DuplicateAuthorDigest' | 'DuplicateTickDigest' | 'DuplicateParentVotingKeyDigest' | 'DuplicateNotebookDigest' | 'DuplicateForkPowerDigest' | 'MissingBlockVoteDigest' | 'MissingAuthorDigest' | 'MissingTickDigest' | 'MissingParentVotingKeyDigest' | 'MissingNotebookDigest' | 'CouldNotDecodeDigest';
9402
9623
  }
9403
- /** @name PalletTimestampCall (173) */
9624
+ /** @name PalletTimestampCall (171) */
9404
9625
  interface PalletTimestampCall extends Enum {
9405
9626
  readonly isSet: boolean;
9406
9627
  readonly asSet: {
@@ -9408,14 +9629,14 @@ declare module '@polkadot/types/lookup' {
9408
9629
  } & Struct;
9409
9630
  readonly type: 'Set';
9410
9631
  }
9411
- /** @name PalletMultisigMultisig (175) */
9632
+ /** @name PalletMultisigMultisig (173) */
9412
9633
  interface PalletMultisigMultisig extends Struct {
9413
9634
  readonly when: PalletMultisigTimepoint;
9414
9635
  readonly deposit: u128;
9415
9636
  readonly depositor: AccountId32;
9416
9637
  readonly approvals: Vec<AccountId32>;
9417
9638
  }
9418
- /** @name PalletMultisigCall (178) */
9639
+ /** @name PalletMultisigCall (176) */
9419
9640
  interface PalletMultisigCall extends Enum {
9420
9641
  readonly isAsMultiThreshold1: boolean;
9421
9642
  readonly asAsMultiThreshold1: {
@@ -9445,9 +9666,15 @@ declare module '@polkadot/types/lookup' {
9445
9666
  readonly timepoint: PalletMultisigTimepoint;
9446
9667
  readonly callHash: U8aFixed;
9447
9668
  } & Struct;
9448
- readonly type: 'AsMultiThreshold1' | 'AsMulti' | 'ApproveAsMulti' | 'CancelAsMulti';
9669
+ readonly isPokeDeposit: boolean;
9670
+ readonly asPokeDeposit: {
9671
+ readonly threshold: u16;
9672
+ readonly otherSignatories: Vec<AccountId32>;
9673
+ readonly callHash: U8aFixed;
9674
+ } & Struct;
9675
+ readonly type: 'AsMultiThreshold1' | 'AsMulti' | 'ApproveAsMulti' | 'CancelAsMulti' | 'PokeDeposit';
9449
9676
  }
9450
- /** @name PalletProxyCall (180) */
9677
+ /** @name PalletProxyCall (178) */
9451
9678
  interface PalletProxyCall extends Enum {
9452
9679
  readonly isProxy: boolean;
9453
9680
  readonly asProxy: {
@@ -9504,16 +9731,16 @@ declare module '@polkadot/types/lookup' {
9504
9731
  readonly forceProxyType: Option<ArgonRuntimeProxyType>;
9505
9732
  readonly call: Call;
9506
9733
  } & Struct;
9507
- readonly type: 'Proxy' | 'AddProxy' | 'RemoveProxy' | 'RemoveProxies' | 'CreatePure' | 'KillPure' | 'Announce' | 'RemoveAnnouncement' | 'RejectAnnouncement' | 'ProxyAnnounced';
9734
+ readonly isPokeDeposit: boolean;
9735
+ readonly type: 'Proxy' | 'AddProxy' | 'RemoveProxy' | 'RemoveProxies' | 'CreatePure' | 'KillPure' | 'Announce' | 'RemoveAnnouncement' | 'RejectAnnouncement' | 'ProxyAnnounced' | 'PokeDeposit';
9508
9736
  }
9509
- /** @name PalletTicksCall (185) */
9737
+ /** @name PalletTicksCall (183) */
9510
9738
  type PalletTicksCall = Null;
9511
- /** @name PalletMiningSlotCall (186) */
9739
+ /** @name PalletMiningSlotCall (184) */
9512
9740
  interface PalletMiningSlotCall extends Enum {
9513
9741
  readonly isBid: boolean;
9514
9742
  readonly asBid: {
9515
9743
  readonly bid: u128;
9516
- readonly rewardDestination: ArgonPrimitivesBlockSealRewardDestination;
9517
9744
  readonly keys_: ArgonRuntimeSessionKeys;
9518
9745
  readonly miningAccountId: Option<AccountId32>;
9519
9746
  } & Struct;
@@ -9524,7 +9751,7 @@ declare module '@polkadot/types/lookup' {
9524
9751
  } & Struct;
9525
9752
  readonly type: 'Bid' | 'ConfigureMiningSlotDelay';
9526
9753
  }
9527
- /** @name PalletBitcoinUtxosCall (187) */
9754
+ /** @name PalletBitcoinUtxosCall (185) */
9528
9755
  interface PalletBitcoinUtxosCall extends Enum {
9529
9756
  readonly isSync: boolean;
9530
9757
  readonly asSync: {
@@ -9541,19 +9768,19 @@ declare module '@polkadot/types/lookup' {
9541
9768
  } & Struct;
9542
9769
  readonly type: 'Sync' | 'SetConfirmedBlock' | 'SetOperator';
9543
9770
  }
9544
- /** @name ArgonPrimitivesInherentsBitcoinUtxoSync (188) */
9771
+ /** @name ArgonPrimitivesInherentsBitcoinUtxoSync (186) */
9545
9772
  interface ArgonPrimitivesInherentsBitcoinUtxoSync extends Struct {
9546
9773
  readonly spent: BTreeMap<u64, u64>;
9547
9774
  readonly verified: BTreeMap<u64, ArgonPrimitivesBitcoinUtxoRef>;
9548
9775
  readonly invalid: BTreeMap<u64, ArgonPrimitivesBitcoinBitcoinRejectedReason>;
9549
9776
  readonly syncToBlock: ArgonPrimitivesBitcoinBitcoinBlock;
9550
9777
  }
9551
- /** @name ArgonPrimitivesBitcoinBitcoinBlock (198) */
9778
+ /** @name ArgonPrimitivesBitcoinBitcoinBlock (196) */
9552
9779
  interface ArgonPrimitivesBitcoinBitcoinBlock extends Struct {
9553
9780
  readonly blockHeight: Compact<u64>;
9554
9781
  readonly blockHash: ArgonPrimitivesBitcoinH256Le;
9555
9782
  }
9556
- /** @name PalletVaultsCall (199) */
9783
+ /** @name PalletVaultsCall (197) */
9557
9784
  interface PalletVaultsCall extends Enum {
9558
9785
  readonly isCreate: boolean;
9559
9786
  readonly asCreate: {
@@ -9581,23 +9808,23 @@ declare module '@polkadot/types/lookup' {
9581
9808
  } & Struct;
9582
9809
  readonly type: 'Create' | 'ModifyFunding' | 'ModifyTerms' | 'Close' | 'ReplaceBitcoinXpub';
9583
9810
  }
9584
- /** @name PalletVaultsVaultConfig (200) */
9811
+ /** @name PalletVaultsVaultConfig (198) */
9585
9812
  interface PalletVaultsVaultConfig extends Struct {
9586
9813
  readonly terms: ArgonPrimitivesVaultVaultTerms;
9587
9814
  readonly securitization: Compact<u128>;
9588
9815
  readonly bitcoinXpubkey: ArgonPrimitivesBitcoinOpaqueBitcoinXpub;
9589
9816
  readonly securitizationRatio: Compact<u128>;
9590
9817
  }
9591
- /** @name ArgonPrimitivesVaultVaultTerms (201) */
9818
+ /** @name ArgonPrimitivesVaultVaultTerms (199) */
9592
9819
  interface ArgonPrimitivesVaultVaultTerms extends Struct {
9593
9820
  readonly bitcoinAnnualPercentRate: Compact<u128>;
9594
9821
  readonly bitcoinBaseFee: Compact<u128>;
9595
9822
  readonly liquidityPoolProfitSharing: Compact<Permill>;
9596
9823
  }
9597
- /** @name ArgonPrimitivesBitcoinOpaqueBitcoinXpub (205) */
9824
+ /** @name ArgonPrimitivesBitcoinOpaqueBitcoinXpub (203) */
9598
9825
  interface ArgonPrimitivesBitcoinOpaqueBitcoinXpub extends U8aFixed {
9599
9826
  }
9600
- /** @name PalletBitcoinLocksCall (207) */
9827
+ /** @name PalletBitcoinLocksCall (205) */
9601
9828
  interface PalletBitcoinLocksCall extends Enum {
9602
9829
  readonly isInitialize: boolean;
9603
9830
  readonly asInitialize: {
@@ -9616,16 +9843,20 @@ declare module '@polkadot/types/lookup' {
9616
9843
  readonly utxoId: u64;
9617
9844
  readonly signature: Bytes;
9618
9845
  } & Struct;
9846
+ readonly isRatchet: boolean;
9847
+ readonly asRatchet: {
9848
+ readonly utxoId: u64;
9849
+ } & Struct;
9619
9850
  readonly isAdminModifyMinimumLockedSats: boolean;
9620
9851
  readonly asAdminModifyMinimumLockedSats: {
9621
9852
  readonly satoshis: u64;
9622
9853
  } & Struct;
9623
- readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'AdminModifyMinimumLockedSats';
9854
+ readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'Ratchet' | 'AdminModifyMinimumLockedSats';
9624
9855
  }
9625
- /** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (208) */
9856
+ /** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (206) */
9626
9857
  interface ArgonPrimitivesBitcoinCompressedBitcoinPubkey extends U8aFixed {
9627
9858
  }
9628
- /** @name PalletNotariesCall (212) */
9859
+ /** @name PalletNotariesCall (210) */
9629
9860
  interface PalletNotariesCall extends Enum {
9630
9861
  readonly isPropose: boolean;
9631
9862
  readonly asPropose: {
@@ -9643,7 +9874,7 @@ declare module '@polkadot/types/lookup' {
9643
9874
  } & Struct;
9644
9875
  readonly type: 'Propose' | 'Activate' | 'Update';
9645
9876
  }
9646
- /** @name PalletNotebookCall (213) */
9877
+ /** @name PalletNotebookCall (211) */
9647
9878
  interface PalletNotebookCall extends Enum {
9648
9879
  readonly isSubmit: boolean;
9649
9880
  readonly asSubmit: {
@@ -9655,12 +9886,12 @@ declare module '@polkadot/types/lookup' {
9655
9886
  } & Struct;
9656
9887
  readonly type: 'Submit' | 'Unlock';
9657
9888
  }
9658
- /** @name ArgonPrimitivesNotebookSignedNotebookHeader (215) */
9889
+ /** @name ArgonPrimitivesNotebookSignedNotebookHeader (213) */
9659
9890
  interface ArgonPrimitivesNotebookSignedNotebookHeader extends Struct {
9660
9891
  readonly header: ArgonPrimitivesNotebookNotebookHeader;
9661
9892
  readonly signature: U8aFixed;
9662
9893
  }
9663
- /** @name ArgonPrimitivesNotebookNotebookHeader (216) */
9894
+ /** @name ArgonPrimitivesNotebookNotebookHeader (214) */
9664
9895
  interface ArgonPrimitivesNotebookNotebookHeader extends Struct {
9665
9896
  readonly version: Compact<u16>;
9666
9897
  readonly notebookNumber: Compact<u32>;
@@ -9678,7 +9909,7 @@ declare module '@polkadot/types/lookup' {
9678
9909
  readonly parentSecret: Option<H256>;
9679
9910
  readonly domains: Vec<ITuple<[H256, AccountId32]>>;
9680
9911
  }
9681
- /** @name ArgonPrimitivesNotebookChainTransfer (219) */
9912
+ /** @name ArgonPrimitivesNotebookChainTransfer (217) */
9682
9913
  interface ArgonPrimitivesNotebookChainTransfer extends Enum {
9683
9914
  readonly isToMainchain: boolean;
9684
9915
  readonly asToMainchain: {
@@ -9691,12 +9922,12 @@ declare module '@polkadot/types/lookup' {
9691
9922
  } & Struct;
9692
9923
  readonly type: 'ToMainchain' | 'ToLocalchain';
9693
9924
  }
9694
- /** @name ArgonPrimitivesBalanceChangeAccountOrigin (222) */
9925
+ /** @name ArgonPrimitivesBalanceChangeAccountOrigin (220) */
9695
9926
  interface ArgonPrimitivesBalanceChangeAccountOrigin extends Struct {
9696
9927
  readonly notebookNumber: Compact<u32>;
9697
9928
  readonly accountUid: Compact<u32>;
9698
9929
  }
9699
- /** @name PalletChainTransferCall (229) */
9930
+ /** @name PalletChainTransferCall (227) */
9700
9931
  interface PalletChainTransferCall extends Enum {
9701
9932
  readonly isSendToLocalchain: boolean;
9702
9933
  readonly asSendToLocalchain: {
@@ -9705,7 +9936,7 @@ declare module '@polkadot/types/lookup' {
9705
9936
  } & Struct;
9706
9937
  readonly type: 'SendToLocalchain';
9707
9938
  }
9708
- /** @name PalletBlockSealSpecCall (230) */
9939
+ /** @name PalletBlockSealSpecCall (228) */
9709
9940
  interface PalletBlockSealSpecCall extends Enum {
9710
9941
  readonly isConfigure: boolean;
9711
9942
  readonly asConfigure: {
@@ -9714,7 +9945,7 @@ declare module '@polkadot/types/lookup' {
9714
9945
  } & Struct;
9715
9946
  readonly type: 'Configure';
9716
9947
  }
9717
- /** @name PalletDomainsCall (231) */
9948
+ /** @name PalletDomainsCall (229) */
9718
9949
  interface PalletDomainsCall extends Enum {
9719
9950
  readonly isSetZoneRecord: boolean;
9720
9951
  readonly asSetZoneRecord: {
@@ -9723,7 +9954,7 @@ declare module '@polkadot/types/lookup' {
9723
9954
  } & Struct;
9724
9955
  readonly type: 'SetZoneRecord';
9725
9956
  }
9726
- /** @name PalletPriceIndexCall (232) */
9957
+ /** @name PalletPriceIndexCall (230) */
9727
9958
  interface PalletPriceIndexCall extends Enum {
9728
9959
  readonly isSubmit: boolean;
9729
9960
  readonly asSubmit: {
@@ -9735,7 +9966,7 @@ declare module '@polkadot/types/lookup' {
9735
9966
  } & Struct;
9736
9967
  readonly type: 'Submit' | 'SetOperator';
9737
9968
  }
9738
- /** @name PalletPriceIndexPriceIndex (233) */
9969
+ /** @name PalletPriceIndexPriceIndex (231) */
9739
9970
  interface PalletPriceIndexPriceIndex extends Struct {
9740
9971
  readonly btcUsdPrice: Compact<u128>;
9741
9972
  readonly argonotUsdPrice: u128;
@@ -9744,7 +9975,7 @@ declare module '@polkadot/types/lookup' {
9744
9975
  readonly argonTimeWeightedAverageLiquidity: u128;
9745
9976
  readonly tick: Compact<u64>;
9746
9977
  }
9747
- /** @name PalletGrandpaCall (234) */
9978
+ /** @name PalletGrandpaCall (232) */
9748
9979
  interface PalletGrandpaCall extends Enum {
9749
9980
  readonly isReportEquivocation: boolean;
9750
9981
  readonly asReportEquivocation: {
@@ -9763,12 +9994,12 @@ declare module '@polkadot/types/lookup' {
9763
9994
  } & Struct;
9764
9995
  readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled';
9765
9996
  }
9766
- /** @name SpConsensusGrandpaEquivocationProof (235) */
9997
+ /** @name SpConsensusGrandpaEquivocationProof (233) */
9767
9998
  interface SpConsensusGrandpaEquivocationProof extends Struct {
9768
9999
  readonly setId: u64;
9769
10000
  readonly equivocation: SpConsensusGrandpaEquivocation;
9770
10001
  }
9771
- /** @name SpConsensusGrandpaEquivocation (236) */
10002
+ /** @name SpConsensusGrandpaEquivocation (234) */
9772
10003
  interface SpConsensusGrandpaEquivocation extends Enum {
9773
10004
  readonly isPrevote: boolean;
9774
10005
  readonly asPrevote: FinalityGrandpaEquivocationPrevote;
@@ -9776,7 +10007,7 @@ declare module '@polkadot/types/lookup' {
9776
10007
  readonly asPrecommit: FinalityGrandpaEquivocationPrecommit;
9777
10008
  readonly type: 'Prevote' | 'Precommit';
9778
10009
  }
9779
- /** @name FinalityGrandpaEquivocationPrevote (237) */
10010
+ /** @name FinalityGrandpaEquivocationPrevote (235) */
9780
10011
  interface FinalityGrandpaEquivocationPrevote extends Struct {
9781
10012
  readonly roundNumber: u64;
9782
10013
  readonly identity: SpConsensusGrandpaAppPublic;
@@ -9789,15 +10020,15 @@ declare module '@polkadot/types/lookup' {
9789
10020
  SpConsensusGrandpaAppSignature
9790
10021
  ]>;
9791
10022
  }
9792
- /** @name FinalityGrandpaPrevote (238) */
10023
+ /** @name FinalityGrandpaPrevote (236) */
9793
10024
  interface FinalityGrandpaPrevote extends Struct {
9794
10025
  readonly targetHash: H256;
9795
10026
  readonly targetNumber: u32;
9796
10027
  }
9797
- /** @name SpConsensusGrandpaAppSignature (239) */
10028
+ /** @name SpConsensusGrandpaAppSignature (237) */
9798
10029
  interface SpConsensusGrandpaAppSignature extends U8aFixed {
9799
10030
  }
9800
- /** @name FinalityGrandpaEquivocationPrecommit (241) */
10031
+ /** @name FinalityGrandpaEquivocationPrecommit (239) */
9801
10032
  interface FinalityGrandpaEquivocationPrecommit extends Struct {
9802
10033
  readonly roundNumber: u64;
9803
10034
  readonly identity: SpConsensusGrandpaAppPublic;
@@ -9810,14 +10041,14 @@ declare module '@polkadot/types/lookup' {
9810
10041
  SpConsensusGrandpaAppSignature
9811
10042
  ]>;
9812
10043
  }
9813
- /** @name FinalityGrandpaPrecommit (242) */
10044
+ /** @name FinalityGrandpaPrecommit (240) */
9814
10045
  interface FinalityGrandpaPrecommit extends Struct {
9815
10046
  readonly targetHash: H256;
9816
10047
  readonly targetNumber: u32;
9817
10048
  }
9818
- /** @name SpCoreVoid (244) */
10049
+ /** @name SpCoreVoid (242) */
9819
10050
  type SpCoreVoid = Null;
9820
- /** @name PalletBlockSealCall (245) */
10051
+ /** @name PalletBlockSealCall (243) */
9821
10052
  interface PalletBlockSealCall extends Enum {
9822
10053
  readonly isApply: boolean;
9823
10054
  readonly asApply: {
@@ -9825,7 +10056,7 @@ declare module '@polkadot/types/lookup' {
9825
10056
  } & Struct;
9826
10057
  readonly type: 'Apply';
9827
10058
  }
9828
- /** @name ArgonPrimitivesInherentsBlockSealInherent (246) */
10059
+ /** @name ArgonPrimitivesInherentsBlockSealInherent (244) */
9829
10060
  interface ArgonPrimitivesInherentsBlockSealInherent extends Enum {
9830
10061
  readonly isVote: boolean;
9831
10062
  readonly asVote: {
@@ -9838,13 +10069,13 @@ declare module '@polkadot/types/lookup' {
9838
10069
  readonly isCompute: boolean;
9839
10070
  readonly type: 'Vote' | 'Compute';
9840
10071
  }
9841
- /** @name ArgonPrimitivesBalanceChangeMerkleProof (247) */
10072
+ /** @name ArgonPrimitivesBalanceChangeMerkleProof (245) */
9842
10073
  interface ArgonPrimitivesBalanceChangeMerkleProof extends Struct {
9843
10074
  readonly proof: Vec<H256>;
9844
10075
  readonly numberOfLeaves: Compact<u32>;
9845
10076
  readonly leafIndex: Compact<u32>;
9846
10077
  }
9847
- /** @name ArgonPrimitivesBlockVoteBlockVoteT (249) */
10078
+ /** @name ArgonPrimitivesBlockVoteBlockVoteT (247) */
9848
10079
  interface ArgonPrimitivesBlockVoteBlockVoteT extends Struct {
9849
10080
  readonly accountId: AccountId32;
9850
10081
  readonly blockHash: H256;
@@ -9854,7 +10085,7 @@ declare module '@polkadot/types/lookup' {
9854
10085
  readonly blockRewardsAccountId: AccountId32;
9855
10086
  readonly tick: Compact<u64>;
9856
10087
  }
9857
- /** @name SpRuntimeMultiSignature (250) */
10088
+ /** @name SpRuntimeMultiSignature (248) */
9858
10089
  interface SpRuntimeMultiSignature extends Enum {
9859
10090
  readonly isEd25519: boolean;
9860
10091
  readonly asEd25519: U8aFixed;
@@ -9864,7 +10095,7 @@ declare module '@polkadot/types/lookup' {
9864
10095
  readonly asEcdsa: U8aFixed;
9865
10096
  readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
9866
10097
  }
9867
- /** @name PalletBlockRewardsCall (252) */
10098
+ /** @name PalletBlockRewardsCall (250) */
9868
10099
  interface PalletBlockRewardsCall extends Enum {
9869
10100
  readonly isSetBlockRewardsPaused: boolean;
9870
10101
  readonly asSetBlockRewardsPaused: {
@@ -9872,9 +10103,9 @@ declare module '@polkadot/types/lookup' {
9872
10103
  } & Struct;
9873
10104
  readonly type: 'SetBlockRewardsPaused';
9874
10105
  }
9875
- /** @name PalletMintCall (253) */
10106
+ /** @name PalletMintCall (251) */
9876
10107
  type PalletMintCall = Null;
9877
- /** @name PalletBalancesCall (254) */
10108
+ /** @name PalletBalancesCall (252) */
9878
10109
  interface PalletBalancesCall extends Enum {
9879
10110
  readonly isTransferAllowDeath: boolean;
9880
10111
  readonly asTransferAllowDeath: {
@@ -9923,13 +10154,13 @@ declare module '@polkadot/types/lookup' {
9923
10154
  } & Struct;
9924
10155
  readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance' | 'Burn';
9925
10156
  }
9926
- /** @name PalletBalancesAdjustmentDirection (255) */
10157
+ /** @name PalletBalancesAdjustmentDirection (253) */
9927
10158
  interface PalletBalancesAdjustmentDirection extends Enum {
9928
10159
  readonly isIncrease: boolean;
9929
10160
  readonly isDecrease: boolean;
9930
10161
  readonly type: 'Increase' | 'Decrease';
9931
10162
  }
9932
- /** @name PalletTxPauseCall (257) */
10163
+ /** @name PalletTxPauseCall (255) */
9933
10164
  interface PalletTxPauseCall extends Enum {
9934
10165
  readonly isPause: boolean;
9935
10166
  readonly asPause: {
@@ -9941,7 +10172,7 @@ declare module '@polkadot/types/lookup' {
9941
10172
  } & Struct;
9942
10173
  readonly type: 'Pause' | 'Unpause';
9943
10174
  }
9944
- /** @name PalletUtilityCall (258) */
10175
+ /** @name PalletUtilityCall (256) */
9945
10176
  interface PalletUtilityCall extends Enum {
9946
10177
  readonly isBatch: boolean;
9947
10178
  readonly asBatch: {
@@ -9970,9 +10201,19 @@ declare module '@polkadot/types/lookup' {
9970
10201
  readonly call: Call;
9971
10202
  readonly weight: SpWeightsWeightV2Weight;
9972
10203
  } & Struct;
9973
- readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight';
10204
+ readonly isIfElse: boolean;
10205
+ readonly asIfElse: {
10206
+ readonly main: Call;
10207
+ readonly fallback: Call;
10208
+ } & Struct;
10209
+ readonly isDispatchAsFallible: boolean;
10210
+ readonly asDispatchAsFallible: {
10211
+ readonly asOrigin: ArgonRuntimeOriginCaller;
10212
+ readonly call: Call;
10213
+ } & Struct;
10214
+ readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight' | 'IfElse' | 'DispatchAsFallible';
9974
10215
  }
9975
- /** @name PalletSudoCall (260) */
10216
+ /** @name PalletSudoCall (258) */
9976
10217
  interface PalletSudoCall extends Enum {
9977
10218
  readonly isSudo: boolean;
9978
10219
  readonly asSudo: {
@@ -9995,7 +10236,7 @@ declare module '@polkadot/types/lookup' {
9995
10236
  readonly isRemoveKey: boolean;
9996
10237
  readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs' | 'RemoveKey';
9997
10238
  }
9998
- /** @name PalletIsmpCall (261) */
10239
+ /** @name PalletIsmpCall (259) */
9999
10240
  interface PalletIsmpCall extends Enum {
10000
10241
  readonly isHandleUnsigned: boolean;
10001
10242
  readonly asHandleUnsigned: {
@@ -10015,7 +10256,7 @@ declare module '@polkadot/types/lookup' {
10015
10256
  } & Struct;
10016
10257
  readonly type: 'HandleUnsigned' | 'CreateConsensusClient' | 'UpdateConsensusState' | 'FundMessage';
10017
10258
  }
10018
- /** @name IsmpMessagingMessage (263) */
10259
+ /** @name IsmpMessagingMessage (261) */
10019
10260
  interface IsmpMessagingMessage extends Enum {
10020
10261
  readonly isConsensus: boolean;
10021
10262
  readonly asConsensus: IsmpMessagingConsensusMessage;
@@ -10029,26 +10270,26 @@ declare module '@polkadot/types/lookup' {
10029
10270
  readonly asTimeout: IsmpMessagingTimeoutMessage;
10030
10271
  readonly type: 'Consensus' | 'FraudProof' | 'Request' | 'Response' | 'Timeout';
10031
10272
  }
10032
- /** @name IsmpMessagingConsensusMessage (264) */
10273
+ /** @name IsmpMessagingConsensusMessage (262) */
10033
10274
  interface IsmpMessagingConsensusMessage extends Struct {
10034
10275
  readonly consensusProof: Bytes;
10035
10276
  readonly consensusStateId: U8aFixed;
10036
10277
  readonly signer: Bytes;
10037
10278
  }
10038
- /** @name IsmpMessagingFraudProofMessage (265) */
10279
+ /** @name IsmpMessagingFraudProofMessage (263) */
10039
10280
  interface IsmpMessagingFraudProofMessage extends Struct {
10040
10281
  readonly proof1: Bytes;
10041
10282
  readonly proof2: Bytes;
10042
10283
  readonly consensusStateId: U8aFixed;
10043
10284
  readonly signer: Bytes;
10044
10285
  }
10045
- /** @name IsmpMessagingRequestMessage (266) */
10286
+ /** @name IsmpMessagingRequestMessage (264) */
10046
10287
  interface IsmpMessagingRequestMessage extends Struct {
10047
10288
  readonly requests: Vec<IsmpRouterPostRequest>;
10048
10289
  readonly proof: IsmpMessagingProof;
10049
10290
  readonly signer: Bytes;
10050
10291
  }
10051
- /** @name IsmpRouterPostRequest (268) */
10292
+ /** @name IsmpRouterPostRequest (266) */
10052
10293
  interface IsmpRouterPostRequest extends Struct {
10053
10294
  readonly source: IsmpHostStateMachine;
10054
10295
  readonly dest: IsmpHostStateMachine;
@@ -10058,18 +10299,18 @@ declare module '@polkadot/types/lookup' {
10058
10299
  readonly timeoutTimestamp: u64;
10059
10300
  readonly body: Bytes;
10060
10301
  }
10061
- /** @name IsmpMessagingProof (269) */
10302
+ /** @name IsmpMessagingProof (267) */
10062
10303
  interface IsmpMessagingProof extends Struct {
10063
10304
  readonly height: IsmpConsensusStateMachineHeight;
10064
10305
  readonly proof: Bytes;
10065
10306
  }
10066
- /** @name IsmpMessagingResponseMessage (270) */
10307
+ /** @name IsmpMessagingResponseMessage (268) */
10067
10308
  interface IsmpMessagingResponseMessage extends Struct {
10068
10309
  readonly datagram: IsmpRouterRequestResponse;
10069
10310
  readonly proof: IsmpMessagingProof;
10070
10311
  readonly signer: Bytes;
10071
10312
  }
10072
- /** @name IsmpRouterRequestResponse (271) */
10313
+ /** @name IsmpRouterRequestResponse (269) */
10073
10314
  interface IsmpRouterRequestResponse extends Enum {
10074
10315
  readonly isRequest: boolean;
10075
10316
  readonly asRequest: Vec<IsmpRouterRequest>;
@@ -10077,7 +10318,7 @@ declare module '@polkadot/types/lookup' {
10077
10318
  readonly asResponse: Vec<IsmpRouterResponse>;
10078
10319
  readonly type: 'Request' | 'Response';
10079
10320
  }
10080
- /** @name IsmpRouterRequest (273) */
10321
+ /** @name IsmpRouterRequest (271) */
10081
10322
  interface IsmpRouterRequest extends Enum {
10082
10323
  readonly isPost: boolean;
10083
10324
  readonly asPost: IsmpRouterPostRequest;
@@ -10085,7 +10326,7 @@ declare module '@polkadot/types/lookup' {
10085
10326
  readonly asGet: IsmpRouterGetRequest;
10086
10327
  readonly type: 'Post' | 'Get';
10087
10328
  }
10088
- /** @name IsmpRouterGetRequest (274) */
10329
+ /** @name IsmpRouterGetRequest (272) */
10089
10330
  interface IsmpRouterGetRequest extends Struct {
10090
10331
  readonly source: IsmpHostStateMachine;
10091
10332
  readonly dest: IsmpHostStateMachine;
@@ -10096,7 +10337,7 @@ declare module '@polkadot/types/lookup' {
10096
10337
  readonly context: Bytes;
10097
10338
  readonly timeoutTimestamp: u64;
10098
10339
  }
10099
- /** @name IsmpRouterResponse (276) */
10340
+ /** @name IsmpRouterResponse (274) */
10100
10341
  interface IsmpRouterResponse extends Enum {
10101
10342
  readonly isPost: boolean;
10102
10343
  readonly asPost: IsmpRouterPostResponse;
@@ -10104,23 +10345,23 @@ declare module '@polkadot/types/lookup' {
10104
10345
  readonly asGet: IsmpRouterGetResponse;
10105
10346
  readonly type: 'Post' | 'Get';
10106
10347
  }
10107
- /** @name IsmpRouterPostResponse (277) */
10348
+ /** @name IsmpRouterPostResponse (275) */
10108
10349
  interface IsmpRouterPostResponse extends Struct {
10109
10350
  readonly post: IsmpRouterPostRequest;
10110
10351
  readonly response: Bytes;
10111
10352
  readonly timeoutTimestamp: u64;
10112
10353
  }
10113
- /** @name IsmpRouterGetResponse (278) */
10354
+ /** @name IsmpRouterGetResponse (276) */
10114
10355
  interface IsmpRouterGetResponse extends Struct {
10115
10356
  readonly get_: IsmpRouterGetRequest;
10116
10357
  readonly values_: Vec<IsmpRouterStorageValue>;
10117
10358
  }
10118
- /** @name IsmpRouterStorageValue (280) */
10359
+ /** @name IsmpRouterStorageValue (278) */
10119
10360
  interface IsmpRouterStorageValue extends Struct {
10120
10361
  readonly key: Bytes;
10121
10362
  readonly value: Option<Bytes>;
10122
10363
  }
10123
- /** @name IsmpMessagingTimeoutMessage (282) */
10364
+ /** @name IsmpMessagingTimeoutMessage (280) */
10124
10365
  interface IsmpMessagingTimeoutMessage extends Enum {
10125
10366
  readonly isPost: boolean;
10126
10367
  readonly asPost: {
@@ -10138,7 +10379,7 @@ declare module '@polkadot/types/lookup' {
10138
10379
  } & Struct;
10139
10380
  readonly type: 'Post' | 'PostResponse' | 'Get';
10140
10381
  }
10141
- /** @name IsmpMessagingCreateConsensusState (284) */
10382
+ /** @name IsmpMessagingCreateConsensusState (282) */
10142
10383
  interface IsmpMessagingCreateConsensusState extends Struct {
10143
10384
  readonly consensusState: Bytes;
10144
10385
  readonly consensusClientId: U8aFixed;
@@ -10147,29 +10388,29 @@ declare module '@polkadot/types/lookup' {
10147
10388
  readonly challengePeriods: BTreeMap<IsmpHostStateMachine, u64>;
10148
10389
  readonly stateMachineCommitments: Vec<ITuple<[IsmpConsensusStateMachineId, IsmpMessagingStateCommitmentHeight]>>;
10149
10390
  }
10150
- /** @name IsmpMessagingStateCommitmentHeight (290) */
10391
+ /** @name IsmpMessagingStateCommitmentHeight (288) */
10151
10392
  interface IsmpMessagingStateCommitmentHeight extends Struct {
10152
10393
  readonly commitment: IsmpConsensusStateCommitment;
10153
10394
  readonly height: u64;
10154
10395
  }
10155
- /** @name IsmpConsensusStateCommitment (291) */
10396
+ /** @name IsmpConsensusStateCommitment (289) */
10156
10397
  interface IsmpConsensusStateCommitment extends Struct {
10157
10398
  readonly timestamp: u64;
10158
10399
  readonly overlayRoot: Option<H256>;
10159
10400
  readonly stateRoot: H256;
10160
10401
  }
10161
- /** @name PalletIsmpUtilsUpdateConsensusState (292) */
10402
+ /** @name PalletIsmpUtilsUpdateConsensusState (290) */
10162
10403
  interface PalletIsmpUtilsUpdateConsensusState extends Struct {
10163
10404
  readonly consensusStateId: U8aFixed;
10164
10405
  readonly unbondingPeriod: Option<u64>;
10165
10406
  readonly challengePeriods: BTreeMap<IsmpHostStateMachine, u64>;
10166
10407
  }
10167
- /** @name PalletIsmpUtilsFundMessageParams (293) */
10408
+ /** @name PalletIsmpUtilsFundMessageParams (291) */
10168
10409
  interface PalletIsmpUtilsFundMessageParams extends Struct {
10169
10410
  readonly commitment: PalletIsmpUtilsMessageCommitment;
10170
10411
  readonly amount: u128;
10171
10412
  }
10172
- /** @name PalletIsmpUtilsMessageCommitment (294) */
10413
+ /** @name PalletIsmpUtilsMessageCommitment (292) */
10173
10414
  interface PalletIsmpUtilsMessageCommitment extends Enum {
10174
10415
  readonly isRequest: boolean;
10175
10416
  readonly asRequest: H256;
@@ -10177,7 +10418,7 @@ declare module '@polkadot/types/lookup' {
10177
10418
  readonly asResponse: H256;
10178
10419
  readonly type: 'Request' | 'Response';
10179
10420
  }
10180
- /** @name IsmpGrandpaCall (295) */
10421
+ /** @name IsmpGrandpaCall (293) */
10181
10422
  interface IsmpGrandpaCall extends Enum {
10182
10423
  readonly isAddStateMachines: boolean;
10183
10424
  readonly asAddStateMachines: {
@@ -10189,12 +10430,12 @@ declare module '@polkadot/types/lookup' {
10189
10430
  } & Struct;
10190
10431
  readonly type: 'AddStateMachines' | 'RemoveStateMachines';
10191
10432
  }
10192
- /** @name IsmpGrandpaAddStateMachine (297) */
10433
+ /** @name IsmpGrandpaAddStateMachine (295) */
10193
10434
  interface IsmpGrandpaAddStateMachine extends Struct {
10194
10435
  readonly stateMachine: IsmpHostStateMachine;
10195
10436
  readonly slotDuration: u64;
10196
10437
  }
10197
- /** @name PalletTokenGatewayCall (298) */
10438
+ /** @name PalletTokenGatewayCall (296) */
10198
10439
  interface PalletTokenGatewayCall extends Enum {
10199
10440
  readonly isTeleport: boolean;
10200
10441
  readonly asTeleport: {
@@ -10218,7 +10459,7 @@ declare module '@polkadot/types/lookup' {
10218
10459
  } & Struct;
10219
10460
  readonly type: 'Teleport' | 'SetTokenGatewayAddresses' | 'CreateErc6160Asset' | 'UpdateErc6160Asset' | 'UpdateAssetPrecision';
10220
10461
  }
10221
- /** @name PalletTokenGatewayTeleportParams (299) */
10462
+ /** @name PalletTokenGatewayTeleportParams (297) */
10222
10463
  interface PalletTokenGatewayTeleportParams extends Struct {
10223
10464
  readonly assetId: u32;
10224
10465
  readonly destination: IsmpHostStateMachine;
@@ -10230,33 +10471,33 @@ declare module '@polkadot/types/lookup' {
10230
10471
  readonly callData: Option<Bytes>;
10231
10472
  readonly redeem: bool;
10232
10473
  }
10233
- /** @name PalletTokenGatewayAssetRegistration (303) */
10474
+ /** @name PalletTokenGatewayAssetRegistration (301) */
10234
10475
  interface PalletTokenGatewayAssetRegistration extends Struct {
10235
10476
  readonly localId: u32;
10236
10477
  readonly reg: TokenGatewayPrimitivesGatewayAssetRegistration;
10237
10478
  readonly native: bool;
10238
10479
  readonly precision: BTreeMap<IsmpHostStateMachine, u8>;
10239
10480
  }
10240
- /** @name TokenGatewayPrimitivesGatewayAssetRegistration (304) */
10481
+ /** @name TokenGatewayPrimitivesGatewayAssetRegistration (302) */
10241
10482
  interface TokenGatewayPrimitivesGatewayAssetRegistration extends Struct {
10242
10483
  readonly name: Bytes;
10243
10484
  readonly symbol: Bytes;
10244
10485
  readonly chains: Vec<IsmpHostStateMachine>;
10245
10486
  readonly minimumBalance: Option<u128>;
10246
10487
  }
10247
- /** @name TokenGatewayPrimitivesGatewayAssetUpdate (309) */
10488
+ /** @name TokenGatewayPrimitivesGatewayAssetUpdate (307) */
10248
10489
  interface TokenGatewayPrimitivesGatewayAssetUpdate extends Struct {
10249
10490
  readonly assetId: H256;
10250
10491
  readonly addChains: Vec<IsmpHostStateMachine>;
10251
10492
  readonly removeChains: Vec<IsmpHostStateMachine>;
10252
10493
  readonly newAdmins: Vec<ITuple<[IsmpHostStateMachine, H160]>>;
10253
10494
  }
10254
- /** @name PalletTokenGatewayPrecisionUpdate (315) */
10495
+ /** @name PalletTokenGatewayPrecisionUpdate (313) */
10255
10496
  interface PalletTokenGatewayPrecisionUpdate extends Struct {
10256
10497
  readonly assetId: u32;
10257
10498
  readonly precisions: BTreeMap<IsmpHostStateMachine, u8>;
10258
10499
  }
10259
- /** @name PalletLiquidityPoolsCall (316) */
10500
+ /** @name PalletLiquidityPoolsCall (314) */
10260
10501
  interface PalletLiquidityPoolsCall extends Enum {
10261
10502
  readonly isBondArgons: boolean;
10262
10503
  readonly asBondArgons: {
@@ -10266,11 +10507,11 @@ declare module '@polkadot/types/lookup' {
10266
10507
  readonly isUnbondArgons: boolean;
10267
10508
  readonly asUnbondArgons: {
10268
10509
  readonly vaultId: u32;
10269
- readonly cohortId: u64;
10510
+ readonly frameId: u64;
10270
10511
  } & Struct;
10271
10512
  readonly type: 'BondArgons' | 'UnbondArgons';
10272
10513
  }
10273
- /** @name PalletMultisigError (318) */
10514
+ /** @name PalletMultisigError (316) */
10274
10515
  interface PalletMultisigError extends Enum {
10275
10516
  readonly isMinimumThreshold: boolean;
10276
10517
  readonly isAlreadyApproved: boolean;
@@ -10288,19 +10529,19 @@ declare module '@polkadot/types/lookup' {
10288
10529
  readonly isAlreadyStored: boolean;
10289
10530
  readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored';
10290
10531
  }
10291
- /** @name PalletProxyProxyDefinition (321) */
10532
+ /** @name PalletProxyProxyDefinition (319) */
10292
10533
  interface PalletProxyProxyDefinition extends Struct {
10293
10534
  readonly delegate: AccountId32;
10294
10535
  readonly proxyType: ArgonRuntimeProxyType;
10295
10536
  readonly delay: u32;
10296
10537
  }
10297
- /** @name PalletProxyAnnouncement (325) */
10538
+ /** @name PalletProxyAnnouncement (323) */
10298
10539
  interface PalletProxyAnnouncement extends Struct {
10299
10540
  readonly real: AccountId32;
10300
10541
  readonly callHash: H256;
10301
10542
  readonly height: u32;
10302
10543
  }
10303
- /** @name PalletProxyError (327) */
10544
+ /** @name PalletProxyError (325) */
10304
10545
  interface PalletProxyError extends Enum {
10305
10546
  readonly isTooMany: boolean;
10306
10547
  readonly isNotFound: boolean;
@@ -10312,52 +10553,40 @@ declare module '@polkadot/types/lookup' {
10312
10553
  readonly isNoSelfProxy: boolean;
10313
10554
  readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy';
10314
10555
  }
10315
- /** @name ArgonPrimitivesTickTicker (328) */
10556
+ /** @name ArgonPrimitivesTickTicker (326) */
10316
10557
  interface ArgonPrimitivesTickTicker extends Struct {
10317
10558
  readonly tickDurationMillis: Compact<u64>;
10318
10559
  readonly channelHoldExpirationTicks: Compact<u64>;
10319
10560
  }
10320
- /** @name PalletTicksError (330) */
10561
+ /** @name PalletTicksError (328) */
10321
10562
  type PalletTicksError = Null;
10322
- /** @name ArgonPrimitivesBlockSealMiningBidStats (340) */
10563
+ /** @name ArgonPrimitivesBlockSealMiningBidStats (341) */
10323
10564
  interface ArgonPrimitivesBlockSealMiningBidStats extends Struct {
10324
10565
  readonly bidsCount: u32;
10325
10566
  readonly bidAmountMin: u128;
10326
10567
  readonly bidAmountMax: u128;
10327
10568
  readonly bidAmountSum: u128;
10328
10569
  }
10329
- /** @name ArgonPrimitivesBlockSealMiningSlotConfig (342) */
10570
+ /** @name ArgonPrimitivesBlockSealMiningSlotConfig (345) */
10330
10571
  interface ArgonPrimitivesBlockSealMiningSlotConfig extends Struct {
10331
10572
  readonly ticksBeforeBidEndForVrfClose: Compact<u64>;
10332
10573
  readonly ticksBetweenSlots: Compact<u64>;
10333
10574
  readonly slotBiddingStartAfterTicks: Compact<u64>;
10334
10575
  }
10335
- /** @name PalletMiningSlotError (346) */
10576
+ /** @name PalletMiningSlotError (349) */
10336
10577
  interface PalletMiningSlotError extends Enum {
10337
10578
  readonly isSlotNotTakingBids: boolean;
10338
10579
  readonly isTooManyBlockRegistrants: boolean;
10339
10580
  readonly isInsufficientOwnershipTokens: boolean;
10340
10581
  readonly isBidTooLow: boolean;
10341
10582
  readonly isCannotRegisterOverlappingSessions: boolean;
10342
- readonly isObligationNotFound: boolean;
10343
- readonly isNoMoreObligationIds: boolean;
10344
- readonly isVaultClosed: boolean;
10345
- readonly isMinimumObligationAmountNotMet: boolean;
10346
- readonly isExpirationAtBlockOverflow: boolean;
10347
10583
  readonly isInsufficientFunds: boolean;
10348
- readonly isInsufficientVaultFunds: boolean;
10349
- readonly isNoPermissions: boolean;
10350
- readonly isHoldUnexpectedlyModified: boolean;
10351
- readonly isUnrecoverableHold: boolean;
10352
- readonly isVaultNotFound: boolean;
10353
- readonly isAccountWouldBeBelowMinimum: boolean;
10354
- readonly isCannotRegisterDuplicateKeys: boolean;
10355
- readonly isInvalidKeyFormat: boolean;
10356
10584
  readonly isBidCannotBeReduced: boolean;
10357
10585
  readonly isInvalidBidAmount: boolean;
10358
- readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'ObligationNotFound' | 'NoMoreObligationIds' | 'VaultClosed' | 'MinimumObligationAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'AccountWouldBeBelowMinimum' | 'CannotRegisterDuplicateKeys' | 'InvalidKeyFormat' | 'BidCannotBeReduced' | 'InvalidBidAmount';
10586
+ readonly isUnrecoverableHold: boolean;
10587
+ readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'InsufficientFunds' | 'BidCannotBeReduced' | 'InvalidBidAmount' | 'UnrecoverableHold';
10359
10588
  }
10360
- /** @name ArgonPrimitivesBitcoinUtxoValue (347) */
10589
+ /** @name ArgonPrimitivesBitcoinUtxoValue (350) */
10361
10590
  interface ArgonPrimitivesBitcoinUtxoValue extends Struct {
10362
10591
  readonly utxoId: u64;
10363
10592
  readonly scriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
@@ -10365,7 +10594,7 @@ declare module '@polkadot/types/lookup' {
10365
10594
  readonly submittedAtHeight: Compact<u64>;
10366
10595
  readonly watchForSpentUntilHeight: Compact<u64>;
10367
10596
  }
10368
- /** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (348) */
10597
+ /** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (351) */
10369
10598
  interface ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey extends Enum {
10370
10599
  readonly isP2wsh: boolean;
10371
10600
  readonly asP2wsh: {
@@ -10373,7 +10602,7 @@ declare module '@polkadot/types/lookup' {
10373
10602
  } & Struct;
10374
10603
  readonly type: 'P2wsh';
10375
10604
  }
10376
- /** @name ArgonPrimitivesBitcoinBitcoinNetwork (353) */
10605
+ /** @name ArgonPrimitivesBitcoinBitcoinNetwork (356) */
10377
10606
  interface ArgonPrimitivesBitcoinBitcoinNetwork extends Enum {
10378
10607
  readonly isBitcoin: boolean;
10379
10608
  readonly isTestnet: boolean;
@@ -10381,7 +10610,7 @@ declare module '@polkadot/types/lookup' {
10381
10610
  readonly isRegtest: boolean;
10382
10611
  readonly type: 'Bitcoin' | 'Testnet' | 'Signet' | 'Regtest';
10383
10612
  }
10384
- /** @name PalletBitcoinUtxosError (356) */
10613
+ /** @name PalletBitcoinUtxosError (359) */
10385
10614
  interface PalletBitcoinUtxosError extends Enum {
10386
10615
  readonly isNoPermissions: boolean;
10387
10616
  readonly isNoBitcoinConfirmedBlock: boolean;
@@ -10397,19 +10626,20 @@ declare module '@polkadot/types/lookup' {
10397
10626
  readonly isDuplicateUtxoId: boolean;
10398
10627
  readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript' | 'DuplicateUtxoId';
10399
10628
  }
10400
- /** @name ArgonPrimitivesVault (357) */
10629
+ /** @name ArgonPrimitivesVault (360) */
10401
10630
  interface ArgonPrimitivesVault extends Struct {
10402
10631
  readonly operatorAccountId: AccountId32;
10403
10632
  readonly securitization: Compact<u128>;
10404
- readonly bitcoinLocked: Compact<u128>;
10405
- readonly bitcoinPending: Compact<u128>;
10633
+ readonly argonsLocked: Compact<u128>;
10634
+ readonly argonsPendingActivation: Compact<u128>;
10635
+ readonly argonsScheduledForRelease: BTreeMap<u64, u128>;
10406
10636
  readonly securitizationRatio: Compact<u128>;
10407
10637
  readonly isClosed: bool;
10408
10638
  readonly terms: ArgonPrimitivesVaultVaultTerms;
10409
10639
  readonly pendingTerms: Option<ITuple<[u64, ArgonPrimitivesVaultVaultTerms]>>;
10410
10640
  readonly openedTick: Compact<u64>;
10411
10641
  }
10412
- /** @name ArgonPrimitivesBitcoinBitcoinXPub (361) */
10642
+ /** @name ArgonPrimitivesBitcoinBitcoinXPub (368) */
10413
10643
  interface ArgonPrimitivesBitcoinBitcoinXPub extends Struct {
10414
10644
  readonly publicKey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
10415
10645
  readonly depth: Compact<u8>;
@@ -10418,41 +10648,24 @@ declare module '@polkadot/types/lookup' {
10418
10648
  readonly chainCode: U8aFixed;
10419
10649
  readonly network: ArgonPrimitivesBitcoinNetworkKind;
10420
10650
  }
10421
- /** @name ArgonPrimitivesBitcoinNetworkKind (363) */
10651
+ /** @name ArgonPrimitivesBitcoinNetworkKind (370) */
10422
10652
  interface ArgonPrimitivesBitcoinNetworkKind extends Enum {
10423
10653
  readonly isMain: boolean;
10424
10654
  readonly isTest: boolean;
10425
10655
  readonly type: 'Main' | 'Test';
10426
10656
  }
10427
- /** @name ArgonPrimitivesVaultObligation (365) */
10428
- interface ArgonPrimitivesVaultObligation extends Struct {
10429
- readonly obligationId: Compact<u64>;
10430
- readonly fundType: ArgonPrimitivesVaultFundType;
10431
- readonly vaultId: Compact<u32>;
10432
- readonly beneficiary: AccountId32;
10433
- readonly totalFee: Compact<u128>;
10434
- readonly prepaidFee: Compact<u128>;
10435
- readonly amount: Compact<u128>;
10436
- readonly startTick: Compact<u64>;
10437
- readonly expiration: ArgonPrimitivesVaultObligationExpiration;
10438
- readonly bitcoinAnnualPercentRate: Option<u128>;
10439
- }
10440
- /** @name PalletVaultsVaultRevenue (370) */
10441
- interface PalletVaultsVaultRevenue extends Struct {
10442
- readonly cohortFrameId: Compact<u64>;
10657
+ /** @name PalletVaultsVaultFrameFeeRevenue (375) */
10658
+ interface PalletVaultsVaultFrameFeeRevenue extends Struct {
10659
+ readonly frameId: Compact<u64>;
10443
10660
  readonly feeRevenue: Compact<u128>;
10444
10661
  readonly bitcoinLocksCreated: Compact<u32>;
10445
10662
  readonly bitcoinLocksMarketValue: Compact<u128>;
10446
10663
  readonly bitcoinLocksTotalSatoshis: Compact<u64>;
10447
10664
  readonly satoshisReleased: Compact<u64>;
10448
10665
  }
10449
- /** @name PalletVaultsError (372) */
10666
+ /** @name PalletVaultsError (377) */
10450
10667
  interface PalletVaultsError extends Enum {
10451
- readonly isObligationNotFound: boolean;
10452
10668
  readonly isNoMoreVaultIds: boolean;
10453
- readonly isNoMoreObligationIds: boolean;
10454
- readonly isMinimumObligationAmountNotMet: boolean;
10455
- readonly isExpirationAtBlockOverflow: boolean;
10456
10669
  readonly isInsufficientFunds: boolean;
10457
10670
  readonly isInsufficientVaultFunds: boolean;
10458
10671
  readonly isAccountBelowMinimumBalance: boolean;
@@ -10478,12 +10691,10 @@ declare module '@polkadot/types/lookup' {
10478
10691
  readonly isInternalError: boolean;
10479
10692
  readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
10480
10693
  readonly isFundingChangeAlreadyScheduled: boolean;
10481
- readonly isObligationCompletionError: boolean;
10482
- readonly type: 'ObligationNotFound' | 'NoMoreVaultIds' | 'NoMoreObligationIds' | 'MinimumObligationAmountNotMet' | 'ExpirationAtBlockOverflow' | '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' | 'ObligationCompletionError';
10694
+ 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';
10483
10695
  }
10484
- /** @name PalletBitcoinLocksLockedBitcoin (373) */
10696
+ /** @name PalletBitcoinLocksLockedBitcoin (378) */
10485
10697
  interface PalletBitcoinLocksLockedBitcoin extends Struct {
10486
- readonly obligationId: Compact<u64>;
10487
10698
  readonly vaultId: Compact<u32>;
10488
10699
  readonly lockPrice: u128;
10489
10700
  readonly ownerAccount: AccountId32;
@@ -10498,23 +10709,19 @@ declare module '@polkadot/types/lookup' {
10498
10709
  readonly utxoScriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
10499
10710
  readonly isVerified: bool;
10500
10711
  readonly isRejectedNeedsRelease: bool;
10712
+ readonly fundHoldExtensions: BTreeMap<u64, u128>;
10501
10713
  }
10502
- /** @name PalletBitcoinLocksLockReleaseRequest (377) */
10714
+ /** @name PalletBitcoinLocksLockReleaseRequest (381) */
10503
10715
  interface PalletBitcoinLocksLockReleaseRequest extends Struct {
10504
10716
  readonly utxoId: Compact<u64>;
10505
- readonly obligationId: Compact<u64>;
10506
10717
  readonly vaultId: Compact<u32>;
10507
10718
  readonly bitcoinNetworkFee: Compact<u64>;
10508
10719
  readonly cosignDueBlock: Compact<u64>;
10509
10720
  readonly toScriptPubkey: Bytes;
10510
10721
  readonly redemptionPrice: Compact<u128>;
10511
10722
  }
10512
- /** @name PalletBitcoinLocksError (381) */
10723
+ /** @name PalletBitcoinLocksError (388) */
10513
10724
  interface PalletBitcoinLocksError extends Enum {
10514
- readonly isObligationNotFound: boolean;
10515
- readonly isNoMoreObligationIds: boolean;
10516
- readonly isMinimumObligationAmountNotMet: boolean;
10517
- readonly isExpirationAtBlockOverflow: boolean;
10518
10725
  readonly isInsufficientFunds: boolean;
10519
10726
  readonly isInsufficientVaultFunds: boolean;
10520
10727
  readonly isAccountWouldGoBelowMinimumBalance: boolean;
@@ -10535,21 +10742,22 @@ declare module '@polkadot/types/lookup' {
10535
10742
  readonly isHoldUnexpectedlyModified: boolean;
10536
10743
  readonly isUnrecoverableHold: boolean;
10537
10744
  readonly isVaultNotFound: boolean;
10538
- readonly isGenericObligationError: boolean;
10539
- readonly asGenericObligationError: ArgonPrimitivesVaultObligationError;
10745
+ readonly isGenericVaultError: boolean;
10746
+ readonly asGenericVaultError: ArgonPrimitivesVaultVaultError;
10540
10747
  readonly isLockNotFound: boolean;
10541
10748
  readonly isNoVaultBitcoinPubkeysAvailable: boolean;
10542
10749
  readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
10543
10750
  readonly isVaultNotYetActive: boolean;
10544
- readonly type: 'ObligationNotFound' | 'NoMoreObligationIds' | 'MinimumObligationAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'RedemptionNotLocked' | 'BitcoinReleaseInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForRelease' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'InsufficientSatoshisLocked' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'GenericObligationError' | 'LockNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'VaultNotYetActive';
10545
- }
10546
- /** @name ArgonPrimitivesVaultObligationError (382) */
10547
- interface ArgonPrimitivesVaultObligationError extends Enum {
10548
- readonly isObligationNotFound: boolean;
10549
- readonly isNoMoreObligationIds: boolean;
10550
- readonly isMinimumObligationAmountNotMet: boolean;
10551
- readonly isVaultClosed: boolean;
10552
10751
  readonly isExpirationAtBlockOverflow: boolean;
10752
+ readonly isNoRatchetingAvailable: boolean;
10753
+ readonly isLockInProcessOfRelease: boolean;
10754
+ readonly isUnverifiedLock: boolean;
10755
+ readonly isOverflowError: boolean;
10756
+ readonly type: 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'RedemptionNotLocked' | 'BitcoinReleaseInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForRelease' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'InsufficientSatoshisLocked' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'GenericVaultError' | 'LockNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'VaultNotYetActive' | 'ExpirationAtBlockOverflow' | 'NoRatchetingAvailable' | 'LockInProcessOfRelease' | 'UnverifiedLock' | 'OverflowError';
10757
+ }
10758
+ /** @name ArgonPrimitivesVaultVaultError (389) */
10759
+ interface ArgonPrimitivesVaultVaultError extends Enum {
10760
+ readonly isVaultClosed: boolean;
10553
10761
  readonly isAccountWouldBeBelowMinimum: boolean;
10554
10762
  readonly isInsufficientFunds: boolean;
10555
10763
  readonly isInsufficientVaultFunds: boolean;
@@ -10560,11 +10768,10 @@ declare module '@polkadot/types/lookup' {
10560
10768
  readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
10561
10769
  readonly isInvalidBitcoinScript: boolean;
10562
10770
  readonly isInternalError: boolean;
10563
- readonly isObligationCompletionError: boolean;
10564
10771
  readonly isVaultNotYetActive: boolean;
10565
- readonly type: 'ObligationNotFound' | 'NoMoreObligationIds' | 'MinimumObligationAmountNotMet' | 'VaultClosed' | 'ExpirationAtBlockOverflow' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'ObligationCompletionError' | 'VaultNotYetActive';
10772
+ readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive';
10566
10773
  }
10567
- /** @name PalletNotariesError (394) */
10774
+ /** @name PalletNotariesError (401) */
10568
10775
  interface PalletNotariesError extends Enum {
10569
10776
  readonly isProposalNotFound: boolean;
10570
10777
  readonly isMaxNotariesExceeded: boolean;
@@ -10577,7 +10784,7 @@ declare module '@polkadot/types/lookup' {
10577
10784
  readonly isInvalidNotary: boolean;
10578
10785
  readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
10579
10786
  }
10580
- /** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (398) */
10787
+ /** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (405) */
10581
10788
  interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
10582
10789
  readonly notebookNumber: Compact<u32>;
10583
10790
  readonly tick: Compact<u64>;
@@ -10585,7 +10792,7 @@ declare module '@polkadot/types/lookup' {
10585
10792
  readonly secretHash: H256;
10586
10793
  readonly parentSecret: Option<H256>;
10587
10794
  }
10588
- /** @name PalletNotebookError (401) */
10795
+ /** @name PalletNotebookError (408) */
10589
10796
  interface PalletNotebookError extends Enum {
10590
10797
  readonly isDuplicateNotebookNumber: boolean;
10591
10798
  readonly isMissingNotebookNumber: boolean;
@@ -10604,17 +10811,17 @@ declare module '@polkadot/types/lookup' {
10604
10811
  readonly isInvalidNotebookSubmissionTick: boolean;
10605
10812
  readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
10606
10813
  }
10607
- /** @name PalletChainTransferQueuedTransferOut (402) */
10814
+ /** @name PalletChainTransferQueuedTransferOut (409) */
10608
10815
  interface PalletChainTransferQueuedTransferOut extends Struct {
10609
10816
  readonly accountId: AccountId32;
10610
10817
  readonly amount: u128;
10611
10818
  readonly expirationTick: u64;
10612
10819
  readonly notaryId: u32;
10613
10820
  }
10614
- /** @name FrameSupportPalletId (408) */
10821
+ /** @name FrameSupportPalletId (415) */
10615
10822
  interface FrameSupportPalletId extends U8aFixed {
10616
10823
  }
10617
- /** @name PalletChainTransferError (409) */
10824
+ /** @name PalletChainTransferError (416) */
10618
10825
  interface PalletChainTransferError extends Enum {
10619
10826
  readonly isMaxBlockTransfersExceeded: boolean;
10620
10827
  readonly isInsufficientFunds: boolean;
@@ -10624,7 +10831,7 @@ declare module '@polkadot/types/lookup' {
10624
10831
  readonly isInvalidNotaryUsedForTransfer: boolean;
10625
10832
  readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer';
10626
10833
  }
10627
- /** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (414) */
10834
+ /** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (420) */
10628
10835
  interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
10629
10836
  readonly notaryId: Compact<u32>;
10630
10837
  readonly notebookNumber: Compact<u32>;
@@ -10632,12 +10839,12 @@ declare module '@polkadot/types/lookup' {
10632
10839
  readonly blockVotesCount: Compact<u32>;
10633
10840
  readonly blockVotingPower: Compact<u128>;
10634
10841
  }
10635
- /** @name PalletBlockSealSpecError (419) */
10842
+ /** @name PalletBlockSealSpecError (425) */
10636
10843
  interface PalletBlockSealSpecError extends Enum {
10637
10844
  readonly isMaxNotebooksAtTickExceeded: boolean;
10638
10845
  readonly type: 'MaxNotebooksAtTickExceeded';
10639
10846
  }
10640
- /** @name PalletDomainsError (421) */
10847
+ /** @name PalletDomainsError (427) */
10641
10848
  interface PalletDomainsError extends Enum {
10642
10849
  readonly isDomainNotRegistered: boolean;
10643
10850
  readonly isNotDomainOwner: boolean;
@@ -10646,7 +10853,7 @@ declare module '@polkadot/types/lookup' {
10646
10853
  readonly isAccountDecodingError: boolean;
10647
10854
  readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
10648
10855
  }
10649
- /** @name PalletPriceIndexError (422) */
10856
+ /** @name PalletPriceIndexError (428) */
10650
10857
  interface PalletPriceIndexError extends Enum {
10651
10858
  readonly isNotAuthorizedOperator: boolean;
10652
10859
  readonly isMissingValue: boolean;
@@ -10654,7 +10861,7 @@ declare module '@polkadot/types/lookup' {
10654
10861
  readonly isMaxPriceChangePerTickExceeded: boolean;
10655
10862
  readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded';
10656
10863
  }
10657
- /** @name PalletGrandpaStoredState (423) */
10864
+ /** @name PalletGrandpaStoredState (429) */
10658
10865
  interface PalletGrandpaStoredState extends Enum {
10659
10866
  readonly isLive: boolean;
10660
10867
  readonly isPendingPause: boolean;
@@ -10670,14 +10877,14 @@ declare module '@polkadot/types/lookup' {
10670
10877
  } & Struct;
10671
10878
  readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
10672
10879
  }
10673
- /** @name PalletGrandpaStoredPendingChange (424) */
10880
+ /** @name PalletGrandpaStoredPendingChange (430) */
10674
10881
  interface PalletGrandpaStoredPendingChange extends Struct {
10675
10882
  readonly scheduledAt: u32;
10676
10883
  readonly delay: u32;
10677
10884
  readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
10678
10885
  readonly forced: Option<u32>;
10679
10886
  }
10680
- /** @name PalletGrandpaError (427) */
10887
+ /** @name PalletGrandpaError (433) */
10681
10888
  interface PalletGrandpaError extends Enum {
10682
10889
  readonly isPauseFailed: boolean;
10683
10890
  readonly isResumeFailed: boolean;
@@ -10688,13 +10895,13 @@ declare module '@polkadot/types/lookup' {
10688
10895
  readonly isDuplicateOffenceReport: boolean;
10689
10896
  readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
10690
10897
  }
10691
- /** @name ArgonPrimitivesProvidersBlockSealerInfo (428) */
10898
+ /** @name ArgonPrimitivesProvidersBlockSealerInfo (434) */
10692
10899
  interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
10693
10900
  readonly blockAuthorAccountId: AccountId32;
10694
10901
  readonly blockVoteRewardsAccount: Option<AccountId32>;
10695
10902
  readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
10696
10903
  }
10697
- /** @name PalletBlockSealError (432) */
10904
+ /** @name PalletBlockSealError (437) */
10698
10905
  interface PalletBlockSealError extends Enum {
10699
10906
  readonly isInvalidVoteSealStrength: boolean;
10700
10907
  readonly isInvalidSubmitter: boolean;
@@ -10717,43 +10924,43 @@ declare module '@polkadot/types/lookup' {
10717
10924
  readonly isInvalidComputeBlockTick: boolean;
10718
10925
  readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick';
10719
10926
  }
10720
- /** @name PalletBlockRewardsError (438) */
10927
+ /** @name PalletBlockRewardsError (441) */
10721
10928
  type PalletBlockRewardsError = Null;
10722
- /** @name PalletMintMintAction (445) */
10929
+ /** @name PalletMintMintAction (447) */
10723
10930
  interface PalletMintMintAction extends Struct {
10724
10931
  readonly argonBurned: u128;
10725
10932
  readonly argonMinted: u128;
10726
10933
  readonly bitcoinMinted: u128;
10727
10934
  }
10728
- /** @name PalletMintError (446) */
10935
+ /** @name PalletMintError (448) */
10729
10936
  interface PalletMintError extends Enum {
10730
10937
  readonly isTooManyPendingMints: boolean;
10731
10938
  readonly type: 'TooManyPendingMints';
10732
10939
  }
10733
- /** @name PalletBalancesBalanceLock (448) */
10940
+ /** @name PalletBalancesBalanceLock (450) */
10734
10941
  interface PalletBalancesBalanceLock extends Struct {
10735
10942
  readonly id: U8aFixed;
10736
10943
  readonly amount: u128;
10737
10944
  readonly reasons: PalletBalancesReasons;
10738
10945
  }
10739
- /** @name PalletBalancesReasons (449) */
10946
+ /** @name PalletBalancesReasons (451) */
10740
10947
  interface PalletBalancesReasons extends Enum {
10741
10948
  readonly isFee: boolean;
10742
10949
  readonly isMisc: boolean;
10743
10950
  readonly isAll: boolean;
10744
10951
  readonly type: 'Fee' | 'Misc' | 'All';
10745
10952
  }
10746
- /** @name PalletBalancesReserveData (452) */
10953
+ /** @name PalletBalancesReserveData (454) */
10747
10954
  interface PalletBalancesReserveData extends Struct {
10748
10955
  readonly id: U8aFixed;
10749
10956
  readonly amount: u128;
10750
10957
  }
10751
- /** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (455) */
10958
+ /** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (457) */
10752
10959
  interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
10753
10960
  readonly id: ArgonRuntimeRuntimeHoldReason;
10754
10961
  readonly amount: u128;
10755
10962
  }
10756
- /** @name ArgonRuntimeRuntimeHoldReason (456) */
10963
+ /** @name ArgonRuntimeRuntimeHoldReason (458) */
10757
10964
  interface ArgonRuntimeRuntimeHoldReason extends Enum {
10758
10965
  readonly isMiningSlot: boolean;
10759
10966
  readonly asMiningSlot: PalletMiningSlotHoldReason;
@@ -10767,49 +10974,49 @@ declare module '@polkadot/types/lookup' {
10767
10974
  readonly asLiquidityPools: PalletLiquidityPoolsHoldReason;
10768
10975
  readonly type: 'MiningSlot' | 'Vaults' | 'BitcoinLocks' | 'BlockRewards' | 'LiquidityPools';
10769
10976
  }
10770
- /** @name PalletMiningSlotHoldReason (457) */
10977
+ /** @name PalletMiningSlotHoldReason (459) */
10771
10978
  interface PalletMiningSlotHoldReason extends Enum {
10772
10979
  readonly isRegisterAsMiner: boolean;
10773
10980
  readonly type: 'RegisterAsMiner';
10774
10981
  }
10775
- /** @name PalletVaultsHoldReason (458) */
10982
+ /** @name PalletVaultsHoldReason (460) */
10776
10983
  interface PalletVaultsHoldReason extends Enum {
10777
10984
  readonly isEnterVault: boolean;
10778
10985
  readonly isObligationFee: boolean;
10779
10986
  readonly type: 'EnterVault' | 'ObligationFee';
10780
10987
  }
10781
- /** @name PalletBitcoinLocksHoldReason (459) */
10988
+ /** @name PalletBitcoinLocksHoldReason (461) */
10782
10989
  interface PalletBitcoinLocksHoldReason extends Enum {
10783
10990
  readonly isReleaseBitcoinLock: boolean;
10784
10991
  readonly type: 'ReleaseBitcoinLock';
10785
10992
  }
10786
- /** @name PalletBlockRewardsHoldReason (460) */
10993
+ /** @name PalletBlockRewardsHoldReason (462) */
10787
10994
  interface PalletBlockRewardsHoldReason extends Enum {
10788
10995
  readonly isMaturationPeriod: boolean;
10789
10996
  readonly type: 'MaturationPeriod';
10790
10997
  }
10791
- /** @name PalletLiquidityPoolsHoldReason (461) */
10998
+ /** @name PalletLiquidityPoolsHoldReason (463) */
10792
10999
  interface PalletLiquidityPoolsHoldReason extends Enum {
10793
11000
  readonly isContributedToLiquidityPool: boolean;
10794
11001
  readonly type: 'ContributedToLiquidityPool';
10795
11002
  }
10796
- /** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (464) */
11003
+ /** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (466) */
10797
11004
  interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
10798
11005
  readonly id: ArgonRuntimeRuntimeFreezeReason;
10799
11006
  readonly amount: u128;
10800
11007
  }
10801
- /** @name ArgonRuntimeRuntimeFreezeReason (465) */
11008
+ /** @name ArgonRuntimeRuntimeFreezeReason (467) */
10802
11009
  interface ArgonRuntimeRuntimeFreezeReason extends Enum {
10803
11010
  readonly isBlockRewards: boolean;
10804
11011
  readonly asBlockRewards: PalletBlockRewardsFreezeReason;
10805
11012
  readonly type: 'BlockRewards';
10806
11013
  }
10807
- /** @name PalletBlockRewardsFreezeReason (466) */
11014
+ /** @name PalletBlockRewardsFreezeReason (468) */
10808
11015
  interface PalletBlockRewardsFreezeReason extends Enum {
10809
11016
  readonly isMaturationPeriod: boolean;
10810
11017
  readonly type: 'MaturationPeriod';
10811
11018
  }
10812
- /** @name PalletBalancesError (468) */
11019
+ /** @name PalletBalancesError (470) */
10813
11020
  interface PalletBalancesError extends Enum {
10814
11021
  readonly isVestingBalance: boolean;
10815
11022
  readonly isLiquidityRestrictions: boolean;
@@ -10825,7 +11032,7 @@ declare module '@polkadot/types/lookup' {
10825
11032
  readonly isDeltaZero: boolean;
10826
11033
  readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
10827
11034
  }
10828
- /** @name PalletTxPauseError (470) */
11035
+ /** @name PalletTxPauseError (472) */
10829
11036
  interface PalletTxPauseError extends Enum {
10830
11037
  readonly isIsPaused: boolean;
10831
11038
  readonly isIsUnpaused: boolean;
@@ -10833,23 +11040,23 @@ declare module '@polkadot/types/lookup' {
10833
11040
  readonly isNotFound: boolean;
10834
11041
  readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
10835
11042
  }
10836
- /** @name PalletTransactionPaymentReleases (471) */
11043
+ /** @name PalletTransactionPaymentReleases (473) */
10837
11044
  interface PalletTransactionPaymentReleases extends Enum {
10838
11045
  readonly isV1Ancient: boolean;
10839
11046
  readonly isV2: boolean;
10840
11047
  readonly type: 'V1Ancient' | 'V2';
10841
11048
  }
10842
- /** @name PalletUtilityError (472) */
11049
+ /** @name PalletUtilityError (474) */
10843
11050
  interface PalletUtilityError extends Enum {
10844
11051
  readonly isTooManyCalls: boolean;
10845
11052
  readonly type: 'TooManyCalls';
10846
11053
  }
10847
- /** @name PalletSudoError (473) */
11054
+ /** @name PalletSudoError (475) */
10848
11055
  interface PalletSudoError extends Enum {
10849
11056
  readonly isRequireSudo: boolean;
10850
11057
  readonly type: 'RequireSudo';
10851
11058
  }
10852
- /** @name PalletIsmpError (474) */
11059
+ /** @name PalletIsmpError (476) */
10853
11060
  interface PalletIsmpError extends Enum {
10854
11061
  readonly isInvalidMessage: boolean;
10855
11062
  readonly isMessageNotFound: boolean;
@@ -10858,9 +11065,9 @@ declare module '@polkadot/types/lookup' {
10858
11065
  readonly isChallengePeriodUpdateFailed: boolean;
10859
11066
  readonly type: 'InvalidMessage' | 'MessageNotFound' | 'ConsensusClientCreationFailed' | 'UnbondingPeriodUpdateFailed' | 'ChallengePeriodUpdateFailed';
10860
11067
  }
10861
- /** @name PalletHyperbridgeError (475) */
11068
+ /** @name PalletHyperbridgeError (477) */
10862
11069
  type PalletHyperbridgeError = Null;
10863
- /** @name PalletTokenGatewayError (477) */
11070
+ /** @name PalletTokenGatewayError (479) */
10864
11071
  interface PalletTokenGatewayError extends Enum {
10865
11072
  readonly isUnregisteredAsset: boolean;
10866
11073
  readonly isAssetTeleportError: boolean;
@@ -10873,7 +11080,7 @@ declare module '@polkadot/types/lookup' {
10873
11080
  readonly isNotAssetOwner: boolean;
10874
11081
  readonly type: 'UnregisteredAsset' | 'AssetTeleportError' | 'CoprocessorNotConfigured' | 'DispatchError' | 'AssetCreationError' | 'AssetDecimalsNotFound' | 'NotInitialized' | 'UnknownAsset' | 'NotAssetOwner';
10875
11082
  }
10876
- /** @name PalletLiquidityPoolsLiquidityPool (479) */
11083
+ /** @name PalletLiquidityPoolsLiquidityPool (481) */
10877
11084
  interface PalletLiquidityPoolsLiquidityPool extends Struct {
10878
11085
  readonly contributorBalances: Vec<ITuple<[AccountId32, u128]>>;
10879
11086
  readonly doNotRenew: Vec<AccountId32>;
@@ -10881,13 +11088,13 @@ declare module '@polkadot/types/lookup' {
10881
11088
  readonly distributedProfits: Option<u128>;
10882
11089
  readonly vaultSharingPercent: Compact<Permill>;
10883
11090
  }
10884
- /** @name PalletLiquidityPoolsLiquidityPoolCapital (488) */
11091
+ /** @name PalletLiquidityPoolsLiquidityPoolCapital (490) */
10885
11092
  interface PalletLiquidityPoolsLiquidityPoolCapital extends Struct {
10886
11093
  readonly vaultId: Compact<u32>;
10887
11094
  readonly activatedCapital: Compact<u128>;
10888
- readonly cohortId: Compact<u64>;
11095
+ readonly frameId: Compact<u64>;
10889
11096
  }
10890
- /** @name PalletLiquidityPoolsError (490) */
11097
+ /** @name PalletLiquidityPoolsError (492) */
10891
11098
  interface PalletLiquidityPoolsError extends Enum {
10892
11099
  readonly isContributionTooLow: boolean;
10893
11100
  readonly isVaultNotAcceptingMiningBonds: boolean;
@@ -10901,33 +11108,35 @@ declare module '@polkadot/types/lookup' {
10901
11108
  readonly isAlreadyRenewed: boolean;
10902
11109
  readonly type: 'ContributionTooLow' | 'VaultNotAcceptingMiningBonds' | 'BelowMinimum' | 'NotAFundContributor' | 'InternalError' | 'CouldNotFindLiquidityPool' | 'MaxContributorsExceeded' | 'ActivatedSecuritizationExceeded' | 'MaxVaultsExceeded' | 'AlreadyRenewed';
10903
11110
  }
10904
- /** @name FrameSystemExtensionsCheckNonZeroSender (493) */
11111
+ /** @name FrameSystemExtensionsCheckNonZeroSender (495) */
10905
11112
  type FrameSystemExtensionsCheckNonZeroSender = Null;
10906
- /** @name FrameSystemExtensionsCheckSpecVersion (494) */
11113
+ /** @name FrameSystemExtensionsCheckSpecVersion (496) */
10907
11114
  type FrameSystemExtensionsCheckSpecVersion = Null;
10908
- /** @name FrameSystemExtensionsCheckTxVersion (495) */
11115
+ /** @name FrameSystemExtensionsCheckTxVersion (497) */
10909
11116
  type FrameSystemExtensionsCheckTxVersion = Null;
10910
- /** @name FrameSystemExtensionsCheckGenesis (496) */
11117
+ /** @name FrameSystemExtensionsCheckGenesis (498) */
10911
11118
  type FrameSystemExtensionsCheckGenesis = Null;
10912
- /** @name FrameSystemExtensionsCheckNonce (499) */
11119
+ /** @name FrameSystemExtensionsCheckNonce (501) */
10913
11120
  interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
10914
11121
  }
10915
- /** @name FrameSystemExtensionsCheckWeight (500) */
11122
+ /** @name FrameSystemExtensionsCheckWeight (502) */
10916
11123
  type FrameSystemExtensionsCheckWeight = Null;
10917
- /** @name PalletTransactionPaymentChargeTransactionPayment (501) */
11124
+ /** @name PalletTransactionPaymentChargeTransactionPayment (503) */
10918
11125
  interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
10919
11126
  }
10920
- /** @name FrameMetadataHashExtensionCheckMetadataHash (502) */
11127
+ /** @name FrameMetadataHashExtensionCheckMetadataHash (504) */
10921
11128
  interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
10922
11129
  readonly mode: FrameMetadataHashExtensionMode;
10923
11130
  }
10924
- /** @name FrameMetadataHashExtensionMode (503) */
11131
+ /** @name FrameMetadataHashExtensionMode (505) */
10925
11132
  interface FrameMetadataHashExtensionMode extends Enum {
10926
11133
  readonly isDisabled: boolean;
10927
11134
  readonly isEnabled: boolean;
10928
11135
  readonly type: 'Disabled' | 'Enabled';
10929
11136
  }
10930
- /** @name ArgonRuntimeRuntime (505) */
11137
+ /** @name FrameSystemExtensionsWeightReclaim (506) */
11138
+ type FrameSystemExtensionsWeightReclaim = Null;
11139
+ /** @name ArgonRuntimeRuntime (508) */
10931
11140
  type ArgonRuntimeRuntime = Null;
10932
11141
  }
10933
11142
 
@@ -11027,6 +11236,53 @@ declare class AccountRegistry {
11027
11236
  static factory: (name?: string) => AccountRegistry;
11028
11237
  }
11029
11238
 
11239
+ declare const MICROGONS_PER_ARGON = 1000000;
11240
+ declare function formatArgons(x: bigint | number): string;
11241
+ declare function formatPercent(x: BigNumber | undefined): string;
11242
+ type NonNullableProps<T> = {
11243
+ [K in keyof T]-?: Exclude<T[K], undefined | null>;
11244
+ };
11245
+ declare function filterUndefined<T extends Record<string, any>>(obj: Partial<T>): NonNullableProps<T>;
11246
+ declare function gettersToObject<T>(obj: T): Promise<T>;
11247
+ declare function convertFixedU128ToBigNumber(fixedU128: bigint): BigNumber;
11248
+ declare function convertPermillToBigNumber(permill: bigint): BigNumber;
11249
+ declare function eventDataToJson(event: GenericEvent): any;
11250
+ declare function dispatchErrorToString(client: ArgonClient, error: DispatchError$1): string;
11251
+ declare class ExtrinsicError extends Error {
11252
+ readonly errorCode: string;
11253
+ readonly details?: string | undefined;
11254
+ readonly batchInterruptedIndex?: number | undefined;
11255
+ constructor(errorCode: string, details?: string | undefined, batchInterruptedIndex?: number | undefined);
11256
+ toString(): string;
11257
+ }
11258
+ declare function dispatchErrorToExtrinsicError(client: ArgonClient, error: DispatchError$1, batchInterruptedIndex?: number): ExtrinsicError;
11259
+ /**
11260
+ * Check for an extrinsic success event in the given events. Helpful to validate the result of an extrinsic inclusion in a block (it will be included even if it fails)
11261
+ * @param events The events to check
11262
+ * @param client The client to use
11263
+ * @returns A promise that resolves if the extrinsic was successful, and rejects if it failed
11264
+ */
11265
+ declare function checkForExtrinsicSuccess(events: EventRecord[], client: ArgonClient): Promise<void>;
11266
+ /**
11267
+ * JSON with support for BigInt in JSON.stringify and JSON.parse
11268
+ */
11269
+ declare class JsonExt {
11270
+ static stringify(obj: any, space?: number): string;
11271
+ static parse<T = any>(str: string): T;
11272
+ }
11273
+ declare function createNanoEvents<Events extends EventsMap = DefaultEvents>(): TypedEmitter<Events>;
11274
+ declare class TypedEmitter<Events extends EventsMap = DefaultEvents> {
11275
+ private events;
11276
+ emit<K extends keyof Events>(this: this, event: K, ...args: Parameters<Events[K]>): void;
11277
+ on<K extends keyof Events>(this: this, event: K, cb: Events[K]): () => void;
11278
+ }
11279
+ interface EventsMap {
11280
+ [event: string]: any;
11281
+ }
11282
+ interface DefaultEvents extends EventsMap {
11283
+ [event: string]: (...args: any) => void;
11284
+ }
11285
+
11030
11286
  type BlockWatchEvents = {
11031
11287
  block: (header: Header$1, digests: {
11032
11288
  tick: number;
@@ -11036,7 +11292,7 @@ type BlockWatchEvents = {
11036
11292
  'bitcoin-verified': (header: Header$1, lockedBitcoin: {
11037
11293
  utxoId: number;
11038
11294
  vaultId: number;
11039
- amount: bigint;
11295
+ lockPrice: bigint;
11040
11296
  }) => void;
11041
11297
  'mining-bid': (header: Header$1, bid: {
11042
11298
  amount: bigint;
@@ -11053,17 +11309,13 @@ declare function getAuthorFromHeader(client: ArgonClient, header: Header$1): str
11053
11309
  declare class BlockWatch {
11054
11310
  private readonly mainchain;
11055
11311
  private options;
11056
- readonly events: nanoevents.Emitter<BlockWatchEvents>;
11057
- readonly obligationsById: {
11058
- [obligationId: number]: {
11312
+ readonly events: TypedEmitter<BlockWatchEvents>;
11313
+ readonly locksById: {
11314
+ [utxoId: number]: {
11059
11315
  vaultId: number;
11060
- amount: bigint;
11061
- utxoId?: number;
11316
+ lockPrice: bigint;
11062
11317
  };
11063
11318
  };
11064
- readonly obligationIdByUtxoId: {
11065
- [utxoId: number]: number;
11066
- };
11067
11319
  private unsubscribe?;
11068
11320
  constructor(mainchain: Promise<ArgonClient>, options?: {
11069
11321
  finalizedBlocks?: boolean;
@@ -11077,38 +11329,42 @@ declare class BlockWatch {
11077
11329
  }
11078
11330
 
11079
11331
  /**
11080
- * A rotation is the period from noon EDT to the next noon EDT that a cohort of
11081
- * miners rotates. The first rotation was the period between bidding start and Cohort 1 beginning.
11332
+ * A frame starts with the bidding start time (noon EDT), and ends the next day at noon EDT. Frame 0 was the first day of
11333
+ * bidding, and frame 1 began once the first miners were selected. This occurred on February 24th, 2025 at 12pm EDT.
11334
+ *
11335
+ * This class calculates fromeId from ticks.
11082
11336
  */
11083
- declare class MiningRotations {
11337
+ declare class FrameCalculator {
11084
11338
  private miningConfig;
11085
11339
  private genesisTick;
11086
11340
  getForTick(client: ArgonClient, tick: number): Promise<number>;
11341
+ getTickRangeForFrame(client: ArgonClient, frameId: number): Promise<[number, number]>;
11087
11342
  getForHeader(client: ArgonClient, header: Header$2): Promise<number | undefined>;
11343
+ private getConfig;
11088
11344
  }
11089
11345
 
11090
11346
  declare class AccountMiners {
11091
11347
  private accountset;
11092
11348
  private options;
11093
- events: nanoevents.Emitter<{
11349
+ events: TypedEmitter<{
11094
11350
  mined: (header: Header, earnings: {
11095
11351
  author: string;
11096
11352
  argons: bigint;
11097
11353
  argonots: bigint;
11098
- cohortId: number;
11099
- rotation: number;
11354
+ forCohortWithStartingFrameId: number;
11355
+ duringFrameId: number;
11100
11356
  }) => void;
11101
11357
  minted: (header: Header, minted: {
11102
11358
  accountId: string;
11103
11359
  argons: bigint;
11104
- cohortId: number;
11105
- rotation: number;
11360
+ forCohortWithStartingFrameId: number;
11361
+ duringFrameId: number;
11106
11362
  }) => void;
11107
11363
  }>;
11108
- miningRotations: MiningRotations;
11364
+ frameCalculator: FrameCalculator;
11109
11365
  private trackedAccountsByAddress;
11110
11366
  constructor(accountset: Accountset, registeredMiners: {
11111
- cohortId: number;
11367
+ startingFrameId: number;
11112
11368
  address: string;
11113
11369
  subaccountIndex: number;
11114
11370
  }[], options?: {
@@ -11118,13 +11374,13 @@ declare class AccountMiners {
11118
11374
  onBlock(header: Header, digests: {
11119
11375
  author: string;
11120
11376
  tick: number;
11121
- }, events: GenericEvent$1[]): Promise<{
11122
- [cohortId: number]: {
11377
+ }, events: GenericEvent[]): Promise<{
11378
+ [cohortStartingFrameId: number]: {
11123
11379
  argonsMinted: bigint;
11124
11380
  argonsMined: bigint;
11125
11381
  argonotsMined: bigint;
11126
11382
  };
11127
- rotation: number;
11383
+ duringFrameId: number;
11128
11384
  }>;
11129
11385
  private newCohortMiners;
11130
11386
  static loadAt(accountset: Accountset, options?: {
@@ -11137,10 +11393,12 @@ type SubaccountRange = readonly number[];
11137
11393
  type IAddressNames = Map<string, string>;
11138
11394
  interface ISubaccountMiner {
11139
11395
  address: string;
11140
- seat?: number;
11141
- bidAmount?: bigint;
11142
11396
  subaccountIndex: number;
11143
- cohortId?: number;
11397
+ seat?: {
11398
+ frameId: number;
11399
+ index: number;
11400
+ bidAmount: bigint;
11401
+ };
11144
11402
  isLastDay: boolean;
11145
11403
  }
11146
11404
  declare class Accountset {
@@ -11191,6 +11449,7 @@ declare class Accountset {
11191
11449
  loadRegisteredMiners(api: ApiDecoration<'promise'>): Promise<ISubaccountMiner[]>;
11192
11450
  miningSeats(blockHash?: Uint8Array): Promise<(ISubaccountMiner & {
11193
11451
  hasWinningBid: boolean;
11452
+ bidAmount?: bigint;
11194
11453
  })[]>;
11195
11454
  bids(blockHash?: Uint8Array): Promise<{
11196
11455
  address: string;
@@ -11233,7 +11492,6 @@ declare class Accountset {
11233
11492
  address: string;
11234
11493
  }[];
11235
11494
  bidAmount: bigint;
11236
- sendRewardsToSeed?: boolean;
11237
11495
  }): Promise<TxSubmitter>;
11238
11496
  /**
11239
11497
  * Create a mining bid. This will create a bid for each account in the given range from the seed account as funding.
@@ -11242,7 +11500,6 @@ declare class Accountset {
11242
11500
  subaccountRange?: SubaccountRange;
11243
11501
  bidAmount: bigint;
11244
11502
  tip?: bigint;
11245
- sendRewardsToSeed?: boolean;
11246
11503
  }): Promise<{
11247
11504
  finalFee?: bigint;
11248
11505
  blockHash?: Uint8Array;
@@ -11262,7 +11519,10 @@ interface IAccountStatus {
11262
11519
  address: string;
11263
11520
  argons: string;
11264
11521
  argonots: string;
11265
- seat?: number;
11522
+ seat?: {
11523
+ frameId: number;
11524
+ index: number;
11525
+ };
11266
11526
  bidPlace?: number;
11267
11527
  bidAmount?: bigint;
11268
11528
  isWorkingOn?: boolean;
@@ -11279,8 +11539,8 @@ declare class MiningBids {
11279
11539
  constructor(client: Promise<ArgonClient>, shouldLog?: boolean);
11280
11540
  maxCohortSize(): Promise<number>;
11281
11541
  onCohortChange(options: {
11282
- onBiddingStart?: (cohortId: number) => Promise<void>;
11283
- onBiddingEnd?: (cohortId: number) => Promise<void>;
11542
+ onBiddingStart?: (cohortStartingFrameId: number) => Promise<void>;
11543
+ onBiddingEnd?: (cohortStartingFrameId: number) => Promise<void>;
11284
11544
  }): Promise<{
11285
11545
  unsubscribe: () => void;
11286
11546
  }>;
@@ -11292,43 +11552,12 @@ declare class MiningBids {
11292
11552
  print(): void;
11293
11553
  }
11294
11554
 
11295
- declare const MICROGONS_PER_ARGON = 1000000;
11296
- declare function formatArgons(x: bigint | number): string;
11297
- declare function formatPercent(x: BigNumber | undefined): string;
11298
- declare function filterUndefined(obj: Record<string, any>): Record<string, any>;
11299
- declare function gettersToObject<T>(obj: T): Promise<T>;
11300
- declare function convertFixedU128ToBigNumber(fixedU128: bigint): BigNumber;
11301
- declare function convertPermillToBigNumber(permill: bigint): BigNumber;
11302
- declare function eventDataToJson(event: GenericEvent): any;
11303
- declare function dispatchErrorToString(client: ArgonClient, error: DispatchError$1): string;
11304
- declare class ExtrinsicError extends Error {
11305
- readonly errorCode: string;
11306
- readonly details?: string | undefined;
11307
- readonly batchInterruptedIndex?: number | undefined;
11308
- constructor(errorCode: string, details?: string | undefined, batchInterruptedIndex?: number | undefined);
11309
- toString(): string;
11310
- }
11311
- declare function dispatchErrorToExtrinsicError(client: ArgonClient, error: DispatchError$1, batchInterruptedIndex?: number): ExtrinsicError;
11312
- /**
11313
- * Check for an extrinsic success event in the given events. Helpful to validate the result of an extrinsic inclusion in a block (it will be included even if it fails)
11314
- * @param events The events to check
11315
- * @param client The client to use
11316
- * @returns A promise that resolves if the extrinsic was successful, and rejects if it failed
11317
- */
11318
- declare function checkForExtrinsicSuccess(events: EventRecord[], client: ArgonClient): Promise<void>;
11319
- /**
11320
- * JSON with support for BigInt in JSON.stringify and JSON.parse
11321
- */
11322
- declare class JsonExt {
11323
- static stringify(obj: any, space?: number): string;
11324
- static parse<T = any>(str: string): T;
11325
- }
11326
-
11327
11555
  declare class Vault {
11328
11556
  securitization: bigint;
11329
11557
  securitizationRatio: BigNumber;
11330
- bitcoinLocked: bigint;
11331
- bitcoinPending: bigint;
11558
+ argonsLocked: bigint;
11559
+ argonsPendingActivation: bigint;
11560
+ argonsScheduledForRelease: Map<number, bigint>;
11332
11561
  terms: ITerms;
11333
11562
  operatorAccountId: string;
11334
11563
  isClosed: boolean;
@@ -11338,6 +11567,7 @@ declare class Vault {
11338
11567
  openedDate: Date;
11339
11568
  constructor(id: number, vault: ArgonPrimitivesVault$1, tickDuration: number);
11340
11569
  availableBitcoinSpace(): bigint;
11570
+ getRelockCapacity(): bigint;
11341
11571
  recoverySecuritization(): bigint;
11342
11572
  minimumSecuritization(): bigint;
11343
11573
  activatedSecuritization(): bigint;
@@ -11360,7 +11590,7 @@ declare class VaultMonitor {
11360
11590
  vaultOnlyWatchMode?: boolean;
11361
11591
  shouldLog?: boolean;
11362
11592
  };
11363
- events: nanoevents.Emitter<{
11593
+ events: TypedEmitter<{
11364
11594
  'bitcoin-space-above': (vaultId: number, amount: bigint) => void;
11365
11595
  'liquidity-pool-space-above': (vaultId: number, amount: bigint) => void;
11366
11596
  }>;
@@ -11409,7 +11639,7 @@ declare enum SeatReductionReason {
11409
11639
  MaxBudgetTooLow = "MaxBudgetTooLow"
11410
11640
  }
11411
11641
  interface IBidHistoryEntry {
11412
- cohortId: number;
11642
+ cohortStartingFrameId: number;
11413
11643
  blockNumber: number;
11414
11644
  tick: number;
11415
11645
  bidChanges: {
@@ -11431,7 +11661,7 @@ interface IBidHistoryEntry {
11431
11661
  maxSeatsReductionReason?: SeatReductionReason;
11432
11662
  }
11433
11663
  declare class CohortBidderHistory {
11434
- readonly cohortId: number;
11664
+ readonly cohortStartingFrameId: number;
11435
11665
  readonly subaccounts: {
11436
11666
  index: number;
11437
11667
  isRebid: boolean;
@@ -11452,7 +11682,7 @@ declare class CohortBidderHistory {
11452
11682
  private lastBids;
11453
11683
  private readonly myAddresses;
11454
11684
  private maxSeatsInPlay;
11455
- constructor(cohortId: number, subaccounts: {
11685
+ constructor(cohortStartingFrameId: number, subaccounts: {
11456
11686
  index: number;
11457
11687
  isRebid: boolean;
11458
11688
  address: string;
@@ -11476,7 +11706,7 @@ declare class CohortBidderHistory {
11476
11706
 
11477
11707
  declare class CohortBidder {
11478
11708
  accountset: Accountset;
11479
- cohortId: number;
11709
+ cohortStartingFrameId: number;
11480
11710
  subaccounts: {
11481
11711
  index: number;
11482
11712
  isRebid: boolean;
@@ -11502,7 +11732,7 @@ declare class CohortBidder {
11502
11732
  private history;
11503
11733
  private millisPerTick?;
11504
11734
  private readonly myAddresses;
11505
- constructor(accountset: Accountset, cohortId: number, subaccounts: {
11735
+ constructor(accountset: Accountset, cohortStartingFrameId: number, subaccounts: {
11506
11736
  index: number;
11507
11737
  isRebid: boolean;
11508
11738
  address: string;
@@ -11516,7 +11746,7 @@ declare class CohortBidder {
11516
11746
  });
11517
11747
  stop(): Promise<CohortBidder['stats']>;
11518
11748
  start(): Promise<void>;
11519
- private checkSeats;
11749
+ private checkWinningBids;
11520
11750
  private bid;
11521
11751
  private checkCurrentSeats;
11522
11752
  }
@@ -11536,9 +11766,9 @@ declare class BidPool {
11536
11766
  readonly keypair: KeyringPair;
11537
11767
  readonly accountRegistry: AccountRegistry;
11538
11768
  bidPoolAmount: bigint;
11539
- nextCohortId: number;
11540
- poolVaultCapitalByCohort: {
11541
- [cohortId: number]: {
11769
+ nextFrameId: number;
11770
+ poolVaultCapitalByFrame: {
11771
+ [frameId: number]: {
11542
11772
  [vaultId: number]: IVaultMiningBondFund;
11543
11773
  };
11544
11774
  };
@@ -11547,8 +11777,8 @@ declare class BidPool {
11547
11777
  private blockWatch;
11548
11778
  private vaultsById;
11549
11779
  private tickDuration?;
11550
- private lastDistributedCohortId?;
11551
- private cohortSubscriptions;
11780
+ private lastDistributedFrameId?;
11781
+ private FrameSubscriptions;
11552
11782
  constructor(client: Promise<ArgonClient>, keypair: KeyringPair, accountRegistry?: AccountRegistry);
11553
11783
  private onVaultsUpdated;
11554
11784
  getBidPool(): Promise<bigint>;
@@ -11562,9 +11792,9 @@ declare class BidPool {
11562
11792
  printDebounce(): void;
11563
11793
  getOperatorName(vaultId: number): string;
11564
11794
  print(): void;
11565
- private setVaultCohortData;
11795
+ private setVaultFrameData;
11566
11796
  private createBondCapitalTable;
11567
- private loadCohortData;
11797
+ private loadFrameData;
11568
11798
  }
11569
11799
 
11570
11800
  declare class BitcoinLocks {
@@ -11618,4 +11848,4 @@ declare function waitForLoad(): Promise<void>;
11618
11848
  */
11619
11849
  declare function getClient(host: string): Promise<ArgonClient>;
11620
11850
 
11621
- export { AccountMiners, AccountRegistry, Accountset, type ArgonClient, BidPool, BitcoinLocks, BlockWatch, CohortBidder, CohortBidderHistory, ExtrinsicError, JsonExt, MICROGONS_PER_ARGON, MiningBids, MiningRotations, TxSubmitter, Vault, VaultMonitor, WageProtector, checkForExtrinsicSuccess, convertFixedU128ToBigNumber, convertPermillToBigNumber, createKeyringPair, dispatchErrorToExtrinsicError, dispatchErrorToString, eventDataToJson, filterUndefined, formatArgons, formatPercent, getAuthorFromHeader, getClient, getTickFromHeader, gettersToObject, keyringFromSuri, waitForLoad };
11851
+ export { AccountMiners, AccountRegistry, Accountset, type ArgonClient, BidPool, BitcoinLocks, BlockWatch, CohortBidder, CohortBidderHistory, ExtrinsicError, FrameCalculator, JsonExt, MICROGONS_PER_ARGON, MiningBids, TxSubmitter, TypedEmitter, Vault, VaultMonitor, WageProtector, checkForExtrinsicSuccess, convertFixedU128ToBigNumber, convertPermillToBigNumber, createKeyringPair, createNanoEvents, dispatchErrorToExtrinsicError, dispatchErrorToString, eventDataToJson, filterUndefined, formatArgons, formatPercent, getAuthorFromHeader, getClient, getTickFromHeader, gettersToObject, keyringFromSuri, waitForLoad };