-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hi,
Is this possible to add poolId as a field of Position entity. When I got the position id -> i wanna know the data of position and data of the pool that this position minted. But with current code seems like I can't
Lines 416 to 433 in d987ffc
type Position @entity { | |
# tokenId | |
id: ID! | |
# tokenId | |
tokenId: BigInt! | |
# address of current owner | |
owner: String! | |
# the EOA that minted the position | |
origin: String! | |
# created time | |
createdAtTimestamp: BigInt! | |
# subscribe events | |
subscriptions: [Subscribe!]! @derivedFrom(field: "position") | |
# unsubscription events | |
unsubscriptions: [Unsubscribe!]! @derivedFrom(field: "position") | |
# transfer events | |
transfers: [Transfer!]! @derivedFrom(field: "position") | |
} |
Metadata
Metadata
Assignees
Labels
No labels