Docs
Search…
Docs
English
WELCOME
CORE CONCEPTS
DTOKENS
Mint
Redeem
Redeem Underlying
Borrow
Repay Borrow
Repay Borrow Behalf
Transfer
Liquidate Borrow
Exchange Rate
Get Cash
Total Borrow
Borrow Balance
Borrow Rate
Total Supply
Underlying Balance
Supply Rate
Total Reserves
Reserve Factor
COMPTROLLER
Fixed Rate Market
FAQ
About Dank
Supplying & Earning
Borrowing & Repaying
Liquidations
Governance
Troubleshooting
DEVELOPERS
GitHub
ABOUT US
Our Team
Medium
Twitter
Discord
Telegram
OTHERS
DANK Public Beta Event (ENDED)
Powered By
GitBook
Reserve Factor
The reserve factor defines the portion of borrower interest that is converted into reserves.
DErc20 / DEther
1
function
reserveFactorMantissa
()
returns
(
uint
)
Copied!
RETURN
: The current reserve factor as an unsigned integer, scaled by 1e18.
Solidity
1
DErc20 dToken
=
dToken
(
0x3FDA
...
);
2
uint reserveFactorMantissa
=
dToken
.
reserveFactorMantissa
();
Copied!
Web3 1.0
1
const
dToken
=
DEther
.
at
(
0x3FDB
...
);
2
const
reserveFactor
=
(
await
dToken
.
methods
.
reserveFactorMantissa
().
call
())
/
1e18
;
Copied!
Previous
Total Reserves
Next - CORE CONCEPTS
COMPTROLLER
Last modified
9mo ago
Copy link
Contents
DErc20 / DEther
Solidity
Web3 1.0