Commit Graph

989 Commits

Author SHA1 Message Date
TAMARA LIPOWSKI
d05e1183d4 feat: Unichain deployment 2025-04-02 15:49:08 +02:00
semantic-release-bot
69f4e748b5 chore(release): 0.73.0 [skip ci]
## [0.73.0](https://github.com/propeller-heads/tycho-execution/compare/0.72.0...0.73.0) (2025-04-02)

### Features

* Add router_address to cli ([1f6f1a4](1f6f1a4236))
2025-04-02 10:08:01 +00:00
Tamara
b3ea015e9f Merge pull request #149 from propeller-heads/encoding/tnl/configurable-router-address
feat: Add router_address to cli
2025-04-02 12:05:50 +02:00
TAMARA LIPOWSKI
1f6f1a4236 feat: Add router_address to cli 2025-04-02 12:02:56 +02:00
semantic-release-bot
4bcba64347 chore(release): 0.72.0 [skip ci]
## [0.72.0](https://github.com/propeller-heads/tycho-execution/compare/0.71.0...0.72.0) (2025-04-02)

### Features

* Make EncodingContext.router_address optional ([8865e22](8865e22116))
* Remove router_address from Solution, set default ([d5c589d](d5c589d2c0))
* Support manual router address setting in builder ([c336a28](c336a28905))

### Bug Fixes

* fix Solution.router_address for Ekubo ([b397ddd](b397ddd2be))
2025-04-02 09:33:01 +00:00
Tamara
aeaab073b8 Merge pull request #147 from propeller-heads/encoding/tnl/default-router-address
feat: Remove router_address from Solution, set default
2025-04-02 11:30:22 +02:00
TAMARA LIPOWSKI
c336a28905 feat: Support manual router address setting in builder 2025-04-02 11:24:31 +02:00
TAMARA LIPOWSKI
99adaa9796 chore: Update latest router address in router_addresses.json 2025-04-02 11:24:23 +02:00
TAMARA LIPOWSKI
b397ddd2be fix: fix Solution.router_address for Ekubo 2025-04-02 11:24:12 +02:00
TAMARA LIPOWSKI
8865e22116 feat: Make EncodingContext.router_address optional 2025-04-02 11:24:04 +02:00
TAMARA LIPOWSKI
d5c589d2c0 feat: Remove router_address from Solution, set default
- The router address can be set when creating the SplitSwapStrategy, which now takes an Option<Bytes> as input during initialization (another breaking interface change)
- This change allows us to change our router address in the future with minimal effect on the users. Users should only pass the router address in the split swap initialization if they intend to use their own router for execution.
- This change also means that the router address does not need to be passed with the solution, even when using the executor strategy (which was pointless).
- I thought of having a router_address() method to set this in the encoder builder - but it seemed too messy, since we don't need the router address for execution for example. We would then potentially unnecessarily load and set the default router address when not needed. It is also not even used at the highest level EVMTychoEncoder, so it makes more sense for it to be directly associated with the swap strategy instead.
- Users will now not be able to encode for different routers without re-initializing the strategy. We assumed this use case to be very rare and not worth supporting.
2025-04-02 11:18:30 +02:00
semantic-release-bot
3835842e88 chore(release): 0.71.0 [skip ci]
## [0.71.0](https://github.com/propeller-heads/tycho-execution/compare/0.70.0...0.71.0) (2025-04-01)

### Features

* Update ekubo router address ([e3d25fc](e3d25fcd5e))

### Bug Fixes

* update ekubo_v2 executor ([57aa1c3](57aa1c3402))
2025-04-01 22:55:10 +00:00
Tamara
8a0dd96743 Merge pull request #145 from propeller-heads/router/tnl/ekubo-executor
fix: update ekubo_v2 executor
2025-04-02 00:53:25 +02:00
TAMARA LIPOWSKI
e3d25fcd5e feat: Update ekubo router address
- Both during encoding and hardcoded in the TychoRouter.
2025-04-02 00:10:21 +02:00
TAMARA LIPOWSKI
57aa1c3402 fix: update ekubo_v2 executor
This was recently redeployed with a fix.
2025-04-01 21:58:29 +02:00
Tamara
06dd5d64c3 Merge pull request #144 from die-herdplatte/ekubo-partial-swaps
breaking: Remove Ekubo executor support for partial swaps
2025-04-01 18:12:08 +02:00
die-herdplatte
9256bf8742 Remove Ekubo executor support for partial swaps
Partial swaps would likely run out-of-gas anyway and removing the support saves a bit more gas
2025-04-01 14:00:48 +07:00
semantic-release-bot
62b882496d chore(release): 0.70.0 [skip ci]
## [0.70.0](https://github.com/propeller-heads/tycho-execution/compare/0.69.0...0.70.0) (2025-03-31)

### Features

* Support Ekubo callback in TychoRouter ([b3078f9](b3078f9c7b))

### Bug Fixes

* ekubo -> ekubo_v2 ([18fa0cc](18fa0cc7ad))
* ekubo -> ekubo_v2 ([6c35f11](6c35f114e3))
* Finalize ekubo executor address ([c0068d4](c0068d456b))
* support payCallback method for Ekubo ([7551612](75516122e1))
* Take address for EkuboExecutor init ([c678f40](c678f40057))
* test setup fix after rebase ([28f9f24](28f9f244e6))
2025-03-31 19:09:05 +00:00
Tamara
d7dfe63ea4 Merge pull request #138 from propeller-heads/tnl/ekubo-test
feat: Support Ekubo callback in TychoRouter
2025-03-31 21:07:02 +02:00
Tamara
bb5f99c83a Merge branch 'main' into tnl/ekubo-test 2025-03-31 21:03:56 +02:00
TAMARA LIPOWSKI
75516122e1 fix: support payCallback method for Ekubo
- depending on the pool, either lock or payCallback may be called.
2025-03-31 21:01:36 +02:00
Zizou
8ba3f7b8c3 Merge pull request #142 from propeller-heads/zz/update-tycho-common
feat: update `tycho-common` version
2025-03-31 18:57:57 +02:00
zizou
9b2710554e chore: update tycho-common version 2025-03-31 18:53:15 +02:00
TAMARA LIPOWSKI
18fa0cc7ad fix: ekubo -> ekubo_v2
This is how it's called in tycho indexer/simulation.
2025-03-31 18:45:36 +02:00
TAMARA LIPOWSKI
6c35f114e3 fix: ekubo -> ekubo_v2
This is how it's called in tycho indexer/simulation.
2025-03-31 18:38:44 +02:00
Tamara
a3f79371ec Merge branch 'main' into tnl/ekubo-test 2025-03-31 18:23:09 +02:00
TAMARA LIPOWSKI
28f9f244e6 fix: test setup fix after rebase 2025-03-31 17:54:35 +02:00
semantic-release-bot
3638ab9a43 chore(release): 0.69.0 [skip ci]
## [0.69.0](https://github.com/propeller-heads/tycho-execution/compare/0.68.2...0.69.0) (2025-03-31)

### Features

* Add PancakeSwapV3 support to encoding ([fa024a4](fa024a4a67))
* Pancakeswap V3 support ([d582543](d582543057))
2025-03-31 15:50:06 +00:00
TAMARA LIPOWSKI
c0068d456b fix: Finalize ekubo executor address 2025-03-31 17:49:47 +02:00
TAMARA LIPOWSKI
c678f40057 fix: Take address for EkuboExecutor init
- To match the other executor inits and to not leak information about ICore into the deployment script.
- Also fix fork block of tests. This had been temporarily changed to test the Ekubo executor. For some reason, vm.rollFork is not working in this case. Skip the Ekubo integration test for now (we know it runs with the correct block, where the pool we call is actually already deployed)
2025-03-31 17:49:47 +02:00
TAMARA LIPOWSKI
b3078f9c7b feat: Support Ekubo callback in TychoRouter
- add integration test
- cannot directly call _handleCallback from the locked method of the tycho router because of bytes memory to bytes callback conversion
- Rename to EkuboPoolKey because of conflict with USV4 pool key

- Bonus: fix bug where input token to swap method must be ERC20 (we should also support ETH)
2025-03-31 17:49:45 +02:00
Tamara
393f1f9472 Merge pull request #127 from propeller-heads/router/tnl/ENG-4409-pancake-v3-callback
feat: Pancakeswap V3 support
2025-03-31 17:48:09 +02:00
Tamara
414a9609ec Merge branch 'main' into router/tnl/ENG-4409-pancake-v3-callback 2025-03-31 17:44:27 +02:00
Tamara
e42d3f1854 Merge pull request #126 from die-herdplatte/ekubo
feat: Ekubo Integration
2025-03-31 11:54:05 +02:00
Tamara
b3a1adc6ea Merge branch 'main' into ekubo 2025-03-31 11:49:18 +02:00
Khramtsov Valentin
b82670ff0a Merge pull request #141 from propeller-heads/chore/fix-for-lint-job
chore: set checkout action for lint similar to compile and test
2025-03-31 12:30:11 +03:00
Valentin Khramtsov
a5a691d4aa chore: set checkout action for lint similar to compile and test 2025-03-31 12:19:41 +03:00
die-herdplatte
68a9198e9c forge fmt 2025-03-29 10:32:22 +01:00
die-herdplatte
485e5fd13e Merge remote-tracking branch 'upstream/main' into ekubo 2025-03-29 10:31:33 +01:00
die-herdplatte
95e1bf1290 Fix wrong argument order 2025-03-29 10:29:21 +01:00
semantic-release-bot
b401358341 chore(release): 0.68.2 [skip ci]
## [0.68.2](https://github.com/propeller-heads/tycho-execution/compare/0.68.1...0.68.2) (2025-03-28)

### Bug Fixes

* fix for foundry tests external contributors ([a9ddb0e](a9ddb0e6e9))
2025-03-28 16:11:08 +00:00
tvinagre
7640d7e76a Merge pull request #139 from propeller-heads/fix/fix-foundry-tests
fix: fix for foundry tests external contributors
2025-03-28 17:08:26 +01:00
Valentin Khramtsov
a9ddb0e6e9 fix: fix for foundry tests external contributors 2025-03-28 17:20:10 +03:00
semantic-release-bot
16ade9d873 chore(release): 0.68.1 [skip ci]
## [0.68.1](https://github.com/propeller-heads/tycho-execution/compare/0.68.0...0.68.1) (2025-03-27)

### Bug Fixes

* Add crate metadata ([7e7fabf](7e7fabf51b))
2025-03-27 18:29:21 +00:00
Alan Höng
1534d3e512 Merge pull request #137 from propeller-heads/ah/switch-to-tycho-commons-II
fix: Add crate metadata
2025-03-27 19:27:26 +01:00
kayibal
7e7fabf51b fix: Add crate metadata 2025-03-27 19:21:43 +01:00
semantic-release-bot
b1bc98174c chore(release): 0.68.0 [skip ci]
## [0.68.0](https://github.com/propeller-heads/tycho-execution/compare/0.67.2...0.68.0) (2025-03-27)

### Features

* switch to tycho_commons ([0836bf7](0836bf7d53))

### Bug Fixes

* Handle unichain chain id ([379858b](379858bfca))
2025-03-27 16:02:59 +00:00
Alan Höng
f536eaffc1 Merge pull request #136 from propeller-heads/ah/switch-to-tycho-commons
feat: switch to tycho commons
2025-03-27 17:00:38 +01:00
kayibal
379858bfca fix: Handle unichain chain id 2025-03-27 16:58:34 +01:00
kayibal
0ff92c5da2 ci: Automatically publish to crates.io 2025-03-27 16:58:34 +01:00