0g-chain/x/precisebank/keeper
drklee3 4cf41d18c2
feat(x/precisebank): Implement GetBalance (#1916)
Implement GetBalance for extended balances which passes through to `x/bank` for non-extended denoms. This diverges from `x/evmutil` behavior which will panic on non-"akava" calls.

Add bank / account keeper mocks for testing, with mockery config for [mockery package setup](https://vektra.github.io/mockery/latest/migrating_to_packages/)
2024-05-21 14:11:13 -07:00
..
fractional_balance_test.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00
fractional_balance.go feat(x/precisebank): Add keeper methods for store (#1912) 2024-05-16 15:30:31 -07:00
invariants_test.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00
invariants.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00
keeper_test.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00
keeper.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00
remainder_amount_test.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00
remainder_amount.go feat(x/precisebank): Add keeper methods for store (#1912) 2024-05-16 15:30:31 -07:00
send.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00
view_test.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00
view.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00