Diana Carvalho e9bb8c576a feat(curve): Add CurveEncoder
We don't know the pool tokens in the ProtocolComponent, so we can't infer the indexes correctly. Added a call to the MetaRegistry curve contract to get the correct token indexes. To do this, I had to move the get_client to utils. We could actually refactor the transaction logic into its' own struct and use it here and in the approval logic
It was assumed that all the pools will have a "factory" static attribute, even if empty

--- don't change below this line ---
ENG-4306 Took 2 hours 28 minutes


Took 27 seconds
2025-04-08 09:30:29 +01:00
2025-04-04 09:11:43 +01:00
2025-01-27 22:54:56 +05:30
2025-04-08 09:30:29 +01:00
2025-03-08 20:24:04 -06:00
2025-04-08 09:30:29 +01:00
2025-04-08 09:30:29 +01:00
2025-01-28 23:21:22 +05:30
2025-03-20 09:58:40 +01:00
2025-04-07 16:04:21 +00:00
2025-04-07 16:04:21 +00:00
2025-04-07 16:04:21 +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%