dx-mgn-pool
Version:
Smart contracts and migration scripts for the MGN-pool for trading at the dutch-Exchange
19 lines (17 loc) • 539 B
JavaScript
const deployWETH = require('@gnosis.pm/util-contracts/src/migrations-truffle-5')
module.exports = async (deployer, network, accounts) => {
if (network === 'development') {
const deployParams = {
artifacts,
deployer,
network,
accounts,
web3
}
await deployWETH(deployParams)
} else if (network == 'rinkeby') {
console.log("WETH was already deployed, skipping this migration setup")
} else {
throw new Error('Migrations are just for development. Current network is %s', network)
}
}