contracts

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Overview

This package contains the contract bindings for Cartesi Rollups.

Index

Constants

This section is empty.

Variables

View Source
var ApplicationABI = ApplicationMetaData.ABI

ApplicationABI is the input ABI used to generate the binding from. Deprecated: Use ApplicationMetaData.ABI instead.

View Source
var ApplicationMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIConsensus\",\"name\":\"consensus\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"templateHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"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\":[{\"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\":\"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\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

ApplicationMetaData contains all meta data concerning the Application contract.

View Source
var CelestiaRelayABI = CelestiaRelayMetaData.ABI

CelestiaRelayABI is the input ABI used to generate the binding from. Deprecated: Use CelestiaRelayMetaData.ABI instead.

View Source
var CelestiaRelayMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIInputBox\",\"name\":\"_inputBox\",\"type\":\"address\"},{\"internalType\":\"contractIDAOracle\",\"name\":\"_blobstreamX\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_dapp\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"digests\",\"type\":\"bytes32[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"beginKey\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endKey\",\"type\":\"uint256\"},{\"components\":[{\"components\":[{\"internalType\":\"bytes1\",\"name\":\"version\",\"type\":\"bytes1\"},{\"internalType\":\"bytes28\",\"name\":\"id\",\"type\":\"bytes28\"}],\"internalType\":\"structNamespace\",\"name\":\"min\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes1\",\"name\":\"version\",\"type\":\"bytes1\"},{\"internalType\":\"bytes28\",\"name\":\"id\",\"type\":\"bytes28\"}],\"internalType\":\"structNamespace\",\"name\":\"max\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"}],\"internalType\":\"structNamespaceNode[]\",\"name\":\"sideNodes\",\"type\":\"tuple[]\"}],\"internalType\":\"structNamespaceMerkleMultiproof[]\",\"name\":\"shareProofs\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes1\",\"name\":\"version\",\"type\":\"bytes1\"},{\"internalType\":\"bytes28\",\"name\":\"id\",\"type\":\"bytes28\"}],\"internalType\":\"structNamespace\",\"name\":\"namespace\",\"type\":\"tuple\"},{\"components\":[{\"components\":[{\"internalType\":\"bytes1\",\"name\":\"version\",\"type\":\"bytes1\"},{\"internalType\":\"bytes28\",\"name\":\"id\",\"type\":\"bytes28\"}],\"internalType\":\"structNamespace\",\"name\":\"min\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes1\",\"name\":\"version\",\"type\":\"bytes1\"},{\"internalType\":\"bytes28\",\"name\":\"id\",\"type\":\"bytes28\"}],\"internalType\":\"structNamespace\",\"name\":\"max\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"}],\"internalType\":\"structNamespaceNode[]\",\"name\":\"rowRoots\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"sideNodes\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"key\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numLeaves\",\"type\":\"uint256\"}],\"internalType\":\"structBinaryMerkleProof[]\",\"name\":\"rowProofs\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"tupleRootNonce\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"height\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"dataRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structDataRootTuple\",\"name\":\"tuple\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32[]\",\"name\":\"sideNodes\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"key\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numLeaves\",\"type\":\"uint256\"}],\"internalType\":\"structBinaryMerkleProof\",\"name\":\"proof\",\"type\":\"tuple\"}],\"internalType\":\"structAttestationProof\",\"name\":\"attestationProof\",\"type\":\"tuple\"}],\"internalType\":\"structShareDigestsProof\",\"name\":\"_proof\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"_execLayerData\",\"type\":\"bytes\"}],\"name\":\"relayShares\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

CelestiaRelayMetaData contains all meta data concerning the CelestiaRelay contract.

View Source
var InputBoxABI = InputBoxMetaData.ABI

InputBoxABI is the input ABI used to generate the binding from. Deprecated: Use InputBoxMetaData.ABI instead.

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

InputBoxMetaData contains all meta data concerning the InputBox contract.

View Source
var InputsABI = InputsMetaData.ABI

InputsABI is the input ABI used to generate the binding from. Deprecated: Use InputsMetaData.ABI instead.

View Source
var InputsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"appContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"prevRandao\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"EvmAdvance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

InputsMetaData contains all meta data concerning the Inputs contract.

View Source
var OutputsABI = OutputsMetaData.ABI

OutputsABI is the input ABI used to generate the binding from. Deprecated: Use OutputsMetaData.ABI instead.

View Source
var OutputsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"destination\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"DelegateCallVoucher\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"Notice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"destination\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"Voucher\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

OutputsMetaData contains all meta data concerning the Outputs contract.

Functions

This section is empty.

Types

type Application added in v1.3.0

type Application struct {
	ApplicationCaller     // Read-only binding to the contract
	ApplicationTransactor // Write-only binding to the contract
	ApplicationFilterer   // Log filterer for contract events
}

Application is an auto generated Go binding around an Ethereum contract.

func NewApplication added in v1.3.0

func NewApplication(address common.Address, backend bind.ContractBackend) (*Application, error)

NewApplication creates a new instance of Application, bound to a specific deployed contract.

type ApplicationCaller added in v1.3.0

type ApplicationCaller struct {
	// contains filtered or unexported fields
}

ApplicationCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewApplicationCaller added in v1.3.0

func NewApplicationCaller(address common.Address, caller bind.ContractCaller) (*ApplicationCaller, error)

NewApplicationCaller creates a new read-only instance of Application, bound to a specific deployed contract.

func (*ApplicationCaller) GetConsensus added in v1.3.0

func (_Application *ApplicationCaller) GetConsensus(opts *bind.CallOpts) (common.Address, error)

GetConsensus is a free data retrieval call binding the contract method 0x179e740b.

Solidity: function getConsensus() view returns(address)

func (*ApplicationCaller) GetTemplateHash added in v1.3.0

func (_Application *ApplicationCaller) 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 (*ApplicationCaller) Owner added in v1.3.0

func (_Application *ApplicationCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ApplicationCaller) SupportsInterface added in v1.3.0

func (_Application *ApplicationCaller) 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 (*ApplicationCaller) ValidateOutput added in v1.3.0

func (_Application *ApplicationCaller) 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 (*ApplicationCaller) ValidateOutputHash added in v1.3.0

func (_Application *ApplicationCaller) 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 (*ApplicationCaller) WasOutputExecuted added in v1.3.0

func (_Application *ApplicationCaller) 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 ApplicationCallerRaw added in v1.3.0

type ApplicationCallerRaw struct {
	Contract *ApplicationCaller // Generic read-only contract binding to access the raw methods on
}

ApplicationCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ApplicationCallerRaw) Call added in v1.3.0

func (_Application *ApplicationCallerRaw) 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 ApplicationCallerSession added in v1.3.0

type ApplicationCallerSession struct {
	Contract *ApplicationCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

ApplicationCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ApplicationCallerSession) GetConsensus added in v1.3.0

func (_Application *ApplicationCallerSession) GetConsensus() (common.Address, error)

GetConsensus is a free data retrieval call binding the contract method 0x179e740b.

Solidity: function getConsensus() view returns(address)

func (*ApplicationCallerSession) GetTemplateHash added in v1.3.0

func (_Application *ApplicationCallerSession) GetTemplateHash() ([32]byte, error)

GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.

Solidity: function getTemplateHash() view returns(bytes32)

func (*ApplicationCallerSession) Owner added in v1.3.0

func (_Application *ApplicationCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ApplicationCallerSession) SupportsInterface added in v1.3.0

func (_Application *ApplicationCallerSession) 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 (*ApplicationCallerSession) ValidateOutput added in v1.3.0

func (_Application *ApplicationCallerSession) 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 (*ApplicationCallerSession) ValidateOutputHash added in v1.3.0

func (_Application *ApplicationCallerSession) 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 (*ApplicationCallerSession) WasOutputExecuted added in v1.3.0

func (_Application *ApplicationCallerSession) 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 ApplicationFilterer added in v1.3.0

type ApplicationFilterer struct {
	// contains filtered or unexported fields
}

ApplicationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewApplicationFilterer added in v1.3.0

func NewApplicationFilterer(address common.Address, filterer bind.ContractFilterer) (*ApplicationFilterer, error)

NewApplicationFilterer creates a new log filterer instance of Application, bound to a specific deployed contract.

func (*ApplicationFilterer) FilterNewConsensus added in v1.3.0

func (_Application *ApplicationFilterer) FilterNewConsensus(opts *bind.FilterOpts) (*ApplicationNewConsensusIterator, error)

FilterNewConsensus is a free log retrieval operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.

Solidity: event NewConsensus(address newConsensus)

func (*ApplicationFilterer) FilterOutputExecuted added in v1.3.0

func (_Application *ApplicationFilterer) FilterOutputExecuted(opts *bind.FilterOpts) (*ApplicationOutputExecutedIterator, error)

FilterOutputExecuted is a free log retrieval operation binding the contract event 0xcad1f361c6e84664e892230291c8e8eb9555683e0a6a5ce8ea7b204ac0ac3676.

Solidity: event OutputExecuted(uint64 outputIndex, bytes output)

func (*ApplicationFilterer) FilterOwnershipTransferred added in v1.3.0

func (_Application *ApplicationFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ApplicationOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ApplicationFilterer) ParseNewConsensus added in v1.3.0

func (_Application *ApplicationFilterer) ParseNewConsensus(log types.Log) (*ApplicationNewConsensus, error)

ParseNewConsensus is a log parse operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.

Solidity: event NewConsensus(address newConsensus)

func (*ApplicationFilterer) ParseOutputExecuted added in v1.3.0

func (_Application *ApplicationFilterer) ParseOutputExecuted(log types.Log) (*ApplicationOutputExecuted, error)

ParseOutputExecuted is a log parse operation binding the contract event 0xcad1f361c6e84664e892230291c8e8eb9555683e0a6a5ce8ea7b204ac0ac3676.

Solidity: event OutputExecuted(uint64 outputIndex, bytes output)

func (*ApplicationFilterer) ParseOwnershipTransferred added in v1.3.0

func (_Application *ApplicationFilterer) ParseOwnershipTransferred(log types.Log) (*ApplicationOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ApplicationFilterer) WatchNewConsensus added in v1.3.0

func (_Application *ApplicationFilterer) WatchNewConsensus(opts *bind.WatchOpts, sink chan<- *ApplicationNewConsensus) (event.Subscription, error)

WatchNewConsensus is a free log subscription operation binding the contract event 0x4991c6f37185659e276ff918a96f3e20e6c5abcd8c9aab450dc19c2f7ad35cb5.

Solidity: event NewConsensus(address newConsensus)

func (*ApplicationFilterer) WatchOutputExecuted added in v1.3.0

func (_Application *ApplicationFilterer) WatchOutputExecuted(opts *bind.WatchOpts, sink chan<- *ApplicationOutputExecuted) (event.Subscription, error)

WatchOutputExecuted is a free log subscription operation binding the contract event 0xcad1f361c6e84664e892230291c8e8eb9555683e0a6a5ce8ea7b204ac0ac3676.

Solidity: event OutputExecuted(uint64 outputIndex, bytes output)

func (*ApplicationFilterer) WatchOwnershipTransferred added in v1.3.0

func (_Application *ApplicationFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ApplicationOwnershipTransferred, 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)

type ApplicationNewConsensus added in v1.3.0

type ApplicationNewConsensus struct {
	NewConsensus common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

ApplicationNewConsensus represents a NewConsensus event raised by the Application contract.

type ApplicationNewConsensusIterator added in v1.3.0

type ApplicationNewConsensusIterator struct {
	Event *ApplicationNewConsensus // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ApplicationNewConsensusIterator is returned from FilterNewConsensus and is used to iterate over the raw logs and unpacked data for NewConsensus events raised by the Application contract.

func (*ApplicationNewConsensusIterator) Close added in v1.3.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*ApplicationNewConsensusIterator) Error added in v1.3.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ApplicationNewConsensusIterator) Next added in v1.3.0

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 ApplicationOutputExecuted added in v1.3.0

type ApplicationOutputExecuted struct {
	OutputIndex uint64
	Output      []byte
	Raw         types.Log // Blockchain specific contextual infos
}

ApplicationOutputExecuted represents a OutputExecuted event raised by the Application contract.

type ApplicationOutputExecutedIterator added in v1.3.0

type ApplicationOutputExecutedIterator struct {
	Event *ApplicationOutputExecuted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ApplicationOutputExecutedIterator is returned from FilterOutputExecuted and is used to iterate over the raw logs and unpacked data for OutputExecuted events raised by the Application contract.

func (*ApplicationOutputExecutedIterator) Close added in v1.3.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*ApplicationOutputExecutedIterator) Error added in v1.3.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ApplicationOutputExecutedIterator) Next added in v1.3.0

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 ApplicationOwnershipTransferred added in v1.3.0

type ApplicationOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ApplicationOwnershipTransferred represents a OwnershipTransferred event raised by the Application contract.

type ApplicationOwnershipTransferredIterator added in v1.3.0

type ApplicationOwnershipTransferredIterator struct {
	Event *ApplicationOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ApplicationOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Application contract.

func (*ApplicationOwnershipTransferredIterator) Close added in v1.3.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*ApplicationOwnershipTransferredIterator) Error added in v1.3.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ApplicationOwnershipTransferredIterator) Next added in v1.3.0

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 ApplicationRaw added in v1.3.0

type ApplicationRaw struct {
	Contract *Application // Generic contract binding to access the raw methods on
}

ApplicationRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ApplicationRaw) Call added in v1.3.0

func (_Application *ApplicationRaw) 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 (*ApplicationRaw) Transact added in v1.3.0

func (_Application *ApplicationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ApplicationRaw) Transfer added in v1.3.0

func (_Application *ApplicationRaw) 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 ApplicationSession added in v1.3.0

type ApplicationSession struct {
	Contract     *Application      // 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
}

ApplicationSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ApplicationSession) ExecuteOutput added in v1.3.0

func (_Application *ApplicationSession) 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 (*ApplicationSession) GetConsensus added in v1.3.0

func (_Application *ApplicationSession) GetConsensus() (common.Address, error)

GetConsensus is a free data retrieval call binding the contract method 0x179e740b.

Solidity: function getConsensus() view returns(address)

func (*ApplicationSession) GetTemplateHash added in v1.3.0

func (_Application *ApplicationSession) GetTemplateHash() ([32]byte, error)

GetTemplateHash is a free data retrieval call binding the contract method 0x61b12c66.

Solidity: function getTemplateHash() view returns(bytes32)

func (*ApplicationSession) MigrateToConsensus added in v1.3.0

func (_Application *ApplicationSession) 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 (*ApplicationSession) OnERC1155BatchReceived added in v1.3.0

func (_Application *ApplicationSession) 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 (*ApplicationSession) OnERC1155Received added in v1.3.0

func (_Application *ApplicationSession) 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 (*ApplicationSession) OnERC721Received added in v1.3.0

func (_Application *ApplicationSession) 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 (*ApplicationSession) Owner added in v1.3.0

func (_Application *ApplicationSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ApplicationSession) Receive added in v1.3.0

func (_Application *ApplicationSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*ApplicationSession) RenounceOwnership added in v1.3.0

func (_Application *ApplicationSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ApplicationSession) SupportsInterface added in v1.3.0

func (_Application *ApplicationSession) 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 (*ApplicationSession) TransferOwnership added in v1.3.0

func (_Application *ApplicationSession) 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 (*ApplicationSession) ValidateOutput added in v1.3.0

func (_Application *ApplicationSession) 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 (*ApplicationSession) ValidateOutputHash added in v1.3.0

func (_Application *ApplicationSession) 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 (*ApplicationSession) WasOutputExecuted added in v1.3.0

func (_Application *ApplicationSession) 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 ApplicationTransactor added in v1.3.0

type ApplicationTransactor struct {
	// contains filtered or unexported fields
}

ApplicationTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewApplicationTransactor added in v1.3.0

func NewApplicationTransactor(address common.Address, transactor bind.ContractTransactor) (*ApplicationTransactor, error)

NewApplicationTransactor creates a new write-only instance of Application, bound to a specific deployed contract.

func (*ApplicationTransactor) ExecuteOutput added in v1.3.0

func (_Application *ApplicationTransactor) 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 (*ApplicationTransactor) MigrateToConsensus added in v1.3.0

func (_Application *ApplicationTransactor) 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 (*ApplicationTransactor) OnERC1155BatchReceived added in v1.3.0

func (_Application *ApplicationTransactor) 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 (*ApplicationTransactor) OnERC1155Received added in v1.3.0

func (_Application *ApplicationTransactor) 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 (*ApplicationTransactor) OnERC721Received added in v1.3.0

func (_Application *ApplicationTransactor) 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 (*ApplicationTransactor) Receive added in v1.3.0

func (_Application *ApplicationTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*ApplicationTransactor) RenounceOwnership added in v1.3.0

func (_Application *ApplicationTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ApplicationTransactor) TransferOwnership added in v1.3.0

func (_Application *ApplicationTransactor) 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 ApplicationTransactorRaw added in v1.3.0

type ApplicationTransactorRaw struct {
	Contract *ApplicationTransactor // Generic write-only contract binding to access the raw methods on
}

ApplicationTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ApplicationTransactorRaw) Transact added in v1.3.0

func (_Application *ApplicationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ApplicationTransactorRaw) Transfer added in v1.3.0

func (_Application *ApplicationTransactorRaw) 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 ApplicationTransactorSession added in v1.3.0

type ApplicationTransactorSession struct {
	Contract     *ApplicationTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

ApplicationTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ApplicationTransactorSession) ExecuteOutput added in v1.3.0

func (_Application *ApplicationTransactorSession) 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 (*ApplicationTransactorSession) MigrateToConsensus added in v1.3.0

func (_Application *ApplicationTransactorSession) 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 (*ApplicationTransactorSession) OnERC1155BatchReceived added in v1.3.0

func (_Application *ApplicationTransactorSession) 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 (*ApplicationTransactorSession) OnERC1155Received added in v1.3.0

func (_Application *ApplicationTransactorSession) 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 (*ApplicationTransactorSession) OnERC721Received added in v1.3.0

func (_Application *ApplicationTransactorSession) 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 (*ApplicationTransactorSession) Receive added in v1.3.0

func (_Application *ApplicationTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*ApplicationTransactorSession) RenounceOwnership added in v1.3.0

func (_Application *ApplicationTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ApplicationTransactorSession) TransferOwnership added in v1.3.0

func (_Application *ApplicationTransactorSession) 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 AttestationProof added in v1.3.0

type AttestationProof struct {
	TupleRootNonce *big.Int
	Tuple          DataRootTuple
	Proof          BinaryMerkleProof
}

AttestationProof is an auto generated low-level Go binding around an user-defined struct.

type BinaryMerkleProof added in v1.3.0

type BinaryMerkleProof struct {
	SideNodes [][32]byte
	Key       *big.Int
	NumLeaves *big.Int
}

BinaryMerkleProof is an auto generated low-level Go binding around an user-defined struct.

type CelestiaRelay added in v1.3.0

type CelestiaRelay struct {
	CelestiaRelayCaller     // Read-only binding to the contract
	CelestiaRelayTransactor // Write-only binding to the contract
	CelestiaRelayFilterer   // Log filterer for contract events
}

CelestiaRelay is an auto generated Go binding around an Ethereum contract.

func NewCelestiaRelay added in v1.3.0

func NewCelestiaRelay(address common.Address, backend bind.ContractBackend) (*CelestiaRelay, error)

NewCelestiaRelay creates a new instance of CelestiaRelay, bound to a specific deployed contract.

type CelestiaRelayCaller added in v1.3.0

type CelestiaRelayCaller struct {
	// contains filtered or unexported fields
}

CelestiaRelayCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewCelestiaRelayCaller added in v1.3.0

func NewCelestiaRelayCaller(address common.Address, caller bind.ContractCaller) (*CelestiaRelayCaller, error)

NewCelestiaRelayCaller creates a new read-only instance of CelestiaRelay, bound to a specific deployed contract.

type CelestiaRelayCallerRaw added in v1.3.0

type CelestiaRelayCallerRaw struct {
	Contract *CelestiaRelayCaller // Generic read-only contract binding to access the raw methods on
}

CelestiaRelayCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*CelestiaRelayCallerRaw) Call added in v1.3.0

func (_CelestiaRelay *CelestiaRelayCallerRaw) 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 CelestiaRelayCallerSession added in v1.3.0

type CelestiaRelayCallerSession struct {
	Contract *CelestiaRelayCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

CelestiaRelayCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type CelestiaRelayFilterer added in v1.3.0

type CelestiaRelayFilterer struct {
	// contains filtered or unexported fields
}

CelestiaRelayFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewCelestiaRelayFilterer added in v1.3.0

func NewCelestiaRelayFilterer(address common.Address, filterer bind.ContractFilterer) (*CelestiaRelayFilterer, error)

NewCelestiaRelayFilterer creates a new log filterer instance of CelestiaRelay, bound to a specific deployed contract.

type CelestiaRelayRaw added in v1.3.0

type CelestiaRelayRaw struct {
	Contract *CelestiaRelay // Generic contract binding to access the raw methods on
}

CelestiaRelayRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*CelestiaRelayRaw) Call added in v1.3.0

func (_CelestiaRelay *CelestiaRelayRaw) 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 (*CelestiaRelayRaw) Transact added in v1.3.0

func (_CelestiaRelay *CelestiaRelayRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CelestiaRelayRaw) Transfer added in v1.3.0

func (_CelestiaRelay *CelestiaRelayRaw) 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 CelestiaRelaySession added in v1.3.0

type CelestiaRelaySession struct {
	Contract     *CelestiaRelay    // 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
}

CelestiaRelaySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*CelestiaRelaySession) RelayShares added in v1.3.0

func (_CelestiaRelay *CelestiaRelaySession) RelayShares(_dapp common.Address, _proof ShareDigestsProof, _execLayerData []byte) (*types.Transaction, error)

RelayShares is a paid mutator transaction binding the contract method 0xc417c685.

Solidity: function relayShares(address _dapp, (bytes32[],(uint256,uint256,((bytes1,bytes28),(bytes1,bytes28),bytes32)[])[],(bytes1,bytes28),((bytes1,bytes28),(bytes1,bytes28),bytes32)[],(bytes32[],uint256,uint256)[],(uint256,(uint256,bytes32),(bytes32[],uint256,uint256))) _proof, bytes _execLayerData) returns(bytes32)

type CelestiaRelayTransactor added in v1.3.0

type CelestiaRelayTransactor struct {
	// contains filtered or unexported fields
}

CelestiaRelayTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewCelestiaRelayTransactor added in v1.3.0

func NewCelestiaRelayTransactor(address common.Address, transactor bind.ContractTransactor) (*CelestiaRelayTransactor, error)

NewCelestiaRelayTransactor creates a new write-only instance of CelestiaRelay, bound to a specific deployed contract.

func (*CelestiaRelayTransactor) RelayShares added in v1.3.0

func (_CelestiaRelay *CelestiaRelayTransactor) RelayShares(opts *bind.TransactOpts, _dapp common.Address, _proof ShareDigestsProof, _execLayerData []byte) (*types.Transaction, error)

RelayShares is a paid mutator transaction binding the contract method 0xc417c685.

Solidity: function relayShares(address _dapp, (bytes32[],(uint256,uint256,((bytes1,bytes28),(bytes1,bytes28),bytes32)[])[],(bytes1,bytes28),((bytes1,bytes28),(bytes1,bytes28),bytes32)[],(bytes32[],uint256,uint256)[],(uint256,(uint256,bytes32),(bytes32[],uint256,uint256))) _proof, bytes _execLayerData) returns(bytes32)

type CelestiaRelayTransactorRaw added in v1.3.0

type CelestiaRelayTransactorRaw struct {
	Contract *CelestiaRelayTransactor // Generic write-only contract binding to access the raw methods on
}

CelestiaRelayTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*CelestiaRelayTransactorRaw) Transact added in v1.3.0

func (_CelestiaRelay *CelestiaRelayTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CelestiaRelayTransactorRaw) Transfer added in v1.3.0

func (_CelestiaRelay *CelestiaRelayTransactorRaw) 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 CelestiaRelayTransactorSession added in v1.3.0

type CelestiaRelayTransactorSession struct {
	Contract     *CelestiaRelayTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

CelestiaRelayTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*CelestiaRelayTransactorSession) RelayShares added in v1.3.0

func (_CelestiaRelay *CelestiaRelayTransactorSession) RelayShares(_dapp common.Address, _proof ShareDigestsProof, _execLayerData []byte) (*types.Transaction, error)

RelayShares is a paid mutator transaction binding the contract method 0xc417c685.

Solidity: function relayShares(address _dapp, (bytes32[],(uint256,uint256,((bytes1,bytes28),(bytes1,bytes28),bytes32)[])[],(bytes1,bytes28),((bytes1,bytes28),(bytes1,bytes28),bytes32)[],(bytes32[],uint256,uint256)[],(uint256,(uint256,bytes32),(bytes32[],uint256,uint256))) _proof, bytes _execLayerData) returns(bytes32)

type DataRootTuple added in v1.3.0

type DataRootTuple struct {
	Height   *big.Int
	DataRoot [32]byte
}

DataRootTuple is an auto generated low-level Go binding around an user-defined struct.

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

func NewInputBox(address common.Address, backend bind.ContractBackend) (*InputBox, error)

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

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

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

func (*InputBoxCaller) GetNumberOfInputs

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

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

Solidity: function getNumberOfInputs(address appContract) view returns(uint256)

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

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

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

func (*InputBoxCallerSession) GetNumberOfInputs

func (_InputBox *InputBoxCallerSession) GetNumberOfInputs(appContract common.Address) (*big.Int, error)

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

Solidity: function getNumberOfInputs(address appContract) view returns(uint256)

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

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

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

func (*InputBoxFilterer) ParseInputAdded

func (_InputBox *InputBoxFilterer) ParseInputAdded(log types.Log) (*InputBoxInputAdded, error)

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

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

func (*InputBoxFilterer) WatchInputAdded

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

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

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

type InputBoxInputAdded

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

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

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

func (*InputBoxSession) GetInputHash

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

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

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

func (*InputBoxSession) GetNumberOfInputs

func (_InputBox *InputBoxSession) GetNumberOfInputs(appContract common.Address) (*big.Int, error)

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

Solidity: function getNumberOfInputs(address appContract) view returns(uint256)

type 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, appContract common.Address, payload []byte) (*types.Transaction, error)

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

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

type 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(appContract common.Address, payload []byte) (*types.Transaction, error)

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

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

type Inputs added in v1.3.0

type Inputs struct {
	InputsCaller     // Read-only binding to the contract
	InputsTransactor // Write-only binding to the contract
	InputsFilterer   // Log filterer for contract events
}

Inputs is an auto generated Go binding around an Ethereum contract.

func NewInputs added in v1.3.0

func NewInputs(address common.Address, backend bind.ContractBackend) (*Inputs, error)

NewInputs creates a new instance of Inputs, bound to a specific deployed contract.

type InputsCaller added in v1.3.0

type InputsCaller struct {
	// contains filtered or unexported fields
}

InputsCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewInputsCaller added in v1.3.0

func NewInputsCaller(address common.Address, caller bind.ContractCaller) (*InputsCaller, error)

NewInputsCaller creates a new read-only instance of Inputs, bound to a specific deployed contract.

type InputsCallerRaw added in v1.3.0

type InputsCallerRaw struct {
	Contract *InputsCaller // Generic read-only contract binding to access the raw methods on
}

InputsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*InputsCallerRaw) Call added in v1.3.0

func (_Inputs *InputsCallerRaw) 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 InputsCallerSession added in v1.3.0

type InputsCallerSession struct {
	Contract *InputsCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

InputsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type InputsFilterer added in v1.3.0

type InputsFilterer struct {
	// contains filtered or unexported fields
}

InputsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewInputsFilterer added in v1.3.0

func NewInputsFilterer(address common.Address, filterer bind.ContractFilterer) (*InputsFilterer, error)

NewInputsFilterer creates a new log filterer instance of Inputs, bound to a specific deployed contract.

type InputsRaw added in v1.3.0

type InputsRaw struct {
	Contract *Inputs // Generic contract binding to access the raw methods on
}

InputsRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*InputsRaw) Call added in v1.3.0

func (_Inputs *InputsRaw) 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 (*InputsRaw) Transact added in v1.3.0

func (_Inputs *InputsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*InputsRaw) Transfer added in v1.3.0

func (_Inputs *InputsRaw) 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 InputsSession added in v1.3.0

type InputsSession struct {
	Contract     *Inputs           // 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
}

InputsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*InputsSession) EvmAdvance added in v1.3.0

func (_Inputs *InputsSession) EvmAdvance(chainId *big.Int, appContract common.Address, msgSender common.Address, blockNumber *big.Int, blockTimestamp *big.Int, prevRandao *big.Int, index *big.Int, payload []byte) (*types.Transaction, error)

EvmAdvance is a paid mutator transaction binding the contract method 0x415bf363.

Solidity: function EvmAdvance(uint256 chainId, address appContract, address msgSender, uint256 blockNumber, uint256 blockTimestamp, uint256 prevRandao, uint256 index, bytes payload) returns()

type InputsTransactor added in v1.3.0

type InputsTransactor struct {
	// contains filtered or unexported fields
}

InputsTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewInputsTransactor added in v1.3.0

func NewInputsTransactor(address common.Address, transactor bind.ContractTransactor) (*InputsTransactor, error)

NewInputsTransactor creates a new write-only instance of Inputs, bound to a specific deployed contract.

func (*InputsTransactor) EvmAdvance added in v1.3.0

func (_Inputs *InputsTransactor) EvmAdvance(opts *bind.TransactOpts, chainId *big.Int, appContract common.Address, msgSender common.Address, blockNumber *big.Int, blockTimestamp *big.Int, prevRandao *big.Int, index *big.Int, payload []byte) (*types.Transaction, error)

EvmAdvance is a paid mutator transaction binding the contract method 0x415bf363.

Solidity: function EvmAdvance(uint256 chainId, address appContract, address msgSender, uint256 blockNumber, uint256 blockTimestamp, uint256 prevRandao, uint256 index, bytes payload) returns()

type InputsTransactorRaw added in v1.3.0

type InputsTransactorRaw struct {
	Contract *InputsTransactor // Generic write-only contract binding to access the raw methods on
}

InputsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*InputsTransactorRaw) Transact added in v1.3.0

func (_Inputs *InputsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*InputsTransactorRaw) Transfer added in v1.3.0

func (_Inputs *InputsTransactorRaw) 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 InputsTransactorSession added in v1.3.0

type InputsTransactorSession struct {
	Contract     *InputsTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

InputsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*InputsTransactorSession) EvmAdvance added in v1.3.0

func (_Inputs *InputsTransactorSession) EvmAdvance(chainId *big.Int, appContract common.Address, msgSender common.Address, blockNumber *big.Int, blockTimestamp *big.Int, prevRandao *big.Int, index *big.Int, payload []byte) (*types.Transaction, error)

EvmAdvance is a paid mutator transaction binding the contract method 0x415bf363.

Solidity: function EvmAdvance(uint256 chainId, address appContract, address msgSender, uint256 blockNumber, uint256 blockTimestamp, uint256 prevRandao, uint256 index, bytes payload) returns()

type Namespace added in v1.3.0

type Namespace struct {
	Version [1]byte
	Id      [28]byte
}

Namespace is an auto generated low-level Go binding around an user-defined struct.

type NamespaceMerkleMultiproof added in v1.3.0

type NamespaceMerkleMultiproof struct {
	BeginKey  *big.Int
	EndKey    *big.Int
	SideNodes []NamespaceNode
}

NamespaceMerkleMultiproof is an auto generated low-level Go binding around an user-defined struct.

type NamespaceNode added in v1.3.0

type NamespaceNode struct {
	Min    Namespace
	Max    Namespace
	Digest [32]byte
}

NamespaceNode is an auto generated low-level Go binding around an user-defined struct.

type OutputValidityProof added in v1.3.0

type OutputValidityProof struct {
	OutputIndex          uint64
	OutputHashesSiblings [][32]byte
}

OutputValidityProof is an auto generated low-level Go binding around an user-defined struct.

type Outputs added in v1.3.0

type Outputs struct {
	OutputsCaller     // Read-only binding to the contract
	OutputsTransactor // Write-only binding to the contract
	OutputsFilterer   // Log filterer for contract events
}

Outputs is an auto generated Go binding around an Ethereum contract.

func NewOutputs added in v1.3.0

func NewOutputs(address common.Address, backend bind.ContractBackend) (*Outputs, error)

NewOutputs creates a new instance of Outputs, bound to a specific deployed contract.

type OutputsCaller added in v1.3.0

type OutputsCaller struct {
	// contains filtered or unexported fields
}

OutputsCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewOutputsCaller added in v1.3.0

func NewOutputsCaller(address common.Address, caller bind.ContractCaller) (*OutputsCaller, error)

NewOutputsCaller creates a new read-only instance of Outputs, bound to a specific deployed contract.

type OutputsCallerRaw added in v1.3.0

type OutputsCallerRaw struct {
	Contract *OutputsCaller // Generic read-only contract binding to access the raw methods on
}

OutputsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*OutputsCallerRaw) Call added in v1.3.0

func (_Outputs *OutputsCallerRaw) 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 OutputsCallerSession added in v1.3.0

type OutputsCallerSession struct {
	Contract *OutputsCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

OutputsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type OutputsFilterer added in v1.3.0

type OutputsFilterer struct {
	// contains filtered or unexported fields
}

OutputsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewOutputsFilterer added in v1.3.0

func NewOutputsFilterer(address common.Address, filterer bind.ContractFilterer) (*OutputsFilterer, error)

NewOutputsFilterer creates a new log filterer instance of Outputs, bound to a specific deployed contract.

type OutputsRaw added in v1.3.0

type OutputsRaw struct {
	Contract *Outputs // Generic contract binding to access the raw methods on
}

OutputsRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*OutputsRaw) Call added in v1.3.0

func (_Outputs *OutputsRaw) 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 (*OutputsRaw) Transact added in v1.3.0

func (_Outputs *OutputsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OutputsRaw) Transfer added in v1.3.0

func (_Outputs *OutputsRaw) 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 OutputsSession added in v1.3.0

type OutputsSession struct {
	Contract     *Outputs          // 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
}

OutputsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*OutputsSession) DelegateCallVoucher added in v1.3.0

func (_Outputs *OutputsSession) DelegateCallVoucher(destination common.Address, payload []byte) (*types.Transaction, error)

DelegateCallVoucher is a paid mutator transaction binding the contract method 0x10321e8b.

Solidity: function DelegateCallVoucher(address destination, bytes payload) returns()

func (*OutputsSession) Notice added in v1.3.0

func (_Outputs *OutputsSession) Notice(payload []byte) (*types.Transaction, error)

Notice is a paid mutator transaction binding the contract method 0xc258d6e5.

Solidity: function Notice(bytes payload) returns()

func (*OutputsSession) Voucher added in v1.3.0

func (_Outputs *OutputsSession) Voucher(destination common.Address, value *big.Int, payload []byte) (*types.Transaction, error)

Voucher is a paid mutator transaction binding the contract method 0x237a816f.

Solidity: function Voucher(address destination, uint256 value, bytes payload) returns()

type OutputsTransactor added in v1.3.0

type OutputsTransactor struct {
	// contains filtered or unexported fields
}

OutputsTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewOutputsTransactor added in v1.3.0

func NewOutputsTransactor(address common.Address, transactor bind.ContractTransactor) (*OutputsTransactor, error)

NewOutputsTransactor creates a new write-only instance of Outputs, bound to a specific deployed contract.

func (*OutputsTransactor) DelegateCallVoucher added in v1.3.0

func (_Outputs *OutputsTransactor) DelegateCallVoucher(opts *bind.TransactOpts, destination common.Address, payload []byte) (*types.Transaction, error)

DelegateCallVoucher is a paid mutator transaction binding the contract method 0x10321e8b.

Solidity: function DelegateCallVoucher(address destination, bytes payload) returns()

func (*OutputsTransactor) Notice added in v1.3.0

func (_Outputs *OutputsTransactor) Notice(opts *bind.TransactOpts, payload []byte) (*types.Transaction, error)

Notice is a paid mutator transaction binding the contract method 0xc258d6e5.

Solidity: function Notice(bytes payload) returns()

func (*OutputsTransactor) Voucher added in v1.3.0

func (_Outputs *OutputsTransactor) Voucher(opts *bind.TransactOpts, destination common.Address, value *big.Int, payload []byte) (*types.Transaction, error)

Voucher is a paid mutator transaction binding the contract method 0x237a816f.

Solidity: function Voucher(address destination, uint256 value, bytes payload) returns()

type OutputsTransactorRaw added in v1.3.0

type OutputsTransactorRaw struct {
	Contract *OutputsTransactor // Generic write-only contract binding to access the raw methods on
}

OutputsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*OutputsTransactorRaw) Transact added in v1.3.0

func (_Outputs *OutputsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OutputsTransactorRaw) Transfer added in v1.3.0

func (_Outputs *OutputsTransactorRaw) 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 OutputsTransactorSession added in v1.3.0

type OutputsTransactorSession struct {
	Contract     *OutputsTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

OutputsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*OutputsTransactorSession) DelegateCallVoucher added in v1.3.0

func (_Outputs *OutputsTransactorSession) DelegateCallVoucher(destination common.Address, payload []byte) (*types.Transaction, error)

DelegateCallVoucher is a paid mutator transaction binding the contract method 0x10321e8b.

Solidity: function DelegateCallVoucher(address destination, bytes payload) returns()

func (*OutputsTransactorSession) Notice added in v1.3.0

func (_Outputs *OutputsTransactorSession) Notice(payload []byte) (*types.Transaction, error)

Notice is a paid mutator transaction binding the contract method 0xc258d6e5.

Solidity: function Notice(bytes payload) returns()

func (*OutputsTransactorSession) Voucher added in v1.3.0

func (_Outputs *OutputsTransactorSession) Voucher(destination common.Address, value *big.Int, payload []byte) (*types.Transaction, error)

Voucher is a paid mutator transaction binding the contract method 0x237a816f.

Solidity: function Voucher(address destination, uint256 value, bytes payload) returns()

type ShareDigestsProof added in v1.3.0

type ShareDigestsProof struct {
	Digests          [][32]byte
	ShareProofs      []NamespaceMerkleMultiproof
	Namespace        Namespace
	RowRoots         []NamespaceNode
	RowProofs        []BinaryMerkleProof
	AttestationProof AttestationProof
}

ShareDigestsProof is an auto generated low-level Go binding around an user-defined struct.

Directories

Path Synopsis
This binary generates the Go bindings for the Cartesi Rollups contracts.
This binary generates the Go bindings for the Cartesi Rollups contracts.

Jump to

Keyboard shortcuts

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