0g-chain/x/precisebank/keeper
drklee3 9de9de671e
feat(x/precisebank): Display 0 reserve balance to module consumers (#1958)
Module reserve represents fractional balances, so it should be hidden to consumers to not have a misleading total balance that doubles the fractional balances. This modifies GetBalance() and SpendableCoin() to always return zero coins when fetching the reserve address balance for fractional amounts.
2024-07-10 11:14:17 -07:00
..
burn_integration_test.go feat(x/precisebank): Display 0 reserve balance to module consumers (#1958) 2024-07-10 11:14:17 -07:00
burn_test.go feat(x/precisebank): Implement BurnCoins (#1934) 2024-06-20 15:02:23 -07:00
burn.go feat(x/precisebank): Emit events for send/mint/burn (#1955) 2024-06-27 19:40:17 -07:00
fractional_balance_test.go feat(x/precisebank): Implement MintCoins (#1920) 2024-05-24 12:03:09 -07:00
fractional_balance.go refactor(x/precisebank): Replace FractionalAmount wrapper with func (#1961) 2024-07-09 15:33:31 -07:00
invariants_integration_test.go fix(x/precisebank): Ensure exact reserve balance on integer carry when minting (#1932) 2024-06-20 15:20:13 -07:00
invariants_test.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00
invariants.go refactor(x/precisebank): Replace FractionalAmount wrapper with func (#1961) 2024-07-09 15:33:31 -07:00
keeper_test.go feat(x/precisebank): Implement MintCoins (#1920) 2024-05-24 12:03:09 -07:00
keeper.go feat(x/precisebank): Implement BurnCoins (#1934) 2024-06-20 15:02:23 -07:00
mint_integration_test.go feat(x/precisebank): Emit events for send/mint/burn (#1955) 2024-06-27 19:40:17 -07:00
mint_test.go fix(x/precisebank): Ensure exact reserve balance on integer carry when minting (#1932) 2024-06-20 15:20:13 -07:00
mint.go feat(x/precisebank): Emit events for send/mint/burn (#1955) 2024-06-27 19:40:17 -07:00
remainder_amount_test.go feat(x/precisebank): Implement GetBalance (#1916) 2024-05-21 14:11:13 -07:00
remainder_amount.go refactor(x/precisebank): Replace FractionalAmount wrapper with func (#1961) 2024-07-09 15:33:31 -07:00
send_integration_test.go feat(x/precisebank): Emit events for send/mint/burn (#1955) 2024-06-27 19:40:17 -07:00
send_test.go feat(x/precisebank): Implement SendCoins (#1923) 2024-06-17 10:53:41 -07:00
send.go feat(x/precisebank): Emit events for send/mint/burn (#1955) 2024-06-27 19:40:17 -07:00
view_integration_test.go feat(x/precisebank): Display 0 reserve balance to module consumers (#1958) 2024-07-10 11:14:17 -07:00
view_test.go feat(x/precisebank): Display 0 reserve balance to module consumers (#1958) 2024-07-10 11:14:17 -07:00
view.go feat(x/precisebank): Display 0 reserve balance to module consumers (#1958) 2024-07-10 11:14:17 -07:00