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

Add WOOFi Sonic #2274

Merged
merged 1 commit into from
Jan 4, 2025
Merged

Add WOOFi Sonic #2274

merged 1 commit into from
Jan 4, 2025

Conversation

0xmer1in
Copy link
Contributor

@0xmer1in 0xmer1in commented Jan 2, 2025

No description provided.

@llamabutler
Copy link

The woofi adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs woofi

🦙 Running WOOFI adapter 🦙
---------------------------------------------------
GRAPH_API_KEY env variable is not set, using the default api key
Start Date:	Wed, 01 Jan 2025 00:00:00 GMT
End Date:	Thu, 02 Jan 2025 00:00:00 GMT
---------------------------------------------------

fetching volume for 1735689600
fetching volume for 1735689600
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  query getDailyVolume($Id: Int!) {\n    dayData(id: $Id) {\n      volumeUSD\n    },\n    globalVariables {\n      totalVolumeUSD\n    }\n  }\n","variables":{"Id":20089}}}
    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' +
      '  query getDailyVolume($Id: Int!) {\n' +
      '    dayData(id: $Id) {\n' +
      '      volumeUSD\n' +
      '    },\n' +
      '    globalVariables {\n' +
      '      totalVolumeUSD\n' +
      '    }\n' +
      '  }\n',
    variables: { Id: 20089 }
  }
}
fetching volume for 1735689600
fetching volume for 1735689600
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  query getDailyVolume($Id: Int!) {\n    dayData(id: $Id) {\n      volumeUSD\n    },\n    globalVariables {\n      totalVolumeUSD\n    }\n  }\n","variables":{"Id":20089}}}
    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' +
      '  query getDailyVolume($Id: Int!) {\n' +
      '    dayData(id: $Id) {\n' +
      '      volumeUSD\n' +
      '    },\n' +
      '    globalVariables {\n' +
      '      totalVolumeUSD\n' +
      '    }\n' +
      '  }\n',
    variables: { Id: 20089 }
  }
}
fetching volume for 1735689600
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  query getDailyVolume($Id: Int!) {\n    dayData(id: $Id) {\n      volumeUSD\n    },\n    globalVariables {\n      totalVolumeUSD\n    }\n  }\n","variables":{"Id":20089}}}
    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' +
      '  query getDailyVolume($Id: Int!) {\n' +
      '    dayData(id: $Id) {\n' +
      '      volumeUSD\n' +
      '    },\n' +
      '    globalVariables {\n' +
      '      totalVolumeUSD\n' +
      '    }\n' +
      '  }\n',
    variables: { Id: 20089 }
  }
}
fetching volume for 1735689600
fetching volume for 1735689600
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  query getDailyVolume($Id: Int!) {\n    dayData(id: $Id) {\n      volumeUSD\n    },\n    globalVariables {\n      totalVolumeUSD\n    }\n  }\n","variables":{"Id":20089}}}
    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' +
      '  query getDailyVolume($Id: Int!) {\n' +
      '    dayData(id: $Id) {\n' +
      '      volumeUSD\n' +
      '    },\n' +
      '    globalVariables {\n' +
      '      totalVolumeUSD\n' +
      '    }\n' +
      '  }\n',
    variables: { Id: 20089 }
  }
}
fetching volume for 1735689600
fetching volume for 1735689600
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  query getDailyVolume($Id: Int!) {\n    dayData(id: $Id) {\n      volumeUSD\n    },\n    globalVariables {\n      totalVolumeUSD\n    }\n  }\n","variables":{"Id":20089}}}
    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' +
      '  query getDailyVolume($Id: Int!) {\n' +
      '    dayData(id: $Id) {\n' +
      '      volumeUSD\n' +
      '    },\n' +
      '    globalVariables {\n' +
      '      totalVolumeUSD\n' +
      '    }\n' +
      '  }\n',
    variables: { Id: 20089 }
  }
}
fetching volume for 1735689600
fetching volume for 1735689600
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  query getDailyVolume($Id: Int!) {\n    dayData(id: $Id) {\n      volumeUSD\n    },\n    globalVariables {\n      totalVolumeUSD\n    }\n  }\n","variables":{"Id":20089}}}
    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' +
      '  query getDailyVolume($Id: Int!) {\n' +
      '    dayData(id: $Id) {\n' +
      '      volumeUSD\n' +
      '    },\n' +
      '    globalVariables {\n' +
      '      totalVolumeUSD\n' +
      '    }\n' +
      '  }\n',
    variables: { Id: 20089 }
  }
}
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  query getDailyVolume($Id: Int!) {\n    dayData(id: $Id) {\n      volumeUSD\n    },\n    globalVariables {\n      totalVolumeUSD\n    }\n  }\n","variables":{"Id":20089}}}
    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' +
      '  query getDailyVolume($Id: Int!) {\n' +
      '    dayData(id: $Id) {\n' +
      '      volumeUSD\n' +
      '    },\n' +
      '    globalVariables {\n' +
      '      totalVolumeUSD\n' +
      '    }\n' +
      '  }\n',
    variables: { Id: 20089 }
  }
}
fetching volume for 1735689600
AVAX 👇
Backfill start time: 19/2/2022
NO METHODOLOGY SPECIFIED


BSC 👇
Backfill start time: 26/10/2021
NO METHODOLOGY SPECIFIED


FANTOM 👇
Backfill start time: 13/4/2022
NO METHODOLOGY SPECIFIED


POLYGON 👇
Backfill start time: 24/6/2022
NO METHODOLOGY SPECIFIED


ARBITRUM 👇
Backfill start time: 4/11/2022
NO METHODOLOGY SPECIFIED


OPTIMISM 👇
Backfill start time: 23/11/2022
NO METHODOLOGY SPECIFIED


ERA 👇
Backfill start time: 5/4/2023
NO METHODOLOGY SPECIFIED
Daily volume: 1.42 M
Total volume: 756.14 M


POLYGON_ZKEVM 👇
Backfill start time: 5/7/2023
NO METHODOLOGY SPECIFIED
Daily volume: 0
Total volume: 9.96 M


LINEA 👇
Backfill start time: 10/8/2023
NO METHODOLOGY SPECIFIED
Daily volume: 611.92 k
Total volume: 198.88 M


BASE 👇
Backfill start time: 15/8/2023
NO METHODOLOGY SPECIFIED
Daily volume: 7.45 M
Total volume: 1.41 B


MANTLE 👇
Backfill start time: 31/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 1.14 M
Total volume: 546.12 M


SONIC 👇
Backfill start time: 18/12/2024
NO METHODOLOGY SPECIFIED

@dtmkeng
Copy link
Contributor

dtmkeng commented Jan 2, 2025

seem erorr "bad indexers" for sonic chain could you check ? @0xmer1in

@0xmer1in
Copy link
Contributor Author

0xmer1in commented Jan 2, 2025

https://thegraph.com/explorer/subgraphs/7dkVEmyCHvjnYYUJ9DR1t2skkZrdbfSWpK6wpMbF9CEk?view=Query&chain=arbitrum-one

the published subgraph link here, seems like the thegraph id is correct, not sure why, did bsc or avalanche having this kind of error?

@dtmkeng dtmkeng merged commit 26a1913 into DefiLlama:master Jan 4, 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