19 Commits

Author SHA1 Message Date
Diana Carvalho
c4b9a1d769 docs: Mention audits in the README
--- don't change below this line ---
ENG-4476 Took 6 minutes
2025-05-02 12:55:04 +01:00
Diana Carvalho
1746fd0e1d chore: Add "Report a vulnerability" to README
--- don't change below this line ---
ENG-4453 Took 8 minutes
2025-04-29 10:34:35 +01:00
Diana Carvalho
36d2f23fba docs: Clean up readme and rename quickstart->encoding example
--- don't change below this line ---
ENG-4261 Took 17 minutes
2025-02-28 09:57:06 +00:00
Diana Carvalho
20e6419a20 feat: Adapt SplitSwapStrategyEncoder to have optional permit2 logic
- If the signer_pk is not passed -> use the swap method that expects the tokens to be already in the Router
- If it is passed -> compute permit2 and use swap method that does the token in transfer
- Extend builder to have another shortcut
- Add integration test with contract
- Update bin (and simplified it) and quickstart

--- don't change below this line ---
ENG-4255 Took 1 hour 51 minutes

Took 2 minutes

Took 7 seconds
2025-02-20 18:29:11 +00:00
Diana Carvalho
d9d56e7a8c chore: Rename signer_pk to swapper_pk
--- don't change below this line ---
ENG-4246 Took 15 minutes
2025-02-19 17:03:25 +00:00
Diana Carvalho
03506fabe9 feat: Create a EVMEncoderBuilder
- It has two three methods to be created:
  - new: where the user can pass any custom StrategyEncoder
  - tycho_router: where the default SplitSwapStrategyEncoder with Tycho Router will be used
  - direct_execution: where the user can encode only the execution data and integrate this into their workflow.
- This replaces StrategyEncoderRegistry
- EVMTychoEncoder holds directly the StrategyEncoder and not the registry (per one init of the EVMTychoEncoder there is only one possible StrategyEncoder)
- Update quickstart
- Update bin (add subcommands to bin to create a different instance of EVMEncoderBuilder)

--- don't change below this line ---
ENG-4246 Took 33 minutes

Took 38 seconds

Took 38 seconds
2025-02-19 17:03:10 +00:00
TAMARA LIPOWSKI
1c565deb57 refactor: (Solution) replace check_amount with checked_amount
- This is to have consistency with checked_token
2025-02-11 11:25:58 -05:00
Diana Carvalho
c8a200dc55 docs: Add mention to the quickstart in the main README.md
--- don't change below this line ---
ENG-4088 Took 5 minutes
2025-02-07 16:16:55 +00:00
Diana Carvalho
a234ff701f feat: Remove router_address from TychoEncoder
Make the router address mandatory for the Solution attribute instead

--- don't change below this line ---
ENG-4088 Took 30 minutes
2025-02-07 14:58:09 +00:00
Harsh Vardhan Roy
0e3ce00698 Merge branch 'main' into encoder/hr/ENG-4093-bin 2025-02-06 22:41:23 +05:30
royvardhan
32c3bd2220 feat: update cli params and docs 2025-02-06 20:55:27 +05:30
royvardhan
a5166f282d feat: use clap for cli and resolve pr comments 2025-02-06 18:30:52 +05:30
royvardhan
b93856073c feat: add serde primitive, update command 2025-02-06 00:16:35 +05:30
royvardhan
07288163d2 chore: merge run.md to readme.md 2025-02-05 20:34:56 +05:30
TAMARA LIPOWSKI
52cce5f5c6 docs: (WIP) In-code docs for encoders
- TODO double check all this, look for missing docs
2025-02-04 18:14:32 -05:00
Diana Carvalho
5627a1902b feat: UniswapV2 SwapExecutor
--- don't change below this line ---
ENG-4033 Took 52 minutes

Took 3 minutes

Took 5 minutes

Took 36 seconds

Took 2 minutes


Took 30 seconds
2025-01-24 17:03:00 +00:00
TAMARA LIPOWSKI
2998bb3fb1 feat: Add Slither to README.md and include contract file to test 2025-01-17 16:39:21 -05:00
Diana Carvalho
c27b253ef5 feat: Add Cargo files, CI, configs and README 2025-01-16 12:53:28 +00:00
dianacarvalho1
a2784be122 Initial commit 2025-01-13 11:28:27 +00:00