Documentation
¶
Index ¶
- Constants
- type PingPong
- type PingPongCaller
- type PingPongCallerRaw
- type PingPongCallerSession
- type PingPongFilterer
- type PingPongPong
- type PingPongPongIterator
- type PingPongRaw
- func (_PingPong *PingPongRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_PingPong *PingPongRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PingPong *PingPongRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PingPongSession
- type PingPongTransactor
- type PingPongTransactorRaw
- type PingPongTransactorSession
Constants ¶
const PingPongABI = "" /* 541-byte string literal not displayed */
PingPongABI is the input ABI used to generate the binding from.
const PingPongBin = `` /* 946-byte string literal not displayed */
PingPongBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PingPong ¶
type PingPong struct { PingPongCaller // Read-only binding to the contract PingPongTransactor // Write-only binding to the contract PingPongFilterer // Log filterer for contract events }
PingPong is an auto generated Go binding around an Ethereum contract.
func DeployPingPong ¶
func DeployPingPong(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *PingPong, error)
DeployPingPong deploys a new Ethereum contract, binding an instance of PingPong to it.
func NewPingPong ¶
NewPingPong creates a new instance of PingPong, bound to a specific deployed contract.
type PingPongCaller ¶
type PingPongCaller struct {
// contains filtered or unexported fields
}
PingPongCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPingPongCaller ¶
func NewPingPongCaller(address common.Address, caller bind.ContractCaller) (*PingPongCaller, error)
NewPingPongCaller creates a new read-only instance of PingPong, bound to a specific deployed contract.
type PingPongCallerRaw ¶
type PingPongCallerRaw struct {
Contract *PingPongCaller // Generic read-only contract binding to access the raw methods on
}
PingPongCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PingPongCallerRaw) Call ¶
func (_PingPong *PingPongCallerRaw) 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 PingPongCallerSession ¶
type PingPongCallerSession struct { Contract *PingPongCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PingPongCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type PingPongFilterer ¶
type PingPongFilterer struct {
// contains filtered or unexported fields
}
PingPongFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPingPongFilterer ¶
func NewPingPongFilterer(address common.Address, filterer bind.ContractFilterer) (*PingPongFilterer, error)
NewPingPongFilterer creates a new log filterer instance of PingPong, bound to a specific deployed contract.
func (*PingPongFilterer) FilterPong ¶
func (_PingPong *PingPongFilterer) FilterPong(opts *bind.FilterOpts) (*PingPongPongIterator, error)
FilterPong is a free log retrieval operation binding the contract event 0x07bbfefdb98ceca20faf6a118ca5a8f2f706f1a6d9243f7416be416ed746c3b0.
Solidity: event Pong(sender address, funcHash bytes4, callData bytes, blockhash bytes32)
func (*PingPongFilterer) WatchPong ¶
func (_PingPong *PingPongFilterer) WatchPong(opts *bind.WatchOpts, sink chan<- *PingPongPong) (event.Subscription, error)
WatchPong is a free log subscription operation binding the contract event 0x07bbfefdb98ceca20faf6a118ca5a8f2f706f1a6d9243f7416be416ed746c3b0.
Solidity: event Pong(sender address, funcHash bytes4, callData bytes, blockhash bytes32)
type PingPongPong ¶
type PingPongPong struct { Sender common.Address FuncHash [4]byte CallData []byte Blockhash [32]byte Raw types.Log // Blockchain specific contextual infos }
PingPongPong represents a Pong event raised by the PingPong contract.
type PingPongPongIterator ¶
type PingPongPongIterator struct { Event *PingPongPong // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PingPongPongIterator is returned from FilterPong and is used to iterate over the raw logs and unpacked data for Pong events raised by the PingPong contract.
func (*PingPongPongIterator) Close ¶
func (it *PingPongPongIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PingPongPongIterator) Error ¶
func (it *PingPongPongIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PingPongPongIterator) Next ¶
func (it *PingPongPongIterator) 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 PingPongRaw ¶
type PingPongRaw struct {
Contract *PingPong // Generic contract binding to access the raw methods on
}
PingPongRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PingPongRaw) Call ¶
func (_PingPong *PingPongRaw) 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 (*PingPongRaw) Transact ¶
func (_PingPong *PingPongRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PingPongRaw) Transfer ¶
func (_PingPong *PingPongRaw) 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 PingPongSession ¶
type PingPongSession struct { Contract *PingPong // 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 }
PingPongSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PingPongSession) Ping ¶
func (_PingPong *PingPongSession) Ping() (*types.Transaction, error)
Ping is a paid mutator transaction binding the contract method 0xca6e822d.
Solidity: function Ping() returns()
type PingPongTransactor ¶
type PingPongTransactor struct {
// contains filtered or unexported fields
}
PingPongTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPingPongTransactor ¶
func NewPingPongTransactor(address common.Address, transactor bind.ContractTransactor) (*PingPongTransactor, error)
NewPingPongTransactor creates a new write-only instance of PingPong, bound to a specific deployed contract.
func (*PingPongTransactor) Ping ¶
func (_PingPong *PingPongTransactor) Ping(opts *bind.TransactOpts) (*types.Transaction, error)
Ping is a paid mutator transaction binding the contract method 0xca6e822d.
Solidity: function Ping() returns()
type PingPongTransactorRaw ¶
type PingPongTransactorRaw struct {
Contract *PingPongTransactor // Generic write-only contract binding to access the raw methods on
}
PingPongTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PingPongTransactorRaw) Transact ¶
func (_PingPong *PingPongTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PingPongTransactorRaw) Transfer ¶
func (_PingPong *PingPongTransactorRaw) 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 PingPongTransactorSession ¶
type PingPongTransactorSession struct { Contract *PingPongTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PingPongTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PingPongTransactorSession) Ping ¶
func (_PingPong *PingPongTransactorSession) Ping() (*types.Transaction, error)
Ping is a paid mutator transaction binding the contract method 0xca6e822d.
Solidity: function Ping() returns()