"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CoinMarketCapThumbnailResolver = void 0;
class CoinMarketCapThumbnailResolver {
    client;
    constructor(client) {
        this.client = client;
    }
    async resolve(type, metadata) {
        if (type === 'network') {
            return this.client.getNetworkLogoUrl(metadata.name, metadata.symbol);
        }
        return this.client.getTokenLogoUrl(metadata.name, metadata.symbol);
    }
}
exports.CoinMarketCapThumbnailResolver = CoinMarketCapThumbnailResolver;
//# sourceMappingURL=coinmarketcap-thumbnail-resolver.js.map