yieldprotocol / ui-monorepo

0 stars 0 forks source link

fix: invariant formatting to decimal places #12

Closed marcomariscal closed 2 years ago

marcomariscal commented 2 years ago

formats the invariant result to look like 1.15 to x decimal places (if the invariant result is "1.15"); this mirrors the smart contract implementation.

also includes a simple invariant test against desmos.