From 073871c248b097b654fb354fd756559009d7c3e9 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 16 Nov 2016 13:25:40 +0000 Subject: Update the metadata JSON spec --- docs/using-the-compiler.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/using-the-compiler.rst b/docs/using-the-compiler.rst index a49bfb8e..4fc5c71d 100644 --- a/docs/using-the-compiler.rst +++ b/docs/using-the-compiler.rst @@ -204,12 +204,15 @@ that can be used to query a location of the binary (and whether the version is version: "soljson-2313-2016-12-12", keccak: "0x123..." }, + // This is a subset of the regular compiler input sources: { "abc": {keccak: "0x456..."}, // here, sources are always given by hash "def": {keccak: "0x123..."}, - "dir/file.sol": {keccax: "0xabc..."} + "dir/file.sol": {keccax: "0xabc..."}, + "xkcd": {swarm: "0x456..."} }, + // This is a subset of the regular compiler input settings: { remappings: [":g/dir"], @@ -219,9 +222,12 @@ that can be used to query a location of the binary (and whether the version is "def:MyLib": "0x123123..." } }, + // This is a subset of the regular compiler output output: { abi: [ /* abi definition */ ], + userdoc: [], + devdoc: [], natspec: [ /* user documentation comments */ ] } } -- cgit v1.2.3