diff options
-rw-r--r-- | packages/dev-tools-pages/ts/pages/Compiler.tsx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/packages/dev-tools-pages/ts/pages/Compiler.tsx b/packages/dev-tools-pages/ts/pages/Compiler.tsx index 92390e20b..0d9be16bf 100644 --- a/packages/dev-tools-pages/ts/pages/Compiler.tsx +++ b/packages/dev-tools-pages/ts/pages/Compiler.tsx @@ -66,8 +66,7 @@ function Compiler() { <ContentBlock title="Production"> <p> - Sol compiler uses solidity standard JSON output format for the artifacts. This way, you can - define which parts of the artifact you need. + Sol compiler uses solidity standard JSON output format for the artifacts. This way, you can define which parts of the artifact you need. </p> <Breakout> <Code light language="json"> @@ -88,6 +87,20 @@ function Compiler() { <Code light language="json"> {`{ ... + "compilerOutput": { + "abi": [...], + }, + ... +}`} + </Code> + </Breakout> + </ContentBlock> + <ContentBlock title="Development"> + <p>Sometimes you need to use some debuggers or other dev tools and you’ll need more info in the artifact.</p> + <Breakout> + <Code light language="json"> + {`{ + ... "compilerSettings": { "outputSelection": { "*": { @@ -105,6 +118,7 @@ function Compiler() { }`} </Code> </Breakout> + <Breakout> <Code light language="json"> {`{ |