New answers tagged


Add them as sources yes but also add a import callback if using solcjs.


from 0.7.0 do like below: struct Request{ string description; uint value; address recipient; bool complete; uint approvalsCount; mapping(address => bool) approvals; } uint numRequests; mapping (uint => Request) requests; function createRequest (...


I renamed interface variable "abi" and removed the Parse from beforeEach in the test file because that's being done in the compiler. Compile.JS file // build path from compiler to solidity file const path = require('path'); const fs = require('fs'); const solc = require('solc'); //for unix and windows //take you from root dir to this inbox folder ...

Top 50 recent answers are included