enviodev / hyperindex

📖 Blazing-fast multi-chain indexer
https://envio.dev
79 stars 6 forks source link

PoolFactory Address of Aerodrome when entered in hyperindex cli, instead of poolcreated events, it shows swap, mint and other events. #320

Closed fuzztobread closed 3 weeks ago

fuzztobread commented 3 weeks ago

Describe the bug When entering the poolfactory address of aerodrome contract in hyperindex cli, the events emitted are swap, mint and other instead of being poolcreated since it is a factory address

To Reproduce Steps to reproduce the behavior:

E.g.

  1. Go to aerodome docs and copy the poolfactory address
  2. From hyperindex, enter the address of poolfactory in base chain
  3. See error

Expected behavior Poolcreated events should be shown instead of swap and other.

JonoPrest commented 3 weeks ago

@fuzztobread it doesn't seem that way to me using https://basescan.org/address/0x5e7BB104d84c7CB9B682AaC2F3d509f5F406809? Could you provide an address that you tried?

Screenshot 2024-11-05 at 10 05 20

fuzztobread commented 3 weeks ago

Hi, i used 0x420DD381b31aEf6683db6B902084cB0FFECe40Da address.If you check the events emitted on basescan using the provided address, it's only create pool but when entered on hyperindex, gives different events.

JonoPrest commented 3 weeks ago

Hi, i used 0x420DD381b31aEf6683db6B902084cB0FFECe40Da address.If you check the events emitted on basescan using the provided address, it's only create pool but when entered on hyperindex, gives different events.

Thanks! I see it's causing the problem on my side as well. Will investigate and get a fix out. In the mean time you can always use the address I used to get started and swap out the address in your config.yaml afterwards 👍🏼

fuzztobread commented 3 weeks ago

Sure thing. Thank you

JonoPrest commented 3 weeks ago

This should now be fixed 👍🏼