Documentation ¶
Index ¶
- Constants
- type BridgeTransferRoot
- type HopBridge
- type HopBridgeBonderAdded
- type HopBridgeBonderAddedIterator
- type HopBridgeBonderRemoved
- type HopBridgeBonderRemovedIterator
- type HopBridgeCaller
- func (_HopBridge *HopBridgeCaller) CHALLENGEAMOUNTDIVISOR(opts *bind.CallOpts) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) ChainBalance(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) ChallengePeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) ChallengeResolutionPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) CrossDomainMessengerWrappers(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_HopBridge *HopBridgeCaller) GetBondForTransferAmount(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) GetBondedWithdrawalAmount(opts *bind.CallOpts, bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) GetChallengeAmountForTransferAmount(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) GetCredit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) GetDebitAndAdditionalDebit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) GetIsBonder(opts *bind.CallOpts, maybeBonder common.Address) (bool, error)
- func (_HopBridge *HopBridgeCaller) GetRawDebit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) GetTimeSlot(opts *bind.CallOpts, time *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) GetTransferId(opts *bind.CallOpts, chainId *big.Int, recipient common.Address, ...) ([32]byte, error)
- func (_HopBridge *HopBridgeCaller) GetTransferRoot(opts *bind.CallOpts, rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopBridge *HopBridgeCaller) GetTransferRootId(opts *bind.CallOpts, rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopBridge *HopBridgeCaller) Governance(opts *bind.CallOpts) (common.Address, error)
- func (_HopBridge *HopBridgeCaller) IsChainIdPaused(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
- func (_HopBridge *HopBridgeCaller) IsTransferIdSpent(opts *bind.CallOpts, transferId [32]byte) (bool, error)
- func (_HopBridge *HopBridgeCaller) L1CanonicalToken(opts *bind.CallOpts) (common.Address, error)
- func (_HopBridge *HopBridgeCaller) MinTransferRootBondDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) TIMESLOTSIZE(opts *bind.CallOpts) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) TimeSlotToAmountBonded(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeCaller) TransferBonds(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_HopBridge *HopBridgeCaller) TransferRootCommittedAt(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- type HopBridgeCallerRaw
- type HopBridgeCallerSession
- func (_HopBridge *HopBridgeCallerSession) CHALLENGEAMOUNTDIVISOR() (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) ChainBalance(arg0 *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) ChallengePeriod() (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) ChallengeResolutionPeriod() (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) CrossDomainMessengerWrappers(arg0 *big.Int) (common.Address, error)
- func (_HopBridge *HopBridgeCallerSession) GetBondForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) GetBondedWithdrawalAmount(bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) GetChainId() (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) GetChallengeAmountForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) GetCredit(bonder common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) GetDebitAndAdditionalDebit(bonder common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) GetIsBonder(maybeBonder common.Address) (bool, error)
- func (_HopBridge *HopBridgeCallerSession) GetRawDebit(bonder common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) GetTimeSlot(time *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, ...) ([32]byte, error)
- func (_HopBridge *HopBridgeCallerSession) GetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopBridge *HopBridgeCallerSession) GetTransferRootId(rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopBridge *HopBridgeCallerSession) Governance() (common.Address, error)
- func (_HopBridge *HopBridgeCallerSession) IsChainIdPaused(arg0 *big.Int) (bool, error)
- func (_HopBridge *HopBridgeCallerSession) IsTransferIdSpent(transferId [32]byte) (bool, error)
- func (_HopBridge *HopBridgeCallerSession) L1CanonicalToken() (common.Address, error)
- func (_HopBridge *HopBridgeCallerSession) MinTransferRootBondDelay() (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) TIMESLOTSIZE() (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) TimeSlotToAmountBonded(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeCallerSession) TransferBonds(arg0 [32]byte) (struct{ ... }, error)
- func (_HopBridge *HopBridgeCallerSession) TransferRootCommittedAt(arg0 [32]byte) (*big.Int, error)
- type HopBridgeChallengeResolved
- type HopBridgeChallengeResolvedIterator
- type HopBridgeFilterer
- func (_HopBridge *HopBridgeFilterer) FilterBonderAdded(opts *bind.FilterOpts, newBonder []common.Address) (*HopBridgeBonderAddedIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterBonderRemoved(opts *bind.FilterOpts, previousBonder []common.Address) (*HopBridgeBonderRemovedIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterChallengeResolved(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopBridgeChallengeResolvedIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterMultipleWithdrawalsSettled(opts *bind.FilterOpts, bonder []common.Address, rootHash [][32]byte) (*HopBridgeMultipleWithdrawalsSettledIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterStake(opts *bind.FilterOpts, account []common.Address) (*HopBridgeStakeIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterTransferBondChallenged(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopBridgeTransferBondChallengedIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterTransferRootBonded(opts *bind.FilterOpts, root [][32]byte) (*HopBridgeTransferRootBondedIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterTransferRootConfirmed(opts *bind.FilterOpts, originChainId []*big.Int, destinationChainId []*big.Int, ...) (*HopBridgeTransferRootConfirmedIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterTransferRootSet(opts *bind.FilterOpts, rootHash [][32]byte) (*HopBridgeTransferRootSetIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterTransferSentToL2(opts *bind.FilterOpts, chainId []*big.Int, recipient []common.Address, ...) (*HopBridgeTransferSentToL2Iterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterUnstake(opts *bind.FilterOpts, account []common.Address) (*HopBridgeUnstakeIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterWithdrawalBondSettled(opts *bind.FilterOpts, bonder []common.Address, transferId [][32]byte, ...) (*HopBridgeWithdrawalBondSettledIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterWithdrawalBonded(opts *bind.FilterOpts, transferId [][32]byte) (*HopBridgeWithdrawalBondedIterator, error)
- func (_HopBridge *HopBridgeFilterer) FilterWithdrew(opts *bind.FilterOpts, transferId [][32]byte, recipient []common.Address) (*HopBridgeWithdrewIterator, error)
- func (_HopBridge *HopBridgeFilterer) ParseBonderAdded(log types.Log) (*HopBridgeBonderAdded, error)
- func (_HopBridge *HopBridgeFilterer) ParseBonderRemoved(log types.Log) (*HopBridgeBonderRemoved, error)
- func (_HopBridge *HopBridgeFilterer) ParseChallengeResolved(log types.Log) (*HopBridgeChallengeResolved, error)
- func (_HopBridge *HopBridgeFilterer) ParseMultipleWithdrawalsSettled(log types.Log) (*HopBridgeMultipleWithdrawalsSettled, error)
- func (_HopBridge *HopBridgeFilterer) ParseStake(log types.Log) (*HopBridgeStake, error)
- func (_HopBridge *HopBridgeFilterer) ParseTransferBondChallenged(log types.Log) (*HopBridgeTransferBondChallenged, error)
- func (_HopBridge *HopBridgeFilterer) ParseTransferRootBonded(log types.Log) (*HopBridgeTransferRootBonded, error)
- func (_HopBridge *HopBridgeFilterer) ParseTransferRootConfirmed(log types.Log) (*HopBridgeTransferRootConfirmed, error)
- func (_HopBridge *HopBridgeFilterer) ParseTransferRootSet(log types.Log) (*HopBridgeTransferRootSet, error)
- func (_HopBridge *HopBridgeFilterer) ParseTransferSentToL2(log types.Log) (*HopBridgeTransferSentToL2, error)
- func (_HopBridge *HopBridgeFilterer) ParseUnstake(log types.Log) (*HopBridgeUnstake, error)
- func (_HopBridge *HopBridgeFilterer) ParseWithdrawalBondSettled(log types.Log) (*HopBridgeWithdrawalBondSettled, error)
- func (_HopBridge *HopBridgeFilterer) ParseWithdrawalBonded(log types.Log) (*HopBridgeWithdrawalBonded, error)
- func (_HopBridge *HopBridgeFilterer) ParseWithdrew(log types.Log) (*HopBridgeWithdrew, error)
- func (_HopBridge *HopBridgeFilterer) WatchBonderAdded(opts *bind.WatchOpts, sink chan<- *HopBridgeBonderAdded, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchBonderRemoved(opts *bind.WatchOpts, sink chan<- *HopBridgeBonderRemoved, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchChallengeResolved(opts *bind.WatchOpts, sink chan<- *HopBridgeChallengeResolved, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchMultipleWithdrawalsSettled(opts *bind.WatchOpts, sink chan<- *HopBridgeMultipleWithdrawalsSettled, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *HopBridgeStake, account []common.Address) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchTransferBondChallenged(opts *bind.WatchOpts, sink chan<- *HopBridgeTransferBondChallenged, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchTransferRootBonded(opts *bind.WatchOpts, sink chan<- *HopBridgeTransferRootBonded, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchTransferRootConfirmed(opts *bind.WatchOpts, sink chan<- *HopBridgeTransferRootConfirmed, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchTransferRootSet(opts *bind.WatchOpts, sink chan<- *HopBridgeTransferRootSet, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchTransferSentToL2(opts *bind.WatchOpts, sink chan<- *HopBridgeTransferSentToL2, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *HopBridgeUnstake, account []common.Address) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchWithdrawalBondSettled(opts *bind.WatchOpts, sink chan<- *HopBridgeWithdrawalBondSettled, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchWithdrawalBonded(opts *bind.WatchOpts, sink chan<- *HopBridgeWithdrawalBonded, ...) (event.Subscription, error)
- func (_HopBridge *HopBridgeFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *HopBridgeWithdrew, transferId [][32]byte, ...) (event.Subscription, error)
- type HopBridgeMultipleWithdrawalsSettled
- type HopBridgeMultipleWithdrawalsSettledIterator
- type HopBridgeRaw
- func (_HopBridge *HopBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_HopBridge *HopBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HopBridge *HopBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HopBridgeSession
- func (_HopBridge *HopBridgeSession) AddBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) BondTransferRoot(rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) BondWithdrawal(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) CHALLENGEAMOUNTDIVISOR() (*big.Int, error)
- func (_HopBridge *HopBridgeSession) ChainBalance(arg0 *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeSession) ChallengePeriod() (*big.Int, error)
- func (_HopBridge *HopBridgeSession) ChallengeResolutionPeriod() (*big.Int, error)
- func (_HopBridge *HopBridgeSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) ConfirmTransferRoot(originChainId *big.Int, rootHash [32]byte, destinationChainId *big.Int, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) CrossDomainMessengerWrappers(arg0 *big.Int) (common.Address, error)
- func (_HopBridge *HopBridgeSession) GetBondForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeSession) GetBondedWithdrawalAmount(bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopBridge *HopBridgeSession) GetChainId() (*big.Int, error)
- func (_HopBridge *HopBridgeSession) GetChallengeAmountForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeSession) GetCredit(bonder common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeSession) GetDebitAndAdditionalDebit(bonder common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeSession) GetIsBonder(maybeBonder common.Address) (bool, error)
- func (_HopBridge *HopBridgeSession) GetRawDebit(bonder common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeSession) GetTimeSlot(time *big.Int) (*big.Int, error)
- func (_HopBridge *HopBridgeSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, ...) ([32]byte, error)
- func (_HopBridge *HopBridgeSession) GetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopBridge *HopBridgeSession) GetTransferRootId(rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopBridge *HopBridgeSession) Governance() (common.Address, error)
- func (_HopBridge *HopBridgeSession) IsChainIdPaused(arg0 *big.Int) (bool, error)
- func (_HopBridge *HopBridgeSession) IsTransferIdSpent(transferId [32]byte) (bool, error)
- func (_HopBridge *HopBridgeSession) L1CanonicalToken() (common.Address, error)
- func (_HopBridge *HopBridgeSession) MinTransferRootBondDelay() (*big.Int, error)
- func (_HopBridge *HopBridgeSession) RemoveBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) RescueTransferRoot(rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) SetChainIdDepositsPaused(chainId *big.Int, isPaused bool) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) SetChallengePeriod(_challengePeriod *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) SetChallengeResolutionPeriod(_challengeResolutionPeriod *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) SetCrossDomainMessengerWrapper(chainId *big.Int, _crossDomainMessengerWrapper common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) SetGovernance(_newGovernance common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) SetMinTransferRootBondDelay(_minTransferRootBondDelay *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) SettleBondedWithdrawals(bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) Stake(bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) TIMESLOTSIZE() (*big.Int, error)
- func (_HopBridge *HopBridgeSession) TimeSlotToAmountBonded(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_HopBridge *HopBridgeSession) TransferBonds(arg0 [32]byte) (struct{ ... }, error)
- func (_HopBridge *HopBridgeSession) TransferRootCommittedAt(arg0 [32]byte) (*big.Int, error)
- func (_HopBridge *HopBridgeSession) Unstake(amount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- type HopBridgeStake
- type HopBridgeStakeIterator
- type HopBridgeTransactor
- func (_HopBridge *HopBridgeTransactor) AddBonder(opts *bind.TransactOpts, bonder common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) BondTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, destinationChainId *big.Int, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) BondWithdrawal(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) ChallengeTransferBond(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) ConfirmTransferRoot(opts *bind.TransactOpts, originChainId *big.Int, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) RemoveBonder(opts *bind.TransactOpts, bonder common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) RescueTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) ResolveChallenge(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) SendToL2(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) SetChainIdDepositsPaused(opts *bind.TransactOpts, chainId *big.Int, isPaused bool) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) SetChallengePeriod(opts *bind.TransactOpts, _challengePeriod *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) SetChallengeResolutionPeriod(opts *bind.TransactOpts, _challengeResolutionPeriod *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) SetCrossDomainMessengerWrapper(opts *bind.TransactOpts, chainId *big.Int, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) SetGovernance(opts *bind.TransactOpts, _newGovernance common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) SetMinTransferRootBondDelay(opts *bind.TransactOpts, _minTransferRootBondDelay *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) SettleBondedWithdrawal(opts *bind.TransactOpts, bonder common.Address, transferId [32]byte, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) SettleBondedWithdrawals(opts *bind.TransactOpts, bonder common.Address, transferIds [][32]byte, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) Stake(opts *bind.TransactOpts, bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) Unstake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactor) Withdraw(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- type HopBridgeTransactorRaw
- type HopBridgeTransactorSession
- func (_HopBridge *HopBridgeTransactorSession) AddBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) BondTransferRoot(rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) BondWithdrawal(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) ConfirmTransferRoot(originChainId *big.Int, rootHash [32]byte, destinationChainId *big.Int, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) RemoveBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) RescueTransferRoot(rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) SetChainIdDepositsPaused(chainId *big.Int, isPaused bool) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) SetChallengePeriod(_challengePeriod *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) SetChallengeResolutionPeriod(_challengeResolutionPeriod *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) SetCrossDomainMessengerWrapper(chainId *big.Int, _crossDomainMessengerWrapper common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) SetGovernance(_newGovernance common.Address) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) SetMinTransferRootBondDelay(_minTransferRootBondDelay *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) SettleBondedWithdrawals(bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) Stake(bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) Unstake(amount *big.Int) (*types.Transaction, error)
- func (_HopBridge *HopBridgeTransactorSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- type HopBridgeTransferBondChallenged
- type HopBridgeTransferBondChallengedIterator
- type HopBridgeTransferRootBonded
- type HopBridgeTransferRootBondedIterator
- type HopBridgeTransferRootConfirmed
- type HopBridgeTransferRootConfirmedIterator
- type HopBridgeTransferRootSet
- type HopBridgeTransferRootSetIterator
- type HopBridgeTransferSentToL2
- type HopBridgeTransferSentToL2Iterator
- type HopBridgeUnstake
- type HopBridgeUnstakeIterator
- type HopBridgeWithdrawalBondSettled
- type HopBridgeWithdrawalBondSettledIterator
- type HopBridgeWithdrawalBonded
- type HopBridgeWithdrawalBondedIterator
- type HopBridgeWithdrew
- type HopBridgeWithdrewIterator
Constants ¶
const HopBridgeABI = "" /* 19437-byte string literal not displayed */
HopBridgeABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BridgeTransferRoot ¶
BridgeTransferRoot is an auto generated low-level Go binding around an user-defined struct.
type HopBridge ¶
type HopBridge struct { HopBridgeCaller // Read-only binding to the contract HopBridgeTransactor // Write-only binding to the contract HopBridgeFilterer // Log filterer for contract events }
HopBridge is an auto generated Go binding around an Ethereum contract.
func NewHopBridge ¶
NewHopBridge creates a new instance of HopBridge, bound to a specific deployed contract.
type HopBridgeBonderAdded ¶
type HopBridgeBonderAdded struct { NewBonder common.Address Raw types.Log // Blockchain specific contextual infos }
HopBridgeBonderAdded represents a BonderAdded event raised by the HopBridge contract.
type HopBridgeBonderAddedIterator ¶
type HopBridgeBonderAddedIterator struct { Event *HopBridgeBonderAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeBonderAddedIterator is returned from FilterBonderAdded and is used to iterate over the raw logs and unpacked data for BonderAdded events raised by the HopBridge contract.
func (*HopBridgeBonderAddedIterator) Close ¶
func (it *HopBridgeBonderAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeBonderAddedIterator) Error ¶
func (it *HopBridgeBonderAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeBonderAddedIterator) Next ¶
func (it *HopBridgeBonderAddedIterator) 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 HopBridgeBonderRemoved ¶
type HopBridgeBonderRemoved struct { PreviousBonder common.Address Raw types.Log // Blockchain specific contextual infos }
HopBridgeBonderRemoved represents a BonderRemoved event raised by the HopBridge contract.
type HopBridgeBonderRemovedIterator ¶
type HopBridgeBonderRemovedIterator struct { Event *HopBridgeBonderRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeBonderRemovedIterator is returned from FilterBonderRemoved and is used to iterate over the raw logs and unpacked data for BonderRemoved events raised by the HopBridge contract.
func (*HopBridgeBonderRemovedIterator) Close ¶
func (it *HopBridgeBonderRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeBonderRemovedIterator) Error ¶
func (it *HopBridgeBonderRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeBonderRemovedIterator) Next ¶
func (it *HopBridgeBonderRemovedIterator) 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 HopBridgeCaller ¶
type HopBridgeCaller struct {
// contains filtered or unexported fields
}
HopBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHopBridgeCaller ¶
func NewHopBridgeCaller(address common.Address, caller bind.ContractCaller) (*HopBridgeCaller, error)
NewHopBridgeCaller creates a new read-only instance of HopBridge, bound to a specific deployed contract.
func (*HopBridgeCaller) CHALLENGEAMOUNTDIVISOR ¶
CHALLENGEAMOUNTDIVISOR is a free data retrieval call binding the contract method 0x98c4f76d.
Solidity: function CHALLENGE_AMOUNT_DIVISOR() view returns(uint256)
func (*HopBridgeCaller) ChainBalance ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) ChallengePeriod ¶
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256)
func (*HopBridgeCaller) ChallengeResolutionPeriod ¶
ChallengeResolutionPeriod is a free data retrieval call binding the contract method 0x767631d5.
Solidity: function challengeResolutionPeriod() view returns(uint256)
func (*HopBridgeCaller) CrossDomainMessengerWrappers ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetBondForTransferAmount ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetBondedWithdrawalAmount ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetChainId ¶
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopBridgeCaller) GetChallengeAmountForTransferAmount ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetCredit ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetDebitAndAdditionalDebit ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetIsBonder ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetRawDebit ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetTimeSlot ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetTransferId ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetTransferRoot ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) GetTransferRootId ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) Governance ¶
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*HopBridgeCaller) IsChainIdPaused ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) IsTransferIdSpent ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) L1CanonicalToken ¶
L1CanonicalToken is a free data retrieval call binding the contract method 0xb7a0bda6.
Solidity: function l1CanonicalToken() view returns(address)
func (*HopBridgeCaller) MinTransferRootBondDelay ¶
MinTransferRootBondDelay is a free data retrieval call binding the contract method 0x6cff06a7.
Solidity: function minTransferRootBondDelay() view returns(uint256)
func (*HopBridgeCaller) TIMESLOTSIZE ¶
TIMESLOTSIZE is a free data retrieval call binding the contract method 0x4de8c6e6.
Solidity: function TIME_SLOT_SIZE() view returns(uint256)
func (*HopBridgeCaller) TimeSlotToAmountBonded ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) TransferBonds ¶
func (_HopBridge *HopBridgeCaller) 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 (*HopBridgeCaller) TransferRootCommittedAt ¶
func (_HopBridge *HopBridgeCaller) TransferRootCommittedAt(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
TransferRootCommittedAt is a free data retrieval call binding the contract method 0x4612f40c.
Solidity: function transferRootCommittedAt(bytes32 ) view returns(uint256)
type HopBridgeCallerRaw ¶
type HopBridgeCallerRaw struct {
Contract *HopBridgeCaller // Generic read-only contract binding to access the raw methods on
}
HopBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HopBridgeCallerRaw) Call ¶
func (_HopBridge *HopBridgeCallerRaw) 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 HopBridgeCallerSession ¶
type HopBridgeCallerSession struct { Contract *HopBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HopBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HopBridgeCallerSession) CHALLENGEAMOUNTDIVISOR ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) ChainBalance ¶
ChainBalance is a free data retrieval call binding the contract method 0xfc110b67.
Solidity: function chainBalance(uint256 ) view returns(uint256)
func (*HopBridgeCallerSession) ChallengePeriod ¶
func (_HopBridge *HopBridgeCallerSession) ChallengePeriod() (*big.Int, error)
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256)
func (*HopBridgeCallerSession) ChallengeResolutionPeriod ¶
func (_HopBridge *HopBridgeCallerSession) ChallengeResolutionPeriod() (*big.Int, error)
ChallengeResolutionPeriod is a free data retrieval call binding the contract method 0x767631d5.
Solidity: function challengeResolutionPeriod() view returns(uint256)
func (*HopBridgeCallerSession) CrossDomainMessengerWrappers ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) GetBondForTransferAmount ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) GetBondedWithdrawalAmount ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) GetChainId ¶
func (_HopBridge *HopBridgeCallerSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopBridgeCallerSession) GetChallengeAmountForTransferAmount ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) GetCredit ¶
GetCredit is a free data retrieval call binding the contract method 0x57344e6f.
Solidity: function getCredit(address bonder) view returns(uint256)
func (*HopBridgeCallerSession) GetDebitAndAdditionalDebit ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) GetIsBonder ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) GetRawDebit ¶
GetRawDebit is a free data retrieval call binding the contract method 0x13948c76.
Solidity: function getRawDebit(address bonder) view returns(uint256)
func (*HopBridgeCallerSession) GetTimeSlot ¶
GetTimeSlot is a free data retrieval call binding the contract method 0x2b85dcc9.
Solidity: function getTimeSlot(uint256 time) pure returns(uint256)
func (*HopBridgeCallerSession) GetTransferId ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) GetTransferRoot ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) GetTransferRootId ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) Governance ¶
func (_HopBridge *HopBridgeCallerSession) Governance() (common.Address, error)
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*HopBridgeCallerSession) IsChainIdPaused ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) IsTransferIdSpent ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) L1CanonicalToken ¶
func (_HopBridge *HopBridgeCallerSession) L1CanonicalToken() (common.Address, error)
L1CanonicalToken is a free data retrieval call binding the contract method 0xb7a0bda6.
Solidity: function l1CanonicalToken() view returns(address)
func (*HopBridgeCallerSession) MinTransferRootBondDelay ¶
func (_HopBridge *HopBridgeCallerSession) MinTransferRootBondDelay() (*big.Int, error)
MinTransferRootBondDelay is a free data retrieval call binding the contract method 0x6cff06a7.
Solidity: function minTransferRootBondDelay() view returns(uint256)
func (*HopBridgeCallerSession) TIMESLOTSIZE ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) TimeSlotToAmountBonded ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) TransferBonds ¶
func (_HopBridge *HopBridgeCallerSession) 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 (*HopBridgeCallerSession) TransferRootCommittedAt ¶
func (_HopBridge *HopBridgeCallerSession) TransferRootCommittedAt(arg0 [32]byte) (*big.Int, error)
TransferRootCommittedAt is a free data retrieval call binding the contract method 0x4612f40c.
Solidity: function transferRootCommittedAt(bytes32 ) view returns(uint256)
type HopBridgeChallengeResolved ¶
type HopBridgeChallengeResolved struct { TransferRootId [32]byte RootHash [32]byte OriginalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopBridgeChallengeResolved represents a ChallengeResolved event raised by the HopBridge contract.
type HopBridgeChallengeResolvedIterator ¶
type HopBridgeChallengeResolvedIterator struct { Event *HopBridgeChallengeResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeChallengeResolvedIterator is returned from FilterChallengeResolved and is used to iterate over the raw logs and unpacked data for ChallengeResolved events raised by the HopBridge contract.
func (*HopBridgeChallengeResolvedIterator) Close ¶
func (it *HopBridgeChallengeResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeChallengeResolvedIterator) Error ¶
func (it *HopBridgeChallengeResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeChallengeResolvedIterator) Next ¶
func (it *HopBridgeChallengeResolvedIterator) 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 HopBridgeFilterer ¶
type HopBridgeFilterer struct {
// contains filtered or unexported fields
}
HopBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHopBridgeFilterer ¶
func NewHopBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*HopBridgeFilterer, error)
NewHopBridgeFilterer creates a new log filterer instance of HopBridge, bound to a specific deployed contract.
func (*HopBridgeFilterer) FilterBonderAdded ¶
func (_HopBridge *HopBridgeFilterer) FilterBonderAdded(opts *bind.FilterOpts, newBonder []common.Address) (*HopBridgeBonderAddedIterator, error)
FilterBonderAdded is a free log retrieval operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.
Solidity: event BonderAdded(address indexed newBonder)
func (*HopBridgeFilterer) FilterBonderRemoved ¶
func (_HopBridge *HopBridgeFilterer) FilterBonderRemoved(opts *bind.FilterOpts, previousBonder []common.Address) (*HopBridgeBonderRemovedIterator, error)
FilterBonderRemoved is a free log retrieval operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.
Solidity: event BonderRemoved(address indexed previousBonder)
func (*HopBridgeFilterer) FilterChallengeResolved ¶
func (_HopBridge *HopBridgeFilterer) FilterChallengeResolved(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopBridgeChallengeResolvedIterator, 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 (*HopBridgeFilterer) FilterMultipleWithdrawalsSettled ¶
func (_HopBridge *HopBridgeFilterer) FilterMultipleWithdrawalsSettled(opts *bind.FilterOpts, bonder []common.Address, rootHash [][32]byte) (*HopBridgeMultipleWithdrawalsSettledIterator, 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 (*HopBridgeFilterer) FilterStake ¶
func (_HopBridge *HopBridgeFilterer) FilterStake(opts *bind.FilterOpts, account []common.Address) (*HopBridgeStakeIterator, error)
FilterStake is a free log retrieval operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address indexed account, uint256 amount)
func (*HopBridgeFilterer) FilterTransferBondChallenged ¶
func (_HopBridge *HopBridgeFilterer) FilterTransferBondChallenged(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopBridgeTransferBondChallengedIterator, 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 (*HopBridgeFilterer) FilterTransferRootBonded ¶
func (_HopBridge *HopBridgeFilterer) FilterTransferRootBonded(opts *bind.FilterOpts, root [][32]byte) (*HopBridgeTransferRootBondedIterator, error)
FilterTransferRootBonded is a free log retrieval operation binding the contract event 0xa57b3e1f3af9eca02201028629700658608222c365064584cfe65d9630ef4f7b.
Solidity: event TransferRootBonded(bytes32 indexed root, uint256 amount)
func (*HopBridgeFilterer) FilterTransferRootConfirmed ¶
func (_HopBridge *HopBridgeFilterer) FilterTransferRootConfirmed(opts *bind.FilterOpts, originChainId []*big.Int, destinationChainId []*big.Int, rootHash [][32]byte) (*HopBridgeTransferRootConfirmedIterator, 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 (*HopBridgeFilterer) FilterTransferRootSet ¶
func (_HopBridge *HopBridgeFilterer) FilterTransferRootSet(opts *bind.FilterOpts, rootHash [][32]byte) (*HopBridgeTransferRootSetIterator, error)
FilterTransferRootSet is a free log retrieval operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.
Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)
func (*HopBridgeFilterer) FilterTransferSentToL2 ¶
func (_HopBridge *HopBridgeFilterer) FilterTransferSentToL2(opts *bind.FilterOpts, chainId []*big.Int, recipient []common.Address, relayer []common.Address) (*HopBridgeTransferSentToL2Iterator, 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 (*HopBridgeFilterer) FilterUnstake ¶
func (_HopBridge *HopBridgeFilterer) FilterUnstake(opts *bind.FilterOpts, account []common.Address) (*HopBridgeUnstakeIterator, error)
FilterUnstake is a free log retrieval operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.
Solidity: event Unstake(address indexed account, uint256 amount)
func (*HopBridgeFilterer) FilterWithdrawalBondSettled ¶
func (_HopBridge *HopBridgeFilterer) FilterWithdrawalBondSettled(opts *bind.FilterOpts, bonder []common.Address, transferId [][32]byte, rootHash [][32]byte) (*HopBridgeWithdrawalBondSettledIterator, 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 (*HopBridgeFilterer) FilterWithdrawalBonded ¶
func (_HopBridge *HopBridgeFilterer) FilterWithdrawalBonded(opts *bind.FilterOpts, transferId [][32]byte) (*HopBridgeWithdrawalBondedIterator, error)
FilterWithdrawalBonded is a free log retrieval operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.
Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)
func (*HopBridgeFilterer) FilterWithdrew ¶
func (_HopBridge *HopBridgeFilterer) FilterWithdrew(opts *bind.FilterOpts, transferId [][32]byte, recipient []common.Address) (*HopBridgeWithdrewIterator, 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 (*HopBridgeFilterer) ParseBonderAdded ¶
func (_HopBridge *HopBridgeFilterer) ParseBonderAdded(log types.Log) (*HopBridgeBonderAdded, error)
ParseBonderAdded is a log parse operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.
Solidity: event BonderAdded(address indexed newBonder)
func (*HopBridgeFilterer) ParseBonderRemoved ¶
func (_HopBridge *HopBridgeFilterer) ParseBonderRemoved(log types.Log) (*HopBridgeBonderRemoved, error)
ParseBonderRemoved is a log parse operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.
Solidity: event BonderRemoved(address indexed previousBonder)
func (*HopBridgeFilterer) ParseChallengeResolved ¶
func (_HopBridge *HopBridgeFilterer) ParseChallengeResolved(log types.Log) (*HopBridgeChallengeResolved, error)
ParseChallengeResolved is a log parse operation binding the contract event 0x4a99228a8a6d774d261be57ab0ed833bb1bae1f22bbbd3d4767b75ad03fdddf7.
Solidity: event ChallengeResolved(bytes32 indexed transferRootId, bytes32 indexed rootHash, uint256 originalAmount)
func (*HopBridgeFilterer) ParseMultipleWithdrawalsSettled ¶
func (_HopBridge *HopBridgeFilterer) ParseMultipleWithdrawalsSettled(log types.Log) (*HopBridgeMultipleWithdrawalsSettled, error)
ParseMultipleWithdrawalsSettled is a log parse operation binding the contract event 0x78e830d08be9d5f957414c84d685c061ecbd8467be98b42ebb64f0118b57d2ff.
Solidity: event MultipleWithdrawalsSettled(address indexed bonder, bytes32 indexed rootHash, uint256 totalBondsSettled)
func (*HopBridgeFilterer) ParseStake ¶
func (_HopBridge *HopBridgeFilterer) ParseStake(log types.Log) (*HopBridgeStake, error)
ParseStake is a log parse operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address indexed account, uint256 amount)
func (*HopBridgeFilterer) ParseTransferBondChallenged ¶
func (_HopBridge *HopBridgeFilterer) ParseTransferBondChallenged(log types.Log) (*HopBridgeTransferBondChallenged, error)
ParseTransferBondChallenged is a log parse operation binding the contract event 0xec2697dcba539a0ac947cdf1f6d0b6314c065429eca8be2435859b10209d4c27.
Solidity: event TransferBondChallenged(bytes32 indexed transferRootId, bytes32 indexed rootHash, uint256 originalAmount)
func (*HopBridgeFilterer) ParseTransferRootBonded ¶
func (_HopBridge *HopBridgeFilterer) ParseTransferRootBonded(log types.Log) (*HopBridgeTransferRootBonded, error)
ParseTransferRootBonded is a log parse operation binding the contract event 0xa57b3e1f3af9eca02201028629700658608222c365064584cfe65d9630ef4f7b.
Solidity: event TransferRootBonded(bytes32 indexed root, uint256 amount)
func (*HopBridgeFilterer) ParseTransferRootConfirmed ¶
func (_HopBridge *HopBridgeFilterer) ParseTransferRootConfirmed(log types.Log) (*HopBridgeTransferRootConfirmed, 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 (*HopBridgeFilterer) ParseTransferRootSet ¶
func (_HopBridge *HopBridgeFilterer) ParseTransferRootSet(log types.Log) (*HopBridgeTransferRootSet, error)
ParseTransferRootSet is a log parse operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.
Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)
func (*HopBridgeFilterer) ParseTransferSentToL2 ¶
func (_HopBridge *HopBridgeFilterer) ParseTransferSentToL2(log types.Log) (*HopBridgeTransferSentToL2, 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 (*HopBridgeFilterer) ParseUnstake ¶
func (_HopBridge *HopBridgeFilterer) ParseUnstake(log types.Log) (*HopBridgeUnstake, error)
ParseUnstake is a log parse operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.
Solidity: event Unstake(address indexed account, uint256 amount)
func (*HopBridgeFilterer) ParseWithdrawalBondSettled ¶
func (_HopBridge *HopBridgeFilterer) ParseWithdrawalBondSettled(log types.Log) (*HopBridgeWithdrawalBondSettled, 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 (*HopBridgeFilterer) ParseWithdrawalBonded ¶
func (_HopBridge *HopBridgeFilterer) ParseWithdrawalBonded(log types.Log) (*HopBridgeWithdrawalBonded, error)
ParseWithdrawalBonded is a log parse operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.
Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)
func (*HopBridgeFilterer) ParseWithdrew ¶
func (_HopBridge *HopBridgeFilterer) ParseWithdrew(log types.Log) (*HopBridgeWithdrew, 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 (*HopBridgeFilterer) WatchBonderAdded ¶
func (_HopBridge *HopBridgeFilterer) WatchBonderAdded(opts *bind.WatchOpts, sink chan<- *HopBridgeBonderAdded, 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 (*HopBridgeFilterer) WatchBonderRemoved ¶
func (_HopBridge *HopBridgeFilterer) WatchBonderRemoved(opts *bind.WatchOpts, sink chan<- *HopBridgeBonderRemoved, 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 (*HopBridgeFilterer) WatchChallengeResolved ¶
func (_HopBridge *HopBridgeFilterer) WatchChallengeResolved(opts *bind.WatchOpts, sink chan<- *HopBridgeChallengeResolved, 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 (*HopBridgeFilterer) WatchMultipleWithdrawalsSettled ¶
func (_HopBridge *HopBridgeFilterer) WatchMultipleWithdrawalsSettled(opts *bind.WatchOpts, sink chan<- *HopBridgeMultipleWithdrawalsSettled, 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 (*HopBridgeFilterer) WatchStake ¶
func (_HopBridge *HopBridgeFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *HopBridgeStake, 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 (*HopBridgeFilterer) WatchTransferBondChallenged ¶
func (_HopBridge *HopBridgeFilterer) WatchTransferBondChallenged(opts *bind.WatchOpts, sink chan<- *HopBridgeTransferBondChallenged, 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 (*HopBridgeFilterer) WatchTransferRootBonded ¶
func (_HopBridge *HopBridgeFilterer) WatchTransferRootBonded(opts *bind.WatchOpts, sink chan<- *HopBridgeTransferRootBonded, 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 (*HopBridgeFilterer) WatchTransferRootConfirmed ¶
func (_HopBridge *HopBridgeFilterer) WatchTransferRootConfirmed(opts *bind.WatchOpts, sink chan<- *HopBridgeTransferRootConfirmed, 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 (*HopBridgeFilterer) WatchTransferRootSet ¶
func (_HopBridge *HopBridgeFilterer) WatchTransferRootSet(opts *bind.WatchOpts, sink chan<- *HopBridgeTransferRootSet, 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 (*HopBridgeFilterer) WatchTransferSentToL2 ¶
func (_HopBridge *HopBridgeFilterer) WatchTransferSentToL2(opts *bind.WatchOpts, sink chan<- *HopBridgeTransferSentToL2, 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 (*HopBridgeFilterer) WatchUnstake ¶
func (_HopBridge *HopBridgeFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *HopBridgeUnstake, 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 (*HopBridgeFilterer) WatchWithdrawalBondSettled ¶
func (_HopBridge *HopBridgeFilterer) WatchWithdrawalBondSettled(opts *bind.WatchOpts, sink chan<- *HopBridgeWithdrawalBondSettled, 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 (*HopBridgeFilterer) WatchWithdrawalBonded ¶
func (_HopBridge *HopBridgeFilterer) WatchWithdrawalBonded(opts *bind.WatchOpts, sink chan<- *HopBridgeWithdrawalBonded, 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 (*HopBridgeFilterer) WatchWithdrew ¶
func (_HopBridge *HopBridgeFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *HopBridgeWithdrew, 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 HopBridgeMultipleWithdrawalsSettled ¶
type HopBridgeMultipleWithdrawalsSettled struct { Bonder common.Address RootHash [32]byte TotalBondsSettled *big.Int Raw types.Log // Blockchain specific contextual infos }
HopBridgeMultipleWithdrawalsSettled represents a MultipleWithdrawalsSettled event raised by the HopBridge contract.
type HopBridgeMultipleWithdrawalsSettledIterator ¶
type HopBridgeMultipleWithdrawalsSettledIterator struct { Event *HopBridgeMultipleWithdrawalsSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeMultipleWithdrawalsSettledIterator is returned from FilterMultipleWithdrawalsSettled and is used to iterate over the raw logs and unpacked data for MultipleWithdrawalsSettled events raised by the HopBridge contract.
func (*HopBridgeMultipleWithdrawalsSettledIterator) Close ¶
func (it *HopBridgeMultipleWithdrawalsSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeMultipleWithdrawalsSettledIterator) Error ¶
func (it *HopBridgeMultipleWithdrawalsSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeMultipleWithdrawalsSettledIterator) Next ¶
func (it *HopBridgeMultipleWithdrawalsSettledIterator) 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 HopBridgeRaw ¶
type HopBridgeRaw struct {
Contract *HopBridge // Generic contract binding to access the raw methods on
}
HopBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HopBridgeRaw) Call ¶
func (_HopBridge *HopBridgeRaw) 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 (*HopBridgeRaw) Transact ¶
func (_HopBridge *HopBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HopBridgeRaw) Transfer ¶
func (_HopBridge *HopBridgeRaw) 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 HopBridgeSession ¶
type HopBridgeSession struct { Contract *HopBridge // 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 }
HopBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HopBridgeSession) AddBonder ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) BondTransferRoot ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) BondWithdrawal ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) CHALLENGEAMOUNTDIVISOR ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) ChainBalance ¶
ChainBalance is a free data retrieval call binding the contract method 0xfc110b67.
Solidity: function chainBalance(uint256 ) view returns(uint256)
func (*HopBridgeSession) ChallengePeriod ¶
func (_HopBridge *HopBridgeSession) ChallengePeriod() (*big.Int, error)
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256)
func (*HopBridgeSession) ChallengeResolutionPeriod ¶
func (_HopBridge *HopBridgeSession) ChallengeResolutionPeriod() (*big.Int, error)
ChallengeResolutionPeriod is a free data retrieval call binding the contract method 0x767631d5.
Solidity: function challengeResolutionPeriod() view returns(uint256)
func (*HopBridgeSession) ChallengeTransferBond ¶
func (_HopBridge *HopBridgeSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
ChallengeTransferBond is a paid mutator transaction binding the contract method 0xbacc68af.
Solidity: function challengeTransferBond(bytes32 rootHash, uint256 originalAmount) payable returns()
func (*HopBridgeSession) ConfirmTransferRoot ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) CrossDomainMessengerWrappers ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) GetBondForTransferAmount ¶
GetBondForTransferAmount is a free data retrieval call binding the contract method 0xe19be150.
Solidity: function getBondForTransferAmount(uint256 amount) pure returns(uint256)
func (*HopBridgeSession) GetBondedWithdrawalAmount ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) GetChainId ¶
func (_HopBridge *HopBridgeSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopBridgeSession) GetChallengeAmountForTransferAmount ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) GetCredit ¶
GetCredit is a free data retrieval call binding the contract method 0x57344e6f.
Solidity: function getCredit(address bonder) view returns(uint256)
func (*HopBridgeSession) GetDebitAndAdditionalDebit ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) GetIsBonder ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) GetRawDebit ¶
GetRawDebit is a free data retrieval call binding the contract method 0x13948c76.
Solidity: function getRawDebit(address bonder) view returns(uint256)
func (*HopBridgeSession) GetTimeSlot ¶
GetTimeSlot is a free data retrieval call binding the contract method 0x2b85dcc9.
Solidity: function getTimeSlot(uint256 time) pure returns(uint256)
func (*HopBridgeSession) GetTransferId ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) GetTransferRoot ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) GetTransferRootId ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) Governance ¶
func (_HopBridge *HopBridgeSession) Governance() (common.Address, error)
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*HopBridgeSession) IsChainIdPaused ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) IsTransferIdSpent ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) L1CanonicalToken ¶
func (_HopBridge *HopBridgeSession) L1CanonicalToken() (common.Address, error)
L1CanonicalToken is a free data retrieval call binding the contract method 0xb7a0bda6.
Solidity: function l1CanonicalToken() view returns(address)
func (*HopBridgeSession) MinTransferRootBondDelay ¶
func (_HopBridge *HopBridgeSession) MinTransferRootBondDelay() (*big.Int, error)
MinTransferRootBondDelay is a free data retrieval call binding the contract method 0x6cff06a7.
Solidity: function minTransferRootBondDelay() view returns(uint256)
func (*HopBridgeSession) RemoveBonder ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) RescueTransferRoot ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) ResolveChallenge ¶
func (_HopBridge *HopBridgeSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0x45ca9fc9.
Solidity: function resolveChallenge(bytes32 rootHash, uint256 originalAmount) returns()
func (*HopBridgeSession) SendToL2 ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) SetChainIdDepositsPaused ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) SetChallengePeriod ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) SetChallengeResolutionPeriod ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) SetCrossDomainMessengerWrapper ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) SetGovernance ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) SetMinTransferRootBondDelay ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) SettleBondedWithdrawal ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) SettleBondedWithdrawals ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) Stake ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) TIMESLOTSIZE ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) TimeSlotToAmountBonded ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) TransferBonds ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) TransferRootCommittedAt ¶
func (_HopBridge *HopBridgeSession) TransferRootCommittedAt(arg0 [32]byte) (*big.Int, error)
TransferRootCommittedAt is a free data retrieval call binding the contract method 0x4612f40c.
Solidity: function transferRootCommittedAt(bytes32 ) view returns(uint256)
func (*HopBridgeSession) Unstake ¶
func (_HopBridge *HopBridgeSession) 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 (*HopBridgeSession) Withdraw ¶
func (_HopBridge *HopBridgeSession) 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 HopBridgeStake ¶
type HopBridgeStake struct { Account common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopBridgeStake represents a Stake event raised by the HopBridge contract.
type HopBridgeStakeIterator ¶
type HopBridgeStakeIterator struct { Event *HopBridgeStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeStakeIterator is returned from FilterStake and is used to iterate over the raw logs and unpacked data for Stake events raised by the HopBridge contract.
func (*HopBridgeStakeIterator) Close ¶
func (it *HopBridgeStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeStakeIterator) Error ¶
func (it *HopBridgeStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeStakeIterator) Next ¶
func (it *HopBridgeStakeIterator) 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 HopBridgeTransactor ¶
type HopBridgeTransactor struct {
// contains filtered or unexported fields
}
HopBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHopBridgeTransactor ¶
func NewHopBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*HopBridgeTransactor, error)
NewHopBridgeTransactor creates a new write-only instance of HopBridge, bound to a specific deployed contract.
func (*HopBridgeTransactor) AddBonder ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) BondTransferRoot ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) BondWithdrawal ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) ChallengeTransferBond ¶
func (_HopBridge *HopBridgeTransactor) ChallengeTransferBond(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
ChallengeTransferBond is a paid mutator transaction binding the contract method 0xbacc68af.
Solidity: function challengeTransferBond(bytes32 rootHash, uint256 originalAmount) payable returns()
func (*HopBridgeTransactor) ConfirmTransferRoot ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) RemoveBonder ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) RescueTransferRoot ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) ResolveChallenge ¶
func (_HopBridge *HopBridgeTransactor) ResolveChallenge(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0x45ca9fc9.
Solidity: function resolveChallenge(bytes32 rootHash, uint256 originalAmount) returns()
func (*HopBridgeTransactor) SendToL2 ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) SetChainIdDepositsPaused ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) SetChallengePeriod ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) SetChallengeResolutionPeriod ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) SetCrossDomainMessengerWrapper ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) SetGovernance ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) SetMinTransferRootBondDelay ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) SettleBondedWithdrawal ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) SettleBondedWithdrawals ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) Stake ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) Unstake ¶
func (_HopBridge *HopBridgeTransactor) 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 (*HopBridgeTransactor) Withdraw ¶
func (_HopBridge *HopBridgeTransactor) 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 HopBridgeTransactorRaw ¶
type HopBridgeTransactorRaw struct {
Contract *HopBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
HopBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HopBridgeTransactorRaw) Transact ¶
func (_HopBridge *HopBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HopBridgeTransactorRaw) Transfer ¶
func (_HopBridge *HopBridgeTransactorRaw) 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 HopBridgeTransactorSession ¶
type HopBridgeTransactorSession struct { Contract *HopBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HopBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HopBridgeTransactorSession) AddBonder ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) BondTransferRoot ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) BondWithdrawal ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) ChallengeTransferBond ¶
func (_HopBridge *HopBridgeTransactorSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
ChallengeTransferBond is a paid mutator transaction binding the contract method 0xbacc68af.
Solidity: function challengeTransferBond(bytes32 rootHash, uint256 originalAmount) payable returns()
func (*HopBridgeTransactorSession) ConfirmTransferRoot ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) RemoveBonder ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) RescueTransferRoot ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) ResolveChallenge ¶
func (_HopBridge *HopBridgeTransactorSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0x45ca9fc9.
Solidity: function resolveChallenge(bytes32 rootHash, uint256 originalAmount) returns()
func (*HopBridgeTransactorSession) SendToL2 ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) SetChainIdDepositsPaused ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) SetChallengePeriod ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) SetChallengeResolutionPeriod ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) SetCrossDomainMessengerWrapper ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) SetGovernance ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) SetMinTransferRootBondDelay ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) SettleBondedWithdrawal ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) SettleBondedWithdrawals ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) Stake ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) Unstake ¶
func (_HopBridge *HopBridgeTransactorSession) 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 (*HopBridgeTransactorSession) Withdraw ¶
func (_HopBridge *HopBridgeTransactorSession) 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 HopBridgeTransferBondChallenged ¶
type HopBridgeTransferBondChallenged struct { TransferRootId [32]byte RootHash [32]byte OriginalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopBridgeTransferBondChallenged represents a TransferBondChallenged event raised by the HopBridge contract.
type HopBridgeTransferBondChallengedIterator ¶
type HopBridgeTransferBondChallengedIterator struct { Event *HopBridgeTransferBondChallenged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeTransferBondChallengedIterator is returned from FilterTransferBondChallenged and is used to iterate over the raw logs and unpacked data for TransferBondChallenged events raised by the HopBridge contract.
func (*HopBridgeTransferBondChallengedIterator) Close ¶
func (it *HopBridgeTransferBondChallengedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeTransferBondChallengedIterator) Error ¶
func (it *HopBridgeTransferBondChallengedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeTransferBondChallengedIterator) Next ¶
func (it *HopBridgeTransferBondChallengedIterator) 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 HopBridgeTransferRootBonded ¶
type HopBridgeTransferRootBonded struct { Root [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopBridgeTransferRootBonded represents a TransferRootBonded event raised by the HopBridge contract.
type HopBridgeTransferRootBondedIterator ¶
type HopBridgeTransferRootBondedIterator struct { Event *HopBridgeTransferRootBonded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeTransferRootBondedIterator is returned from FilterTransferRootBonded and is used to iterate over the raw logs and unpacked data for TransferRootBonded events raised by the HopBridge contract.
func (*HopBridgeTransferRootBondedIterator) Close ¶
func (it *HopBridgeTransferRootBondedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeTransferRootBondedIterator) Error ¶
func (it *HopBridgeTransferRootBondedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeTransferRootBondedIterator) Next ¶
func (it *HopBridgeTransferRootBondedIterator) 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 HopBridgeTransferRootConfirmed ¶
type HopBridgeTransferRootConfirmed struct { OriginChainId *big.Int DestinationChainId *big.Int RootHash [32]byte TotalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopBridgeTransferRootConfirmed represents a TransferRootConfirmed event raised by the HopBridge contract.
type HopBridgeTransferRootConfirmedIterator ¶
type HopBridgeTransferRootConfirmedIterator struct { Event *HopBridgeTransferRootConfirmed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeTransferRootConfirmedIterator is returned from FilterTransferRootConfirmed and is used to iterate over the raw logs and unpacked data for TransferRootConfirmed events raised by the HopBridge contract.
func (*HopBridgeTransferRootConfirmedIterator) Close ¶
func (it *HopBridgeTransferRootConfirmedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeTransferRootConfirmedIterator) Error ¶
func (it *HopBridgeTransferRootConfirmedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeTransferRootConfirmedIterator) Next ¶
func (it *HopBridgeTransferRootConfirmedIterator) 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 HopBridgeTransferRootSet ¶
type HopBridgeTransferRootSet struct { RootHash [32]byte TotalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopBridgeTransferRootSet represents a TransferRootSet event raised by the HopBridge contract.
type HopBridgeTransferRootSetIterator ¶
type HopBridgeTransferRootSetIterator struct { Event *HopBridgeTransferRootSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeTransferRootSetIterator is returned from FilterTransferRootSet and is used to iterate over the raw logs and unpacked data for TransferRootSet events raised by the HopBridge contract.
func (*HopBridgeTransferRootSetIterator) Close ¶
func (it *HopBridgeTransferRootSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeTransferRootSetIterator) Error ¶
func (it *HopBridgeTransferRootSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeTransferRootSetIterator) Next ¶
func (it *HopBridgeTransferRootSetIterator) 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 HopBridgeTransferSentToL2 ¶
type HopBridgeTransferSentToL2 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 }
HopBridgeTransferSentToL2 represents a TransferSentToL2 event raised by the HopBridge contract.
type HopBridgeTransferSentToL2Iterator ¶
type HopBridgeTransferSentToL2Iterator struct { Event *HopBridgeTransferSentToL2 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeTransferSentToL2Iterator is returned from FilterTransferSentToL2 and is used to iterate over the raw logs and unpacked data for TransferSentToL2 events raised by the HopBridge contract.
func (*HopBridgeTransferSentToL2Iterator) Close ¶
func (it *HopBridgeTransferSentToL2Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeTransferSentToL2Iterator) Error ¶
func (it *HopBridgeTransferSentToL2Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeTransferSentToL2Iterator) Next ¶
func (it *HopBridgeTransferSentToL2Iterator) 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 HopBridgeUnstake ¶
type HopBridgeUnstake struct { Account common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopBridgeUnstake represents a Unstake event raised by the HopBridge contract.
type HopBridgeUnstakeIterator ¶
type HopBridgeUnstakeIterator struct { Event *HopBridgeUnstake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeUnstakeIterator is returned from FilterUnstake and is used to iterate over the raw logs and unpacked data for Unstake events raised by the HopBridge contract.
func (*HopBridgeUnstakeIterator) Close ¶
func (it *HopBridgeUnstakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeUnstakeIterator) Error ¶
func (it *HopBridgeUnstakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeUnstakeIterator) Next ¶
func (it *HopBridgeUnstakeIterator) 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 HopBridgeWithdrawalBondSettled ¶
type HopBridgeWithdrawalBondSettled struct { Bonder common.Address TransferId [32]byte RootHash [32]byte Raw types.Log // Blockchain specific contextual infos }
HopBridgeWithdrawalBondSettled represents a WithdrawalBondSettled event raised by the HopBridge contract.
type HopBridgeWithdrawalBondSettledIterator ¶
type HopBridgeWithdrawalBondSettledIterator struct { Event *HopBridgeWithdrawalBondSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeWithdrawalBondSettledIterator is returned from FilterWithdrawalBondSettled and is used to iterate over the raw logs and unpacked data for WithdrawalBondSettled events raised by the HopBridge contract.
func (*HopBridgeWithdrawalBondSettledIterator) Close ¶
func (it *HopBridgeWithdrawalBondSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeWithdrawalBondSettledIterator) Error ¶
func (it *HopBridgeWithdrawalBondSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeWithdrawalBondSettledIterator) Next ¶
func (it *HopBridgeWithdrawalBondSettledIterator) 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 HopBridgeWithdrawalBonded ¶
type HopBridgeWithdrawalBonded struct { TransferId [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopBridgeWithdrawalBonded represents a WithdrawalBonded event raised by the HopBridge contract.
type HopBridgeWithdrawalBondedIterator ¶
type HopBridgeWithdrawalBondedIterator struct { Event *HopBridgeWithdrawalBonded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeWithdrawalBondedIterator is returned from FilterWithdrawalBonded and is used to iterate over the raw logs and unpacked data for WithdrawalBonded events raised by the HopBridge contract.
func (*HopBridgeWithdrawalBondedIterator) Close ¶
func (it *HopBridgeWithdrawalBondedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeWithdrawalBondedIterator) Error ¶
func (it *HopBridgeWithdrawalBondedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeWithdrawalBondedIterator) Next ¶
func (it *HopBridgeWithdrawalBondedIterator) 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 HopBridgeWithdrew ¶
type HopBridgeWithdrew struct { TransferId [32]byte Recipient common.Address Amount *big.Int TransferNonce [32]byte Raw types.Log // Blockchain specific contextual infos }
HopBridgeWithdrew represents a Withdrew event raised by the HopBridge contract.
type HopBridgeWithdrewIterator ¶
type HopBridgeWithdrewIterator struct { Event *HopBridgeWithdrew // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopBridgeWithdrewIterator is returned from FilterWithdrew and is used to iterate over the raw logs and unpacked data for Withdrew events raised by the HopBridge contract.
func (*HopBridgeWithdrewIterator) Close ¶
func (it *HopBridgeWithdrewIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopBridgeWithdrewIterator) Error ¶
func (it *HopBridgeWithdrewIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopBridgeWithdrewIterator) Next ¶
func (it *HopBridgeWithdrewIterator) 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.