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

Add endpoint for events logs #1069

Open
wants to merge 18 commits into
base: development
Choose a base branch
from
Prev Previous commit
Next Next commit
Extend logging
  • Loading branch information
danielailie committed Jun 3, 2024
commit 3d89834cf71849cf819475edf59c2458404097c3
Original file line number Diff line number Diff line change
@@ -39,8 +39,8 @@ export class MarketplaceEventsProcessingService {

public async handleNftAuctionEvents(auctionEvents: EventLog[]) {
for (let event of auctionEvents) {
console.log('Received events: ', event.identifier)
const marketplace = await this.marketplaceService.getMarketplaceByAddress(event.address);
console.log('Received events: ', event.identifier, { marketplace })
switch (event.identifier) {
case AuctionEventEnum.BidEvent:
case KroganSwapAuctionEventEnum.Bid:
Loading