log_emitter

package
v2.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 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: "0x608060405234801561001057600080fd5b5061053e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063696933c914610046578063bc253bc01461005b578063d9c21f461461006e575b600080fd5b6100596100543660046102f5565b610081565b005b6100596100693660046102f5565b6100f5565b61005961007c3660046101c7565b610159565b60005b81518110156100f1577f46692c0e59ca9cd1ad8f984a9d11715ec83424398b7eed4e05c8ce84662415a88282815181106100c0576100c06104d3565b60200260200101516040516100d791815260200190565b60405180910390a1806100e981610473565b915050610084565b5050565b60005b81518110156100f157818181518110610113576101136104d3565b60200260200101517f624fb00c2ce79f34cb543884c3af64816dce0f4cec3d32661959e49d488a7a9360405160405180910390a28061015181610473565b9150506100f8565b60005b81518110156100f1577fb94ec34dfe32a8a7170992a093976368d1e63decf8f0bc0b38a8eb89cc9f95cf828281518110610198576101986104d3565b60200260200101516040516101ad919061038d565b60405180910390a1806101bf81610473565b91505061015c565b600060208083850312156101da57600080fd5b823567ffffffffffffffff808211156101f257600080fd5b8185019150601f868184011261020757600080fd5b823561021a6102158261044f565b610400565b8082825286820191508686018a888560051b890101111561023a57600080fd5b60005b848110156102e55781358781111561025457600080fd5b8801603f81018d1361026557600080fd5b8981013560408982111561027b5761027b610502565b6102aa8c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08b85011601610400565b8281528f828486010111156102be57600080fd5b828285018e83013760009281018d019290925250855250928801929088019060010161023d565b50909a9950505050505050505050565b6000602080838503121561030857600080fd5b823567ffffffffffffffff81111561031f57600080fd5b8301601f8101851361033057600080fd5b803561033e6102158261044f565b80828252848201915084840188868560051b870101111561035e57600080fd5b600094505b83851015610381578035835260019490940193918501918501610363565b50979650505050505050565b600060208083528351808285015260005b818110156103ba5785810183015185820160400152820161039e565b818111156103cc576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561044757610447610502565b604052919050565b600067ffffffffffffffff82111561046957610469610502565b5060051b60200190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156104cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea164736f6c6343000806000a",
}

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