"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Links = void 0;
class Links {
    generateBridgeLink(fromAmount, fromChain, fromToken, toChain, toToken) {
        if (fromChain == toChain) {
            return "[Error] fromChain and toChain must be different for bridge";
        }
        return Links.bridge_base + "?fromAmount=" + fromAmount + "&fromChain=" + fromChain + "&fromToken=" + fromToken + "&toChain=" + toChain + "&toToken=" + toToken;
    }
    generateSwapLink(fromAmount, fromChain, fromToken, toChain, toToken) {
        if (fromChain != toChain) {
            return "[Error] fromChain and toChain must be the same for swap";
        }
        return Links.swap_base + "?fromAmount=" + fromAmount + "&fromChain=" + fromChain + "&fromToken=" + fromToken + "&toChain=" + toChain + "&toToken=" + toToken;
    }
}
exports.Links = Links;
Links.bridge_base = "https://test.dzap.io/trade";
Links.swap_base = "https://test.dzap.io/trade";
