From 4b19f560b8ac5fd20d46db93a3aa2d1c41adb0db Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 2 Feb 2017 21:27:12 +0000 Subject: Make contracts output two-level --- docs/using-the-compiler.rst | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'docs/using-the-compiler.rst') 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: { -- cgit