First changed the codebase so that liquidity uses a scaling
factor (also made it opaque), and then updated the scaling
factor to 1_000_000. Apart from the show instance test,
no test broke, since we compute no prices using liquidity
in the codebase.
Also exposed lqt_decimal_digits as metadata; I hope I
didn't miss anything on the deployment side of things or the
functional spec.
Fixes #146.
First changed the codebase so that liquidity uses a scaling factor (also made it opaque), and then updated the scaling factor to 1_000_000. Apart from the show instance test, no test broke, since we compute no prices using liquidity in the codebase.
Also exposed
lqt_decimal_digits
as metadata; I hope I didn't miss anything on the deployment side of things or the functional spec.