Skip to content

Commit

Permalink
add base thegraph indexer
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Oct 8, 2024
1 parent d609507 commit 915a596
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
1 change: 1 addition & 0 deletions apollo/.env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ BLAST_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-blast/v1.0.
ASTAR_ZKEVM_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-astar-zkevm/v1.0.0
MOONBEAM_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-moonbeam/v1.0.0
ZIRCUIT_LNV3_ENDPOINT=https://thegraph-g1.darwinia.network/helix/subgraphs/name/lnv3/zircuit
BASE_LNV3_ENDPOINT=https://api.studio.thegraph.com/query/59403/lnv3-base/version/latest
LNV3_ENVIO_ENDPOINT=https://indexer.bigdevenergy.link/e5a45aa/v1/graphql

XTOKEN_DARWINIA_CRAB_BACKING=https://thegraph.darwinia.network/helix/subgraphs/name/xtokentransfer/darwinia-crab-backing
Expand Down
10 changes: 0 additions & 10 deletions apollo/src/lnv2/transfer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ export class TransferService extends BaseTransferServiceT3 {
oppositeEndpoint: this.lnArbitrumOppositeEndpoint,
chainConfig: HelixChain.arbitrum,
},
{
defaultEndpoint: this.lnMantleDefaultEndpoint,
oppositeEndpoint: null,
chainConfig: HelixChain.mantle,
},
{
defaultEndpoint: this.lnPolygonDefaultEndpoint,
oppositeEndpoint: null,
Expand All @@ -89,11 +84,6 @@ export class TransferService extends BaseTransferServiceT3 {
oppositeEndpoint: this.lnDarwiniaOppositeEndpoint,
chainConfig: HelixChain.darwiniaDvm,
},
{
defaultEndpoint: this.lnCrabDefaultEndpoint,
oppositeEndpoint: null,
chainConfig: HelixChain.crabDvm,
},
{
defaultEndpoint: this.lnBscDefaultEndpoint,
oppositeEndpoint: null,
Expand Down
4 changes: 4 additions & 0 deletions apollo/src/lnv3/transfer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ export class TransferService extends BaseTransferServiceT2 {
},
{
level0Indexers: [
{
indexerType: Level0IndexerType.thegraph,
url: this.baseEndpoint,
},
{
indexerType: Level0IndexerType.superindex,
url: this.superindexEndpoint,
Expand Down

0 comments on commit 915a596

Please sign in to comment.