Subgraph for the Tinlake applications.
graph auth https://api.thegraph.com/deploy/ ACCESS_TOKEN
yarn run codegen ./subgraph-mainnet-production.yaml
yarn run deploy centrifuge/tinlake ./subgraph-mainnet-production.yaml
graph auth https://api.thegraph.com/deploy/ ACCESS_TOKEN
yarn run codegen ./subgraph-kovan-staging.yaml
yarn run deploy centrifuge/tinlake-kovan-staging ./subgraph-kovan-staging.yaml
Kovan staging playground: https://thegraph.com/explorer/subgraph/centrifuge/tinlake-kovan-staging
{ loans {
id
pool {
id
}
index
owner
opened
closed
debt
interestRatePerSecond
ceiling
threshold
borrowsCount
borrowsAggregatedAmount
repaysCount
repaysAggregatedAmount
nftId,
nftRegistry
}
}
{
pools {
id
loans {
id
}
totalDebt
totalBorrowsCount
totalBorrowsAggregatedAmount
weightedInterestRate
seniorDebt
minJuniorRatio
currentJuniorRatio
}