Documentation ¶
Index ¶
- func MarshalBigInt(input *big.Int) string
- func MarshalByteArray(input []byte) string
- func MarshalNullableByteArray(input []byte) string
- func MarshalNullableUint32(input uint32) string
- func MarshalUint32(input uint32) string
- func MarshalUint64(input uint64) string
- func PreUnmarshalHexString(input string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalBigInt ¶
MarshalBigInt marshals a big.Int as per the Ethereum standard.
func MarshalByteArray ¶
MarshalByteArray marshals a byte array as per the Ethereum standard.
func MarshalNullableByteArray ¶
MarshalNullableByteArray marshals a byte array as per the Ethereum standard.
func MarshalNullableUint32 ¶ added in v0.2.0
MarshalNullableUint32 marshals a uint32 as per the Ethereum standard, with 0 as null.
func MarshalUint32 ¶
MarshalUint32 marshals a uint32 as per the Ethereum standard.
func MarshalUint64 ¶
MarshalUint64 marshals a uint64 as per the Ethereum standard.
func PreUnmarshalHexString ¶
PreUnmarshalHexString tidies up an input hex string, removing any leading '0x' and ensuring that the input has an even number of hex digits.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.