"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getParamType = void 0;
var tslib_1 = require("tslib");
var typechain = tslib_1.__importStar(require("@across-protocol/contracts/dist/typechain"));
function getParamType(contractName, functionName, paramName) {
    var artifact = typechain["".concat([contractName], "__factory")];
    var fragment = artifact.abi.find(function (fragment) { return fragment.name === functionName; });
    return (fragment === null || fragment === void 0 ? void 0 : fragment.inputs.find(function (input) { return input.name === paramName; })) || "";
}
exports.getParamType = getParamType;
//# sourceMappingURL=ContractUtils.js.map