()
| 102 | } |
| 103 | |
| 104 | const depositLP2MasterChef = async () => { |
| 105 | lpBalance = await lpToken.balanceOf(wallet.address) |
| 106 | const tx = await masterchefContract.deposit(1, lpBalance.toString(), overrides) |
| 107 | tx.wait(1); |
| 108 | console.log(chalk.green(`Successfully deposit LP token to masterchef`)); |
| 109 | return tx; |
| 110 | } |
| 111 | |
| 112 | const withdrawLP2MasterChef = async () => { |
| 113 | const tx = await masterchefContract.withdraw(1, lpBalance.toString(), overrides) |