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
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
dfa731a93d
Remove IERC20 from ISwapAdapter and use SafeERC20 for IERC20
2024-03-27 13:14:24 +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
pistomat
1118502162
Implement adapter and test templates
2023-12-09 19:46:02 +01:00
pistomat
a7798374e1
Add more documentation and begin with templates
2023-12-07 17:44:47 +01:00
pistomat
9105b898d6
rename pairId to more general poolId
2023-12-06 15:12:43 +01:00
pistomat
223df970d3
Finish tests
2023-12-06 15:06:55 +01:00
pistomat
6097a32ab3
Fix BAL#304 MAX_IN_RATIO
2023-12-06 09:37:29 +01:00
pistomat
f3c0835552
Fix Uniswap tests and work on balancer test
2023-12-05 17:06:29 +01:00
pistomat
6c6525be2b
Balancer swap test
2023-12-05 11:39:15 +01:00
pistomat
7ffee9ac2e
Fix UniswapV2 tests
2023-12-04 13:52:23 +01:00
pistomat
0fa898c69d
WIP BalancerV2SwapAdapter getLimits
2023-12-01 14:00:15 +01:00
pistomat
092fce79f6
Refactor and add Balancer V2 stub
2023-12-01 13:10:29 +01:00