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