2021-12-08 19:33:03 +00:00
|
|
|
package neogointernal
|
|
|
|
|
|
|
|
// CallWithToken performs contract call using CALLT instruction. It only works
|
|
|
|
// for static script hashes and methods, requiring additional metadata compared to
|
|
|
|
// ordinary contract.Call. It's more efficient though.
|
2023-04-03 10:34:24 +00:00
|
|
|
func CallWithToken(scriptHash string, method string, flags int, args ...any) any {
|
2021-12-08 19:33:03 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// CallWithTokenNoRet is a version of CallWithToken that does not return anything.
|
2023-04-03 10:34:24 +00:00
|
|
|
func CallWithTokenNoRet(scriptHash string, method string, flags int, args ...any) {
|
2021-12-08 19:33:03 +00:00
|
|
|
}
|