mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-02 19:45:50 +00:00
523789ee1c
* added draft of block and transaction interop api. * added header interop API * added attribute, transaction, input, output interop API * Added asset, attribute and account interop api. * added Runtime interop apis * added asset renew and create + contract and asset interop apis Imported from CityOfZion/neo-storm (b6810d58b98312a959980f344db24689839574c4).
22 lines
543 B
Go
22 lines
543 B
Go
package output
|
|
|
|
// Package output provides function signatures that can be used inside
|
|
// smart contracts that are written in the neo-go-sc 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
|
|
}
|