New answers tagged

0

Add them as sources yes but also add a import callback if using solcjs. https://github.com/ethereum/solc-js/issues/114#issuecomment-354752466


1

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 (...


1

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