mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Explain every contract output field
This commit is contained in:
parent
9fc017d10b
commit
9fa54db7bd
@ -201,7 +201,14 @@ Output Description
|
|||||||
// See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI
|
// See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI
|
||||||
abi: [],
|
abi: [],
|
||||||
evm: {
|
evm: {
|
||||||
assembly:
|
// Intermediate representation (string)
|
||||||
|
ir: "",
|
||||||
|
// Assembly (string)
|
||||||
|
assembly: "",
|
||||||
|
// Old-style assembly (string)
|
||||||
|
asm: "",
|
||||||
|
// Old-style assembly (JSON object)
|
||||||
|
asmJSON: [],
|
||||||
// Bytecode and related details.
|
// Bytecode and related details.
|
||||||
bytecode: {
|
bytecode: {
|
||||||
// The bytecode as a hex string.
|
// The bytecode as a hex string.
|
||||||
@ -221,19 +228,39 @@ Output Description
|
|||||||
}
|
}
|
||||||
// The same layout as above.
|
// The same layout as above.
|
||||||
deployedBytecode: { },
|
deployedBytecode: { },
|
||||||
opcodes:
|
// Opcodes list (string)
|
||||||
annotatedOpcodes: // (axic) see https://github.com/ethereum/solidity/issues/1178
|
opcodes: "",
|
||||||
gasEstimates:
|
// The list of function hashes
|
||||||
|
methodIdentifiers: {
|
||||||
|
"5c19a95c": "delegate(address)",
|
||||||
},
|
},
|
||||||
functionHashes:
|
// Function gas estimates
|
||||||
metadata: // see the Metadata Output documentation
|
gasEstimates: {
|
||||||
|
creation: {
|
||||||
|
dataCost: 420000,
|
||||||
|
// -1 means infinite (aka. unknown)
|
||||||
|
executionCost: -1
|
||||||
|
},
|
||||||
|
external: {
|
||||||
|
"delegate(address)": 25000
|
||||||
|
},
|
||||||
|
internal: {
|
||||||
|
"heavyLifting()": -1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// See the Metadata Output documentation
|
||||||
|
metadata: {},
|
||||||
ewasm: {
|
ewasm: {
|
||||||
wast: // S-expression format
|
// S-expressions format
|
||||||
wasm: //
|
wast: "",
|
||||||
|
// Binary format (hex string)
|
||||||
|
wasm: ""
|
||||||
},
|
},
|
||||||
userdoc: // Obsolete
|
// User documentation (natspec)
|
||||||
devdoc: // Obsolete
|
userdoc: {},
|
||||||
natspec: // Combined dev+userdoc
|
// Developer documentation (natspec)
|
||||||
|
devdoc: {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user