Documentation ¶
Index ¶
Constants ¶
View Source
const (
AddressLength = 20
)
Lengths of addresses in bytes.
View Source
const (
HashLength = 32
)
Lengths of hashes in bytes.
Variables ¶
This section is empty.
Functions ¶
func HashesToBytesS ¶
func IsZeroHash ¶
Types ¶
type Address ¶
type Address [AddressLength]byte
Address represents the 20 byte address of an Ethereum account.
func BytesToAddress ¶
type Hash ¶
type Hash [HashLength]byte
Hash represents the 32 byte sha3-256 hash of arbitrary data.
func BytesSToHashes ¶
func BytesToHash ¶
Click to show internal directories.
Click to hide internal directories.