Documentation ¶
Index ¶
- Variables
- type CartesiDApp
- type CartesiDAppCaller
- func (_CartesiDApp *CartesiDAppCaller) GetConsensus(opts *bind.CallOpts) (common.Address, error)
- func (_CartesiDApp *CartesiDAppCaller) GetTemplateHash(opts *bind.CallOpts) ([32]byte, error)
- func (_CartesiDApp *CartesiDAppCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_CartesiDApp *CartesiDAppCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_CartesiDApp *CartesiDAppCaller) ValidateNotice(opts *bind.CallOpts, _notice []byte, _proof Proof) (bool, error)
- func (_CartesiDApp *CartesiDAppCaller) WasVoucherExecuted(opts *bind.CallOpts, _inputIndex *big.Int, _outputIndexWithinInput *big.Int) (bool, error)
- type CartesiDAppCallerRaw
- type CartesiDAppCallerSession
- func (_CartesiDApp *CartesiDAppCallerSession) GetConsensus() (common.Address, error)
- func (_CartesiDApp *CartesiDAppCallerSession) GetTemplateHash() ([32]byte, error)
- func (_CartesiDApp *CartesiDAppCallerSession) Owner() (common.Address, error)
- func (_CartesiDApp *CartesiDAppCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_CartesiDApp *CartesiDAppCallerSession) ValidateNotice(_notice []byte, _proof Proof) (bool, error)
- func (_CartesiDApp *CartesiDAppCallerSession) WasVoucherExecuted(_inputIndex *big.Int, _outputIndexWithinInput *big.Int) (bool, error)
- type CartesiDAppFilterer
- func (_CartesiDApp *CartesiDAppFilterer) FilterNewConsensus(opts *bind.FilterOpts) (*CartesiDAppNewConsensusIterator, error)
- func (_CartesiDApp *CartesiDAppFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*CartesiDAppOwnershipTransferredIterator, error)
- func (_CartesiDApp *CartesiDAppFilterer) FilterVoucherExecuted(opts *bind.FilterOpts) (*CartesiDAppVoucherExecutedIterator, error)
- func (_CartesiDApp *CartesiDAppFilterer) ParseNewConsensus(log types.Log) (*CartesiDAppNewConsensus, error)
- func (_CartesiDApp *CartesiDAppFilterer) ParseOwnershipTransferred(log types.Log) (*CartesiDAppOwnershipTransferred, error)
- func (_CartesiDApp *CartesiDAppFilterer) ParseVoucherExecuted(log types.Log) (*CartesiDAppVoucherExecuted, error)
- func (_CartesiDApp *CartesiDAppFilterer) WatchNewConsensus(opts *bind.WatchOpts, sink chan<- *CartesiDAppNewConsensus) (event.Subscription, error)
- func (_CartesiDApp *CartesiDAppFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CartesiDAppOwnershipTransferred, ...) (event.Subscription, error)
- func (_CartesiDApp *CartesiDAppFilterer) WatchVoucherExecuted(opts *bind.WatchOpts, sink chan<- *CartesiDAppVoucherExecuted) (event.Subscription, error)
- type CartesiDAppNewConsensus
- type CartesiDAppNewConsensusIterator
- type CartesiDAppOwnershipTransferred
- type CartesiDAppOwnershipTransferredIterator
- type CartesiDAppRaw
- func (_CartesiDApp *CartesiDAppRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CartesiDApp *CartesiDAppRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CartesiDAppSession
- func (_CartesiDApp *CartesiDAppSession) ExecuteVoucher(_destination common.Address, _payload []byte, _proof Proof) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppSession) GetConsensus() (common.Address, error)
- func (_CartesiDApp *CartesiDAppSession) GetTemplateHash() ([32]byte, error)
- func (_CartesiDApp *CartesiDAppSession) MigrateToConsensus(_newConsensus common.Address) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppSession) Owner() (common.Address, error)
- func (_CartesiDApp *CartesiDAppSession) Receive() (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppSession) RenounceOwnership() (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_CartesiDApp *CartesiDAppSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppSession) ValidateNotice(_notice []byte, _proof Proof) (bool, error)
- func (_CartesiDApp *CartesiDAppSession) WasVoucherExecuted(_inputIndex *big.Int, _outputIndexWithinInput *big.Int) (bool, error)
- func (_CartesiDApp *CartesiDAppSession) WithdrawEther(_receiver common.Address, _value *big.Int) (*types.Transaction, error)
- type CartesiDAppTransactor
- func (_CartesiDApp *CartesiDAppTransactor) ExecuteVoucher(opts *bind.TransactOpts, _destination common.Address, _payload []byte, ...) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactor) MigrateToConsensus(opts *bind.TransactOpts, _newConsensus common.Address) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactor) WithdrawEther(opts *bind.TransactOpts, _receiver common.Address, _value *big.Int) (*types.Transaction, error)
- type CartesiDAppTransactorRaw
- type CartesiDAppTransactorSession
- func (_CartesiDApp *CartesiDAppTransactorSession) ExecuteVoucher(_destination common.Address, _payload []byte, _proof Proof) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactorSession) MigrateToConsensus(_newConsensus common.Address) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactorSession) Receive() (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_CartesiDApp *CartesiDAppTransactorSession) WithdrawEther(_receiver common.Address, _value *big.Int) (*types.Transaction, error)
- type CartesiDAppVoucherExecuted
- type CartesiDAppVoucherExecutedIterator
- type ERC20Portal
- type ERC20PortalCaller
- type ERC20PortalCallerRaw
- type ERC20PortalCallerSession
- type ERC20PortalFilterer
- type ERC20PortalRaw
- func (_ERC20Portal *ERC20PortalRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20Portal *ERC20PortalRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Portal *ERC20PortalRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20PortalSession
- type ERC20PortalTransactor
- type ERC20PortalTransactorRaw
- type ERC20PortalTransactorSession
- 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
- type OutputValidityProof
- type Proof
Constants ¶
This section is empty.
Variables ¶
var CartesiDAppABI = CartesiDAppMetaData.ABI
CartesiDAppABI is the input ABI used to generate the binding from. Deprecated: Use CartesiDAppMetaData.ABI instead.
var CartesiDAppMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"_consensus\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_templateHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"EtherTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectEpochHash\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectOutputHashesRootHash\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectOutputsEpochRootHash\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InputIndexOutOfClaimBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyDApp\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VoucherReexecutionNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIConsensus\",\"name\":\"newConsensus\",\"type\":\"address\"}],\"name\":\"NewConsensus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"voucherId\",\"type\":\"uint256\"}],\"name\":\"VoucherExecuted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_destination\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"},{\"components\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"inputIndexWithinEpoch\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"outputIndexWithinInput\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"outputHashesRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vouchersEpochRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"noticesEpochRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"machineStateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashInOutputHashesSiblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashesInEpochSiblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structOutputValidityProof\",\"name\":\"validity\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"}],\"internalType\":\"structProof\",\"name\":\"_proof\",\"type\":\"tuple\"}],\"name\":\"executeVoucher\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"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\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_notice\",\"type\":\"bytes\"},{\"components\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"inputIndexWithinEpoch\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"outputIndexWithinInput\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"outputHashesRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"vouchersEpochRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"noticesEpochRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"machineStateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashInOutputHashesSiblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"outputHashesInEpochSiblings\",\"type\":\"bytes32[]\"}],\"internalType\":\"structOutputValidityProof\",\"name\":\"validity\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"context\",\"type\":\"bytes\"}],\"internalType\":\"structProof\",\"name\":\"_proof\",\"type\":\"tuple\"}],\"name\":\"validateNotice\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_inputIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_outputIndexWithinInput\",\"type\":\"uint256\"}],\"name\":\"wasVoucherExecuted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"withdrawEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
CartesiDAppMetaData contains all meta data concerning the CartesiDApp contract.
var ERC20PortalABI = ERC20PortalMetaData.ABI
ERC20PortalABI is the input ABI used to generate the binding from. Deprecated: Use ERC20PortalMetaData.ABI instead.
var ERC20PortalMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"_inputBox\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_execLayerData\",\"type\":\"bytes\"}],\"name\":\"depositERC20Tokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getInputBox\",\"outputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
ERC20PortalMetaData contains all meta data concerning the ERC20Portal 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 CartesiDApp ¶
type CartesiDApp struct { CartesiDAppCaller // Read-only binding to the contract CartesiDAppTransactor // Write-only binding to the contract CartesiDAppFilterer // Log filterer for contract events }
CartesiDApp is an auto generated Go binding around an Ethereum contract.
func NewCartesiDApp ¶
func NewCartesiDApp(address common.Address, backend bind.ContractBackend) (*CartesiDApp, error)
NewCartesiDApp creates a new instance of CartesiDApp, bound to a specific deployed contract.
type CartesiDAppCaller ¶
type CartesiDAppCaller struct {
// contains filtered or unexported fields
}
CartesiDAppCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCartesiDAppCaller ¶
func NewCartesiDAppCaller(address common.Address, caller bind.ContractCaller) (*CartesiDAppCaller, error)
NewCartesiDAppCaller creates a new read-only instance of CartesiDApp, bound to a specific deployed contract.
func (*CartesiDAppCaller) GetConsensus ¶
GetConsensus is a free data retrieval call binding the contract method 0x179e740b.
Solidity: function getConsensus() view returns(address)
func (*CartesiDAppCaller) GetTemplateHash ¶
func (_CartesiDApp *CartesiDAppCaller) 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 (*CartesiDAppCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CartesiDAppCaller) SupportsInterface ¶
func (_CartesiDApp *CartesiDAppCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CartesiDAppCaller) ValidateNotice ¶
func (_CartesiDApp *CartesiDAppCaller) ValidateNotice(opts *bind.CallOpts, _notice []byte, _proof Proof) (bool, error)
ValidateNotice is a free data retrieval call binding the contract method 0x96487d46.
Solidity: function validateNotice(bytes _notice, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) view returns(bool)
func (*CartesiDAppCaller) WasVoucherExecuted ¶
func (_CartesiDApp *CartesiDAppCaller) WasVoucherExecuted(opts *bind.CallOpts, _inputIndex *big.Int, _outputIndexWithinInput *big.Int) (bool, error)
WasVoucherExecuted is a free data retrieval call binding the contract method 0x9d9b1145.
Solidity: function wasVoucherExecuted(uint256 _inputIndex, uint256 _outputIndexWithinInput) view returns(bool)
type CartesiDAppCallerRaw ¶
type CartesiDAppCallerRaw struct {
Contract *CartesiDAppCaller // Generic read-only contract binding to access the raw methods on
}
CartesiDAppCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CartesiDAppCallerRaw) Call ¶
func (_CartesiDApp *CartesiDAppCallerRaw) 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 CartesiDAppCallerSession ¶
type CartesiDAppCallerSession struct { Contract *CartesiDAppCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CartesiDAppCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CartesiDAppCallerSession) GetConsensus ¶
func (_CartesiDApp *CartesiDAppCallerSession) GetConsensus() (common.Address, error)
GetConsensus is a free data retrieval call binding the contract method 0x179e740b.
Solidity: function getConsensus() view returns(address)
func (*CartesiDAppCallerSession) GetTemplateHash ¶
func (_CartesiDApp *CartesiDAppCallerSession) GetTemplateHash() ([32]byte, error)
GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.
Solidity: function getTemplateHash() view returns(bytes32)
func (*CartesiDAppCallerSession) Owner ¶
func (_CartesiDApp *CartesiDAppCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CartesiDAppCallerSession) SupportsInterface ¶
func (_CartesiDApp *CartesiDAppCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CartesiDAppCallerSession) ValidateNotice ¶
func (_CartesiDApp *CartesiDAppCallerSession) ValidateNotice(_notice []byte, _proof Proof) (bool, error)
ValidateNotice is a free data retrieval call binding the contract method 0x96487d46.
Solidity: function validateNotice(bytes _notice, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) view returns(bool)
func (*CartesiDAppCallerSession) WasVoucherExecuted ¶
func (_CartesiDApp *CartesiDAppCallerSession) WasVoucherExecuted(_inputIndex *big.Int, _outputIndexWithinInput *big.Int) (bool, error)
WasVoucherExecuted is a free data retrieval call binding the contract method 0x9d9b1145.
Solidity: function wasVoucherExecuted(uint256 _inputIndex, uint256 _outputIndexWithinInput) view returns(bool)
type CartesiDAppFilterer ¶
type CartesiDAppFilterer struct {
// contains filtered or unexported fields
}
CartesiDAppFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCartesiDAppFilterer ¶
func NewCartesiDAppFilterer(address common.Address, filterer bind.ContractFilterer) (*CartesiDAppFilterer, error)
NewCartesiDAppFilterer creates a new log filterer instance of CartesiDApp, bound to a specific deployed contract.
func (*CartesiDAppFilterer) FilterNewConsensus ¶
func (_CartesiDApp *CartesiDAppFilterer) FilterNewConsensus(opts *bind.FilterOpts) (*CartesiDAppNewConsensusIterator, error)
FilterNewConsensus is a free log retrieval operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.
Solidity: event NewConsensus(address newConsensus)
func (*CartesiDAppFilterer) FilterOwnershipTransferred ¶
func (_CartesiDApp *CartesiDAppFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CartesiDAppOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*CartesiDAppFilterer) FilterVoucherExecuted ¶
func (_CartesiDApp *CartesiDAppFilterer) FilterVoucherExecuted(opts *bind.FilterOpts) (*CartesiDAppVoucherExecutedIterator, error)
FilterVoucherExecuted is a free log retrieval operation binding the contract event 0x0eb7ee080f865f1cadc4f54daf58cc3b8879e888832867d13351edcec0fbdc54.
Solidity: event VoucherExecuted(uint256 voucherId)
func (*CartesiDAppFilterer) ParseNewConsensus ¶
func (_CartesiDApp *CartesiDAppFilterer) ParseNewConsensus(log types.Log) (*CartesiDAppNewConsensus, error)
ParseNewConsensus is a log parse operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.
Solidity: event NewConsensus(address newConsensus)
func (*CartesiDAppFilterer) ParseOwnershipTransferred ¶
func (_CartesiDApp *CartesiDAppFilterer) ParseOwnershipTransferred(log types.Log) (*CartesiDAppOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*CartesiDAppFilterer) ParseVoucherExecuted ¶
func (_CartesiDApp *CartesiDAppFilterer) ParseVoucherExecuted(log types.Log) (*CartesiDAppVoucherExecuted, error)
ParseVoucherExecuted is a log parse operation binding the contract event 0x0eb7ee080f865f1cadc4f54daf58cc3b8879e888832867d13351edcec0fbdc54.
Solidity: event VoucherExecuted(uint256 voucherId)
func (*CartesiDAppFilterer) WatchNewConsensus ¶
func (_CartesiDApp *CartesiDAppFilterer) WatchNewConsensus(opts *bind.WatchOpts, sink chan<- *CartesiDAppNewConsensus) (event.Subscription, error)
WatchNewConsensus is a free log subscription operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.
Solidity: event NewConsensus(address newConsensus)
func (*CartesiDAppFilterer) WatchOwnershipTransferred ¶
func (_CartesiDApp *CartesiDAppFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CartesiDAppOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*CartesiDAppFilterer) WatchVoucherExecuted ¶
func (_CartesiDApp *CartesiDAppFilterer) WatchVoucherExecuted(opts *bind.WatchOpts, sink chan<- *CartesiDAppVoucherExecuted) (event.Subscription, error)
WatchVoucherExecuted is a free log subscription operation binding the contract event 0x0eb7ee080f865f1cadc4f54daf58cc3b8879e888832867d13351edcec0fbdc54.
Solidity: event VoucherExecuted(uint256 voucherId)
type CartesiDAppNewConsensus ¶
type CartesiDAppNewConsensus struct { NewConsensus common.Address Raw types.Log // Blockchain specific contextual infos }
CartesiDAppNewConsensus represents a NewConsensus event raised by the CartesiDApp contract.
type CartesiDAppNewConsensusIterator ¶
type CartesiDAppNewConsensusIterator struct { Event *CartesiDAppNewConsensus // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CartesiDAppNewConsensusIterator is returned from FilterNewConsensus and is used to iterate over the raw logs and unpacked data for NewConsensus events raised by the CartesiDApp contract.
func (*CartesiDAppNewConsensusIterator) Close ¶
func (it *CartesiDAppNewConsensusIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CartesiDAppNewConsensusIterator) Error ¶
func (it *CartesiDAppNewConsensusIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CartesiDAppNewConsensusIterator) Next ¶
func (it *CartesiDAppNewConsensusIterator) 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 CartesiDAppOwnershipTransferred ¶
type CartesiDAppOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
CartesiDAppOwnershipTransferred represents a OwnershipTransferred event raised by the CartesiDApp contract.
type CartesiDAppOwnershipTransferredIterator ¶
type CartesiDAppOwnershipTransferredIterator struct { Event *CartesiDAppOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CartesiDAppOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the CartesiDApp contract.
func (*CartesiDAppOwnershipTransferredIterator) Close ¶
func (it *CartesiDAppOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CartesiDAppOwnershipTransferredIterator) Error ¶
func (it *CartesiDAppOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CartesiDAppOwnershipTransferredIterator) Next ¶
func (it *CartesiDAppOwnershipTransferredIterator) 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 CartesiDAppRaw ¶
type CartesiDAppRaw struct {
Contract *CartesiDApp // Generic contract binding to access the raw methods on
}
CartesiDAppRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CartesiDAppRaw) Call ¶
func (_CartesiDApp *CartesiDAppRaw) 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 (*CartesiDAppRaw) Transact ¶
func (_CartesiDApp *CartesiDAppRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CartesiDAppRaw) Transfer ¶
func (_CartesiDApp *CartesiDAppRaw) 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 CartesiDAppSession ¶
type CartesiDAppSession struct { Contract *CartesiDApp // 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 }
CartesiDAppSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CartesiDAppSession) ExecuteVoucher ¶
func (_CartesiDApp *CartesiDAppSession) ExecuteVoucher(_destination common.Address, _payload []byte, _proof Proof) (*types.Transaction, error)
ExecuteVoucher is a paid mutator transaction binding the contract method 0x1250482f.
Solidity: function executeVoucher(address _destination, bytes _payload, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) returns(bool)
func (*CartesiDAppSession) GetConsensus ¶
func (_CartesiDApp *CartesiDAppSession) GetConsensus() (common.Address, error)
GetConsensus is a free data retrieval call binding the contract method 0x179e740b.
Solidity: function getConsensus() view returns(address)
func (*CartesiDAppSession) GetTemplateHash ¶
func (_CartesiDApp *CartesiDAppSession) GetTemplateHash() ([32]byte, error)
GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.
Solidity: function getTemplateHash() view returns(bytes32)
func (*CartesiDAppSession) MigrateToConsensus ¶
func (_CartesiDApp *CartesiDAppSession) 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 (*CartesiDAppSession) OnERC1155BatchReceived ¶
func (_CartesiDApp *CartesiDAppSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*CartesiDAppSession) OnERC1155Received ¶
func (_CartesiDApp *CartesiDAppSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*CartesiDAppSession) OnERC721Received ¶
func (_CartesiDApp *CartesiDAppSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)
func (*CartesiDAppSession) Owner ¶
func (_CartesiDApp *CartesiDAppSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CartesiDAppSession) Receive ¶
func (_CartesiDApp *CartesiDAppSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*CartesiDAppSession) RenounceOwnership ¶
func (_CartesiDApp *CartesiDAppSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*CartesiDAppSession) SupportsInterface ¶
func (_CartesiDApp *CartesiDAppSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CartesiDAppSession) TransferOwnership ¶
func (_CartesiDApp *CartesiDAppSession) 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 (*CartesiDAppSession) ValidateNotice ¶
func (_CartesiDApp *CartesiDAppSession) ValidateNotice(_notice []byte, _proof Proof) (bool, error)
ValidateNotice is a free data retrieval call binding the contract method 0x96487d46.
Solidity: function validateNotice(bytes _notice, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) view returns(bool)
func (*CartesiDAppSession) WasVoucherExecuted ¶
func (_CartesiDApp *CartesiDAppSession) WasVoucherExecuted(_inputIndex *big.Int, _outputIndexWithinInput *big.Int) (bool, error)
WasVoucherExecuted is a free data retrieval call binding the contract method 0x9d9b1145.
Solidity: function wasVoucherExecuted(uint256 _inputIndex, uint256 _outputIndexWithinInput) view returns(bool)
func (*CartesiDAppSession) WithdrawEther ¶
func (_CartesiDApp *CartesiDAppSession) WithdrawEther(_receiver common.Address, _value *big.Int) (*types.Transaction, error)
WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.
Solidity: function withdrawEther(address _receiver, uint256 _value) returns()
type CartesiDAppTransactor ¶
type CartesiDAppTransactor struct {
// contains filtered or unexported fields
}
CartesiDAppTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCartesiDAppTransactor ¶
func NewCartesiDAppTransactor(address common.Address, transactor bind.ContractTransactor) (*CartesiDAppTransactor, error)
NewCartesiDAppTransactor creates a new write-only instance of CartesiDApp, bound to a specific deployed contract.
func (*CartesiDAppTransactor) ExecuteVoucher ¶
func (_CartesiDApp *CartesiDAppTransactor) ExecuteVoucher(opts *bind.TransactOpts, _destination common.Address, _payload []byte, _proof Proof) (*types.Transaction, error)
ExecuteVoucher is a paid mutator transaction binding the contract method 0x1250482f.
Solidity: function executeVoucher(address _destination, bytes _payload, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) returns(bool)
func (*CartesiDAppTransactor) MigrateToConsensus ¶
func (_CartesiDApp *CartesiDAppTransactor) 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 (*CartesiDAppTransactor) OnERC1155BatchReceived ¶
func (_CartesiDApp *CartesiDAppTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*CartesiDAppTransactor) OnERC1155Received ¶
func (_CartesiDApp *CartesiDAppTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*CartesiDAppTransactor) OnERC721Received ¶
func (_CartesiDApp *CartesiDAppTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)
func (*CartesiDAppTransactor) Receive ¶
func (_CartesiDApp *CartesiDAppTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*CartesiDAppTransactor) RenounceOwnership ¶
func (_CartesiDApp *CartesiDAppTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*CartesiDAppTransactor) TransferOwnership ¶
func (_CartesiDApp *CartesiDAppTransactor) 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()
func (*CartesiDAppTransactor) WithdrawEther ¶
func (_CartesiDApp *CartesiDAppTransactor) WithdrawEther(opts *bind.TransactOpts, _receiver common.Address, _value *big.Int) (*types.Transaction, error)
WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.
Solidity: function withdrawEther(address _receiver, uint256 _value) returns()
type CartesiDAppTransactorRaw ¶
type CartesiDAppTransactorRaw struct {
Contract *CartesiDAppTransactor // Generic write-only contract binding to access the raw methods on
}
CartesiDAppTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CartesiDAppTransactorRaw) Transact ¶
func (_CartesiDApp *CartesiDAppTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CartesiDAppTransactorRaw) Transfer ¶
func (_CartesiDApp *CartesiDAppTransactorRaw) 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 CartesiDAppTransactorSession ¶
type CartesiDAppTransactorSession struct { Contract *CartesiDAppTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CartesiDAppTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CartesiDAppTransactorSession) ExecuteVoucher ¶
func (_CartesiDApp *CartesiDAppTransactorSession) ExecuteVoucher(_destination common.Address, _payload []byte, _proof Proof) (*types.Transaction, error)
ExecuteVoucher is a paid mutator transaction binding the contract method 0x1250482f.
Solidity: function executeVoucher(address _destination, bytes _payload, ((uint64,uint64,bytes32,bytes32,bytes32,bytes32,bytes32[],bytes32[]),bytes) _proof) returns(bool)
func (*CartesiDAppTransactorSession) MigrateToConsensus ¶
func (_CartesiDApp *CartesiDAppTransactorSession) 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 (*CartesiDAppTransactorSession) OnERC1155BatchReceived ¶
func (_CartesiDApp *CartesiDAppTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*CartesiDAppTransactorSession) OnERC1155Received ¶
func (_CartesiDApp *CartesiDAppTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*CartesiDAppTransactorSession) OnERC721Received ¶
func (_CartesiDApp *CartesiDAppTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)
func (*CartesiDAppTransactorSession) Receive ¶
func (_CartesiDApp *CartesiDAppTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*CartesiDAppTransactorSession) RenounceOwnership ¶
func (_CartesiDApp *CartesiDAppTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*CartesiDAppTransactorSession) TransferOwnership ¶
func (_CartesiDApp *CartesiDAppTransactorSession) 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 (*CartesiDAppTransactorSession) WithdrawEther ¶
func (_CartesiDApp *CartesiDAppTransactorSession) WithdrawEther(_receiver common.Address, _value *big.Int) (*types.Transaction, error)
WithdrawEther is a paid mutator transaction binding the contract method 0x522f6815.
Solidity: function withdrawEther(address _receiver, uint256 _value) returns()
type CartesiDAppVoucherExecuted ¶
type CartesiDAppVoucherExecuted struct { VoucherId *big.Int Raw types.Log // Blockchain specific contextual infos }
CartesiDAppVoucherExecuted represents a VoucherExecuted event raised by the CartesiDApp contract.
type CartesiDAppVoucherExecutedIterator ¶
type CartesiDAppVoucherExecutedIterator struct { Event *CartesiDAppVoucherExecuted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CartesiDAppVoucherExecutedIterator is returned from FilterVoucherExecuted and is used to iterate over the raw logs and unpacked data for VoucherExecuted events raised by the CartesiDApp contract.
func (*CartesiDAppVoucherExecutedIterator) Close ¶
func (it *CartesiDAppVoucherExecutedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CartesiDAppVoucherExecutedIterator) Error ¶
func (it *CartesiDAppVoucherExecutedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CartesiDAppVoucherExecutedIterator) Next ¶
func (it *CartesiDAppVoucherExecutedIterator) 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 ERC20Portal ¶
type ERC20Portal struct { ERC20PortalCaller // Read-only binding to the contract ERC20PortalTransactor // Write-only binding to the contract ERC20PortalFilterer // Log filterer for contract events }
ERC20Portal is an auto generated Go binding around an Ethereum contract.
func NewERC20Portal ¶
func NewERC20Portal(address common.Address, backend bind.ContractBackend) (*ERC20Portal, error)
NewERC20Portal creates a new instance of ERC20Portal, bound to a specific deployed contract.
type ERC20PortalCaller ¶
type ERC20PortalCaller struct {
// contains filtered or unexported fields
}
ERC20PortalCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20PortalCaller ¶
func NewERC20PortalCaller(address common.Address, caller bind.ContractCaller) (*ERC20PortalCaller, error)
NewERC20PortalCaller creates a new read-only instance of ERC20Portal, bound to a specific deployed contract.
func (*ERC20PortalCaller) GetInputBox ¶
GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.
Solidity: function getInputBox() view returns(address)
type ERC20PortalCallerRaw ¶
type ERC20PortalCallerRaw struct {
Contract *ERC20PortalCaller // Generic read-only contract binding to access the raw methods on
}
ERC20PortalCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20PortalCallerRaw) Call ¶
func (_ERC20Portal *ERC20PortalCallerRaw) 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 ERC20PortalCallerSession ¶
type ERC20PortalCallerSession struct { Contract *ERC20PortalCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20PortalCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20PortalCallerSession) GetInputBox ¶
func (_ERC20Portal *ERC20PortalCallerSession) GetInputBox() (common.Address, error)
GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.
Solidity: function getInputBox() view returns(address)
type ERC20PortalFilterer ¶
type ERC20PortalFilterer struct {
// contains filtered or unexported fields
}
ERC20PortalFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20PortalFilterer ¶
func NewERC20PortalFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20PortalFilterer, error)
NewERC20PortalFilterer creates a new log filterer instance of ERC20Portal, bound to a specific deployed contract.
type ERC20PortalRaw ¶
type ERC20PortalRaw struct {
Contract *ERC20Portal // Generic contract binding to access the raw methods on
}
ERC20PortalRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20PortalRaw) Call ¶
func (_ERC20Portal *ERC20PortalRaw) 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 (*ERC20PortalRaw) Transact ¶
func (_ERC20Portal *ERC20PortalRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20PortalRaw) Transfer ¶
func (_ERC20Portal *ERC20PortalRaw) 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 ERC20PortalSession ¶
type ERC20PortalSession struct { Contract *ERC20Portal // 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 }
ERC20PortalSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20PortalSession) DepositERC20Tokens ¶
func (_ERC20Portal *ERC20PortalSession) DepositERC20Tokens(_token common.Address, _dapp common.Address, _amount *big.Int, _execLayerData []byte) (*types.Transaction, error)
DepositERC20Tokens is a paid mutator transaction binding the contract method 0x95854b81.
Solidity: function depositERC20Tokens(address _token, address _dapp, uint256 _amount, bytes _execLayerData) returns()
func (*ERC20PortalSession) GetInputBox ¶
func (_ERC20Portal *ERC20PortalSession) GetInputBox() (common.Address, error)
GetInputBox is a free data retrieval call binding the contract method 0x00aace9a.
Solidity: function getInputBox() view returns(address)
type ERC20PortalTransactor ¶
type ERC20PortalTransactor struct {
// contains filtered or unexported fields
}
ERC20PortalTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20PortalTransactor ¶
func NewERC20PortalTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20PortalTransactor, error)
NewERC20PortalTransactor creates a new write-only instance of ERC20Portal, bound to a specific deployed contract.
func (*ERC20PortalTransactor) DepositERC20Tokens ¶
func (_ERC20Portal *ERC20PortalTransactor) DepositERC20Tokens(opts *bind.TransactOpts, _token common.Address, _dapp common.Address, _amount *big.Int, _execLayerData []byte) (*types.Transaction, error)
DepositERC20Tokens is a paid mutator transaction binding the contract method 0x95854b81.
Solidity: function depositERC20Tokens(address _token, address _dapp, uint256 _amount, bytes _execLayerData) returns()
type ERC20PortalTransactorRaw ¶
type ERC20PortalTransactorRaw struct {
Contract *ERC20PortalTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20PortalTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20PortalTransactorRaw) Transact ¶
func (_ERC20Portal *ERC20PortalTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20PortalTransactorRaw) Transfer ¶
func (_ERC20Portal *ERC20PortalTransactorRaw) 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 ERC20PortalTransactorSession ¶
type ERC20PortalTransactorSession struct { Contract *ERC20PortalTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20PortalTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20PortalTransactorSession) DepositERC20Tokens ¶
func (_ERC20Portal *ERC20PortalTransactorSession) DepositERC20Tokens(_token common.Address, _dapp common.Address, _amount *big.Int, _execLayerData []byte) (*types.Transaction, error)
DepositERC20Tokens is a paid mutator transaction binding the contract method 0x95854b81.
Solidity: function depositERC20Tokens(address _token, address _dapp, uint256 _amount, bytes _execLayerData) returns()
type InputBox ¶
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 ¶
NewInputBox creates a new instance of InputBox, bound to a specific deployed contract.
type InputBoxCaller ¶
type InputBoxCaller struct {
// contains filtered or unexported fields
}
InputBoxCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInputBoxCaller ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)
type InputBoxFilterer ¶
type InputBoxFilterer struct {
// contains filtered or unexported fields
}
InputBoxFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInputBoxFilterer ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (it *InputBoxInputAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*InputBoxInputAddedIterator) Error ¶
func (it *InputBoxInputAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*InputBoxInputAddedIterator) Next ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
GetNumberOfInputs is a free data retrieval call binding the contract method 0x61a93c87.
Solidity: function getNumberOfInputs(address _dapp) view returns(uint256)
type InputBoxTransactor ¶
type InputBoxTransactor struct {
// contains filtered or unexported fields
}
InputBoxTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInputBoxTransactor ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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)
type OutputValidityProof ¶
type OutputValidityProof struct { InputIndexWithinEpoch uint64 OutputIndexWithinInput uint64 OutputHashesRootHash [32]byte VouchersEpochRootHash [32]byte NoticesEpochRootHash [32]byte MachineStateHash [32]byte OutputHashInOutputHashesSiblings [][32]byte OutputHashesInEpochSiblings [][32]byte }
OutputValidityProof is an auto generated low-level Go binding around an user-defined struct.
type Proof ¶
type Proof struct { Validity OutputValidityProof Context []byte }
Proof is an auto generated low-level Go binding around an user-defined struct.