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