@argonprotocol/mainchain 1.4.3-dev.4408f4ff → 1.4.3-dev.5831d68f

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argonprotocol/mainchain",
3
- "version": "1.4.3-dev.4408f4ff",
3
+ "version": "1.4.3-dev.5831d68f",
4
4
  "description": "A client for accessing the Argon mainchain apis.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "devDependencies": {
67
67
  "@argonprotocol/ethereum-contracts": "workspace:*",
68
- "@argonprotocol/testing": "1.4.3-dev.4408f4ff",
68
+ "@argonprotocol/testing": "1.4.3-dev.5831d68f",
69
69
  "@polkadot/typegen": "^16.5.6",
70
70
  "@substrate/ss58-registry": "^1.51.0",
71
71
  "@types/node": "^20",
@@ -1,12 +1,11 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/consts';
5
+ import type {} from '@polkadot/api-base/types/consts';
7
6
 
8
7
  import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
9
- import type { bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
8
+ import type { u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10
9
  import type { ITuple } from '@polkadot/types-codec/types';
11
10
  import type { AccountId32, Percent } from '@polkadot/types/interfaces/runtime';
12
11
  import type {
@@ -165,6 +164,18 @@ declare module '@polkadot/api-base/types/consts' {
165
164
  * Canonical Ethereum burn-accounting account representing funds moved to Ethereum.
166
165
  **/
167
166
  ethereumBurnAccount: AccountId32 & AugmentedConst<ApiType>;
167
+ /**
168
+ * Maximum number of ordered gateway activities that may share one receipt proof.
169
+ **/
170
+ maxActivitiesPerReceiptProof: u32 & AugmentedConst<ApiType>;
171
+ /**
172
+ * Maximum execution headers carried in one receipt proof's target-to-anchor chain.
173
+ **/
174
+ maxProofExecutionHeaderDepth: u32 & AugmentedConst<ApiType>;
175
+ /**
176
+ * Maximum number of proved receipt proofs that may be supplied in one extrinsic.
177
+ **/
178
+ maxReceiptProofsPerExtrinsic: u32 & AugmentedConst<ApiType>;
168
179
  /**
169
180
  * Retention window, in ticks, for recent Argon transfer evidence used by operational
170
181
  * accounts.
@@ -176,10 +187,6 @@ declare module '@polkadot/api-base/types/consts' {
176
187
  * Minimum gap between finalized headers for an update to be free.
177
188
  **/
178
189
  freeHeadersInterval: u32 & AugmentedConst<ApiType>;
179
- /**
180
- * Whether the read-only event-log verification API is enabled.
181
- **/
182
- verifyEventLogApiEnabled: bool & AugmentedConst<ApiType>;
183
190
  };
184
191
  grandpa: {
185
192
  /**
@@ -3,7 +3,7 @@
3
3
 
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/errors';
6
+ import type {} from '@polkadot/api-base/types/errors';
7
7
 
8
8
  import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
9
9
 
@@ -353,26 +353,14 @@ declare module '@polkadot/api-base/types/errors' {
353
353
  MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
354
354
  };
355
355
  crosschainTransfer: {
356
- /**
357
- * The captured reimbursable fee is greater than or equal to the burned Argon amount.
358
- **/
359
- InsufficientBurnAmountForFee: AugmentedError<ApiType>;
360
356
  /**
361
357
  * The burn account lacks enough balance for the payout.
362
358
  **/
363
359
  InsufficientLiquidity: AugmentedError<ApiType>;
364
- /**
365
- * The claimed amount was zero or too large for the local balance type.
366
- **/
367
- InvalidAmount: AugmentedError<ApiType>;
368
360
  /**
369
361
  * The configured source-chain shape is incomplete or malformed.
370
362
  **/
371
363
  InvalidChainConfig: AugmentedError<ApiType>;
372
- /**
373
- * The Ethereum event topics or payload do not match `BurnForTransfer`.
374
- **/
375
- InvalidEthereumEvent: AugmentedError<ApiType>;
376
364
  /**
377
365
  * The Ethereum verifier rejected the supplied proof.
378
366
  **/
@@ -382,11 +370,27 @@ declare module '@polkadot/api-base/types/errors' {
382
370
  **/
383
371
  InvalidRecipient: AugmentedError<ApiType>;
384
372
  /**
385
- * The claim nonce is not exactly the next accepted nonce for the source account.
373
+ * The Ethereum event topics or payload do not match `TransferToArgonStarted`.
374
+ **/
375
+ InvalidTransferToArgonActivity: AugmentedError<ApiType>;
376
+ /**
377
+ * At least one gateway activity log must be supplied with the receipt proof.
378
+ **/
379
+ NoGatewayActivitiesProvided: AugmentedError<ApiType>;
380
+ /**
381
+ * At least one proved gateway-activity block must be supplied.
382
+ **/
383
+ NoGatewayProofBlocksProvided: AugmentedError<ApiType>;
384
+ /**
385
+ * The proven gateway activity nonce is not the next contiguous nonce.
386
+ **/
387
+ UnexpectedGatewayActivityNonce: AugmentedError<ApiType>;
388
+ /**
389
+ * The caller's expected already-proven gateway activity nonce is stale or incorrect.
386
390
  **/
387
- UnexpectedNonce: AugmentedError<ApiType>;
391
+ UnexpectedPreviousGatewayActivityNonce: AugmentedError<ApiType>;
388
392
  /**
389
- * The gateway does not match the active or still-accepted previous release.
393
+ * The gateway does not match the configured gateway address.
390
394
  **/
391
395
  UnsupportedGateway: AugmentedError<ApiType>;
392
396
  /**
@@ -394,7 +398,7 @@ declare module '@polkadot/api-base/types/errors' {
394
398
  **/
395
399
  UnsupportedSource: AugmentedError<ApiType>;
396
400
  /**
397
- * The token is not supported under the matched gateway release.
401
+ * The token is not supported under the configured gateway.
398
402
  **/
399
403
  UnsupportedToken: AugmentedError<ApiType>;
400
404
  };
@@ -3,7 +3,7 @@
3
3
 
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/events';
6
+ import type {} from '@polkadot/api-base/types/events';
7
7
 
8
8
  import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
9
9
  import type {
@@ -38,8 +38,9 @@ import type {
38
38
  FrameSupportTokensMiscBalanceStatus,
39
39
  FrameSystemDispatchEventInfo,
40
40
  PalletBalancesUnexpectedKind,
41
- PalletCrosschainTransferBurnNotice,
41
+ PalletCrosschainTransferGatewayState,
42
42
  PalletCrosschainTransferSourceChain,
43
+ PalletCrosschainTransferTransferToArgonActivity,
43
44
  PalletDomainsDomainRegistration,
44
45
  PalletEthereumVerifierBasicOperatingMode,
45
46
  PalletMintMintType,
@@ -322,7 +323,7 @@ declare module '@polkadot/api-base/types/events' {
322
323
  vaultId: u32,
323
324
  liquidityPromised: u128,
324
325
  securitization: u128,
325
- lockedMarketRate: u128,
326
+ lockedTargetPrice: u128,
326
327
  accountId: AccountId32,
327
328
  securityFee: u128,
328
329
  ],
@@ -331,7 +332,7 @@ declare module '@polkadot/api-base/types/events' {
331
332
  vaultId: u32;
332
333
  liquidityPromised: u128;
333
334
  securitization: u128;
334
- lockedMarketRate: u128;
335
+ lockedTargetPrice: u128;
335
336
  accountId: AccountId32;
336
337
  securityFee: u128;
337
338
  }
@@ -342,9 +343,9 @@ declare module '@polkadot/api-base/types/events' {
342
343
  utxoId: u64,
343
344
  vaultId: u32,
344
345
  liquidityPromised: u128,
345
- originalMarketRate: u128,
346
+ oldTargetPrice: u128,
346
347
  securityFee: u128,
347
- newLockedMarketRate: u128,
348
+ newTargetPrice: u128,
348
349
  amountBurned: u128,
349
350
  accountId: AccountId32,
350
351
  ],
@@ -352,9 +353,9 @@ declare module '@polkadot/api-base/types/events' {
352
353
  utxoId: u64;
353
354
  vaultId: u32;
354
355
  liquidityPromised: u128;
355
- originalMarketRate: u128;
356
+ oldTargetPrice: u128;
356
357
  securityFee: u128;
357
- newLockedMarketRate: u128;
358
+ newTargetPrice: u128;
358
359
  amountBurned: u128;
359
360
  accountId: AccountId32;
360
361
  }
@@ -527,17 +528,31 @@ declare module '@polkadot/api-base/types/events' {
527
528
  };
528
529
  crosschainTransfer: {
529
530
  /**
530
- * An inbound burn notice was accepted and settled locally.
531
+ * The stored gateway-state snapshot advanced after a proved contiguous batch.
531
532
  **/
532
- BurnNoticeAccepted: AugmentedEvent<
533
+ GatewayStateAdvanced: AugmentedEvent<
533
534
  ApiType,
534
535
  [
535
536
  sourceChain: PalletCrosschainTransferSourceChain,
536
- notice: PalletCrosschainTransferBurnNotice,
537
+ gatewayState: PalletCrosschainTransferGatewayState,
537
538
  ],
538
539
  {
539
540
  sourceChain: PalletCrosschainTransferSourceChain;
540
- notice: PalletCrosschainTransferBurnNotice;
541
+ gatewayState: PalletCrosschainTransferGatewayState;
542
+ }
543
+ >;
544
+ /**
545
+ * A `TransferToArgonStarted` activity was proved and settled locally.
546
+ **/
547
+ TransferToArgonSettled: AugmentedEvent<
548
+ ApiType,
549
+ [
550
+ sourceChain: PalletCrosschainTransferSourceChain,
551
+ transfer: PalletCrosschainTransferTransferToArgonActivity,
552
+ ],
553
+ {
554
+ sourceChain: PalletCrosschainTransferSourceChain;
555
+ transfer: PalletCrosschainTransferTransferToArgonActivity;
541
556
  }
542
557
  >;
543
558
  };
@@ -1,9 +1,8 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/storage';
5
+ import type {} from '@polkadot/api-base/types/storage';
7
6
 
8
7
  import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
9
8
  import type {
@@ -22,7 +21,7 @@ import type {
22
21
  u8,
23
22
  } from '@polkadot/types-codec';
24
23
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
25
- import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
24
+ import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
26
25
  import type {
27
26
  ArgonNotaryAuditErrorVerifyError,
28
27
  ArgonPrimitivesBalanceChangeAccountOrigin,
@@ -66,6 +65,7 @@ import type {
66
65
  PalletBitcoinLocksLockedBitcoin,
67
66
  PalletBitcoinLocksOrphanedUtxo,
68
67
  PalletCrosschainTransferChainConfig,
68
+ PalletCrosschainTransferGatewayState,
69
69
  PalletCrosschainTransferSourceChain,
70
70
  PalletDomainsDomainRegistration,
71
71
  PalletEthereumVerifierBasicOperatingMode,
@@ -235,7 +235,7 @@ declare module '@polkadot/api-base/types/storage' {
235
235
  [u64]
236
236
  >;
237
237
  /**
238
- * History of microgons per btc
238
+ * History of target microgons per btc.
239
239
  **/
240
240
  microgonPerBtcHistory: AugmentedQuery<
241
241
  ApiType,
@@ -493,6 +493,16 @@ declare module '@polkadot/api-base/types/storage' {
493
493
  ) => Observable<Option<PalletCrosschainTransferChainConfig>>,
494
494
  [PalletCrosschainTransferSourceChain]
495
495
  >;
496
+ /**
497
+ * Latest proven gateway activity snapshot for each source chain.
498
+ **/
499
+ gatewayStateBySourceChain: AugmentedQuery<
500
+ ApiType,
501
+ (
502
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
503
+ ) => Observable<Option<PalletCrosschainTransferGatewayState>>,
504
+ [PalletCrosschainTransferSourceChain]
505
+ >;
496
506
  /**
497
507
  * Accounts whose recent-transfer evidence expires at a given tick.
498
508
  **/
@@ -505,21 +515,6 @@ declare module '@polkadot/api-base/types/storage' {
505
515
  * Latest tick whose recent-transfer expiration bucket was cleaned up.
506
516
  **/
507
517
  lastTransferExpiryCleanupTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
508
- /**
509
- * Latest accepted nonce for each `(source_chain, from)` pair.
510
- **/
511
- nonceBySourceAccount: AugmentedQuery<
512
- ApiType,
513
- (
514
- arg:
515
- | ITuple<[PalletCrosschainTransferSourceChain, H160]>
516
- | [
517
- PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
518
- H160 | string | Uint8Array,
519
- ],
520
- ) => Observable<Option<u64>>,
521
- [ITuple<[PalletCrosschainTransferSourceChain, H160]>]
522
- >;
523
518
  /**
524
519
  * Count of still-retained qualifying Argon transfers for each local account.
525
520
  **/
@@ -3,7 +3,7 @@
3
3
 
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/rpc-core/types/jsonrpc';
6
+ import type {} from '@polkadot/rpc-core/types/jsonrpc';
7
7
 
8
8
  import type { AugmentedRpc } from '@polkadot/rpc-core/types';
9
9
  import type { Metadata, StorageKey } from '@polkadot/types';
@@ -1,11 +1,9 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/calls';
5
+ import type {} from '@polkadot/api-base/types/calls';
7
6
 
8
- import type { ArgonPrimitivesEthereumEthereumVerifyError } from '@argonprotocol/mainchain/interfaces/ethereum';
9
7
  import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
10
8
  import type { Bytes, Null, Option, Result, Vec, u32 } from '@polkadot/types-codec';
11
9
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
@@ -35,10 +33,6 @@ import type {
35
33
  import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
36
34
  import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
37
35
  import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
38
- import type {
39
- ArgonPrimitivesEthereumEthereumLog,
40
- ArgonPrimitivesEthereumEthereumProof,
41
- } from '@polkadot/types/lookup';
42
36
  import type { IExtrinsic, Observable } from '@polkadot/types/types';
43
37
 
44
38
  export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -126,27 +120,6 @@ declare module '@polkadot/api-base/types/calls' {
126
120
  **/
127
121
  version: AugmentedCall<ApiType, () => Observable<RuntimeVersion>>;
128
122
  };
129
- /** 0x97c56de838cad0ef/1 */
130
- ethereumApis: {
131
- /**
132
- * Preflight verify an Ethereum event log proof.
133
- **/
134
- verifyEventLog: AugmentedCall<
135
- ApiType,
136
- (
137
- eventLog:
138
- | ArgonPrimitivesEthereumEthereumLog
139
- | { address?: any; topics?: any; data?: any }
140
- | string
141
- | Uint8Array,
142
- proof:
143
- | ArgonPrimitivesEthereumEthereumProof
144
- | { executionBlockProof?: any; receiptProof?: any }
145
- | string
146
- | Uint8Array,
147
- ) => Observable<Result<Null, ArgonPrimitivesEthereumEthereumVerifyError>>
148
- >;
149
- };
150
123
  /** 0xfbc577b9d747efd6/1 */
151
124
  genesisBuilder: {
152
125
  /**
@@ -3,7 +3,7 @@
3
3
 
4
4
  // import type lookup before we augment - in some environments
5
5
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/submittable';
6
+ import type {} from '@polkadot/api-base/types/submittable';
7
7
 
8
8
  import type {
9
9
  ApiTypes,
@@ -31,6 +31,7 @@ import type {
31
31
  ArgonPrimitivesBitcoinOpaqueBitcoinXpub,
32
32
  ArgonPrimitivesBitcoinUtxoRef,
33
33
  ArgonPrimitivesDomainZoneRecord,
34
+ ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
34
35
  ArgonPrimitivesInherentsBitcoinUtxoSync,
35
36
  ArgonPrimitivesInherentsBlockSealInherent,
36
37
  ArgonPrimitivesNotaryNotaryMeta,
@@ -42,7 +43,7 @@ import type {
42
43
  PalletBalancesAdjustmentDirection,
43
44
  PalletBitcoinLocksLockOptions,
44
45
  PalletCrosschainTransferChainConfig,
45
- PalletCrosschainTransferTransferProof,
46
+ PalletCrosschainTransferSourceChain,
46
47
  PalletEthereumVerifierBasicOperatingMode,
47
48
  PalletEthereumVerifierCheckpointUpdate,
48
49
  PalletEthereumVerifierExecutionProof,
@@ -521,11 +522,21 @@ declare module '@polkadot/api-base/types/submittable' {
521
522
  >;
522
523
  };
523
524
  crosschainTransfer: {
524
- proveTransfer: AugmentedSubmittable<
525
+ proveGatewayActivity: AugmentedSubmittable<
525
526
  (
526
- proof: PalletCrosschainTransferTransferProof | { Ethereum: any } | string | Uint8Array,
527
+ sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
528
+ previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array,
529
+ proofBatch:
530
+ | ArgonPrimitivesEthereumEthereumReceiptLogProofBatch
531
+ | { executionBlockProof?: any; blocks?: any }
532
+ | string
533
+ | Uint8Array,
527
534
  ) => SubmittableExtrinsic<ApiType>,
528
- [PalletCrosschainTransferTransferProof]
535
+ [
536
+ PalletCrosschainTransferSourceChain,
537
+ Compact<u64>,
538
+ ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
539
+ ]
529
540
  >;
530
541
  setChainConfig: AugmentedSubmittable<
531
542
  (
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  import './augment-api-consts.js';
5
4
  import './augment-api-errors.js';
@@ -1,16 +1,17 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
6
- import '@polkadot/types/types/registry';
5
+ import type {} from '@polkadot/types/types/registry';
7
6
 
8
7
  import type {
8
+ ArgonPrimitivesEthereumEthereumCombinedReceiptProof,
9
9
  ArgonPrimitivesEthereumEthereumExecutionBlockProof,
10
10
  ArgonPrimitivesEthereumEthereumExecutionHeader,
11
11
  ArgonPrimitivesEthereumEthereumLog,
12
12
  ArgonPrimitivesEthereumEthereumProof,
13
- ArgonPrimitivesEthereumEthereumReceiptProof,
13
+ ArgonPrimitivesEthereumEthereumReceiptLog,
14
+ ArgonPrimitivesEthereumEthereumReceiptProofReceipt,
14
15
  ArgonPrimitivesEthereumEthereumVerifyError,
15
16
  } from '@argonprotocol/mainchain/interfaces/ethereum';
16
17
  import type { Data, StorageKey } from '@polkadot/types';
@@ -1423,11 +1424,13 @@ declare module '@polkadot/types/types/registry' {
1423
1424
  ApprovalFlag: ApprovalFlag;
1424
1425
  Approvals: Approvals;
1425
1426
  ApprovalVotingParams: ApprovalVotingParams;
1427
+ ArgonPrimitivesEthereumEthereumCombinedReceiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
1426
1428
  ArgonPrimitivesEthereumEthereumExecutionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
1427
1429
  ArgonPrimitivesEthereumEthereumExecutionHeader: ArgonPrimitivesEthereumEthereumExecutionHeader;
1428
1430
  ArgonPrimitivesEthereumEthereumLog: ArgonPrimitivesEthereumEthereumLog;
1429
1431
  ArgonPrimitivesEthereumEthereumProof: ArgonPrimitivesEthereumEthereumProof;
1430
- ArgonPrimitivesEthereumEthereumReceiptProof: ArgonPrimitivesEthereumEthereumReceiptProof;
1432
+ ArgonPrimitivesEthereumEthereumReceiptLog: ArgonPrimitivesEthereumEthereumReceiptLog;
1433
+ ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
1431
1434
  ArgonPrimitivesEthereumEthereumVerifyError: ArgonPrimitivesEthereumEthereumVerifyError;
1432
1435
  ArithmeticError: ArithmeticError;
1433
1436
  AssetApproval: AssetApproval;
@@ -1,27 +1,4 @@
1
1
  export const ethereum = {
2
- runtime: {
3
- EthereumApis: [
4
- {
5
- methods: {
6
- verify_event_log: {
7
- description: 'Preflight verify an Ethereum event log proof.',
8
- params: [
9
- {
10
- name: 'eventLog',
11
- type: 'ArgonPrimitivesEthereumEthereumLog',
12
- },
13
- {
14
- name: 'proof',
15
- type: 'ArgonPrimitivesEthereumEthereumProof',
16
- },
17
- ],
18
- type: 'Result<Null, ArgonPrimitivesEthereumEthereumVerifyError>',
19
- },
20
- },
21
- version: 1,
22
- },
23
- ],
24
- },
25
2
  types: {
26
3
  ArgonPrimitivesEthereumEthereumExecutionHeader: {
27
4
  rlp: 'Bytes',
@@ -37,11 +14,19 @@ export const ethereum = {
37
14
  },
38
15
  ArgonPrimitivesEthereumEthereumProof: {
39
16
  executionBlockProof: 'ArgonPrimitivesEthereumEthereumExecutionBlockProof',
40
- receiptProof: 'ArgonPrimitivesEthereumEthereumReceiptProof',
17
+ receiptProof: 'ArgonPrimitivesEthereumEthereumCombinedReceiptProof',
41
18
  },
42
- ArgonPrimitivesEthereumEthereumReceiptProof: {
43
- transactionIndex: 'Compact<u64>',
19
+ ArgonPrimitivesEthereumEthereumCombinedReceiptProof: {
44
20
  nodes: 'Vec<Bytes>',
21
+ receipts: 'Vec<ArgonPrimitivesEthereumEthereumReceiptProofReceipt>',
22
+ },
23
+ ArgonPrimitivesEthereumEthereumReceiptProofReceipt: {
24
+ transactionIndex: 'Compact<u64>',
25
+ nodeIndexes: 'Vec<u16>',
26
+ },
27
+ ArgonPrimitivesEthereumEthereumReceiptLog: {
28
+ transactionIndex: 'Compact<u64>',
29
+ eventLog: 'ArgonPrimitivesEthereumEthereumLog',
45
30
  },
46
31
  ArgonPrimitivesEthereumEthereumVerifyError: {
47
32
  _enum: [
@@ -1,4 +1,3 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  export * from './types.js';
@@ -1,9 +1,14 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2
- /* eslint-disable */
3
2
 
4
- import type { Bytes, Compact, Enum, Struct, Vec, u64 } from '@polkadot/types-codec';
3
+ import type { Bytes, Compact, Enum, Struct, Vec, u16, u64 } from '@polkadot/types-codec';
5
4
  import type { H160, H256 } from '@polkadot/types/interfaces/runtime';
6
5
 
6
+ /** @name ArgonPrimitivesEthereumEthereumCombinedReceiptProof */
7
+ export interface ArgonPrimitivesEthereumEthereumCombinedReceiptProof extends Struct {
8
+ readonly nodes: Vec<Bytes>;
9
+ readonly receipts: Vec<ArgonPrimitivesEthereumEthereumReceiptProofReceipt>;
10
+ }
11
+
7
12
  /** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof */
8
13
  export interface ArgonPrimitivesEthereumEthereumExecutionBlockProof extends Struct {
9
14
  readonly anchorBlockHash: H256;
@@ -25,13 +30,19 @@ export interface ArgonPrimitivesEthereumEthereumLog extends Struct {
25
30
  /** @name ArgonPrimitivesEthereumEthereumProof */
26
31
  export interface ArgonPrimitivesEthereumEthereumProof extends Struct {
27
32
  readonly executionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
28
- readonly receiptProof: ArgonPrimitivesEthereumEthereumReceiptProof;
33
+ readonly receiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
29
34
  }
30
35
 
31
- /** @name ArgonPrimitivesEthereumEthereumReceiptProof */
32
- export interface ArgonPrimitivesEthereumEthereumReceiptProof extends Struct {
36
+ /** @name ArgonPrimitivesEthereumEthereumReceiptLog */
37
+ export interface ArgonPrimitivesEthereumEthereumReceiptLog extends Struct {
33
38
  readonly transactionIndex: Compact<u64>;
34
- readonly nodes: Vec<Bytes>;
39
+ readonly eventLog: ArgonPrimitivesEthereumEthereumLog;
40
+ }
41
+
42
+ /** @name ArgonPrimitivesEthereumEthereumReceiptProofReceipt */
43
+ export interface ArgonPrimitivesEthereumEthereumReceiptProofReceipt extends Struct {
44
+ readonly transactionIndex: Compact<u64>;
45
+ readonly nodeIndexes: Vec<u16>;
35
46
  }
36
47
 
37
48
  /** @name ArgonPrimitivesEthereumEthereumVerifyError */