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

11 fix contract ids not showing encoded addresses #12

Closed adelarja closed 10 months ago

adelarja commented 10 months ago

The addresses in the router, swap pool, and backstop pool IDs were saved as hex addresses. However, for the Nabla project, we require SS58 addresses.

This pull request modifies how we store addresses in the entities. Additionally, we identified an error when decoding events, which has been resolved by making calls to the smart contracts to determine the origin of the event.

Closes this issue.