-
Notifications
You must be signed in to change notification settings - Fork 85
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 dyson finance adapter #46
Conversation
Add dyson finance adapter
@ytwang00 hi can you fix to pass the test check? also when users deposit , are they given a receipt token? if yes we should also be tracking these in adapter |
Modify folder stucture
@0xroll |
Use real number
@0xroll |
Fix pagination issue
@0xroll DYSON_POSITIONS_QUERY => fetching all data with pagination |
adapters/dysonfinance/src/index.ts
Outdated
const DYSON_POSITIONS_QUERY = ` | ||
query DysonPositionsQuery($blockNumber: Int!) { | ||
noteEntities(first: 1000, skip: 0, where: {isWithdrawed: false}, block: {number: $blockNumber}, orderBy: timestamp, orderDirection: desc) { | ||
timestamp | ||
user | ||
pair | ||
depositType | ||
depositAmt | ||
token0Amt | ||
token1Amt | ||
isWithdrawed | ||
} | ||
} | ||
`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to add in pagination so that we do not miss any active positions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May 5th and two days ago?
I must have missed that...
No description provided.