Files
openzeppelin-contracts/test/helpers/web3.js
2018-07-10 14:01:51 -07:00

8 lines
221 B
JavaScript

const pify = require('pify');
const ethAsync = pify(web3.eth);
export const ethGetBalance = ethAsync.getBalance;
export const ethSendTransaction = ethAsync.sendTransaction;
export const ethGetBlock = ethAsync.getBlock;