forked from TrueCloudLab/neoneo-go
05cd2775e2
Imported from CityOfZion/neo-storm (d022d46cd851de78ee041851a80dc34e3b3b68d1).
17 lines
447 B
Go
17 lines
447 B
Go
package attribute
|
|
|
|
// Package attribute provides function signatures that can be used inside
|
|
// smart contracts that are written in the neo-storm framework.
|
|
|
|
// Attribute stubs a NEO transaction attribute type.
|
|
type Attribute struct{}
|
|
|
|
// GetUsage returns the usage of the given attribute.
|
|
func GetUsage(attr Attribute) byte {
|
|
return 0x00
|
|
}
|
|
|
|
// GetData returns the data of the given attribute.
|
|
func GetData(attr Attribute) []byte {
|
|
return nil
|
|
}
|