0vix is a fork of compound with some differences. Their version of calculating rates is based on block timestamp (vs block numbers like on Compound) . Therefore, their function names on their ICToken are named accrualBlockTimestamp, borrowRatePerTimestamp and supplyRatePerTimestamp.
I created a ICToken interface with these functions specific to 0vix (plus the ones we need for the rest of the integration).
It was also necessary to :
create a different implementation of LibCompoundV2 (LibOvix) to reflect this changes
change the way we're calculating the borrow/supply rates to calculate using number of seconds per year instead of number of blocks per year
Notes: The protocol is named 0vix with a "zero" which is a headache when creating contract with that name, so an "O" was used instead of a "zero"
0vix is a fork of compound with some differences. Their version of calculating rates is based on block timestamp (vs block numbers like on Compound) . Therefore, their function names on their ICToken are named accrualBlockTimestamp, borrowRatePerTimestamp and supplyRatePerTimestamp. I created a ICToken interface with these functions specific to 0vix (plus the ones we need for the rest of the integration). It was also necessary to :
Notes: The protocol is named 0vix with a "zero" which is a headache when creating contract with that name, so an "O" was used instead of a "zero"