1442 Commits

Author SHA1 Message Date
adrian
58bb3d7bdb test: move TychoRouterSingleSwapTestForHashflow to hashflow file 2025-08-21 13:11:13 +02:00
adrian
a5b6865698 test: revert import reordering 2025-08-21 13:11:13 +02:00
adrian
c506f2c048 fix: in hashflow's encode_swap, fail early if router address is not present 2025-08-21 13:11:13 +02:00
adrian
2b9f9a99f2 test: remove partial_fill_offset from MockRFQState 2025-08-21 13:11:13 +02:00
adrian
77de0d892a test: add sequential swap tests for hashflow 2025-08-21 13:11:13 +02:00
adrian
a09d648f3c fix: in HashflowExecutor, _balanceOf must use trader address instead of the executor's to get the balance 2025-08-21 13:11:13 +02:00
adrian
93db953c62 feat: implement SwapEncoder for Hashflow 2025-08-21 13:11:13 +02:00
TAMARA LIPOWSKI
a2a53195ed feat: Use Arc instead of & for protocol_state in Swap
- dealing with lifetimes makes refactoring painful for our users.
2025-08-20 15:25:16 -04:00
semantic-release-bot
2a68dd117b chore(release): 0.116.0 [skip ci]
## [0.116.0](https://github.com/propeller-heads/tycho-execution/compare/0.115.0...0.116.0) (2025-08-19)

### Features

* Bebop executor in base ([c974312](c974312a37))
* Support Bebop quote through IndicativelyPriced state ([2292061](22920617eb))
* Update BebopExecutor deployed address ([72b60aa](72b60aa324))

### Bug Fixes

* Add bebop to protocol specific addresses ([6e68d19](6e68d199c9))
* Implement From<SimulationError> for EncodingError ([987956e](987956eb0b))
2025-08-19 08:20:50 +00:00
dianacarvalho1
471f1e575f Merge pull request #251 from propeller-heads/rfq/dc/ENG-4696-request-code-in-encoding
feat: Support Bebop quote through IndicativelyPriced state
2025-08-19 09:18:04 +01:00
TAMARA LIPOWSKI
6e68d199c9 fix: Add bebop to protocol specific addresses 2025-08-18 18:46:38 -04:00
TAMARA LIPOWSKI
c974312a37 feat: Bebop executor in base 2025-08-18 18:23:32 -04:00
Diana Carvalho
987956eb0b fix: Implement From<SimulationError> for EncodingError
Took 6 minutes
2025-08-18 09:50:12 +01:00
Diana Carvalho
72b60aa324 feat: Update BebopExecutor deployed address
Took 38 minutes
2025-08-14 17:46:26 +01:00
Diana Carvalho
0df328ee87 chore: Fix comment and error message
Took 12 minutes


Took 15 seconds
2025-08-14 17:46:26 +01:00
Diana Carvalho
22920617eb feat: Support Bebop quote through IndicativelyPriced state
Made a new feature gate (test-utils) for MockRFQState

Took 2 hours 19 minutes
2025-08-14 13:01:40 +01:00
semantic-release-bot
6d88d0a144 chore(release): 0.115.0 [skip ci]
## [0.115.0](https://github.com/propeller-heads/tycho-execution/compare/0.114.0...0.115.0) (2025-08-14)

### Features

* Deploy BebopExecutor ([f9ef8e0](f9ef8e0dbd))
* implement encoder and executor with single order support ([7e7e3f0](7e7e3f0e01))
* support multi and aggregate orders ([ad0a999](ad0a9991da))

### Bug Fixes

* After merge fixes with SwapBuilder ([d301dfc](d301dfcc44))
* After merging main fixes ([003ab7c](003ab7cea8))
* **Bebop:** Fix AggregateOrder tests ([7024da3](7024da395d))
* **Bebop:** Fix encoding and tests ([e793478](e79347842f))
* cargo and forge fmt ([17e5354](17e535494b))
* Fix test imports ([210d4fa](210d4fa604))
* Move Bebop tests according to new setup ([01ab5d2](01ab5d22b1))
* SafeCast => V4SafeCast to fix build issue ([946c439](946c4391e8))
* Simplify the BebopExecutor and fix Single tests ([76a09d0](76a09d0402))
2025-08-14 09:25:39 +00:00
dianacarvalho1
dea8560f0b Merge pull request #212 from pedrobergamini/feat/bebop-rfq-encoder-and-executor
feat: Bebop PMM RFQ
2025-08-14 10:23:50 +01:00
Diana Carvalho
d301dfcc44 fix: After merge fixes with SwapBuilder
Took 4 minutes
2025-08-14 10:03:32 +01:00
Diana Carvalho
914bc69485 test: Remove unnecessary setup in Bebop.t.sol
Took 6 minutes
2025-08-14 09:59:07 +01:00
Diana Carvalho
7a5ee8b57b Merge branch 'refs/heads/main' into feat/bebop-rfq-encoder-and-executor 2025-08-14 09:58:21 +01:00
semantic-release-bot
948662d5d3 chore(release): 0.114.0 [skip ci]
## [0.114.0](https://github.com/propeller-heads/tycho-execution/compare/0.113.0...0.114.0) (2025-08-14)

### Features

* add hashflow executor ([e03ecf4](e03ecf48d5))
2025-08-14 08:44:32 +00:00
adrian
e03ecf48d5 feat: add hashflow executor 2025-08-14 10:42:51 +02:00
semantic-release-bot
45ec4021e5 chore(release): 0.113.0 [skip ci]
## [0.113.0](https://github.com/propeller-heads/tycho-execution/compare/0.112.2...0.113.0) (2025-08-14)

### Features

* Add estimated_amount_in to Swap. Add SwapBuilder ([5eb9973](5eb9973dbd))
2025-08-14 08:23:42 +00:00
dianacarvalho1
0129657021 Merge pull request #250 from propeller-heads/rfq/dc/ENG-4794-add-estimated-amout-in-to-swap
feat: Add estimated_amount_in to Swap. Add SwapBuilder
2025-08-14 09:22:01 +01:00
TAMARA LIPOWSKI
d7e377e443 feat: Update UniswapV4 executor addresses 2025-08-13 17:39:04 -04:00
TAMARA LIPOWSKI
c9d09e9109 fix: Small safe wallet fixes 2025-08-13 17:38:54 -04:00
Diana Carvalho
5eb9973dbd feat: Add estimated_amount_in to Swap. Add SwapBuilder
Use SwapBuilder everywhere inside crate
Integration tests will be done later

--- don't change below this line ---
ENG-4696 Took 1 hour 56 minutes

Took 4 minutes
2025-08-13 18:05:17 +01:00
Diana Carvalho
cf0921076f chore: Remove unnecessary entries in calldata.txt
Took 5 minutes
2025-08-13 15:43:10 +01:00
Diana Carvalho
83a44b4d46 test(Bebop): Add a test selling ETH
Took 14 minutes
2025-08-13 15:35:36 +01:00
Diana Carvalho
e79347842f fix(Bebop): Fix encoding and tests
Misc: Fix revert condition in UniswapXFiller

Took 1 hour 20 minutes
2025-08-13 15:11:43 +01:00
Diana Carvalho
7024da395d fix(Bebop): Fix AggregateOrder tests
Delete BebopExecutionHarness.t.sol

Took 53 minutes
2025-08-12 18:38:10 +01:00
Diana Carvalho
76a09d0402 fix: Simplify the BebopExecutor and fix Single tests
Make specific quotes that are expected to be used by the TychoRouter for the tests. Do not use the BebopHarness
Commented out Aggregate tests

Took 6 hours 40 minutes
2025-08-12 16:11:42 +01:00
pedrobergamini
ee3d0cc060 chore: Update BebopExecutionHarness 2025-08-10 18:06:08 -03:00
pedrobergamini
29dc960a63 chore: fix encoding 2025-08-10 17:24:29 -03:00
pedrobergamini
97a961ecb8 chore: fix single encoding bebop tests 2025-08-10 16:59:06 -03:00
pedrobergamini
30a5bd0585 chore: fix single encoding issue 2025-08-10 16:58:12 -03:00
pedrobergamini
712d863368 chore: cleanup tech debt from Bebop tests and the execution harness 2025-08-08 12:28:24 -03:00
pedrobergamini
7f8e1e6e3b chore: assert exact eth balance at aggregate test 2025-08-08 12:00:12 -03:00
pedrobergamini
a76c35d95e chore: resolve merge conflicts 2025-08-08 11:41:00 -03:00
pedrobergamini
c0d49f95ad chore: commit progress so far on test fixing 2025-08-08 11:35:43 -03:00
pedrobergamini
196900b749 chore: update encoder 2025-08-08 11:35:34 -03:00
Diana Carvalho
003ab7cea8 fix: After merging main fixes
Took 10 minutes
2025-08-08 14:54:40 +01:00
Diana Carvalho
42609df650 Merge branch 'refs/heads/main' into feat/bebop-rfq-encoder-and-executor
# Conflicts:
#	config/executor_addresses.json
#	foundry/scripts/deploy-executors.js
#	foundry/test/TychoRouterSequentialSwap.t.sol
#	foundry/test/assets/calldata.txt
#	src/encoding/models.rs
#	tests/common/mod.rs

Took 21 minutes
2025-08-08 14:40:03 +01:00
semantic-release-bot
616b588fc8 chore(release): 0.112.2 [skip ci]
## [0.112.2](https://github.com/propeller-heads/tycho-execution/compare/0.112.1...0.112.2) (2025-08-07)

### Bug Fixes

* Encode sequential swaps with unwrapping WETH correctly ([c42a5da](c42a5dae6a))
2025-08-07 08:21:10 +00:00
dianacarvalho1
48d527cce6 Merge pull request #248 from propeller-heads/encoding/dc/fix-sequential-unwrap-eth
fix: Encode sequential swaps with unwrapping WETH correctly
2025-08-07 09:18:35 +01:00
Diana Carvalho
c42a5dae6a fix: Encode sequential swaps with unwrapping WETH correctly
Took 24 minutes


Took 1 minute

Took 24 seconds
2025-08-06 18:02:24 +01:00
dianacarvalho1
93c4b5eb9a Merge pull request #247 from propeller-heads/router/dc/add-audit-report
docs: Add 2nd audit report for TychoRouter
2025-08-06 17:50:28 +01:00
Diana Carvalho
c5f3355935 docs: Add 2nd audit report for TychoRouter
Took 8 minutes
2025-08-06 09:54:14 +01:00
pedrobergamini
1336eb5f90 chore: start implementing test changes related to partialFillOffset and encoded receiver 2025-08-05 22:45:48 -03:00