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 1 year ago

adelarja commented 1 year 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.