mirror of
https://github.com/logos-storage/nim-nitro.git
synced 2026-01-03 14:13:09 +00:00
13 lines
215 B
Nim
13 lines
215 B
Nim
import std/hashes
|
|
import pkg/contractabi/address
|
|
|
|
export address
|
|
|
|
type EthAddress* = Address
|
|
|
|
func zero*(_: type EthAddress): EthAddress =
|
|
EthAddress.default
|
|
|
|
proc `hash`*(a: EthAddress): Hash =
|
|
hash(a.toArray)
|