core: add System.Contract.GetCallFlags interop

Part of #1055.

It returns calling flags of the current context.
This commit is contained in:
Anna Shaleva 2020-07-16 12:13:55 +03:00
parent 842feb2533
commit f31ce9289d
5 changed files with 23 additions and 0 deletions

View file

@ -25,6 +25,7 @@ var syscalls = map[string]map[string]Syscall{
"CreateStandardAccount": {"System.Contract.CreateStandardAccount", false},
"Destroy": {"System.Contract.Destroy", false},
"IsStandard": {"System.Contract.IsStandard", false},
"GetCallFlags": {"System.Contract.GetCallFlags", false},
"Update": {"System.Contract.Update", false},
},
"crypto": {