This bounty is no longer available
Web3 DAO | strips-finance Logo

Maker DAI lenging APY calculation.




in over 262 years



209.5 USD


Implement Maker DAI lending APY calculation using mainnet fork.

What is "APY" - yearly compounded interest rate that the lender of MAKER will receive as a profit.

The current repo already have all settings for fork. Default hardhat network automatically use mainnet fork.

What need to be done:

Supply DAI to Maker
Track profit each 10 minutes (by emulating unstake profit on fork mainnet)
Provide the APY - cumulative yearly rate.

Example of how it could be implemented here:

Provide similar test file but that calculate APY in the right way.

REQUIREMENT: Need to have a deep understand of Maker APY calculation (from contract's code - not docs) or be ready to research it.