Governance parameters

Prime Cash Interest Rate Models

# Fetch Notional's Prime Dai Interest Rate Model.
# TODO

fCash Interest Rate Models

# Fetch Notional's fDAI Interest Rate Models.
fCashInterestRateCurves = notional.getInterestRateCurve(1)['activeInterestRateCurve']
interestRateCurve3M = fCashInterestRateCurves[0]
interestRateCurve6M = fCashInterestRateCurves[1]

Collateral Haircut & Buffers

# Fetch Notional's USDC collateral haircut.
usdcCollateralHaircut = notional.getRateStorage(3)["ethRate"]["haircut"]/100
# Fetch Notional's USDC debt buffer.
usdcDebtBuffer = notional.getRateStorage(3)["ethRate"]["buffer"]/100

Liquidation Discount Parameters

# Fetch Notional's USDC Liquidation Discount.
notional.getRateStorage(3)["ethRate"]["liquidationDiscount"]/100 - 1

fCash Risk Adjustments Parameters

# Fetch the fcash haircuts and debt buffers rate adjustment that are made to the oracles rates:
notional.getCashGroup(currencyId)["debtBuffer25BPS"]
notional.getCashGroup(currencyId)["fCashHaircut25BPS"]
# Fetch the fCash liquidation discounts given to fCash liquidators.
notional.getCashGroup(currencyId)["liquidationDebtBuffer25BPS"]
notional.getCashGroup(currencyId)["liquidationfCashHaircut25BPS"]
# Fetch the minimum oracle rate at which negative fCash can be discounted
# and the maximum oracle rate at which positive fCash can be discounted.
notional.getCashGroup(currencyId)["minOracleRate25BPS"]
notional.getCashGroup(currencyId)["maxOracleRate25BPS"]
# Fetch the maximum fCash discount factor. 1 - maxDiscountFactor is the min fCash PV of positive fCash assets.
notional.getCashGroup(currencyId)["maxDiscountFactor5BPS"]