gen.go 559 B

123456789101112
  1. // Quorum
  2. //
  3. // this is to generate go binding for the validators smart contract
  4. //
  5. // Require:
  6. // 1. solc 0.5.4
  7. // 2. abigen (make all from root)
  8. //go:generate solc --abi --bin -o . --overwrite ./ValidatorSmartContractInterface.sol
  9. //go:generate abigen -pkg contract -abi ./ValidatorSmartContractInterface.abi -bin ./ValidatorSmartContractInterface.bin -type ValidatorContractInterface -out ./validator_contract_interface.go
  10. //go:generate rm ValidatorSmartContractInterface.abi ValidatorSmartContractInterface.bin
  11. package contract