neo-go/interop/account/account.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

23 lines
618 B
Go

package account
// Package account provides function signatures that can be used inside
// smart contracts that are written in the neo-storm framework.
// Account stubs a NEO account type.
type Account struct{}
// GetScripHash returns the script hash of the given account.
func GetScriptHash(a Account) []byte {
return nil
}
// GetVotes returns the votes of the given account which should be a slice of
// public key raw bytes.
func GetVotes(a Account) [][]byte {
return nil
}
// GetBalance returns the balance of for the given account and asset id.
func GetBalance(a Account, assetID []byte) int {
return 0
}