neoneo-go/pkg/rpc/server/testdata/verify_args/verification_with_args_contract.go
Evgeniy Stratonikov 9871dc8f5a compiler: update x/tools package
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2022-01-20 13:21:26 +03:00

7 lines
244 B
Go

package verify_args
// Verify is a verification contract method which takes several arguments.
func Verify(argString string, argInt int, argBool bool) bool {
isOK := argString == "good_string" || argInt == 5 || argBool == true
return isOK
}