mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Updated EVM output
This commit is contained in:
parent
4b19f560b8
commit
c217bc2dca
@ -204,22 +204,25 @@ Output Description
|
|||||||
abi: [],
|
abi: [],
|
||||||
evm: {
|
evm: {
|
||||||
assembly:
|
assembly:
|
||||||
bytecode:
|
// Bytecode and related details.
|
||||||
runtimeBytecode:
|
bytecode: {
|
||||||
|
// The bytecode as a hex string.
|
||||||
|
object: "00fe",
|
||||||
|
// The source mapping as a string. See the source mapping definition.
|
||||||
|
sourceMap: "",
|
||||||
|
// If given, this is an unlinked object.
|
||||||
|
linkReferences: {
|
||||||
|
"libraryFile.sol": {
|
||||||
|
// Byte offsets into the bytecode. Linking replaces the 20 bytes located there.
|
||||||
|
"Library1": [1, 200, 80]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// The same layout as above.
|
||||||
|
deployedBytecode: { },
|
||||||
opcodes:
|
opcodes:
|
||||||
annotatedOpcodes: // (axic) see https://github.com/ethereum/solidity/issues/1178
|
annotatedOpcodes: // (axic) see https://github.com/ethereum/solidity/issues/1178
|
||||||
gasEstimates:
|
gasEstimates:
|
||||||
sourceMap:
|
|
||||||
runtimeSourceMap:
|
|
||||||
// If given, this is an unlinked object (cannot be filtered out explicitly, might be
|
|
||||||
// filtered if both bytecode, runtimeBytecode, opcodes and others are filtered out)
|
|
||||||
linkReferences: {
|
|
||||||
"sourceFile.sol:Library1": [1, 200, 80] // byte offsets into bytecode. Linking replaces the 20 bytes there.
|
|
||||||
}
|
|
||||||
// the same for runtimeBytecode - I'm not sure it is a good idea to allow to link libraries differently for the runtime bytecode.
|
|
||||||
// furthermore, runtime bytecode is always a substring of the bytecode anyway.
|
|
||||||
runtimeLinkReferences: {
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
functionHashes:
|
functionHashes:
|
||||||
metadata: // see the Metadata Output documentation
|
metadata: // see the Metadata Output documentation
|
||||||
|
Loading…
Reference in New Issue
Block a user