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: "0x60c060405234801561001057600080fd5b506040516103f83803806103f883398101604081905261002f91610062565b6001600160a01b0391821660a05216608052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516103316100c76000396000818160e901526101bd015260008181610135015261017401526103316000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c806333d6247d1161005b57806333d6247d146100c75780633ed691ef146100dc5780635ec6a8df146100e4578063a3c573eb1461013057600080fd5b806301fd904414610082578063257b36321461009e578063319cf735146100be575b600080fd5b61008b60005481565b6040519081526020015b60405180910390f35b61008b6100ac3660046102e2565b60026020526000908152604090205481565b61008b60015481565b6100da6100d53660046102e2565b610157565b005b61008b6102a6565b61010b7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610095565b61010b7f000000000000000000000000000000000000000000000000000000000000000081565b60005460015473ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633036101a65750600182905581610222565b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633036101f0576000839055829150610222565b6040517fb49365dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051602080820184905281830185905282518083038401815260609092019092528051910120600090600081815260026020526040812054919250036102a05760008181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b60006102dd600154600054604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b905090565b6000602082840312156102f457600080fd5b503591905056fea2646970667358221220bc23c6d5d3992802bdfd06ef45362230dcda7d33db81b1dc3ef40d86219e81c864736f6c63430008110033",
}
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.