legacyagglayergerl2

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Legacyagglayergerl2ABI = Legacyagglayergerl2MetaData.ABI

Legacyagglayergerl2ABI is the input ABI used to generate the binding from. Deprecated: Use Legacyagglayergerl2MetaData.ABI instead.

View Source
var Legacyagglayergerl2Bin = Legacyagglayergerl2MetaData.Bin

Legacyagglayergerl2Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use Legacyagglayergerl2MetaData.Bin instead.

View Source
var Legacyagglayergerl2MetaData = &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\":\"InvalidZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyAllowedContracts\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyGlobalExitRootRemover\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyGlobalExitRootUpdater\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyPendingGlobalExitRootRemover\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyPendingGlobalExitRootUpdater\",\"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: "0x60a0604052348015600e575f5ffd5b5060405161022f38038061022f833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f5ffd5b81516001600160a01b0381168114605f575f5ffd5b9392505050565b6080516101ab6100845f395f818160a3015261010201526101ab5ff3fe608060405234801561000f575f5ffd5b506004361061004a575f3560e01c806301fd90441461004e578063257b36321461006a57806333d6247d14610089578063a3c573eb1461009e575b5f5ffd5b61005760015481565b6040519081526020015b60405180910390f35b61005761007836600461015e565b5f6020819052908152604090205481565b61009c61009736600461015e565b6100ea565b005b6100c57f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610061565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610159576040517fb49365dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600155565b5f6020828403121561016e575f5ffd5b503591905056fea2646970667358221220fbd91ea9eaf44967c1036a6d6cca69117e78bf3efd67032bcff8d4a34606633e64736f6c634300081c0033",
}

Legacyagglayergerl2MetaData contains all meta data concerning the Legacyagglayergerl2 contract.

Functions

This section is empty.

Types

type Legacyagglayergerl2

type Legacyagglayergerl2 struct {
	Legacyagglayergerl2Caller     // Read-only binding to the contract
	Legacyagglayergerl2Transactor // Write-only binding to the contract
	Legacyagglayergerl2Filterer   // Log filterer for contract events
}

Legacyagglayergerl2 is an auto generated Go binding around an Ethereum contract.

func DeployLegacyagglayergerl2

func DeployLegacyagglayergerl2(auth *bind.TransactOpts, backend bind.ContractBackend, _bridgeAddress common.Address) (common.Address, *types.Transaction, *Legacyagglayergerl2, error)

DeployLegacyagglayergerl2 deploys a new Ethereum contract, binding an instance of Legacyagglayergerl2 to it.

func NewLegacyagglayergerl2

func NewLegacyagglayergerl2(address common.Address, backend bind.ContractBackend) (*Legacyagglayergerl2, error)

NewLegacyagglayergerl2 creates a new instance of Legacyagglayergerl2, bound to a specific deployed contract.

type Legacyagglayergerl2Caller

type Legacyagglayergerl2Caller struct {
	// contains filtered or unexported fields
}

Legacyagglayergerl2Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewLegacyagglayergerl2Caller

func NewLegacyagglayergerl2Caller(address common.Address, caller bind.ContractCaller) (*Legacyagglayergerl2Caller, error)

NewLegacyagglayergerl2Caller creates a new read-only instance of Legacyagglayergerl2, bound to a specific deployed contract.

func (*Legacyagglayergerl2Caller) BridgeAddress

func (_Legacyagglayergerl2 *Legacyagglayergerl2Caller) 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 (*Legacyagglayergerl2Caller) GlobalExitRootMap

func (_Legacyagglayergerl2 *Legacyagglayergerl2Caller) 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 (*Legacyagglayergerl2Caller) LastRollupExitRoot

func (_Legacyagglayergerl2 *Legacyagglayergerl2Caller) 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 Legacyagglayergerl2CallerRaw

type Legacyagglayergerl2CallerRaw struct {
	Contract *Legacyagglayergerl2Caller // Generic read-only contract binding to access the raw methods on
}

Legacyagglayergerl2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*Legacyagglayergerl2CallerRaw) Call

func (_Legacyagglayergerl2 *Legacyagglayergerl2CallerRaw) 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 Legacyagglayergerl2CallerSession

type Legacyagglayergerl2CallerSession struct {
	Contract *Legacyagglayergerl2Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts              // Call options to use throughout this session
}

Legacyagglayergerl2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*Legacyagglayergerl2CallerSession) BridgeAddress

func (_Legacyagglayergerl2 *Legacyagglayergerl2CallerSession) BridgeAddress() (common.Address, error)

BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.

Solidity: function bridgeAddress() view returns(address)

func (*Legacyagglayergerl2CallerSession) GlobalExitRootMap

func (_Legacyagglayergerl2 *Legacyagglayergerl2CallerSession) 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 (*Legacyagglayergerl2CallerSession) LastRollupExitRoot

func (_Legacyagglayergerl2 *Legacyagglayergerl2CallerSession) LastRollupExitRoot() ([32]byte, error)

LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.

Solidity: function lastRollupExitRoot() view returns(bytes32)

type Legacyagglayergerl2Filterer

type Legacyagglayergerl2Filterer struct {
	// contains filtered or unexported fields
}

Legacyagglayergerl2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewLegacyagglayergerl2Filterer

func NewLegacyagglayergerl2Filterer(address common.Address, filterer bind.ContractFilterer) (*Legacyagglayergerl2Filterer, error)

NewLegacyagglayergerl2Filterer creates a new log filterer instance of Legacyagglayergerl2, bound to a specific deployed contract.

type Legacyagglayergerl2Raw

type Legacyagglayergerl2Raw struct {
	Contract *Legacyagglayergerl2 // Generic contract binding to access the raw methods on
}

Legacyagglayergerl2Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*Legacyagglayergerl2Raw) Call

func (_Legacyagglayergerl2 *Legacyagglayergerl2Raw) 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 (*Legacyagglayergerl2Raw) Transact

func (_Legacyagglayergerl2 *Legacyagglayergerl2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*Legacyagglayergerl2Raw) Transfer

func (_Legacyagglayergerl2 *Legacyagglayergerl2Raw) 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 Legacyagglayergerl2Session

type Legacyagglayergerl2Session struct {
	Contract     *Legacyagglayergerl2 // 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
}

Legacyagglayergerl2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*Legacyagglayergerl2Session) BridgeAddress

func (_Legacyagglayergerl2 *Legacyagglayergerl2Session) BridgeAddress() (common.Address, error)

BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.

Solidity: function bridgeAddress() view returns(address)

func (*Legacyagglayergerl2Session) GlobalExitRootMap

func (_Legacyagglayergerl2 *Legacyagglayergerl2Session) 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 (*Legacyagglayergerl2Session) LastRollupExitRoot

func (_Legacyagglayergerl2 *Legacyagglayergerl2Session) LastRollupExitRoot() ([32]byte, error)

LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.

Solidity: function lastRollupExitRoot() view returns(bytes32)

func (*Legacyagglayergerl2Session) UpdateExitRoot

func (_Legacyagglayergerl2 *Legacyagglayergerl2Session) 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 Legacyagglayergerl2Transactor

type Legacyagglayergerl2Transactor struct {
	// contains filtered or unexported fields
}

Legacyagglayergerl2Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewLegacyagglayergerl2Transactor

func NewLegacyagglayergerl2Transactor(address common.Address, transactor bind.ContractTransactor) (*Legacyagglayergerl2Transactor, error)

NewLegacyagglayergerl2Transactor creates a new write-only instance of Legacyagglayergerl2, bound to a specific deployed contract.

func (*Legacyagglayergerl2Transactor) UpdateExitRoot

func (_Legacyagglayergerl2 *Legacyagglayergerl2Transactor) 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 Legacyagglayergerl2TransactorRaw

type Legacyagglayergerl2TransactorRaw struct {
	Contract *Legacyagglayergerl2Transactor // Generic write-only contract binding to access the raw methods on
}

Legacyagglayergerl2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*Legacyagglayergerl2TransactorRaw) Transact

func (_Legacyagglayergerl2 *Legacyagglayergerl2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*Legacyagglayergerl2TransactorRaw) Transfer

func (_Legacyagglayergerl2 *Legacyagglayergerl2TransactorRaw) 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 Legacyagglayergerl2TransactorSession

type Legacyagglayergerl2TransactorSession struct {
	Contract     *Legacyagglayergerl2Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts              // Transaction auth options to use throughout this session
}

Legacyagglayergerl2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*Legacyagglayergerl2TransactorSession) UpdateExitRoot

func (_Legacyagglayergerl2 *Legacyagglayergerl2TransactorSession) 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