Strike Docs
Search…
Total Borrow
Total Borrows is the amount of underlying currently loaned out by the market, and the amount upon which interest is accumulated to suppliers of the market.
SErc20 / SEther
1
function totalBorrowsCurrent() returns (uint)
Copied!
    RETURN: The total amount of borrowed underlying, with interest.
Solidity
1
SErc20 sToken = SToken(0x3FDA...);
2
uint borrows = sToken.totalBorrowsCurrent();
Copied!
Web3 1.0
1
const sToken = SEther.at(0x3FDB...);
2
const borrows = (await sToken.methods.totalBorrowsCurrent().call());
Copied!
Last modified 8mo ago
Copy link