Documentation ¶
Index ¶
- Variables
- type Polygonzkevmglobalexitrootmock
- func DeployPolygonzkevmglobalexitrootmock(auth *bind.TransactOpts, backend bind.ContractBackend, ...) (common.Address, *types.Transaction, *Polygonzkevmglobalexitrootmock, error)
- func NewPolygonzkevmglobalexitrootmock(address common.Address, backend bind.ContractBackend) (*Polygonzkevmglobalexitrootmock, error)
- type PolygonzkevmglobalexitrootmockCaller
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) BridgeAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) GetLastGlobalExitRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) GlobalExitRootMap(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) LastMainnetExitRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) LastRollupExitRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) RollupAddress(opts *bind.CallOpts) (common.Address, error)
- type PolygonzkevmglobalexitrootmockCallerRaw
- type PolygonzkevmglobalexitrootmockCallerSession
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) BridgeAddress() (common.Address, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) GetLastGlobalExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) GlobalExitRootMap(arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) LastMainnetExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) LastRollupExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) RollupAddress() (common.Address, error)
- type PolygonzkevmglobalexitrootmockFilterer
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockFilterer) FilterUpdateGlobalExitRoot(opts *bind.FilterOpts, mainnetExitRoot [][32]byte, rollupExitRoot [][32]byte) (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockFilterer) ParseUpdateGlobalExitRoot(log types.Log) (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockFilterer) WatchUpdateGlobalExitRoot(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type PolygonzkevmglobalexitrootmockRaw
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PolygonzkevmglobalexitrootmockSession
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) BridgeAddress() (common.Address, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) GetLastGlobalExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) GlobalExitRootMap(arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) LastMainnetExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) LastRollupExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) RollupAddress() (common.Address, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) SetGlobalExitRoot(globalExitRoot [32]byte, timestamp *big.Int) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) SetLastGlobalExitRoot(timestamp *big.Int) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) UpdateExitRoot(newRoot [32]byte) (*types.Transaction, error)
- type PolygonzkevmglobalexitrootmockTransactor
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactor) SetGlobalExitRoot(opts *bind.TransactOpts, globalExitRoot [32]byte, timestamp *big.Int) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactor) SetLastGlobalExitRoot(opts *bind.TransactOpts, timestamp *big.Int) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactor) UpdateExitRoot(opts *bind.TransactOpts, newRoot [32]byte) (*types.Transaction, error)
- type PolygonzkevmglobalexitrootmockTransactorRaw
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PolygonzkevmglobalexitrootmockTransactorSession
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorSession) SetGlobalExitRoot(globalExitRoot [32]byte, timestamp *big.Int) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorSession) SetLastGlobalExitRoot(timestamp *big.Int) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorSession) UpdateExitRoot(newRoot [32]byte) (*types.Transaction, error)
- type PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot
- type PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator
Constants ¶
This section is empty.
Variables ¶
var PolygonzkevmglobalexitrootmockABI = PolygonzkevmglobalexitrootmockMetaData.ABI
PolygonzkevmglobalexitrootmockABI is the input ABI used to generate the binding from. Deprecated: Use PolygonzkevmglobalexitrootmockMetaData.ABI instead.
var PolygonzkevmglobalexitrootmockBin = PolygonzkevmglobalexitrootmockMetaData.Bin
PolygonzkevmglobalexitrootmockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PolygonzkevmglobalexitrootmockMetaData.Bin instead.
var PolygonzkevmglobalexitrootmockMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rollupAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_bridgeAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"GlobalExitRootAlreadySet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEnoughGlobalExitRootsInserted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotLastInsertedGlobalExitRoot\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyAllowedContracts\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyGlobalExitRootRemover\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyGlobalExitRootUpdater\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"mainnetExitRoot\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rollupExitRoot\",\"type\":\"bytes32\"}],\"name\":\"UpdateGlobalExitRoot\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"bridgeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastGlobalExitRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"globalExitRootMap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastMainnetExitRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRollupExitRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rollupAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"globalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"setGlobalExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"setLastGlobalExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"updateExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60c060405234801561000f575f80fd5b5060405161047838038061047883398101604081905261002e91610060565b6001600160a01b0391821660a05216608052610091565b80516001600160a01b038116811461005b575f80fd5b919050565b5f8060408385031215610071575f80fd5b61007a83610045565b915061008860208401610045565b90509250929050565b60805160a0516103b86100c05f395f818161013a015261022c01525f818161018601526101e301526103b85ff3fe608060405234801561000f575f80fd5b506004361061009f575f3560e01c806333d6247d116100725780635bcef673116100585780635bcef673146101165780635ec6a8df14610135578063a3c573eb14610181575f80fd5b806333d6247d146100fb5780633ed691ef1461010e575f80fd5b806301fd9044146100a3578063051a9e28146100be578063257b3632146100d3578063319cf735146100f2575b5f80fd5b6100ab5f5481565b6040519081526020015b60405180910390f35b6100d16100cc36600461034b565b6101a8565b005b6100ab6100e136600461034b565b60026020525f908152604090205481565b6100ab60015481565b6100d161010936600461034b565b6101c7565b6100ab610311565b6100d1610124366004610362565b5f9182526002602052604090912055565b61015c7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100b5565b61015c7f000000000000000000000000000000000000000000000000000000000000000081565b8060025f6101b4610311565b815260208101919091526040015f205550565b5f5460015473ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633036102155750600182905581610290565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016330361025e575f839055829150610290565b6040517fb49365dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516020808201849052818301859052825180830384018152606090920190925280519101205f905f818152600260205260408120549192500361030b575f8181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b5f6103466001545f54604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b905090565b5f6020828403121561035b575f80fd5b5035919050565b5f8060408385031215610373575f80fd5b5050803592602090910135915056fea26469706673582212205ab2d2ac2787ab66569e655f4a1bb90f7ac88a867ea1c7b1e4da0073f030121164736f6c63430008140033",
}
PolygonzkevmglobalexitrootmockMetaData contains all meta data concerning the Polygonzkevmglobalexitrootmock contract.
Functions ¶
This section is empty.
Types ¶
type Polygonzkevmglobalexitrootmock ¶
type Polygonzkevmglobalexitrootmock struct { PolygonzkevmglobalexitrootmockCaller // Read-only binding to the contract PolygonzkevmglobalexitrootmockTransactor // Write-only binding to the contract PolygonzkevmglobalexitrootmockFilterer // Log filterer for contract events }
Polygonzkevmglobalexitrootmock is an auto generated Go binding around an Ethereum contract.
func DeployPolygonzkevmglobalexitrootmock ¶
func DeployPolygonzkevmglobalexitrootmock(auth *bind.TransactOpts, backend bind.ContractBackend, _rollupAddress common.Address, _bridgeAddress common.Address) (common.Address, *types.Transaction, *Polygonzkevmglobalexitrootmock, error)
DeployPolygonzkevmglobalexitrootmock deploys a new Ethereum contract, binding an instance of Polygonzkevmglobalexitrootmock to it.
func NewPolygonzkevmglobalexitrootmock ¶
func NewPolygonzkevmglobalexitrootmock(address common.Address, backend bind.ContractBackend) (*Polygonzkevmglobalexitrootmock, error)
NewPolygonzkevmglobalexitrootmock creates a new instance of Polygonzkevmglobalexitrootmock, bound to a specific deployed contract.
type PolygonzkevmglobalexitrootmockCaller ¶
type PolygonzkevmglobalexitrootmockCaller struct {
// contains filtered or unexported fields
}
PolygonzkevmglobalexitrootmockCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPolygonzkevmglobalexitrootmockCaller ¶
func NewPolygonzkevmglobalexitrootmockCaller(address common.Address, caller bind.ContractCaller) (*PolygonzkevmglobalexitrootmockCaller, error)
NewPolygonzkevmglobalexitrootmockCaller creates a new read-only instance of Polygonzkevmglobalexitrootmock, bound to a specific deployed contract.
func (*PolygonzkevmglobalexitrootmockCaller) BridgeAddress ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) BridgeAddress(opts *bind.CallOpts) (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*PolygonzkevmglobalexitrootmockCaller) GetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) GetLastGlobalExitRoot(opts *bind.CallOpts) ([32]byte, error)
GetLastGlobalExitRoot is a free data retrieval call binding the contract method 0x3ed691ef.
Solidity: function getLastGlobalExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootmockCaller) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) GlobalExitRootMap(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
GlobalExitRootMap is a free data retrieval call binding the contract method 0x257b3632.
Solidity: function globalExitRootMap(bytes32 ) view returns(uint256)
func (*PolygonzkevmglobalexitrootmockCaller) LastMainnetExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) LastMainnetExitRoot(opts *bind.CallOpts) ([32]byte, error)
LastMainnetExitRoot is a free data retrieval call binding the contract method 0x319cf735.
Solidity: function lastMainnetExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootmockCaller) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) LastRollupExitRoot(opts *bind.CallOpts) ([32]byte, error)
LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.
Solidity: function lastRollupExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootmockCaller) RollupAddress ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) RollupAddress(opts *bind.CallOpts) (common.Address, error)
RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.
Solidity: function rollupAddress() view returns(address)
type PolygonzkevmglobalexitrootmockCallerRaw ¶
type PolygonzkevmglobalexitrootmockCallerRaw struct {
Contract *PolygonzkevmglobalexitrootmockCaller // Generic read-only contract binding to access the raw methods on
}
PolygonzkevmglobalexitrootmockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PolygonzkevmglobalexitrootmockCallerRaw) Call ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerRaw) 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 PolygonzkevmglobalexitrootmockCallerSession ¶
type PolygonzkevmglobalexitrootmockCallerSession struct { Contract *PolygonzkevmglobalexitrootmockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PolygonzkevmglobalexitrootmockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PolygonzkevmglobalexitrootmockCallerSession) BridgeAddress ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*PolygonzkevmglobalexitrootmockCallerSession) GetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) GetLastGlobalExitRoot() ([32]byte, error)
GetLastGlobalExitRoot is a free data retrieval call binding the contract method 0x3ed691ef.
Solidity: function getLastGlobalExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootmockCallerSession) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) GlobalExitRootMap(arg0 [32]byte) (*big.Int, error)
GlobalExitRootMap is a free data retrieval call binding the contract method 0x257b3632.
Solidity: function globalExitRootMap(bytes32 ) view returns(uint256)
func (*PolygonzkevmglobalexitrootmockCallerSession) LastMainnetExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) LastMainnetExitRoot() ([32]byte, error)
LastMainnetExitRoot is a free data retrieval call binding the contract method 0x319cf735.
Solidity: function lastMainnetExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootmockCallerSession) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) LastRollupExitRoot() ([32]byte, error)
LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.
Solidity: function lastRollupExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootmockCallerSession) RollupAddress ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) RollupAddress() (common.Address, error)
RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.
Solidity: function rollupAddress() view returns(address)
type PolygonzkevmglobalexitrootmockFilterer ¶
type PolygonzkevmglobalexitrootmockFilterer struct {
// contains filtered or unexported fields
}
PolygonzkevmglobalexitrootmockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPolygonzkevmglobalexitrootmockFilterer ¶
func NewPolygonzkevmglobalexitrootmockFilterer(address common.Address, filterer bind.ContractFilterer) (*PolygonzkevmglobalexitrootmockFilterer, error)
NewPolygonzkevmglobalexitrootmockFilterer creates a new log filterer instance of Polygonzkevmglobalexitrootmock, bound to a specific deployed contract.
func (*PolygonzkevmglobalexitrootmockFilterer) FilterUpdateGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockFilterer) FilterUpdateGlobalExitRoot(opts *bind.FilterOpts, mainnetExitRoot [][32]byte, rollupExitRoot [][32]byte) (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator, error)
FilterUpdateGlobalExitRoot is a free log retrieval operation binding the contract event 0x61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce3.
Solidity: event UpdateGlobalExitRoot(bytes32 indexed mainnetExitRoot, bytes32 indexed rollupExitRoot)
func (*PolygonzkevmglobalexitrootmockFilterer) ParseUpdateGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockFilterer) ParseUpdateGlobalExitRoot(log types.Log) (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot, error)
ParseUpdateGlobalExitRoot is a log parse operation binding the contract event 0x61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce3.
Solidity: event UpdateGlobalExitRoot(bytes32 indexed mainnetExitRoot, bytes32 indexed rollupExitRoot)
func (*PolygonzkevmglobalexitrootmockFilterer) WatchUpdateGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockFilterer) WatchUpdateGlobalExitRoot(opts *bind.WatchOpts, sink chan<- *PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot, mainnetExitRoot [][32]byte, rollupExitRoot [][32]byte) (event.Subscription, error)
WatchUpdateGlobalExitRoot is a free log subscription operation binding the contract event 0x61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce3.
Solidity: event UpdateGlobalExitRoot(bytes32 indexed mainnetExitRoot, bytes32 indexed rollupExitRoot)
type PolygonzkevmglobalexitrootmockRaw ¶
type PolygonzkevmglobalexitrootmockRaw struct {
Contract *Polygonzkevmglobalexitrootmock // Generic contract binding to access the raw methods on
}
PolygonzkevmglobalexitrootmockRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PolygonzkevmglobalexitrootmockRaw) Call ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockRaw) 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 (*PolygonzkevmglobalexitrootmockRaw) Transact ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PolygonzkevmglobalexitrootmockRaw) Transfer ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockRaw) 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 PolygonzkevmglobalexitrootmockSession ¶
type PolygonzkevmglobalexitrootmockSession struct { Contract *Polygonzkevmglobalexitrootmock // 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 }
PolygonzkevmglobalexitrootmockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PolygonzkevmglobalexitrootmockSession) BridgeAddress ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*PolygonzkevmglobalexitrootmockSession) GetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) GetLastGlobalExitRoot() ([32]byte, error)
GetLastGlobalExitRoot is a free data retrieval call binding the contract method 0x3ed691ef.
Solidity: function getLastGlobalExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootmockSession) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) GlobalExitRootMap(arg0 [32]byte) (*big.Int, error)
GlobalExitRootMap is a free data retrieval call binding the contract method 0x257b3632.
Solidity: function globalExitRootMap(bytes32 ) view returns(uint256)
func (*PolygonzkevmglobalexitrootmockSession) LastMainnetExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) LastMainnetExitRoot() ([32]byte, error)
LastMainnetExitRoot is a free data retrieval call binding the contract method 0x319cf735.
Solidity: function lastMainnetExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootmockSession) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) LastRollupExitRoot() ([32]byte, error)
LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.
Solidity: function lastRollupExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootmockSession) RollupAddress ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) RollupAddress() (common.Address, error)
RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.
Solidity: function rollupAddress() view returns(address)
func (*PolygonzkevmglobalexitrootmockSession) SetGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) SetGlobalExitRoot(globalExitRoot [32]byte, timestamp *big.Int) (*types.Transaction, error)
SetGlobalExitRoot is a paid mutator transaction binding the contract method 0x5bcef673.
Solidity: function setGlobalExitRoot(bytes32 globalExitRoot, uint256 timestamp) returns()
func (*PolygonzkevmglobalexitrootmockSession) SetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) SetLastGlobalExitRoot(timestamp *big.Int) (*types.Transaction, error)
SetLastGlobalExitRoot is a paid mutator transaction binding the contract method 0x051a9e28.
Solidity: function setLastGlobalExitRoot(uint256 timestamp) returns()
func (*PolygonzkevmglobalexitrootmockSession) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) UpdateExitRoot(newRoot [32]byte) (*types.Transaction, error)
UpdateExitRoot is a paid mutator transaction binding the contract method 0x33d6247d.
Solidity: function updateExitRoot(bytes32 newRoot) returns()
type PolygonzkevmglobalexitrootmockTransactor ¶
type PolygonzkevmglobalexitrootmockTransactor struct {
// contains filtered or unexported fields
}
PolygonzkevmglobalexitrootmockTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPolygonzkevmglobalexitrootmockTransactor ¶
func NewPolygonzkevmglobalexitrootmockTransactor(address common.Address, transactor bind.ContractTransactor) (*PolygonzkevmglobalexitrootmockTransactor, error)
NewPolygonzkevmglobalexitrootmockTransactor creates a new write-only instance of Polygonzkevmglobalexitrootmock, bound to a specific deployed contract.
func (*PolygonzkevmglobalexitrootmockTransactor) SetGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactor) SetGlobalExitRoot(opts *bind.TransactOpts, globalExitRoot [32]byte, timestamp *big.Int) (*types.Transaction, error)
SetGlobalExitRoot is a paid mutator transaction binding the contract method 0x5bcef673.
Solidity: function setGlobalExitRoot(bytes32 globalExitRoot, uint256 timestamp) returns()
func (*PolygonzkevmglobalexitrootmockTransactor) SetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactor) SetLastGlobalExitRoot(opts *bind.TransactOpts, timestamp *big.Int) (*types.Transaction, error)
SetLastGlobalExitRoot is a paid mutator transaction binding the contract method 0x051a9e28.
Solidity: function setLastGlobalExitRoot(uint256 timestamp) returns()
func (*PolygonzkevmglobalexitrootmockTransactor) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactor) UpdateExitRoot(opts *bind.TransactOpts, newRoot [32]byte) (*types.Transaction, error)
UpdateExitRoot is a paid mutator transaction binding the contract method 0x33d6247d.
Solidity: function updateExitRoot(bytes32 newRoot) returns()
type PolygonzkevmglobalexitrootmockTransactorRaw ¶
type PolygonzkevmglobalexitrootmockTransactorRaw struct {
Contract *PolygonzkevmglobalexitrootmockTransactor // Generic write-only contract binding to access the raw methods on
}
PolygonzkevmglobalexitrootmockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PolygonzkevmglobalexitrootmockTransactorRaw) Transact ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PolygonzkevmglobalexitrootmockTransactorRaw) Transfer ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorRaw) 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 PolygonzkevmglobalexitrootmockTransactorSession ¶
type PolygonzkevmglobalexitrootmockTransactorSession struct { Contract *PolygonzkevmglobalexitrootmockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PolygonzkevmglobalexitrootmockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PolygonzkevmglobalexitrootmockTransactorSession) SetGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorSession) SetGlobalExitRoot(globalExitRoot [32]byte, timestamp *big.Int) (*types.Transaction, error)
SetGlobalExitRoot is a paid mutator transaction binding the contract method 0x5bcef673.
Solidity: function setGlobalExitRoot(bytes32 globalExitRoot, uint256 timestamp) returns()
func (*PolygonzkevmglobalexitrootmockTransactorSession) SetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorSession) SetLastGlobalExitRoot(timestamp *big.Int) (*types.Transaction, error)
SetLastGlobalExitRoot is a paid mutator transaction binding the contract method 0x051a9e28.
Solidity: function setLastGlobalExitRoot(uint256 timestamp) returns()
func (*PolygonzkevmglobalexitrootmockTransactorSession) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorSession) UpdateExitRoot(newRoot [32]byte) (*types.Transaction, error)
UpdateExitRoot is a paid mutator transaction binding the contract method 0x33d6247d.
Solidity: function updateExitRoot(bytes32 newRoot) returns()
type PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot ¶
type PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot struct { MainnetExitRoot [32]byte RollupExitRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot represents a UpdateGlobalExitRoot event raised by the Polygonzkevmglobalexitrootmock contract.
type PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator ¶
type PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator struct { Event *PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator is returned from FilterUpdateGlobalExitRoot and is used to iterate over the raw logs and unpacked data for UpdateGlobalExitRoot events raised by the Polygonzkevmglobalexitrootmock contract.
func (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator) Close ¶
func (it *PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator) Error ¶
func (it *PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator) Next ¶
func (it *PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator) 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.