diff --git a/modules/pool/lib/pool-gql-loader.service.ts b/modules/pool/lib/pool-gql-loader.service.ts index f6d97f1ee..9a888f599 100644 --- a/modules/pool/lib/pool-gql-loader.service.ts +++ b/modules/pool/lib/pool-gql-loader.service.ts @@ -219,6 +219,10 @@ export class PoolGqlLoaderService { in: where?.poolTypeIn || undefined, notIn: where?.poolTypeNotIn || undefined, }, + createTime: { + gt: where?.createTime?.gt || undefined, + lt: where?.createTime?.lt || undefined, + }, AND: allTokensFilter, id: { in: where?.idIn || undefined, diff --git a/modules/pool/pool.gql b/modules/pool/pool.gql index f35ca3211..6f898b54f 100644 --- a/modules/pool/pool.gql +++ b/modules/pool/pool.gql @@ -561,6 +561,11 @@ type GqlPoolAprTotal { total: BigDecimal! } +input GqlPoolTimePeriod { + gt: Int + lt: Int +} + enum GqlPoolOrderBy { totalLiquidity totalShares @@ -587,6 +592,7 @@ input GqlPoolFilter { filterNotIn: [String!] chainIn: [GqlChain!] chainNotIn: [GqlChain!] + createTime: GqlPoolTimePeriod } enum GqlPoolFilterCategory {