From 4d4f5670ceafb98d6f82b2e9056e2745c3cb1a23 Mon Sep 17 00:00:00 2001 From: mihaisc Date: Mon, 31 Jan 2022 15:03:33 +0200 Subject: [PATCH] add orders to token --- schema.graphql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/schema.graphql b/schema.graphql index 6b284fb..98a35e6 100644 --- a/schema.graphql +++ b/schema.graphql @@ -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")