-
Notifications
You must be signed in to change notification settings - Fork 33
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
refactor: events must emit addresses involved in the operation for better dApp indexing #186
Labels
Milestone
Comments
0xneves
added
enhancement
New feature or request
Hot Task
Doubled points in the reward table
labels
Jan 26, 2024
Hey @0xneves I'm on it |
blackbeard002
added a commit
to blackbeard002/swaplace-contracts
that referenced
this issue
Jan 26, 2024
Hey @0xneves ready for review |
blackbeard002
added a commit
to blackbeard002/swaplace-contracts
that referenced
this issue
Jan 26, 2024
0xjoaovpsantos
added a commit
to 0xjoaovpsantos/swaplace-contracts
that referenced
this issue
Jan 26, 2024
Merged
4 tasks
0xneves
added a commit
that referenced
this issue
Feb 2, 2024
refactor: events must emit addresses involved in the operation for better dApp indexing #186
0xjoaovpsantos
added a commit
to 0xjoaovpsantos/swaplace-contracts
that referenced
this issue
Feb 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Refactor Request
Describe the Refactor Request
We need more context in the logs because we won't have a backend managing past history in the v1.0.0.
This means when your wallet is connected to the dApp, we will check for indexed events in your address.
We can fetch the
swapId
from such events, even the arguments used to call the function - for instance thecreateSwap
bidding and asked assets. This is thanks to function handlers from SubGraph. However we need to know which user is part of which swap.Describe Preferred Solution
swap.owner
orswap.allowed
, or both. The wanted solution is described below in the code scope.acceptee
toallowed
.Related Code
Current events are the following...
Additional Context
This is a hot task, the first PR resolving the issue will receive its bonuses.
The text was updated successfully, but these errors were encountered: