Documentation ¶
Index ¶
- Constants
- func BridgesByChainID(chainID *big.Int, client bind.ContractBackend, addrs *Addresses, ...) (map[string]Bridge, error)
- func FilterERC20DepositInitiatedWithRetry(ctx context.Context, filterer *l1bridge.L1StandardBridgeFilterer, ...) (*l1bridge.L1StandardBridgeERC20DepositInitiatedIterator, error)
- func FilterETHDepositInitiatedWithRetry(ctx context.Context, filterer *l1bridge.L1StandardBridgeFilterer, ...) (*l1bridge.L1StandardBridgeETHDepositInitiatedIterator, error)
- func FilterStateBatchAppendedWithRetry(ctx context.Context, filterer *scc.StateCommitmentChainFilterer, ...) (*scc.StateCommitmentChainStateBatchAppendedIterator, error)
- func StateCommitmentChainScanner(client bind.ContractFilterer, addrs *Addresses) (*scc.StateCommitmentChainFilterer, error)
- type Addresses
- func (a *Addresses) AddressManager() common.Address
- func (a *Addresses) BondManager() common.Address
- func (a *Addresses) CanonicalTransactionChain() common.Address
- func (a *Addresses) L1CrossDomainMessenger() common.Address
- func (a *Addresses) L1StandardBridge() common.Address
- func (a *Addresses) StateCommitmentChain() common.Address
- type Bridge
- type DepositsMap
- type EthBridge
- type StandardBridge
Constants ¶
View Source
const (
DefaultConnectionTimeout = 60 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
func BridgesByChainID ¶
func FilterERC20DepositInitiatedWithRetry ¶
func FilterERC20DepositInitiatedWithRetry(ctx context.Context, filterer *l1bridge.L1StandardBridgeFilterer, opts *bind.FilterOpts) (*l1bridge.L1StandardBridgeERC20DepositInitiatedIterator, error)
FilterERC20DepositInitiatedWithRetry retries the given func until it succeeds, waiting for clientRetryInterval duration after every call.
func FilterETHDepositInitiatedWithRetry ¶
func FilterETHDepositInitiatedWithRetry(ctx context.Context, filterer *l1bridge.L1StandardBridgeFilterer, opts *bind.FilterOpts) (*l1bridge.L1StandardBridgeETHDepositInitiatedIterator, error)
FilterETHDepositInitiatedWithRetry retries the given func until it succeeds, waiting for clientRetryInterval duration after every call.
func FilterStateBatchAppendedWithRetry ¶
func FilterStateBatchAppendedWithRetry(ctx context.Context, filterer *scc.StateCommitmentChainFilterer, opts *bind.FilterOpts) (*scc.StateCommitmentChainStateBatchAppendedIterator, error)
FilterStateBatchAppendedWithRetry retries the given func until it succeeds, waiting for clientRetryInterval duration after every call.
func StateCommitmentChainScanner ¶
func StateCommitmentChainScanner(client bind.ContractFilterer, addrs *Addresses) (*scc.StateCommitmentChainFilterer, error)
Types ¶
type Addresses ¶
type Addresses struct {
// contains filtered or unexported fields
}
func NewAddresses ¶
func (*Addresses) AddressManager ¶
func (*Addresses) BondManager ¶
func (*Addresses) CanonicalTransactionChain ¶
func (*Addresses) L1CrossDomainMessenger ¶
func (*Addresses) L1StandardBridge ¶
func (*Addresses) StateCommitmentChain ¶
type EthBridge ¶
type EthBridge struct {
// contains filtered or unexported fields
}
func (*EthBridge) GetDepositsByBlockRange ¶
func (e *EthBridge) GetDepositsByBlockRange(start, end uint64) (DepositsMap, error)
type StandardBridge ¶
type StandardBridge struct {
// contains filtered or unexported fields
}
func (*StandardBridge) Address ¶
func (s *StandardBridge) Address() common.Address
func (*StandardBridge) GetDepositsByBlockRange ¶
func (s *StandardBridge) GetDepositsByBlockRange(start, end uint64) (DepositsMap, error)
func (*StandardBridge) String ¶
func (s *StandardBridge) String() string
Click to show internal directories.
Click to hide internal directories.