@argonprotocol/mainchain 0.0.16 → 0.0.18

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 (57) hide show
  1. package/README.md +46 -0
  2. package/lib/cjs/WageProtector.d.ts +37 -0
  3. package/lib/cjs/WageProtector.js +63 -0
  4. package/lib/cjs/WageProtector.js.map +1 -0
  5. package/lib/cjs/__test__/WageProtector.test.d.ts +1 -0
  6. package/lib/cjs/__test__/WageProtector.test.js +28 -0
  7. package/lib/cjs/__test__/WageProtector.test.js.map +1 -0
  8. package/lib/cjs/index.d.ts +16 -1
  9. package/lib/cjs/index.js +22 -7
  10. package/lib/cjs/index.js.map +1 -1
  11. package/lib/cjs/interfaces/augment-api-consts.d.ts +34 -7
  12. package/lib/cjs/interfaces/augment-api-errors.d.ts +115 -4
  13. package/lib/cjs/interfaces/augment-api-events.d.ts +172 -14
  14. package/lib/cjs/interfaces/augment-api-query.d.ts +160 -29
  15. package/lib/cjs/interfaces/augment-api-tx.d.ts +140 -13
  16. package/lib/cjs/interfaces/augment-types.d.ts +4 -1
  17. package/lib/cjs/interfaces/lookup.d.ts +809 -307
  18. package/lib/cjs/interfaces/lookup.js +840 -338
  19. package/lib/cjs/interfaces/lookup.js.map +1 -1
  20. package/lib/cjs/interfaces/registry.d.ts +55 -9
  21. package/lib/cjs/interfaces/types-lookup.d.ts +792 -328
  22. package/lib/esm/WageProtector.d.ts +37 -0
  23. package/lib/esm/WageProtector.js +59 -0
  24. package/lib/esm/WageProtector.js.map +1 -0
  25. package/lib/esm/__test__/WageProtector.test.d.ts +1 -0
  26. package/lib/esm/__test__/WageProtector.test.js +26 -0
  27. package/lib/esm/__test__/WageProtector.test.js.map +1 -0
  28. package/lib/esm/index.d.ts +16 -1
  29. package/lib/esm/index.js +16 -2
  30. package/lib/esm/index.js.map +1 -1
  31. package/lib/esm/interfaces/augment-api-consts.d.ts +34 -7
  32. package/lib/esm/interfaces/augment-api-errors.d.ts +115 -4
  33. package/lib/esm/interfaces/augment-api-events.d.ts +172 -14
  34. package/lib/esm/interfaces/augment-api-query.d.ts +160 -29
  35. package/lib/esm/interfaces/augment-api-tx.d.ts +140 -13
  36. package/lib/esm/interfaces/augment-types.d.ts +4 -1
  37. package/lib/esm/interfaces/lookup.d.ts +809 -307
  38. package/lib/esm/interfaces/lookup.js +840 -338
  39. package/lib/esm/interfaces/lookup.js.map +1 -1
  40. package/lib/esm/interfaces/registry.d.ts +55 -9
  41. package/lib/esm/interfaces/types-lookup.d.ts +792 -328
  42. package/lib/tsconfig-cjs.tsbuildinfo +1 -1
  43. package/lib/tsconfig-types.tsbuildinfo +1 -1
  44. package/lib/tsconfig.tsbuildinfo +1 -1
  45. package/lib/types/WageProtector.d.ts +37 -0
  46. package/lib/types/__test__/WageProtector.test.d.ts +1 -0
  47. package/lib/types/index.d.ts +16 -1
  48. package/lib/types/interfaces/augment-api-consts.d.ts +34 -7
  49. package/lib/types/interfaces/augment-api-errors.d.ts +115 -4
  50. package/lib/types/interfaces/augment-api-events.d.ts +172 -14
  51. package/lib/types/interfaces/augment-api-query.d.ts +160 -29
  52. package/lib/types/interfaces/augment-api-tx.d.ts +140 -13
  53. package/lib/types/interfaces/augment-types.d.ts +4 -1
  54. package/lib/types/interfaces/lookup.d.ts +809 -307
  55. package/lib/types/interfaces/registry.d.ts +55 -9
  56. package/lib/types/interfaces/types-lookup.d.ts +792 -328
  57. package/package.json +28 -7
@@ -1,9 +1,9 @@
1
1
  import '@polkadot/api-base/types/storage';
2
2
  import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
3
- import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
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, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesBond, ArgonPrimitivesBondVault, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDigestsParentVotingKeyDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBondUtxoCosignRequest, PalletBondUtxoState, PalletChainTransferQueuedTransferOut, PalletDomainsDomainRegistration, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMultisigMultisig, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, SpConsensusGrandpaAppPublic, SpRuntimeDigest } from '@polkadot/types/lookup';
6
+ import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealBlockPayout, 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, 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>;
@@ -82,6 +82,10 @@ declare module '@polkadot/api-base/types/storage' {
82
82
  * An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
83
83
  **/
84
84
  confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
85
+ /**
86
+ * Check if the inherent was included
87
+ **/
88
+ inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
85
89
  /**
86
90
  * Expiration date as a day since unix timestamp mapped to Bitcoin UTXOs
87
91
  **/
@@ -103,6 +107,10 @@ declare module '@polkadot/api-base/types/storage' {
103
107
  * The last synched bitcoin block
104
108
  **/
105
109
  synchedBitcoinBlock: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
110
+ /**
111
+ * Stores if parent block had a confirmed bitcoin block
112
+ **/
113
+ tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
106
114
  utxoIdToRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [u64]>;
107
115
  /**
108
116
  * Bitcoin UTXOs that have been submitted for ownership confirmation
@@ -124,22 +132,14 @@ declare module '@polkadot/api-base/types/storage' {
124
132
  * Secret + VotesMerkleRoot of the parent block notebooks.
125
133
  **/
126
134
  parentVotingKey: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []>;
127
- /**
128
- * Author of current block (temporary storage).
129
- **/
130
- tempAuthor: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
131
135
  /**
132
136
  * Ensures only a single inherent is applied
133
137
  **/
134
138
  tempSealInherent: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>, []>;
135
- /**
136
- * Temporarily track the parent voting key digest
137
- **/
138
- tempVotingKeyDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsParentVotingKeyDigest>>, []>;
139
139
  /**
140
140
  * The count of votes in the last 3 ticks
141
141
  **/
142
- votesInPast3Ticks: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []>;
142
+ votesInPast3Ticks: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []>;
143
143
  };
144
144
  blockSealSpec: {
145
145
  /**
@@ -148,14 +148,23 @@ declare module '@polkadot/api-base/types/storage' {
148
148
  * target a max number of votes
149
149
  **/
150
150
  currentComputeDifficulty: AugmentedQuery<ApiType, () => Observable<u128>, []>;
151
+ /**
152
+ * The key K is selected to be the hash of a block in the blockchain - this block is called
153
+ * the 'key block'. For optimal mining and verification performance, the key should
154
+ * change every day
155
+ **/
156
+ currentComputeKeyBlock: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []>;
151
157
  /**
152
158
  * The current vote minimum of the chain. Block votes use this minimum to determine the
153
159
  * minimum amount of tax or compute needed to create a vote. It is adjusted up or down to
154
160
  * target a max number of votes
155
161
  **/
156
162
  currentVoteMinimum: AugmentedQuery<ApiType, () => Observable<u128>, []>;
157
- pastBlockVotes: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32, u128]>>>, []>;
163
+ pastBlockVotes: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32, u128]>>>, []>;
158
164
  pastComputeBlockTimes: AugmentedQuery<ApiType, () => Observable<Vec<u64>>, []>;
165
+ /**
166
+ * The timestamp from the previous block
167
+ **/
159
168
  previousBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
160
169
  tempBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
161
170
  /**
@@ -210,13 +219,20 @@ declare module '@polkadot/api-base/types/storage' {
210
219
  utxosPendingUnlockByUtxoId: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, PalletBondUtxoCosignRequest>>, []>;
211
220
  };
212
221
  chainTransfer: {
213
- expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32, u32]>;
222
+ expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32, u64]>;
223
+ /**
224
+ * The admin of the hyperbridge token gateway
225
+ **/
226
+ hyperbridgeTokenAdmin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
214
227
  nextTransferId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
215
228
  pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChainTransferQueuedTransferOut>>, [u32]>;
216
229
  transfersUsedInBlockNotebooks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u32]>>>, [u32]>;
217
230
  };
231
+ digests: {
232
+ tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, []>;
233
+ };
218
234
  domains: {
219
- expiringDomainsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u32]>;
235
+ expiringDomainsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u64]>;
220
236
  registeredDomains: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletDomainsDomainRegistration>>, [H256]>;
221
237
  zoneRecordsByDomain: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ArgonPrimitivesDomainZoneRecord>>, [H256]>;
222
238
  };
@@ -260,6 +276,95 @@ declare module '@polkadot/api-base/types/storage' {
260
276
  **/
261
277
  state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, []>;
262
278
  };
279
+ hyperbridge: {
280
+ /**
281
+ * The host parameters of the pallet-hyperbridge.
282
+ **/
283
+ hostParams: AugmentedQuery<ApiType, () => Observable<PalletHyperbridgeVersionedHostParams>, []>;
284
+ };
285
+ ismp: {
286
+ /**
287
+ * A mapping of state machine Ids to their challenge periods
288
+ **/
289
+ challengePeriod: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineId | {
290
+ stateId?: any;
291
+ consensusStateId?: any;
292
+ } | string | Uint8Array) => Observable<Option<u64>>, [IsmpConsensusStateMachineId]>;
293
+ /**
294
+ * The child trie root of messages
295
+ **/
296
+ childTrieRoot: AugmentedQuery<ApiType, () => Observable<H256>, []>;
297
+ /**
298
+ * Holds the timestamp at which a consensus client was recently updated.
299
+ * Used in ensuring that the configured challenge period elapses.
300
+ **/
301
+ consensusClientUpdateTime: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [U8aFixed]>;
302
+ /**
303
+ * A mapping of consensus state identifier to it's associated consensus client identifier
304
+ **/
305
+ consensusStateClient: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<U8aFixed>>, [U8aFixed]>;
306
+ /**
307
+ * Holds a map of consensus state identifiers to their consensus state.
308
+ **/
309
+ consensusStates: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<Bytes>>, [U8aFixed]>;
310
+ /**
311
+ * Holds a map of consensus clients frozen due to byzantine
312
+ * behaviour
313
+ **/
314
+ frozenConsensusClients: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<bool>, [U8aFixed]>;
315
+ /**
316
+ * The latest verified height for a state machine
317
+ **/
318
+ latestStateMachineHeight: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineId | {
319
+ stateId?: any;
320
+ consensusStateId?: any;
321
+ } | string | Uint8Array) => Observable<Option<u64>>, [IsmpConsensusStateMachineId]>;
322
+ /**
323
+ * Latest nonce for messages sent from this chain
324
+ **/
325
+ nonce: AugmentedQuery<ApiType, () => Observable<u64>, []>;
326
+ /**
327
+ * Tracks requests that have been responded to
328
+ * The key is the request commitment
329
+ **/
330
+ responded: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [H256]>;
331
+ /**
332
+ * Holds a map of state machine heights to their verified state commitments. These state
333
+ * commitments end up here after they are successfully verified by a `ConsensusClient`
334
+ **/
335
+ stateCommitments: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineHeight | {
336
+ id?: any;
337
+ height?: any;
338
+ } | string | Uint8Array) => Observable<Option<IsmpConsensusStateCommitment>>, [IsmpConsensusStateMachineHeight]>;
339
+ /**
340
+ * Holds the timestamp at which a state machine height was updated.
341
+ * Used in ensuring that the configured challenge period elapses.
342
+ **/
343
+ stateMachineUpdateTime: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineHeight | {
344
+ id?: any;
345
+ height?: any;
346
+ } | string | Uint8Array) => Observable<Option<u64>>, [IsmpConsensusStateMachineHeight]>;
347
+ /**
348
+ * A mapping of consensus state identifiers to their unbonding periods
349
+ **/
350
+ unbondingPeriod: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [U8aFixed]>;
351
+ };
352
+ ismpGrandpa: {
353
+ /**
354
+ * Registered state machines for the grandpa consensus client
355
+ **/
356
+ supportedStateMachines: AugmentedQuery<ApiType, (arg: IsmpHostStateMachine | {
357
+ Evm: any;
358
+ } | {
359
+ Polkadot: any;
360
+ } | {
361
+ Kusama: any;
362
+ } | {
363
+ Substrate: any;
364
+ } | {
365
+ Tendermint: any;
366
+ } | string | Uint8Array) => Observable<Option<u64>>, [IsmpHostStateMachine]>;
367
+ };
263
368
  miningSlot: {
264
369
  /**
265
370
  * Lookup by account id to the corresponding index in ActiveMinersByIndex and Authorities
@@ -287,10 +392,6 @@ declare module '@polkadot/api-base/types/storage' {
287
392
  * The last percentage adjustment to the ownership bond amount
288
393
  **/
289
394
  lastOwnershipPercentAdjustment: AugmentedQuery<ApiType, () => Observable<Option<u128>>, []>;
290
- /**
291
- * The configuration for a miner to supply if there are no registered miners
292
- **/
293
- minerZero: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBlockSealMiningRegistration>>, []>;
294
395
  /**
295
396
  * The mining slot configuration set in genesis
296
397
  **/
@@ -306,8 +407,8 @@ declare module '@polkadot/api-base/types/storage' {
306
407
  ownershipBondAmount: AugmentedQuery<ApiType, () => Observable<u128>, []>;
307
408
  };
308
409
  mint: {
309
- mintedBitcoinArgons: AugmentedQuery<ApiType, () => Observable<u128>, []>;
310
- mintedMiningArgons: AugmentedQuery<ApiType, () => Observable<u128>, []>;
410
+ mintedBitcoinArgons: AugmentedQuery<ApiType, () => Observable<U256>, []>;
411
+ mintedMiningArgons: AugmentedQuery<ApiType, () => Observable<U256>, []>;
311
412
  /**
312
413
  * Bitcoin UTXOs that have been submitted for minting. This list is FIFO for minting whenever
313
414
  * a) CPI >= 0 and
@@ -325,12 +426,12 @@ declare module '@polkadot/api-base/types/storage' {
325
426
  activeNotaries: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>, []>;
326
427
  expiringProposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [u32]>;
327
428
  nextNotaryId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
328
- notaryKeyHistory: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, U8aFixed]>>>, [u32]>;
429
+ notaryKeyHistory: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>, [u32]>;
329
430
  proposedNotaries: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesNotaryNotaryMeta, u32]>>>, [AccountId32]>;
330
431
  /**
331
432
  * Metadata changes to be activated at the given tick
332
433
  **/
333
- queuedNotaryMetaChanges: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>, [u32]>;
434
+ queuedNotaryMetaChanges: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>, [u64]>;
334
435
  };
335
436
  notebook: {
336
437
  /**
@@ -346,6 +447,10 @@ declare module '@polkadot/api-base/types/storage' {
346
447
  * The notebooks included in this block
347
448
  **/
348
449
  blockNotebooks: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesDigestsNotebookDigest>, []>;
450
+ /**
451
+ * Check if the inherent was included
452
+ **/
453
+ inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
349
454
  /**
350
455
  * List of last few notebook details by notary. The bool is whether the notebook is eligible
351
456
  * for votes (received at correct tick and audit passed)
@@ -358,15 +463,11 @@ declare module '@polkadot/api-base/types/storage' {
358
463
  /**
359
464
  * Notaries locked for failing audits
360
465
  **/
361
- notariesLockedForFailedAudit: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, ArgonNotaryAuditErrorVerifyError]>>>, [u32]>;
466
+ notariesLockedForFailedAudit: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>, [u32]>;
362
467
  /**
363
468
  * Double storage map of notary id + notebook # to the change root
364
469
  **/
365
470
  notebookChangedAccountsRootByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32, u32]>;
366
- /**
367
- * Temporary store a copy of the notebook digest in storage
368
- **/
369
- tempNotebookDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsNotebookDigest>>, []>;
370
471
  };
371
472
  ownership: {
372
473
  /**
@@ -544,13 +645,13 @@ declare module '@polkadot/api-base/types/storage' {
544
645
  upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []>;
545
646
  };
546
647
  ticks: {
547
- currentTick: AugmentedQuery<ApiType, () => Observable<u32>, []>;
648
+ currentTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
548
649
  genesisTicker: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTickTicker>, []>;
549
650
  /**
550
651
  * Blocks from the last 100 ticks. Trimmed in on_initialize.
551
652
  * NOTE: cannot include the current block hash until next block
552
653
  **/
553
- recentBlocksAtTicks: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []>;
654
+ recentBlocksAtTicks: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u64]>;
554
655
  };
555
656
  timestamp: {
556
657
  /**
@@ -565,6 +666,36 @@ declare module '@polkadot/api-base/types/storage' {
565
666
  **/
566
667
  now: AugmentedQuery<ApiType, () => Observable<u64>, []>;
567
668
  };
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
+ /**
675
+ * Assets supported by this instance of token gateway
676
+ * A map of the token gateway asset id to the local asset id
677
+ **/
678
+ localAssets: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<u32>>, [H256]>;
679
+ /**
680
+ * Assets supported by this instance of token gateway
681
+ * A map of the local asset id to the token gateway asset id
682
+ **/
683
+ supportedAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]>;
684
+ /**
685
+ * The token gateway adresses on different chains
686
+ **/
687
+ tokenGatewayAddresses: AugmentedQuery<ApiType, (arg: IsmpHostStateMachine | {
688
+ Evm: any;
689
+ } | {
690
+ Polkadot: any;
691
+ } | {
692
+ Kusama: any;
693
+ } | {
694
+ Substrate: any;
695
+ } | {
696
+ Tendermint: any;
697
+ } | string | Uint8Array) => Observable<Option<Bytes>>, [IsmpHostStateMachine]>;
698
+ };
568
699
  transactionPayment: {
569
700
  nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
570
701
  storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []>;
@@ -1,9 +1,9 @@
1
1
  import '@polkadot/api-base/types/submittable';
2
2
  import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
3
- import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
3
+ import type { BTreeMap, Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, Call, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
6
- import type { ArgonNodeRuntimeOpaqueSessionKeys, ArgonNodeRuntimeOriginCaller, ArgonNodeRuntimeProxyType, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBlockSealRewardDestination, ArgonPrimitivesBondVaultTerms, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, PalletBalancesAdjustmentDirection, PalletMiningSlotMiningSlotBid, PalletMultisigTimepoint, PalletPriceIndexPriceIndex, PalletVaultsVaultConfig, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBlockSealRewardDestination, ArgonPrimitivesBondVaultTerms, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonRuntimeConfigsProxyType, ArgonRuntimeOriginCaller, ArgonRuntimeSessionKeys, IsmpGrandpaAddStateMachine, IsmpHostStateMachine, IsmpMessagingCreateConsensusState, IsmpMessagingMessage, PalletBalancesAdjustmentDirection, PalletIsmpUtilsFundMessageParams, PalletIsmpUtilsUpdateConsensusState, PalletMiningSlotMiningSlotBid, PalletMultisigTimepoint, PalletPriceIndexPriceIndex, PalletTokenGatewayAssetRegistration, PalletTokenGatewayTeleportParams, PalletVaultsVaultConfig, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight, TokenGatewayPrimitivesGatewayAssetUpdate } from '@polkadot/types/lookup';
7
7
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
8
8
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
9
9
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -281,6 +281,92 @@ declare module '@polkadot/api-base/types/submittable' {
281
281
  equivocation?: any;
282
282
  } | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
283
283
  };
284
+ ismp: {
285
+ /**
286
+ * Create a consensus client, using a subjectively chosen consensus state. This can also
287
+ * be used to overwrite an existing consensus state. The dispatch origin for this
288
+ * call must be `T::AdminOrigin`.
289
+ *
290
+ * - `message`: [`CreateConsensusState`] struct.
291
+ *
292
+ * Emits [`Event::ConsensusClientCreated`] if successful.
293
+ **/
294
+ createConsensusClient: AugmentedSubmittable<(message: IsmpMessagingCreateConsensusState | {
295
+ consensusState?: any;
296
+ consensusClientId?: any;
297
+ consensusStateId?: any;
298
+ unbondingPeriod?: any;
299
+ challengePeriods?: any;
300
+ stateMachineCommitments?: any;
301
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [IsmpMessagingCreateConsensusState]>;
302
+ /**
303
+ * Add more funds to a message (request or response) to be used for delivery and execution.
304
+ *
305
+ * Should not be called on a message that has been completed (delivered or timed-out) as
306
+ * those funds will be lost forever.
307
+ **/
308
+ fundMessage: AugmentedSubmittable<(message: PalletIsmpUtilsFundMessageParams | {
309
+ commitment?: any;
310
+ amount?: any;
311
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIsmpUtilsFundMessageParams]>;
312
+ /**
313
+ * Execute the provided batch of ISMP messages, this will short-circuit and revert if any
314
+ * of the provided messages are invalid. This is an unsigned extrinsic that permits anyone
315
+ * execute ISMP messages for free, provided they have valid proofs and the messages have
316
+ * not been previously processed.
317
+ *
318
+ * The dispatch origin for this call must be an unsigned one.
319
+ *
320
+ * - `messages`: the messages to handle or process.
321
+ *
322
+ * Emits different message events based on the Message received if successful.
323
+ **/
324
+ handleUnsigned: AugmentedSubmittable<(messages: Vec<IsmpMessagingMessage> | (IsmpMessagingMessage | {
325
+ Consensus: any;
326
+ } | {
327
+ FraudProof: any;
328
+ } | {
329
+ Request: any;
330
+ } | {
331
+ Response: any;
332
+ } | {
333
+ Timeout: any;
334
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<IsmpMessagingMessage>]>;
335
+ /**
336
+ * Modify the unbonding period and challenge period for a consensus state.
337
+ * The dispatch origin for this call must be `T::AdminOrigin`.
338
+ *
339
+ * - `message`: `UpdateConsensusState` struct.
340
+ **/
341
+ updateConsensusState: AugmentedSubmittable<(message: PalletIsmpUtilsUpdateConsensusState | {
342
+ consensusStateId?: any;
343
+ unbondingPeriod?: any;
344
+ challengePeriods?: any;
345
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIsmpUtilsUpdateConsensusState]>;
346
+ };
347
+ ismpGrandpa: {
348
+ /**
349
+ * Add some a state machine to the list of supported state machines
350
+ **/
351
+ addStateMachines: AugmentedSubmittable<(newStateMachines: Vec<IsmpGrandpaAddStateMachine> | (IsmpGrandpaAddStateMachine | {
352
+ stateMachine?: any;
353
+ slotDuration?: any;
354
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<IsmpGrandpaAddStateMachine>]>;
355
+ /**
356
+ * Remove a state machine from the list of supported state machines
357
+ **/
358
+ removeStateMachines: AugmentedSubmittable<(stateMachines: Vec<IsmpHostStateMachine> | (IsmpHostStateMachine | {
359
+ Evm: any;
360
+ } | {
361
+ Polkadot: any;
362
+ } | {
363
+ Kusama: any;
364
+ } | {
365
+ Substrate: any;
366
+ } | {
367
+ Tendermint: any;
368
+ } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<IsmpHostStateMachine>]>;
369
+ };
284
370
  miningSlot: {
285
371
  /**
286
372
  * Submit a bid for a mining slot in the next cohort. Once all spots are filled in a slot,
@@ -318,10 +404,10 @@ declare module '@polkadot/api-base/types/submittable' {
318
404
  Owner: any;
319
405
  } | {
320
406
  Account: any;
321
- } | string | Uint8Array, keys: ArgonNodeRuntimeOpaqueSessionKeys | {
407
+ } | string | Uint8Array, keys: ArgonRuntimeSessionKeys | {
322
408
  grandpa?: any;
323
409
  blockSealAuthority?: any;
324
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PalletMiningSlotMiningSlotBid>, ArgonPrimitivesBlockSealRewardDestination, ArgonNodeRuntimeOpaqueSessionKeys]>;
410
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PalletMiningSlotMiningSlotBid>, ArgonPrimitivesBlockSealRewardDestination, ArgonRuntimeSessionKeys]>;
325
411
  };
326
412
  mint: {};
327
413
  multisig: {
@@ -470,7 +556,7 @@ declare module '@polkadot/api-base/types/submittable' {
470
556
  name?: any;
471
557
  public?: any;
472
558
  hosts?: any;
473
- } | string | Uint8Array, effectiveTick: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, ArgonPrimitivesNotaryNotaryMeta, Compact<u32>]>;
559
+ } | string | Uint8Array, effectiveTick: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, ArgonPrimitivesNotaryNotaryMeta, Compact<u64>]>;
474
560
  };
475
561
  notebook: {
476
562
  submit: AugmentedSubmittable<(notebooks: Vec<ArgonPrimitivesNotebookSignedNotebookHeader> | (ArgonPrimitivesNotebookSignedNotebookHeader | {
@@ -674,7 +760,7 @@ declare module '@polkadot/api-base/types/submittable' {
674
760
  Address32: any;
675
761
  } | {
676
762
  Address20: any;
677
- } | string | Uint8Array, proxyType: ArgonNodeRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonNodeRuntimeProxyType, u32]>;
763
+ } | string | Uint8Array, proxyType: ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeConfigsProxyType, u32]>;
678
764
  /**
679
765
  * Publish the hash of a proxy-call that will be made in the future.
680
766
  *
@@ -723,7 +809,7 @@ declare module '@polkadot/api-base/types/submittable' {
723
809
  *
724
810
  * Fails if there are insufficient funds to pay for deposit.
725
811
  **/
726
- createPure: AugmentedSubmittable<(proxyType: ArgonNodeRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonNodeRuntimeProxyType, u32, u16]>;
812
+ createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeConfigsProxyType, u32, u16]>;
727
813
  /**
728
814
  * Removes a previously spawned pure proxy.
729
815
  *
@@ -752,7 +838,7 @@ declare module '@polkadot/api-base/types/submittable' {
752
838
  Address32: any;
753
839
  } | {
754
840
  Address20: any;
755
- } | string | Uint8Array, proxyType: ArgonNodeRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonNodeRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
841
+ } | string | Uint8Array, proxyType: ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeConfigsProxyType, u16, Compact<u32>, Compact<u32>]>;
756
842
  /**
757
843
  * Dispatch the given `call` from an account that the sender is authorised for through
758
844
  * `add_proxy`.
@@ -774,7 +860,7 @@ declare module '@polkadot/api-base/types/submittable' {
774
860
  Address32: any;
775
861
  } | {
776
862
  Address20: any;
777
- } | string | Uint8Array, forceProxyType: Option<ArgonNodeRuntimeProxyType> | null | Uint8Array | ArgonNodeRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<ArgonNodeRuntimeProxyType>, Call]>;
863
+ } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeConfigsProxyType> | null | Uint8Array | ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<ArgonRuntimeConfigsProxyType>, Call]>;
778
864
  /**
779
865
  * Dispatch the given `call` from an account that the sender is authorized for through
780
866
  * `add_proxy`.
@@ -808,7 +894,7 @@ declare module '@polkadot/api-base/types/submittable' {
808
894
  Address32: any;
809
895
  } | {
810
896
  Address20: any;
811
- } | string | Uint8Array, forceProxyType: Option<ArgonNodeRuntimeProxyType> | null | Uint8Array | ArgonNodeRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<ArgonNodeRuntimeProxyType>, Call]>;
897
+ } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeConfigsProxyType> | null | Uint8Array | ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<ArgonRuntimeConfigsProxyType>, Call]>;
812
898
  /**
813
899
  * Remove the given announcement of a delegate.
814
900
  *
@@ -883,7 +969,7 @@ declare module '@polkadot/api-base/types/submittable' {
883
969
  Address32: any;
884
970
  } | {
885
971
  Address20: any;
886
- } | string | Uint8Array, proxyType: ArgonNodeRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonNodeRuntimeProxyType, u32]>;
972
+ } | string | Uint8Array, proxyType: ArgonRuntimeConfigsProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeConfigsProxyType, u32]>;
887
973
  };
888
974
  sudo: {
889
975
  /**
@@ -1037,6 +1123,47 @@ declare module '@polkadot/api-base/types/submittable' {
1037
1123
  **/
1038
1124
  set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
1039
1125
  };
1126
+ tokenGateway: {
1127
+ /**
1128
+ * Registers a multi-chain ERC6160 asset. The asset should not already exist.
1129
+ *
1130
+ * This works by dispatching a request to the TokenGateway module on each requested chain
1131
+ * to create the asset.
1132
+ **/
1133
+ createErc6160Asset: AugmentedSubmittable<(asset: PalletTokenGatewayAssetRegistration | {
1134
+ localId?: any;
1135
+ reg?: any;
1136
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletTokenGatewayAssetRegistration]>;
1137
+ /**
1138
+ * Set the token gateway address for specified chains
1139
+ **/
1140
+ setTokenGatewayAddresses: AugmentedSubmittable<(addresses: BTreeMap<IsmpHostStateMachine, Bytes>) => SubmittableExtrinsic<ApiType>, [BTreeMap<IsmpHostStateMachine, Bytes>]>;
1141
+ /**
1142
+ * Teleports a registered asset
1143
+ * locks the asset and dispatches a request to token gateway on the destination
1144
+ **/
1145
+ teleport: AugmentedSubmittable<(params: PalletTokenGatewayTeleportParams | {
1146
+ assetId?: any;
1147
+ destination?: any;
1148
+ recepient?: any;
1149
+ amount?: any;
1150
+ timeout?: any;
1151
+ tokenGateway?: any;
1152
+ relayerFee?: any;
1153
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletTokenGatewayTeleportParams]>;
1154
+ /**
1155
+ * Registers a multi-chain ERC6160 asset. The asset should not already exist.
1156
+ *
1157
+ * This works by dispatching a request to the TokenGateway module on each requested chain
1158
+ * to create the asset.
1159
+ **/
1160
+ updateErc6160Asset: AugmentedSubmittable<(asset: TokenGatewayPrimitivesGatewayAssetUpdate | {
1161
+ assetId?: any;
1162
+ addChains?: any;
1163
+ removeChains?: any;
1164
+ newAdmins?: any;
1165
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [TokenGatewayPrimitivesGatewayAssetUpdate]>;
1166
+ };
1040
1167
  txPause: {
1041
1168
  /**
1042
1169
  * Pause a call.
@@ -1115,11 +1242,11 @@ declare module '@polkadot/api-base/types/submittable' {
1115
1242
  * ## Complexity
1116
1243
  * - O(1).
1117
1244
  **/
1118
- dispatchAs: AugmentedSubmittable<(asOrigin: ArgonNodeRuntimeOriginCaller | {
1245
+ dispatchAs: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | {
1119
1246
  system: any;
1120
1247
  } | {
1121
1248
  Void: any;
1122
- } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonNodeRuntimeOriginCaller, Call]>;
1249
+ } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
1123
1250
  /**
1124
1251
  * Send a batch of dispatch calls.
1125
1252
  * Unlike `batch`, it allows errors and won't interrupt.
@@ -29,7 +29,7 @@ import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex,
29
29
  import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
30
30
  import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
31
31
  import type { EvmAccount, EvmCallInfo, EvmCallInfoV2, EvmCreateInfo, EvmCreateInfoV2, EvmLog, EvmVicinity, EvmWeightInfo, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';
32
- import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';
32
+ import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicPayloadV5, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicSignatureV5, ExtrinsicUnknown, ExtrinsicV4, ExtrinsicV5, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';
33
33
  import type { FungiblesAccessError } from '@polkadot/types/interfaces/fungibles';
34
34
  import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset';
35
35
  import type { GenesisBuildErr } from '@polkadot/types/interfaces/genesisBuilder';
@@ -497,12 +497,15 @@ declare module '@polkadot/types/types/registry' {
497
497
  ExtrinsicPayload: ExtrinsicPayload;
498
498
  ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown;
499
499
  ExtrinsicPayloadV4: ExtrinsicPayloadV4;
500
+ ExtrinsicPayloadV5: ExtrinsicPayloadV5;
500
501
  ExtrinsicSignature: ExtrinsicSignature;
501
502
  ExtrinsicSignatureV4: ExtrinsicSignatureV4;
503
+ ExtrinsicSignatureV5: ExtrinsicSignatureV5;
502
504
  ExtrinsicStatus: ExtrinsicStatus;
503
505
  ExtrinsicsWeight: ExtrinsicsWeight;
504
506
  ExtrinsicUnknown: ExtrinsicUnknown;
505
507
  ExtrinsicV4: ExtrinsicV4;
508
+ ExtrinsicV5: ExtrinsicV5;
506
509
  f32: f32;
507
510
  F32: F32;
508
511
  f64: f64;