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