Skip to content

Commit

Permalink
more sdk migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
slasher125 committed Jun 13, 2024
1 parent a62f36f commit f3bebd6
Show file tree
Hide file tree
Showing 11 changed files with 134 additions and 65 deletions.
1 change: 0 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@ jobs:
ZEROX_API: ${{ secrets.ZEROX_API }}
SMARDEX_SUBGRAPH_API_KEY: ${{ secrets.SMARDEX_SUBGRAPH_API_KEY }}
VENDOR_FINANCE: ${{ secrets.VENDOR_FINANCE }}
GRAPH_PROTOCOL: ${{ secrets.GRAPH_PROTOCOL }}
TRADERJOE: ${{ secrets.TRADERJOE }}
1 change: 0 additions & 1 deletion env.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ module.exports = {
ZEROX_API: process.env.ZEROX_API,
SMARDEX_SUBGRAPH_API_KEY: process.env.SMARDEX_SUBGRAPH_API_KEY,
VENDOR_FINANCE: process.env.VENDOR_FINANCE,
GRAPH_PROTOCOL: process.env.GRAPH_PROTOCOL,
TRADERJOE: process.env.TRADERJOE,
// DB
DATABASE_URL: process.env.DATABASE_URL,
Expand Down
3 changes: 0 additions & 3 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ functions:
NEW_YIELDS_WEBHOOK: ${file(./env.js):NEW_YIELDS_WEBHOOK}
SMARDEX_SUBGRAPH_API_KEY: ${file(./env.js):SMARDEX_SUBGRAPH_API_KEY}
VENDOR_FINANCE: ${file(./env.js):VENDOR_FINANCE}
GRAPH_PROTOCOL: ${file(./env.js):GRAPH_PROTOCOL}
TRADERJOE: ${file(./env.js):TRADERJOE}

# --- data enrichment
Expand Down Expand Up @@ -136,8 +135,6 @@ functions:
events:
# every new hour
- schedule: cron(0 * * * ? *)
environment:
GRAPH_PROTOCOL: ${file(./env.js):GRAPH_PROTOCOL}

triggerMedianProject:
handler: src/handlers/triggerMedianProject.handler
Expand Down
44 changes: 31 additions & 13 deletions src/adaptors/balancer-v2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,39 @@ const { excludePools } = require('../../utils/exclude');
const { getChildChainRootGauge } = require('./childChainGauges.js');

// Subgraph URLs

const urlBase = `https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id`;
const urlEthereum = `${urlBase}/C4ayEZP2yTXRAB8vSaTrgN4m9anTe9Mdm2ViyiAuV9TV`;
const urlPolygon = `${urlBase}/H9oPAbXnobBRq1cB3HDmbZ1E8MWQyJYQjT1QDJMrdbNp`;
const urlGnosis = `${urlBase}/balancer-gnosis-chain-v2`;
const urlArbitrum = `${urlBase}/4AQ6YqEyZapJmuFCqhFXfh24qYUykkKeCboL4vpoYQqv`;
const urlEthereum = sdk.graph.modifyEndpoint(
'C4ayEZP2yTXRAB8vSaTrgN4m9anTe9Mdm2ViyiAuV9TV'
);
const urlPolygon = sdk.graph.modifyEndpoint(
'H9oPAbXnobBRq1cB3HDmbZ1E8MWQyJYQjT1QDJMrdbNp'
);
const urlGnosis = sdk.graph.modifyEndpoint(
'EJezH1Cp31QkKPaBDerhVPRWsKVZLrDfzjrLqpmv6cGg'
);
const urlArbitrum = sdk.graph.modifyEndpoint(
'4AQ6YqEyZapJmuFCqhFXfh24qYUykkKeCboL4vpoYQqv'
);
const urlBaseChain = `https://api.studio.thegraph.com/query/24660/balancer-base-v2/version/latest`;
const urlAvalanche = `${urlBase}/7asfmtQA1KYu6CP7YVm5kv4bGxVyfAHEiptt2HMFgkHu`;

const urlGaugesEthereum = `${urlBase}/4sESujoqmztX6pbichs4wZ1XXyYrkooMuHA8sKkYxpTn`;
const urlGaugesPolygon = `${urlBase}/AkD2HEjNoupFb1y3fERdhmFC1UbKvQUBwsu5fREAEcJd`;
const urlGaugesGnosis = `${urlBase}/4nTERBBaGRc1PgLcGvtvvqupSFu7y8Ee2xKZFNM5aw56`;
const urlGaugesArbitrum = `${urlBase}/Bb1hVjJZ52kL23chZyyGWJKrGEg3S6euuNa1YA6XRU4J`;
const urlAvalanche = sdk.graph.modifyEndpoint(
'7asfmtQA1KYu6CP7YVm5kv4bGxVyfAHEiptt2HMFgkHu'
);

const urlGaugesEthereum = sdk.graph.modifyEndpoint(
'4sESujoqmztX6pbichs4wZ1XXyYrkooMuHA8sKkYxpTn'
);
const urlGaugesPolygon = sdk.graph.modifyEndpoint(
'AkD2HEjNoupFb1y3fERdhmFC1UbKvQUBwsu5fREAEcJd'
);
const urlGaugesGnosis = sdk.graph.modifyEndpoint(
'4nTERBBaGRc1PgLcGvtvvqupSFu7y8Ee2xKZFNM5aw56'
);
const urlGaugesArbitrum = sdk.graph.modifyEndpoint(
'Bb1hVjJZ52kL23chZyyGWJKrGEg3S6euuNa1YA6XRU4J'
);
const urlGaugesBase = `https://api.studio.thegraph.com/query/24660/balancer-gauges-base/version/latest`;
const urlGaugesAvalanche = `${urlBase}/BZ2DkZkaQKdBqDTRdur8kHM95ZFVt4fBudKmnvobiyN`;
const urlGaugesAvalanche = sdk.graph.modifyEndpoint(
'BZ2DkZkaQKdBqDTRdur8kHM95ZFVt4fBudKmnvobiyN'
);

const protocolFeesCollector = '0xce88686553686DA562CE7Cea497CE749DA109f9F';
const gaugeController = '0xC128468b7Ce63eA702C1f104D55A2566b13D3ABD';
Expand Down
11 changes: 7 additions & 4 deletions src/adaptors/pancakeswap-amm-v3/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ const { getCakeAprs, CAKE, chainIds } = require('./cakeReward');
const { checkStablecoin } = require('../../handlers/triggerEnrichment');
const { boundaries } = require('../../utils/exclude');

const baseUrl = `https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id`;
const chains = {
ethereum: `${baseUrl}/CJYGNhb7RvnhfBDjqpRnD3oxgyhibzc7fkAMa38YV3oS`,
ethereum: sdk.graph.modifyEndpoint(
'CJYGNhb7RvnhfBDjqpRnD3oxgyhibzc7fkAMa38YV3oS'
),
// temp disable bsc
// bsc: `${baseUrl}/Hv1GncLY5docZoGtXjo4kwbTvxm3MAhVZqBZE4sUT9eZ`,
// bsc: sdk.graph.modifyEndpoint('Hv1GncLY5docZoGtXjo4kwbTvxm3MAhVZqBZE4sUT9eZ'),
polygon_zkevm:
'https://api.studio.thegraph.com/query/45376/exchange-v3-polygon-zkevm/version/latest',
era: 'https://api.studio.thegraph.com/query/45376/exchange-v3-zksync/version/latest',
arbitrum: `${baseUrl}/251MHFNN1rwjErXD2efWMpNS73SANZN8Ua192zw6iXve`,
arbitrum: sdk.graph.modifyEndpoint(
'251MHFNN1rwjErXD2efWMpNS73SANZN8Ua192zw6iXve'
),
op_bnb: 'https://proxy-worker-dev.pancake-swap.workers.dev/opbnb-exchange-v3',
linea:
'https://graph-query.linea.build/subgraphs/name/pancakeswap/exchange-v3-linea',
Expand Down
49 changes: 33 additions & 16 deletions src/adaptors/qidao/vaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -840,8 +840,9 @@ const vaults = {
[ChainId.MATIC]: [
{
chainId: ChainId.MATIC,
subgraph:
'https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id/7xxKjtYc6yfDaSo2TDquGtZbxSXqdDnyfCZgvWGtXrRd',
subgraph: sdk.graph.modifyEndpoint(
'7xxKjtYc6yfDaSo2TDquGtZbxSXqdDnyfCZgvWGtXrRd'
),
vaultAddress: CAMWMATIC_VAULT_ADDRESS,
token: Token.deserializer(
ChainId.MATIC,
Expand Down Expand Up @@ -872,8 +873,9 @@ const vaults = {
},
{
chainId: ChainId.MATIC,
subgraph:
'https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id/Ap8NjXbJ261qLEDJY79WDMBoB8noFCssqXVPeo2eHwuz',
subgraph: sdk.graph.modifyEndpoint(
'Ap8NjXbJ261qLEDJY79WDMBoB8noFCssqXVPeo2eHwuz'
),
vaultAddress: CAMWETH_VAULT_ADDRESS,
token: Token.deserializer(
ChainId.MATIC,
Expand All @@ -889,8 +891,9 @@ const vaults = {
},
{
chainId: ChainId.MATIC,
subgraph:
'https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id/7DP4Egj28CbrrqVZALKqJehqYJa7AsvHwNUZXHVZ8hAd',
subgraph: sdk.graph.modifyEndpoint(
'7DP4Egj28CbrrqVZALKqJehqYJa7AsvHwNUZXHVZ8hAd'
),
vaultAddress: CAMAAVE_VAULT_ADDRESS,
token: Token.deserializer(
ChainId.MATIC,
Expand All @@ -907,8 +910,9 @@ const vaults = {
},
{
chainId: ChainId.MATIC,
subgraph:
'https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id/4nCf52ozAhJvfzk9Fv7FvFTg4VtKTKVEW6X6kg1FKMYM',
subgraph: sdk.graph.modifyEndpoint(
'4nCf52ozAhJvfzk9Fv7FvFTg4VtKTKVEW6X6kg1FKMYM'
),
vaultAddress: '0x87ee36f780ae843A78D5735867bc1c13792b7b11',
token: Token.deserializer(
ChainId.MATIC,
Expand All @@ -922,8 +926,9 @@ const vaults = {
},
{
chainId: ChainId.MATIC,
subgraph:
'https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id/C9M2n9nEygAcbRzhns1hTVBDTbwtaPUci6DrWTnkj2fA',
subgraph: sdk.graph.modifyEndpoint(
'C9M2n9nEygAcbRzhns1hTVBDTbwtaPUci6DrWTnkj2fA'
),
vaultAddress: '0x61167073E31b1DAd85a3E531211c7B8F1E5cAE72',
token: Token.deserializer(
ChainId.MATIC,
Expand All @@ -937,7 +942,9 @@ const vaults = {
},
{
chainId: ChainId.MATIC,
subgraph: sdk.graph.modifyEndpoint('4TAKynX2eqkih6Cob4pBBCxtkgUtBR6QgvsSwA8y9joQ'),
subgraph: sdk.graph.modifyEndpoint(
'4TAKynX2eqkih6Cob4pBBCxtkgUtBR6QgvsSwA8y9joQ'
),
vaultAddress: '0x98B5F32dd9670191568b661a3e847Ed764943875',
token: Token.deserializer(
ChainId.MATIC,
Expand All @@ -951,7 +958,9 @@ const vaults = {
},
{
chainId: ChainId.MATIC,
subgraph: sdk.graph.modifyEndpoint('2n8LDgHqDMamjXvchFyTgU7o3YndcWVBLcTUFUx7C8Xp'),
subgraph: sdk.graph.modifyEndpoint(
'2n8LDgHqDMamjXvchFyTgU7o3YndcWVBLcTUFUx7C8Xp'
),
vaultAddress: '0x37131aEDd3da288467B6EBe9A77C523A700E6Ca1',
token: Token.deserializer(
ChainId.MATIC,
Expand All @@ -965,7 +974,9 @@ const vaults = {
},
{
chainId: ChainId.MATIC,
subgraph: sdk.graph.modifyEndpoint('8Yihy9U8n4KnMPn2G4iiWfUycDhKZMhyCQn5urMWsWVi'),
subgraph: sdk.graph.modifyEndpoint(
'8Yihy9U8n4KnMPn2G4iiWfUycDhKZMhyCQn5urMWsWVi'
),
vaultAddress: CAMWBTC_VAULT_ADDRESS,
token: Token.deserializer(
ChainId.MATIC,
Expand Down Expand Up @@ -1013,7 +1024,9 @@ const vaults = {
},
{
chainId: ChainId.MATIC,
subgraph: sdk.graph.modifyEndpoint('79gzKS8x9REyvAsqgQfgpuD4xX8mpr5HzysJiUF628iE'),
subgraph: sdk.graph.modifyEndpoint(
'79gzKS8x9REyvAsqgQfgpuD4xX8mpr5HzysJiUF628iE'
),
vaultAddress: '0x701A1824e5574B0b6b1c8dA808B184a7AB7A2867',
token: Token.deserializer(
ChainId.MATIC,
Expand All @@ -1027,7 +1040,9 @@ const vaults = {
},
{
chainId: ChainId.MATIC,
subgraph: sdk.graph.modifyEndpoint('8VyL256uLZpZSMSPxYVqQcYckhvHQqqP1jKP2dZYWhnj'),
subgraph: sdk.graph.modifyEndpoint(
'8VyL256uLZpZSMSPxYVqQcYckhvHQqqP1jKP2dZYWhnj'
),
vaultAddress: '0x649Aa6E6b6194250C077DF4fB37c23EE6c098513',
token: Token.deserializer(
ChainId.MATIC,
Expand All @@ -1041,7 +1056,9 @@ const vaults = {
},
{
chainId: ChainId.MATIC,
subgraph: sdk.graph.modifyEndpoint('EWE671kZdZnHoQ7dNzaKr4ZcYe67APDYZ1jBrptnB9km'),
subgraph: sdk.graph.modifyEndpoint(
'EWE671kZdZnHoQ7dNzaKr4ZcYe67APDYZ1jBrptnB9km'
),
vaultAddress: '0xF086dEdf6a89e7B16145b03a6CB0C0a9979F1433',
token: Token.deserializer(
ChainId.MATIC,
Expand Down
10 changes: 7 additions & 3 deletions src/adaptors/quickswap-dex/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
const sdk = require('@defillama/sdk');
const { request, gql } = require('graphql-request');
const utils = require('../utils');

const baseUrl = `https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id`;
const url = `${baseUrl}/FnbpmBoXSidpFCghB5oxEb7XBUyGsSmyyXs9p8t3esvF`;
const url = sdk.graph.modifyEndpoint(
'FnbpmBoXSidpFCghB5oxEb7XBUyGsSmyyXs9p8t3esvF'
);
const sushiPolygon = sdk.graph.modifyEndpoint(
'8NiXkxLRT3R22vpwLB4DXttpEf3X1LrKhe4T1tQ3jjbP'
);

const query = gql`
{
Expand Down Expand Up @@ -54,7 +59,6 @@ const buildPool = (entry, chainString) => {
};

const topLvl = async (chainString, timestamp, url, version) => {
const sushiPolygon = `${baseUrl}/8NiXkxLRT3R22vpwLB4DXttpEf3X1LrKhe4T1tQ3jjbP`;
const [block, blockPrior] = await utils.getBlocks(
chainString,
timestamp,
Expand Down
2 changes: 1 addition & 1 deletion src/adaptors/solidly-v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { request, gql } = require('graphql-request');
const API_URL: string = 'https://api-mainnet.solidly.com/api/v1/pairs';

const SUBGRAPH_URL = sdk.graph.modifyEndpoint(
'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/4GX8RE9TzEWormbkayeGj4NQmmhYE46izVVUvXv8WPDh'
sdk.graph.modifyEndpoint('4GX8RE9TzEWormbkayeGj4NQmmhYE46izVVUvXv8WPDh')
);

const swapPairsQuery = gql`
Expand Down
25 changes: 17 additions & 8 deletions src/adaptors/sushiswap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,25 @@ const { minichefV2 } = require('./abiMinichefV2');
const { rewarderABI } = require('./abiRewarder');

// exchange urls
const baseUrl = `https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id`;
const urlEthereum = `${baseUrl}/6NUtT5mGjZ1tSshKLf5Q3uEEJtjBZJo1TpL5MXsUBqrT`;
const urlArbitrum = `${baseUrl}/8nFDCAhdnJQEhQF3ZRnfWkJ6FkRsfAiiVabVn4eGoAZH`;
const urlPolygon = `${baseUrl}/8NiXkxLRT3R22vpwLB4DXttpEf3X1LrKhe4T1tQ3jjbP`;
const urlAvalanche = `${baseUrl}/6VAhbtW5u2sPYkJKAcMsxgqTBu4a1rqmbiVQWgtNjrvT`;
const urlEthereum = sdk.graph.modifyEndpoint(
'6NUtT5mGjZ1tSshKLf5Q3uEEJtjBZJo1TpL5MXsUBqrT'
);
const urlArbitrum = sdk.graph.modifyEndpoint(
'8nFDCAhdnJQEhQF3ZRnfWkJ6FkRsfAiiVabVn4eGoAZH'
);
const urlPolygon = sdk.graph.modifyEndpoint(
'8NiXkxLRT3R22vpwLB4DXttpEf3X1LrKhe4T1tQ3jjbP'
);
const urlAvalanche = sdk.graph.modifyEndpoint(
'6VAhbtW5u2sPYkJKAcMsxgqTBu4a1rqmbiVQWgtNjrvT'
);

// LM reward urls
const urlMc2 = `${baseUrl}/FAa1YU79pPDUKj8vtkUPZGzCcPVS6Edg1md5LsRHSKWb`;
const urlMcArbitrum = `${baseUrl}/sushiswap/arbitrum-minichef`;
const urlMcPolygon = `${baseUrl}/sushiswap/matic-minichef`;
const urlMc2 = sdk.graph.modifyEndpoint(
'FAa1YU79pPDUKj8vtkUPZGzCcPVS6Edg1md5LsRHSKWb'
);
const urlMcArbitrum = sdk.graph.modifyEndpoint('sushiswap/arbitrum-minichef');
const urlMcPolygon = sdk.graph.modifyEndpoint('sushiswap/matic-minichef');

// sushi token
const SUSHI = {
Expand Down
27 changes: 19 additions & 8 deletions src/adaptors/uniswap-v3/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,26 @@ const { EstimatedFees } = require('./estimateFee.ts');
const { checkStablecoin } = require('../../handlers/triggerEnrichment');
const { boundaries } = require('../../utils/exclude');

const baseUrl = `https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id`;
const chains = {
ethereum: `${baseUrl}/5zvR82QoaXYFyDEKLZ9t6v9adgnptxYpKpSbxtgVENFV`,
polygon: `${baseUrl}/3hCPRGf4z88VC5rsBKU5AA9FBBq5nF3jbKJG7VZCbhjm`,
arbitrum: `${baseUrl}/FbCGRftH4a3yZugY7TnbYgPJVEv2LvMT6oF1fxPe9aJM`,
optimism: `${baseUrl}/7SVwgBfXoWmiK6x1NF1VEo1szkeWLniqWN1oYsX3UMb5`,
celo: `${baseUrl}/5GMxLtvwbfKxyCpSgHvS8FbeofS2ry9K76NL9RCzPNm2`,
avax: `${baseUrl}/GVH9h9KZ9CqheUEL93qMbq7QwgoBu32QXQDPR6bev4Eo`,
bsc: `${baseUrl}/GcKPSgHoY42xNYVAkSPDhXSzi6aJDRQSKqBSXezL47gV`,
ethereum: sdk.graph.modifyEndpoint(
'5zvR82QoaXYFyDEKLZ9t6v9adgnptxYpKpSbxtgVENFV'
),
polygon: sdk.graph.modifyEndpoint(
'3hCPRGf4z88VC5rsBKU5AA9FBBq5nF3jbKJG7VZCbhjm'
),
arbitrum: sdk.graph.modifyEndpoint(
'FbCGRftH4a3yZugY7TnbYgPJVEv2LvMT6oF1fxPe9aJM'
),
optimism: sdk.graph.modifyEndpoint(
'7SVwgBfXoWmiK6x1NF1VEo1szkeWLniqWN1oYsX3UMb5'
),
celo: sdk.graph.modifyEndpoint(
'5GMxLtvwbfKxyCpSgHvS8FbeofS2ry9K76NL9RCzPNm2'
),
avax: sdk.graph.modifyEndpoint(
'GVH9h9KZ9CqheUEL93qMbq7QwgoBu32QXQDPR6bev4Eo'
),
bsc: sdk.graph.modifyEndpoint('GcKPSgHoY42xNYVAkSPDhXSzi6aJDRQSKqBSXezL47gV'),
base: 'https://api.studio.thegraph.com/query/48211/uniswap-v3-base/version/latest',
};

Expand Down
26 changes: 19 additions & 7 deletions src/adaptors/wombat-exchange/config.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,31 @@
const baseUrl = `https://gateway-arbitrum.network.thegraph.com/api/${process.env.GRAPH_PROTOCOL}/subgraphs/id`;
const sdk = require('@defillama/sdk');

module.exports = {
bsc: {
APR_ENDPOINT: `${baseUrl}/3jEHqbiN3BQn7pyMDzkDcBwm5EYFtpMpXaeryRDGPKA7`,
BLOCK_ENDPOINT: `${baseUrl}/aFYiBZ2nkQVbv1HsKTQcPpWBxCAiJY4w4pG8RXaDxge`,
APR_ENDPOINT: sdk.graph.modifyEndpoint(
'3jEHqbiN3BQn7pyMDzkDcBwm5EYFtpMpXaeryRDGPKA7'
),
BLOCK_ENDPOINT: sdk.graph.modifyEndpoint(
'aFYiBZ2nkQVbv1HsKTQcPpWBxCAiJY4w4pG8RXaDxge'
),
WOM_ADDRESS: '0xAD6742A35fB341A9Cc6ad674738Dd8da98b94Fb1',
},
arbitrum: {
APR_ENDPOINT: `${baseUrl}/5YPaz7z5iYgboKtoShdvZYPohUKtrDLibcLSLzaC424M`,
BLOCK_ENDPOINT: `${baseUrl}/H51Q1HznwXnrEEMQrKoniHJ6VLz3zryYmb9XQ8T8BmqJ`,
APR_ENDPOINT: sdk.graph.modifyEndpoint(
'5YPaz7z5iYgboKtoShdvZYPohUKtrDLibcLSLzaC424M'
),
BLOCK_ENDPOINT: sdk.graph.modifyEndpoint(
'H51Q1HznwXnrEEMQrKoniHJ6VLz3zryYmb9XQ8T8BmqJ'
),
WOM_ADDRESS: '0x7b5eb3940021ec0e8e463d5dbb4b7b09a89ddf96',
},
avax: {
APR_ENDPOINT: `${baseUrl}/CoQESay2omXqeXf2irxDoPnggR9ULC9SeM7jPeSNgEVT`,
BLOCK_ENDPOINT: `${baseUrl}/ESjwguQU6CdSHnBT6jMniNHkj2dfAHRdFLB5eWwDe6jB`,
APR_ENDPOINT: sdk.graph.modifyEndpoint(
'CoQESay2omXqeXf2irxDoPnggR9ULC9SeM7jPeSNgEVT'
),
BLOCK_ENDPOINT: sdk.graph.modifyEndpoint(
'ESjwguQU6CdSHnBT6jMniNHkj2dfAHRdFLB5eWwDe6jB'
),
WOM_ADDRESS: '0xa15E4544D141aa98C4581a1EA10Eb9048c3b3382',
},
};

0 comments on commit f3bebd6

Please sign in to comment.