log_emitter

package
v2.12.1-mercury06192024 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"Log4\",\"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\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"v\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"w\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"c\",\"type\":\"uint256\"}],\"name\":\"EmitLog4\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b506105c5806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063696933c914610051578063b4b12d9814610066578063bc253bc014610079578063d9c21f461461008c575b600080fd5b61006461005f3660046102d7565b61009f565b005b61006461007436600461036d565b610113565b6100646100873660046102d7565b610163565b61006461009a366004610399565b6101c7565b60005b815181101561010f577f46692c0e59ca9cd1ad8f984a9d11715ec83424398b7eed4e05c8ce84662415a88282815181106100de576100de6104be565b60200260200101516040516100f591815260200190565b60405180910390a180610107816104ed565b9150506100a2565b5050565b60005b8181101561015d57604051839085907fba21d5b63d64546cb4ab29e370a8972bf26f78cb0c395391b4f451699fdfdc5d90600090a380610155816104ed565b915050610116565b50505050565b60005b815181101561010f57818181518110610181576101816104be565b60200260200101517f624fb00c2ce79f34cb543884c3af64816dce0f4cec3d32661959e49d488a7a9360405160405180910390a2806101bf816104ed565b915050610166565b60005b815181101561010f577fb94ec34dfe32a8a7170992a093976368d1e63decf8f0bc0b38a8eb89cc9f95cf828281518110610206576102066104be565b602002602001015160405161021b919061054c565b60405180910390a18061022d816104ed565b9150506101ca565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156102ab576102ab610235565b604052919050565b600067ffffffffffffffff8211156102cd576102cd610235565b5060051b60200190565b600060208083850312156102ea57600080fd5b823567ffffffffffffffff81111561030157600080fd5b8301601f8101851361031257600080fd5b8035610325610320826102b3565b610264565b81815260059190911b8201830190838101908783111561034457600080fd5b928401925b8284101561036257833582529284019290840190610349565b979650505050505050565b60008060006060848603121561038257600080fd5b505081359360208301359350604090920135919050565b600060208083850312156103ac57600080fd5b823567ffffffffffffffff808211156103c457600080fd5b8185019150601f86818401126103d957600080fd5b82356103e7610320826102b3565b81815260059190911b8401850190858101908983111561040657600080fd5b8686015b838110156104b0578035868111156104225760008081fd5b8701603f81018c136104345760008081fd5b8881013560408882111561044a5761044a610235565b6104798b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08a85011601610264565b8281528e8284860101111561048e5760008081fd5b828285018d83013760009281018c01929092525084525091870191870161040a565b509998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610545577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b600060208083528351808285015260005b818110156105795785810183015185820160400152820161055d565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea164736f6c6343000813000a",
}

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) FilterLog4 added in v2.9.0

func (_LogEmitter *LogEmitterFilterer) FilterLog4(opts *bind.FilterOpts, arg0 []*big.Int, arg1 []*big.Int) (*LogEmitterLog4Iterator, 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) ParseLog4 added in v2.9.0

func (_LogEmitter *LogEmitterFilterer) ParseLog4(log types.Log) (*LogEmitterLog4, 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)

func (*LogEmitterFilterer) WatchLog4 added in v2.9.0

func (_LogEmitter *LogEmitterFilterer) WatchLog4(opts *bind.WatchOpts, sink chan<- *LogEmitterLog4, arg0 []*big.Int, arg1 []*big.Int) (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)

	EmitLog4(opts *bind.TransactOpts, v *big.Int, w *big.Int, c *big.Int) (*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)

	FilterLog4(opts *bind.FilterOpts, arg0 []*big.Int, arg1 []*big.Int) (*LogEmitterLog4Iterator, error)

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

	ParseLog4(log types.Log) (*LogEmitterLog4, 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 LogEmitterLog4 added in v2.9.0

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

func (LogEmitterLog4) Topic added in v2.9.0

func (LogEmitterLog4) Topic() common.Hash

type LogEmitterLog4Iterator added in v2.9.0

type LogEmitterLog4Iterator struct {
	Event *LogEmitterLog4
	// contains filtered or unexported fields
}

func (*LogEmitterLog4Iterator) Close added in v2.9.0

func (it *LogEmitterLog4Iterator) Close() error

func (*LogEmitterLog4Iterator) Error added in v2.9.0

func (it *LogEmitterLog4Iterator) Error() error

func (*LogEmitterLog4Iterator) Next added in v2.9.0

func (it *LogEmitterLog4Iterator) 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)

func (*LogEmitterSession) EmitLog4 added in v2.9.0

func (_LogEmitter *LogEmitterSession) EmitLog4(v *big.Int, w *big.Int, c *big.Int) (*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)

func (*LogEmitterTransactor) EmitLog4 added in v2.9.0

func (_LogEmitter *LogEmitterTransactor) EmitLog4(opts *bind.TransactOpts, v *big.Int, w *big.Int, c *big.Int) (*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)

func (*LogEmitterTransactorSession) EmitLog4 added in v2.9.0

func (_LogEmitter *LogEmitterTransactorSession) EmitLog4(v *big.Int, w *big.Int, c *big.Int) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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