Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const ERC20Mock = artifacts.require("ERC20Mock");
- module.exports = async function(deployer, network, accounts) {
- if (network === "development") {
- console.log("Deploying MockDAI on Development at: ", accounts[5]);
- await deployer.deploy(ERC20Mock, accounts[5], 100*(10**6), {from: accounts[5]});
- }
- }
- contract("Erc20Teller", function([_, adminRole, user ]) {
- let daiAddress;
- beforeEach(async function() {
- daiAddress = (await web3.eth.getAccounts())[5];
- this.daiToken = await ERC20Mock.at(daiAddress);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement