diff --git a/.changeset/cyan-dolphins-fry.md b/.changeset/cyan-dolphins-fry.md new file mode 100644 index 0000000..1ccd989 --- /dev/null +++ b/.changeset/cyan-dolphins-fry.md @@ -0,0 +1,5 @@ +--- +"@mangrovedao/mgv": patch +--- + +Add Arb/USDC.e market to arbitrum diff --git a/.vscode/settings.json b/.vscode/settings.json index 25fa621..ff1b364 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,7 @@ { - "typescript.tsdk": "node_modules/typescript/lib" + "typescript.tsdk": "node_modules/typescript/lib", + "editor.codeActionsOnSave": { + "quickfix.biome": "explicit", + "source.organizeImports.biome": "explicit" + } } diff --git a/src/addresses/markets/arbitrum.ts b/src/addresses/markets/arbitrum.ts index 8bb9ab3..841c558 100644 --- a/src/addresses/markets/arbitrum.ts +++ b/src/addresses/markets/arbitrum.ts @@ -1,6 +1,8 @@ import type { MarketParams } from '../../types/index.js' import { + arbitrumArb, arbitrumUSDC, + arbitrumUSDCe, arbitrumUSDT, arbitrumWBTC, arbitrumWETH, @@ -43,6 +45,12 @@ export const arbitrumWETHweETH = { tickSpacing: 1n, } as const satisfies MarketParams +export const arbitrumARBUSDCe = { + base: arbitrumArb, + quote: arbitrumUSDCe, + tickSpacing: 1n, +} as const satisfies MarketParams + export const arbitrumMarkets = [ arbitrumWETHUSDC, arbitrumWETHUSDT, @@ -50,4 +58,5 @@ export const arbitrumMarkets = [ arbitrumWETHWBTC, arbitrumWBTCUSDT, arbitrumWETHweETH, + arbitrumARBUSDCe, ] as const satisfies MarketParams[] diff --git a/src/addresses/tokens/arbitrum.ts b/src/addresses/tokens/arbitrum.ts index 6167718..54a07a7 100644 --- a/src/addresses/tokens/arbitrum.ts +++ b/src/addresses/tokens/arbitrum.ts @@ -34,10 +34,27 @@ export const arbitrumweETH = buildToken({ symbol: 'weETH', }) +export const arbitrumArb = buildToken({ + address: '0x912CE59144191C1204E64559FE8253a0e49E6548', + symbol: 'ARB', + displayDecimals: 2, + priceDisplayDecimals: 4, +}) + +export const arbitrumUSDCe = buildToken({ + address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', + symbol: 'USDC.e', + decimals: 6, + displayDecimals: 2, + priceDisplayDecimals: 4, +}) + export const arbitrumTokens = [ arbitrumWETH, arbitrumWBTC, arbitrumUSDC, arbitrumUSDT, arbitrumweETH, + arbitrumArb, + arbitrumUSDCe, ] as const