asset

package
v0.0.0-...-2cf7c70 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxPrecision byte = 8
	MinPrecision byte = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	Name        string
	Description string
	Precision   byte
	AssetType   AssetType
}

func (*Asset) Deserialize

func (a *Asset) Deserialize(r io.Reader) error

func (*Asset) Equal

func (a *Asset) Equal(b *Asset) bool

func (*Asset) Serialize

func (a *Asset) Serialize(w io.Writer) error

func (*Asset) ToArray

func (a *Asset) ToArray() []byte

type AssetType

type AssetType byte
const (
	Token AssetType = 0x00
)

Jump to

Keyboard shortcuts

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