fix: address missed repo renaming (#128)
This commit is contained in:
@@ -37,7 +37,7 @@ In the following section, we outline the typical procedure for structuring an in
|
||||
Commonly, protocols employ factory contracts to deploy a contract for each swap component (also known as a pool or pair). We will explain how to efficiently index this system of contracts. It's important to note, however, that the techniques described below are broadly applicable, even if a protocol deviates from this specific pattern it should be possible to index it and emit the required messages.
|
||||
|
||||
{% hint style="info" %}
|
||||
The following examples and code snippets have been taken from the ethereum-balancer substream. The complete code is available [here](https://github.com/propeller-heads/propeller-protocol-lib/tree/main/substreams/ethereum-balancer).
|
||||
The following examples and code snippets have been taken from the ethereum-balancer substream. The complete code is available [here](https://github.com/propeller-heads/tycho-protocol-sdk/tree/main/substreams/ethereum-balancer-v2).
|
||||
{% endhint %}
|
||||
|
||||
Usually an integration consists of the following modules:
|
||||
|
||||
@@ -16,7 +16,7 @@ Next, for each emitted transactions that carries state changes, the correspondin
|
||||
|
||||
So basically when processing a block we need to emit the block itself, all transactions that introduced protocol state changes and last but not least the state changes themselves, associated to their corresponding transaction.
|
||||
|
||||
**The data model that encodes changes, transaction and blocks in messages, can be found** [**here**](https://github.com/propeller-heads/propeller-protocol-lib/tree/main/proto/tycho/evm/v1)**.** 
|
||||
**The data model that encodes changes, transaction and blocks in messages, can be found** [**here**](https://github.com/propeller-heads/tycho-protocol-sdk/tree/main/proto/tycho/evm/v1)**.** 
|
||||
|
||||
#### Models
|
||||
|
||||
@@ -24,7 +24,7 @@ The models below are used for communication between Substreams and Tycho indexer
|
||||
|
||||
Our indexer expects to receive a `BlockChanges` output from your Substreams package.
|
||||
|
||||
{% @github-files/github-code-block url="https://github.com/propeller-heads/propeller-protocol-lib/blob/main/proto/tycho/evm/v1/common.proto" %}
|
||||
{% @github-files/github-code-block url="https://github.com/propeller-heads/tycho-protocol-sdk/blob/main/proto/tycho/evm/v1/common.proto" %}
|
||||
|
||||
Please be aware that changes need to be aggregated on the transaction level, it is considered an error to emit `BlockChanges` with duplicated transactions present in the `changes` attributes.
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ We have integrated the **Balancer** protocol as a reference, see `/substreams/et
|
||||
|
||||
1. Start by making a local copy of the Propeller Protocol Lib repository:
|
||||
```bash
|
||||
git clone https://github.com/propeller-heads/propeller-protocol-lib
|
||||
git clone https://github.com/propeller-heads/tycho-protocol-sdk
|
||||
```
|
||||
|
||||
## Understanding the Substreams VM integration
|
||||
|
||||
Reference in New Issue
Block a user