Documentation ¶
Index ¶
- Variables
- type Polygonzkevmglobalexitrootl2mock
- func DeployPolygonzkevmglobalexitrootl2mock(auth *bind.TransactOpts, backend bind.ContractBackend, ...) (common.Address, *types.Transaction, *Polygonzkevmglobalexitrootl2mock, error)
- func NewPolygonzkevmglobalexitrootl2mock(address common.Address, backend bind.ContractBackend) (*Polygonzkevmglobalexitrootl2mock, error)
- type Polygonzkevmglobalexitrootl2mockCaller
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCaller) BridgeAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCaller) GlobalExitRootMap(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCaller) LastRollupExitRoot(opts *bind.CallOpts) ([32]byte, error)
- type Polygonzkevmglobalexitrootl2mockCallerRaw
- type Polygonzkevmglobalexitrootl2mockCallerSession
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCallerSession) BridgeAddress() (common.Address, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCallerSession) GlobalExitRootMap(arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCallerSession) LastRollupExitRoot() ([32]byte, error)
- type Polygonzkevmglobalexitrootl2mockFilterer
- type Polygonzkevmglobalexitrootl2mockRaw
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Polygonzkevmglobalexitrootl2mockSession
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) BridgeAddress() (common.Address, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) GlobalExitRootMap(arg0 [32]byte) (*big.Int, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) LastRollupExitRoot() ([32]byte, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) SetExitRoot(newRoot [32]byte) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) SetLastGlobalExitRoot(globalExitRoot [32]byte, blockNumber *big.Int) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) UpdateExitRoot(newRoot [32]byte) (*types.Transaction, error)
- type Polygonzkevmglobalexitrootl2mockTransactor
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactor) SetExitRoot(opts *bind.TransactOpts, newRoot [32]byte) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactor) SetLastGlobalExitRoot(opts *bind.TransactOpts, globalExitRoot [32]byte, blockNumber *big.Int) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactor) UpdateExitRoot(opts *bind.TransactOpts, newRoot [32]byte) (*types.Transaction, error)
- type Polygonzkevmglobalexitrootl2mockTransactorRaw
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Polygonzkevmglobalexitrootl2mockTransactorSession
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactorSession) SetExitRoot(newRoot [32]byte) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactorSession) SetLastGlobalExitRoot(globalExitRoot [32]byte, blockNumber *big.Int) (*types.Transaction, error)
- func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactorSession) UpdateExitRoot(newRoot [32]byte) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var Polygonzkevmglobalexitrootl2mockABI = Polygonzkevmglobalexitrootl2mockMetaData.ABI
Polygonzkevmglobalexitrootl2mockABI is the input ABI used to generate the binding from. Deprecated: Use Polygonzkevmglobalexitrootl2mockMetaData.ABI instead.
var Polygonzkevmglobalexitrootl2mockBin = Polygonzkevmglobalexitrootl2mockMetaData.Bin
Polygonzkevmglobalexitrootl2mockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use Polygonzkevmglobalexitrootl2mockMetaData.Bin instead.
var Polygonzkevmglobalexitrootl2mockMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_bridgeAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"OnlyAllowedContracts\",\"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\":\"setExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"globalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"setLastGlobalExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"newRoot\",\"type\":\"bytes32\"}],\"name\":\"updateExitRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60a060405234801561000f575f80fd5b506040516102a73803806102a783398101604081905261002e9161003f565b6001600160a01b031660805261006c565b5f6020828403121561004f575f80fd5b81516001600160a01b0381168114610065575f80fd5b9392505050565b60805161021d61008a5f395f818160fa0152610159015261021d5ff3fe608060405234801561000f575f80fd5b506004361061006f575f3560e01c806333d6247d1161004d57806333d6247d146100c357806396e07459146100d6578063a3c573eb146100f5575f80fd5b806301fd904414610073578063116c40c31461008f578063257b3632146100a4575b5f80fd5b61007c60015481565b6040519081526020015b60405180910390f35b6100a261009d3660046101b0565b600155565b005b61007c6100b23660046101b0565b5f6020819052908152604090205481565b6100a26100d13660046101b0565b610141565b6100a26100e43660046101c7565b5f9182526020829052604090912055565b61011c7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610086565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461009d576040517fb49365dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f602082840312156101c0575f80fd5b5035919050565b5f80604083850312156101d8575f80fd5b5050803592602090910135915056fea26469706673582212200429aefffcbf7324bb1dde3a45be34c3a7310774300755b6ec66494ae7db89ec64736f6c63430008140033",
}
Polygonzkevmglobalexitrootl2mockMetaData contains all meta data concerning the Polygonzkevmglobalexitrootl2mock contract.
Functions ¶
This section is empty.
Types ¶
type Polygonzkevmglobalexitrootl2mock ¶
type Polygonzkevmglobalexitrootl2mock struct { Polygonzkevmglobalexitrootl2mockCaller // Read-only binding to the contract Polygonzkevmglobalexitrootl2mockTransactor // Write-only binding to the contract Polygonzkevmglobalexitrootl2mockFilterer // Log filterer for contract events }
Polygonzkevmglobalexitrootl2mock is an auto generated Go binding around an Ethereum contract.
func DeployPolygonzkevmglobalexitrootl2mock ¶
func DeployPolygonzkevmglobalexitrootl2mock(auth *bind.TransactOpts, backend bind.ContractBackend, _bridgeAddress common.Address) (common.Address, *types.Transaction, *Polygonzkevmglobalexitrootl2mock, error)
DeployPolygonzkevmglobalexitrootl2mock deploys a new Ethereum contract, binding an instance of Polygonzkevmglobalexitrootl2mock to it.
func NewPolygonzkevmglobalexitrootl2mock ¶
func NewPolygonzkevmglobalexitrootl2mock(address common.Address, backend bind.ContractBackend) (*Polygonzkevmglobalexitrootl2mock, error)
NewPolygonzkevmglobalexitrootl2mock creates a new instance of Polygonzkevmglobalexitrootl2mock, bound to a specific deployed contract.
type Polygonzkevmglobalexitrootl2mockCaller ¶
type Polygonzkevmglobalexitrootl2mockCaller struct {
// contains filtered or unexported fields
}
Polygonzkevmglobalexitrootl2mockCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPolygonzkevmglobalexitrootl2mockCaller ¶
func NewPolygonzkevmglobalexitrootl2mockCaller(address common.Address, caller bind.ContractCaller) (*Polygonzkevmglobalexitrootl2mockCaller, error)
NewPolygonzkevmglobalexitrootl2mockCaller creates a new read-only instance of Polygonzkevmglobalexitrootl2mock, bound to a specific deployed contract.
func (*Polygonzkevmglobalexitrootl2mockCaller) BridgeAddress ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCaller) 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 (*Polygonzkevmglobalexitrootl2mockCaller) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCaller) 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 (*Polygonzkevmglobalexitrootl2mockCaller) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCaller) 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 Polygonzkevmglobalexitrootl2mockCallerRaw ¶
type Polygonzkevmglobalexitrootl2mockCallerRaw struct {
Contract *Polygonzkevmglobalexitrootl2mockCaller // Generic read-only contract binding to access the raw methods on
}
Polygonzkevmglobalexitrootl2mockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Polygonzkevmglobalexitrootl2mockCallerRaw) Call ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCallerRaw) 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 Polygonzkevmglobalexitrootl2mockCallerSession ¶
type Polygonzkevmglobalexitrootl2mockCallerSession struct { Contract *Polygonzkevmglobalexitrootl2mockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Polygonzkevmglobalexitrootl2mockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Polygonzkevmglobalexitrootl2mockCallerSession) BridgeAddress ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCallerSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*Polygonzkevmglobalexitrootl2mockCallerSession) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCallerSession) 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 (*Polygonzkevmglobalexitrootl2mockCallerSession) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockCallerSession) LastRollupExitRoot() ([32]byte, error)
LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.
Solidity: function lastRollupExitRoot() view returns(bytes32)
type Polygonzkevmglobalexitrootl2mockFilterer ¶
type Polygonzkevmglobalexitrootl2mockFilterer struct {
// contains filtered or unexported fields
}
Polygonzkevmglobalexitrootl2mockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPolygonzkevmglobalexitrootl2mockFilterer ¶
func NewPolygonzkevmglobalexitrootl2mockFilterer(address common.Address, filterer bind.ContractFilterer) (*Polygonzkevmglobalexitrootl2mockFilterer, error)
NewPolygonzkevmglobalexitrootl2mockFilterer creates a new log filterer instance of Polygonzkevmglobalexitrootl2mock, bound to a specific deployed contract.
type Polygonzkevmglobalexitrootl2mockRaw ¶
type Polygonzkevmglobalexitrootl2mockRaw struct {
Contract *Polygonzkevmglobalexitrootl2mock // Generic contract binding to access the raw methods on
}
Polygonzkevmglobalexitrootl2mockRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*Polygonzkevmglobalexitrootl2mockRaw) Call ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockRaw) 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 (*Polygonzkevmglobalexitrootl2mockRaw) Transact ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Polygonzkevmglobalexitrootl2mockRaw) Transfer ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockRaw) 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 Polygonzkevmglobalexitrootl2mockSession ¶
type Polygonzkevmglobalexitrootl2mockSession struct { Contract *Polygonzkevmglobalexitrootl2mock // 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 }
Polygonzkevmglobalexitrootl2mockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Polygonzkevmglobalexitrootl2mockSession) BridgeAddress ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.
Solidity: function bridgeAddress() view returns(address)
func (*Polygonzkevmglobalexitrootl2mockSession) GlobalExitRootMap ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) 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 (*Polygonzkevmglobalexitrootl2mockSession) LastRollupExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) LastRollupExitRoot() ([32]byte, error)
LastRollupExitRoot is a free data retrieval call binding the contract method 0x01fd9044.
Solidity: function lastRollupExitRoot() view returns(bytes32)
func (*Polygonzkevmglobalexitrootl2mockSession) SetExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) SetExitRoot(newRoot [32]byte) (*types.Transaction, error)
SetExitRoot is a paid mutator transaction binding the contract method 0x116c40c3.
Solidity: function setExitRoot(bytes32 newRoot) returns()
func (*Polygonzkevmglobalexitrootl2mockSession) SetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) SetLastGlobalExitRoot(globalExitRoot [32]byte, blockNumber *big.Int) (*types.Transaction, error)
SetLastGlobalExitRoot is a paid mutator transaction binding the contract method 0x96e07459.
Solidity: function setLastGlobalExitRoot(bytes32 globalExitRoot, uint256 blockNumber) returns()
func (*Polygonzkevmglobalexitrootl2mockSession) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockSession) 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 Polygonzkevmglobalexitrootl2mockTransactor ¶
type Polygonzkevmglobalexitrootl2mockTransactor struct {
// contains filtered or unexported fields
}
Polygonzkevmglobalexitrootl2mockTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPolygonzkevmglobalexitrootl2mockTransactor ¶
func NewPolygonzkevmglobalexitrootl2mockTransactor(address common.Address, transactor bind.ContractTransactor) (*Polygonzkevmglobalexitrootl2mockTransactor, error)
NewPolygonzkevmglobalexitrootl2mockTransactor creates a new write-only instance of Polygonzkevmglobalexitrootl2mock, bound to a specific deployed contract.
func (*Polygonzkevmglobalexitrootl2mockTransactor) SetExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactor) SetExitRoot(opts *bind.TransactOpts, newRoot [32]byte) (*types.Transaction, error)
SetExitRoot is a paid mutator transaction binding the contract method 0x116c40c3.
Solidity: function setExitRoot(bytes32 newRoot) returns()
func (*Polygonzkevmglobalexitrootl2mockTransactor) SetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactor) SetLastGlobalExitRoot(opts *bind.TransactOpts, globalExitRoot [32]byte, blockNumber *big.Int) (*types.Transaction, error)
SetLastGlobalExitRoot is a paid mutator transaction binding the contract method 0x96e07459.
Solidity: function setLastGlobalExitRoot(bytes32 globalExitRoot, uint256 blockNumber) returns()
func (*Polygonzkevmglobalexitrootl2mockTransactor) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactor) 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 Polygonzkevmglobalexitrootl2mockTransactorRaw ¶
type Polygonzkevmglobalexitrootl2mockTransactorRaw struct {
Contract *Polygonzkevmglobalexitrootl2mockTransactor // Generic write-only contract binding to access the raw methods on
}
Polygonzkevmglobalexitrootl2mockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Polygonzkevmglobalexitrootl2mockTransactorRaw) Transact ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Polygonzkevmglobalexitrootl2mockTransactorRaw) Transfer ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactorRaw) 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 Polygonzkevmglobalexitrootl2mockTransactorSession ¶
type Polygonzkevmglobalexitrootl2mockTransactorSession struct { Contract *Polygonzkevmglobalexitrootl2mockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Polygonzkevmglobalexitrootl2mockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Polygonzkevmglobalexitrootl2mockTransactorSession) SetExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactorSession) SetExitRoot(newRoot [32]byte) (*types.Transaction, error)
SetExitRoot is a paid mutator transaction binding the contract method 0x116c40c3.
Solidity: function setExitRoot(bytes32 newRoot) returns()
func (*Polygonzkevmglobalexitrootl2mockTransactorSession) SetLastGlobalExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactorSession) SetLastGlobalExitRoot(globalExitRoot [32]byte, blockNumber *big.Int) (*types.Transaction, error)
SetLastGlobalExitRoot is a paid mutator transaction binding the contract method 0x96e07459.
Solidity: function setLastGlobalExitRoot(bytes32 globalExitRoot, uint256 blockNumber) returns()
func (*Polygonzkevmglobalexitrootl2mockTransactorSession) UpdateExitRoot ¶
func (_Polygonzkevmglobalexitrootl2mock *Polygonzkevmglobalexitrootl2mockTransactorSession) UpdateExitRoot(newRoot [32]byte) (*types.Transaction, error)
UpdateExitRoot is a paid mutator transaction binding the contract method 0x33d6247d.
Solidity: function updateExitRoot(bytes32 newRoot) returns()