162 Commits

Author SHA1 Message Date
domenicodev
ba289d5bd1 feat: Added imports in a different file as too long, implemented getLimits and getTokens 2024-01-23 16:54:38 +01:00
domenicodev
94644ac735 feat: Initial setup and price() function implementation 2024-01-22 12:08:59 +01:00
domenicodev
14ce015ac4 feat: Added comment about minLimits as requested 2024-01-19 11:54:11 +01:00
domenicodev
1cffd007ad fix: Moved getPriceAt() to bottom 2024-01-18 11:06:13 +01:00
domenicodev
cf41c472c6 fix: Initial code review fixes 2024-01-17 15:24:18 +01:00
domenicodev
e8b3e14b3e Updated .gitignore 2024-01-08 18:26:07 +01:00
domenicodev
3d7d4f1a98 fix: Removed unused parameters from Contract 2024-01-08 18:05:07 +01:00
domenicodev
a7ea4d3604 fix: Fixed and Improved tests 2024-01-08 18:04:20 +01:00
domenicodev
46e9a3dd0e feat: Added ConstantPrice capability 2024-01-08 16:53:55 +01:00
domenicodev
8798fc7313 fix: Removed internal _getLimits 2024-01-08 16:48:07 +01:00
domenicodev
af7b9cd9a6 feat: Integrated SafeERC20 2024-01-08 16:43:03 +01:00
domenicodev
37ea829592 fix: Fixed prices 2024-01-08 16:29:55 +01:00
domenicodev
3a2e620246 fix: Fixed Fractions 2024-01-06 17:27:36 +01:00
mp-web3
c446a09caa Fixing testSwapFuzzIntegral 2024-01-04 18:36:32 +01:00
domenicodev
af196d6793 fix: Removed unused reverts and constants 2024-01-04 17:36:57 +01:00
mp-web3
bb28533951 fix: Fixed swap tests and limits calculations on IntegralSwapAdapter contract; feat: Added getTokens test 2023-12-27 17:58:03 +01:00
domenicodev
b46c662607 fix: Changed error code as per ISwapAdapter.sol definition 2023-12-22 11:17:12 +01:00
domenicodev
cc1a17c889 fix: Fixed getLimits and address conversions 2023-12-22 10:24:03 +01:00
mp-web3
3141ef5b84 testGetCapabilitiesIntegral and testGetLimitsIntegral passed 2023-12-21 18:59:22 +01:00
mp-web3
f139236ec3 testSwappSellIncreasingIntegral and testSwapBuyIncreasingIntegral failed 2023-12-21 18:56:43 +01:00
mp-web3
3453b72a3a testSwapFuzzIntegral fails at times 2023-12-21 18:46:52 +01:00
mp-web3
6a9cae7b0f testSwapSellUsdcIntegral failed, check AmountIn must be AmountIn + Fee 2023-12-21 18:40:27 +01:00
mp-web3
8b8f22f594 testSwapBuyWethIntegral passed 2023-12-21 18:34:50 +01:00
mp-web3
d736631d52 testPriceDecreasing failing 2023-12-21 18:32:10 +01:00
mp-web3
6c3eeff329 testPriceFuzzIntegral 2023-12-21 18:29:02 +01:00
mp-web3
87193425a8 added IntegralSwapAdapterFix.sol and set up IntegralSwapAdapter.t.sol 2023-12-21 18:22:55 +01:00
domenicodev
c470b2a20e fix: Fixed limits 2023-12-21 17:43:07 +01:00
domenicodev
5e7d39fa7a fix: fixed submit deadline and transfers on sell and buy functions 2023-12-21 10:08:22 +01:00
domenicodev
2565b3eba5 Added missing desc in swap function 2023-12-19 16:35:41 +01:00
domenicodev
cd8e9c61b3 fix: Improved SWAP_DEADLINE_SEC comment text 2023-12-19 11:43:00 +01:00
domenicodev
5686e19402 feat: Implemented swap with buy and sell functions 2023-12-15 20:32:16 +01:00
domenicodev
878f788a50 feat: Implemented price 2023-12-15 10:02:13 +01:00
domenicodev
b08963ece0 fix: changed integral manifest address to Integral Relayer address 2023-12-14 17:23:40 +01:00
domenicodev
ed8166fc95 feat: Implemented getLimits 2023-12-14 16:59:40 +01:00
domenicodev
4e519cf213 feat: Added Relayer in constructor and as main target contract 2023-12-14 16:56:45 +01:00
domenicodev
d993e110d1 fix: typos, inheritance errors and missing overrides 2023-12-14 16:43:16 +01:00
domenicodev
06e86bdb9b feat: created initial IntegralSwapAdapter test file 2023-12-14 12:58:27 +01:00
domenicodev
2decec2bd3 feat: Implemented getCapabilities 2023-12-14 10:30:03 +01:00
domenicodev
54c8253371 feat: Implemented getTokens 2023-12-14 10:29:04 +01:00
domenicodev
d9a1102c32 feat: Implemented getPoolIds 2023-12-13 18:13:30 +01:00
domenicodev
b8794fd3a4 feat: added documentation, manifests and initial libraries for Integral support 2023-12-13 18:11:58 +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
b7b750de38 Rename pairFunctions to adapter 2023-12-06 15:13:16 +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
f581b0d958 Fix getAmountIn bug always returning 0 2023-12-05 14:32:35 +01:00