polygonzkevmglobalexitrootl2mock

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 Polygonzkevmglobalexitrootl2mockABI = Polygonzkevmglobalexitrootl2mockMetaData.ABI

Polygonzkevmglobalexitrootl2mockABI is the input ABI used to generate the binding from. Deprecated: Use Polygonzkevmglobalexitrootl2mockMetaData.ABI instead.

View Source
var Polygonzkevmglobalexitrootl2mockBin = Polygonzkevmglobalexitrootl2mockMetaData.Bin

Polygonzkevmglobalexitrootl2mockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use Polygonzkevmglobalexitrootl2mockMetaData.Bin instead.

View Source
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: "0x60a060405234801561001057600080fd5b506040516102b93803806102b983398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161022761009260003960008181610100015261015f01526102276000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c806333d6247d1161005057806333d6247d146100c857806396e07459146100db578063a3c573eb146100fb57600080fd5b806301fd904414610077578063116c40c314610093578063257b3632146100a8575b600080fd5b61008060015481565b6040519081526020015b60405180910390f35b6100a66100a13660046101b6565b600155565b005b6100806100b63660046101b6565b60006020819052908152604090205481565b6100a66100d63660046101b6565b610147565b6100a66100e93660046101cf565b60009182526020829052604090912055565b6101227f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161008a565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146100a1576040517fb49365dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000602082840312156101c857600080fd5b5035919050565b600080604083850312156101e257600080fd5b5050803592602090910135915056fea26469706673582212203dc131ea7b3c9a0e0d9f97c222b405f0086fc9beecf67bf79956cd48dcb6461d64736f6c63430008140033",
}

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()

Jump to

Keyboard shortcuts

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