UNPKG

@agentek/tools

Version:

Blockchain tools for AI agents

27 lines 981 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RISK_THRESHOLDS = exports.PROTOCOL_API_ENDPOINTS = exports.SUPPORTED_YIELD_PROTOCOLS = exports.SUPPORTED_CHAINS = void 0; const chains_1 = require("viem/chains"); exports.SUPPORTED_CHAINS = [chains_1.mainnet, chains_1.optimism, chains_1.arbitrum, chains_1.base, chains_1.polygon]; exports.SUPPORTED_YIELD_PROTOCOLS = [ 'Aave', 'Compound', 'Morpho', 'SparkLend', 'Lido', 'RocketPool', 'DefiLlama', ]; // API endpoints exports.PROTOCOL_API_ENDPOINTS = { DefiLlama: 'https://yields.llama.fi/pools', DefiLlamaChart: 'https://yields.llama.fi/chart', DefiLlamaCoinsChart: 'https://coins.llama.fi/chart' }; // Risk assessment configuration thresholds exports.RISK_THRESHOLDS = { low: 4, // 0-4% APY considered low risk medium: 10, // 4-10% APY considered medium risk high: 100, // >10% APY considered high risk }; //# sourceMappingURL=constants.js.map