Make contracts output two-level

This commit is contained in:
Alex Beregszaszi 2017-02-02 21:27:12 +00:00
parent 627a2cec4d
commit 4b19f560b8

View File

@ -195,9 +195,10 @@ Output Description
message: "Invalid keyword" 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: { contracts: {
"sourceFile.sol:ContractName": { "sourceFile.sol": {
"ContractName": {
// The Ethereum Contract ABI. If empty, it is represented as an empty array. // The Ethereum Contract ABI. If empty, it is represented as an empty array.
// See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI // See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI
abi: [], abi: [],
@ -230,6 +231,7 @@ Output Description
devdoc: // Obsolete devdoc: // Obsolete
natspec: // Combined dev+userdoc natspec: // Combined dev+userdoc
} }
}
}, },
formal: { formal: {
"why3": "..." "why3": "..."