Commit Graph

1359 Commits

Author SHA1 Message Date
TAMARA LIPOWSKI
2c38cf84fc fix: access hooks attr, not hook
This was a discrepancy between indexer and execution.
2025-08-21 17:41:03 -04:00
TAMARA LIPOWSKI
ea9a1a88ca fix: revert hooks rename
- Instead, add a new attribute to the builder, constants, and executor addresses json
- This was a miscommunication. Regular pools will still have the same name - only those with hooks will have hook appended to it
2025-08-21 17:40:28 -04:00
TAMARA LIPOWSKI
03414532c6 chore: merge main 2025-08-21 14:31:05 -04:00
TAMARA LIPOWSKI
c1d88be329 feat: rename "uniswap_v4" to "uniswap_v4_hooks"
to match the indexer
2025-08-21 14:00:01 -04:00
semantic-release-bot
e45a0fef95 chore(release): 0.119.0 [skip ci]
## [0.119.0](https://github.com/propeller-heads/tycho-execution/compare/0.118.0...0.119.0) (2025-08-21)

### Features

* Add BytecodeExporter to TestUtils ([cea964e](cea964e0a5))
2025-08-21 17:28:31 +00:00
dianacarvalho1
f2d0bd3567 Merge pull request #256 from propeller-heads/dc/save-executor-bytecode-to-file
feat: Add exportRuntimeBytecode() to TestUtils
2025-08-21 18:21:20 +01:00
Diana Carvalho
cea964e0a5 feat: Add BytecodeExporter to TestUtils
Add example usage for BalancerV2

Took 2 hours 27 minutes


Took 10 seconds
2025-08-21 17:44:07 +01:00
semantic-release-bot
cc9801ff91 chore(release): 0.118.0 [skip ci]
## [0.118.0](https://github.com/propeller-heads/tycho-execution/compare/0.117.0...0.118.0) (2025-08-21)

### Features

* Use Arc instead of & for protocol_state in Swap ([a2a5319](a2a53195ed))

### Bug Fixes

* Updates to new datatype after merging main ([e9c1a39](e9c1a39608))
2025-08-21 15:09:08 +00:00
Tamara
d49e86f91c Merge pull request #254 from propeller-heads/rfqs/tnl/ENG-4798-arc-protocol-state
feat: Use Arc instead of & for protocol_state in Swap
2025-08-21 11:07:01 -04:00
TAMARA LIPOWSKI
e9c1a39608 fix: Updates to new datatype after merging main 2025-08-21 11:03:01 -04:00
Tamara
acb93c0fe6 Merge branch 'main' into rfqs/tnl/ENG-4798-arc-protocol-state 2025-08-21 10:43:50 -04:00
adrian
80853f7ba8 chore: remove unused entry in calldata.text 2025-08-21 14:19:09 +02:00
semantic-release-bot
3aad792663 chore(release): 0.117.0 [skip ci]
## [0.117.0](https://github.com/propeller-heads/tycho-execution/compare/0.116.0...0.117.0) (2025-08-21)

### Features

* implement `SwapEncoder` for `Hashflow` ([93db953](93db953c62))

### Bug Fixes

* in bebop's encode_swap, fail early if router address is not present ([c013bf7](c013bf7072))
* in hashflow's encode_swap, fail early if router address is not present ([c506f2c](c506f2c048))
* in HashflowExecutor, _balanceOf must use `trader` address instead of the executor's to get the balance ([a09d648](a09d648f3c))
2025-08-21 11:13:06 +00:00
adrian
f4d3fe75e8 test: fix executor tests after removing the effectiveTrader field 2025-08-21 13:11:13 +02:00
adrian
52c91a12b8 refactor: remove effectiveTrader from calldata and always set it to trader's value 2025-08-21 13:11:13 +02:00
adrian
5c5678f291 test: update hashflow sequential swap test 2025-08-21 13:11:13 +02:00
adrian
81e6a6ea93 chore: forge fmt 2025-08-21 13:11:13 +02:00
adrian
c013bf7072 fix: in bebop's encode_swap, fail early if router address is not present 2025-08-21 13:11:13 +02:00
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