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 goplus-locker fees #2263

Closed
wants to merge 6 commits into from
Closed

add goplus-locker fees #2263

wants to merge 6 commits into from

Conversation

goplusbot
Copy link
Contributor

Use queryDune to get all received tokens

@llamabutler
Copy link

The goplus-locker.ts adapter exports:

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

🦙 Running GOPLUS-LOCKER.TS adapter 🦙
---------------------------------------------------
Start Date:	Sun, 29 Dec 2024 01:32:42 GMT
End Date:	Mon, 30 Dec 2024 01:32:42 GMT
---------------------------------------------------

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

endDate.setTime(options.endTimestamp * 1000);
let end = moment(endDate).format("YYYY-MM-DD hh:mm:ss");

const values = await queryDune('4444430', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how that dune query diff our function addTokensReceived

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You said the indexer only support eth chain, the database I queried on dune supports eth,bsc,base,arbitrum... and many other evm chains we will deployed our project on.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no prev you use our indexer, now adapter use function addTokensReceived is support many chain

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, then keep using the addTokensReceived method as before, you can ignore this pull request,thanks.

@dtmkeng dtmkeng closed this Jan 3, 2025
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.

5 participants