Subgraph to get Curve transfer events and virtual prices needed for calculating historical CRV Distribution data
query getTransfers($first: Int!, $skip: Int!) {
transferEvents(orderBy: block, orderDirection: asc, first: $first, skip: $skip) {
id
block
timestamp
transfers(orderBy: logIndex, orderDirection: asc) {
id
logIndex
from
to
value
address
}
}
}
query getVirtualPrices($first: Int!, $skip: Int!) {
virtualPrices(orderBy: block, orderDirection: asc, first: $first, skip: $skip) {
id
address
block
timestamp
virtualPrice
}
}