services/explorer/consumer/fetcher/swapfetcher.go
Method swapFetcher.GetTokenMetaData
has 8 return statements (exceeds 4 allowed). Open
Open
func (s *swapFetcher) GetTokenMetaData(ctx context.Context, tokenAddress common.Address) (*string, *uint8, error) {
if s.metaSwap != nil {
erc20caller, err := metaswap.NewERC20(tokenAddress, s.backend)
if err != nil {
logger.Errorf("could not bind erc20 contract: %s", err)