From 2caa677c40cbe21bdbc1624860bef94773c9ab6a Mon Sep 17 00:00:00 2001 From: Sergey Ratiashvili Date: Fri, 31 May 2024 13:59:28 +0200 Subject: [PATCH] feat: schema --- schema.graphql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/schema.graphql b/schema.graphql index 44b2b08..1c67e5f 100644 --- a/schema.graphql +++ b/schema.graphql @@ -9,4 +9,11 @@ type UserBalance @entity { chainId: String!, @index lastDate: Date! lastHeight: BigInt! @index +} + +type UserBond @entity{ + id: ID! + ref: String!, + height: BigInt!, + date: Date! } \ No newline at end of file