From ca96597c65f7f00c2d5ba033887b7eeb4e1daa68 Mon Sep 17 00:00:00 2001 From: Moritz Kirstein Date: Thu, 7 Mar 2024 17:31:05 +0100 Subject: [PATCH] feat: add wrapped euroe address (#506) --- src/@utils/subgraph.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/@utils/subgraph.ts b/src/@utils/subgraph.ts index 3cc588751..613e31e9e 100644 --- a/src/@utils/subgraph.ts +++ b/src/@utils/subgraph.ts @@ -58,6 +58,7 @@ const OpcsApprovedTokensQuery = gql` export const tokenAddressesEUROe = { 100: '0xe974c4894996e012399dedbda0be7314a73bbff1', 137: '0x820802Fa8a99901F52e39acD21177b0BE6EE2974', + 32456: '0x8A4826071983655805bF4f29828577Cd6b1aC0cB', 80001: '0xA089a21902914C3f3325dBE2334E9B466071E5f1' } @@ -187,7 +188,8 @@ export async function getOpcsApprovedTokens( ...approvedTokens, { address: tokenAddressesEUROe[chainId], - decimals: 6, + // TODO: revert once decimals changed to 6 on pontus-x + decimals: chainId === 32456 ? 18 : 6, name: 'EUROe', symbol: 'EUROe' }