0g-chain/x/liquid/keeper
Derrick Lee ed116b24ba
Add derivative denom and kava value methods to liquid (#1303)
* Add IsDerivativeDenom and GetKavaForDerivatives methods to liquid

* Add test case containing 2 different bkava denoms

* Add doc to GetKavaForDerivatives

* Remove logging statements, use keeper logger

* Fix nil err use

* Return error from GetKavaForDerivatives

* Re-add ParseLiquidStakingTokenDenom

* Add ParseLiquidStakingTokenDenom tests

* Use DenomSeparator instead of str

Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>

Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-19 08:51:39 -07:00
..
derivative_test.go Add derivative denom and kava value methods to liquid (#1303) 2022-09-19 08:51:39 -07:00
derivative.go Add derivative denom and kava value methods to liquid (#1303) 2022-09-19 08:51:39 -07:00
keeper_test.go liquid staking (#1273) 2022-09-15 23:00:32 +01:00
keeper.go liquid staking (#1273) 2022-09-15 23:00:32 +01:00
msg_server.go liquid staking (#1273) 2022-09-15 23:00:32 +01:00
staking_test.go liquid staking (#1273) 2022-09-15 23:00:32 +01:00
staking.go liquid staking (#1273) 2022-09-15 23:00:32 +01:00