mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-04-04 15:55:23 +00:00
- Validate total fractional amounts in genesis type - Validate against fractional balances such that `(sum(balances) + remainder) % conversionFactor == 0` - Add new utility type `SplitBalance` for splitting up full balances into each |
||
|---|---|---|
| .. | ||
| keeper | ||
| testutil | ||
| types | ||
| genesis_test.go | ||
| genesis.go | ||
| module.go | ||
| README.md | ||
x/precisebank
Abstract
This document specifies the precisebank module of Kava.
The precisebank module is responsible for extending the precision of x/bank,
intended to be used for the x/evm. It serves as a wrapper of x/bank to
increase the precision of KAVA from 6 to 18 decimals, while preserving the
behavior of existing x/bank balances.
This module is used only by x/evm where 18 decimal points are expected.