token_metadata.gno

0.26 Kb ยท 13 lines
 1package exts
 2
 3type TokenMetadata interface {
 4	// Returns the name of the token.
 5	GetName() string
 6
 7	// Returns the symbol of the token, usually a shorter version of the
 8	// name.
 9	GetSymbol() string
10
11	// Returns the decimals places of the token.
12	GetDecimals() int
13}