token_details

package
v0.0.0-...-07d62d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL