661 Commits

Author SHA1 Message Date
pistomat
9ba2286826 Merge pull request #23 from propeller-heads/mp/formatting
Fix the format check CI
2024-04-13 10:12:41 +00:00
pistomat
c49d78a2d9 Merge pull request #12 from propeller-heads/feature/etherfi-adapter
Etherfi adapter
2024-04-13 10:12:13 +00:00
pistomat
fbc2b004e5 Merge pull request #24 from propeller-heads/mp/use-safe-erc20
Remove IERC20 from ISwapAdapter and use SafeERC20 for IERC20
2024-04-13 10:11:46 +00:00
0xMochan
a66c9a3965 docs, better error messages, ish 2024-04-11 19:52:32 -05:00
0xMochan
7c75c8d3d6 Initial pools.rs function for handling custom parameters 2024-04-11 19:41:56 -05:00
domenicodev
0ae7fd2ed0 updated manifest 2024-04-05 17:56:43 +02:00
domenicodev
21a2ecac28 fix: Review Fixes 2024-04-05 17:53:50 +02:00
0xMochan
8dcae829b5 fix: maverick 2024-04-01 23:03:05 -05:00
0xMochan
373ac1036c fix: further fixes 2024-04-01 14:53:17 -05:00
0xMochan
462cd29b49 fix: update substream.yaml 2 2024-03-29 15:06:09 -05:00
0xMochan
ed36d98d90 fix: update substream.yaml 2024-03-29 14:57:28 -05:00
0xMochan
2feee8add6 sdk: update to latest sdk 2024-03-29 14:55:31 -05:00
pistomat
6133e950ca Merge pull request #20 from propeller-heads/feature/angle-adapter
Angle Adapter
2024-03-28 15:05:31 +01:00
0xMochan
448a153c6e Merge branch 'main' of https://github.com/propeller-heads/propeller-protocol-lib into feat/curve-maverick 2024-03-27 18:21:27 -04:00
Ale personal
5ce93956ff improve: Add docstring to the swap and price functions of Angle 2024-03-27 17:09:15 +01:00
Ale personal
f2afca9b28 fix: Update manifest of Angle 2024-03-27 16:58:24 +01:00
Ale personal
17954c3ffe fix: Change output number of Angle capabilities from 3 to 2 2024-03-27 15:33:40 +01:00
Alessandro Bergamaschi
113afd04fb Update evm/src/angle/AngleAdapter.sol
Co-authored-by: pistomat <pistomat@users.noreply.github.com>
2024-03-27 15:28:47 +01:00
Alessandro Bergamaschi
115c7c26cc Update evm/src/angle/AngleAdapter.sol
Co-authored-by: pistomat <pistomat@users.noreply.github.com>
2024-03-27 15:28:34 +01:00
Ale personal
81106d75f5 improve: Optimize sell function of Angle adapter 2024-03-27 15:24:15 +01:00
Alessandro Bergamaschi
2d21f988dd Update evm/src/angle/AngleAdapter.sol
Co-authored-by: pistomat <pistomat@users.noreply.github.com>
2024-03-27 15:09:58 +01:00
Ale personal
77843d0695 fix: Update manifest of Angle 2024-03-27 15:08:24 +01:00
Ale personal
045fa1cc0d improve: Change ITransmuter from abstract contract to interface 2024-03-27 14:59:07 +01:00
pistomat
dfa731a93d Remove IERC20 from ISwapAdapter and use SafeERC20 for IERC20 2024-03-27 13:14:24 +01:00
pistomat
66e25d1a09 fix the format check CI 2024-03-27 11:17:12 +01:00
pistomat
c1143c2601 Merge pull request #22 from propeller-heads/mp/formatting
Formatting
2024-03-27 10:53:09 +01:00
pistomat
9b9146c23b feat: add format check to evm CI 2024-03-27 10:43:17 +01:00
pistomat
87c0c8baba chore: forge fmt 2024-03-27 10:43:02 +01:00
pistomat
3dc290c3df Formatting 2024-03-27 10:31:00 +01:00
Alan Höng
9e62d1f6ae Merge pull request #19 from propeller-heads/zz/fix-balancer
Fix bugs in balance substreams
2024-03-25 23:28:43 +00:00
0xMochan
2a85ca849b changes 2024-03-22 14:34:08 -04:00
Ale personal
bce771b253 Merge branch 'main' into feature/angle-adapter 2024-03-16 19:47:04 +01:00
Ale personal
511ca59f59 feat: Improve adapter and tests 2024-03-16 19:45:15 +01:00
Florian Pellissier
3895a3332c Fix bugs in balance substreams 2024-03-15 17:38:36 +01:00
Alan Höng
4ca484eebc Merge pull request #18 from propeller-heads/ah/template-and-docs
Update template and docs
2024-03-14 14:07:06 +00:00
kayibal
d972da244f Remove outdated readme. Add docs about releasing. 2024-03-14 13:05:06 +00:00
kayibal
2e77405342 Update ethereum-template
Remove unecessary pb module, import models from tycho-substreams instead.

Integrate package directly into workspace.
2024-03-14 12:53:12 +00:00
kayibal
3b51123311 Normalise module names for balancer.
This way the module names are in sync with the gitbook docs.
2024-03-14 12:52:29 +00:00
Alan Höng
c1347f3504 Merge pull request #17 from propeller-heads/ah/clip-balances-at-zero
Clip balances at zero.
2024-03-14 11:10:49 +00:00
kayibal
e70d5f0e86 Clip balances at 0.
In case we get negative balances, which happens sometimes e.g. in balancer and seems to be due to some rounding issues within the protocol, we simply clip the balance at 0 so we never emit negative balances as tycho-indexer the upstream system will interpret the balance bytes as unsigned integers.
2024-03-14 11:04:41 +00:00
Alan Höng
d72efb41d9 Merge pull request #16 from propeller-heads/ah/ci-and-cd
CI & CD for Substreams
2024-03-14 10:54:58 +00:00
Alan Höng
bc4a7a1085 Merge pull request #14 from propeller-heads/ah/factor-tycho-substreams
Add shared tycho-substreams lib.
2024-03-14 10:54:24 +00:00
Alan Höng
d10c4e3ea3 Merge pull request #13 from propeller-heads/zz/fix-balancer-substream-naming
WIP: Balancer Substream integration fixes
2024-03-14 10:50:33 +00:00
kayibal
3f5a74260d Adjust and uncomment s3 path. 2024-03-14 09:34:28 +00:00
kayibal
f88fb952b0 Add substreams cli installation.
Comment out S3 upload for now.
2024-03-14 02:10:53 +00:00
kayibal
2288e12032 Implement a substreams CD 2024-03-14 02:03:59 +00:00
kayibal
b0fe5bc4e1 Add github CI for substreams 2024-03-14 02:03:59 +00:00
kayibal
981a091727 Add check and release scripts.
Had to slightly adjust package names to make this work.
2024-03-14 01:24:43 +00:00
kayibal
6b6e42e2f8 Run rustfmt 2024-03-14 00:27:52 +00:00
kayibal
425628ae97 Create a workspace and make clippy happy. 2024-03-14 00:19:54 +00:00