Borrow
function borrow(uint borrowAmount) returns (uint)SErc20 sToken = SErc20(0x3FDA...);
require(sToken.borrow(100) == 0, "got collateral?");const sToken = SEther.at(0x3FDB...);
await sToken.methods.borrow(50).send({from: 0xMyAccount});Last updated
Was this helpful?