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) FilterVerifyBatchesTrustedAggregator(opts *bind.FilterOpts, rollupID []uint32, aggregator []common.Address) (*VerifybatchesmockVerifyBatchesTrustedAggregatorIterator, error)
- func (_Verifybatchesmock *VerifybatchesmockFilterer) ParseVerifyBatches(log types.Log) (*VerifybatchesmockVerifyBatches, error)
- func (_Verifybatchesmock *VerifybatchesmockFilterer) ParseVerifyBatchesTrustedAggregator(log types.Log) (*VerifybatchesmockVerifyBatchesTrustedAggregator, error)
- func (_Verifybatchesmock *VerifybatchesmockFilterer) WatchVerifyBatches(opts *bind.WatchOpts, sink chan<- *VerifybatchesmockVerifyBatches, ...) (event.Subscription, error)
- func (_Verifybatchesmock *VerifybatchesmockFilterer) WatchVerifyBatchesTrustedAggregator(opts *bind.WatchOpts, ...) (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)
- func (_Verifybatchesmock *VerifybatchesmockSession) VerifyBatchesTrustedAggregator(rollupID uint32, finalNewBatch uint64, newLocalExitRoot [32]byte, ...) (*types.Transaction, error)
- type VerifybatchesmockTransactor
- func (_Verifybatchesmock *VerifybatchesmockTransactor) VerifyBatches(opts *bind.TransactOpts, rollupID uint32, finalNewBatch uint64, ...) (*types.Transaction, error)
- func (_Verifybatchesmock *VerifybatchesmockTransactor) VerifyBatchesTrustedAggregator(opts *bind.TransactOpts, rollupID uint32, finalNewBatch uint64, ...) (*types.Transaction, error)
- type VerifybatchesmockTransactorRaw
- type VerifybatchesmockTransactorSession
- func (_Verifybatchesmock *VerifybatchesmockTransactorSession) VerifyBatches(rollupID uint32, finalNewBatch uint64, newLocalExitRoot [32]byte, ...) (*types.Transaction, error)
- func (_Verifybatchesmock *VerifybatchesmockTransactorSession) VerifyBatchesTrustedAggregator(rollupID uint32, finalNewBatch uint64, newLocalExitRoot [32]byte, ...) (*types.Transaction, error)
- type VerifybatchesmockVerifyBatches
- type VerifybatchesmockVerifyBatchesIterator
- type VerifybatchesmockVerifyBatchesTrustedAggregator
- type VerifybatchesmockVerifyBatchesTrustedAggregatorIterator
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\"},{\"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\":\"VerifyBatchesTrustedAggregator\",\"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\"},{\"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\":\"verifyBatchesTrustedAggregator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60a060405234801561001057600080fd5b5060405161097138038061097183398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516108d96100986000396000818160bc01528181610178015261062e01526108d96000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80630680cf5c1461006757806343955dd31461009a578063a2967d99146100af578063d02103ca146100b7578063db3abdb9146100f6578063f4e9267514610109575b600080fd5b61008761007536600461071f565b60016020526000908152604090205481565b6040519081526020015b60405180910390f35b6100ad6100a8366004610741565b61012e565b005b61008761025b565b6100de7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610091565b6100ad610104366004610741565b6105e4565b6000546101199063ffffffff1681565b60405163ffffffff9091168152602001610091565b60005463ffffffff9081169086161115610158576000805463ffffffff191663ffffffff87161790555b63ffffffff8516600090815260016020526040902083905580156101fe577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166333d6247d6101ad61025b565b6040518263ffffffff1660e01b81526004016101cb91815260200190565b600060405180830381600087803b1580156101e557600080fd5b505af11580156101f9573d6000803e3d6000fd5b505050505b6040805167ffffffffffffffff8616815260208101849052908101849052339063ffffffff8716907fd1ec3a1216f08b6eff72e169ceb548b782db18a6614852618d86bb19f3f9b0d3906060015b60405180910390a35050505050565b6000805463ffffffff1680820361027457506000919050565b60008167ffffffffffffffff81111561028f5761028f6107b0565b6040519080825280602002602001820160405280156102b8578160200160208202803683370190505b50905060005b8281101561031e57600160006102d483836107dc565b63ffffffff1663ffffffff16815260200190815260200160002054828281518110610301576103016107f5565b6020908102919091010152806103168161080b565b9150506102be565b50600060205b8360011461054857600061033960028661083a565b61034460028761084e565b61034e91906107dc565b905060008167ffffffffffffffff81111561036b5761036b6107b0565b604051908082528060200260200182016040528015610394578160200160208202803683370190505b50905060005b828110156104f8576103ad600184610862565b811480156103c557506103c160028861083a565b6001145b1561044257856103d6826002610875565b815181106103e6576103e66107f5565b602002602001015185604051602001610409929190918252602082015260400190565b60405160208183030381529060405280519060200120828281518110610431576104316107f5565b6020026020010181815250506104e6565b8561044e826002610875565b8151811061045e5761045e6107f5565b6020026020010151868260026104749190610875565b61047f9060016107dc565b8151811061048f5761048f6107f5565b60200260200101516040516020016104b1929190918252602082015260400190565b604051602081830303815290604052805190602001208282815181106104d9576104d96107f5565b6020026020010181815250505b806104f08161080b565b91505061039a565b50809450819550838460405160200161051b929190918252602082015260400190565b604051602081830303815290604052805190602001209350828061053e9061088c565b9350505050610324565b60008360008151811061055d5761055d6107f5565b6020026020010151905060005b828110156105da57604080516020810184905290810185905260600160408051601f198184030181528282528051602091820120908301879052908201869052925060600160405160208183030381529060405280519060200120935080806105d29061080b565b91505061056a565b5095945050505050565b60005463ffffffff908116908616111561060e576000805463ffffffff191663ffffffff87161790555b63ffffffff8516600090815260016020526040902083905580156106b4577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166333d6247d61066361025b565b6040518263ffffffff1660e01b815260040161068191815260200190565b600060405180830381600087803b15801561069b57600080fd5b505af11580156106af573d6000803e3d6000fd5b505050505b6040805167ffffffffffffffff8616815260208101849052908101849052339063ffffffff8716907faac1e7a157b259544ebacd6e8a82ae5d6c8f174e12aa48696277bcc9a661f0b49060600161024c565b803563ffffffff8116811461071a57600080fd5b919050565b60006020828403121561073157600080fd5b61073a82610706565b9392505050565b600080600080600060a0868803121561075957600080fd5b61076286610706565b9450602086013567ffffffffffffffff8116811461077f57600080fd5b93506040860135925060608601359150608086013580151581146107a257600080fd5b809150509295509295909350565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156107ef576107ef6107c6565b92915050565b634e487b7160e01b600052603260045260246000fd5b60006001820161081d5761081d6107c6565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261084957610849610824565b500690565b60008261085d5761085d610824565b500490565b818103818111156107ef576107ef6107c6565b80820281158282048414176107ef576107ef6107c6565b60008161089b5761089b6107c6565b50600019019056fea26469706673582212204b504ae2d3686f35f611e3ef5bc38d1f2d64ce4fea28c7a2a657dbe4ba6178ce64736f6c63430008120033",
}
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) FilterVerifyBatchesTrustedAggregator ¶ added in v0.4.0
func (_Verifybatchesmock *VerifybatchesmockFilterer) FilterVerifyBatchesTrustedAggregator(opts *bind.FilterOpts, rollupID []uint32, aggregator []common.Address) (*VerifybatchesmockVerifyBatchesTrustedAggregatorIterator, error)
FilterVerifyBatchesTrustedAggregator is a free log retrieval operation binding the contract event 0xd1ec3a1216f08b6eff72e169ceb548b782db18a6614852618d86bb19f3f9b0d3.
Solidity: event VerifyBatchesTrustedAggregator(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) ParseVerifyBatchesTrustedAggregator ¶ added in v0.4.0
func (_Verifybatchesmock *VerifybatchesmockFilterer) ParseVerifyBatchesTrustedAggregator(log types.Log) (*VerifybatchesmockVerifyBatchesTrustedAggregator, error)
ParseVerifyBatchesTrustedAggregator is a log parse operation binding the contract event 0xd1ec3a1216f08b6eff72e169ceb548b782db18a6614852618d86bb19f3f9b0d3.
Solidity: event VerifyBatchesTrustedAggregator(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)
func (*VerifybatchesmockFilterer) WatchVerifyBatchesTrustedAggregator ¶ added in v0.4.0
func (_Verifybatchesmock *VerifybatchesmockFilterer) WatchVerifyBatchesTrustedAggregator(opts *bind.WatchOpts, sink chan<- *VerifybatchesmockVerifyBatchesTrustedAggregator, rollupID []uint32, aggregator []common.Address) (event.Subscription, error)
WatchVerifyBatchesTrustedAggregator is a free log subscription operation binding the contract event 0xd1ec3a1216f08b6eff72e169ceb548b782db18a6614852618d86bb19f3f9b0d3.
Solidity: event VerifyBatchesTrustedAggregator(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()
func (*VerifybatchesmockSession) VerifyBatchesTrustedAggregator ¶ added in v0.4.0
func (_Verifybatchesmock *VerifybatchesmockSession) VerifyBatchesTrustedAggregator(rollupID uint32, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, updateGER bool) (*types.Transaction, error)
VerifyBatchesTrustedAggregator is a paid mutator transaction binding the contract method 0x43955dd3.
Solidity: function verifyBatchesTrustedAggregator(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()
func (*VerifybatchesmockTransactor) VerifyBatchesTrustedAggregator ¶ added in v0.4.0
func (_Verifybatchesmock *VerifybatchesmockTransactor) VerifyBatchesTrustedAggregator(opts *bind.TransactOpts, rollupID uint32, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, updateGER bool) (*types.Transaction, error)
VerifyBatchesTrustedAggregator is a paid mutator transaction binding the contract method 0x43955dd3.
Solidity: function verifyBatchesTrustedAggregator(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()
func (*VerifybatchesmockTransactorSession) VerifyBatchesTrustedAggregator ¶ added in v0.4.0
func (_Verifybatchesmock *VerifybatchesmockTransactorSession) VerifyBatchesTrustedAggregator(rollupID uint32, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, updateGER bool) (*types.Transaction, error)
VerifyBatchesTrustedAggregator is a paid mutator transaction binding the contract method 0x43955dd3.
Solidity: function verifyBatchesTrustedAggregator(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.
type VerifybatchesmockVerifyBatchesTrustedAggregator ¶ added in v0.4.0
type VerifybatchesmockVerifyBatchesTrustedAggregator struct { RollupID uint32 NumBatch uint64 StateRoot [32]byte ExitRoot [32]byte Aggregator common.Address Raw types.Log // Blockchain specific contextual infos }
VerifybatchesmockVerifyBatchesTrustedAggregator represents a VerifyBatchesTrustedAggregator event raised by the Verifybatchesmock contract.
type VerifybatchesmockVerifyBatchesTrustedAggregatorIterator ¶ added in v0.4.0
type VerifybatchesmockVerifyBatchesTrustedAggregatorIterator struct { Event *VerifybatchesmockVerifyBatchesTrustedAggregator // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VerifybatchesmockVerifyBatchesTrustedAggregatorIterator is returned from FilterVerifyBatchesTrustedAggregator and is used to iterate over the raw logs and unpacked data for VerifyBatchesTrustedAggregator events raised by the Verifybatchesmock contract.
func (*VerifybatchesmockVerifyBatchesTrustedAggregatorIterator) Close ¶ added in v0.4.0
func (it *VerifybatchesmockVerifyBatchesTrustedAggregatorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VerifybatchesmockVerifyBatchesTrustedAggregatorIterator) Error ¶ added in v0.4.0
func (it *VerifybatchesmockVerifyBatchesTrustedAggregatorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VerifybatchesmockVerifyBatchesTrustedAggregatorIterator) Next ¶ added in v0.4.0
func (it *VerifybatchesmockVerifyBatchesTrustedAggregatorIterator) 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.