1
0
mirror of https://github.com/waku-org/nwaku.git synced 2025-02-15 08:26:40 +00:00

18 lines
481 B
Nim
Raw Normal View History

import
ethtypes
func parseCmdArg*(T: type Address, input: TaintedString): T
{.raises: [ValueError, Defect].} =
fromHex(T, string input)
func completeCmdArg*(T: type Address, input: TaintedString): seq[string] =
return @[]
func parseCmdArg*(T: type BlockHash, input: TaintedString): T
{.raises: [ValueError, Defect].} =
fromHex(T, string input)
func completeCmdArg*(T: type BlockHash, input: TaintedString): seq[string] =
return @[]