"use strict";
// SPDX-License-Identifier: Apache-2.0
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const LogService_1 = __importDefault(require("../../app/service/log/LogService"));
class TransactionAdapter {
    logTransaction(id, network) {
        const HASHSCAN_URL = `https://hashscan.io/${network}/transactionsById/`;
        const HASHSCAN_TX_URL = `https://hashscan.io/${network}/tx/`;
        const msg = `\nYou can see your transaction at ${id.startsWith("0x") ? HASHSCAN_TX_URL : HASHSCAN_URL}${id}\n`;
        LogService_1.default.logInfo(msg);
        console.log(msg);
    }
}
exports.default = TransactionAdapter;
