mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-04 19:19:44 +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.
22 lines
540 B
Go
22 lines
540 B
Go
package output
|
|
|
|
// Package output provides function signatures that can be used inside
|
|
// smart contracts that are written in the neo-go framework.
|
|
|
|
// Output stubs the output of a NEO transaction.
|
|
type Output struct{}
|
|
|
|
// GetAssetID returns the asset id of the given output.
|
|
func GetAssetID(out Output) []byte {
|
|
return nil
|
|
}
|
|
|
|
// GetValue returns the value of the given output.
|
|
func GetValue(out Output) int {
|
|
return 0
|
|
}
|
|
|
|
// GetScriptHash returns the script hash of the given output.
|
|
func GetScriptHash(out Output) []byte {
|
|
return nil
|
|
}
|