l1bridge

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IL1BridgeABI = IL1BridgeMetaData.ABI

IL1BridgeABI is the input ABI used to generate the binding from. Deprecated: Use IL1BridgeMetaData.ABI instead.

View Source
var IL1BridgeMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"txDataHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"l2DepositTxHash\",\"type\":\"bytes32\"}],\"name\":\"BridgehubDepositFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"txDataHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgehubDepositInitiatedSharedBridge\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ClaimedFailedDepositSharedBridge\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"l2DepositTxHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DepositInitiatedSharedBridge\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalFinalizedSharedBridge\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"bridgehub\",\"outputs\":[{\"internalType\":\"contractIBridgehub\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_txDataHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_txHash\",\"type\":\"bytes32\"}],\"name\":\"bridgehubConfirmL2Transaction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_prevMsgSender\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"bridgehubDeposit\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"magicValue\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"l2Contract\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"l2Calldata\",\"type\":\"bytes\"},{\"internalType\":\"bytes[]\",\"name\":\"factoryDeps\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32\",\"name\":\"txDataHash\",\"type\":\"bytes32\"}],\"internalType\":\"structL2TransactionRequestTwoBridgesInner\",\"name\":\"request\",\"type\":\"tuple\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_prevMsgSender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"bridgehubDepositBaseToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_depositSender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_l2TxHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_l2BatchNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2MessageIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_l2TxNumberInBatch\",\"type\":\"uint16\"},{\"internalType\":\"bytes32[]\",\"name\":\"_merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"claimFailedDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_l2Receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_mintValue\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2TxGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2TxGasPerPubdataByte\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_refundRecipient\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_l2TxHash\",\"type\":\"bytes32\"}],\"name\":\"depositHappened\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2BatchNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2MessageIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_l2TxNumberInBatch\",\"type\":\"uint16\"},{\"internalType\":\"bytes\",\"name\":\"_message\",\"type\":\"bytes\"},{\"internalType\":\"bytes32[]\",\"name\":\"_merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"finalizeWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2BatchNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2MessageIndex\",\"type\":\"uint256\"}],\"name\":\"isWithdrawalFinalizedShared\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"}],\"name\":\"l2BridgeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

IL1BridgeMetaData contains all meta data concerning the IL1Bridge contract.

Functions

This section is empty.

Types

type IL1Bridge

type IL1Bridge struct {
	IL1BridgeCaller     // Read-only binding to the contract
	IL1BridgeTransactor // Write-only binding to the contract
	IL1BridgeFilterer   // Log filterer for contract events
}

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

func NewIL1Bridge

func NewIL1Bridge(address common.Address, backend bind.ContractBackend) (*IL1Bridge, error)

NewIL1Bridge creates a new instance of IL1Bridge, bound to a specific deployed contract.

type IL1BridgeBridgehubDepositFinalized added in v0.5.0

type IL1BridgeBridgehubDepositFinalized struct {
	ChainId         *big.Int
	TxDataHash      [32]byte
	L2DepositTxHash [32]byte
	Raw             types.Log // Blockchain specific contextual infos
}

IL1BridgeBridgehubDepositFinalized represents a BridgehubDepositFinalized event raised by the IL1Bridge contract.

type IL1BridgeBridgehubDepositFinalizedIterator added in v0.5.0

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

IL1BridgeBridgehubDepositFinalizedIterator is returned from FilterBridgehubDepositFinalized and is used to iterate over the raw logs and unpacked data for BridgehubDepositFinalized events raised by the IL1Bridge contract.

func (*IL1BridgeBridgehubDepositFinalizedIterator) Close added in v0.5.0

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

func (*IL1BridgeBridgehubDepositFinalizedIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1BridgeBridgehubDepositFinalizedIterator) Next added in v0.5.0

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.

type IL1BridgeBridgehubDepositInitiatedSharedBridge added in v0.5.0

type IL1BridgeBridgehubDepositInitiatedSharedBridge struct {
	ChainId    *big.Int
	TxDataHash [32]byte
	From       common.Address
	To         common.Address
	L1Token    common.Address
	Amount     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

IL1BridgeBridgehubDepositInitiatedSharedBridge represents a BridgehubDepositInitiatedSharedBridge event raised by the IL1Bridge contract.

type IL1BridgeBridgehubDepositInitiatedSharedBridgeIterator added in v0.5.0

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

IL1BridgeBridgehubDepositInitiatedSharedBridgeIterator is returned from FilterBridgehubDepositInitiatedSharedBridge and is used to iterate over the raw logs and unpacked data for BridgehubDepositInitiatedSharedBridge events raised by the IL1Bridge contract.

func (*IL1BridgeBridgehubDepositInitiatedSharedBridgeIterator) Close added in v0.5.0

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

func (*IL1BridgeBridgehubDepositInitiatedSharedBridgeIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1BridgeBridgehubDepositInitiatedSharedBridgeIterator) Next added in v0.5.0

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.

type IL1BridgeCaller

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

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

func NewIL1BridgeCaller

func NewIL1BridgeCaller(address common.Address, caller bind.ContractCaller) (*IL1BridgeCaller, error)

NewIL1BridgeCaller creates a new read-only instance of IL1Bridge, bound to a specific deployed contract.

func (*IL1BridgeCaller) Bridgehub added in v0.5.0

func (_IL1Bridge *IL1BridgeCaller) Bridgehub(opts *bind.CallOpts) (common.Address, error)

Bridgehub is a free data retrieval call binding the contract method 0x5d38962d.

Solidity: function bridgehub() view returns(address)

func (*IL1BridgeCaller) DepositHappened added in v0.5.0

func (_IL1Bridge *IL1BridgeCaller) DepositHappened(opts *bind.CallOpts, _chainId *big.Int, _l2TxHash [32]byte) ([32]byte, error)

DepositHappened is a free data retrieval call binding the contract method 0x9fa8826b.

Solidity: function depositHappened(uint256 _chainId, bytes32 _l2TxHash) view returns(bytes32)

func (*IL1BridgeCaller) IsWithdrawalFinalizedShared added in v0.5.0

func (_IL1Bridge *IL1BridgeCaller) IsWithdrawalFinalizedShared(opts *bind.CallOpts, _chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)

IsWithdrawalFinalizedShared is a free data retrieval call binding the contract method 0x1f41f3f2.

Solidity: function isWithdrawalFinalizedShared(uint256 _chainId, uint256 _l2BatchNumber, uint256 _l2MessageIndex) view returns(bool)

func (*IL1BridgeCaller) L2BridgeAddress added in v0.5.0

func (_IL1Bridge *IL1BridgeCaller) L2BridgeAddress(opts *bind.CallOpts, _chainId *big.Int) (common.Address, error)

L2BridgeAddress is a free data retrieval call binding the contract method 0x07ee9355.

Solidity: function l2BridgeAddress(uint256 _chainId) view returns(address)

type IL1BridgeCallerRaw

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

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

func (*IL1BridgeCallerRaw) Call

func (_IL1Bridge *IL1BridgeCallerRaw) 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 IL1BridgeCallerSession

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

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

func (*IL1BridgeCallerSession) Bridgehub added in v0.5.0

func (_IL1Bridge *IL1BridgeCallerSession) Bridgehub() (common.Address, error)

Bridgehub is a free data retrieval call binding the contract method 0x5d38962d.

Solidity: function bridgehub() view returns(address)

func (*IL1BridgeCallerSession) DepositHappened added in v0.5.0

func (_IL1Bridge *IL1BridgeCallerSession) DepositHappened(_chainId *big.Int, _l2TxHash [32]byte) ([32]byte, error)

DepositHappened is a free data retrieval call binding the contract method 0x9fa8826b.

Solidity: function depositHappened(uint256 _chainId, bytes32 _l2TxHash) view returns(bytes32)

func (*IL1BridgeCallerSession) IsWithdrawalFinalizedShared added in v0.5.0

func (_IL1Bridge *IL1BridgeCallerSession) IsWithdrawalFinalizedShared(_chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)

IsWithdrawalFinalizedShared is a free data retrieval call binding the contract method 0x1f41f3f2.

Solidity: function isWithdrawalFinalizedShared(uint256 _chainId, uint256 _l2BatchNumber, uint256 _l2MessageIndex) view returns(bool)

func (*IL1BridgeCallerSession) L2BridgeAddress added in v0.5.0

func (_IL1Bridge *IL1BridgeCallerSession) L2BridgeAddress(_chainId *big.Int) (common.Address, error)

L2BridgeAddress is a free data retrieval call binding the contract method 0x07ee9355.

Solidity: function l2BridgeAddress(uint256 _chainId) view returns(address)

type IL1BridgeClaimedFailedDepositSharedBridge added in v0.5.0

type IL1BridgeClaimedFailedDepositSharedBridge struct {
	ChainId *big.Int
	To      common.Address
	L1Token common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IL1BridgeClaimedFailedDepositSharedBridge represents a ClaimedFailedDepositSharedBridge event raised by the IL1Bridge contract.

type IL1BridgeClaimedFailedDepositSharedBridgeIterator added in v0.5.0

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

IL1BridgeClaimedFailedDepositSharedBridgeIterator is returned from FilterClaimedFailedDepositSharedBridge and is used to iterate over the raw logs and unpacked data for ClaimedFailedDepositSharedBridge events raised by the IL1Bridge contract.

func (*IL1BridgeClaimedFailedDepositSharedBridgeIterator) Close added in v0.5.0

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

func (*IL1BridgeClaimedFailedDepositSharedBridgeIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1BridgeClaimedFailedDepositSharedBridgeIterator) Next added in v0.5.0

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.

type IL1BridgeDepositInitiatedSharedBridge added in v0.5.0

type IL1BridgeDepositInitiatedSharedBridge struct {
	ChainId         *big.Int
	L2DepositTxHash [32]byte
	From            common.Address
	To              common.Address
	L1Token         common.Address
	Amount          *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

IL1BridgeDepositInitiatedSharedBridge represents a DepositInitiatedSharedBridge event raised by the IL1Bridge contract.

type IL1BridgeDepositInitiatedSharedBridgeIterator added in v0.5.0

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

IL1BridgeDepositInitiatedSharedBridgeIterator is returned from FilterDepositInitiatedSharedBridge and is used to iterate over the raw logs and unpacked data for DepositInitiatedSharedBridge events raised by the IL1Bridge contract.

func (*IL1BridgeDepositInitiatedSharedBridgeIterator) Close added in v0.5.0

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

func (*IL1BridgeDepositInitiatedSharedBridgeIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1BridgeDepositInitiatedSharedBridgeIterator) Next added in v0.5.0

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.

type IL1BridgeFilterer

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

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

func NewIL1BridgeFilterer

func NewIL1BridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*IL1BridgeFilterer, error)

NewIL1BridgeFilterer creates a new log filterer instance of IL1Bridge, bound to a specific deployed contract.

func (*IL1BridgeFilterer) FilterBridgehubDepositFinalized added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) FilterBridgehubDepositFinalized(opts *bind.FilterOpts, chainId []*big.Int, txDataHash [][32]byte, l2DepositTxHash [][32]byte) (*IL1BridgeBridgehubDepositFinalizedIterator, error)

FilterBridgehubDepositFinalized is a free log retrieval operation binding the contract event 0xe4def01b981193a97a9e81230d7b9f31812ceaf23f864a828a82c687911cb2df.

Solidity: event BridgehubDepositFinalized(uint256 indexed chainId, bytes32 indexed txDataHash, bytes32 indexed l2DepositTxHash)

func (*IL1BridgeFilterer) FilterBridgehubDepositInitiatedSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) FilterBridgehubDepositInitiatedSharedBridge(opts *bind.FilterOpts, chainId []*big.Int, txDataHash [][32]byte, from []common.Address) (*IL1BridgeBridgehubDepositInitiatedSharedBridgeIterator, error)

FilterBridgehubDepositInitiatedSharedBridge is a free log retrieval operation binding the contract event 0xb58916f15ee1c87cb4ddf5a07f5dddb605cef92c8d7c0b9041057df9fdc02e60.

Solidity: event BridgehubDepositInitiatedSharedBridge(uint256 indexed chainId, bytes32 indexed txDataHash, address indexed from, address to, address l1Token, uint256 amount)

func (*IL1BridgeFilterer) FilterClaimedFailedDepositSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) FilterClaimedFailedDepositSharedBridge(opts *bind.FilterOpts, chainId []*big.Int, to []common.Address, l1Token []common.Address) (*IL1BridgeClaimedFailedDepositSharedBridgeIterator, error)

FilterClaimedFailedDepositSharedBridge is a free log retrieval operation binding the contract event 0x3bd55dc610580f1af96f4071b65e94fe7fedb1ccd1c57e2befd807fb806dd047.

Solidity: event ClaimedFailedDepositSharedBridge(uint256 indexed chainId, address indexed to, address indexed l1Token, uint256 amount)

func (*IL1BridgeFilterer) FilterDepositInitiatedSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) FilterDepositInitiatedSharedBridge(opts *bind.FilterOpts, chainId []*big.Int, l2DepositTxHash [][32]byte, from []common.Address) (*IL1BridgeDepositInitiatedSharedBridgeIterator, error)

FilterDepositInitiatedSharedBridge is a free log retrieval operation binding the contract event 0x461e9f9a4610edbd60c7fc3c7b509fe60c53343c5a9f310b8cf9e18af00bef31.

Solidity: event DepositInitiatedSharedBridge(uint256 indexed chainId, bytes32 indexed l2DepositTxHash, address indexed from, address to, address l1Token, uint256 amount)

func (*IL1BridgeFilterer) FilterWithdrawalFinalizedSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) FilterWithdrawalFinalizedSharedBridge(opts *bind.FilterOpts, chainId []*big.Int, to []common.Address, l1Token []common.Address) (*IL1BridgeWithdrawalFinalizedSharedBridgeIterator, error)

FilterWithdrawalFinalizedSharedBridge is a free log retrieval operation binding the contract event 0x05518b128f0a9b11ddddebd5211a7fc2f4a689dab3a3e258d93eb13049983c3e.

Solidity: event WithdrawalFinalizedSharedBridge(uint256 indexed chainId, address indexed to, address indexed l1Token, uint256 amount)

func (*IL1BridgeFilterer) ParseBridgehubDepositFinalized added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) ParseBridgehubDepositFinalized(log types.Log) (*IL1BridgeBridgehubDepositFinalized, error)

ParseBridgehubDepositFinalized is a log parse operation binding the contract event 0xe4def01b981193a97a9e81230d7b9f31812ceaf23f864a828a82c687911cb2df.

Solidity: event BridgehubDepositFinalized(uint256 indexed chainId, bytes32 indexed txDataHash, bytes32 indexed l2DepositTxHash)

func (*IL1BridgeFilterer) ParseBridgehubDepositInitiatedSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) ParseBridgehubDepositInitiatedSharedBridge(log types.Log) (*IL1BridgeBridgehubDepositInitiatedSharedBridge, error)

ParseBridgehubDepositInitiatedSharedBridge is a log parse operation binding the contract event 0xb58916f15ee1c87cb4ddf5a07f5dddb605cef92c8d7c0b9041057df9fdc02e60.

Solidity: event BridgehubDepositInitiatedSharedBridge(uint256 indexed chainId, bytes32 indexed txDataHash, address indexed from, address to, address l1Token, uint256 amount)

func (*IL1BridgeFilterer) ParseClaimedFailedDepositSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) ParseClaimedFailedDepositSharedBridge(log types.Log) (*IL1BridgeClaimedFailedDepositSharedBridge, error)

ParseClaimedFailedDepositSharedBridge is a log parse operation binding the contract event 0x3bd55dc610580f1af96f4071b65e94fe7fedb1ccd1c57e2befd807fb806dd047.

Solidity: event ClaimedFailedDepositSharedBridge(uint256 indexed chainId, address indexed to, address indexed l1Token, uint256 amount)

func (*IL1BridgeFilterer) ParseDepositInitiatedSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) ParseDepositInitiatedSharedBridge(log types.Log) (*IL1BridgeDepositInitiatedSharedBridge, error)

ParseDepositInitiatedSharedBridge is a log parse operation binding the contract event 0x461e9f9a4610edbd60c7fc3c7b509fe60c53343c5a9f310b8cf9e18af00bef31.

Solidity: event DepositInitiatedSharedBridge(uint256 indexed chainId, bytes32 indexed l2DepositTxHash, address indexed from, address to, address l1Token, uint256 amount)

func (*IL1BridgeFilterer) ParseWithdrawalFinalizedSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) ParseWithdrawalFinalizedSharedBridge(log types.Log) (*IL1BridgeWithdrawalFinalizedSharedBridge, error)

ParseWithdrawalFinalizedSharedBridge is a log parse operation binding the contract event 0x05518b128f0a9b11ddddebd5211a7fc2f4a689dab3a3e258d93eb13049983c3e.

Solidity: event WithdrawalFinalizedSharedBridge(uint256 indexed chainId, address indexed to, address indexed l1Token, uint256 amount)

func (*IL1BridgeFilterer) WatchBridgehubDepositFinalized added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) WatchBridgehubDepositFinalized(opts *bind.WatchOpts, sink chan<- *IL1BridgeBridgehubDepositFinalized, chainId []*big.Int, txDataHash [][32]byte, l2DepositTxHash [][32]byte) (event.Subscription, error)

WatchBridgehubDepositFinalized is a free log subscription operation binding the contract event 0xe4def01b981193a97a9e81230d7b9f31812ceaf23f864a828a82c687911cb2df.

Solidity: event BridgehubDepositFinalized(uint256 indexed chainId, bytes32 indexed txDataHash, bytes32 indexed l2DepositTxHash)

func (*IL1BridgeFilterer) WatchBridgehubDepositInitiatedSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) WatchBridgehubDepositInitiatedSharedBridge(opts *bind.WatchOpts, sink chan<- *IL1BridgeBridgehubDepositInitiatedSharedBridge, chainId []*big.Int, txDataHash [][32]byte, from []common.Address) (event.Subscription, error)

WatchBridgehubDepositInitiatedSharedBridge is a free log subscription operation binding the contract event 0xb58916f15ee1c87cb4ddf5a07f5dddb605cef92c8d7c0b9041057df9fdc02e60.

Solidity: event BridgehubDepositInitiatedSharedBridge(uint256 indexed chainId, bytes32 indexed txDataHash, address indexed from, address to, address l1Token, uint256 amount)

func (*IL1BridgeFilterer) WatchClaimedFailedDepositSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) WatchClaimedFailedDepositSharedBridge(opts *bind.WatchOpts, sink chan<- *IL1BridgeClaimedFailedDepositSharedBridge, chainId []*big.Int, to []common.Address, l1Token []common.Address) (event.Subscription, error)

WatchClaimedFailedDepositSharedBridge is a free log subscription operation binding the contract event 0x3bd55dc610580f1af96f4071b65e94fe7fedb1ccd1c57e2befd807fb806dd047.

Solidity: event ClaimedFailedDepositSharedBridge(uint256 indexed chainId, address indexed to, address indexed l1Token, uint256 amount)

func (*IL1BridgeFilterer) WatchDepositInitiatedSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) WatchDepositInitiatedSharedBridge(opts *bind.WatchOpts, sink chan<- *IL1BridgeDepositInitiatedSharedBridge, chainId []*big.Int, l2DepositTxHash [][32]byte, from []common.Address) (event.Subscription, error)

WatchDepositInitiatedSharedBridge is a free log subscription operation binding the contract event 0x461e9f9a4610edbd60c7fc3c7b509fe60c53343c5a9f310b8cf9e18af00bef31.

Solidity: event DepositInitiatedSharedBridge(uint256 indexed chainId, bytes32 indexed l2DepositTxHash, address indexed from, address to, address l1Token, uint256 amount)

func (*IL1BridgeFilterer) WatchWithdrawalFinalizedSharedBridge added in v0.5.0

func (_IL1Bridge *IL1BridgeFilterer) WatchWithdrawalFinalizedSharedBridge(opts *bind.WatchOpts, sink chan<- *IL1BridgeWithdrawalFinalizedSharedBridge, chainId []*big.Int, to []common.Address, l1Token []common.Address) (event.Subscription, error)

WatchWithdrawalFinalizedSharedBridge is a free log subscription operation binding the contract event 0x05518b128f0a9b11ddddebd5211a7fc2f4a689dab3a3e258d93eb13049983c3e.

Solidity: event WithdrawalFinalizedSharedBridge(uint256 indexed chainId, address indexed to, address indexed l1Token, uint256 amount)

type IL1BridgeRaw

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

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

func (*IL1BridgeRaw) Call

func (_IL1Bridge *IL1BridgeRaw) 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 (*IL1BridgeRaw) Transact

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

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

func (*IL1BridgeRaw) Transfer

func (_IL1Bridge *IL1BridgeRaw) 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 IL1BridgeSession

type IL1BridgeSession struct {
	Contract     *IL1Bridge        // 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
}

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

func (*IL1BridgeSession) Bridgehub added in v0.5.0

func (_IL1Bridge *IL1BridgeSession) Bridgehub() (common.Address, error)

Bridgehub is a free data retrieval call binding the contract method 0x5d38962d.

Solidity: function bridgehub() view returns(address)

func (*IL1BridgeSession) BridgehubConfirmL2Transaction added in v0.5.0

func (_IL1Bridge *IL1BridgeSession) BridgehubConfirmL2Transaction(_chainId *big.Int, _txDataHash [32]byte, _txHash [32]byte) (*types.Transaction, error)

BridgehubConfirmL2Transaction is a paid mutator transaction binding the contract method 0x8eb7db57.

Solidity: function bridgehubConfirmL2Transaction(uint256 _chainId, bytes32 _txDataHash, bytes32 _txHash) returns()

func (*IL1BridgeSession) BridgehubDeposit added in v0.5.0

func (_IL1Bridge *IL1BridgeSession) BridgehubDeposit(_chainId *big.Int, _prevMsgSender common.Address, _data []byte) (*types.Transaction, error)

BridgehubDeposit is a paid mutator transaction binding the contract method 0x7d7366b3.

Solidity: function bridgehubDeposit(uint256 _chainId, address _prevMsgSender, bytes _data) payable returns((bytes32,address,bytes,bytes[],bytes32) request)

func (*IL1BridgeSession) BridgehubDepositBaseToken added in v0.5.0

func (_IL1Bridge *IL1BridgeSession) BridgehubDepositBaseToken(_chainId *big.Int, _prevMsgSender common.Address, _l1Token common.Address, _amount *big.Int) (*types.Transaction, error)

BridgehubDepositBaseToken is a paid mutator transaction binding the contract method 0x2c4f2a58.

Solidity: function bridgehubDepositBaseToken(uint256 _chainId, address _prevMsgSender, address _l1Token, uint256 _amount) payable returns()

func (*IL1BridgeSession) ClaimFailedDeposit

func (_IL1Bridge *IL1BridgeSession) ClaimFailedDeposit(_chainId *big.Int, _depositSender common.Address, _l1Token common.Address, _amount *big.Int, _l2TxHash [32]byte, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _merkleProof [][32]byte) (*types.Transaction, error)

ClaimFailedDeposit is a paid mutator transaction binding the contract method 0xc0991525.

Solidity: function claimFailedDeposit(uint256 _chainId, address _depositSender, address _l1Token, uint256 _amount, bytes32 _l2TxHash, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes32[] _merkleProof) returns()

func (*IL1BridgeSession) Deposit

func (_IL1Bridge *IL1BridgeSession) Deposit(_chainId *big.Int, _l2Receiver common.Address, _l1Token common.Address, _mintValue *big.Int, _amount *big.Int, _l2TxGasLimit *big.Int, _l2TxGasPerPubdataByte *big.Int, _refundRecipient common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x55895e9c.

Solidity: function deposit(uint256 _chainId, address _l2Receiver, address _l1Token, uint256 _mintValue, uint256 _amount, uint256 _l2TxGasLimit, uint256 _l2TxGasPerPubdataByte, address _refundRecipient) payable returns(bytes32 txHash)

func (*IL1BridgeSession) DepositHappened added in v0.5.0

func (_IL1Bridge *IL1BridgeSession) DepositHappened(_chainId *big.Int, _l2TxHash [32]byte) ([32]byte, error)

DepositHappened is a free data retrieval call binding the contract method 0x9fa8826b.

Solidity: function depositHappened(uint256 _chainId, bytes32 _l2TxHash) view returns(bytes32)

func (*IL1BridgeSession) FinalizeWithdrawal

func (_IL1Bridge *IL1BridgeSession) FinalizeWithdrawal(_chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _message []byte, _merkleProof [][32]byte) (*types.Transaction, error)

FinalizeWithdrawal is a paid mutator transaction binding the contract method 0xc87325f1.

Solidity: function finalizeWithdrawal(uint256 _chainId, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes _message, bytes32[] _merkleProof) returns()

func (*IL1BridgeSession) IsWithdrawalFinalizedShared added in v0.5.0

func (_IL1Bridge *IL1BridgeSession) IsWithdrawalFinalizedShared(_chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)

IsWithdrawalFinalizedShared is a free data retrieval call binding the contract method 0x1f41f3f2.

Solidity: function isWithdrawalFinalizedShared(uint256 _chainId, uint256 _l2BatchNumber, uint256 _l2MessageIndex) view returns(bool)

func (*IL1BridgeSession) L2BridgeAddress added in v0.5.0

func (_IL1Bridge *IL1BridgeSession) L2BridgeAddress(_chainId *big.Int) (common.Address, error)

L2BridgeAddress is a free data retrieval call binding the contract method 0x07ee9355.

Solidity: function l2BridgeAddress(uint256 _chainId) view returns(address)

type IL1BridgeTransactor

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

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

func NewIL1BridgeTransactor

func NewIL1BridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*IL1BridgeTransactor, error)

NewIL1BridgeTransactor creates a new write-only instance of IL1Bridge, bound to a specific deployed contract.

func (*IL1BridgeTransactor) BridgehubConfirmL2Transaction added in v0.5.0

func (_IL1Bridge *IL1BridgeTransactor) BridgehubConfirmL2Transaction(opts *bind.TransactOpts, _chainId *big.Int, _txDataHash [32]byte, _txHash [32]byte) (*types.Transaction, error)

BridgehubConfirmL2Transaction is a paid mutator transaction binding the contract method 0x8eb7db57.

Solidity: function bridgehubConfirmL2Transaction(uint256 _chainId, bytes32 _txDataHash, bytes32 _txHash) returns()

func (*IL1BridgeTransactor) BridgehubDeposit added in v0.5.0

func (_IL1Bridge *IL1BridgeTransactor) BridgehubDeposit(opts *bind.TransactOpts, _chainId *big.Int, _prevMsgSender common.Address, _data []byte) (*types.Transaction, error)

BridgehubDeposit is a paid mutator transaction binding the contract method 0x7d7366b3.

Solidity: function bridgehubDeposit(uint256 _chainId, address _prevMsgSender, bytes _data) payable returns((bytes32,address,bytes,bytes[],bytes32) request)

func (*IL1BridgeTransactor) BridgehubDepositBaseToken added in v0.5.0

func (_IL1Bridge *IL1BridgeTransactor) BridgehubDepositBaseToken(opts *bind.TransactOpts, _chainId *big.Int, _prevMsgSender common.Address, _l1Token common.Address, _amount *big.Int) (*types.Transaction, error)

BridgehubDepositBaseToken is a paid mutator transaction binding the contract method 0x2c4f2a58.

Solidity: function bridgehubDepositBaseToken(uint256 _chainId, address _prevMsgSender, address _l1Token, uint256 _amount) payable returns()

func (*IL1BridgeTransactor) ClaimFailedDeposit

func (_IL1Bridge *IL1BridgeTransactor) ClaimFailedDeposit(opts *bind.TransactOpts, _chainId *big.Int, _depositSender common.Address, _l1Token common.Address, _amount *big.Int, _l2TxHash [32]byte, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _merkleProof [][32]byte) (*types.Transaction, error)

ClaimFailedDeposit is a paid mutator transaction binding the contract method 0xc0991525.

Solidity: function claimFailedDeposit(uint256 _chainId, address _depositSender, address _l1Token, uint256 _amount, bytes32 _l2TxHash, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes32[] _merkleProof) returns()

func (*IL1BridgeTransactor) Deposit

func (_IL1Bridge *IL1BridgeTransactor) Deposit(opts *bind.TransactOpts, _chainId *big.Int, _l2Receiver common.Address, _l1Token common.Address, _mintValue *big.Int, _amount *big.Int, _l2TxGasLimit *big.Int, _l2TxGasPerPubdataByte *big.Int, _refundRecipient common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x55895e9c.

Solidity: function deposit(uint256 _chainId, address _l2Receiver, address _l1Token, uint256 _mintValue, uint256 _amount, uint256 _l2TxGasLimit, uint256 _l2TxGasPerPubdataByte, address _refundRecipient) payable returns(bytes32 txHash)

func (*IL1BridgeTransactor) FinalizeWithdrawal

func (_IL1Bridge *IL1BridgeTransactor) FinalizeWithdrawal(opts *bind.TransactOpts, _chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _message []byte, _merkleProof [][32]byte) (*types.Transaction, error)

FinalizeWithdrawal is a paid mutator transaction binding the contract method 0xc87325f1.

Solidity: function finalizeWithdrawal(uint256 _chainId, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes _message, bytes32[] _merkleProof) returns()

type IL1BridgeTransactorRaw

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

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

func (*IL1BridgeTransactorRaw) Transact

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

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

func (*IL1BridgeTransactorRaw) Transfer

func (_IL1Bridge *IL1BridgeTransactorRaw) 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 IL1BridgeTransactorSession

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

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

func (*IL1BridgeTransactorSession) BridgehubConfirmL2Transaction added in v0.5.0

func (_IL1Bridge *IL1BridgeTransactorSession) BridgehubConfirmL2Transaction(_chainId *big.Int, _txDataHash [32]byte, _txHash [32]byte) (*types.Transaction, error)

BridgehubConfirmL2Transaction is a paid mutator transaction binding the contract method 0x8eb7db57.

Solidity: function bridgehubConfirmL2Transaction(uint256 _chainId, bytes32 _txDataHash, bytes32 _txHash) returns()

func (*IL1BridgeTransactorSession) BridgehubDeposit added in v0.5.0

func (_IL1Bridge *IL1BridgeTransactorSession) BridgehubDeposit(_chainId *big.Int, _prevMsgSender common.Address, _data []byte) (*types.Transaction, error)

BridgehubDeposit is a paid mutator transaction binding the contract method 0x7d7366b3.

Solidity: function bridgehubDeposit(uint256 _chainId, address _prevMsgSender, bytes _data) payable returns((bytes32,address,bytes,bytes[],bytes32) request)

func (*IL1BridgeTransactorSession) BridgehubDepositBaseToken added in v0.5.0

func (_IL1Bridge *IL1BridgeTransactorSession) BridgehubDepositBaseToken(_chainId *big.Int, _prevMsgSender common.Address, _l1Token common.Address, _amount *big.Int) (*types.Transaction, error)

BridgehubDepositBaseToken is a paid mutator transaction binding the contract method 0x2c4f2a58.

Solidity: function bridgehubDepositBaseToken(uint256 _chainId, address _prevMsgSender, address _l1Token, uint256 _amount) payable returns()

func (*IL1BridgeTransactorSession) ClaimFailedDeposit

func (_IL1Bridge *IL1BridgeTransactorSession) ClaimFailedDeposit(_chainId *big.Int, _depositSender common.Address, _l1Token common.Address, _amount *big.Int, _l2TxHash [32]byte, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _merkleProof [][32]byte) (*types.Transaction, error)

ClaimFailedDeposit is a paid mutator transaction binding the contract method 0xc0991525.

Solidity: function claimFailedDeposit(uint256 _chainId, address _depositSender, address _l1Token, uint256 _amount, bytes32 _l2TxHash, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes32[] _merkleProof) returns()

func (*IL1BridgeTransactorSession) Deposit

func (_IL1Bridge *IL1BridgeTransactorSession) Deposit(_chainId *big.Int, _l2Receiver common.Address, _l1Token common.Address, _mintValue *big.Int, _amount *big.Int, _l2TxGasLimit *big.Int, _l2TxGasPerPubdataByte *big.Int, _refundRecipient common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x55895e9c.

Solidity: function deposit(uint256 _chainId, address _l2Receiver, address _l1Token, uint256 _mintValue, uint256 _amount, uint256 _l2TxGasLimit, uint256 _l2TxGasPerPubdataByte, address _refundRecipient) payable returns(bytes32 txHash)

func (*IL1BridgeTransactorSession) FinalizeWithdrawal

func (_IL1Bridge *IL1BridgeTransactorSession) FinalizeWithdrawal(_chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _message []byte, _merkleProof [][32]byte) (*types.Transaction, error)

FinalizeWithdrawal is a paid mutator transaction binding the contract method 0xc87325f1.

Solidity: function finalizeWithdrawal(uint256 _chainId, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes _message, bytes32[] _merkleProof) returns()

type IL1BridgeWithdrawalFinalizedSharedBridge added in v0.5.0

type IL1BridgeWithdrawalFinalizedSharedBridge struct {
	ChainId *big.Int
	To      common.Address
	L1Token common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IL1BridgeWithdrawalFinalizedSharedBridge represents a WithdrawalFinalizedSharedBridge event raised by the IL1Bridge contract.

type IL1BridgeWithdrawalFinalizedSharedBridgeIterator added in v0.5.0

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

IL1BridgeWithdrawalFinalizedSharedBridgeIterator is returned from FilterWithdrawalFinalizedSharedBridge and is used to iterate over the raw logs and unpacked data for WithdrawalFinalizedSharedBridge events raised by the IL1Bridge contract.

func (*IL1BridgeWithdrawalFinalizedSharedBridgeIterator) Close added in v0.5.0

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

func (*IL1BridgeWithdrawalFinalizedSharedBridgeIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*IL1BridgeWithdrawalFinalizedSharedBridgeIterator) Next added in v0.5.0

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.

type L2TransactionRequestTwoBridgesInner added in v0.5.0

type L2TransactionRequestTwoBridgesInner struct {
	MagicValue  [32]byte
	L2Contract  common.Address
	L2Calldata  []byte
	FactoryDeps [][]byte
	TxDataHash  [32]byte
}

L2TransactionRequestTwoBridgesInner is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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