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: `0ba124d60e192afda99ef4703aa13b8fef4a392a`
13
14> abigen version 1.9.21