Documentation ¶
Index ¶
- Variables
- type IL1SharedBridge
- type IL1SharedBridgeBridgehubDepositBaseTokenInitiated
- type IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator
- type IL1SharedBridgeBridgehubDepositFinalized
- type IL1SharedBridgeBridgehubDepositFinalizedIterator
- type IL1SharedBridgeBridgehubDepositInitiated
- type IL1SharedBridgeBridgehubDepositInitiatedIterator
- type IL1SharedBridgeCaller
- func (_IL1SharedBridge *IL1SharedBridgeCaller) BRIDGEHUB(opts *bind.CallOpts) (common.Address, error)
- func (_IL1SharedBridge *IL1SharedBridgeCaller) DepositHappened(opts *bind.CallOpts, _chainId *big.Int, _l2TxHash [32]byte) ([32]byte, error)
- func (_IL1SharedBridge *IL1SharedBridgeCaller) IsWithdrawalFinalized(opts *bind.CallOpts, _chainId *big.Int, _l2BatchNumber *big.Int, ...) (bool, error)
- func (_IL1SharedBridge *IL1SharedBridgeCaller) L1WETHTOKEN(opts *bind.CallOpts) (common.Address, error)
- func (_IL1SharedBridge *IL1SharedBridgeCaller) L2BridgeAddress(opts *bind.CallOpts, _chainId *big.Int) (common.Address, error)
- func (_IL1SharedBridge *IL1SharedBridgeCaller) LegacyBridge(opts *bind.CallOpts) (common.Address, error)
- type IL1SharedBridgeCallerRaw
- type IL1SharedBridgeCallerSession
- func (_IL1SharedBridge *IL1SharedBridgeCallerSession) BRIDGEHUB() (common.Address, error)
- func (_IL1SharedBridge *IL1SharedBridgeCallerSession) DepositHappened(_chainId *big.Int, _l2TxHash [32]byte) ([32]byte, error)
- func (_IL1SharedBridge *IL1SharedBridgeCallerSession) IsWithdrawalFinalized(_chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)
- func (_IL1SharedBridge *IL1SharedBridgeCallerSession) L1WETHTOKEN() (common.Address, error)
- func (_IL1SharedBridge *IL1SharedBridgeCallerSession) L2BridgeAddress(_chainId *big.Int) (common.Address, error)
- func (_IL1SharedBridge *IL1SharedBridgeCallerSession) LegacyBridge() (common.Address, error)
- type IL1SharedBridgeClaimedFailedDepositSharedBridge
- type IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator
- type IL1SharedBridgeFilterer
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterBridgehubDepositBaseTokenInitiated(opts *bind.FilterOpts, chainId []*big.Int, from []common.Address) (*IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterBridgehubDepositFinalized(opts *bind.FilterOpts, chainId []*big.Int, txDataHash [][32]byte, ...) (*IL1SharedBridgeBridgehubDepositFinalizedIterator, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterBridgehubDepositInitiated(opts *bind.FilterOpts, chainId []*big.Int, txDataHash [][32]byte, ...) (*IL1SharedBridgeBridgehubDepositInitiatedIterator, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterClaimedFailedDepositSharedBridge(opts *bind.FilterOpts, chainId []*big.Int, to []common.Address, ...) (*IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterLegacyDepositInitiated(opts *bind.FilterOpts, chainId []*big.Int, l2DepositTxHash [][32]byte, ...) (*IL1SharedBridgeLegacyDepositInitiatedIterator, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterWithdrawalFinalizedSharedBridge(opts *bind.FilterOpts, chainId []*big.Int, to []common.Address, ...) (*IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseBridgehubDepositBaseTokenInitiated(log types.Log) (*IL1SharedBridgeBridgehubDepositBaseTokenInitiated, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseBridgehubDepositFinalized(log types.Log) (*IL1SharedBridgeBridgehubDepositFinalized, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseBridgehubDepositInitiated(log types.Log) (*IL1SharedBridgeBridgehubDepositInitiated, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseClaimedFailedDepositSharedBridge(log types.Log) (*IL1SharedBridgeClaimedFailedDepositSharedBridge, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseLegacyDepositInitiated(log types.Log) (*IL1SharedBridgeLegacyDepositInitiated, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseWithdrawalFinalizedSharedBridge(log types.Log) (*IL1SharedBridgeWithdrawalFinalizedSharedBridge, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchBridgehubDepositBaseTokenInitiated(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchBridgehubDepositFinalized(opts *bind.WatchOpts, sink chan<- *IL1SharedBridgeBridgehubDepositFinalized, ...) (event.Subscription, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchBridgehubDepositInitiated(opts *bind.WatchOpts, sink chan<- *IL1SharedBridgeBridgehubDepositInitiated, ...) (event.Subscription, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchClaimedFailedDepositSharedBridge(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchLegacyDepositInitiated(opts *bind.WatchOpts, sink chan<- *IL1SharedBridgeLegacyDepositInitiated, ...) (event.Subscription, error)
- func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchWithdrawalFinalizedSharedBridge(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type IL1SharedBridgeLegacyDepositInitiated
- type IL1SharedBridgeLegacyDepositInitiatedIterator
- type IL1SharedBridgeRaw
- func (_IL1SharedBridge *IL1SharedBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IL1SharedBridge *IL1SharedBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IL1SharedBridgeSession
- func (_IL1SharedBridge *IL1SharedBridgeSession) BRIDGEHUB() (common.Address, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) BridgehubConfirmL2Transaction(_chainId *big.Int, _txDataHash [32]byte, _txHash [32]byte) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) BridgehubDeposit(_chainId *big.Int, _prevMsgSender common.Address, _l2Value *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) BridgehubDepositBaseToken(_chainId *big.Int, _prevMsgSender common.Address, _l1Token common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) ClaimFailedDeposit(_chainId *big.Int, _depositSender common.Address, _l1Token common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) ClaimFailedDepositLegacyErc20Bridge(_depositSender common.Address, _l1Token common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) DepositHappened(_chainId *big.Int, _l2TxHash [32]byte) ([32]byte, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) DepositLegacyErc20Bridge(_msgSender common.Address, _l2Receiver common.Address, _l1Token common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) FinalizeWithdrawal(_chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) FinalizeWithdrawalLegacyErc20Bridge(_l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) IsWithdrawalFinalized(_chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) L1WETHTOKEN() (common.Address, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) L2BridgeAddress(_chainId *big.Int) (common.Address, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) LegacyBridge() (common.Address, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) ReceiveEth(_chainId *big.Int) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) SetEraLegacyBridgeLastDepositTime(_eraLegacyBridgeLastDepositBatch *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) SetEraPostDiamondUpgradeFirstBatch(_eraPostDiamondUpgradeFirstBatch *big.Int) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeSession) SetEraPostLegacyBridgeUpgradeFirstBatch(_eraPostLegacyBridgeUpgradeFirstBatch *big.Int) (*types.Transaction, error)
- type IL1SharedBridgeTransactor
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) BridgehubConfirmL2Transaction(opts *bind.TransactOpts, _chainId *big.Int, _txDataHash [32]byte, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) BridgehubDeposit(opts *bind.TransactOpts, _chainId *big.Int, _prevMsgSender common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) BridgehubDepositBaseToken(opts *bind.TransactOpts, _chainId *big.Int, _prevMsgSender common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) ClaimFailedDeposit(opts *bind.TransactOpts, _chainId *big.Int, _depositSender common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) ClaimFailedDepositLegacyErc20Bridge(opts *bind.TransactOpts, _depositSender common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) DepositLegacyErc20Bridge(opts *bind.TransactOpts, _msgSender common.Address, _l2Receiver common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) FinalizeWithdrawal(opts *bind.TransactOpts, _chainId *big.Int, _l2BatchNumber *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) FinalizeWithdrawalLegacyErc20Bridge(opts *bind.TransactOpts, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) ReceiveEth(opts *bind.TransactOpts, _chainId *big.Int) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) SetEraLegacyBridgeLastDepositTime(opts *bind.TransactOpts, _eraLegacyBridgeLastDepositBatch *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) SetEraPostDiamondUpgradeFirstBatch(opts *bind.TransactOpts, _eraPostDiamondUpgradeFirstBatch *big.Int) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactor) SetEraPostLegacyBridgeUpgradeFirstBatch(opts *bind.TransactOpts, _eraPostLegacyBridgeUpgradeFirstBatch *big.Int) (*types.Transaction, error)
- type IL1SharedBridgeTransactorRaw
- type IL1SharedBridgeTransactorSession
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) BridgehubConfirmL2Transaction(_chainId *big.Int, _txDataHash [32]byte, _txHash [32]byte) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) BridgehubDeposit(_chainId *big.Int, _prevMsgSender common.Address, _l2Value *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) BridgehubDepositBaseToken(_chainId *big.Int, _prevMsgSender common.Address, _l1Token common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) ClaimFailedDeposit(_chainId *big.Int, _depositSender common.Address, _l1Token common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) ClaimFailedDepositLegacyErc20Bridge(_depositSender common.Address, _l1Token common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) DepositLegacyErc20Bridge(_msgSender common.Address, _l2Receiver common.Address, _l1Token common.Address, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) FinalizeWithdrawal(_chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) FinalizeWithdrawalLegacyErc20Bridge(_l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) ReceiveEth(_chainId *big.Int) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) SetEraLegacyBridgeLastDepositTime(_eraLegacyBridgeLastDepositBatch *big.Int, ...) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) SetEraPostDiamondUpgradeFirstBatch(_eraPostDiamondUpgradeFirstBatch *big.Int) (*types.Transaction, error)
- func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) SetEraPostLegacyBridgeUpgradeFirstBatch(_eraPostLegacyBridgeUpgradeFirstBatch *big.Int) (*types.Transaction, error)
- type IL1SharedBridgeWithdrawalFinalizedSharedBridge
- type IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator
- type L2TransactionRequestTwoBridgesInner
Constants ¶
This section is empty.
Variables ¶
IL1SharedBridgeABI is the input ABI used to generate the binding from. Deprecated: Use IL1SharedBridgeMetaData.ABI instead.
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgehubDepositBaseTokenInitiated\",\"type\":\"event\"},{\"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\":\"BridgehubDepositInitiated\",\"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\":\"LegacyDepositInitiated\",\"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\":\"BRIDGE_HUB\",\"outputs\":[{\"internalType\":\"contractIBridgehub\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"L1_WETH_TOKEN\",\"outputs\":[{\"internalType\":\"address\",\"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\":\"uint256\",\"name\":\"_l2Value\",\"type\":\"uint256\"},{\"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\":\"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\":\"claimFailedDepositLegacyErc20Bridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"address\",\"name\":\"_msgSender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"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\":\"depositLegacyErc20Bridge\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"payable\",\"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\":\"_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\":\"finalizeWithdrawalLegacyErc20Bridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"l1Receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2BatchNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_l2MessageIndex\",\"type\":\"uint256\"}],\"name\":\"isWithdrawalFinalized\",\"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\"},{\"inputs\":[],\"name\":\"legacyBridge\",\"outputs\":[{\"internalType\":\"contractIL1ERC20Bridge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_chainId\",\"type\":\"uint256\"}],\"name\":\"receiveEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_eraLegacyBridgeLastDepositBatch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_eraLegacyBridgeLastDepositTxNumber\",\"type\":\"uint256\"}],\"name\":\"setEraLegacyBridgeLastDepositTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_eraPostDiamondUpgradeFirstBatch\",\"type\":\"uint256\"}],\"name\":\"setEraPostDiamondUpgradeFirstBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_eraPostLegacyBridgeUpgradeFirstBatch\",\"type\":\"uint256\"}],\"name\":\"setEraPostLegacyBridgeUpgradeFirstBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}IL1SharedBridgeMetaData contains all meta data concerning the IL1SharedBridge contract.
Functions ¶
This section is empty.
Types ¶
type IL1SharedBridge ¶
type IL1SharedBridge struct {}
IL1SharedBridge is an auto generated Go binding around an Ethereum contract.
func NewIL1SharedBridge ¶
func NewIL1SharedBridge(address common.Address, backend bind.ContractBackend) (*IL1SharedBridge, error)
NewIL1SharedBridge creates a new instance of IL1SharedBridge, bound to a specific deployed contract.
type IL1SharedBridgeBridgehubDepositBaseTokenInitiated ¶
type IL1SharedBridgeBridgehubDepositBaseTokenInitiated struct {}
IL1SharedBridgeBridgehubDepositBaseTokenInitiated represents a BridgehubDepositBaseTokenInitiated event raised by the IL1SharedBridge contract.
type IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator ¶
type IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator struct { // contains filtered or unexported fields }
IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator is returned from FilterBridgehubDepositBaseTokenInitiated and is used to iterate over the raw logs and unpacked data for BridgehubDepositBaseTokenInitiated events raised by the IL1SharedBridge contract.
func (*IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator) Close ¶
func (it *IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator) Error ¶
func (it *IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator) Next ¶
func (it *IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator) Next() bool
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 IL1SharedBridgeBridgehubDepositFinalized ¶
type IL1SharedBridgeBridgehubDepositFinalized struct {}
IL1SharedBridgeBridgehubDepositFinalized represents a BridgehubDepositFinalized event raised by the IL1SharedBridge contract.
type IL1SharedBridgeBridgehubDepositFinalizedIterator ¶
type IL1SharedBridgeBridgehubDepositFinalizedIterator struct { // contains filtered or unexported fields }
IL1SharedBridgeBridgehubDepositFinalizedIterator is returned from FilterBridgehubDepositFinalized and is used to iterate over the raw logs and unpacked data for BridgehubDepositFinalized events raised by the IL1SharedBridge contract.
func (*IL1SharedBridgeBridgehubDepositFinalizedIterator) Close ¶
func (it *IL1SharedBridgeBridgehubDepositFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IL1SharedBridgeBridgehubDepositFinalizedIterator) Error ¶
func (it *IL1SharedBridgeBridgehubDepositFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IL1SharedBridgeBridgehubDepositFinalizedIterator) Next ¶
func (it *IL1SharedBridgeBridgehubDepositFinalizedIterator) Next() bool
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 IL1SharedBridgeBridgehubDepositInitiated ¶
type IL1SharedBridgeBridgehubDepositInitiated struct {}
IL1SharedBridgeBridgehubDepositInitiated represents a BridgehubDepositInitiated event raised by the IL1SharedBridge contract.
type IL1SharedBridgeBridgehubDepositInitiatedIterator ¶
type IL1SharedBridgeBridgehubDepositInitiatedIterator struct { // contains filtered or unexported fields }
IL1SharedBridgeBridgehubDepositInitiatedIterator is returned from FilterBridgehubDepositInitiated and is used to iterate over the raw logs and unpacked data for BridgehubDepositInitiated events raised by the IL1SharedBridge contract.
func (*IL1SharedBridgeBridgehubDepositInitiatedIterator) Close ¶
func (it *IL1SharedBridgeBridgehubDepositInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IL1SharedBridgeBridgehubDepositInitiatedIterator) Error ¶
func (it *IL1SharedBridgeBridgehubDepositInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IL1SharedBridgeBridgehubDepositInitiatedIterator) Next ¶
func (it *IL1SharedBridgeBridgehubDepositInitiatedIterator) Next() bool
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 IL1SharedBridgeCaller ¶
type IL1SharedBridgeCaller struct {
// contains filtered or unexported fields
}
IL1SharedBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIL1SharedBridgeCaller ¶
func NewIL1SharedBridgeCaller(address common.Address, caller bind.ContractCaller) (*IL1SharedBridgeCaller, error)
NewIL1SharedBridgeCaller creates a new read-only instance of IL1SharedBridge, bound to a specific deployed contract.
func (*IL1SharedBridgeCaller) BRIDGEHUB ¶
func (_IL1SharedBridge *IL1SharedBridgeCaller) BRIDGEHUB(opts *bind.CallOpts) (common.Address, error)
BRIDGEHUB is a free data retrieval call binding the contract method 0x5d4edca7.
Solidity: function BRIDGE_HUB() view returns(address)
func (*IL1SharedBridgeCaller) DepositHappened ¶
func (_IL1SharedBridge *IL1SharedBridgeCaller) 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 (*IL1SharedBridgeCaller) IsWithdrawalFinalized ¶
func (_IL1SharedBridge *IL1SharedBridgeCaller) IsWithdrawalFinalized(opts *bind.CallOpts, _chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)
IsWithdrawalFinalized is a free data retrieval call binding the contract method 0x8f31f052.
Solidity: function isWithdrawalFinalized(uint256 _chainId, uint256 _l2BatchNumber, uint256 _l2MessageIndex) view returns(bool)
func (*IL1SharedBridgeCaller) L1WETHTOKEN ¶
func (_IL1SharedBridge *IL1SharedBridgeCaller) L1WETHTOKEN(opts *bind.CallOpts) (common.Address, error)
L1WETHTOKEN is a free data retrieval call binding the contract method 0x41c841c3.
Solidity: function L1_WETH_TOKEN() view returns(address)
func (*IL1SharedBridgeCaller) L2BridgeAddress ¶
func (_IL1SharedBridge *IL1SharedBridgeCaller) 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)
func (*IL1SharedBridgeCaller) LegacyBridge ¶
func (_IL1SharedBridge *IL1SharedBridgeCaller) LegacyBridge(opts *bind.CallOpts) (common.Address, error)
LegacyBridge is a free data retrieval call binding the contract method 0x6e9d7899.
Solidity: function legacyBridge() view returns(address)
type IL1SharedBridgeCallerRaw ¶
type IL1SharedBridgeCallerRaw struct {
}IL1SharedBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IL1SharedBridgeCallerRaw) Call ¶
func (_IL1SharedBridge *IL1SharedBridgeCallerRaw) 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 IL1SharedBridgeCallerSession ¶
type IL1SharedBridgeCallerSession struct {}
IL1SharedBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IL1SharedBridgeCallerSession) BRIDGEHUB ¶
func (_IL1SharedBridge *IL1SharedBridgeCallerSession) BRIDGEHUB() (common.Address, error)
BRIDGEHUB is a free data retrieval call binding the contract method 0x5d4edca7.
Solidity: function BRIDGE_HUB() view returns(address)
func (*IL1SharedBridgeCallerSession) DepositHappened ¶
func (_IL1SharedBridge *IL1SharedBridgeCallerSession) 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 (*IL1SharedBridgeCallerSession) IsWithdrawalFinalized ¶
func (_IL1SharedBridge *IL1SharedBridgeCallerSession) IsWithdrawalFinalized(_chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)
IsWithdrawalFinalized is a free data retrieval call binding the contract method 0x8f31f052.
Solidity: function isWithdrawalFinalized(uint256 _chainId, uint256 _l2BatchNumber, uint256 _l2MessageIndex) view returns(bool)
func (*IL1SharedBridgeCallerSession) L1WETHTOKEN ¶
func (_IL1SharedBridge *IL1SharedBridgeCallerSession) L1WETHTOKEN() (common.Address, error)
L1WETHTOKEN is a free data retrieval call binding the contract method 0x41c841c3.
Solidity: function L1_WETH_TOKEN() view returns(address)
func (*IL1SharedBridgeCallerSession) L2BridgeAddress ¶
func (_IL1SharedBridge *IL1SharedBridgeCallerSession) 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)
func (*IL1SharedBridgeCallerSession) LegacyBridge ¶
func (_IL1SharedBridge *IL1SharedBridgeCallerSession) LegacyBridge() (common.Address, error)
LegacyBridge is a free data retrieval call binding the contract method 0x6e9d7899.
Solidity: function legacyBridge() view returns(address)
type IL1SharedBridgeClaimedFailedDepositSharedBridge ¶
type IL1SharedBridgeClaimedFailedDepositSharedBridge struct {}
IL1SharedBridgeClaimedFailedDepositSharedBridge represents a ClaimedFailedDepositSharedBridge event raised by the IL1SharedBridge contract.
type IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator ¶
type IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator struct { // contains filtered or unexported fields }
IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator is returned from FilterClaimedFailedDepositSharedBridge and is used to iterate over the raw logs and unpacked data for ClaimedFailedDepositSharedBridge events raised by the IL1SharedBridge contract.
func (*IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator) Close ¶
func (it *IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator) Error ¶
func (it *IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator) Next ¶
func (it *IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator) Next() bool
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 IL1SharedBridgeFilterer ¶
type IL1SharedBridgeFilterer struct {
// contains filtered or unexported fields
}
IL1SharedBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIL1SharedBridgeFilterer ¶
func NewIL1SharedBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*IL1SharedBridgeFilterer, error)
NewIL1SharedBridgeFilterer creates a new log filterer instance of IL1SharedBridge, bound to a specific deployed contract.
func (*IL1SharedBridgeFilterer) FilterBridgehubDepositBaseTokenInitiated ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterBridgehubDepositBaseTokenInitiated(opts *bind.FilterOpts, chainId []*big.Int, from []common.Address) (*IL1SharedBridgeBridgehubDepositBaseTokenInitiatedIterator, error)
FilterBridgehubDepositBaseTokenInitiated is a free log retrieval operation binding the contract event 0x249bc8a55d0c4a0034b9aaa6be739bec2d4466e5d859bec9566a8553c405c838.
Solidity: event BridgehubDepositBaseTokenInitiated(uint256 indexed chainId, address indexed from, address l1Token, uint256 amount)
func (*IL1SharedBridgeFilterer) FilterBridgehubDepositFinalized ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterBridgehubDepositFinalized(opts *bind.FilterOpts, chainId []*big.Int, txDataHash [][32]byte, l2DepositTxHash [][32]byte) (*IL1SharedBridgeBridgehubDepositFinalizedIterator, 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 (*IL1SharedBridgeFilterer) FilterBridgehubDepositInitiated ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterBridgehubDepositInitiated(opts *bind.FilterOpts, chainId []*big.Int, txDataHash [][32]byte, from []common.Address) (*IL1SharedBridgeBridgehubDepositInitiatedIterator, error)
FilterBridgehubDepositInitiated is a free log retrieval operation binding the contract event 0x8768405a01370685449c74c293804d6c9cc216d170acdbdba50b33ed4144447f.
Solidity: event BridgehubDepositInitiated(uint256 indexed chainId, bytes32 indexed txDataHash, address indexed from, address to, address l1Token, uint256 amount)
func (*IL1SharedBridgeFilterer) FilterClaimedFailedDepositSharedBridge ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterClaimedFailedDepositSharedBridge(opts *bind.FilterOpts, chainId []*big.Int, to []common.Address, l1Token []common.Address) (*IL1SharedBridgeClaimedFailedDepositSharedBridgeIterator, 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 (*IL1SharedBridgeFilterer) FilterLegacyDepositInitiated ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterLegacyDepositInitiated(opts *bind.FilterOpts, chainId []*big.Int, l2DepositTxHash [][32]byte, from []common.Address) (*IL1SharedBridgeLegacyDepositInitiatedIterator, error)
FilterLegacyDepositInitiated is a free log retrieval operation binding the contract event 0xa1846a4248529db592da99da276f761d9f37a84d0f3d4e83819b869759000700.
Solidity: event LegacyDepositInitiated(uint256 indexed chainId, bytes32 indexed l2DepositTxHash, address indexed from, address to, address l1Token, uint256 amount)
func (*IL1SharedBridgeFilterer) FilterWithdrawalFinalizedSharedBridge ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) FilterWithdrawalFinalizedSharedBridge(opts *bind.FilterOpts, chainId []*big.Int, to []common.Address, l1Token []common.Address) (*IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator, 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 (*IL1SharedBridgeFilterer) ParseBridgehubDepositBaseTokenInitiated ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseBridgehubDepositBaseTokenInitiated(log types.Log) (*IL1SharedBridgeBridgehubDepositBaseTokenInitiated, error)
ParseBridgehubDepositBaseTokenInitiated is a log parse operation binding the contract event 0x249bc8a55d0c4a0034b9aaa6be739bec2d4466e5d859bec9566a8553c405c838.
Solidity: event BridgehubDepositBaseTokenInitiated(uint256 indexed chainId, address indexed from, address l1Token, uint256 amount)
func (*IL1SharedBridgeFilterer) ParseBridgehubDepositFinalized ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseBridgehubDepositFinalized(log types.Log) (*IL1SharedBridgeBridgehubDepositFinalized, 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 (*IL1SharedBridgeFilterer) ParseBridgehubDepositInitiated ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseBridgehubDepositInitiated(log types.Log) (*IL1SharedBridgeBridgehubDepositInitiated, error)
ParseBridgehubDepositInitiated is a log parse operation binding the contract event 0x8768405a01370685449c74c293804d6c9cc216d170acdbdba50b33ed4144447f.
Solidity: event BridgehubDepositInitiated(uint256 indexed chainId, bytes32 indexed txDataHash, address indexed from, address to, address l1Token, uint256 amount)
func (*IL1SharedBridgeFilterer) ParseClaimedFailedDepositSharedBridge ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseClaimedFailedDepositSharedBridge(log types.Log) (*IL1SharedBridgeClaimedFailedDepositSharedBridge, 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 (*IL1SharedBridgeFilterer) ParseLegacyDepositInitiated ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseLegacyDepositInitiated(log types.Log) (*IL1SharedBridgeLegacyDepositInitiated, error)
ParseLegacyDepositInitiated is a log parse operation binding the contract event 0xa1846a4248529db592da99da276f761d9f37a84d0f3d4e83819b869759000700.
Solidity: event LegacyDepositInitiated(uint256 indexed chainId, bytes32 indexed l2DepositTxHash, address indexed from, address to, address l1Token, uint256 amount)
func (*IL1SharedBridgeFilterer) ParseWithdrawalFinalizedSharedBridge ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) ParseWithdrawalFinalizedSharedBridge(log types.Log) (*IL1SharedBridgeWithdrawalFinalizedSharedBridge, 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 (*IL1SharedBridgeFilterer) WatchBridgehubDepositBaseTokenInitiated ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchBridgehubDepositBaseTokenInitiated(opts *bind.WatchOpts, sink chan<- *IL1SharedBridgeBridgehubDepositBaseTokenInitiated, chainId []*big.Int, from []common.Address) (event.Subscription, error)
WatchBridgehubDepositBaseTokenInitiated is a free log subscription operation binding the contract event 0x249bc8a55d0c4a0034b9aaa6be739bec2d4466e5d859bec9566a8553c405c838.
Solidity: event BridgehubDepositBaseTokenInitiated(uint256 indexed chainId, address indexed from, address l1Token, uint256 amount)
func (*IL1SharedBridgeFilterer) WatchBridgehubDepositFinalized ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchBridgehubDepositFinalized(opts *bind.WatchOpts, sink chan<- *IL1SharedBridgeBridgehubDepositFinalized, 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 (*IL1SharedBridgeFilterer) WatchBridgehubDepositInitiated ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchBridgehubDepositInitiated(opts *bind.WatchOpts, sink chan<- *IL1SharedBridgeBridgehubDepositInitiated, chainId []*big.Int, txDataHash [][32]byte, from []common.Address) (event.Subscription, error)
WatchBridgehubDepositInitiated is a free log subscription operation binding the contract event 0x8768405a01370685449c74c293804d6c9cc216d170acdbdba50b33ed4144447f.
Solidity: event BridgehubDepositInitiated(uint256 indexed chainId, bytes32 indexed txDataHash, address indexed from, address to, address l1Token, uint256 amount)
func (*IL1SharedBridgeFilterer) WatchClaimedFailedDepositSharedBridge ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchClaimedFailedDepositSharedBridge(opts *bind.WatchOpts, sink chan<- *IL1SharedBridgeClaimedFailedDepositSharedBridge, 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 (*IL1SharedBridgeFilterer) WatchLegacyDepositInitiated ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchLegacyDepositInitiated(opts *bind.WatchOpts, sink chan<- *IL1SharedBridgeLegacyDepositInitiated, chainId []*big.Int, l2DepositTxHash [][32]byte, from []common.Address) (event.Subscription, error)
WatchLegacyDepositInitiated is a free log subscription operation binding the contract event 0xa1846a4248529db592da99da276f761d9f37a84d0f3d4e83819b869759000700.
Solidity: event LegacyDepositInitiated(uint256 indexed chainId, bytes32 indexed l2DepositTxHash, address indexed from, address to, address l1Token, uint256 amount)
func (*IL1SharedBridgeFilterer) WatchWithdrawalFinalizedSharedBridge ¶
func (_IL1SharedBridge *IL1SharedBridgeFilterer) WatchWithdrawalFinalizedSharedBridge(opts *bind.WatchOpts, sink chan<- *IL1SharedBridgeWithdrawalFinalizedSharedBridge, 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 IL1SharedBridgeLegacyDepositInitiated ¶
type IL1SharedBridgeLegacyDepositInitiated struct {}
IL1SharedBridgeLegacyDepositInitiated represents a LegacyDepositInitiated event raised by the IL1SharedBridge contract.
type IL1SharedBridgeLegacyDepositInitiatedIterator ¶
type IL1SharedBridgeLegacyDepositInitiatedIterator struct { // contains filtered or unexported fields }
IL1SharedBridgeLegacyDepositInitiatedIterator is returned from FilterLegacyDepositInitiated and is used to iterate over the raw logs and unpacked data for LegacyDepositInitiated events raised by the IL1SharedBridge contract.
func (*IL1SharedBridgeLegacyDepositInitiatedIterator) Close ¶
func (it *IL1SharedBridgeLegacyDepositInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IL1SharedBridgeLegacyDepositInitiatedIterator) Error ¶
func (it *IL1SharedBridgeLegacyDepositInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IL1SharedBridgeLegacyDepositInitiatedIterator) Next ¶
func (it *IL1SharedBridgeLegacyDepositInitiatedIterator) Next() bool
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 IL1SharedBridgeRaw ¶
type IL1SharedBridgeRaw struct {
}IL1SharedBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IL1SharedBridgeRaw) Call ¶
func (_IL1SharedBridge *IL1SharedBridgeRaw) 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 (*IL1SharedBridgeRaw) Transact ¶
func (_IL1SharedBridge *IL1SharedBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IL1SharedBridgeRaw) Transfer ¶
func (_IL1SharedBridge *IL1SharedBridgeRaw) 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 IL1SharedBridgeSession ¶
type IL1SharedBridgeSession struct {}
IL1SharedBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IL1SharedBridgeSession) BRIDGEHUB ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) BRIDGEHUB() (common.Address, error)
BRIDGEHUB is a free data retrieval call binding the contract method 0x5d4edca7.
Solidity: function BRIDGE_HUB() view returns(address)
func (*IL1SharedBridgeSession) BridgehubConfirmL2Transaction ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) 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 (*IL1SharedBridgeSession) BridgehubDeposit ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) BridgehubDeposit(_chainId *big.Int, _prevMsgSender common.Address, _l2Value *big.Int, _data []byte) (*types.Transaction, error)
BridgehubDeposit is a paid mutator transaction binding the contract method 0xca408c23.
Solidity: function bridgehubDeposit(uint256 _chainId, address _prevMsgSender, uint256 _l2Value, bytes _data) payable returns((bytes32,address,bytes,bytes[],bytes32) request)
func (*IL1SharedBridgeSession) BridgehubDepositBaseToken ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) 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 (*IL1SharedBridgeSession) ClaimFailedDeposit ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) 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 (*IL1SharedBridgeSession) ClaimFailedDepositLegacyErc20Bridge ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) ClaimFailedDepositLegacyErc20Bridge(_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)
ClaimFailedDepositLegacyErc20Bridge is a paid mutator transaction binding the contract method 0x8fbb3711.
Solidity: function claimFailedDepositLegacyErc20Bridge(address _depositSender, address _l1Token, uint256 _amount, bytes32 _l2TxHash, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes32[] _merkleProof) returns()
func (*IL1SharedBridgeSession) DepositHappened ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) 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 (*IL1SharedBridgeSession) DepositLegacyErc20Bridge ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) DepositLegacyErc20Bridge(_msgSender common.Address, _l2Receiver common.Address, _l1Token common.Address, _amount *big.Int, _l2TxGasLimit *big.Int, _l2TxGasPerPubdataByte *big.Int, _refundRecipient common.Address) (*types.Transaction, error)
DepositLegacyErc20Bridge is a paid mutator transaction binding the contract method 0x9e6ea417.
Solidity: function depositLegacyErc20Bridge(address _msgSender, address _l2Receiver, address _l1Token, uint256 _amount, uint256 _l2TxGasLimit, uint256 _l2TxGasPerPubdataByte, address _refundRecipient) payable returns(bytes32 txHash)
func (*IL1SharedBridgeSession) FinalizeWithdrawal ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) 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 (*IL1SharedBridgeSession) FinalizeWithdrawalLegacyErc20Bridge ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) FinalizeWithdrawalLegacyErc20Bridge(_l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _message []byte, _merkleProof [][32]byte) (*types.Transaction, error)
FinalizeWithdrawalLegacyErc20Bridge is a paid mutator transaction binding the contract method 0x7ab08472.
Solidity: function finalizeWithdrawalLegacyErc20Bridge(uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes _message, bytes32[] _merkleProof) returns(address l1Receiver, address l1Token, uint256 amount)
func (*IL1SharedBridgeSession) IsWithdrawalFinalized ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) IsWithdrawalFinalized(_chainId *big.Int, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int) (bool, error)
IsWithdrawalFinalized is a free data retrieval call binding the contract method 0x8f31f052.
Solidity: function isWithdrawalFinalized(uint256 _chainId, uint256 _l2BatchNumber, uint256 _l2MessageIndex) view returns(bool)
func (*IL1SharedBridgeSession) L1WETHTOKEN ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) L1WETHTOKEN() (common.Address, error)
L1WETHTOKEN is a free data retrieval call binding the contract method 0x41c841c3.
Solidity: function L1_WETH_TOKEN() view returns(address)
func (*IL1SharedBridgeSession) L2BridgeAddress ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) 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)
func (*IL1SharedBridgeSession) LegacyBridge ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) LegacyBridge() (common.Address, error)
LegacyBridge is a free data retrieval call binding the contract method 0x6e9d7899.
Solidity: function legacyBridge() view returns(address)
func (*IL1SharedBridgeSession) ReceiveEth ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) ReceiveEth(_chainId *big.Int) (*types.Transaction, error)
ReceiveEth is a paid mutator transaction binding the contract method 0xc2aaf9c4.
Solidity: function receiveEth(uint256 _chainId) payable returns()
func (*IL1SharedBridgeSession) SetEraLegacyBridgeLastDepositTime ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) SetEraLegacyBridgeLastDepositTime(_eraLegacyBridgeLastDepositBatch *big.Int, _eraLegacyBridgeLastDepositTxNumber *big.Int) (*types.Transaction, error)
SetEraLegacyBridgeLastDepositTime is a paid mutator transaction binding the contract method 0xdd85df2d.
Solidity: function setEraLegacyBridgeLastDepositTime(uint256 _eraLegacyBridgeLastDepositBatch, uint256 _eraLegacyBridgeLastDepositTxNumber) returns()
func (*IL1SharedBridgeSession) SetEraPostDiamondUpgradeFirstBatch ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) SetEraPostDiamondUpgradeFirstBatch(_eraPostDiamondUpgradeFirstBatch *big.Int) (*types.Transaction, error)
SetEraPostDiamondUpgradeFirstBatch is a paid mutator transaction binding the contract method 0xcc3fbc63.
Solidity: function setEraPostDiamondUpgradeFirstBatch(uint256 _eraPostDiamondUpgradeFirstBatch) returns()
func (*IL1SharedBridgeSession) SetEraPostLegacyBridgeUpgradeFirstBatch ¶
func (_IL1SharedBridge *IL1SharedBridgeSession) SetEraPostLegacyBridgeUpgradeFirstBatch(_eraPostLegacyBridgeUpgradeFirstBatch *big.Int) (*types.Transaction, error)
SetEraPostLegacyBridgeUpgradeFirstBatch is a paid mutator transaction binding the contract method 0xbe65940a.
Solidity: function setEraPostLegacyBridgeUpgradeFirstBatch(uint256 _eraPostLegacyBridgeUpgradeFirstBatch) returns()
type IL1SharedBridgeTransactor ¶
type IL1SharedBridgeTransactor struct {
// contains filtered or unexported fields
}
IL1SharedBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIL1SharedBridgeTransactor ¶
func NewIL1SharedBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*IL1SharedBridgeTransactor, error)
NewIL1SharedBridgeTransactor creates a new write-only instance of IL1SharedBridge, bound to a specific deployed contract.
func (*IL1SharedBridgeTransactor) BridgehubConfirmL2Transaction ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) 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 (*IL1SharedBridgeTransactor) BridgehubDeposit ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) BridgehubDeposit(opts *bind.TransactOpts, _chainId *big.Int, _prevMsgSender common.Address, _l2Value *big.Int, _data []byte) (*types.Transaction, error)
BridgehubDeposit is a paid mutator transaction binding the contract method 0xca408c23.
Solidity: function bridgehubDeposit(uint256 _chainId, address _prevMsgSender, uint256 _l2Value, bytes _data) payable returns((bytes32,address,bytes,bytes[],bytes32) request)
func (*IL1SharedBridgeTransactor) BridgehubDepositBaseToken ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) 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 (*IL1SharedBridgeTransactor) ClaimFailedDeposit ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) 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 (*IL1SharedBridgeTransactor) ClaimFailedDepositLegacyErc20Bridge ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) ClaimFailedDepositLegacyErc20Bridge(opts *bind.TransactOpts, _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)
ClaimFailedDepositLegacyErc20Bridge is a paid mutator transaction binding the contract method 0x8fbb3711.
Solidity: function claimFailedDepositLegacyErc20Bridge(address _depositSender, address _l1Token, uint256 _amount, bytes32 _l2TxHash, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes32[] _merkleProof) returns()
func (*IL1SharedBridgeTransactor) DepositLegacyErc20Bridge ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) DepositLegacyErc20Bridge(opts *bind.TransactOpts, _msgSender common.Address, _l2Receiver common.Address, _l1Token common.Address, _amount *big.Int, _l2TxGasLimit *big.Int, _l2TxGasPerPubdataByte *big.Int, _refundRecipient common.Address) (*types.Transaction, error)
DepositLegacyErc20Bridge is a paid mutator transaction binding the contract method 0x9e6ea417.
Solidity: function depositLegacyErc20Bridge(address _msgSender, address _l2Receiver, address _l1Token, uint256 _amount, uint256 _l2TxGasLimit, uint256 _l2TxGasPerPubdataByte, address _refundRecipient) payable returns(bytes32 txHash)
func (*IL1SharedBridgeTransactor) FinalizeWithdrawal ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) 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()
func (*IL1SharedBridgeTransactor) FinalizeWithdrawalLegacyErc20Bridge ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) FinalizeWithdrawalLegacyErc20Bridge(opts *bind.TransactOpts, _l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _message []byte, _merkleProof [][32]byte) (*types.Transaction, error)
FinalizeWithdrawalLegacyErc20Bridge is a paid mutator transaction binding the contract method 0x7ab08472.
Solidity: function finalizeWithdrawalLegacyErc20Bridge(uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes _message, bytes32[] _merkleProof) returns(address l1Receiver, address l1Token, uint256 amount)
func (*IL1SharedBridgeTransactor) ReceiveEth ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) ReceiveEth(opts *bind.TransactOpts, _chainId *big.Int) (*types.Transaction, error)
ReceiveEth is a paid mutator transaction binding the contract method 0xc2aaf9c4.
Solidity: function receiveEth(uint256 _chainId) payable returns()
func (*IL1SharedBridgeTransactor) SetEraLegacyBridgeLastDepositTime ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) SetEraLegacyBridgeLastDepositTime(opts *bind.TransactOpts, _eraLegacyBridgeLastDepositBatch *big.Int, _eraLegacyBridgeLastDepositTxNumber *big.Int) (*types.Transaction, error)
SetEraLegacyBridgeLastDepositTime is a paid mutator transaction binding the contract method 0xdd85df2d.
Solidity: function setEraLegacyBridgeLastDepositTime(uint256 _eraLegacyBridgeLastDepositBatch, uint256 _eraLegacyBridgeLastDepositTxNumber) returns()
func (*IL1SharedBridgeTransactor) SetEraPostDiamondUpgradeFirstBatch ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) SetEraPostDiamondUpgradeFirstBatch(opts *bind.TransactOpts, _eraPostDiamondUpgradeFirstBatch *big.Int) (*types.Transaction, error)
SetEraPostDiamondUpgradeFirstBatch is a paid mutator transaction binding the contract method 0xcc3fbc63.
Solidity: function setEraPostDiamondUpgradeFirstBatch(uint256 _eraPostDiamondUpgradeFirstBatch) returns()
func (*IL1SharedBridgeTransactor) SetEraPostLegacyBridgeUpgradeFirstBatch ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactor) SetEraPostLegacyBridgeUpgradeFirstBatch(opts *bind.TransactOpts, _eraPostLegacyBridgeUpgradeFirstBatch *big.Int) (*types.Transaction, error)
SetEraPostLegacyBridgeUpgradeFirstBatch is a paid mutator transaction binding the contract method 0xbe65940a.
Solidity: function setEraPostLegacyBridgeUpgradeFirstBatch(uint256 _eraPostLegacyBridgeUpgradeFirstBatch) returns()
type IL1SharedBridgeTransactorRaw ¶
type IL1SharedBridgeTransactorRaw struct {
}IL1SharedBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IL1SharedBridgeTransactorRaw) Transact ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IL1SharedBridgeTransactorRaw) Transfer ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorRaw) 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 IL1SharedBridgeTransactorSession ¶
type IL1SharedBridgeTransactorSession struct {}
IL1SharedBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IL1SharedBridgeTransactorSession) BridgehubConfirmL2Transaction ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) 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 (*IL1SharedBridgeTransactorSession) BridgehubDeposit ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) BridgehubDeposit(_chainId *big.Int, _prevMsgSender common.Address, _l2Value *big.Int, _data []byte) (*types.Transaction, error)
BridgehubDeposit is a paid mutator transaction binding the contract method 0xca408c23.
Solidity: function bridgehubDeposit(uint256 _chainId, address _prevMsgSender, uint256 _l2Value, bytes _data) payable returns((bytes32,address,bytes,bytes[],bytes32) request)
func (*IL1SharedBridgeTransactorSession) BridgehubDepositBaseToken ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) 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 (*IL1SharedBridgeTransactorSession) ClaimFailedDeposit ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) 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 (*IL1SharedBridgeTransactorSession) ClaimFailedDepositLegacyErc20Bridge ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) ClaimFailedDepositLegacyErc20Bridge(_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)
ClaimFailedDepositLegacyErc20Bridge is a paid mutator transaction binding the contract method 0x8fbb3711.
Solidity: function claimFailedDepositLegacyErc20Bridge(address _depositSender, address _l1Token, uint256 _amount, bytes32 _l2TxHash, uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes32[] _merkleProof) returns()
func (*IL1SharedBridgeTransactorSession) DepositLegacyErc20Bridge ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) DepositLegacyErc20Bridge(_msgSender common.Address, _l2Receiver common.Address, _l1Token common.Address, _amount *big.Int, _l2TxGasLimit *big.Int, _l2TxGasPerPubdataByte *big.Int, _refundRecipient common.Address) (*types.Transaction, error)
DepositLegacyErc20Bridge is a paid mutator transaction binding the contract method 0x9e6ea417.
Solidity: function depositLegacyErc20Bridge(address _msgSender, address _l2Receiver, address _l1Token, uint256 _amount, uint256 _l2TxGasLimit, uint256 _l2TxGasPerPubdataByte, address _refundRecipient) payable returns(bytes32 txHash)
func (*IL1SharedBridgeTransactorSession) FinalizeWithdrawal ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) 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 (*IL1SharedBridgeTransactorSession) FinalizeWithdrawalLegacyErc20Bridge ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) FinalizeWithdrawalLegacyErc20Bridge(_l2BatchNumber *big.Int, _l2MessageIndex *big.Int, _l2TxNumberInBatch uint16, _message []byte, _merkleProof [][32]byte) (*types.Transaction, error)
FinalizeWithdrawalLegacyErc20Bridge is a paid mutator transaction binding the contract method 0x7ab08472.
Solidity: function finalizeWithdrawalLegacyErc20Bridge(uint256 _l2BatchNumber, uint256 _l2MessageIndex, uint16 _l2TxNumberInBatch, bytes _message, bytes32[] _merkleProof) returns(address l1Receiver, address l1Token, uint256 amount)
func (*IL1SharedBridgeTransactorSession) ReceiveEth ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) ReceiveEth(_chainId *big.Int) (*types.Transaction, error)
ReceiveEth is a paid mutator transaction binding the contract method 0xc2aaf9c4.
Solidity: function receiveEth(uint256 _chainId) payable returns()
func (*IL1SharedBridgeTransactorSession) SetEraLegacyBridgeLastDepositTime ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) SetEraLegacyBridgeLastDepositTime(_eraLegacyBridgeLastDepositBatch *big.Int, _eraLegacyBridgeLastDepositTxNumber *big.Int) (*types.Transaction, error)
SetEraLegacyBridgeLastDepositTime is a paid mutator transaction binding the contract method 0xdd85df2d.
Solidity: function setEraLegacyBridgeLastDepositTime(uint256 _eraLegacyBridgeLastDepositBatch, uint256 _eraLegacyBridgeLastDepositTxNumber) returns()
func (*IL1SharedBridgeTransactorSession) SetEraPostDiamondUpgradeFirstBatch ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) SetEraPostDiamondUpgradeFirstBatch(_eraPostDiamondUpgradeFirstBatch *big.Int) (*types.Transaction, error)
SetEraPostDiamondUpgradeFirstBatch is a paid mutator transaction binding the contract method 0xcc3fbc63.
Solidity: function setEraPostDiamondUpgradeFirstBatch(uint256 _eraPostDiamondUpgradeFirstBatch) returns()
func (*IL1SharedBridgeTransactorSession) SetEraPostLegacyBridgeUpgradeFirstBatch ¶
func (_IL1SharedBridge *IL1SharedBridgeTransactorSession) SetEraPostLegacyBridgeUpgradeFirstBatch(_eraPostLegacyBridgeUpgradeFirstBatch *big.Int) (*types.Transaction, error)
SetEraPostLegacyBridgeUpgradeFirstBatch is a paid mutator transaction binding the contract method 0xbe65940a.
Solidity: function setEraPostLegacyBridgeUpgradeFirstBatch(uint256 _eraPostLegacyBridgeUpgradeFirstBatch) returns()
type IL1SharedBridgeWithdrawalFinalizedSharedBridge ¶
type IL1SharedBridgeWithdrawalFinalizedSharedBridge struct {}
IL1SharedBridgeWithdrawalFinalizedSharedBridge represents a WithdrawalFinalizedSharedBridge event raised by the IL1SharedBridge contract.
type IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator ¶
type IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator struct { // contains filtered or unexported fields }
IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator is returned from FilterWithdrawalFinalizedSharedBridge and is used to iterate over the raw logs and unpacked data for WithdrawalFinalizedSharedBridge events raised by the IL1SharedBridge contract.
func (*IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator) Close ¶
func (it *IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator) Error ¶
func (it *IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator) Next ¶
func (it *IL1SharedBridgeWithdrawalFinalizedSharedBridgeIterator) Next() bool
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 ¶
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.