Documentation ¶
Index ¶
- Variables
- type IInputBox
- type IInputBoxCaller
- type IInputBoxCallerRaw
- type IInputBoxCallerSession
- type IInputBoxFilterer
- func (_IInputBox *IInputBoxFilterer) FilterInputAdded(opts *bind.FilterOpts, dapp []common.Address, inputIndex []*big.Int) (*IInputBoxInputAddedIterator, error)
- func (_IInputBox *IInputBoxFilterer) ParseInputAdded(log types.Log) (*IInputBoxInputAdded, error)
- func (_IInputBox *IInputBoxFilterer) WatchInputAdded(opts *bind.WatchOpts, sink chan<- *IInputBoxInputAdded, dapp []common.Address, ...) (event.Subscription, error)
- type IInputBoxInputAdded
- type IInputBoxInputAddedIterator
- type IInputBoxRaw
- func (_IInputBox *IInputBoxRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IInputBox *IInputBoxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IInputBox *IInputBoxRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IInputBoxSession
- func (_IInputBox *IInputBoxSession) AddInput(_dapp common.Address, _input []byte) (*types.Transaction, error)
- func (_IInputBox *IInputBoxSession) GetInputHash(_dapp common.Address, _index *big.Int) ([32]byte, error)
- func (_IInputBox *IInputBoxSession) GetNumberOfInputs(_dapp common.Address) (*big.Int, error)
- type IInputBoxTransactor
- type IInputBoxTransactorRaw
- type IInputBoxTransactorSession
- type InputBox
- type InputBoxCaller
- type InputBoxCallerRaw
- type InputBoxCallerSession
- type InputBoxFilterer
- func (_InputBox *InputBoxFilterer) FilterInputAdded(opts *bind.FilterOpts, dapp []common.Address, inputIndex []*big.Int) (*InputBoxInputAddedIterator, error)
- func (_InputBox *InputBoxFilterer) ParseInputAdded(log types.Log) (*InputBoxInputAdded, error)
- func (_InputBox *InputBoxFilterer) WatchInputAdded(opts *bind.WatchOpts, sink chan<- *InputBoxInputAdded, dapp []common.Address, ...) (event.Subscription, error)
- type InputBoxInputAdded
- type InputBoxInputAddedIterator
- type InputBoxRaw
- func (_InputBox *InputBoxRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_InputBox *InputBoxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_InputBox *InputBoxRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InputBoxSession
- func (_InputBox *InputBoxSession) AddInput(_dapp common.Address, _input []byte) (*types.Transaction, error)
- func (_InputBox *InputBoxSession) GetInputHash(_dapp common.Address, _index *big.Int) ([32]byte, error)
- func (_InputBox *InputBoxSession) GetNumberOfInputs(_dapp common.Address) (*big.Int, error)
- type InputBoxTransactor
- type InputBoxTransactorRaw
- type InputBoxTransactorSession
Constants ¶
This section is empty.
Variables ¶
var IInputBoxABI = IInputBoxMetaData.ABI
IInputBoxABI is the input ABI used to generate the binding from. Deprecated: Use IInputBoxMetaData.ABI instead.
var IInputBoxMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dapp\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"inputIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"}],\"name\":\"InputAdded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_input\",\"type\":\"bytes\"}],\"name\":\"addInput\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getInputHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"}],\"name\":\"getNumberOfInputs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
IInputBoxMetaData contains all meta data concerning the IInputBox contract.
var InputBoxABI = InputBoxMetaData.ABI
InputBoxABI is the input ABI used to generate the binding from. Deprecated: Use InputBoxMetaData.ABI instead.
var InputBoxMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"InputSizeExceedsLimit\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dapp\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"inputIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"}],\"name\":\"InputAdded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_input\",\"type\":\"bytes\"}],\"name\":\"addInput\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getInputHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"}],\"name\":\"getNumberOfInputs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
InputBoxMetaData contains all meta data concerning the InputBox contract.
Functions ¶
This section is empty.
Types ¶
type IInputBox ¶
type IInputBox struct { IInputBoxCaller // Read-only binding to the contract IInputBoxTransactor // Write-only binding to the contract IInputBoxFilterer // Log filterer for contract events }
IInputBox is an auto generated Go binding around an Ethereum contract.
func NewIInputBox ¶
NewIInputBox creates a new instance of IInputBox, bound to a specific deployed contract.
type IInputBoxCaller ¶
type IInputBoxCaller struct {
// contains filtered or unexported fields
}
IInputBoxCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIInputBoxCaller ¶
func NewIInputBoxCaller(address common.Address, caller bind.ContractCaller) (*IInputBoxCaller, error)
NewIInputBoxCaller creates a new read-only instance of IInputBox, bound to a specific deployed contract.
func (*IInputBoxCaller) GetInputHash ¶
func (_IInputBox *IInputBoxCaller) GetInputHash(opts *bind.CallOpts, _dapp common.Address, _index *big.Int) ([32]byte, error)
GetInputHash is a free data retrieval call binding the contract method 0x677087c9.
Solidity: function getInputHash(address _dapp, uint256 _index) view returns(bytes32)
func (*IInputBoxCaller) GetNumberOfInputs ¶
func (_IInputBox *IInputBoxCaller) GetNumberOfInputs(opts *bind.CallOpts, _dapp common.Address) (*big.Int, error)
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)
type IInputBoxCallerRaw ¶
type IInputBoxCallerRaw struct {
Contract *IInputBoxCaller // Generic read-only contract binding to access the raw methods on
}
IInputBoxCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IInputBoxCallerRaw) Call ¶
func (_IInputBox *IInputBoxCallerRaw) 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 IInputBoxCallerSession ¶
type IInputBoxCallerSession struct { Contract *IInputBoxCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IInputBoxCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IInputBoxCallerSession) GetInputHash ¶
func (_IInputBox *IInputBoxCallerSession) GetInputHash(_dapp common.Address, _index *big.Int) ([32]byte, error)
GetInputHash is a free data retrieval call binding the contract method 0x677087c9.
Solidity: function getInputHash(address _dapp, uint256 _index) view returns(bytes32)
func (*IInputBoxCallerSession) GetNumberOfInputs ¶
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)
type IInputBoxFilterer ¶
type IInputBoxFilterer struct {
// contains filtered or unexported fields
}
IInputBoxFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIInputBoxFilterer ¶
func NewIInputBoxFilterer(address common.Address, filterer bind.ContractFilterer) (*IInputBoxFilterer, error)
NewIInputBoxFilterer creates a new log filterer instance of IInputBox, bound to a specific deployed contract.
func (*IInputBoxFilterer) FilterInputAdded ¶
func (_IInputBox *IInputBoxFilterer) FilterInputAdded(opts *bind.FilterOpts, dapp []common.Address, inputIndex []*big.Int) (*IInputBoxInputAddedIterator, error)
FilterInputAdded is a free log retrieval operation binding the contract event 0x6aaa400068bf4ca337265e2a1e1e841f66b8597fd5b452fdc52a44bed28a0784.
Solidity: event InputAdded(address indexed dapp, uint256 indexed inputIndex, address sender, bytes input)
func (*IInputBoxFilterer) ParseInputAdded ¶
func (_IInputBox *IInputBoxFilterer) ParseInputAdded(log types.Log) (*IInputBoxInputAdded, error)
ParseInputAdded is a log parse operation binding the contract event 0x6aaa400068bf4ca337265e2a1e1e841f66b8597fd5b452fdc52a44bed28a0784.
Solidity: event InputAdded(address indexed dapp, uint256 indexed inputIndex, address sender, bytes input)
func (*IInputBoxFilterer) WatchInputAdded ¶
func (_IInputBox *IInputBoxFilterer) WatchInputAdded(opts *bind.WatchOpts, sink chan<- *IInputBoxInputAdded, dapp []common.Address, inputIndex []*big.Int) (event.Subscription, error)
WatchInputAdded is a free log subscription operation binding the contract event 0x6aaa400068bf4ca337265e2a1e1e841f66b8597fd5b452fdc52a44bed28a0784.
Solidity: event InputAdded(address indexed dapp, uint256 indexed inputIndex, address sender, bytes input)
type IInputBoxInputAdded ¶
type IInputBoxInputAdded struct { Dapp common.Address InputIndex *big.Int Sender common.Address Input []byte Raw types.Log // Blockchain specific contextual infos }
IInputBoxInputAdded represents a InputAdded event raised by the IInputBox contract.
type IInputBoxInputAddedIterator ¶
type IInputBoxInputAddedIterator struct { Event *IInputBoxInputAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IInputBoxInputAddedIterator is returned from FilterInputAdded and is used to iterate over the raw logs and unpacked data for InputAdded events raised by the IInputBox contract.
func (*IInputBoxInputAddedIterator) Close ¶
func (it *IInputBoxInputAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IInputBoxInputAddedIterator) Error ¶
func (it *IInputBoxInputAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IInputBoxInputAddedIterator) Next ¶
func (it *IInputBoxInputAddedIterator) 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 IInputBoxRaw ¶
type IInputBoxRaw struct {
Contract *IInputBox // Generic contract binding to access the raw methods on
}
IInputBoxRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IInputBoxRaw) Call ¶
func (_IInputBox *IInputBoxRaw) 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 (*IInputBoxRaw) Transact ¶
func (_IInputBox *IInputBoxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IInputBoxRaw) Transfer ¶
func (_IInputBox *IInputBoxRaw) 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 IInputBoxSession ¶
type IInputBoxSession struct { Contract *IInputBox // 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 }
IInputBoxSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IInputBoxSession) AddInput ¶
func (_IInputBox *IInputBoxSession) AddInput(_dapp common.Address, _input []byte) (*types.Transaction, error)
AddInput is a paid mutator transaction binding the contract method 0x1789cd63.
Solidity: function addInput(address _dapp, bytes _input) returns(bytes32)
func (*IInputBoxSession) GetInputHash ¶
func (_IInputBox *IInputBoxSession) GetInputHash(_dapp common.Address, _index *big.Int) ([32]byte, error)
GetInputHash is a free data retrieval call binding the contract method 0x677087c9.
Solidity: function getInputHash(address _dapp, uint256 _index) view returns(bytes32)
func (*IInputBoxSession) GetNumberOfInputs ¶
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)
type IInputBoxTransactor ¶
type IInputBoxTransactor struct {
// contains filtered or unexported fields
}
IInputBoxTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIInputBoxTransactor ¶
func NewIInputBoxTransactor(address common.Address, transactor bind.ContractTransactor) (*IInputBoxTransactor, error)
NewIInputBoxTransactor creates a new write-only instance of IInputBox, bound to a specific deployed contract.
func (*IInputBoxTransactor) AddInput ¶
func (_IInputBox *IInputBoxTransactor) AddInput(opts *bind.TransactOpts, _dapp common.Address, _input []byte) (*types.Transaction, error)
AddInput is a paid mutator transaction binding the contract method 0x1789cd63.
Solidity: function addInput(address _dapp, bytes _input) returns(bytes32)
type IInputBoxTransactorRaw ¶
type IInputBoxTransactorRaw struct {
Contract *IInputBoxTransactor // Generic write-only contract binding to access the raw methods on
}
IInputBoxTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IInputBoxTransactorRaw) Transact ¶
func (_IInputBox *IInputBoxTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IInputBoxTransactorRaw) Transfer ¶
func (_IInputBox *IInputBoxTransactorRaw) 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 IInputBoxTransactorSession ¶
type IInputBoxTransactorSession struct { Contract *IInputBoxTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IInputBoxTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IInputBoxTransactorSession) AddInput ¶
func (_IInputBox *IInputBoxTransactorSession) AddInput(_dapp common.Address, _input []byte) (*types.Transaction, error)
AddInput is a paid mutator transaction binding the contract method 0x1789cd63.
Solidity: function addInput(address _dapp, bytes _input) returns(bytes32)
type InputBox ¶ added in v0.1.1
type InputBox struct { InputBoxCaller // Read-only binding to the contract InputBoxTransactor // Write-only binding to the contract InputBoxFilterer // Log filterer for contract events }
InputBox is an auto generated Go binding around an Ethereum contract.
func NewInputBox ¶ added in v0.1.1
NewInputBox creates a new instance of InputBox, bound to a specific deployed contract.
type InputBoxCaller ¶ added in v0.1.1
type InputBoxCaller struct {
// contains filtered or unexported fields
}
InputBoxCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInputBoxCaller ¶ added in v0.1.1
func NewInputBoxCaller(address common.Address, caller bind.ContractCaller) (*InputBoxCaller, error)
NewInputBoxCaller creates a new read-only instance of InputBox, bound to a specific deployed contract.
func (*InputBoxCaller) GetInputHash ¶ added in v0.1.1
func (_InputBox *InputBoxCaller) GetInputHash(opts *bind.CallOpts, _dapp common.Address, _index *big.Int) ([32]byte, error)
GetInputHash is a free data retrieval call binding the contract method 0x677087c9.
Solidity: function getInputHash(address _dapp, uint256 _index) view returns(bytes32)
func (*InputBoxCaller) GetNumberOfInputs ¶ added in v0.1.1
func (_InputBox *InputBoxCaller) GetNumberOfInputs(opts *bind.CallOpts, _dapp common.Address) (*big.Int, error)
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)
type InputBoxCallerRaw ¶ added in v0.1.1
type InputBoxCallerRaw struct {
Contract *InputBoxCaller // Generic read-only contract binding to access the raw methods on
}
InputBoxCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InputBoxCallerRaw) Call ¶ added in v0.1.1
func (_InputBox *InputBoxCallerRaw) 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 InputBoxCallerSession ¶ added in v0.1.1
type InputBoxCallerSession struct { Contract *InputBoxCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InputBoxCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InputBoxCallerSession) GetInputHash ¶ added in v0.1.1
func (_InputBox *InputBoxCallerSession) GetInputHash(_dapp common.Address, _index *big.Int) ([32]byte, error)
GetInputHash is a free data retrieval call binding the contract method 0x677087c9.
Solidity: function getInputHash(address _dapp, uint256 _index) view returns(bytes32)
func (*InputBoxCallerSession) GetNumberOfInputs ¶ added in v0.1.1
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)
type InputBoxFilterer ¶ added in v0.1.1
type InputBoxFilterer struct {
// contains filtered or unexported fields
}
InputBoxFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInputBoxFilterer ¶ added in v0.1.1
func NewInputBoxFilterer(address common.Address, filterer bind.ContractFilterer) (*InputBoxFilterer, error)
NewInputBoxFilterer creates a new log filterer instance of InputBox, bound to a specific deployed contract.
func (*InputBoxFilterer) FilterInputAdded ¶ added in v0.1.1
func (_InputBox *InputBoxFilterer) FilterInputAdded(opts *bind.FilterOpts, dapp []common.Address, inputIndex []*big.Int) (*InputBoxInputAddedIterator, error)
FilterInputAdded is a free log retrieval operation binding the contract event 0x6aaa400068bf4ca337265e2a1e1e841f66b8597fd5b452fdc52a44bed28a0784.
Solidity: event InputAdded(address indexed dapp, uint256 indexed inputIndex, address sender, bytes input)
func (*InputBoxFilterer) ParseInputAdded ¶ added in v0.1.1
func (_InputBox *InputBoxFilterer) ParseInputAdded(log types.Log) (*InputBoxInputAdded, error)
ParseInputAdded is a log parse operation binding the contract event 0x6aaa400068bf4ca337265e2a1e1e841f66b8597fd5b452fdc52a44bed28a0784.
Solidity: event InputAdded(address indexed dapp, uint256 indexed inputIndex, address sender, bytes input)
func (*InputBoxFilterer) WatchInputAdded ¶ added in v0.1.1
func (_InputBox *InputBoxFilterer) WatchInputAdded(opts *bind.WatchOpts, sink chan<- *InputBoxInputAdded, dapp []common.Address, inputIndex []*big.Int) (event.Subscription, error)
WatchInputAdded is a free log subscription operation binding the contract event 0x6aaa400068bf4ca337265e2a1e1e841f66b8597fd5b452fdc52a44bed28a0784.
Solidity: event InputAdded(address indexed dapp, uint256 indexed inputIndex, address sender, bytes input)
type InputBoxInputAdded ¶ added in v0.1.1
type InputBoxInputAdded struct { Dapp common.Address InputIndex *big.Int Sender common.Address Input []byte Raw types.Log // Blockchain specific contextual infos }
InputBoxInputAdded represents a InputAdded event raised by the InputBox contract.
type InputBoxInputAddedIterator ¶ added in v0.1.1
type InputBoxInputAddedIterator struct { Event *InputBoxInputAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
InputBoxInputAddedIterator is returned from FilterInputAdded and is used to iterate over the raw logs and unpacked data for InputAdded events raised by the InputBox contract.
func (*InputBoxInputAddedIterator) Close ¶ added in v0.1.1
func (it *InputBoxInputAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InputBoxInputAddedIterator) Error ¶ added in v0.1.1
func (it *InputBoxInputAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InputBoxInputAddedIterator) Next ¶ added in v0.1.1
func (it *InputBoxInputAddedIterator) 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 InputBoxRaw ¶ added in v0.1.1
type InputBoxRaw struct {
Contract *InputBox // Generic contract binding to access the raw methods on
}
InputBoxRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InputBoxRaw) Call ¶ added in v0.1.1
func (_InputBox *InputBoxRaw) 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 (*InputBoxRaw) Transact ¶ added in v0.1.1
func (_InputBox *InputBoxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InputBoxRaw) Transfer ¶ added in v0.1.1
func (_InputBox *InputBoxRaw) 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 InputBoxSession ¶ added in v0.1.1
type InputBoxSession struct { Contract *InputBox // 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 }
InputBoxSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InputBoxSession) AddInput ¶ added in v0.1.1
func (_InputBox *InputBoxSession) AddInput(_dapp common.Address, _input []byte) (*types.Transaction, error)
AddInput is a paid mutator transaction binding the contract method 0x1789cd63.
Solidity: function addInput(address _dapp, bytes _input) returns(bytes32)
func (*InputBoxSession) GetInputHash ¶ added in v0.1.1
func (_InputBox *InputBoxSession) GetInputHash(_dapp common.Address, _index *big.Int) ([32]byte, error)
GetInputHash is a free data retrieval call binding the contract method 0x677087c9.
Solidity: function getInputHash(address _dapp, uint256 _index) view returns(bytes32)
func (*InputBoxSession) GetNumberOfInputs ¶ added in v0.1.1
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)
type InputBoxTransactor ¶ added in v0.1.1
type InputBoxTransactor struct {
// contains filtered or unexported fields
}
InputBoxTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInputBoxTransactor ¶ added in v0.1.1
func NewInputBoxTransactor(address common.Address, transactor bind.ContractTransactor) (*InputBoxTransactor, error)
NewInputBoxTransactor creates a new write-only instance of InputBox, bound to a specific deployed contract.
func (*InputBoxTransactor) AddInput ¶ added in v0.1.1
func (_InputBox *InputBoxTransactor) AddInput(opts *bind.TransactOpts, _dapp common.Address, _input []byte) (*types.Transaction, error)
AddInput is a paid mutator transaction binding the contract method 0x1789cd63.
Solidity: function addInput(address _dapp, bytes _input) returns(bytes32)
type InputBoxTransactorRaw ¶ added in v0.1.1
type InputBoxTransactorRaw struct {
Contract *InputBoxTransactor // Generic write-only contract binding to access the raw methods on
}
InputBoxTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InputBoxTransactorRaw) Transact ¶ added in v0.1.1
func (_InputBox *InputBoxTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InputBoxTransactorRaw) Transfer ¶ added in v0.1.1
func (_InputBox *InputBoxTransactorRaw) 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 InputBoxTransactorSession ¶ added in v0.1.1
type InputBoxTransactorSession struct { Contract *InputBoxTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InputBoxTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InputBoxTransactorSession) AddInput ¶ added in v0.1.1
func (_InputBox *InputBoxTransactorSession) AddInput(_dapp common.Address, _input []byte) (*types.Transaction, error)
AddInput is a paid mutator transaction binding the contract method 0x1789cd63.
Solidity: function addInput(address _dapp, bytes _input) returns(bytes32)