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
This commit is contained in:
@@ -70,8 +70,13 @@ message ProtocolComponent {
|
||||
ChangeType change = 5;
|
||||
}
|
||||
|
||||
message ProtocolComponents {
|
||||
repeated ProtocolComponent components = 1;
|
||||
message TransactionProtocolComponents {
|
||||
Transaction tx = 1;
|
||||
repeated ProtocolComponent components = 2;
|
||||
}
|
||||
|
||||
message GroupedTransactionProtocolComponents {
|
||||
repeated TransactionProtocolComponents tx_components = 1;
|
||||
}
|
||||
|
||||
// A struct for following the changes of Total Value Locked (TVL) of a protocol component.
|
||||
|
||||
Reference in New Issue
Block a user