Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenDetails ¶
type TokenDetails struct { TokenShortName string `json:"token_short_name"` TokenDecimals int `json:"token_decimals"` }
TokenDetails used to store information on the underlying token. When inserting this information into the database, should be expanded as-is and stored literally in the database.
func New ¶
func New(shortName string, decimals int) TokenDetails
New TokenDetails, shortform to present data to any downstream consumers.
Click to show internal directories.
Click to hide internal directories.