UNPKG

@iqai/mcp-fraxlend

Version:
6 lines (5 loc) 3.82 kB
export declare const DEPOSIT_TEMPLATE = "Respond with a JSON object containing deposit information for FraxLend.\nExtract the deposit details from the most recent message. If required information is missing, respond with an error.\n\nThe response must include:\n- pairAddress: The FraxLend pool address\n- amount: The deposit amount in base units\n\nExample response:\n```json\n{\n \"pairAddress\": \"0x1234567890123456789012345678901234567890\",\n \"amount\": \"1000000000000000000\"\n}\n```\n{{recentMessages}}\nExtract the deposit information from the most recent message.\nRespond with a JSON markdown block containing both pairAddress and amount."; export declare const LEND_TEMPLATE = "Respond with a JSON object containing lending information for FraxLend.\nExtract the lending details from the most recent message. If required information is missing, respond with an error.\nThe response must include:\n- pairAddress: The FraxLend pool address\n- amount: The lending amount in base units\n\nExample response:\n```json\n{\n \"pairAddress\": \"0x1234567890123456789012345678901234567890\",\n \"amount\": \"1000000000000000000\"\n}\n```\n{{recentMessages}}\nExtract the lending information from the most recent message.\nRespond with a JSON markdown block containing both pairAddress and amount."; export declare const WITHDRAW_TEMPLATE = "Respond with a JSON object containing withdrawal information for FraxLend.\nExtract the withdrawal details from the most recent message. If required information is missing, respond with an error.\n\nThe response must include:\n- pairAddress: The FraxLend pool address\n- amount: The number of shares to withdraw\n\nExample response:\n```json\n{\n \"pairAddress\": \"0x1234567890123456789012345678901234567890\",\n \"amount\": \"1000000000000000000\"\n}\n```\n{{recentMessages}}\nExtract the withdrawal information from the most recent message.\nRespond with a JSON markdown block containing both pairAddress and shares."; export declare const BORROW_TEMPLATE = "Respond with a JSON object containing borrowing information for FraxLend.\nExtract the borrowing details from the most recent message. If required information is missing, respond with an error.\n\nThe response must include:\n- pairAddress: The FraxLend pool address\n- borrowAmount: The amount to borrow in base units\n- collateralAmount: The amount of collateral in base units\n- receiver: The address that will receive the borrowed assets\n\nExample response:\n```json\n{\n \"pairAddress\": \"0x1234567890123456789012345678901234567890\",\n \"borrowAmount\": \"1000000000000000000\",\n \"collateralAmount\": \"2000000000000000000\",\n \"receiver\": \"0x1234567890123456789012345678901234567890\"\n}\n```\n{{recentMessages}}\nExtract the borrowing information from the most recent message.\nRespond with a JSON markdown block containing pairAddress, borrowAmount, collateralAmount and receiver."; export declare const GET_PAIR_ADDRESS_TEMPLATE = "Respond with a JSON object containing pair information for FraxLend.\nExtract the pair details from the most recent message. If no symbols are provided, respond with an error.\n\nThe response must include at least one of:\n- assetSymbol: The asset token symbol (e.g. FRAX)\n- collateralSymbol: The collateral token symbol (e.g. ETH)\n- sortByApr: \"highest\" or \"lowest\" for APR sorting (optional)\n\nExample responses:\n```json\n{\n \"assetSymbol\": \"FRAX\",\n \"sortByApr\": \"highest\"\n}\n```\n\n```json\n{\n \"collateralSymbol\": \"ETH\",\n \"sortByApr\": \"lowest\"\n}\n```\n\n```json\n{\n \"assetSymbol\": \"FRAX\",\n \"collateralSymbol\": \"ETH\"\n}\n```\n{{recentMessages}}\nExtract the pair information from the most recent message.\nRespond with a JSON markdown block containing the available fields.";