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

[Fees - BetSwirl] Add Base and update subgraphs IDs #2122

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

RomualdH
Copy link
Contributor

No description provided.

@llamatester
Copy link

The betswirl adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees betswirl

🦙 Running BETSWIRL adapter 🦙
---------------------------------------------------
GRAPH_API_KEY env variable is not set, using the default api key
Start Date:	Sat, 23 Nov 2024 11:51:49 GMT
End Date:	Sun, 24 Nov 2024 11:51:49 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              todayTokens: tokens(block: { number: 22829880 }) {\n                    id\n                    dividendAmount\n                    bankAmount\n                    partnerAmount\n                    treasuryAmount\n                    teamAmount\n                    affiliateAmount\n                }\n                yesterdayTokens: tokens(block: { number: 22786680 }) {\n                    id\n                    dividendAmount\n                    bankAmount\n                    partnerAmount\n                    treasuryAmount\n                    teamAmount\n                    affiliateAmount\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' +
      '              todayTokens: tokens(block: { number: 22829880 }) {\n' +
      '                    id\n' +
      '                    dividendAmount\n' +
      '                    bankAmount\n' +
      '                    partnerAmount\n' +
      '                    treasuryAmount\n' +
      '                    teamAmount\n' +
      '                    affiliateAmount\n' +
      '                }\n' +
      '                yesterdayTokens: tokens(block: { number: 22786680 }) {\n' +
      '                    id\n' +
      '                    dividendAmount\n' +
      '                    bankAmount\n' +
      '                    partnerAmount\n' +
      '                    treasuryAmount\n' +
      '                    teamAmount\n' +
      '                    affiliateAmount\n' +
      '                }\n' +
      '            }',
    variables: undefined
  },
  chain: 'base'
}

@dtmkeng dtmkeng merged commit c3fb8ad into DefiLlama:master Nov 24, 2024
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