minor bug fix

This commit is contained in:
Samyak Jain 2021-04-14 05:00:02 +05:30
parent e51885b016
commit 3053de6d99

View File

@ -123,7 +123,7 @@ abstract contract Helpers is Stores, DSMath, Variables {
}
targets[spellsAmt] = "BASIC-A"; // TODO: right spell?
castData[spellsAmt] = abi.encode("4bd3ab82", _atoken, _borrowAmt, address(this), 0, 0); // encode the data of atoken withdrawal
castData[spellsAmt] = abi.encode("withdraw(address,uint256,address,uint256,uint256)", _atoken, _borrowAmt, address(this), 0, 0); // encode the data of atoken withdrawal
// TODO: Call DSAs cast and borrow (maybe create a new implementation which only this contract can run?)
}