mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-19 01:04:15 +00:00
a1e3655560
neo-storm has developed more wrappers for syscall APIs, so they can and should be used as a drop-in replacement for pkg/vm/api. Moving it out of vm, as it's not exactly related to the VM itself.
17 lines
444 B
Go
17 lines
444 B
Go
package attribute
|
|
|
|
// Package attribute provides function signatures that can be used inside
|
|
// smart contracts that are written in the neo-go 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
|
|
}
|