Commit Graph

172 Commits

Author SHA1 Message Date
0xMochan
df3508f05d remove: maverick (moved) 2024-05-09 11:27:40 -05:00
0xMochan
16b9bac3ce 🎉 2024-05-08 19:35:25 -05:00
0xMochan
ec07703090 valdiate: 3pool and steth-eth 2024-05-08 15:56:41 -05:00
0xMochan
7c49d3e813 fix: pool emitting 2024-05-07 10:16:22 -05:00
0xMochan
2d9ba502ca style: clippy 2024-05-02 19:00:51 -05:00
0xMochan
b036acefd2 more comments 2024-05-02 13:36:11 -05:00
0xMochan
51e05d5eb5 bugged remove liq deltas 2024-05-02 13:34:43 -05:00
0xMochan
126bd003a8 integrate remaining abis and clean up / comment some code 2024-05-02 13:34:11 -05:00
0xMochan
692579e930 abis + params 2024-05-02 03:18:58 -05: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
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
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
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
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
kayibal
e62cc13c0b Move crates under substreams directory.
This way we can run GHA jobs depending on what files changed.
2024-03-13 23:57:23 +00:00
kayibal
29e5984a3a Add prelude; Move pb implementations.
Else the implementations would get overwritten.
2024-03-13 23:49:40 +00:00
kayibal
ba2a4ced08 Use expect instead of unwrap. 2024-03-13 23:19:45 +00:00
kayibal
cfdb31b0c5 Add documentation for the main methods added. 2024-03-13 23:12:30 +00:00
kayibal
312d322585 Add tycho pb type constructors.
This allows us to remove a lot of unnecessary boilerplate code.
2024-03-13 23:02:14 +00:00
kayibal
18e9dfcec4 Remove TransactionWrapper from SDK & Balancer.
This type is not needed anymore.
2024-03-13 21:09:01 +00:00
kayibal
d9fe9b1e1c Integrate balancer substream with sdk.
We defer the contract storage extraction as well as the balance handling (apart from actually extracing relative deltas) to the SDK.
2024-03-13 21:06:55 +00:00
kayibal
3d248f3fa1 Implement helpers for relative balances.
Adds some helpers that will users help to convert relative balances changes to absolute ones.

The goal is to make this as reduce the effort of the user to  implementing a simple map handler that extracts relative balances changes.
2024-03-13 18:46:10 +00:00
kayibal
92f20d0521 Add shared tycho-substreams lib. 2024-03-13 12:34:35 +00:00
Alan Höng
fdd43ad38e Merge pull request #15 from propeller-heads/ah/revert-localising-balance-deltas
Revert localising balance deltas
2024-03-13 12:33:19 +00:00