You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
340 B
12 lines
340 B
4 years ago
|
const path = require('path');
|
||
|
const bre = require('@nomiclabs/buidler');
|
||
|
|
||
|
const { Compiler } = require('@nomiclabs/buidler/internal/solidity/compiler');
|
||
|
|
||
|
const compiler = new Compiler(
|
||
|
bre.config.solc.version,
|
||
|
path.join(bre.config.paths.cache, 'compilers'),
|
||
|
);
|
||
|
|
||
|
module.exports = Object.assign(compiler.getSolc(), { __esModule: true });
|