-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dune mock api service #2
Conversation
apps/dune-simulator/src/endpoints/dune-simulator/dune-simulator.controller.ts
Outdated
Show resolved
Hide resolved
… working for charts with many points)
…ndpoint that returns html document with the chart
public async hatomWebhook(eventsLog: EventLog[], borrowedToken: string): Promise<void> { | ||
|
||
for (const eventLog of eventsLog) { | ||
const borrowEventInHex = '626f72726f775f6576656e74'; |
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 could have defined the const as regular string and decode the first topic. easier to see what we're looking for
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.
Wouldn't this be costly? Maybe we can add a comment with the event in string format @bogdan-rosianu
No description provided.