Skip to content

Commit

Permalink
Add a docs for fetchActivityDatas
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed May 7, 2024
1 parent 0e15ae1 commit 25dfb5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dapp/src/utils/subgraphAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ const mapToActivity = (activityData: ActivityDataResponse): Activity => {
}

// TODO: Fetch transactions for withdrawals
/**
* Returns the activities for the owner of the deposit..
* @param depositOwner Deposit owner's Ethereum address.
*/
async function fetchActivityDatas(depositOwner: string): Promise<Activity[]> {
const response = await axios.post<{
errors?: unknown
Expand Down

0 comments on commit 25dfb5b

Please sign in to comment.