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

14 create squid indexer for pendulum network #20

Closed adelarja closed 11 months ago

adelarja commented 11 months ago

Issue #14

This PR has the basic configuration for the pendulum squid.

In the future, we could need to handle the farming pallet events for the pendulum chain too. A draft event handling was added to the farming utils file (for example here). Basically, the foucoco event types were used. That would need to be changed in the future, when the farming pallet is implemented on pendulum.

adelarja commented 11 months ago

Nice looking good, thanks a lot @adelarja! 👍

Can we have some 'FIXME' comment in the farming.ts file that points out that once the farming is liven on Pendulum, we need to regenerate the types and replace the foucocoEvents.xxx assignments for the pendulum if-statements?

@ebma thanks for the comment! I've added some FIXME comments.

ebma commented 11 months ago

Thanks @adelarja 👍 can we also add the instructions for the pendulum squid to the README? Sorry, I forgot to point this out last time 😅

adelarja commented 11 months ago

Thanks @adelarja 👍 can we also add the instructions for the pendulum squid to the README? Sorry, I forgot to point this out last time 😅

@ebma thanks for pointing this out! I've added the instructions to the readme :smile: