Commit Graph

118 Commits

Author SHA1 Message Date
Diana Carvalho
a6caf84f55 feat: Add execution for curve
- Add CurveSwapStructEncoder and tests
- Add CurveSwapExecutorExposed and tests
  - Add needed interfaces

#time 0m


#time 0m

#time 0m
2024-09-05 13:19:31 +01:00
Diana Carvalho
e49af99b1f chore: Add BalancerSwapExecutor 2024-08-23 18:24:34 +01:00
Diana Carvalho
299a872160 feat(ISwapExecutor): Add ISwapExecutor and docs 2024-08-22 16:17:06 +01:00
Pierre
b3e3672172 Revert "ENG-3406: Add new bytes parameter to swap" 2024-08-08 22:24:35 +02:00
PierreMkt
07ca52b2ff chore(adapters): Address PR review
keep mock data as empty bytes
2024-08-05 13:56:28 -04:00
PierreMkt
36c7e94e00 Merge branch 'refs/heads/main' into pm/eng-3406-add-swap-bytes-param 2024-08-05 10:44:55 -04:00
czanella
9411fc2b67 Discount fees from USV2 getPriceAt logic
add marginal price capability
2024-08-03 10:53:25 +01:00
PierreMkt
6f41147f91 feat(adapters): decode reduceFee bool from bytes data
TODO: apply reduce fee logic
2024-08-02 12:49:37 -04:00
PierreMkt
034d5ac8c2 feat(adapters): Add new bytes parameter to swap
that allows arbitrary data to be passed
2024-08-02 11:55:00 -04:00
kayibal
ac22ed583f fix(balancer): Support ComposableStablePools on SwapAdapter.
Add support for CSP pools. The main issue here was that Limits for BPT tokens would be too high since the pool has the complete supply of the token preminted.

Not quite sure if the limit for buying the BPT token is set correctly but I guess you can try to buy the whole supply.
2024-07-29 15:25:30 +01:00
czanella
1f509897ef Make balance hard limits work correctly. Add back capability 2024-07-19 10:27:36 +01:00
czanella
260fd7fbb5 Address PR review 2024-07-19 09:16:42 +01:00
czanella
772566c590 Add marginal price capability and update integration tests
Balancer now passes the test
Some misc aesthetics
2024-07-18 16:12:50 +01:00
czanella
5831aecc96 Implement adapter integration test and use it on uniswap and balancer 2024-07-17 15:03:31 +01:00
Louise Poole
45dc7aa457 Fix prices function 2024-04-15 17:41:16 +01:00
Louise Poole
306293764c Fix tests 2024-04-15 16:56:19 +01:00
Louise Poole
98857be305 Fix balancer price and capabilities 2024-04-15 16:18:48 +01:00
pistomat
54e4c9f92e chore: forge fmt 2024-04-13 11:11:34 +00:00
pistomat
1738ca7bd2 Fix merge issues 2024-04-13 11:11:20 +00:00
pistomat
9ba2286826 Merge pull request #23 from propeller-heads/mp/formatting
Fix the format check CI
2024-04-13 10:12:41 +00:00
pistomat
c49d78a2d9 Merge pull request #12 from propeller-heads/feature/etherfi-adapter
Etherfi adapter
2024-04-13 10:12:13 +00:00
pistomat
fbc2b004e5 Merge pull request #24 from propeller-heads/mp/use-safe-erc20
Remove IERC20 from ISwapAdapter and use SafeERC20 for IERC20
2024-04-13 10:11:46 +00:00
domenicodev
0ae7fd2ed0 updated manifest 2024-04-05 17:56:43 +02:00
domenicodev
21a2ecac28 fix: Review Fixes 2024-04-05 17:53:50 +02:00
pistomat
6133e950ca Merge pull request #20 from propeller-heads/feature/angle-adapter
Angle Adapter
2024-03-28 15:05:31 +01:00
Ale personal
5ce93956ff improve: Add docstring to the swap and price functions of Angle 2024-03-27 17:09:15 +01:00
Ale personal
f2afca9b28 fix: Update manifest of Angle 2024-03-27 16:58:24 +01:00
Ale personal
17954c3ffe fix: Change output number of Angle capabilities from 3 to 2 2024-03-27 15:33:40 +01:00
Alessandro Bergamaschi
113afd04fb Update evm/src/angle/AngleAdapter.sol
Co-authored-by: pistomat <pistomat@users.noreply.github.com>
2024-03-27 15:28:47 +01:00
Alessandro Bergamaschi
115c7c26cc Update evm/src/angle/AngleAdapter.sol
Co-authored-by: pistomat <pistomat@users.noreply.github.com>
2024-03-27 15:28:34 +01:00
Ale personal
81106d75f5 improve: Optimize sell function of Angle adapter 2024-03-27 15:24:15 +01:00
Alessandro Bergamaschi
2d21f988dd Update evm/src/angle/AngleAdapter.sol
Co-authored-by: pistomat <pistomat@users.noreply.github.com>
2024-03-27 15:09:58 +01:00
Ale personal
77843d0695 fix: Update manifest of Angle 2024-03-27 15:08:24 +01:00
Ale personal
045fa1cc0d improve: Change ITransmuter from abstract contract to interface 2024-03-27 14:59:07 +01:00
pistomat
dfa731a93d Remove IERC20 from ISwapAdapter and use SafeERC20 for IERC20 2024-03-27 13:14:24 +01:00
pistomat
66e25d1a09 fix the format check CI 2024-03-27 11:17:12 +01:00
pistomat
87c0c8baba chore: forge fmt 2024-03-27 10:43:02 +01:00
pistomat
3dc290c3df Formatting 2024-03-27 10:31:00 +01:00
Ale personal
bce771b253 Merge branch 'main' into feature/angle-adapter 2024-03-16 19:47:04 +01:00
Ale personal
511ca59f59 feat: Improve adapter and tests 2024-03-16 19:45:15 +01:00
domenicodev
2a6093a994 fix: Review fixes and improvements 2024-03-06 18:17:56 +01:00
domenicodev
45f8aa1268 chore: Changed approve to safeIncreaseAllowance 2024-03-04 10:11:15 +01:00
domenicodev
57dc954f0c fix: Fixed getLimits and improved swap 2024-03-01 16:23:56 +01:00
domenicodev
24682409c4 fix: Fixed swap function and initial tests 2024-02-29 18:08:42 +01:00
domenicodev
1064fbf7eb feat: Implemented swap 2024-02-28 16:32:37 +01:00
domenicodev
08917023e0 feat: Implemented getLimits 2024-02-28 16:31:28 +01:00
domenicodev
6cd57ebaf4 feat: Implemented price 2024-02-28 12:38:59 +01:00
domenicodev
0f3fe80b00 feat: Implemented internal swap functions and getAmountIn 2024-02-28 12:07:57 +01:00
domenicodev
61d4c4eb9f feat: Implemented helper functions and missing constants 2024-02-27 12:11:04 +01:00
domenicodev
d4e9e213ae feat: Implemented getPoolIds 2024-02-27 11:43:26 +01:00