pendulum-chain / pendulum-squids

The subsquid squids we use for Pendulum/Amplitude/Foucoco.
GNU General Public License v3.0
0 stars 0 forks source link

Add changes for indexing events of Nabla smart contracts #7

Closed ebma closed 1 year ago

ebma commented 1 year ago

This ticket is related to https://github.com/pendulum-chain/tasks/issues/16.

We want to make sophisticated UIs for interaction with the Nabla smart contracts. In order to do so, we need to collect and transform some historic data emitted my the Nabla smart contracts. This ticket is about adding these changes to our indexers.

The implementation should draw heavy inspiration from this existing implementation of an indexer for Nabla.

ebma commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @adelarja @TorstenStueber

ebma commented 1 year ago

@pendulum-chain/product I created this ticket as a follow-up/replacement to this one since unfortunately, it's not possible to move tickets. I think we can close the task ticket and consider it replaced by this one.

TorstenStueber commented 1 year ago

@ebma can you elaborate what historic data we would need to collect or is this about all historic data?

ebma commented 1 year ago

I did not add details about the events needing to be processed nor the schema because I think all that should become clear when looking at the code of the other indexer implemented by/for Nabla (https://github.com/0xamberhq/subgraph-mumbai). We can assume that we have to provide the same data since IIRC they use that to develop their other UIs for Ethereum.