We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d201f3 commit 3d84809Copy full SHA for 3d84809
3 files changed
contracts/Gigastrat.sol
@@ -743,6 +743,7 @@ address feeAddress = 0x9D31e30003f253563Ff108BC60B16Fdf2c93abb5;
743
IERC20(usdcToken).transferFrom(msg.sender, address(this), amount);
744
745
// Repay loan
746
+ IERC20(usdcToken).approve(loans[loanIndex].loanAddress, amount);
747
ISpotIOULoan(loans[loanIndex].loanAddress).repayLoan(amount);
748
749
// Send ETH to caller
0 commit comments