Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Natspec Flags #70

Closed
IstoraMandiri opened this issue Nov 7, 2016 · 1 comment
Closed

Support Natspec Flags #70

IstoraMandiri opened this issue Nov 7, 2016 · 1 comment

Comments

@IstoraMandiri
Copy link

One difference between the solc-js and solc native binary is that the additional flags for natspec flags don't seem to be supported with the JS version.

These include:

  --combined-json abi,asm,ast,bin,bin-runtime,clone-bin,devdoc,interface,opcodes,srcmap,srcmap-runtime,userdoc
  --ast                AST of all source files.
  --ast-json           AST of all source files in JSON format.
  --asm                EVM assembly of the contracts.
  --asm-json           EVM assembly of the contracts in JSON format.
  --opcodes            Opcodes of the contracts.
  --bin                Binary of the contracts in hex.
  --bin-runtime        Binary of the runtime part of the contracts in hex.
  --clone-bin          Binary of the clone contracts in hex.
  --abi                ABI specification of the contracts.
  --hashes             Function signature hashes of the contracts.
  --userdoc            Natspec user documentation of all contracts.
  --devdoc             Natspec developer documentation of all contracts.
  --formal             Translated source suitable for formal analysis.
@axic
Copy link
Member

axic commented Apr 25, 2017

This is not possible with the old compiler interface. However, the new compiler interface called compileStandard() has them. It has been merged and is available on the nightly build of Solidity.

@axic axic closed this as completed Apr 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants