yield-contract/migrations/2_registry.js

8 lines
481 B
JavaScript
Raw Normal View History

2020-08-30 18:03:16 +00:00
const Registry = artifacts.require("Registry");
2020-09-09 20:40:19 +00:00
const FlusherLogic = artifacts.require("FlusherLogic");
const SettleLogic = artifacts.require("SettleLogic");
2020-08-30 18:03:16 +00:00
module.exports = async function(deployer, networks, accounts) {
await deployer.deploy(Registry, accounts[0]); //deploy registry.sol contract
2020-09-09 20:40:19 +00:00
await deployer.deploy(FlusherLogic, accounts[0]); //deploy flusherLogic.sol contract
await deployer.deploy(SettleLogic, accounts[0]); //deploy settleLogic.sol contract
2020-08-30 18:03:16 +00:00
};