Commit Graph

156 Commits

Author SHA1 Message Date
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
semantic-release-bot
28bfe2e32a chore(release): 0.37.0 [skip ci]
## [0.37.0](https://github.com/propeller-heads/tycho-execution/compare/0.36.2...0.37.0) (2025-02-12)

### Features

* add callback ([ed90cb4](ed90cb4ef1))
* add new pair test ([7ca647f](7ca647f009))
* add router params ([e62c332](e62c332451))
* add test for UniswapV4Executor ([4599f07](4599f07df0))
* add univ4 executor ([cb4c8f4](cb4c8f4e51))
* handle amounts in unlockCallback ([b2097ca](b2097ca4a5))
* move encoding to test ([c264084](c264084783))
* support multi swap decoding ([d998c88](d998c88cfe))
* update solc and add V4Router into UniswapV4Executor ([bdd3daf](bdd3daffba))

### Bug Fixes

* _pay and msgSender ([d790682](d79068282a))
* add equality check, amountInOrOut check, update _decodeData ([b47cff3](b47cff3fc9))
* git submodules and strict equality check in v4 executor ([a8cc84d](a8cc84ddce))
* handle native token balance changes ([0c40e9e](0c40e9e979))
* reciever issue ([ae0b07b](ae0b07b2a4))
* remove executeActions wrapper, strict equality checks and rename swap return ([2371ab2](2371ab2a1f))
* remove extra _receiver and redundant asserts ([ff3209b](ff3209b1c8))
* rm callback fn ([1a36c33](1a36c33bc6))
* rm redundant transfer ([24d4e76](24d4e762a2))
2025-02-12 20:01:08 +00:00
semantic-release-bot
00fe142952 chore(release): 0.36.2 [skip ci]
## [0.36.2](https://github.com/propeller-heads/tycho-execution/compare/0.36.1...0.36.2) (2025-02-12)

### Bug Fixes

* Miscellaneous audit remarks ([582533f](582533fa31))
2025-02-12 09:54:29 +00:00
semantic-release-bot
0626cea164 chore(release): 0.36.1 [skip ci]
## [0.36.1](https://github.com/propeller-heads/tycho-execution/compare/0.36.0...0.36.1) (2025-02-11)
2025-02-11 16:33:23 +00:00
semantic-release-bot
c4c282a62e chore(release): 0.36.0 [skip ci]
## [0.36.0](https://github.com/propeller-heads/tycho-execution/compare/0.35.1...0.36.0) (2025-02-11)

### Features

* Add selector to Transaction ([dd7ecac](dd7ecac324))
2025-02-11 16:20:41 +00:00
semantic-release-bot
3d2c148f70 chore(release): 0.35.1 [skip ci]
## [0.35.1](https://github.com/propeller-heads/tycho-execution/compare/0.35.0...0.35.1) (2025-02-11)

### Bug Fixes

* (TychoRouter) Revert if empty swaps ([37efe52](37efe52c10))
2025-02-11 14:52:52 +00:00
semantic-release-bot
12b6ba0743 chore(release): 0.35.0 [skip ci]
## [0.35.0](https://github.com/propeller-heads/tycho-execution/compare/0.34.0...0.35.0) (2025-02-07)

### Features

* Add clone to EVMTychoEncoder ([b333d60](b333d60d69))
* Add uniswap v3 to swap encoders list ([c791c93](c791c93cb5))
* Get current runtime if there is any ([12f85cc](12f85ccc0a))
* Increase tycho-core version ([6bbb6da](6bbb6da1cd))
* Make executors_file_path optional and use a default value if None ([4680a4b](4680a4be24))
* Read default executors at compile time into a json ([f5232f4](f5232f403e))
* Remove router_address from TychoEncoder ([a234ff7](a234ff701f))
* The execution structs should receiver tycho_core Chain ([cad9f39](cad9f394cd))
* Use block_in_place instead of block_on ([d4af59d](d4af59d4dc))

### Bug Fixes

* After rebase fixes ([bef4740](bef4740a1d))
* Change version of serde to match tycho-simulation ([3116fef](3116fef0d7))
* Don't have a DEFAULT_CONFIG_PATH in bin ([d7f20aa](d7f20aa74f))
* Uniswap v3 pool fee is big endian, not little endian ([0c9050c](0c9050cf79))
* **univ3:** The fee keyword is just "fee" and not "pool_fee" ([164d062](164d062ad9))
2025-02-07 16:22:11 +00:00
Diana Carvalho
6bbb6da1cd feat: Increase tycho-core version
--- don't change below this line ---
ENG-4088 Took 8 minutes

Took 11 seconds

Took 22 seconds
2025-02-07 12:16:46 +00:00
semantic-release-bot
f79a77f9a8 chore(release): 0.34.0 [skip ci]
## [0.34.0](https://github.com/propeller-heads/tycho-execution/compare/0.33.0...0.34.0) (2025-02-06)

### Features

* add default private key ([d3ad0ba](d3ad0ba5bf))
* add encoder bin ([4f7fe3b](4f7fe3b96d))
* add md ([d3be9d1](d3be9d1489))
* add serde primitive, update command ([b938560](b93856073c))
* default native action ([80f1ca9](80f1ca913b))
* remove direct execution hardcode ([ae6b1ed](ae6b1ed658))
* remove manual parsing ([fd4045e](fd4045e6fe))
* simplify ([8d97f73](8d97f73ec7))
* update cli params and docs ([32c3bd2](32c3bd2220))
* use clap for cli and resolve pr comments ([a5166f2](a5166f282d))

### Bug Fixes

* chain.into() ([520bee5](520bee5a5d))
* ci ([a3cf443](a3cf443056))
* ci ([6cec83f](6cec83fde5))
* fmt ([3bb5b0c](3bb5b0c7c6))
* fmt ([7df1995](7df1995655))
* remove redundant parse checks ([c4f9fd0](c4f9fd0fa6))
* rm v4-core ([1dad36d](1dad36d7a8))
2025-02-06 18:31:41 +00:00
Harsh Vardhan Roy
8d69d748d1 Merge branch 'main' into encoder/hr/ENG-4093-bin 2025-02-06 22:20:56 +05:30
semantic-release-bot
54ef671683 chore(release): 0.33.0 [skip ci]
## [0.33.0](https://github.com/propeller-heads/tycho-execution/compare/0.32.0...0.33.0) (2025-02-06)

### Features

* Get native/wrapped addresses from chain ([8cd7d9f](8cd7d9f76e))
* Take Chain object containing native/wrapped addresses ([e83b8d9](e83b8d9aef))

### Bug Fixes

* Do not let user specify the native/wrapped token ([1a07c7d](1a07c7dc61))
2025-02-06 16:43:48 +00:00
TAMARA LIPOWSKI
41a5fe99c9 chore: merge main 2025-02-06 11:09:07 -05:00
Harsh Vardhan Roy
535384393b Merge branch 'main' into encoder/hr/ENG-4093-bin 2025-02-06 18:34:27 +05:30
royvardhan
a5166f282d feat: use clap for cli and resolve pr comments 2025-02-06 18:30:52 +05:30