585 Commits

Author SHA1 Message Date
tim
5c930b1187 Liquidity Party execution 2025-12-10 14:47:04 -04:00
Diana Carvalho
e0cc25e166 fix: Forge fmt (after updating local foundry)
Took 6 minutes
2025-10-23 15:16:21 +01:00
TAMARA LIPOWSKI
2a1662f505 chore: forge fmt 2025-10-21 13:05:05 -04:00
TAMARA LIPOWSKI
23405350b6 test: Sequential Euler swap with low balance
- We want to check pools using RLUSD because the pool manager doesn't hold much of this token, so we can't rely on pre-existing balance before the user makes a swap. We want to test a sequential swap here to check our grouping logic still works on Euler pools which store the balances on a proxy contract.
2025-10-21 12:53:48 -04:00
Diana Carvalho
40ea447d2d fix: Forge fmt was going crazy in this function
It kept changing the formatting between two states and was never happy..

Took 4 minutes
2025-10-16 16:56:06 +01:00
Diana Carvalho
a82d0f2885 refactor: forge fmt (after foundry update)
Took 5 minutes


Took 8 seconds
2025-10-16 16:49:59 +01:00
Diana Carvalho
8c3483e971 fix: Add new address of uniswapv4 executor
Took 22 minutes


Took 28 seconds
2025-10-09 12:59:42 +02:00
Diana Carvalho
b83f7c41f6 fix: Support Euler in swapExactInput
Do the token transfers before calling swap on the pool manager

Took 13 minutes


Took 10 seconds
2025-10-09 12:05:53 +02:00
Diana Carvalho
d13b4d8586 fix: Hook and hook data are per pool! not per swap
This was a big bug that was blocking a grouped swap in uniswap v4 with hooks
Updated execution and encoding to match te fix

Took 49 minutes
2025-10-09 12:05:53 +02:00
Diana Carvalho
f82ae3b92a feat: Support Euler low balance single swaps (univ4)
Took 1 hour 34 minutes


Took 4 minutes
2025-10-09 12:05:53 +02:00
TAMARA LIPOWSKI
a50cc5ca7a chore: test rename, comment improvements 2025-10-07 12:49:15 +02:00
TAMARA LIPOWSKI
ae1b1f8850 fix: Don't PLE-encode for Ekubo
Our encoding uses PLE for subsequent swaps in a swap group. The EkuboExecutor assumes hard-coded hop length, which did not match the encoding side - leading to corrupted calldata in any swap after the first swap.
2025-10-07 12:27:25 +02:00
johnwhitton
17e115c77b Update v4-core and v4-periphery to latest version 2025-09-29 06:45:19 -07:00
adrian
299126da16 test: add tests to generate runtime bytecode for the executors 2025-09-09 11:58:39 +02:00
TAMARA LIPOWSKI
1a49e3f3f6 chore: merge main 2025-08-27 23:27:58 -04:00
adrian
09202b3170 refactor: remove user_data from bebop encoded data 2025-08-27 18:05:51 +02:00
TAMARA LIPOWSKI
eac45faf5a feat: Deploy new hashflow router 2025-08-25 12:54:05 -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
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
adrian
80853f7ba8 chore: remove unused entry in calldata.text 2025-08-21 14:19:09 +02: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
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
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
c974312a37 feat: Bebop executor in base 2025-08-18 18:23:32 -04:00
Diana Carvalho
72b60aa324 feat: Update BebopExecutor deployed address
Took 38 minutes
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
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
adrian
e03ecf48d5 feat: add hashflow executor 2025-08-14 10:42:51 +02:00
TAMARA LIPOWSKI
c9d09e9109 fix: Small safe wallet fixes 2025-08-13 17:38:54 -04: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
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