Documentation ¶
Index ¶
- Variables
- type Polygonzkevmglobalexitrootl2
- func DeployPolygonzkevmglobalexitrootl2(auth *bind.TransactOpts, backend bind.ContractBackend, ...) (common.Address, *types.Transaction, *Polygonzkevmglobalexitrootl2, error)
- func NewPolygonzkevmglobalexitrootl2(address common.Address, backend bind.ContractBackend) (*Polygonzkevmglobalexitrootl2, error)
- type Polygonzkevmglobalexitrootl2Caller
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Caller) BridgeAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Caller) GlobalExitRootMap(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Caller) LastRollupExitRoot(opts *bind.CallOpts) ([32]byte, error)
- type Polygonzkevmglobalexitrootl2CallerRaw
- type Polygonzkevmglobalexitrootl2CallerSession
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2CallerSession) BridgeAddress() (common.Address, error)
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2CallerSession) GlobalExitRootMap(arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2CallerSession) LastRollupExitRoot() ([32]byte, error)
- type Polygonzkevmglobalexitrootl2Filterer
- type Polygonzkevmglobalexitrootl2Raw
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Polygonzkevmglobalexitrootl2Session
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Session) BridgeAddress() (common.Address, error)
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Session) GlobalExitRootMap(arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Session) LastRollupExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Session) UpdateExitRoot(newRoot [32]byte) (*types.Transaction, error)
- type Polygonzkevmglobalexitrootl2Transactor
- type Polygonzkevmglobalexitrootl2TransactorRaw
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Polygonzkevmglobalexitrootl2TransactorSession
Constants ¶
This section is empty.
Variables ¶
var Polygonzkevmglobalexitrootl2ABI = Polygonzkevmglobalexitrootl2MetaData.ABI
Polygonzkevmglobalexitrootl2ABI is the input ABI used to generate the binding from. Deprecated: Use Polygonzkevmglobalexitrootl2MetaData.ABI instead.
var Polygonzkevmglobalexitrootl2Bin = Polygonzkevmglobalexitrootl2MetaData.Bin
Polygonzkevmglobalexitrootl2Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use Polygonzkevmglobalexitrootl2MetaData.Bin instead.
var Polygonzkevmglobalexitrootl2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bridgeAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"OnlyAllowedContracts\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"bridgeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"globalExitRootMap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRollupExitRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"updateExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60a060405234801561000f575f80fd5b5060405161023538038061023583398101604081905261002e9161003f565b6001600160a01b031660805261006c565b5f6020828403121561004f575f80fd5b81516001600160a01b0381168114610065575f80fd5b9392505050565b6080516101ab61008a5f395f818160a3015261010201526101ab5ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c806301fd90441461004e578063257b36321461006a57806333d6247d14610089578063a3c573eb1461009e575b5f80fd5b61005760015481565b6040519081526020015b60405180910390f35b61005761007836600461015e565b5f6020819052908152604090205481565b61009c61009736600461015e565b6100ea565b005b6100c57f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610061565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610159576040517fb49365dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600155565b5f6020828403121561016e575f80fd5b503591905056fea26469706673582212205108c6c4f924146b736832a1bdf696e20d900450207b7452462368d150f2c71c64736f6c63430008140033",
}
Polygonzkevmglobalexitrootl2MetaData contains all meta data concerning the Polygonzkevmglobalexitrootl2 contract.
Functions ¶
This section is empty.
Types ¶
type Polygonzkevmglobalexitrootl2 ¶
type Polygonzkevmglobalexitrootl2 struct { Polygonzkevmglobalexitrootl2Caller // Read-only binding to the contract Polygonzkevmglobalexitrootl2Transactor // Write-only binding to the contract Polygonzkevmglobalexitrootl2Filterer // Log filterer for contract events }
Polygonzkevmglobalexitrootl2 is an auto generated Go binding around an Ethereum contract.
func DeployPolygonzkevmglobalexitrootl2 ¶
func DeployPolygonzkevmglobalexitrootl2(auth *bind.TransactOpts, backend bind.ContractBackend, _bridgeAddress common.Address) (common.Address, *types.Transaction, *Polygonzkevmglobalexitrootl2, error)
DeployPolygonzkevmglobalexitrootl2 deploys a new Ethereum contract, binding an instance of Polygonzkevmglobalexitrootl2 to it.
func NewPolygonzkevmglobalexitrootl2 ¶
func NewPolygonzkevmglobalexitrootl2(address common.Address, backend bind.ContractBackend) (*Polygonzkevmglobalexitrootl2, error)
NewPolygonzkevmglobalexitrootl2 creates a new instance of Polygonzkevmglobalexitrootl2, bound to a specific deployed contract.
type Polygonzkevmglobalexitrootl2Caller ¶
type Polygonzkevmglobalexitrootl2Caller struct {
// contains filtered or unexported fields
}
Polygonzkevmglobalexitrootl2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewPolygonzkevmglobalexitrootl2Caller ¶
func NewPolygonzkevmglobalexitrootl2Caller(address common.Address, caller bind.ContractCaller) (*Polygonzkevmglobalexitrootl2Caller, error)
NewPolygonzkevmglobalexitrootl2Caller creates a new read-only instance of Polygonzkevmglobalexitrootl2, bound to a specific deployed contract.
func (*Polygonzkevmglobalexitrootl2Caller) BridgeAddress ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Caller) 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 (*Polygonzkevmglobalexitrootl2Caller) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Caller) 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 (*Polygonzkevmglobalexitrootl2Caller) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Caller) 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)
type Polygonzkevmglobalexitrootl2CallerRaw ¶
type Polygonzkevmglobalexitrootl2CallerRaw struct {
Contract *Polygonzkevmglobalexitrootl2Caller // Generic read-only contract binding to access the raw methods on
}
Polygonzkevmglobalexitrootl2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Polygonzkevmglobalexitrootl2CallerRaw) Call ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2CallerRaw) 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 Polygonzkevmglobalexitrootl2CallerSession ¶
type Polygonzkevmglobalexitrootl2CallerSession struct { Contract *Polygonzkevmglobalexitrootl2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Polygonzkevmglobalexitrootl2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Polygonzkevmglobalexitrootl2CallerSession) BridgeAddress ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2CallerSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*Polygonzkevmglobalexitrootl2CallerSession) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2CallerSession) 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 (*Polygonzkevmglobalexitrootl2CallerSession) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2CallerSession) LastRollupExitRoot() ([32]byte, error)
LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.
Solidity: function lastRollupExitRoot() view returns(bytes32)
type Polygonzkevmglobalexitrootl2Filterer ¶
type Polygonzkevmglobalexitrootl2Filterer struct {
// contains filtered or unexported fields
}
Polygonzkevmglobalexitrootl2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPolygonzkevmglobalexitrootl2Filterer ¶
func NewPolygonzkevmglobalexitrootl2Filterer(address common.Address, filterer bind.ContractFilterer) (*Polygonzkevmglobalexitrootl2Filterer, error)
NewPolygonzkevmglobalexitrootl2Filterer creates a new log filterer instance of Polygonzkevmglobalexitrootl2, bound to a specific deployed contract.
type Polygonzkevmglobalexitrootl2Raw ¶
type Polygonzkevmglobalexitrootl2Raw struct {
Contract *Polygonzkevmglobalexitrootl2 // Generic contract binding to access the raw methods on
}
Polygonzkevmglobalexitrootl2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Polygonzkevmglobalexitrootl2Raw) Call ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Raw) 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 (*Polygonzkevmglobalexitrootl2Raw) Transact ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Polygonzkevmglobalexitrootl2Raw) Transfer ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Raw) 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 Polygonzkevmglobalexitrootl2Session ¶
type Polygonzkevmglobalexitrootl2Session struct { Contract *Polygonzkevmglobalexitrootl2 // 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 }
Polygonzkevmglobalexitrootl2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Polygonzkevmglobalexitrootl2Session) BridgeAddress ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Session) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*Polygonzkevmglobalexitrootl2Session) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Session) 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 (*Polygonzkevmglobalexitrootl2Session) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Session) LastRollupExitRoot() ([32]byte, error)
LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.
Solidity: function lastRollupExitRoot() view returns(bytes32)
func (*Polygonzkevmglobalexitrootl2Session) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Session) 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 Polygonzkevmglobalexitrootl2Transactor ¶
type Polygonzkevmglobalexitrootl2Transactor struct {
// contains filtered or unexported fields
}
Polygonzkevmglobalexitrootl2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPolygonzkevmglobalexitrootl2Transactor ¶
func NewPolygonzkevmglobalexitrootl2Transactor(address common.Address, transactor bind.ContractTransactor) (*Polygonzkevmglobalexitrootl2Transactor, error)
NewPolygonzkevmglobalexitrootl2Transactor creates a new write-only instance of Polygonzkevmglobalexitrootl2, bound to a specific deployed contract.
func (*Polygonzkevmglobalexitrootl2Transactor) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2Transactor) 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 Polygonzkevmglobalexitrootl2TransactorRaw ¶
type Polygonzkevmglobalexitrootl2TransactorRaw struct {
Contract *Polygonzkevmglobalexitrootl2Transactor // Generic write-only contract binding to access the raw methods on
}
Polygonzkevmglobalexitrootl2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Polygonzkevmglobalexitrootl2TransactorRaw) Transact ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Polygonzkevmglobalexitrootl2TransactorRaw) Transfer ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2TransactorRaw) 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 Polygonzkevmglobalexitrootl2TransactorSession ¶
type Polygonzkevmglobalexitrootl2TransactorSession struct { Contract *Polygonzkevmglobalexitrootl2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Polygonzkevmglobalexitrootl2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Polygonzkevmglobalexitrootl2TransactorSession) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitrootl2 *Polygonzkevmglobalexitrootl2TransactorSession) UpdateExitRoot(newRoot [32]byte) (*types.Transaction, error)
UpdateExitRoot is a paid mutator transaction binding the contract method 0x33d6247d.
Solidity: function updateExitRoot(bytes32 newRoot) returns()