Documentation
¶
Index ¶
- Variables
- type CrossL2ProverV2
- type CrossL2ProverV2Caller
- func (_CrossL2ProverV2 *CrossL2ProverV2Caller) CHAINID(opts *bind.CallOpts) ([32]byte, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Caller) ClientType(opts *bind.CallOpts) (string, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Caller) InspectLogIdentifier(opts *bind.CallOpts, proof []byte) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Caller) InspectPolymerState(opts *bind.CallOpts, proof []byte) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Caller) LIGHTCLIENTTYPE(opts *bind.CallOpts) (uint8, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Caller) ParseEvent(opts *bind.CallOpts, rawEvent []byte, numTopics uint8) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Caller) SEQUENCER(opts *bind.CallOpts) (common.Address, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Caller) ValidateEvent(opts *bind.CallOpts, proof []byte) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Caller) VerifyMembership(opts *bind.CallOpts, root [32]byte, key []byte, value [32]byte, proof []byte) error
- type CrossL2ProverV2CallerRaw
- type CrossL2ProverV2CallerSession
- func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) CHAINID() ([32]byte, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) ClientType() (string, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) InspectLogIdentifier(proof []byte) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) InspectPolymerState(proof []byte) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) LIGHTCLIENTTYPE() (uint8, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) ParseEvent(rawEvent []byte, numTopics uint8) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) SEQUENCER() (common.Address, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) ValidateEvent(proof []byte) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) VerifyMembership(root [32]byte, key []byte, value [32]byte, proof []byte) error
- type CrossL2ProverV2Filterer
- type CrossL2ProverV2Raw
- func (_CrossL2ProverV2 *CrossL2ProverV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CrossL2ProverV2 *CrossL2ProverV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CrossL2ProverV2Session
- func (_CrossL2ProverV2 *CrossL2ProverV2Session) CHAINID() ([32]byte, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Session) ClientType() (string, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Session) InspectLogIdentifier(proof []byte) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Session) InspectPolymerState(proof []byte) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Session) LIGHTCLIENTTYPE() (uint8, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Session) ParseEvent(rawEvent []byte, numTopics uint8) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Session) SEQUENCER() (common.Address, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Session) ValidateEvent(proof []byte) (struct{ ... }, error)
- func (_CrossL2ProverV2 *CrossL2ProverV2Session) VerifyMembership(root [32]byte, key []byte, value [32]byte, proof []byte) error
- type CrossL2ProverV2Transactor
- type CrossL2ProverV2TransactorRaw
- type CrossL2ProverV2TransactorSession
Constants ¶
This section is empty.
Variables ¶
var CrossL2ProverV2ABI = CrossL2ProverV2MetaData.ABI
CrossL2ProverV2ABI is the input ABI used to generate the binding from. Deprecated: Use CrossL2ProverV2MetaData.ABI instead.
var CrossL2ProverV2MetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"clientType_\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sequencer_\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"chainId_\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"CHAIN_ID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"LIGHT_CLIENT_TYPE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"enumLightClientType\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"SEQUENCER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"clientType\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inspectLogIdentifier\",\"inputs\":[{\"name\":\"proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"srcChain\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"blockNumber\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"receiptIndex\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"logIndex\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"inspectPolymerState\",\"inputs\":[{\"name\":\"proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"height\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"parseEvent\",\"inputs\":[{\"name\":\"rawEvent\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"numTopics\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"outputs\":[{\"name\":\"emittingContract\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"topics\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"unindexedData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"validateEvent\",\"inputs\":[{\"name\":\"proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"chainId\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"emittingContract\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"topics\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"unindexedData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"verifyMembership\",\"inputs\":[{\"name\":\"root\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"value\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"pure\"},{\"type\":\"error\",\"name\":\"InvalidProofKey\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidProofRoot\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidProofValue\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidSequencerSignature\",\"inputs\":[]}]",
}
CrossL2ProverV2MetaData contains all meta data concerning the CrossL2ProverV2 contract.
Functions ¶
This section is empty.
Types ¶
type CrossL2ProverV2 ¶
type CrossL2ProverV2 struct { CrossL2ProverV2Caller // Read-only binding to the contract CrossL2ProverV2Transactor // Write-only binding to the contract CrossL2ProverV2Filterer // Log filterer for contract events }
CrossL2ProverV2 is an auto generated Go binding around an Ethereum contract.
func NewCrossL2ProverV2 ¶
func NewCrossL2ProverV2(address common.Address, backend bind.ContractBackend) (*CrossL2ProverV2, error)
NewCrossL2ProverV2 creates a new instance of CrossL2ProverV2, bound to a specific deployed contract.
type CrossL2ProverV2Caller ¶
type CrossL2ProverV2Caller struct {
// contains filtered or unexported fields
}
CrossL2ProverV2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewCrossL2ProverV2Caller ¶
func NewCrossL2ProverV2Caller(address common.Address, caller bind.ContractCaller) (*CrossL2ProverV2Caller, error)
NewCrossL2ProverV2Caller creates a new read-only instance of CrossL2ProverV2, bound to a specific deployed contract.
func (*CrossL2ProverV2Caller) CHAINID ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Caller) CHAINID(opts *bind.CallOpts) ([32]byte, error)
CHAINID is a free data retrieval call binding the contract method 0x85e1f4d0.
Solidity: function CHAIN_ID() view returns(bytes32)
func (*CrossL2ProverV2Caller) ClientType ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Caller) ClientType(opts *bind.CallOpts) (string, error)
ClientType is a free data retrieval call binding the contract method 0xb3768f0d.
Solidity: function clientType() view returns(string)
func (*CrossL2ProverV2Caller) InspectLogIdentifier ¶ added in v0.0.17
func (_CrossL2ProverV2 *CrossL2ProverV2Caller) InspectLogIdentifier(opts *bind.CallOpts, proof []byte) (struct { SrcChain uint32 BlockNumber uint64 ReceiptIndex uint16 LogIndex uint8 }, error)
InspectLogIdentifier is a free data retrieval call binding the contract method 0x9e79c3f0.
Solidity: function inspectLogIdentifier(bytes proof) pure returns(uint32 srcChain, uint64 blockNumber, uint16 receiptIndex, uint8 logIndex)
func (*CrossL2ProverV2Caller) InspectPolymerState ¶ added in v0.0.17
func (_CrossL2ProverV2 *CrossL2ProverV2Caller) InspectPolymerState(opts *bind.CallOpts, proof []byte) (struct { StateRoot [32]byte Height uint64 Signature []byte }, error)
InspectPolymerState is a free data retrieval call binding the contract method 0xd9615898.
Solidity: function inspectPolymerState(bytes proof) pure returns(bytes32 stateRoot, uint64 height, bytes signature)
func (*CrossL2ProverV2Caller) LIGHTCLIENTTYPE ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Caller) LIGHTCLIENTTYPE(opts *bind.CallOpts) (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
func (*CrossL2ProverV2Caller) ParseEvent ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Caller) ParseEvent(opts *bind.CallOpts, rawEvent []byte, numTopics uint8) (struct { EmittingContract common.Address Topics []byte UnindexedData []byte }, error)
ParseEvent is a free data retrieval call binding the contract method 0x0d15d928.
Solidity: function parseEvent(bytes rawEvent, uint8 numTopics) pure returns(address emittingContract, bytes topics, bytes unindexedData)
func (*CrossL2ProverV2Caller) SEQUENCER ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Caller) SEQUENCER(opts *bind.CallOpts) (common.Address, error)
SEQUENCER is a free data retrieval call binding the contract method 0x75fd4ca9.
Solidity: function SEQUENCER() view returns(address)
func (*CrossL2ProverV2Caller) ValidateEvent ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Caller) ValidateEvent(opts *bind.CallOpts, proof []byte) (struct { ChainId uint32 EmittingContract common.Address Topics []byte UnindexedData []byte }, error)
ValidateEvent is a free data retrieval call binding the contract method 0x0b9ca54a.
Solidity: function validateEvent(bytes proof) view returns(uint32 chainId, address emittingContract, bytes topics, bytes unindexedData)
func (*CrossL2ProverV2Caller) VerifyMembership ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Caller) VerifyMembership(opts *bind.CallOpts, root [32]byte, key []byte, value [32]byte, proof []byte) error
VerifyMembership is a free data retrieval call binding the contract method 0x861f2843.
Solidity: function verifyMembership(bytes32 root, bytes key, bytes32 value, bytes proof) pure returns()
type CrossL2ProverV2CallerRaw ¶
type CrossL2ProverV2CallerRaw struct {
Contract *CrossL2ProverV2Caller // Generic read-only contract binding to access the raw methods on
}
CrossL2ProverV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CrossL2ProverV2CallerRaw) Call ¶
func (_CrossL2ProverV2 *CrossL2ProverV2CallerRaw) 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 CrossL2ProverV2CallerSession ¶
type CrossL2ProverV2CallerSession struct { Contract *CrossL2ProverV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CrossL2ProverV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CrossL2ProverV2CallerSession) CHAINID ¶
func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) CHAINID() ([32]byte, error)
CHAINID is a free data retrieval call binding the contract method 0x85e1f4d0.
Solidity: function CHAIN_ID() view returns(bytes32)
func (*CrossL2ProverV2CallerSession) ClientType ¶
func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) ClientType() (string, error)
ClientType is a free data retrieval call binding the contract method 0xb3768f0d.
Solidity: function clientType() view returns(string)
func (*CrossL2ProverV2CallerSession) InspectLogIdentifier ¶ added in v0.0.17
func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) InspectLogIdentifier(proof []byte) (struct { SrcChain uint32 BlockNumber uint64 ReceiptIndex uint16 LogIndex uint8 }, error)
InspectLogIdentifier is a free data retrieval call binding the contract method 0x9e79c3f0.
Solidity: function inspectLogIdentifier(bytes proof) pure returns(uint32 srcChain, uint64 blockNumber, uint16 receiptIndex, uint8 logIndex)
func (*CrossL2ProverV2CallerSession) InspectPolymerState ¶ added in v0.0.17
func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) InspectPolymerState(proof []byte) (struct { StateRoot [32]byte Height uint64 Signature []byte }, error)
InspectPolymerState is a free data retrieval call binding the contract method 0xd9615898.
Solidity: function inspectPolymerState(bytes proof) pure returns(bytes32 stateRoot, uint64 height, bytes signature)
func (*CrossL2ProverV2CallerSession) LIGHTCLIENTTYPE ¶
func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) LIGHTCLIENTTYPE() (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
func (*CrossL2ProverV2CallerSession) ParseEvent ¶
func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) ParseEvent(rawEvent []byte, numTopics uint8) (struct { EmittingContract common.Address Topics []byte UnindexedData []byte }, error)
ParseEvent is a free data retrieval call binding the contract method 0x0d15d928.
Solidity: function parseEvent(bytes rawEvent, uint8 numTopics) pure returns(address emittingContract, bytes topics, bytes unindexedData)
func (*CrossL2ProverV2CallerSession) SEQUENCER ¶
func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) SEQUENCER() (common.Address, error)
SEQUENCER is a free data retrieval call binding the contract method 0x75fd4ca9.
Solidity: function SEQUENCER() view returns(address)
func (*CrossL2ProverV2CallerSession) ValidateEvent ¶
func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) ValidateEvent(proof []byte) (struct { ChainId uint32 EmittingContract common.Address Topics []byte UnindexedData []byte }, error)
ValidateEvent is a free data retrieval call binding the contract method 0x0b9ca54a.
Solidity: function validateEvent(bytes proof) view returns(uint32 chainId, address emittingContract, bytes topics, bytes unindexedData)
func (*CrossL2ProverV2CallerSession) VerifyMembership ¶
func (_CrossL2ProverV2 *CrossL2ProverV2CallerSession) VerifyMembership(root [32]byte, key []byte, value [32]byte, proof []byte) error
VerifyMembership is a free data retrieval call binding the contract method 0x861f2843.
Solidity: function verifyMembership(bytes32 root, bytes key, bytes32 value, bytes proof) pure returns()
type CrossL2ProverV2Filterer ¶
type CrossL2ProverV2Filterer struct {
// contains filtered or unexported fields
}
CrossL2ProverV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCrossL2ProverV2Filterer ¶
func NewCrossL2ProverV2Filterer(address common.Address, filterer bind.ContractFilterer) (*CrossL2ProverV2Filterer, error)
NewCrossL2ProverV2Filterer creates a new log filterer instance of CrossL2ProverV2, bound to a specific deployed contract.
type CrossL2ProverV2Raw ¶
type CrossL2ProverV2Raw struct {
Contract *CrossL2ProverV2 // Generic contract binding to access the raw methods on
}
CrossL2ProverV2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*CrossL2ProverV2Raw) Call ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Raw) 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 (*CrossL2ProverV2Raw) Transact ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrossL2ProverV2Raw) Transfer ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Raw) 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 CrossL2ProverV2Session ¶
type CrossL2ProverV2Session struct { Contract *CrossL2ProverV2 // 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 }
CrossL2ProverV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CrossL2ProverV2Session) CHAINID ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Session) CHAINID() ([32]byte, error)
CHAINID is a free data retrieval call binding the contract method 0x85e1f4d0.
Solidity: function CHAIN_ID() view returns(bytes32)
func (*CrossL2ProverV2Session) ClientType ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Session) ClientType() (string, error)
ClientType is a free data retrieval call binding the contract method 0xb3768f0d.
Solidity: function clientType() view returns(string)
func (*CrossL2ProverV2Session) InspectLogIdentifier ¶ added in v0.0.17
func (_CrossL2ProverV2 *CrossL2ProverV2Session) InspectLogIdentifier(proof []byte) (struct { SrcChain uint32 BlockNumber uint64 ReceiptIndex uint16 LogIndex uint8 }, error)
InspectLogIdentifier is a free data retrieval call binding the contract method 0x9e79c3f0.
Solidity: function inspectLogIdentifier(bytes proof) pure returns(uint32 srcChain, uint64 blockNumber, uint16 receiptIndex, uint8 logIndex)
func (*CrossL2ProverV2Session) InspectPolymerState ¶ added in v0.0.17
func (_CrossL2ProverV2 *CrossL2ProverV2Session) InspectPolymerState(proof []byte) (struct { StateRoot [32]byte Height uint64 Signature []byte }, error)
InspectPolymerState is a free data retrieval call binding the contract method 0xd9615898.
Solidity: function inspectPolymerState(bytes proof) pure returns(bytes32 stateRoot, uint64 height, bytes signature)
func (*CrossL2ProverV2Session) LIGHTCLIENTTYPE ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Session) LIGHTCLIENTTYPE() (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
func (*CrossL2ProverV2Session) ParseEvent ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Session) ParseEvent(rawEvent []byte, numTopics uint8) (struct { EmittingContract common.Address Topics []byte UnindexedData []byte }, error)
ParseEvent is a free data retrieval call binding the contract method 0x0d15d928.
Solidity: function parseEvent(bytes rawEvent, uint8 numTopics) pure returns(address emittingContract, bytes topics, bytes unindexedData)
func (*CrossL2ProverV2Session) SEQUENCER ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Session) SEQUENCER() (common.Address, error)
SEQUENCER is a free data retrieval call binding the contract method 0x75fd4ca9.
Solidity: function SEQUENCER() view returns(address)
func (*CrossL2ProverV2Session) ValidateEvent ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Session) ValidateEvent(proof []byte) (struct { ChainId uint32 EmittingContract common.Address Topics []byte UnindexedData []byte }, error)
ValidateEvent is a free data retrieval call binding the contract method 0x0b9ca54a.
Solidity: function validateEvent(bytes proof) view returns(uint32 chainId, address emittingContract, bytes topics, bytes unindexedData)
func (*CrossL2ProverV2Session) VerifyMembership ¶
func (_CrossL2ProverV2 *CrossL2ProverV2Session) VerifyMembership(root [32]byte, key []byte, value [32]byte, proof []byte) error
VerifyMembership is a free data retrieval call binding the contract method 0x861f2843.
Solidity: function verifyMembership(bytes32 root, bytes key, bytes32 value, bytes proof) pure returns()
type CrossL2ProverV2Transactor ¶
type CrossL2ProverV2Transactor struct {
// contains filtered or unexported fields
}
CrossL2ProverV2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCrossL2ProverV2Transactor ¶
func NewCrossL2ProverV2Transactor(address common.Address, transactor bind.ContractTransactor) (*CrossL2ProverV2Transactor, error)
NewCrossL2ProverV2Transactor creates a new write-only instance of CrossL2ProverV2, bound to a specific deployed contract.
type CrossL2ProverV2TransactorRaw ¶
type CrossL2ProverV2TransactorRaw struct {
Contract *CrossL2ProverV2Transactor // Generic write-only contract binding to access the raw methods on
}
CrossL2ProverV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CrossL2ProverV2TransactorRaw) Transact ¶
func (_CrossL2ProverV2 *CrossL2ProverV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrossL2ProverV2TransactorRaw) Transfer ¶
func (_CrossL2ProverV2 *CrossL2ProverV2TransactorRaw) 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 CrossL2ProverV2TransactorSession ¶
type CrossL2ProverV2TransactorSession struct { Contract *CrossL2ProverV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CrossL2ProverV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.