Documentation ¶
Index ¶
- func Create(assetType byte, name string, amount int, precision byte, ...)
- func GetAdmin(a Asset) []byte
- func GetAmount(a Asset) int
- func GetAssetID(a Asset) []byte
- func GetAssetType(a Asset) byte
- func GetAvailable(a Asset) int
- func GetIssuer(a Asset) []byte
- func GetOwner(a Asset) []byte
- func GetPrecision(a Asset) byte
- func Renew(asset Asset, years int)
- type Asset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssetType ¶
GetAssetType returns the type of the given asset.
func GetAvailable ¶
GetAvailable returns the available of the given asset.
func GetPrecision ¶
GetPrecision returns the precision of the given asset.
Types ¶
Click to show internal directories.
Click to hide internal directories.