Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxPrecision = 8 MinPrecision = 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
RecordType AssetRecordType
}
registered asset will be assigned to contract address
func (*Asset) Deserialize ¶
Deserialize is the implement of SignableData interface.
type AssetRecordType ¶
type AssetRecordType byte
const ( UTXO AssetRecordType = 0x00 Balance AssetRecordType = 0x01 )
Click to show internal directories.
Click to hide internal directories.