solabi

package
v0.0.0-...-23d24bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyReader

func EmptyReader(r io.Reader) bool

func ReadAddress

func ReadAddress(r io.Reader) (common.Address, error)

func ReadAndValidateSignature

func ReadAndValidateSignature(r io.Reader, expectedSignature []byte) ([]byte, error)

func ReadEthBytes32

func ReadEthBytes32(r io.Reader) (eth.Bytes32, error)

func ReadHash

func ReadHash(r io.Reader) (common.Hash, error)

func ReadSignature

func ReadSignature(r io.Reader) ([]byte, error)

func ReadUint256

func ReadUint256(r io.Reader) (*big.Int, error)

func ReadUint64

func ReadUint64(r io.Reader) (uint64, error)

ReadUint64 reads a big endian uint64 from a 32 byte word

func WriteAddress

func WriteAddress(w io.Writer, a common.Address) error

func WriteEthBytes32

func WriteEthBytes32(w io.Writer, b eth.Bytes32) error

func WriteHash

func WriteHash(w io.Writer, h common.Hash) error

func WriteSignature

func WriteSignature(w io.Writer, sig []byte) error

func WriteUint256

func WriteUint256(w io.Writer, n *big.Int) error

func WriteUint64

func WriteUint64(w io.Writer, n uint64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL