Documentation ¶
Index ¶
- Variables
- type Ipolygonzkevmglobalexitroot
- type IpolygonzkevmglobalexitrootCaller
- type IpolygonzkevmglobalexitrootCallerRaw
- type IpolygonzkevmglobalexitrootCallerSession
- type IpolygonzkevmglobalexitrootFilterer
- type IpolygonzkevmglobalexitrootRaw
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IpolygonzkevmglobalexitrootSession
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootSession) GetLastGlobalExitRoot() ([32]byte, error)
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootSession) GlobalExitRootMap(globalExitRootNum [32]byte) (*types.Transaction, error)
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootSession) UpdateExitRoot(newRollupExitRoot [32]byte) (*types.Transaction, error)
- type IpolygonzkevmglobalexitrootTransactor
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactor) GlobalExitRootMap(opts *bind.TransactOpts, globalExitRootNum [32]byte) (*types.Transaction, error)
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactor) UpdateExitRoot(opts *bind.TransactOpts, newRollupExitRoot [32]byte) (*types.Transaction, error)
- type IpolygonzkevmglobalexitrootTransactorRaw
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IpolygonzkevmglobalexitrootTransactorSession
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactorSession) GlobalExitRootMap(globalExitRootNum [32]byte) (*types.Transaction, error)
- func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactorSession) UpdateExitRoot(newRollupExitRoot [32]byte) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var IpolygonzkevmglobalexitrootABI = IpolygonzkevmglobalexitrootMetaData.ABI
IpolygonzkevmglobalexitrootABI is the input ABI used to generate the binding from. Deprecated: Use IpolygonzkevmglobalexitrootMetaData.ABI instead.
var IpolygonzkevmglobalexitrootMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"GlobalExitRootAlreadySet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEnoughGlobalExitRootsInserted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotLastInsertedGlobalExitRoot\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyAllowedContracts\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyGlobalExitRootUpdater\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"getLastGlobalExitRoot\",\"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\":\"bytes32\",\"name\":\"newRollupExitRoot\",\"type\":\"bytes32\"}],\"name\":\"updateExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IpolygonzkevmglobalexitrootMetaData contains all meta data concerning the Ipolygonzkevmglobalexitroot contract.
Functions ¶
This section is empty.
Types ¶
type Ipolygonzkevmglobalexitroot ¶
type Ipolygonzkevmglobalexitroot struct { IpolygonzkevmglobalexitrootCaller // Read-only binding to the contract IpolygonzkevmglobalexitrootTransactor // Write-only binding to the contract IpolygonzkevmglobalexitrootFilterer // Log filterer for contract events }
Ipolygonzkevmglobalexitroot is an auto generated Go binding around an Ethereum contract.
func NewIpolygonzkevmglobalexitroot ¶
func NewIpolygonzkevmglobalexitroot(address common.Address, backend bind.ContractBackend) (*Ipolygonzkevmglobalexitroot, error)
NewIpolygonzkevmglobalexitroot creates a new instance of Ipolygonzkevmglobalexitroot, bound to a specific deployed contract.
type IpolygonzkevmglobalexitrootCaller ¶
type IpolygonzkevmglobalexitrootCaller struct {
// contains filtered or unexported fields
}
IpolygonzkevmglobalexitrootCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIpolygonzkevmglobalexitrootCaller ¶
func NewIpolygonzkevmglobalexitrootCaller(address common.Address, caller bind.ContractCaller) (*IpolygonzkevmglobalexitrootCaller, error)
NewIpolygonzkevmglobalexitrootCaller creates a new read-only instance of Ipolygonzkevmglobalexitroot, bound to a specific deployed contract.
func (*IpolygonzkevmglobalexitrootCaller) GetLastGlobalExitRoot ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootCaller) 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)
type IpolygonzkevmglobalexitrootCallerRaw ¶
type IpolygonzkevmglobalexitrootCallerRaw struct {
Contract *IpolygonzkevmglobalexitrootCaller // Generic read-only contract binding to access the raw methods on
}
IpolygonzkevmglobalexitrootCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IpolygonzkevmglobalexitrootCallerRaw) Call ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootCallerRaw) 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 IpolygonzkevmglobalexitrootCallerSession ¶
type IpolygonzkevmglobalexitrootCallerSession struct { Contract *IpolygonzkevmglobalexitrootCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IpolygonzkevmglobalexitrootCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IpolygonzkevmglobalexitrootCallerSession) GetLastGlobalExitRoot ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootCallerSession) GetLastGlobalExitRoot() ([32]byte, error)
GetLastGlobalExitRoot is a free data retrieval call binding the contract method 0x3ed691ef.
Solidity: function getLastGlobalExitRoot() view returns(bytes32)
type IpolygonzkevmglobalexitrootFilterer ¶
type IpolygonzkevmglobalexitrootFilterer struct {
// contains filtered or unexported fields
}
IpolygonzkevmglobalexitrootFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIpolygonzkevmglobalexitrootFilterer ¶
func NewIpolygonzkevmglobalexitrootFilterer(address common.Address, filterer bind.ContractFilterer) (*IpolygonzkevmglobalexitrootFilterer, error)
NewIpolygonzkevmglobalexitrootFilterer creates a new log filterer instance of Ipolygonzkevmglobalexitroot, bound to a specific deployed contract.
type IpolygonzkevmglobalexitrootRaw ¶
type IpolygonzkevmglobalexitrootRaw struct {
Contract *Ipolygonzkevmglobalexitroot // Generic contract binding to access the raw methods on
}
IpolygonzkevmglobalexitrootRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IpolygonzkevmglobalexitrootRaw) Call ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootRaw) 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 (*IpolygonzkevmglobalexitrootRaw) Transact ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IpolygonzkevmglobalexitrootRaw) Transfer ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootRaw) 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 IpolygonzkevmglobalexitrootSession ¶
type IpolygonzkevmglobalexitrootSession struct { Contract *Ipolygonzkevmglobalexitroot // 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 }
IpolygonzkevmglobalexitrootSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IpolygonzkevmglobalexitrootSession) GetLastGlobalExitRoot ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootSession) GetLastGlobalExitRoot() ([32]byte, error)
GetLastGlobalExitRoot is a free data retrieval call binding the contract method 0x3ed691ef.
Solidity: function getLastGlobalExitRoot() view returns(bytes32)
func (*IpolygonzkevmglobalexitrootSession) GlobalExitRootMap ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootSession) 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 (*IpolygonzkevmglobalexitrootSession) UpdateExitRoot ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootSession) 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 IpolygonzkevmglobalexitrootTransactor ¶
type IpolygonzkevmglobalexitrootTransactor struct {
// contains filtered or unexported fields
}
IpolygonzkevmglobalexitrootTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIpolygonzkevmglobalexitrootTransactor ¶
func NewIpolygonzkevmglobalexitrootTransactor(address common.Address, transactor bind.ContractTransactor) (*IpolygonzkevmglobalexitrootTransactor, error)
NewIpolygonzkevmglobalexitrootTransactor creates a new write-only instance of Ipolygonzkevmglobalexitroot, bound to a specific deployed contract.
func (*IpolygonzkevmglobalexitrootTransactor) GlobalExitRootMap ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactor) 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 (*IpolygonzkevmglobalexitrootTransactor) UpdateExitRoot ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactor) 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 IpolygonzkevmglobalexitrootTransactorRaw ¶
type IpolygonzkevmglobalexitrootTransactorRaw struct {
Contract *IpolygonzkevmglobalexitrootTransactor // Generic write-only contract binding to access the raw methods on
}
IpolygonzkevmglobalexitrootTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IpolygonzkevmglobalexitrootTransactorRaw) Transact ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IpolygonzkevmglobalexitrootTransactorRaw) Transfer ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactorRaw) 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 IpolygonzkevmglobalexitrootTransactorSession ¶
type IpolygonzkevmglobalexitrootTransactorSession struct { Contract *IpolygonzkevmglobalexitrootTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IpolygonzkevmglobalexitrootTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IpolygonzkevmglobalexitrootTransactorSession) GlobalExitRootMap ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactorSession) 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 (*IpolygonzkevmglobalexitrootTransactorSession) UpdateExitRoot ¶
func (_Ipolygonzkevmglobalexitroot *IpolygonzkevmglobalexitrootTransactorSession) UpdateExitRoot(newRollupExitRoot [32]byte) (*types.Transaction, error)
UpdateExitRoot is a paid mutator transaction binding the contract method 0x33d6247d.
Solidity: function updateExitRoot(bytes32 newRollupExitRoot) returns()