19 lines
350 B
Go
19 lines
350 B
Go
|
package core
|
||
|
|
||
|
// AssetType represent a NEO asset type
|
||
|
type AssetType uint8
|
||
|
|
||
|
// Valid asset types.
|
||
|
const (
|
||
|
CreditFlag AssetType = 0x40
|
||
|
DutyFlag AssetType = 0x80
|
||
|
|
||
|
GoverningToken AssetType = 0x00
|
||
|
UtilityToken AssetType = 0x01
|
||
|
Currency AssetType = 0x08
|
||
|
|
||
|
Share = DutyFlag | 0x10
|
||
|
Invoice = DutyFlag | 0x18
|
||
|
Token = CreditFlag | 0x20
|
||
|
)
|