polygonzkevmglobalexitrootbasestorage

package
v0.0.0-...-f6182d2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 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 PolygonzkevmglobalexitrootbasestorageABI = PolygonzkevmglobalexitrootbasestorageMetaData.ABI

PolygonzkevmglobalexitrootbasestorageABI is the input ABI used to generate the binding from. Deprecated: Use PolygonzkevmglobalexitrootbasestorageMetaData.ABI instead.

View Source
var PolygonzkevmglobalexitrootbasestorageMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"OnlyAllowedContracts\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"getLastGlobalExitRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRoot\",\"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\":[{\"internalType\":\"uint32\",\"name\":\"depositCount\",\"type\":\"uint32\"}],\"name\":\"l1InfoRootMap\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"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\":[{\"internalType\":\"bytes32\",\"name\":\"newRollupExitRoot\",\"type\":\"bytes32\"}],\"name\":\"updateExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PolygonzkevmglobalexitrootbasestorageMetaData contains all meta data concerning the Polygonzkevmglobalexitrootbasestorage contract.

Functions

This section is empty.

Types

type Polygonzkevmglobalexitrootbasestorage

type Polygonzkevmglobalexitrootbasestorage struct {
	PolygonzkevmglobalexitrootbasestorageCaller     // Read-only binding to the contract
	PolygonzkevmglobalexitrootbasestorageTransactor // Write-only binding to the contract
	PolygonzkevmglobalexitrootbasestorageFilterer   // Log filterer for contract events
}

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

func NewPolygonzkevmglobalexitrootbasestorage

func NewPolygonzkevmglobalexitrootbasestorage(address common.Address, backend bind.ContractBackend) (*Polygonzkevmglobalexitrootbasestorage, error)

NewPolygonzkevmglobalexitrootbasestorage creates a new instance of Polygonzkevmglobalexitrootbasestorage, bound to a specific deployed contract.

type PolygonzkevmglobalexitrootbasestorageCaller

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

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

func NewPolygonzkevmglobalexitrootbasestorageCaller

func NewPolygonzkevmglobalexitrootbasestorageCaller(address common.Address, caller bind.ContractCaller) (*PolygonzkevmglobalexitrootbasestorageCaller, error)

NewPolygonzkevmglobalexitrootbasestorageCaller creates a new read-only instance of Polygonzkevmglobalexitrootbasestorage, bound to a specific deployed contract.

func (*PolygonzkevmglobalexitrootbasestorageCaller) GetLastGlobalExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCaller) 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 (*PolygonzkevmglobalexitrootbasestorageCaller) GetRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCaller) GetRoot(opts *bind.CallOpts) ([32]byte, error)

GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.

Solidity: function getRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageCaller) GlobalExitRootMap

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCaller) 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 (*PolygonzkevmglobalexitrootbasestorageCaller) L1InfoRootMap

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCaller) L1InfoRootMap(opts *bind.CallOpts, depositCount uint32) ([32]byte, error)

L1InfoRootMap is a free data retrieval call binding the contract method 0xef4eeb35.

Solidity: function l1InfoRootMap(uint32 depositCount) view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageCaller) LastMainnetExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCaller) 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 (*PolygonzkevmglobalexitrootbasestorageCaller) LastRollupExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCaller) 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 PolygonzkevmglobalexitrootbasestorageCallerRaw

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

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

func (*PolygonzkevmglobalexitrootbasestorageCallerRaw) Call

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCallerRaw) 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 PolygonzkevmglobalexitrootbasestorageCallerSession

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

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

func (*PolygonzkevmglobalexitrootbasestorageCallerSession) GetLastGlobalExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCallerSession) GetLastGlobalExitRoot() ([32]byte, error)

GetLastGlobalExitRoot is a free data retrieval call binding the contract method 0x3ed691ef.

Solidity: function getLastGlobalExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageCallerSession) GetRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCallerSession) GetRoot() ([32]byte, error)

GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.

Solidity: function getRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageCallerSession) GlobalExitRootMap

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCallerSession) 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 (*PolygonzkevmglobalexitrootbasestorageCallerSession) L1InfoRootMap

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCallerSession) L1InfoRootMap(depositCount uint32) ([32]byte, error)

L1InfoRootMap is a free data retrieval call binding the contract method 0xef4eeb35.

Solidity: function l1InfoRootMap(uint32 depositCount) view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageCallerSession) LastMainnetExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCallerSession) LastMainnetExitRoot() ([32]byte, error)

LastMainnetExitRoot is a free data retrieval call binding the contract method 0x319cf735.

Solidity: function lastMainnetExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageCallerSession) LastRollupExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageCallerSession) LastRollupExitRoot() ([32]byte, error)

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

Solidity: function lastRollupExitRoot() view returns(bytes32)

type PolygonzkevmglobalexitrootbasestorageFilterer

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

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

func NewPolygonzkevmglobalexitrootbasestorageFilterer

func NewPolygonzkevmglobalexitrootbasestorageFilterer(address common.Address, filterer bind.ContractFilterer) (*PolygonzkevmglobalexitrootbasestorageFilterer, error)

NewPolygonzkevmglobalexitrootbasestorageFilterer creates a new log filterer instance of Polygonzkevmglobalexitrootbasestorage, bound to a specific deployed contract.

type PolygonzkevmglobalexitrootbasestorageRaw

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

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

func (*PolygonzkevmglobalexitrootbasestorageRaw) Call

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageRaw) 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 (*PolygonzkevmglobalexitrootbasestorageRaw) Transact

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

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

func (*PolygonzkevmglobalexitrootbasestorageRaw) Transfer

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageRaw) 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 PolygonzkevmglobalexitrootbasestorageSession

type PolygonzkevmglobalexitrootbasestorageSession struct {
	Contract     *Polygonzkevmglobalexitrootbasestorage // 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
}

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

func (*PolygonzkevmglobalexitrootbasestorageSession) GetLastGlobalExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageSession) GetLastGlobalExitRoot() ([32]byte, error)

GetLastGlobalExitRoot is a free data retrieval call binding the contract method 0x3ed691ef.

Solidity: function getLastGlobalExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageSession) GetRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageSession) GetRoot() ([32]byte, error)

GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.

Solidity: function getRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageSession) GlobalExitRootMap

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageSession) 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 (*PolygonzkevmglobalexitrootbasestorageSession) L1InfoRootMap

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageSession) L1InfoRootMap(depositCount uint32) ([32]byte, error)

L1InfoRootMap is a free data retrieval call binding the contract method 0xef4eeb35.

Solidity: function l1InfoRootMap(uint32 depositCount) view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageSession) LastMainnetExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageSession) LastMainnetExitRoot() ([32]byte, error)

LastMainnetExitRoot is a free data retrieval call binding the contract method 0x319cf735.

Solidity: function lastMainnetExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageSession) LastRollupExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageSession) LastRollupExitRoot() ([32]byte, error)

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

Solidity: function lastRollupExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootbasestorageSession) UpdateExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageSession) UpdateExitRoot(newRollupExitRoot [32]byte) (*types.Transaction, error)

UpdateExitRoot is a paid mutator transaction binding the contract method 0x33d6247d.

Solidity: function updateExitRoot(bytes32 newRollupExitRoot) returns()

type PolygonzkevmglobalexitrootbasestorageTransactor

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

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

func NewPolygonzkevmglobalexitrootbasestorageTransactor

func NewPolygonzkevmglobalexitrootbasestorageTransactor(address common.Address, transactor bind.ContractTransactor) (*PolygonzkevmglobalexitrootbasestorageTransactor, error)

NewPolygonzkevmglobalexitrootbasestorageTransactor creates a new write-only instance of Polygonzkevmglobalexitrootbasestorage, bound to a specific deployed contract.

func (*PolygonzkevmglobalexitrootbasestorageTransactor) UpdateExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageTransactor) UpdateExitRoot(opts *bind.TransactOpts, newRollupExitRoot [32]byte) (*types.Transaction, error)

UpdateExitRoot is a paid mutator transaction binding the contract method 0x33d6247d.

Solidity: function updateExitRoot(bytes32 newRollupExitRoot) returns()

type PolygonzkevmglobalexitrootbasestorageTransactorRaw

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

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

func (*PolygonzkevmglobalexitrootbasestorageTransactorRaw) Transact

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

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

func (*PolygonzkevmglobalexitrootbasestorageTransactorRaw) Transfer

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageTransactorRaw) 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 PolygonzkevmglobalexitrootbasestorageTransactorSession

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

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

func (*PolygonzkevmglobalexitrootbasestorageTransactorSession) UpdateExitRoot

func (_Polygonzkevmglobalexitrootbasestorage *PolygonzkevmglobalexitrootbasestorageTransactorSession) UpdateExitRoot(newRollupExitRoot [32]byte) (*types.Transaction, error)

UpdateExitRoot is a paid mutator transaction binding the contract method 0x33d6247d.

Solidity: function updateExitRoot(bytes32 newRollupExitRoot) returns()

Jump to

Keyboard shortcuts

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