tutus-chain/internal/basicchain/testdata/verify_args/verification_with_args_cont...

8 lines
244 B
Go
Executable File

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
}