core/interop: add base58 encoding/decoding syscalls

Follow neo-project/neo#1833.
This commit is contained in:
Roman Khimov 2020-08-23 17:19:56 +03:00
parent 562e7e371f
commit 9c72ea1d64
6 changed files with 80 additions and 30 deletions

View file

@ -11,6 +11,8 @@ type Syscall struct {
// All lists are sorted, keep 'em this way, please.
var syscalls = map[string]map[string]Syscall{
"binary": {
"Base58Decode": {interopnames.SystemBinaryBase58Decode, false},
"Base58Encode": {interopnames.SystemBinaryBase58Encode, false},
"Base64Decode": {interopnames.SystemBinaryBase64Decode, false},
"Base64Encode": {interopnames.SystemBinaryBase64Encode, false},
"Deserialize": {interopnames.SystemBinaryDeserialize, false},