add orders to token

This commit is contained in:
mihaisc 2022-01-31 15:03:33 +02:00
parent 49f46806f4
commit 4d4f5670ce

View File

@ -35,6 +35,8 @@ type Token @entity {
"number of orders executed for this datatoken"
orderCount: BigInt!
"orders created with the datatoken, only available for datatokens"
orders: [Order!] @derivedFrom(field:"datatoken")
"fixed rate exchanges, only available for datatokens"
fixedRateExchanges: [FixedRateExchange!] @derivedFrom(field:"datatoken")