Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDec ¶
FormatDec formats a sdk.Dec as a string with no trailing zeroes after the decimal point, omitting the decimal point as well for whole numbers. e.g. 4.000 -> 4 and 3.500 -> 3.5
func FormatDecCoin ¶
FormatDecCoin formats a sdk.DecCoin with no trailing zeroes after the decimal point in its amount, omitting the decimal point as well for whole numbers. Also places a space between amount and denom. e.g. 4.000uumee -> 4 uumee and 3.500ibc/abcd -> 3.5 ibc/abcd
func GenerateString ¶ added in v6.6.0
func ValidateProtoMsg ¶ added in v6.1.0
ValidateProtoMsg tries to run msg.ValidateBasic
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.