TAMARA LIPOWSKI a301a1cef3 feat: (WIP) Support selection of transfer into router
- For protocols like Balancer and Curve, which expect funds to be in the router at the time of swap, we must support also transferring funds from the user into the router. Doing this in the router would mean we are dealing with transfers in two different places: in the router main methods and in the executors. To avoid this, we are now performing transfers just in the executors, and two transfer types have been added to support transfers into the router.

TODO:
- Add this for Balancer and Curve (only added for USV4 atm).
- TODO consider renaming TRANSFER_FROM and TRANSFER_PERMIT2 to include "pool" in the name
2025-04-23 12:31:41 +01:00
2025-04-23 12:29:36 +01:00
2025-01-27 22:54:56 +05:30
2025-03-08 20:24:04 -06:00
2025-01-28 23:21:22 +05:30
2025-03-20 09:58:40 +01:00
2025-04-09 08:39:42 +00:00
2025-04-09 08:39:42 +00:00
2025-04-09 08:39:42 +00:00

Tycho Execution

img.png

Tycho Execution makes it easy to trade on different DEXs by handling the complex encoding for you. Instead of creating custom code for each DEX, you get a simple, ready-to-use tool that generates the necessary data to execute trades. It's designed to be safe, straightforward, and quick to set up, so anyone can start trading without extra effort.

For complete documentation, see Tycho docs here.

Examples

To get started on encoding, have a look at our Encoding example. For a complete example please refer to the Tycho Quickstart guide.

Description
No description provided
Readme 6 MiB
Languages
Rust 90.1%
JavaScript 5.9%
Python 3.6%
Solidity 0.4%