Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaturateSub ¶
SaturateSub subtracts a set of coins from another. If the amount goes below zero, it's set to zero.
Example: {2A, 3B, 4C} - {1A, 5B, 3D} = {1A, 4C}
func UintArrayToString ¶
UintArrayToString joins an array of uint64 numbers into a string with the given delimiter.
Forked from https://stackoverflow.com/questions/37532255/one-liner-to-transform-int-into-string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.