Updated interest rates to account for added risk at the 100% bound.

This commit is contained in:
dd 2021-04-22 10:57:52 -04:00
parent 0dbe98fefe
commit 532aa92c9b
1 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,9 @@ pub const HOUR: u64 = 3600;
pub const DAY: u64 = 86400;
pub const YEAR: U64F64 = U64F64!(31536000);
const OPTIMAL_UTIL: U64F64 = U64F64!(0.7);
const OPTIMAL_R: U64F64 = U64F64!(3.17097919837645865e-09); // 10% APY -> 0.1 / YEAR
const MAX_R: U64F64 = U64F64!(3.17097919837645865e-08); // max 100% APY -> 1 / YEAR
const OPTIMAL_R: U64F64 = U64F64!(6.3419583967529173008625e-09); // 20% APY -> 0.1 / YEAR
const MAX_R: U64F64 = U64F64!(9.5129375951293759512937e-08); // max 300% APY -> 1 / YEAR
pub const ONE_U64F64: U64F64 = U64F64!(1);
pub const ZERO_U64F64: U64F64 = U64F64!(0);
pub const PARTIAL_LIQ_INCENTIVE: U64F64 = U64F64!(1.05);