Skip to content

Commit

Permalink
Nicer deployment script logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenligiray committed May 22, 2024
1 parent 71bc7c0 commit 6b393b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/1_deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = async () => {
log(`Deploying example IrrevocableVesting at ${exampleIrrevocableVestingAddress}`);
const api3Token = new ethers.Contract(api3TokenAddress, ERC20__factory.abi, deployer) as unknown as ERC20;
if ((await api3Token.allowance(deployer!.address, irrevocableVestingFactoryAddress)) < exampleVesting.amount) {
log('Approving 1 (Wei) API3 to IrrevocableVestingFactory');
log(`Approving ${exampleVesting.amount} (Wei) API3 to IrrevocableVestingFactory`);
await api3Token.approve(irrevocableVestingFactoryAddress, exampleVesting.amount);
}
const irrevocableVestingFactory = new ethers.Contract(
Expand Down

0 comments on commit 6b393b4

Please sign in to comment.