Commit Graph

187 Commits

Author SHA1 Message Date
semantic-release-bot
ca762b55b6 chore(release): 0.112.0 [skip ci]
## [0.112.0](https://github.com/propeller-heads/tycho-execution/compare/0.111.0...0.112.0) (2025-07-22)

### Features

* Add protocol state to Swap object ([c217702](c217702560))

### Bug Fixes

* Replace smart pointer with regular pointer ([95c5124](95c51247f7))
2025-07-22 19:56:14 +00:00
TAMARA LIPOWSKI
c217702560 feat: Add protocol state to Swap object
- This consists of lots of necessary battles with lifetimes.
2025-07-22 12:13:39 -04:00
semantic-release-bot
a057588270 chore(release): 0.111.0 [skip ci]
## [0.111.0](https://github.com/propeller-heads/tycho-execution/compare/0.110.0...0.111.0) (2025-07-15)

### Features

* Uniswap X deployment script ([efa6fae](efa6fae0e8))

### Bug Fixes

* Read Tycho Router addresses from file ([d2d8b29](d2d8b29056))
2025-07-15 16:34:12 +00:00
semantic-release-bot
671a456ed7 chore(release): 0.110.0 [skip ci]
## [0.110.0](https://github.com/propeller-heads/tycho-execution/compare/0.109.0...0.110.0) (2025-07-14)

### Features

* UniswapX encoding example ([2d4b0b9](2d4b0b995b))
2025-07-14 15:46:37 +00:00
semantic-release-bot
f702bf967e chore(release): 0.109.0 [skip ci]
## [0.109.0](https://github.com/propeller-heads/tycho-execution/compare/0.108.0...0.109.0) (2025-07-14)

### Features

* add testExecuteIntegration ([4ba5919](4ba59192fc))

### Bug Fixes

* chain id call after main update ([e775238](e775238b08))
* Replicate a real Uniswap X order in integration test ([96d0bf4](96d0bf4ba5))
2025-07-14 15:39:35 +00:00
semantic-release-bot
4c8d5f151a chore(release): 0.108.0 [skip ci]
## [0.108.0](https://github.com/propeller-heads/tycho-execution/compare/0.107.0...0.108.0) (2025-07-11)

### Features

* Upgrade tycho-common ([8458b46](8458b4628e))
* Upgrade tycho-common ([effc25c](effc25c2d7))
* Upgrade tycho-common ([cb6042e](cb6042ea79))
* Use Chain from tycho-core and remove current implementation ([2c25b5a](2c25b5a18f))
2025-07-11 15:41:55 +00:00
Diana Carvalho
8458b4628e feat: Upgrade tycho-common
--- don't change below this line ---
ENG-4679 Took 5 minutes


Took 10 seconds
2025-07-11 16:37:06 +01:00
Diana Carvalho
effc25c2d7 feat: Upgrade tycho-common
--- don't change below this line ---
ENG-4705 Took 14 minutes
2025-07-10 17:20:53 +01:00
Diana Carvalho
2c25b5a18f feat: Use Chain from tycho-core and remove current implementation
--- don't change below this line ---
ENG-4705 Took 29 minutes
2025-07-10 17:20:53 +01:00
Diana Carvalho
cb6042ea79 feat: Upgrade tycho-common
Took 16 minutes


Took 6 minutes
2025-07-10 17:20:53 +01:00
semantic-release-bot
0be6bfbc1a chore(release): 0.107.0 [skip ci]
## [0.107.0](https://github.com/propeller-heads/tycho-execution/compare/0.106.0...0.107.0) (2025-07-10)

### Features

* (WIP) Handle approvals in UniswapXFiller ([e243667](e243667f9e))
* Handle native ETH outputs ([3752c15](3752c155ea))

### Bug Fixes

* silence slither on native address setting ([1b6a24f](1b6a24fd75))
* use encodePacked to encode if approval needed ([9e2f228](9e2f228a47))
2025-07-10 14:38:32 +00:00
semantic-release-bot
808202df8c chore(release): 0.106.0 [skip ci]
## [0.106.0](https://github.com/propeller-heads/tycho-execution/compare/0.105.0...0.106.0) (2025-07-09)

### Features

* UniswapXFiller callback - naive implementation ([a114dfc](a114dfc9da))

### Bug Fixes

* disable slither warnings ([a2d123a](a2d123a263))
2025-07-09 12:12:39 +00:00
semantic-release-bot
94d4888142 chore(release): 0.105.0 [skip ci]
## [0.105.0](https://github.com/propeller-heads/tycho-execution/compare/0.104.0...0.105.0) (2025-07-09)

### Features

* Upgrade scripts to submit to Safe wallet ([2733bb0](2733bb0072))

### Bug Fixes

* Simplify nonceOffset logic ([ba60e4b](ba60e4bb73))
2025-07-09 08:40:05 +00:00
semantic-release-bot
7a5cf1b89e chore(release): 0.104.0 [skip ci]
## [0.104.0](https://github.com/propeller-heads/tycho-execution/compare/0.103.0...0.104.0) (2025-07-08)

### Features

* Take reactor address as input to UniswapXFiller ([00f22d6](00f22d62c1))
* UniswapXFiller skeleton ([ce1fe1d](ce1fe1dd94))

### Bug Fixes

* Make slither happy ([d61469e](d61469ea67))
2025-07-08 14:31:16 +00:00
semantic-release-bot
4e49b3b99b chore(release): 0.103.0 [skip ci]
## [0.103.0](https://github.com/propeller-heads/tycho-execution/compare/0.102.0...0.103.0) (2025-07-07)

### Features

* Deploy Balancer V3 executor ([266e30d](266e30d1aa))
2025-07-07 11:06:10 +00:00
semantic-release-bot
62583e3419 chore(release): 0.102.0 [skip ci]
## [0.102.0](https://github.com/propeller-heads/tycho-execution/compare/0.101.5...0.102.0) (2025-07-01)

### Features

* Deploy EkuboExecutor with MEV-resist ([3fe9906](3fe9906e5b))
2025-07-01 16:07:59 +00:00
semantic-release-bot
2f161231e9 chore(release): 0.101.5 [skip ci]
## [0.101.5](https://github.com/propeller-heads/tycho-execution/compare/0.101.4...0.101.5) (2025-06-27)

### Bug Fixes

* Use native token curve address and not regular zero address ([0f679d6](0f679d6e06))
2025-06-27 17:05:44 +00:00
semantic-release-bot
0458b910ab chore(release): 0.101.4 [skip ci]
## [0.101.4](https://github.com/propeller-heads/tycho-execution/compare/0.101.3...0.101.4) (2025-06-27)

### Bug Fixes

* Fix wrong log in CurveEncoder ([312269d](312269dabb))
2025-06-27 09:04:43 +00:00
semantic-release-bot
7b48cab3cd chore(release): 0.101.3 [skip ci]
## [0.101.3](https://github.com/propeller-heads/tycho-execution/compare/0.101.2...0.101.3) (2025-06-23)

### Bug Fixes

* Add optimized_transfers_integration_tests.rs ([df63b87](df63b87569))
2025-06-23 14:41:48 +00:00
semantic-release-bot
d9d015635a chore(release): 0.101.2 [skip ci]
## [0.101.2](https://github.com/propeller-heads/tycho-execution/compare/0.101.1...0.101.2) (2025-06-23)

### Bug Fixes

* After rebase fixes ([1d263f8](1d263f8b4c))
2025-06-23 14:10:10 +00:00
semantic-release-bot
920b37cf96 chore(release): 0.101.1 [skip ci]
## [0.101.1](https://github.com/propeller-heads/tycho-execution/compare/0.101.0...0.101.1) (2025-06-23)

### Bug Fixes

* Exclude foundry files from the rust crate ([fa13f09](fa13f09d3e))
* Remove unnecessary clones from encoding ([e704151](e704151404))
2025-06-23 13:26:07 +00:00
semantic-release-bot
2952e2153c chore(release): 0.101.0 [skip ci]
## [0.101.0](https://github.com/propeller-heads/tycho-execution/compare/0.100.1...0.101.0) (2025-06-23)

### Features

* **curve:** Support passing eth/weth instead of weth/eth in encoding ([525c16a](525c16a117))
2025-06-23 13:19:20 +00:00
semantic-release-bot
1a7f29e69d chore(release): 0.100.1 [skip ci]
## [0.100.1](https://github.com/propeller-heads/tycho-execution/compare/0.100.0...0.100.1) (2025-06-13)

### Bug Fixes

* Correct misleading error message ([a6cf215](a6cf2159d0))
* When choosing strategy, check if the grouped solution has any split ([9599425](95994250b1))
2025-06-13 15:56:42 +00:00
semantic-release-bot
b4dd4025d4 chore(release): 0.100.0 [skip ci]
## [0.100.0](https://github.com/propeller-heads/tycho-execution/compare/0.99.0...0.100.0) (2025-06-06)

### Features

* Add balancer v3 to transfer optimization constants ([c03df8a](c03df8aa1e))
* Add BalancerV3Encoder ([06ce28c](06ce28c8fd))
* Add integration tests for balancer v3 ([269e328](269e328b5f))

### Bug Fixes

* **BalancerV3Executor:** Do data.length check at the beginning of swap ([4f58977](4f58977007))
* **BalancerV3Executor:** Slice callback data nicely ([941879d](941879d5d6))
2025-06-06 16:38:51 +00:00
semantic-release-bot
6ada7f2a51 chore(release): 0.99.0 [skip ci]
## [0.99.0](https://github.com/propeller-heads/tycho-execution/compare/0.98.0...0.99.0) (2025-06-05)

### Features

* Extend Swap to hold user_data: Option<Bytes> ([eec50f8](eec50f8822))
2025-06-05 14:55:23 +00:00
semantic-release-bot
902c4cd4d2 chore(release): 0.98.0 [skip ci]
## [0.98.0](https://github.com/propeller-heads/tycho-execution/compare/0.97.0...0.98.0) (2025-06-05)

### Features

* Add balancer-v3-monorepo lib ([f173f9b](f173f9bed7))
* Implement BalancerV3Executor ([f34db52](f34db52f09))
* Make BalancerV3Executor inherit from ICallback ([806ce4e](806ce4e62c))
2025-06-05 14:19:52 +00:00
semantic-release-bot
cb105caecf chore(release): 0.97.0 [skip ci]
## [0.97.0](https://github.com/propeller-heads/tycho-execution/compare/0.96.0...0.97.0) (2025-06-05)

### Features

* Upgrade alloy to "1.0.6" ([5fa97d0](5fa97d08e5))
2025-06-05 11:12:38 +00:00
Diana Carvalho
5fa97d08e5 feat: Upgrade alloy to "1.0.6"
Took 18 minutes
2025-05-30 11:55:44 +01:00
semantic-release-bot
6b1ca45bb3 chore(release): 0.96.0 [skip ci]
## [0.96.0](https://github.com/propeller-heads/tycho-execution/compare/0.95.1...0.96.0) (2025-05-27)

### Features

* Deploy new router on base ([0dafed0](0dafed0cad))
* Update ethereum router + executor addresses ([5bf3b5d](5bf3b5d7ad))
* Update mainnet executors + router addrs ([cf6e7f0](cf6e7f06a8))
* Update unichain executors + router addrs ([e2e061e](e2e061e73e))
2025-05-27 17:12:47 +00:00
semantic-release-bot
d6ee85e8da chore(release): 0.95.1 [skip ci]
## [0.95.1](https://github.com/propeller-heads/tycho-execution/compare/0.95.0...0.95.1) (2025-05-27)

### Bug Fixes

* Move encode_input back into encoding_utils.rs ([92d36b9](92d36b9f48))
2025-05-27 14:28:03 +00:00
semantic-release-bot
72f2734f2c chore(release): 0.95.0 [skip ci]
## [0.95.0](https://github.com/propeller-heads/tycho-execution/compare/0.94.0...0.95.0) (2025-05-26)

### Features

* Don't sign permit2 objects ([c62af2f](c62af2f232))

### Bug Fixes

* Bring back swapper_pk for backwards compatibility ([d12e3d3](d12e3d3b5f))
* Make functions in encoding_utils.rs private ([5ddd2a9](5ddd2a9cd7))
2025-05-26 16:42:06 +00:00
semantic-release-bot
cdb67f742f chore(release): 0.94.0 [skip ci]
## [0.94.0](https://github.com/propeller-heads/tycho-execution/compare/0.93.0...0.94.0) (2025-05-23)

### Features

* Create non alloy specific Permit and PermitDetails structs ([75f2c3a](75f2c3a1c5))
2025-05-23 17:08:45 +00:00
semantic-release-bot
52d3641436 chore(release): 0.93.0 [skip ci]
## [0.93.0](https://github.com/propeller-heads/tycho-execution/compare/0.92.1...0.93.0) (2025-05-22)

### Features

* Add encode_full_calldata to TychoEncoder trait ([5aff28e](5aff28e345))
* Add interacting_with to EncodedSolution ([facdf71](facdf716bd))
* Remove slippage and expected_amount from Solution ([08056c4](08056c4a6c))
* Separate encoding swaps from encoding txs ([4e8c6dd](4e8c6ddc8c))
2025-05-22 13:55:23 +00:00
semantic-release-bot
6a6955d31d chore(release): 0.92.1 [skip ci]
## [0.92.1](https://github.com/propeller-heads/tycho-execution/compare/0.92.0...0.92.1) (2025-05-22)

### Bug Fixes

* Small misc improvements from audit ([1f26fbc](1f26fbce14))
2025-05-22 13:21:45 +00:00
semantic-release-bot
66ec935d49 chore(release): 0.92.0 [skip ci]
## [0.92.0](https://github.com/propeller-heads/tycho-execution/compare/0.91.0...0.92.0) (2025-05-21)

### Features

* Add transferFromNeeded to non permit2 methods ([cc9e88c](cc9e88cfed))
* Bring back TransferType and simplify encoding logic ([3874892](38748925b3))
* Loosen version constrain on tycho-common ([046775b](046775b7ae))
* perform all transfers in executors ([eeebd51](eeebd51114))
* Sketch for OneTransferFromOnly.sol ([9401ce2](9401ce2620))
* Support new transfer logic in all executors ([27dfde3](27dfde3118))
* Support new transfer logic in encoding ([0f9af65](0f9af65846))

### Bug Fixes

* Fix remaining tests after latest encoding changes ([e0c195f](e0c195f63d))
* Fix tests (not there yet) ([d4244a7](d4244a7089))
* Initial balance for cyclic swaps ([7fd9f61](7fd9f611e5))
* Make all tests pass! ([ee68703](ee687038c5))
2025-05-21 14:59:04 +00:00
Diana Carvalho
b540f83742 Merge branch 'refs/heads/main' into audit/dc/one-transfer-from-only
# Conflicts:
#	foundry/test/assets/calldata.txt

Took 33 minutes
2025-05-21 09:50:20 +01:00
semantic-release-bot
29374e4420 chore(release): 0.91.0 [skip ci]
## [0.91.0](https://github.com/propeller-heads/tycho-execution/compare/0.90.0...0.91.0) (2025-05-19)

### Features

* **curve:** Get coin indexes from static attributes ([fcaacf2](fcaacf21fb))
2025-05-19 16:00:18 +00:00
Diana Carvalho
046775b7ae feat: Loosen version constrain on tycho-common
Took 14 minutes
2025-05-15 16:19:31 +01:00
semantic-release-bot
7f7084ca7a chore(release): 0.90.0 [skip ci]
## [0.90.0](https://github.com/propeller-heads/tycho-execution/compare/0.89.0...0.90.0) (2025-05-15)

### Features

* Explicitly handle the TransferType.NONE case ([65bd0d0](65bd0d0749))
* Verify the amount out was received correctly for arbitrage swaps ([70230bf](70230bf05f))

### Bug Fixes

* Revert if the TransferType is not valid ([b0c254a](b0c254add4))
2025-05-15 14:51:47 +00:00
semantic-release-bot
67eba8d7d2 chore(release): 0.89.0 [skip ci]
## [0.89.0](https://github.com/propeller-heads/tycho-execution/compare/0.88.0...0.89.0) (2025-05-14)

### Features

* Remove special handling of the Univ4 callback ([f14c8ee](f14c8ee29b))
2025-05-14 07:54:05 +00:00
semantic-release-bot
5ee9d79a15 chore(release): 0.88.0 [skip ci]
## [0.88.0](https://github.com/propeller-heads/tycho-execution/compare/0.87.0...0.88.0) (2025-05-06)

### Features

* Choose single strategy if it's a grouped swap of the same protocol ([079759a](079759a75b))
2025-05-06 12:55:48 +00:00
semantic-release-bot
d98c179c46 chore(release): 0.87.0 [skip ci]
## [0.87.0](https://github.com/propeller-heads/tycho-execution/compare/0.86.0...0.87.0) (2025-05-05)

### Features

* Update PancakeV2 executor addresses ([872aa57](872aa576e6))

### Bug Fixes

* pass permit2 in deployment scripts ([ba19b00](ba19b000dc))
2025-05-05 09:16:33 +00:00
semantic-release-bot
aeaeff12fd chore(release): 0.86.0 [skip ci]
## [0.86.0](https://github.com/propeller-heads/tycho-execution/compare/0.85.1...0.86.0) (2025-05-02)

### Features

* Change revert condition in _wrapETH ([0400005](04000059e5))
* Propagate the entire result of the callback ([8a7c390](8a7c39052d))
2025-05-02 14:58:02 +00:00
semantic-release-bot
750382fc6f chore(release): 0.85.1 [skip ci]
## [0.85.1](https://github.com/propeller-heads/tycho-execution/compare/0.85.0...0.85.1) (2025-05-01)

### Bug Fixes

* Derive Clone in TychoEncoders ([f99bd29](f99bd296a1))
2025-05-01 00:46:56 +00:00
semantic-release-bot
b43d5cad96 chore(release): 0.85.0 [skip ci]
## [0.85.0](https://github.com/propeller-heads/tycho-execution/compare/0.84.0...0.85.0) (2025-05-01)

### Features

* add mav executor ([0ac722d](0ac722d91f))
* add swap encode ([72a651d](72a651d453))
* Transfer Optimizations in MaverickV2 ([bcef8f6](bcef8f69f6))

### Bug Fixes

* add maverick for build ([bab30e3](bab30e3958))
* maverick test fork block ([4c93830](4c938306bd))
* swap test ([d103ca9](d103ca9e33))
2025-05-01 00:39:21 +00:00
Diana Carvalho
0ff4aef0c7 chore: Write encoding rust calldata to file and read in solidity test
This way we can automatically replace the calldata when something changes. We don't need to manually replace the string ourselves.

--- don't change below this line ---
ENG-4453 Took 3 hours 26 minutes
2025-04-29 10:23:47 +01:00
semantic-release-bot
b03c58d833 chore(release): 0.84.0 [skip ci]
## [0.84.0](https://github.com/propeller-heads/tycho-execution/compare/0.83.0...0.84.0) (2025-04-28)

### Features

* Clear transient storage after swap call ([1b003dc](1b003dc483))
2025-04-28 14:25:10 +00:00
semantic-release-bot
f141d2dda1 chore(release): 0.83.0 [skip ci]
## [0.83.0](https://github.com/propeller-heads/tycho-execution/compare/0.82.1...0.83.0) (2025-04-28)

### Features

* Add security check for callback selector ([4de1d10](4de1d10406))

### Bug Fixes

* Remove tload from executor ([3fb17c7](3fb17c71da))
2025-04-28 12:58:53 +00:00
semantic-release-bot
32c2d52971 chore(release): 0.82.1 [skip ci]
## [0.82.1](https://github.com/propeller-heads/tycho-execution/compare/0.82.0...0.82.1) (2025-04-24)

### Bug Fixes

* Make clippy happy after new format! format ([7bf0b48](7bf0b48ea6))
2025-04-24 13:45:34 +00:00
Diana Carvalho
7bf0b48ea6 fix: Make clippy happy after new format! format
Took 19 minutes
2025-04-24 13:34:08 +01:00