Documentation ¶
Index ¶
- Variables
- type Polygonzkevmglobalexitroot
- type PolygonzkevmglobalexitrootCaller
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) BridgeAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) GetLastGlobalExitRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) GlobalExitRootMap(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) LastMainnetExitRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) LastRollupExitRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) RollupAddress(opts *bind.CallOpts) (common.Address, error)
- type PolygonzkevmglobalexitrootCallerRaw
- type PolygonzkevmglobalexitrootCallerSession
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) BridgeAddress() (common.Address, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) GetLastGlobalExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) GlobalExitRootMap(arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) LastMainnetExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) LastRollupExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) RollupAddress() (common.Address, error)
- type PolygonzkevmglobalexitrootFilterer
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootFilterer) FilterUpdateGlobalExitRoot(opts *bind.FilterOpts, mainnetExitRoot [][32]byte, rollupExitRoot [][32]byte) (*PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootFilterer) ParseUpdateGlobalExitRoot(log types.Log) (*PolygonzkevmglobalexitrootUpdateGlobalExitRoot, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootFilterer) WatchUpdateGlobalExitRoot(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type PolygonzkevmglobalexitrootRaw
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PolygonzkevmglobalexitrootSession
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) BridgeAddress() (common.Address, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) GetLastGlobalExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) GlobalExitRootMap(arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) LastMainnetExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) LastRollupExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) RollupAddress() (common.Address, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) UpdateExitRoot(newRoot [32]byte) (*types.Transaction, error)
- type PolygonzkevmglobalexitrootTransactor
- type PolygonzkevmglobalexitrootTransactorRaw
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PolygonzkevmglobalexitrootTransactorSession
- type PolygonzkevmglobalexitrootUpdateGlobalExitRoot
- type PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator
Constants ¶
This section is empty.
Variables ¶
var PolygonzkevmglobalexitrootABI = PolygonzkevmglobalexitrootMetaData.ABI
PolygonzkevmglobalexitrootABI is the input ABI used to generate the binding from. Deprecated: Use PolygonzkevmglobalexitrootMetaData.ABI instead.
var PolygonzkevmglobalexitrootBin = PolygonzkevmglobalexitrootMetaData.Bin
PolygonzkevmglobalexitrootBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PolygonzkevmglobalexitrootMetaData.Bin instead.
var PolygonzkevmglobalexitrootMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rollupAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_bridgeAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"OnlyAllowedContracts\",\"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\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"updateExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60c060405234801561000f575f80fd5b506040516103e13803806103e183398101604081905261002e91610060565b6001600160a01b0391821660a05216608052610091565b80516001600160a01b038116811461005b575f80fd5b919050565b5f8060408385031215610071575f80fd5b61007a83610045565b915061008860208401610045565b90509250929050565b60805160a0516103226100bf5f395f818160e301526101b601525f818161012f015261016d01526103225ff3fe608060405234801561000f575f80fd5b506004361061007a575f3560e01c806333d6247d1161005857806333d6247d146100c15780633ed691ef146100d65780635ec6a8df146100de578063a3c573eb1461012a575f80fd5b806301fd90441461007e578063257b363214610099578063319cf735146100b8575b5f80fd5b6100865f5481565b6040519081526020015b60405180910390f35b6100866100a73660046102d5565b60026020525f908152604090205481565b61008660015481565b6100d46100cf3660046102d5565b610151565b005b61008661029b565b6101057f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610090565b6101057f000000000000000000000000000000000000000000000000000000000000000081565b5f5460015473ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016330361019f575060018290558161021a565b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633036101e8575f83905582915061021a565b6040517fb49365dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516020808201849052818301859052825180830384018152606090920190925280519101205f905f8181526002602052604081205491925003610295575f8181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b5f6102d06001545f54604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b905090565b5f602082840312156102e5575f80fd5b503591905056fea26469706673582212205b8fae68ff3c2dfc257497be9184a2e772688dbece1343c3dc2e8c1923291be864736f6c63430008140033",
}
PolygonzkevmglobalexitrootMetaData contains all meta data concerning the Polygonzkevmglobalexitroot contract.
Functions ¶
This section is empty.
Types ¶
type Polygonzkevmglobalexitroot ¶
type Polygonzkevmglobalexitroot struct { PolygonzkevmglobalexitrootCaller // Read-only binding to the contract PolygonzkevmglobalexitrootTransactor // Write-only binding to the contract PolygonzkevmglobalexitrootFilterer // Log filterer for contract events }
Polygonzkevmglobalexitroot is an auto generated Go binding around an Ethereum contract.
func DeployPolygonzkevmglobalexitroot ¶
func DeployPolygonzkevmglobalexitroot(auth *bind.TransactOpts, backend bind.ContractBackend, _rollupAddress common.Address, _bridgeAddress common.Address) (common.Address, *types.Transaction, *Polygonzkevmglobalexitroot, error)
DeployPolygonzkevmglobalexitroot deploys a new Ethereum contract, binding an instance of Polygonzkevmglobalexitroot to it.
func NewPolygonzkevmglobalexitroot ¶
func NewPolygonzkevmglobalexitroot(address common.Address, backend bind.ContractBackend) (*Polygonzkevmglobalexitroot, error)
NewPolygonzkevmglobalexitroot creates a new instance of Polygonzkevmglobalexitroot, bound to a specific deployed contract.
type PolygonzkevmglobalexitrootCaller ¶
type PolygonzkevmglobalexitrootCaller struct {
// contains filtered or unexported fields
}
PolygonzkevmglobalexitrootCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPolygonzkevmglobalexitrootCaller ¶
func NewPolygonzkevmglobalexitrootCaller(address common.Address, caller bind.ContractCaller) (*PolygonzkevmglobalexitrootCaller, error)
NewPolygonzkevmglobalexitrootCaller creates a new read-only instance of Polygonzkevmglobalexitroot, bound to a specific deployed contract.
func (*PolygonzkevmglobalexitrootCaller) BridgeAddress ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) 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 (*PolygonzkevmglobalexitrootCaller) GetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) 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 (*PolygonzkevmglobalexitrootCaller) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) 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 (*PolygonzkevmglobalexitrootCaller) LastMainnetExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) 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 (*PolygonzkevmglobalexitrootCaller) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) 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 (*PolygonzkevmglobalexitrootCaller) RollupAddress ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCaller) 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 PolygonzkevmglobalexitrootCallerRaw ¶
type PolygonzkevmglobalexitrootCallerRaw struct {
Contract *PolygonzkevmglobalexitrootCaller // Generic read-only contract binding to access the raw methods on
}
PolygonzkevmglobalexitrootCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PolygonzkevmglobalexitrootCallerRaw) Call ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerRaw) 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 PolygonzkevmglobalexitrootCallerSession ¶
type PolygonzkevmglobalexitrootCallerSession struct { Contract *PolygonzkevmglobalexitrootCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PolygonzkevmglobalexitrootCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PolygonzkevmglobalexitrootCallerSession) BridgeAddress ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*PolygonzkevmglobalexitrootCallerSession) GetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) GetLastGlobalExitRoot() ([32]byte, error)
GetLastGlobalExitRoot is a free data retrieval call binding the contract method 0x3ed691ef.
Solidity: function getLastGlobalExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootCallerSession) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) 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 (*PolygonzkevmglobalexitrootCallerSession) LastMainnetExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) LastMainnetExitRoot() ([32]byte, error)
LastMainnetExitRoot is a free data retrieval call binding the contract method 0x319cf735.
Solidity: function lastMainnetExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootCallerSession) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) LastRollupExitRoot() ([32]byte, error)
LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.
Solidity: function lastRollupExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootCallerSession) RollupAddress ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootCallerSession) RollupAddress() (common.Address, error)
RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.
Solidity: function rollupAddress() view returns(address)
type PolygonzkevmglobalexitrootFilterer ¶
type PolygonzkevmglobalexitrootFilterer struct {
// contains filtered or unexported fields
}
PolygonzkevmglobalexitrootFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPolygonzkevmglobalexitrootFilterer ¶
func NewPolygonzkevmglobalexitrootFilterer(address common.Address, filterer bind.ContractFilterer) (*PolygonzkevmglobalexitrootFilterer, error)
NewPolygonzkevmglobalexitrootFilterer creates a new log filterer instance of Polygonzkevmglobalexitroot, bound to a specific deployed contract.
func (*PolygonzkevmglobalexitrootFilterer) FilterUpdateGlobalExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootFilterer) FilterUpdateGlobalExitRoot(opts *bind.FilterOpts, mainnetExitRoot [][32]byte, rollupExitRoot [][32]byte) (*PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator, error)
FilterUpdateGlobalExitRoot is a free log retrieval operation binding the contract event 0x61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce3.
Solidity: event UpdateGlobalExitRoot(bytes32 indexed mainnetExitRoot, bytes32 indexed rollupExitRoot)
func (*PolygonzkevmglobalexitrootFilterer) ParseUpdateGlobalExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootFilterer) ParseUpdateGlobalExitRoot(log types.Log) (*PolygonzkevmglobalexitrootUpdateGlobalExitRoot, error)
ParseUpdateGlobalExitRoot is a log parse operation binding the contract event 0x61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce3.
Solidity: event UpdateGlobalExitRoot(bytes32 indexed mainnetExitRoot, bytes32 indexed rollupExitRoot)
func (*PolygonzkevmglobalexitrootFilterer) WatchUpdateGlobalExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootFilterer) WatchUpdateGlobalExitRoot(opts *bind.WatchOpts, sink chan<- *PolygonzkevmglobalexitrootUpdateGlobalExitRoot, 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 PolygonzkevmglobalexitrootRaw ¶
type PolygonzkevmglobalexitrootRaw struct {
Contract *Polygonzkevmglobalexitroot // Generic contract binding to access the raw methods on
}
PolygonzkevmglobalexitrootRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PolygonzkevmglobalexitrootRaw) Call ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootRaw) 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 (*PolygonzkevmglobalexitrootRaw) Transact ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PolygonzkevmglobalexitrootRaw) Transfer ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootRaw) 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 PolygonzkevmglobalexitrootSession ¶
type PolygonzkevmglobalexitrootSession struct { Contract *Polygonzkevmglobalexitroot // 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 }
PolygonzkevmglobalexitrootSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PolygonzkevmglobalexitrootSession) BridgeAddress ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*PolygonzkevmglobalexitrootSession) GetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) GetLastGlobalExitRoot() ([32]byte, error)
GetLastGlobalExitRoot is a free data retrieval call binding the contract method 0x3ed691ef.
Solidity: function getLastGlobalExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootSession) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) 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 (*PolygonzkevmglobalexitrootSession) LastMainnetExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) LastMainnetExitRoot() ([32]byte, error)
LastMainnetExitRoot is a free data retrieval call binding the contract method 0x319cf735.
Solidity: function lastMainnetExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootSession) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) LastRollupExitRoot() ([32]byte, error)
LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.
Solidity: function lastRollupExitRoot() view returns(bytes32)
func (*PolygonzkevmglobalexitrootSession) RollupAddress ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) RollupAddress() (common.Address, error)
RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.
Solidity: function rollupAddress() view returns(address)
func (*PolygonzkevmglobalexitrootSession) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootSession) 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 PolygonzkevmglobalexitrootTransactor ¶
type PolygonzkevmglobalexitrootTransactor struct {
// contains filtered or unexported fields
}
PolygonzkevmglobalexitrootTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPolygonzkevmglobalexitrootTransactor ¶
func NewPolygonzkevmglobalexitrootTransactor(address common.Address, transactor bind.ContractTransactor) (*PolygonzkevmglobalexitrootTransactor, error)
NewPolygonzkevmglobalexitrootTransactor creates a new write-only instance of Polygonzkevmglobalexitroot, bound to a specific deployed contract.
func (*PolygonzkevmglobalexitrootTransactor) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootTransactor) 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 PolygonzkevmglobalexitrootTransactorRaw ¶
type PolygonzkevmglobalexitrootTransactorRaw struct {
Contract *PolygonzkevmglobalexitrootTransactor // Generic write-only contract binding to access the raw methods on
}
PolygonzkevmglobalexitrootTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PolygonzkevmglobalexitrootTransactorRaw) Transact ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PolygonzkevmglobalexitrootTransactorRaw) Transfer ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootTransactorRaw) 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 PolygonzkevmglobalexitrootTransactorSession ¶
type PolygonzkevmglobalexitrootTransactorSession struct { Contract *PolygonzkevmglobalexitrootTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PolygonzkevmglobalexitrootTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PolygonzkevmglobalexitrootTransactorSession) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitroot *PolygonzkevmglobalexitrootTransactorSession) 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 PolygonzkevmglobalexitrootUpdateGlobalExitRoot ¶
type PolygonzkevmglobalexitrootUpdateGlobalExitRoot struct { MainnetExitRoot [32]byte RollupExitRoot [32]byte Raw types.Log // Blockchain specific contextual infos }
PolygonzkevmglobalexitrootUpdateGlobalExitRoot represents a UpdateGlobalExitRoot event raised by the Polygonzkevmglobalexitroot contract.
type PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator ¶
type PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator struct { Event *PolygonzkevmglobalexitrootUpdateGlobalExitRoot // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator is returned from FilterUpdateGlobalExitRoot and is used to iterate over the raw logs and unpacked data for UpdateGlobalExitRoot events raised by the Polygonzkevmglobalexitroot contract.
func (*PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator) Close ¶
func (it *PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator) Error ¶
func (it *PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator) Next ¶
func (it *PolygonzkevmglobalexitrootUpdateGlobalExitRootIterator) 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.