You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
948 B

  1. ## Contracts
  2. The go code of the contracts has been generated with the following command:
  3. ```
  4. abigen --abi=WithdrawalDelayer.abi --bin=WithdrawalDelayer.bin --pkg=WithdrawalDelayer --out=WithdrawalDelayer.go
  5. abigen --abi=Hermez.abi --bin=Hermez.bin --pkg=Hermez --out=Hermez.go
  6. abigen --abi=HermezAuctionProtocol.abi --bin=HermezAuctionProtocol.bin --pkg=HermezAuctionProtocol --out=HermezAuctionProtocol.go
  7. abigen --abi=HEZ.abi --bin=HEZ.bin --pkg=HEZ --out=HEZ.go
  8. ```
  9. You must compile the contracts to get the `.bin` and `.abi` files. The contracts used are in the repo: https://github.com/hermeznetwork/contracts
  10. Branch: `feature/newDeploymentScript`
  11. Specifically they have been processed in the commit with hash: `4489f8e7fe4dd17cf22f1e96741b09bdf81946d8`
  12. Versions:
  13. ```
  14. $ abigen --version
  15. abigen version 1.9.21-stable-0287d548
  16. $ solc --version
  17. solc, the solidity compiler commandline interface
  18. Version: 0.7.1+commit.f4a555be.Linux.g++
  19. ```