---
# System prepended metadata

title: Pool-Party Minion Data

---

# Pool-Party Minion Data 

List of data by views 

**My DAOs**

*Subgraph Data:*
 * DH Subgraph - GET_DAOS
     * DAO Name 

**Dashboard View**
*Subgraph Data:*
* PP Subgraph - GET_PARTIES (sorted by DAO)
    * Minion Type 
    * Token 
        * rewardsOn
        * Deposits
            * amount
        * Withdraws
            * amount
        * Loans
            * amount
        * Repayments
            * amount 

** We should net out Deposits / Withdraws and Loans / Repayments to get outstanding Deposits and Loans amount (by token)

*View-only Contract Calls - (Aave)*

    getOurCompactReserveData([for tokens with a positive Deposits amount]) returns (,,,liquidityRate,) ** gets interest rate on deposits
    calcMemberEarnings(current user, [tokens where rewards are on])

** Use these to get the yeild on deposits and the signed-in member rewards where rewards for a token are on. 

**Aave Party Minion Dashboard**

*Subgraph Data:*
* PP Subgraph - GET_PARTY (sorted by DAO)
    * Minion Type 
    * Proposals 
        * proposalId
        * cancelled
        * executed
    * Tokens 
        * rewardsOn

** Use this data for matching proposalIds and getting which tokens have rewardsOn. 

* PP Subgraph - GET_TOKEN (need to add this)
    * Deposits
    * Withdraws
    * Loans
    * Repayments

** Use this data to get the stats for each token 

* DH - Subgraph - GET_MOLOCH 
    * Match GET_PARTY proposalIds to proposal Ids here. 
    * Voting Period Starts
    * Voting Period Ends
    * Grace Period Ends
    * Sponsored
    * Processed

** Use this data for the top proposal cards to track progress

*View-only Contract Calls - (Aave)*

    getOurCompactReserveData([for tokens with a positive Deposits amount]) returns (,,,liquidityRate,) ** gets interest rate on deposits
    calcMemberEarnings(current user, [tokens where rewards are on])


