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
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
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
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
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
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
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
0d621a4545
Improve the naming of utils.
2024-03-13 12:29:41 +00:00
kayibal
4b2437dab6
Revert "Don't include balancer specific pb in tycho pbs."
...
This reverts commit a1864e3c .
We will actually make the balance delta messages part of the tycho packages since this makes a few things simpler when trying to factor out an sdk.
2024-03-13 12:11:38 +00:00
Florian Pellissier
7601072e87
fix: encode component_id as UTF8
2024-03-13 10:19:59 +01:00
Florian Pellissier
2a1b83f6c5
fix: index balance changes from Swap events
2024-03-12 22:53:30 +01:00
Florian Pellissier
38dcd9d843
fix: BalanceChange encoding
2024-03-12 12:51:26 +01:00
Florian Pellissier
1e546230de
fix: map_balance_deltas pool_id check
2024-03-12 12:49:09 +01:00
kayibal
a1864e3cd4
Don't include balancer specific pb in tycho pbs.
2024-03-11 19:10:28 +00:00
Florian Pellissier
c283a81341
Make clippy happy
2024-03-11 18:32:42 +01:00
Florian Pellissier
accfa074fd
fix: filter out changes that aren't balancer related
2024-03-11 17:53:17 +01:00
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
0xMochan
3f87d151df
fix: liquidity
2024-03-01 18:50:48 -05:00
0xMochan
cad782f467
curve
2024-03-01 14:41:00 -05: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
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
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
pistomat
071f02f856
Update readmes and add upstream changes
2023-12-21 16:37:57 +01:00