diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-03 05:27:12 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 07:41:47 +0800 |
commit | 4b19f560b8ac5fd20d46db93a3aa2d1c41adb0db (patch) | |
tree | 0041fac7801fbf16218262d6ecf4e4dc7db47cd1 /docs/using-the-compiler.rst | |
parent | 627a2cec4d058edc6d2e07a37cf0b464ee868b6b (diff) | |
download | dexon-solidity-4b19f560b8ac5fd20d46db93a3aa2d1c41adb0db.tar.gz dexon-solidity-4b19f560b8ac5fd20d46db93a3aa2d1c41adb0db.tar.zst dexon-solidity-4b19f560b8ac5fd20d46db93a3aa2d1c41adb0db.zip |
Make contracts output two-level
Diffstat (limited to 'docs/using-the-compiler.rst')
-rw-r--r-- | docs/using-the-compiler.rst | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/docs/using-the-compiler.rst b/docs/using-the-compiler.rst index 2e0cba1f..3282b85a 100644 --- a/docs/using-the-compiler.rst +++ b/docs/using-the-compiler.rst @@ -195,13 +195,14 @@ Output Description message: "Invalid keyword" } ], - // This contains all the compiled outputs. It can be limited/filtered by the compilationTarget setting. + // This contains the contract-level outputs. It can be limited/filtered by the outputSelection settings. contracts: { - "sourceFile.sol:ContractName": { - // The Ethereum Contract ABI. If empty, it is represented as an empty array. - // See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI - abi: [], - evm: { + "sourceFile.sol": { + "ContractName": { + // The Ethereum Contract ABI. If empty, it is represented as an empty array. + // See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI + abi: [], + evm: { assembly: bytecode: runtimeBytecode: @@ -219,16 +220,17 @@ Output Description // furthermore, runtime bytecode is always a substring of the bytecode anyway. runtimeLinkReferences: { } - }, - functionHashes: - metadata: // see the Metadata Output documentation - ewasm: { + }, + functionHashes: + metadata: // see the Metadata Output documentation + ewasm: { wast: // S-expression format wasm: // - }, - userdoc: // Obsolete - devdoc: // Obsolete - natspec: // Combined dev+userdoc + }, + userdoc: // Obsolete + devdoc: // Obsolete + natspec: // Combined dev+userdoc + } } }, formal: { |