-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
We currently only track ERC20 token transfers but we want to track all types transactions we have in our pool and be able to show a history of a user's past transactions. We should add an entity to the subgraph schema allowing us to track all possible transaction types with the following fields:
- Timestamp
- EthTxHash
- Type: supplyOrder, redeemOrder, supply, redeem, disburseRedeem, disburseSupply, send, receive
- Token: tokenAddress
- Junior/Senior
- Pool: poolId
- Amount:
- Denominated in DROP/TIN for redemptions, disburseSupply, send,receive
- Denominated in DAI for supply, disburseRedeem
- PendingSupplyOrder: pending amount in DAI if the user still has a pending order that is partially fulfilled
- PendingRedeemOrder: pending amount in DROP/TIN if the user still has a pending order that is partially fulfilled
- Token Price at the time of the transaction
Metadata
Metadata
Assignees
Labels
No labels