Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: add sonic network #2348

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Conversation

eriscrypt
Copy link
Contributor

No description provided.

@llamabutler
Copy link

The wagmi adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts dexs wagmi

🦙 Running WAGMI adapter 🦙
---------------------------------------------------
GRAPH_API_KEY env variable is not set, using the default api key
Start Date:	Tue, 21 Jan 2025 15:07:57 GMT
End Date:	Wed, 22 Jan 2025 15:07:57 GMT
---------------------------------------------------

ClientError: auth error: payment required for subsequent requests for this API key: {"response":{"errors":[{"message":"auth error: payment required for subsequent requests for this API key"}],"status":200,"headers":{}},"request":{"query":"{\n    uniswapDayData(id: 20110) {\n      feesUSD\n      volumeUSD\n    }\n    factories(first: 1, subgraphError: allow, block: { number: 103219479 }) {\n      txCount\n      totalVolumeUSD\n      totalFeesUSD\n      totalValueLockedUSD\n    }\n  }\n  "}}
    at /home/runner/work/dimension-adapters/dimension-adapters/node_modules/graphql-request/src/index.ts:498:11
    at step (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/graphql-request/dist/index.js:67:23)
    at Object.next (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/graphql-request/dist/index.js:48:53)
    at fulfilled (/home/runner/work/dimension-adapters/dimension-adapters/node_modules/graphql-request/dist/index.js:39:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  response: {
    errors: [ [Object] ],
    status: 200,
    headers: Headers { [Symbol(map)]: [Object: null prototype] }
  },
  request: {
    query: '{\n' +
      '    uniswapDayData(id: 20110) {\n' +
      '      feesUSD\n' +
      '      volumeUSD\n' +
      '    }\n' +
      '    factories(first: 1, subgraphError: allow, block: { number: 103219479 }) {\n' +
      '      txCount\n' +
      '      totalVolumeUSD\n' +
      '      totalFeesUSD\n' +
      '      totalValueLockedUSD\n' +
      '    }\n' +
      '  }\n' +
      '  ',
    variables: undefined
  },
  chain: 'fantom'
}

@llamabutler
Copy link

The wagmi adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts dexs wagmi

🦙 Running WAGMI adapter 🦙
---------------------------------------------------
GRAPH_API_KEY env variable is not set, using the default api key
Start Date:	Tue, 21 Jan 2025 15:34:37 GMT
End Date:	Wed, 22 Jan 2025 15:34:37 GMT
---------------------------------------------------

FANTOM 👇
Backfill start time: 12/4/2023
NO METHODOLOGY SPECIFIED
Total volume: 3.86 M
Daily volume: 11
End timestamp: 1737560076 (2025-01-22T15:34:36.000Z)


ETHEREUM 👇
Backfill start time not defined
NO METHODOLOGY SPECIFIED
Total volume: 18.63 M
Daily volume: 9.14 k
End timestamp: 1737560076 (2025-01-22T15:34:36.000Z)


METIS 👇
Backfill start time: 18/12/2023
NO METHODOLOGY SPECIFIED
Total volume: 362.51 M
Daily volume: 859.20 k
End timestamp: 1737560076 (2025-01-22T15:34:36.000Z)


KAVA 👇
Backfill start time: 12/9/2023
NO METHODOLOGY SPECIFIED
Total volume: 600.40 M
Daily volume: 820.79 k
End timestamp: 1737560076 (2025-01-22T15:34:36.000Z)


SONIC 👇
Backfill start time: 18/12/2023
NO METHODOLOGY SPECIFIED
Total volume: 678.31 M
Daily volume: 28.74 M
End timestamp: 1737560076 (2025-01-22T15:34:36.000Z)

@llamabutler
Copy link

The wagmi adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees wagmi

🦙 Running WAGMI adapter 🦙
---------------------------------------------------
GRAPH_API_KEY env variable is not set, using the default api key
Start Date:	Tue, 21 Jan 2025 00:00:00 GMT
End Date:	Wed, 22 Jan 2025 00:00:00 GMT
---------------------------------------------------

FANTOM 👇
Backfill start time: 12/4/2023
End timestamp: 1737503999 (2025-01-21T23:59:59.000Z)
Daily fees: 1
└─ Methodology: Fees generated on each swap at a rate set by the pool.
Total fees: 12.28 k
└─ Methodology: Fees generated on each swap at a rate set by the pool.
Daily user fees: 1
└─ Methodology: LPs collect 100% of the fee generated in a pool
Total user fees: 12.28 k
└─ Methodology: LPs collect 100% of the fee generated in a pool


KAVA 👇
Backfill start time: 12/9/2023
End timestamp: 1737503999 (2025-01-21T23:59:59.000Z)
Daily fees: 2.20 k
└─ Methodology: Fees generated on each swap at a rate set by the pool.
Total fees: 982.32 k
└─ Methodology: Fees generated on each swap at a rate set by the pool.
Daily user fees: 2.20 k
└─ Methodology: LPs collect 100% of the fee generated in a pool
Total user fees: 982.32 k
└─ Methodology: LPs collect 100% of the fee generated in a pool


ETHEREUM 👇
Backfill start time not defined
End timestamp: 1737503999 (2025-01-21T23:59:59.000Z)
Daily fees: 217
└─ Methodology: Fees generated on each swap at a rate set by the pool.
Total fees: 186.11 k
└─ Methodology: Fees generated on each swap at a rate set by the pool.
Daily user fees: 217
└─ Methodology: LPs collect 100% of the fee generated in a pool
Total user fees: 186.11 k
└─ Methodology: LPs collect 100% of the fee generated in a pool


METIS 👇
Backfill start time: 18/12/2023
End timestamp: 1737503999 (2025-01-21T23:59:59.000Z)
Daily fees: 2.21 k
└─ Methodology: Fees generated on each swap at a rate set by the pool.
Total fees: 623.90 k
└─ Methodology: Fees generated on each swap at a rate set by the pool.
Daily user fees: 2.21 k
└─ Methodology: LPs collect 100% of the fee generated in a pool
Total user fees: 623.90 k
└─ Methodology: LPs collect 100% of the fee generated in a pool


SONIC 👇
Backfill start time: 18/12/2023
End timestamp: 1737503999 (2025-01-21T23:59:59.000Z)
Daily fees: 118.30 k
└─ Methodology: Fees generated on each swap at a rate set by the pool.
Total fees: 2.22 M
└─ Methodology: Fees generated on each swap at a rate set by the pool.
Daily user fees: 118.30 k
└─ Methodology: LPs collect 100% of the fee generated in a pool
Total user fees: 2.22 M
└─ Methodology: LPs collect 100% of the fee generated in a pool

@dtmkeng dtmkeng merged commit a54667c into DefiLlama:master Jan 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants