neo-go/interop/input/input.go
Anthony De Meulemeester 05cd2775e2 renamed path to match the new project name (CityOfZion/neo-storm#8)
Imported from CityOfZion/neo-storm (d022d46cd851de78ee041851a80dc34e3b3b68d1).
2019-08-14 19:14:04 +03:00

17 lines
405 B
Go

package input
// Package input provides function signatures that can be used inside
// smart contracts that are written in the neo-storm framework.
// Input stubs the input of a NEO transaction.
type Input struct{}
// GetHash returns the hash of the given input.
func GetHash(in Input) []byte {
return nil
}
// GetIndex returns the index of the given input.
func GetIndex(in Input) int {
return 0
}