types
Hash
// Hash represents the 32 byte Keccak256 hash of arbitrary data.
type Hash [HashLength]byteUnprefixedHash
// UnprefixedHash allows marshaling a Hash without 0x prefix.
type UnprefixedHash HashAddress
// Data represents the 64 byte Data of an Ethereum account.
type Address [AddressLength]byteContractAddress
type ContractAddress [20]byteAddresses
type Addresses []AddressUnprefixedAddress
// UnprefixedAddress allows marshaling an Data without 0x prefix.
type UnprefixedAddress AddressMixedcaseAddress
// MixedcaseAddress retains the original string, which may or may not be
// correctly checksummed
type MixedcaseAddress struct {
addr Address
original string
}Last updated
Was this helpful?