Documentation ¶
Index ¶
- Variables
- type BridgeTransferRoot
- type HopL1HopBridge
- type HopL1HopBridgeBonderAdded
- type HopL1HopBridgeBonderAddedIterator
- type HopL1HopBridgeBonderRemoved
- type HopL1HopBridgeBonderRemovedIterator
- type HopL1HopBridgeCaller
- func (_HopL1HopBridge *HopL1HopBridgeCaller) CHALLENGEAMOUNTDIVISOR(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) ChainBalance(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) ChallengePeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) ChallengeResolutionPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) CrossDomainMessengerWrappers(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetBondForTransferAmount(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetBondedWithdrawalAmount(opts *bind.CallOpts, bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetChallengeAmountForTransferAmount(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetCredit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetDebitAndAdditionalDebit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetIsBonder(opts *bind.CallOpts, maybeBonder common.Address) (bool, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetRawDebit(opts *bind.CallOpts, bonder common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetTimeSlot(opts *bind.CallOpts, time *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetTransferId(opts *bind.CallOpts, chainId *big.Int, recipient common.Address, ...) ([32]byte, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetTransferRoot(opts *bind.CallOpts, rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) GetTransferRootId(opts *bind.CallOpts, rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) Governance(opts *bind.CallOpts) (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) IsChainIdPaused(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) IsTransferIdSpent(opts *bind.CallOpts, transferId [32]byte) (bool, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) L1CanonicalToken(opts *bind.CallOpts) (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) Migrator(opts *bind.CallOpts) (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) MinTransferRootBondDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) TIMESLOTSIZE(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) TimeSlotToAmountBonded(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) TransferBonds(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_HopL1HopBridge *HopL1HopBridgeCaller) TransferRootCommittedAt(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
- type HopL1HopBridgeCallerRaw
- type HopL1HopBridgeCallerSession
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) CHALLENGEAMOUNTDIVISOR() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) ChainBalance(arg0 *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) ChallengePeriod() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) ChallengeResolutionPeriod() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) CrossDomainMessengerWrappers(arg0 *big.Int) (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetBondForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetBondedWithdrawalAmount(bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetChainId() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetChallengeAmountForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetCredit(bonder common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetDebitAndAdditionalDebit(bonder common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetIsBonder(maybeBonder common.Address) (bool, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetRawDebit(bonder common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetTimeSlot(time *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, ...) ([32]byte, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetTransferRootId(rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) Governance() (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) IsChainIdPaused(arg0 *big.Int) (bool, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) IsTransferIdSpent(transferId [32]byte) (bool, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) L1CanonicalToken() (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) Migrator() (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) MinTransferRootBondDelay() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) TIMESLOTSIZE() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) TimeSlotToAmountBonded(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) TransferBonds(arg0 [32]byte) (struct{ ... }, error)
- func (_HopL1HopBridge *HopL1HopBridgeCallerSession) TransferRootCommittedAt(arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
- type HopL1HopBridgeChallengeResolved
- type HopL1HopBridgeChallengeResolvedIterator
- type HopL1HopBridgeFilterer
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterBonderAdded(opts *bind.FilterOpts, newBonder []common.Address) (*HopL1HopBridgeBonderAddedIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterBonderRemoved(opts *bind.FilterOpts, previousBonder []common.Address) (*HopL1HopBridgeBonderRemovedIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterChallengeResolved(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopL1HopBridgeChallengeResolvedIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterMultipleWithdrawalsSettled(opts *bind.FilterOpts, bonder []common.Address, rootHash [][32]byte) (*HopL1HopBridgeMultipleWithdrawalsSettledIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterStake(opts *bind.FilterOpts, account []common.Address) (*HopL1HopBridgeStakeIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterTransferBondChallenged(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopL1HopBridgeTransferBondChallengedIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterTransferRootBonded(opts *bind.FilterOpts, root [][32]byte) (*HopL1HopBridgeTransferRootBondedIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterTransferRootConfirmed(opts *bind.FilterOpts, originChainId []*big.Int, destinationChainId []*big.Int, ...) (*HopL1HopBridgeTransferRootConfirmedIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterTransferRootSet(opts *bind.FilterOpts, rootHash [][32]byte) (*HopL1HopBridgeTransferRootSetIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterTransferSentToL2(opts *bind.FilterOpts, chainId []*big.Int, recipient []common.Address, ...) (*HopL1HopBridgeTransferSentToL2Iterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterUnstake(opts *bind.FilterOpts, account []common.Address) (*HopL1HopBridgeUnstakeIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterWithdrawalBondSettled(opts *bind.FilterOpts, bonder []common.Address, transferId [][32]byte, ...) (*HopL1HopBridgeWithdrawalBondSettledIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterWithdrawalBonded(opts *bind.FilterOpts, transferId [][32]byte) (*HopL1HopBridgeWithdrawalBondedIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterWithdrew(opts *bind.FilterOpts, transferId [][32]byte, recipient []common.Address) (*HopL1HopBridgeWithdrewIterator, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseBonderAdded(log types.Log) (*HopL1HopBridgeBonderAdded, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseBonderRemoved(log types.Log) (*HopL1HopBridgeBonderRemoved, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseChallengeResolved(log types.Log) (*HopL1HopBridgeChallengeResolved, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseMultipleWithdrawalsSettled(log types.Log) (*HopL1HopBridgeMultipleWithdrawalsSettled, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseStake(log types.Log) (*HopL1HopBridgeStake, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseTransferBondChallenged(log types.Log) (*HopL1HopBridgeTransferBondChallenged, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseTransferRootBonded(log types.Log) (*HopL1HopBridgeTransferRootBonded, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseTransferRootConfirmed(log types.Log) (*HopL1HopBridgeTransferRootConfirmed, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseTransferRootSet(log types.Log) (*HopL1HopBridgeTransferRootSet, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseTransferSentToL2(log types.Log) (*HopL1HopBridgeTransferSentToL2, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseUnstake(log types.Log) (*HopL1HopBridgeUnstake, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseWithdrawalBondSettled(log types.Log) (*HopL1HopBridgeWithdrawalBondSettled, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseWithdrawalBonded(log types.Log) (*HopL1HopBridgeWithdrawalBonded, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseWithdrew(log types.Log) (*HopL1HopBridgeWithdrew, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchBonderAdded(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeBonderAdded, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchBonderRemoved(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeBonderRemoved, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchChallengeResolved(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeChallengeResolved, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchMultipleWithdrawalsSettled(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeMultipleWithdrawalsSettled, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeStake, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchTransferBondChallenged(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeTransferBondChallenged, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchTransferRootBonded(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeTransferRootBonded, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchTransferRootConfirmed(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeTransferRootConfirmed, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchTransferRootSet(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeTransferRootSet, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchTransferSentToL2(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeTransferSentToL2, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeUnstake, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchWithdrawalBondSettled(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeWithdrawalBondSettled, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchWithdrawalBonded(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeWithdrawalBonded, ...) (event.Subscription, error)
- func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeWithdrew, ...) (event.Subscription, error)
- type HopL1HopBridgeMultipleWithdrawalsSettled
- type HopL1HopBridgeMultipleWithdrawalsSettledIterator
- type HopL1HopBridgeRaw
- func (_HopL1HopBridge *HopL1HopBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_HopL1HopBridge *HopL1HopBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HopL1HopBridgeSession
- func (_HopL1HopBridge *HopL1HopBridgeSession) AddBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) BondTransferRoot(rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) BondWithdrawal(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) CHALLENGEAMOUNTDIVISOR() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) ChainBalance(arg0 *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) ChallengePeriod() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) ChallengeResolutionPeriod() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) ConfirmTransferRoot(originChainId *big.Int, rootHash [32]byte, destinationChainId *big.Int, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) CrossDomainMessengerWrappers(arg0 *big.Int) (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetBondForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetBondedWithdrawalAmount(bonder common.Address, transferId [32]byte) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetChainId() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetChallengeAmountForTransferAmount(amount *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetCredit(bonder common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetDebitAndAdditionalDebit(bonder common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetIsBonder(maybeBonder common.Address) (bool, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetRawDebit(bonder common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetTimeSlot(time *big.Int) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetTransferId(chainId *big.Int, recipient common.Address, amount *big.Int, ...) ([32]byte, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (BridgeTransferRoot, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) GetTransferRootId(rootHash [32]byte, totalAmount *big.Int) ([32]byte, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) Governance() (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) IsChainIdPaused(arg0 *big.Int) (bool, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) IsTransferIdSpent(transferId [32]byte) (bool, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) L1CanonicalToken() (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) MigrateTokens(recipient common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) Migrator() (common.Address, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) MinTransferRootBondDelay() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) RemoveBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) RescueTransferRoot(rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) SetChainIdDepositsPaused(chainId *big.Int, isPaused bool) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) SetChallengePeriod(_challengePeriod *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) SetChallengeResolutionPeriod(_challengeResolutionPeriod *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) SetCrossDomainMessengerWrapper(chainId *big.Int, _crossDomainMessengerWrapper common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) SetGovernance(_newGovernance common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) SetMigrator(_newMigrator common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) SetMinTransferRootBondDelay(_minTransferRootBondDelay *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) SettleBondedWithdrawals(bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) Stake(bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) TIMESLOTSIZE() (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) TimeSlotToAmountBonded(arg0 *big.Int, arg1 common.Address) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) TransferBonds(arg0 [32]byte) (struct{ ... }, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) TransferRootCommittedAt(arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) Unstake(amount *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- type HopL1HopBridgeStake
- type HopL1HopBridgeStakeIterator
- type HopL1HopBridgeTransactor
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) AddBonder(opts *bind.TransactOpts, bonder common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) BondTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, destinationChainId *big.Int, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) BondWithdrawal(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) ChallengeTransferBond(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) ConfirmTransferRoot(opts *bind.TransactOpts, originChainId *big.Int, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) MigrateTokens(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) RemoveBonder(opts *bind.TransactOpts, bonder common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) RescueTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) ResolveChallenge(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) SendToL2(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) SetChainIdDepositsPaused(opts *bind.TransactOpts, chainId *big.Int, isPaused bool) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) SetChallengePeriod(opts *bind.TransactOpts, _challengePeriod *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) SetChallengeResolutionPeriod(opts *bind.TransactOpts, _challengeResolutionPeriod *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) SetCrossDomainMessengerWrapper(opts *bind.TransactOpts, chainId *big.Int, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) SetGovernance(opts *bind.TransactOpts, _newGovernance common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) SetMigrator(opts *bind.TransactOpts, _newMigrator common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) SetMinTransferRootBondDelay(opts *bind.TransactOpts, _minTransferRootBondDelay *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) SettleBondedWithdrawal(opts *bind.TransactOpts, bonder common.Address, transferId [32]byte, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) SettleBondedWithdrawals(opts *bind.TransactOpts, bonder common.Address, transferIds [][32]byte, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) Stake(opts *bind.TransactOpts, bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) Unstake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactor) Withdraw(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- type HopL1HopBridgeTransactorRaw
- type HopL1HopBridgeTransactorSession
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) AddBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) BondTransferRoot(rootHash [32]byte, destinationChainId *big.Int, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) BondWithdrawal(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) ConfirmTransferRoot(originChainId *big.Int, rootHash [32]byte, destinationChainId *big.Int, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) MigrateTokens(recipient common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) RemoveBonder(bonder common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) RescueTransferRoot(rootHash [32]byte, originalAmount *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SendToL2(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SetChainIdDepositsPaused(chainId *big.Int, isPaused bool) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SetChallengePeriod(_challengePeriod *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SetChallengeResolutionPeriod(_challengeResolutionPeriod *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SetCrossDomainMessengerWrapper(chainId *big.Int, _crossDomainMessengerWrapper common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SetGovernance(_newGovernance common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SetMigrator(_newMigrator common.Address) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SetMinTransferRootBondDelay(_minTransferRootBondDelay *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SettleBondedWithdrawal(bonder common.Address, transferId [32]byte, rootHash [32]byte, ...) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SettleBondedWithdrawals(bonder common.Address, transferIds [][32]byte, totalAmount *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) Stake(bonder common.Address, amount *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) Unstake(amount *big.Int) (*types.Transaction, error)
- func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) Withdraw(recipient common.Address, amount *big.Int, transferNonce [32]byte, ...) (*types.Transaction, error)
- type HopL1HopBridgeTransferBondChallenged
- type HopL1HopBridgeTransferBondChallengedIterator
- type HopL1HopBridgeTransferRootBonded
- type HopL1HopBridgeTransferRootBondedIterator
- type HopL1HopBridgeTransferRootConfirmed
- type HopL1HopBridgeTransferRootConfirmedIterator
- type HopL1HopBridgeTransferRootSet
- type HopL1HopBridgeTransferRootSetIterator
- type HopL1HopBridgeTransferSentToL2
- type HopL1HopBridgeTransferSentToL2Iterator
- type HopL1HopBridgeUnstake
- type HopL1HopBridgeUnstakeIterator
- type HopL1HopBridgeWithdrawalBondSettled
- type HopL1HopBridgeWithdrawalBondSettledIterator
- type HopL1HopBridgeWithdrawalBonded
- type HopL1HopBridgeWithdrawalBondedIterator
- type HopL1HopBridgeWithdrew
- type HopL1HopBridgeWithdrewIterator
Constants ¶
This section is empty.
Variables ¶
var HopL1HopBridgeABI = HopL1HopBridgeMetaData.ABI
HopL1HopBridgeABI is the input ABI used to generate the binding from. Deprecated: Use HopL1HopBridgeMetaData.ABI instead.
var HopL1HopBridgeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_l1CanonicalToken\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"bonders\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"_governance\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_migrator\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newBonder\",\"type\":\"address\"}],\"name\":\"BonderAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousBonder\",\"type\":\"address\"}],\"name\":\"BonderRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferRootId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"}],\"name\":\"ChallengeResolved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBondsSettled\",\"type\":\"uint256\"}],\"name\":\"MultipleWithdrawalsSettled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Stake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferRootId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"}],\"name\":\"TransferBondChallenged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TransferRootBonded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"originChainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"TransferRootConfirmed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"TransferRootSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"relayerFee\",\"type\":\"uint256\"}],\"name\":\"TransferSentToL2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unstake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"}],\"name\":\"WithdrawalBondSettled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalBonded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"}],\"name\":\"Withdrew\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"CHALLENGE_AMOUNT_DIVISOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TIME_SLOT_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"addBonder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"bondTransferRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"}],\"name\":\"bondWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"chainBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"challengePeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"challengeResolutionPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"}],\"name\":\"challengeTransferBond\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"originChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rootCommittedAt\",\"type\":\"uint256\"}],\"name\":\"confirmTransferRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"crossDomainMessengerWrappers\",\"outputs\":[{\"internalType\":\"contractIMessengerWrapper\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getBondForTransferAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"}],\"name\":\"getBondedWithdrawalAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"getChallengeAmountForTransferAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"getCredit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"getDebitAndAdditionalDebit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"maybeBonder\",\"type\":\"address\"}],\"name\":\"getIsBonder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"getRawDebit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"getTimeSlot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"getTransferId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"getTransferRoot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"total\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountWithdrawn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAt\",\"type\":\"uint256\"}],\"internalType\":\"structBridge.TransferRoot\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"getTransferRootId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"governance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"isChainIdPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"}],\"name\":\"isTransferIdSpent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1CanonicalToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"migrateTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"migrator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minTransferRootBondDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"removeBonder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"rescueTransferRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"}],\"name\":\"resolveChallenge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"relayerFee\",\"type\":\"uint256\"}],\"name\":\"sendToL2\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isPaused\",\"type\":\"bool\"}],\"name\":\"setChainIdDepositsPaused\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_challengePeriod\",\"type\":\"uint256\"}],\"name\":\"setChallengePeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_challengeResolutionPeriod\",\"type\":\"uint256\"}],\"name\":\"setChallengeResolutionPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"contractIMessengerWrapper\",\"name\":\"_crossDomainMessengerWrapper\",\"type\":\"address\"}],\"name\":\"setCrossDomainMessengerWrapper\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGovernance\",\"type\":\"address\"}],\"name\":\"setGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newMigrator\",\"type\":\"address\"}],\"name\":\"setMigrator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minTransferRootBondDelay\",\"type\":\"uint256\"}],\"name\":\"setMinTransferRootBondDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"transferRootTotalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transferIdTreeIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"siblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"totalLeaves\",\"type\":\"uint256\"}],\"name\":\"settleBondedWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"transferIds\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"settleBondedWithdrawals\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"timeSlotToAmountBonded\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"transferBonds\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"createdAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"challengeStartTime\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"challenger\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"challengeResolved\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"transferRootCommittedAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"transferRootTotalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transferIdTreeIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"siblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"totalLeaves\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
HopL1HopBridgeMetaData contains all meta data concerning the HopL1HopBridge contract.
Functions ¶
This section is empty.
Types ¶
type BridgeTransferRoot ¶
BridgeTransferRoot is an auto generated low-level Go binding around an user-defined struct.
type HopL1HopBridge ¶
type HopL1HopBridge struct { HopL1HopBridgeCaller // Read-only binding to the contract HopL1HopBridgeTransactor // Write-only binding to the contract HopL1HopBridgeFilterer // Log filterer for contract events }
HopL1HopBridge is an auto generated Go binding around an Ethereum contract.
func NewHopL1HopBridge ¶
func NewHopL1HopBridge(address common.Address, backend bind.ContractBackend) (*HopL1HopBridge, error)
NewHopL1HopBridge creates a new instance of HopL1HopBridge, bound to a specific deployed contract.
type HopL1HopBridgeBonderAdded ¶
type HopL1HopBridgeBonderAdded struct { NewBonder common.Address Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeBonderAdded represents a BonderAdded event raised by the HopL1HopBridge contract.
type HopL1HopBridgeBonderAddedIterator ¶
type HopL1HopBridgeBonderAddedIterator struct { Event *HopL1HopBridgeBonderAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeBonderAddedIterator is returned from FilterBonderAdded and is used to iterate over the raw logs and unpacked data for BonderAdded events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeBonderAddedIterator) Close ¶
func (it *HopL1HopBridgeBonderAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeBonderAddedIterator) Error ¶
func (it *HopL1HopBridgeBonderAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeBonderAddedIterator) Next ¶
func (it *HopL1HopBridgeBonderAddedIterator) 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 HopL1HopBridgeBonderRemoved ¶
type HopL1HopBridgeBonderRemoved struct { PreviousBonder common.Address Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeBonderRemoved represents a BonderRemoved event raised by the HopL1HopBridge contract.
type HopL1HopBridgeBonderRemovedIterator ¶
type HopL1HopBridgeBonderRemovedIterator struct { Event *HopL1HopBridgeBonderRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeBonderRemovedIterator is returned from FilterBonderRemoved and is used to iterate over the raw logs and unpacked data for BonderRemoved events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeBonderRemovedIterator) Close ¶
func (it *HopL1HopBridgeBonderRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeBonderRemovedIterator) Error ¶
func (it *HopL1HopBridgeBonderRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeBonderRemovedIterator) Next ¶
func (it *HopL1HopBridgeBonderRemovedIterator) 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 HopL1HopBridgeCaller ¶
type HopL1HopBridgeCaller struct {
// contains filtered or unexported fields
}
HopL1HopBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHopL1HopBridgeCaller ¶
func NewHopL1HopBridgeCaller(address common.Address, caller bind.ContractCaller) (*HopL1HopBridgeCaller, error)
NewHopL1HopBridgeCaller creates a new read-only instance of HopL1HopBridge, bound to a specific deployed contract.
func (*HopL1HopBridgeCaller) CHALLENGEAMOUNTDIVISOR ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) CHALLENGEAMOUNTDIVISOR(opts *bind.CallOpts) (*big.Int, error)
CHALLENGEAMOUNTDIVISOR is a free data retrieval call binding the contract method 0x98c4f76d.
Solidity: function CHALLENGE_AMOUNT_DIVISOR() view returns(uint256)
func (*HopL1HopBridgeCaller) ChainBalance ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) ChallengePeriod ¶
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256)
func (*HopL1HopBridgeCaller) ChallengeResolutionPeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) ChallengeResolutionPeriod(opts *bind.CallOpts) (*big.Int, error)
ChallengeResolutionPeriod is a free data retrieval call binding the contract method 0x767631d5.
Solidity: function challengeResolutionPeriod() view returns(uint256)
func (*HopL1HopBridgeCaller) CrossDomainMessengerWrappers ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetBondForTransferAmount ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetBondedWithdrawalAmount ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetChainId ¶
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopL1HopBridgeCaller) GetChallengeAmountForTransferAmount ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetCredit ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetDebitAndAdditionalDebit ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetIsBonder ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetRawDebit ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetTimeSlot ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetTransferId ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) GetTransferRootId ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) Governance ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) Governance(opts *bind.CallOpts) (common.Address, error)
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*HopL1HopBridgeCaller) IsChainIdPaused ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) IsTransferIdSpent ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) L1CanonicalToken ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) L1CanonicalToken(opts *bind.CallOpts) (common.Address, error)
L1CanonicalToken is a free data retrieval call binding the contract method 0xb7a0bda6.
Solidity: function l1CanonicalToken() view returns(address)
func (*HopL1HopBridgeCaller) Migrator ¶
Migrator is a free data retrieval call binding the contract method 0x7cd07e47.
Solidity: function migrator() view returns(address)
func (*HopL1HopBridgeCaller) MinTransferRootBondDelay ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) MinTransferRootBondDelay(opts *bind.CallOpts) (*big.Int, error)
MinTransferRootBondDelay is a free data retrieval call binding the contract method 0x6cff06a7.
Solidity: function minTransferRootBondDelay() view returns(uint256)
func (*HopL1HopBridgeCaller) TIMESLOTSIZE ¶
TIMESLOTSIZE is a free data retrieval call binding the contract method 0x4de8c6e6.
Solidity: function TIME_SLOT_SIZE() view returns(uint256)
func (*HopL1HopBridgeCaller) TimeSlotToAmountBonded ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) TransferBonds ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) 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 (*HopL1HopBridgeCaller) TransferRootCommittedAt ¶
func (_HopL1HopBridge *HopL1HopBridgeCaller) TransferRootCommittedAt(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
TransferRootCommittedAt is a free data retrieval call binding the contract method 0x3b8fea28.
Solidity: function transferRootCommittedAt(uint256 , bytes32 ) view returns(uint256)
type HopL1HopBridgeCallerRaw ¶
type HopL1HopBridgeCallerRaw struct {
Contract *HopL1HopBridgeCaller // Generic read-only contract binding to access the raw methods on
}
HopL1HopBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HopL1HopBridgeCallerRaw) Call ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerRaw) 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 HopL1HopBridgeCallerSession ¶
type HopL1HopBridgeCallerSession struct { Contract *HopL1HopBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HopL1HopBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HopL1HopBridgeCallerSession) CHALLENGEAMOUNTDIVISOR ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) ChainBalance ¶
ChainBalance is a free data retrieval call binding the contract method 0xfc110b67.
Solidity: function chainBalance(uint256 ) view returns(uint256)
func (*HopL1HopBridgeCallerSession) ChallengePeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) ChallengePeriod() (*big.Int, error)
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256)
func (*HopL1HopBridgeCallerSession) ChallengeResolutionPeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) ChallengeResolutionPeriod() (*big.Int, error)
ChallengeResolutionPeriod is a free data retrieval call binding the contract method 0x767631d5.
Solidity: function challengeResolutionPeriod() view returns(uint256)
func (*HopL1HopBridgeCallerSession) CrossDomainMessengerWrappers ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) GetBondForTransferAmount ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) GetBondedWithdrawalAmount ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) GetChainId ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopL1HopBridgeCallerSession) GetChallengeAmountForTransferAmount ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) GetCredit ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetCredit(bonder common.Address) (*big.Int, error)
GetCredit is a free data retrieval call binding the contract method 0x57344e6f.
Solidity: function getCredit(address bonder) view returns(uint256)
func (*HopL1HopBridgeCallerSession) GetDebitAndAdditionalDebit ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) GetIsBonder ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) GetRawDebit ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) GetRawDebit(bonder common.Address) (*big.Int, error)
GetRawDebit is a free data retrieval call binding the contract method 0x13948c76.
Solidity: function getRawDebit(address bonder) view returns(uint256)
func (*HopL1HopBridgeCallerSession) GetTimeSlot ¶
GetTimeSlot is a free data retrieval call binding the contract method 0x2b85dcc9.
Solidity: function getTimeSlot(uint256 time) pure returns(uint256)
func (*HopL1HopBridgeCallerSession) GetTransferId ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) GetTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) GetTransferRootId ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) Governance ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) Governance() (common.Address, error)
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*HopL1HopBridgeCallerSession) IsChainIdPaused ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) IsTransferIdSpent ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) L1CanonicalToken ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) L1CanonicalToken() (common.Address, error)
L1CanonicalToken is a free data retrieval call binding the contract method 0xb7a0bda6.
Solidity: function l1CanonicalToken() view returns(address)
func (*HopL1HopBridgeCallerSession) Migrator ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) Migrator() (common.Address, error)
Migrator is a free data retrieval call binding the contract method 0x7cd07e47.
Solidity: function migrator() view returns(address)
func (*HopL1HopBridgeCallerSession) MinTransferRootBondDelay ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) MinTransferRootBondDelay() (*big.Int, error)
MinTransferRootBondDelay is a free data retrieval call binding the contract method 0x6cff06a7.
Solidity: function minTransferRootBondDelay() view returns(uint256)
func (*HopL1HopBridgeCallerSession) TIMESLOTSIZE ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) TimeSlotToAmountBonded ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) TransferBonds ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) 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 (*HopL1HopBridgeCallerSession) TransferRootCommittedAt ¶
func (_HopL1HopBridge *HopL1HopBridgeCallerSession) TransferRootCommittedAt(arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
TransferRootCommittedAt is a free data retrieval call binding the contract method 0x3b8fea28.
Solidity: function transferRootCommittedAt(uint256 , bytes32 ) view returns(uint256)
type HopL1HopBridgeChallengeResolved ¶
type HopL1HopBridgeChallengeResolved struct { TransferRootId [32]byte RootHash [32]byte OriginalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeChallengeResolved represents a ChallengeResolved event raised by the HopL1HopBridge contract.
type HopL1HopBridgeChallengeResolvedIterator ¶
type HopL1HopBridgeChallengeResolvedIterator struct { Event *HopL1HopBridgeChallengeResolved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeChallengeResolvedIterator is returned from FilterChallengeResolved and is used to iterate over the raw logs and unpacked data for ChallengeResolved events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeChallengeResolvedIterator) Close ¶
func (it *HopL1HopBridgeChallengeResolvedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeChallengeResolvedIterator) Error ¶
func (it *HopL1HopBridgeChallengeResolvedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeChallengeResolvedIterator) Next ¶
func (it *HopL1HopBridgeChallengeResolvedIterator) 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 HopL1HopBridgeFilterer ¶
type HopL1HopBridgeFilterer struct {
// contains filtered or unexported fields
}
HopL1HopBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHopL1HopBridgeFilterer ¶
func NewHopL1HopBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*HopL1HopBridgeFilterer, error)
NewHopL1HopBridgeFilterer creates a new log filterer instance of HopL1HopBridge, bound to a specific deployed contract.
func (*HopL1HopBridgeFilterer) FilterBonderAdded ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterBonderAdded(opts *bind.FilterOpts, newBonder []common.Address) (*HopL1HopBridgeBonderAddedIterator, error)
FilterBonderAdded is a free log retrieval operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.
Solidity: event BonderAdded(address indexed newBonder)
func (*HopL1HopBridgeFilterer) FilterBonderRemoved ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterBonderRemoved(opts *bind.FilterOpts, previousBonder []common.Address) (*HopL1HopBridgeBonderRemovedIterator, error)
FilterBonderRemoved is a free log retrieval operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.
Solidity: event BonderRemoved(address indexed previousBonder)
func (*HopL1HopBridgeFilterer) FilterChallengeResolved ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterChallengeResolved(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopL1HopBridgeChallengeResolvedIterator, 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 (*HopL1HopBridgeFilterer) FilterMultipleWithdrawalsSettled ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterMultipleWithdrawalsSettled(opts *bind.FilterOpts, bonder []common.Address, rootHash [][32]byte) (*HopL1HopBridgeMultipleWithdrawalsSettledIterator, 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 (*HopL1HopBridgeFilterer) FilterStake ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterStake(opts *bind.FilterOpts, account []common.Address) (*HopL1HopBridgeStakeIterator, error)
FilterStake is a free log retrieval operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address indexed account, uint256 amount)
func (*HopL1HopBridgeFilterer) FilterTransferBondChallenged ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterTransferBondChallenged(opts *bind.FilterOpts, transferRootId [][32]byte, rootHash [][32]byte) (*HopL1HopBridgeTransferBondChallengedIterator, 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 (*HopL1HopBridgeFilterer) FilterTransferRootBonded ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterTransferRootBonded(opts *bind.FilterOpts, root [][32]byte) (*HopL1HopBridgeTransferRootBondedIterator, error)
FilterTransferRootBonded is a free log retrieval operation binding the contract event 0xa57b3e1f3af9eca02201028629700658608222c365064584cfe65d9630ef4f7b.
Solidity: event TransferRootBonded(bytes32 indexed root, uint256 amount)
func (*HopL1HopBridgeFilterer) FilterTransferRootConfirmed ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterTransferRootConfirmed(opts *bind.FilterOpts, originChainId []*big.Int, destinationChainId []*big.Int, rootHash [][32]byte) (*HopL1HopBridgeTransferRootConfirmedIterator, 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 (*HopL1HopBridgeFilterer) FilterTransferRootSet ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterTransferRootSet(opts *bind.FilterOpts, rootHash [][32]byte) (*HopL1HopBridgeTransferRootSetIterator, error)
FilterTransferRootSet is a free log retrieval operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.
Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)
func (*HopL1HopBridgeFilterer) FilterTransferSentToL2 ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterTransferSentToL2(opts *bind.FilterOpts, chainId []*big.Int, recipient []common.Address, relayer []common.Address) (*HopL1HopBridgeTransferSentToL2Iterator, 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 (*HopL1HopBridgeFilterer) FilterUnstake ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterUnstake(opts *bind.FilterOpts, account []common.Address) (*HopL1HopBridgeUnstakeIterator, error)
FilterUnstake is a free log retrieval operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.
Solidity: event Unstake(address indexed account, uint256 amount)
func (*HopL1HopBridgeFilterer) FilterWithdrawalBondSettled ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterWithdrawalBondSettled(opts *bind.FilterOpts, bonder []common.Address, transferId [][32]byte, rootHash [][32]byte) (*HopL1HopBridgeWithdrawalBondSettledIterator, 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 (*HopL1HopBridgeFilterer) FilterWithdrawalBonded ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterWithdrawalBonded(opts *bind.FilterOpts, transferId [][32]byte) (*HopL1HopBridgeWithdrawalBondedIterator, error)
FilterWithdrawalBonded is a free log retrieval operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.
Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)
func (*HopL1HopBridgeFilterer) FilterWithdrew ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) FilterWithdrew(opts *bind.FilterOpts, transferId [][32]byte, recipient []common.Address) (*HopL1HopBridgeWithdrewIterator, 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 (*HopL1HopBridgeFilterer) ParseBonderAdded ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseBonderAdded(log types.Log) (*HopL1HopBridgeBonderAdded, error)
ParseBonderAdded is a log parse operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.
Solidity: event BonderAdded(address indexed newBonder)
func (*HopL1HopBridgeFilterer) ParseBonderRemoved ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseBonderRemoved(log types.Log) (*HopL1HopBridgeBonderRemoved, error)
ParseBonderRemoved is a log parse operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.
Solidity: event BonderRemoved(address indexed previousBonder)
func (*HopL1HopBridgeFilterer) ParseChallengeResolved ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseChallengeResolved(log types.Log) (*HopL1HopBridgeChallengeResolved, error)
ParseChallengeResolved is a log parse operation binding the contract event 0x4a99228a8a6d774d261be57ab0ed833bb1bae1f22bbbd3d4767b75ad03fdddf7.
Solidity: event ChallengeResolved(bytes32 indexed transferRootId, bytes32 indexed rootHash, uint256 originalAmount)
func (*HopL1HopBridgeFilterer) ParseMultipleWithdrawalsSettled ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseMultipleWithdrawalsSettled(log types.Log) (*HopL1HopBridgeMultipleWithdrawalsSettled, error)
ParseMultipleWithdrawalsSettled is a log parse operation binding the contract event 0x78e830d08be9d5f957414c84d685c061ecbd8467be98b42ebb64f0118b57d2ff.
Solidity: event MultipleWithdrawalsSettled(address indexed bonder, bytes32 indexed rootHash, uint256 totalBondsSettled)
func (*HopL1HopBridgeFilterer) ParseStake ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseStake(log types.Log) (*HopL1HopBridgeStake, error)
ParseStake is a log parse operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.
Solidity: event Stake(address indexed account, uint256 amount)
func (*HopL1HopBridgeFilterer) ParseTransferBondChallenged ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseTransferBondChallenged(log types.Log) (*HopL1HopBridgeTransferBondChallenged, error)
ParseTransferBondChallenged is a log parse operation binding the contract event 0xec2697dcba539a0ac947cdf1f6d0b6314c065429eca8be2435859b10209d4c27.
Solidity: event TransferBondChallenged(bytes32 indexed transferRootId, bytes32 indexed rootHash, uint256 originalAmount)
func (*HopL1HopBridgeFilterer) ParseTransferRootBonded ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseTransferRootBonded(log types.Log) (*HopL1HopBridgeTransferRootBonded, error)
ParseTransferRootBonded is a log parse operation binding the contract event 0xa57b3e1f3af9eca02201028629700658608222c365064584cfe65d9630ef4f7b.
Solidity: event TransferRootBonded(bytes32 indexed root, uint256 amount)
func (*HopL1HopBridgeFilterer) ParseTransferRootConfirmed ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseTransferRootConfirmed(log types.Log) (*HopL1HopBridgeTransferRootConfirmed, 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 (*HopL1HopBridgeFilterer) ParseTransferRootSet ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseTransferRootSet(log types.Log) (*HopL1HopBridgeTransferRootSet, error)
ParseTransferRootSet is a log parse operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.
Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)
func (*HopL1HopBridgeFilterer) ParseTransferSentToL2 ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseTransferSentToL2(log types.Log) (*HopL1HopBridgeTransferSentToL2, 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 (*HopL1HopBridgeFilterer) ParseUnstake ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseUnstake(log types.Log) (*HopL1HopBridgeUnstake, error)
ParseUnstake is a log parse operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.
Solidity: event Unstake(address indexed account, uint256 amount)
func (*HopL1HopBridgeFilterer) ParseWithdrawalBondSettled ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseWithdrawalBondSettled(log types.Log) (*HopL1HopBridgeWithdrawalBondSettled, 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 (*HopL1HopBridgeFilterer) ParseWithdrawalBonded ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseWithdrawalBonded(log types.Log) (*HopL1HopBridgeWithdrawalBonded, error)
ParseWithdrawalBonded is a log parse operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.
Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)
func (*HopL1HopBridgeFilterer) ParseWithdrew ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) ParseWithdrew(log types.Log) (*HopL1HopBridgeWithdrew, 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 (*HopL1HopBridgeFilterer) WatchBonderAdded ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchBonderAdded(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeBonderAdded, 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 (*HopL1HopBridgeFilterer) WatchBonderRemoved ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchBonderRemoved(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeBonderRemoved, 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 (*HopL1HopBridgeFilterer) WatchChallengeResolved ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchChallengeResolved(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeChallengeResolved, 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 (*HopL1HopBridgeFilterer) WatchMultipleWithdrawalsSettled ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchMultipleWithdrawalsSettled(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeMultipleWithdrawalsSettled, 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 (*HopL1HopBridgeFilterer) WatchStake ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeStake, 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 (*HopL1HopBridgeFilterer) WatchTransferBondChallenged ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchTransferBondChallenged(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeTransferBondChallenged, 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 (*HopL1HopBridgeFilterer) WatchTransferRootBonded ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchTransferRootBonded(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeTransferRootBonded, 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 (*HopL1HopBridgeFilterer) WatchTransferRootConfirmed ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchTransferRootConfirmed(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeTransferRootConfirmed, 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 (*HopL1HopBridgeFilterer) WatchTransferRootSet ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchTransferRootSet(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeTransferRootSet, 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 (*HopL1HopBridgeFilterer) WatchTransferSentToL2 ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchTransferSentToL2(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeTransferSentToL2, 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 (*HopL1HopBridgeFilterer) WatchUnstake ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeUnstake, 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 (*HopL1HopBridgeFilterer) WatchWithdrawalBondSettled ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchWithdrawalBondSettled(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeWithdrawalBondSettled, 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 (*HopL1HopBridgeFilterer) WatchWithdrawalBonded ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchWithdrawalBonded(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeWithdrawalBonded, 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 (*HopL1HopBridgeFilterer) WatchWithdrew ¶
func (_HopL1HopBridge *HopL1HopBridgeFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *HopL1HopBridgeWithdrew, 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 HopL1HopBridgeMultipleWithdrawalsSettled ¶
type HopL1HopBridgeMultipleWithdrawalsSettled struct { Bonder common.Address RootHash [32]byte TotalBondsSettled *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeMultipleWithdrawalsSettled represents a MultipleWithdrawalsSettled event raised by the HopL1HopBridge contract.
type HopL1HopBridgeMultipleWithdrawalsSettledIterator ¶
type HopL1HopBridgeMultipleWithdrawalsSettledIterator struct { Event *HopL1HopBridgeMultipleWithdrawalsSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeMultipleWithdrawalsSettledIterator is returned from FilterMultipleWithdrawalsSettled and is used to iterate over the raw logs and unpacked data for MultipleWithdrawalsSettled events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeMultipleWithdrawalsSettledIterator) Close ¶
func (it *HopL1HopBridgeMultipleWithdrawalsSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeMultipleWithdrawalsSettledIterator) Error ¶
func (it *HopL1HopBridgeMultipleWithdrawalsSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeMultipleWithdrawalsSettledIterator) Next ¶
func (it *HopL1HopBridgeMultipleWithdrawalsSettledIterator) 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 HopL1HopBridgeRaw ¶
type HopL1HopBridgeRaw struct {
Contract *HopL1HopBridge // Generic contract binding to access the raw methods on
}
HopL1HopBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HopL1HopBridgeRaw) Call ¶
func (_HopL1HopBridge *HopL1HopBridgeRaw) 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 (*HopL1HopBridgeRaw) Transact ¶
func (_HopL1HopBridge *HopL1HopBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HopL1HopBridgeRaw) Transfer ¶
func (_HopL1HopBridge *HopL1HopBridgeRaw) 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 HopL1HopBridgeSession ¶
type HopL1HopBridgeSession struct { Contract *HopL1HopBridge // 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 }
HopL1HopBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HopL1HopBridgeSession) AddBonder ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) BondTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) BondWithdrawal ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) CHALLENGEAMOUNTDIVISOR ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) ChainBalance ¶
ChainBalance is a free data retrieval call binding the contract method 0xfc110b67.
Solidity: function chainBalance(uint256 ) view returns(uint256)
func (*HopL1HopBridgeSession) ChallengePeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) ChallengePeriod() (*big.Int, error)
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256)
func (*HopL1HopBridgeSession) ChallengeResolutionPeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) ChallengeResolutionPeriod() (*big.Int, error)
ChallengeResolutionPeriod is a free data retrieval call binding the contract method 0x767631d5.
Solidity: function challengeResolutionPeriod() view returns(uint256)
func (*HopL1HopBridgeSession) ChallengeTransferBond ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ChallengeTransferBond is a paid mutator transaction binding the contract method 0x1bbe15ea.
Solidity: function challengeTransferBond(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) payable returns()
func (*HopL1HopBridgeSession) ConfirmTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) CrossDomainMessengerWrappers ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) GetBondForTransferAmount ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) GetBondedWithdrawalAmount ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) GetChainId ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() view returns(uint256 chainId)
func (*HopL1HopBridgeSession) GetChallengeAmountForTransferAmount ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) GetCredit ¶
GetCredit is a free data retrieval call binding the contract method 0x57344e6f.
Solidity: function getCredit(address bonder) view returns(uint256)
func (*HopL1HopBridgeSession) GetDebitAndAdditionalDebit ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) GetIsBonder ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) GetRawDebit ¶
GetRawDebit is a free data retrieval call binding the contract method 0x13948c76.
Solidity: function getRawDebit(address bonder) view returns(uint256)
func (*HopL1HopBridgeSession) GetTimeSlot ¶
GetTimeSlot is a free data retrieval call binding the contract method 0x2b85dcc9.
Solidity: function getTimeSlot(uint256 time) pure returns(uint256)
func (*HopL1HopBridgeSession) GetTransferId ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) GetTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) GetTransferRootId ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) Governance ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) Governance() (common.Address, error)
Governance is a free data retrieval call binding the contract method 0x5aa6e675.
Solidity: function governance() view returns(address)
func (*HopL1HopBridgeSession) IsChainIdPaused ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) IsTransferIdSpent ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) L1CanonicalToken ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) L1CanonicalToken() (common.Address, error)
L1CanonicalToken is a free data retrieval call binding the contract method 0xb7a0bda6.
Solidity: function l1CanonicalToken() view returns(address)
func (*HopL1HopBridgeSession) MigrateTokens ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) MigrateTokens(recipient common.Address) (*types.Transaction, error)
MigrateTokens is a paid mutator transaction binding the contract method 0xc1684711.
Solidity: function migrateTokens(address recipient) returns()
func (*HopL1HopBridgeSession) Migrator ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) Migrator() (common.Address, error)
Migrator is a free data retrieval call binding the contract method 0x7cd07e47.
Solidity: function migrator() view returns(address)
func (*HopL1HopBridgeSession) MinTransferRootBondDelay ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) MinTransferRootBondDelay() (*big.Int, error)
MinTransferRootBondDelay is a free data retrieval call binding the contract method 0x6cff06a7.
Solidity: function minTransferRootBondDelay() view returns(uint256)
func (*HopL1HopBridgeSession) RemoveBonder ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) RescueTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) ResolveChallenge ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0x81707b80.
Solidity: function resolveChallenge(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) returns()
func (*HopL1HopBridgeSession) SendToL2 ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) SetChainIdDepositsPaused ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) SetChallengePeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) SetChallengeResolutionPeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) SetCrossDomainMessengerWrapper ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) SetGovernance ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) SetMigrator ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) SetMigrator(_newMigrator common.Address) (*types.Transaction, error)
SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.
Solidity: function setMigrator(address _newMigrator) returns()
func (*HopL1HopBridgeSession) SetMinTransferRootBondDelay ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) SettleBondedWithdrawal ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) SettleBondedWithdrawals ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) Stake ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) TIMESLOTSIZE ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) TimeSlotToAmountBonded ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) TransferBonds ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) TransferRootCommittedAt ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) TransferRootCommittedAt(arg0 *big.Int, arg1 [32]byte) (*big.Int, error)
TransferRootCommittedAt is a free data retrieval call binding the contract method 0x3b8fea28.
Solidity: function transferRootCommittedAt(uint256 , bytes32 ) view returns(uint256)
func (*HopL1HopBridgeSession) Unstake ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 (*HopL1HopBridgeSession) Withdraw ¶
func (_HopL1HopBridge *HopL1HopBridgeSession) 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 HopL1HopBridgeStake ¶
type HopL1HopBridgeStake struct { Account common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeStake represents a Stake event raised by the HopL1HopBridge contract.
type HopL1HopBridgeStakeIterator ¶
type HopL1HopBridgeStakeIterator struct { Event *HopL1HopBridgeStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeStakeIterator is returned from FilterStake and is used to iterate over the raw logs and unpacked data for Stake events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeStakeIterator) Close ¶
func (it *HopL1HopBridgeStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeStakeIterator) Error ¶
func (it *HopL1HopBridgeStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeStakeIterator) Next ¶
func (it *HopL1HopBridgeStakeIterator) 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 HopL1HopBridgeTransactor ¶
type HopL1HopBridgeTransactor struct {
// contains filtered or unexported fields
}
HopL1HopBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHopL1HopBridgeTransactor ¶
func NewHopL1HopBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*HopL1HopBridgeTransactor, error)
NewHopL1HopBridgeTransactor creates a new write-only instance of HopL1HopBridge, bound to a specific deployed contract.
func (*HopL1HopBridgeTransactor) AddBonder ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) BondTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) BondWithdrawal ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) ChallengeTransferBond ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) ChallengeTransferBond(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ChallengeTransferBond is a paid mutator transaction binding the contract method 0x1bbe15ea.
Solidity: function challengeTransferBond(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) payable returns()
func (*HopL1HopBridgeTransactor) ConfirmTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) MigrateTokens ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) MigrateTokens(opts *bind.TransactOpts, recipient common.Address) (*types.Transaction, error)
MigrateTokens is a paid mutator transaction binding the contract method 0xc1684711.
Solidity: function migrateTokens(address recipient) returns()
func (*HopL1HopBridgeTransactor) RemoveBonder ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) RescueTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) ResolveChallenge ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) ResolveChallenge(opts *bind.TransactOpts, rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0x81707b80.
Solidity: function resolveChallenge(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) returns()
func (*HopL1HopBridgeTransactor) SendToL2 ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) SetChainIdDepositsPaused ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) SetChallengePeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) SetChallengeResolutionPeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) SetCrossDomainMessengerWrapper ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) SetGovernance ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) SetMigrator ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) SetMigrator(opts *bind.TransactOpts, _newMigrator common.Address) (*types.Transaction, error)
SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.
Solidity: function setMigrator(address _newMigrator) returns()
func (*HopL1HopBridgeTransactor) SetMinTransferRootBondDelay ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) SettleBondedWithdrawal ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) SettleBondedWithdrawals ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) Stake ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) Unstake ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 (*HopL1HopBridgeTransactor) Withdraw ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactor) 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 HopL1HopBridgeTransactorRaw ¶
type HopL1HopBridgeTransactorRaw struct {
Contract *HopL1HopBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
HopL1HopBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HopL1HopBridgeTransactorRaw) Transact ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HopL1HopBridgeTransactorRaw) Transfer ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorRaw) 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 HopL1HopBridgeTransactorSession ¶
type HopL1HopBridgeTransactorSession struct { Contract *HopL1HopBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HopL1HopBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HopL1HopBridgeTransactorSession) AddBonder ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) BondTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) BondWithdrawal ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) ChallengeTransferBond ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) ChallengeTransferBond(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ChallengeTransferBond is a paid mutator transaction binding the contract method 0x1bbe15ea.
Solidity: function challengeTransferBond(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) payable returns()
func (*HopL1HopBridgeTransactorSession) ConfirmTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) MigrateTokens ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) MigrateTokens(recipient common.Address) (*types.Transaction, error)
MigrateTokens is a paid mutator transaction binding the contract method 0xc1684711.
Solidity: function migrateTokens(address recipient) returns()
func (*HopL1HopBridgeTransactorSession) RemoveBonder ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) RescueTransferRoot ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) ResolveChallenge ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) ResolveChallenge(rootHash [32]byte, originalAmount *big.Int, destinationChainId *big.Int) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0x81707b80.
Solidity: function resolveChallenge(bytes32 rootHash, uint256 originalAmount, uint256 destinationChainId) returns()
func (*HopL1HopBridgeTransactorSession) SendToL2 ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) SetChainIdDepositsPaused ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) SetChallengePeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) SetChallengeResolutionPeriod ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) SetCrossDomainMessengerWrapper ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) SetGovernance ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) SetMigrator ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) SetMigrator(_newMigrator common.Address) (*types.Transaction, error)
SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.
Solidity: function setMigrator(address _newMigrator) returns()
func (*HopL1HopBridgeTransactorSession) SetMinTransferRootBondDelay ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) SettleBondedWithdrawal ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) SettleBondedWithdrawals ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) Stake ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) Unstake ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 (*HopL1HopBridgeTransactorSession) Withdraw ¶
func (_HopL1HopBridge *HopL1HopBridgeTransactorSession) 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 HopL1HopBridgeTransferBondChallenged ¶
type HopL1HopBridgeTransferBondChallenged struct { TransferRootId [32]byte RootHash [32]byte OriginalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeTransferBondChallenged represents a TransferBondChallenged event raised by the HopL1HopBridge contract.
type HopL1HopBridgeTransferBondChallengedIterator ¶
type HopL1HopBridgeTransferBondChallengedIterator struct { Event *HopL1HopBridgeTransferBondChallenged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeTransferBondChallengedIterator is returned from FilterTransferBondChallenged and is used to iterate over the raw logs and unpacked data for TransferBondChallenged events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeTransferBondChallengedIterator) Close ¶
func (it *HopL1HopBridgeTransferBondChallengedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeTransferBondChallengedIterator) Error ¶
func (it *HopL1HopBridgeTransferBondChallengedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeTransferBondChallengedIterator) Next ¶
func (it *HopL1HopBridgeTransferBondChallengedIterator) 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 HopL1HopBridgeTransferRootBonded ¶
type HopL1HopBridgeTransferRootBonded struct { Root [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeTransferRootBonded represents a TransferRootBonded event raised by the HopL1HopBridge contract.
type HopL1HopBridgeTransferRootBondedIterator ¶
type HopL1HopBridgeTransferRootBondedIterator struct { Event *HopL1HopBridgeTransferRootBonded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeTransferRootBondedIterator is returned from FilterTransferRootBonded and is used to iterate over the raw logs and unpacked data for TransferRootBonded events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeTransferRootBondedIterator) Close ¶
func (it *HopL1HopBridgeTransferRootBondedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeTransferRootBondedIterator) Error ¶
func (it *HopL1HopBridgeTransferRootBondedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeTransferRootBondedIterator) Next ¶
func (it *HopL1HopBridgeTransferRootBondedIterator) 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 HopL1HopBridgeTransferRootConfirmed ¶
type HopL1HopBridgeTransferRootConfirmed struct { OriginChainId *big.Int DestinationChainId *big.Int RootHash [32]byte TotalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeTransferRootConfirmed represents a TransferRootConfirmed event raised by the HopL1HopBridge contract.
type HopL1HopBridgeTransferRootConfirmedIterator ¶
type HopL1HopBridgeTransferRootConfirmedIterator struct { Event *HopL1HopBridgeTransferRootConfirmed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeTransferRootConfirmedIterator is returned from FilterTransferRootConfirmed and is used to iterate over the raw logs and unpacked data for TransferRootConfirmed events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeTransferRootConfirmedIterator) Close ¶
func (it *HopL1HopBridgeTransferRootConfirmedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeTransferRootConfirmedIterator) Error ¶
func (it *HopL1HopBridgeTransferRootConfirmedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeTransferRootConfirmedIterator) Next ¶
func (it *HopL1HopBridgeTransferRootConfirmedIterator) 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 HopL1HopBridgeTransferRootSet ¶
type HopL1HopBridgeTransferRootSet struct { RootHash [32]byte TotalAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeTransferRootSet represents a TransferRootSet event raised by the HopL1HopBridge contract.
type HopL1HopBridgeTransferRootSetIterator ¶
type HopL1HopBridgeTransferRootSetIterator struct { Event *HopL1HopBridgeTransferRootSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeTransferRootSetIterator is returned from FilterTransferRootSet and is used to iterate over the raw logs and unpacked data for TransferRootSet events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeTransferRootSetIterator) Close ¶
func (it *HopL1HopBridgeTransferRootSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeTransferRootSetIterator) Error ¶
func (it *HopL1HopBridgeTransferRootSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeTransferRootSetIterator) Next ¶
func (it *HopL1HopBridgeTransferRootSetIterator) 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 HopL1HopBridgeTransferSentToL2 ¶
type HopL1HopBridgeTransferSentToL2 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 }
HopL1HopBridgeTransferSentToL2 represents a TransferSentToL2 event raised by the HopL1HopBridge contract.
type HopL1HopBridgeTransferSentToL2Iterator ¶
type HopL1HopBridgeTransferSentToL2Iterator struct { Event *HopL1HopBridgeTransferSentToL2 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeTransferSentToL2Iterator is returned from FilterTransferSentToL2 and is used to iterate over the raw logs and unpacked data for TransferSentToL2 events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeTransferSentToL2Iterator) Close ¶
func (it *HopL1HopBridgeTransferSentToL2Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeTransferSentToL2Iterator) Error ¶
func (it *HopL1HopBridgeTransferSentToL2Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeTransferSentToL2Iterator) Next ¶
func (it *HopL1HopBridgeTransferSentToL2Iterator) 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 HopL1HopBridgeUnstake ¶
type HopL1HopBridgeUnstake struct { Account common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeUnstake represents a Unstake event raised by the HopL1HopBridge contract.
type HopL1HopBridgeUnstakeIterator ¶
type HopL1HopBridgeUnstakeIterator struct { Event *HopL1HopBridgeUnstake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeUnstakeIterator is returned from FilterUnstake and is used to iterate over the raw logs and unpacked data for Unstake events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeUnstakeIterator) Close ¶
func (it *HopL1HopBridgeUnstakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeUnstakeIterator) Error ¶
func (it *HopL1HopBridgeUnstakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeUnstakeIterator) Next ¶
func (it *HopL1HopBridgeUnstakeIterator) 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 HopL1HopBridgeWithdrawalBondSettled ¶
type HopL1HopBridgeWithdrawalBondSettled struct { Bonder common.Address TransferId [32]byte RootHash [32]byte Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeWithdrawalBondSettled represents a WithdrawalBondSettled event raised by the HopL1HopBridge contract.
type HopL1HopBridgeWithdrawalBondSettledIterator ¶
type HopL1HopBridgeWithdrawalBondSettledIterator struct { Event *HopL1HopBridgeWithdrawalBondSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeWithdrawalBondSettledIterator is returned from FilterWithdrawalBondSettled and is used to iterate over the raw logs and unpacked data for WithdrawalBondSettled events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeWithdrawalBondSettledIterator) Close ¶
func (it *HopL1HopBridgeWithdrawalBondSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeWithdrawalBondSettledIterator) Error ¶
func (it *HopL1HopBridgeWithdrawalBondSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeWithdrawalBondSettledIterator) Next ¶
func (it *HopL1HopBridgeWithdrawalBondSettledIterator) 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 HopL1HopBridgeWithdrawalBonded ¶
type HopL1HopBridgeWithdrawalBonded struct { TransferId [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeWithdrawalBonded represents a WithdrawalBonded event raised by the HopL1HopBridge contract.
type HopL1HopBridgeWithdrawalBondedIterator ¶
type HopL1HopBridgeWithdrawalBondedIterator struct { Event *HopL1HopBridgeWithdrawalBonded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeWithdrawalBondedIterator is returned from FilterWithdrawalBonded and is used to iterate over the raw logs and unpacked data for WithdrawalBonded events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeWithdrawalBondedIterator) Close ¶
func (it *HopL1HopBridgeWithdrawalBondedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeWithdrawalBondedIterator) Error ¶
func (it *HopL1HopBridgeWithdrawalBondedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeWithdrawalBondedIterator) Next ¶
func (it *HopL1HopBridgeWithdrawalBondedIterator) 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 HopL1HopBridgeWithdrew ¶
type HopL1HopBridgeWithdrew struct { TransferId [32]byte Recipient common.Address Amount *big.Int TransferNonce [32]byte Raw types.Log // Blockchain specific contextual infos }
HopL1HopBridgeWithdrew represents a Withdrew event raised by the HopL1HopBridge contract.
type HopL1HopBridgeWithdrewIterator ¶
type HopL1HopBridgeWithdrewIterator struct { Event *HopL1HopBridgeWithdrew // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL1HopBridgeWithdrewIterator is returned from FilterWithdrew and is used to iterate over the raw logs and unpacked data for Withdrew events raised by the HopL1HopBridge contract.
func (*HopL1HopBridgeWithdrewIterator) Close ¶
func (it *HopL1HopBridgeWithdrewIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL1HopBridgeWithdrewIterator) Error ¶
func (it *HopL1HopBridgeWithdrewIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL1HopBridgeWithdrewIterator) Next ¶
func (it *HopL1HopBridgeWithdrewIterator) 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.