neoneo-go/interop/attribute/attribute.go
Anthony De Meulemeester 05cd2775e2 renamed path to match the new project name (CityOfZion/neo-storm#8)
Imported from CityOfZion/neo-storm (d022d46cd851de78ee041851a80dc34e3b3b68d1).
2019-08-14 19:14:04 +03:00

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
}