Commit Graph

123 Commits

Author SHA1 Message Date
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
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
kayibal
0836bf7d53 feat: switch to tycho_commons 2025-03-27 16:58:34 +01:00
semantic-release-bot
382fab0b46 chore(release): 0.67.2 [skip ci]
## [0.67.2](https://github.com/propeller-heads/tycho-execution/compare/0.67.1...0.67.2) (2025-03-27)

### Bug Fixes

* prepared lint workflow for external contributors ([9896f48](9896f48829))
* prepared lint workflow for external contributors ([5162b9e](5162b9e19e))
2025-03-27 14:08:30 +00:00
semantic-release-bot
fdb015118f chore(release): 0.67.1 [skip ci]
## [0.67.1](https://github.com/propeller-heads/tycho-execution/compare/0.67.0...0.67.1) (2025-03-27)

### Bug Fixes

* added empty line ([b3c4dbc](b3c4dbc293))
* fixed git checkout for codelint ([58e2ddd](58e2ddd50e))
* prepared lint workflow for external contributors ([9f7d605](9f7d605ea5))
* removed empty line ([ae5d7de](ae5d7deacc))
* test run outside a PR ([af01972](af0197205a))
2025-03-27 13:35:43 +00:00
semantic-release-bot
9ba78cf2d0 chore(release): 0.67.0 [skip ci]
## [0.67.0](https://github.com/propeller-heads/tycho-execution/compare/0.66.1...0.67.0) (2025-03-20)

### Features

* Set v2/v3 executor addresses on ethereum ([783712b](783712be5d))
* Support Pancakeswap v3 on ethereum ([2a4ee88](2a4ee88cad))
* Support sushiswap v2 and pancakeswap v2 on ethereum ([0a8a34b](0a8a34be03))

### Bug Fixes

* proper exchange name when deploying executors ([39bd9df](39bd9df4b6))
* Remove pancakeswap V3 from approved executor addresses ([1ed149a](1ed149a9b8))
2025-03-20 19:52:27 +00:00
semantic-release-bot
5a6433caf1 chore(release): 0.66.1 [skip ci]
## [0.66.1](https://github.com/propeller-heads/tycho-execution/compare/0.66.0...0.66.1) (2025-03-19)

### Bug Fixes

* Slippage precision calculation ([d644b63](d644b63851))
2025-03-19 14:15:07 +00:00
semantic-release-bot
8539b733db chore(release): 0.66.0 [skip ci]
## [0.66.0](https://github.com/propeller-heads/tycho-execution/compare/0.65.1...0.66.0) (2025-03-14)

### Features

* Add check to don't support cyclical swaps with native actions ([27c9c53](27c9c53889))
* Add validation for cyclical trades ([f62a9d2](f62a9d28c0))

### Bug Fixes

* Add individual tests for each case ([e96bcdf](e96bcdfd0f))
* In test asset, use 0 for the last split, and not 0.5 ([0aba7ed](0aba7edf83))
2025-03-14 11:35:17 +00:00
semantic-release-bot
c7c46ba671 chore(release): 0.65.1 [skip ci]
## [0.65.1](https://github.com/propeller-heads/tycho-execution/compare/0.65.0...0.65.1) (2025-03-13)

### Reverts

* Revert "feat: Add validation for cyclical trades" ([3d7dcef](3d7dcef1bd))
2025-03-13 16:28:34 +00:00
semantic-release-bot
61eda0f25d chore(release): 0.65.0 [skip ci]
## [0.65.0](https://github.com/propeller-heads/tycho-execution/compare/0.64.0...0.65.0) (2025-03-13)

### Features

* Add validation for cyclical trades ([55ffa4e](55ffa4eb45))
2025-03-13 16:15:25 +00:00
semantic-release-bot
d7244ada8c chore(release): 0.64.0 [skip ci]
## [0.64.0](https://github.com/propeller-heads/tycho-execution/compare/0.63.0...0.64.0) (2025-03-13)

### Features

* update tycho-core to 0.61.1 ([53b8c6a](53b8c6afee))
2025-03-13 09:12:16 +00:00
Louise Poole
53b8c6afee feat: update tycho-core to 0.61.1 2025-03-13 10:45:45 +02:00
Louise Poole
271c522251 chore: update tycho-core to 0.60.0 2025-03-11 12:45:27 +02:00
semantic-release-bot
0a95fa83e7 chore(release): 0.63.0 [skip ci]
## [0.63.0](https://github.com/propeller-heads/tycho-execution/compare/0.62.0...0.63.0) (2025-03-10)

### Features

* add cyclicSwapAmountOut tracker in _swap, add split cylic tests ([4d67df4](4d67df4096))

### Bug Fixes

* amountConsumed check in _swapChecked for cyclic swap ([91f36fe](91f36fe328))
* remove amountIn addition to amountOut in _swap for cyclic swaps, add testCyclicSwapWithTwoPools test to verify ([57acbd5](57acbd58c5))
2025-03-10 18:10:17 +00:00
semantic-release-bot
e718d2deee chore(release): 0.62.0 [skip ci]
## [0.62.0](https://github.com/propeller-heads/tycho-execution/compare/0.61.0...0.62.0) (2025-03-06)

### Features

* enforce checked amount when encoding to router ([a4476e0](a4476e0a17))
2025-03-06 14:10:41 +00:00
semantic-release-bot
852bbbc150 chore(release): 0.61.0 [skip ci]
## [0.61.0](https://github.com/propeller-heads/tycho-execution/compare/0.60.0...0.61.0) (2025-03-05)

### Features

* Rename Etherscan in deployment verification ([bc54eac](bc54eac110))
2025-03-05 18:22:49 +00:00
semantic-release-bot
fa47c6057a chore(release): 0.60.0 [skip ci]
## [0.60.0](https://github.com/propeller-heads/tycho-execution/compare/0.59.0...0.60.0) (2025-03-05)

### Features

* Check min amount out is not zero ([5c28d77](5c28d77f1d))
2025-03-05 18:10:22 +00:00
semantic-release-bot
9eb10e63df chore(release): 0.59.0 [skip ci]
## [0.59.0](https://github.com/propeller-heads/tycho-execution/compare/0.58.2...0.59.0) (2025-03-05)

### Features

* add transferFrom in swap and move core swap logic inside _swapChecked ([f853739](f853739a3d))

### Bug Fixes

* TychoRouter swap check test naming and docs ([7833086](7833086425))
2025-03-05 17:08:55 +00:00
semantic-release-bot
16c57f6aa6 chore(release): 0.58.2 [skip ci]
## [0.58.2](https://github.com/propeller-heads/tycho-execution/compare/0.58.1...0.58.2) (2025-03-05)

### Bug Fixes

* Make permit2 permit an action in the universal router ([db9c8cd](db9c8cde5a))
2025-03-05 16:08:56 +00:00
semantic-release-bot
2ad846ed27 chore(release): 0.58.1 [skip ci]
## [0.58.1](https://github.com/propeller-heads/tycho-execution/compare/0.58.0...0.58.1) (2025-03-04)

### Bug Fixes

* add amountIn in error TychoRouter__AmountInDiffersFromConsumed ([a3bffd4](a3bffd4f75))
* inequality check for amountConsumed and amountIn ([6f421eb](6f421eb374))
2025-03-04 19:23:30 +00:00
semantic-release-bot
ceef683202 chore(release): 0.58.0 [skip ci]
## [0.58.0](https://github.com/propeller-heads/tycho-execution/compare/0.57.0...0.58.0) (2025-03-03)

### Features

* Rename ETH_RPC_URL -> RPC_URL ([9bb0d9b](9bb0d9bc84))
2025-03-03 16:50:21 +00:00
semantic-release-bot
2e1a5aaf45 chore(release): 0.57.0 [skip ci]
## [0.57.0](https://github.com/propeller-heads/tycho-execution/compare/0.56.0...0.57.0) (2025-03-03)

### Features

* Rename shortcut methods of encoder builder ([6f572ee](6f572eed01))
2025-03-03 16:25:04 +00:00
semantic-release-bot
b569a0ad85 chore(release): 0.56.0 [skip ci]
## [0.56.0](https://github.com/propeller-heads/tycho-execution/compare/0.55.0...0.56.0) (2025-02-28)

### Features

* update base executor addresses ([bc47c12](bc47c12a1a))

### Bug Fixes

* make USV2 factory configurable in Executor ([33973a6](33973a65b8))
2025-02-28 14:00:31 +00:00
semantic-release-bot
4b08910344 chore(release): 0.55.0 [skip ci]
## [0.55.0](https://github.com/propeller-heads/tycho-execution/compare/0.54.0...0.55.0) (2025-02-27)

### Features

* Change license to SPDX-License-Identifier: UNLICENSED everywhere ([59eb219](59eb2195b6))
* Deploy to mainnet (again) ([fedc504](fedc5043db))
* Deploy to mainnet. Update all addresses ([3d65ac8](3d65ac8cd9))
* Verify contracts on etherscan ([79045e2](79045e2689))
2025-02-27 18:05:36 +00:00
semantic-release-bot
87e7394b0a chore(release): 0.54.0 [skip ci]
## [0.54.0](https://github.com/propeller-heads/tycho-execution/compare/0.53.1...0.54.0) (2025-02-27)

### Features

* Deploy all executors ([f95c74f](f95c74fbc6))

### Bug Fixes

* Add a value to the Transaction if token in is ETH ([05a1843](05a1843f9c))
* Get correct runtime everywhere ([6a6f2d3](6a6f2d3221))
* the key for univ4 fee is key_lp_fee ([9eb4299](9eb4299ffe))
2025-02-27 15:04:59 +00:00
semantic-release-bot
ce14e7a52c chore(release): 0.53.1 [skip ci]
## [0.53.1](https://github.com/propeller-heads/tycho-execution/compare/0.53.0...0.53.1) (2025-02-27)

### Bug Fixes

* remove 0 amount check in _unwrapEth ([0273f58](0273f58274))
2025-02-27 14:47:13 +00:00
semantic-release-bot
6b57e81afc chore(release): 0.53.0 [skip ci]
## [0.53.0](https://github.com/propeller-heads/tycho-execution/compare/0.52.2...0.53.0) (2025-02-26)

### Features

* support base deployment ([7ca9120](7ca9120b7b))

### Bug Fixes

* (deployment) add tenderly keys to json files ([1bdcbb8](1bdcbb83e0))
* proper executor address json after merge ([adfcb3d](adfcb3da82))
* rename mainnet -> ethereum ([ac35256](ac35256c69))
* TENDERLY_RPC_URL -> RPC_URL ([e5759b9](e5759b9498))
2025-02-26 18:26:17 +00:00
semantic-release-bot
d7ddb27497 chore(release): 0.52.2 [skip ci]
## [0.52.2](https://github.com/propeller-heads/tycho-execution/compare/0.52.1...0.52.2) (2025-02-26)
2025-02-26 18:01:34 +00:00
semantic-release-bot
09354b501a chore(release): 0.52.1 [skip ci]
## [0.52.1](https://github.com/propeller-heads/tycho-execution/compare/0.52.0...0.52.1) (2025-02-26)
2025-02-26 17:47:24 +00:00
semantic-release-bot
22c48e80d2 chore(release): 0.52.0 [skip ci]
## [0.52.0](https://github.com/propeller-heads/tycho-execution/compare/0.51.2...0.52.0) (2025-02-26)

### Features

* Add deployment and fund wallet scripts ([cbea0bd](cbea0bdab3))
* Deploy executors and set them in router ([02a9da1](02a9da183e))
* Deploy on mainnet ([34563c3](34563c3eb7))
* Set roles script ([90cf194](90cf194869))
* Verify router contract on tenderly ([77ba949](77ba9498a7))

### Bug Fixes

* Unify both executor addresses in one file ([57789a4](57789a40e4))
2025-02-26 10:15:40 +00:00
semantic-release-bot
08f72e7138 chore(release): 0.51.2 [skip ci]
## [0.51.2](https://github.com/propeller-heads/tycho-execution/compare/0.51.1...0.51.2) (2025-02-26)

### Bug Fixes

* Restrict receive callers to have code ([801976f](801976fafa))
2025-02-26 09:45:34 +00:00
semantic-release-bot
614af9ada7 chore(release): 0.51.1 [skip ci]
## [0.51.1](https://github.com/propeller-heads/tycho-execution/compare/0.51.0...0.51.1) (2025-02-25)
2025-02-25 18:35:20 +00:00
semantic-release-bot
dd6b1151b2 chore(release): 0.51.0 [skip ci]
## [0.51.0](https://github.com/propeller-heads/tycho-execution/compare/0.50.0...0.51.0) (2025-02-24)

### Features

* hardcode callback and swap selection in dispatcher ([58116e0](58116e074a))
* rm selector from usv3, usv4, update tests, and rename dispatcher file ([69745b1](69745b18fd))

### Bug Fixes

* usv4 integration tests and remove selector from swap/strategy encoder ([18efe03](18efe0305b))
2025-02-24 17:00:47 +00:00
semantic-release-bot
d859a7ea97 chore(release): 0.50.0 [skip ci]
## [0.50.0](https://github.com/propeller-heads/tycho-execution/compare/0.49.0...0.50.0) (2025-02-22)

### Features

* add target verification for usv2 and usv3  using _computePairAddress ([7936ba1](7936ba1c94))
2025-02-22 03:35:19 +00:00
semantic-release-bot
2241c50df1 chore(release): 0.49.0 [skip ci]
## [0.49.0](https://github.com/propeller-heads/tycho-execution/compare/0.48.1...0.49.0) (2025-02-21)

### Features

* Use openzepplin's sendValue instead of send for ETH transfers ([0ba5d02](0ba5d02268))
2025-02-21 17:56:12 +00:00
semantic-release-bot
ec423290d2 chore(release): 0.48.1 [skip ci]
## [0.48.1](https://github.com/propeller-heads/tycho-execution/compare/0.48.0...0.48.1) (2025-02-21)

### Bug Fixes

* Native ETH input/output integration tests/fixes ([a7aa4d7](a7aa4d7ebb))
2025-02-21 14:52:13 +00:00
semantic-release-bot
be1e679e51 chore(release): 0.48.0 [skip ci]
## [0.48.0](https://github.com/propeller-heads/tycho-execution/compare/0.47.0...0.48.0) (2025-02-21)

### Features

* Adapt SplitSwapStrategyEncoder to have optional permit2 logic ([20e6419](20e6419a20))
* Implement Clone for EVMTychoEncoder ([8b2af4f](8b2af4f577))
* Update tycho-core ([c6c734d](c6c734d494))
2025-02-21 09:43:43 +00:00
Diana Carvalho
c6c734d494 feat: Update tycho-core
--- don't change below this line ---
ENG-4255 Took 7 minutes
2025-02-20 18:29:14 +00:00
semantic-release-bot
30a7d5bbe4 chore(release): 0.47.0 [skip ci]
## [0.47.0](https://github.com/propeller-heads/tycho-execution/compare/0.46.1...0.47.0) (2025-02-20)

### Features

* Don't encode min amount for USV4 ([d65d575](d65d575003))
* UniswapV4 integration test and fixes ([45fdfc7](45fdfc708d))

### Bug Fixes

* Pass proper group tokens in EncodingContext... ([81c8a04](81c8a04cbb))
2025-02-20 17:39:03 +00:00
semantic-release-bot
aae95ec4bd chore(release): 0.46.1 [skip ci]
## [0.46.1](https://github.com/propeller-heads/tycho-execution/compare/0.46.0...0.46.1) (2025-02-20)
2025-02-20 17:31:23 +00:00
semantic-release-bot
9693856dca chore(release): 0.46.0 [skip ci]
## [0.46.0](https://github.com/propeller-heads/tycho-execution/compare/0.45.0...0.46.0) (2025-02-20)

### Features

* add native and weth addresses for supported networks ([83f1955](83f1955094))

### Bug Fixes

* add decode_hex to models ([7dd59db](7dd59dbe34))
2025-02-20 16:40:55 +00:00
semantic-release-bot
a5624be0e7 chore(release): 0.45.0 [skip ci]
## [0.45.0](https://github.com/propeller-heads/tycho-execution/compare/0.44.0...0.45.0) (2025-02-20)

### Features

* TychoRouter swap method not requiring Permit2 ([c3482a5](c3482a509a))
2025-02-20 15:55:14 +00:00
semantic-release-bot
2d655b27fe chore(release): 0.44.0 [skip ci]
## [0.44.0](https://github.com/propeller-heads/tycho-execution/compare/0.43.0...0.44.0) (2025-02-19)

### Features

* add integration test for complex swaps ([5e9b388](5e9b38876e))
* add new attributes in encoding context, update usv4 swap encoder and tests ([1bfe656](1bfe656e6b))
* add single swap integration test for usv4 executor ([529456f](529456f40c))
* add usv4 swap encoder with single swap test ([789416b](789416b2cd))
* add util fns, change callback_selector to string, update first_swap check ([9219dd3](9219dd329d))
* early return in usv4 swap encoder for second swap, add utils ([f7ddace](f7ddace559))
* update test_encode_uniswap_v4_grouped ([baeebb9](baeebb9fe4))

### Bug Fixes

* update EncodingContext in strategy_encoder ([7f3aca9](7f3aca90ba))
2025-02-19 20:29:23 +00:00
semantic-release-bot
21fcb85b03 chore(release): 0.43.0 [skip ci]
## [0.43.0](https://github.com/propeller-heads/tycho-execution/compare/0.42.0...0.43.0) (2025-02-19)

### Features

* Add methods to builder to set chain and strategy independently ([684de4f](684de4fa60))
* Create a EVMEncoderBuilder ([03506fa](03506fabe9))
* Remove direct_execution from Solution ([8537d27](8537d27469))

### Bug Fixes

* After rebase fixes ([4f29022](4f29022c42))
* After rebase fixes ([30b5ab9](30b5ab9025))
2025-02-19 17:18:03 +00:00
semantic-release-bot
f76e320ff7 chore(release): 0.42.0 [skip ci]
## [0.42.0](https://github.com/propeller-heads/tycho-execution/compare/0.41.0...0.42.0) (2025-02-19)

### Features

* Support swap grouping for executor strategy ([ac83117](ac831176d4))
2025-02-19 15:31:58 +00:00
semantic-release-bot
4f37cd392b chore(release): 0.41.0 [skip ci]
## [0.41.0](https://github.com/propeller-heads/tycho-execution/compare/0.40.0...0.41.0) (2025-02-18)

### Features

* add back uniswapV3SwapCallback in router ([260f9d8](260f9d866f))
* add uniswapV3SwapCallback in USV3 executor ([9d3b96f](9d3b96f997))
* Change signature of _handleCallback to take only bytes calldata ([2aa63d7](2aa63d7ec0))
* fix input decoding in usv3 executor and execution dispatcher ([80500e6](80500e615e))
* move callback testing to usv3 executor ([5853de6](5853de679a))
* rename execution dispatcher to dispatcher and use dispatcher for USV4 callback ([ad91e48](ad91e485d3))
* update _handleCallback, add verifyCallback with docs ([076586d](076586d776))
* update handleCallback in USV3 to do verification ([cccb252](cccb252bf2))
* update new interface in codebase ([bd19713](bd1971334e))
2025-02-18 15:11:09 +00:00
semantic-release-bot
fde870f57a chore(release): 0.40.0 [skip ci]
## [0.40.0](https://github.com/propeller-heads/tycho-execution/compare/0.39.0...0.40.0) (2025-02-18)

### Features

* (WIP) UniswapV4 encoding ([f32210b](f32210bb1f))
* Generalize group_swaps method ([47b6180](47b61802ee))
* Merge USV4 strategy back into split strategy ([44aabf1](44aabf1761))

### Bug Fixes

* Do not count intermediary tokens in indices ([e94154b](e94154bc2d))
* Do not group split swaps ([957bf89](957bf898f2))
2025-02-18 14:21:36 +00:00
semantic-release-bot
002d049501 chore(release): 0.39.0 [skip ci]
## [0.39.0](https://github.com/propeller-heads/tycho-execution/compare/0.38.0...0.39.0) (2025-02-14)

### Features

* **univ4:** Implement swapping with multiple hops ([21a8c1a](21a8c1a27a))
* **univ4:** Refactor input and handle single swap case ([be7883a](be7883affc))

### Bug Fixes

* Fix PLE tests that break after foundry update ([69d03f0](69d03f0608))
* **univ4:** Append callback data instead of prepending ([4d0f5ce](4d0f5cec64))
* **univ4:** Make slither happy ([8a8bc69](8a8bc697eb))
2025-02-14 17:11:31 +00:00
semantic-release-bot
bb7c6c25a5 chore(release): 0.38.0 [skip ci]
## [0.38.0](https://github.com/propeller-heads/tycho-execution/compare/0.37.0...0.38.0) (2025-02-13)

### Features

* Add a production foundry profile ([dae38ce](dae38ceaf9))
* Support uniswap v4 callback in TychoRouter ([591d73b](591d73ba71))

### Bug Fixes

* Verify that the executor exists in the uni v4 callback ([4c5e3bf](4c5e3bf6a9))
2025-02-13 12:12:02 +00:00