aave-protocol-v2/tasks/migrations/uniswap.dev.ts

14 lines
503 B
TypeScript
Raw Normal View History

2020-08-25 12:15:35 +00:00
import {task} from '@nomiclabs/buidler/config';
import {checkVerification} from '../../helpers/etherscan-verification';
task('uniswap:dev', 'Deploy development enviroment')
.addOptionalParam('verify', 'Verify contracts at Etherscan')
.setAction(async ({verify}, localBRE) => {
await localBRE.run('set-bre');
// Prevent loss of gas verifying all the needed ENVs for Etherscan verification
if (verify) {
checkVerification();
}
console.log('TODO: Pending to migrate');
});