Commit Graph

943 Commits

Author SHA1 Message Date
Diana Carvalho
5c28d77f1d feat: Check min amount out is not zero
Update tests

--- don't change below this line ---
ENG-4286 Took 57 minutes


Took 20 seconds
2025-03-05 17:53:51 +00:00
semantic-release-bot
9eb10e63df chore(release): 0.59.0 [skip ci]
## [0.59.0](https://github.com/propeller-heads/tycho-execution/compare/0.58.2...0.59.0) (2025-03-05)

### Features

* add transferFrom in swap and move core swap logic inside _swapChecked ([f853739](f853739a3d))

### Bug Fixes

* TychoRouter swap check test naming and docs ([7833086](7833086425))
2025-03-05 17:08:55 +00:00
dianacarvalho1
dbfacd1fa4 Merge pull request #100 from propeller-heads/router/hr/ENG-4298-min-amount-out-transfer-from
feat: add safeTransferFrom in swap and move core swap logic inside _swapChecked
2025-03-05 17:06:46 +00:00
royvardhan
7833086425 fix: TychoRouter swap check test naming and docs 2025-03-05 22:23:16 +05:30
Harsh Vardhan Roy
2086484898 docs: remove unnecessary comment from swap
Co-authored-by: Tamara <tamara@datarevenue.com>
2025-03-05 22:23:16 +05:30
royvardhan
f853739a3d feat: add transferFrom in swap and move core swap logic inside _swapChecked 2025-03-05 22:23:16 +05:30
semantic-release-bot
16c57f6aa6 chore(release): 0.58.2 [skip ci]
## [0.58.2](https://github.com/propeller-heads/tycho-execution/compare/0.58.1...0.58.2) (2025-03-05)

### Bug Fixes

* Make permit2 permit an action in the universal router ([db9c8cd](db9c8cde5a))
2025-03-05 16:08:56 +00:00
Harsh Vardhan Roy
7be1ce4b59 Merge pull request #92 from propeller-heads/router/hr/ENG-4280-gas-test
test: add GasTest to compare with Universal Router gas usage
2025-03-05 21:35:45 +05:30
Harsh Vardhan Roy
013113c4d9 Merge branch 'main' into router/hr/ENG-4280-gas-test 2025-03-05 21:32:40 +05:30
semantic-release-bot
2ad846ed27 chore(release): 0.58.1 [skip ci]
## [0.58.1](https://github.com/propeller-heads/tycho-execution/compare/0.58.0...0.58.1) (2025-03-04)

### Bug Fixes

* add amountIn in error TychoRouter__AmountInDiffersFromConsumed ([a3bffd4](a3bffd4f75))
* inequality check for amountConsumed and amountIn ([6f421eb](6f421eb374))
2025-03-04 19:23:30 +00:00
Harsh Vardhan Roy
5f0d2afee3 Merge pull request #99 from propeller-heads/router/hr/ENG-4291-amount-consumed-check 2025-03-05 00:50:44 +05:30
royvardhan
a3bffd4f75 fix: add amountIn in error TychoRouter__AmountInDiffersFromConsumed 2025-03-05 00:45:22 +05:30
royvardhan
6f421eb374 fix: inequality check for amountConsumed and amountIn 2025-03-05 00:35:51 +05:30
TAMARA LIPOWSKI
bc54eac110 feat: Rename Etherscan in deployment verification
This could also be Basescan. Abstract away to blockchain explorer.
2025-03-03 17:14:39 -05:00
Diana Carvalho
db9c8cde5a fix: Make permit2 permit an action in the universal router
--- don't change below this line ---
ENG-4286 Took 1 hour 35 minutes
2025-03-03 18:33:22 +00:00
semantic-release-bot
ceef683202 chore(release): 0.58.0 [skip ci]
## [0.58.0](https://github.com/propeller-heads/tycho-execution/compare/0.57.0...0.58.0) (2025-03-03)

### Features

* Rename ETH_RPC_URL -> RPC_URL ([9bb0d9b](9bb0d9bc84))
2025-03-03 16:50:21 +00:00
Tamara
f5150028e3 Merge pull request #95 from propeller-heads/encoding/tnl/chain-agnostic-rpc
feat: Rename ETH_RPC_URL -> RPC_URL
2025-03-03 11:48:16 -05:00
Tamara
bf3910831f Merge branch 'main' into encoding/tnl/chain-agnostic-rpc 2025-03-03 11:33:51 -05:00
semantic-release-bot
2e1a5aaf45 chore(release): 0.57.0 [skip ci]
## [0.57.0](https://github.com/propeller-heads/tycho-execution/compare/0.56.0...0.57.0) (2025-03-03)

### Features

* Rename shortcut methods of encoder builder ([6f572ee](6f572eed01))
2025-03-03 16:25:04 +00:00
dianacarvalho1
f0f476e510 Merge pull request #96 from propeller-heads/encoding/dc/ENG-4286-rename-default-functions-builder
feat: Rename shortcut methods of encoder builder
2025-03-03 16:22:18 +00:00
Diana Carvalho
6f572eed01 feat: Rename shortcut methods of encoder builder
Also moved executors_file_path to be an independent attribute

--- don't change below this line ---
ENG-4286 Took 19 minutes
2025-03-03 12:59:42 +00:00
TAMARA LIPOWSKI
9bb0d9bc84 feat: Rename ETH_RPC_URL -> RPC_URL
We support multiple chains so this may not just be ETH, but perhaps a Base URL for example.
2025-02-28 14:03:26 -05:00
Harsh Vardhan Roy
d3e0e066fa Merge branch 'main' into router/hr/ENG-4280-gas-test 2025-03-01 00:11:34 +05:30
royvardhan
ec8d59eeae test: remove gas usage numbers from GasTest 2025-03-01 00:09:15 +05:30
dianacarvalho1
5a2474c0f4 Merge pull request #94 from propeller-heads/dc/ENG-4261-clean-up-read-me
docs: Clean up readme and rename quickstart->encoding example
2025-02-28 16:39:17 +00:00
dianacarvalho1
4028551ba3 Merge branch 'main' into dc/ENG-4261-clean-up-read-me 2025-02-28 16:37:08 +00:00
royvardhan
6f69748ba4 test: update gas usage numbers in GasTest 2025-02-28 22:02:21 +05:30
semantic-release-bot
b569a0ad85 chore(release): 0.56.0 [skip ci]
## [0.56.0](https://github.com/propeller-heads/tycho-execution/compare/0.55.0...0.56.0) (2025-02-28)

### Features

* update base executor addresses ([bc47c12](bc47c12a1a))

### Bug Fixes

* make USV2 factory configurable in Executor ([33973a6](33973a65b8))
2025-02-28 14:00:31 +00:00
Tamara
988df06331 Merge pull request #93 from propeller-heads/router/tnl/configurable-usv2-factory
fix: make USV2 factory configurable in Executor
2025-02-28 08:57:07 -05:00
Diana Carvalho
36d2f23fba docs: Clean up readme and rename quickstart->encoding example
--- don't change below this line ---
ENG-4261 Took 17 minutes
2025-02-28 09:57:06 +00:00
royvardhan
5db95781e5 test: add isPermit2 bool in GasTest for readability 2025-02-28 10:11:04 +05:30
TAMARA LIPOWSKI
bc47c12a1a feat: update base executor addresses 2025-02-27 23:31:38 -05:00
TAMARA LIPOWSKI
33973a65b8 fix: make USV2 factory configurable in Executor
- This factory is not the same for Ethereum and Base, so Base txs were failing when verifying pool addresses.
- I've double checked that we don't have this problem for Balancer V2 - the vault address in the same on Base and on Ethereum Mainnet.
2025-02-27 23:15:08 -05:00
royvardhan
9014fc7383 test: add permit2 tests for simple swaps in TychoRouter and GasTest 2025-02-28 00:40:56 +05:30
royvardhan
35e706d6ea test: add GasTest to compare with Universal Router gas usage 2025-02-28 00:40:56 +05:30
semantic-release-bot
4b08910344 chore(release): 0.55.0 [skip ci]
## [0.55.0](https://github.com/propeller-heads/tycho-execution/compare/0.54.0...0.55.0) (2025-02-27)

### Features

* Change license to SPDX-License-Identifier: UNLICENSED everywhere ([59eb219](59eb2195b6))
* Deploy to mainnet (again) ([fedc504](fedc5043db))
* Deploy to mainnet. Update all addresses ([3d65ac8](3d65ac8cd9))
* Verify contracts on etherscan ([79045e2](79045e2689))
2025-02-27 18:05:36 +00:00
dianacarvalho1
6a1e78ad8c Merge pull request #91 from propeller-heads/router/dc/ENG-4251-verify-on-etherscan
feat: Verify contracts on etherscan
2025-02-27 18:03:43 +00:00
Diana Carvalho
fedc5043db feat: Deploy to mainnet (again)
--- don't change below this line ---
ENG-4260 Took 22 minutes
2025-02-27 18:01:15 +00:00
Diana Carvalho
59eb2195b6 feat: Change license to SPDX-License-Identifier: UNLICENSED everywhere
Remove unnecessary files

--- don't change below this line ---
ENG-4260 Took 13 minutes
2025-02-27 17:38:53 +00:00
Diana Carvalho
3d65ac8cd9 feat: Deploy to mainnet. Update all addresses
--- don't change below this line ---
ENG-4260 Took 27 minutes


Took 10 seconds
2025-02-27 17:25:54 +00:00
Diana Carvalho
79045e2689 feat: Verify contracts on etherscan
--- don't change below this line ---
ENG-4260 Took 31 minutes
2025-02-27 15:52:32 +00:00
semantic-release-bot
87e7394b0a chore(release): 0.54.0 [skip ci]
## [0.54.0](https://github.com/propeller-heads/tycho-execution/compare/0.53.1...0.54.0) (2025-02-27)

### Features

* Deploy all executors ([f95c74f](f95c74fbc6))

### Bug Fixes

* Add a value to the Transaction if token in is ETH ([05a1843](05a1843f9c))
* Get correct runtime everywhere ([6a6f2d3](6a6f2d3221))
* the key for univ4 fee is key_lp_fee ([9eb4299](9eb4299ffe))
2025-02-27 15:04:59 +00:00
dianacarvalho1
28353fa5c5 Merge pull request #90 from propeller-heads/router/dc/deploy-executors
fix: Miscellaneous fixes
2025-02-27 15:02:58 +00:00
Diana Carvalho
d011c4b475 Merge branch 'refs/heads/main' into router/dc/deploy-executors 2025-02-27 15:00:17 +00:00
semantic-release-bot
ce14e7a52c chore(release): 0.53.1 [skip ci]
## [0.53.1](https://github.com/propeller-heads/tycho-execution/compare/0.53.0...0.53.1) (2025-02-27)

### Bug Fixes

* remove 0 amount check in _unwrapEth ([0273f58](0273f58274))
2025-02-27 14:47:13 +00:00
Harsh Vardhan Roy
7b06707d4a Merge pull request #89 from propeller-heads/router/hr/ENG-4277-refactor-unwrapeth
refactor: remove unnecessary checks from _unwrapEth
2025-02-27 20:14:31 +05:30
royvardhan
0273f58274 fix: remove 0 amount check in _unwrapEth 2025-02-27 20:08:49 +05:30
Harsh Vardhan Roy
393ed61595 docs: update _unwrapEth docs
Co-authored-by: Tamara <tamara@datarevenue.com>
2025-02-27 20:08:49 +05:30
royvardhan
353861f738 refactor: update unwrapEth to only check 0 amount 2025-02-27 20:08:49 +05:30
Diana Carvalho
05a1843f9c fix: Add a value to the Transaction if token in is ETH
not only if the action is unwrap

--- don't change below this line ---
ENG-4260 Took 11 minutes
2025-02-27 12:39:16 +00:00