@argonprotocol/mainchain 1.4.5 → 1.4.6-dev.4eef1f62
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/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +3 -3
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +3 -3
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +12 -12
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +3 -3
- package/browser/index.d.ts +124 -60
- package/browser/index.js +233 -89
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +3 -3
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +3 -3
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +12 -12
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +3 -3
- package/lib/index.cjs +240 -91
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +124 -60
- package/lib/index.d.ts +124 -60
- package/lib/index.js +237 -88
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +0 -1
- package/src/interfaces/augment-api-errors.ts +3 -0
- package/src/interfaces/augment-api-events.ts +5 -0
- package/src/interfaces/augment-api-query.ts +0 -1
- package/src/interfaces/augment-api-runtime.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +18 -0
- package/src/interfaces/augment-api.ts +0 -1
- package/src/interfaces/augment-types.ts +0 -19
- package/src/interfaces/definitions.ts +0 -42
- package/src/interfaces/lookup.ts +15 -4
- package/src/interfaces/registry.ts +0 -1
- package/src/interfaces/types-lookup.ts +26 -1
- package/src/interfaces/ethereum/index.ts +0 -4
- package/src/interfaces/ethereum/types.ts +0 -66
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6-dev.4eef1f62",
|
|
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.
|
|
68
|
+
"@argonprotocol/testing": "1.4.6-dev.4eef1f62",
|
|
69
69
|
"@polkadot/typegen": "^16.5.6",
|
|
70
70
|
"@substrate/ss58-registry": "^1.51.0",
|
|
71
71
|
"@types/node": "^20",
|
|
@@ -661,10 +661,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
661
661
|
BlockBodyHashTreeRootFailed: AugmentedError<ApiType>;
|
|
662
662
|
BLSPreparePublicKeysFailed: AugmentedError<ApiType>;
|
|
663
663
|
BLSVerificationFailed: AugmentedError<ApiType>;
|
|
664
|
+
ExecutionHeaderAnchorAlreadyImported: AugmentedError<ApiType>;
|
|
665
|
+
ExecutionHeaderAnchorNotHistorical: AugmentedError<ApiType>;
|
|
664
666
|
ExpectedFinalizedHeaderNotStored: AugmentedError<ApiType>;
|
|
665
667
|
ForkDataHashTreeRootFailed: AugmentedError<ApiType>;
|
|
666
668
|
Halted: AugmentedError<ApiType>;
|
|
667
669
|
HeaderHashTreeRootFailed: AugmentedError<ApiType>;
|
|
670
|
+
InvalidBackfillHeaderRoot: AugmentedError<ApiType>;
|
|
668
671
|
InvalidExecutionHeaderProof: AugmentedError<ApiType>;
|
|
669
672
|
/**
|
|
670
673
|
* The gap between finalized headers is larger than the retained historical window.
|
|
@@ -859,6 +859,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
859
859
|
[blockHash: H256, slot: u64],
|
|
860
860
|
{ blockHash: H256; slot: u64 }
|
|
861
861
|
>;
|
|
862
|
+
ExecutionHeaderAnchorBackfilled: AugmentedEvent<
|
|
863
|
+
ApiType,
|
|
864
|
+
[beaconRoot: H256, slot: u64, blockHash: H256, blockNumber: u64],
|
|
865
|
+
{ beaconRoot: H256; slot: u64; blockHash: H256; blockNumber: u64 }
|
|
866
|
+
>;
|
|
862
867
|
ExecutionHeaderAnchorImported: AugmentedEvent<
|
|
863
868
|
ApiType,
|
|
864
869
|
[blockHash: H256, blockNumber: u64],
|
|
@@ -54,6 +54,7 @@ import type {
|
|
|
54
54
|
PalletCrosschainTransferSourceChain,
|
|
55
55
|
PalletEthereumVerifierBasicOperatingMode,
|
|
56
56
|
PalletEthereumVerifierCheckpointUpdate,
|
|
57
|
+
PalletEthereumVerifierExecutionHeaderProof,
|
|
57
58
|
PalletEthereumVerifierForkVersions,
|
|
58
59
|
PalletEthereumVerifierUpdate,
|
|
59
60
|
PalletMultisigTimepoint,
|
|
@@ -61,6 +62,7 @@ import type {
|
|
|
61
62
|
PalletOperationalAccountsRegistration,
|
|
62
63
|
PalletPriceIndexPriceIndex,
|
|
63
64
|
PalletVaultsVaultConfig,
|
|
65
|
+
SnowbridgeBeaconPrimitivesBeaconHeader,
|
|
64
66
|
SpConsensusGrandpaEquivocationProof,
|
|
65
67
|
SpCoreVoid,
|
|
66
68
|
SpWeightsWeightV2Weight,
|
|
@@ -701,6 +703,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
701
703
|
) => SubmittableExtrinsic<ApiType>,
|
|
702
704
|
[PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierForkVersions]
|
|
703
705
|
>;
|
|
706
|
+
importTrustedExecutionHeaderBackfill: AugmentedSubmittable<
|
|
707
|
+
(
|
|
708
|
+
expectedBeaconRoot: H256 | string | Uint8Array,
|
|
709
|
+
header:
|
|
710
|
+
| SnowbridgeBeaconPrimitivesBeaconHeader
|
|
711
|
+
| { slot?: any; proposerIndex?: any; parentRoot?: any; stateRoot?: any; bodyRoot?: any }
|
|
712
|
+
| string
|
|
713
|
+
| Uint8Array,
|
|
714
|
+
executionHeaderProof:
|
|
715
|
+
| PalletEthereumVerifierExecutionHeaderProof
|
|
716
|
+
| { executionHeader?: any; executionBranch?: any }
|
|
717
|
+
| string
|
|
718
|
+
| Uint8Array,
|
|
719
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
720
|
+
[H256, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof]
|
|
721
|
+
>;
|
|
704
722
|
/**
|
|
705
723
|
* Halt or resume all pallet operations. May only be called by root.
|
|
706
724
|
**/
|
|
@@ -1,20 +1,9 @@
|
|
|
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
5
|
import type {} from '@polkadot/types/types/registry';
|
|
7
6
|
|
|
8
|
-
import type {
|
|
9
|
-
ArgonPrimitivesEthereumEthereumCombinedReceiptProof,
|
|
10
|
-
ArgonPrimitivesEthereumEthereumExecutionBlockProof,
|
|
11
|
-
ArgonPrimitivesEthereumEthereumExecutionHeader,
|
|
12
|
-
ArgonPrimitivesEthereumEthereumLog,
|
|
13
|
-
ArgonPrimitivesEthereumEthereumProof,
|
|
14
|
-
ArgonPrimitivesEthereumEthereumReceiptLog,
|
|
15
|
-
ArgonPrimitivesEthereumEthereumReceiptProofReceipt,
|
|
16
|
-
ArgonPrimitivesEthereumEthereumVerifyError,
|
|
17
|
-
} from '@argonprotocol/mainchain/interfaces/ethereum';
|
|
18
7
|
import type { Data, StorageKey } from '@polkadot/types';
|
|
19
8
|
import type {
|
|
20
9
|
BitVec,
|
|
@@ -1425,14 +1414,6 @@ declare module '@polkadot/types/types/registry' {
|
|
|
1425
1414
|
ApprovalFlag: ApprovalFlag;
|
|
1426
1415
|
Approvals: Approvals;
|
|
1427
1416
|
ApprovalVotingParams: ApprovalVotingParams;
|
|
1428
|
-
ArgonPrimitivesEthereumEthereumCombinedReceiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
|
|
1429
|
-
ArgonPrimitivesEthereumEthereumExecutionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
|
|
1430
|
-
ArgonPrimitivesEthereumEthereumExecutionHeader: ArgonPrimitivesEthereumEthereumExecutionHeader;
|
|
1431
|
-
ArgonPrimitivesEthereumEthereumLog: ArgonPrimitivesEthereumEthereumLog;
|
|
1432
|
-
ArgonPrimitivesEthereumEthereumProof: ArgonPrimitivesEthereumEthereumProof;
|
|
1433
|
-
ArgonPrimitivesEthereumEthereumReceiptLog: ArgonPrimitivesEthereumEthereumReceiptLog;
|
|
1434
|
-
ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
|
|
1435
|
-
ArgonPrimitivesEthereumEthereumVerifyError: ArgonPrimitivesEthereumEthereumVerifyError;
|
|
1436
1417
|
ArithmeticError: ArithmeticError;
|
|
1437
1418
|
AssetApproval: AssetApproval;
|
|
1438
1419
|
AssetApprovalKey: AssetApprovalKey;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export const ethereum = {
|
|
2
|
-
types: {
|
|
3
|
-
ArgonPrimitivesEthereumEthereumExecutionHeader: {
|
|
4
|
-
rlp: 'Bytes',
|
|
5
|
-
},
|
|
6
|
-
ArgonPrimitivesEthereumEthereumExecutionBlockProof: {
|
|
7
|
-
anchorBlockHash: 'H256',
|
|
8
|
-
targetToAnchorHeaderChain: 'Vec<ArgonPrimitivesEthereumEthereumExecutionHeader>',
|
|
9
|
-
},
|
|
10
|
-
ArgonPrimitivesEthereumEthereumLog: {
|
|
11
|
-
address: 'H160',
|
|
12
|
-
topics: 'Vec<H256>',
|
|
13
|
-
data: 'Bytes',
|
|
14
|
-
},
|
|
15
|
-
ArgonPrimitivesEthereumEthereumProof: {
|
|
16
|
-
executionBlockProof: 'ArgonPrimitivesEthereumEthereumExecutionBlockProof',
|
|
17
|
-
receiptProof: 'ArgonPrimitivesEthereumEthereumCombinedReceiptProof',
|
|
18
|
-
},
|
|
19
|
-
ArgonPrimitivesEthereumEthereumCombinedReceiptProof: {
|
|
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',
|
|
30
|
-
},
|
|
31
|
-
ArgonPrimitivesEthereumEthereumVerifyError: {
|
|
32
|
-
_enum: [
|
|
33
|
-
'VerifierUnavailable',
|
|
34
|
-
'AnchorNotFound',
|
|
35
|
-
'InvalidHeader',
|
|
36
|
-
'InvalidHeaderChain',
|
|
37
|
-
'LogNotFound',
|
|
38
|
-
'InvalidProof',
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
};
|
package/src/interfaces/lookup.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
/* eslint-disable sort-keys */
|
|
5
2
|
|
|
6
3
|
export default {
|
|
7
4
|
/**
|
|
@@ -1484,6 +1481,12 @@ export default {
|
|
|
1484
1481
|
blockHash: 'H256',
|
|
1485
1482
|
blockNumber: 'u64',
|
|
1486
1483
|
},
|
|
1484
|
+
ExecutionHeaderAnchorBackfilled: {
|
|
1485
|
+
beaconRoot: 'H256',
|
|
1486
|
+
slot: 'u64',
|
|
1487
|
+
blockHash: 'H256',
|
|
1488
|
+
blockNumber: 'u64',
|
|
1489
|
+
},
|
|
1487
1490
|
SyncCommitteeUpdated: {
|
|
1488
1491
|
period: 'u64',
|
|
1489
1492
|
},
|
|
@@ -2729,7 +2732,11 @@ export default {
|
|
|
2729
2732
|
submit: {
|
|
2730
2733
|
update: 'PalletEthereumVerifierUpdate',
|
|
2731
2734
|
},
|
|
2732
|
-
|
|
2735
|
+
import_trusted_execution_header_backfill: {
|
|
2736
|
+
expectedBeaconRoot: 'H256',
|
|
2737
|
+
header: 'SnowbridgeBeaconPrimitivesBeaconHeader',
|
|
2738
|
+
executionHeaderProof: 'PalletEthereumVerifierExecutionHeaderProof',
|
|
2739
|
+
},
|
|
2733
2740
|
set_operating_mode: {
|
|
2734
2741
|
mode: 'PalletEthereumVerifierBasicOperatingMode',
|
|
2735
2742
|
},
|
|
@@ -3879,6 +3886,7 @@ export default {
|
|
|
3879
3886
|
timestampMillis: 'Compact<u64>',
|
|
3880
3887
|
blockHash: 'H256',
|
|
3881
3888
|
parentHash: 'H256',
|
|
3889
|
+
stateRoot: 'H256',
|
|
3882
3890
|
receiptsRoot: 'H256',
|
|
3883
3891
|
},
|
|
3884
3892
|
/**
|
|
@@ -3936,6 +3944,9 @@ export default {
|
|
|
3936
3944
|
'InvalidSyncCommitteeMerkleProof',
|
|
3937
3945
|
'InvalidExecutionHeaderProof',
|
|
3938
3946
|
'InvalidFinalizedHeaderGap',
|
|
3947
|
+
'InvalidBackfillHeaderRoot',
|
|
3948
|
+
'ExecutionHeaderAnchorAlreadyImported',
|
|
3949
|
+
'ExecutionHeaderAnchorNotHistorical',
|
|
3939
3950
|
'HeaderHashTreeRootFailed',
|
|
3940
3951
|
'BlockBodyHashTreeRootFailed',
|
|
3941
3952
|
'SyncCommitteeHashTreeRootFailed',
|
|
@@ -1843,6 +1843,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
1843
1843
|
readonly blockHash: H256;
|
|
1844
1844
|
readonly blockNumber: u64;
|
|
1845
1845
|
} & Struct;
|
|
1846
|
+
readonly isExecutionHeaderAnchorBackfilled: boolean;
|
|
1847
|
+
readonly asExecutionHeaderAnchorBackfilled: {
|
|
1848
|
+
readonly beaconRoot: H256;
|
|
1849
|
+
readonly slot: u64;
|
|
1850
|
+
readonly blockHash: H256;
|
|
1851
|
+
readonly blockNumber: u64;
|
|
1852
|
+
} & Struct;
|
|
1846
1853
|
readonly isSyncCommitteeUpdated: boolean;
|
|
1847
1854
|
readonly asSyncCommitteeUpdated: {
|
|
1848
1855
|
readonly period: u64;
|
|
@@ -1854,6 +1861,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
1854
1861
|
readonly type:
|
|
1855
1862
|
| 'BeaconHeaderImported'
|
|
1856
1863
|
| 'ExecutionHeaderAnchorImported'
|
|
1864
|
+
| 'ExecutionHeaderAnchorBackfilled'
|
|
1857
1865
|
| 'SyncCommitteeUpdated'
|
|
1858
1866
|
| 'OperatingModeChanged';
|
|
1859
1867
|
}
|
|
@@ -3224,11 +3232,21 @@ declare module '@polkadot/types/lookup' {
|
|
|
3224
3232
|
readonly asSubmit: {
|
|
3225
3233
|
readonly update: PalletEthereumVerifierUpdate;
|
|
3226
3234
|
} & Struct;
|
|
3235
|
+
readonly isImportTrustedExecutionHeaderBackfill: boolean;
|
|
3236
|
+
readonly asImportTrustedExecutionHeaderBackfill: {
|
|
3237
|
+
readonly expectedBeaconRoot: H256;
|
|
3238
|
+
readonly header: SnowbridgeBeaconPrimitivesBeaconHeader;
|
|
3239
|
+
readonly executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof;
|
|
3240
|
+
} & Struct;
|
|
3227
3241
|
readonly isSetOperatingMode: boolean;
|
|
3228
3242
|
readonly asSetOperatingMode: {
|
|
3229
3243
|
readonly mode: PalletEthereumVerifierBasicOperatingMode;
|
|
3230
3244
|
} & Struct;
|
|
3231
|
-
readonly type:
|
|
3245
|
+
readonly type:
|
|
3246
|
+
| 'ForceCheckpoint'
|
|
3247
|
+
| 'Submit'
|
|
3248
|
+
| 'ImportTrustedExecutionHeaderBackfill'
|
|
3249
|
+
| 'SetOperatingMode';
|
|
3232
3250
|
}
|
|
3233
3251
|
|
|
3234
3252
|
/** @name PalletEthereumVerifierCheckpointUpdate (281) */
|
|
@@ -4526,6 +4544,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
4526
4544
|
readonly timestampMillis: Compact<u64>;
|
|
4527
4545
|
readonly blockHash: H256;
|
|
4528
4546
|
readonly parentHash: H256;
|
|
4547
|
+
readonly stateRoot: H256;
|
|
4529
4548
|
readonly receiptsRoot: H256;
|
|
4530
4549
|
}
|
|
4531
4550
|
|
|
@@ -4577,6 +4596,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
4577
4596
|
readonly isInvalidSyncCommitteeMerkleProof: boolean;
|
|
4578
4597
|
readonly isInvalidExecutionHeaderProof: boolean;
|
|
4579
4598
|
readonly isInvalidFinalizedHeaderGap: boolean;
|
|
4599
|
+
readonly isInvalidBackfillHeaderRoot: boolean;
|
|
4600
|
+
readonly isExecutionHeaderAnchorAlreadyImported: boolean;
|
|
4601
|
+
readonly isExecutionHeaderAnchorNotHistorical: boolean;
|
|
4580
4602
|
readonly isHeaderHashTreeRootFailed: boolean;
|
|
4581
4603
|
readonly isBlockBodyHashTreeRootFailed: boolean;
|
|
4582
4604
|
readonly isSyncCommitteeHashTreeRootFailed: boolean;
|
|
@@ -4599,6 +4621,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
4599
4621
|
| 'InvalidSyncCommitteeMerkleProof'
|
|
4600
4622
|
| 'InvalidExecutionHeaderProof'
|
|
4601
4623
|
| 'InvalidFinalizedHeaderGap'
|
|
4624
|
+
| 'InvalidBackfillHeaderRoot'
|
|
4625
|
+
| 'ExecutionHeaderAnchorAlreadyImported'
|
|
4626
|
+
| 'ExecutionHeaderAnchorNotHistorical'
|
|
4602
4627
|
| 'HeaderHashTreeRootFailed'
|
|
4603
4628
|
| 'BlockBodyHashTreeRootFailed'
|
|
4604
4629
|
| 'SyncCommitteeHashTreeRootFailed'
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
import type { Bytes, Compact, Enum, Struct, Vec, u16, u64 } from '@polkadot/types-codec';
|
|
5
|
-
import type { H160, H256 } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
|
|
7
|
-
/** @name ArgonPrimitivesEthereumEthereumCombinedReceiptProof */
|
|
8
|
-
export interface ArgonPrimitivesEthereumEthereumCombinedReceiptProof extends Struct {
|
|
9
|
-
readonly nodes: Vec<Bytes>;
|
|
10
|
-
readonly receipts: Vec<ArgonPrimitivesEthereumEthereumReceiptProofReceipt>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof */
|
|
14
|
-
export interface ArgonPrimitivesEthereumEthereumExecutionBlockProof extends Struct {
|
|
15
|
-
readonly anchorBlockHash: H256;
|
|
16
|
-
readonly targetToAnchorHeaderChain: Vec<ArgonPrimitivesEthereumEthereumExecutionHeader>;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/** @name ArgonPrimitivesEthereumEthereumExecutionHeader */
|
|
20
|
-
export interface ArgonPrimitivesEthereumEthereumExecutionHeader extends Struct {
|
|
21
|
-
readonly rlp: Bytes;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/** @name ArgonPrimitivesEthereumEthereumLog */
|
|
25
|
-
export interface ArgonPrimitivesEthereumEthereumLog extends Struct {
|
|
26
|
-
readonly address: H160;
|
|
27
|
-
readonly topics: Vec<H256>;
|
|
28
|
-
readonly data: Bytes;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/** @name ArgonPrimitivesEthereumEthereumProof */
|
|
32
|
-
export interface ArgonPrimitivesEthereumEthereumProof extends Struct {
|
|
33
|
-
readonly executionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
|
|
34
|
-
readonly receiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/** @name ArgonPrimitivesEthereumEthereumReceiptLog */
|
|
38
|
-
export interface ArgonPrimitivesEthereumEthereumReceiptLog extends Struct {
|
|
39
|
-
readonly transactionIndex: Compact<u64>;
|
|
40
|
-
readonly eventLog: ArgonPrimitivesEthereumEthereumLog;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/** @name ArgonPrimitivesEthereumEthereumReceiptProofReceipt */
|
|
44
|
-
export interface ArgonPrimitivesEthereumEthereumReceiptProofReceipt extends Struct {
|
|
45
|
-
readonly transactionIndex: Compact<u64>;
|
|
46
|
-
readonly nodeIndexes: Vec<u16>;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/** @name ArgonPrimitivesEthereumEthereumVerifyError */
|
|
50
|
-
export interface ArgonPrimitivesEthereumEthereumVerifyError extends Enum {
|
|
51
|
-
readonly isVerifierUnavailable: boolean;
|
|
52
|
-
readonly isAnchorNotFound: boolean;
|
|
53
|
-
readonly isInvalidHeader: boolean;
|
|
54
|
-
readonly isInvalidHeaderChain: boolean;
|
|
55
|
-
readonly isLogNotFound: boolean;
|
|
56
|
-
readonly isInvalidProof: boolean;
|
|
57
|
-
readonly type:
|
|
58
|
-
| 'VerifierUnavailable'
|
|
59
|
-
| 'AnchorNotFound'
|
|
60
|
-
| 'InvalidHeader'
|
|
61
|
-
| 'InvalidHeaderChain'
|
|
62
|
-
| 'LogNotFound'
|
|
63
|
-
| 'InvalidProof';
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export type PHANTOM_ETHEREUM = 'ethereum';
|