Skip to main content

Entities

Entities for the MasterChef subgraph are all listed below.

MasterChef

FieldTypeDescription
idIDchef address
bonusMultiplierBigIntbonus multiplier
bonusEndBlockBigIntblock to end bonuses on
devaddrBytesdev fund address
migratorBytesmigrator address
ownerBytesowner address
startBlockBigIntstart block
sushiBytesSUSHI token address
sushiPerBlockBigIntSUSHI per block
totalAllocPointBigInttotal SUSHI allocation point
pools[Pools]array of pools
poolCountBigIntnumber of pools
slpBalanceBigDecimalSLP balance
slpAgeBigDecimalage of SLP
slpAgeRemovedBigDecimalSLP age removed
slpDepositedBigDecimalamount of SLP deposited
slpWithdrawnBigDecimalamount of SLP withdrawn
history[History]array of history
updatedAtBigInttimestamp of most recent update

History

FieldTypeDescription
idIDMasterChef ID concantenated with timestamp
ownerBytesowner address (MasterChef, Pool, or User)
slpBalanceBigDecimalSLP balance
slpAgeBigDecimalage of SLP
slpAgeRemovedBigDecimalSLP age removed
slpDepositedBigDecimalamount of SLP deposited
slpWithdrawnBigDecimalamount of SLP withdrawn
timestampBigInttimestamp
blockBigIntblock

Pool

FieldTypeDescription
idIDindex of pool
ownerMasterChefowner address
pairBytespair address
allocPointBigIntallocation point
lastRewardBlockBigIntlast reward block
accSushiPerShareBigIntaccumulated SUSHI per share
users[User]array of users
balanceBigIntSLP token balance
userCountBigIntnumber of users
slpBalanceBigDecimalSLP balance
slpAgeBigDecimalage of SLP
slpAgeRemovedBigDecimalSLP age removed
slpDepositedBigDecimalamount of SLP deposited
slpWithdrawnBigDecimalamount of SLP withdrawn
sushiHarvestedBigDecimalamount of SUSHI harvested
sushiHarvestedUSDBigDecimalamount of SUSHI harvested in USD
entryUSDBigDecimalall time entries in USD
exitUSDBigDecimalall time exits in USD
timestampBigInttimestamp
blockBigIntblock
updatedAtBigInttimestamp of most recent update

Pool History

FieldTypeDescription
idIDpool id concatenated with unix timestamp for the start of the day / 86400
poolPoolpool
userCountBigIntnumber of users
slpBalanceBigDecimalSLP balance
slpAgeBigDecimalage of SLP
slpAgeRemovedBigDecimalSLP age removed
slpDepositedBigDecimalamount of SLP deposited
slpWithdrawnBigDecimalamount of SLP withdrawn
sushiHarvestedBigDecimalamount of SUSHI harvested
sushiHarvestedUSDBigDecimalamount of SUSHI harvested in USD
entryUSDBigDecimalall time entries in USD
exitUSDBigDecimalall time exits in USD
timestampBigInttimestamp
blockBigIntblock

User

FieldTypeDescription
idIDpool ID concatenated with user address
addressBytesuser address
poolPoolpool
amountBigIntamount
rewardDebtBigIntamount of reward debt
entryUSDBigDecimalall time entries in USD
exitUSDBigDecimalall time exits in USD
sushiHarvestedBigDecimalamount of SUSHI harvested
sushiHarvestedUSDBigDecimalamount of SUSHI harvested in USD
timestampBigInttimestamp
blockBigIntblock