Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into chore/update-core-v…
Browse files Browse the repository at this point in the history
…3-subgraph
  • Loading branch information
0xMasayoshi committed Apr 15, 2024
2 parents e24660c + bd96048 commit b5764b9
Show file tree
Hide file tree
Showing 37 changed files with 374 additions and 954 deletions.
8 changes: 2 additions & 6 deletions apps/evm/src/app/api/campaign/taskon/core/route.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { getBuiltGraphSDK } from '@sushiswap/graph-client'
import {
SUBGRAPH_HOST,
SUSHISWAP_V3_SUBGRAPH_NAME,
} from '@sushiswap/graph-config'
import { SUSHISWAP_V3_SUBGRAPH_URL } from '@sushiswap/graph-config'
import { NextRequest, NextResponse } from 'next/server'
import { ChainId } from 'sushi'
import { getAddress } from 'viem'
Expand All @@ -20,8 +17,7 @@ export async function GET(request: NextRequest) {
try {
const { address } = schema.parse(params)
const sdk = getBuiltGraphSDK({
subgraphHost: SUBGRAPH_HOST[ChainId.CORE],
subgraphName: SUSHISWAP_V3_SUBGRAPH_NAME[ChainId.CORE],
url: SUSHISWAP_V3_SUBGRAPH_URL[ChainId.CORE],
})

const { mints } = await sdk.V3Mints({
Expand Down
200 changes: 0 additions & 200 deletions apps/evm/src/app/internal/subgraphs/components/SubgraphTable.tsx

This file was deleted.

119 changes: 0 additions & 119 deletions apps/evm/src/app/internal/subgraphs/lib/index.ts

This file was deleted.

Loading

0 comments on commit b5764b9

Please sign in to comment.