From adcb4b6f36b9125fb9b22acc1032cd66b721765d Mon Sep 17 00:00:00 2001 From: Maxence Raballand Date: Tue, 18 Jun 2024 18:01:13 +0200 Subject: [PATCH] feat: Add USDe token and corresponding market pair on Blast exchange. (#92) * feat: Add USDe token and corresponding market pair on Blast exchange. * chore: format --------- Co-authored-by: maxencerb --- .changeset/perfect-points-protect.md | 5 +++++ src/addresses/index.ts | 1 + src/addresses/markets/blast.ts | 6 ++++++ src/addresses/tokens/blast.ts | 8 ++++++++ src/addresses/tokens/index.ts | 1 + 5 files changed, 21 insertions(+) create mode 100644 .changeset/perfect-points-protect.md diff --git a/.changeset/perfect-points-protect.md b/.changeset/perfect-points-protect.md new file mode 100644 index 0000000..0d9dd1e --- /dev/null +++ b/.changeset/perfect-points-protect.md @@ -0,0 +1,5 @@ +--- +"@mangrovedao/mgv": patch +--- + +Add USDe token on blast diff --git a/src/addresses/index.ts b/src/addresses/index.ts index a6768b3..47dd3a6 100644 --- a/src/addresses/index.ts +++ b/src/addresses/index.ts @@ -12,6 +12,7 @@ export { buildToken, blastWETH, blastUSDB, + blastUSDe, blastMetaStreetWETHPUNKS20, blastMetaStreetWETHPUNKS40, baseSepoliaUSDC, diff --git a/src/addresses/markets/blast.ts b/src/addresses/markets/blast.ts index 1c1a048..fc05430 100644 --- a/src/addresses/markets/blast.ts +++ b/src/addresses/markets/blast.ts @@ -3,6 +3,7 @@ import { blastMetaStreetWETHPUNKS20, blastMetaStreetWETHPUNKS40, blastUSDB, + blastUSDe, blastWETH, } from '../tokens/blast.js' @@ -12,6 +13,11 @@ export const blastMarkets = [ quote: blastUSDB, tickSpacing: 1n, }, + { + base: blastUSDe, + quote: blastUSDB, + tickSpacing: 1n, + }, { base: blastMetaStreetWETHPUNKS20, quote: blastWETH, diff --git a/src/addresses/tokens/blast.ts b/src/addresses/tokens/blast.ts index 835c2f2..27ad990 100644 --- a/src/addresses/tokens/blast.ts +++ b/src/addresses/tokens/blast.ts @@ -12,6 +12,13 @@ export const blastUSDB = buildToken({ priceDisplayDecimals: 2, }) +export const blastUSDe = buildToken({ + address: '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34', + symbol: 'USDe', + displayDecimals: 2, + priceDisplayDecimals: 2, +}) + export const blastMetaStreetWETHPUNKS20 = buildToken({ address: '0x9a50953716ba58e3d6719ea5c437452ac578705f', symbol: 'mwstETH-WPUNKS:20', @@ -25,6 +32,7 @@ export const blastMetaStreetWETHPUNKS40 = buildToken({ export const blastTokens = [ blastWETH, blastUSDB, + blastUSDe, blastMetaStreetWETHPUNKS20, blastMetaStreetWETHPUNKS40, ] as const diff --git a/src/addresses/tokens/index.ts b/src/addresses/tokens/index.ts index 43e8f71..8d3e70a 100644 --- a/src/addresses/tokens/index.ts +++ b/src/addresses/tokens/index.ts @@ -1,6 +1,7 @@ export { blastWETH, blastUSDB, + blastUSDe, blastMetaStreetWETHPUNKS20, blastMetaStreetWETHPUNKS40, blastTokens,