Documentation
¶
Index ¶
- Variables
- func DepositUSDC(ctx context.Context, backend *ethbackend.Backend, user common.Address, ...) (*ethclient.Receipt, error)
- type L1Bridge
- type L1BridgeCaller
- func (_L1Bridge *L1BridgeCaller) Deposits(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_L1Bridge *L1BridgeCaller) L1MNTADDRESS(opts *bind.CallOpts) (common.Address, error)
- func (_L1Bridge *L1BridgeCaller) L2TokenBridge(opts *bind.CallOpts) (common.Address, error)
- func (_L1Bridge *L1BridgeCaller) MESSENGER(opts *bind.CallOpts) (common.Address, error)
- func (_L1Bridge *L1BridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)
- func (_L1Bridge *L1BridgeCaller) OTHERBRIDGE(opts *bind.CallOpts) (common.Address, error)
- func (_L1Bridge *L1BridgeCaller) Version(opts *bind.CallOpts) (string, error)
- type L1BridgeCallerRaw
- type L1BridgeCallerSession
- func (_L1Bridge *L1BridgeCallerSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_L1Bridge *L1BridgeCallerSession) L1MNTADDRESS() (common.Address, error)
- func (_L1Bridge *L1BridgeCallerSession) L2TokenBridge() (common.Address, error)
- func (_L1Bridge *L1BridgeCallerSession) MESSENGER() (common.Address, error)
- func (_L1Bridge *L1BridgeCallerSession) Messenger() (common.Address, error)
- func (_L1Bridge *L1BridgeCallerSession) OTHERBRIDGE() (common.Address, error)
- func (_L1Bridge *L1BridgeCallerSession) Version() (string, error)
- type L1BridgeERC20BridgeFinalized
- type L1BridgeERC20BridgeFinalizedIterator
- type L1BridgeERC20BridgeInitiated
- type L1BridgeERC20BridgeInitiatedIterator
- type L1BridgeERC20DepositInitiated
- type L1BridgeERC20DepositInitiatedIterator
- type L1BridgeERC20WithdrawalFinalized
- type L1BridgeERC20WithdrawalFinalizedIterator
- type L1BridgeETHBridgeFinalized
- type L1BridgeETHBridgeFinalizedIterator
- type L1BridgeETHBridgeInitiated
- type L1BridgeETHBridgeInitiatedIterator
- type L1BridgeETHDepositInitiated
- type L1BridgeETHDepositInitiatedIterator
- type L1BridgeETHWithdrawalFinalized
- type L1BridgeETHWithdrawalFinalizedIterator
- type L1BridgeFilterer
- func (_L1Bridge *L1BridgeFilterer) FilterERC20BridgeFinalized(opts *bind.FilterOpts, localToken []common.Address, ...) (*L1BridgeERC20BridgeFinalizedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterERC20BridgeInitiated(opts *bind.FilterOpts, localToken []common.Address, ...) (*L1BridgeERC20BridgeInitiatedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterERC20DepositInitiated(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, ...) (*L1BridgeERC20DepositInitiatedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterERC20WithdrawalFinalized(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, ...) (*L1BridgeERC20WithdrawalFinalizedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterETHBridgeFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeETHBridgeFinalizedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterETHBridgeInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeETHBridgeInitiatedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterETHDepositInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeETHDepositInitiatedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterETHWithdrawalFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeETHWithdrawalFinalizedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterMNTBridgeFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeMNTBridgeFinalizedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterMNTBridgeInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeMNTBridgeInitiatedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterMNTDepositInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeMNTDepositInitiatedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) FilterMNTWithdrawalFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeMNTWithdrawalFinalizedIterator, error)
- func (_L1Bridge *L1BridgeFilterer) ParseERC20BridgeFinalized(log types.Log) (*L1BridgeERC20BridgeFinalized, error)
- func (_L1Bridge *L1BridgeFilterer) ParseERC20BridgeInitiated(log types.Log) (*L1BridgeERC20BridgeInitiated, error)
- func (_L1Bridge *L1BridgeFilterer) ParseERC20DepositInitiated(log types.Log) (*L1BridgeERC20DepositInitiated, error)
- func (_L1Bridge *L1BridgeFilterer) ParseERC20WithdrawalFinalized(log types.Log) (*L1BridgeERC20WithdrawalFinalized, error)
- func (_L1Bridge *L1BridgeFilterer) ParseETHBridgeFinalized(log types.Log) (*L1BridgeETHBridgeFinalized, error)
- func (_L1Bridge *L1BridgeFilterer) ParseETHBridgeInitiated(log types.Log) (*L1BridgeETHBridgeInitiated, error)
- func (_L1Bridge *L1BridgeFilterer) ParseETHDepositInitiated(log types.Log) (*L1BridgeETHDepositInitiated, error)
- func (_L1Bridge *L1BridgeFilterer) ParseETHWithdrawalFinalized(log types.Log) (*L1BridgeETHWithdrawalFinalized, error)
- func (_L1Bridge *L1BridgeFilterer) ParseMNTBridgeFinalized(log types.Log) (*L1BridgeMNTBridgeFinalized, error)
- func (_L1Bridge *L1BridgeFilterer) ParseMNTBridgeInitiated(log types.Log) (*L1BridgeMNTBridgeInitiated, error)
- func (_L1Bridge *L1BridgeFilterer) ParseMNTDepositInitiated(log types.Log) (*L1BridgeMNTDepositInitiated, error)
- func (_L1Bridge *L1BridgeFilterer) ParseMNTWithdrawalFinalized(log types.Log) (*L1BridgeMNTWithdrawalFinalized, error)
- func (_L1Bridge *L1BridgeFilterer) WatchERC20BridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeERC20BridgeFinalized, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchERC20BridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeERC20BridgeInitiated, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchERC20DepositInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeERC20DepositInitiated, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchERC20WithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeERC20WithdrawalFinalized, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchETHBridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeETHBridgeFinalized, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchETHBridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeETHBridgeInitiated, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchETHDepositInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeETHDepositInitiated, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchETHWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeETHWithdrawalFinalized, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchMNTBridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeMNTBridgeFinalized, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchMNTBridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeMNTBridgeInitiated, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchMNTDepositInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeMNTDepositInitiated, ...) (event.Subscription, error)
- func (_L1Bridge *L1BridgeFilterer) WatchMNTWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeMNTWithdrawalFinalized, ...) (event.Subscription, error)
- type L1BridgeMNTBridgeFinalized
- type L1BridgeMNTBridgeFinalizedIterator
- type L1BridgeMNTBridgeInitiated
- type L1BridgeMNTBridgeInitiatedIterator
- type L1BridgeMNTDepositInitiated
- type L1BridgeMNTDepositInitiatedIterator
- type L1BridgeMNTWithdrawalFinalized
- type L1BridgeMNTWithdrawalFinalizedIterator
- type L1BridgeRaw
- func (_L1Bridge *L1BridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_L1Bridge *L1BridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type L1BridgeSession
- func (_L1Bridge *L1BridgeSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) BridgeMNT(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) BridgeMNTTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) DepositMNT(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) DepositMNTTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_L1Bridge *L1BridgeSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) FinalizeBridgeMNT(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) FinalizeMantleWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) L1MNTADDRESS() (common.Address, error)
- func (_L1Bridge *L1BridgeSession) L2TokenBridge() (common.Address, error)
- func (_L1Bridge *L1BridgeSession) MESSENGER() (common.Address, error)
- func (_L1Bridge *L1BridgeSession) Messenger() (common.Address, error)
- func (_L1Bridge *L1BridgeSession) OTHERBRIDGE() (common.Address, error)
- func (_L1Bridge *L1BridgeSession) Receive() (*types.Transaction, error)
- func (_L1Bridge *L1BridgeSession) Version() (string, error)
- type L1BridgeTransactor
- func (_L1Bridge *L1BridgeTransactor) BridgeERC20(opts *bind.TransactOpts, _localToken common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) BridgeERC20To(opts *bind.TransactOpts, _localToken common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) BridgeETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) BridgeETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) BridgeMNT(opts *bind.TransactOpts, _amount *big.Int, _minGasLimit uint32, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) BridgeMNTTo(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) DepositERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) DepositERC20To(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) DepositETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) DepositETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) DepositMNT(opts *bind.TransactOpts, _amount *big.Int, _minGasLimit uint32, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) DepositMNTTo(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) FinalizeBridgeERC20(opts *bind.TransactOpts, _localToken common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) FinalizeBridgeETH(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) FinalizeBridgeMNT(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) FinalizeERC20Withdrawal(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) FinalizeETHWithdrawal(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) FinalizeMantleWithdrawal(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- type L1BridgeTransactorRaw
- type L1BridgeTransactorSession
- func (_L1Bridge *L1BridgeTransactorSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) BridgeMNT(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) BridgeMNTTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) DepositMNT(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) DepositMNTTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) FinalizeBridgeMNT(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, ...) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) FinalizeMantleWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
- func (_L1Bridge *L1BridgeTransactorSession) Receive() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var L1BridgeABI = L1BridgeMetaData.ABI
L1BridgeABI is the input ABI used to generate the binding from. Deprecated: Use L1BridgeMetaData.ABI instead.
var L1BridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_messenger\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l1mnt\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"localToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"remoteToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20BridgeFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"localToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"remoteToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20BridgeInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20DepositInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l1Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"l2Token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ERC20WithdrawalFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHBridgeFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHBridgeInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHDepositInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"ETHWithdrawalFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"MNTBridgeFinalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"MNTBridgeInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"MNTDepositInitiated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"MNTWithdrawalFinalized\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"L1_MNT_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MESSENGER\",\"outputs\":[{\"internalType\":\"contractCrossDomainMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OTHER_BRIDGE\",\"outputs\":[{\"internalType\":\"contractStandardBridge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeERC20To\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeETHTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeMNT\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"bridgeMNTTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositERC20To\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositETHTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositMNT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"_minGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"depositMNTTo\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"deposits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_localToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_remoteToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeBridgeERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeBridgeETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeBridgeMNT\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_l2Token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeERC20Withdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeETHWithdrawal\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_extraData\",\"type\":\"bytes\"}],\"name\":\"finalizeMantleWithdrawal\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l2TokenBridge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messenger\",\"outputs\":[{\"internalType\":\"contractCrossDomainMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
L1BridgeMetaData contains all meta data concerning the L1Bridge contract.
Functions ¶
Types ¶
type L1Bridge ¶
type L1Bridge struct {
L1BridgeCaller // Read-only binding to the contract
L1BridgeTransactor // Write-only binding to the contract
L1BridgeFilterer // Log filterer for contract events
}
L1Bridge is an auto generated Go binding around an Ethereum contract.
func NewL1Bridge ¶
NewL1Bridge creates a new instance of L1Bridge, bound to a specific deployed contract.
type L1BridgeCaller ¶
type L1BridgeCaller struct {
// contains filtered or unexported fields
}
L1BridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewL1BridgeCaller ¶
func NewL1BridgeCaller(address common.Address, caller bind.ContractCaller) (*L1BridgeCaller, error)
NewL1BridgeCaller creates a new read-only instance of L1Bridge, bound to a specific deployed contract.
func (*L1BridgeCaller) Deposits ¶
func (_L1Bridge *L1BridgeCaller) Deposits(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Deposits is a free data retrieval call binding the contract method 0x8f601f66.
Solidity: function deposits(address , address ) view returns(uint256)
func (*L1BridgeCaller) L1MNTADDRESS ¶
L1MNTADDRESS is a free data retrieval call binding the contract method 0xac6986c5.
Solidity: function L1_MNT_ADDRESS() view returns(address)
func (*L1BridgeCaller) L2TokenBridge ¶
L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.
Solidity: function l2TokenBridge() view returns(address)
func (*L1BridgeCaller) MESSENGER ¶
MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.
Solidity: function MESSENGER() view returns(address)
func (*L1BridgeCaller) Messenger ¶
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*L1BridgeCaller) OTHERBRIDGE ¶
OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.
Solidity: function OTHER_BRIDGE() view returns(address)
type L1BridgeCallerRaw ¶
type L1BridgeCallerRaw struct {
Contract *L1BridgeCaller // Generic read-only contract binding to access the raw methods on
}
L1BridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*L1BridgeCallerRaw) Call ¶
func (_L1Bridge *L1BridgeCallerRaw) 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 L1BridgeCallerSession ¶
type L1BridgeCallerSession struct {
Contract *L1BridgeCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
L1BridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*L1BridgeCallerSession) Deposits ¶
func (_L1Bridge *L1BridgeCallerSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Deposits is a free data retrieval call binding the contract method 0x8f601f66.
Solidity: function deposits(address , address ) view returns(uint256)
func (*L1BridgeCallerSession) L1MNTADDRESS ¶
func (_L1Bridge *L1BridgeCallerSession) L1MNTADDRESS() (common.Address, error)
L1MNTADDRESS is a free data retrieval call binding the contract method 0xac6986c5.
Solidity: function L1_MNT_ADDRESS() view returns(address)
func (*L1BridgeCallerSession) L2TokenBridge ¶
func (_L1Bridge *L1BridgeCallerSession) L2TokenBridge() (common.Address, error)
L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.
Solidity: function l2TokenBridge() view returns(address)
func (*L1BridgeCallerSession) MESSENGER ¶
func (_L1Bridge *L1BridgeCallerSession) MESSENGER() (common.Address, error)
MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.
Solidity: function MESSENGER() view returns(address)
func (*L1BridgeCallerSession) Messenger ¶
func (_L1Bridge *L1BridgeCallerSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*L1BridgeCallerSession) OTHERBRIDGE ¶
func (_L1Bridge *L1BridgeCallerSession) OTHERBRIDGE() (common.Address, error)
OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.
Solidity: function OTHER_BRIDGE() view returns(address)
func (*L1BridgeCallerSession) Version ¶
func (_L1Bridge *L1BridgeCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L1BridgeERC20BridgeFinalized ¶
type L1BridgeERC20BridgeFinalized struct {
LocalToken common.Address
RemoteToken common.Address
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeERC20BridgeFinalized represents a ERC20BridgeFinalized event raised by the L1Bridge contract.
type L1BridgeERC20BridgeFinalizedIterator ¶
type L1BridgeERC20BridgeFinalizedIterator struct {
Event *L1BridgeERC20BridgeFinalized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeERC20BridgeFinalizedIterator is returned from FilterERC20BridgeFinalized and is used to iterate over the raw logs and unpacked data for ERC20BridgeFinalized events raised by the L1Bridge contract.
func (*L1BridgeERC20BridgeFinalizedIterator) Close ¶
func (it *L1BridgeERC20BridgeFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeERC20BridgeFinalizedIterator) Error ¶
func (it *L1BridgeERC20BridgeFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeERC20BridgeFinalizedIterator) Next ¶
func (it *L1BridgeERC20BridgeFinalizedIterator) 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 L1BridgeERC20BridgeInitiated ¶
type L1BridgeERC20BridgeInitiated struct {
LocalToken common.Address
RemoteToken common.Address
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeERC20BridgeInitiated represents a ERC20BridgeInitiated event raised by the L1Bridge contract.
type L1BridgeERC20BridgeInitiatedIterator ¶
type L1BridgeERC20BridgeInitiatedIterator struct {
Event *L1BridgeERC20BridgeInitiated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeERC20BridgeInitiatedIterator is returned from FilterERC20BridgeInitiated and is used to iterate over the raw logs and unpacked data for ERC20BridgeInitiated events raised by the L1Bridge contract.
func (*L1BridgeERC20BridgeInitiatedIterator) Close ¶
func (it *L1BridgeERC20BridgeInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeERC20BridgeInitiatedIterator) Error ¶
func (it *L1BridgeERC20BridgeInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeERC20BridgeInitiatedIterator) Next ¶
func (it *L1BridgeERC20BridgeInitiatedIterator) 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 L1BridgeERC20DepositInitiated ¶
type L1BridgeERC20DepositInitiated struct {
L1Token common.Address
L2Token common.Address
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeERC20DepositInitiated represents a ERC20DepositInitiated event raised by the L1Bridge contract.
type L1BridgeERC20DepositInitiatedIterator ¶
type L1BridgeERC20DepositInitiatedIterator struct {
Event *L1BridgeERC20DepositInitiated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeERC20DepositInitiatedIterator is returned from FilterERC20DepositInitiated and is used to iterate over the raw logs and unpacked data for ERC20DepositInitiated events raised by the L1Bridge contract.
func (*L1BridgeERC20DepositInitiatedIterator) Close ¶
func (it *L1BridgeERC20DepositInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeERC20DepositInitiatedIterator) Error ¶
func (it *L1BridgeERC20DepositInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeERC20DepositInitiatedIterator) Next ¶
func (it *L1BridgeERC20DepositInitiatedIterator) 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 L1BridgeERC20WithdrawalFinalized ¶
type L1BridgeERC20WithdrawalFinalized struct {
L1Token common.Address
L2Token common.Address
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeERC20WithdrawalFinalized represents a ERC20WithdrawalFinalized event raised by the L1Bridge contract.
type L1BridgeERC20WithdrawalFinalizedIterator ¶
type L1BridgeERC20WithdrawalFinalizedIterator struct {
Event *L1BridgeERC20WithdrawalFinalized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeERC20WithdrawalFinalizedIterator is returned from FilterERC20WithdrawalFinalized and is used to iterate over the raw logs and unpacked data for ERC20WithdrawalFinalized events raised by the L1Bridge contract.
func (*L1BridgeERC20WithdrawalFinalizedIterator) Close ¶
func (it *L1BridgeERC20WithdrawalFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeERC20WithdrawalFinalizedIterator) Error ¶
func (it *L1BridgeERC20WithdrawalFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeERC20WithdrawalFinalizedIterator) Next ¶
func (it *L1BridgeERC20WithdrawalFinalizedIterator) 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 L1BridgeETHBridgeFinalized ¶
type L1BridgeETHBridgeFinalized struct {
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeETHBridgeFinalized represents a ETHBridgeFinalized event raised by the L1Bridge contract.
type L1BridgeETHBridgeFinalizedIterator ¶
type L1BridgeETHBridgeFinalizedIterator struct {
Event *L1BridgeETHBridgeFinalized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeETHBridgeFinalizedIterator is returned from FilterETHBridgeFinalized and is used to iterate over the raw logs and unpacked data for ETHBridgeFinalized events raised by the L1Bridge contract.
func (*L1BridgeETHBridgeFinalizedIterator) Close ¶
func (it *L1BridgeETHBridgeFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeETHBridgeFinalizedIterator) Error ¶
func (it *L1BridgeETHBridgeFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeETHBridgeFinalizedIterator) Next ¶
func (it *L1BridgeETHBridgeFinalizedIterator) 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 L1BridgeETHBridgeInitiated ¶
type L1BridgeETHBridgeInitiated struct {
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeETHBridgeInitiated represents a ETHBridgeInitiated event raised by the L1Bridge contract.
type L1BridgeETHBridgeInitiatedIterator ¶
type L1BridgeETHBridgeInitiatedIterator struct {
Event *L1BridgeETHBridgeInitiated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeETHBridgeInitiatedIterator is returned from FilterETHBridgeInitiated and is used to iterate over the raw logs and unpacked data for ETHBridgeInitiated events raised by the L1Bridge contract.
func (*L1BridgeETHBridgeInitiatedIterator) Close ¶
func (it *L1BridgeETHBridgeInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeETHBridgeInitiatedIterator) Error ¶
func (it *L1BridgeETHBridgeInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeETHBridgeInitiatedIterator) Next ¶
func (it *L1BridgeETHBridgeInitiatedIterator) 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 L1BridgeETHDepositInitiated ¶
type L1BridgeETHDepositInitiated struct {
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeETHDepositInitiated represents a ETHDepositInitiated event raised by the L1Bridge contract.
type L1BridgeETHDepositInitiatedIterator ¶
type L1BridgeETHDepositInitiatedIterator struct {
Event *L1BridgeETHDepositInitiated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeETHDepositInitiatedIterator is returned from FilterETHDepositInitiated and is used to iterate over the raw logs and unpacked data for ETHDepositInitiated events raised by the L1Bridge contract.
func (*L1BridgeETHDepositInitiatedIterator) Close ¶
func (it *L1BridgeETHDepositInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeETHDepositInitiatedIterator) Error ¶
func (it *L1BridgeETHDepositInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeETHDepositInitiatedIterator) Next ¶
func (it *L1BridgeETHDepositInitiatedIterator) 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 L1BridgeETHWithdrawalFinalized ¶
type L1BridgeETHWithdrawalFinalized struct {
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeETHWithdrawalFinalized represents a ETHWithdrawalFinalized event raised by the L1Bridge contract.
type L1BridgeETHWithdrawalFinalizedIterator ¶
type L1BridgeETHWithdrawalFinalizedIterator struct {
Event *L1BridgeETHWithdrawalFinalized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeETHWithdrawalFinalizedIterator is returned from FilterETHWithdrawalFinalized and is used to iterate over the raw logs and unpacked data for ETHWithdrawalFinalized events raised by the L1Bridge contract.
func (*L1BridgeETHWithdrawalFinalizedIterator) Close ¶
func (it *L1BridgeETHWithdrawalFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeETHWithdrawalFinalizedIterator) Error ¶
func (it *L1BridgeETHWithdrawalFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeETHWithdrawalFinalizedIterator) Next ¶
func (it *L1BridgeETHWithdrawalFinalizedIterator) 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 L1BridgeFilterer ¶
type L1BridgeFilterer struct {
// contains filtered or unexported fields
}
L1BridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewL1BridgeFilterer ¶
func NewL1BridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*L1BridgeFilterer, error)
NewL1BridgeFilterer creates a new log filterer instance of L1Bridge, bound to a specific deployed contract.
func (*L1BridgeFilterer) FilterERC20BridgeFinalized ¶
func (_L1Bridge *L1BridgeFilterer) FilterERC20BridgeFinalized(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L1BridgeERC20BridgeFinalizedIterator, error)
FilterERC20BridgeFinalized is a free log retrieval operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.
Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterERC20BridgeInitiated ¶
func (_L1Bridge *L1BridgeFilterer) FilterERC20BridgeInitiated(opts *bind.FilterOpts, localToken []common.Address, remoteToken []common.Address, from []common.Address) (*L1BridgeERC20BridgeInitiatedIterator, error)
FilterERC20BridgeInitiated is a free log retrieval operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.
Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterERC20DepositInitiated ¶
func (_L1Bridge *L1BridgeFilterer) FilterERC20DepositInitiated(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L1BridgeERC20DepositInitiatedIterator, error)
FilterERC20DepositInitiated is a free log retrieval operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.
Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterERC20WithdrawalFinalized ¶
func (_L1Bridge *L1BridgeFilterer) FilterERC20WithdrawalFinalized(opts *bind.FilterOpts, l1Token []common.Address, l2Token []common.Address, from []common.Address) (*L1BridgeERC20WithdrawalFinalizedIterator, error)
FilterERC20WithdrawalFinalized is a free log retrieval operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.
Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterETHBridgeFinalized ¶
func (_L1Bridge *L1BridgeFilterer) FilterETHBridgeFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeETHBridgeFinalizedIterator, error)
FilterETHBridgeFinalized is a free log retrieval operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.
Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterETHBridgeInitiated ¶
func (_L1Bridge *L1BridgeFilterer) FilterETHBridgeInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeETHBridgeInitiatedIterator, error)
FilterETHBridgeInitiated is a free log retrieval operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.
Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterETHDepositInitiated ¶
func (_L1Bridge *L1BridgeFilterer) FilterETHDepositInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeETHDepositInitiatedIterator, error)
FilterETHDepositInitiated is a free log retrieval operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.
Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterETHWithdrawalFinalized ¶
func (_L1Bridge *L1BridgeFilterer) FilterETHWithdrawalFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeETHWithdrawalFinalizedIterator, error)
FilterETHWithdrawalFinalized is a free log retrieval operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.
Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterMNTBridgeFinalized ¶
func (_L1Bridge *L1BridgeFilterer) FilterMNTBridgeFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeMNTBridgeFinalizedIterator, error)
FilterMNTBridgeFinalized is a free log retrieval operation binding the contract event 0xef2dd684d0d947aa195ea84c18e3b5c457d3462c09eb29b20aac4f7d4d4f0035.
Solidity: event MNTBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterMNTBridgeInitiated ¶
func (_L1Bridge *L1BridgeFilterer) FilterMNTBridgeInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeMNTBridgeInitiatedIterator, error)
FilterMNTBridgeInitiated is a free log retrieval operation binding the contract event 0x74bbfec0d26a17c2367408038090a9a4e1cd1671129dc8fdf57f146a499fe3d5.
Solidity: event MNTBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterMNTDepositInitiated ¶
func (_L1Bridge *L1BridgeFilterer) FilterMNTDepositInitiated(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeMNTDepositInitiatedIterator, error)
FilterMNTDepositInitiated is a free log retrieval operation binding the contract event 0x321b860de8dcec5080cae77af335971688a4c0bc3d79d6cf3d6f2cc3894798bc.
Solidity: event MNTDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) FilterMNTWithdrawalFinalized ¶
func (_L1Bridge *L1BridgeFilterer) FilterMNTWithdrawalFinalized(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*L1BridgeMNTWithdrawalFinalizedIterator, error)
FilterMNTWithdrawalFinalized is a free log retrieval operation binding the contract event 0xd140b1626a1caf5ae4717fcfdace5983543949ab0d32ceb0ca635c3913983e28.
Solidity: event MNTWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseERC20BridgeFinalized ¶
func (_L1Bridge *L1BridgeFilterer) ParseERC20BridgeFinalized(log types.Log) (*L1BridgeERC20BridgeFinalized, error)
ParseERC20BridgeFinalized is a log parse operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.
Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseERC20BridgeInitiated ¶
func (_L1Bridge *L1BridgeFilterer) ParseERC20BridgeInitiated(log types.Log) (*L1BridgeERC20BridgeInitiated, error)
ParseERC20BridgeInitiated is a log parse operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.
Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseERC20DepositInitiated ¶
func (_L1Bridge *L1BridgeFilterer) ParseERC20DepositInitiated(log types.Log) (*L1BridgeERC20DepositInitiated, error)
ParseERC20DepositInitiated is a log parse operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.
Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseERC20WithdrawalFinalized ¶
func (_L1Bridge *L1BridgeFilterer) ParseERC20WithdrawalFinalized(log types.Log) (*L1BridgeERC20WithdrawalFinalized, error)
ParseERC20WithdrawalFinalized is a log parse operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.
Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseETHBridgeFinalized ¶
func (_L1Bridge *L1BridgeFilterer) ParseETHBridgeFinalized(log types.Log) (*L1BridgeETHBridgeFinalized, error)
ParseETHBridgeFinalized is a log parse operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.
Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseETHBridgeInitiated ¶
func (_L1Bridge *L1BridgeFilterer) ParseETHBridgeInitiated(log types.Log) (*L1BridgeETHBridgeInitiated, error)
ParseETHBridgeInitiated is a log parse operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.
Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseETHDepositInitiated ¶
func (_L1Bridge *L1BridgeFilterer) ParseETHDepositInitiated(log types.Log) (*L1BridgeETHDepositInitiated, error)
ParseETHDepositInitiated is a log parse operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.
Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseETHWithdrawalFinalized ¶
func (_L1Bridge *L1BridgeFilterer) ParseETHWithdrawalFinalized(log types.Log) (*L1BridgeETHWithdrawalFinalized, error)
ParseETHWithdrawalFinalized is a log parse operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.
Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseMNTBridgeFinalized ¶
func (_L1Bridge *L1BridgeFilterer) ParseMNTBridgeFinalized(log types.Log) (*L1BridgeMNTBridgeFinalized, error)
ParseMNTBridgeFinalized is a log parse operation binding the contract event 0xef2dd684d0d947aa195ea84c18e3b5c457d3462c09eb29b20aac4f7d4d4f0035.
Solidity: event MNTBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseMNTBridgeInitiated ¶
func (_L1Bridge *L1BridgeFilterer) ParseMNTBridgeInitiated(log types.Log) (*L1BridgeMNTBridgeInitiated, error)
ParseMNTBridgeInitiated is a log parse operation binding the contract event 0x74bbfec0d26a17c2367408038090a9a4e1cd1671129dc8fdf57f146a499fe3d5.
Solidity: event MNTBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseMNTDepositInitiated ¶
func (_L1Bridge *L1BridgeFilterer) ParseMNTDepositInitiated(log types.Log) (*L1BridgeMNTDepositInitiated, error)
ParseMNTDepositInitiated is a log parse operation binding the contract event 0x321b860de8dcec5080cae77af335971688a4c0bc3d79d6cf3d6f2cc3894798bc.
Solidity: event MNTDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) ParseMNTWithdrawalFinalized ¶
func (_L1Bridge *L1BridgeFilterer) ParseMNTWithdrawalFinalized(log types.Log) (*L1BridgeMNTWithdrawalFinalized, error)
ParseMNTWithdrawalFinalized is a log parse operation binding the contract event 0xd140b1626a1caf5ae4717fcfdace5983543949ab0d32ceb0ca635c3913983e28.
Solidity: event MNTWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchERC20BridgeFinalized ¶
func (_L1Bridge *L1BridgeFilterer) WatchERC20BridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeERC20BridgeFinalized, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)
WatchERC20BridgeFinalized is a free log subscription operation binding the contract event 0xd59c65b35445225835c83f50b6ede06a7be047d22e357073e250d9af537518cd.
Solidity: event ERC20BridgeFinalized(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchERC20BridgeInitiated ¶
func (_L1Bridge *L1BridgeFilterer) WatchERC20BridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeERC20BridgeInitiated, localToken []common.Address, remoteToken []common.Address, from []common.Address) (event.Subscription, error)
WatchERC20BridgeInitiated is a free log subscription operation binding the contract event 0x7ff126db8024424bbfd9826e8ab82ff59136289ea440b04b39a0df1b03b9cabf.
Solidity: event ERC20BridgeInitiated(address indexed localToken, address indexed remoteToken, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchERC20DepositInitiated ¶
func (_L1Bridge *L1BridgeFilterer) WatchERC20DepositInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeERC20DepositInitiated, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)
WatchERC20DepositInitiated is a free log subscription operation binding the contract event 0x718594027abd4eaed59f95162563e0cc6d0e8d5b86b1c7be8b1b0ac3343d0396.
Solidity: event ERC20DepositInitiated(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchERC20WithdrawalFinalized ¶
func (_L1Bridge *L1BridgeFilterer) WatchERC20WithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeERC20WithdrawalFinalized, l1Token []common.Address, l2Token []common.Address, from []common.Address) (event.Subscription, error)
WatchERC20WithdrawalFinalized is a free log subscription operation binding the contract event 0x3ceee06c1e37648fcbb6ed52e17b3e1f275a1f8c7b22a84b2b84732431e046b3.
Solidity: event ERC20WithdrawalFinalized(address indexed l1Token, address indexed l2Token, address indexed from, address to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchETHBridgeFinalized ¶
func (_L1Bridge *L1BridgeFilterer) WatchETHBridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeETHBridgeFinalized, from []common.Address, to []common.Address) (event.Subscription, error)
WatchETHBridgeFinalized is a free log subscription operation binding the contract event 0x31b2166ff604fc5672ea5df08a78081d2bc6d746cadce880747f3643d819e83d.
Solidity: event ETHBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchETHBridgeInitiated ¶
func (_L1Bridge *L1BridgeFilterer) WatchETHBridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeETHBridgeInitiated, from []common.Address, to []common.Address) (event.Subscription, error)
WatchETHBridgeInitiated is a free log subscription operation binding the contract event 0x2849b43074093a05396b6f2a937dee8565b15a48a7b3d4bffb732a5017380af5.
Solidity: event ETHBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchETHDepositInitiated ¶
func (_L1Bridge *L1BridgeFilterer) WatchETHDepositInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeETHDepositInitiated, from []common.Address, to []common.Address) (event.Subscription, error)
WatchETHDepositInitiated is a free log subscription operation binding the contract event 0x35d79ab81f2b2017e19afb5c5571778877782d7a8786f5907f93b0f4702f4f23.
Solidity: event ETHDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchETHWithdrawalFinalized ¶
func (_L1Bridge *L1BridgeFilterer) WatchETHWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeETHWithdrawalFinalized, from []common.Address, to []common.Address) (event.Subscription, error)
WatchETHWithdrawalFinalized is a free log subscription operation binding the contract event 0x2ac69ee804d9a7a0984249f508dfab7cb2534b465b6ce1580f99a38ba9c5e631.
Solidity: event ETHWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchMNTBridgeFinalized ¶
func (_L1Bridge *L1BridgeFilterer) WatchMNTBridgeFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeMNTBridgeFinalized, from []common.Address, to []common.Address) (event.Subscription, error)
WatchMNTBridgeFinalized is a free log subscription operation binding the contract event 0xef2dd684d0d947aa195ea84c18e3b5c457d3462c09eb29b20aac4f7d4d4f0035.
Solidity: event MNTBridgeFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchMNTBridgeInitiated ¶
func (_L1Bridge *L1BridgeFilterer) WatchMNTBridgeInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeMNTBridgeInitiated, from []common.Address, to []common.Address) (event.Subscription, error)
WatchMNTBridgeInitiated is a free log subscription operation binding the contract event 0x74bbfec0d26a17c2367408038090a9a4e1cd1671129dc8fdf57f146a499fe3d5.
Solidity: event MNTBridgeInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchMNTDepositInitiated ¶
func (_L1Bridge *L1BridgeFilterer) WatchMNTDepositInitiated(opts *bind.WatchOpts, sink chan<- *L1BridgeMNTDepositInitiated, from []common.Address, to []common.Address) (event.Subscription, error)
WatchMNTDepositInitiated is a free log subscription operation binding the contract event 0x321b860de8dcec5080cae77af335971688a4c0bc3d79d6cf3d6f2cc3894798bc.
Solidity: event MNTDepositInitiated(address indexed from, address indexed to, uint256 amount, bytes extraData)
func (*L1BridgeFilterer) WatchMNTWithdrawalFinalized ¶
func (_L1Bridge *L1BridgeFilterer) WatchMNTWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *L1BridgeMNTWithdrawalFinalized, from []common.Address, to []common.Address) (event.Subscription, error)
WatchMNTWithdrawalFinalized is a free log subscription operation binding the contract event 0xd140b1626a1caf5ae4717fcfdace5983543949ab0d32ceb0ca635c3913983e28.
Solidity: event MNTWithdrawalFinalized(address indexed from, address indexed to, uint256 amount, bytes extraData)
type L1BridgeMNTBridgeFinalized ¶
type L1BridgeMNTBridgeFinalized struct {
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeMNTBridgeFinalized represents a MNTBridgeFinalized event raised by the L1Bridge contract.
type L1BridgeMNTBridgeFinalizedIterator ¶
type L1BridgeMNTBridgeFinalizedIterator struct {
Event *L1BridgeMNTBridgeFinalized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeMNTBridgeFinalizedIterator is returned from FilterMNTBridgeFinalized and is used to iterate over the raw logs and unpacked data for MNTBridgeFinalized events raised by the L1Bridge contract.
func (*L1BridgeMNTBridgeFinalizedIterator) Close ¶
func (it *L1BridgeMNTBridgeFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeMNTBridgeFinalizedIterator) Error ¶
func (it *L1BridgeMNTBridgeFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeMNTBridgeFinalizedIterator) Next ¶
func (it *L1BridgeMNTBridgeFinalizedIterator) 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 L1BridgeMNTBridgeInitiated ¶
type L1BridgeMNTBridgeInitiated struct {
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeMNTBridgeInitiated represents a MNTBridgeInitiated event raised by the L1Bridge contract.
type L1BridgeMNTBridgeInitiatedIterator ¶
type L1BridgeMNTBridgeInitiatedIterator struct {
Event *L1BridgeMNTBridgeInitiated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeMNTBridgeInitiatedIterator is returned from FilterMNTBridgeInitiated and is used to iterate over the raw logs and unpacked data for MNTBridgeInitiated events raised by the L1Bridge contract.
func (*L1BridgeMNTBridgeInitiatedIterator) Close ¶
func (it *L1BridgeMNTBridgeInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeMNTBridgeInitiatedIterator) Error ¶
func (it *L1BridgeMNTBridgeInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeMNTBridgeInitiatedIterator) Next ¶
func (it *L1BridgeMNTBridgeInitiatedIterator) 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 L1BridgeMNTDepositInitiated ¶
type L1BridgeMNTDepositInitiated struct {
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeMNTDepositInitiated represents a MNTDepositInitiated event raised by the L1Bridge contract.
type L1BridgeMNTDepositInitiatedIterator ¶
type L1BridgeMNTDepositInitiatedIterator struct {
Event *L1BridgeMNTDepositInitiated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeMNTDepositInitiatedIterator is returned from FilterMNTDepositInitiated and is used to iterate over the raw logs and unpacked data for MNTDepositInitiated events raised by the L1Bridge contract.
func (*L1BridgeMNTDepositInitiatedIterator) Close ¶
func (it *L1BridgeMNTDepositInitiatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeMNTDepositInitiatedIterator) Error ¶
func (it *L1BridgeMNTDepositInitiatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeMNTDepositInitiatedIterator) Next ¶
func (it *L1BridgeMNTDepositInitiatedIterator) 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 L1BridgeMNTWithdrawalFinalized ¶
type L1BridgeMNTWithdrawalFinalized struct {
From common.Address
To common.Address
Amount *big.Int
ExtraData []byte
Raw types.Log // Blockchain specific contextual infos
}
L1BridgeMNTWithdrawalFinalized represents a MNTWithdrawalFinalized event raised by the L1Bridge contract.
type L1BridgeMNTWithdrawalFinalizedIterator ¶
type L1BridgeMNTWithdrawalFinalizedIterator struct {
Event *L1BridgeMNTWithdrawalFinalized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
L1BridgeMNTWithdrawalFinalizedIterator is returned from FilterMNTWithdrawalFinalized and is used to iterate over the raw logs and unpacked data for MNTWithdrawalFinalized events raised by the L1Bridge contract.
func (*L1BridgeMNTWithdrawalFinalizedIterator) Close ¶
func (it *L1BridgeMNTWithdrawalFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*L1BridgeMNTWithdrawalFinalizedIterator) Error ¶
func (it *L1BridgeMNTWithdrawalFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*L1BridgeMNTWithdrawalFinalizedIterator) Next ¶
func (it *L1BridgeMNTWithdrawalFinalizedIterator) 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 L1BridgeRaw ¶
type L1BridgeRaw struct {
Contract *L1Bridge // Generic contract binding to access the raw methods on
}
L1BridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*L1BridgeRaw) Call ¶
func (_L1Bridge *L1BridgeRaw) 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 (*L1BridgeRaw) Transact ¶
func (_L1Bridge *L1BridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L1BridgeRaw) Transfer ¶
func (_L1Bridge *L1BridgeRaw) 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 L1BridgeSession ¶
type L1BridgeSession struct {
Contract *L1Bridge // 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
}
L1BridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*L1BridgeSession) BridgeERC20 ¶
func (_L1Bridge *L1BridgeSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.
Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeSession) BridgeERC20To ¶
func (_L1Bridge *L1BridgeSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.
Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeSession) BridgeETH ¶
func (_L1Bridge *L1BridgeSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.
Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeSession) BridgeETHTo ¶
func (_L1Bridge *L1BridgeSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.
Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeSession) BridgeMNT ¶
func (_L1Bridge *L1BridgeSession) BridgeMNT(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeMNT is a paid mutator transaction binding the contract method 0xc8beb965.
Solidity: function bridgeMNT(uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeSession) BridgeMNTTo ¶
func (_L1Bridge *L1BridgeSession) BridgeMNTTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeMNTTo is a paid mutator transaction binding the contract method 0xb6a611e9.
Solidity: function bridgeMNTTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeSession) DepositERC20 ¶
func (_L1Bridge *L1BridgeSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.
Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeSession) DepositERC20To ¶
func (_L1Bridge *L1BridgeSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.
Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeSession) DepositETH ¶
func (_L1Bridge *L1BridgeSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETH is a paid mutator transaction binding the contract method 0xb1a1a882.
Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeSession) DepositETHTo ¶
func (_L1Bridge *L1BridgeSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.
Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeSession) DepositMNT ¶
func (_L1Bridge *L1BridgeSession) DepositMNT(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositMNT is a paid mutator transaction binding the contract method 0x24e00ccb.
Solidity: function depositMNT(uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeSession) DepositMNTTo ¶
func (_L1Bridge *L1BridgeSession) DepositMNTTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositMNTTo is a paid mutator transaction binding the contract method 0x69516df5.
Solidity: function depositMNTTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeSession) Deposits ¶
func (_L1Bridge *L1BridgeSession) Deposits(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Deposits is a free data retrieval call binding the contract method 0x8f601f66.
Solidity: function deposits(address , address ) view returns(uint256)
func (*L1BridgeSession) FinalizeBridgeERC20 ¶
func (_L1Bridge *L1BridgeSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.
Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1BridgeSession) FinalizeBridgeETH ¶
func (_L1Bridge *L1BridgeSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.
Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeSession) FinalizeBridgeMNT ¶
func (_L1Bridge *L1BridgeSession) FinalizeBridgeMNT(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeMNT is a paid mutator transaction binding the contract method 0xf407a99e.
Solidity: function finalizeBridgeMNT(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeSession) FinalizeERC20Withdrawal ¶
func (_L1Bridge *L1BridgeSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.
Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1BridgeSession) FinalizeETHWithdrawal ¶
func (_L1Bridge *L1BridgeSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.
Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeSession) FinalizeMantleWithdrawal ¶
func (_L1Bridge *L1BridgeSession) FinalizeMantleWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeMantleWithdrawal is a paid mutator transaction binding the contract method 0xf82b418e.
Solidity: function finalizeMantleWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeSession) L1MNTADDRESS ¶
func (_L1Bridge *L1BridgeSession) L1MNTADDRESS() (common.Address, error)
L1MNTADDRESS is a free data retrieval call binding the contract method 0xac6986c5.
Solidity: function L1_MNT_ADDRESS() view returns(address)
func (*L1BridgeSession) L2TokenBridge ¶
func (_L1Bridge *L1BridgeSession) L2TokenBridge() (common.Address, error)
L2TokenBridge is a free data retrieval call binding the contract method 0x91c49bf8.
Solidity: function l2TokenBridge() view returns(address)
func (*L1BridgeSession) MESSENGER ¶
func (_L1Bridge *L1BridgeSession) MESSENGER() (common.Address, error)
MESSENGER is a free data retrieval call binding the contract method 0x927ede2d.
Solidity: function MESSENGER() view returns(address)
func (*L1BridgeSession) Messenger ¶
func (_L1Bridge *L1BridgeSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*L1BridgeSession) OTHERBRIDGE ¶
func (_L1Bridge *L1BridgeSession) OTHERBRIDGE() (common.Address, error)
OTHERBRIDGE is a free data retrieval call binding the contract method 0x7f46ddb2.
Solidity: function OTHER_BRIDGE() view returns(address)
func (*L1BridgeSession) Receive ¶
func (_L1Bridge *L1BridgeSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*L1BridgeSession) Version ¶
func (_L1Bridge *L1BridgeSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type L1BridgeTransactor ¶
type L1BridgeTransactor struct {
// contains filtered or unexported fields
}
L1BridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewL1BridgeTransactor ¶
func NewL1BridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*L1BridgeTransactor, error)
NewL1BridgeTransactor creates a new write-only instance of L1Bridge, bound to a specific deployed contract.
func (*L1BridgeTransactor) BridgeERC20 ¶
func (_L1Bridge *L1BridgeTransactor) BridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.
Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeTransactor) BridgeERC20To ¶
func (_L1Bridge *L1BridgeTransactor) BridgeERC20To(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.
Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeTransactor) BridgeETH ¶
func (_L1Bridge *L1BridgeTransactor) BridgeETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.
Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactor) BridgeETHTo ¶
func (_L1Bridge *L1BridgeTransactor) BridgeETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.
Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactor) BridgeMNT ¶
func (_L1Bridge *L1BridgeTransactor) BridgeMNT(opts *bind.TransactOpts, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeMNT is a paid mutator transaction binding the contract method 0xc8beb965.
Solidity: function bridgeMNT(uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactor) BridgeMNTTo ¶
func (_L1Bridge *L1BridgeTransactor) BridgeMNTTo(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeMNTTo is a paid mutator transaction binding the contract method 0xb6a611e9.
Solidity: function bridgeMNTTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactor) DepositERC20 ¶
func (_L1Bridge *L1BridgeTransactor) DepositERC20(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.
Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeTransactor) DepositERC20To ¶
func (_L1Bridge *L1BridgeTransactor) DepositERC20To(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.
Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeTransactor) DepositETH ¶
func (_L1Bridge *L1BridgeTransactor) DepositETH(opts *bind.TransactOpts, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETH is a paid mutator transaction binding the contract method 0xb1a1a882.
Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactor) DepositETHTo ¶
func (_L1Bridge *L1BridgeTransactor) DepositETHTo(opts *bind.TransactOpts, _to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.
Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactor) DepositMNT ¶
func (_L1Bridge *L1BridgeTransactor) DepositMNT(opts *bind.TransactOpts, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositMNT is a paid mutator transaction binding the contract method 0x24e00ccb.
Solidity: function depositMNT(uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeTransactor) DepositMNTTo ¶
func (_L1Bridge *L1BridgeTransactor) DepositMNTTo(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositMNTTo is a paid mutator transaction binding the contract method 0x69516df5.
Solidity: function depositMNTTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactor) FinalizeBridgeERC20 ¶
func (_L1Bridge *L1BridgeTransactor) FinalizeBridgeERC20(opts *bind.TransactOpts, _localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.
Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1BridgeTransactor) FinalizeBridgeETH ¶
func (_L1Bridge *L1BridgeTransactor) FinalizeBridgeETH(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.
Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeTransactor) FinalizeBridgeMNT ¶
func (_L1Bridge *L1BridgeTransactor) FinalizeBridgeMNT(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeMNT is a paid mutator transaction binding the contract method 0xf407a99e.
Solidity: function finalizeBridgeMNT(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeTransactor) FinalizeERC20Withdrawal ¶
func (_L1Bridge *L1BridgeTransactor) FinalizeERC20Withdrawal(opts *bind.TransactOpts, _l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.
Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1BridgeTransactor) FinalizeETHWithdrawal ¶
func (_L1Bridge *L1BridgeTransactor) FinalizeETHWithdrawal(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.
Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeTransactor) FinalizeMantleWithdrawal ¶
func (_L1Bridge *L1BridgeTransactor) FinalizeMantleWithdrawal(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeMantleWithdrawal is a paid mutator transaction binding the contract method 0xf82b418e.
Solidity: function finalizeMantleWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeTransactor) Receive ¶
func (_L1Bridge *L1BridgeTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type L1BridgeTransactorRaw ¶
type L1BridgeTransactorRaw struct {
Contract *L1BridgeTransactor // Generic write-only contract binding to access the raw methods on
}
L1BridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*L1BridgeTransactorRaw) Transact ¶
func (_L1Bridge *L1BridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*L1BridgeTransactorRaw) Transfer ¶
func (_L1Bridge *L1BridgeTransactorRaw) 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 L1BridgeTransactorSession ¶
type L1BridgeTransactorSession struct {
Contract *L1BridgeTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
L1BridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*L1BridgeTransactorSession) BridgeERC20 ¶
func (_L1Bridge *L1BridgeTransactorSession) BridgeERC20(_localToken common.Address, _remoteToken common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20 is a paid mutator transaction binding the contract method 0x87087623.
Solidity: function bridgeERC20(address _localToken, address _remoteToken, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeTransactorSession) BridgeERC20To ¶
func (_L1Bridge *L1BridgeTransactorSession) BridgeERC20To(_localToken common.Address, _remoteToken common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeERC20To is a paid mutator transaction binding the contract method 0x540abf73.
Solidity: function bridgeERC20To(address _localToken, address _remoteToken, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeTransactorSession) BridgeETH ¶
func (_L1Bridge *L1BridgeTransactorSession) BridgeETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETH is a paid mutator transaction binding the contract method 0x09fc8843.
Solidity: function bridgeETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) BridgeETHTo ¶
func (_L1Bridge *L1BridgeTransactorSession) BridgeETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeETHTo is a paid mutator transaction binding the contract method 0xe11013dd.
Solidity: function bridgeETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) BridgeMNT ¶
func (_L1Bridge *L1BridgeTransactorSession) BridgeMNT(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeMNT is a paid mutator transaction binding the contract method 0xc8beb965.
Solidity: function bridgeMNT(uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) BridgeMNTTo ¶
func (_L1Bridge *L1BridgeTransactorSession) BridgeMNTTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
BridgeMNTTo is a paid mutator transaction binding the contract method 0xb6a611e9.
Solidity: function bridgeMNTTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) DepositERC20 ¶
func (_L1Bridge *L1BridgeTransactorSession) DepositERC20(_l1Token common.Address, _l2Token common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20 is a paid mutator transaction binding the contract method 0x58a997f6.
Solidity: function depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeTransactorSession) DepositERC20To ¶
func (_L1Bridge *L1BridgeTransactorSession) DepositERC20To(_l1Token common.Address, _l2Token common.Address, _to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositERC20To is a paid mutator transaction binding the contract method 0x838b2520.
Solidity: function depositERC20To(address _l1Token, address _l2Token, address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeTransactorSession) DepositETH ¶
func (_L1Bridge *L1BridgeTransactorSession) DepositETH(_minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETH is a paid mutator transaction binding the contract method 0xb1a1a882.
Solidity: function depositETH(uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) DepositETHTo ¶
func (_L1Bridge *L1BridgeTransactorSession) DepositETHTo(_to common.Address, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositETHTo is a paid mutator transaction binding the contract method 0x9a2ac6d5.
Solidity: function depositETHTo(address _to, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) DepositMNT ¶
func (_L1Bridge *L1BridgeTransactorSession) DepositMNT(_amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositMNT is a paid mutator transaction binding the contract method 0x24e00ccb.
Solidity: function depositMNT(uint256 _amount, uint32 _minGasLimit, bytes _extraData) returns()
func (*L1BridgeTransactorSession) DepositMNTTo ¶
func (_L1Bridge *L1BridgeTransactorSession) DepositMNTTo(_to common.Address, _amount *big.Int, _minGasLimit uint32, _extraData []byte) (*types.Transaction, error)
DepositMNTTo is a paid mutator transaction binding the contract method 0x69516df5.
Solidity: function depositMNTTo(address _to, uint256 _amount, uint32 _minGasLimit, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) FinalizeBridgeERC20 ¶
func (_L1Bridge *L1BridgeTransactorSession) FinalizeBridgeERC20(_localToken common.Address, _remoteToken common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeERC20 is a paid mutator transaction binding the contract method 0x0166a07a.
Solidity: function finalizeBridgeERC20(address _localToken, address _remoteToken, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1BridgeTransactorSession) FinalizeBridgeETH ¶
func (_L1Bridge *L1BridgeTransactorSession) FinalizeBridgeETH(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeETH is a paid mutator transaction binding the contract method 0x1635f5fd.
Solidity: function finalizeBridgeETH(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) FinalizeBridgeMNT ¶
func (_L1Bridge *L1BridgeTransactorSession) FinalizeBridgeMNT(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeBridgeMNT is a paid mutator transaction binding the contract method 0xf407a99e.
Solidity: function finalizeBridgeMNT(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) FinalizeERC20Withdrawal ¶
func (_L1Bridge *L1BridgeTransactorSession) FinalizeERC20Withdrawal(_l1Token common.Address, _l2Token common.Address, _from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeERC20Withdrawal is a paid mutator transaction binding the contract method 0xa9f9e675.
Solidity: function finalizeERC20Withdrawal(address _l1Token, address _l2Token, address _from, address _to, uint256 _amount, bytes _extraData) returns()
func (*L1BridgeTransactorSession) FinalizeETHWithdrawal ¶
func (_L1Bridge *L1BridgeTransactorSession) FinalizeETHWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeETHWithdrawal is a paid mutator transaction binding the contract method 0x1532ec34.
Solidity: function finalizeETHWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) FinalizeMantleWithdrawal ¶
func (_L1Bridge *L1BridgeTransactorSession) FinalizeMantleWithdrawal(_from common.Address, _to common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)
FinalizeMantleWithdrawal is a paid mutator transaction binding the contract method 0xf82b418e.
Solidity: function finalizeMantleWithdrawal(address _from, address _to, uint256 _amount, bytes _extraData) payable returns()
func (*L1BridgeTransactorSession) Receive ¶
func (_L1Bridge *L1BridgeTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()