package solc_errors

import "github.com/ethereum/go-ethereum/accounts/abi/bind/v2/internal/contracts/solc_errors"

Index

Variables

var C2MetaData = bind.MetaData{
	ABI: "" /* 432 byte string literal not displayed */,
	ID:  "78ef2840de5b706112ca2dbfa765501a89",
	Bin: "" /* 612 byte string literal not displayed */,
}

C2MetaData contains all meta data concerning the C2 contract.

var CMetaData = bind.MetaData{
	ABI: "" /* 868 byte string literal not displayed */,
	ID:  "55ef3c19a0ab1c1845f9e347540c1e51f5",
	Bin: "" /* 966 byte string literal not displayed */,
}

CMetaData contains all meta data concerning the C contract.

Functions

func C2BadThingErrorID

func C2BadThingErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error BadThing(uint256 arg1, uint256 arg2, uint256 arg3, bool arg4)

func CBadThing2ErrorID

func CBadThing2ErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error BadThing2(uint256 arg1, uint256 arg2, uint256 arg3, uint256 arg4)

func CBadThingErrorID

func CBadThingErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error BadThing(uint256 arg1, uint256 arg2, uint256 arg3, bool arg4)

Types

type C

type C struct {
	// contains filtered or unexported fields
}

C is an auto generated Go binding around an Ethereum contract.

func NewC

func NewC() *C

NewC creates a new instance of C.

func (*C) Instance

func (c *C) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract

Instance creates a wrapper for a deployed contract instance at the given address. Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.

func (*C) PackBar

func (c *C) PackBar() []byte

PackBar is the Go binding used to pack the parameters required for calling the contract method with ID 0xb0a378b0.

Solidity: function Bar() pure returns()

func (*C) PackFoo

func (c *C) PackFoo() []byte

PackFoo is the Go binding used to pack the parameters required for calling the contract method with ID 0xbfb4ebcf.

Solidity: function Foo() pure returns()

func (*C) UnpackBadThing2Error

func (c *C) UnpackBadThing2Error(raw []byte) (*CBadThing2, error)

UnpackBadThing2Error is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error BadThing2(uint256 arg1, uint256 arg2, uint256 arg3, uint256 arg4)

func (*C) UnpackBadThingError

func (c *C) UnpackBadThingError(raw []byte) (*CBadThing, error)

UnpackBadThingError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error BadThing(uint256 arg1, uint256 arg2, uint256 arg3, bool arg4)

func (*C) UnpackError

func (c *C) UnpackError(raw []byte) (any, error)

UnpackError attempts to decode the provided error data using user-defined error definitions.

type C2

type C2 struct {
	// contains filtered or unexported fields
}

C2 is an auto generated Go binding around an Ethereum contract.

func NewC2

func NewC2() *C2

NewC2 creates a new instance of C2.

func (*C2) Instance

func (c *C2) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract

Instance creates a wrapper for a deployed contract instance at the given address. Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.

func (*C2) PackFoo

func (c2 *C2) PackFoo() []byte

PackFoo is the Go binding used to pack the parameters required for calling the contract method with ID 0xbfb4ebcf.

Solidity: function Foo() pure returns()

func (*C2) UnpackBadThingError

func (c2 *C2) UnpackBadThingError(raw []byte) (*C2BadThing, error)

UnpackBadThingError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error BadThing(uint256 arg1, uint256 arg2, uint256 arg3, bool arg4)

func (*C2) UnpackError

func (c2 *C2) UnpackError(raw []byte) (any, error)

UnpackError attempts to decode the provided error data using user-defined error definitions.

type C2BadThing

type C2BadThing struct {
	Arg1 *big.Int
	Arg2 *big.Int
	Arg3 *big.Int
	Arg4 bool
}

C2BadThing represents a BadThing error raised by the C2 contract.

type CBadThing

type CBadThing struct {
	Arg1 *big.Int
	Arg2 *big.Int
	Arg3 *big.Int
	Arg4 bool
}

CBadThing represents a BadThing error raised by the C contract.

type CBadThing2

type CBadThing2 struct {
	Arg1 *big.Int
	Arg2 *big.Int
	Arg3 *big.Int
	Arg4 *big.Int
}

CBadThing2 represents a BadThing2 error raised by the C contract.

Source Files

bindings.go

Version
v1.15.11 (latest)
Published
May 5, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
2 days ago

Tools for package owners.