Notional Internal Precision
Balances
Notional's internal balance precision is 8 decimals. For example, here is a non-exhaustive list of balance related variables with 1e8 precision:
User Prime Cash and Prime Debt balances
User nToken balances
User fCash balances
nToken liquidity token balances
User Vault Share Balances
User Free Collateral balances
fCash markets total Prime Cash and total fCash balances
Prime Cash totalUnderlyingSupply balances
maxUnderlyingSupply parameters
Leveraged Vaults minAccountBorrowSize parameters
Rates
Notional's internal rate precision is 9 decimals. For example, here is a non-exhaustive list of rates related variables with 1e9 precision:
fCashOracleRatesfCashLastImpliedRatesoracleSupplyRateLeveraged Vaults
minCollateralRatio,maxRequiredAccountCollateralRatio,maxDeleverageCollateralRatio,liquidationRate, andfeeRateparameters
Scalars
Prime Cash scalars are 1e18 precision. For example, the precision of the following variables is 1e18:
debtScalarsupplyScalarunderlyingScalar
Prime factors
The Prime Cash debtFactorand supplyFactor precision is 1e36.
Last updated