Commit Graph

542 Commits

Author SHA1 Message Date
Florian Pellissier
51275f0ccf fix: remove balancer factory from components' contracts 2024-03-11 17:53:09 +01:00
Florian Pellissier
66a048fbe2 refactor: update protobuf messages 2024-03-11 17:52:46 +01:00
0xMochan
ef098f8238 fix: curve substream issues 2024-03-07 17:00:32 -05:00
0xMochan
249fe6eb4c feat: introducing maverick 2024-03-07 16:57:17 -05:00
Florian Pellissier
b8d7f6686c Fix balancer substream naming 2024-03-07 15:39:07 +01:00
Alan Höng
b3909a4140 GITBOOK-7: Specify byte encoding rules 2024-03-07 10:08:36 +00:00
domenicodev
2a6093a994 fix: Review fixes and improvements 2024-03-06 18:17:56 +01:00
domenicodev
45f8aa1268 chore: Changed approve to safeIncreaseAllowance 2024-03-04 10:11:15 +01:00
domenicodev
3fabb48805 feat: Finalized tests 2024-03-04 10:10:23 +01:00
0xMochan
3f87d151df fix: liquidity 2024-03-01 18:50:48 -05:00
0xMochan
b1526efe94 Merge branch 'main' of https://github.com/propeller-heads/propeller-protocol-lib into feat/curve-maverick 2024-03-01 15:08:47 -05:00
0xMochan
cad782f467 curve 2024-03-01 14:41:00 -05:00
domenicodev
9deddb5241 feat: Finalized tests 2024-03-01 19:02:00 +01:00
domenicodev
57dc954f0c fix: Fixed getLimits and improved swap 2024-03-01 16:23:56 +01:00
domenicodev
24682409c4 fix: Fixed swap function and initial tests 2024-02-29 18:08:42 +01:00
domenicodev
1064fbf7eb feat: Implemented swap 2024-02-28 16:32:37 +01:00
domenicodev
08917023e0 feat: Implemented getLimits 2024-02-28 16:31:28 +01:00
domenicodev
6cd57ebaf4 feat: Implemented price 2024-02-28 12:38:59 +01:00
domenicodev
0f3fe80b00 feat: Implemented internal swap functions and getAmountIn 2024-02-28 12:07:57 +01:00
domenicodev
61d4c4eb9f feat: Implemented helper functions and missing constants 2024-02-27 12:11:04 +01:00
domenicodev
d4e9e213ae feat: Implemented getPoolIds 2024-02-27 11:43:26 +01:00
domenicodev
de4c816570 feat: Implemented getTokens 2024-02-27 11:42:21 +01:00
domenicodev
76bc1f58ac feat: Initial Setup 2024-02-27 11:40:56 +01:00
Alan Höng
3cf78c398e Merge pull request #8 from propeller-heads/fix/uniswapv2-adapter
fix: Fixed trade price in swap function for UniswapV2Adapter
2024-02-26 10:54:17 +00:00
domenicodev
be9ce6ffc1 fix: Fixed trade price in swap function for UniswapV2Adapter 2024-02-22 18:38:12 +01:00
Alan Höng
58c56e2287 GITBOOK-6: Start documenting substreams integrations 2024-02-21 15:48:49 +00:00
Alan Höng
5301131720 Merge pull request #7 from propeller-heads/feat/ethereum-balancer
ethereum-balancer substream
2024-02-07 10:56:06 -03:00
0xMochan
10f2e04c02 fix: only emit balance changes if the component is tracked 2024-02-05 13:58:25 -05:00
0xMochan
0a031d8bf5 fix: prune empty transaction protocol component groups from map_pools_created 2024-02-01 13:52:02 -05:00
0xMochan
e7b458cc01 feat: remove requests as a dep for get_abis.py script and add docs 2024-02-01 09:36:26 -05:00
0xMochan
c96eb068d7 refactor: adjust naming 2024-01-31 10:28:41 -05:00
0xMochan
9f82671082 feat: lots of refactoring (file splitting
- `lib.rs` split into multiple files with `modules.rs` being the main entrypoint for substreams
- contract changes are tracked similiarly to ambient (generalized to use a store of tracked contracts)
- static attributes were pruned of the dynamic ones
2024-01-29 11:12:27 -05:00
Alan Höng
f781bc709d Merge pull request #5 from propeller-heads/feature/integral-adapter
Feature/integral adapter
2024-01-25 09:04:25 -03:00
domenicodev
f4f56ad42d fix: Solved merge conflicts 2024-01-25 12:39:52 +01:00
domenicodev
7dca13f9e0 fix: fixed price type in price function 2024-01-25 11:53:40 +01:00
domenicodev
8001e22674 fix: Set amountOutMin 2024-01-25 11:51:04 +01:00
domenicodev
f18dce5c04 feat: Created AngleAdapter tests 2024-01-25 11:50:02 +01:00
0xMochan
4d56335f2e fix: naming errors in substreams.yaml 2024-01-24 16:42:22 -05:00
0xMochan
c6c41e5773 fix: code clean w/ clippy 2024-01-24 16:28:58 -05:00
0xMochan
d8ddc33f23 feat: ethereum-balancer implementation 2024-01-24 16:28:50 -05:00
domenicodev
a4f0f93e37 feat: Moved solidity imports and declarations to main adapter file 2024-01-24 17:36:08 +01:00
domenicodev
174c4e158a Revert "feat: Moved imports to main adapter file"
This reverts commit 96915bd158.
2024-01-24 17:33:47 +01:00
domenicodev
96915bd158 feat: Moved imports to main adapter file 2024-01-24 17:33:10 +01:00
domenicodev
8ef2f75fae fix: Increased RESERVE_LIMIT_FACTOR to prevent reverts 2024-01-24 17:29:13 +01:00
domenicodev
61bb75985c feat: Implemented getCapabilities 2024-01-24 11:53:56 +01:00
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