2018-08-21 10:57:48 +00:00
|
|
|
package account
|
|
|
|
|
|
|
|
// Package account provides function signatures that can be used inside
|
2019-08-15 16:41:51 +00:00
|
|
|
// smart contracts that are written in the neo-go framework.
|
2018-08-21 10:57:48 +00:00
|
|
|
|
|
|
|
// Account stubs a NEO account type.
|
|
|
|
type Account struct{}
|
|
|
|
|
2019-09-03 14:51:37 +00:00
|
|
|
// GetScriptHash returns the script hash of the given account.
|
2018-08-21 10:57:48 +00:00
|
|
|
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
|
|
|
|
}
|