Developers
Search…
Reserve Factor
The reserve factor defines the portion of borrower interest that is converted into reserves.

QToken

1
function reserveFactor() external view returns (uint);
Copied!
  • RETURN: The current reserve factor as an unsigned integer, scaled by 1e18.

Solidity

1
QToken qToken = QToken(<qTokenAddress>);
2
uint factor = qToken.reserveFactor();
Copied!

Ethers.js

1
const qToken = await ethers.getContractAt(<qTokenABI>, <qTokenAddress>);
2
const factor = await qToken.reserveFactor();
Copied!
Last modified 2mo ago
Copy link