polygonzkevmglobalexitrootl2

package
v0.1.118-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Polygonzkevmglobalexitrootl2ABI = Polygonzkevmglobalexitrootl2MetaData.ABI

Polygonzkevmglobalexitrootl2ABI is the input ABI used to generate the binding from. Deprecated: Use Polygonzkevmglobalexitrootl2MetaData.ABI instead.

View Source
var Polygonzkevmglobalexitrootl2Bin = Polygonzkevmglobalexitrootl2MetaData.Bin

Polygonzkevmglobalexitrootl2Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use Polygonzkevmglobalexitrootl2MetaData.Bin instead.

View Source
var Polygonzkevmglobalexitrootl2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bridgeAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"GlobalExitRootAlreadySet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GlobalExitRootNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyAllowedContracts\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyGlobalExitRootRemover\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyGlobalExitRootUpdater\",\"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: "0x60a060405234801561000f575f5ffd5b506040516103fe3803806103fe833981810160405281019061003191906100c9565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050506100f4565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100988261006f565b9050919050565b6100a88161008e565b81146100b2575f5ffd5b50565b5f815190506100c38161009f565b92915050565b5f602082840312156100de576100dd61006b565b5b5f6100eb848285016100b5565b91505092915050565b6080516102ec6101125f395f818160f2015261018101526102ec5ff3fe608060405234801561000f575f5ffd5b506004361061004a575f3560e01c806301fd90441461004e578063257b36321461006c57806333d6247d1461009c578063a3c573eb146100b8575b5f5ffd5b6100566100d6565b60405161006391906101bb565b60405180910390f35b61008660048036038101906100819190610202565b6100dc565b6040516100939190610245565b60405180910390f35b6100b660048036038101906100b19190610202565b6100f0565b005b6100c061017f565b6040516100cd919061029d565b60405180910390f35b60015481565b5f602052805f5260405f205f915090505481565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610175576040517fb49365dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060018190555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f819050919050565b6101b5816101a3565b82525050565b5f6020820190506101ce5f8301846101ac565b92915050565b5f5ffd5b6101e1816101a3565b81146101eb575f5ffd5b50565b5f813590506101fc816101d8565b92915050565b5f60208284031215610217576102166101d4565b5b5f610224848285016101ee565b91505092915050565b5f819050919050565b61023f8161022d565b82525050565b5f6020820190506102585f830184610236565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6102878261025e565b9050919050565b6102978161027d565b82525050565b5f6020820190506102b05f83018461028e565b9291505056fea2646970667358221220c393973a9ae757dd7bd5220cac1b2d60f5f06c1013be10c2e6464de440e474f864736f6c634300081c0033",
}

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL