mySuperLedger/MySuperLedger

support fixed-point in balance and amount

jackyjia opened this issue · 0 comments

Background

Current version of Amount and Balance only support integer, while in reality, they are usually high-precision value.
Will use fixed-point to represent floating number because calc value needs to be accurate and precise.

Acceptance Criteria

  • add a v2 of Amount and Balance, which use fixed-point to represent high-precision value