hopL2OptimismBridge

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HopL2OptimismBridgeABI = HopL2OptimismBridgeMetaData.ABI

HopL2OptimismBridgeABI is the input ABI used to generate the binding from. Deprecated: Use HopL2OptimismBridgeMetaData.ABI instead.

View Source
var HopL2OptimismBridgeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractiOVM_L2CrossDomainMessenger\",\"name\":\"_messenger\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"l1Governance\",\"type\":\"address\"},{\"internalType\":\"contractHopBridgeToken\",\"name\":\"hToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"l1BridgeAddress\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"activeChainIds\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"bonders\",\"type\":\"address[]\"},{\"internalType\":\"uint32\",\"name\":\"_defaultGasLimit\",\"type\":\"uint32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newBonder\",\"type\":\"address\"}],\"name\":\"BonderAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousBonder\",\"type\":\"address\"}],\"name\":\"BonderRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBondsSettled\",\"type\":\"uint256\"}],\"name\":\"MultipleWithdrawalsSettled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Stake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"relayerFee\",\"type\":\"uint256\"}],\"name\":\"TransferFromL1Completed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"TransferRootSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"TransferSent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rootCommittedAt\",\"type\":\"uint256\"}],\"name\":\"TransfersCommitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unstake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"}],\"name\":\"WithdrawalBondSettled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawalBonded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"}],\"name\":\"Withdrew\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activeChainIds\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"chainIds\",\"type\":\"uint256[]\"}],\"name\":\"addActiveChainIds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"addBonder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ammWrapper\",\"outputs\":[{\"internalType\":\"contractI_L2_AmmWrapper\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"}],\"name\":\"bondWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"bondWithdrawalAndDistribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"destinationChainId\",\"type\":\"uint256\"}],\"name\":\"commitTransfers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultGasLimit\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"relayerFee\",\"type\":\"uint256\"}],\"name\":\"distribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"}],\"name\":\"getBondedWithdrawalAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"getCredit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"getDebitAndAdditionalDebit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"maybeBonder\",\"type\":\"address\"}],\"name\":\"getIsBonder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNextTransferNonce\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"getRawDebit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"getTransferId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"getTransferRoot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"total\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountWithdrawn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAt\",\"type\":\"uint256\"}],\"internalType\":\"structBridge.TransferRoot\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"getTransferRootId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hToken\",\"outputs\":[{\"internalType\":\"contractHopBridgeToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"}],\"name\":\"isTransferIdSpent\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1BridgeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1BridgeCaller\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1Governance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lastCommitTimeForChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxPendingTransfers\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"messenger\",\"outputs\":[{\"internalType\":\"contractiOVM_L2CrossDomainMessenger\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minBonderBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minBonderFeeAbsolute\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minimumForceCommitDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"pendingAmountForChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"pendingTransferIdsForChainId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"chainIds\",\"type\":\"uint256[]\"}],\"name\":\"removeActiveChainIds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"}],\"name\":\"removeBonder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"originalAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"rescueTransferRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"send\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractI_L2_AmmWrapper\",\"name\":\"_ammWrapper\",\"type\":\"address\"}],\"name\":\"setAmmWrapper\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_defaultGasLimit\",\"type\":\"uint32\"}],\"name\":\"setDefaultGasLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"setHopBridgeTokenOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1BridgeAddress\",\"type\":\"address\"}],\"name\":\"setL1BridgeAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1BridgeCaller\",\"type\":\"address\"}],\"name\":\"setL1BridgeCaller\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_l1Governance\",\"type\":\"address\"}],\"name\":\"setL1Governance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxPendingTransfers\",\"type\":\"uint256\"}],\"name\":\"setMaxPendingTransfers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractiOVM_L2CrossDomainMessenger\",\"name\":\"_messenger\",\"type\":\"address\"}],\"name\":\"setMessenger\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minBonderBps\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minBonderFeeAbsolute\",\"type\":\"uint256\"}],\"name\":\"setMinimumBonderFeeRequirements\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minimumForceCommitDelay\",\"type\":\"uint256\"}],\"name\":\"setMinimumForceCommitDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"setTransferRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"transferId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"transferRootTotalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transferIdTreeIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"siblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"totalLeaves\",\"type\":\"uint256\"}],\"name\":\"settleBondedWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"transferIds\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"totalAmount\",\"type\":\"uint256\"}],\"name\":\"settleBondedWithdrawals\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"bonder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transferNonceIncrementer\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transferNonce\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"rootHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"transferRootTotalAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transferIdTreeIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"siblings\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"totalLeaves\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

HopL2OptimismBridgeMetaData contains all meta data concerning the HopL2OptimismBridge contract.

Functions

This section is empty.

Types

type BridgeTransferRoot

type BridgeTransferRoot struct {
	Total           *big.Int
	AmountWithdrawn *big.Int
	CreatedAt       *big.Int
}

BridgeTransferRoot is an auto generated low-level Go binding around an user-defined struct.

type HopL2OptimismBridge

type HopL2OptimismBridge struct {
	HopL2OptimismBridgeCaller     // Read-only binding to the contract
	HopL2OptimismBridgeTransactor // Write-only binding to the contract
	HopL2OptimismBridgeFilterer   // Log filterer for contract events
}

HopL2OptimismBridge is an auto generated Go binding around an Ethereum contract.

func NewHopL2OptimismBridge

func NewHopL2OptimismBridge(address common.Address, backend bind.ContractBackend) (*HopL2OptimismBridge, error)

NewHopL2OptimismBridge creates a new instance of HopL2OptimismBridge, bound to a specific deployed contract.

type HopL2OptimismBridgeBonderAdded

type HopL2OptimismBridgeBonderAdded struct {
	NewBonder common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeBonderAdded represents a BonderAdded event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeBonderAddedIterator

type HopL2OptimismBridgeBonderAddedIterator struct {
	Event *HopL2OptimismBridgeBonderAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeBonderAddedIterator is returned from FilterBonderAdded and is used to iterate over the raw logs and unpacked data for BonderAdded events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeBonderAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeBonderAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeBonderAddedIterator) Next

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 HopL2OptimismBridgeBonderRemoved

type HopL2OptimismBridgeBonderRemoved struct {
	PreviousBonder common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeBonderRemoved represents a BonderRemoved event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeBonderRemovedIterator

type HopL2OptimismBridgeBonderRemovedIterator struct {
	Event *HopL2OptimismBridgeBonderRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeBonderRemovedIterator is returned from FilterBonderRemoved and is used to iterate over the raw logs and unpacked data for BonderRemoved events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeBonderRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeBonderRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeBonderRemovedIterator) Next

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 HopL2OptimismBridgeCaller

type HopL2OptimismBridgeCaller struct {
	// contains filtered or unexported fields
}

HopL2OptimismBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewHopL2OptimismBridgeCaller

func NewHopL2OptimismBridgeCaller(address common.Address, caller bind.ContractCaller) (*HopL2OptimismBridgeCaller, error)

NewHopL2OptimismBridgeCaller creates a new read-only instance of HopL2OptimismBridge, bound to a specific deployed contract.

func (*HopL2OptimismBridgeCaller) ActiveChainIds

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) ActiveChainIds(opts *bind.CallOpts, arg0 *big.Int) (bool, error)

ActiveChainIds is a free data retrieval call binding the contract method 0xc97d172e.

Solidity: function activeChainIds(uint256 ) view returns(bool)

func (*HopL2OptimismBridgeCaller) AmmWrapper

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) AmmWrapper(opts *bind.CallOpts) (common.Address, error)

AmmWrapper is a free data retrieval call binding the contract method 0xe9cdfe51.

Solidity: function ammWrapper() view returns(address)

func (*HopL2OptimismBridgeCaller) DefaultGasLimit

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) DefaultGasLimit(opts *bind.CallOpts) (uint32, error)

DefaultGasLimit is a free data retrieval call binding the contract method 0x95368d2e.

Solidity: function defaultGasLimit() view returns(uint32)

func (*HopL2OptimismBridgeCaller) GetBondedWithdrawalAmount

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) 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 (*HopL2OptimismBridgeCaller) GetChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256 chainId)

func (*HopL2OptimismBridgeCaller) GetCredit

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) 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 (*HopL2OptimismBridgeCaller) GetDebitAndAdditionalDebit

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) 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 (*HopL2OptimismBridgeCaller) GetIsBonder

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) 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 (*HopL2OptimismBridgeCaller) GetNextTransferNonce

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) GetNextTransferNonce(opts *bind.CallOpts) ([32]byte, error)

GetNextTransferNonce is a free data retrieval call binding the contract method 0x051e7216.

Solidity: function getNextTransferNonce() view returns(bytes32)

func (*HopL2OptimismBridgeCaller) GetRawDebit

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) 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 (*HopL2OptimismBridgeCaller) GetTransferId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) 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 (*HopL2OptimismBridgeCaller) GetTransferRoot

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) 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 (*HopL2OptimismBridgeCaller) GetTransferRootId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) 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 (*HopL2OptimismBridgeCaller) HToken

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) HToken(opts *bind.CallOpts) (common.Address, error)

HToken is a free data retrieval call binding the contract method 0xfc6e3b3b.

Solidity: function hToken() view returns(address)

func (*HopL2OptimismBridgeCaller) IsTransferIdSpent

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) 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 (*HopL2OptimismBridgeCaller) L1BridgeAddress

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) L1BridgeAddress(opts *bind.CallOpts) (common.Address, error)

L1BridgeAddress is a free data retrieval call binding the contract method 0x5ab2a558.

Solidity: function l1BridgeAddress() view returns(address)

func (*HopL2OptimismBridgeCaller) L1BridgeCaller

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) L1BridgeCaller(opts *bind.CallOpts) (common.Address, error)

L1BridgeCaller is a free data retrieval call binding the contract method 0xd2442783.

Solidity: function l1BridgeCaller() view returns(address)

func (*HopL2OptimismBridgeCaller) L1Governance

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) L1Governance(opts *bind.CallOpts) (common.Address, error)

L1Governance is a free data retrieval call binding the contract method 0x3ef23f7f.

Solidity: function l1Governance() view returns(address)

func (*HopL2OptimismBridgeCaller) LastCommitTimeForChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) LastCommitTimeForChainId(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

LastCommitTimeForChainId is a free data retrieval call binding the contract method 0xd4e54c47.

Solidity: function lastCommitTimeForChainId(uint256 ) view returns(uint256)

func (*HopL2OptimismBridgeCaller) MaxPendingTransfers

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) MaxPendingTransfers(opts *bind.CallOpts) (*big.Int, error)

MaxPendingTransfers is a free data retrieval call binding the contract method 0xbed93c84.

Solidity: function maxPendingTransfers() view returns(uint256)

func (*HopL2OptimismBridgeCaller) Messenger

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) Messenger(opts *bind.CallOpts) (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*HopL2OptimismBridgeCaller) MinBonderBps

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) MinBonderBps(opts *bind.CallOpts) (*big.Int, error)

MinBonderBps is a free data retrieval call binding the contract method 0x35e2c4af.

Solidity: function minBonderBps() view returns(uint256)

func (*HopL2OptimismBridgeCaller) MinBonderFeeAbsolute

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) MinBonderFeeAbsolute(opts *bind.CallOpts) (*big.Int, error)

MinBonderFeeAbsolute is a free data retrieval call binding the contract method 0xc3035261.

Solidity: function minBonderFeeAbsolute() view returns(uint256)

func (*HopL2OptimismBridgeCaller) MinimumForceCommitDelay

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) MinimumForceCommitDelay(opts *bind.CallOpts) (*big.Int, error)

MinimumForceCommitDelay is a free data retrieval call binding the contract method 0x8f658198.

Solidity: function minimumForceCommitDelay() view returns(uint256)

func (*HopL2OptimismBridgeCaller) PendingAmountForChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) PendingAmountForChainId(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

PendingAmountForChainId is a free data retrieval call binding the contract method 0x0f5e09e7.

Solidity: function pendingAmountForChainId(uint256 ) view returns(uint256)

func (*HopL2OptimismBridgeCaller) PendingTransferIdsForChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) PendingTransferIdsForChainId(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) ([32]byte, error)

PendingTransferIdsForChainId is a free data retrieval call binding the contract method 0x98445caf.

Solidity: function pendingTransferIdsForChainId(uint256 , uint256 ) view returns(bytes32)

func (*HopL2OptimismBridgeCaller) TransferNonceIncrementer

func (_HopL2OptimismBridge *HopL2OptimismBridgeCaller) TransferNonceIncrementer(opts *bind.CallOpts) (*big.Int, error)

TransferNonceIncrementer is a free data retrieval call binding the contract method 0x82c69f9d.

Solidity: function transferNonceIncrementer() view returns(uint256)

type HopL2OptimismBridgeCallerRaw

type HopL2OptimismBridgeCallerRaw struct {
	Contract *HopL2OptimismBridgeCaller // Generic read-only contract binding to access the raw methods on
}

HopL2OptimismBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*HopL2OptimismBridgeCallerRaw) Call

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerRaw) 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 HopL2OptimismBridgeCallerSession

type HopL2OptimismBridgeCallerSession struct {
	Contract *HopL2OptimismBridgeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts              // Call options to use throughout this session
}

HopL2OptimismBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*HopL2OptimismBridgeCallerSession) ActiveChainIds

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) ActiveChainIds(arg0 *big.Int) (bool, error)

ActiveChainIds is a free data retrieval call binding the contract method 0xc97d172e.

Solidity: function activeChainIds(uint256 ) view returns(bool)

func (*HopL2OptimismBridgeCallerSession) AmmWrapper

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) AmmWrapper() (common.Address, error)

AmmWrapper is a free data retrieval call binding the contract method 0xe9cdfe51.

Solidity: function ammWrapper() view returns(address)

func (*HopL2OptimismBridgeCallerSession) DefaultGasLimit

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) DefaultGasLimit() (uint32, error)

DefaultGasLimit is a free data retrieval call binding the contract method 0x95368d2e.

Solidity: function defaultGasLimit() view returns(uint32)

func (*HopL2OptimismBridgeCallerSession) GetBondedWithdrawalAmount

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) 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 (*HopL2OptimismBridgeCallerSession) GetChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) GetChainId() (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256 chainId)

func (*HopL2OptimismBridgeCallerSession) GetCredit

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) 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 (*HopL2OptimismBridgeCallerSession) GetDebitAndAdditionalDebit

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) 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 (*HopL2OptimismBridgeCallerSession) GetIsBonder

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) 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 (*HopL2OptimismBridgeCallerSession) GetNextTransferNonce

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) GetNextTransferNonce() ([32]byte, error)

GetNextTransferNonce is a free data retrieval call binding the contract method 0x051e7216.

Solidity: function getNextTransferNonce() view returns(bytes32)

func (*HopL2OptimismBridgeCallerSession) GetRawDebit

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) 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 (*HopL2OptimismBridgeCallerSession) GetTransferId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) 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 (*HopL2OptimismBridgeCallerSession) GetTransferRoot

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) 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 (*HopL2OptimismBridgeCallerSession) GetTransferRootId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) 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 (*HopL2OptimismBridgeCallerSession) HToken

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) HToken() (common.Address, error)

HToken is a free data retrieval call binding the contract method 0xfc6e3b3b.

Solidity: function hToken() view returns(address)

func (*HopL2OptimismBridgeCallerSession) IsTransferIdSpent

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) 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 (*HopL2OptimismBridgeCallerSession) L1BridgeAddress

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) L1BridgeAddress() (common.Address, error)

L1BridgeAddress is a free data retrieval call binding the contract method 0x5ab2a558.

Solidity: function l1BridgeAddress() view returns(address)

func (*HopL2OptimismBridgeCallerSession) L1BridgeCaller

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) L1BridgeCaller() (common.Address, error)

L1BridgeCaller is a free data retrieval call binding the contract method 0xd2442783.

Solidity: function l1BridgeCaller() view returns(address)

func (*HopL2OptimismBridgeCallerSession) L1Governance

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) L1Governance() (common.Address, error)

L1Governance is a free data retrieval call binding the contract method 0x3ef23f7f.

Solidity: function l1Governance() view returns(address)

func (*HopL2OptimismBridgeCallerSession) LastCommitTimeForChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) LastCommitTimeForChainId(arg0 *big.Int) (*big.Int, error)

LastCommitTimeForChainId is a free data retrieval call binding the contract method 0xd4e54c47.

Solidity: function lastCommitTimeForChainId(uint256 ) view returns(uint256)

func (*HopL2OptimismBridgeCallerSession) MaxPendingTransfers

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) MaxPendingTransfers() (*big.Int, error)

MaxPendingTransfers is a free data retrieval call binding the contract method 0xbed93c84.

Solidity: function maxPendingTransfers() view returns(uint256)

func (*HopL2OptimismBridgeCallerSession) Messenger

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*HopL2OptimismBridgeCallerSession) MinBonderBps

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) MinBonderBps() (*big.Int, error)

MinBonderBps is a free data retrieval call binding the contract method 0x35e2c4af.

Solidity: function minBonderBps() view returns(uint256)

func (*HopL2OptimismBridgeCallerSession) MinBonderFeeAbsolute

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) MinBonderFeeAbsolute() (*big.Int, error)

MinBonderFeeAbsolute is a free data retrieval call binding the contract method 0xc3035261.

Solidity: function minBonderFeeAbsolute() view returns(uint256)

func (*HopL2OptimismBridgeCallerSession) MinimumForceCommitDelay

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) MinimumForceCommitDelay() (*big.Int, error)

MinimumForceCommitDelay is a free data retrieval call binding the contract method 0x8f658198.

Solidity: function minimumForceCommitDelay() view returns(uint256)

func (*HopL2OptimismBridgeCallerSession) PendingAmountForChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) PendingAmountForChainId(arg0 *big.Int) (*big.Int, error)

PendingAmountForChainId is a free data retrieval call binding the contract method 0x0f5e09e7.

Solidity: function pendingAmountForChainId(uint256 ) view returns(uint256)

func (*HopL2OptimismBridgeCallerSession) PendingTransferIdsForChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) PendingTransferIdsForChainId(arg0 *big.Int, arg1 *big.Int) ([32]byte, error)

PendingTransferIdsForChainId is a free data retrieval call binding the contract method 0x98445caf.

Solidity: function pendingTransferIdsForChainId(uint256 , uint256 ) view returns(bytes32)

func (*HopL2OptimismBridgeCallerSession) TransferNonceIncrementer

func (_HopL2OptimismBridge *HopL2OptimismBridgeCallerSession) TransferNonceIncrementer() (*big.Int, error)

TransferNonceIncrementer is a free data retrieval call binding the contract method 0x82c69f9d.

Solidity: function transferNonceIncrementer() view returns(uint256)

type HopL2OptimismBridgeFilterer

type HopL2OptimismBridgeFilterer struct {
	// contains filtered or unexported fields
}

HopL2OptimismBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewHopL2OptimismBridgeFilterer

func NewHopL2OptimismBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*HopL2OptimismBridgeFilterer, error)

NewHopL2OptimismBridgeFilterer creates a new log filterer instance of HopL2OptimismBridge, bound to a specific deployed contract.

func (*HopL2OptimismBridgeFilterer) FilterBonderAdded

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterBonderAdded(opts *bind.FilterOpts, newBonder []common.Address) (*HopL2OptimismBridgeBonderAddedIterator, error)

FilterBonderAdded is a free log retrieval operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.

Solidity: event BonderAdded(address indexed newBonder)

func (*HopL2OptimismBridgeFilterer) FilterBonderRemoved

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterBonderRemoved(opts *bind.FilterOpts, previousBonder []common.Address) (*HopL2OptimismBridgeBonderRemovedIterator, error)

FilterBonderRemoved is a free log retrieval operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.

Solidity: event BonderRemoved(address indexed previousBonder)

func (*HopL2OptimismBridgeFilterer) FilterMultipleWithdrawalsSettled

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterMultipleWithdrawalsSettled(opts *bind.FilterOpts, bonder []common.Address, rootHash [][32]byte) (*HopL2OptimismBridgeMultipleWithdrawalsSettledIterator, 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 (*HopL2OptimismBridgeFilterer) FilterStake

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterStake(opts *bind.FilterOpts, account []common.Address) (*HopL2OptimismBridgeStakeIterator, error)

FilterStake is a free log retrieval operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.

Solidity: event Stake(address indexed account, uint256 amount)

func (*HopL2OptimismBridgeFilterer) FilterTransferFromL1Completed

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterTransferFromL1Completed(opts *bind.FilterOpts, recipient []common.Address, relayer []common.Address) (*HopL2OptimismBridgeTransferFromL1CompletedIterator, error)

FilterTransferFromL1Completed is a free log retrieval operation binding the contract event 0x320958176930804eb66c2343c7343fc0367dc16249590c0f195783bee199d094.

Solidity: event TransferFromL1Completed(address indexed recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address indexed relayer, uint256 relayerFee)

func (*HopL2OptimismBridgeFilterer) FilterTransferRootSet

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterTransferRootSet(opts *bind.FilterOpts, rootHash [][32]byte) (*HopL2OptimismBridgeTransferRootSetIterator, error)

FilterTransferRootSet is a free log retrieval operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.

Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)

func (*HopL2OptimismBridgeFilterer) FilterTransferSent

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterTransferSent(opts *bind.FilterOpts, transferId [][32]byte, chainId []*big.Int, recipient []common.Address) (*HopL2OptimismBridgeTransferSentIterator, error)

FilterTransferSent is a free log retrieval operation binding the contract event 0xe35dddd4ea75d7e9b3fe93af4f4e40e778c3da4074c9d93e7c6536f1e803c1eb.

Solidity: event TransferSent(bytes32 indexed transferId, uint256 indexed chainId, address indexed recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 index, uint256 amountOutMin, uint256 deadline)

func (*HopL2OptimismBridgeFilterer) FilterTransfersCommitted

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterTransfersCommitted(opts *bind.FilterOpts, destinationChainId []*big.Int, rootHash [][32]byte) (*HopL2OptimismBridgeTransfersCommittedIterator, error)

FilterTransfersCommitted is a free log retrieval operation binding the contract event 0xf52ad20d3b4f50d1c40901dfb95a9ce5270b2fc32694e5c668354721cd87aa74.

Solidity: event TransfersCommitted(uint256 indexed destinationChainId, bytes32 indexed rootHash, uint256 totalAmount, uint256 rootCommittedAt)

func (*HopL2OptimismBridgeFilterer) FilterUnstake

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterUnstake(opts *bind.FilterOpts, account []common.Address) (*HopL2OptimismBridgeUnstakeIterator, error)

FilterUnstake is a free log retrieval operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.

Solidity: event Unstake(address indexed account, uint256 amount)

func (*HopL2OptimismBridgeFilterer) FilterWithdrawalBondSettled

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterWithdrawalBondSettled(opts *bind.FilterOpts, bonder []common.Address, transferId [][32]byte, rootHash [][32]byte) (*HopL2OptimismBridgeWithdrawalBondSettledIterator, 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 (*HopL2OptimismBridgeFilterer) FilterWithdrawalBonded

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterWithdrawalBonded(opts *bind.FilterOpts, transferId [][32]byte) (*HopL2OptimismBridgeWithdrawalBondedIterator, error)

FilterWithdrawalBonded is a free log retrieval operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.

Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)

func (*HopL2OptimismBridgeFilterer) FilterWithdrew

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) FilterWithdrew(opts *bind.FilterOpts, transferId [][32]byte, recipient []common.Address) (*HopL2OptimismBridgeWithdrewIterator, 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 (*HopL2OptimismBridgeFilterer) ParseBonderAdded

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseBonderAdded(log types.Log) (*HopL2OptimismBridgeBonderAdded, error)

ParseBonderAdded is a log parse operation binding the contract event 0x2cec73b7434d3b91198ad1a618f63e6a0761ce281af5ec9ec76606d948d03e23.

Solidity: event BonderAdded(address indexed newBonder)

func (*HopL2OptimismBridgeFilterer) ParseBonderRemoved

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseBonderRemoved(log types.Log) (*HopL2OptimismBridgeBonderRemoved, error)

ParseBonderRemoved is a log parse operation binding the contract event 0x4234ba611d325b3ba434c4e1b037967b955b1274d4185ee9847b7491111a48ff.

Solidity: event BonderRemoved(address indexed previousBonder)

func (*HopL2OptimismBridgeFilterer) ParseMultipleWithdrawalsSettled

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseMultipleWithdrawalsSettled(log types.Log) (*HopL2OptimismBridgeMultipleWithdrawalsSettled, error)

ParseMultipleWithdrawalsSettled is a log parse operation binding the contract event 0x78e830d08be9d5f957414c84d685c061ecbd8467be98b42ebb64f0118b57d2ff.

Solidity: event MultipleWithdrawalsSettled(address indexed bonder, bytes32 indexed rootHash, uint256 totalBondsSettled)

func (*HopL2OptimismBridgeFilterer) ParseStake

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseStake(log types.Log) (*HopL2OptimismBridgeStake, error)

ParseStake is a log parse operation binding the contract event 0xebedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a.

Solidity: event Stake(address indexed account, uint256 amount)

func (*HopL2OptimismBridgeFilterer) ParseTransferFromL1Completed

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseTransferFromL1Completed(log types.Log) (*HopL2OptimismBridgeTransferFromL1Completed, error)

ParseTransferFromL1Completed is a log parse operation binding the contract event 0x320958176930804eb66c2343c7343fc0367dc16249590c0f195783bee199d094.

Solidity: event TransferFromL1Completed(address indexed recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address indexed relayer, uint256 relayerFee)

func (*HopL2OptimismBridgeFilterer) ParseTransferRootSet

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseTransferRootSet(log types.Log) (*HopL2OptimismBridgeTransferRootSet, error)

ParseTransferRootSet is a log parse operation binding the contract event 0xb33d2162aead99dab59e77a7a67ea025b776bf8ca8079e132afdf9b23e03bd42.

Solidity: event TransferRootSet(bytes32 indexed rootHash, uint256 totalAmount)

func (*HopL2OptimismBridgeFilterer) ParseTransferSent

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseTransferSent(log types.Log) (*HopL2OptimismBridgeTransferSent, error)

ParseTransferSent is a log parse operation binding the contract event 0xe35dddd4ea75d7e9b3fe93af4f4e40e778c3da4074c9d93e7c6536f1e803c1eb.

Solidity: event TransferSent(bytes32 indexed transferId, uint256 indexed chainId, address indexed recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 index, uint256 amountOutMin, uint256 deadline)

func (*HopL2OptimismBridgeFilterer) ParseTransfersCommitted

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseTransfersCommitted(log types.Log) (*HopL2OptimismBridgeTransfersCommitted, error)

ParseTransfersCommitted is a log parse operation binding the contract event 0xf52ad20d3b4f50d1c40901dfb95a9ce5270b2fc32694e5c668354721cd87aa74.

Solidity: event TransfersCommitted(uint256 indexed destinationChainId, bytes32 indexed rootHash, uint256 totalAmount, uint256 rootCommittedAt)

func (*HopL2OptimismBridgeFilterer) ParseUnstake

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseUnstake(log types.Log) (*HopL2OptimismBridgeUnstake, error)

ParseUnstake is a log parse operation binding the contract event 0x85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd.

Solidity: event Unstake(address indexed account, uint256 amount)

func (*HopL2OptimismBridgeFilterer) ParseWithdrawalBondSettled

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseWithdrawalBondSettled(log types.Log) (*HopL2OptimismBridgeWithdrawalBondSettled, 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 (*HopL2OptimismBridgeFilterer) ParseWithdrawalBonded

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseWithdrawalBonded(log types.Log) (*HopL2OptimismBridgeWithdrawalBonded, error)

ParseWithdrawalBonded is a log parse operation binding the contract event 0x0c3d250c7831051e78aa6a56679e590374c7c424415ffe4aa474491def2fe705.

Solidity: event WithdrawalBonded(bytes32 indexed transferId, uint256 amount)

func (*HopL2OptimismBridgeFilterer) ParseWithdrew

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) ParseWithdrew(log types.Log) (*HopL2OptimismBridgeWithdrew, 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 (*HopL2OptimismBridgeFilterer) WatchBonderAdded

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchBonderAdded(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeBonderAdded, 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 (*HopL2OptimismBridgeFilterer) WatchBonderRemoved

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchBonderRemoved(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeBonderRemoved, 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 (*HopL2OptimismBridgeFilterer) WatchMultipleWithdrawalsSettled

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchMultipleWithdrawalsSettled(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeMultipleWithdrawalsSettled, 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 (*HopL2OptimismBridgeFilterer) WatchStake

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchStake(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeStake, 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 (*HopL2OptimismBridgeFilterer) WatchTransferFromL1Completed

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchTransferFromL1Completed(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeTransferFromL1Completed, recipient []common.Address, relayer []common.Address) (event.Subscription, error)

WatchTransferFromL1Completed is a free log subscription operation binding the contract event 0x320958176930804eb66c2343c7343fc0367dc16249590c0f195783bee199d094.

Solidity: event TransferFromL1Completed(address indexed recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address indexed relayer, uint256 relayerFee)

func (*HopL2OptimismBridgeFilterer) WatchTransferRootSet

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchTransferRootSet(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeTransferRootSet, 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 (*HopL2OptimismBridgeFilterer) WatchTransferSent

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchTransferSent(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeTransferSent, transferId [][32]byte, chainId []*big.Int, recipient []common.Address) (event.Subscription, error)

WatchTransferSent is a free log subscription operation binding the contract event 0xe35dddd4ea75d7e9b3fe93af4f4e40e778c3da4074c9d93e7c6536f1e803c1eb.

Solidity: event TransferSent(bytes32 indexed transferId, uint256 indexed chainId, address indexed recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 index, uint256 amountOutMin, uint256 deadline)

func (*HopL2OptimismBridgeFilterer) WatchTransfersCommitted

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchTransfersCommitted(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeTransfersCommitted, destinationChainId []*big.Int, rootHash [][32]byte) (event.Subscription, error)

WatchTransfersCommitted is a free log subscription operation binding the contract event 0xf52ad20d3b4f50d1c40901dfb95a9ce5270b2fc32694e5c668354721cd87aa74.

Solidity: event TransfersCommitted(uint256 indexed destinationChainId, bytes32 indexed rootHash, uint256 totalAmount, uint256 rootCommittedAt)

func (*HopL2OptimismBridgeFilterer) WatchUnstake

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeUnstake, 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 (*HopL2OptimismBridgeFilterer) WatchWithdrawalBondSettled

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchWithdrawalBondSettled(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeWithdrawalBondSettled, 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 (*HopL2OptimismBridgeFilterer) WatchWithdrawalBonded

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchWithdrawalBonded(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeWithdrawalBonded, 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 (*HopL2OptimismBridgeFilterer) WatchWithdrew

func (_HopL2OptimismBridge *HopL2OptimismBridgeFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *HopL2OptimismBridgeWithdrew, 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 HopL2OptimismBridgeMultipleWithdrawalsSettled

type HopL2OptimismBridgeMultipleWithdrawalsSettled struct {
	Bonder            common.Address
	RootHash          [32]byte
	TotalBondsSettled *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeMultipleWithdrawalsSettled represents a MultipleWithdrawalsSettled event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeMultipleWithdrawalsSettledIterator

type HopL2OptimismBridgeMultipleWithdrawalsSettledIterator struct {
	Event *HopL2OptimismBridgeMultipleWithdrawalsSettled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeMultipleWithdrawalsSettledIterator is returned from FilterMultipleWithdrawalsSettled and is used to iterate over the raw logs and unpacked data for MultipleWithdrawalsSettled events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeMultipleWithdrawalsSettledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeMultipleWithdrawalsSettledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeMultipleWithdrawalsSettledIterator) Next

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 HopL2OptimismBridgeRaw

type HopL2OptimismBridgeRaw struct {
	Contract *HopL2OptimismBridge // Generic contract binding to access the raw methods on
}

HopL2OptimismBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*HopL2OptimismBridgeRaw) Call

func (_HopL2OptimismBridge *HopL2OptimismBridgeRaw) 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 (*HopL2OptimismBridgeRaw) Transact

func (_HopL2OptimismBridge *HopL2OptimismBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HopL2OptimismBridgeRaw) Transfer

func (_HopL2OptimismBridge *HopL2OptimismBridgeRaw) 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 HopL2OptimismBridgeSession

type HopL2OptimismBridgeSession struct {
	Contract     *HopL2OptimismBridge // 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
}

HopL2OptimismBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*HopL2OptimismBridgeSession) ActiveChainIds

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) ActiveChainIds(arg0 *big.Int) (bool, error)

ActiveChainIds is a free data retrieval call binding the contract method 0xc97d172e.

Solidity: function activeChainIds(uint256 ) view returns(bool)

func (*HopL2OptimismBridgeSession) AddActiveChainIds

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) AddActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)

AddActiveChainIds is a paid mutator transaction binding the contract method 0xf8398fa4.

Solidity: function addActiveChainIds(uint256[] chainIds) returns()

func (*HopL2OptimismBridgeSession) AddBonder

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) AmmWrapper

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) AmmWrapper() (common.Address, error)

AmmWrapper is a free data retrieval call binding the contract method 0xe9cdfe51.

Solidity: function ammWrapper() view returns(address)

func (*HopL2OptimismBridgeSession) BondWithdrawal

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) BondWithdrawalAndDistribute

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) BondWithdrawalAndDistribute(recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)

BondWithdrawalAndDistribute is a paid mutator transaction binding the contract method 0x3d12a85a.

Solidity: function bondWithdrawalAndDistribute(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()

func (*HopL2OptimismBridgeSession) CommitTransfers

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) CommitTransfers(destinationChainId *big.Int) (*types.Transaction, error)

CommitTransfers is a paid mutator transaction binding the contract method 0x32b949a2.

Solidity: function commitTransfers(uint256 destinationChainId) returns()

func (*HopL2OptimismBridgeSession) DefaultGasLimit

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) DefaultGasLimit() (uint32, error)

DefaultGasLimit is a free data retrieval call binding the contract method 0x95368d2e.

Solidity: function defaultGasLimit() view returns(uint32)

func (*HopL2OptimismBridgeSession) Distribute

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) Distribute(recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xcc29a306.

Solidity: function distribute(address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address relayer, uint256 relayerFee) returns()

func (*HopL2OptimismBridgeSession) GetBondedWithdrawalAmount

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) GetChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) GetChainId() (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256 chainId)

func (*HopL2OptimismBridgeSession) GetCredit

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) GetDebitAndAdditionalDebit

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) GetIsBonder

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) GetNextTransferNonce

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) GetNextTransferNonce() ([32]byte, error)

GetNextTransferNonce is a free data retrieval call binding the contract method 0x051e7216.

Solidity: function getNextTransferNonce() view returns(bytes32)

func (*HopL2OptimismBridgeSession) GetRawDebit

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) GetTransferId

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) GetTransferRoot

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) GetTransferRootId

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) HToken

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) HToken() (common.Address, error)

HToken is a free data retrieval call binding the contract method 0xfc6e3b3b.

Solidity: function hToken() view returns(address)

func (*HopL2OptimismBridgeSession) IsTransferIdSpent

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) L1BridgeAddress

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) L1BridgeAddress() (common.Address, error)

L1BridgeAddress is a free data retrieval call binding the contract method 0x5ab2a558.

Solidity: function l1BridgeAddress() view returns(address)

func (*HopL2OptimismBridgeSession) L1BridgeCaller

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) L1BridgeCaller() (common.Address, error)

L1BridgeCaller is a free data retrieval call binding the contract method 0xd2442783.

Solidity: function l1BridgeCaller() view returns(address)

func (*HopL2OptimismBridgeSession) L1Governance

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) L1Governance() (common.Address, error)

L1Governance is a free data retrieval call binding the contract method 0x3ef23f7f.

Solidity: function l1Governance() view returns(address)

func (*HopL2OptimismBridgeSession) LastCommitTimeForChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) LastCommitTimeForChainId(arg0 *big.Int) (*big.Int, error)

LastCommitTimeForChainId is a free data retrieval call binding the contract method 0xd4e54c47.

Solidity: function lastCommitTimeForChainId(uint256 ) view returns(uint256)

func (*HopL2OptimismBridgeSession) MaxPendingTransfers

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) MaxPendingTransfers() (*big.Int, error)

MaxPendingTransfers is a free data retrieval call binding the contract method 0xbed93c84.

Solidity: function maxPendingTransfers() view returns(uint256)

func (*HopL2OptimismBridgeSession) Messenger

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) Messenger() (common.Address, error)

Messenger is a free data retrieval call binding the contract method 0x3cb747bf.

Solidity: function messenger() view returns(address)

func (*HopL2OptimismBridgeSession) MinBonderBps

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) MinBonderBps() (*big.Int, error)

MinBonderBps is a free data retrieval call binding the contract method 0x35e2c4af.

Solidity: function minBonderBps() view returns(uint256)

func (*HopL2OptimismBridgeSession) MinBonderFeeAbsolute

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) MinBonderFeeAbsolute() (*big.Int, error)

MinBonderFeeAbsolute is a free data retrieval call binding the contract method 0xc3035261.

Solidity: function minBonderFeeAbsolute() view returns(uint256)

func (*HopL2OptimismBridgeSession) MinimumForceCommitDelay

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) MinimumForceCommitDelay() (*big.Int, error)

MinimumForceCommitDelay is a free data retrieval call binding the contract method 0x8f658198.

Solidity: function minimumForceCommitDelay() view returns(uint256)

func (*HopL2OptimismBridgeSession) PendingAmountForChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) PendingAmountForChainId(arg0 *big.Int) (*big.Int, error)

PendingAmountForChainId is a free data retrieval call binding the contract method 0x0f5e09e7.

Solidity: function pendingAmountForChainId(uint256 ) view returns(uint256)

func (*HopL2OptimismBridgeSession) PendingTransferIdsForChainId

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) PendingTransferIdsForChainId(arg0 *big.Int, arg1 *big.Int) ([32]byte, error)

PendingTransferIdsForChainId is a free data retrieval call binding the contract method 0x98445caf.

Solidity: function pendingTransferIdsForChainId(uint256 , uint256 ) view returns(bytes32)

func (*HopL2OptimismBridgeSession) RemoveActiveChainIds

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) RemoveActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)

RemoveActiveChainIds is a paid mutator transaction binding the contract method 0x9f600a0b.

Solidity: function removeActiveChainIds(uint256[] chainIds) returns()

func (*HopL2OptimismBridgeSession) RemoveBonder

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) RescueTransferRoot

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) Send

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) Send(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xa6bd1b33.

Solidity: function send(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()

func (*HopL2OptimismBridgeSession) SetAmmWrapper

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetAmmWrapper(_ammWrapper common.Address) (*types.Transaction, error)

SetAmmWrapper is a paid mutator transaction binding the contract method 0x64c6fdb4.

Solidity: function setAmmWrapper(address _ammWrapper) returns()

func (*HopL2OptimismBridgeSession) SetDefaultGasLimit

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetDefaultGasLimit(_defaultGasLimit uint32) (*types.Transaction, error)

SetDefaultGasLimit is a paid mutator transaction binding the contract method 0x524b6f70.

Solidity: function setDefaultGasLimit(uint32 _defaultGasLimit) returns()

func (*HopL2OptimismBridgeSession) SetHopBridgeTokenOwner

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetHopBridgeTokenOwner(newOwner common.Address) (*types.Transaction, error)

SetHopBridgeTokenOwner is a paid mutator transaction binding the contract method 0x8295f258.

Solidity: function setHopBridgeTokenOwner(address newOwner) returns()

func (*HopL2OptimismBridgeSession) SetL1BridgeAddress

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetL1BridgeAddress(_l1BridgeAddress common.Address) (*types.Transaction, error)

SetL1BridgeAddress is a paid mutator transaction binding the contract method 0xe1825d06.

Solidity: function setL1BridgeAddress(address _l1BridgeAddress) returns()

func (*HopL2OptimismBridgeSession) SetL1BridgeCaller

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetL1BridgeCaller(_l1BridgeCaller common.Address) (*types.Transaction, error)

SetL1BridgeCaller is a paid mutator transaction binding the contract method 0xaf33ae69.

Solidity: function setL1BridgeCaller(address _l1BridgeCaller) returns()

func (*HopL2OptimismBridgeSession) SetL1Governance

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetL1Governance(_l1Governance common.Address) (*types.Transaction, error)

SetL1Governance is a paid mutator transaction binding the contract method 0xe40272d7.

Solidity: function setL1Governance(address _l1Governance) returns()

func (*HopL2OptimismBridgeSession) SetMaxPendingTransfers

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetMaxPendingTransfers(_maxPendingTransfers *big.Int) (*types.Transaction, error)

SetMaxPendingTransfers is a paid mutator transaction binding the contract method 0x4742bbfb.

Solidity: function setMaxPendingTransfers(uint256 _maxPendingTransfers) returns()

func (*HopL2OptimismBridgeSession) SetMessenger

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetMessenger(_messenger common.Address) (*types.Transaction, error)

SetMessenger is a paid mutator transaction binding the contract method 0x66285967.

Solidity: function setMessenger(address _messenger) returns()

func (*HopL2OptimismBridgeSession) SetMinimumBonderFeeRequirements

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetMinimumBonderFeeRequirements(_minBonderBps *big.Int, _minBonderFeeAbsolute *big.Int) (*types.Transaction, error)

SetMinimumBonderFeeRequirements is a paid mutator transaction binding the contract method 0xa9fa4ed5.

Solidity: function setMinimumBonderFeeRequirements(uint256 _minBonderBps, uint256 _minBonderFeeAbsolute) returns()

func (*HopL2OptimismBridgeSession) SetMinimumForceCommitDelay

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetMinimumForceCommitDelay(_minimumForceCommitDelay *big.Int) (*types.Transaction, error)

SetMinimumForceCommitDelay is a paid mutator transaction binding the contract method 0x9bf43028.

Solidity: function setMinimumForceCommitDelay(uint256 _minimumForceCommitDelay) returns()

func (*HopL2OptimismBridgeSession) SetTransferRoot

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) SetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (*types.Transaction, error)

SetTransferRoot is a paid mutator transaction binding the contract method 0xfd31c5ba.

Solidity: function setTransferRoot(bytes32 rootHash, uint256 totalAmount) returns()

func (*HopL2OptimismBridgeSession) SettleBondedWithdrawal

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) SettleBondedWithdrawals

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) Stake

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) TransferNonceIncrementer

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) TransferNonceIncrementer() (*big.Int, error)

TransferNonceIncrementer is a free data retrieval call binding the contract method 0x82c69f9d.

Solidity: function transferNonceIncrementer() view returns(uint256)

func (*HopL2OptimismBridgeSession) Unstake

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 (*HopL2OptimismBridgeSession) Withdraw

func (_HopL2OptimismBridge *HopL2OptimismBridgeSession) 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 HopL2OptimismBridgeStake

type HopL2OptimismBridgeStake struct {
	Account common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeStake represents a Stake event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeStakeIterator

type HopL2OptimismBridgeStakeIterator struct {
	Event *HopL2OptimismBridgeStake // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeStakeIterator is returned from FilterStake and is used to iterate over the raw logs and unpacked data for Stake events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeStakeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeStakeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeStakeIterator) Next

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 HopL2OptimismBridgeTransactor

type HopL2OptimismBridgeTransactor struct {
	// contains filtered or unexported fields
}

HopL2OptimismBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewHopL2OptimismBridgeTransactor

func NewHopL2OptimismBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*HopL2OptimismBridgeTransactor, error)

NewHopL2OptimismBridgeTransactor creates a new write-only instance of HopL2OptimismBridge, bound to a specific deployed contract.

func (*HopL2OptimismBridgeTransactor) AddActiveChainIds

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) AddActiveChainIds(opts *bind.TransactOpts, chainIds []*big.Int) (*types.Transaction, error)

AddActiveChainIds is a paid mutator transaction binding the contract method 0xf8398fa4.

Solidity: function addActiveChainIds(uint256[] chainIds) returns()

func (*HopL2OptimismBridgeTransactor) AddBonder

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) 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 (*HopL2OptimismBridgeTransactor) BondWithdrawal

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) 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 (*HopL2OptimismBridgeTransactor) BondWithdrawalAndDistribute

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) BondWithdrawalAndDistribute(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)

BondWithdrawalAndDistribute is a paid mutator transaction binding the contract method 0x3d12a85a.

Solidity: function bondWithdrawalAndDistribute(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()

func (*HopL2OptimismBridgeTransactor) CommitTransfers

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) CommitTransfers(opts *bind.TransactOpts, destinationChainId *big.Int) (*types.Transaction, error)

CommitTransfers is a paid mutator transaction binding the contract method 0x32b949a2.

Solidity: function commitTransfers(uint256 destinationChainId) returns()

func (*HopL2OptimismBridgeTransactor) Distribute

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) Distribute(opts *bind.TransactOpts, recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xcc29a306.

Solidity: function distribute(address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address relayer, uint256 relayerFee) returns()

func (*HopL2OptimismBridgeTransactor) RemoveActiveChainIds

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) RemoveActiveChainIds(opts *bind.TransactOpts, chainIds []*big.Int) (*types.Transaction, error)

RemoveActiveChainIds is a paid mutator transaction binding the contract method 0x9f600a0b.

Solidity: function removeActiveChainIds(uint256[] chainIds) returns()

func (*HopL2OptimismBridgeTransactor) RemoveBonder

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) 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 (*HopL2OptimismBridgeTransactor) RescueTransferRoot

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) 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 (*HopL2OptimismBridgeTransactor) Send

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) Send(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xa6bd1b33.

Solidity: function send(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()

func (*HopL2OptimismBridgeTransactor) SetAmmWrapper

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetAmmWrapper(opts *bind.TransactOpts, _ammWrapper common.Address) (*types.Transaction, error)

SetAmmWrapper is a paid mutator transaction binding the contract method 0x64c6fdb4.

Solidity: function setAmmWrapper(address _ammWrapper) returns()

func (*HopL2OptimismBridgeTransactor) SetDefaultGasLimit

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetDefaultGasLimit(opts *bind.TransactOpts, _defaultGasLimit uint32) (*types.Transaction, error)

SetDefaultGasLimit is a paid mutator transaction binding the contract method 0x524b6f70.

Solidity: function setDefaultGasLimit(uint32 _defaultGasLimit) returns()

func (*HopL2OptimismBridgeTransactor) SetHopBridgeTokenOwner

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetHopBridgeTokenOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

SetHopBridgeTokenOwner is a paid mutator transaction binding the contract method 0x8295f258.

Solidity: function setHopBridgeTokenOwner(address newOwner) returns()

func (*HopL2OptimismBridgeTransactor) SetL1BridgeAddress

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetL1BridgeAddress(opts *bind.TransactOpts, _l1BridgeAddress common.Address) (*types.Transaction, error)

SetL1BridgeAddress is a paid mutator transaction binding the contract method 0xe1825d06.

Solidity: function setL1BridgeAddress(address _l1BridgeAddress) returns()

func (*HopL2OptimismBridgeTransactor) SetL1BridgeCaller

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetL1BridgeCaller(opts *bind.TransactOpts, _l1BridgeCaller common.Address) (*types.Transaction, error)

SetL1BridgeCaller is a paid mutator transaction binding the contract method 0xaf33ae69.

Solidity: function setL1BridgeCaller(address _l1BridgeCaller) returns()

func (*HopL2OptimismBridgeTransactor) SetL1Governance

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetL1Governance(opts *bind.TransactOpts, _l1Governance common.Address) (*types.Transaction, error)

SetL1Governance is a paid mutator transaction binding the contract method 0xe40272d7.

Solidity: function setL1Governance(address _l1Governance) returns()

func (*HopL2OptimismBridgeTransactor) SetMaxPendingTransfers

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetMaxPendingTransfers(opts *bind.TransactOpts, _maxPendingTransfers *big.Int) (*types.Transaction, error)

SetMaxPendingTransfers is a paid mutator transaction binding the contract method 0x4742bbfb.

Solidity: function setMaxPendingTransfers(uint256 _maxPendingTransfers) returns()

func (*HopL2OptimismBridgeTransactor) SetMessenger

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetMessenger(opts *bind.TransactOpts, _messenger common.Address) (*types.Transaction, error)

SetMessenger is a paid mutator transaction binding the contract method 0x66285967.

Solidity: function setMessenger(address _messenger) returns()

func (*HopL2OptimismBridgeTransactor) SetMinimumBonderFeeRequirements

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetMinimumBonderFeeRequirements(opts *bind.TransactOpts, _minBonderBps *big.Int, _minBonderFeeAbsolute *big.Int) (*types.Transaction, error)

SetMinimumBonderFeeRequirements is a paid mutator transaction binding the contract method 0xa9fa4ed5.

Solidity: function setMinimumBonderFeeRequirements(uint256 _minBonderBps, uint256 _minBonderFeeAbsolute) returns()

func (*HopL2OptimismBridgeTransactor) SetMinimumForceCommitDelay

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetMinimumForceCommitDelay(opts *bind.TransactOpts, _minimumForceCommitDelay *big.Int) (*types.Transaction, error)

SetMinimumForceCommitDelay is a paid mutator transaction binding the contract method 0x9bf43028.

Solidity: function setMinimumForceCommitDelay(uint256 _minimumForceCommitDelay) returns()

func (*HopL2OptimismBridgeTransactor) SetTransferRoot

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) SetTransferRoot(opts *bind.TransactOpts, rootHash [32]byte, totalAmount *big.Int) (*types.Transaction, error)

SetTransferRoot is a paid mutator transaction binding the contract method 0xfd31c5ba.

Solidity: function setTransferRoot(bytes32 rootHash, uint256 totalAmount) returns()

func (*HopL2OptimismBridgeTransactor) SettleBondedWithdrawal

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) 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 (*HopL2OptimismBridgeTransactor) SettleBondedWithdrawals

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) 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 (*HopL2OptimismBridgeTransactor) Stake

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) 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 (*HopL2OptimismBridgeTransactor) Unstake

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) 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 (*HopL2OptimismBridgeTransactor) Withdraw

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactor) 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 HopL2OptimismBridgeTransactorRaw

type HopL2OptimismBridgeTransactorRaw struct {
	Contract *HopL2OptimismBridgeTransactor // Generic write-only contract binding to access the raw methods on
}

HopL2OptimismBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*HopL2OptimismBridgeTransactorRaw) Transact

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HopL2OptimismBridgeTransactorRaw) Transfer

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorRaw) 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 HopL2OptimismBridgeTransactorSession

type HopL2OptimismBridgeTransactorSession struct {
	Contract     *HopL2OptimismBridgeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts              // Transaction auth options to use throughout this session
}

HopL2OptimismBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*HopL2OptimismBridgeTransactorSession) AddActiveChainIds

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) AddActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)

AddActiveChainIds is a paid mutator transaction binding the contract method 0xf8398fa4.

Solidity: function addActiveChainIds(uint256[] chainIds) returns()

func (*HopL2OptimismBridgeTransactorSession) AddBonder

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) 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 (*HopL2OptimismBridgeTransactorSession) BondWithdrawal

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) 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 (*HopL2OptimismBridgeTransactorSession) BondWithdrawalAndDistribute

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) BondWithdrawalAndDistribute(recipient common.Address, amount *big.Int, transferNonce [32]byte, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)

BondWithdrawalAndDistribute is a paid mutator transaction binding the contract method 0x3d12a85a.

Solidity: function bondWithdrawalAndDistribute(address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()

func (*HopL2OptimismBridgeTransactorSession) CommitTransfers

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) CommitTransfers(destinationChainId *big.Int) (*types.Transaction, error)

CommitTransfers is a paid mutator transaction binding the contract method 0x32b949a2.

Solidity: function commitTransfers(uint256 destinationChainId) returns()

func (*HopL2OptimismBridgeTransactorSession) Distribute

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) Distribute(recipient common.Address, amount *big.Int, amountOutMin *big.Int, deadline *big.Int, relayer common.Address, relayerFee *big.Int) (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xcc29a306.

Solidity: function distribute(address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline, address relayer, uint256 relayerFee) returns()

func (*HopL2OptimismBridgeTransactorSession) RemoveActiveChainIds

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) RemoveActiveChainIds(chainIds []*big.Int) (*types.Transaction, error)

RemoveActiveChainIds is a paid mutator transaction binding the contract method 0x9f600a0b.

Solidity: function removeActiveChainIds(uint256[] chainIds) returns()

func (*HopL2OptimismBridgeTransactorSession) RemoveBonder

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) 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 (*HopL2OptimismBridgeTransactorSession) RescueTransferRoot

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) 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 (*HopL2OptimismBridgeTransactorSession) Send

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) Send(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xa6bd1b33.

Solidity: function send(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline) returns()

func (*HopL2OptimismBridgeTransactorSession) SetAmmWrapper

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetAmmWrapper(_ammWrapper common.Address) (*types.Transaction, error)

SetAmmWrapper is a paid mutator transaction binding the contract method 0x64c6fdb4.

Solidity: function setAmmWrapper(address _ammWrapper) returns()

func (*HopL2OptimismBridgeTransactorSession) SetDefaultGasLimit

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetDefaultGasLimit(_defaultGasLimit uint32) (*types.Transaction, error)

SetDefaultGasLimit is a paid mutator transaction binding the contract method 0x524b6f70.

Solidity: function setDefaultGasLimit(uint32 _defaultGasLimit) returns()

func (*HopL2OptimismBridgeTransactorSession) SetHopBridgeTokenOwner

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetHopBridgeTokenOwner(newOwner common.Address) (*types.Transaction, error)

SetHopBridgeTokenOwner is a paid mutator transaction binding the contract method 0x8295f258.

Solidity: function setHopBridgeTokenOwner(address newOwner) returns()

func (*HopL2OptimismBridgeTransactorSession) SetL1BridgeAddress

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetL1BridgeAddress(_l1BridgeAddress common.Address) (*types.Transaction, error)

SetL1BridgeAddress is a paid mutator transaction binding the contract method 0xe1825d06.

Solidity: function setL1BridgeAddress(address _l1BridgeAddress) returns()

func (*HopL2OptimismBridgeTransactorSession) SetL1BridgeCaller

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetL1BridgeCaller(_l1BridgeCaller common.Address) (*types.Transaction, error)

SetL1BridgeCaller is a paid mutator transaction binding the contract method 0xaf33ae69.

Solidity: function setL1BridgeCaller(address _l1BridgeCaller) returns()

func (*HopL2OptimismBridgeTransactorSession) SetL1Governance

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetL1Governance(_l1Governance common.Address) (*types.Transaction, error)

SetL1Governance is a paid mutator transaction binding the contract method 0xe40272d7.

Solidity: function setL1Governance(address _l1Governance) returns()

func (*HopL2OptimismBridgeTransactorSession) SetMaxPendingTransfers

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetMaxPendingTransfers(_maxPendingTransfers *big.Int) (*types.Transaction, error)

SetMaxPendingTransfers is a paid mutator transaction binding the contract method 0x4742bbfb.

Solidity: function setMaxPendingTransfers(uint256 _maxPendingTransfers) returns()

func (*HopL2OptimismBridgeTransactorSession) SetMessenger

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetMessenger(_messenger common.Address) (*types.Transaction, error)

SetMessenger is a paid mutator transaction binding the contract method 0x66285967.

Solidity: function setMessenger(address _messenger) returns()

func (*HopL2OptimismBridgeTransactorSession) SetMinimumBonderFeeRequirements

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetMinimumBonderFeeRequirements(_minBonderBps *big.Int, _minBonderFeeAbsolute *big.Int) (*types.Transaction, error)

SetMinimumBonderFeeRequirements is a paid mutator transaction binding the contract method 0xa9fa4ed5.

Solidity: function setMinimumBonderFeeRequirements(uint256 _minBonderBps, uint256 _minBonderFeeAbsolute) returns()

func (*HopL2OptimismBridgeTransactorSession) SetMinimumForceCommitDelay

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetMinimumForceCommitDelay(_minimumForceCommitDelay *big.Int) (*types.Transaction, error)

SetMinimumForceCommitDelay is a paid mutator transaction binding the contract method 0x9bf43028.

Solidity: function setMinimumForceCommitDelay(uint256 _minimumForceCommitDelay) returns()

func (*HopL2OptimismBridgeTransactorSession) SetTransferRoot

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) SetTransferRoot(rootHash [32]byte, totalAmount *big.Int) (*types.Transaction, error)

SetTransferRoot is a paid mutator transaction binding the contract method 0xfd31c5ba.

Solidity: function setTransferRoot(bytes32 rootHash, uint256 totalAmount) returns()

func (*HopL2OptimismBridgeTransactorSession) SettleBondedWithdrawal

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) 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 (*HopL2OptimismBridgeTransactorSession) SettleBondedWithdrawals

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) 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 (*HopL2OptimismBridgeTransactorSession) Stake

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) 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 (*HopL2OptimismBridgeTransactorSession) Unstake

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) 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 (*HopL2OptimismBridgeTransactorSession) Withdraw

func (_HopL2OptimismBridge *HopL2OptimismBridgeTransactorSession) 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 HopL2OptimismBridgeTransferFromL1Completed

type HopL2OptimismBridgeTransferFromL1Completed struct {
	Recipient    common.Address
	Amount       *big.Int
	AmountOutMin *big.Int
	Deadline     *big.Int
	Relayer      common.Address
	RelayerFee   *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeTransferFromL1Completed represents a TransferFromL1Completed event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeTransferFromL1CompletedIterator

type HopL2OptimismBridgeTransferFromL1CompletedIterator struct {
	Event *HopL2OptimismBridgeTransferFromL1Completed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeTransferFromL1CompletedIterator is returned from FilterTransferFromL1Completed and is used to iterate over the raw logs and unpacked data for TransferFromL1Completed events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeTransferFromL1CompletedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeTransferFromL1CompletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeTransferFromL1CompletedIterator) Next

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 HopL2OptimismBridgeTransferRootSet

type HopL2OptimismBridgeTransferRootSet struct {
	RootHash    [32]byte
	TotalAmount *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeTransferRootSet represents a TransferRootSet event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeTransferRootSetIterator

type HopL2OptimismBridgeTransferRootSetIterator struct {
	Event *HopL2OptimismBridgeTransferRootSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeTransferRootSetIterator is returned from FilterTransferRootSet and is used to iterate over the raw logs and unpacked data for TransferRootSet events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeTransferRootSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeTransferRootSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeTransferRootSetIterator) Next

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 HopL2OptimismBridgeTransferSent

type HopL2OptimismBridgeTransferSent struct {
	TransferId    [32]byte
	ChainId       *big.Int
	Recipient     common.Address
	Amount        *big.Int
	TransferNonce [32]byte
	BonderFee     *big.Int
	Index         *big.Int
	AmountOutMin  *big.Int
	Deadline      *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeTransferSent represents a TransferSent event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeTransferSentIterator

type HopL2OptimismBridgeTransferSentIterator struct {
	Event *HopL2OptimismBridgeTransferSent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeTransferSentIterator is returned from FilterTransferSent and is used to iterate over the raw logs and unpacked data for TransferSent events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeTransferSentIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeTransferSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeTransferSentIterator) Next

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 HopL2OptimismBridgeTransfersCommitted

type HopL2OptimismBridgeTransfersCommitted struct {
	DestinationChainId *big.Int
	RootHash           [32]byte
	TotalAmount        *big.Int
	RootCommittedAt    *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeTransfersCommitted represents a TransfersCommitted event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeTransfersCommittedIterator

type HopL2OptimismBridgeTransfersCommittedIterator struct {
	Event *HopL2OptimismBridgeTransfersCommitted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeTransfersCommittedIterator is returned from FilterTransfersCommitted and is used to iterate over the raw logs and unpacked data for TransfersCommitted events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeTransfersCommittedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeTransfersCommittedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeTransfersCommittedIterator) Next

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 HopL2OptimismBridgeUnstake

type HopL2OptimismBridgeUnstake struct {
	Account common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeUnstake represents a Unstake event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeUnstakeIterator

type HopL2OptimismBridgeUnstakeIterator struct {
	Event *HopL2OptimismBridgeUnstake // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeUnstakeIterator is returned from FilterUnstake and is used to iterate over the raw logs and unpacked data for Unstake events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeUnstakeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeUnstakeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeUnstakeIterator) Next

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 HopL2OptimismBridgeWithdrawalBondSettled

type HopL2OptimismBridgeWithdrawalBondSettled struct {
	Bonder     common.Address
	TransferId [32]byte
	RootHash   [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeWithdrawalBondSettled represents a WithdrawalBondSettled event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeWithdrawalBondSettledIterator

type HopL2OptimismBridgeWithdrawalBondSettledIterator struct {
	Event *HopL2OptimismBridgeWithdrawalBondSettled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeWithdrawalBondSettledIterator is returned from FilterWithdrawalBondSettled and is used to iterate over the raw logs and unpacked data for WithdrawalBondSettled events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeWithdrawalBondSettledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeWithdrawalBondSettledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeWithdrawalBondSettledIterator) Next

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 HopL2OptimismBridgeWithdrawalBonded

type HopL2OptimismBridgeWithdrawalBonded struct {
	TransferId [32]byte
	Amount     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeWithdrawalBonded represents a WithdrawalBonded event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeWithdrawalBondedIterator

type HopL2OptimismBridgeWithdrawalBondedIterator struct {
	Event *HopL2OptimismBridgeWithdrawalBonded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeWithdrawalBondedIterator is returned from FilterWithdrawalBonded and is used to iterate over the raw logs and unpacked data for WithdrawalBonded events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeWithdrawalBondedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeWithdrawalBondedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeWithdrawalBondedIterator) Next

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 HopL2OptimismBridgeWithdrew

type HopL2OptimismBridgeWithdrew struct {
	TransferId    [32]byte
	Recipient     common.Address
	Amount        *big.Int
	TransferNonce [32]byte
	Raw           types.Log // Blockchain specific contextual infos
}

HopL2OptimismBridgeWithdrew represents a Withdrew event raised by the HopL2OptimismBridge contract.

type HopL2OptimismBridgeWithdrewIterator

type HopL2OptimismBridgeWithdrewIterator struct {
	Event *HopL2OptimismBridgeWithdrew // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL2OptimismBridgeWithdrewIterator is returned from FilterWithdrew and is used to iterate over the raw logs and unpacked data for Withdrew events raised by the HopL2OptimismBridge contract.

func (*HopL2OptimismBridgeWithdrewIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL2OptimismBridgeWithdrewIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL2OptimismBridgeWithdrewIterator) Next

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL