Skip to content

Commit

Permalink
Merge pull request #52 from crestalnetwork/fix/enso-route-tool-defini…
Browse files Browse the repository at this point in the history
…tion

fix: enso route tool definition
  • Loading branch information
hyacinthus authored Jan 17, 2025
2 parents dd5694a + 955beba commit b79e206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skills/enso/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class EnsoGetRouteShortcutOutput(BaseModel):

class EnsoGetRouteShortcut(EnsoBaseTool):
"""
This tool finds the optimal execution path across a multitude of DeFi protocols such as liquidity pools,
This tool swaps the optimal execution route path across a multitude of DeFi protocols such as liquidity pools,
lending platforms, automated market makers, yield optimizers, and more. This allows for maximized capital efficiency
and yield optimization, taking into account return rates, gas costs, and slippage.
Expand All @@ -125,7 +125,7 @@ class EnsoGetRouteShortcut(EnsoBaseTool):
"""

name: str = "enso_get_route_shortcut"
description: str = "This tool optimizes DeFi swaps, identifying the most efficient execution path across various protocols (e.g., liquidity pools, lending platforms) by considering factors like return rates, gas costs, and slippage."
description: str = "This tool optimizes and performs DeFi swaps, identifying the most efficient execution path across various protocols (e.g., liquidity pools, lending platforms) by considering factors like return rates, gas costs, and slippage."
args_schema: Type[BaseModel] = EnsoGetRouteShortcutInput

def _run(self, fromAddress: str, amountIn: list[int], tokenIn: list[str], tokenOut: list[str],
Expand Down

0 comments on commit b79e206

Please sign in to comment.