Commit Graph

26 Commits

Author SHA1 Message Date
Alan Höng
1885467616 Fix typo 2025-06-26 11:53:32 +01:00
kayibal
c31d4728cf docs: Clarify price as marginal price explicitly 2025-06-26 11:53:32 +01:00
kayibal
d49b3f59cb Add new SwapAdapter interface.
This new interface allos the pool id to exceed 32 bytes. Some protocol have more complex pool ids that exceed 32 bytes this adds support for these.

 Additionally, it allows passing additional data if required. This allows more sophisticated features such as fee reduction or potentially offchain data that is required during swap simulation.
2025-03-11 18:39:32 -05:00
kayibal
3a93a55a46 doc: fix formatting 2024-10-23 13:00:59 +01:00
kayibal
f129f217e5 docs: Document the meaning of limits array 2024-10-23 10:45:22 +01:00
kayibal
42f66c22cf docs: Document the meaning of limits array 2024-10-23 10:44:53 +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
034d5ac8c2 feat(adapters): Add new bytes parameter to swap
that allows arbitrary data to be passed
2024-08-02 11:55:00 -04: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
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
1118502162 Implement adapter and test templates 2023-12-09 19:46:02 +01:00
Michał D
194e7caa15 Small improvements to the docs 2023-12-08 16:59:09 +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
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
pistomat
316d1ffdb1 Reformat and remove redundant @dev notices 2023-12-01 10:31:16 +01:00
pistomat
6c4b65c39c Revert "Reformat and remove redundant @dev notices"
This reverts commit a141703520.
2023-12-01 10:30:56 +01:00
pistomat
a141703520 Reformat and remove redundant @dev notices 2023-11-29 12:55:56 +01:00