Skip to content

Commit

Permalink
feat(price-: add ezETH price
Browse files Browse the repository at this point in the history
Signed-off-by: Julien <[email protected]>
  • Loading branch information
julien-devatom committed Feb 28, 2024
1 parent 34d4985 commit b1ad22c
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions src/fetchUsdTokenPrice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ const EURe = Address.fromString(
"0x3231cb76718cdef2155fc47b5286d82e6eda273f"
).toHexString();

const ezETH = Address.fromString(
"0xbf5495Efe5DB9ce00f80364C8B423567e58d2110"
).toHexString();

const usdPriceFeeds = new Map<string, string>()
.set(
wbib01,
Expand Down Expand Up @@ -112,10 +116,19 @@ const usdPriceFeeds = new Map<string, string>()
).toHexString()
);

const ethPriceFeeds = new Map<string, string>().set(
osETH,
Address.fromString("0x66ac817f997Efd114EDFcccdce99F3268557B32C").toHexString()
);
const ethPriceFeeds = new Map<string, string>()
.set(
osETH,
Address.fromString(
"0x66ac817f997Efd114EDFcccdce99F3268557B32C"
).toHexString()
)
.set(
ezETH,
Address.fromString(
"0xF4a3e183F59D2599ee3DF213ff78b1B3b1923696"
).toHexString()
);

const eurPriceFeeds = new Map<string, string>().set(
wbc3m,
Expand Down

0 comments on commit b1ad22c

Please sign in to comment.