-
Notifications
You must be signed in to change notification settings - Fork 10
PoolFees
event handler refactoring and user centric entity creation
#351
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
PoolFees
event handler refactoring and user centric entity creation
#351
Conversation
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.
started completing the existing User
entity with more fields
As i refactor other events handlers, I will update this schema
chainId: Int! | ||
} | ||
|
||
type Pool_Fees { |
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.
not needed anymore
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.
module that centralises functions related to User
entity
lastUpdatedTimestamp: new Date(event.block.timestamp * 1000), | ||
}; | ||
|
||
// Prepare user diff data |
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.
similar style of diff
variable to that of liquidityPoolDiff
, for consistency
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.
lock file is responsible for 99% of number of lines changed
bb40ac1
to
c1db959
Compare
fixing testing fix another attempt at github workflow fix testing again another test a
c1db959
to
89dbc68
Compare
Implements:
PoolFees
event handler