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

Dune mock api service #2

Merged
merged 58 commits into from
Sep 17, 2024
Merged

Dune mock api service #2

merged 58 commits into from
Sep 17, 2024

Conversation

GuticaStefan
Copy link
Collaborator

No description provided.

apps/api/src/config/app-config.service.ts Outdated Show resolved Hide resolved
apps/dune-mock/src/main.ts Outdated Show resolved Hide resolved
config/config.yaml Outdated Show resolved Hide resolved
libs/services/src/dune-mock/dune-mock.service.ts Outdated Show resolved Hide resolved
libs/services/src/dune-mock/dune-mock.service.ts Outdated Show resolved Hide resolved
libs/services/src/dune-sender/dune-sender.service.ts Outdated Show resolved Hide resolved
public async hatomWebhook(eventsLog: EventLog[], borrowedToken: string): Promise<void> {

for (const eventLog of eventsLog) {
const borrowEventInHex = '626f72726f775f6576656e74';
Copy link
Collaborator

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

Copy link
Collaborator

@MogageNicolae MogageNicolae Sep 16, 2024

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

libs/services/src/events/hatom.events.service.ts Outdated Show resolved Hide resolved
libs/services/src/events/hatom.events.service.ts Outdated Show resolved Hide resolved
libs/services/src/data/data.service.ts Show resolved Hide resolved
@GuticaStefan GuticaStefan merged commit a93082f into development Sep 17, 2024
1 check passed
@GuticaStefan GuticaStefan deleted the Dune-mock-API-Service branch September 17, 2024 08:31
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.

3 participants