package events

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

Index

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

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) PackEmitMulti

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

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

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

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

func (c *C) UnpackBasic1Event(log *types.Log) (*CBasic1, error)

UnpackBasic1Event is the Go binding that unpacks the event data emitted by contract.

Solidity: event basic1(uint256 indexed id, uint256 data)

func (*C) UnpackBasic2Event

func (c *C) UnpackBasic2Event(log *types.Log) (*CBasic2, error)

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

func (CBasic1) ContractEventName() string

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

func (CBasic2) ContractEventName() string

ContractEventName returns the user-defined event name.

Source Files

bindings.go

Version
v1.16.0 (latest)
Published
Jun 26, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
3 hours ago

Tools for package owners.