Gets the list of denominations
Divides the elements of the collection by a value.
Gets the Coin for denomination if it exists in the collection.
denomination to lookup
Modulos the elements of the collection with a value.
Multiplies the elements of the collection by a value.
Sets the Coin value for a denomination.
denomination to set
value to set
Gets the individual elements of the collection.
Creates a new Coins object with all Decimal coins
Creates a new Coins object with all Integer coins with ceiling the amount
Creates a new Coins object with all Integer coins
Converts the Coins information to a comma-separated list.
Eg: 15000ukrw,12000uluna
Converts a comma-separated list of coins to a Coins object
Eg. 1500ukrw,12302uluna
comma-separated list of coins
Analagous to
sdk.Coins
andsdk.DecCoins
from Cosmos-SDK, and represents a collection of Coin objects.