eth

package
v1.3.17 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const LoggerABI = "" /* 311-byte string literal not displayed */

LoggerABI is the input ABI used to generate the binding from.

View Source
const LoggerBin = `` /* 518-byte string literal not displayed */

LoggerBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	LoggerCaller     // Read-only binding to the contract
	LoggerTransactor // Write-only binding to the contract
	LoggerFilterer   // Log filterer for contract events
}

Logger is an auto generated Go binding around an Ethereum contract.

func DeployLogger

func DeployLogger(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Logger, error)

DeployLogger deploys a new Ethereum contract, binding an instance of Logger to it.

func NewLogger

func NewLogger(address common.Address, backend bind.ContractBackend) (*Logger, error)

NewLogger creates a new instance of Logger, bound to a specific deployed contract.

type LoggerCaller

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

LoggerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewLoggerCaller

func NewLoggerCaller(address common.Address, caller bind.ContractCaller) (*LoggerCaller, error)

NewLoggerCaller creates a new read-only instance of Logger, bound to a specific deployed contract.

type LoggerCallerRaw

type LoggerCallerRaw struct {
	Contract *LoggerCaller // Generic read-only contract binding to access the raw methods on
}

LoggerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*LoggerCallerRaw) Call

func (_Logger *LoggerCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type LoggerCallerSession

type LoggerCallerSession struct {
	Contract *LoggerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

LoggerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type LoggerFilterer

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

LoggerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewLoggerFilterer

func NewLoggerFilterer(address common.Address, filterer bind.ContractFilterer) (*LoggerFilterer, error)

NewLoggerFilterer creates a new log filterer instance of Logger, bound to a specific deployed contract.

func (*LoggerFilterer) FilterLog

func (_Logger *LoggerFilterer) FilterLog(opts *bind.FilterOpts) (*LoggerLogIterator, error)

FilterLog is a free log retrieval operation binding the contract event 0x4fd8c3bf994a3b65ef11bec422b453863f03a554e68ffa25d4fdf9eb5c2e5345.

Solidity: event Log(int32 count)

func (*LoggerFilterer) WatchLog

func (_Logger *LoggerFilterer) WatchLog(opts *bind.WatchOpts, sink chan<- *LoggerLog) (event.Subscription, error)

WatchLog is a free log subscription operation binding the contract event 0x4fd8c3bf994a3b65ef11bec422b453863f03a554e68ffa25d4fdf9eb5c2e5345.

Solidity: event Log(int32 count)

type LoggerLog

type LoggerLog struct {
	Count int32
	Raw   types.Log // Blockchain specific contextual infos
}

LoggerLog represents a Log event raised by the Logger contract.

type LoggerLogIterator

type LoggerLogIterator struct {
	Event *LoggerLog // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LoggerLogIterator is returned from FilterLog and is used to iterate over the raw logs and unpacked data for Log events raised by the Logger contract.

func (*LoggerLogIterator) Close

func (it *LoggerLogIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*LoggerLogIterator) Error

func (it *LoggerLogIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LoggerLogIterator) Next

func (it *LoggerLogIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LoggerRaw

type LoggerRaw struct {
	Contract *Logger // Generic contract binding to access the raw methods on
}

LoggerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*LoggerRaw) Call

func (_Logger *LoggerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*LoggerRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*LoggerRaw) Transfer

func (_Logger *LoggerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type LoggerSession

type LoggerSession struct {
	Contract     *Logger           // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

LoggerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*LoggerSession) Log

func (_Logger *LoggerSession) Log(count int32) (*types.Transaction, error)

Log is a paid mutator transaction binding the contract method 0x9e9c3aa7.

Solidity: function log(int32 count) returns()

type LoggerTransactor

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

LoggerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewLoggerTransactor

func NewLoggerTransactor(address common.Address, transactor bind.ContractTransactor) (*LoggerTransactor, error)

NewLoggerTransactor creates a new write-only instance of Logger, bound to a specific deployed contract.

func (*LoggerTransactor) Log

func (_Logger *LoggerTransactor) Log(opts *bind.TransactOpts, count int32) (*types.Transaction, error)

Log is a paid mutator transaction binding the contract method 0x9e9c3aa7.

Solidity: function log(int32 count) returns()

type LoggerTransactorRaw

type LoggerTransactorRaw struct {
	Contract *LoggerTransactor // Generic write-only contract binding to access the raw methods on
}

LoggerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*LoggerTransactorRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*LoggerTransactorRaw) Transfer

func (_Logger *LoggerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type LoggerTransactorSession

type LoggerTransactorSession struct {
	Contract     *LoggerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

LoggerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*LoggerTransactorSession) Log

func (_Logger *LoggerTransactorSession) Log(count int32) (*types.Transaction, error)

Log is a paid mutator transaction binding the contract method 0x9e9c3aa7.

Solidity: function log(int32 count) returns()

Jump to

Keyboard shortcuts

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