@argonprotocol/mainchain 1.4.4 → 1.4.5-dev.7ee8a484

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.4",
3
+ "version": "1.4.5-dev.7ee8a484",
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.4",
68
+ "@argonprotocol/testing": "1.4.5-dev.7ee8a484",
69
69
  "@polkadot/typegen": "^16.5.6",
70
70
  "@substrate/ss58-registry": "^1.51.0",
71
71
  "@types/node": "^20",
@@ -5,16 +5,6 @@
5
5
  // this is required to allow for ambient/previous definitions
6
6
  import type {} from '@polkadot/types/types/registry';
7
7
 
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
8
  import type { Data, StorageKey } from '@polkadot/types';
19
9
  import type {
20
10
  BitVec,
@@ -1425,14 +1415,6 @@ declare module '@polkadot/types/types/registry' {
1425
1415
  ApprovalFlag: ApprovalFlag;
1426
1416
  Approvals: Approvals;
1427
1417
  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
1418
  ArithmeticError: ArithmeticError;
1437
1419
  AssetApproval: AssetApproval;
1438
1420
  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
- };
@@ -1,4 +0,0 @@
1
- // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2
- /* eslint-disable */
3
-
4
- export * from './types.js';
@@ -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';