package events
import "github.com/ethereum/go-ethereum/accounts/abi/bind/v2/internal/contracts/events"
Index ¶
- Constants
- Variables
- type C
- func NewC() *C
- func (c *C) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract
- func (c *C) PackEmitMulti() []byte
- func (c *C) PackEmitOne() []byte
- func (c *C) UnpackBasic1Event(log *types.Log) (*CBasic1, error)
- func (c *C) UnpackBasic2Event(log *types.Log) (*CBasic2, error)
- type CBasic1
- type CBasic2
Constants ¶
const CBasic1EventName = "basic1"
const CBasic2EventName = "basic2"
Variables ¶
var CMetaData = bind.MetaData{ ABI: "" /* 789 byte string literal not displayed */, ID: "55ef3c19a0ab1c1845f9e347540c1e51f5", Bin: "" /* 892 byte string literal not displayed */, }
CMetaData contains all meta data concerning the C contract.
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) PackEmitMulti ¶
PackEmitMulti is the Go binding used to pack the parameters required for calling the contract method with ID 0xcb493749.
Solidity: function EmitMulti() returns()
func (*C) PackEmitOne ¶
PackEmitOne is the Go binding used to pack the parameters required for calling the contract method with ID 0xe8e49a71.
Solidity: function EmitOne() returns()
func (*C) UnpackBasic1Event ¶
UnpackBasic1Event is the Go binding that unpacks the event data emitted by contract.
Solidity: event basic1(uint256 indexed id, uint256 data)
func (*C) UnpackBasic2Event ¶
UnpackBasic2Event is the Go binding that unpacks the event data emitted by contract.
Solidity: event basic2(bool indexed flag, uint256 data)
type CBasic1 ¶
type CBasic1 struct { Id *big.Int Data *big.Int Raw *types.Log // Blockchain specific contextual infos }
CBasic1 represents a basic1 event raised by the C contract.
func (CBasic1) ContractEventName ¶
ContractEventName returns the user-defined event name.
type CBasic2 ¶
type CBasic2 struct { Flag bool Data *big.Int Raw *types.Log // Blockchain specific contextual infos }
CBasic2 represents a basic2 event raised by the C contract.
func (CBasic2) ContractEventName ¶
ContractEventName returns the user-defined event name.
Source Files ¶
- Version
- v1.16.0 (latest)
- Published
- Jun 26, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 3 hours ago –
Tools for package owners.