mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-28 23:27:36 +00:00
6b21ad9922
Everywhere including examples, external interop APIs, bindings generators code and in other valuable places. A couple of `interface{}` usages are intentionally left in the CHANGELOG.md, documentation and tests.
12 lines
507 B
Go
12 lines
507 B
Go
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.
|
|
func CallWithToken(scriptHash string, method string, flags int, args ...any) any {
|
|
return nil
|
|
}
|
|
|
|
// CallWithTokenNoRet is a version of CallWithToken that does not return anything.
|
|
func CallWithTokenNoRet(scriptHash string, method string, flags int, args ...any) {
|
|
}
|