Commit Graph

613 Commits

Author SHA1 Message Date
Diana Carvalho
02a9da183e feat: Deploy executors and set them in router
--- don't change below this line ---
ENG-4101 Took 59 minutes


Took 10 seconds
2025-02-26 09:49:00 +00:00
Diana Carvalho
90cf194869 feat: Set roles script
Added a roles.json file where we can define all the addresses that need roles

--- don't change below this line ---
ENG-4101 Took 42 seconds
2025-02-26 09:49:00 +00:00
Diana Carvalho
77ba9498a7 feat: Verify router contract on tenderly
Fix package.json

--- don't change below this line ---
ENG-4101 Took 34 minutes
2025-02-26 09:49:00 +00:00
Diana Carvalho
cbea0bdab3 feat: Add deployment and fund wallet scripts
--- don't change below this line ---
ENG-4101 Took 1 hour 2 minutes


Took 2 minutes

Took 8 minutes

Took 4 minutes

Took 28 minutes
2025-02-26 09:49:00 +00:00
semantic-release-bot
08f72e7138 chore(release): 0.51.2 [skip ci]
## [0.51.2](https://github.com/propeller-heads/tycho-execution/compare/0.51.1...0.51.2) (2025-02-26)

### Bug Fixes

* Restrict receive callers to have code ([801976f](801976fafa))
2025-02-26 09:45:34 +00:00
dianacarvalho1
0b7e5a7caf Merge pull request #83 from propeller-heads/router/dc/ENG-4260-improve-receive
fix: Restrict receive callers to have code
2025-02-26 09:42:47 +00:00
dianacarvalho1
6008d5e836 Merge branch 'main' into router/dc/ENG-4260-improve-receive 2025-02-26 09:40:58 +00:00
semantic-release-bot
614af9ada7 chore(release): 0.51.1 [skip ci]
## [0.51.1](https://github.com/propeller-heads/tycho-execution/compare/0.51.0...0.51.1) (2025-02-25)
2025-02-25 18:35:20 +00:00
Tamara
419528a991 Merge pull request #84 from propeller-heads/router/tnl/ENG-4250-ascii-art
style: TychoRouter ascii art
2025-02-25 13:32:35 -05:00
TAMARA LIPOWSKI
857522134b chore: forge fmt
kill blank lines
2025-02-25 13:14:30 -05:00
TAMARA LIPOWSKI
abef1e062e style: TychoRouter ascii art 2025-02-25 13:10:29 -05:00
Diana Carvalho
801976fafa fix: Restrict receive callers to have code
--- don't change below this line ---
ENG-4260 Took 8 minutes
2025-02-25 09:36:04 +00:00
semantic-release-bot
dd6b1151b2 chore(release): 0.51.0 [skip ci]
## [0.51.0](https://github.com/propeller-heads/tycho-execution/compare/0.50.0...0.51.0) (2025-02-24)

### Features

* hardcode callback and swap selection in dispatcher ([58116e0](58116e074a))
* rm selector from usv3, usv4, update tests, and rename dispatcher file ([69745b1](69745b18fd))

### Bug Fixes

* usv4 integration tests and remove selector from swap/strategy encoder ([18efe03](18efe0305b))
2025-02-24 17:00:47 +00:00
Harsh Vardhan Roy
6276158af1 Merge pull request #82 from propeller-heads/router/hr/ENG-4262-hardcode-callback-swap-selector
feat: hardcode callback and swap selection in dispatcher
2025-02-24 22:27:55 +05:30
royvardhan
0e049b7c44 chore: rm selector from Transaction 2025-02-24 22:20:51 +05:30
royvardhan
892726e07b chore: cleanup 2025-02-24 21:41:19 +05:30
royvardhan
bfaa63a1a0 test: fix router tests with new integration calldata 2025-02-24 21:37:40 +05:30
royvardhan
570aa50497 test: fix encoder tests after removing the selector 2025-02-24 20:48:55 +05:30
royvardhan
18efe0305b fix: usv4 integration tests and remove selector from swap/strategy encoder 2025-02-24 19:48:25 +05:30
royvardhan
69745b18fd feat: rm selector from usv3, usv4, update tests, and rename dispatcher file 2025-02-24 17:16:27 +05:30
royvardhan
58116e074a feat: hardcode callback and swap selection in dispatcher 2025-02-24 10:56:17 +05:30
semantic-release-bot
d859a7ea97 chore(release): 0.50.0 [skip ci]
## [0.50.0](https://github.com/propeller-heads/tycho-execution/compare/0.49.0...0.50.0) (2025-02-22)

### Features

* add target verification for usv2 and usv3  using _computePairAddress ([7936ba1](7936ba1c94))
2025-02-22 03:35:19 +00:00
Harsh Vardhan Roy
8843f9725a Merge pull request #80 from propeller-heads/router/hr/ENG-4258-verify-valid-target 2025-02-22 09:02:19 +05:30
royvardhan
f4f5b841e7 chore: keep test naming consistent 2025-02-22 01:39:11 +05:30
royvardhan
4b77128df2 chore: rename _computePairAddress to _verifyPairAddress, add fake v2 pool in v2 test file 2025-02-22 00:26:15 +05:30
royvardhan
40bd37a1a4 chore: rm redundant usv3 test 2025-02-21 23:28:03 +05:30
royvardhan
2f1507dd0e test: add target verification tests for usv2, usv3 2025-02-21 23:28:03 +05:30
royvardhan
7936ba1c94 feat: add target verification for usv2 and usv3 using _computePairAddress 2025-02-21 23:28:03 +05:30
semantic-release-bot
2241c50df1 chore(release): 0.49.0 [skip ci]
## [0.49.0](https://github.com/propeller-heads/tycho-execution/compare/0.48.1...0.49.0) (2025-02-21)

### Features

* Use openzepplin's sendValue instead of send for ETH transfers ([0ba5d02](0ba5d02268))
2025-02-21 17:56:12 +00:00
dianacarvalho1
53a231f280 Merge pull request #79 from propeller-heads/router/dc/ENG-4260-improve-receive
fix: Miscellaneous small changes
2025-02-21 17:54:12 +00:00
Diana Carvalho
0ba5d02268 feat: Use openzepplin's sendValue instead of send for ETH transfers
--- don't change below this line ---
ENG-4260 Took 7 minutes
2025-02-21 17:07:46 +00:00
Diana Carvalho
530c86dbf3 chore: Remove LICENSE
We are working on a special license format for tycho-execution. For now we can't have any license

--- don't change below this line ---
ENG-4260 Took 51 seconds


Took 31 minutes

Took 59 seconds
2025-02-21 17:07:46 +00:00
Harsh Vardhan Roy
562aad6992 Merge pull request #75 from propeller-heads/encoder/hr/ENG-4245-strategy-swap-encoder-docs
docs: add docs for TychoEncoder, StrategyEncoder and SwapEncoder traits
2025-02-21 20:25:36 +05:30
Harsh Vardhan Roy
38110d0f5f Merge branch 'main' into encoder/hr/ENG-4245-strategy-swap-encoder-docs 2025-02-21 20:23:48 +05:30
semantic-release-bot
ec423290d2 chore(release): 0.48.1 [skip ci]
## [0.48.1](https://github.com/propeller-heads/tycho-execution/compare/0.48.0...0.48.1) (2025-02-21)

### Bug Fixes

* Native ETH input/output integration tests/fixes ([a7aa4d7](a7aa4d7ebb))
2025-02-21 14:52:13 +00:00
Harsh Vardhan Roy
63ce121cf9 Merge branch 'main' into encoder/hr/ENG-4245-strategy-swap-encoder-docs 2025-02-21 20:20:26 +05:30
Tamara
9778f935c4 Merge pull request #78 from propeller-heads/encoding/tnl/ENG-4259-native-eth-integration
fix: Native ETH input/output integration tests/fixes
2025-02-21 09:50:22 -05:00
TAMARA LIPOWSKI
023ae9c1ea chore: merge main 2025-02-21 09:48:22 -05:00
TAMARA LIPOWSKI
c42421718b docs: Fix typos in code comments 2025-02-21 09:44:21 -05:00
semantic-release-bot
be1e679e51 chore(release): 0.48.0 [skip ci]
## [0.48.0](https://github.com/propeller-heads/tycho-execution/compare/0.47.0...0.48.0) (2025-02-21)

### Features

* Adapt SplitSwapStrategyEncoder to have optional permit2 logic ([20e6419](20e6419a20))
* Implement Clone for EVMTychoEncoder ([8b2af4f](8b2af4f577))
* Update tycho-core ([c6c734d](c6c734d494))
2025-02-21 09:43:43 +00:00
dianacarvalho1
ac561e5953 Merge pull request #77 from propeller-heads/encoding/dc/ENG-4255-no-permit2
feat: Adapt SplitSwapStrategyEncoder to have optional permit2 logic
2025-02-21 09:40:54 +00:00
TAMARA LIPOWSKI
a7aa4d7ebb fix: Native ETH input/output integration tests/fixes
- Only for single swaps
- Used USV4 for this because it's the only DEX we support that allows native ETH swaps
- For Native ETH input single swaps, we need to properly check the remaining amount (we were treating them wronly like ERC20 tokens)
- For Native ETH output single swaps, we were passing the incorrect currency (the settle always needs to be the out token and the take always needs to be the in token, this should not depend on the zeroForOne value).
2025-02-21 00:23:24 -05:00
Diana Carvalho
918bc27e39 chore: Don't call Chain TychoCoreChain unnecessarily
--- don't change below this line ---
ENG-4255 Took 2 minutes
2025-02-20 18:31:28 +00:00
Diana Carvalho
8b2af4f577 feat: Implement Clone for EVMTychoEncoder
--- don't change below this line ---
ENG-4255 Took 6 minutes
2025-02-20 18:29:14 +00:00
Diana Carvalho
c6c734d494 feat: Update tycho-core
--- don't change below this line ---
ENG-4255 Took 7 minutes
2025-02-20 18:29:14 +00:00
Diana Carvalho
20e6419a20 feat: Adapt SplitSwapStrategyEncoder to have optional permit2 logic
- If the signer_pk is not passed -> use the swap method that expects the tokens to be already in the Router
- If it is passed -> compute permit2 and use swap method that does the token in transfer
- Extend builder to have another shortcut
- Add integration test with contract
- Update bin (and simplified it) and quickstart

--- don't change below this line ---
ENG-4255 Took 1 hour 51 minutes

Took 2 minutes

Took 7 seconds
2025-02-20 18:29:11 +00:00
royvardhan
4b20a1164b docs: add docs for TychoEncoder, StrategyEncoder and SwapEncoder traits 2025-02-20 23:40:53 +05:30
semantic-release-bot
30a7d5bbe4 chore(release): 0.47.0 [skip ci]
## [0.47.0](https://github.com/propeller-heads/tycho-execution/compare/0.46.1...0.47.0) (2025-02-20)

### Features

* Don't encode min amount for USV4 ([d65d575](d65d575003))
* UniswapV4 integration test and fixes ([45fdfc7](45fdfc708d))

### Bug Fixes

* Pass proper group tokens in EncodingContext... ([81c8a04](81c8a04cbb))
2025-02-20 17:39:03 +00:00
Tamara
f615844480 Merge pull request #73 from propeller-heads/router/tnl/ENG-4253-usv4-integration
feat: UniswapV4 integration test and fixes
2025-02-20 12:36:46 -05:00
Tamara
cae05e837e Merge branch 'main' into router/tnl/ENG-4253-usv4-integration 2025-02-20 12:34:47 -05:00