DefiLlama / dimension-adapters

91 stars 1.01k forks source link

[Gains Network | gTrade] Update fees/volume stats #2036

Closed 0xCrumb closed 3 weeks ago

0xCrumb commented 3 weeks ago

Simplifies fees/volumes fetching by using Dune queries; Brings stats up to date with v9.4

llamatester commented 3 weeks ago

The gains-network adapter exports:

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

🦙 Running GAINS-NETWORK adapter 🦙
---------------------------------------------------
Start Date: Tue, 22 Oct 2024 00:00:00 GMT
End Date:   Wed, 23 Oct 2024 00:00:00 GMT
---------------------------------------------------

[Error: Request failed with status code 401] {
  url: 'https://api.dune.com/api/v1/query/4192058/results',
  method: 'GET',
  axiosError: 'invalid API Key',
  chain: 'base'
}
llamatester commented 3 weeks ago

The gains-network.ts adapter exports:

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

🦙 Running GAINS-NETWORK.TS adapter 🦙
---------------------------------------------------
Start Date: Tue, 22 Oct 2024 00:00:00 GMT
End Date:   Wed, 23 Oct 2024 00:00:00 GMT
---------------------------------------------------

[Error: Request failed with status code 401] {
  url: 'https://api.dune.com/api/v1/query/4192058/results',
  method: 'GET',
  axiosError: 'invalid API Key',
  chain: 'arbitrum'
}
llamatester commented 3 weeks ago

The gains-network adapter exports:

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

🦙 Running GAINS-NETWORK adapter 🦙
---------------------------------------------------
Start Date: Tue, 22 Oct 2024 00:00:00 GMT
End Date:   Wed, 23 Oct 2024 00:00:00 GMT
---------------------------------------------------

[Error: Request failed with status code 401] {
  url: 'https://api.dune.com/api/v1/query/4192058/results',
  method: 'GET',
  axiosError: 'invalid API Key',
  chain: 'base'
}
llamatester commented 3 weeks ago

The gains-network.ts adapter exports:

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

🦙 Running GAINS-NETWORK.TS adapter 🦙
---------------------------------------------------
Start Date: Tue, 22 Oct 2024 00:00:00 GMT
End Date:   Wed, 23 Oct 2024 00:00:00 GMT
---------------------------------------------------

[Error: Request failed with status code 401] {
  url: 'https://api.dune.com/api/v1/query/4192058/results',
  method: 'GET',
  axiosError: 'invalid API Key',
  chain: 'arbitrum'
}
llamatester commented 3 weeks ago

The gains-network adapter exports:

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

🦙 Running GAINS-NETWORK adapter 🦙
---------------------------------------------------
Start Date: Tue, 22 Oct 2024 00:00:00 GMT
End Date:   Wed, 23 Oct 2024 00:00:00 GMT
---------------------------------------------------

[Error: Request failed with status code 401] {
  url: 'https://api.dune.com/api/v1/query/4192496/execute',
  method: 'POST',
  axiosError: 'invalid API Key',
  chain: 'base'
}
llamatester commented 3 weeks ago

The gains-network.ts adapter exports:

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

🦙 Running GAINS-NETWORK.TS adapter 🦙
---------------------------------------------------
Start Date: Tue, 22 Oct 2024 00:00:00 GMT
End Date:   Wed, 23 Oct 2024 00:00:00 GMT
---------------------------------------------------

[Error: Request failed with status code 401] {
  url: 'https://api.dune.com/api/v1/query/4192496/execute',
  method: 'POST',
  axiosError: 'invalid API Key',
  chain: 'arbitrum'
}