Documentation ¶
Index ¶
- Variables
- type BridgeTransferRoot
- type HopL2ArbitrumBridge
- type HopL2ArbitrumBridgeBonderAdded
- type HopL2ArbitrumBridgeBonderAddedIterator
- type HopL2ArbitrumBridgeBonderRemoved
- type HopL2ArbitrumBridgeBonderRemovedIterator
- type HopL2ArbitrumBridgeCaller
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) ActiveChainIds(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) AmmWrapper(opts *bind.CallOpts) (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetBondedWithdrawalAmount(opts *bind.CallOpts, bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetCredit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetDebitAndAdditionalDebit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetIsBonder(opts *bind.CallOpts, maybeBonder common.Address) (bool, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetNextTransferNonce(opts *bind.CallOpts) ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetRawDebit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetTransferId(opts *bind.CallOpts, chainId *big.Int, recipient common.Address, ...) ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetTransferRoot(opts *bind.CallOpts, rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetTransferRootId(opts *bind.CallOpts, rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) HToken(opts *bind.CallOpts) (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) IsTransferIdSpent(opts *bind.CallOpts, transferId [32]byte) (bool, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) L1BridgeAddress(opts *bind.CallOpts) (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) L1BridgeCaller(opts *bind.CallOpts) (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) L1Governance(opts *bind.CallOpts) (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) LastCommitTimeForChainId(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) MaxPendingTransfers(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) MinBonderBps(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) MinBonderFeeAbsolute(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) MinimumForceCommitDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) PendingAmountForChainId(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) PendingTransferIdsForChainId(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) TransferNonceIncrementer(opts *bind.CallOpts) (*big.Int, error)
- type HopL2ArbitrumBridgeCallerRaw
- type HopL2ArbitrumBridgeCallerSession
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) ActiveChainIds(arg0 *big.Int) (bool, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) AmmWrapper() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetBondedWithdrawalAmount(bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetChainId() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetCredit(bonder common.Address) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetDebitAndAdditionalDebit(bonder common.Address) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetIsBonder(maybeBonder common.Address) (bool, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetNextTransferNonce() ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetRawDebit(bonder common.Address) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, ...) ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetTransferRootId(rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) HToken() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) IsTransferIdSpent(transferId [32]byte) (bool, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) L1BridgeAddress() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) L1BridgeCaller() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) L1Governance() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) LastCommitTimeForChainId(arg0 *big.Int) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) MaxPendingTransfers() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) Messenger() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) MinBonderBps() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) MinBonderFeeAbsolute() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) MinimumForceCommitDelay() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) PendingAmountForChainId(arg0 *big.Int) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) PendingTransferIdsForChainId(arg0 *big.Int, arg1 *big.Int) ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) TransferNonceIncrementer() (*big.Int, error)
- type HopL2ArbitrumBridgeFilterer
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterBonderAdded(opts *bind.FilterOpts, newBonder []common.Address) (*HopL2ArbitrumBridgeBonderAddedIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterBonderRemoved(opts *bind.FilterOpts, previousBonder []common.Address) (*HopL2ArbitrumBridgeBonderRemovedIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterMultipleWithdrawalsSettled(opts *bind.FilterOpts, bonder []common.Address, rootHash [][32]byte) (*HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterStake(opts *bind.FilterOpts, account []common.Address) (*HopL2ArbitrumBridgeStakeIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterTransferFromL1Completed(opts *bind.FilterOpts, recipient []common.Address, relayer []common.Address) (*HopL2ArbitrumBridgeTransferFromL1CompletedIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterTransferRootSet(opts *bind.FilterOpts, rootHash [][32]byte) (*HopL2ArbitrumBridgeTransferRootSetIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterTransferSent(opts *bind.FilterOpts, transferId [][32]byte, chainId []*big.Int, ...) (*HopL2ArbitrumBridgeTransferSentIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterTransfersCommitted(opts *bind.FilterOpts, destinationChainId []*big.Int, rootHash [][32]byte) (*HopL2ArbitrumBridgeTransfersCommittedIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterUnstake(opts *bind.FilterOpts, account []common.Address) (*HopL2ArbitrumBridgeUnstakeIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterWithdrawalBondSettled(opts *bind.FilterOpts, bonder []common.Address, transferId [][32]byte, ...) (*HopL2ArbitrumBridgeWithdrawalBondSettledIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterWithdrawalBonded(opts *bind.FilterOpts, transferId [][32]byte) (*HopL2ArbitrumBridgeWithdrawalBondedIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterWithdrew(opts *bind.FilterOpts, transferId [][32]byte, recipient []common.Address) (*HopL2ArbitrumBridgeWithdrewIterator, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseBonderAdded(log types.Log) (*HopL2ArbitrumBridgeBonderAdded, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseBonderRemoved(log types.Log) (*HopL2ArbitrumBridgeBonderRemoved, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseMultipleWithdrawalsSettled(log types.Log) (*HopL2ArbitrumBridgeMultipleWithdrawalsSettled, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseStake(log types.Log) (*HopL2ArbitrumBridgeStake, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseTransferFromL1Completed(log types.Log) (*HopL2ArbitrumBridgeTransferFromL1Completed, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseTransferRootSet(log types.Log) (*HopL2ArbitrumBridgeTransferRootSet, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseTransferSent(log types.Log) (*HopL2ArbitrumBridgeTransferSent, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseTransfersCommitted(log types.Log) (*HopL2ArbitrumBridgeTransfersCommitted, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseUnstake(log types.Log) (*HopL2ArbitrumBridgeUnstake, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseWithdrawalBondSettled(log types.Log) (*HopL2ArbitrumBridgeWithdrawalBondSettled, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseWithdrawalBonded(log types.Log) (*HopL2ArbitrumBridgeWithdrawalBonded, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseWithdrew(log types.Log) (*HopL2ArbitrumBridgeWithdrew, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchBonderAdded(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeBonderAdded, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchBonderRemoved(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeBonderRemoved, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchMultipleWithdrawalsSettled(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeStake, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchTransferFromL1Completed(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeTransferFromL1Completed, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchTransferRootSet(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeTransferRootSet, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchTransferSent(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeTransferSent, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchTransfersCommitted(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeTransfersCommitted, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeUnstake, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchWithdrawalBondSettled(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeWithdrawalBondSettled, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchWithdrawalBonded(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeWithdrawalBonded, ...) (event.Subscription, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeWithdrew, ...) (event.Subscription, error)
- type HopL2ArbitrumBridgeMultipleWithdrawalsSettled
- type HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator
- type HopL2ArbitrumBridgeRaw
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HopL2ArbitrumBridgeSession
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) ActiveChainIds(arg0 *big.Int) (bool, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) AddActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) AddBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) AmmWrapper() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) BondWithdrawal(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) BondWithdrawalAndDistribute(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) CommitTransfers(destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Distribute(recipient common.Address, amount *big.Int, amountOutMin *big.Int, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetBondedWithdrawalAmount(bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetChainId() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetCredit(bonder common.Address) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetDebitAndAdditionalDebit(bonder common.Address) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetIsBonder(maybeBonder common.Address) (bool, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetNextTransferNonce() ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetRawDebit(bonder common.Address) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, ...) ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetTransferRootId(rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) HToken() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) IsTransferIdSpent(transferId [32]byte) (bool, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) L1BridgeAddress() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) L1BridgeCaller() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) L1Governance() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) LastCommitTimeForChainId(arg0 *big.Int) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) MaxPendingTransfers() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Messenger() (common.Address, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) MinBonderBps() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) MinBonderFeeAbsolute() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) MinimumForceCommitDelay() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) PendingAmountForChainId(arg0 *big.Int) (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) PendingTransferIdsForChainId(arg0 *big.Int, arg1 *big.Int) ([32]byte, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) RemoveActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) RemoveBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) RescueTransferRoot(rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Send(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetAmmWrapper(_ammWrapper common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetHopBridgeTokenOwner(newOwner common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetL1BridgeAddress(_l1BridgeAddress common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetL1BridgeCaller(_l1BridgeCaller common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetL1Governance(_l1Governance common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetMaxPendingTransfers(_maxPendingTransfers *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetMessenger(_messenger common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetMinimumBonderFeeRequirements(_minBonderBps *big.Int, _minBonderFeeAbsolute *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetMinimumForceCommitDelay(_minimumForceCommitDelay *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SettleBondedWithdrawals(bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Stake(bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) TransferNonceIncrementer() (*big.Int, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Unstake(amount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- type HopL2ArbitrumBridgeStake
- type HopL2ArbitrumBridgeStakeIterator
- type HopL2ArbitrumBridgeTransactor
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) AddActiveChainIds(opts *bind.TransactOpts, chainIds []*big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) AddBonder(opts *bind.TransactOpts, bonder common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) BondWithdrawal(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) BondWithdrawalAndDistribute(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) CommitTransfers(opts *bind.TransactOpts, destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Distribute(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) RemoveActiveChainIds(opts *bind.TransactOpts, chainIds []*big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) RemoveBonder(opts *bind.TransactOpts, bonder common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) RescueTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Send(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetAmmWrapper(opts *bind.TransactOpts, _ammWrapper common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetHopBridgeTokenOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetL1BridgeAddress(opts *bind.TransactOpts, _l1BridgeAddress common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetL1BridgeCaller(opts *bind.TransactOpts, _l1BridgeCaller common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetL1Governance(opts *bind.TransactOpts, _l1Governance common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetMaxPendingTransfers(opts *bind.TransactOpts, _maxPendingTransfers *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetMessenger(opts *bind.TransactOpts, _messenger common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetMinimumBonderFeeRequirements(opts *bind.TransactOpts, _minBonderBps *big.Int, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetMinimumForceCommitDelay(opts *bind.TransactOpts, _minimumForceCommitDelay *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SettleBondedWithdrawal(opts *bind.TransactOpts, bonder common.Address, transferId [32]byte, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SettleBondedWithdrawals(opts *bind.TransactOpts, bonder common.Address, transferIds [][32]byte, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Stake(opts *bind.TransactOpts, bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Unstake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Withdraw(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- type HopL2ArbitrumBridgeTransactorRaw
- type HopL2ArbitrumBridgeTransactorSession
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) AddActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) AddBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) BondWithdrawal(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) BondWithdrawalAndDistribute(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) CommitTransfers(destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) Distribute(recipient common.Address, amount *big.Int, amountOutMin *big.Int, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) RemoveActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) RemoveBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) RescueTransferRoot(rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) Send(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetAmmWrapper(_ammWrapper common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetHopBridgeTokenOwner(newOwner common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetL1BridgeAddress(_l1BridgeAddress common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetL1BridgeCaller(_l1BridgeCaller common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetL1Governance(_l1Governance common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetMaxPendingTransfers(_maxPendingTransfers *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetMessenger(_messenger common.Address) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetMinimumBonderFeeRequirements(_minBonderBps *big.Int, _minBonderFeeAbsolute *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetMinimumForceCommitDelay(_minimumForceCommitDelay *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SettleBondedWithdrawals(bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) Stake(bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) Unstake(amount *big.Int) (*types.Transaction, error)
- func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- type HopL2ArbitrumBridgeTransferFromL1Completed
- type HopL2ArbitrumBridgeTransferFromL1CompletedIterator
- type HopL2ArbitrumBridgeTransferRootSet
- type HopL2ArbitrumBridgeTransferRootSetIterator
- type HopL2ArbitrumBridgeTransferSent
- type HopL2ArbitrumBridgeTransferSentIterator
- type HopL2ArbitrumBridgeTransfersCommitted
- type HopL2ArbitrumBridgeTransfersCommittedIterator
- type HopL2ArbitrumBridgeUnstake
- type HopL2ArbitrumBridgeUnstakeIterator
- type HopL2ArbitrumBridgeWithdrawalBondSettled
- type HopL2ArbitrumBridgeWithdrawalBondSettledIterator
- type HopL2ArbitrumBridgeWithdrawalBonded
- type HopL2ArbitrumBridgeWithdrawalBondedIterator
- type HopL2ArbitrumBridgeWithdrew
- type HopL2ArbitrumBridgeWithdrewIterator
Constants ¶
This section is empty.
Variables ¶
var HopL2ArbitrumBridgeABI = HopL2ArbitrumBridgeMetaData.ABI
HopL2ArbitrumBridgeABI is the input ABI used to generate the binding from. Deprecated: Use HopL2ArbitrumBridgeMetaData.ABI instead.
var HopL2ArbitrumBridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIArbSys\",\"name\":\"_messenger\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"l1Governance\",\"type\":\"address\"},{\"internalType\":\"contractHopBridgeToken\",\"name\":\"hToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"l1BridgeAddress\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"activeChainIds\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"bonders\",\"type\":\"address[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newBonder\",\"type\":\"address\"}],\"name\":\"BonderAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousBonder\",\"type\":\"address\"}],\"name\":\"BonderRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBondsSettled\",\"type\":\"uint256\"}],\"name\":\"MultipleWithdrawalsSettled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Stake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"relayerFee\",\"type\":\"uint256\"}],\"name\":\"TransferFromL1Completed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"TransferRootSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"TransferSent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rootCommittedAt\",\"type\":\"uint256\"}],\"name\":\"TransfersCommitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unstake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"}],\"name\":\"WithdrawalBondSettled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalBonded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"}],\"name\":\"Withdrew\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activeChainIds\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"chainIds\",\"type\":\"uint256[]\"}],\"name\":\"addActiveChainIds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"addBonder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ammWrapper\",\"outputs\":[{\"internalType\":\"contractI_L2_AmmWrapper\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"}],\"name\":\"bondWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"bondWithdrawalAndDistribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"}],\"name\":\"commitTransfers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"relayerFee\",\"type\":\"uint256\"}],\"name\":\"distribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"}],\"name\":\"getBondedWithdrawalAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"getCredit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"getDebitAndAdditionalDebit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"maybeBonder\",\"type\":\"address\"}],\"name\":\"getIsBonder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNextTransferNonce\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"getRawDebit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"getTransferId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"getTransferRoot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"total\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountWithdrawn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAt\",\"type\":\"uint256\"}],\"internalType\":\"structBridge.TransferRoot\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"getTransferRootId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hToken\",\"outputs\":[{\"internalType\":\"contractHopBridgeToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"}],\"name\":\"isTransferIdSpent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1BridgeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1BridgeCaller\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1Governance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lastCommitTimeForChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxPendingTransfers\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messenger\",\"outputs\":[{\"internalType\":\"contractIArbSys\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minBonderBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minBonderFeeAbsolute\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumForceCommitDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"pendingAmountForChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"pendingTransferIdsForChainId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"chainIds\",\"type\":\"uint256[]\"}],\"name\":\"removeActiveChainIds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"removeBonder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"rescueTransferRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"send\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractI_L2_AmmWrapper\",\"name\":\"_ammWrapper\",\"type\":\"address\"}],\"name\":\"setAmmWrapper\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"setHopBridgeTokenOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1BridgeAddress\",\"type\":\"address\"}],\"name\":\"setL1BridgeAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1BridgeCaller\",\"type\":\"address\"}],\"name\":\"setL1BridgeCaller\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Governance\",\"type\":\"address\"}],\"name\":\"setL1Governance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxPendingTransfers\",\"type\":\"uint256\"}],\"name\":\"setMaxPendingTransfers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIArbSys\",\"name\":\"_messenger\",\"type\":\"address\"}],\"name\":\"setMessenger\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minBonderBps\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minBonderFeeAbsolute\",\"type\":\"uint256\"}],\"name\":\"setMinimumBonderFeeRequirements\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minimumForceCommitDelay\",\"type\":\"uint256\"}],\"name\":\"setMinimumForceCommitDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"setTransferRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"transferRootTotalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transferIdTreeIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"siblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"totalLeaves\",\"type\":\"uint256\"}],\"name\":\"settleBondedWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"transferIds\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"settleBondedWithdrawals\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transferNonceIncrementer\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"transferRootTotalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transferIdTreeIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"siblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"totalLeaves\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
HopL2ArbitrumBridgeMetaData contains all meta data concerning the HopL2ArbitrumBridge contract.
Functions ¶
This section is empty.
Types ¶
type BridgeTransferRoot ¶
BridgeTransferRoot is an auto generated low-level Go binding around an user-defined struct.
type HopL2ArbitrumBridge ¶
type HopL2ArbitrumBridge struct { HopL2ArbitrumBridgeCaller // Read-only binding to the contract HopL2ArbitrumBridgeTransactor // Write-only binding to the contract HopL2ArbitrumBridgeFilterer // Log filterer for contract events }
HopL2ArbitrumBridge is an auto generated Go binding around an Ethereum contract.
func NewHopL2ArbitrumBridge ¶
func NewHopL2ArbitrumBridge(address common.Address, backend bind.ContractBackend) (*HopL2ArbitrumBridge, error)
NewHopL2ArbitrumBridge creates a new instance of HopL2ArbitrumBridge, bound to a specific deployed contract.
type HopL2ArbitrumBridgeBonderAdded ¶
type HopL2ArbitrumBridgeBonderAdded struct { NewBonder common.Address Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeBonderAdded represents a BonderAdded event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeBonderAddedIterator ¶
type HopL2ArbitrumBridgeBonderAddedIterator struct { Event *HopL2ArbitrumBridgeBonderAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeBonderAddedIterator is returned from FilterBonderAdded and is used to iterate over the raw logs and unpacked data for BonderAdded events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeBonderAddedIterator) Close ¶
func (it *HopL2ArbitrumBridgeBonderAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeBonderAddedIterator) Error ¶
func (it *HopL2ArbitrumBridgeBonderAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeBonderAddedIterator) Next ¶
func (it *HopL2ArbitrumBridgeBonderAddedIterator) 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 HopL2ArbitrumBridgeBonderRemoved ¶
type HopL2ArbitrumBridgeBonderRemoved struct { PreviousBonder common.Address Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeBonderRemoved represents a BonderRemoved event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeBonderRemovedIterator ¶
type HopL2ArbitrumBridgeBonderRemovedIterator struct { Event *HopL2ArbitrumBridgeBonderRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeBonderRemovedIterator is returned from FilterBonderRemoved and is used to iterate over the raw logs and unpacked data for BonderRemoved events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeBonderRemovedIterator) Close ¶
func (it *HopL2ArbitrumBridgeBonderRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeBonderRemovedIterator) Error ¶
func (it *HopL2ArbitrumBridgeBonderRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeBonderRemovedIterator) Next ¶
func (it *HopL2ArbitrumBridgeBonderRemovedIterator) 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 HopL2ArbitrumBridgeCaller ¶
type HopL2ArbitrumBridgeCaller struct {
// contains filtered or unexported fields
}
HopL2ArbitrumBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHopL2ArbitrumBridgeCaller ¶
func NewHopL2ArbitrumBridgeCaller(address common.Address, caller bind.ContractCaller) (*HopL2ArbitrumBridgeCaller, error)
NewHopL2ArbitrumBridgeCaller creates a new read-only instance of HopL2ArbitrumBridge, bound to a specific deployed contract.
func (*HopL2ArbitrumBridgeCaller) ActiveChainIds ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) ActiveChainIds(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
ActiveChainIds is a free data retrieval call binding the contract method 0xc97d172e.
Solidity: function activeChainIds(uint256 ) view returns(bool)
func (*HopL2ArbitrumBridgeCaller) AmmWrapper ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) AmmWrapper(opts *bind.CallOpts) (common.Address, error)
AmmWrapper is a free data retrieval call binding the contract method 0xe9cdfe51.
Solidity: function ammWrapper() view returns(address)
func (*HopL2ArbitrumBridgeCaller) GetBondedWithdrawalAmount ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetBondedWithdrawalAmount(opts *bind.CallOpts, bonder common.Address, transferId [32]byte) (*big.Int, error)
GetBondedWithdrawalAmount is a free data retrieval call binding the contract method 0x302830ab.
Solidity: function getBondedWithdrawalAmount(address bonder, bytes32 transferId) view returns(uint256)
func (*HopL2ArbitrumBridgeCaller) GetChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopL2ArbitrumBridgeCaller) GetCredit ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetCredit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
GetCredit is a free data retrieval call binding the contract method 0x57344e6f.
Solidity: function getCredit(address bonder) view returns(uint256)
func (*HopL2ArbitrumBridgeCaller) GetDebitAndAdditionalDebit ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetDebitAndAdditionalDebit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
GetDebitAndAdditionalDebit is a free data retrieval call binding the contract method 0xffa9286c.
Solidity: function getDebitAndAdditionalDebit(address bonder) view returns(uint256)
func (*HopL2ArbitrumBridgeCaller) GetIsBonder ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetIsBonder(opts *bind.CallOpts, maybeBonder common.Address) (bool, error)
GetIsBonder is a free data retrieval call binding the contract method 0xd5ef7551.
Solidity: function getIsBonder(address maybeBonder) view returns(bool)
func (*HopL2ArbitrumBridgeCaller) GetNextTransferNonce ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetNextTransferNonce(opts *bind.CallOpts) ([32]byte, error)
GetNextTransferNonce is a free data retrieval call binding the contract method 0x051e7216.
Solidity: function getNextTransferNonce() view returns(bytes32)
func (*HopL2ArbitrumBridgeCaller) GetRawDebit ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetRawDebit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
GetRawDebit is a free data retrieval call binding the contract method 0x13948c76.
Solidity: function getRawDebit(address bonder) view returns(uint256)
func (*HopL2ArbitrumBridgeCaller) GetTransferId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetTransferId(opts *bind.CallOpts, chainId *big.Int, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) ([32]byte, error)
GetTransferId is a free data retrieval call binding the contract method 0xaf215f94.
Solidity: function getTransferId(uint256 chainId, address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) pure returns(bytes32)
func (*HopL2ArbitrumBridgeCaller) GetTransferRoot ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetTransferRoot(opts *bind.CallOpts, rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
GetTransferRoot is a free data retrieval call binding the contract method 0xce803b4f.
Solidity: function getTransferRoot(bytes32 rootHash, uint256 totalAmount) view returns((uint256,uint256,uint256))
func (*HopL2ArbitrumBridgeCaller) GetTransferRootId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) GetTransferRootId(opts *bind.CallOpts, rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
GetTransferRootId is a free data retrieval call binding the contract method 0x960a7afa.
Solidity: function getTransferRootId(bytes32 rootHash, uint256 totalAmount) pure returns(bytes32)
func (*HopL2ArbitrumBridgeCaller) HToken ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) HToken(opts *bind.CallOpts) (common.Address, error)
HToken is a free data retrieval call binding the contract method 0xfc6e3b3b.
Solidity: function hToken() view returns(address)
func (*HopL2ArbitrumBridgeCaller) IsTransferIdSpent ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) IsTransferIdSpent(opts *bind.CallOpts, transferId [32]byte) (bool, error)
IsTransferIdSpent is a free data retrieval call binding the contract method 0x3a7af631.
Solidity: function isTransferIdSpent(bytes32 transferId) view returns(bool)
func (*HopL2ArbitrumBridgeCaller) L1BridgeAddress ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) L1BridgeAddress(opts *bind.CallOpts) (common.Address, error)
L1BridgeAddress is a free data retrieval call binding the contract method 0x5ab2a558.
Solidity: function l1BridgeAddress() view returns(address)
func (*HopL2ArbitrumBridgeCaller) L1BridgeCaller ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) L1BridgeCaller(opts *bind.CallOpts) (common.Address, error)
L1BridgeCaller is a free data retrieval call binding the contract method 0xd2442783.
Solidity: function l1BridgeCaller() view returns(address)
func (*HopL2ArbitrumBridgeCaller) L1Governance ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) L1Governance(opts *bind.CallOpts) (common.Address, error)
L1Governance is a free data retrieval call binding the contract method 0x3ef23f7f.
Solidity: function l1Governance() view returns(address)
func (*HopL2ArbitrumBridgeCaller) LastCommitTimeForChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) LastCommitTimeForChainId(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
LastCommitTimeForChainId is a free data retrieval call binding the contract method 0xd4e54c47.
Solidity: function lastCommitTimeForChainId(uint256 ) view returns(uint256)
func (*HopL2ArbitrumBridgeCaller) MaxPendingTransfers ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) MaxPendingTransfers(opts *bind.CallOpts) (*big.Int, error)
MaxPendingTransfers is a free data retrieval call binding the contract method 0xbed93c84.
Solidity: function maxPendingTransfers() view returns(uint256)
func (*HopL2ArbitrumBridgeCaller) Messenger ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*HopL2ArbitrumBridgeCaller) MinBonderBps ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) MinBonderBps(opts *bind.CallOpts) (*big.Int, error)
MinBonderBps is a free data retrieval call binding the contract method 0x35e2c4af.
Solidity: function minBonderBps() view returns(uint256)
func (*HopL2ArbitrumBridgeCaller) MinBonderFeeAbsolute ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) MinBonderFeeAbsolute(opts *bind.CallOpts) (*big.Int, error)
MinBonderFeeAbsolute is a free data retrieval call binding the contract method 0xc3035261.
Solidity: function minBonderFeeAbsolute() view returns(uint256)
func (*HopL2ArbitrumBridgeCaller) MinimumForceCommitDelay ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) MinimumForceCommitDelay(opts *bind.CallOpts) (*big.Int, error)
MinimumForceCommitDelay is a free data retrieval call binding the contract method 0x8f658198.
Solidity: function minimumForceCommitDelay() view returns(uint256)
func (*HopL2ArbitrumBridgeCaller) PendingAmountForChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) PendingAmountForChainId(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
PendingAmountForChainId is a free data retrieval call binding the contract method 0x0f5e09e7.
Solidity: function pendingAmountForChainId(uint256 ) view returns(uint256)
func (*HopL2ArbitrumBridgeCaller) PendingTransferIdsForChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) PendingTransferIdsForChainId(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) ([32]byte, error)
PendingTransferIdsForChainId is a free data retrieval call binding the contract method 0x98445caf.
Solidity: function pendingTransferIdsForChainId(uint256 , uint256 ) view returns(bytes32)
func (*HopL2ArbitrumBridgeCaller) TransferNonceIncrementer ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCaller) TransferNonceIncrementer(opts *bind.CallOpts) (*big.Int, error)
TransferNonceIncrementer is a free data retrieval call binding the contract method 0x82c69f9d.
Solidity: function transferNonceIncrementer() view returns(uint256)
type HopL2ArbitrumBridgeCallerRaw ¶
type HopL2ArbitrumBridgeCallerRaw struct {
Contract *HopL2ArbitrumBridgeCaller // Generic read-only contract binding to access the raw methods on
}
HopL2ArbitrumBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HopL2ArbitrumBridgeCallerRaw) Call ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerRaw) 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 HopL2ArbitrumBridgeCallerSession ¶
type HopL2ArbitrumBridgeCallerSession struct { Contract *HopL2ArbitrumBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HopL2ArbitrumBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HopL2ArbitrumBridgeCallerSession) ActiveChainIds ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) ActiveChainIds(arg0 *big.Int) (bool, error)
ActiveChainIds is a free data retrieval call binding the contract method 0xc97d172e.
Solidity: function activeChainIds(uint256 ) view returns(bool)
func (*HopL2ArbitrumBridgeCallerSession) AmmWrapper ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) AmmWrapper() (common.Address, error)
AmmWrapper is a free data retrieval call binding the contract method 0xe9cdfe51.
Solidity: function ammWrapper() view returns(address)
func (*HopL2ArbitrumBridgeCallerSession) GetBondedWithdrawalAmount ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetBondedWithdrawalAmount(bonder common.Address, transferId [32]byte) (*big.Int, error)
GetBondedWithdrawalAmount is a free data retrieval call binding the contract method 0x302830ab.
Solidity: function getBondedWithdrawalAmount(address bonder, bytes32 transferId) view returns(uint256)
func (*HopL2ArbitrumBridgeCallerSession) GetChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopL2ArbitrumBridgeCallerSession) GetCredit ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetCredit(bonder common.Address) (*big.Int, error)
GetCredit is a free data retrieval call binding the contract method 0x57344e6f.
Solidity: function getCredit(address bonder) view returns(uint256)
func (*HopL2ArbitrumBridgeCallerSession) GetDebitAndAdditionalDebit ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetDebitAndAdditionalDebit(bonder common.Address) (*big.Int, error)
GetDebitAndAdditionalDebit is a free data retrieval call binding the contract method 0xffa9286c.
Solidity: function getDebitAndAdditionalDebit(address bonder) view returns(uint256)
func (*HopL2ArbitrumBridgeCallerSession) GetIsBonder ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetIsBonder(maybeBonder common.Address) (bool, error)
GetIsBonder is a free data retrieval call binding the contract method 0xd5ef7551.
Solidity: function getIsBonder(address maybeBonder) view returns(bool)
func (*HopL2ArbitrumBridgeCallerSession) GetNextTransferNonce ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetNextTransferNonce() ([32]byte, error)
GetNextTransferNonce is a free data retrieval call binding the contract method 0x051e7216.
Solidity: function getNextTransferNonce() view returns(bytes32)
func (*HopL2ArbitrumBridgeCallerSession) GetRawDebit ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetRawDebit(bonder common.Address) (*big.Int, error)
GetRawDebit is a free data retrieval call binding the contract method 0x13948c76.
Solidity: function getRawDebit(address bonder) view returns(uint256)
func (*HopL2ArbitrumBridgeCallerSession) GetTransferId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) ([32]byte, error)
GetTransferId is a free data retrieval call binding the contract method 0xaf215f94.
Solidity: function getTransferId(uint256 chainId, address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) pure returns(bytes32)
func (*HopL2ArbitrumBridgeCallerSession) GetTransferRoot ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
GetTransferRoot is a free data retrieval call binding the contract method 0xce803b4f.
Solidity: function getTransferRoot(bytes32 rootHash, uint256 totalAmount) view returns((uint256,uint256,uint256))
func (*HopL2ArbitrumBridgeCallerSession) GetTransferRootId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) GetTransferRootId(rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
GetTransferRootId is a free data retrieval call binding the contract method 0x960a7afa.
Solidity: function getTransferRootId(bytes32 rootHash, uint256 totalAmount) pure returns(bytes32)
func (*HopL2ArbitrumBridgeCallerSession) HToken ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) HToken() (common.Address, error)
HToken is a free data retrieval call binding the contract method 0xfc6e3b3b.
Solidity: function hToken() view returns(address)
func (*HopL2ArbitrumBridgeCallerSession) IsTransferIdSpent ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) IsTransferIdSpent(transferId [32]byte) (bool, error)
IsTransferIdSpent is a free data retrieval call binding the contract method 0x3a7af631.
Solidity: function isTransferIdSpent(bytes32 transferId) view returns(bool)
func (*HopL2ArbitrumBridgeCallerSession) L1BridgeAddress ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) L1BridgeAddress() (common.Address, error)
L1BridgeAddress is a free data retrieval call binding the contract method 0x5ab2a558.
Solidity: function l1BridgeAddress() view returns(address)
func (*HopL2ArbitrumBridgeCallerSession) L1BridgeCaller ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) L1BridgeCaller() (common.Address, error)
L1BridgeCaller is a free data retrieval call binding the contract method 0xd2442783.
Solidity: function l1BridgeCaller() view returns(address)
func (*HopL2ArbitrumBridgeCallerSession) L1Governance ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) L1Governance() (common.Address, error)
L1Governance is a free data retrieval call binding the contract method 0x3ef23f7f.
Solidity: function l1Governance() view returns(address)
func (*HopL2ArbitrumBridgeCallerSession) LastCommitTimeForChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) LastCommitTimeForChainId(arg0 *big.Int) (*big.Int, error)
LastCommitTimeForChainId is a free data retrieval call binding the contract method 0xd4e54c47.
Solidity: function lastCommitTimeForChainId(uint256 ) view returns(uint256)
func (*HopL2ArbitrumBridgeCallerSession) MaxPendingTransfers ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) MaxPendingTransfers() (*big.Int, error)
MaxPendingTransfers is a free data retrieval call binding the contract method 0xbed93c84.
Solidity: function maxPendingTransfers() view returns(uint256)
func (*HopL2ArbitrumBridgeCallerSession) Messenger ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*HopL2ArbitrumBridgeCallerSession) MinBonderBps ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) MinBonderBps() (*big.Int, error)
MinBonderBps is a free data retrieval call binding the contract method 0x35e2c4af.
Solidity: function minBonderBps() view returns(uint256)
func (*HopL2ArbitrumBridgeCallerSession) MinBonderFeeAbsolute ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) MinBonderFeeAbsolute() (*big.Int, error)
MinBonderFeeAbsolute is a free data retrieval call binding the contract method 0xc3035261.
Solidity: function minBonderFeeAbsolute() view returns(uint256)
func (*HopL2ArbitrumBridgeCallerSession) MinimumForceCommitDelay ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) MinimumForceCommitDelay() (*big.Int, error)
MinimumForceCommitDelay is a free data retrieval call binding the contract method 0x8f658198.
Solidity: function minimumForceCommitDelay() view returns(uint256)
func (*HopL2ArbitrumBridgeCallerSession) PendingAmountForChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) PendingAmountForChainId(arg0 *big.Int) (*big.Int, error)
PendingAmountForChainId is a free data retrieval call binding the contract method 0x0f5e09e7.
Solidity: function pendingAmountForChainId(uint256 ) view returns(uint256)
func (*HopL2ArbitrumBridgeCallerSession) PendingTransferIdsForChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) PendingTransferIdsForChainId(arg0 *big.Int, arg1 *big.Int) ([32]byte, error)
PendingTransferIdsForChainId is a free data retrieval call binding the contract method 0x98445caf.
Solidity: function pendingTransferIdsForChainId(uint256 , uint256 ) view returns(bytes32)
func (*HopL2ArbitrumBridgeCallerSession) TransferNonceIncrementer ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeCallerSession) TransferNonceIncrementer() (*big.Int, error)
TransferNonceIncrementer is a free data retrieval call binding the contract method 0x82c69f9d.
Solidity: function transferNonceIncrementer() view returns(uint256)
type HopL2ArbitrumBridgeFilterer ¶
type HopL2ArbitrumBridgeFilterer struct {
// contains filtered or unexported fields
}
HopL2ArbitrumBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHopL2ArbitrumBridgeFilterer ¶
func NewHopL2ArbitrumBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*HopL2ArbitrumBridgeFilterer, error)
NewHopL2ArbitrumBridgeFilterer creates a new log filterer instance of HopL2ArbitrumBridge, bound to a specific deployed contract.
func (*HopL2ArbitrumBridgeFilterer) FilterBonderAdded ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterBonderAdded(opts *bind.FilterOpts, newBonder []common.Address) (*HopL2ArbitrumBridgeBonderAddedIterator, error)
FilterBonderAdded is a free log retrieval operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.
Solidity: event BonderAdded(address indexed newBonder)
func (*HopL2ArbitrumBridgeFilterer) FilterBonderRemoved ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterBonderRemoved(opts *bind.FilterOpts, previousBonder []common.Address) (*HopL2ArbitrumBridgeBonderRemovedIterator, error)
FilterBonderRemoved is a free log retrieval operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.
Solidity: event BonderRemoved(address indexed previousBonder)
func (*HopL2ArbitrumBridgeFilterer) FilterMultipleWithdrawalsSettled ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterMultipleWithdrawalsSettled(opts *bind.FilterOpts, bonder []common.Address, rootHash [][32]byte) (*HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator, error)
FilterMultipleWithdrawalsSettled is a free log retrieval operation binding the contract event 0x78e830d08be9d5f957414c84d685c061ecbd8467be98b42ebb64f0118b57d2ff.
Solidity: event MultipleWithdrawalsSettled(address indexed bonder, bytes32 indexed rootHash, uint256 totalBondsSettled)
func (*HopL2ArbitrumBridgeFilterer) FilterStake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterStake(opts *bind.FilterOpts, account []common.Address) (*HopL2ArbitrumBridgeStakeIterator, error)
FilterStake is a free log retrieval operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address indexed account, uint256 amount)
func (*HopL2ArbitrumBridgeFilterer) FilterTransferFromL1Completed ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterTransferFromL1Completed(opts *bind.FilterOpts, recipient []common.Address, relayer []common.Address) (*HopL2ArbitrumBridgeTransferFromL1CompletedIterator, error)
FilterTransferFromL1Completed is a free log retrieval operation binding the contract event 0x320958176930804eb66c2343c7343fc0367dc16249590c0f195783bee199d094.
Solidity: event TransferFromL1Completed(address indexed recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address indexed relayer, uint256 relayerFee)
func (*HopL2ArbitrumBridgeFilterer) FilterTransferRootSet ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterTransferRootSet(opts *bind.FilterOpts, rootHash [][32]byte) (*HopL2ArbitrumBridgeTransferRootSetIterator, error)
FilterTransferRootSet is a free log retrieval operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.
Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)
func (*HopL2ArbitrumBridgeFilterer) FilterTransferSent ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterTransferSent(opts *bind.FilterOpts, transferId [][32]byte, chainId []*big.Int, recipient []common.Address) (*HopL2ArbitrumBridgeTransferSentIterator, error)
FilterTransferSent is a free log retrieval operation binding the contract event 0xe35dddd4ea75d7e9b3fe93af4f4e40e778c3da4074c9d93e7c6536f1e803c1eb.
Solidity: event TransferSent(bytes32 indexed transferId, uint256 indexed chainId, address indexed recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 index, uint256 amountOutMin, uint256 deadline)
func (*HopL2ArbitrumBridgeFilterer) FilterTransfersCommitted ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterTransfersCommitted(opts *bind.FilterOpts, destinationChainId []*big.Int, rootHash [][32]byte) (*HopL2ArbitrumBridgeTransfersCommittedIterator, error)
FilterTransfersCommitted is a free log retrieval operation binding the contract event 0xf52ad20d3b4f50d1c40901dfb95a9ce5270b2fc32694e5c668354721cd87aa74.
Solidity: event TransfersCommitted(uint256 indexed destinationChainId, bytes32 indexed rootHash, uint256 totalAmount, uint256 rootCommittedAt)
func (*HopL2ArbitrumBridgeFilterer) FilterUnstake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterUnstake(opts *bind.FilterOpts, account []common.Address) (*HopL2ArbitrumBridgeUnstakeIterator, error)
FilterUnstake is a free log retrieval operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.
Solidity: event Unstake(address indexed account, uint256 amount)
func (*HopL2ArbitrumBridgeFilterer) FilterWithdrawalBondSettled ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterWithdrawalBondSettled(opts *bind.FilterOpts, bonder []common.Address, transferId [][32]byte, rootHash [][32]byte) (*HopL2ArbitrumBridgeWithdrawalBondSettledIterator, error)
FilterWithdrawalBondSettled is a free log retrieval operation binding the contract event 0x84eb21b24c31b27a3bc67dde4a598aad06db6e9415cd66544492b9616996143c.
Solidity: event WithdrawalBondSettled(address indexed bonder, bytes32 indexed transferId, bytes32 indexed rootHash)
func (*HopL2ArbitrumBridgeFilterer) FilterWithdrawalBonded ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterWithdrawalBonded(opts *bind.FilterOpts, transferId [][32]byte) (*HopL2ArbitrumBridgeWithdrawalBondedIterator, error)
FilterWithdrawalBonded is a free log retrieval operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.
Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)
func (*HopL2ArbitrumBridgeFilterer) FilterWithdrew ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) FilterWithdrew(opts *bind.FilterOpts, transferId [][32]byte, recipient []common.Address) (*HopL2ArbitrumBridgeWithdrewIterator, error)
FilterWithdrew is a free log retrieval operation binding the contract event 0x9475cdbde5fc71fe2ccd413c82878ee54d061b9f74f9e2e1a03ff1178821502c.
Solidity: event Withdrew(bytes32 indexed transferId, address indexed recipient, uint256 amount, bytes32 transferNonce)
func (*HopL2ArbitrumBridgeFilterer) ParseBonderAdded ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseBonderAdded(log types.Log) (*HopL2ArbitrumBridgeBonderAdded, error)
ParseBonderAdded is a log parse operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.
Solidity: event BonderAdded(address indexed newBonder)
func (*HopL2ArbitrumBridgeFilterer) ParseBonderRemoved ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseBonderRemoved(log types.Log) (*HopL2ArbitrumBridgeBonderRemoved, error)
ParseBonderRemoved is a log parse operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.
Solidity: event BonderRemoved(address indexed previousBonder)
func (*HopL2ArbitrumBridgeFilterer) ParseMultipleWithdrawalsSettled ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseMultipleWithdrawalsSettled(log types.Log) (*HopL2ArbitrumBridgeMultipleWithdrawalsSettled, error)
ParseMultipleWithdrawalsSettled is a log parse operation binding the contract event 0x78e830d08be9d5f957414c84d685c061ecbd8467be98b42ebb64f0118b57d2ff.
Solidity: event MultipleWithdrawalsSettled(address indexed bonder, bytes32 indexed rootHash, uint256 totalBondsSettled)
func (*HopL2ArbitrumBridgeFilterer) ParseStake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseStake(log types.Log) (*HopL2ArbitrumBridgeStake, error)
ParseStake is a log parse operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address indexed account, uint256 amount)
func (*HopL2ArbitrumBridgeFilterer) ParseTransferFromL1Completed ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseTransferFromL1Completed(log types.Log) (*HopL2ArbitrumBridgeTransferFromL1Completed, error)
ParseTransferFromL1Completed is a log parse operation binding the contract event 0x320958176930804eb66c2343c7343fc0367dc16249590c0f195783bee199d094.
Solidity: event TransferFromL1Completed(address indexed recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address indexed relayer, uint256 relayerFee)
func (*HopL2ArbitrumBridgeFilterer) ParseTransferRootSet ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseTransferRootSet(log types.Log) (*HopL2ArbitrumBridgeTransferRootSet, error)
ParseTransferRootSet is a log parse operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.
Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)
func (*HopL2ArbitrumBridgeFilterer) ParseTransferSent ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseTransferSent(log types.Log) (*HopL2ArbitrumBridgeTransferSent, error)
ParseTransferSent is a log parse operation binding the contract event 0xe35dddd4ea75d7e9b3fe93af4f4e40e778c3da4074c9d93e7c6536f1e803c1eb.
Solidity: event TransferSent(bytes32 indexed transferId, uint256 indexed chainId, address indexed recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 index, uint256 amountOutMin, uint256 deadline)
func (*HopL2ArbitrumBridgeFilterer) ParseTransfersCommitted ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseTransfersCommitted(log types.Log) (*HopL2ArbitrumBridgeTransfersCommitted, error)
ParseTransfersCommitted is a log parse operation binding the contract event 0xf52ad20d3b4f50d1c40901dfb95a9ce5270b2fc32694e5c668354721cd87aa74.
Solidity: event TransfersCommitted(uint256 indexed destinationChainId, bytes32 indexed rootHash, uint256 totalAmount, uint256 rootCommittedAt)
func (*HopL2ArbitrumBridgeFilterer) ParseUnstake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseUnstake(log types.Log) (*HopL2ArbitrumBridgeUnstake, error)
ParseUnstake is a log parse operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.
Solidity: event Unstake(address indexed account, uint256 amount)
func (*HopL2ArbitrumBridgeFilterer) ParseWithdrawalBondSettled ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseWithdrawalBondSettled(log types.Log) (*HopL2ArbitrumBridgeWithdrawalBondSettled, error)
ParseWithdrawalBondSettled is a log parse operation binding the contract event 0x84eb21b24c31b27a3bc67dde4a598aad06db6e9415cd66544492b9616996143c.
Solidity: event WithdrawalBondSettled(address indexed bonder, bytes32 indexed transferId, bytes32 indexed rootHash)
func (*HopL2ArbitrumBridgeFilterer) ParseWithdrawalBonded ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseWithdrawalBonded(log types.Log) (*HopL2ArbitrumBridgeWithdrawalBonded, error)
ParseWithdrawalBonded is a log parse operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.
Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)
func (*HopL2ArbitrumBridgeFilterer) ParseWithdrew ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) ParseWithdrew(log types.Log) (*HopL2ArbitrumBridgeWithdrew, error)
ParseWithdrew is a log parse operation binding the contract event 0x9475cdbde5fc71fe2ccd413c82878ee54d061b9f74f9e2e1a03ff1178821502c.
Solidity: event Withdrew(bytes32 indexed transferId, address indexed recipient, uint256 amount, bytes32 transferNonce)
func (*HopL2ArbitrumBridgeFilterer) WatchBonderAdded ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchBonderAdded(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeBonderAdded, newBonder []common.Address) (event.Subscription, error)
WatchBonderAdded is a free log subscription operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.
Solidity: event BonderAdded(address indexed newBonder)
func (*HopL2ArbitrumBridgeFilterer) WatchBonderRemoved ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchBonderRemoved(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeBonderRemoved, previousBonder []common.Address) (event.Subscription, error)
WatchBonderRemoved is a free log subscription operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.
Solidity: event BonderRemoved(address indexed previousBonder)
func (*HopL2ArbitrumBridgeFilterer) WatchMultipleWithdrawalsSettled ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchMultipleWithdrawalsSettled(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeMultipleWithdrawalsSettled, bonder []common.Address, rootHash [][32]byte) (event.Subscription, error)
WatchMultipleWithdrawalsSettled is a free log subscription operation binding the contract event 0x78e830d08be9d5f957414c84d685c061ecbd8467be98b42ebb64f0118b57d2ff.
Solidity: event MultipleWithdrawalsSettled(address indexed bonder, bytes32 indexed rootHash, uint256 totalBondsSettled)
func (*HopL2ArbitrumBridgeFilterer) WatchStake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeStake, account []common.Address) (event.Subscription, error)
WatchStake is a free log subscription operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address indexed account, uint256 amount)
func (*HopL2ArbitrumBridgeFilterer) WatchTransferFromL1Completed ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchTransferFromL1Completed(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeTransferFromL1Completed, recipient []common.Address, relayer []common.Address) (event.Subscription, error)
WatchTransferFromL1Completed is a free log subscription operation binding the contract event 0x320958176930804eb66c2343c7343fc0367dc16249590c0f195783bee199d094.
Solidity: event TransferFromL1Completed(address indexed recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address indexed relayer, uint256 relayerFee)
func (*HopL2ArbitrumBridgeFilterer) WatchTransferRootSet ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchTransferRootSet(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeTransferRootSet, rootHash [][32]byte) (event.Subscription, error)
WatchTransferRootSet is a free log subscription operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.
Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)
func (*HopL2ArbitrumBridgeFilterer) WatchTransferSent ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchTransferSent(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeTransferSent, transferId [][32]byte, chainId []*big.Int, recipient []common.Address) (event.Subscription, error)
WatchTransferSent is a free log subscription operation binding the contract event 0xe35dddd4ea75d7e9b3fe93af4f4e40e778c3da4074c9d93e7c6536f1e803c1eb.
Solidity: event TransferSent(bytes32 indexed transferId, uint256 indexed chainId, address indexed recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 index, uint256 amountOutMin, uint256 deadline)
func (*HopL2ArbitrumBridgeFilterer) WatchTransfersCommitted ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchTransfersCommitted(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeTransfersCommitted, destinationChainId []*big.Int, rootHash [][32]byte) (event.Subscription, error)
WatchTransfersCommitted is a free log subscription operation binding the contract event 0xf52ad20d3b4f50d1c40901dfb95a9ce5270b2fc32694e5c668354721cd87aa74.
Solidity: event TransfersCommitted(uint256 indexed destinationChainId, bytes32 indexed rootHash, uint256 totalAmount, uint256 rootCommittedAt)
func (*HopL2ArbitrumBridgeFilterer) WatchUnstake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeUnstake, account []common.Address) (event.Subscription, error)
WatchUnstake is a free log subscription operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.
Solidity: event Unstake(address indexed account, uint256 amount)
func (*HopL2ArbitrumBridgeFilterer) WatchWithdrawalBondSettled ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchWithdrawalBondSettled(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeWithdrawalBondSettled, bonder []common.Address, transferId [][32]byte, rootHash [][32]byte) (event.Subscription, error)
WatchWithdrawalBondSettled is a free log subscription operation binding the contract event 0x84eb21b24c31b27a3bc67dde4a598aad06db6e9415cd66544492b9616996143c.
Solidity: event WithdrawalBondSettled(address indexed bonder, bytes32 indexed transferId, bytes32 indexed rootHash)
func (*HopL2ArbitrumBridgeFilterer) WatchWithdrawalBonded ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchWithdrawalBonded(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeWithdrawalBonded, transferId [][32]byte) (event.Subscription, error)
WatchWithdrawalBonded is a free log subscription operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.
Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)
func (*HopL2ArbitrumBridgeFilterer) WatchWithdrew ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *HopL2ArbitrumBridgeWithdrew, transferId [][32]byte, recipient []common.Address) (event.Subscription, error)
WatchWithdrew is a free log subscription operation binding the contract event 0x9475cdbde5fc71fe2ccd413c82878ee54d061b9f74f9e2e1a03ff1178821502c.
Solidity: event Withdrew(bytes32 indexed transferId, address indexed recipient, uint256 amount, bytes32 transferNonce)
type HopL2ArbitrumBridgeMultipleWithdrawalsSettled ¶
type HopL2ArbitrumBridgeMultipleWithdrawalsSettled struct { Bonder common.Address RootHash [32]byte TotalBondsSettled *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeMultipleWithdrawalsSettled represents a MultipleWithdrawalsSettled event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator ¶
type HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator struct { Event *HopL2ArbitrumBridgeMultipleWithdrawalsSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator is returned from FilterMultipleWithdrawalsSettled and is used to iterate over the raw logs and unpacked data for MultipleWithdrawalsSettled events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator) Close ¶
func (it *HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator) Error ¶
func (it *HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator) Next ¶
func (it *HopL2ArbitrumBridgeMultipleWithdrawalsSettledIterator) 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 HopL2ArbitrumBridgeRaw ¶
type HopL2ArbitrumBridgeRaw struct {
Contract *HopL2ArbitrumBridge // Generic contract binding to access the raw methods on
}
HopL2ArbitrumBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HopL2ArbitrumBridgeRaw) Call ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeRaw) 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 (*HopL2ArbitrumBridgeRaw) Transact ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HopL2ArbitrumBridgeRaw) Transfer ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeRaw) 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 HopL2ArbitrumBridgeSession ¶
type HopL2ArbitrumBridgeSession struct { Contract *HopL2ArbitrumBridge // 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 }
HopL2ArbitrumBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HopL2ArbitrumBridgeSession) ActiveChainIds ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) ActiveChainIds(arg0 *big.Int) (bool, error)
ActiveChainIds is a free data retrieval call binding the contract method 0xc97d172e.
Solidity: function activeChainIds(uint256 ) view returns(bool)
func (*HopL2ArbitrumBridgeSession) AddActiveChainIds ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) AddActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)
AddActiveChainIds is a paid mutator transaction binding the contract method 0xf8398fa4.
Solidity: function addActiveChainIds(uint256[] chainIds) returns()
func (*HopL2ArbitrumBridgeSession) AddBonder ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) AddBonder(bonder common.Address) (*types.Transaction, error)
AddBonder is a paid mutator transaction binding the contract method 0x5325937f.
Solidity: function addBonder(address bonder) returns()
func (*HopL2ArbitrumBridgeSession) AmmWrapper ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) AmmWrapper() (common.Address, error)
AmmWrapper is a free data retrieval call binding the contract method 0xe9cdfe51.
Solidity: function ammWrapper() view returns(address)
func (*HopL2ArbitrumBridgeSession) BondWithdrawal ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) BondWithdrawal(recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int) (*types.Transaction, error)
BondWithdrawal is a paid mutator transaction binding the contract method 0x23c452cd.
Solidity: function bondWithdrawal(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee) returns()
func (*HopL2ArbitrumBridgeSession) BondWithdrawalAndDistribute ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) BondWithdrawalAndDistribute(recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)
BondWithdrawalAndDistribute is a paid mutator transaction binding the contract method 0x3d12a85a.
Solidity: function bondWithdrawalAndDistribute(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()
func (*HopL2ArbitrumBridgeSession) CommitTransfers ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) CommitTransfers(destinationChainId *big.Int) (*types.Transaction, error)
CommitTransfers is a paid mutator transaction binding the contract method 0x32b949a2.
Solidity: function commitTransfers(uint256 destinationChainId) returns()
func (*HopL2ArbitrumBridgeSession) Distribute ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Distribute(recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error)
Distribute is a paid mutator transaction binding the contract method 0xcc29a306.
Solidity: function distribute(address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address relayer, uint256 relayerFee) returns()
func (*HopL2ArbitrumBridgeSession) GetBondedWithdrawalAmount ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetBondedWithdrawalAmount(bonder common.Address, transferId [32]byte) (*big.Int, error)
GetBondedWithdrawalAmount is a free data retrieval call binding the contract method 0x302830ab.
Solidity: function getBondedWithdrawalAmount(address bonder, bytes32 transferId) view returns(uint256)
func (*HopL2ArbitrumBridgeSession) GetChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopL2ArbitrumBridgeSession) GetCredit ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetCredit(bonder common.Address) (*big.Int, error)
GetCredit is a free data retrieval call binding the contract method 0x57344e6f.
Solidity: function getCredit(address bonder) view returns(uint256)
func (*HopL2ArbitrumBridgeSession) GetDebitAndAdditionalDebit ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetDebitAndAdditionalDebit(bonder common.Address) (*big.Int, error)
GetDebitAndAdditionalDebit is a free data retrieval call binding the contract method 0xffa9286c.
Solidity: function getDebitAndAdditionalDebit(address bonder) view returns(uint256)
func (*HopL2ArbitrumBridgeSession) GetIsBonder ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetIsBonder(maybeBonder common.Address) (bool, error)
GetIsBonder is a free data retrieval call binding the contract method 0xd5ef7551.
Solidity: function getIsBonder(address maybeBonder) view returns(bool)
func (*HopL2ArbitrumBridgeSession) GetNextTransferNonce ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetNextTransferNonce() ([32]byte, error)
GetNextTransferNonce is a free data retrieval call binding the contract method 0x051e7216.
Solidity: function getNextTransferNonce() view returns(bytes32)
func (*HopL2ArbitrumBridgeSession) GetRawDebit ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetRawDebit(bonder common.Address) (*big.Int, error)
GetRawDebit is a free data retrieval call binding the contract method 0x13948c76.
Solidity: function getRawDebit(address bonder) view returns(uint256)
func (*HopL2ArbitrumBridgeSession) GetTransferId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) ([32]byte, error)
GetTransferId is a free data retrieval call binding the contract method 0xaf215f94.
Solidity: function getTransferId(uint256 chainId, address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) pure returns(bytes32)
func (*HopL2ArbitrumBridgeSession) GetTransferRoot ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
GetTransferRoot is a free data retrieval call binding the contract method 0xce803b4f.
Solidity: function getTransferRoot(bytes32 rootHash, uint256 totalAmount) view returns((uint256,uint256,uint256))
func (*HopL2ArbitrumBridgeSession) GetTransferRootId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) GetTransferRootId(rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
GetTransferRootId is a free data retrieval call binding the contract method 0x960a7afa.
Solidity: function getTransferRootId(bytes32 rootHash, uint256 totalAmount) pure returns(bytes32)
func (*HopL2ArbitrumBridgeSession) HToken ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) HToken() (common.Address, error)
HToken is a free data retrieval call binding the contract method 0xfc6e3b3b.
Solidity: function hToken() view returns(address)
func (*HopL2ArbitrumBridgeSession) IsTransferIdSpent ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) IsTransferIdSpent(transferId [32]byte) (bool, error)
IsTransferIdSpent is a free data retrieval call binding the contract method 0x3a7af631.
Solidity: function isTransferIdSpent(bytes32 transferId) view returns(bool)
func (*HopL2ArbitrumBridgeSession) L1BridgeAddress ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) L1BridgeAddress() (common.Address, error)
L1BridgeAddress is a free data retrieval call binding the contract method 0x5ab2a558.
Solidity: function l1BridgeAddress() view returns(address)
func (*HopL2ArbitrumBridgeSession) L1BridgeCaller ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) L1BridgeCaller() (common.Address, error)
L1BridgeCaller is a free data retrieval call binding the contract method 0xd2442783.
Solidity: function l1BridgeCaller() view returns(address)
func (*HopL2ArbitrumBridgeSession) L1Governance ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) L1Governance() (common.Address, error)
L1Governance is a free data retrieval call binding the contract method 0x3ef23f7f.
Solidity: function l1Governance() view returns(address)
func (*HopL2ArbitrumBridgeSession) LastCommitTimeForChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) LastCommitTimeForChainId(arg0 *big.Int) (*big.Int, error)
LastCommitTimeForChainId is a free data retrieval call binding the contract method 0xd4e54c47.
Solidity: function lastCommitTimeForChainId(uint256 ) view returns(uint256)
func (*HopL2ArbitrumBridgeSession) MaxPendingTransfers ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) MaxPendingTransfers() (*big.Int, error)
MaxPendingTransfers is a free data retrieval call binding the contract method 0xbed93c84.
Solidity: function maxPendingTransfers() view returns(uint256)
func (*HopL2ArbitrumBridgeSession) Messenger ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Messenger() (common.Address, error)
Messenger is a free data retrieval call binding the contract method 0x3cb747bf.
Solidity: function messenger() view returns(address)
func (*HopL2ArbitrumBridgeSession) MinBonderBps ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) MinBonderBps() (*big.Int, error)
MinBonderBps is a free data retrieval call binding the contract method 0x35e2c4af.
Solidity: function minBonderBps() view returns(uint256)
func (*HopL2ArbitrumBridgeSession) MinBonderFeeAbsolute ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) MinBonderFeeAbsolute() (*big.Int, error)
MinBonderFeeAbsolute is a free data retrieval call binding the contract method 0xc3035261.
Solidity: function minBonderFeeAbsolute() view returns(uint256)
func (*HopL2ArbitrumBridgeSession) MinimumForceCommitDelay ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) MinimumForceCommitDelay() (*big.Int, error)
MinimumForceCommitDelay is a free data retrieval call binding the contract method 0x8f658198.
Solidity: function minimumForceCommitDelay() view returns(uint256)
func (*HopL2ArbitrumBridgeSession) PendingAmountForChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) PendingAmountForChainId(arg0 *big.Int) (*big.Int, error)
PendingAmountForChainId is a free data retrieval call binding the contract method 0x0f5e09e7.
Solidity: function pendingAmountForChainId(uint256 ) view returns(uint256)
func (*HopL2ArbitrumBridgeSession) PendingTransferIdsForChainId ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) PendingTransferIdsForChainId(arg0 *big.Int, arg1 *big.Int) ([32]byte, error)
PendingTransferIdsForChainId is a free data retrieval call binding the contract method 0x98445caf.
Solidity: function pendingTransferIdsForChainId(uint256 , uint256 ) view returns(bytes32)
func (*HopL2ArbitrumBridgeSession) RemoveActiveChainIds ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) RemoveActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)
RemoveActiveChainIds is a paid mutator transaction binding the contract method 0x9f600a0b.
Solidity: function removeActiveChainIds(uint256[] chainIds) returns()
func (*HopL2ArbitrumBridgeSession) RemoveBonder ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) RemoveBonder(bonder common.Address) (*types.Transaction, error)
RemoveBonder is a paid mutator transaction binding the contract method 0x04e6c2c0.
Solidity: function removeBonder(address bonder) returns()
func (*HopL2ArbitrumBridgeSession) RescueTransferRoot ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) RescueTransferRoot(rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
RescueTransferRoot is a paid mutator transaction binding the contract method 0xcbd1642e.
Solidity: function rescueTransferRoot(bytes32 rootHash, uint256 originalAmount, address recipient) returns()
func (*HopL2ArbitrumBridgeSession) Send ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Send(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)
Send is a paid mutator transaction binding the contract method 0xa6bd1b33.
Solidity: function send(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()
func (*HopL2ArbitrumBridgeSession) SetAmmWrapper ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetAmmWrapper(_ammWrapper common.Address) (*types.Transaction, error)
SetAmmWrapper is a paid mutator transaction binding the contract method 0x64c6fdb4.
Solidity: function setAmmWrapper(address _ammWrapper) returns()
func (*HopL2ArbitrumBridgeSession) SetHopBridgeTokenOwner ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetHopBridgeTokenOwner(newOwner common.Address) (*types.Transaction, error)
SetHopBridgeTokenOwner is a paid mutator transaction binding the contract method 0x8295f258.
Solidity: function setHopBridgeTokenOwner(address newOwner) returns()
func (*HopL2ArbitrumBridgeSession) SetL1BridgeAddress ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetL1BridgeAddress(_l1BridgeAddress common.Address) (*types.Transaction, error)
SetL1BridgeAddress is a paid mutator transaction binding the contract method 0xe1825d06.
Solidity: function setL1BridgeAddress(address _l1BridgeAddress) returns()
func (*HopL2ArbitrumBridgeSession) SetL1BridgeCaller ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetL1BridgeCaller(_l1BridgeCaller common.Address) (*types.Transaction, error)
SetL1BridgeCaller is a paid mutator transaction binding the contract method 0xaf33ae69.
Solidity: function setL1BridgeCaller(address _l1BridgeCaller) returns()
func (*HopL2ArbitrumBridgeSession) SetL1Governance ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetL1Governance(_l1Governance common.Address) (*types.Transaction, error)
SetL1Governance is a paid mutator transaction binding the contract method 0xe40272d7.
Solidity: function setL1Governance(address _l1Governance) returns()
func (*HopL2ArbitrumBridgeSession) SetMaxPendingTransfers ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetMaxPendingTransfers(_maxPendingTransfers *big.Int) (*types.Transaction, error)
SetMaxPendingTransfers is a paid mutator transaction binding the contract method 0x4742bbfb.
Solidity: function setMaxPendingTransfers(uint256 _maxPendingTransfers) returns()
func (*HopL2ArbitrumBridgeSession) SetMessenger ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetMessenger(_messenger common.Address) (*types.Transaction, error)
SetMessenger is a paid mutator transaction binding the contract method 0x66285967.
Solidity: function setMessenger(address _messenger) returns()
func (*HopL2ArbitrumBridgeSession) SetMinimumBonderFeeRequirements ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetMinimumBonderFeeRequirements(_minBonderBps *big.Int, _minBonderFeeAbsolute *big.Int) (*types.Transaction, error)
SetMinimumBonderFeeRequirements is a paid mutator transaction binding the contract method 0xa9fa4ed5.
Solidity: function setMinimumBonderFeeRequirements(uint256 _minBonderBps, uint256 _minBonderFeeAbsolute) returns()
func (*HopL2ArbitrumBridgeSession) SetMinimumForceCommitDelay ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetMinimumForceCommitDelay(_minimumForceCommitDelay *big.Int) (*types.Transaction, error)
SetMinimumForceCommitDelay is a paid mutator transaction binding the contract method 0x9bf43028.
Solidity: function setMinimumForceCommitDelay(uint256 _minimumForceCommitDelay) returns()
func (*HopL2ArbitrumBridgeSession) SetTransferRoot ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (*types.Transaction, error)
SetTransferRoot is a paid mutator transaction binding the contract method 0xfd31c5ba.
Solidity: function setTransferRoot(bytes32 rootHash, uint256 totalAmount) returns()
func (*HopL2ArbitrumBridgeSession) SettleBondedWithdrawal ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error)
SettleBondedWithdrawal is a paid mutator transaction binding the contract method 0xc7525dd3.
Solidity: function settleBondedWithdrawal(address bonder, bytes32 transferId, bytes32 rootHash, uint256 transferRootTotalAmount, uint256 transferIdTreeIndex, bytes32[] siblings, uint256 totalLeaves) returns()
func (*HopL2ArbitrumBridgeSession) SettleBondedWithdrawals ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) SettleBondedWithdrawals(bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
SettleBondedWithdrawals is a paid mutator transaction binding the contract method 0xb162717e.
Solidity: function settleBondedWithdrawals(address bonder, bytes32[] transferIds, uint256 totalAmount) returns()
func (*HopL2ArbitrumBridgeSession) Stake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Stake(bonder common.Address, amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address bonder, uint256 amount) payable returns()
func (*HopL2ArbitrumBridgeSession) TransferNonceIncrementer ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) TransferNonceIncrementer() (*big.Int, error)
TransferNonceIncrementer is a free data retrieval call binding the contract method 0x82c69f9d.
Solidity: function transferNonceIncrementer() view returns(uint256)
func (*HopL2ArbitrumBridgeSession) Unstake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Unstake(amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 amount) returns()
func (*HopL2ArbitrumBridgeSession) Withdraw ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x0f7aadb7.
Solidity: function withdraw(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline, bytes32 rootHash, uint256 transferRootTotalAmount, uint256 transferIdTreeIndex, bytes32[] siblings, uint256 totalLeaves) returns()
type HopL2ArbitrumBridgeStake ¶
type HopL2ArbitrumBridgeStake struct { Account common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeStake represents a Stake event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeStakeIterator ¶
type HopL2ArbitrumBridgeStakeIterator struct { Event *HopL2ArbitrumBridgeStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeStakeIterator is returned from FilterStake and is used to iterate over the raw logs and unpacked data for Stake events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeStakeIterator) Close ¶
func (it *HopL2ArbitrumBridgeStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeStakeIterator) Error ¶
func (it *HopL2ArbitrumBridgeStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeStakeIterator) Next ¶
func (it *HopL2ArbitrumBridgeStakeIterator) 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 HopL2ArbitrumBridgeTransactor ¶
type HopL2ArbitrumBridgeTransactor struct {
// contains filtered or unexported fields
}
HopL2ArbitrumBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHopL2ArbitrumBridgeTransactor ¶
func NewHopL2ArbitrumBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*HopL2ArbitrumBridgeTransactor, error)
NewHopL2ArbitrumBridgeTransactor creates a new write-only instance of HopL2ArbitrumBridge, bound to a specific deployed contract.
func (*HopL2ArbitrumBridgeTransactor) AddActiveChainIds ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) AddActiveChainIds(opts *bind.TransactOpts, chainIds []*big.Int) (*types.Transaction, error)
AddActiveChainIds is a paid mutator transaction binding the contract method 0xf8398fa4.
Solidity: function addActiveChainIds(uint256[] chainIds) returns()
func (*HopL2ArbitrumBridgeTransactor) AddBonder ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) AddBonder(opts *bind.TransactOpts, bonder common.Address) (*types.Transaction, error)
AddBonder is a paid mutator transaction binding the contract method 0x5325937f.
Solidity: function addBonder(address bonder) returns()
func (*HopL2ArbitrumBridgeTransactor) BondWithdrawal ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) BondWithdrawal(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int) (*types.Transaction, error)
BondWithdrawal is a paid mutator transaction binding the contract method 0x23c452cd.
Solidity: function bondWithdrawal(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee) returns()
func (*HopL2ArbitrumBridgeTransactor) BondWithdrawalAndDistribute ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) BondWithdrawalAndDistribute(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)
BondWithdrawalAndDistribute is a paid mutator transaction binding the contract method 0x3d12a85a.
Solidity: function bondWithdrawalAndDistribute(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()
func (*HopL2ArbitrumBridgeTransactor) CommitTransfers ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) CommitTransfers(opts *bind.TransactOpts, destinationChainId *big.Int) (*types.Transaction, error)
CommitTransfers is a paid mutator transaction binding the contract method 0x32b949a2.
Solidity: function commitTransfers(uint256 destinationChainId) returns()
func (*HopL2ArbitrumBridgeTransactor) Distribute ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Distribute(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error)
Distribute is a paid mutator transaction binding the contract method 0xcc29a306.
Solidity: function distribute(address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address relayer, uint256 relayerFee) returns()
func (*HopL2ArbitrumBridgeTransactor) RemoveActiveChainIds ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) RemoveActiveChainIds(opts *bind.TransactOpts, chainIds []*big.Int) (*types.Transaction, error)
RemoveActiveChainIds is a paid mutator transaction binding the contract method 0x9f600a0b.
Solidity: function removeActiveChainIds(uint256[] chainIds) returns()
func (*HopL2ArbitrumBridgeTransactor) RemoveBonder ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) RemoveBonder(opts *bind.TransactOpts, bonder common.Address) (*types.Transaction, error)
RemoveBonder is a paid mutator transaction binding the contract method 0x04e6c2c0.
Solidity: function removeBonder(address bonder) returns()
func (*HopL2ArbitrumBridgeTransactor) RescueTransferRoot ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) RescueTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
RescueTransferRoot is a paid mutator transaction binding the contract method 0xcbd1642e.
Solidity: function rescueTransferRoot(bytes32 rootHash, uint256 originalAmount, address recipient) returns()
func (*HopL2ArbitrumBridgeTransactor) Send ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Send(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)
Send is a paid mutator transaction binding the contract method 0xa6bd1b33.
Solidity: function send(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()
func (*HopL2ArbitrumBridgeTransactor) SetAmmWrapper ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetAmmWrapper(opts *bind.TransactOpts, _ammWrapper common.Address) (*types.Transaction, error)
SetAmmWrapper is a paid mutator transaction binding the contract method 0x64c6fdb4.
Solidity: function setAmmWrapper(address _ammWrapper) returns()
func (*HopL2ArbitrumBridgeTransactor) SetHopBridgeTokenOwner ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetHopBridgeTokenOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
SetHopBridgeTokenOwner is a paid mutator transaction binding the contract method 0x8295f258.
Solidity: function setHopBridgeTokenOwner(address newOwner) returns()
func (*HopL2ArbitrumBridgeTransactor) SetL1BridgeAddress ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetL1BridgeAddress(opts *bind.TransactOpts, _l1BridgeAddress common.Address) (*types.Transaction, error)
SetL1BridgeAddress is a paid mutator transaction binding the contract method 0xe1825d06.
Solidity: function setL1BridgeAddress(address _l1BridgeAddress) returns()
func (*HopL2ArbitrumBridgeTransactor) SetL1BridgeCaller ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetL1BridgeCaller(opts *bind.TransactOpts, _l1BridgeCaller common.Address) (*types.Transaction, error)
SetL1BridgeCaller is a paid mutator transaction binding the contract method 0xaf33ae69.
Solidity: function setL1BridgeCaller(address _l1BridgeCaller) returns()
func (*HopL2ArbitrumBridgeTransactor) SetL1Governance ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetL1Governance(opts *bind.TransactOpts, _l1Governance common.Address) (*types.Transaction, error)
SetL1Governance is a paid mutator transaction binding the contract method 0xe40272d7.
Solidity: function setL1Governance(address _l1Governance) returns()
func (*HopL2ArbitrumBridgeTransactor) SetMaxPendingTransfers ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetMaxPendingTransfers(opts *bind.TransactOpts, _maxPendingTransfers *big.Int) (*types.Transaction, error)
SetMaxPendingTransfers is a paid mutator transaction binding the contract method 0x4742bbfb.
Solidity: function setMaxPendingTransfers(uint256 _maxPendingTransfers) returns()
func (*HopL2ArbitrumBridgeTransactor) SetMessenger ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetMessenger(opts *bind.TransactOpts, _messenger common.Address) (*types.Transaction, error)
SetMessenger is a paid mutator transaction binding the contract method 0x66285967.
Solidity: function setMessenger(address _messenger) returns()
func (*HopL2ArbitrumBridgeTransactor) SetMinimumBonderFeeRequirements ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetMinimumBonderFeeRequirements(opts *bind.TransactOpts, _minBonderBps *big.Int, _minBonderFeeAbsolute *big.Int) (*types.Transaction, error)
SetMinimumBonderFeeRequirements is a paid mutator transaction binding the contract method 0xa9fa4ed5.
Solidity: function setMinimumBonderFeeRequirements(uint256 _minBonderBps, uint256 _minBonderFeeAbsolute) returns()
func (*HopL2ArbitrumBridgeTransactor) SetMinimumForceCommitDelay ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetMinimumForceCommitDelay(opts *bind.TransactOpts, _minimumForceCommitDelay *big.Int) (*types.Transaction, error)
SetMinimumForceCommitDelay is a paid mutator transaction binding the contract method 0x9bf43028.
Solidity: function setMinimumForceCommitDelay(uint256 _minimumForceCommitDelay) returns()
func (*HopL2ArbitrumBridgeTransactor) SetTransferRoot ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SetTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, totalAmount *big.Int) (*types.Transaction, error)
SetTransferRoot is a paid mutator transaction binding the contract method 0xfd31c5ba.
Solidity: function setTransferRoot(bytes32 rootHash, uint256 totalAmount) returns()
func (*HopL2ArbitrumBridgeTransactor) SettleBondedWithdrawal ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SettleBondedWithdrawal(opts *bind.TransactOpts, bonder common.Address, transferId [32]byte, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error)
SettleBondedWithdrawal is a paid mutator transaction binding the contract method 0xc7525dd3.
Solidity: function settleBondedWithdrawal(address bonder, bytes32 transferId, bytes32 rootHash, uint256 transferRootTotalAmount, uint256 transferIdTreeIndex, bytes32[] siblings, uint256 totalLeaves) returns()
func (*HopL2ArbitrumBridgeTransactor) SettleBondedWithdrawals ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) SettleBondedWithdrawals(opts *bind.TransactOpts, bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
SettleBondedWithdrawals is a paid mutator transaction binding the contract method 0xb162717e.
Solidity: function settleBondedWithdrawals(address bonder, bytes32[] transferIds, uint256 totalAmount) returns()
func (*HopL2ArbitrumBridgeTransactor) Stake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Stake(opts *bind.TransactOpts, bonder common.Address, amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address bonder, uint256 amount) payable returns()
func (*HopL2ArbitrumBridgeTransactor) Unstake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Unstake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 amount) returns()
func (*HopL2ArbitrumBridgeTransactor) Withdraw ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactor) Withdraw(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x0f7aadb7.
Solidity: function withdraw(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline, bytes32 rootHash, uint256 transferRootTotalAmount, uint256 transferIdTreeIndex, bytes32[] siblings, uint256 totalLeaves) returns()
type HopL2ArbitrumBridgeTransactorRaw ¶
type HopL2ArbitrumBridgeTransactorRaw struct {
Contract *HopL2ArbitrumBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
HopL2ArbitrumBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HopL2ArbitrumBridgeTransactorRaw) Transact ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HopL2ArbitrumBridgeTransactorRaw) Transfer ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorRaw) 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 HopL2ArbitrumBridgeTransactorSession ¶
type HopL2ArbitrumBridgeTransactorSession struct { Contract *HopL2ArbitrumBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HopL2ArbitrumBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HopL2ArbitrumBridgeTransactorSession) AddActiveChainIds ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) AddActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)
AddActiveChainIds is a paid mutator transaction binding the contract method 0xf8398fa4.
Solidity: function addActiveChainIds(uint256[] chainIds) returns()
func (*HopL2ArbitrumBridgeTransactorSession) AddBonder ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) AddBonder(bonder common.Address) (*types.Transaction, error)
AddBonder is a paid mutator transaction binding the contract method 0x5325937f.
Solidity: function addBonder(address bonder) returns()
func (*HopL2ArbitrumBridgeTransactorSession) BondWithdrawal ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) BondWithdrawal(recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int) (*types.Transaction, error)
BondWithdrawal is a paid mutator transaction binding the contract method 0x23c452cd.
Solidity: function bondWithdrawal(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee) returns()
func (*HopL2ArbitrumBridgeTransactorSession) BondWithdrawalAndDistribute ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) BondWithdrawalAndDistribute(recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)
BondWithdrawalAndDistribute is a paid mutator transaction binding the contract method 0x3d12a85a.
Solidity: function bondWithdrawalAndDistribute(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()
func (*HopL2ArbitrumBridgeTransactorSession) CommitTransfers ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) CommitTransfers(destinationChainId *big.Int) (*types.Transaction, error)
CommitTransfers is a paid mutator transaction binding the contract method 0x32b949a2.
Solidity: function commitTransfers(uint256 destinationChainId) returns()
func (*HopL2ArbitrumBridgeTransactorSession) Distribute ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) Distribute(recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error)
Distribute is a paid mutator transaction binding the contract method 0xcc29a306.
Solidity: function distribute(address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address relayer, uint256 relayerFee) returns()
func (*HopL2ArbitrumBridgeTransactorSession) RemoveActiveChainIds ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) RemoveActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)
RemoveActiveChainIds is a paid mutator transaction binding the contract method 0x9f600a0b.
Solidity: function removeActiveChainIds(uint256[] chainIds) returns()
func (*HopL2ArbitrumBridgeTransactorSession) RemoveBonder ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) RemoveBonder(bonder common.Address) (*types.Transaction, error)
RemoveBonder is a paid mutator transaction binding the contract method 0x04e6c2c0.
Solidity: function removeBonder(address bonder) returns()
func (*HopL2ArbitrumBridgeTransactorSession) RescueTransferRoot ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) RescueTransferRoot(rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
RescueTransferRoot is a paid mutator transaction binding the contract method 0xcbd1642e.
Solidity: function rescueTransferRoot(bytes32 rootHash, uint256 originalAmount, address recipient) returns()
func (*HopL2ArbitrumBridgeTransactorSession) Send ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) Send(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)
Send is a paid mutator transaction binding the contract method 0xa6bd1b33.
Solidity: function send(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SetAmmWrapper ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetAmmWrapper(_ammWrapper common.Address) (*types.Transaction, error)
SetAmmWrapper is a paid mutator transaction binding the contract method 0x64c6fdb4.
Solidity: function setAmmWrapper(address _ammWrapper) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SetHopBridgeTokenOwner ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetHopBridgeTokenOwner(newOwner common.Address) (*types.Transaction, error)
SetHopBridgeTokenOwner is a paid mutator transaction binding the contract method 0x8295f258.
Solidity: function setHopBridgeTokenOwner(address newOwner) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SetL1BridgeAddress ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetL1BridgeAddress(_l1BridgeAddress common.Address) (*types.Transaction, error)
SetL1BridgeAddress is a paid mutator transaction binding the contract method 0xe1825d06.
Solidity: function setL1BridgeAddress(address _l1BridgeAddress) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SetL1BridgeCaller ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetL1BridgeCaller(_l1BridgeCaller common.Address) (*types.Transaction, error)
SetL1BridgeCaller is a paid mutator transaction binding the contract method 0xaf33ae69.
Solidity: function setL1BridgeCaller(address _l1BridgeCaller) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SetL1Governance ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetL1Governance(_l1Governance common.Address) (*types.Transaction, error)
SetL1Governance is a paid mutator transaction binding the contract method 0xe40272d7.
Solidity: function setL1Governance(address _l1Governance) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SetMaxPendingTransfers ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetMaxPendingTransfers(_maxPendingTransfers *big.Int) (*types.Transaction, error)
SetMaxPendingTransfers is a paid mutator transaction binding the contract method 0x4742bbfb.
Solidity: function setMaxPendingTransfers(uint256 _maxPendingTransfers) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SetMessenger ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetMessenger(_messenger common.Address) (*types.Transaction, error)
SetMessenger is a paid mutator transaction binding the contract method 0x66285967.
Solidity: function setMessenger(address _messenger) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SetMinimumBonderFeeRequirements ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetMinimumBonderFeeRequirements(_minBonderBps *big.Int, _minBonderFeeAbsolute *big.Int) (*types.Transaction, error)
SetMinimumBonderFeeRequirements is a paid mutator transaction binding the contract method 0xa9fa4ed5.
Solidity: function setMinimumBonderFeeRequirements(uint256 _minBonderBps, uint256 _minBonderFeeAbsolute) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SetMinimumForceCommitDelay ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetMinimumForceCommitDelay(_minimumForceCommitDelay *big.Int) (*types.Transaction, error)
SetMinimumForceCommitDelay is a paid mutator transaction binding the contract method 0x9bf43028.
Solidity: function setMinimumForceCommitDelay(uint256 _minimumForceCommitDelay) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SetTransferRoot ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (*types.Transaction, error)
SetTransferRoot is a paid mutator transaction binding the contract method 0xfd31c5ba.
Solidity: function setTransferRoot(bytes32 rootHash, uint256 totalAmount) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SettleBondedWithdrawal ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error)
SettleBondedWithdrawal is a paid mutator transaction binding the contract method 0xc7525dd3.
Solidity: function settleBondedWithdrawal(address bonder, bytes32 transferId, bytes32 rootHash, uint256 transferRootTotalAmount, uint256 transferIdTreeIndex, bytes32[] siblings, uint256 totalLeaves) returns()
func (*HopL2ArbitrumBridgeTransactorSession) SettleBondedWithdrawals ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) SettleBondedWithdrawals(bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
SettleBondedWithdrawals is a paid mutator transaction binding the contract method 0xb162717e.
Solidity: function settleBondedWithdrawals(address bonder, bytes32[] transferIds, uint256 totalAmount) returns()
func (*HopL2ArbitrumBridgeTransactorSession) Stake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) Stake(bonder common.Address, amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address bonder, uint256 amount) payable returns()
func (*HopL2ArbitrumBridgeTransactorSession) Unstake ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) Unstake(amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 amount) returns()
func (*HopL2ArbitrumBridgeTransactorSession) Withdraw ¶
func (_HopL2ArbitrumBridge *HopL2ArbitrumBridgeTransactorSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, rootHash [32]byte, transferRootTotalAmount *big.Int, transferIdTreeIndex *big.Int, siblings [][32]byte, totalLeaves *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x0f7aadb7.
Solidity: function withdraw(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline, bytes32 rootHash, uint256 transferRootTotalAmount, uint256 transferIdTreeIndex, bytes32[] siblings, uint256 totalLeaves) returns()
type HopL2ArbitrumBridgeTransferFromL1Completed ¶
type HopL2ArbitrumBridgeTransferFromL1Completed struct { Recipient common.Address Amount *big.Int AmountOutMin *big.Int Deadline *big.Int Relayer common.Address RelayerFee *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeTransferFromL1Completed represents a TransferFromL1Completed event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeTransferFromL1CompletedIterator ¶
type HopL2ArbitrumBridgeTransferFromL1CompletedIterator struct { Event *HopL2ArbitrumBridgeTransferFromL1Completed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeTransferFromL1CompletedIterator is returned from FilterTransferFromL1Completed and is used to iterate over the raw logs and unpacked data for TransferFromL1Completed events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeTransferFromL1CompletedIterator) Close ¶
func (it *HopL2ArbitrumBridgeTransferFromL1CompletedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeTransferFromL1CompletedIterator) Error ¶
func (it *HopL2ArbitrumBridgeTransferFromL1CompletedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeTransferFromL1CompletedIterator) Next ¶
func (it *HopL2ArbitrumBridgeTransferFromL1CompletedIterator) 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 HopL2ArbitrumBridgeTransferRootSet ¶
type HopL2ArbitrumBridgeTransferRootSet struct { RootHash [32]byte TotalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeTransferRootSet represents a TransferRootSet event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeTransferRootSetIterator ¶
type HopL2ArbitrumBridgeTransferRootSetIterator struct { Event *HopL2ArbitrumBridgeTransferRootSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeTransferRootSetIterator is returned from FilterTransferRootSet and is used to iterate over the raw logs and unpacked data for TransferRootSet events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeTransferRootSetIterator) Close ¶
func (it *HopL2ArbitrumBridgeTransferRootSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeTransferRootSetIterator) Error ¶
func (it *HopL2ArbitrumBridgeTransferRootSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeTransferRootSetIterator) Next ¶
func (it *HopL2ArbitrumBridgeTransferRootSetIterator) 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 HopL2ArbitrumBridgeTransferSent ¶
type HopL2ArbitrumBridgeTransferSent struct { TransferId [32]byte ChainId *big.Int Recipient common.Address Amount *big.Int TransferNonce [32]byte BonderFee *big.Int Index *big.Int AmountOutMin *big.Int Deadline *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeTransferSent represents a TransferSent event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeTransferSentIterator ¶
type HopL2ArbitrumBridgeTransferSentIterator struct { Event *HopL2ArbitrumBridgeTransferSent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeTransferSentIterator is returned from FilterTransferSent and is used to iterate over the raw logs and unpacked data for TransferSent events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeTransferSentIterator) Close ¶
func (it *HopL2ArbitrumBridgeTransferSentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeTransferSentIterator) Error ¶
func (it *HopL2ArbitrumBridgeTransferSentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeTransferSentIterator) Next ¶
func (it *HopL2ArbitrumBridgeTransferSentIterator) 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 HopL2ArbitrumBridgeTransfersCommitted ¶
type HopL2ArbitrumBridgeTransfersCommitted struct { DestinationChainId *big.Int RootHash [32]byte TotalAmount *big.Int RootCommittedAt *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeTransfersCommitted represents a TransfersCommitted event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeTransfersCommittedIterator ¶
type HopL2ArbitrumBridgeTransfersCommittedIterator struct { Event *HopL2ArbitrumBridgeTransfersCommitted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeTransfersCommittedIterator is returned from FilterTransfersCommitted and is used to iterate over the raw logs and unpacked data for TransfersCommitted events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeTransfersCommittedIterator) Close ¶
func (it *HopL2ArbitrumBridgeTransfersCommittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeTransfersCommittedIterator) Error ¶
func (it *HopL2ArbitrumBridgeTransfersCommittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeTransfersCommittedIterator) Next ¶
func (it *HopL2ArbitrumBridgeTransfersCommittedIterator) 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 HopL2ArbitrumBridgeUnstake ¶
type HopL2ArbitrumBridgeUnstake struct { Account common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeUnstake represents a Unstake event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeUnstakeIterator ¶
type HopL2ArbitrumBridgeUnstakeIterator struct { Event *HopL2ArbitrumBridgeUnstake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeUnstakeIterator is returned from FilterUnstake and is used to iterate over the raw logs and unpacked data for Unstake events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeUnstakeIterator) Close ¶
func (it *HopL2ArbitrumBridgeUnstakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeUnstakeIterator) Error ¶
func (it *HopL2ArbitrumBridgeUnstakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeUnstakeIterator) Next ¶
func (it *HopL2ArbitrumBridgeUnstakeIterator) 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 HopL2ArbitrumBridgeWithdrawalBondSettled ¶
type HopL2ArbitrumBridgeWithdrawalBondSettled struct { Bonder common.Address TransferId [32]byte RootHash [32]byte Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeWithdrawalBondSettled represents a WithdrawalBondSettled event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeWithdrawalBondSettledIterator ¶
type HopL2ArbitrumBridgeWithdrawalBondSettledIterator struct { Event *HopL2ArbitrumBridgeWithdrawalBondSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeWithdrawalBondSettledIterator is returned from FilterWithdrawalBondSettled and is used to iterate over the raw logs and unpacked data for WithdrawalBondSettled events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeWithdrawalBondSettledIterator) Close ¶
func (it *HopL2ArbitrumBridgeWithdrawalBondSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeWithdrawalBondSettledIterator) Error ¶
func (it *HopL2ArbitrumBridgeWithdrawalBondSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeWithdrawalBondSettledIterator) Next ¶
func (it *HopL2ArbitrumBridgeWithdrawalBondSettledIterator) 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 HopL2ArbitrumBridgeWithdrawalBonded ¶
type HopL2ArbitrumBridgeWithdrawalBonded struct { TransferId [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeWithdrawalBonded represents a WithdrawalBonded event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeWithdrawalBondedIterator ¶
type HopL2ArbitrumBridgeWithdrawalBondedIterator struct { Event *HopL2ArbitrumBridgeWithdrawalBonded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeWithdrawalBondedIterator is returned from FilterWithdrawalBonded and is used to iterate over the raw logs and unpacked data for WithdrawalBonded events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeWithdrawalBondedIterator) Close ¶
func (it *HopL2ArbitrumBridgeWithdrawalBondedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeWithdrawalBondedIterator) Error ¶
func (it *HopL2ArbitrumBridgeWithdrawalBondedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeWithdrawalBondedIterator) Next ¶
func (it *HopL2ArbitrumBridgeWithdrawalBondedIterator) 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 HopL2ArbitrumBridgeWithdrew ¶
type HopL2ArbitrumBridgeWithdrew struct { TransferId [32]byte Recipient common.Address Amount *big.Int TransferNonce [32]byte Raw types.Log // Blockchain specific contextual infos }
HopL2ArbitrumBridgeWithdrew represents a Withdrew event raised by the HopL2ArbitrumBridge contract.
type HopL2ArbitrumBridgeWithdrewIterator ¶
type HopL2ArbitrumBridgeWithdrewIterator struct { Event *HopL2ArbitrumBridgeWithdrew // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2ArbitrumBridgeWithdrewIterator is returned from FilterWithdrew and is used to iterate over the raw logs and unpacked data for Withdrew events raised by the HopL2ArbitrumBridge contract.
func (*HopL2ArbitrumBridgeWithdrewIterator) Close ¶
func (it *HopL2ArbitrumBridgeWithdrewIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2ArbitrumBridgeWithdrewIterator) Error ¶
func (it *HopL2ArbitrumBridgeWithdrewIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2ArbitrumBridgeWithdrewIterator) Next ¶
func (it *HopL2ArbitrumBridgeWithdrewIterator) 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.