Commit Graph

1397 Commits

Author SHA1 Message Date
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
Tamara
785d63133b Merge pull request #238 from propeller-heads/usx/tnl/ENG-4669-handle-approvals
feat: Handle approvals in UniswapXFiller
2025-07-10 10:36:39 -04:00
TAMARA LIPOWSKI
7cf8a7eeed chore: nightly fmt 2025-07-09 15:47:43 -04:00
TAMARA LIPOWSKI
4fef906e42 test: Use calldata in USX integration test
- Needed to update the filler address with the one from the test
- Removed unnecessary approval from non-integration test. The approval is now performed in the callback method.
2025-07-09 15:44:41 -04:00
Diana Carvalho
96d0bf4ba5 fix: Replicate a real Uniswap X order in integration test
Took 16 minutes
2025-07-09 14:38:48 -04:00
Diana Carvalho
d2ba255417 test: Add encoding test for a uniswap X integration test
Took 26 minutes
2025-07-09 14:38:48 -04:00
TAMARA LIPOWSKI
9e2f228a47 fix: use encodePacked to encode if approval needed
- Also approve max amount for the tycho router to use (to save on gas)
2025-07-09 14:32:43 -04:00
TAMARA LIPOWSKI
1b6a24fd75 fix: silence slither on native address setting
- We don't need a zero address check, since we expect this to be the zero address for most cases.
2025-07-09 12:21:12 -04:00
TAMARA LIPOWSKI
3752c155ea feat: Handle native ETH outputs
- In this case, the ETH needs to be manually transferred to the reactor.
- Native ETH input is not supported for UniswapX

Source:
https://support.uniswap.org/hc/en-us/articles/17544708791821-Are-there-network-costs-for-UniswapX
2025-07-09 12:21:12 -04:00
TAMARA LIPOWSKI
e243667f9e feat: (WIP) Handle approvals in UniswapXFiller
Reasons for using regular approvals instead of permit2:
- More simplicity, simpler setup
- Unfortunately we won't be able to "expire" approvals, which is a risk we may be okay with taking - since one advantage of this is that we will be able save on gas by not approving the reactor every single time (is this our intention?)

TODO:
- Do we really need input tokens to pass through our router?
- Handle native ETH (double check how this is transferred in the reactor)
2025-07-09 12:21:12 -04: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
Tamara
8098d7d372 Merge pull request #235 from propeller-heads/usx/tnl/ENG-4668-naive-callback
feat: UniswapXFiller callback - naive implementation
2025-07-09 08:10:45 -04:00
Tamara
8518a3a756 Merge branch 'main' into usx/tnl/ENG-4668-naive-callback 2025-07-09 08:06:57 -04: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
dianacarvalho1
5d7d0281f8 Merge pull request #236 from propeller-heads/router/dc/ENG-4611-update-executors-scripts-safe
feat: Upgrade scripts to submit to Safe wallet
2025-07-09 09:38:21 +01:00
dianacarvalho1
7a13f9e510 Merge branch 'main' into router/dc/ENG-4611-update-executors-scripts-safe 2025-07-09 09:35:15 +01:00
TAMARA LIPOWSKI
a2d123a263 fix: disable slither warnings
- locked-ether: We do have a withdraw method. Not sure why it doesn't register with slither. Already tried renaming.
- low-level-calls: This low level call is integral to the design of our filler contract.=
2025-07-08 14:00:17 -04:00
TAMARA LIPOWSKI
a114dfc9da feat: UniswapXFiller callback - naive implementation
Added testCallback + execution integration test with real onchain data
2025-07-08 12:05:15 -04:00
Diana Carvalho
ba60e4bb73 fix: Simplify nonceOffset logic
Set new role addresses for all chains

Took 1 hour 43 minutes
2025-07-08 16:55:41 +01: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
Tamara
19291fc0af Merge pull request #234 from propeller-heads/usx/tnl/ENG-4666-filler-skeleton
feat: UniswapXFiller skeleton
2025-07-08 10:29:27 -04:00
TAMARA LIPOWSKI
d61469ea67 fix: Make slither happy
Naming conventions (mixed case) for variables
2025-07-08 10:24:40 -04:00
TAMARA LIPOWSKI
00f22d62c1 feat: Take reactor address as input to UniswapXFiller
- Put reactor zero address check in separate line for more easy debugging.
- Also includes other small cosmetic changes.
2025-07-08 09:48:25 -04:00
Diana Carvalho
2733bb0072 feat: Upgrade scripts to submit to Safe wallet
Also add revoke-role.js script

Took 4 hours 0 minutes
2025-07-08 12:23:41 +01:00
TAMARA LIPOWSKI
ce1fe1dd94 feat: UniswapXFiller skeleton 2025-07-07 18:13:06 -04: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
dianacarvalho1
7015932414 Merge pull request #227 from propeller-heads/balancer-v3/dc/ENG-4425-deploy
feat: Deploy Balancer V3 executor
2025-07-07 12:04:16 +01:00
dianacarvalho1
c003197c42 Merge branch 'main' into balancer-v3/dc/ENG-4425-deploy 2025-07-07 12:00:51 +01:00
greendianasaur
bfe0693049 Merge pull request #233 from propeller-heads/dc/update-tenderly-project
chore: Use tycho project in tenderly
2025-07-04 13:18:47 +01:00
Diana Carvalho
0c01e61d50 chore: Use tycho project in tenderly
Took 15 minutes
2025-07-04 12:15:12 +01:00
greendianasaur
1e499e1e3b Merge branch 'main' into balancer-v3/dc/ENG-4425-deploy 2025-07-01 17:28:36 +01: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
greendianasaur
a290877a8e Merge pull request #218 from die-herdplatte/ekubo-mev-resist
feat: Ekubo MEV-resist integration
2025-07-01 17:06:06 +01:00
Diana Carvalho
3fe9906e5b feat: Deploy EkuboExecutor with MEV-resist
Took 31 minutes
2025-07-01 16:00:51 +01:00
greendianasaur
b82a7f947c Merge branch 'main' into ekubo-mev-resist 2025-07-01 15:44:30 +01: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
greendianasaur
df1e55200e Merge pull request #231 from propeller-heads/curve/dc/fix-log
fix: Use native token curve address and not regular zero address
2025-06-27 18:04:05 +01:00
Diana Carvalho
0f679d6e06 fix: Use native token curve address and not regular zero address
Took 18 minutes


Took 1 minute
2025-06-27 17:59:37 +01: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
greendianasaur
4ec6b2c729 Merge pull request #230 from propeller-heads/curve/dc/fix-log
fix: Fix wrong log in CurveEncoder
2025-06-27 10:03:04 +01:00
Diana Carvalho
312269dabb fix: Fix wrong log in CurveEncoder
Took 5 minutes
2025-06-27 09:39:13 +01:00
Diana Carvalho
f9ef8e0dbd feat: Deploy BebopExecutor
Took 40 minutes
2025-06-25 10:04:03 +01:00
die-herdplatte
5aaac2855e forge fmt 2025-06-24 17:42:28 +02:00
die-herdplatte
817aa35557 Merge remote-tracking branch 'upstream/main' into ekubo-mev-resist 2025-06-24 17:40:12 +02:00
Diana Carvalho
210d4fa604 fix: Fix test imports
I think the auto importer messed things up

Took 27 minutes
2025-06-24 16:35:47 +01:00
Diana Carvalho
266e30d1aa feat: Deploy Balancer V3 executor
Took 19 minutes
2025-06-24 11:52:12 +01:00
Diana Carvalho
01ab5d22b1 fix: Move Bebop tests according to new setup
Encoding: integration tests are now separate and inside their own test folder
Execution: the final integration test should be inside of the protocol test file now and not in TychoRouterProtocolIntegration.t.sol. For this I had to move the BebopExecutionHarness.t.sol outside of the Bebop test file (because of imports)

Took 24 minutes

# Commit time for manual adjustment:
# Took 2 minutes
2025-06-24 10:42:09 +01:00
Diana Carvalho
f1281eb703 Merge branch 'refs/heads/main' into feat/bebop-rfq-encoder-and-executor
# Conflicts:
#	foundry/test/TychoRouterProtocolIntegration.t.sol
#	foundry/test/TychoRouterTestSetup.sol
#	foundry/test/assets/calldata.txt
#	foundry/test/protocols/BebopExecutor.t.sol
#	src/encoding/evm/tycho_encoders.rs

Took 4 minutes
2025-06-24 10:17:33 +01:00
pedrobergamini
dcf992a25e chore: update calldata generation for testSingleBebopIntegration 2025-06-23 14:39:13 -03:00