0g-chain/x/precisebank
drklee3 23ce7d8169
feat(x/precisebank): Return full balances in GetBalance(), add SpendableCoin method (#1957)
Change GetBalance() to return full balances instead of spendable to align behavior with x/bank. Add SpendableCoin() method with support of akava for use in x/evm.
2024-06-28 18:06:48 -07:00
..
keeper feat(x/precisebank): Return full balances in GetBalance(), add SpendableCoin method (#1957) 2024-06-28 18:06:48 -07:00
testutil feat(x/precisebank): Implement SendCoins (#1923) 2024-06-17 10:53:41 -07:00
types feat(x/precisebank): Return full balances in GetBalance(), add SpendableCoin method (#1957) 2024-06-28 18:06:48 -07:00
genesis_test.go feat(x/precisebank): Implement ExportGenesis (#1915) 2024-05-20 09:50:31 -07:00
genesis.go feat(x/precisebank): Implement ExportGenesis (#1915) 2024-05-20 09:50:31 -07:00
module.go feat(x/precisebank): Add remainder amount to genesis (#1911) 2024-05-15 14:07:24 -07:00
README.md feat: Add x/precisebank module basic setup (#1906) 2024-05-10 09:30:28 -07:00

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.