synapsecns/sanguine

View on GitHub
tools/abigen/internal/etherscan/client.go

Summary

Maintainability
A
0 mins
Test Coverage
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)
}