Move metadata settings into its own object.

This commit is contained in:
chriseth
2019-04-29 14:19:27 +02:00
parent eac0048176
commit eef3f95724
3 changed files with 20 additions and 10 deletions
+5 -3
View File
@@ -84,6 +84,10 @@ explanatory purposes.
yulDetails: {}
}
},
metadata: {
// Reflects the setting used in the input json, defaults to false
useLiteralContent: true
}
// Required for Solidity: File and name of the contract or library this
// metadata is created for.
compilationTarget: {
@@ -92,9 +96,7 @@ explanatory purposes.
// Required for Solidity: Addresses for libraries used
libraries: {
"MyLib": "0x123123..."
},
// Reflects the setting used in the input json, defaults to false
"useLiteralContent": false
}
},
// Required: Generated information about the contract.
output: