Documentation ¶
Index ¶
- Variables
- type IApplication
- type IApplicationCaller
- func (_IApplication *IApplicationCaller) GetConsensus(opts *bind.CallOpts) (common.Address, error)
- func (_IApplication *IApplicationCaller) GetTemplateHash(opts *bind.CallOpts) ([32]byte, error)
- func (_IApplication *IApplicationCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_IApplication *IApplicationCaller) ValidateOutput(opts *bind.CallOpts, output []byte, proof OutputValidityProof) error
- func (_IApplication *IApplicationCaller) ValidateOutputHash(opts *bind.CallOpts, outputHash [32]byte, proof OutputValidityProof) error
- func (_IApplication *IApplicationCaller) WasOutputExecuted(opts *bind.CallOpts, outputIndex *big.Int) (bool, error)
- type IApplicationCallerRaw
- type IApplicationCallerSession
- func (_IApplication *IApplicationCallerSession) GetConsensus() (common.Address, error)
- func (_IApplication *IApplicationCallerSession) GetTemplateHash() ([32]byte, error)
- func (_IApplication *IApplicationCallerSession) Owner() (common.Address, error)
- func (_IApplication *IApplicationCallerSession) ValidateOutput(output []byte, proof OutputValidityProof) error
- func (_IApplication *IApplicationCallerSession) ValidateOutputHash(outputHash [32]byte, proof OutputValidityProof) error
- func (_IApplication *IApplicationCallerSession) WasOutputExecuted(outputIndex *big.Int) (bool, error)
- type IApplicationFilterer
- func (_IApplication *IApplicationFilterer) FilterNewConsensus(opts *bind.FilterOpts) (*IApplicationNewConsensusIterator, error)
- func (_IApplication *IApplicationFilterer) FilterOutputExecuted(opts *bind.FilterOpts) (*IApplicationOutputExecutedIterator, error)
- func (_IApplication *IApplicationFilterer) ParseNewConsensus(log types.Log) (*IApplicationNewConsensus, error)
- func (_IApplication *IApplicationFilterer) ParseOutputExecuted(log types.Log) (*IApplicationOutputExecuted, error)
- func (_IApplication *IApplicationFilterer) WatchNewConsensus(opts *bind.WatchOpts, sink chan<- *IApplicationNewConsensus) (event.Subscription, error)
- func (_IApplication *IApplicationFilterer) WatchOutputExecuted(opts *bind.WatchOpts, sink chan<- *IApplicationOutputExecuted) (event.Subscription, error)
- type IApplicationNewConsensus
- type IApplicationNewConsensusIterator
- type IApplicationOutputExecuted
- type IApplicationOutputExecutedIterator
- type IApplicationRaw
- func (_IApplication *IApplicationRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IApplication *IApplicationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IApplication *IApplicationRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IApplicationSession
- func (_IApplication *IApplicationSession) ExecuteOutput(output []byte, proof OutputValidityProof) (*types.Transaction, error)
- func (_IApplication *IApplicationSession) GetConsensus() (common.Address, error)
- func (_IApplication *IApplicationSession) GetTemplateHash() ([32]byte, error)
- func (_IApplication *IApplicationSession) MigrateToConsensus(newConsensus common.Address) (*types.Transaction, error)
- func (_IApplication *IApplicationSession) Owner() (common.Address, error)
- func (_IApplication *IApplicationSession) RenounceOwnership() (*types.Transaction, error)
- func (_IApplication *IApplicationSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_IApplication *IApplicationSession) ValidateOutput(output []byte, proof OutputValidityProof) error
- func (_IApplication *IApplicationSession) ValidateOutputHash(outputHash [32]byte, proof OutputValidityProof) error
- func (_IApplication *IApplicationSession) WasOutputExecuted(outputIndex *big.Int) (bool, error)
- type IApplicationTransactor
- func (_IApplication *IApplicationTransactor) ExecuteOutput(opts *bind.TransactOpts, output []byte, proof OutputValidityProof) (*types.Transaction, error)
- func (_IApplication *IApplicationTransactor) MigrateToConsensus(opts *bind.TransactOpts, newConsensus common.Address) (*types.Transaction, error)
- func (_IApplication *IApplicationTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IApplication *IApplicationTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type IApplicationTransactorRaw
- type IApplicationTransactorSession
- func (_IApplication *IApplicationTransactorSession) ExecuteOutput(output []byte, proof OutputValidityProof) (*types.Transaction, error)
- func (_IApplication *IApplicationTransactorSession) MigrateToConsensus(newConsensus common.Address) (*types.Transaction, error)
- func (_IApplication *IApplicationTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_IApplication *IApplicationTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OutputValidityProof
Constants ¶
This section is empty.
Variables ¶
var IApplicationABI = IApplicationMetaData.ABI
IApplicationABI is the input ABI used to generate the binding from. Deprecated: Use IApplicationMetaData.ABI instead.
var IApplicationMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"claim\",\"type\":\"bytes32\"}],\"name\":\"ClaimNotAccepted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOutputHashesSiblingsArrayLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"}],\"name\":\"OutputNotExecutable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"}],\"name\":\"OutputNotReexecutable\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIConsensus\",\"name\":\"newConsensus\",\"type\":\"address\"}],\"name\":\"NewConsensus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"outputIndex\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"}],\"name\":\"OutputExecuted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"outputIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashesSiblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structOutputValidityProof\",\"name\":\"proof\",\"type\":\"tuple\"}],\"name\":\"executeOutput\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConsensus\",\"outputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTemplateHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"newConsensus\",\"type\":\"address\"}],\"name\":\"migrateToConsensus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"output\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"outputIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashesSiblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structOutputValidityProof\",\"name\":\"proof\",\"type\":\"tuple\"}],\"name\":\"validateOutput\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"outputHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"outputIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashesSiblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structOutputValidityProof\",\"name\":\"proof\",\"type\":\"tuple\"}],\"name\":\"validateOutputHash\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"outputIndex\",\"type\":\"uint256\"}],\"name\":\"wasOutputExecuted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
IApplicationMetaData contains all meta data concerning the IApplication contract.
Functions ¶
This section is empty.
Types ¶
type IApplication ¶
type IApplication struct { IApplicationCaller // Read-only binding to the contract IApplicationTransactor // Write-only binding to the contract IApplicationFilterer // Log filterer for contract events }
IApplication is an auto generated Go binding around an Ethereum contract.
func NewIApplication ¶
func NewIApplication(address common.Address, backend bind.ContractBackend) (*IApplication, error)
NewIApplication creates a new instance of IApplication, bound to a specific deployed contract.
type IApplicationCaller ¶
type IApplicationCaller struct {
// contains filtered or unexported fields
}
IApplicationCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIApplicationCaller ¶
func NewIApplicationCaller(address common.Address, caller bind.ContractCaller) (*IApplicationCaller, error)
NewIApplicationCaller creates a new read-only instance of IApplication, bound to a specific deployed contract.
func (*IApplicationCaller) GetConsensus ¶
GetConsensus is a free data retrieval call binding the contract method 0x179e740b.
Solidity: function getConsensus() view returns(address)
func (*IApplicationCaller) GetTemplateHash ¶
func (_IApplication *IApplicationCaller) GetTemplateHash(opts *bind.CallOpts) ([32]byte, error)
GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.
Solidity: function getTemplateHash() view returns(bytes32)
func (*IApplicationCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IApplicationCaller) ValidateOutput ¶
func (_IApplication *IApplicationCaller) ValidateOutput(opts *bind.CallOpts, output []byte, proof OutputValidityProof) error
ValidateOutput is a free data retrieval call binding the contract method 0xe88d39c0.
Solidity: function validateOutput(bytes output, (uint64,bytes32[]) proof) view returns()
func (*IApplicationCaller) ValidateOutputHash ¶
func (_IApplication *IApplicationCaller) ValidateOutputHash(opts *bind.CallOpts, outputHash [32]byte, proof OutputValidityProof) error
ValidateOutputHash is a free data retrieval call binding the contract method 0x08eb89ab.
Solidity: function validateOutputHash(bytes32 outputHash, (uint64,bytes32[]) proof) view returns()
func (*IApplicationCaller) WasOutputExecuted ¶
func (_IApplication *IApplicationCaller) WasOutputExecuted(opts *bind.CallOpts, outputIndex *big.Int) (bool, error)
WasOutputExecuted is a free data retrieval call binding the contract method 0x71891db0.
Solidity: function wasOutputExecuted(uint256 outputIndex) view returns(bool)
type IApplicationCallerRaw ¶
type IApplicationCallerRaw struct {
Contract *IApplicationCaller // Generic read-only contract binding to access the raw methods on
}
IApplicationCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IApplicationCallerRaw) Call ¶
func (_IApplication *IApplicationCallerRaw) 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 IApplicationCallerSession ¶
type IApplicationCallerSession struct { Contract *IApplicationCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IApplicationCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IApplicationCallerSession) GetConsensus ¶
func (_IApplication *IApplicationCallerSession) GetConsensus() (common.Address, error)
GetConsensus is a free data retrieval call binding the contract method 0x179e740b.
Solidity: function getConsensus() view returns(address)
func (*IApplicationCallerSession) GetTemplateHash ¶
func (_IApplication *IApplicationCallerSession) GetTemplateHash() ([32]byte, error)
GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.
Solidity: function getTemplateHash() view returns(bytes32)
func (*IApplicationCallerSession) Owner ¶
func (_IApplication *IApplicationCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IApplicationCallerSession) ValidateOutput ¶
func (_IApplication *IApplicationCallerSession) ValidateOutput(output []byte, proof OutputValidityProof) error
ValidateOutput is a free data retrieval call binding the contract method 0xe88d39c0.
Solidity: function validateOutput(bytes output, (uint64,bytes32[]) proof) view returns()
func (*IApplicationCallerSession) ValidateOutputHash ¶
func (_IApplication *IApplicationCallerSession) ValidateOutputHash(outputHash [32]byte, proof OutputValidityProof) error
ValidateOutputHash is a free data retrieval call binding the contract method 0x08eb89ab.
Solidity: function validateOutputHash(bytes32 outputHash, (uint64,bytes32[]) proof) view returns()
func (*IApplicationCallerSession) WasOutputExecuted ¶
func (_IApplication *IApplicationCallerSession) WasOutputExecuted(outputIndex *big.Int) (bool, error)
WasOutputExecuted is a free data retrieval call binding the contract method 0x71891db0.
Solidity: function wasOutputExecuted(uint256 outputIndex) view returns(bool)
type IApplicationFilterer ¶
type IApplicationFilterer struct {
// contains filtered or unexported fields
}
IApplicationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIApplicationFilterer ¶
func NewIApplicationFilterer(address common.Address, filterer bind.ContractFilterer) (*IApplicationFilterer, error)
NewIApplicationFilterer creates a new log filterer instance of IApplication, bound to a specific deployed contract.
func (*IApplicationFilterer) FilterNewConsensus ¶
func (_IApplication *IApplicationFilterer) FilterNewConsensus(opts *bind.FilterOpts) (*IApplicationNewConsensusIterator, error)
FilterNewConsensus is a free log retrieval operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.
Solidity: event NewConsensus(address newConsensus)
func (*IApplicationFilterer) FilterOutputExecuted ¶
func (_IApplication *IApplicationFilterer) FilterOutputExecuted(opts *bind.FilterOpts) (*IApplicationOutputExecutedIterator, error)
FilterOutputExecuted is a free log retrieval operation binding the contract event 0xcad1f361c6e84664e892230291c8e8eb9555683e0a6a5ce8ea7b204ac0ac3676.
Solidity: event OutputExecuted(uint64 outputIndex, bytes output)
func (*IApplicationFilterer) ParseNewConsensus ¶
func (_IApplication *IApplicationFilterer) ParseNewConsensus(log types.Log) (*IApplicationNewConsensus, error)
ParseNewConsensus is a log parse operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.
Solidity: event NewConsensus(address newConsensus)
func (*IApplicationFilterer) ParseOutputExecuted ¶
func (_IApplication *IApplicationFilterer) ParseOutputExecuted(log types.Log) (*IApplicationOutputExecuted, error)
ParseOutputExecuted is a log parse operation binding the contract event 0xcad1f361c6e84664e892230291c8e8eb9555683e0a6a5ce8ea7b204ac0ac3676.
Solidity: event OutputExecuted(uint64 outputIndex, bytes output)
func (*IApplicationFilterer) WatchNewConsensus ¶
func (_IApplication *IApplicationFilterer) WatchNewConsensus(opts *bind.WatchOpts, sink chan<- *IApplicationNewConsensus) (event.Subscription, error)
WatchNewConsensus is a free log subscription operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.
Solidity: event NewConsensus(address newConsensus)
func (*IApplicationFilterer) WatchOutputExecuted ¶
func (_IApplication *IApplicationFilterer) WatchOutputExecuted(opts *bind.WatchOpts, sink chan<- *IApplicationOutputExecuted) (event.Subscription, error)
WatchOutputExecuted is a free log subscription operation binding the contract event 0xcad1f361c6e84664e892230291c8e8eb9555683e0a6a5ce8ea7b204ac0ac3676.
Solidity: event OutputExecuted(uint64 outputIndex, bytes output)
type IApplicationNewConsensus ¶
type IApplicationNewConsensus struct { NewConsensus common.Address Raw types.Log // Blockchain specific contextual infos }
IApplicationNewConsensus represents a NewConsensus event raised by the IApplication contract.
type IApplicationNewConsensusIterator ¶
type IApplicationNewConsensusIterator struct { Event *IApplicationNewConsensus // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IApplicationNewConsensusIterator is returned from FilterNewConsensus and is used to iterate over the raw logs and unpacked data for NewConsensus events raised by the IApplication contract.
func (*IApplicationNewConsensusIterator) Close ¶
func (it *IApplicationNewConsensusIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IApplicationNewConsensusIterator) Error ¶
func (it *IApplicationNewConsensusIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IApplicationNewConsensusIterator) Next ¶
func (it *IApplicationNewConsensusIterator) 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 IApplicationOutputExecuted ¶
type IApplicationOutputExecuted struct { OutputIndex uint64 Output []byte Raw types.Log // Blockchain specific contextual infos }
IApplicationOutputExecuted represents a OutputExecuted event raised by the IApplication contract.
type IApplicationOutputExecutedIterator ¶
type IApplicationOutputExecutedIterator struct { Event *IApplicationOutputExecuted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IApplicationOutputExecutedIterator is returned from FilterOutputExecuted and is used to iterate over the raw logs and unpacked data for OutputExecuted events raised by the IApplication contract.
func (*IApplicationOutputExecutedIterator) Close ¶
func (it *IApplicationOutputExecutedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IApplicationOutputExecutedIterator) Error ¶
func (it *IApplicationOutputExecutedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IApplicationOutputExecutedIterator) Next ¶
func (it *IApplicationOutputExecutedIterator) 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 IApplicationRaw ¶
type IApplicationRaw struct {
Contract *IApplication // Generic contract binding to access the raw methods on
}
IApplicationRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IApplicationRaw) Call ¶
func (_IApplication *IApplicationRaw) 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 (*IApplicationRaw) Transact ¶
func (_IApplication *IApplicationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IApplicationRaw) Transfer ¶
func (_IApplication *IApplicationRaw) 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 IApplicationSession ¶
type IApplicationSession struct { Contract *IApplication // 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 }
IApplicationSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IApplicationSession) ExecuteOutput ¶
func (_IApplication *IApplicationSession) ExecuteOutput(output []byte, proof OutputValidityProof) (*types.Transaction, error)
ExecuteOutput is a paid mutator transaction binding the contract method 0x33137b76.
Solidity: function executeOutput(bytes output, (uint64,bytes32[]) proof) returns()
func (*IApplicationSession) GetConsensus ¶
func (_IApplication *IApplicationSession) GetConsensus() (common.Address, error)
GetConsensus is a free data retrieval call binding the contract method 0x179e740b.
Solidity: function getConsensus() view returns(address)
func (*IApplicationSession) GetTemplateHash ¶
func (_IApplication *IApplicationSession) GetTemplateHash() ([32]byte, error)
GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.
Solidity: function getTemplateHash() view returns(bytes32)
func (*IApplicationSession) MigrateToConsensus ¶
func (_IApplication *IApplicationSession) MigrateToConsensus(newConsensus common.Address) (*types.Transaction, error)
MigrateToConsensus is a paid mutator transaction binding the contract method 0xfc411683.
Solidity: function migrateToConsensus(address newConsensus) returns()
func (*IApplicationSession) Owner ¶
func (_IApplication *IApplicationSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IApplicationSession) RenounceOwnership ¶
func (_IApplication *IApplicationSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IApplicationSession) TransferOwnership ¶
func (_IApplication *IApplicationSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*IApplicationSession) ValidateOutput ¶
func (_IApplication *IApplicationSession) ValidateOutput(output []byte, proof OutputValidityProof) error
ValidateOutput is a free data retrieval call binding the contract method 0xe88d39c0.
Solidity: function validateOutput(bytes output, (uint64,bytes32[]) proof) view returns()
func (*IApplicationSession) ValidateOutputHash ¶
func (_IApplication *IApplicationSession) ValidateOutputHash(outputHash [32]byte, proof OutputValidityProof) error
ValidateOutputHash is a free data retrieval call binding the contract method 0x08eb89ab.
Solidity: function validateOutputHash(bytes32 outputHash, (uint64,bytes32[]) proof) view returns()
func (*IApplicationSession) WasOutputExecuted ¶
func (_IApplication *IApplicationSession) WasOutputExecuted(outputIndex *big.Int) (bool, error)
WasOutputExecuted is a free data retrieval call binding the contract method 0x71891db0.
Solidity: function wasOutputExecuted(uint256 outputIndex) view returns(bool)
type IApplicationTransactor ¶
type IApplicationTransactor struct {
// contains filtered or unexported fields
}
IApplicationTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIApplicationTransactor ¶
func NewIApplicationTransactor(address common.Address, transactor bind.ContractTransactor) (*IApplicationTransactor, error)
NewIApplicationTransactor creates a new write-only instance of IApplication, bound to a specific deployed contract.
func (*IApplicationTransactor) ExecuteOutput ¶
func (_IApplication *IApplicationTransactor) ExecuteOutput(opts *bind.TransactOpts, output []byte, proof OutputValidityProof) (*types.Transaction, error)
ExecuteOutput is a paid mutator transaction binding the contract method 0x33137b76.
Solidity: function executeOutput(bytes output, (uint64,bytes32[]) proof) returns()
func (*IApplicationTransactor) MigrateToConsensus ¶
func (_IApplication *IApplicationTransactor) MigrateToConsensus(opts *bind.TransactOpts, newConsensus common.Address) (*types.Transaction, error)
MigrateToConsensus is a paid mutator transaction binding the contract method 0xfc411683.
Solidity: function migrateToConsensus(address newConsensus) returns()
func (*IApplicationTransactor) RenounceOwnership ¶
func (_IApplication *IApplicationTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IApplicationTransactor) TransferOwnership ¶
func (_IApplication *IApplicationTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type IApplicationTransactorRaw ¶
type IApplicationTransactorRaw struct {
Contract *IApplicationTransactor // Generic write-only contract binding to access the raw methods on
}
IApplicationTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IApplicationTransactorRaw) Transact ¶
func (_IApplication *IApplicationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IApplicationTransactorRaw) Transfer ¶
func (_IApplication *IApplicationTransactorRaw) 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 IApplicationTransactorSession ¶
type IApplicationTransactorSession struct { Contract *IApplicationTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IApplicationTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IApplicationTransactorSession) ExecuteOutput ¶
func (_IApplication *IApplicationTransactorSession) ExecuteOutput(output []byte, proof OutputValidityProof) (*types.Transaction, error)
ExecuteOutput is a paid mutator transaction binding the contract method 0x33137b76.
Solidity: function executeOutput(bytes output, (uint64,bytes32[]) proof) returns()
func (*IApplicationTransactorSession) MigrateToConsensus ¶
func (_IApplication *IApplicationTransactorSession) MigrateToConsensus(newConsensus common.Address) (*types.Transaction, error)
MigrateToConsensus is a paid mutator transaction binding the contract method 0xfc411683.
Solidity: function migrateToConsensus(address newConsensus) returns()
func (*IApplicationTransactorSession) RenounceOwnership ¶
func (_IApplication *IApplicationTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*IApplicationTransactorSession) TransferOwnership ¶
func (_IApplication *IApplicationTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OutputValidityProof ¶
OutputValidityProof is an auto generated low-level Go binding around an user-defined struct.