Warm-up
Check yourself
An API row gives a token amount as 881504682420 and the token's decimals as 6. How many tokens is that?
Check yourself
Why multiply scaled debt by the borrow index?
Exercise 21
About 14 min
You'll take a raw read of HyperLend's core USD₮0 reserve, all long integers, convert it, and rebuild the reserve's debt, utilization, borrow rate and supply rate. Then you'll check each against the rate the protocol stored, and work out what a later read tells you. By the end you can turn any core reserve's raw data into rates you trust, with the time attached.
Check yourself
An API row gives a token amount as 881504682420 and the token's decimals as 6. How many tokens is that?
Check yourself
Why multiply scaled debt by the borrow index?
Members only
This course is for members.
The DeFi University membership on Skool opens all 31 courses here, plus the live calls and community. Private coaching clients have access too. Already a member? Sign in with your Skool email.