Documentation ¶
Index ¶
- Variables
- type Verifybatchesmock
- type VerifybatchesmockCaller
- func (_Verifybatchesmock *VerifybatchesmockCaller) GetRollupExitRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Verifybatchesmock *VerifybatchesmockCaller) GlobalExitRootManager(opts *bind.CallOpts) (common.Address, error)
- func (_Verifybatchesmock *VerifybatchesmockCaller) RollupCount(opts *bind.CallOpts) (uint32, error)
- func (_Verifybatchesmock *VerifybatchesmockCaller) RollupIDToLastExitRoot(opts *bind.CallOpts, rollupID uint32) ([32]byte, error)
- type VerifybatchesmockCallerRaw
- type VerifybatchesmockCallerSession
- func (_Verifybatchesmock *VerifybatchesmockCallerSession) GetRollupExitRoot() ([32]byte, error)
- func (_Verifybatchesmock *VerifybatchesmockCallerSession) GlobalExitRootManager() (common.Address, error)
- func (_Verifybatchesmock *VerifybatchesmockCallerSession) RollupCount() (uint32, error)
- func (_Verifybatchesmock *VerifybatchesmockCallerSession) RollupIDToLastExitRoot(rollupID uint32) ([32]byte, error)
- type VerifybatchesmockFilterer
- func (_Verifybatchesmock *VerifybatchesmockFilterer) FilterVerifyBatches(opts *bind.FilterOpts, rollupID []uint32, aggregator []common.Address) (*VerifybatchesmockVerifyBatchesIterator, error)
- func (_Verifybatchesmock *VerifybatchesmockFilterer) ParseVerifyBatches(log types.Log) (*VerifybatchesmockVerifyBatches, error)
- func (_Verifybatchesmock *VerifybatchesmockFilterer) WatchVerifyBatches(opts *bind.WatchOpts, sink chan<- *VerifybatchesmockVerifyBatches, ...) (event.Subscription, error)
- type VerifybatchesmockRaw
- func (_Verifybatchesmock *VerifybatchesmockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Verifybatchesmock *VerifybatchesmockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Verifybatchesmock *VerifybatchesmockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VerifybatchesmockSession
- func (_Verifybatchesmock *VerifybatchesmockSession) GetRollupExitRoot() ([32]byte, error)
- func (_Verifybatchesmock *VerifybatchesmockSession) GlobalExitRootManager() (common.Address, error)
- func (_Verifybatchesmock *VerifybatchesmockSession) RollupCount() (uint32, error)
- func (_Verifybatchesmock *VerifybatchesmockSession) RollupIDToLastExitRoot(rollupID uint32) ([32]byte, error)
- func (_Verifybatchesmock *VerifybatchesmockSession) VerifyBatches(rollupID uint32, finalNewBatch uint64, newLocalExitRoot [32]byte, ...) (*types.Transaction, error)
- type VerifybatchesmockTransactor
- type VerifybatchesmockTransactorRaw
- type VerifybatchesmockTransactorSession
- type VerifybatchesmockVerifyBatches
- type VerifybatchesmockVerifyBatchesIterator
Constants ¶
This section is empty.
Variables ¶
var VerifybatchesmockABI = VerifybatchesmockMetaData.ABI
VerifybatchesmockABI is the input ABI used to generate the binding from. Deprecated: Use VerifybatchesmockMetaData.ABI instead.
var VerifybatchesmockBin = VerifybatchesmockMetaData.Bin
VerifybatchesmockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use VerifybatchesmockMetaData.Bin instead.
var VerifybatchesmockMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIPolygonZkEVMGlobalExitRootV2\",\"name\":\"_globalExitRootManager\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"numBatch\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"exitRoot\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"aggregator\",\"type\":\"address\"}],\"name\":\"VerifyBatches\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"getRollupExitRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"globalExitRootManager\",\"outputs\":[{\"internalType\":\"contractIPolygonZkEVMGlobalExitRootV2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rollupCount\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"}],\"name\":\"rollupIDToLastExitRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"finalNewBatch\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newStateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"updateGER\",\"type\":\"bool\"}],\"name\":\"verifyBatches\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60a060405234801561001057600080fd5b5060405161082938038061082983398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161079861009160003960008181609c01526104e301526107986000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630680cf5c1461005c578063a2967d991461008f578063d02103ca14610097578063db3abdb9146100d6578063f4e92675146100eb575b600080fd5b61007c61006a3660046105de565b60016020526000908152604090205481565b6040519081526020015b60405180910390f35b61007c610110565b6100be7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610086565b6100e96100e4366004610600565b610499565b005b6000546100fb9063ffffffff1681565b60405163ffffffff9091168152602001610086565b6000805463ffffffff1680820361012957506000919050565b60008167ffffffffffffffff8111156101445761014461066f565b60405190808252806020026020018201604052801561016d578160200160208202803683370190505b50905060005b828110156101d35760016000610189838361069b565b63ffffffff1663ffffffff168152602001908152602001600020548282815181106101b6576101b66106b4565b6020908102919091010152806101cb816106ca565b915050610173565b50600060205b836001146103fd5760006101ee6002866106f9565b6101f960028761070d565b610203919061069b565b905060008167ffffffffffffffff8111156102205761022061066f565b604051908082528060200260200182016040528015610249578160200160208202803683370190505b50905060005b828110156103ad57610262600184610721565b8114801561027a57506102766002886106f9565b6001145b156102f7578561028b826002610734565b8151811061029b5761029b6106b4565b6020026020010151856040516020016102be929190918252602082015260400190565b604051602081830303815290604052805190602001208282815181106102e6576102e66106b4565b60200260200101818152505061039b565b85610303826002610734565b81518110610313576103136106b4565b6020026020010151868260026103299190610734565b61033490600161069b565b81518110610344576103446106b4565b6020026020010151604051602001610366929190918252602082015260400190565b6040516020818303038152906040528051906020012082828151811061038e5761038e6106b4565b6020026020010181815250505b806103a5816106ca565b91505061024f565b5080945081955083846040516020016103d0929190918252602082015260400190565b60405160208183030381529060405280519060200120935082806103f39061074b565b93505050506101d9565b600083600081518110610412576104126106b4565b6020026020010151905060005b8281101561048f57604080516020810184905290810185905260600160408051601f19818403018152828252805160209182012090830187905290820186905292506060016040516020818303038152906040528051906020012093508080610487906106ca565b91505061041f565b5095945050505050565b60005463ffffffff90811690861611156104c3576000805463ffffffff191663ffffffff87161790555b63ffffffff851660009081526001602052604090208390558015610569577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166333d6247d610518610110565b6040518263ffffffff1660e01b815260040161053691815260200190565b600060405180830381600087803b15801561055057600080fd5b505af1158015610564573d6000803e3d6000fd5b505050505b6040805167ffffffffffffffff8616815260208101849052908101849052339063ffffffff8716907faac1e7a157b259544ebacd6e8a82ae5d6c8f174e12aa48696277bcc9a661f0b49060600160405180910390a35050505050565b803563ffffffff811681146105d957600080fd5b919050565b6000602082840312156105f057600080fd5b6105f9826105c5565b9392505050565b600080600080600060a0868803121561061857600080fd5b610621866105c5565b9450602086013567ffffffffffffffff8116811461063e57600080fd5b935060408601359250606086013591506080860135801515811461066157600080fd5b809150509295509295909350565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156106ae576106ae610685565b92915050565b634e487b7160e01b600052603260045260246000fd5b6000600182016106dc576106dc610685565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082610708576107086106e3565b500690565b60008261071c5761071c6106e3565b500490565b818103818111156106ae576106ae610685565b80820281158282048414176106ae576106ae610685565b60008161075a5761075a610685565b50600019019056fea26469706673582212205adc139a1c2a423d3d8d0db882b69ac1b5cdcb3419bc6315ca33eeac9aa68a7464736f6c63430008120033",
}
VerifybatchesmockMetaData contains all meta data concerning the Verifybatchesmock contract.
Functions ¶
This section is empty.
Types ¶
type Verifybatchesmock ¶
type Verifybatchesmock struct { VerifybatchesmockCaller // Read-only binding to the contract VerifybatchesmockTransactor // Write-only binding to the contract VerifybatchesmockFilterer // Log filterer for contract events }
Verifybatchesmock is an auto generated Go binding around an Ethereum contract.
func DeployVerifybatchesmock ¶
func DeployVerifybatchesmock(auth *bind.TransactOpts, backend bind.ContractBackend, _globalExitRootManager common.Address) (common.Address, *types.Transaction, *Verifybatchesmock, error)
DeployVerifybatchesmock deploys a new Ethereum contract, binding an instance of Verifybatchesmock to it.
func NewVerifybatchesmock ¶
func NewVerifybatchesmock(address common.Address, backend bind.ContractBackend) (*Verifybatchesmock, error)
NewVerifybatchesmock creates a new instance of Verifybatchesmock, bound to a specific deployed contract.
type VerifybatchesmockCaller ¶
type VerifybatchesmockCaller struct {
// contains filtered or unexported fields
}
VerifybatchesmockCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVerifybatchesmockCaller ¶
func NewVerifybatchesmockCaller(address common.Address, caller bind.ContractCaller) (*VerifybatchesmockCaller, error)
NewVerifybatchesmockCaller creates a new read-only instance of Verifybatchesmock, bound to a specific deployed contract.
func (*VerifybatchesmockCaller) GetRollupExitRoot ¶
func (_Verifybatchesmock *VerifybatchesmockCaller) GetRollupExitRoot(opts *bind.CallOpts) ([32]byte, error)
GetRollupExitRoot is a free data retrieval call binding the contract method 0xa2967d99.
Solidity: function getRollupExitRoot() view returns(bytes32)
func (*VerifybatchesmockCaller) GlobalExitRootManager ¶
func (_Verifybatchesmock *VerifybatchesmockCaller) GlobalExitRootManager(opts *bind.CallOpts) (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*VerifybatchesmockCaller) RollupCount ¶
func (_Verifybatchesmock *VerifybatchesmockCaller) RollupCount(opts *bind.CallOpts) (uint32, error)
RollupCount is a free data retrieval call binding the contract method 0xf4e92675.
Solidity: function rollupCount() view returns(uint32)
func (*VerifybatchesmockCaller) RollupIDToLastExitRoot ¶
func (_Verifybatchesmock *VerifybatchesmockCaller) RollupIDToLastExitRoot(opts *bind.CallOpts, rollupID uint32) ([32]byte, error)
RollupIDToLastExitRoot is a free data retrieval call binding the contract method 0x0680cf5c.
Solidity: function rollupIDToLastExitRoot(uint32 rollupID) view returns(bytes32)
type VerifybatchesmockCallerRaw ¶
type VerifybatchesmockCallerRaw struct {
Contract *VerifybatchesmockCaller // Generic read-only contract binding to access the raw methods on
}
VerifybatchesmockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VerifybatchesmockCallerRaw) Call ¶
func (_Verifybatchesmock *VerifybatchesmockCallerRaw) 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 VerifybatchesmockCallerSession ¶
type VerifybatchesmockCallerSession struct { Contract *VerifybatchesmockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VerifybatchesmockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VerifybatchesmockCallerSession) GetRollupExitRoot ¶
func (_Verifybatchesmock *VerifybatchesmockCallerSession) GetRollupExitRoot() ([32]byte, error)
GetRollupExitRoot is a free data retrieval call binding the contract method 0xa2967d99.
Solidity: function getRollupExitRoot() view returns(bytes32)
func (*VerifybatchesmockCallerSession) GlobalExitRootManager ¶
func (_Verifybatchesmock *VerifybatchesmockCallerSession) GlobalExitRootManager() (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*VerifybatchesmockCallerSession) RollupCount ¶
func (_Verifybatchesmock *VerifybatchesmockCallerSession) RollupCount() (uint32, error)
RollupCount is a free data retrieval call binding the contract method 0xf4e92675.
Solidity: function rollupCount() view returns(uint32)
func (*VerifybatchesmockCallerSession) RollupIDToLastExitRoot ¶
func (_Verifybatchesmock *VerifybatchesmockCallerSession) RollupIDToLastExitRoot(rollupID uint32) ([32]byte, error)
RollupIDToLastExitRoot is a free data retrieval call binding the contract method 0x0680cf5c.
Solidity: function rollupIDToLastExitRoot(uint32 rollupID) view returns(bytes32)
type VerifybatchesmockFilterer ¶
type VerifybatchesmockFilterer struct {
// contains filtered or unexported fields
}
VerifybatchesmockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVerifybatchesmockFilterer ¶
func NewVerifybatchesmockFilterer(address common.Address, filterer bind.ContractFilterer) (*VerifybatchesmockFilterer, error)
NewVerifybatchesmockFilterer creates a new log filterer instance of Verifybatchesmock, bound to a specific deployed contract.
func (*VerifybatchesmockFilterer) FilterVerifyBatches ¶
func (_Verifybatchesmock *VerifybatchesmockFilterer) FilterVerifyBatches(opts *bind.FilterOpts, rollupID []uint32, aggregator []common.Address) (*VerifybatchesmockVerifyBatchesIterator, error)
FilterVerifyBatches is a free log retrieval operation binding the contract event 0xaac1e7a157b259544ebacd6e8a82ae5d6c8f174e12aa48696277bcc9a661f0b4.
Solidity: event VerifyBatches(uint32 indexed rollupID, uint64 numBatch, bytes32 stateRoot, bytes32 exitRoot, address indexed aggregator)
func (*VerifybatchesmockFilterer) ParseVerifyBatches ¶
func (_Verifybatchesmock *VerifybatchesmockFilterer) ParseVerifyBatches(log types.Log) (*VerifybatchesmockVerifyBatches, error)
ParseVerifyBatches is a log parse operation binding the contract event 0xaac1e7a157b259544ebacd6e8a82ae5d6c8f174e12aa48696277bcc9a661f0b4.
Solidity: event VerifyBatches(uint32 indexed rollupID, uint64 numBatch, bytes32 stateRoot, bytes32 exitRoot, address indexed aggregator)
func (*VerifybatchesmockFilterer) WatchVerifyBatches ¶
func (_Verifybatchesmock *VerifybatchesmockFilterer) WatchVerifyBatches(opts *bind.WatchOpts, sink chan<- *VerifybatchesmockVerifyBatches, rollupID []uint32, aggregator []common.Address) (event.Subscription, error)
WatchVerifyBatches is a free log subscription operation binding the contract event 0xaac1e7a157b259544ebacd6e8a82ae5d6c8f174e12aa48696277bcc9a661f0b4.
Solidity: event VerifyBatches(uint32 indexed rollupID, uint64 numBatch, bytes32 stateRoot, bytes32 exitRoot, address indexed aggregator)
type VerifybatchesmockRaw ¶
type VerifybatchesmockRaw struct {
Contract *Verifybatchesmock // Generic contract binding to access the raw methods on
}
VerifybatchesmockRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VerifybatchesmockRaw) Call ¶
func (_Verifybatchesmock *VerifybatchesmockRaw) 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 (*VerifybatchesmockRaw) Transact ¶
func (_Verifybatchesmock *VerifybatchesmockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VerifybatchesmockRaw) Transfer ¶
func (_Verifybatchesmock *VerifybatchesmockRaw) 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 VerifybatchesmockSession ¶
type VerifybatchesmockSession struct { Contract *Verifybatchesmock // 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 }
VerifybatchesmockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VerifybatchesmockSession) GetRollupExitRoot ¶
func (_Verifybatchesmock *VerifybatchesmockSession) GetRollupExitRoot() ([32]byte, error)
GetRollupExitRoot is a free data retrieval call binding the contract method 0xa2967d99.
Solidity: function getRollupExitRoot() view returns(bytes32)
func (*VerifybatchesmockSession) GlobalExitRootManager ¶
func (_Verifybatchesmock *VerifybatchesmockSession) GlobalExitRootManager() (common.Address, error)
GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.
Solidity: function globalExitRootManager() view returns(address)
func (*VerifybatchesmockSession) RollupCount ¶
func (_Verifybatchesmock *VerifybatchesmockSession) RollupCount() (uint32, error)
RollupCount is a free data retrieval call binding the contract method 0xf4e92675.
Solidity: function rollupCount() view returns(uint32)
func (*VerifybatchesmockSession) RollupIDToLastExitRoot ¶
func (_Verifybatchesmock *VerifybatchesmockSession) RollupIDToLastExitRoot(rollupID uint32) ([32]byte, error)
RollupIDToLastExitRoot is a free data retrieval call binding the contract method 0x0680cf5c.
Solidity: function rollupIDToLastExitRoot(uint32 rollupID) view returns(bytes32)
func (*VerifybatchesmockSession) VerifyBatches ¶
func (_Verifybatchesmock *VerifybatchesmockSession) VerifyBatches(rollupID uint32, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, updateGER bool) (*types.Transaction, error)
VerifyBatches is a paid mutator transaction binding the contract method 0xdb3abdb9.
Solidity: function verifyBatches(uint32 rollupID, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, bool updateGER) returns()
type VerifybatchesmockTransactor ¶
type VerifybatchesmockTransactor struct {
// contains filtered or unexported fields
}
VerifybatchesmockTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVerifybatchesmockTransactor ¶
func NewVerifybatchesmockTransactor(address common.Address, transactor bind.ContractTransactor) (*VerifybatchesmockTransactor, error)
NewVerifybatchesmockTransactor creates a new write-only instance of Verifybatchesmock, bound to a specific deployed contract.
func (*VerifybatchesmockTransactor) VerifyBatches ¶
func (_Verifybatchesmock *VerifybatchesmockTransactor) VerifyBatches(opts *bind.TransactOpts, rollupID uint32, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, updateGER bool) (*types.Transaction, error)
VerifyBatches is a paid mutator transaction binding the contract method 0xdb3abdb9.
Solidity: function verifyBatches(uint32 rollupID, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, bool updateGER) returns()
type VerifybatchesmockTransactorRaw ¶
type VerifybatchesmockTransactorRaw struct {
Contract *VerifybatchesmockTransactor // Generic write-only contract binding to access the raw methods on
}
VerifybatchesmockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VerifybatchesmockTransactorRaw) Transact ¶
func (_Verifybatchesmock *VerifybatchesmockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VerifybatchesmockTransactorRaw) Transfer ¶
func (_Verifybatchesmock *VerifybatchesmockTransactorRaw) 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 VerifybatchesmockTransactorSession ¶
type VerifybatchesmockTransactorSession struct { Contract *VerifybatchesmockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VerifybatchesmockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VerifybatchesmockTransactorSession) VerifyBatches ¶
func (_Verifybatchesmock *VerifybatchesmockTransactorSession) VerifyBatches(rollupID uint32, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, updateGER bool) (*types.Transaction, error)
VerifyBatches is a paid mutator transaction binding the contract method 0xdb3abdb9.
Solidity: function verifyBatches(uint32 rollupID, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, bool updateGER) returns()
type VerifybatchesmockVerifyBatches ¶
type VerifybatchesmockVerifyBatches struct { RollupID uint32 NumBatch uint64 StateRoot [32]byte ExitRoot [32]byte Aggregator common.Address Raw types.Log // Blockchain specific contextual infos }
VerifybatchesmockVerifyBatches represents a VerifyBatches event raised by the Verifybatchesmock contract.
type VerifybatchesmockVerifyBatchesIterator ¶
type VerifybatchesmockVerifyBatchesIterator struct { Event *VerifybatchesmockVerifyBatches // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VerifybatchesmockVerifyBatchesIterator is returned from FilterVerifyBatches and is used to iterate over the raw logs and unpacked data for VerifyBatches events raised by the Verifybatchesmock contract.
func (*VerifybatchesmockVerifyBatchesIterator) Close ¶
func (it *VerifybatchesmockVerifyBatchesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VerifybatchesmockVerifyBatchesIterator) Error ¶
func (it *VerifybatchesmockVerifyBatchesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VerifybatchesmockVerifyBatchesIterator) Next ¶
func (it *VerifybatchesmockVerifyBatchesIterator) 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.