mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make contracts output two-level
This commit is contained in:
parent
627a2cec4d
commit
4b19f560b8
@ -195,13 +195,14 @@ 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": {
|
||||||
// The Ethereum Contract ABI. If empty, it is represented as an empty array.
|
"ContractName": {
|
||||||
// See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI
|
// The Ethereum Contract ABI. If empty, it is represented as an empty array.
|
||||||
abi: [],
|
// See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI
|
||||||
evm: {
|
abi: [],
|
||||||
|
evm: {
|
||||||
assembly:
|
assembly:
|
||||||
bytecode:
|
bytecode:
|
||||||
runtimeBytecode:
|
runtimeBytecode:
|
||||||
@ -219,16 +220,17 @@ Output Description
|
|||||||
// furthermore, runtime bytecode is always a substring of the bytecode anyway.
|
// furthermore, runtime bytecode is always a substring of the bytecode anyway.
|
||||||
runtimeLinkReferences: {
|
runtimeLinkReferences: {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
functionHashes:
|
functionHashes:
|
||||||
metadata: // see the Metadata Output documentation
|
metadata: // see the Metadata Output documentation
|
||||||
ewasm: {
|
ewasm: {
|
||||||
wast: // S-expression format
|
wast: // S-expression format
|
||||||
wasm: //
|
wasm: //
|
||||||
},
|
},
|
||||||
userdoc: // Obsolete
|
userdoc: // Obsolete
|
||||||
devdoc: // Obsolete
|
devdoc: // Obsolete
|
||||||
natspec: // Combined dev+userdoc
|
natspec: // Combined dev+userdoc
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
formal: {
|
formal: {
|
||||||
|
Loading…
Reference in New Issue
Block a user