@agentek/tools
Version:
Blockchain tools for AI agents
120 lines • 8.35 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.zrouterTools = exports.zammTools = exports.coinchanTools = exports.createImageGenTools = exports.erc6909Tools = exports.btcRpcTools = exports.thinkTools = exports.acrossTools = exports.defillamaTools = exports.gasEstimatorTools = exports.cryptoPriceTools = exports.nftTools = exports.slowTransferTools = exports.createCoinMarketCalTools = exports.fearGreedIndexTools = exports.coindeskTools = exports.webTools = exports.securityTools = exports.aaveTools = exports.tallyTools = exports.blockscoutTools = exports.swapTools = exports.searchTools = exports.erc20Tools = exports.naniTools = exports.wethTools = exports.uniV3Tools = exports.rpcTools = exports.dexscreenerTools = exports.ensTools = exports.transferTools = exports.allTools = void 0;
const index_js_1 = require("./transfer/index.js");
Object.defineProperty(exports, "transferTools", { enumerable: true, get: function () { return index_js_1.transferTools; } });
const index_js_2 = require("./ens/index.js");
Object.defineProperty(exports, "ensTools", { enumerable: true, get: function () { return index_js_2.ensTools; } });
const index_js_3 = require("./dexscreener/index.js");
Object.defineProperty(exports, "dexscreenerTools", { enumerable: true, get: function () { return index_js_3.dexscreenerTools; } });
const index_js_4 = require("./rpc/index.js");
Object.defineProperty(exports, "rpcTools", { enumerable: true, get: function () { return index_js_4.rpcTools; } });
const index_js_5 = require("./uniV3/index.js");
Object.defineProperty(exports, "uniV3Tools", { enumerable: true, get: function () { return index_js_5.uniV3Tools; } });
const index_js_6 = require("./weth/index.js");
Object.defineProperty(exports, "wethTools", { enumerable: true, get: function () { return index_js_6.wethTools; } });
const index_js_7 = require("./nani/index.js");
Object.defineProperty(exports, "naniTools", { enumerable: true, get: function () { return index_js_7.naniTools; } });
const index_js_8 = require("./erc20/index.js");
Object.defineProperty(exports, "erc20Tools", { enumerable: true, get: function () { return index_js_8.erc20Tools; } });
const index_js_9 = require("./search/index.js");
Object.defineProperty(exports, "searchTools", { enumerable: true, get: function () { return index_js_9.searchTools; } });
const index_js_10 = require("./swap/index.js");
Object.defineProperty(exports, "swapTools", { enumerable: true, get: function () { return index_js_10.swapTools; } });
const index_js_11 = require("./blockscout/index.js");
Object.defineProperty(exports, "blockscoutTools", { enumerable: true, get: function () { return index_js_11.blockscoutTools; } });
const index_js_12 = require("./tally/index.js");
Object.defineProperty(exports, "tallyTools", { enumerable: true, get: function () { return index_js_12.tallyTools; } });
const index_js_13 = require("./aave/index.js");
Object.defineProperty(exports, "aaveTools", { enumerable: true, get: function () { return index_js_13.aaveTools; } });
const index_js_14 = require("./security/index.js");
Object.defineProperty(exports, "securityTools", { enumerable: true, get: function () { return index_js_14.securityTools; } });
const index_js_15 = require("./web/index.js");
Object.defineProperty(exports, "webTools", { enumerable: true, get: function () { return index_js_15.webTools; } });
const index_js_16 = require("./coindesk/index.js");
Object.defineProperty(exports, "coindeskTools", { enumerable: true, get: function () { return index_js_16.coindeskTools; } });
const index_js_17 = require("./feargreed/index.js");
Object.defineProperty(exports, "fearGreedIndexTools", { enumerable: true, get: function () { return index_js_17.fearGreedIndexTools; } });
const index_js_18 = require("./coinmarketcal/index.js");
Object.defineProperty(exports, "createCoinMarketCalTools", { enumerable: true, get: function () { return index_js_18.createCoinMarketCalTools; } });
const index_js_19 = require("./slowTransfer/index.js");
Object.defineProperty(exports, "slowTransferTools", { enumerable: true, get: function () { return index_js_19.slowTransferTools; } });
const index_js_20 = require("./erc721/index.js");
Object.defineProperty(exports, "nftTools", { enumerable: true, get: function () { return index_js_20.nftTools; } });
const index_js_21 = require("./cryptoprices/index.js");
Object.defineProperty(exports, "cryptoPriceTools", { enumerable: true, get: function () { return index_js_21.cryptoPriceTools; } });
const index_js_22 = require("./gasestimator/index.js");
Object.defineProperty(exports, "gasEstimatorTools", { enumerable: true, get: function () { return index_js_22.gasEstimatorTools; } });
const index_js_23 = require("./defillama/index.js");
Object.defineProperty(exports, "defillamaTools", { enumerable: true, get: function () { return index_js_23.defillamaTools; } });
const index_js_24 = require("./across/index.js");
Object.defineProperty(exports, "acrossTools", { enumerable: true, get: function () { return index_js_24.acrossTools; } });
const index_js_25 = require("./think/index.js");
Object.defineProperty(exports, "thinkTools", { enumerable: true, get: function () { return index_js_25.thinkTools; } });
const index_js_26 = require("./btc-rpc/index.js");
Object.defineProperty(exports, "btcRpcTools", { enumerable: true, get: function () { return index_js_26.btcRpcTools; } });
const index_js_27 = require("./erc6909/index.js");
Object.defineProperty(exports, "erc6909Tools", { enumerable: true, get: function () { return index_js_27.erc6909Tools; } });
const index_js_28 = require("./imagegen/index.js");
Object.defineProperty(exports, "createImageGenTools", { enumerable: true, get: function () { return index_js_28.createImageGenTools; } });
const index_js_29 = require("./coinchan/index.js");
Object.defineProperty(exports, "coinchanTools", { enumerable: true, get: function () { return index_js_29.coinchanTools; } });
const index_js_30 = require("./zamm/index.js");
Object.defineProperty(exports, "zammTools", { enumerable: true, get: function () { return index_js_30.zammTools; } });
const index_js_31 = require("./zrouter/index.js");
Object.defineProperty(exports, "zrouterTools", { enumerable: true, get: function () { return index_js_31.zrouterTools; } });
const allTools = ({ perplexityApiKey, zeroxApiKey, tallyApiKey, coindeskApiKey, coinMarketCalApiKey, fireworksApiKey, pinataJWT, }) => {
let tools = [
...(0, index_js_2.ensTools)(),
...(0, index_js_8.erc20Tools)(),
...(0, index_js_24.acrossTools)(),
...(0, index_js_1.transferTools)(),
...(0, index_js_3.dexscreenerTools)(),
...(0, index_js_4.rpcTools)(),
...(0, index_js_5.uniV3Tools)(),
...(0, index_js_6.wethTools)(),
...(0, index_js_7.naniTools)(),
...(0, index_js_11.blockscoutTools)(),
...(0, index_js_13.aaveTools)(),
...(0, index_js_14.securityTools)(),
...(0, index_js_15.webTools)(),
...(0, index_js_17.fearGreedIndexTools)(),
...(0, index_js_19.slowTransferTools)(),
...(0, index_js_20.nftTools)(),
...(0, index_js_21.cryptoPriceTools)(),
...(0, index_js_22.gasEstimatorTools)(),
...(0, index_js_23.defillamaTools)(),
...(0, index_js_25.thinkTools)(),
...(0, index_js_26.btcRpcTools)(),
...(0, index_js_27.erc6909Tools)(),
...(0, index_js_29.coinchanTools)(),
...(0, index_js_30.zammTools)(),
...(0, index_js_31.zrouterTools)()
];
if (perplexityApiKey) {
tools.push(...(0, index_js_9.searchTools)({ perplexityApiKey }));
}
if (zeroxApiKey) {
tools.push(...(0, index_js_10.swapTools)({ zeroxApiKey }));
}
if (tallyApiKey) {
tools.push(...(0, index_js_12.tallyTools)({
tallyApiKey,
}));
}
if (coindeskApiKey) {
tools.push(...(0, index_js_16.coindeskTools)({ coindeskApiKey }));
}
if (coinMarketCalApiKey) {
tools.push(...(0, index_js_18.createCoinMarketCalTools)({ coinMarketCalApiKey }));
}
if (fireworksApiKey && pinataJWT) {
tools.push(...(0, index_js_28.createImageGenTools)({
fireworksApiKey,
pinataJWT,
}));
}
return tools;
};
exports.allTools = allTools;
//# sourceMappingURL=index.js.map