Commit Graph

397 Commits

Author SHA1 Message Date
domenicodev
69eeec4385 fix: Fixed getPriceAt to obtain the correct prices 2024-01-24 11:52:47 +01:00
domenicodev
42ac2b1b60 feat: Added top comment explaining prices 2024-01-24 11:21:35 +01:00
domenicodev
b589940dc9 fix: Removed console logs 2024-01-23 19:07:32 +01:00
domenicodev
16237824a5 fix: Fixed divisions in getLimits, added RESERVE_LIMIT_FACTOR as constant 2024-01-23 19:06:02 +01:00
domenicodev
a4693f5300 feat: Implemented swap() 2024-01-23 18:43:57 +01:00
domenicodev
7c1e102f73 fix: Fixed getPoolIds not implemented text, improved gas in getLimits 2024-01-23 16:58:29 +01:00
domenicodev
339b0b17b9 fix: Fixed manifest.yaml 2024-01-23 16:55:40 +01:00
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
3d900e7500 Updated .gitgnore in main folder 2024-01-08 18:26:39 +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
pistomat
b37ecaeeb0 Merge pull request #4 from propeller-heads/mp/ENG-2443-Move-Ambient-substreams-implementation-into-protocol-lib-repo
Update from last PR review
2023-12-22 16:36:22 +01:00
pistomat
d7c7860347 Update substreams/Readme.md
Co-authored-by: Michał D <michcio1234@gmail.com>
2023-12-22 16:36:17 +01:00
pistomat
03686d0dff Update readmes 2023-12-22 11:33:12 +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
pistomat
d570d63e13 Merge pull request #3 from propeller-heads/mp/ENG-2443-Move-Ambient-substreams-implementation-into-protocol-lib-repo
Substreams integration docs
2023-12-21 18:51:16 +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
pistomat
e9ebf6f0c6 Add modules reference to docs 2023-12-21 16:43:23 +01:00
pistomat
071f02f856 Update readmes and add upstream changes 2023-12-21 16:37:57 +01:00
pistomat
761698769a Upstream changes for proto 2023-12-21 15:47:49 +01:00
domenicodev
5e7d39fa7a fix: fixed submit deadline and transfers on sell and buy functions 2023-12-21 10:08:22 +01:00
pistomat
0f3a5b819c Add substreams integration template, readmes 2023-12-20 18:12:41 +01:00
pistomat
5f87b1d0af Add a simple top level readme 2023-12-20 14:44:06 +01:00
pistomat
8a7271bc59 Clone proto and substreams from tycho-indexer 2023-12-20 14:29:26 +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