ipolygonzkevmglobalexitrootv2

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 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 Ipolygonzkevmglobalexitrootv2ABI = Ipolygonzkevmglobalexitrootv2MetaData.ABI

Ipolygonzkevmglobalexitrootv2ABI is the input ABI used to generate the binding from. Deprecated: Use Ipolygonzkevmglobalexitrootv2MetaData.ABI instead.

View Source
var Ipolygonzkevmglobalexitrootv2MetaData = &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\":\"globalExitRootNum\",\"type\":\"bytes32\"}],\"name\":\"globalExitRootMap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"depositCount\",\"type\":\"uint32\"}],\"name\":\"l1InfoRootMap\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"newRollupExitRoot\",\"type\":\"bytes32\"}],\"name\":\"updateExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

Ipolygonzkevmglobalexitrootv2MetaData contains all meta data concerning the Ipolygonzkevmglobalexitrootv2 contract.

Functions

This section is empty.

Types

type Ipolygonzkevmglobalexitrootv2

type Ipolygonzkevmglobalexitrootv2 struct {
	Ipolygonzkevmglobalexitrootv2Caller     // Read-only binding to the contract
	Ipolygonzkevmglobalexitrootv2Transactor // Write-only binding to the contract
	Ipolygonzkevmglobalexitrootv2Filterer   // Log filterer for contract events
}

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

func NewIpolygonzkevmglobalexitrootv2

func NewIpolygonzkevmglobalexitrootv2(address common.Address, backend bind.ContractBackend) (*Ipolygonzkevmglobalexitrootv2, error)

NewIpolygonzkevmglobalexitrootv2 creates a new instance of Ipolygonzkevmglobalexitrootv2, bound to a specific deployed contract.

type Ipolygonzkevmglobalexitrootv2Caller

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

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

func NewIpolygonzkevmglobalexitrootv2Caller

func NewIpolygonzkevmglobalexitrootv2Caller(address common.Address, caller bind.ContractCaller) (*Ipolygonzkevmglobalexitrootv2Caller, error)

NewIpolygonzkevmglobalexitrootv2Caller creates a new read-only instance of Ipolygonzkevmglobalexitrootv2, bound to a specific deployed contract.

func (*Ipolygonzkevmglobalexitrootv2Caller) GetLastGlobalExitRoot

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Caller) 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 (*Ipolygonzkevmglobalexitrootv2Caller) GetRoot

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Caller) 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 (*Ipolygonzkevmglobalexitrootv2Caller) L1InfoRootMap

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Caller) 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)

type Ipolygonzkevmglobalexitrootv2CallerRaw

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

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

func (*Ipolygonzkevmglobalexitrootv2CallerRaw) Call

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2CallerRaw) 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 Ipolygonzkevmglobalexitrootv2CallerSession

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

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

func (*Ipolygonzkevmglobalexitrootv2CallerSession) GetLastGlobalExitRoot

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2CallerSession) GetLastGlobalExitRoot() ([32]byte, error)

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

Solidity: function getLastGlobalExitRoot() view returns(bytes32)

func (*Ipolygonzkevmglobalexitrootv2CallerSession) GetRoot

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2CallerSession) GetRoot() ([32]byte, error)

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

Solidity: function getRoot() view returns(bytes32)

func (*Ipolygonzkevmglobalexitrootv2CallerSession) L1InfoRootMap

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2CallerSession) 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)

type Ipolygonzkevmglobalexitrootv2Filterer

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

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

func NewIpolygonzkevmglobalexitrootv2Filterer

func NewIpolygonzkevmglobalexitrootv2Filterer(address common.Address, filterer bind.ContractFilterer) (*Ipolygonzkevmglobalexitrootv2Filterer, error)

NewIpolygonzkevmglobalexitrootv2Filterer creates a new log filterer instance of Ipolygonzkevmglobalexitrootv2, bound to a specific deployed contract.

type Ipolygonzkevmglobalexitrootv2Raw

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

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

func (*Ipolygonzkevmglobalexitrootv2Raw) Call

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Raw) 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 (*Ipolygonzkevmglobalexitrootv2Raw) Transact

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

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

func (*Ipolygonzkevmglobalexitrootv2Raw) Transfer

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Raw) 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 Ipolygonzkevmglobalexitrootv2Session

type Ipolygonzkevmglobalexitrootv2Session struct {
	Contract     *Ipolygonzkevmglobalexitrootv2 // 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
}

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

func (*Ipolygonzkevmglobalexitrootv2Session) GetLastGlobalExitRoot

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Session) GetLastGlobalExitRoot() ([32]byte, error)

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

Solidity: function getLastGlobalExitRoot() view returns(bytes32)

func (*Ipolygonzkevmglobalexitrootv2Session) GetRoot

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Session) GetRoot() ([32]byte, error)

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

Solidity: function getRoot() view returns(bytes32)

func (*Ipolygonzkevmglobalexitrootv2Session) GlobalExitRootMap

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Session) GlobalExitRootMap(globalExitRootNum [32]byte) (*types.Transaction, error)

GlobalExitRootMap is a paid mutator transaction binding the contract method 0x257b3632.

Solidity: function globalExitRootMap(bytes32 globalExitRootNum) returns(uint256)

func (*Ipolygonzkevmglobalexitrootv2Session) L1InfoRootMap

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Session) 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 (*Ipolygonzkevmglobalexitrootv2Session) UpdateExitRoot

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Session) 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 Ipolygonzkevmglobalexitrootv2Transactor

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

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

func NewIpolygonzkevmglobalexitrootv2Transactor

func NewIpolygonzkevmglobalexitrootv2Transactor(address common.Address, transactor bind.ContractTransactor) (*Ipolygonzkevmglobalexitrootv2Transactor, error)

NewIpolygonzkevmglobalexitrootv2Transactor creates a new write-only instance of Ipolygonzkevmglobalexitrootv2, bound to a specific deployed contract.

func (*Ipolygonzkevmglobalexitrootv2Transactor) GlobalExitRootMap

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Transactor) GlobalExitRootMap(opts *bind.TransactOpts, globalExitRootNum [32]byte) (*types.Transaction, error)

GlobalExitRootMap is a paid mutator transaction binding the contract method 0x257b3632.

Solidity: function globalExitRootMap(bytes32 globalExitRootNum) returns(uint256)

func (*Ipolygonzkevmglobalexitrootv2Transactor) UpdateExitRoot

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2Transactor) 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 Ipolygonzkevmglobalexitrootv2TransactorRaw

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

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

func (*Ipolygonzkevmglobalexitrootv2TransactorRaw) Transact

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

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

func (*Ipolygonzkevmglobalexitrootv2TransactorRaw) Transfer

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2TransactorRaw) 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 Ipolygonzkevmglobalexitrootv2TransactorSession

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

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

func (*Ipolygonzkevmglobalexitrootv2TransactorSession) GlobalExitRootMap

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2TransactorSession) GlobalExitRootMap(globalExitRootNum [32]byte) (*types.Transaction, error)

GlobalExitRootMap is a paid mutator transaction binding the contract method 0x257b3632.

Solidity: function globalExitRootMap(bytes32 globalExitRootNum) returns(uint256)

func (*Ipolygonzkevmglobalexitrootv2TransactorSession) UpdateExitRoot

func (_Ipolygonzkevmglobalexitrootv2 *Ipolygonzkevmglobalexitrootv2TransactorSession) 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