arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
hermez-node/eth/contracts/README.md
eth/contracts/README.mdRaw
 1## Contracts
 2
 3The go code of the contracts has been generated with the following command:
 4
 5```
 6abigen --abi=WithdrawalDelayer.abi --bin=WithdrawalDelayer.bin --pkg=WithdrawalDelayer --out=WithdrawalDelayer.go
 7abigen --abi=Hermez.abi --bin=Hermez.bin --pkg=Hermez --out=Hermez.go
 8abigen --abi=HermezAuctionProtocol.abi --bin=HermezAuctionProtocol.bin --pkg=HermezAuctionProtocol --out=HermezAuctionProtocol.go
 9```
10You must compile the contracts to get the `.bin` and `.abi` files. The contracts used are in the repo: https://github.com/hermeznetwork/contracts-circuits
11
12Specifically they have been processed in the commit with hash: `745e8d588496d7762d4084a54bafd4435061ae35`
13
14> abigen version 1.9.21
15
16---
17
18ERC20 go code was generated with the following command:
19```
20abigen --sol erc20.sol --pkg erc20 --out erc20/erc20.go
21```
22
23Versions:
24```
25 $ abigen --version
26abigen version 1.9.21-stable-0287d548
27 $ solc --version
28solc, the solidity compiler commandline interface
29Version: 0.7.1+commit.f4a555be.Linux.g++
30```