package solc_errors
import "github.com/ethereum/go-ethereum/accounts/abi/bind/v2/internal/contracts/solc_errors"
Index ¶
- Variables
- func C2BadThingErrorID() common.Hash
- func CBadThing2ErrorID() common.Hash
- func CBadThingErrorID() common.Hash
- type C
- func NewC() *C
- func (c *C) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract
- func (c *C) PackBar() []byte
- func (c *C) PackFoo() []byte
- func (c *C) UnpackBadThing2Error(raw []byte) (*CBadThing2, error)
- func (c *C) UnpackBadThingError(raw []byte) (*CBadThing, error)
- func (c *C) UnpackError(raw []byte) (any, error)
- type C2
- func NewC2() *C2
- func (c *C2) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract
- func (c2 *C2) PackFoo() []byte
- func (c2 *C2) UnpackBadThingError(raw []byte) (*C2BadThing, error)
- func (c2 *C2) UnpackError(raw []byte) (any, error)
- type C2BadThing
- type CBadThing
- type CBadThing2
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
UnpackError attempts to decode the provided error data using user-defined error definitions.
type C2BadThing ¶
C2BadThing represents a BadThing error raised by the C2 contract.
type CBadThing ¶
CBadThing represents a BadThing error raised by the C contract.
type CBadThing2 ¶
CBadThing2 represents a BadThing2 error raised by the C contract.
Source Files ¶
- Version
- v1.15.11 (latest)
- Published
- May 5, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 2 days ago –
Tools for package owners.