Florian Pellissier
27768ce114
refactor(balancer-substreams): remove pool_id static attr and use ProtocolComponent.id instead
2024-08-22 10:04:15 +02:00
kayibal
9df366b29d
fix(balancer): Change pool_id encoding to utf-8.
...
Since it is used to replace component_id, it should be a string as well.
2024-08-08 17:58:20 -03:00
kayibal
ac279502c8
chore(balancer): formatting
2024-08-01 12:34:38 +02:00
kayibal
75b66a85af
fix(balancer): Get all balancer tests working.
2024-08-01 12:03:01 +02:00
kayibal
8196d1c3a1
fix(balancer): Add bpt tokens to components.
...
The pools support swapping in and out of balancer lp positions out of the box. So including the bpt token will likely be useful in the future.
2024-07-29 16:44:38 +01:00
kayibal
148fac276c
feat(balancer): Add rate providers to static attributes.
...
Adds the rate providers and additional attributes to balancers static attributes. These will help in the future to migrate some of the components to use the DCI.
Adds a small attributes module to tycho-substreams to make json encoding a bit easier.
2024-07-25 14:11:29 +01:00
Florian Pellissier
1bd5e39956
feat: Add Balancer vault indexing
2024-07-22 03:48:47 +02:00
Florian Pellissier
a2e951aff3
refactor: make pool_id a static attribute
2024-07-22 03:48:47 +02:00
Florian Pellissier
50ac14f70a
style: make clippy happy
2024-07-22 03:48:29 +02:00
Florian Pellissier
127a0c5cb7
fix(ci): clippy, fmt and remove substreams logs
2024-06-14 19:41:20 +02: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
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
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
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
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