Documentation ¶
Index ¶
- Variables
- type BridgeTransferRoot
- type HopL1EthBridge
- type HopL1EthBridgeBonderAdded
- type HopL1EthBridgeBonderAddedIterator
- type HopL1EthBridgeBonderRemoved
- type HopL1EthBridgeBonderRemovedIterator
- type HopL1EthBridgeCaller
- func (_HopL1EthBridge *HopL1EthBridgeCaller) CHALLENGEAMOUNTDIVISOR(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) ChainBalance(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) ChallengePeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) ChallengeResolutionPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) CrossDomainMessengerWrappers(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetBondForTransferAmount(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetBondedWithdrawalAmount(opts *bind.CallOpts, bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetChallengeAmountForTransferAmount(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetCredit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetDebitAndAdditionalDebit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetIsBonder(opts *bind.CallOpts, maybeBonder common.Address) (bool, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetRawDebit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetTimeSlot(opts *bind.CallOpts, time *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetTransferId(opts *bind.CallOpts, chainId *big.Int, recipient common.Address, ...) ([32]byte, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetTransferRoot(opts *bind.CallOpts, rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) GetTransferRootId(opts *bind.CallOpts, rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) Governance(opts *bind.CallOpts) (common.Address, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) IsChainIdPaused(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) IsTransferIdSpent(opts *bind.CallOpts, transferId [32]byte) (bool, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) MinTransferRootBondDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) TIMESLOTSIZE(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) TimeSlotToAmountBonded(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) TransferBonds(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_HopL1EthBridge *HopL1EthBridgeCaller) TransferRootCommittedAt(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
- type HopL1EthBridgeCallerRaw
- type HopL1EthBridgeCallerSession
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) CHALLENGEAMOUNTDIVISOR() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) ChainBalance(arg0 *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) ChallengePeriod() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) ChallengeResolutionPeriod() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) CrossDomainMessengerWrappers(arg0 *big.Int) (common.Address, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetBondForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetBondedWithdrawalAmount(bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetChainId() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetChallengeAmountForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetCredit(bonder common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetDebitAndAdditionalDebit(bonder common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetIsBonder(maybeBonder common.Address) (bool, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetRawDebit(bonder common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetTimeSlot(time *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, ...) ([32]byte, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetTransferRootId(rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) Governance() (common.Address, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) IsChainIdPaused(arg0 *big.Int) (bool, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) IsTransferIdSpent(transferId [32]byte) (bool, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) MinTransferRootBondDelay() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) TIMESLOTSIZE() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) TimeSlotToAmountBonded(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) TransferBonds(arg0 [32]byte) (struct{ ... }, error)
- func (_HopL1EthBridge *HopL1EthBridgeCallerSession) TransferRootCommittedAt(arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
- type HopL1EthBridgeChallengeResolved
- type HopL1EthBridgeChallengeResolvedIterator
- type HopL1EthBridgeFilterer
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterBonderAdded(opts *bind.FilterOpts, newBonder []common.Address) (*HopL1EthBridgeBonderAddedIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterBonderRemoved(opts *bind.FilterOpts, previousBonder []common.Address) (*HopL1EthBridgeBonderRemovedIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterChallengeResolved(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopL1EthBridgeChallengeResolvedIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterMultipleWithdrawalsSettled(opts *bind.FilterOpts, bonder []common.Address, rootHash [][32]byte) (*HopL1EthBridgeMultipleWithdrawalsSettledIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterStake(opts *bind.FilterOpts, account []common.Address) (*HopL1EthBridgeStakeIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterTransferBondChallenged(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopL1EthBridgeTransferBondChallengedIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterTransferRootBonded(opts *bind.FilterOpts, root [][32]byte) (*HopL1EthBridgeTransferRootBondedIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterTransferRootConfirmed(opts *bind.FilterOpts, originChainId []*big.Int, destinationChainId []*big.Int, ...) (*HopL1EthBridgeTransferRootConfirmedIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterTransferRootSet(opts *bind.FilterOpts, rootHash [][32]byte) (*HopL1EthBridgeTransferRootSetIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterTransferSentToL2(opts *bind.FilterOpts, chainId []*big.Int, recipient []common.Address, ...) (*HopL1EthBridgeTransferSentToL2Iterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterUnstake(opts *bind.FilterOpts, account []common.Address) (*HopL1EthBridgeUnstakeIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterWithdrawalBondSettled(opts *bind.FilterOpts, bonder []common.Address, transferId [][32]byte, ...) (*HopL1EthBridgeWithdrawalBondSettledIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterWithdrawalBonded(opts *bind.FilterOpts, transferId [][32]byte) (*HopL1EthBridgeWithdrawalBondedIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterWithdrew(opts *bind.FilterOpts, transferId [][32]byte, recipient []common.Address) (*HopL1EthBridgeWithdrewIterator, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseBonderAdded(log types.Log) (*HopL1EthBridgeBonderAdded, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseBonderRemoved(log types.Log) (*HopL1EthBridgeBonderRemoved, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseChallengeResolved(log types.Log) (*HopL1EthBridgeChallengeResolved, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseMultipleWithdrawalsSettled(log types.Log) (*HopL1EthBridgeMultipleWithdrawalsSettled, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseStake(log types.Log) (*HopL1EthBridgeStake, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseTransferBondChallenged(log types.Log) (*HopL1EthBridgeTransferBondChallenged, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseTransferRootBonded(log types.Log) (*HopL1EthBridgeTransferRootBonded, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseTransferRootConfirmed(log types.Log) (*HopL1EthBridgeTransferRootConfirmed, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseTransferRootSet(log types.Log) (*HopL1EthBridgeTransferRootSet, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseTransferSentToL2(log types.Log) (*HopL1EthBridgeTransferSentToL2, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseUnstake(log types.Log) (*HopL1EthBridgeUnstake, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseWithdrawalBondSettled(log types.Log) (*HopL1EthBridgeWithdrawalBondSettled, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseWithdrawalBonded(log types.Log) (*HopL1EthBridgeWithdrawalBonded, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseWithdrew(log types.Log) (*HopL1EthBridgeWithdrew, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchBonderAdded(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeBonderAdded, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchBonderRemoved(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeBonderRemoved, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchChallengeResolved(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeChallengeResolved, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchMultipleWithdrawalsSettled(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeMultipleWithdrawalsSettled, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeStake, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchTransferBondChallenged(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeTransferBondChallenged, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchTransferRootBonded(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeTransferRootBonded, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchTransferRootConfirmed(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeTransferRootConfirmed, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchTransferRootSet(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeTransferRootSet, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchTransferSentToL2(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeTransferSentToL2, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeUnstake, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchWithdrawalBondSettled(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeWithdrawalBondSettled, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchWithdrawalBonded(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeWithdrawalBonded, ...) (event.Subscription, error)
- func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeWithdrew, ...) (event.Subscription, error)
- type HopL1EthBridgeMultipleWithdrawalsSettled
- type HopL1EthBridgeMultipleWithdrawalsSettledIterator
- type HopL1EthBridgeRaw
- func (_HopL1EthBridge *HopL1EthBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_HopL1EthBridge *HopL1EthBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HopL1EthBridgeSession
- func (_HopL1EthBridge *HopL1EthBridgeSession) AddBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) BondTransferRoot(rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) BondWithdrawal(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) CHALLENGEAMOUNTDIVISOR() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) ChainBalance(arg0 *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) ChallengePeriod() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) ChallengeResolutionPeriod() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) ConfirmTransferRoot(originChainId *big.Int, rootHash [32]byte, destinationChainId *big.Int, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) CrossDomainMessengerWrappers(arg0 *big.Int) (common.Address, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetBondForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetBondedWithdrawalAmount(bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetChainId() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetChallengeAmountForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetCredit(bonder common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetDebitAndAdditionalDebit(bonder common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetIsBonder(maybeBonder common.Address) (bool, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetRawDebit(bonder common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetTimeSlot(time *big.Int) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, ...) ([32]byte, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) GetTransferRootId(rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) Governance() (common.Address, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) IsChainIdPaused(arg0 *big.Int) (bool, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) IsTransferIdSpent(transferId [32]byte) (bool, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) MinTransferRootBondDelay() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) RemoveBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) RescueTransferRoot(rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) SetChainIdDepositsPaused(chainId *big.Int, isPaused bool) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) SetChallengePeriod(_challengePeriod *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) SetChallengeResolutionPeriod(_challengeResolutionPeriod *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) SetCrossDomainMessengerWrapper(chainId *big.Int, _crossDomainMessengerWrapper common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) SetGovernance(_newGovernance common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) SetMinTransferRootBondDelay(_minTransferRootBondDelay *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) SettleBondedWithdrawals(bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) Stake(bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) TIMESLOTSIZE() (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) TimeSlotToAmountBonded(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) TransferBonds(arg0 [32]byte) (struct{ ... }, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) TransferRootCommittedAt(arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) Unstake(amount *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- type HopL1EthBridgeStake
- type HopL1EthBridgeStakeIterator
- type HopL1EthBridgeTransactor
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) AddBonder(opts *bind.TransactOpts, bonder common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) BondTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, destinationChainId *big.Int, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) BondWithdrawal(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) ChallengeTransferBond(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) ConfirmTransferRoot(opts *bind.TransactOpts, originChainId *big.Int, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) RemoveBonder(opts *bind.TransactOpts, bonder common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) RescueTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) ResolveChallenge(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) SendToL2(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetChainIdDepositsPaused(opts *bind.TransactOpts, chainId *big.Int, isPaused bool) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetChallengePeriod(opts *bind.TransactOpts, _challengePeriod *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetChallengeResolutionPeriod(opts *bind.TransactOpts, _challengeResolutionPeriod *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetCrossDomainMessengerWrapper(opts *bind.TransactOpts, chainId *big.Int, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetGovernance(opts *bind.TransactOpts, _newGovernance common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetMinTransferRootBondDelay(opts *bind.TransactOpts, _minTransferRootBondDelay *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) SettleBondedWithdrawal(opts *bind.TransactOpts, bonder common.Address, transferId [32]byte, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) SettleBondedWithdrawals(opts *bind.TransactOpts, bonder common.Address, transferIds [][32]byte, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) Stake(opts *bind.TransactOpts, bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) Unstake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactor) Withdraw(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- type HopL1EthBridgeTransactorRaw
- type HopL1EthBridgeTransactorSession
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) AddBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) BondTransferRoot(rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) BondWithdrawal(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) ConfirmTransferRoot(originChainId *big.Int, rootHash [32]byte, destinationChainId *big.Int, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) RemoveBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) RescueTransferRoot(rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetChainIdDepositsPaused(chainId *big.Int, isPaused bool) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetChallengePeriod(_challengePeriod *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetChallengeResolutionPeriod(_challengeResolutionPeriod *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetCrossDomainMessengerWrapper(chainId *big.Int, _crossDomainMessengerWrapper common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetGovernance(_newGovernance common.Address) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetMinTransferRootBondDelay(_minTransferRootBondDelay *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SettleBondedWithdrawals(bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) Stake(bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) Unstake(amount *big.Int) (*types.Transaction, error)
- func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- type HopL1EthBridgeTransferBondChallenged
- type HopL1EthBridgeTransferBondChallengedIterator
- type HopL1EthBridgeTransferRootBonded
- type HopL1EthBridgeTransferRootBondedIterator
- type HopL1EthBridgeTransferRootConfirmed
- type HopL1EthBridgeTransferRootConfirmedIterator
- type HopL1EthBridgeTransferRootSet
- type HopL1EthBridgeTransferRootSetIterator
- type HopL1EthBridgeTransferSentToL2
- type HopL1EthBridgeTransferSentToL2Iterator
- type HopL1EthBridgeUnstake
- type HopL1EthBridgeUnstakeIterator
- type HopL1EthBridgeWithdrawalBondSettled
- type HopL1EthBridgeWithdrawalBondSettledIterator
- type HopL1EthBridgeWithdrawalBonded
- type HopL1EthBridgeWithdrawalBondedIterator
- type HopL1EthBridgeWithdrew
- type HopL1EthBridgeWithdrewIterator
Constants ¶
This section is empty.
Variables ¶
var HopL1EthBridgeABI = HopL1EthBridgeMetaData.ABI
HopL1EthBridgeABI is the input ABI used to generate the binding from. Deprecated: Use HopL1EthBridgeMetaData.ABI instead.
var HopL1EthBridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"bonders\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"_governance\",\"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\":\"bytes32\",\"name\":\"transferRootId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"}],\"name\":\"ChallengeResolved\",\"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\":\"bytes32\",\"name\":\"transferRootId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"}],\"name\":\"TransferBondChallenged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TransferRootBonded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"originChainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"TransferRootConfirmed\",\"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\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"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\":\"TransferSentToL2\",\"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\":[],\"name\":\"CHALLENGE_AMOUNT_DIVISOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TIME_SLOT_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"addBonder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"bondTransferRoot\",\"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\"}],\"name\":\"bondWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"chainBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"challengePeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"challengeResolutionPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"}],\"name\":\"challengeTransferBond\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"originChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rootCommittedAt\",\"type\":\"uint256\"}],\"name\":\"confirmTransferRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"crossDomainMessengerWrappers\",\"outputs\":[{\"internalType\":\"contractIMessengerWrapper\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getBondForTransferAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"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\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getChallengeAmountForTransferAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"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\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"getRawDebit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"getTimeSlot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"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\":\"governance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"isChainIdPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":\"minTransferRootBondDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"}],\"name\":\"resolveChallenge\",\"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\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"relayerFee\",\"type\":\"uint256\"}],\"name\":\"sendToL2\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isPaused\",\"type\":\"bool\"}],\"name\":\"setChainIdDepositsPaused\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_challengePeriod\",\"type\":\"uint256\"}],\"name\":\"setChallengePeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_challengeResolutionPeriod\",\"type\":\"uint256\"}],\"name\":\"setChallengeResolutionPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"contractIMessengerWrapper\",\"name\":\"_crossDomainMessengerWrapper\",\"type\":\"address\"}],\"name\":\"setCrossDomainMessengerWrapper\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGovernance\",\"type\":\"address\"}],\"name\":\"setGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minTransferRootBondDelay\",\"type\":\"uint256\"}],\"name\":\"setMinTransferRootBondDelay\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"timeSlotToAmountBonded\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"transferBonds\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"createdAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"challengeStartTime\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"challenger\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"challengeResolved\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"transferRootCommittedAt\",\"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\"}]",
}
HopL1EthBridgeMetaData contains all meta data concerning the HopL1EthBridge contract.
Functions ¶
This section is empty.
Types ¶
type BridgeTransferRoot ¶
BridgeTransferRoot is an auto generated low-level Go binding around an user-defined struct.
type HopL1EthBridge ¶
type HopL1EthBridge struct { HopL1EthBridgeCaller // Read-only binding to the contract HopL1EthBridgeTransactor // Write-only binding to the contract HopL1EthBridgeFilterer // Log filterer for contract events }
HopL1EthBridge is an auto generated Go binding around an Ethereum contract.
func NewHopL1EthBridge ¶
func NewHopL1EthBridge(address common.Address, backend bind.ContractBackend) (*HopL1EthBridge, error)
NewHopL1EthBridge creates a new instance of HopL1EthBridge, bound to a specific deployed contract.
type HopL1EthBridgeBonderAdded ¶
type HopL1EthBridgeBonderAdded struct { NewBonder common.Address Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeBonderAdded represents a BonderAdded event raised by the HopL1EthBridge contract.
type HopL1EthBridgeBonderAddedIterator ¶
type HopL1EthBridgeBonderAddedIterator struct { Event *HopL1EthBridgeBonderAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeBonderAddedIterator is returned from FilterBonderAdded and is used to iterate over the raw logs and unpacked data for BonderAdded events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeBonderAddedIterator) Close ¶
func (it *HopL1EthBridgeBonderAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeBonderAddedIterator) Error ¶
func (it *HopL1EthBridgeBonderAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeBonderAddedIterator) Next ¶
func (it *HopL1EthBridgeBonderAddedIterator) 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 HopL1EthBridgeBonderRemoved ¶
type HopL1EthBridgeBonderRemoved struct { PreviousBonder common.Address Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeBonderRemoved represents a BonderRemoved event raised by the HopL1EthBridge contract.
type HopL1EthBridgeBonderRemovedIterator ¶
type HopL1EthBridgeBonderRemovedIterator struct { Event *HopL1EthBridgeBonderRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeBonderRemovedIterator is returned from FilterBonderRemoved and is used to iterate over the raw logs and unpacked data for BonderRemoved events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeBonderRemovedIterator) Close ¶
func (it *HopL1EthBridgeBonderRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeBonderRemovedIterator) Error ¶
func (it *HopL1EthBridgeBonderRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeBonderRemovedIterator) Next ¶
func (it *HopL1EthBridgeBonderRemovedIterator) 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 HopL1EthBridgeCaller ¶
type HopL1EthBridgeCaller struct {
// contains filtered or unexported fields
}
HopL1EthBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHopL1EthBridgeCaller ¶
func NewHopL1EthBridgeCaller(address common.Address, caller bind.ContractCaller) (*HopL1EthBridgeCaller, error)
NewHopL1EthBridgeCaller creates a new read-only instance of HopL1EthBridge, bound to a specific deployed contract.
func (*HopL1EthBridgeCaller) CHALLENGEAMOUNTDIVISOR ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) CHALLENGEAMOUNTDIVISOR(opts *bind.CallOpts) (*big.Int, error)
CHALLENGEAMOUNTDIVISOR is a free data retrieval call binding the contract method 0x98c4f76d.
Solidity: function CHALLENGE_AMOUNT_DIVISOR() view returns(uint256)
func (*HopL1EthBridgeCaller) ChainBalance ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) ChainBalance(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
ChainBalance is a free data retrieval call binding the contract method 0xfc110b67.
Solidity: function chainBalance(uint256 ) view returns(uint256)
func (*HopL1EthBridgeCaller) ChallengePeriod ¶
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256)
func (*HopL1EthBridgeCaller) ChallengeResolutionPeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) ChallengeResolutionPeriod(opts *bind.CallOpts) (*big.Int, error)
ChallengeResolutionPeriod is a free data retrieval call binding the contract method 0x767631d5.
Solidity: function challengeResolutionPeriod() view returns(uint256)
func (*HopL1EthBridgeCaller) CrossDomainMessengerWrappers ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) CrossDomainMessengerWrappers(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
CrossDomainMessengerWrappers is a free data retrieval call binding the contract method 0xa35962f3.
Solidity: function crossDomainMessengerWrappers(uint256 ) view returns(address)
func (*HopL1EthBridgeCaller) GetBondForTransferAmount ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) GetBondForTransferAmount(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)
GetBondForTransferAmount is a free data retrieval call binding the contract method 0xe19be150.
Solidity: function getBondForTransferAmount(uint256 amount) pure returns(uint256)
func (*HopL1EthBridgeCaller) GetBondedWithdrawalAmount ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) 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 (*HopL1EthBridgeCaller) GetChainId ¶
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopL1EthBridgeCaller) GetChallengeAmountForTransferAmount ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) GetChallengeAmountForTransferAmount(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)
GetChallengeAmountForTransferAmount is a free data retrieval call binding the contract method 0xa239f5ee.
Solidity: function getChallengeAmountForTransferAmount(uint256 amount) pure returns(uint256)
func (*HopL1EthBridgeCaller) GetCredit ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) 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 (*HopL1EthBridgeCaller) GetDebitAndAdditionalDebit ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) 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 (*HopL1EthBridgeCaller) GetIsBonder ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) 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 (*HopL1EthBridgeCaller) GetRawDebit ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) 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 (*HopL1EthBridgeCaller) GetTimeSlot ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) GetTimeSlot(opts *bind.CallOpts, time *big.Int) (*big.Int, error)
GetTimeSlot is a free data retrieval call binding the contract method 0x2b85dcc9.
Solidity: function getTimeSlot(uint256 time) pure returns(uint256)
func (*HopL1EthBridgeCaller) GetTransferId ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) 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 (*HopL1EthBridgeCaller) GetTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) 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 (*HopL1EthBridgeCaller) GetTransferRootId ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) 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 (*HopL1EthBridgeCaller) Governance ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) Governance(opts *bind.CallOpts) (common.Address, error)
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*HopL1EthBridgeCaller) IsChainIdPaused ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) IsChainIdPaused(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
IsChainIdPaused is a free data retrieval call binding the contract method 0xfa2a69a3.
Solidity: function isChainIdPaused(uint256 ) view returns(bool)
func (*HopL1EthBridgeCaller) IsTransferIdSpent ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) 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 (*HopL1EthBridgeCaller) MinTransferRootBondDelay ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) MinTransferRootBondDelay(opts *bind.CallOpts) (*big.Int, error)
MinTransferRootBondDelay is a free data retrieval call binding the contract method 0x6cff06a7.
Solidity: function minTransferRootBondDelay() view returns(uint256)
func (*HopL1EthBridgeCaller) TIMESLOTSIZE ¶
TIMESLOTSIZE is a free data retrieval call binding the contract method 0x4de8c6e6.
Solidity: function TIME_SLOT_SIZE() view returns(uint256)
func (*HopL1EthBridgeCaller) TimeSlotToAmountBonded ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) TimeSlotToAmountBonded(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)
TimeSlotToAmountBonded is a free data retrieval call binding the contract method 0x7398d282.
Solidity: function timeSlotToAmountBonded(uint256 , address ) view returns(uint256)
func (*HopL1EthBridgeCaller) TransferBonds ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) TransferBonds(opts *bind.CallOpts, arg0 [32]byte) (struct { Bonder common.Address CreatedAt *big.Int TotalAmount *big.Int ChallengeStartTime *big.Int Challenger common.Address ChallengeResolved bool }, error)
TransferBonds is a free data retrieval call binding the contract method 0x5a7e1083.
Solidity: function transferBonds(bytes32 ) view returns(address bonder, uint256 createdAt, uint256 totalAmount, uint256 challengeStartTime, address challenger, bool challengeResolved)
func (*HopL1EthBridgeCaller) TransferRootCommittedAt ¶
func (_HopL1EthBridge *HopL1EthBridgeCaller) TransferRootCommittedAt(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
TransferRootCommittedAt is a free data retrieval call binding the contract method 0x3b8fea28.
Solidity: function transferRootCommittedAt(uint256 , bytes32 ) view returns(uint256)
type HopL1EthBridgeCallerRaw ¶
type HopL1EthBridgeCallerRaw struct {
Contract *HopL1EthBridgeCaller // Generic read-only contract binding to access the raw methods on
}
HopL1EthBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HopL1EthBridgeCallerRaw) Call ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerRaw) 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 HopL1EthBridgeCallerSession ¶
type HopL1EthBridgeCallerSession struct { Contract *HopL1EthBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HopL1EthBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HopL1EthBridgeCallerSession) CHALLENGEAMOUNTDIVISOR ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) CHALLENGEAMOUNTDIVISOR() (*big.Int, error)
CHALLENGEAMOUNTDIVISOR is a free data retrieval call binding the contract method 0x98c4f76d.
Solidity: function CHALLENGE_AMOUNT_DIVISOR() view returns(uint256)
func (*HopL1EthBridgeCallerSession) ChainBalance ¶
ChainBalance is a free data retrieval call binding the contract method 0xfc110b67.
Solidity: function chainBalance(uint256 ) view returns(uint256)
func (*HopL1EthBridgeCallerSession) ChallengePeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) ChallengePeriod() (*big.Int, error)
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256)
func (*HopL1EthBridgeCallerSession) ChallengeResolutionPeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) ChallengeResolutionPeriod() (*big.Int, error)
ChallengeResolutionPeriod is a free data retrieval call binding the contract method 0x767631d5.
Solidity: function challengeResolutionPeriod() view returns(uint256)
func (*HopL1EthBridgeCallerSession) CrossDomainMessengerWrappers ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) CrossDomainMessengerWrappers(arg0 *big.Int) (common.Address, error)
CrossDomainMessengerWrappers is a free data retrieval call binding the contract method 0xa35962f3.
Solidity: function crossDomainMessengerWrappers(uint256 ) view returns(address)
func (*HopL1EthBridgeCallerSession) GetBondForTransferAmount ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetBondForTransferAmount(amount *big.Int) (*big.Int, error)
GetBondForTransferAmount is a free data retrieval call binding the contract method 0xe19be150.
Solidity: function getBondForTransferAmount(uint256 amount) pure returns(uint256)
func (*HopL1EthBridgeCallerSession) GetBondedWithdrawalAmount ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) 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 (*HopL1EthBridgeCallerSession) GetChainId ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopL1EthBridgeCallerSession) GetChallengeAmountForTransferAmount ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) GetChallengeAmountForTransferAmount(amount *big.Int) (*big.Int, error)
GetChallengeAmountForTransferAmount is a free data retrieval call binding the contract method 0xa239f5ee.
Solidity: function getChallengeAmountForTransferAmount(uint256 amount) pure returns(uint256)
func (*HopL1EthBridgeCallerSession) GetCredit ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) 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 (*HopL1EthBridgeCallerSession) GetDebitAndAdditionalDebit ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) 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 (*HopL1EthBridgeCallerSession) GetIsBonder ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) 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 (*HopL1EthBridgeCallerSession) GetRawDebit ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) 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 (*HopL1EthBridgeCallerSession) GetTimeSlot ¶
GetTimeSlot is a free data retrieval call binding the contract method 0x2b85dcc9.
Solidity: function getTimeSlot(uint256 time) pure returns(uint256)
func (*HopL1EthBridgeCallerSession) GetTransferId ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) 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 (*HopL1EthBridgeCallerSession) GetTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) 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 (*HopL1EthBridgeCallerSession) GetTransferRootId ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) 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 (*HopL1EthBridgeCallerSession) Governance ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) Governance() (common.Address, error)
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*HopL1EthBridgeCallerSession) IsChainIdPaused ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) IsChainIdPaused(arg0 *big.Int) (bool, error)
IsChainIdPaused is a free data retrieval call binding the contract method 0xfa2a69a3.
Solidity: function isChainIdPaused(uint256 ) view returns(bool)
func (*HopL1EthBridgeCallerSession) IsTransferIdSpent ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) 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 (*HopL1EthBridgeCallerSession) MinTransferRootBondDelay ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) MinTransferRootBondDelay() (*big.Int, error)
MinTransferRootBondDelay is a free data retrieval call binding the contract method 0x6cff06a7.
Solidity: function minTransferRootBondDelay() view returns(uint256)
func (*HopL1EthBridgeCallerSession) TIMESLOTSIZE ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) TIMESLOTSIZE() (*big.Int, error)
TIMESLOTSIZE is a free data retrieval call binding the contract method 0x4de8c6e6.
Solidity: function TIME_SLOT_SIZE() view returns(uint256)
func (*HopL1EthBridgeCallerSession) TimeSlotToAmountBonded ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) TimeSlotToAmountBonded(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
TimeSlotToAmountBonded is a free data retrieval call binding the contract method 0x7398d282.
Solidity: function timeSlotToAmountBonded(uint256 , address ) view returns(uint256)
func (*HopL1EthBridgeCallerSession) TransferBonds ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) TransferBonds(arg0 [32]byte) (struct { Bonder common.Address CreatedAt *big.Int TotalAmount *big.Int ChallengeStartTime *big.Int Challenger common.Address ChallengeResolved bool }, error)
TransferBonds is a free data retrieval call binding the contract method 0x5a7e1083.
Solidity: function transferBonds(bytes32 ) view returns(address bonder, uint256 createdAt, uint256 totalAmount, uint256 challengeStartTime, address challenger, bool challengeResolved)
func (*HopL1EthBridgeCallerSession) TransferRootCommittedAt ¶
func (_HopL1EthBridge *HopL1EthBridgeCallerSession) TransferRootCommittedAt(arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
TransferRootCommittedAt is a free data retrieval call binding the contract method 0x3b8fea28.
Solidity: function transferRootCommittedAt(uint256 , bytes32 ) view returns(uint256)
type HopL1EthBridgeChallengeResolved ¶
type HopL1EthBridgeChallengeResolved struct { TransferRootId [32]byte RootHash [32]byte OriginalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeChallengeResolved represents a ChallengeResolved event raised by the HopL1EthBridge contract.
type HopL1EthBridgeChallengeResolvedIterator ¶
type HopL1EthBridgeChallengeResolvedIterator struct { Event *HopL1EthBridgeChallengeResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeChallengeResolvedIterator is returned from FilterChallengeResolved and is used to iterate over the raw logs and unpacked data for ChallengeResolved events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeChallengeResolvedIterator) Close ¶
func (it *HopL1EthBridgeChallengeResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeChallengeResolvedIterator) Error ¶
func (it *HopL1EthBridgeChallengeResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeChallengeResolvedIterator) Next ¶
func (it *HopL1EthBridgeChallengeResolvedIterator) 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 HopL1EthBridgeFilterer ¶
type HopL1EthBridgeFilterer struct {
// contains filtered or unexported fields
}
HopL1EthBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHopL1EthBridgeFilterer ¶
func NewHopL1EthBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*HopL1EthBridgeFilterer, error)
NewHopL1EthBridgeFilterer creates a new log filterer instance of HopL1EthBridge, bound to a specific deployed contract.
func (*HopL1EthBridgeFilterer) FilterBonderAdded ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterBonderAdded(opts *bind.FilterOpts, newBonder []common.Address) (*HopL1EthBridgeBonderAddedIterator, error)
FilterBonderAdded is a free log retrieval operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.
Solidity: event BonderAdded(address indexed newBonder)
func (*HopL1EthBridgeFilterer) FilterBonderRemoved ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterBonderRemoved(opts *bind.FilterOpts, previousBonder []common.Address) (*HopL1EthBridgeBonderRemovedIterator, error)
FilterBonderRemoved is a free log retrieval operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.
Solidity: event BonderRemoved(address indexed previousBonder)
func (*HopL1EthBridgeFilterer) FilterChallengeResolved ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterChallengeResolved(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopL1EthBridgeChallengeResolvedIterator, error)
FilterChallengeResolved is a free log retrieval operation binding the contract event 0x4a99228a8a6d774d261be57ab0ed833bb1bae1f22bbbd3d4767b75ad03fdddf7.
Solidity: event ChallengeResolved(bytes32 indexed transferRootId, bytes32 indexed rootHash, uint256 originalAmount)
func (*HopL1EthBridgeFilterer) FilterMultipleWithdrawalsSettled ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterMultipleWithdrawalsSettled(opts *bind.FilterOpts, bonder []common.Address, rootHash [][32]byte) (*HopL1EthBridgeMultipleWithdrawalsSettledIterator, 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 (*HopL1EthBridgeFilterer) FilterStake ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterStake(opts *bind.FilterOpts, account []common.Address) (*HopL1EthBridgeStakeIterator, error)
FilterStake is a free log retrieval operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address indexed account, uint256 amount)
func (*HopL1EthBridgeFilterer) FilterTransferBondChallenged ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterTransferBondChallenged(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopL1EthBridgeTransferBondChallengedIterator, error)
FilterTransferBondChallenged is a free log retrieval operation binding the contract event 0xec2697dcba539a0ac947cdf1f6d0b6314c065429eca8be2435859b10209d4c27.
Solidity: event TransferBondChallenged(bytes32 indexed transferRootId, bytes32 indexed rootHash, uint256 originalAmount)
func (*HopL1EthBridgeFilterer) FilterTransferRootBonded ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterTransferRootBonded(opts *bind.FilterOpts, root [][32]byte) (*HopL1EthBridgeTransferRootBondedIterator, error)
FilterTransferRootBonded is a free log retrieval operation binding the contract event 0xa57b3e1f3af9eca02201028629700658608222c365064584cfe65d9630ef4f7b.
Solidity: event TransferRootBonded(bytes32 indexed root, uint256 amount)
func (*HopL1EthBridgeFilterer) FilterTransferRootConfirmed ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterTransferRootConfirmed(opts *bind.FilterOpts, originChainId []*big.Int, destinationChainId []*big.Int, rootHash [][32]byte) (*HopL1EthBridgeTransferRootConfirmedIterator, error)
FilterTransferRootConfirmed is a free log retrieval operation binding the contract event 0xfdfb0eefa96935b8a8c0edf528e125dc6f3934fdbbfce31b38967e8ff413dccd.
Solidity: event TransferRootConfirmed(uint256 indexed originChainId, uint256 indexed destinationChainId, bytes32 indexed rootHash, uint256 totalAmount)
func (*HopL1EthBridgeFilterer) FilterTransferRootSet ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterTransferRootSet(opts *bind.FilterOpts, rootHash [][32]byte) (*HopL1EthBridgeTransferRootSetIterator, error)
FilterTransferRootSet is a free log retrieval operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.
Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)
func (*HopL1EthBridgeFilterer) FilterTransferSentToL2 ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterTransferSentToL2(opts *bind.FilterOpts, chainId []*big.Int, recipient []common.Address, relayer []common.Address) (*HopL1EthBridgeTransferSentToL2Iterator, error)
FilterTransferSentToL2 is a free log retrieval operation binding the contract event 0x0a0607688c86ec1775abcdbab7b33a3a35a6c9cde677c9be880150c231cc6b0b.
Solidity: event TransferSentToL2(uint256 indexed chainId, address indexed recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address indexed relayer, uint256 relayerFee)
func (*HopL1EthBridgeFilterer) FilterUnstake ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterUnstake(opts *bind.FilterOpts, account []common.Address) (*HopL1EthBridgeUnstakeIterator, error)
FilterUnstake is a free log retrieval operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.
Solidity: event Unstake(address indexed account, uint256 amount)
func (*HopL1EthBridgeFilterer) FilterWithdrawalBondSettled ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterWithdrawalBondSettled(opts *bind.FilterOpts, bonder []common.Address, transferId [][32]byte, rootHash [][32]byte) (*HopL1EthBridgeWithdrawalBondSettledIterator, 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 (*HopL1EthBridgeFilterer) FilterWithdrawalBonded ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterWithdrawalBonded(opts *bind.FilterOpts, transferId [][32]byte) (*HopL1EthBridgeWithdrawalBondedIterator, error)
FilterWithdrawalBonded is a free log retrieval operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.
Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)
func (*HopL1EthBridgeFilterer) FilterWithdrew ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) FilterWithdrew(opts *bind.FilterOpts, transferId [][32]byte, recipient []common.Address) (*HopL1EthBridgeWithdrewIterator, 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 (*HopL1EthBridgeFilterer) ParseBonderAdded ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseBonderAdded(log types.Log) (*HopL1EthBridgeBonderAdded, error)
ParseBonderAdded is a log parse operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.
Solidity: event BonderAdded(address indexed newBonder)
func (*HopL1EthBridgeFilterer) ParseBonderRemoved ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseBonderRemoved(log types.Log) (*HopL1EthBridgeBonderRemoved, error)
ParseBonderRemoved is a log parse operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.
Solidity: event BonderRemoved(address indexed previousBonder)
func (*HopL1EthBridgeFilterer) ParseChallengeResolved ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseChallengeResolved(log types.Log) (*HopL1EthBridgeChallengeResolved, error)
ParseChallengeResolved is a log parse operation binding the contract event 0x4a99228a8a6d774d261be57ab0ed833bb1bae1f22bbbd3d4767b75ad03fdddf7.
Solidity: event ChallengeResolved(bytes32 indexed transferRootId, bytes32 indexed rootHash, uint256 originalAmount)
func (*HopL1EthBridgeFilterer) ParseMultipleWithdrawalsSettled ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseMultipleWithdrawalsSettled(log types.Log) (*HopL1EthBridgeMultipleWithdrawalsSettled, error)
ParseMultipleWithdrawalsSettled is a log parse operation binding the contract event 0x78e830d08be9d5f957414c84d685c061ecbd8467be98b42ebb64f0118b57d2ff.
Solidity: event MultipleWithdrawalsSettled(address indexed bonder, bytes32 indexed rootHash, uint256 totalBondsSettled)
func (*HopL1EthBridgeFilterer) ParseStake ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseStake(log types.Log) (*HopL1EthBridgeStake, error)
ParseStake is a log parse operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address indexed account, uint256 amount)
func (*HopL1EthBridgeFilterer) ParseTransferBondChallenged ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseTransferBondChallenged(log types.Log) (*HopL1EthBridgeTransferBondChallenged, error)
ParseTransferBondChallenged is a log parse operation binding the contract event 0xec2697dcba539a0ac947cdf1f6d0b6314c065429eca8be2435859b10209d4c27.
Solidity: event TransferBondChallenged(bytes32 indexed transferRootId, bytes32 indexed rootHash, uint256 originalAmount)
func (*HopL1EthBridgeFilterer) ParseTransferRootBonded ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseTransferRootBonded(log types.Log) (*HopL1EthBridgeTransferRootBonded, error)
ParseTransferRootBonded is a log parse operation binding the contract event 0xa57b3e1f3af9eca02201028629700658608222c365064584cfe65d9630ef4f7b.
Solidity: event TransferRootBonded(bytes32 indexed root, uint256 amount)
func (*HopL1EthBridgeFilterer) ParseTransferRootConfirmed ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseTransferRootConfirmed(log types.Log) (*HopL1EthBridgeTransferRootConfirmed, error)
ParseTransferRootConfirmed is a log parse operation binding the contract event 0xfdfb0eefa96935b8a8c0edf528e125dc6f3934fdbbfce31b38967e8ff413dccd.
Solidity: event TransferRootConfirmed(uint256 indexed originChainId, uint256 indexed destinationChainId, bytes32 indexed rootHash, uint256 totalAmount)
func (*HopL1EthBridgeFilterer) ParseTransferRootSet ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseTransferRootSet(log types.Log) (*HopL1EthBridgeTransferRootSet, error)
ParseTransferRootSet is a log parse operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.
Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)
func (*HopL1EthBridgeFilterer) ParseTransferSentToL2 ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseTransferSentToL2(log types.Log) (*HopL1EthBridgeTransferSentToL2, error)
ParseTransferSentToL2 is a log parse operation binding the contract event 0x0a0607688c86ec1775abcdbab7b33a3a35a6c9cde677c9be880150c231cc6b0b.
Solidity: event TransferSentToL2(uint256 indexed chainId, address indexed recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address indexed relayer, uint256 relayerFee)
func (*HopL1EthBridgeFilterer) ParseUnstake ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseUnstake(log types.Log) (*HopL1EthBridgeUnstake, error)
ParseUnstake is a log parse operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.
Solidity: event Unstake(address indexed account, uint256 amount)
func (*HopL1EthBridgeFilterer) ParseWithdrawalBondSettled ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseWithdrawalBondSettled(log types.Log) (*HopL1EthBridgeWithdrawalBondSettled, 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 (*HopL1EthBridgeFilterer) ParseWithdrawalBonded ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseWithdrawalBonded(log types.Log) (*HopL1EthBridgeWithdrawalBonded, error)
ParseWithdrawalBonded is a log parse operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.
Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)
func (*HopL1EthBridgeFilterer) ParseWithdrew ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) ParseWithdrew(log types.Log) (*HopL1EthBridgeWithdrew, 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 (*HopL1EthBridgeFilterer) WatchBonderAdded ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchBonderAdded(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeBonderAdded, 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 (*HopL1EthBridgeFilterer) WatchBonderRemoved ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchBonderRemoved(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeBonderRemoved, 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 (*HopL1EthBridgeFilterer) WatchChallengeResolved ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchChallengeResolved(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeChallengeResolved, transferRootId [][32]byte, rootHash [][32]byte) (event.Subscription, error)
WatchChallengeResolved is a free log subscription operation binding the contract event 0x4a99228a8a6d774d261be57ab0ed833bb1bae1f22bbbd3d4767b75ad03fdddf7.
Solidity: event ChallengeResolved(bytes32 indexed transferRootId, bytes32 indexed rootHash, uint256 originalAmount)
func (*HopL1EthBridgeFilterer) WatchMultipleWithdrawalsSettled ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchMultipleWithdrawalsSettled(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeMultipleWithdrawalsSettled, 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 (*HopL1EthBridgeFilterer) WatchStake ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeStake, 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 (*HopL1EthBridgeFilterer) WatchTransferBondChallenged ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchTransferBondChallenged(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeTransferBondChallenged, transferRootId [][32]byte, rootHash [][32]byte) (event.Subscription, error)
WatchTransferBondChallenged is a free log subscription operation binding the contract event 0xec2697dcba539a0ac947cdf1f6d0b6314c065429eca8be2435859b10209d4c27.
Solidity: event TransferBondChallenged(bytes32 indexed transferRootId, bytes32 indexed rootHash, uint256 originalAmount)
func (*HopL1EthBridgeFilterer) WatchTransferRootBonded ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchTransferRootBonded(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeTransferRootBonded, root [][32]byte) (event.Subscription, error)
WatchTransferRootBonded is a free log subscription operation binding the contract event 0xa57b3e1f3af9eca02201028629700658608222c365064584cfe65d9630ef4f7b.
Solidity: event TransferRootBonded(bytes32 indexed root, uint256 amount)
func (*HopL1EthBridgeFilterer) WatchTransferRootConfirmed ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchTransferRootConfirmed(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeTransferRootConfirmed, originChainId []*big.Int, destinationChainId []*big.Int, rootHash [][32]byte) (event.Subscription, error)
WatchTransferRootConfirmed is a free log subscription operation binding the contract event 0xfdfb0eefa96935b8a8c0edf528e125dc6f3934fdbbfce31b38967e8ff413dccd.
Solidity: event TransferRootConfirmed(uint256 indexed originChainId, uint256 indexed destinationChainId, bytes32 indexed rootHash, uint256 totalAmount)
func (*HopL1EthBridgeFilterer) WatchTransferRootSet ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchTransferRootSet(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeTransferRootSet, 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 (*HopL1EthBridgeFilterer) WatchTransferSentToL2 ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchTransferSentToL2(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeTransferSentToL2, chainId []*big.Int, recipient []common.Address, relayer []common.Address) (event.Subscription, error)
WatchTransferSentToL2 is a free log subscription operation binding the contract event 0x0a0607688c86ec1775abcdbab7b33a3a35a6c9cde677c9be880150c231cc6b0b.
Solidity: event TransferSentToL2(uint256 indexed chainId, address indexed recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address indexed relayer, uint256 relayerFee)
func (*HopL1EthBridgeFilterer) WatchUnstake ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeUnstake, 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 (*HopL1EthBridgeFilterer) WatchWithdrawalBondSettled ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchWithdrawalBondSettled(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeWithdrawalBondSettled, 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 (*HopL1EthBridgeFilterer) WatchWithdrawalBonded ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchWithdrawalBonded(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeWithdrawalBonded, 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 (*HopL1EthBridgeFilterer) WatchWithdrew ¶
func (_HopL1EthBridge *HopL1EthBridgeFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *HopL1EthBridgeWithdrew, 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 HopL1EthBridgeMultipleWithdrawalsSettled ¶
type HopL1EthBridgeMultipleWithdrawalsSettled struct { Bonder common.Address RootHash [32]byte TotalBondsSettled *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeMultipleWithdrawalsSettled represents a MultipleWithdrawalsSettled event raised by the HopL1EthBridge contract.
type HopL1EthBridgeMultipleWithdrawalsSettledIterator ¶
type HopL1EthBridgeMultipleWithdrawalsSettledIterator struct { Event *HopL1EthBridgeMultipleWithdrawalsSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeMultipleWithdrawalsSettledIterator is returned from FilterMultipleWithdrawalsSettled and is used to iterate over the raw logs and unpacked data for MultipleWithdrawalsSettled events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeMultipleWithdrawalsSettledIterator) Close ¶
func (it *HopL1EthBridgeMultipleWithdrawalsSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeMultipleWithdrawalsSettledIterator) Error ¶
func (it *HopL1EthBridgeMultipleWithdrawalsSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeMultipleWithdrawalsSettledIterator) Next ¶
func (it *HopL1EthBridgeMultipleWithdrawalsSettledIterator) 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 HopL1EthBridgeRaw ¶
type HopL1EthBridgeRaw struct {
Contract *HopL1EthBridge // Generic contract binding to access the raw methods on
}
HopL1EthBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HopL1EthBridgeRaw) Call ¶
func (_HopL1EthBridge *HopL1EthBridgeRaw) 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 (*HopL1EthBridgeRaw) Transact ¶
func (_HopL1EthBridge *HopL1EthBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HopL1EthBridgeRaw) Transfer ¶
func (_HopL1EthBridge *HopL1EthBridgeRaw) 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 HopL1EthBridgeSession ¶
type HopL1EthBridgeSession struct { Contract *HopL1EthBridge // 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 }
HopL1EthBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HopL1EthBridgeSession) AddBonder ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) BondTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) BondTransferRoot(rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int) (*types.Transaction, error)
BondTransferRoot is a paid mutator transaction binding the contract method 0x8d8798bf.
Solidity: function bondTransferRoot(bytes32 rootHash, uint256 destinationChainId, uint256 totalAmount) returns()
func (*HopL1EthBridgeSession) BondWithdrawal ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) CHALLENGEAMOUNTDIVISOR ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) CHALLENGEAMOUNTDIVISOR() (*big.Int, error)
CHALLENGEAMOUNTDIVISOR is a free data retrieval call binding the contract method 0x98c4f76d.
Solidity: function CHALLENGE_AMOUNT_DIVISOR() view returns(uint256)
func (*HopL1EthBridgeSession) ChainBalance ¶
ChainBalance is a free data retrieval call binding the contract method 0xfc110b67.
Solidity: function chainBalance(uint256 ) view returns(uint256)
func (*HopL1EthBridgeSession) ChallengePeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) ChallengePeriod() (*big.Int, error)
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256)
func (*HopL1EthBridgeSession) ChallengeResolutionPeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) ChallengeResolutionPeriod() (*big.Int, error)
ChallengeResolutionPeriod is a free data retrieval call binding the contract method 0x767631d5.
Solidity: function challengeResolutionPeriod() view returns(uint256)
func (*HopL1EthBridgeSession) ChallengeTransferBond ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ChallengeTransferBond is a paid mutator transaction binding the contract method 0x1bbe15ea.
Solidity: function challengeTransferBond(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) payable returns()
func (*HopL1EthBridgeSession) ConfirmTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) ConfirmTransferRoot(originChainId *big.Int, rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int, rootCommittedAt *big.Int) (*types.Transaction, error)
ConfirmTransferRoot is a paid mutator transaction binding the contract method 0xef6ebe5e.
Solidity: function confirmTransferRoot(uint256 originChainId, bytes32 rootHash, uint256 destinationChainId, uint256 totalAmount, uint256 rootCommittedAt) returns()
func (*HopL1EthBridgeSession) CrossDomainMessengerWrappers ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) CrossDomainMessengerWrappers(arg0 *big.Int) (common.Address, error)
CrossDomainMessengerWrappers is a free data retrieval call binding the contract method 0xa35962f3.
Solidity: function crossDomainMessengerWrappers(uint256 ) view returns(address)
func (*HopL1EthBridgeSession) GetBondForTransferAmount ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) GetBondForTransferAmount(amount *big.Int) (*big.Int, error)
GetBondForTransferAmount is a free data retrieval call binding the contract method 0xe19be150.
Solidity: function getBondForTransferAmount(uint256 amount) pure returns(uint256)
func (*HopL1EthBridgeSession) GetBondedWithdrawalAmount ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) GetChainId ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopL1EthBridgeSession) GetChallengeAmountForTransferAmount ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) GetChallengeAmountForTransferAmount(amount *big.Int) (*big.Int, error)
GetChallengeAmountForTransferAmount is a free data retrieval call binding the contract method 0xa239f5ee.
Solidity: function getChallengeAmountForTransferAmount(uint256 amount) pure returns(uint256)
func (*HopL1EthBridgeSession) GetCredit ¶
GetCredit is a free data retrieval call binding the contract method 0x57344e6f.
Solidity: function getCredit(address bonder) view returns(uint256)
func (*HopL1EthBridgeSession) GetDebitAndAdditionalDebit ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) GetIsBonder ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) GetRawDebit ¶
GetRawDebit is a free data retrieval call binding the contract method 0x13948c76.
Solidity: function getRawDebit(address bonder) view returns(uint256)
func (*HopL1EthBridgeSession) GetTimeSlot ¶
GetTimeSlot is a free data retrieval call binding the contract method 0x2b85dcc9.
Solidity: function getTimeSlot(uint256 time) pure returns(uint256)
func (*HopL1EthBridgeSession) GetTransferId ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) GetTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) GetTransferRootId ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) Governance ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) Governance() (common.Address, error)
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*HopL1EthBridgeSession) IsChainIdPaused ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) IsChainIdPaused(arg0 *big.Int) (bool, error)
IsChainIdPaused is a free data retrieval call binding the contract method 0xfa2a69a3.
Solidity: function isChainIdPaused(uint256 ) view returns(bool)
func (*HopL1EthBridgeSession) IsTransferIdSpent ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) MinTransferRootBondDelay ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) MinTransferRootBondDelay() (*big.Int, error)
MinTransferRootBondDelay is a free data retrieval call binding the contract method 0x6cff06a7.
Solidity: function minTransferRootBondDelay() view returns(uint256)
func (*HopL1EthBridgeSession) RemoveBonder ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) RescueTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) ResolveChallenge ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0x81707b80.
Solidity: function resolveChallenge(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) returns()
func (*HopL1EthBridgeSession) SendToL2 ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error)
SendToL2 is a paid mutator transaction binding the contract method 0xdeace8f5.
Solidity: function sendToL2(uint256 chainId, address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address relayer, uint256 relayerFee) payable returns()
func (*HopL1EthBridgeSession) SetChainIdDepositsPaused ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) SetChainIdDepositsPaused(chainId *big.Int, isPaused bool) (*types.Transaction, error)
SetChainIdDepositsPaused is a paid mutator transaction binding the contract method 0x14942024.
Solidity: function setChainIdDepositsPaused(uint256 chainId, bool isPaused) returns()
func (*HopL1EthBridgeSession) SetChallengePeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) SetChallengePeriod(_challengePeriod *big.Int) (*types.Transaction, error)
SetChallengePeriod is a paid mutator transaction binding the contract method 0x5d475fdd.
Solidity: function setChallengePeriod(uint256 _challengePeriod) returns()
func (*HopL1EthBridgeSession) SetChallengeResolutionPeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) SetChallengeResolutionPeriod(_challengeResolutionPeriod *big.Int) (*types.Transaction, error)
SetChallengeResolutionPeriod is a paid mutator transaction binding the contract method 0xeecd57e6.
Solidity: function setChallengeResolutionPeriod(uint256 _challengeResolutionPeriod) returns()
func (*HopL1EthBridgeSession) SetCrossDomainMessengerWrapper ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) SetCrossDomainMessengerWrapper(chainId *big.Int, _crossDomainMessengerWrapper common.Address) (*types.Transaction, error)
SetCrossDomainMessengerWrapper is a paid mutator transaction binding the contract method 0xd4448163.
Solidity: function setCrossDomainMessengerWrapper(uint256 chainId, address _crossDomainMessengerWrapper) returns()
func (*HopL1EthBridgeSession) SetGovernance ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) SetGovernance(_newGovernance common.Address) (*types.Transaction, error)
SetGovernance is a paid mutator transaction binding the contract method 0xab033ea9.
Solidity: function setGovernance(address _newGovernance) returns()
func (*HopL1EthBridgeSession) SetMinTransferRootBondDelay ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) SetMinTransferRootBondDelay(_minTransferRootBondDelay *big.Int) (*types.Transaction, error)
SetMinTransferRootBondDelay is a paid mutator transaction binding the contract method 0x39ada669.
Solidity: function setMinTransferRootBondDelay(uint256 _minTransferRootBondDelay) returns()
func (*HopL1EthBridgeSession) SettleBondedWithdrawal ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) SettleBondedWithdrawals ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) Stake ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) TIMESLOTSIZE ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) TIMESLOTSIZE() (*big.Int, error)
TIMESLOTSIZE is a free data retrieval call binding the contract method 0x4de8c6e6.
Solidity: function TIME_SLOT_SIZE() view returns(uint256)
func (*HopL1EthBridgeSession) TimeSlotToAmountBonded ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) TimeSlotToAmountBonded(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
TimeSlotToAmountBonded is a free data retrieval call binding the contract method 0x7398d282.
Solidity: function timeSlotToAmountBonded(uint256 , address ) view returns(uint256)
func (*HopL1EthBridgeSession) TransferBonds ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) TransferBonds(arg0 [32]byte) (struct { Bonder common.Address CreatedAt *big.Int TotalAmount *big.Int ChallengeStartTime *big.Int Challenger common.Address ChallengeResolved bool }, error)
TransferBonds is a free data retrieval call binding the contract method 0x5a7e1083.
Solidity: function transferBonds(bytes32 ) view returns(address bonder, uint256 createdAt, uint256 totalAmount, uint256 challengeStartTime, address challenger, bool challengeResolved)
func (*HopL1EthBridgeSession) TransferRootCommittedAt ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) TransferRootCommittedAt(arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
TransferRootCommittedAt is a free data retrieval call binding the contract method 0x3b8fea28.
Solidity: function transferRootCommittedAt(uint256 , bytes32 ) view returns(uint256)
func (*HopL1EthBridgeSession) Unstake ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 (*HopL1EthBridgeSession) Withdraw ¶
func (_HopL1EthBridge *HopL1EthBridgeSession) 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 HopL1EthBridgeStake ¶
type HopL1EthBridgeStake struct { Account common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeStake represents a Stake event raised by the HopL1EthBridge contract.
type HopL1EthBridgeStakeIterator ¶
type HopL1EthBridgeStakeIterator struct { Event *HopL1EthBridgeStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeStakeIterator is returned from FilterStake and is used to iterate over the raw logs and unpacked data for Stake events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeStakeIterator) Close ¶
func (it *HopL1EthBridgeStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeStakeIterator) Error ¶
func (it *HopL1EthBridgeStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeStakeIterator) Next ¶
func (it *HopL1EthBridgeStakeIterator) 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 HopL1EthBridgeTransactor ¶
type HopL1EthBridgeTransactor struct {
// contains filtered or unexported fields
}
HopL1EthBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHopL1EthBridgeTransactor ¶
func NewHopL1EthBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*HopL1EthBridgeTransactor, error)
NewHopL1EthBridgeTransactor creates a new write-only instance of HopL1EthBridge, bound to a specific deployed contract.
func (*HopL1EthBridgeTransactor) AddBonder ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) 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 (*HopL1EthBridgeTransactor) BondTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) BondTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int) (*types.Transaction, error)
BondTransferRoot is a paid mutator transaction binding the contract method 0x8d8798bf.
Solidity: function bondTransferRoot(bytes32 rootHash, uint256 destinationChainId, uint256 totalAmount) returns()
func (*HopL1EthBridgeTransactor) BondWithdrawal ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) 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 (*HopL1EthBridgeTransactor) ChallengeTransferBond ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) ChallengeTransferBond(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ChallengeTransferBond is a paid mutator transaction binding the contract method 0x1bbe15ea.
Solidity: function challengeTransferBond(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) payable returns()
func (*HopL1EthBridgeTransactor) ConfirmTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) ConfirmTransferRoot(opts *bind.TransactOpts, originChainId *big.Int, rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int, rootCommittedAt *big.Int) (*types.Transaction, error)
ConfirmTransferRoot is a paid mutator transaction binding the contract method 0xef6ebe5e.
Solidity: function confirmTransferRoot(uint256 originChainId, bytes32 rootHash, uint256 destinationChainId, uint256 totalAmount, uint256 rootCommittedAt) returns()
func (*HopL1EthBridgeTransactor) RemoveBonder ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) 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 (*HopL1EthBridgeTransactor) RescueTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) 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 (*HopL1EthBridgeTransactor) ResolveChallenge ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) ResolveChallenge(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0x81707b80.
Solidity: function resolveChallenge(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) returns()
func (*HopL1EthBridgeTransactor) SendToL2 ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) SendToL2(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error)
SendToL2 is a paid mutator transaction binding the contract method 0xdeace8f5.
Solidity: function sendToL2(uint256 chainId, address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address relayer, uint256 relayerFee) payable returns()
func (*HopL1EthBridgeTransactor) SetChainIdDepositsPaused ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetChainIdDepositsPaused(opts *bind.TransactOpts, chainId *big.Int, isPaused bool) (*types.Transaction, error)
SetChainIdDepositsPaused is a paid mutator transaction binding the contract method 0x14942024.
Solidity: function setChainIdDepositsPaused(uint256 chainId, bool isPaused) returns()
func (*HopL1EthBridgeTransactor) SetChallengePeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetChallengePeriod(opts *bind.TransactOpts, _challengePeriod *big.Int) (*types.Transaction, error)
SetChallengePeriod is a paid mutator transaction binding the contract method 0x5d475fdd.
Solidity: function setChallengePeriod(uint256 _challengePeriod) returns()
func (*HopL1EthBridgeTransactor) SetChallengeResolutionPeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetChallengeResolutionPeriod(opts *bind.TransactOpts, _challengeResolutionPeriod *big.Int) (*types.Transaction, error)
SetChallengeResolutionPeriod is a paid mutator transaction binding the contract method 0xeecd57e6.
Solidity: function setChallengeResolutionPeriod(uint256 _challengeResolutionPeriod) returns()
func (*HopL1EthBridgeTransactor) SetCrossDomainMessengerWrapper ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetCrossDomainMessengerWrapper(opts *bind.TransactOpts, chainId *big.Int, _crossDomainMessengerWrapper common.Address) (*types.Transaction, error)
SetCrossDomainMessengerWrapper is a paid mutator transaction binding the contract method 0xd4448163.
Solidity: function setCrossDomainMessengerWrapper(uint256 chainId, address _crossDomainMessengerWrapper) returns()
func (*HopL1EthBridgeTransactor) SetGovernance ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetGovernance(opts *bind.TransactOpts, _newGovernance common.Address) (*types.Transaction, error)
SetGovernance is a paid mutator transaction binding the contract method 0xab033ea9.
Solidity: function setGovernance(address _newGovernance) returns()
func (*HopL1EthBridgeTransactor) SetMinTransferRootBondDelay ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) SetMinTransferRootBondDelay(opts *bind.TransactOpts, _minTransferRootBondDelay *big.Int) (*types.Transaction, error)
SetMinTransferRootBondDelay is a paid mutator transaction binding the contract method 0x39ada669.
Solidity: function setMinTransferRootBondDelay(uint256 _minTransferRootBondDelay) returns()
func (*HopL1EthBridgeTransactor) SettleBondedWithdrawal ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) 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 (*HopL1EthBridgeTransactor) SettleBondedWithdrawals ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) 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 (*HopL1EthBridgeTransactor) Stake ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) 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 (*HopL1EthBridgeTransactor) Unstake ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) 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 (*HopL1EthBridgeTransactor) Withdraw ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactor) 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 HopL1EthBridgeTransactorRaw ¶
type HopL1EthBridgeTransactorRaw struct {
Contract *HopL1EthBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
HopL1EthBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HopL1EthBridgeTransactorRaw) Transact ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HopL1EthBridgeTransactorRaw) Transfer ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorRaw) 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 HopL1EthBridgeTransactorSession ¶
type HopL1EthBridgeTransactorSession struct { Contract *HopL1EthBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HopL1EthBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HopL1EthBridgeTransactorSession) AddBonder ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) 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 (*HopL1EthBridgeTransactorSession) BondTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) BondTransferRoot(rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int) (*types.Transaction, error)
BondTransferRoot is a paid mutator transaction binding the contract method 0x8d8798bf.
Solidity: function bondTransferRoot(bytes32 rootHash, uint256 destinationChainId, uint256 totalAmount) returns()
func (*HopL1EthBridgeTransactorSession) BondWithdrawal ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) 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 (*HopL1EthBridgeTransactorSession) ChallengeTransferBond ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ChallengeTransferBond is a paid mutator transaction binding the contract method 0x1bbe15ea.
Solidity: function challengeTransferBond(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) payable returns()
func (*HopL1EthBridgeTransactorSession) ConfirmTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) ConfirmTransferRoot(originChainId *big.Int, rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int, rootCommittedAt *big.Int) (*types.Transaction, error)
ConfirmTransferRoot is a paid mutator transaction binding the contract method 0xef6ebe5e.
Solidity: function confirmTransferRoot(uint256 originChainId, bytes32 rootHash, uint256 destinationChainId, uint256 totalAmount, uint256 rootCommittedAt) returns()
func (*HopL1EthBridgeTransactorSession) RemoveBonder ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) 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 (*HopL1EthBridgeTransactorSession) RescueTransferRoot ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) 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 (*HopL1EthBridgeTransactorSession) ResolveChallenge ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0x81707b80.
Solidity: function resolveChallenge(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) returns()
func (*HopL1EthBridgeTransactorSession) SendToL2 ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error)
SendToL2 is a paid mutator transaction binding the contract method 0xdeace8f5.
Solidity: function sendToL2(uint256 chainId, address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address relayer, uint256 relayerFee) payable returns()
func (*HopL1EthBridgeTransactorSession) SetChainIdDepositsPaused ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetChainIdDepositsPaused(chainId *big.Int, isPaused bool) (*types.Transaction, error)
SetChainIdDepositsPaused is a paid mutator transaction binding the contract method 0x14942024.
Solidity: function setChainIdDepositsPaused(uint256 chainId, bool isPaused) returns()
func (*HopL1EthBridgeTransactorSession) SetChallengePeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetChallengePeriod(_challengePeriod *big.Int) (*types.Transaction, error)
SetChallengePeriod is a paid mutator transaction binding the contract method 0x5d475fdd.
Solidity: function setChallengePeriod(uint256 _challengePeriod) returns()
func (*HopL1EthBridgeTransactorSession) SetChallengeResolutionPeriod ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetChallengeResolutionPeriod(_challengeResolutionPeriod *big.Int) (*types.Transaction, error)
SetChallengeResolutionPeriod is a paid mutator transaction binding the contract method 0xeecd57e6.
Solidity: function setChallengeResolutionPeriod(uint256 _challengeResolutionPeriod) returns()
func (*HopL1EthBridgeTransactorSession) SetCrossDomainMessengerWrapper ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetCrossDomainMessengerWrapper(chainId *big.Int, _crossDomainMessengerWrapper common.Address) (*types.Transaction, error)
SetCrossDomainMessengerWrapper is a paid mutator transaction binding the contract method 0xd4448163.
Solidity: function setCrossDomainMessengerWrapper(uint256 chainId, address _crossDomainMessengerWrapper) returns()
func (*HopL1EthBridgeTransactorSession) SetGovernance ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetGovernance(_newGovernance common.Address) (*types.Transaction, error)
SetGovernance is a paid mutator transaction binding the contract method 0xab033ea9.
Solidity: function setGovernance(address _newGovernance) returns()
func (*HopL1EthBridgeTransactorSession) SetMinTransferRootBondDelay ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) SetMinTransferRootBondDelay(_minTransferRootBondDelay *big.Int) (*types.Transaction, error)
SetMinTransferRootBondDelay is a paid mutator transaction binding the contract method 0x39ada669.
Solidity: function setMinTransferRootBondDelay(uint256 _minTransferRootBondDelay) returns()
func (*HopL1EthBridgeTransactorSession) SettleBondedWithdrawal ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) 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 (*HopL1EthBridgeTransactorSession) SettleBondedWithdrawals ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) 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 (*HopL1EthBridgeTransactorSession) Stake ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) 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 (*HopL1EthBridgeTransactorSession) Unstake ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) 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 (*HopL1EthBridgeTransactorSession) Withdraw ¶
func (_HopL1EthBridge *HopL1EthBridgeTransactorSession) 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 HopL1EthBridgeTransferBondChallenged ¶
type HopL1EthBridgeTransferBondChallenged struct { TransferRootId [32]byte RootHash [32]byte OriginalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeTransferBondChallenged represents a TransferBondChallenged event raised by the HopL1EthBridge contract.
type HopL1EthBridgeTransferBondChallengedIterator ¶
type HopL1EthBridgeTransferBondChallengedIterator struct { Event *HopL1EthBridgeTransferBondChallenged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeTransferBondChallengedIterator is returned from FilterTransferBondChallenged and is used to iterate over the raw logs and unpacked data for TransferBondChallenged events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeTransferBondChallengedIterator) Close ¶
func (it *HopL1EthBridgeTransferBondChallengedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeTransferBondChallengedIterator) Error ¶
func (it *HopL1EthBridgeTransferBondChallengedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeTransferBondChallengedIterator) Next ¶
func (it *HopL1EthBridgeTransferBondChallengedIterator) 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 HopL1EthBridgeTransferRootBonded ¶
type HopL1EthBridgeTransferRootBonded struct { Root [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeTransferRootBonded represents a TransferRootBonded event raised by the HopL1EthBridge contract.
type HopL1EthBridgeTransferRootBondedIterator ¶
type HopL1EthBridgeTransferRootBondedIterator struct { Event *HopL1EthBridgeTransferRootBonded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeTransferRootBondedIterator is returned from FilterTransferRootBonded and is used to iterate over the raw logs and unpacked data for TransferRootBonded events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeTransferRootBondedIterator) Close ¶
func (it *HopL1EthBridgeTransferRootBondedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeTransferRootBondedIterator) Error ¶
func (it *HopL1EthBridgeTransferRootBondedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeTransferRootBondedIterator) Next ¶
func (it *HopL1EthBridgeTransferRootBondedIterator) 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 HopL1EthBridgeTransferRootConfirmed ¶
type HopL1EthBridgeTransferRootConfirmed struct { OriginChainId *big.Int DestinationChainId *big.Int RootHash [32]byte TotalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeTransferRootConfirmed represents a TransferRootConfirmed event raised by the HopL1EthBridge contract.
type HopL1EthBridgeTransferRootConfirmedIterator ¶
type HopL1EthBridgeTransferRootConfirmedIterator struct { Event *HopL1EthBridgeTransferRootConfirmed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeTransferRootConfirmedIterator is returned from FilterTransferRootConfirmed and is used to iterate over the raw logs and unpacked data for TransferRootConfirmed events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeTransferRootConfirmedIterator) Close ¶
func (it *HopL1EthBridgeTransferRootConfirmedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeTransferRootConfirmedIterator) Error ¶
func (it *HopL1EthBridgeTransferRootConfirmedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeTransferRootConfirmedIterator) Next ¶
func (it *HopL1EthBridgeTransferRootConfirmedIterator) 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 HopL1EthBridgeTransferRootSet ¶
type HopL1EthBridgeTransferRootSet struct { RootHash [32]byte TotalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeTransferRootSet represents a TransferRootSet event raised by the HopL1EthBridge contract.
type HopL1EthBridgeTransferRootSetIterator ¶
type HopL1EthBridgeTransferRootSetIterator struct { Event *HopL1EthBridgeTransferRootSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeTransferRootSetIterator is returned from FilterTransferRootSet and is used to iterate over the raw logs and unpacked data for TransferRootSet events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeTransferRootSetIterator) Close ¶
func (it *HopL1EthBridgeTransferRootSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeTransferRootSetIterator) Error ¶
func (it *HopL1EthBridgeTransferRootSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeTransferRootSetIterator) Next ¶
func (it *HopL1EthBridgeTransferRootSetIterator) 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 HopL1EthBridgeTransferSentToL2 ¶
type HopL1EthBridgeTransferSentToL2 struct { ChainId *big.Int 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 }
HopL1EthBridgeTransferSentToL2 represents a TransferSentToL2 event raised by the HopL1EthBridge contract.
type HopL1EthBridgeTransferSentToL2Iterator ¶
type HopL1EthBridgeTransferSentToL2Iterator struct { Event *HopL1EthBridgeTransferSentToL2 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeTransferSentToL2Iterator is returned from FilterTransferSentToL2 and is used to iterate over the raw logs and unpacked data for TransferSentToL2 events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeTransferSentToL2Iterator) Close ¶
func (it *HopL1EthBridgeTransferSentToL2Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeTransferSentToL2Iterator) Error ¶
func (it *HopL1EthBridgeTransferSentToL2Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeTransferSentToL2Iterator) Next ¶
func (it *HopL1EthBridgeTransferSentToL2Iterator) 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 HopL1EthBridgeUnstake ¶
type HopL1EthBridgeUnstake struct { Account common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeUnstake represents a Unstake event raised by the HopL1EthBridge contract.
type HopL1EthBridgeUnstakeIterator ¶
type HopL1EthBridgeUnstakeIterator struct { Event *HopL1EthBridgeUnstake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeUnstakeIterator is returned from FilterUnstake and is used to iterate over the raw logs and unpacked data for Unstake events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeUnstakeIterator) Close ¶
func (it *HopL1EthBridgeUnstakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeUnstakeIterator) Error ¶
func (it *HopL1EthBridgeUnstakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeUnstakeIterator) Next ¶
func (it *HopL1EthBridgeUnstakeIterator) 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 HopL1EthBridgeWithdrawalBondSettled ¶
type HopL1EthBridgeWithdrawalBondSettled struct { Bonder common.Address TransferId [32]byte RootHash [32]byte Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeWithdrawalBondSettled represents a WithdrawalBondSettled event raised by the HopL1EthBridge contract.
type HopL1EthBridgeWithdrawalBondSettledIterator ¶
type HopL1EthBridgeWithdrawalBondSettledIterator struct { Event *HopL1EthBridgeWithdrawalBondSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeWithdrawalBondSettledIterator is returned from FilterWithdrawalBondSettled and is used to iterate over the raw logs and unpacked data for WithdrawalBondSettled events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeWithdrawalBondSettledIterator) Close ¶
func (it *HopL1EthBridgeWithdrawalBondSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeWithdrawalBondSettledIterator) Error ¶
func (it *HopL1EthBridgeWithdrawalBondSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeWithdrawalBondSettledIterator) Next ¶
func (it *HopL1EthBridgeWithdrawalBondSettledIterator) 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 HopL1EthBridgeWithdrawalBonded ¶
type HopL1EthBridgeWithdrawalBonded struct { TransferId [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeWithdrawalBonded represents a WithdrawalBonded event raised by the HopL1EthBridge contract.
type HopL1EthBridgeWithdrawalBondedIterator ¶
type HopL1EthBridgeWithdrawalBondedIterator struct { Event *HopL1EthBridgeWithdrawalBonded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeWithdrawalBondedIterator is returned from FilterWithdrawalBonded and is used to iterate over the raw logs and unpacked data for WithdrawalBonded events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeWithdrawalBondedIterator) Close ¶
func (it *HopL1EthBridgeWithdrawalBondedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeWithdrawalBondedIterator) Error ¶
func (it *HopL1EthBridgeWithdrawalBondedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeWithdrawalBondedIterator) Next ¶
func (it *HopL1EthBridgeWithdrawalBondedIterator) 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 HopL1EthBridgeWithdrew ¶
type HopL1EthBridgeWithdrew struct { TransferId [32]byte Recipient common.Address Amount *big.Int TransferNonce [32]byte Raw types.Log // Blockchain specific contextual infos }
HopL1EthBridgeWithdrew represents a Withdrew event raised by the HopL1EthBridge contract.
type HopL1EthBridgeWithdrewIterator ¶
type HopL1EthBridgeWithdrewIterator struct { Event *HopL1EthBridgeWithdrew // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1EthBridgeWithdrewIterator is returned from FilterWithdrew and is used to iterate over the raw logs and unpacked data for Withdrew events raised by the HopL1EthBridge contract.
func (*HopL1EthBridgeWithdrewIterator) Close ¶
func (it *HopL1EthBridgeWithdrewIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1EthBridgeWithdrewIterator) Error ¶
func (it *HopL1EthBridgeWithdrewIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1EthBridgeWithdrewIterator) Next ¶
func (it *HopL1EthBridgeWithdrewIterator) 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.