iinputbox

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IInputBoxABI = IInputBoxMetaData.ABI

IInputBoxABI is the input ABI used to generate the binding from. Deprecated: Use IInputBoxMetaData.ABI instead.

View Source
var IInputBoxMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"inputLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxInputLength\",\"type\":\"uint256\"}],\"name\":\"InputTooLarge\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"input\",\"type\":\"bytes\"}],\"name\":\"InputAdded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"addInput\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getInputHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"}],\"name\":\"getNumberOfInputs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

IInputBoxMetaData contains all meta data concerning the IInputBox 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

func NewIInputBox(address common.Address, backend bind.ContractBackend) (*IInputBox, error)

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, appContract common.Address, index *big.Int) ([32]byte, error)

GetInputHash is a free data retrieval call binding the contract method 0x677087c9.

Solidity: function getInputHash(address appContract, uint256 index) view returns(bytes32)

func (*IInputBoxCaller) GetNumberOfInputs

func (_IInputBox *IInputBoxCaller) GetNumberOfInputs(opts *bind.CallOpts, appContract common.Address) (*big.Int, error)

GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.

Solidity: function getNumberOfInputs(address appContract) 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(appContract common.Address, index *big.Int) ([32]byte, error)

GetInputHash is a free data retrieval call binding the contract method 0x677087c9.

Solidity: function getInputHash(address appContract, uint256 index) view returns(bytes32)

func (*IInputBoxCallerSession) GetNumberOfInputs

func (_IInputBox *IInputBoxCallerSession) GetNumberOfInputs(appContract common.Address) (*big.Int, error)

GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.

Solidity: function getNumberOfInputs(address appContract) 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, appContract []common.Address, index []*big.Int) (*IInputBoxInputAddedIterator, error)

FilterInputAdded is a free log retrieval operation binding the contract event 0xc05d337121a6e8605c6ec0b72aa29c4210ffe6e5b9cefdd6a7058188a8f66f98.

Solidity: event InputAdded(address indexed appContract, uint256 indexed index, bytes input)

func (*IInputBoxFilterer) ParseInputAdded

func (_IInputBox *IInputBoxFilterer) ParseInputAdded(log types.Log) (*IInputBoxInputAdded, error)

ParseInputAdded is a log parse operation binding the contract event 0xc05d337121a6e8605c6ec0b72aa29c4210ffe6e5b9cefdd6a7058188a8f66f98.

Solidity: event InputAdded(address indexed appContract, uint256 indexed index, bytes input)

func (*IInputBoxFilterer) WatchInputAdded

func (_IInputBox *IInputBoxFilterer) WatchInputAdded(opts *bind.WatchOpts, sink chan<- *IInputBoxInputAdded, appContract []common.Address, index []*big.Int) (event.Subscription, error)

WatchInputAdded is a free log subscription operation binding the contract event 0xc05d337121a6e8605c6ec0b72aa29c4210ffe6e5b9cefdd6a7058188a8f66f98.

Solidity: event InputAdded(address indexed appContract, uint256 indexed index, bytes input)

type IInputBoxInputAdded

type IInputBoxInputAdded struct {
	AppContract common.Address
	Index       *big.Int
	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(appContract common.Address, payload []byte) (*types.Transaction, error)

AddInput is a paid mutator transaction binding the contract method 0x1789cd63.

Solidity: function addInput(address appContract, bytes payload) returns(bytes32)

func (*IInputBoxSession) GetInputHash

func (_IInputBox *IInputBoxSession) GetInputHash(appContract common.Address, index *big.Int) ([32]byte, error)

GetInputHash is a free data retrieval call binding the contract method 0x677087c9.

Solidity: function getInputHash(address appContract, uint256 index) view returns(bytes32)

func (*IInputBoxSession) GetNumberOfInputs

func (_IInputBox *IInputBoxSession) GetNumberOfInputs(appContract common.Address) (*big.Int, error)

GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.

Solidity: function getNumberOfInputs(address appContract) 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, appContract common.Address, payload []byte) (*types.Transaction, error)

AddInput is a paid mutator transaction binding the contract method 0x1789cd63.

Solidity: function addInput(address appContract, bytes payload) 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(appContract common.Address, payload []byte) (*types.Transaction, error)

AddInput is a paid mutator transaction binding the contract method 0x1789cd63.

Solidity: function addInput(address appContract, bytes payload) returns(bytes32)

Jump to

Keyboard shortcuts

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