Documentation
¶
Index ¶
- func AbiDecodeArrayOfAddresses(bz []byte) ([]common.Address, error)
- func AbiDecodeBool(bz []byte) (bool, error)
- func AbiDecodeString(bz []byte) (string, error)
- func AbiDecodeUint256(bz []byte) (*big.Int, error)
- func AbiDecodeUint8(bz []byte) (uint8, error)
- func AbiEncodeArrayOfAddresses(addrs []common.Address) ([]byte, error)
- func AbiEncodeBool(b bool) ([]byte, error)
- func AbiEncodeString(str string) ([]byte, error)
- func AbiEncodeUint256(num *big.Int) ([]byte, error)
- func AbiEncodeUint8(num uint8) ([]byte, error)
- func MustMarshalJson(v any) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbiDecodeArrayOfAddresses ¶
AbiDecodeArrayOfAddresses decodes array of addresses
func AbiDecodeString ¶
AbiDecodeString decodes string
func AbiDecodeUint256 ¶
AbiDecodeUint256 decodes uint256
func AbiEncodeArrayOfAddresses ¶
AbiEncodeArrayOfAddresses encodes array of addresses
func AbiEncodeString ¶
AbiEncodeString encodes string
func AbiEncodeUint256 ¶
AbiEncodeUint256 encodes uint256
func MustMarshalJson ¶
MustMarshalJson marshals the given value to JSON and panics if an error occurs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.