Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustNewDecFromFloat ¶
Types ¶
type DecBld ¶
TODO: add unit tests for `util/coin/math.go` DecBld is a Builder pattern for dec coin
func (*DecBld) ScaleStr ¶
Scale scales dec coin by given factor provided as string. Panics if f is not a correct decimal number.
func (*DecBld) ToDecCoins ¶
ToCoin converts DecCoin to sdk.DecCoins
Click to show internal directories.
Click to hide internal directories.