Reserve Factor

The reserve factor defines the portion of borrower interest that is converted into reserves.

QToken

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

Solidity

QToken qToken = QToken(<qTokenAddress>);
uint factor = qToken.reserveFactor();

Ethers.js

const qToken = await ethers.getContractAt(<qTokenABI>, <qTokenAddress>);
const factor = await qToken.reserveFactor();

Last updated