Repay Borrow
function repayBorrow(uint repayAmount) returns (uint)function repayBorrow() payableSEther aToken = SEther(0x3FDB...);
require(aToken.repayBorrow.value(100)() == 0, "transfer approved?");const aToken = SErc20.at(0x3FDA...);
aToken.methods.repayBorrow(10000).send({from: ...});Last updated