Skip to content

Commit

Permalink
feat: added getAllTokenAddresses to graphQuery service
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-zkLinkLabs committed Apr 4, 2024
1 parent 668ed60 commit 6dd1830
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/explorer/graphQuery.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ export class GraphQueryService implements OnModuleInit {
}
}

public getAllTokenAddresses(projectName: string): string[] {
return Array.from(this.projectTokenMap.get(projectName).keys());
}

public getAllProjectIds(projectName: string): string[] {
return Array.from(this.projectTokenMap.get(projectName).values());
}
Expand Down

0 comments on commit 6dd1830

Please sign in to comment.