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 6dff01672c
commit 83df376d17

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
}