log_emitter

package
v2.5.1-celo-20230921 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogEmitterABI = LogEmitterMetaData.ABI
View Source
var LogEmitterBin = LogEmitterMetaData.Bin
View Source
var LogEmitterMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"Log1\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"Log2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"Log3\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"v\",\"type\":\"uint256[]\"}],\"name\":\"EmitLog1\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"v\",\"type\":\"uint256[]\"}],\"name\":\"EmitLog2\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"v\",\"type\":\"string[]\"}],\"name\":\"EmitLog3\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061052b806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063696933c914610046578063bc253bc01461005b578063d9c21f461461006e575b600080fd5b610059610054366004610269565b610081565b005b610059610069366004610269565b6100f5565b61005961007c3660046102ff565b610159565b60005b81518110156100f1577f46692c0e59ca9cd1ad8f984a9d11715ec83424398b7eed4e05c8ce84662415a88282815181106100c0576100c0610424565b60200260200101516040516100d791815260200190565b60405180910390a1806100e981610453565b915050610084565b5050565b60005b81518110156100f15781818151811061011357610113610424565b60200260200101517f624fb00c2ce79f34cb543884c3af64816dce0f4cec3d32661959e49d488a7a9360405160405180910390a28061015181610453565b9150506100f8565b60005b81518110156100f1577fb94ec34dfe32a8a7170992a093976368d1e63decf8f0bc0b38a8eb89cc9f95cf82828151811061019857610198610424565b60200260200101516040516101ad91906104b2565b60405180910390a1806101bf81610453565b91505061015c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561023d5761023d6101c7565b604052919050565b600067ffffffffffffffff82111561025f5761025f6101c7565b5060051b60200190565b6000602080838503121561027c57600080fd5b823567ffffffffffffffff81111561029357600080fd5b8301601f810185136102a457600080fd5b80356102b76102b282610245565b6101f6565b81815260059190911b820183019083810190878311156102d657600080fd5b928401925b828410156102f4578335825292840192908401906102db565b979650505050505050565b6000602080838503121561031257600080fd5b823567ffffffffffffffff8082111561032a57600080fd5b8185019150601f868184011261033f57600080fd5b823561034d6102b282610245565b81815260059190911b8401850190858101908983111561036c57600080fd5b8686015b83811015610416578035868111156103885760008081fd5b8701603f81018c1361039a5760008081fd5b888101356040888211156103b0576103b06101c7565b6103df8b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08a850116016101f6565b8281528e828486010111156103f45760008081fd5b828285018d83013760009281018c019290925250845250918701918701610370565b509998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036104ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b600060208083528351808285015260005b818110156104df578581018301518582016040015282016104c3565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea164736f6c6343000813000a",
}

Functions

This section is empty.

Types

type LogEmitter

type LogEmitter struct {
	LogEmitterCaller
	LogEmitterTransactor
	LogEmitterFilterer
	// contains filtered or unexported fields
}

func NewLogEmitter

func NewLogEmitter(address common.Address, backend bind.ContractBackend) (*LogEmitter, error)

func (*LogEmitter) Address

func (_LogEmitter *LogEmitter) Address() common.Address

func (*LogEmitter) ParseLog

func (_LogEmitter *LogEmitter) ParseLog(log types.Log) (generated.AbigenLog, error)

type LogEmitterCaller

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

func NewLogEmitterCaller

func NewLogEmitterCaller(address common.Address, caller bind.ContractCaller) (*LogEmitterCaller, error)

type LogEmitterCallerRaw

type LogEmitterCallerRaw struct {
	Contract *LogEmitterCaller
}

func (*LogEmitterCallerRaw) Call

func (_LogEmitter *LogEmitterCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

type LogEmitterCallerSession

type LogEmitterCallerSession struct {
	Contract *LogEmitterCaller
	CallOpts bind.CallOpts
}

type LogEmitterFilterer

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

func NewLogEmitterFilterer

func NewLogEmitterFilterer(address common.Address, filterer bind.ContractFilterer) (*LogEmitterFilterer, error)

func (*LogEmitterFilterer) FilterLog1

func (_LogEmitter *LogEmitterFilterer) FilterLog1(opts *bind.FilterOpts) (*LogEmitterLog1Iterator, error)

func (*LogEmitterFilterer) FilterLog2

func (_LogEmitter *LogEmitterFilterer) FilterLog2(opts *bind.FilterOpts, arg0 []*big.Int) (*LogEmitterLog2Iterator, error)

func (*LogEmitterFilterer) FilterLog3

func (_LogEmitter *LogEmitterFilterer) FilterLog3(opts *bind.FilterOpts) (*LogEmitterLog3Iterator, error)

func (*LogEmitterFilterer) ParseLog1

func (_LogEmitter *LogEmitterFilterer) ParseLog1(log types.Log) (*LogEmitterLog1, error)

func (*LogEmitterFilterer) ParseLog2

func (_LogEmitter *LogEmitterFilterer) ParseLog2(log types.Log) (*LogEmitterLog2, error)

func (*LogEmitterFilterer) ParseLog3

func (_LogEmitter *LogEmitterFilterer) ParseLog3(log types.Log) (*LogEmitterLog3, error)

func (*LogEmitterFilterer) WatchLog1

func (_LogEmitter *LogEmitterFilterer) WatchLog1(opts *bind.WatchOpts, sink chan<- *LogEmitterLog1) (event.Subscription, error)

func (*LogEmitterFilterer) WatchLog2

func (_LogEmitter *LogEmitterFilterer) WatchLog2(opts *bind.WatchOpts, sink chan<- *LogEmitterLog2, arg0 []*big.Int) (event.Subscription, error)

func (*LogEmitterFilterer) WatchLog3

func (_LogEmitter *LogEmitterFilterer) WatchLog3(opts *bind.WatchOpts, sink chan<- *LogEmitterLog3) (event.Subscription, error)

type LogEmitterInterface

type LogEmitterInterface interface {
	EmitLog1(opts *bind.TransactOpts, v []*big.Int) (*types.Transaction, error)

	EmitLog2(opts *bind.TransactOpts, v []*big.Int) (*types.Transaction, error)

	EmitLog3(opts *bind.TransactOpts, v []string) (*types.Transaction, error)

	FilterLog1(opts *bind.FilterOpts) (*LogEmitterLog1Iterator, error)

	WatchLog1(opts *bind.WatchOpts, sink chan<- *LogEmitterLog1) (event.Subscription, error)

	ParseLog1(log types.Log) (*LogEmitterLog1, error)

	FilterLog2(opts *bind.FilterOpts, arg0 []*big.Int) (*LogEmitterLog2Iterator, error)

	WatchLog2(opts *bind.WatchOpts, sink chan<- *LogEmitterLog2, arg0 []*big.Int) (event.Subscription, error)

	ParseLog2(log types.Log) (*LogEmitterLog2, error)

	FilterLog3(opts *bind.FilterOpts) (*LogEmitterLog3Iterator, error)

	WatchLog3(opts *bind.WatchOpts, sink chan<- *LogEmitterLog3) (event.Subscription, error)

	ParseLog3(log types.Log) (*LogEmitterLog3, error)

	ParseLog(log types.Log) (generated.AbigenLog, error)

	Address() common.Address
}

type LogEmitterLog1

type LogEmitterLog1 struct {
	Arg0 *big.Int
	Raw  types.Log
}

func (LogEmitterLog1) Topic

func (LogEmitterLog1) Topic() common.Hash

type LogEmitterLog1Iterator

type LogEmitterLog1Iterator struct {
	Event *LogEmitterLog1
	// contains filtered or unexported fields
}

func (*LogEmitterLog1Iterator) Close

func (it *LogEmitterLog1Iterator) Close() error

func (*LogEmitterLog1Iterator) Error

func (it *LogEmitterLog1Iterator) Error() error

func (*LogEmitterLog1Iterator) Next

func (it *LogEmitterLog1Iterator) Next() bool

type LogEmitterLog2

type LogEmitterLog2 struct {
	Arg0 *big.Int
	Raw  types.Log
}

func (LogEmitterLog2) Topic

func (LogEmitterLog2) Topic() common.Hash

type LogEmitterLog2Iterator

type LogEmitterLog2Iterator struct {
	Event *LogEmitterLog2
	// contains filtered or unexported fields
}

func (*LogEmitterLog2Iterator) Close

func (it *LogEmitterLog2Iterator) Close() error

func (*LogEmitterLog2Iterator) Error

func (it *LogEmitterLog2Iterator) Error() error

func (*LogEmitterLog2Iterator) Next

func (it *LogEmitterLog2Iterator) Next() bool

type LogEmitterLog3

type LogEmitterLog3 struct {
	Arg0 string
	Raw  types.Log
}

func (LogEmitterLog3) Topic

func (LogEmitterLog3) Topic() common.Hash

type LogEmitterLog3Iterator

type LogEmitterLog3Iterator struct {
	Event *LogEmitterLog3
	// contains filtered or unexported fields
}

func (*LogEmitterLog3Iterator) Close

func (it *LogEmitterLog3Iterator) Close() error

func (*LogEmitterLog3Iterator) Error

func (it *LogEmitterLog3Iterator) Error() error

func (*LogEmitterLog3Iterator) Next

func (it *LogEmitterLog3Iterator) Next() bool

type LogEmitterRaw

type LogEmitterRaw struct {
	Contract *LogEmitter
}

func (*LogEmitterRaw) Call

func (_LogEmitter *LogEmitterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

func (*LogEmitterRaw) Transact

func (_LogEmitter *LogEmitterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*LogEmitterRaw) Transfer

func (_LogEmitter *LogEmitterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type LogEmitterSession

type LogEmitterSession struct {
	Contract     *LogEmitter
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*LogEmitterSession) EmitLog1

func (_LogEmitter *LogEmitterSession) EmitLog1(v []*big.Int) (*types.Transaction, error)

func (*LogEmitterSession) EmitLog2

func (_LogEmitter *LogEmitterSession) EmitLog2(v []*big.Int) (*types.Transaction, error)

func (*LogEmitterSession) EmitLog3

func (_LogEmitter *LogEmitterSession) EmitLog3(v []string) (*types.Transaction, error)

type LogEmitterTransactor

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

func NewLogEmitterTransactor

func NewLogEmitterTransactor(address common.Address, transactor bind.ContractTransactor) (*LogEmitterTransactor, error)

func (*LogEmitterTransactor) EmitLog1

func (_LogEmitter *LogEmitterTransactor) EmitLog1(opts *bind.TransactOpts, v []*big.Int) (*types.Transaction, error)

func (*LogEmitterTransactor) EmitLog2

func (_LogEmitter *LogEmitterTransactor) EmitLog2(opts *bind.TransactOpts, v []*big.Int) (*types.Transaction, error)

func (*LogEmitterTransactor) EmitLog3

func (_LogEmitter *LogEmitterTransactor) EmitLog3(opts *bind.TransactOpts, v []string) (*types.Transaction, error)

type LogEmitterTransactorRaw

type LogEmitterTransactorRaw struct {
	Contract *LogEmitterTransactor
}

func (*LogEmitterTransactorRaw) Transact

func (_LogEmitter *LogEmitterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*LogEmitterTransactorRaw) Transfer

func (_LogEmitter *LogEmitterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type LogEmitterTransactorSession

type LogEmitterTransactorSession struct {
	Contract     *LogEmitterTransactor
	TransactOpts bind.TransactOpts
}

func (*LogEmitterTransactorSession) EmitLog1

func (_LogEmitter *LogEmitterTransactorSession) EmitLog1(v []*big.Int) (*types.Transaction, error)

func (*LogEmitterTransactorSession) EmitLog2

func (_LogEmitter *LogEmitterTransactorSession) EmitLog2(v []*big.Int) (*types.Transaction, error)

func (*LogEmitterTransactorSession) EmitLog3

func (_LogEmitter *LogEmitterTransactorSession) EmitLog3(v []string) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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