@argonprotocol/mainchain 1.0.8 → 1.0.10

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.
Files changed (32) hide show
  1. package/lib/cjs/interfaces/augment-api-consts.d.ts +57 -57
  2. package/lib/cjs/interfaces/augment-api-errors.d.ts +91 -106
  3. package/lib/cjs/interfaces/augment-api-events.d.ts +108 -102
  4. package/lib/cjs/interfaces/augment-api-query.d.ts +76 -52
  5. package/lib/cjs/interfaces/augment-api-tx.d.ts +71 -55
  6. package/lib/cjs/interfaces/lookup.d.ts +234 -206
  7. package/lib/cjs/interfaces/lookup.js +250 -222
  8. package/lib/cjs/interfaces/lookup.js.map +1 -1
  9. package/lib/cjs/interfaces/registry.d.ts +15 -14
  10. package/lib/cjs/interfaces/types-lookup.d.ts +276 -251
  11. package/lib/esm/interfaces/augment-api-consts.d.ts +57 -57
  12. package/lib/esm/interfaces/augment-api-errors.d.ts +91 -106
  13. package/lib/esm/interfaces/augment-api-events.d.ts +108 -102
  14. package/lib/esm/interfaces/augment-api-query.d.ts +76 -52
  15. package/lib/esm/interfaces/augment-api-tx.d.ts +71 -55
  16. package/lib/esm/interfaces/lookup.d.ts +234 -206
  17. package/lib/esm/interfaces/lookup.js +250 -222
  18. package/lib/esm/interfaces/lookup.js.map +1 -1
  19. package/lib/esm/interfaces/registry.d.ts +15 -14
  20. package/lib/esm/interfaces/types-lookup.d.ts +276 -251
  21. package/lib/tsconfig-cjs.tsbuildinfo +1 -1
  22. package/lib/tsconfig-types.tsbuildinfo +1 -1
  23. package/lib/tsconfig.tsbuildinfo +1 -1
  24. package/lib/types/interfaces/augment-api-consts.d.ts +57 -57
  25. package/lib/types/interfaces/augment-api-errors.d.ts +91 -106
  26. package/lib/types/interfaces/augment-api-events.d.ts +108 -102
  27. package/lib/types/interfaces/augment-api-query.d.ts +76 -52
  28. package/lib/types/interfaces/augment-api-tx.d.ts +71 -55
  29. package/lib/types/interfaces/lookup.d.ts +234 -206
  30. package/lib/types/interfaces/registry.d.ts +15 -14
  31. package/lib/types/interfaces/types-lookup.d.ts +276 -251
  32. package/package.json +1 -1
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBondBondExpiration, ArgonPrimitivesBondBondType, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryRecord, ArgonRuntimeConfigsProxyType, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, PalletDomainsDomainRegistration, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, PalletMintMintType, PalletMultisigTimepoint, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } from '@polkadot/types/lookup';
6
+ import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesVaultFundType, ArgonPrimitivesVaultObligationExpiration, ArgonRuntimeConfigsProxyType, FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, PalletDomainsDomainRegistration, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, PalletMintMintType, PalletMultisigTimepoint, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } from '@polkadot/types/lookup';
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -165,6 +165,49 @@ declare module '@polkadot/api-base/types/events' {
165
165
  amount: u128;
166
166
  }>;
167
167
  };
168
+ bitcoinLocks: {
169
+ BitcoinCosignPastDue: AugmentedEvent<ApiType, [utxoId: u64, obligationId: u64, vaultId: u32, compensationAmount: u128, compensationStillOwed: u128, compensatedAccountId: AccountId32], {
170
+ utxoId: u64;
171
+ obligationId: u64;
172
+ vaultId: u32;
173
+ compensationAmount: u128;
174
+ compensationStillOwed: u128;
175
+ compensatedAccountId: AccountId32;
176
+ }>;
177
+ BitcoinLockBurned: AugmentedEvent<ApiType, [utxoId: u64, vaultId: u32, obligationId: u64, amountBurned: u128, amountHeld: u128, wasUtxoSpent: bool], {
178
+ utxoId: u64;
179
+ vaultId: u32;
180
+ obligationId: u64;
181
+ amountBurned: u128;
182
+ amountHeld: u128;
183
+ wasUtxoSpent: bool;
184
+ }>;
185
+ BitcoinLockCreated: AugmentedEvent<ApiType, [utxoId: u64, vaultId: u32, obligationId: u64, lockPrice: u128, accountId: AccountId32], {
186
+ utxoId: u64;
187
+ vaultId: u32;
188
+ obligationId: u64;
189
+ lockPrice: u128;
190
+ accountId: AccountId32;
191
+ }>;
192
+ BitcoinUtxoCosigned: AugmentedEvent<ApiType, [utxoId: u64, obligationId: u64, vaultId: u32, signature: Bytes], {
193
+ utxoId: u64;
194
+ obligationId: u64;
195
+ vaultId: u32;
196
+ signature: Bytes;
197
+ }>;
198
+ BitcoinUtxoCosignRequested: AugmentedEvent<ApiType, [utxoId: u64, obligationId: u64, vaultId: u32], {
199
+ utxoId: u64;
200
+ obligationId: u64;
201
+ vaultId: u32;
202
+ }>;
203
+ /**
204
+ * An error occurred while refunding an overdue cosigned bitcoin lock
205
+ **/
206
+ CosignOverdueError: AugmentedEvent<ApiType, [utxoId: u64, error: SpRuntimeDispatchError], {
207
+ utxoId: u64;
208
+ error: SpRuntimeDispatchError;
209
+ }>;
210
+ };
168
211
  bitcoinUtxos: {
169
212
  UtxoExpiredError: AugmentedEvent<ApiType, [utxoRef: ArgonPrimitivesBitcoinUtxoRef, error: SpRuntimeDispatchError], {
170
213
  utxoRef: ArgonPrimitivesBitcoinUtxoRef;
@@ -232,74 +275,6 @@ declare module '@polkadot/api-base/types/events' {
232
275
  newVoteMinimum: u128;
233
276
  }>;
234
277
  };
235
- bonds: {
236
- BitcoinBondBurned: AugmentedEvent<ApiType, [vaultId: u32, bondId: u64, utxoId: u64, amountBurned: u128, amountHeld: u128, wasUtxoSpent: bool], {
237
- vaultId: u32;
238
- bondId: u64;
239
- utxoId: u64;
240
- amountBurned: u128;
241
- amountHeld: u128;
242
- wasUtxoSpent: bool;
243
- }>;
244
- BitcoinCosignPastDue: AugmentedEvent<ApiType, [bondId: u64, vaultId: u32, utxoId: u64, compensationAmount: u128, compensationStillOwed: u128, compensatedAccountId: AccountId32], {
245
- bondId: u64;
246
- vaultId: u32;
247
- utxoId: u64;
248
- compensationAmount: u128;
249
- compensationStillOwed: u128;
250
- compensatedAccountId: AccountId32;
251
- }>;
252
- BitcoinUtxoCosigned: AugmentedEvent<ApiType, [bondId: u64, vaultId: u32, utxoId: u64, signature: Bytes], {
253
- bondId: u64;
254
- vaultId: u32;
255
- utxoId: u64;
256
- signature: Bytes;
257
- }>;
258
- BitcoinUtxoCosignRequested: AugmentedEvent<ApiType, [bondId: u64, vaultId: u32, utxoId: u64], {
259
- bondId: u64;
260
- vaultId: u32;
261
- utxoId: u64;
262
- }>;
263
- BondCanceled: AugmentedEvent<ApiType, [vaultId: u32, bondId: u64, bondedAccountId: AccountId32, bondType: ArgonPrimitivesBondBondType, returnedFee: u128], {
264
- vaultId: u32;
265
- bondId: u64;
266
- bondedAccountId: AccountId32;
267
- bondType: ArgonPrimitivesBondBondType;
268
- returnedFee: u128;
269
- }>;
270
- BondCompleted: AugmentedEvent<ApiType, [vaultId: u32, bondId: u64], {
271
- vaultId: u32;
272
- bondId: u64;
273
- }>;
274
- /**
275
- * An error occurred while completing a bond
276
- **/
277
- BondCompletionError: AugmentedEvent<ApiType, [bondId: u64, error: SpRuntimeDispatchError], {
278
- bondId: u64;
279
- error: SpRuntimeDispatchError;
280
- }>;
281
- BondCreated: AugmentedEvent<ApiType, [vaultId: u32, bondId: u64, bondType: ArgonPrimitivesBondBondType, bondedAccountId: AccountId32, utxoId: Option<u64>, amount: u128, expiration: ArgonPrimitivesBondBondExpiration], {
282
- vaultId: u32;
283
- bondId: u64;
284
- bondType: ArgonPrimitivesBondBondType;
285
- bondedAccountId: AccountId32;
286
- utxoId: Option<u64>;
287
- amount: u128;
288
- expiration: ArgonPrimitivesBondBondExpiration;
289
- }>;
290
- BondModified: AugmentedEvent<ApiType, [vaultId: u32, bondId: u64, amount: u128], {
291
- vaultId: u32;
292
- bondId: u64;
293
- amount: u128;
294
- }>;
295
- /**
296
- * An error occurred while refunding an overdue cosigned bitcoin bond
297
- **/
298
- CosignOverdueError: AugmentedEvent<ApiType, [utxoId: u64, error: SpRuntimeDispatchError], {
299
- utxoId: u64;
300
- error: SpRuntimeDispatchError;
301
- }>;
302
- };
303
278
  chainTransfer: {
304
279
  /**
305
280
  * A localchain transfer could not be cleaned up properly. Possible invalid transfer
@@ -542,34 +517,34 @@ declare module '@polkadot/api-base/types/events' {
542
517
  }>;
543
518
  };
544
519
  miningSlot: {
545
- MiningConfigurationUpdated: AugmentedEvent<ApiType, [blocksBeforeBidEndForVrfClose: u32, blocksBetweenSlots: u32, slotBiddingStartAfterTicks: u64], {
546
- blocksBeforeBidEndForVrfClose: u32;
547
- blocksBetweenSlots: u32;
520
+ MiningConfigurationUpdated: AugmentedEvent<ApiType, [ticksBeforeBidEndForVrfClose: u64, ticksBetweenSlots: u64, slotBiddingStartAfterTicks: u64], {
521
+ ticksBeforeBidEndForVrfClose: u64;
522
+ ticksBetweenSlots: u64;
548
523
  slotBiddingStartAfterTicks: u64;
549
524
  }>;
550
525
  NewMiners: AugmentedEvent<ApiType, [startIndex: u32, newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>], {
551
526
  startIndex: u32;
552
527
  newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>;
553
528
  }>;
554
- SlotBidderAdded: AugmentedEvent<ApiType, [accountId: AccountId32, bidAmount: u128, index: u32], {
529
+ ReleasedMinerSeat: AugmentedEvent<ApiType, [accountId: AccountId32, obligationId: Option<u64>, preservedArgonotHold: bool], {
555
530
  accountId: AccountId32;
556
- bidAmount: u128;
557
- index: u32;
531
+ obligationId: Option<u64>;
532
+ preservedArgonotHold: bool;
558
533
  }>;
559
- SlotBidderReplaced: AugmentedEvent<ApiType, [accountId: AccountId32, bondId: Option<u64>, keptOwnershipBond: bool], {
534
+ ReleaseMinerSeatError: AugmentedEvent<ApiType, [accountId: AccountId32, obligationId: Option<u64>, error: SpRuntimeDispatchError], {
560
535
  accountId: AccountId32;
561
- bondId: Option<u64>;
562
- keptOwnershipBond: bool;
536
+ obligationId: Option<u64>;
537
+ error: SpRuntimeDispatchError;
563
538
  }>;
564
- UnbondedMiner: AugmentedEvent<ApiType, [accountId: AccountId32, bondId: Option<u64>, keptOwnershipBond: bool], {
539
+ SlotBidderAdded: AugmentedEvent<ApiType, [accountId: AccountId32, bidAmount: u128, index: u32], {
565
540
  accountId: AccountId32;
566
- bondId: Option<u64>;
567
- keptOwnershipBond: bool;
541
+ bidAmount: u128;
542
+ index: u32;
568
543
  }>;
569
- UnbondMinerError: AugmentedEvent<ApiType, [accountId: AccountId32, bondId: Option<u64>, error: SpRuntimeDispatchError], {
544
+ SlotBidderReplaced: AugmentedEvent<ApiType, [accountId: AccountId32, obligationId: Option<u64>, preservedArgonotHold: bool], {
570
545
  accountId: AccountId32;
571
- bondId: Option<u64>;
572
- error: SpRuntimeDispatchError;
546
+ obligationId: Option<u64>;
547
+ preservedArgonotHold: bool;
573
548
  }>;
574
549
  };
575
550
  mint: {
@@ -1055,42 +1030,73 @@ declare module '@polkadot/api-base/types/events' {
1055
1030
  }>;
1056
1031
  };
1057
1032
  vaults: {
1033
+ ObligationCanceled: AugmentedEvent<ApiType, [vaultId: u32, obligationId: u64, beneficiary: AccountId32, fundType: ArgonPrimitivesVaultFundType, returnedFee: u128], {
1034
+ vaultId: u32;
1035
+ obligationId: u64;
1036
+ beneficiary: AccountId32;
1037
+ fundType: ArgonPrimitivesVaultFundType;
1038
+ returnedFee: u128;
1039
+ }>;
1040
+ ObligationCompleted: AugmentedEvent<ApiType, [vaultId: u32, obligationId: u64], {
1041
+ vaultId: u32;
1042
+ obligationId: u64;
1043
+ }>;
1044
+ /**
1045
+ * An error occurred while completing an obligation
1046
+ **/
1047
+ ObligationCompletionError: AugmentedEvent<ApiType, [obligationId: u64, error: SpRuntimeDispatchError], {
1048
+ obligationId: u64;
1049
+ error: SpRuntimeDispatchError;
1050
+ }>;
1051
+ ObligationCreated: AugmentedEvent<ApiType, [vaultId: u32, obligationId: u64, fundType: ArgonPrimitivesVaultFundType, beneficiary: AccountId32, amount: u128, expiration: ArgonPrimitivesVaultObligationExpiration], {
1052
+ vaultId: u32;
1053
+ obligationId: u64;
1054
+ fundType: ArgonPrimitivesVaultFundType;
1055
+ beneficiary: AccountId32;
1056
+ amount: u128;
1057
+ expiration: ArgonPrimitivesVaultObligationExpiration;
1058
+ }>;
1059
+ ObligationModified: AugmentedEvent<ApiType, [vaultId: u32, obligationId: u64, amount: u128], {
1060
+ vaultId: u32;
1061
+ obligationId: u64;
1062
+ amount: u128;
1063
+ }>;
1058
1064
  VaultBitcoinXpubChange: AugmentedEvent<ApiType, [vaultId: u32], {
1059
1065
  vaultId: u32;
1060
1066
  }>;
1061
- VaultClosed: AugmentedEvent<ApiType, [vaultId: u32, bitcoinAmountStillBonded: u128, miningAmountStillBonded: u128, securitizationStillBonded: u128], {
1067
+ VaultBondedArgonsChangeScheduled: AugmentedEvent<ApiType, [vaultId: u32, changeTick: u64], {
1062
1068
  vaultId: u32;
1063
- bitcoinAmountStillBonded: u128;
1064
- miningAmountStillBonded: u128;
1065
- securitizationStillBonded: u128;
1069
+ changeTick: u64;
1066
1070
  }>;
1067
- VaultCreated: AugmentedEvent<ApiType, [vaultId: u32, bitcoinArgons: u128, miningArgons: u128, securitizationPercent: u128, operatorAccountId: AccountId32], {
1071
+ VaultBondedArgonsIncreased: AugmentedEvent<ApiType, [vaultId: u32, bondedArgons: u128], {
1068
1072
  vaultId: u32;
1069
- bitcoinArgons: u128;
1070
- miningArgons: u128;
1071
- securitizationPercent: u128;
1072
- operatorAccountId: AccountId32;
1073
+ bondedArgons: u128;
1073
1074
  }>;
1074
- VaultMiningBondsChangeScheduled: AugmentedEvent<ApiType, [vaultId: u32, changeBlock: u32], {
1075
+ VaultClosed: AugmentedEvent<ApiType, [vaultId: u32, bitcoinAmountStillReserved: u128, miningAmountStillReserved: u128, securitizationStillReserved: u128], {
1075
1076
  vaultId: u32;
1076
- changeBlock: u32;
1077
+ bitcoinAmountStillReserved: u128;
1078
+ miningAmountStillReserved: u128;
1079
+ securitizationStillReserved: u128;
1077
1080
  }>;
1078
- VaultMiningBondsIncreased: AugmentedEvent<ApiType, [vaultId: u32, miningArgons: u128], {
1081
+ VaultCreated: AugmentedEvent<ApiType, [vaultId: u32, bitcoinArgons: u128, bondedArgons: u128, addedSecuritizationPercent: u128, operatorAccountId: AccountId32], {
1079
1082
  vaultId: u32;
1080
- miningArgons: u128;
1083
+ bitcoinArgons: u128;
1084
+ bondedArgons: u128;
1085
+ addedSecuritizationPercent: u128;
1086
+ operatorAccountId: AccountId32;
1081
1087
  }>;
1082
- VaultModified: AugmentedEvent<ApiType, [vaultId: u32, bitcoinArgons: u128, miningArgons: u128, securitizationPercent: u128], {
1088
+ VaultModified: AugmentedEvent<ApiType, [vaultId: u32, bitcoinArgons: u128, bondedArgons: u128, addedSecuritizationPercent: u128], {
1083
1089
  vaultId: u32;
1084
1090
  bitcoinArgons: u128;
1085
- miningArgons: u128;
1086
- securitizationPercent: u128;
1091
+ bondedArgons: u128;
1092
+ addedSecuritizationPercent: u128;
1087
1093
  }>;
1088
1094
  VaultTermsChanged: AugmentedEvent<ApiType, [vaultId: u32], {
1089
1095
  vaultId: u32;
1090
1096
  }>;
1091
- VaultTermsChangeScheduled: AugmentedEvent<ApiType, [vaultId: u32, changeBlock: u32], {
1097
+ VaultTermsChangeScheduled: AugmentedEvent<ApiType, [vaultId: u32, changeTick: u64], {
1092
1098
  vaultId: u32;
1093
- changeBlock: u32;
1099
+ changeTick: u64;
1094
1100
  }>;
1095
1101
  };
1096
1102
  }
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/
3
3
  import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesBond, ArgonPrimitivesBondVault, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, IsmpConsensusStateCommitment, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpHostStateMachine, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBondUtxoCosignRequest, PalletBondUtxoState, PalletChainTransferQueuedTransferOut, PalletDomainsDomainRegistration, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletHyperbridgeVersionedHostParams, PalletMintMintAction, PalletMultisigMultisig, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, SpConsensusGrandpaAppPublic, SpRuntimeDigest } from '@polkadot/types/lookup';
6
+ import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesVault, ArgonPrimitivesVaultObligation, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, IsmpConsensusStateCommitment, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpHostStateMachine, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletChainTransferQueuedTransferOut, PalletDomainsDomainRegistration, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletHyperbridgeVersionedHostParams, PalletMintMintAction, PalletMultisigMultisig, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, SpConsensusGrandpaAppPublic, SpRuntimeDigest } from '@polkadot/types/lookup';
7
7
  import type { Observable } from '@polkadot/types/types';
8
8
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
9
9
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -73,6 +73,35 @@ declare module '@polkadot/api-base/types/storage' {
73
73
  **/
74
74
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
75
75
  };
76
+ bitcoinLocks: {
77
+ /**
78
+ * Stores the block number where the lock was released
79
+ **/
80
+ lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]>;
81
+ /**
82
+ * Stores bitcoin utxos that have requested to be released
83
+ **/
84
+ locksByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [u64]>;
85
+ /**
86
+ * Utxos that have been requested to be cosigned for releasing
87
+ **/
88
+ locksPendingReleaseByUtxoId: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, PalletBitcoinLocksLockReleaseRequest>>, []>;
89
+ /**
90
+ * The minimum number of satoshis that can be locked
91
+ **/
92
+ minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
93
+ nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
94
+ /**
95
+ * Mapping of obligation id to lock id
96
+ **/
97
+ obligationIdToUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [u64]>;
98
+ /**
99
+ * Stores Utxos that were not paid back in full
100
+ *
101
+ * Tuple stores Account, Vault, Still Owed, State
102
+ **/
103
+ owedUtxoAggrieved: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u32, u128, PalletBitcoinLocksLockedBitcoin]>>>, [u64]>;
104
+ };
76
105
  bitcoinUtxos: {
77
106
  /**
78
107
  * The genesis set bitcoin network that this chain is tied to
@@ -92,17 +121,17 @@ declare module '@polkadot/api-base/types/storage' {
92
121
  lockedUtxoExpirationsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBitcoinUtxoRef>>, [u64]>;
93
122
  /**
94
123
  * Locked Bitcoin UTXOs that have had ownership confirmed. If a Bitcoin UTXO is moved before
95
- * the expiration block, the bond is burned and the UTXO is unlocked.
124
+ * the expiration block, the obligation is burned and the UTXO is unlocked.
96
125
  **/
97
126
  lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | {
98
127
  txid?: any;
99
128
  outputIndex?: any;
100
129
  } | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [ArgonPrimitivesBitcoinUtxoRef]>;
101
- nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
102
130
  /**
103
131
  * Bitcoin Oracle Operator Account
104
132
  **/
105
133
  oracleOperatorAccount: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
134
+ previousBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
106
135
  /**
107
136
  * The last synched bitcoin block
108
137
  **/
@@ -118,6 +147,10 @@ declare module '@polkadot/api-base/types/storage' {
118
147
  utxosPendingConfirmation: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, []>;
119
148
  };
120
149
  blockRewards: {
150
+ /**
151
+ * Bool if block rewards are paused
152
+ **/
153
+ blockRewardsPaused: AugmentedQuery<ApiType, () => Observable<bool>, []>;
121
154
  payoutsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>, [u32]>;
122
155
  };
123
156
  blockSeal: {
@@ -181,44 +214,6 @@ declare module '@polkadot/api-base/types/storage' {
181
214
  **/
182
215
  voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
183
216
  };
184
- bonds: {
185
- /**
186
- * Completion of bitcoin bonds by bitcoin height. Bond funds are returned to the vault if
187
- * unlocked or used as the price of the bitcoin
188
- **/
189
- bitcoinBondCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [u64]>;
190
- /**
191
- * Bonds by id
192
- **/
193
- bondsById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBond>>, [u64]>;
194
- /**
195
- * The minimum number of satoshis that can be bonded
196
- **/
197
- minimumBitcoinBondSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
198
- /**
199
- * Completion of mining bonds, upon which funds are returned to the vault
200
- **/
201
- miningBondCompletions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [u32]>;
202
- nextBondId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
203
- /**
204
- * Stores Utxos that were not paid back in full
205
- *
206
- * Tuple stores Account, Vault, Still Owed, State
207
- **/
208
- owedUtxoAggrieved: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u32, u128, PalletBondUtxoState]>>>, [u64]>;
209
- /**
210
- * Stores bitcoin utxos that have requested to be unlocked
211
- **/
212
- utxosById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBondUtxoState>>, [u64]>;
213
- /**
214
- * Stores the block number where the utxo was unlocked
215
- **/
216
- utxosCosignReleaseHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]>;
217
- /**
218
- * Utxos that have been requested to be cosigned for unlocking
219
- **/
220
- utxosPendingUnlockByUtxoId: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, PalletBondUtxoCosignRequest>>, []>;
221
- };
222
217
  chainTransfer: {
223
218
  expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32, u64]>;
224
219
  /**
@@ -376,11 +371,19 @@ declare module '@polkadot/api-base/types/storage' {
376
371
  **/
377
372
  activeMinersByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBlockSealMiningRegistration>>, [u32]>;
378
373
  activeMinersCount: AugmentedQuery<ApiType, () => Observable<u16>, []>;
374
+ /**
375
+ * Argonots that must be locked to take a Miner role
376
+ **/
377
+ argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, []>;
379
378
  /**
380
379
  * Authorities are the session keys that are actively participating in the network.
381
380
  * The tuple is the authority, and the blake2 256 hash of the authority used for xor lookups
382
381
  **/
383
382
  authorityHashByIndex: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, U256>>, []>;
383
+ /**
384
+ * The current slot id
385
+ **/
386
+ currentSlotId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
384
387
  hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
385
388
  /**
386
389
  * The number of bids per slot for the last 10 slots (newest first)
@@ -399,10 +402,6 @@ declare module '@polkadot/api-base/types/storage' {
399
402
  * registrants with their bid amount
400
403
  **/
401
404
  nextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, []>;
402
- /**
403
- * Tokens that must be bonded to take a Miner role
404
- **/
405
- ownershipBondAmount: AugmentedQuery<ApiType, () => Observable<u128>, []>;
406
405
  };
407
406
  mint: {
408
407
  blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, []>;
@@ -647,6 +646,7 @@ declare module '@polkadot/api-base/types/storage' {
647
646
  currentTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
648
647
  genesisTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
649
648
  genesisTicker: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTickTicker>, []>;
649
+ previousTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
650
650
  /**
651
651
  * Blocks from the last 100 ticks. Trimmed in on_initialize.
652
652
  * NOTE: cannot include the current block hash until next block
@@ -667,10 +667,6 @@ declare module '@polkadot/api-base/types/storage' {
667
667
  now: AugmentedQuery<ApiType, () => Observable<u64>, []>;
668
668
  };
669
669
  tokenGateway: {
670
- /**
671
- * The decimals used by the EVM counterpart of this asset
672
- **/
673
- decimals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u8>>, [u32]>;
674
670
  /**
675
671
  * Assets supported by this instance of token gateway
676
672
  * A map of the token gateway asset id to the local asset id
@@ -680,6 +676,20 @@ declare module '@polkadot/api-base/types/storage' {
680
676
  * Assets that originate from this chain
681
677
  **/
682
678
  nativeAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]>;
679
+ /**
680
+ * The decimals used by the EVM counterpart of this asset
681
+ **/
682
+ precisions: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: IsmpHostStateMachine | {
683
+ Evm: any;
684
+ } | {
685
+ Polkadot: any;
686
+ } | {
687
+ Kusama: any;
688
+ } | {
689
+ Substrate: any;
690
+ } | {
691
+ Tendermint: any;
692
+ } | string | Uint8Array) => Observable<Option<u8>>, [u32, IsmpHostStateMachine]>;
683
693
  /**
684
694
  * Assets supported by this instance of token gateway
685
695
  * A map of the local asset id to the token gateway asset id
@@ -711,21 +721,35 @@ declare module '@polkadot/api-base/types/storage' {
711
721
  pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [ITuple<[Bytes, Bytes]>]>;
712
722
  };
713
723
  vaults: {
724
+ /**
725
+ * Completion of bitcoin locks by bitcoin height. Funds are returned to the vault if
726
+ * unlocked or used as the price of the bitcoin
727
+ **/
728
+ bitcoinLockCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [u64]>;
729
+ /**
730
+ * Completion of mining obligation, upon which funds are returned to the vault
731
+ **/
732
+ bondedArgonCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [u64]>;
733
+ nextObligationId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
714
734
  nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
735
+ /**
736
+ * Obligation by id
737
+ **/
738
+ obligationsById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVaultObligation>>, [u64]>;
715
739
  /**
716
740
  * Pending funding that will be committed at the given block number (must be a minimum of 1
717
741
  * slot change away)
718
742
  **/
719
- pendingFundingModificationsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]>;
743
+ pendingFundingModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u64]>;
720
744
  /**
721
745
  * Pending terms that will be committed at the given block number (must be a minimum of 1 slot
722
746
  * change away)
723
747
  **/
724
- pendingTermsModificationsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]>;
748
+ pendingTermsModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u64]>;
725
749
  /**
726
750
  * Vaults by id
727
751
  **/
728
- vaultsById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBondVault>>, [u32]>;
752
+ vaultsById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>, [u32]>;
729
753
  /**
730
754
  * Vault Bitcoin Xpub and current child counter by VaultId
731
755
  **/