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