diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-03 05:52:35 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 07:41:48 +0800 |
commit | 9fa54db7bd0003da3ef4f7daa6df860e71f7af75 (patch) | |
tree | fc118139fc85a6e42210304932b1a062a9f3a3e9 /docs/using-the-compiler.rst | |
parent | 9fc017d10b3da56f4e94b73bf9f9f6ec7d5345cf (diff) | |
download | dexon-solidity-9fa54db7bd0003da3ef4f7daa6df860e71f7af75.tar.gz dexon-solidity-9fa54db7bd0003da3ef4f7daa6df860e71f7af75.tar.zst dexon-solidity-9fa54db7bd0003da3ef4f7daa6df860e71f7af75.zip |
Explain every contract output field
Diffstat (limited to 'docs/using-the-compiler.rst')
-rw-r--r-- | docs/using-the-compiler.rst | 49 |
1 files changed, 38 insertions, 11 deletions
diff --git a/docs/using-the-compiler.rst b/docs/using-the-compiler.rst index ed7f0856..6a50ca68 100644 --- a/docs/using-the-compiler.rst +++ b/docs/using-the-compiler.rst @@ -201,7 +201,14 @@ Output Description // See https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI abi: [], 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: { // The bytecode as a hex string. @@ -221,19 +228,39 @@ Output Description } // The same layout as above. deployedBytecode: { }, - opcodes: - annotatedOpcodes: // (axic) see https://github.com/ethereum/solidity/issues/1178 - gasEstimates: + // Opcodes list (string) + opcodes: "", + // The list of function hashes + methodIdentifiers: { + "5c19a95c": "delegate(address)", + }, + // Function gas estimates + gasEstimates: { + creation: { + dataCost: 420000, + // -1 means infinite (aka. unknown) + executionCost: -1 + }, + external: { + "delegate(address)": 25000 + }, + internal: { + "heavyLifting()": -1 + } + } }, - functionHashes: - metadata: // see the Metadata Output documentation + // See the Metadata Output documentation + metadata: {}, ewasm: { - wast: // S-expression format - wasm: // + // S-expressions format + wast: "", + // Binary format (hex string) + wasm: "" }, - userdoc: // Obsolete - devdoc: // Obsolete - natspec: // Combined dev+userdoc + // User documentation (natspec) + userdoc: {}, + // Developer documentation (natspec) + devdoc: {} } } }, |