Versions in this module Expand all Collapse all v1 v1.0.19 Dec 16, 2022 Changes in this version + type ChainClient interface + FetchEventLogs func(ctx context.Context, contractAddress common.Address, event string, ...) ([]ethTypes.Log, error) + type Deposit struct + Data []byte + DepositNonce uint64 + DestinationDomainID uint8 + HandlerResponse []byte + ResourceID types.ResourceID + SenderAddress common.Address + type EventSig string + const DepositSig + const ProposalEventSig + const ProposalVoteSig + const RegisterTokenSig + const ThresholdChangedSig + func (es EventSig) GetTopic() common.Hash + type Listener struct + func NewListener(client ChainClient) *Listener + func (l *Listener) FetchDeposits(ctx context.Context, contractAddress common.Address, startBlock *big.Int, ...) ([]*Deposit, error) + func (l *Listener) UnpackDeposit(abi abi.ABI, data []byte) (*Deposit, error) + type RegisterToken struct + DepositNounce uint64 + DestBridgeContract common.Address + DestHandler common.Address + DestToken common.Address + DestinationDomainId uint8 + DomainId uint8 + SourceBridgeContract common.Address + SourceHandler common.Address + SourceToken common.Address