Skip to content

Commit

Permalink
update arb usdc address
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjojoex committed Aug 7, 2023
1 parent 6fbbc60 commit 98d72fd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
15 changes: 9 additions & 6 deletions config/arbitrum.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ module.exports = {
wNativeAddress: WETH,
v3: {
// WETH-USDC 500
wNativeStablePoolAddress: "0x0e8fcea6153205e3a3a184b0613578c3d1729eab",
wNativeStablePoolAddress: "0xd9e2a1a61b6e61b275cec326465d417e52c1b95c",
stableIsToken0: false,
factoryAddress: "0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865",
startBlock: 101028949,
stableCoins: [
"0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9", // USDT
"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8", // USDC
"0xaf88d065e77c8cc2239327c5edb3a432268e5831", // USDC
"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8", // USDC.e
"0xda10009cbd5d07dd0cecc66161fc93d7c9000da1", // DAI
],
whitelistAddresses: [
WETH,
"0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9", // USDT
"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8", // USDC
"0xaf88d065e77c8cc2239327c5edb3a432268e5831", // USDC
"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8", // USDC.e
"0x912ce59144191c1204e64559fe8253a0e49e6548", // ARB
"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f", // WBTC
"0xda10009cbd5d07dd0cecc66161fc93d7c9000da1", // DAI
Expand All @@ -32,12 +34,13 @@ module.exports = {
v2: {
factoryAddress: "0x02a84c1b3bbd7401a5f7fa98a384ebc70bb5749e",
startBlock: 101022992,
wNativeStablePair0: "0x0000000000000000000000000000000000000000", // TODO: new chain
wNativeStablePair1: "0xf91cb08df79a668fbe8038308ab1b0187a9f61a9", // WETH-USDC
wNativeStablePair0: "0x0000000000000000000000000000000000000000",
wNativeStablePair1: "0xa59bd260f9707ea44551c510f714ccd482ec75d8", // WETH-USDC
whitelistAddresses: [
WETH,
"0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9", // USDT
"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8", // USDC
"0xaf88d065e77c8cc2239327c5edb3a432268e5831", // USDC
"0xff970a61a04b1ca14834a43f5de4533ebddb5cc8", // USDC.e
"0x912ce59144191c1204e64559fe8253a0e49e6548", // ARB
"0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f", // WBTC
"0xda10009cbd5d07dd0cecc66161fc93d7c9000da1", // DAI
Expand Down
4 changes: 2 additions & 2 deletions subgraphs/exchange-v2/mappings/pricing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ADDRESS_ZERO, factoryContract, ONE_BD, ZERO_BD } from "./utils";
// prettier-ignore
let WETH_ADDRESS = "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1";
// prettier-ignore
let WETH_USDT_PAIR = "0xf91cb08df79a668fbe8038308ab1b0187a9f61a9";
let WETH_USDT_PAIR = "0xa59bd260f9707ea44551c510f714ccd482ec75d8";
// prettier-ignore
let WETH_USDC_PAIR = "0x0000000000000000000000000000000000000000";

Expand Down Expand Up @@ -35,7 +35,7 @@ export function getETHPriceInUSD(): BigDecimal {

// token where amounts should contribute to tracked volume and liquidity
// prettier-ignore
let WHITELIST: string[] = "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0x912ce59144191c1204e64559fe8253a0e49e6548,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1".split(",");
let WHITELIST: string[] = "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0xaf88d065e77c8cc2239327c5edb3a432268e5831,0xff970a61a04b1ca14834a43f5de4533ebddb5cc8,0x912ce59144191c1204e64559fe8253a0e49e6548,0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1".split(",");

// minimum liquidity for price to get tracked
let MINIMUM_LIQUIDITY_THRESHOLD_ETH = BigDecimal.fromString("5");
Expand Down

0 comments on commit 98d72fd

Please sign in to comment.