emit

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmitABI = EmitMetaData.ABI

EmitABI is the input ABI used to generate the binding from. Deprecated: Use EmitMetaData.ABI instead.

View Source
var EmitBin = EmitMetaData.Bin

EmitBin is the compiled bytecode used for deploying new contracts. Deprecated: Use EmitMetaData.Bin instead.

View Source
var EmitMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"emitData\",\"inputs\":[{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"DataEmitted\",\"inputs\":[{\"name\":\"_data\",\"type\":\"bytes\",\"indexed\":true,\"internalType\":\"bytes\"}],\"anonymous\":false}]",
	Bin: "0x6080604052348015600e575f80fd5b5060ff8061001b5f395ff3fe6080604052348015600e575f80fd5b50600436106026575f3560e01c8063d836083e14602a575b5f80fd5b60396035366004607c565b603b565b005b8181604051604992919060e3565b604051908190038120907fe00bbfe6f6f8f1bbed2da38e3f5a139c6f9da594ab248a3cf8b44fc73627772c905f90a25050565b5f8060208385031215608c575f80fd5b823567ffffffffffffffff8082111560a2575f80fd5b818501915085601f83011260b4575f80fd5b81358181111560c1575f80fd5b86602082850101111560d1575f80fd5b60209290920196919550909350505050565b818382375f910190815291905056fea164736f6c6343000819000a",
}

EmitMetaData contains all meta data concerning the Emit contract.

Functions

This section is empty.

Types

type Emit

type Emit struct {
	EmitCaller     // Read-only binding to the contract
	EmitTransactor // Write-only binding to the contract
	EmitFilterer   // Log filterer for contract events
}

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

func DeployEmit

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

DeployEmit deploys a new Ethereum contract, binding an instance of Emit to it.

func NewEmit

func NewEmit(address common.Address, backend bind.ContractBackend) (*Emit, error)

NewEmit creates a new instance of Emit, bound to a specific deployed contract.

type EmitCaller

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

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

func NewEmitCaller

func NewEmitCaller(address common.Address, caller bind.ContractCaller) (*EmitCaller, error)

NewEmitCaller creates a new read-only instance of Emit, bound to a specific deployed contract.

type EmitCallerRaw

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

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

func (*EmitCallerRaw) Call

func (_Emit *EmitCallerRaw) 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 EmitCallerSession

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

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

type EmitDataEmitted

type EmitDataEmitted struct {
	Data common.Hash
	Raw  types.Log // Blockchain specific contextual infos
}

EmitDataEmitted represents a DataEmitted event raised by the Emit contract.

type EmitDataEmittedIterator

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

EmitDataEmittedIterator is returned from FilterDataEmitted and is used to iterate over the raw logs and unpacked data for DataEmitted events raised by the Emit contract.

func (*EmitDataEmittedIterator) Close

func (it *EmitDataEmittedIterator) Close() error

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

func (*EmitDataEmittedIterator) Error

func (it *EmitDataEmittedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EmitDataEmittedIterator) Next

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

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

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

func NewEmitFilterer

func NewEmitFilterer(address common.Address, filterer bind.ContractFilterer) (*EmitFilterer, error)

NewEmitFilterer creates a new log filterer instance of Emit, bound to a specific deployed contract.

func (*EmitFilterer) FilterDataEmitted

func (_Emit *EmitFilterer) FilterDataEmitted(opts *bind.FilterOpts, _data [][]byte) (*EmitDataEmittedIterator, error)

FilterDataEmitted is a free log retrieval operation binding the contract event 0xe00bbfe6f6f8f1bbed2da38e3f5a139c6f9da594ab248a3cf8b44fc73627772c.

Solidity: event DataEmitted(bytes indexed _data)

func (*EmitFilterer) ParseDataEmitted

func (_Emit *EmitFilterer) ParseDataEmitted(log types.Log) (*EmitDataEmitted, error)

ParseDataEmitted is a log parse operation binding the contract event 0xe00bbfe6f6f8f1bbed2da38e3f5a139c6f9da594ab248a3cf8b44fc73627772c.

Solidity: event DataEmitted(bytes indexed _data)

func (*EmitFilterer) WatchDataEmitted

func (_Emit *EmitFilterer) WatchDataEmitted(opts *bind.WatchOpts, sink chan<- *EmitDataEmitted, _data [][]byte) (event.Subscription, error)

WatchDataEmitted is a free log subscription operation binding the contract event 0xe00bbfe6f6f8f1bbed2da38e3f5a139c6f9da594ab248a3cf8b44fc73627772c.

Solidity: event DataEmitted(bytes indexed _data)

type EmitRaw

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

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

func (*EmitRaw) Call

func (_Emit *EmitRaw) 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 (*EmitRaw) Transact

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

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

func (*EmitRaw) Transfer

func (_Emit *EmitRaw) 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 EmitSession

type EmitSession struct {
	Contract     *Emit             // 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
}

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

func (*EmitSession) EmitData

func (_Emit *EmitSession) EmitData(_data []byte) (*types.Transaction, error)

EmitData is a paid mutator transaction binding the contract method 0xd836083e.

Solidity: function emitData(bytes _data) returns()

type EmitTransactor

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

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

func NewEmitTransactor

func NewEmitTransactor(address common.Address, transactor bind.ContractTransactor) (*EmitTransactor, error)

NewEmitTransactor creates a new write-only instance of Emit, bound to a specific deployed contract.

func (*EmitTransactor) EmitData

func (_Emit *EmitTransactor) EmitData(opts *bind.TransactOpts, _data []byte) (*types.Transaction, error)

EmitData is a paid mutator transaction binding the contract method 0xd836083e.

Solidity: function emitData(bytes _data) returns()

type EmitTransactorRaw

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

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

func (*EmitTransactorRaw) Transact

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

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

func (*EmitTransactorRaw) Transfer

func (_Emit *EmitTransactorRaw) 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 EmitTransactorSession

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

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

func (*EmitTransactorSession) EmitData

func (_Emit *EmitTransactorSession) EmitData(_data []byte) (*types.Transaction, error)

EmitData is a paid mutator transaction binding the contract method 0xd836083e.

Solidity: function emitData(bytes _data) returns()

Jump to

Keyboard shortcuts

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