account: add missing IsStandard interop function

There is a Neo.Account.IsStandard syscall, but we didn't have a wrapper for
it.
This commit is contained in:
Roman Khimov 2020-05-17 18:16:16 +03:00
parent 19c21452c9
commit 7c1a54b725

View file

@ -34,3 +34,10 @@ func GetVotes(a Account) [][]byte {
func GetBalance(a Account, assetID []byte) int {
return 0
}
// IsStandard checks whether given account uses standard (CHECKSIG or
// CHECKMULTISIG) contract. It only works for deployed contracts and uses
// `Neo.Account.IsStandard` syscall internally.
func IsStandard(a Account) bool {
return false
}