1a1a19da7d
* deleted transfer_output added asset type and transaction result to core * removed writing 0x00 when buffer length is 0 * Refactored emit into VM package + moved tx to own package. * implemented transaction along with claimTransaction. * refactored naming of transaction + added decode address for uint160 types * removed unnecessary folder and files. * transaction/smartcontract logic * bumped version 0.24.0
18 lines
350 B
Go
18 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
|
|
)
|