Documentation
¶
Index ¶
Constants ¶
View Source
const (
AddressBytesLen = 20
)
View Source
const (
HashBytesLen = 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address [AddressBytesLen]byte
func Int256ToAddress ¶
func (Address) MarshalText ¶
func (*Address) UnmarshalText ¶
type Bytes ¶ added in v0.5.2
type Bytes []byte
func (Bytes) MarshalJSON ¶ added in v0.5.2
MarshalJSON implements the json.Marshaler interface.
func (*Bytes) UnmarshalJSON ¶ added in v0.5.2
UnmarshalJSON implements the json.Unmarshaler interface.
type Hash ¶
type Hash [HashBytesLen]byte
func Int256ToHash ¶
func (Hash) MarshalText ¶
func (*Hash) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.