2018-08-21 10:57:48 +00:00
|
|
|
package attribute
|
|
|
|
|
|
|
|
// Package attribute provides function signatures that can be used inside
|
2018-08-21 11:39:35 +00:00
|
|
|
// smart contracts that are written in the neo-storm framework.
|
2018-08-21 10:57:48 +00:00
|
|
|
|
|
|
|
// 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
|
|
|
|
}
|