mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-03 23:19:44 +00:00
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
|
|
}
|