aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-26 14:08:40 +0800
committerAugust Skare <post@augustskare.no>2018-10-26 14:08:40 +0800
commit3901380ffb05f1691ec92c33742013c97530399c (patch)
tree71f021097721dbdfdc5b2800080fbad6eccc2ae5
parentfb24a18f3faa99736562e363e68fe077f56d760a (diff)
downloaddexon-sol-tools-3901380ffb05f1691ec92c33742013c97530399c.tar.gz
dexon-sol-tools-3901380ffb05f1691ec92c33742013c97530399c.tar.zst
dexon-sol-tools-3901380ffb05f1691ec92c33742013c97530399c.zip
update content on copiler page
-rw-r--r--packages/dev-tools-pages/ts/pages/Compiler.tsx18
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">
{`{