Commit Graph

  • e62cc13c0b Move crates under substreams directory. kayibal 2024-03-13 23:31:08 +00:00
  • 29e5984a3a Add prelude; Move pb implementations. kayibal 2024-03-13 23:49:40 +00:00
  • ba2a4ced08 Use expect instead of unwrap. kayibal 2024-03-13 23:19:45 +00:00
  • cfdb31b0c5 Add documentation for the main methods added. kayibal 2024-03-13 23:12:30 +00:00
  • 312d322585 Add tycho pb type constructors. kayibal 2024-03-13 22:10:54 +00:00
  • 18e9dfcec4 Remove TransactionWrapper from SDK & Balancer. kayibal 2024-03-13 21:07:46 +00:00
  • d9fe9b1e1c Integrate balancer substream with sdk. kayibal 2024-03-13 21:06:55 +00:00
  • 3d248f3fa1 Implement helpers for relative balances. kayibal 2024-03-13 18:46:10 +00:00
  • 92f20d0521 Add shared tycho-substreams lib. kayibal 2024-03-11 20:08:10 +00:00
  • fdd43ad38e Merge pull request #15 from propeller-heads/ah/revert-localising-balance-deltas Alan Höng 2024-03-13 12:33:19 +00:00
  • 0d621a4545 Improve the naming of utils. kayibal 2024-03-13 12:28:10 +00:00
  • 4b2437dab6 Revert "Don't include balancer specific pb in tycho pbs." kayibal 2024-03-13 12:11:38 +00:00
  • 7601072e87 fix: encode component_id as UTF8 Florian Pellissier 2024-03-13 10:19:59 +01:00
  • 2a1b83f6c5 fix: index balance changes from Swap events Florian Pellissier 2024-03-12 22:53:30 +01:00
  • 38dcd9d843 fix: BalanceChange encoding Florian Pellissier 2024-03-12 12:51:26 +01:00
  • 1e546230de fix: map_balance_deltas pool_id check Florian Pellissier 2024-03-12 12:49:09 +01:00
  • a1864e3cd4 Don't include balancer specific pb in tycho pbs. kayibal 2024-03-11 19:10:28 +00:00
  • c283a81341 Make clippy happy Florian Pellissier 2024-03-11 18:32:42 +01:00
  • accfa074fd fix: filter out changes that aren't balancer related Florian Pellissier 2024-03-11 17:50:12 +01:00
  • 51275f0ccf fix: remove balancer factory from components' contracts Florian Pellissier 2024-03-11 17:46:52 +01:00
  • 66a048fbe2 refactor: update protobuf messages Florian Pellissier 2024-03-11 17:45:58 +01:00
  • ef098f8238 fix: curve substream issues 0xMochan 2024-03-07 17:00:32 -05:00
  • 249fe6eb4c feat: introducing maverick 0xMochan 2024-03-07 16:57:17 -05:00
  • b8d7f6686c Fix balancer substream naming Florian Pellissier 2024-03-07 15:39:07 +01:00
  • b3909a4140 GITBOOK-7: Specify byte encoding rules Alan Höng 2024-03-07 10:08:36 +00:00
  • 2a6093a994 fix: Review fixes and improvements domenicodev 2024-03-06 18:17:56 +01:00
  • 45f8aa1268 chore: Changed approve to safeIncreaseAllowance domenicodev 2024-03-04 10:11:15 +01:00
  • 3fabb48805 feat: Finalized tests domenicodev 2024-03-04 10:10:23 +01:00
  • 3f87d151df fix: liquidity 0xMochan 2024-03-01 18:50:48 -05:00
  • b1526efe94 Merge branch 'main' of https://github.com/propeller-heads/propeller-protocol-lib into feat/curve-maverick 0xMochan 2024-03-01 15:08:47 -05:00
  • cad782f467 curve 0xMochan 2024-03-01 14:41:00 -05:00
  • 9deddb5241 feat: Finalized tests domenicodev 2024-03-01 19:02:00 +01:00
  • 57dc954f0c fix: Fixed getLimits and improved swap domenicodev 2024-03-01 16:23:56 +01:00
  • 24682409c4 fix: Fixed swap function and initial tests domenicodev 2024-02-29 18:08:42 +01:00
  • 1064fbf7eb feat: Implemented swap domenicodev 2024-02-28 16:32:37 +01:00
  • 08917023e0 feat: Implemented getLimits domenicodev 2024-02-28 16:31:28 +01:00
  • 6cd57ebaf4 feat: Implemented price domenicodev 2024-02-28 12:38:59 +01:00
  • 0f3fe80b00 feat: Implemented internal swap functions and getAmountIn domenicodev 2024-02-28 12:07:57 +01:00
  • 61d4c4eb9f feat: Implemented helper functions and missing constants domenicodev 2024-02-27 12:11:04 +01:00
  • d4e9e213ae feat: Implemented getPoolIds domenicodev 2024-02-27 11:43:26 +01:00
  • de4c816570 feat: Implemented getTokens domenicodev 2024-02-27 11:42:21 +01:00
  • 76bc1f58ac feat: Initial Setup domenicodev 2024-02-27 11:40:56 +01:00
  • 3cf78c398e Merge pull request #8 from propeller-heads/fix/uniswapv2-adapter Alan Höng 2024-02-26 10:54:17 +00:00
  • be9ce6ffc1 fix: Fixed trade price in swap function for UniswapV2Adapter domenicodev 2024-02-22 18:38:12 +01:00
  • 58c56e2287 GITBOOK-6: Start documenting substreams integrations Alan Höng 2024-02-21 15:48:49 +00:00
  • 5301131720 Merge pull request #7 from propeller-heads/feat/ethereum-balancer Alan Höng 2024-02-07 10:56:06 -03:00
  • 10f2e04c02 fix: only emit balance changes if the component is tracked 0xMochan 2024-02-05 13:58:25 -05:00
  • 0a031d8bf5 fix: prune empty transaction protocol component groups from map_pools_created 0xMochan 2024-02-01 13:52:02 -05:00
  • e7b458cc01 feat: remove requests as a dep for get_abis.py script and add docs 0xMochan 2024-02-01 09:36:26 -05:00
  • c96eb068d7 refactor: adjust naming 0xMochan 2024-01-31 10:28:41 -05:00
  • 9f82671082 feat: lots of refactoring (file splitting 0xMochan 2024-01-29 11:11:06 -05:00
  • f781bc709d Merge pull request #5 from propeller-heads/feature/integral-adapter Alan Höng 2024-01-25 09:04:25 -03:00
  • f4f56ad42d fix: Solved merge conflicts domenicodev 2024-01-25 12:39:52 +01:00
  • 7dca13f9e0 fix: fixed price type in price function domenicodev 2024-01-25 11:53:40 +01:00
  • 8001e22674 fix: Set amountOutMin domenicodev 2024-01-25 11:51:04 +01:00
  • f18dce5c04 feat: Created AngleAdapter tests domenicodev 2024-01-25 11:50:02 +01:00
  • 4d56335f2e fix: naming errors in substreams.yaml 0xMochan 2024-01-24 16:42:22 -05:00
  • c6c41e5773 fix: code clean w/ clippy 0xMochan 2024-01-24 16:24:41 -05:00
  • d8ddc33f23 feat: ethereum-balancer implementation 0xMochan 2024-01-24 16:28:50 -05:00
  • a4f0f93e37 feat: Moved solidity imports and declarations to main adapter file domenicodev 2024-01-24 17:36:08 +01:00
  • 174c4e158a Revert "feat: Moved imports to main adapter file" domenicodev 2024-01-24 17:33:47 +01:00
  • 96915bd158 feat: Moved imports to main adapter file domenicodev 2024-01-24 17:33:10 +01:00
  • 8ef2f75fae fix: Increased RESERVE_LIMIT_FACTOR to prevent reverts domenicodev 2024-01-24 17:29:13 +01:00
  • 61bb75985c feat: Implemented getCapabilities domenicodev 2024-01-24 11:53:56 +01:00
  • 69eeec4385 fix: Fixed getPriceAt to obtain the correct prices domenicodev 2024-01-24 11:52:47 +01:00
  • 42ac2b1b60 feat: Added top comment explaining prices domenicodev 2024-01-24 11:21:35 +01:00
  • b589940dc9 fix: Removed console logs domenicodev 2024-01-23 19:07:32 +01:00
  • 16237824a5 fix: Fixed divisions in getLimits, added RESERVE_LIMIT_FACTOR as constant domenicodev 2024-01-23 19:06:02 +01:00
  • a4693f5300 feat: Implemented swap() domenicodev 2024-01-23 18:43:57 +01:00
  • 7c1e102f73 fix: Fixed getPoolIds not implemented text, improved gas in getLimits domenicodev 2024-01-23 16:58:29 +01:00
  • 339b0b17b9 fix: Fixed manifest.yaml domenicodev 2024-01-23 16:55:40 +01:00
  • ba289d5bd1 feat: Added imports in a different file as too long, implemented getLimits and getTokens domenicodev 2024-01-23 16:54:38 +01:00
  • 94644ac735 feat: Initial setup and price() function implementation domenicodev 2024-01-22 12:08:59 +01:00
  • 14ce015ac4 feat: Added comment about minLimits as requested domenicodev 2024-01-19 11:54:11 +01:00
  • 1cffd007ad fix: Moved getPriceAt() to bottom domenicodev 2024-01-18 11:06:13 +01:00
  • cf41c472c6 fix: Initial code review fixes domenicodev 2024-01-17 15:24:18 +01:00
  • 3d900e7500 Updated .gitgnore in main folder domenicodev 2024-01-08 18:26:39 +01:00
  • e8b3e14b3e Updated .gitignore domenicodev 2024-01-08 18:26:07 +01:00
  • 3d7d4f1a98 fix: Removed unused parameters from Contract domenicodev 2024-01-08 18:05:07 +01:00
  • a7ea4d3604 fix: Fixed and Improved tests domenicodev 2024-01-08 18:04:20 +01:00
  • 46e9a3dd0e feat: Added ConstantPrice capability domenicodev 2024-01-08 16:53:55 +01:00
  • 8798fc7313 fix: Removed internal _getLimits domenicodev 2024-01-08 16:48:07 +01:00
  • af7b9cd9a6 feat: Integrated SafeERC20 domenicodev 2024-01-08 16:43:03 +01:00
  • 37ea829592 fix: Fixed prices domenicodev 2024-01-08 16:29:55 +01:00
  • 3a2e620246 fix: Fixed Fractions domenicodev 2024-01-06 17:27:36 +01:00
  • c446a09caa Fixing testSwapFuzzIntegral mp-web3 2024-01-04 18:36:32 +01:00
  • af196d6793 fix: Removed unused reverts and constants domenicodev 2024-01-04 17:36:57 +01:00
  • bb28533951 fix: Fixed swap tests and limits calculations on IntegralSwapAdapter contract; feat: Added getTokens test mp-web3 2023-12-27 17:58:03 +01:00
  • b37ecaeeb0 Merge pull request #4 from propeller-heads/mp/ENG-2443-Move-Ambient-substreams-implementation-into-protocol-lib-repo pistomat 2023-12-22 16:36:22 +01:00
  • d7c7860347 Update substreams/Readme.md pistomat 2023-12-22 16:36:17 +01:00
  • 03686d0dff Update readmes pistomat 2023-12-22 11:33:12 +01:00
  • b46c662607 fix: Changed error code as per ISwapAdapter.sol definition domenicodev 2023-12-22 11:17:12 +01:00
  • cc1a17c889 fix: Fixed getLimits and address conversions domenicodev 2023-12-22 10:24:03 +01:00
  • 3141ef5b84 testGetCapabilitiesIntegral and testGetLimitsIntegral passed mp-web3 2023-12-21 18:59:22 +01:00
  • f139236ec3 testSwappSellIncreasingIntegral and testSwapBuyIncreasingIntegral failed mp-web3 2023-12-21 18:56:43 +01:00
  • d570d63e13 Merge pull request #3 from propeller-heads/mp/ENG-2443-Move-Ambient-substreams-implementation-into-protocol-lib-repo pistomat 2023-12-21 18:51:16 +01:00
  • 3453b72a3a testSwapFuzzIntegral fails at times mp-web3 2023-12-21 18:46:52 +01:00
  • 6a9cae7b0f testSwapSellUsdcIntegral failed, check AmountIn must be AmountIn + Fee mp-web3 2023-12-21 18:40:27 +01:00
  • 8b8f22f594 testSwapBuyWethIntegral passed mp-web3 2023-12-21 18:34:50 +01:00
  • d736631d52 testPriceDecreasing failing mp-web3 2023-12-21 18:32:10 +01:00