Commit c9f99a4
authored
Webb-Solidity package structure (#65)
This PR changes the project structure to separate packages:
- contracts: types of the latest solidity contracts
- fixed-bridge: Wrapper-classes for anchors, bridges, etc. related to fixed-bridge.
- tokens: Wrapper-classes for token functionality
- utils: Common utilities e.g. toFixedHex and others.
- vbridge: UNIMPLEMENTED, wrapper-classes for anchors, bridges, etc. related to variable bridges.
This PR brings in a dependency on lerna for building and publishing the packages.
This PR updates the root-directory package.json to include:
- yarn build:packages - needs to be run before tests.
- yarn compile - should be run instead of npx hardhat compile as it will run a script to update the src files in the contracts directory of the latest typechain output.1 parent c913875 commit c9f99a4
File tree
154 files changed
+46092
-1143
lines changed- .github/workflows
- lib
- fixed-bridge
- packages
- contracts
- src
- factories
- fixed-bridge
- src
- protocol-solidity
- src
- tokens
- src
- utils
- src
- vbridge
- scripts
- bash
- npm
- evm
- bridgeActions
- deposits
- withdrawals
- js
- ts
- test
- anchor
- bridge
- helpers
- integration
- merkleTree
- token
- vanchor
- vbridge
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
154 files changed
+46092
-1143
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
7 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | | - | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
| 14 | + | |
12 | 15 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | | - | |
42 | | - | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | | - | |
72 | | - | |
| 74 | + | |
73 | 75 | | |
0 commit comments