feat: hashTypedDataV4 endpoint added
This commit is contained in:
parent
5546ffaea2
commit
73ff3ae342
|
@ -217,6 +217,11 @@ proc hashTypedData*(data: string): string =
|
|||
defer: go_shim.free(funcOut)
|
||||
return $funcOut
|
||||
|
||||
proc hashTypedDataV4*(data: string): string =
|
||||
var funcOut = go_shim.hashTypedDataV4(data.cstring)
|
||||
defer: go_shim.free(funcOut)
|
||||
return $funcOut
|
||||
|
||||
proc resetChainData*(): string =
|
||||
var funcOut = go_shim.resetChainData()
|
||||
defer: go_shim.free(funcOut)
|
||||
|
|
|
@ -92,6 +92,8 @@ proc writeHeapProfile*(dataDir: cstring): cstring {.importc: "WriteHeapProfile".
|
|||
|
||||
proc hashTypedData*(data: cstring): cstring {.importc: "HashTypedData".}
|
||||
|
||||
proc hashTypedDataV4*(data: cstring): cstring {.importc: "HashTypedDataV4".}
|
||||
|
||||
proc resetChainData*(): cstring {.importc: "ResetChainData".}
|
||||
|
||||
proc signMessage*(rpcParams: cstring): cstring {.importc: "SignMessage".}
|
||||
|
|
Loading…
Reference in New Issue