Documentation ¶ Index ¶ func HeaderByNumberWithRetry(ctx context.Context, client *ethclient.Client) (*types.Header, error) func NewERC20(address common.Address, client *ethclient.Client) (*db.Token, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HeaderByNumberWithRetry ¶ func HeaderByNumberWithRetry(ctx context.Context, client *ethclient.Client) (*types.Header, error) HeaderByNumberWithRetry retries getting headers. func NewERC20 ¶ func NewERC20(address common.Address, client *ethclient.Client) (*db.Token, error) Types ¶ This section is empty. Source Files ¶ View all Source files erc20.go headers.go Click to show internal directories. Click to hide internal directories.