Documentation ¶
Index ¶
- func FromEther(n *big.Float) *big.Int
- func FromGwei(n *big.Float) *big.Int
- func HexToBytes(s string) ([]byte, error)
- func HexToInt(s string) (int64, error)
- func PackArgument(t abi.Type, v any) (string, error)
- func ToEther(wei *big.Int) *big.Float
- func ToGwei(wei *big.Int) *big.Int
- func Trim0xPrefix(s string) string
- func UnpackArgument(t abi.Type, s string) (any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HexToBytes ¶
HexToInt converts string format of a series of hex value to byte slice.
func PackArgument ¶ added in v0.2.0
PackArgument packs a single argument into a string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.