tools/abigen/internal/etherscan/client.go
package etherscan
import (
"context"
)
// NewEtherscanAbiGenClientFromChain creates a new ether scan client for a given chain.
// it applies a rate limiter at a file level that is only released when the process is complete.
func NewEtherscanAbiGenClientFromChain(ctx context.Context, chainID uint32, url string) (*Client, error) {
return newEtherscanABIClient(ctx, chainID, url, false)
}