polygonzkevmglobalexitrootmock

package
v0.0.0-...-44e5e6b Latest Latest
Warning

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

Go to latest
Published: Nov 21, 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 PolygonzkevmglobalexitrootmockABI = PolygonzkevmglobalexitrootmockMetaData.ABI

PolygonzkevmglobalexitrootmockABI is the input ABI used to generate the binding from. Deprecated: Use PolygonzkevmglobalexitrootmockMetaData.ABI instead.

View Source
var PolygonzkevmglobalexitrootmockBin = PolygonzkevmglobalexitrootmockMetaData.Bin

PolygonzkevmglobalexitrootmockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PolygonzkevmglobalexitrootmockMetaData.Bin instead.

View Source
var PolygonzkevmglobalexitrootmockMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rollupAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_bridgeAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"mainnetExitRoot\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rollupExitRoot\",\"type\":\"bytes32\"}],\"name\":\"UpdateGlobalExitRoot\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"bridgeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLastGlobalExitRoot\",\"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\":[],\"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\":[],\"name\":\"rollupAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"globalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"setGlobalExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"setLastGlobalExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"updateExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60c060405234801561001057600080fd5b5060405161049538038061049583398101604081905261002f91610062565b6001600160a01b0391821660a05216608052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516103cd6100c860003960008181610142015261023701526000818161018e01526101ee01526103cd6000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c806333d6247d116100765780635bcef6731161005b5780635bcef6731461011d5780635ec6a8df1461013d578063a3c573eb1461018957600080fd5b806333d6247d146101025780633ed691ef1461011557600080fd5b806301fd9044146100a8578063051a9e28146100c4578063257b3632146100d9578063319cf735146100f9575b600080fd5b6100b160005481565b6040519081526020015b60405180910390f35b6100d76100d236600461035c565b6101b0565b005b6100b16100e736600461035c565b60026020526000908152604090205481565b6100b160015481565b6100d761011036600461035c565b6101d1565b6100b1610320565b6100d761012b366004610375565b60009182526002602052604090912055565b6101647f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100bb565b6101647f000000000000000000000000000000000000000000000000000000000000000081565b80600260006101bd610320565b815260208101919091526040016000205550565b60005460015473ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163303610220575060018290558161029c565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016330361026a57600083905582915061029c565b6040517fb49365dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516020808201849052818301859052825180830384018152606090920190925280519101206000906000818152600260205260408120549192500361031a5760008181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b6000610357600154600054604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b905090565b60006020828403121561036e57600080fd5b5035919050565b6000806040838503121561038857600080fd5b5050803592602090910135915056fea26469706673582212207569d590ca500fe939d4d1f62c3599e764864f33ea36058a9779babffe42aeb764736f6c63430008140033",
}

PolygonzkevmglobalexitrootmockMetaData contains all meta data concerning the Polygonzkevmglobalexitrootmock contract.

Functions

This section is empty.

Types

type Polygonzkevmglobalexitrootmock

type Polygonzkevmglobalexitrootmock struct {
	PolygonzkevmglobalexitrootmockCaller     // Read-only binding to the contract
	PolygonzkevmglobalexitrootmockTransactor // Write-only binding to the contract
	PolygonzkevmglobalexitrootmockFilterer   // Log filterer for contract events
}

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

func DeployPolygonzkevmglobalexitrootmock

func DeployPolygonzkevmglobalexitrootmock(auth *bind.TransactOpts, backend bind.ContractBackend, _rollupAddress common.Address, _bridgeAddress common.Address) (common.Address, *types.Transaction, *Polygonzkevmglobalexitrootmock, error)

DeployPolygonzkevmglobalexitrootmock deploys a new Ethereum contract, binding an instance of Polygonzkevmglobalexitrootmock to it.

func NewPolygonzkevmglobalexitrootmock

func NewPolygonzkevmglobalexitrootmock(address common.Address, backend bind.ContractBackend) (*Polygonzkevmglobalexitrootmock, error)

NewPolygonzkevmglobalexitrootmock creates a new instance of Polygonzkevmglobalexitrootmock, bound to a specific deployed contract.

type PolygonzkevmglobalexitrootmockCaller

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

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

func NewPolygonzkevmglobalexitrootmockCaller

func NewPolygonzkevmglobalexitrootmockCaller(address common.Address, caller bind.ContractCaller) (*PolygonzkevmglobalexitrootmockCaller, error)

NewPolygonzkevmglobalexitrootmockCaller creates a new read-only instance of Polygonzkevmglobalexitrootmock, bound to a specific deployed contract.

func (*PolygonzkevmglobalexitrootmockCaller) BridgeAddress

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) 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 (*PolygonzkevmglobalexitrootmockCaller) GetLastGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) 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 (*PolygonzkevmglobalexitrootmockCaller) GlobalExitRootMap

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) 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 (*PolygonzkevmglobalexitrootmockCaller) LastMainnetExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) 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 (*PolygonzkevmglobalexitrootmockCaller) LastRollupExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) 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)

func (*PolygonzkevmglobalexitrootmockCaller) RollupAddress

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCaller) RollupAddress(opts *bind.CallOpts) (common.Address, error)

RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.

Solidity: function rollupAddress() view returns(address)

type PolygonzkevmglobalexitrootmockCallerRaw

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

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

func (*PolygonzkevmglobalexitrootmockCallerRaw) Call

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerRaw) 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 PolygonzkevmglobalexitrootmockCallerSession

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

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

func (*PolygonzkevmglobalexitrootmockCallerSession) BridgeAddress

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) BridgeAddress() (common.Address, error)

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

Solidity: function bridgeAddress() view returns(address)

func (*PolygonzkevmglobalexitrootmockCallerSession) GetLastGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) GetLastGlobalExitRoot() ([32]byte, error)

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

Solidity: function getLastGlobalExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootmockCallerSession) GlobalExitRootMap

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) 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 (*PolygonzkevmglobalexitrootmockCallerSession) LastMainnetExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) LastMainnetExitRoot() ([32]byte, error)

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

Solidity: function lastMainnetExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootmockCallerSession) LastRollupExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) LastRollupExitRoot() ([32]byte, error)

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

Solidity: function lastRollupExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootmockCallerSession) RollupAddress

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockCallerSession) RollupAddress() (common.Address, error)

RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.

Solidity: function rollupAddress() view returns(address)

type PolygonzkevmglobalexitrootmockFilterer

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

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

func NewPolygonzkevmglobalexitrootmockFilterer

func NewPolygonzkevmglobalexitrootmockFilterer(address common.Address, filterer bind.ContractFilterer) (*PolygonzkevmglobalexitrootmockFilterer, error)

NewPolygonzkevmglobalexitrootmockFilterer creates a new log filterer instance of Polygonzkevmglobalexitrootmock, bound to a specific deployed contract.

func (*PolygonzkevmglobalexitrootmockFilterer) FilterUpdateGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockFilterer) FilterUpdateGlobalExitRoot(opts *bind.FilterOpts, mainnetExitRoot [][32]byte, rollupExitRoot [][32]byte) (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator, error)

FilterUpdateGlobalExitRoot is a free log retrieval operation binding the contract event 0x61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce3.

Solidity: event UpdateGlobalExitRoot(bytes32 indexed mainnetExitRoot, bytes32 indexed rollupExitRoot)

func (*PolygonzkevmglobalexitrootmockFilterer) ParseUpdateGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockFilterer) ParseUpdateGlobalExitRoot(log types.Log) (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot, error)

ParseUpdateGlobalExitRoot is a log parse operation binding the contract event 0x61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce3.

Solidity: event UpdateGlobalExitRoot(bytes32 indexed mainnetExitRoot, bytes32 indexed rollupExitRoot)

func (*PolygonzkevmglobalexitrootmockFilterer) WatchUpdateGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockFilterer) WatchUpdateGlobalExitRoot(opts *bind.WatchOpts, sink chan<- *PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot, mainnetExitRoot [][32]byte, rollupExitRoot [][32]byte) (event.Subscription, error)

WatchUpdateGlobalExitRoot is a free log subscription operation binding the contract event 0x61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce3.

Solidity: event UpdateGlobalExitRoot(bytes32 indexed mainnetExitRoot, bytes32 indexed rollupExitRoot)

type PolygonzkevmglobalexitrootmockRaw

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

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

func (*PolygonzkevmglobalexitrootmockRaw) Call

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockRaw) 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 (*PolygonzkevmglobalexitrootmockRaw) Transact

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

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

func (*PolygonzkevmglobalexitrootmockRaw) Transfer

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockRaw) 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 PolygonzkevmglobalexitrootmockSession

type PolygonzkevmglobalexitrootmockSession struct {
	Contract     *Polygonzkevmglobalexitrootmock // 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
}

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

func (*PolygonzkevmglobalexitrootmockSession) BridgeAddress

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) BridgeAddress() (common.Address, error)

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

Solidity: function bridgeAddress() view returns(address)

func (*PolygonzkevmglobalexitrootmockSession) GetLastGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) GetLastGlobalExitRoot() ([32]byte, error)

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

Solidity: function getLastGlobalExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootmockSession) GlobalExitRootMap

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) 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 (*PolygonzkevmglobalexitrootmockSession) LastMainnetExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) LastMainnetExitRoot() ([32]byte, error)

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

Solidity: function lastMainnetExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootmockSession) LastRollupExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) LastRollupExitRoot() ([32]byte, error)

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

Solidity: function lastRollupExitRoot() view returns(bytes32)

func (*PolygonzkevmglobalexitrootmockSession) RollupAddress

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) RollupAddress() (common.Address, error)

RollupAddress is a free data retrieval call binding the contract method 0x5ec6a8df.

Solidity: function rollupAddress() view returns(address)

func (*PolygonzkevmglobalexitrootmockSession) SetGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) SetGlobalExitRoot(globalExitRoot [32]byte, timestamp *big.Int) (*types.Transaction, error)

SetGlobalExitRoot is a paid mutator transaction binding the contract method 0x5bcef673.

Solidity: function setGlobalExitRoot(bytes32 globalExitRoot, uint256 timestamp) returns()

func (*PolygonzkevmglobalexitrootmockSession) SetLastGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) SetLastGlobalExitRoot(timestamp *big.Int) (*types.Transaction, error)

SetLastGlobalExitRoot is a paid mutator transaction binding the contract method 0x051a9e28.

Solidity: function setLastGlobalExitRoot(uint256 timestamp) returns()

func (*PolygonzkevmglobalexitrootmockSession) UpdateExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockSession) 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 PolygonzkevmglobalexitrootmockTransactor

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

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

func NewPolygonzkevmglobalexitrootmockTransactor

func NewPolygonzkevmglobalexitrootmockTransactor(address common.Address, transactor bind.ContractTransactor) (*PolygonzkevmglobalexitrootmockTransactor, error)

NewPolygonzkevmglobalexitrootmockTransactor creates a new write-only instance of Polygonzkevmglobalexitrootmock, bound to a specific deployed contract.

func (*PolygonzkevmglobalexitrootmockTransactor) SetGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactor) SetGlobalExitRoot(opts *bind.TransactOpts, globalExitRoot [32]byte, timestamp *big.Int) (*types.Transaction, error)

SetGlobalExitRoot is a paid mutator transaction binding the contract method 0x5bcef673.

Solidity: function setGlobalExitRoot(bytes32 globalExitRoot, uint256 timestamp) returns()

func (*PolygonzkevmglobalexitrootmockTransactor) SetLastGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactor) SetLastGlobalExitRoot(opts *bind.TransactOpts, timestamp *big.Int) (*types.Transaction, error)

SetLastGlobalExitRoot is a paid mutator transaction binding the contract method 0x051a9e28.

Solidity: function setLastGlobalExitRoot(uint256 timestamp) returns()

func (*PolygonzkevmglobalexitrootmockTransactor) UpdateExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactor) 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 PolygonzkevmglobalexitrootmockTransactorRaw

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

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

func (*PolygonzkevmglobalexitrootmockTransactorRaw) Transact

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

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

func (*PolygonzkevmglobalexitrootmockTransactorRaw) Transfer

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorRaw) 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 PolygonzkevmglobalexitrootmockTransactorSession

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

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

func (*PolygonzkevmglobalexitrootmockTransactorSession) SetGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorSession) SetGlobalExitRoot(globalExitRoot [32]byte, timestamp *big.Int) (*types.Transaction, error)

SetGlobalExitRoot is a paid mutator transaction binding the contract method 0x5bcef673.

Solidity: function setGlobalExitRoot(bytes32 globalExitRoot, uint256 timestamp) returns()

func (*PolygonzkevmglobalexitrootmockTransactorSession) SetLastGlobalExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorSession) SetLastGlobalExitRoot(timestamp *big.Int) (*types.Transaction, error)

SetLastGlobalExitRoot is a paid mutator transaction binding the contract method 0x051a9e28.

Solidity: function setLastGlobalExitRoot(uint256 timestamp) returns()

func (*PolygonzkevmglobalexitrootmockTransactorSession) UpdateExitRoot

func (_Polygonzkevmglobalexitrootmock *PolygonzkevmglobalexitrootmockTransactorSession) 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 PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot

type PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot struct {
	MainnetExitRoot [32]byte
	RollupExitRoot  [32]byte
	Raw             types.Log // Blockchain specific contextual infos
}

PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot represents a UpdateGlobalExitRoot event raised by the Polygonzkevmglobalexitrootmock contract.

type PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator

type PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator struct {
	Event *PolygonzkevmglobalexitrootmockUpdateGlobalExitRoot // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator is returned from FilterUpdateGlobalExitRoot and is used to iterate over the raw logs and unpacked data for UpdateGlobalExitRoot events raised by the Polygonzkevmglobalexitrootmock contract.

func (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonzkevmglobalexitrootmockUpdateGlobalExitRootIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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