diff options
author | Antonio Salazar Cardozo <savedfastcool@gmail.com> | 2018-06-05 18:22:02 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-06-05 18:22:02 +0800 |
commit | 4cf2b4110e9942bdcba1b9b1d82b3ca8ff552f64 (patch) | |
tree | 1f591dcd56056315203a26a60cd087624bef8a4d /miner | |
parent | 0029a869f04e9beb6741e591ebde07327458e64f (diff) | |
download | dexon-4cf2b4110e9942bdcba1b9b1d82b3ca8ff552f64.tar.gz dexon-4cf2b4110e9942bdcba1b9b1d82b3ca8ff552f64.tar.zst dexon-4cf2b4110e9942bdcba1b9b1d82b3ca8ff552f64.zip |
cmd/abigen: support for reading solc output from stdin (#16683)
Allow the --abi flag to be given - to indicate that it should read the
ABI information from standard input. It expects to read the solc output
with the --combined-json flag providing bin, abi, userdoc, devdoc, and
metadata, and works very similarly to the internal invocation of solc,
except it allows external invocation of solc.
This facilitates integration with more complex solc invocations, such
as invocations that require path remapping or --allow-paths tweaks.
Simple usage example:
solc --combined-json bin,abi,userdoc,devdoc,metadata *.sol | abigen --abi -
Diffstat (limited to 'miner')
0 files changed, 0 insertions, 0 deletions