sushiswap-watcher-ts/packages/v2-watcher/src/schema.gql
Prathamesh Musale b1b79c844a Generate watcher for sushiswap v2 subgraph (#2)
Part of [Generate watchers for sushiswap subgraphs deployed in graph-node](https://www.notion.so/Generate-watchers-for-sushiswap-subgraphs-deployed-in-graph-node-b3f2e475373d4ab1887d9f8720bd5ae6)

Reviewed-on: cerc-io/sushiswap-watcher-ts#2
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-06-12 04:15:03 +00:00

2331 lines
57 KiB
GraphQL

directive @cacheControl(maxAge: Int, inheritMaxAge: Boolean, scope: CacheControlScope) on FIELD_DEFINITION | OBJECT | INTERFACE | UNION
enum CacheControlScope {
PUBLIC
PRIVATE
}
scalar BigInt
scalar BigDecimal
scalar Bytes
type Proof {
data: String!
}
type _Block_ {
cid: String
hash: String!
number: Int!
timestamp: Int!
parentHash: String!
}
type _Transaction_ {
hash: String!
index: Int!
from: String!
to: String!
}
type ResultEvent {
block: _Block_!
tx: _Transaction_!
contract: String!
eventIndex: Int!
event: Event!
proof: Proof
}
union Event = PairCreatedEvent | ApprovalEvent | BurnEvent | MintEvent | SwapEvent | SyncEvent | TransferEvent
type PairCreatedEvent {
token0: String!
token1: String!
pair: String!
null: BigInt!
}
type ApprovalEvent {
owner: String!
spender: String!
value: BigInt!
}
type BurnEvent {
sender: String!
amount0: BigInt!
amount1: BigInt!
to: String!
}
type MintEvent {
sender: String!
amount0: BigInt!
amount1: BigInt!
}
type SwapEvent {
sender: String!
amount0In: BigInt!
amount1In: BigInt!
amount0Out: BigInt!
amount1Out: BigInt!
to: String!
}
type SyncEvent {
reserve0: BigInt!
reserve1: BigInt!
}
type TransferEvent {
from: String!
to: String!
value: BigInt!
}
input Block_height {
hash: Bytes
number: Int
}
input BlockChangedFilter {
number_gte: Int!
}
enum OrderDirection {
asc
desc
}
enum UniswapFactory_orderBy {
id
pairCount
totalVolumeUSD
totalVolumeETH
untrackedVolumeUSD
totalLiquidityUSD
totalLiquidityETH
txCount
}
input UniswapFactory_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
pairCount: Int
pairCount_not: Int
pairCount_gt: Int
pairCount_lt: Int
pairCount_gte: Int
pairCount_lte: Int
pairCount_in: [Int!]
pairCount_not_in: [Int!]
totalVolumeUSD: BigDecimal
totalVolumeUSD_not: BigDecimal
totalVolumeUSD_gt: BigDecimal
totalVolumeUSD_lt: BigDecimal
totalVolumeUSD_gte: BigDecimal
totalVolumeUSD_lte: BigDecimal
totalVolumeUSD_in: [BigDecimal!]
totalVolumeUSD_not_in: [BigDecimal!]
totalVolumeETH: BigDecimal
totalVolumeETH_not: BigDecimal
totalVolumeETH_gt: BigDecimal
totalVolumeETH_lt: BigDecimal
totalVolumeETH_gte: BigDecimal
totalVolumeETH_lte: BigDecimal
totalVolumeETH_in: [BigDecimal!]
totalVolumeETH_not_in: [BigDecimal!]
untrackedVolumeUSD: BigDecimal
untrackedVolumeUSD_not: BigDecimal
untrackedVolumeUSD_gt: BigDecimal
untrackedVolumeUSD_lt: BigDecimal
untrackedVolumeUSD_gte: BigDecimal
untrackedVolumeUSD_lte: BigDecimal
untrackedVolumeUSD_in: [BigDecimal!]
untrackedVolumeUSD_not_in: [BigDecimal!]
totalLiquidityUSD: BigDecimal
totalLiquidityUSD_not: BigDecimal
totalLiquidityUSD_gt: BigDecimal
totalLiquidityUSD_lt: BigDecimal
totalLiquidityUSD_gte: BigDecimal
totalLiquidityUSD_lte: BigDecimal
totalLiquidityUSD_in: [BigDecimal!]
totalLiquidityUSD_not_in: [BigDecimal!]
totalLiquidityETH: BigDecimal
totalLiquidityETH_not: BigDecimal
totalLiquidityETH_gt: BigDecimal
totalLiquidityETH_lt: BigDecimal
totalLiquidityETH_gte: BigDecimal
totalLiquidityETH_lte: BigDecimal
totalLiquidityETH_in: [BigDecimal!]
totalLiquidityETH_not_in: [BigDecimal!]
txCount: BigInt
txCount_not: BigInt
txCount_gt: BigInt
txCount_lt: BigInt
txCount_gte: BigInt
txCount_lte: BigInt
txCount_in: [BigInt!]
txCount_not_in: [BigInt!]
_change_block: BlockChangedFilter
and: [UniswapFactory_filter]
or: [UniswapFactory_filter]
}
enum Token_orderBy {
id
symbol
name
decimals
totalSupply
tradeVolume
tradeVolumeUSD
untrackedVolumeUSD
txCount
totalLiquidity
derivedETH
tokenDayData
pairDayDataBase
pairDayDataQuote
pairBase
pairQuote
}
input Token_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
symbol: String
symbol_not: String
symbol_gt: String
symbol_lt: String
symbol_gte: String
symbol_lte: String
symbol_in: [String!]
symbol_not_in: [String!]
symbol_starts_with: String
symbol_starts_with_nocase: String
symbol_not_starts_with: String
symbol_not_starts_with_nocase: String
symbol_ends_with: String
symbol_ends_with_nocase: String
symbol_not_ends_with: String
symbol_not_ends_with_nocase: String
symbol_contains: String
symbol_not_contains: String
symbol_contains_nocase: String
symbol_not_contains_nocase: String
name: String
name_not: String
name_gt: String
name_lt: String
name_gte: String
name_lte: String
name_in: [String!]
name_not_in: [String!]
name_starts_with: String
name_starts_with_nocase: String
name_not_starts_with: String
name_not_starts_with_nocase: String
name_ends_with: String
name_ends_with_nocase: String
name_not_ends_with: String
name_not_ends_with_nocase: String
name_contains: String
name_not_contains: String
name_contains_nocase: String
name_not_contains_nocase: String
decimals: BigInt
decimals_not: BigInt
decimals_gt: BigInt
decimals_lt: BigInt
decimals_gte: BigInt
decimals_lte: BigInt
decimals_in: [BigInt!]
decimals_not_in: [BigInt!]
totalSupply: BigInt
totalSupply_not: BigInt
totalSupply_gt: BigInt
totalSupply_lt: BigInt
totalSupply_gte: BigInt
totalSupply_lte: BigInt
totalSupply_in: [BigInt!]
totalSupply_not_in: [BigInt!]
tradeVolume: BigDecimal
tradeVolume_not: BigDecimal
tradeVolume_gt: BigDecimal
tradeVolume_lt: BigDecimal
tradeVolume_gte: BigDecimal
tradeVolume_lte: BigDecimal
tradeVolume_in: [BigDecimal!]
tradeVolume_not_in: [BigDecimal!]
tradeVolumeUSD: BigDecimal
tradeVolumeUSD_not: BigDecimal
tradeVolumeUSD_gt: BigDecimal
tradeVolumeUSD_lt: BigDecimal
tradeVolumeUSD_gte: BigDecimal
tradeVolumeUSD_lte: BigDecimal
tradeVolumeUSD_in: [BigDecimal!]
tradeVolumeUSD_not_in: [BigDecimal!]
untrackedVolumeUSD: BigDecimal
untrackedVolumeUSD_not: BigDecimal
untrackedVolumeUSD_gt: BigDecimal
untrackedVolumeUSD_lt: BigDecimal
untrackedVolumeUSD_gte: BigDecimal
untrackedVolumeUSD_lte: BigDecimal
untrackedVolumeUSD_in: [BigDecimal!]
untrackedVolumeUSD_not_in: [BigDecimal!]
txCount: BigInt
txCount_not: BigInt
txCount_gt: BigInt
txCount_lt: BigInt
txCount_gte: BigInt
txCount_lte: BigInt
txCount_in: [BigInt!]
txCount_not_in: [BigInt!]
totalLiquidity: BigDecimal
totalLiquidity_not: BigDecimal
totalLiquidity_gt: BigDecimal
totalLiquidity_lt: BigDecimal
totalLiquidity_gte: BigDecimal
totalLiquidity_lte: BigDecimal
totalLiquidity_in: [BigDecimal!]
totalLiquidity_not_in: [BigDecimal!]
derivedETH: BigDecimal
derivedETH_not: BigDecimal
derivedETH_gt: BigDecimal
derivedETH_lt: BigDecimal
derivedETH_gte: BigDecimal
derivedETH_lte: BigDecimal
derivedETH_in: [BigDecimal!]
derivedETH_not_in: [BigDecimal!]
tokenDayData_: TokenDayData_filter
pairDayDataBase_: PairDayData_filter
pairDayDataQuote_: PairDayData_filter
pairBase_: Pair_filter
pairQuote_: Pair_filter
_change_block: BlockChangedFilter
and: [Token_filter]
or: [Token_filter]
}
enum Pair_orderBy {
id
token0
token0__id
token0__symbol
token0__name
token0__decimals
token0__totalSupply
token0__tradeVolume
token0__tradeVolumeUSD
token0__untrackedVolumeUSD
token0__txCount
token0__totalLiquidity
token0__derivedETH
token1
token1__id
token1__symbol
token1__name
token1__decimals
token1__totalSupply
token1__tradeVolume
token1__tradeVolumeUSD
token1__untrackedVolumeUSD
token1__txCount
token1__totalLiquidity
token1__derivedETH
reserve0
reserve1
totalSupply
reserveETH
reserveUSD
trackedReserveETH
token0Price
token1Price
volumeToken0
volumeToken1
volumeUSD
untrackedVolumeUSD
txCount
createdAtTimestamp
createdAtBlockNumber
liquidityProviderCount
pairHourData
liquidityPositions
liquidityPositionSnapshots
mints
burns
swaps
}
input Pair_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
token0: String
token0_not: String
token0_gt: String
token0_lt: String
token0_gte: String
token0_lte: String
token0_in: [String!]
token0_not_in: [String!]
token0_starts_with: String
token0_starts_with_nocase: String
token0_not_starts_with: String
token0_not_starts_with_nocase: String
token0_ends_with: String
token0_ends_with_nocase: String
token0_not_ends_with: String
token0_not_ends_with_nocase: String
token0_contains: String
token0_not_contains: String
token0_contains_nocase: String
token0_not_contains_nocase: String
token0_: Token_filter
token1: String
token1_not: String
token1_gt: String
token1_lt: String
token1_gte: String
token1_lte: String
token1_in: [String!]
token1_not_in: [String!]
token1_starts_with: String
token1_starts_with_nocase: String
token1_not_starts_with: String
token1_not_starts_with_nocase: String
token1_ends_with: String
token1_ends_with_nocase: String
token1_not_ends_with: String
token1_not_ends_with_nocase: String
token1_contains: String
token1_not_contains: String
token1_contains_nocase: String
token1_not_contains_nocase: String
token1_: Token_filter
reserve0: BigDecimal
reserve0_not: BigDecimal
reserve0_gt: BigDecimal
reserve0_lt: BigDecimal
reserve0_gte: BigDecimal
reserve0_lte: BigDecimal
reserve0_in: [BigDecimal!]
reserve0_not_in: [BigDecimal!]
reserve1: BigDecimal
reserve1_not: BigDecimal
reserve1_gt: BigDecimal
reserve1_lt: BigDecimal
reserve1_gte: BigDecimal
reserve1_lte: BigDecimal
reserve1_in: [BigDecimal!]
reserve1_not_in: [BigDecimal!]
totalSupply: BigDecimal
totalSupply_not: BigDecimal
totalSupply_gt: BigDecimal
totalSupply_lt: BigDecimal
totalSupply_gte: BigDecimal
totalSupply_lte: BigDecimal
totalSupply_in: [BigDecimal!]
totalSupply_not_in: [BigDecimal!]
reserveETH: BigDecimal
reserveETH_not: BigDecimal
reserveETH_gt: BigDecimal
reserveETH_lt: BigDecimal
reserveETH_gte: BigDecimal
reserveETH_lte: BigDecimal
reserveETH_in: [BigDecimal!]
reserveETH_not_in: [BigDecimal!]
reserveUSD: BigDecimal
reserveUSD_not: BigDecimal
reserveUSD_gt: BigDecimal
reserveUSD_lt: BigDecimal
reserveUSD_gte: BigDecimal
reserveUSD_lte: BigDecimal
reserveUSD_in: [BigDecimal!]
reserveUSD_not_in: [BigDecimal!]
trackedReserveETH: BigDecimal
trackedReserveETH_not: BigDecimal
trackedReserveETH_gt: BigDecimal
trackedReserveETH_lt: BigDecimal
trackedReserveETH_gte: BigDecimal
trackedReserveETH_lte: BigDecimal
trackedReserveETH_in: [BigDecimal!]
trackedReserveETH_not_in: [BigDecimal!]
token0Price: BigDecimal
token0Price_not: BigDecimal
token0Price_gt: BigDecimal
token0Price_lt: BigDecimal
token0Price_gte: BigDecimal
token0Price_lte: BigDecimal
token0Price_in: [BigDecimal!]
token0Price_not_in: [BigDecimal!]
token1Price: BigDecimal
token1Price_not: BigDecimal
token1Price_gt: BigDecimal
token1Price_lt: BigDecimal
token1Price_gte: BigDecimal
token1Price_lte: BigDecimal
token1Price_in: [BigDecimal!]
token1Price_not_in: [BigDecimal!]
volumeToken0: BigDecimal
volumeToken0_not: BigDecimal
volumeToken0_gt: BigDecimal
volumeToken0_lt: BigDecimal
volumeToken0_gte: BigDecimal
volumeToken0_lte: BigDecimal
volumeToken0_in: [BigDecimal!]
volumeToken0_not_in: [BigDecimal!]
volumeToken1: BigDecimal
volumeToken1_not: BigDecimal
volumeToken1_gt: BigDecimal
volumeToken1_lt: BigDecimal
volumeToken1_gte: BigDecimal
volumeToken1_lte: BigDecimal
volumeToken1_in: [BigDecimal!]
volumeToken1_not_in: [BigDecimal!]
volumeUSD: BigDecimal
volumeUSD_not: BigDecimal
volumeUSD_gt: BigDecimal
volumeUSD_lt: BigDecimal
volumeUSD_gte: BigDecimal
volumeUSD_lte: BigDecimal
volumeUSD_in: [BigDecimal!]
volumeUSD_not_in: [BigDecimal!]
untrackedVolumeUSD: BigDecimal
untrackedVolumeUSD_not: BigDecimal
untrackedVolumeUSD_gt: BigDecimal
untrackedVolumeUSD_lt: BigDecimal
untrackedVolumeUSD_gte: BigDecimal
untrackedVolumeUSD_lte: BigDecimal
untrackedVolumeUSD_in: [BigDecimal!]
untrackedVolumeUSD_not_in: [BigDecimal!]
txCount: BigInt
txCount_not: BigInt
txCount_gt: BigInt
txCount_lt: BigInt
txCount_gte: BigInt
txCount_lte: BigInt
txCount_in: [BigInt!]
txCount_not_in: [BigInt!]
createdAtTimestamp: BigInt
createdAtTimestamp_not: BigInt
createdAtTimestamp_gt: BigInt
createdAtTimestamp_lt: BigInt
createdAtTimestamp_gte: BigInt
createdAtTimestamp_lte: BigInt
createdAtTimestamp_in: [BigInt!]
createdAtTimestamp_not_in: [BigInt!]
createdAtBlockNumber: BigInt
createdAtBlockNumber_not: BigInt
createdAtBlockNumber_gt: BigInt
createdAtBlockNumber_lt: BigInt
createdAtBlockNumber_gte: BigInt
createdAtBlockNumber_lte: BigInt
createdAtBlockNumber_in: [BigInt!]
createdAtBlockNumber_not_in: [BigInt!]
liquidityProviderCount: BigInt
liquidityProviderCount_not: BigInt
liquidityProviderCount_gt: BigInt
liquidityProviderCount_lt: BigInt
liquidityProviderCount_gte: BigInt
liquidityProviderCount_lte: BigInt
liquidityProviderCount_in: [BigInt!]
liquidityProviderCount_not_in: [BigInt!]
pairHourData_: PairHourData_filter
liquidityPositions_: LiquidityPosition_filter
liquidityPositionSnapshots_: LiquidityPositionSnapshot_filter
mints_: Mint_filter
burns_: Burn_filter
swaps_: Swap_filter
_change_block: BlockChangedFilter
and: [Pair_filter]
or: [Pair_filter]
}
enum User_orderBy {
id
liquidityPositions
usdSwapped
}
input User_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
liquidityPositions_: LiquidityPosition_filter
usdSwapped: BigDecimal
usdSwapped_not: BigDecimal
usdSwapped_gt: BigDecimal
usdSwapped_lt: BigDecimal
usdSwapped_gte: BigDecimal
usdSwapped_lte: BigDecimal
usdSwapped_in: [BigDecimal!]
usdSwapped_not_in: [BigDecimal!]
_change_block: BlockChangedFilter
and: [User_filter]
or: [User_filter]
}
enum LiquidityPosition_orderBy {
id
user
user__id
user__usdSwapped
pair
pair__id
pair__reserve0
pair__reserve1
pair__totalSupply
pair__reserveETH
pair__reserveUSD
pair__trackedReserveETH
pair__token0Price
pair__token1Price
pair__volumeToken0
pair__volumeToken1
pair__volumeUSD
pair__untrackedVolumeUSD
pair__txCount
pair__createdAtTimestamp
pair__createdAtBlockNumber
pair__liquidityProviderCount
liquidityTokenBalance
}
input LiquidityPosition_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
user: String
user_not: String
user_gt: String
user_lt: String
user_gte: String
user_lte: String
user_in: [String!]
user_not_in: [String!]
user_starts_with: String
user_starts_with_nocase: String
user_not_starts_with: String
user_not_starts_with_nocase: String
user_ends_with: String
user_ends_with_nocase: String
user_not_ends_with: String
user_not_ends_with_nocase: String
user_contains: String
user_not_contains: String
user_contains_nocase: String
user_not_contains_nocase: String
user_: User_filter
pair: String
pair_not: String
pair_gt: String
pair_lt: String
pair_gte: String
pair_lte: String
pair_in: [String!]
pair_not_in: [String!]
pair_starts_with: String
pair_starts_with_nocase: String
pair_not_starts_with: String
pair_not_starts_with_nocase: String
pair_ends_with: String
pair_ends_with_nocase: String
pair_not_ends_with: String
pair_not_ends_with_nocase: String
pair_contains: String
pair_not_contains: String
pair_contains_nocase: String
pair_not_contains_nocase: String
pair_: Pair_filter
liquidityTokenBalance: BigDecimal
liquidityTokenBalance_not: BigDecimal
liquidityTokenBalance_gt: BigDecimal
liquidityTokenBalance_lt: BigDecimal
liquidityTokenBalance_gte: BigDecimal
liquidityTokenBalance_lte: BigDecimal
liquidityTokenBalance_in: [BigDecimal!]
liquidityTokenBalance_not_in: [BigDecimal!]
_change_block: BlockChangedFilter
and: [LiquidityPosition_filter]
or: [LiquidityPosition_filter]
}
enum LiquidityPositionSnapshot_orderBy {
id
liquidityPosition
liquidityPosition__id
liquidityPosition__liquidityTokenBalance
timestamp
block
user
user__id
user__usdSwapped
pair
pair__id
pair__reserve0
pair__reserve1
pair__totalSupply
pair__reserveETH
pair__reserveUSD
pair__trackedReserveETH
pair__token0Price
pair__token1Price
pair__volumeToken0
pair__volumeToken1
pair__volumeUSD
pair__untrackedVolumeUSD
pair__txCount
pair__createdAtTimestamp
pair__createdAtBlockNumber
pair__liquidityProviderCount
token0PriceUSD
token1PriceUSD
reserve0
reserve1
reserveUSD
liquidityTokenTotalSupply
liquidityTokenBalance
}
input LiquidityPositionSnapshot_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
liquidityPosition: String
liquidityPosition_not: String
liquidityPosition_gt: String
liquidityPosition_lt: String
liquidityPosition_gte: String
liquidityPosition_lte: String
liquidityPosition_in: [String!]
liquidityPosition_not_in: [String!]
liquidityPosition_starts_with: String
liquidityPosition_starts_with_nocase: String
liquidityPosition_not_starts_with: String
liquidityPosition_not_starts_with_nocase: String
liquidityPosition_ends_with: String
liquidityPosition_ends_with_nocase: String
liquidityPosition_not_ends_with: String
liquidityPosition_not_ends_with_nocase: String
liquidityPosition_contains: String
liquidityPosition_not_contains: String
liquidityPosition_contains_nocase: String
liquidityPosition_not_contains_nocase: String
liquidityPosition_: LiquidityPosition_filter
timestamp: Int
timestamp_not: Int
timestamp_gt: Int
timestamp_lt: Int
timestamp_gte: Int
timestamp_lte: Int
timestamp_in: [Int!]
timestamp_not_in: [Int!]
block: Int
block_not: Int
block_gt: Int
block_lt: Int
block_gte: Int
block_lte: Int
block_in: [Int!]
block_not_in: [Int!]
user: String
user_not: String
user_gt: String
user_lt: String
user_gte: String
user_lte: String
user_in: [String!]
user_not_in: [String!]
user_starts_with: String
user_starts_with_nocase: String
user_not_starts_with: String
user_not_starts_with_nocase: String
user_ends_with: String
user_ends_with_nocase: String
user_not_ends_with: String
user_not_ends_with_nocase: String
user_contains: String
user_not_contains: String
user_contains_nocase: String
user_not_contains_nocase: String
user_: User_filter
pair: String
pair_not: String
pair_gt: String
pair_lt: String
pair_gte: String
pair_lte: String
pair_in: [String!]
pair_not_in: [String!]
pair_starts_with: String
pair_starts_with_nocase: String
pair_not_starts_with: String
pair_not_starts_with_nocase: String
pair_ends_with: String
pair_ends_with_nocase: String
pair_not_ends_with: String
pair_not_ends_with_nocase: String
pair_contains: String
pair_not_contains: String
pair_contains_nocase: String
pair_not_contains_nocase: String
pair_: Pair_filter
token0PriceUSD: BigDecimal
token0PriceUSD_not: BigDecimal
token0PriceUSD_gt: BigDecimal
token0PriceUSD_lt: BigDecimal
token0PriceUSD_gte: BigDecimal
token0PriceUSD_lte: BigDecimal
token0PriceUSD_in: [BigDecimal!]
token0PriceUSD_not_in: [BigDecimal!]
token1PriceUSD: BigDecimal
token1PriceUSD_not: BigDecimal
token1PriceUSD_gt: BigDecimal
token1PriceUSD_lt: BigDecimal
token1PriceUSD_gte: BigDecimal
token1PriceUSD_lte: BigDecimal
token1PriceUSD_in: [BigDecimal!]
token1PriceUSD_not_in: [BigDecimal!]
reserve0: BigDecimal
reserve0_not: BigDecimal
reserve0_gt: BigDecimal
reserve0_lt: BigDecimal
reserve0_gte: BigDecimal
reserve0_lte: BigDecimal
reserve0_in: [BigDecimal!]
reserve0_not_in: [BigDecimal!]
reserve1: BigDecimal
reserve1_not: BigDecimal
reserve1_gt: BigDecimal
reserve1_lt: BigDecimal
reserve1_gte: BigDecimal
reserve1_lte: BigDecimal
reserve1_in: [BigDecimal!]
reserve1_not_in: [BigDecimal!]
reserveUSD: BigDecimal
reserveUSD_not: BigDecimal
reserveUSD_gt: BigDecimal
reserveUSD_lt: BigDecimal
reserveUSD_gte: BigDecimal
reserveUSD_lte: BigDecimal
reserveUSD_in: [BigDecimal!]
reserveUSD_not_in: [BigDecimal!]
liquidityTokenTotalSupply: BigDecimal
liquidityTokenTotalSupply_not: BigDecimal
liquidityTokenTotalSupply_gt: BigDecimal
liquidityTokenTotalSupply_lt: BigDecimal
liquidityTokenTotalSupply_gte: BigDecimal
liquidityTokenTotalSupply_lte: BigDecimal
liquidityTokenTotalSupply_in: [BigDecimal!]
liquidityTokenTotalSupply_not_in: [BigDecimal!]
liquidityTokenBalance: BigDecimal
liquidityTokenBalance_not: BigDecimal
liquidityTokenBalance_gt: BigDecimal
liquidityTokenBalance_lt: BigDecimal
liquidityTokenBalance_gte: BigDecimal
liquidityTokenBalance_lte: BigDecimal
liquidityTokenBalance_in: [BigDecimal!]
liquidityTokenBalance_not_in: [BigDecimal!]
_change_block: BlockChangedFilter
and: [LiquidityPositionSnapshot_filter]
or: [LiquidityPositionSnapshot_filter]
}
enum Transaction_orderBy {
id
blockNumber
timestamp
mints
burns
swaps
}
input Transaction_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
blockNumber: BigInt
blockNumber_not: BigInt
blockNumber_gt: BigInt
blockNumber_lt: BigInt
blockNumber_gte: BigInt
blockNumber_lte: BigInt
blockNumber_in: [BigInt!]
blockNumber_not_in: [BigInt!]
timestamp: BigInt
timestamp_not: BigInt
timestamp_gt: BigInt
timestamp_lt: BigInt
timestamp_gte: BigInt
timestamp_lte: BigInt
timestamp_in: [BigInt!]
timestamp_not_in: [BigInt!]
mints: [String!]
mints_not: [String!]
mints_contains: [String!]
mints_not_contains: [String!]
mints_contains_nocase: [String!]
mints_not_contains_nocase: [String!]
mints_: Mint_filter
burns: [String!]
burns_not: [String!]
burns_contains: [String!]
burns_not_contains: [String!]
burns_contains_nocase: [String!]
burns_not_contains_nocase: [String!]
burns_: Burn_filter
swaps: [String!]
swaps_not: [String!]
swaps_contains: [String!]
swaps_not_contains: [String!]
swaps_contains_nocase: [String!]
swaps_not_contains_nocase: [String!]
swaps_: Swap_filter
_change_block: BlockChangedFilter
and: [Transaction_filter]
or: [Transaction_filter]
}
enum Mint_orderBy {
id
transaction
transaction__id
transaction__blockNumber
transaction__timestamp
timestamp
pair
pair__id
pair__reserve0
pair__reserve1
pair__totalSupply
pair__reserveETH
pair__reserveUSD
pair__trackedReserveETH
pair__token0Price
pair__token1Price
pair__volumeToken0
pair__volumeToken1
pair__volumeUSD
pair__untrackedVolumeUSD
pair__txCount
pair__createdAtTimestamp
pair__createdAtBlockNumber
pair__liquidityProviderCount
to
liquidity
sender
amount0
amount1
logIndex
amountUSD
feeTo
feeLiquidity
}
input Mint_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
transaction: String
transaction_not: String
transaction_gt: String
transaction_lt: String
transaction_gte: String
transaction_lte: String
transaction_in: [String!]
transaction_not_in: [String!]
transaction_starts_with: String
transaction_starts_with_nocase: String
transaction_not_starts_with: String
transaction_not_starts_with_nocase: String
transaction_ends_with: String
transaction_ends_with_nocase: String
transaction_not_ends_with: String
transaction_not_ends_with_nocase: String
transaction_contains: String
transaction_not_contains: String
transaction_contains_nocase: String
transaction_not_contains_nocase: String
transaction_: Transaction_filter
timestamp: BigInt
timestamp_not: BigInt
timestamp_gt: BigInt
timestamp_lt: BigInt
timestamp_gte: BigInt
timestamp_lte: BigInt
timestamp_in: [BigInt!]
timestamp_not_in: [BigInt!]
pair: String
pair_not: String
pair_gt: String
pair_lt: String
pair_gte: String
pair_lte: String
pair_in: [String!]
pair_not_in: [String!]
pair_starts_with: String
pair_starts_with_nocase: String
pair_not_starts_with: String
pair_not_starts_with_nocase: String
pair_ends_with: String
pair_ends_with_nocase: String
pair_not_ends_with: String
pair_not_ends_with_nocase: String
pair_contains: String
pair_not_contains: String
pair_contains_nocase: String
pair_not_contains_nocase: String
pair_: Pair_filter
to: Bytes
to_not: Bytes
to_gt: Bytes
to_lt: Bytes
to_gte: Bytes
to_lte: Bytes
to_in: [Bytes!]
to_not_in: [Bytes!]
to_contains: Bytes
to_not_contains: Bytes
liquidity: BigDecimal
liquidity_not: BigDecimal
liquidity_gt: BigDecimal
liquidity_lt: BigDecimal
liquidity_gte: BigDecimal
liquidity_lte: BigDecimal
liquidity_in: [BigDecimal!]
liquidity_not_in: [BigDecimal!]
sender: Bytes
sender_not: Bytes
sender_gt: Bytes
sender_lt: Bytes
sender_gte: Bytes
sender_lte: Bytes
sender_in: [Bytes!]
sender_not_in: [Bytes!]
sender_contains: Bytes
sender_not_contains: Bytes
amount0: BigDecimal
amount0_not: BigDecimal
amount0_gt: BigDecimal
amount0_lt: BigDecimal
amount0_gte: BigDecimal
amount0_lte: BigDecimal
amount0_in: [BigDecimal!]
amount0_not_in: [BigDecimal!]
amount1: BigDecimal
amount1_not: BigDecimal
amount1_gt: BigDecimal
amount1_lt: BigDecimal
amount1_gte: BigDecimal
amount1_lte: BigDecimal
amount1_in: [BigDecimal!]
amount1_not_in: [BigDecimal!]
logIndex: BigInt
logIndex_not: BigInt
logIndex_gt: BigInt
logIndex_lt: BigInt
logIndex_gte: BigInt
logIndex_lte: BigInt
logIndex_in: [BigInt!]
logIndex_not_in: [BigInt!]
amountUSD: BigDecimal
amountUSD_not: BigDecimal
amountUSD_gt: BigDecimal
amountUSD_lt: BigDecimal
amountUSD_gte: BigDecimal
amountUSD_lte: BigDecimal
amountUSD_in: [BigDecimal!]
amountUSD_not_in: [BigDecimal!]
feeTo: Bytes
feeTo_not: Bytes
feeTo_gt: Bytes
feeTo_lt: Bytes
feeTo_gte: Bytes
feeTo_lte: Bytes
feeTo_in: [Bytes!]
feeTo_not_in: [Bytes!]
feeTo_contains: Bytes
feeTo_not_contains: Bytes
feeLiquidity: BigDecimal
feeLiquidity_not: BigDecimal
feeLiquidity_gt: BigDecimal
feeLiquidity_lt: BigDecimal
feeLiquidity_gte: BigDecimal
feeLiquidity_lte: BigDecimal
feeLiquidity_in: [BigDecimal!]
feeLiquidity_not_in: [BigDecimal!]
_change_block: BlockChangedFilter
and: [Mint_filter]
or: [Mint_filter]
}
enum Burn_orderBy {
id
transaction
transaction__id
transaction__blockNumber
transaction__timestamp
timestamp
pair
pair__id
pair__reserve0
pair__reserve1
pair__totalSupply
pair__reserveETH
pair__reserveUSD
pair__trackedReserveETH
pair__token0Price
pair__token1Price
pair__volumeToken0
pair__volumeToken1
pair__volumeUSD
pair__untrackedVolumeUSD
pair__txCount
pair__createdAtTimestamp
pair__createdAtBlockNumber
pair__liquidityProviderCount
liquidity
sender
amount0
amount1
to
logIndex
amountUSD
needsComplete
feeTo
feeLiquidity
}
input Burn_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
transaction: String
transaction_not: String
transaction_gt: String
transaction_lt: String
transaction_gte: String
transaction_lte: String
transaction_in: [String!]
transaction_not_in: [String!]
transaction_starts_with: String
transaction_starts_with_nocase: String
transaction_not_starts_with: String
transaction_not_starts_with_nocase: String
transaction_ends_with: String
transaction_ends_with_nocase: String
transaction_not_ends_with: String
transaction_not_ends_with_nocase: String
transaction_contains: String
transaction_not_contains: String
transaction_contains_nocase: String
transaction_not_contains_nocase: String
transaction_: Transaction_filter
timestamp: BigInt
timestamp_not: BigInt
timestamp_gt: BigInt
timestamp_lt: BigInt
timestamp_gte: BigInt
timestamp_lte: BigInt
timestamp_in: [BigInt!]
timestamp_not_in: [BigInt!]
pair: String
pair_not: String
pair_gt: String
pair_lt: String
pair_gte: String
pair_lte: String
pair_in: [String!]
pair_not_in: [String!]
pair_starts_with: String
pair_starts_with_nocase: String
pair_not_starts_with: String
pair_not_starts_with_nocase: String
pair_ends_with: String
pair_ends_with_nocase: String
pair_not_ends_with: String
pair_not_ends_with_nocase: String
pair_contains: String
pair_not_contains: String
pair_contains_nocase: String
pair_not_contains_nocase: String
pair_: Pair_filter
liquidity: BigDecimal
liquidity_not: BigDecimal
liquidity_gt: BigDecimal
liquidity_lt: BigDecimal
liquidity_gte: BigDecimal
liquidity_lte: BigDecimal
liquidity_in: [BigDecimal!]
liquidity_not_in: [BigDecimal!]
sender: Bytes
sender_not: Bytes
sender_gt: Bytes
sender_lt: Bytes
sender_gte: Bytes
sender_lte: Bytes
sender_in: [Bytes!]
sender_not_in: [Bytes!]
sender_contains: Bytes
sender_not_contains: Bytes
amount0: BigDecimal
amount0_not: BigDecimal
amount0_gt: BigDecimal
amount0_lt: BigDecimal
amount0_gte: BigDecimal
amount0_lte: BigDecimal
amount0_in: [BigDecimal!]
amount0_not_in: [BigDecimal!]
amount1: BigDecimal
amount1_not: BigDecimal
amount1_gt: BigDecimal
amount1_lt: BigDecimal
amount1_gte: BigDecimal
amount1_lte: BigDecimal
amount1_in: [BigDecimal!]
amount1_not_in: [BigDecimal!]
to: Bytes
to_not: Bytes
to_gt: Bytes
to_lt: Bytes
to_gte: Bytes
to_lte: Bytes
to_in: [Bytes!]
to_not_in: [Bytes!]
to_contains: Bytes
to_not_contains: Bytes
logIndex: BigInt
logIndex_not: BigInt
logIndex_gt: BigInt
logIndex_lt: BigInt
logIndex_gte: BigInt
logIndex_lte: BigInt
logIndex_in: [BigInt!]
logIndex_not_in: [BigInt!]
amountUSD: BigDecimal
amountUSD_not: BigDecimal
amountUSD_gt: BigDecimal
amountUSD_lt: BigDecimal
amountUSD_gte: BigDecimal
amountUSD_lte: BigDecimal
amountUSD_in: [BigDecimal!]
amountUSD_not_in: [BigDecimal!]
needsComplete: Boolean
needsComplete_not: Boolean
needsComplete_gt: Boolean
needsComplete_lt: Boolean
needsComplete_gte: Boolean
needsComplete_lte: Boolean
needsComplete_in: [Boolean!]
needsComplete_not_in: [Boolean!]
feeTo: Bytes
feeTo_not: Bytes
feeTo_gt: Bytes
feeTo_lt: Bytes
feeTo_gte: Bytes
feeTo_lte: Bytes
feeTo_in: [Bytes!]
feeTo_not_in: [Bytes!]
feeTo_contains: Bytes
feeTo_not_contains: Bytes
feeLiquidity: BigDecimal
feeLiquidity_not: BigDecimal
feeLiquidity_gt: BigDecimal
feeLiquidity_lt: BigDecimal
feeLiquidity_gte: BigDecimal
feeLiquidity_lte: BigDecimal
feeLiquidity_in: [BigDecimal!]
feeLiquidity_not_in: [BigDecimal!]
_change_block: BlockChangedFilter
and: [Burn_filter]
or: [Burn_filter]
}
enum Swap_orderBy {
id
transaction
transaction__id
transaction__blockNumber
transaction__timestamp
timestamp
pair
pair__id
pair__reserve0
pair__reserve1
pair__totalSupply
pair__reserveETH
pair__reserveUSD
pair__trackedReserveETH
pair__token0Price
pair__token1Price
pair__volumeToken0
pair__volumeToken1
pair__volumeUSD
pair__untrackedVolumeUSD
pair__txCount
pair__createdAtTimestamp
pair__createdAtBlockNumber
pair__liquidityProviderCount
sender
from
amount0In
amount1In
amount0Out
amount1Out
to
logIndex
amountUSD
}
input Swap_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
transaction: String
transaction_not: String
transaction_gt: String
transaction_lt: String
transaction_gte: String
transaction_lte: String
transaction_in: [String!]
transaction_not_in: [String!]
transaction_starts_with: String
transaction_starts_with_nocase: String
transaction_not_starts_with: String
transaction_not_starts_with_nocase: String
transaction_ends_with: String
transaction_ends_with_nocase: String
transaction_not_ends_with: String
transaction_not_ends_with_nocase: String
transaction_contains: String
transaction_not_contains: String
transaction_contains_nocase: String
transaction_not_contains_nocase: String
transaction_: Transaction_filter
timestamp: BigInt
timestamp_not: BigInt
timestamp_gt: BigInt
timestamp_lt: BigInt
timestamp_gte: BigInt
timestamp_lte: BigInt
timestamp_in: [BigInt!]
timestamp_not_in: [BigInt!]
pair: String
pair_not: String
pair_gt: String
pair_lt: String
pair_gte: String
pair_lte: String
pair_in: [String!]
pair_not_in: [String!]
pair_starts_with: String
pair_starts_with_nocase: String
pair_not_starts_with: String
pair_not_starts_with_nocase: String
pair_ends_with: String
pair_ends_with_nocase: String
pair_not_ends_with: String
pair_not_ends_with_nocase: String
pair_contains: String
pair_not_contains: String
pair_contains_nocase: String
pair_not_contains_nocase: String
pair_: Pair_filter
sender: Bytes
sender_not: Bytes
sender_gt: Bytes
sender_lt: Bytes
sender_gte: Bytes
sender_lte: Bytes
sender_in: [Bytes!]
sender_not_in: [Bytes!]
sender_contains: Bytes
sender_not_contains: Bytes
from: Bytes
from_not: Bytes
from_gt: Bytes
from_lt: Bytes
from_gte: Bytes
from_lte: Bytes
from_in: [Bytes!]
from_not_in: [Bytes!]
from_contains: Bytes
from_not_contains: Bytes
amount0In: BigDecimal
amount0In_not: BigDecimal
amount0In_gt: BigDecimal
amount0In_lt: BigDecimal
amount0In_gte: BigDecimal
amount0In_lte: BigDecimal
amount0In_in: [BigDecimal!]
amount0In_not_in: [BigDecimal!]
amount1In: BigDecimal
amount1In_not: BigDecimal
amount1In_gt: BigDecimal
amount1In_lt: BigDecimal
amount1In_gte: BigDecimal
amount1In_lte: BigDecimal
amount1In_in: [BigDecimal!]
amount1In_not_in: [BigDecimal!]
amount0Out: BigDecimal
amount0Out_not: BigDecimal
amount0Out_gt: BigDecimal
amount0Out_lt: BigDecimal
amount0Out_gte: BigDecimal
amount0Out_lte: BigDecimal
amount0Out_in: [BigDecimal!]
amount0Out_not_in: [BigDecimal!]
amount1Out: BigDecimal
amount1Out_not: BigDecimal
amount1Out_gt: BigDecimal
amount1Out_lt: BigDecimal
amount1Out_gte: BigDecimal
amount1Out_lte: BigDecimal
amount1Out_in: [BigDecimal!]
amount1Out_not_in: [BigDecimal!]
to: Bytes
to_not: Bytes
to_gt: Bytes
to_lt: Bytes
to_gte: Bytes
to_lte: Bytes
to_in: [Bytes!]
to_not_in: [Bytes!]
to_contains: Bytes
to_not_contains: Bytes
logIndex: BigInt
logIndex_not: BigInt
logIndex_gt: BigInt
logIndex_lt: BigInt
logIndex_gte: BigInt
logIndex_lte: BigInt
logIndex_in: [BigInt!]
logIndex_not_in: [BigInt!]
amountUSD: BigDecimal
amountUSD_not: BigDecimal
amountUSD_gt: BigDecimal
amountUSD_lt: BigDecimal
amountUSD_gte: BigDecimal
amountUSD_lte: BigDecimal
amountUSD_in: [BigDecimal!]
amountUSD_not_in: [BigDecimal!]
_change_block: BlockChangedFilter
and: [Swap_filter]
or: [Swap_filter]
}
enum Bundle_orderBy {
id
ethPrice
}
input Bundle_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
ethPrice: BigDecimal
ethPrice_not: BigDecimal
ethPrice_gt: BigDecimal
ethPrice_lt: BigDecimal
ethPrice_gte: BigDecimal
ethPrice_lte: BigDecimal
ethPrice_in: [BigDecimal!]
ethPrice_not_in: [BigDecimal!]
_change_block: BlockChangedFilter
and: [Bundle_filter]
or: [Bundle_filter]
}
enum UniswapDayData_orderBy {
id
date
dailyVolumeETH
dailyVolumeUSD
dailyVolumeUntracked
totalVolumeETH
totalLiquidityETH
totalVolumeUSD
totalLiquidityUSD
txCount
}
input UniswapDayData_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
date: Int
date_not: Int
date_gt: Int
date_lt: Int
date_gte: Int
date_lte: Int
date_in: [Int!]
date_not_in: [Int!]
dailyVolumeETH: BigDecimal
dailyVolumeETH_not: BigDecimal
dailyVolumeETH_gt: BigDecimal
dailyVolumeETH_lt: BigDecimal
dailyVolumeETH_gte: BigDecimal
dailyVolumeETH_lte: BigDecimal
dailyVolumeETH_in: [BigDecimal!]
dailyVolumeETH_not_in: [BigDecimal!]
dailyVolumeUSD: BigDecimal
dailyVolumeUSD_not: BigDecimal
dailyVolumeUSD_gt: BigDecimal
dailyVolumeUSD_lt: BigDecimal
dailyVolumeUSD_gte: BigDecimal
dailyVolumeUSD_lte: BigDecimal
dailyVolumeUSD_in: [BigDecimal!]
dailyVolumeUSD_not_in: [BigDecimal!]
dailyVolumeUntracked: BigDecimal
dailyVolumeUntracked_not: BigDecimal
dailyVolumeUntracked_gt: BigDecimal
dailyVolumeUntracked_lt: BigDecimal
dailyVolumeUntracked_gte: BigDecimal
dailyVolumeUntracked_lte: BigDecimal
dailyVolumeUntracked_in: [BigDecimal!]
dailyVolumeUntracked_not_in: [BigDecimal!]
totalVolumeETH: BigDecimal
totalVolumeETH_not: BigDecimal
totalVolumeETH_gt: BigDecimal
totalVolumeETH_lt: BigDecimal
totalVolumeETH_gte: BigDecimal
totalVolumeETH_lte: BigDecimal
totalVolumeETH_in: [BigDecimal!]
totalVolumeETH_not_in: [BigDecimal!]
totalLiquidityETH: BigDecimal
totalLiquidityETH_not: BigDecimal
totalLiquidityETH_gt: BigDecimal
totalLiquidityETH_lt: BigDecimal
totalLiquidityETH_gte: BigDecimal
totalLiquidityETH_lte: BigDecimal
totalLiquidityETH_in: [BigDecimal!]
totalLiquidityETH_not_in: [BigDecimal!]
totalVolumeUSD: BigDecimal
totalVolumeUSD_not: BigDecimal
totalVolumeUSD_gt: BigDecimal
totalVolumeUSD_lt: BigDecimal
totalVolumeUSD_gte: BigDecimal
totalVolumeUSD_lte: BigDecimal
totalVolumeUSD_in: [BigDecimal!]
totalVolumeUSD_not_in: [BigDecimal!]
totalLiquidityUSD: BigDecimal
totalLiquidityUSD_not: BigDecimal
totalLiquidityUSD_gt: BigDecimal
totalLiquidityUSD_lt: BigDecimal
totalLiquidityUSD_gte: BigDecimal
totalLiquidityUSD_lte: BigDecimal
totalLiquidityUSD_in: [BigDecimal!]
totalLiquidityUSD_not_in: [BigDecimal!]
txCount: BigInt
txCount_not: BigInt
txCount_gt: BigInt
txCount_lt: BigInt
txCount_gte: BigInt
txCount_lte: BigInt
txCount_in: [BigInt!]
txCount_not_in: [BigInt!]
_change_block: BlockChangedFilter
and: [UniswapDayData_filter]
or: [UniswapDayData_filter]
}
enum PairHourData_orderBy {
id
hourStartUnix
pair
pair__id
pair__reserve0
pair__reserve1
pair__totalSupply
pair__reserveETH
pair__reserveUSD
pair__trackedReserveETH
pair__token0Price
pair__token1Price
pair__volumeToken0
pair__volumeToken1
pair__volumeUSD
pair__untrackedVolumeUSD
pair__txCount
pair__createdAtTimestamp
pair__createdAtBlockNumber
pair__liquidityProviderCount
reserve0
reserve1
totalSupply
reserveUSD
hourlyVolumeToken0
hourlyVolumeToken1
hourlyVolumeUSD
hourlyTxns
}
input PairHourData_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
hourStartUnix: Int
hourStartUnix_not: Int
hourStartUnix_gt: Int
hourStartUnix_lt: Int
hourStartUnix_gte: Int
hourStartUnix_lte: Int
hourStartUnix_in: [Int!]
hourStartUnix_not_in: [Int!]
pair: String
pair_not: String
pair_gt: String
pair_lt: String
pair_gte: String
pair_lte: String
pair_in: [String!]
pair_not_in: [String!]
pair_starts_with: String
pair_starts_with_nocase: String
pair_not_starts_with: String
pair_not_starts_with_nocase: String
pair_ends_with: String
pair_ends_with_nocase: String
pair_not_ends_with: String
pair_not_ends_with_nocase: String
pair_contains: String
pair_not_contains: String
pair_contains_nocase: String
pair_not_contains_nocase: String
pair_: Pair_filter
reserve0: BigDecimal
reserve0_not: BigDecimal
reserve0_gt: BigDecimal
reserve0_lt: BigDecimal
reserve0_gte: BigDecimal
reserve0_lte: BigDecimal
reserve0_in: [BigDecimal!]
reserve0_not_in: [BigDecimal!]
reserve1: BigDecimal
reserve1_not: BigDecimal
reserve1_gt: BigDecimal
reserve1_lt: BigDecimal
reserve1_gte: BigDecimal
reserve1_lte: BigDecimal
reserve1_in: [BigDecimal!]
reserve1_not_in: [BigDecimal!]
totalSupply: BigDecimal
totalSupply_not: BigDecimal
totalSupply_gt: BigDecimal
totalSupply_lt: BigDecimal
totalSupply_gte: BigDecimal
totalSupply_lte: BigDecimal
totalSupply_in: [BigDecimal!]
totalSupply_not_in: [BigDecimal!]
reserveUSD: BigDecimal
reserveUSD_not: BigDecimal
reserveUSD_gt: BigDecimal
reserveUSD_lt: BigDecimal
reserveUSD_gte: BigDecimal
reserveUSD_lte: BigDecimal
reserveUSD_in: [BigDecimal!]
reserveUSD_not_in: [BigDecimal!]
hourlyVolumeToken0: BigDecimal
hourlyVolumeToken0_not: BigDecimal
hourlyVolumeToken0_gt: BigDecimal
hourlyVolumeToken0_lt: BigDecimal
hourlyVolumeToken0_gte: BigDecimal
hourlyVolumeToken0_lte: BigDecimal
hourlyVolumeToken0_in: [BigDecimal!]
hourlyVolumeToken0_not_in: [BigDecimal!]
hourlyVolumeToken1: BigDecimal
hourlyVolumeToken1_not: BigDecimal
hourlyVolumeToken1_gt: BigDecimal
hourlyVolumeToken1_lt: BigDecimal
hourlyVolumeToken1_gte: BigDecimal
hourlyVolumeToken1_lte: BigDecimal
hourlyVolumeToken1_in: [BigDecimal!]
hourlyVolumeToken1_not_in: [BigDecimal!]
hourlyVolumeUSD: BigDecimal
hourlyVolumeUSD_not: BigDecimal
hourlyVolumeUSD_gt: BigDecimal
hourlyVolumeUSD_lt: BigDecimal
hourlyVolumeUSD_gte: BigDecimal
hourlyVolumeUSD_lte: BigDecimal
hourlyVolumeUSD_in: [BigDecimal!]
hourlyVolumeUSD_not_in: [BigDecimal!]
hourlyTxns: BigInt
hourlyTxns_not: BigInt
hourlyTxns_gt: BigInt
hourlyTxns_lt: BigInt
hourlyTxns_gte: BigInt
hourlyTxns_lte: BigInt
hourlyTxns_in: [BigInt!]
hourlyTxns_not_in: [BigInt!]
_change_block: BlockChangedFilter
and: [PairHourData_filter]
or: [PairHourData_filter]
}
enum PairDayData_orderBy {
id
date
pairAddress
token0
token0__id
token0__symbol
token0__name
token0__decimals
token0__totalSupply
token0__tradeVolume
token0__tradeVolumeUSD
token0__untrackedVolumeUSD
token0__txCount
token0__totalLiquidity
token0__derivedETH
token1
token1__id
token1__symbol
token1__name
token1__decimals
token1__totalSupply
token1__tradeVolume
token1__tradeVolumeUSD
token1__untrackedVolumeUSD
token1__txCount
token1__totalLiquidity
token1__derivedETH
reserve0
reserve1
totalSupply
reserveUSD
dailyVolumeToken0
dailyVolumeToken1
dailyVolumeUSD
dailyTxns
}
input PairDayData_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
date: Int
date_not: Int
date_gt: Int
date_lt: Int
date_gte: Int
date_lte: Int
date_in: [Int!]
date_not_in: [Int!]
pairAddress: Bytes
pairAddress_not: Bytes
pairAddress_gt: Bytes
pairAddress_lt: Bytes
pairAddress_gte: Bytes
pairAddress_lte: Bytes
pairAddress_in: [Bytes!]
pairAddress_not_in: [Bytes!]
pairAddress_contains: Bytes
pairAddress_not_contains: Bytes
token0: String
token0_not: String
token0_gt: String
token0_lt: String
token0_gte: String
token0_lte: String
token0_in: [String!]
token0_not_in: [String!]
token0_starts_with: String
token0_starts_with_nocase: String
token0_not_starts_with: String
token0_not_starts_with_nocase: String
token0_ends_with: String
token0_ends_with_nocase: String
token0_not_ends_with: String
token0_not_ends_with_nocase: String
token0_contains: String
token0_not_contains: String
token0_contains_nocase: String
token0_not_contains_nocase: String
token0_: Token_filter
token1: String
token1_not: String
token1_gt: String
token1_lt: String
token1_gte: String
token1_lte: String
token1_in: [String!]
token1_not_in: [String!]
token1_starts_with: String
token1_starts_with_nocase: String
token1_not_starts_with: String
token1_not_starts_with_nocase: String
token1_ends_with: String
token1_ends_with_nocase: String
token1_not_ends_with: String
token1_not_ends_with_nocase: String
token1_contains: String
token1_not_contains: String
token1_contains_nocase: String
token1_not_contains_nocase: String
token1_: Token_filter
reserve0: BigDecimal
reserve0_not: BigDecimal
reserve0_gt: BigDecimal
reserve0_lt: BigDecimal
reserve0_gte: BigDecimal
reserve0_lte: BigDecimal
reserve0_in: [BigDecimal!]
reserve0_not_in: [BigDecimal!]
reserve1: BigDecimal
reserve1_not: BigDecimal
reserve1_gt: BigDecimal
reserve1_lt: BigDecimal
reserve1_gte: BigDecimal
reserve1_lte: BigDecimal
reserve1_in: [BigDecimal!]
reserve1_not_in: [BigDecimal!]
totalSupply: BigDecimal
totalSupply_not: BigDecimal
totalSupply_gt: BigDecimal
totalSupply_lt: BigDecimal
totalSupply_gte: BigDecimal
totalSupply_lte: BigDecimal
totalSupply_in: [BigDecimal!]
totalSupply_not_in: [BigDecimal!]
reserveUSD: BigDecimal
reserveUSD_not: BigDecimal
reserveUSD_gt: BigDecimal
reserveUSD_lt: BigDecimal
reserveUSD_gte: BigDecimal
reserveUSD_lte: BigDecimal
reserveUSD_in: [BigDecimal!]
reserveUSD_not_in: [BigDecimal!]
dailyVolumeToken0: BigDecimal
dailyVolumeToken0_not: BigDecimal
dailyVolumeToken0_gt: BigDecimal
dailyVolumeToken0_lt: BigDecimal
dailyVolumeToken0_gte: BigDecimal
dailyVolumeToken0_lte: BigDecimal
dailyVolumeToken0_in: [BigDecimal!]
dailyVolumeToken0_not_in: [BigDecimal!]
dailyVolumeToken1: BigDecimal
dailyVolumeToken1_not: BigDecimal
dailyVolumeToken1_gt: BigDecimal
dailyVolumeToken1_lt: BigDecimal
dailyVolumeToken1_gte: BigDecimal
dailyVolumeToken1_lte: BigDecimal
dailyVolumeToken1_in: [BigDecimal!]
dailyVolumeToken1_not_in: [BigDecimal!]
dailyVolumeUSD: BigDecimal
dailyVolumeUSD_not: BigDecimal
dailyVolumeUSD_gt: BigDecimal
dailyVolumeUSD_lt: BigDecimal
dailyVolumeUSD_gte: BigDecimal
dailyVolumeUSD_lte: BigDecimal
dailyVolumeUSD_in: [BigDecimal!]
dailyVolumeUSD_not_in: [BigDecimal!]
dailyTxns: BigInt
dailyTxns_not: BigInt
dailyTxns_gt: BigInt
dailyTxns_lt: BigInt
dailyTxns_gte: BigInt
dailyTxns_lte: BigInt
dailyTxns_in: [BigInt!]
dailyTxns_not_in: [BigInt!]
_change_block: BlockChangedFilter
and: [PairDayData_filter]
or: [PairDayData_filter]
}
enum TokenDayData_orderBy {
id
date
token
token__id
token__symbol
token__name
token__decimals
token__totalSupply
token__tradeVolume
token__tradeVolumeUSD
token__untrackedVolumeUSD
token__txCount
token__totalLiquidity
token__derivedETH
dailyVolumeToken
dailyVolumeETH
dailyVolumeUSD
dailyTxns
totalLiquidityToken
totalLiquidityETH
totalLiquidityUSD
priceUSD
}
input TokenDayData_filter {
id: ID
id_not: ID
id_gt: ID
id_lt: ID
id_gte: ID
id_lte: ID
id_in: [ID!]
id_not_in: [ID!]
date: Int
date_not: Int
date_gt: Int
date_lt: Int
date_gte: Int
date_lte: Int
date_in: [Int!]
date_not_in: [Int!]
token: String
token_not: String
token_gt: String
token_lt: String
token_gte: String
token_lte: String
token_in: [String!]
token_not_in: [String!]
token_starts_with: String
token_starts_with_nocase: String
token_not_starts_with: String
token_not_starts_with_nocase: String
token_ends_with: String
token_ends_with_nocase: String
token_not_ends_with: String
token_not_ends_with_nocase: String
token_contains: String
token_not_contains: String
token_contains_nocase: String
token_not_contains_nocase: String
token_: Token_filter
dailyVolumeToken: BigDecimal
dailyVolumeToken_not: BigDecimal
dailyVolumeToken_gt: BigDecimal
dailyVolumeToken_lt: BigDecimal
dailyVolumeToken_gte: BigDecimal
dailyVolumeToken_lte: BigDecimal
dailyVolumeToken_in: [BigDecimal!]
dailyVolumeToken_not_in: [BigDecimal!]
dailyVolumeETH: BigDecimal
dailyVolumeETH_not: BigDecimal
dailyVolumeETH_gt: BigDecimal
dailyVolumeETH_lt: BigDecimal
dailyVolumeETH_gte: BigDecimal
dailyVolumeETH_lte: BigDecimal
dailyVolumeETH_in: [BigDecimal!]
dailyVolumeETH_not_in: [BigDecimal!]
dailyVolumeUSD: BigDecimal
dailyVolumeUSD_not: BigDecimal
dailyVolumeUSD_gt: BigDecimal
dailyVolumeUSD_lt: BigDecimal
dailyVolumeUSD_gte: BigDecimal
dailyVolumeUSD_lte: BigDecimal
dailyVolumeUSD_in: [BigDecimal!]
dailyVolumeUSD_not_in: [BigDecimal!]
dailyTxns: BigInt
dailyTxns_not: BigInt
dailyTxns_gt: BigInt
dailyTxns_lt: BigInt
dailyTxns_gte: BigInt
dailyTxns_lte: BigInt
dailyTxns_in: [BigInt!]
dailyTxns_not_in: [BigInt!]
totalLiquidityToken: BigDecimal
totalLiquidityToken_not: BigDecimal
totalLiquidityToken_gt: BigDecimal
totalLiquidityToken_lt: BigDecimal
totalLiquidityToken_gte: BigDecimal
totalLiquidityToken_lte: BigDecimal
totalLiquidityToken_in: [BigDecimal!]
totalLiquidityToken_not_in: [BigDecimal!]
totalLiquidityETH: BigDecimal
totalLiquidityETH_not: BigDecimal
totalLiquidityETH_gt: BigDecimal
totalLiquidityETH_lt: BigDecimal
totalLiquidityETH_gte: BigDecimal
totalLiquidityETH_lte: BigDecimal
totalLiquidityETH_in: [BigDecimal!]
totalLiquidityETH_not_in: [BigDecimal!]
totalLiquidityUSD: BigDecimal
totalLiquidityUSD_not: BigDecimal
totalLiquidityUSD_gt: BigDecimal
totalLiquidityUSD_lt: BigDecimal
totalLiquidityUSD_gte: BigDecimal
totalLiquidityUSD_lte: BigDecimal
totalLiquidityUSD_in: [BigDecimal!]
totalLiquidityUSD_not_in: [BigDecimal!]
priceUSD: BigDecimal
priceUSD_not: BigDecimal
priceUSD_gt: BigDecimal
priceUSD_lt: BigDecimal
priceUSD_gte: BigDecimal
priceUSD_lte: BigDecimal
priceUSD_in: [BigDecimal!]
priceUSD_not_in: [BigDecimal!]
_change_block: BlockChangedFilter
and: [TokenDayData_filter]
or: [TokenDayData_filter]
}
type _MetaBlock_ {
hash: Bytes
number: Int!
timestamp: Int
}
type _Meta_ {
block: _MetaBlock_!
deployment: String!
hasIndexingErrors: Boolean!
}
type ResultState {
block: _Block_!
contractAddress: String!
cid: String!
kind: String!
data: String!
}
type SyncStatus {
latestIndexedBlockHash: String!
latestIndexedBlockNumber: Int!
latestCanonicalBlockHash: String!
latestCanonicalBlockNumber: Int!
initialIndexedBlockHash: String!
initialIndexedBlockNumber: Int!
latestProcessedBlockHash: String!
latestProcessedBlockNumber: Int!
}
type Query {
events(blockHash: String!, contractAddress: String!, name: String): [ResultEvent!]
eventsInRange(fromBlockNumber: Int!, toBlockNumber: Int!): [ResultEvent!]
uniswapFactory(id: ID!, block: Block_height): UniswapFactory
uniswapFactories(block: Block_height, where: UniswapFactory_filter, orderBy: UniswapFactory_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [UniswapFactory!]!
token(id: ID!, block: Block_height): Token
tokens(block: Block_height, where: Token_filter, orderBy: Token_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Token!]!
pair(id: ID!, block: Block_height): Pair
pairs(block: Block_height, where: Pair_filter, orderBy: Pair_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Pair!]!
user(id: ID!, block: Block_height): User
users(block: Block_height, where: User_filter, orderBy: User_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [User!]!
liquidityPosition(id: ID!, block: Block_height): LiquidityPosition
liquidityPositions(block: Block_height, where: LiquidityPosition_filter, orderBy: LiquidityPosition_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LiquidityPosition!]!
liquidityPositionSnapshot(id: ID!, block: Block_height): LiquidityPositionSnapshot
liquidityPositionSnapshots(block: Block_height, where: LiquidityPositionSnapshot_filter, orderBy: LiquidityPositionSnapshot_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LiquidityPositionSnapshot!]!
transaction(id: ID!, block: Block_height): Transaction
transactions(block: Block_height, where: Transaction_filter, orderBy: Transaction_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Transaction!]!
mint(id: ID!, block: Block_height): Mint
mints(block: Block_height, where: Mint_filter, orderBy: Mint_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Mint!]!
burn(id: ID!, block: Block_height): Burn
burns(block: Block_height, where: Burn_filter, orderBy: Burn_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Burn!]!
swap(id: ID!, block: Block_height): Swap
swaps(block: Block_height, where: Swap_filter, orderBy: Swap_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Swap!]!
bundle(id: ID!, block: Block_height): Bundle
bundles(block: Block_height, where: Bundle_filter, orderBy: Bundle_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Bundle!]!
uniswapDayData(id: ID!, block: Block_height): UniswapDayData
uniswapDayDatas(block: Block_height, where: UniswapDayData_filter, orderBy: UniswapDayData_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [UniswapDayData!]!
pairHourData(id: ID!, block: Block_height): PairHourData
pairHourDatas(block: Block_height, where: PairHourData_filter, orderBy: PairHourData_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [PairHourData!]!
pairDayData(id: ID!, block: Block_height): PairDayData
pairDayDatas(block: Block_height, where: PairDayData_filter, orderBy: PairDayData_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [PairDayData!]!
tokenDayData(id: ID!, block: Block_height): TokenDayData
tokenDayDatas(block: Block_height, where: TokenDayData_filter, orderBy: TokenDayData_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [TokenDayData!]!
_meta(block: Block_height): _Meta_
getStateByCID(cid: String!): ResultState
getState(blockHash: String!, contractAddress: String!, kind: String): ResultState
getSyncStatus: SyncStatus
}
type UniswapFactory {
id: ID!
pairCount: Int!
totalVolumeUSD: BigDecimal!
totalVolumeETH: BigDecimal!
untrackedVolumeUSD: BigDecimal!
totalLiquidityUSD: BigDecimal!
totalLiquidityETH: BigDecimal!
txCount: BigInt!
}
type Token {
id: ID!
symbol: String!
name: String!
decimals: BigInt!
totalSupply: BigInt!
tradeVolume: BigDecimal!
tradeVolumeUSD: BigDecimal!
untrackedVolumeUSD: BigDecimal!
txCount: BigInt!
totalLiquidity: BigDecimal!
derivedETH: BigDecimal!
tokenDayData: [TokenDayData!]!
pairDayDataBase: [PairDayData!]!
pairDayDataQuote: [PairDayData!]!
pairBase: [Pair!]!
pairQuote: [Pair!]!
}
type TokenDayData {
id: ID!
date: Int!
token: Token!
dailyVolumeToken: BigDecimal!
dailyVolumeETH: BigDecimal!
dailyVolumeUSD: BigDecimal!
dailyTxns: BigInt!
totalLiquidityToken: BigDecimal!
totalLiquidityETH: BigDecimal!
totalLiquidityUSD: BigDecimal!
priceUSD: BigDecimal!
}
type PairDayData {
id: ID!
date: Int!
pairAddress: Bytes!
token0: Token!
token1: Token!
reserve0: BigDecimal!
reserve1: BigDecimal!
totalSupply: BigDecimal
reserveUSD: BigDecimal!
dailyVolumeToken0: BigDecimal!
dailyVolumeToken1: BigDecimal!
dailyVolumeUSD: BigDecimal!
dailyTxns: BigInt!
}
type Pair {
id: ID!
token0: Token!
token1: Token!
reserve0: BigDecimal!
reserve1: BigDecimal!
totalSupply: BigDecimal!
reserveETH: BigDecimal!
reserveUSD: BigDecimal!
trackedReserveETH: BigDecimal!
token0Price: BigDecimal!
token1Price: BigDecimal!
volumeToken0: BigDecimal!
volumeToken1: BigDecimal!
volumeUSD: BigDecimal!
untrackedVolumeUSD: BigDecimal!
txCount: BigInt!
createdAtTimestamp: BigInt!
createdAtBlockNumber: BigInt!
liquidityProviderCount: BigInt!
pairHourData: [PairHourData!]!
liquidityPositions: [LiquidityPosition!]!
liquidityPositionSnapshots: [LiquidityPositionSnapshot!]!
mints: [Mint!]!
burns: [Burn!]!
swaps: [Swap!]!
}
type PairHourData {
id: ID!
hourStartUnix: Int!
pair: Pair!
reserve0: BigDecimal!
reserve1: BigDecimal!
totalSupply: BigDecimal
reserveUSD: BigDecimal!
hourlyVolumeToken0: BigDecimal!
hourlyVolumeToken1: BigDecimal!
hourlyVolumeUSD: BigDecimal!
hourlyTxns: BigInt!
}
type LiquidityPosition {
id: ID!
user: User!
pair: Pair!
liquidityTokenBalance: BigDecimal!
}
type User {
id: ID!
liquidityPositions: [LiquidityPosition!]
usdSwapped: BigDecimal!
}
type LiquidityPositionSnapshot {
id: ID!
liquidityPosition: LiquidityPosition!
timestamp: Int!
block: Int!
user: User!
pair: Pair!
token0PriceUSD: BigDecimal!
token1PriceUSD: BigDecimal!
reserve0: BigDecimal!
reserve1: BigDecimal!
reserveUSD: BigDecimal!
liquidityTokenTotalSupply: BigDecimal!
liquidityTokenBalance: BigDecimal!
}
type Mint {
id: ID!
transaction: Transaction!
timestamp: BigInt!
pair: Pair!
to: Bytes!
liquidity: BigDecimal!
sender: Bytes
amount0: BigDecimal
amount1: BigDecimal
logIndex: BigInt
amountUSD: BigDecimal
feeTo: Bytes
feeLiquidity: BigDecimal
}
type Transaction {
id: ID!
blockNumber: BigInt!
timestamp: BigInt!
mints: [Mint!]!
burns: [Burn!]!
swaps: [Swap!]!
}
type Burn {
id: ID!
transaction: Transaction!
timestamp: BigInt!
pair: Pair!
liquidity: BigDecimal!
sender: Bytes
amount0: BigDecimal
amount1: BigDecimal
to: Bytes
logIndex: BigInt
amountUSD: BigDecimal
needsComplete: Boolean!
feeTo: Bytes
feeLiquidity: BigDecimal
}
type Swap {
id: ID!
transaction: Transaction!
timestamp: BigInt!
pair: Pair!
sender: Bytes!
from: Bytes!
amount0In: BigDecimal!
amount1In: BigDecimal!
amount0Out: BigDecimal!
amount1Out: BigDecimal!
to: Bytes!
logIndex: BigInt
amountUSD: BigDecimal!
}
type Bundle {
id: ID!
ethPrice: BigDecimal!
}
type UniswapDayData {
id: ID!
date: Int!
dailyVolumeETH: BigDecimal!
dailyVolumeUSD: BigDecimal!
dailyVolumeUntracked: BigDecimal!
totalVolumeETH: BigDecimal!
totalLiquidityETH: BigDecimal!
totalVolumeUSD: BigDecimal!
totalLiquidityUSD: BigDecimal!
txCount: BigInt!
}
type Mutation {
watchContract(address: String!, kind: String!, checkpoint: Boolean!, startingBlock: Int): Boolean!
}
type Subscription {
onEvent: ResultEvent!
}