@clober/v2-sdk 0.0.1-b → 0.0.1-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/.graphclient/index.js +243 -0
- package/dist/cjs/.graphclient/index.js.map +1 -0
- package/dist/cjs/.graphclient/sources/clober-v2/introspectionSchema.js +14482 -0
- package/dist/cjs/.graphclient/sources/clober-v2/introspectionSchema.js.map +1 -0
- package/dist/cjs/.graphclient/sources/clober-v2/types.js +4 -0
- package/dist/cjs/.graphclient/sources/clober-v2/types.js.map +1 -0
- package/dist/cjs/abis/core/controller-abi.js +989 -0
- package/dist/cjs/abis/core/controller-abi.js.map +1 -0
- package/dist/cjs/abis/core/params-abi.js +62 -0
- package/dist/cjs/abis/core/params-abi.js.map +1 -0
- package/dist/cjs/apis/currency.js +87 -0
- package/dist/cjs/apis/currency.js.map +1 -0
- package/dist/cjs/apis/market.js +63 -0
- package/dist/cjs/apis/market.js.map +1 -0
- package/dist/cjs/apis/open-order.js +90 -0
- package/dist/cjs/apis/open-order.js.map +1 -0
- package/dist/cjs/approval.js +74 -0
- package/dist/cjs/approval.js.map +1 -0
- package/dist/cjs/call.js +545 -0
- package/dist/cjs/call.js.map +1 -0
- package/dist/cjs/constants/action.js +14 -0
- package/dist/cjs/constants/action.js.map +1 -0
- package/dist/cjs/constants/addresses.js +13 -0
- package/dist/cjs/constants/addresses.js.map +1 -0
- package/dist/cjs/constants/chain.js +13 -0
- package/dist/cjs/constants/chain.js.map +1 -0
- package/dist/cjs/constants/currency.js +12 -0
- package/dist/cjs/constants/currency.js.map +1 -0
- package/dist/cjs/constants/fee.js +7 -0
- package/dist/cjs/constants/fee.js.map +1 -0
- package/dist/cjs/constants/price.js +6 -0
- package/dist/cjs/constants/price.js.map +1 -0
- package/dist/cjs/constants/subgraph-url.js +8 -0
- package/dist/cjs/constants/subgraph-url.js.map +1 -0
- package/dist/cjs/index.js +22 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/model/book.js +130 -0
- package/dist/cjs/model/book.js.map +1 -0
- package/dist/cjs/model/currency.js +3 -0
- package/dist/cjs/model/currency.js.map +1 -0
- package/dist/cjs/model/depth.js +3 -0
- package/dist/cjs/model/depth.js.map +1 -0
- package/dist/cjs/model/fee-policy.js +42 -0
- package/dist/cjs/model/fee-policy.js.map +1 -0
- package/dist/cjs/model/market.js +215 -0
- package/dist/cjs/model/market.js.map +1 -0
- package/dist/cjs/model/open-order.js +3 -0
- package/dist/cjs/model/open-order.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/signature.js +178 -0
- package/dist/cjs/signature.js.map +1 -0
- package/dist/cjs/tsconfig.build.tsbuildinfo +1 -0
- package/dist/cjs/type.js +6 -0
- package/dist/cjs/type.js.map +1 -0
- package/dist/cjs/utils/approval.js +46 -0
- package/dist/cjs/utils/approval.js.map +1 -0
- package/dist/cjs/utils/book-id.js +25 -0
- package/dist/cjs/utils/book-id.js.map +1 -0
- package/dist/cjs/utils/build-transaction.js +31 -0
- package/dist/cjs/utils/build-transaction.js.map +1 -0
- package/dist/cjs/utils/decimals.js +17 -0
- package/dist/cjs/utils/decimals.js.map +1 -0
- package/dist/cjs/utils/market.js +53 -0
- package/dist/cjs/utils/market.js.map +1 -0
- package/dist/cjs/utils/math.js +83 -0
- package/dist/cjs/utils/math.js.map +1 -0
- package/dist/cjs/utils/prices.js +22 -0
- package/dist/cjs/utils/prices.js.map +1 -0
- package/dist/cjs/utils/tick.js +106 -0
- package/dist/cjs/utils/tick.js.map +1 -0
- package/dist/cjs/utils/time.js +9 -0
- package/dist/cjs/utils/time.js.map +1 -0
- package/dist/cjs/utils/unit.js +38 -0
- package/dist/cjs/utils/unit.js.map +1 -0
- package/dist/cjs/view.js +185 -0
- package/dist/cjs/view.js.map +1 -0
- package/dist/esm/.graphclient/index.js +233 -0
- package/dist/esm/.graphclient/index.js.map +1 -0
- package/dist/esm/.graphclient/sources/clober-v2/introspectionSchema.js +14480 -0
- package/dist/esm/.graphclient/sources/clober-v2/introspectionSchema.js.map +1 -0
- package/dist/esm/.graphclient/sources/clober-v2/types.js +3 -0
- package/dist/esm/.graphclient/sources/clober-v2/types.js.map +1 -0
- package/dist/esm/abis/core/controller-abi.js +986 -0
- package/dist/esm/abis/core/controller-abi.js.map +1 -0
- package/dist/esm/abis/core/params-abi.js +59 -0
- package/dist/esm/abis/core/params-abi.js.map +1 -0
- package/dist/esm/apis/currency.js +83 -0
- package/dist/esm/apis/currency.js.map +1 -0
- package/dist/esm/apis/market.js +59 -0
- package/dist/esm/apis/market.js.map +1 -0
- package/dist/esm/apis/open-order.js +85 -0
- package/dist/esm/apis/open-order.js.map +1 -0
- package/dist/esm/approval.js +70 -0
- package/dist/esm/approval.js.map +1 -0
- package/dist/esm/call.js +535 -0
- package/dist/esm/call.js.map +1 -0
- package/dist/esm/constants/action.js +11 -0
- package/dist/esm/constants/action.js.map +1 -0
- package/dist/esm/constants/addresses.js +10 -0
- package/dist/esm/constants/addresses.js.map +1 -0
- package/dist/esm/constants/chain.js +10 -0
- package/dist/esm/constants/chain.js.map +1 -0
- package/dist/esm/constants/currency.js +9 -0
- package/dist/esm/constants/currency.js.map +1 -0
- package/dist/esm/constants/fee.js +4 -0
- package/dist/esm/constants/fee.js.map +1 -0
- package/dist/esm/constants/price.js +3 -0
- package/dist/esm/constants/price.js.map +1 -0
- package/dist/esm/constants/subgraph-url.js +5 -0
- package/dist/esm/constants/subgraph-url.js.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/model/book.js +126 -0
- package/dist/esm/model/book.js.map +1 -0
- package/dist/esm/model/currency.js +2 -0
- package/dist/esm/model/currency.js.map +1 -0
- package/dist/esm/model/depth.js +2 -0
- package/dist/esm/model/depth.js.map +1 -0
- package/dist/esm/model/fee-policy.js +38 -0
- package/dist/esm/model/fee-policy.js.map +1 -0
- package/dist/esm/model/market.js +211 -0
- package/dist/esm/model/market.js.map +1 -0
- package/dist/esm/model/open-order.js +2 -0
- package/dist/esm/model/open-order.js.map +1 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/signature.js +174 -0
- package/dist/esm/signature.js.map +1 -0
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -0
- package/dist/esm/type.js +2 -0
- package/dist/esm/type.js.map +1 -0
- package/dist/esm/utils/approval.js +42 -0
- package/dist/esm/utils/approval.js.map +1 -0
- package/{src/utils/book-id.ts → dist/esm/utils/book-id.js} +9 -19
- package/dist/esm/utils/book-id.js.map +1 -0
- package/dist/esm/utils/build-transaction.js +27 -0
- package/dist/esm/utils/build-transaction.js.map +1 -0
- package/dist/esm/utils/decimals.js +12 -0
- package/dist/esm/utils/decimals.js.map +1 -0
- package/dist/esm/utils/market.js +49 -0
- package/dist/esm/utils/market.js.map +1 -0
- package/dist/esm/utils/math.js +78 -0
- package/dist/esm/utils/math.js.map +1 -0
- package/dist/esm/utils/prices.js +17 -0
- package/dist/esm/utils/prices.js.map +1 -0
- package/dist/esm/utils/tick.js +100 -0
- package/dist/esm/utils/tick.js.map +1 -0
- package/dist/esm/utils/time.js +5 -0
- package/dist/esm/utils/time.js.map +1 -0
- package/dist/esm/utils/unit.js +34 -0
- package/dist/esm/utils/unit.js.map +1 -0
- package/dist/esm/view.js +177 -0
- package/dist/esm/view.js.map +1 -0
- package/dist/types/.graphclient/index.d.ts +1281 -0
- package/dist/types/.graphclient/index.d.ts.map +1 -0
- package/dist/types/.graphclient/sources/clober-v2/introspectionSchema.d.ts +3 -0
- package/dist/types/.graphclient/sources/clober-v2/introspectionSchema.d.ts.map +1 -0
- package/dist/types/.graphclient/sources/clober-v2/types.d.ts +984 -0
- package/dist/types/.graphclient/sources/clober-v2/types.d.ts.map +1 -0
- package/dist/types/abis/core/controller-abi.d.ts +757 -0
- package/dist/types/abis/core/controller-abi.d.ts.map +1 -0
- package/dist/types/abis/core/params-abi.d.ts +21 -0
- package/dist/types/abis/core/params-abi.d.ts.map +1 -0
- package/dist/types/apis/currency.d.ts +4 -0
- package/dist/types/apis/currency.d.ts.map +1 -0
- package/dist/types/apis/market.d.ts +4 -0
- package/dist/types/apis/market.d.ts.map +1 -0
- package/dist/types/apis/open-order.d.ts +5 -0
- package/dist/types/apis/open-order.d.ts.map +1 -0
- package/dist/types/approval.d.ts +32 -0
- package/dist/types/approval.d.ts.map +1 -0
- package/dist/types/call.d.ts +234 -0
- package/dist/types/call.d.ts.map +1 -0
- package/dist/types/constants/action.d.ts +10 -0
- package/dist/types/constants/action.d.ts.map +1 -0
- package/dist/types/constants/addresses.d.ts +9 -0
- package/dist/types/constants/addresses.d.ts.map +1 -0
- package/dist/types/constants/chain.d.ts +9 -0
- package/dist/types/constants/chain.d.ts.map +1 -0
- package/dist/types/constants/currency.d.ts +8 -0
- package/dist/types/constants/currency.d.ts.map +1 -0
- package/dist/types/constants/fee.d.ts +4 -0
- package/dist/types/constants/fee.d.ts.map +1 -0
- package/dist/types/constants/price.d.ts +3 -0
- package/dist/types/constants/price.d.ts.map +1 -0
- package/dist/types/constants/subgraph-url.d.ts +5 -0
- package/dist/types/constants/subgraph-url.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/model/book.d.ts +31 -0
- package/dist/types/model/book.d.ts.map +1 -0
- package/dist/types/model/currency.d.ts +7 -0
- package/dist/types/model/currency.d.ts.map +1 -0
- package/dist/types/model/depth.d.ts +11 -0
- package/dist/types/model/depth.d.ts.map +1 -0
- package/dist/types/model/fee-policy.d.ts +15 -0
- package/dist/types/model/fee-policy.d.ts.map +1 -0
- package/dist/types/model/market.d.ts +44 -0
- package/dist/types/model/market.d.ts.map +1 -0
- package/dist/types/model/open-order.d.ts +28 -0
- package/dist/types/model/open-order.d.ts.map +1 -0
- package/dist/types/signature.d.ts +40 -0
- package/dist/types/signature.d.ts.map +1 -0
- package/dist/types/type.d.ts +34 -0
- package/dist/types/type.d.ts.map +1 -0
- package/dist/types/utils/approval.d.ts +3 -0
- package/dist/types/utils/approval.d.ts.map +1 -0
- package/dist/types/utils/book-id.d.ts +2 -0
- package/dist/types/utils/book-id.d.ts.map +1 -0
- package/dist/types/utils/build-transaction.d.ts +5 -0
- package/dist/types/utils/build-transaction.d.ts.map +1 -0
- package/dist/types/utils/decimals.d.ts +3 -0
- package/dist/types/utils/decimals.d.ts.map +1 -0
- package/dist/types/utils/market.d.ts +7 -0
- package/dist/types/utils/market.d.ts.map +1 -0
- package/dist/types/utils/math.d.ts +3 -0
- package/dist/types/utils/math.d.ts.map +1 -0
- package/dist/types/utils/prices.d.ts +3 -0
- package/dist/types/utils/prices.d.ts.map +1 -0
- package/dist/types/utils/tick.d.ts +4 -0
- package/dist/types/utils/tick.d.ts.map +1 -0
- package/dist/types/utils/time.d.ts +2 -0
- package/dist/types/utils/time.d.ts.map +1 -0
- package/dist/types/utils/unit.d.ts +4 -0
- package/dist/types/utils/unit.d.ts.map +1 -0
- package/dist/types/view.d.ts +129 -0
- package/dist/types/view.d.ts.map +1 -0
- package/package.json +14 -6
- package/.eslintignore +0 -1
- package/.eslintrc.yaml +0 -34
- package/.github/workflows/ci.yaml +0 -88
- package/.github/workflows/deployer.yaml +0 -19
- package/.nvmrc +0 -1
- package/.prettierignore +0 -6
- package/.prettierrc +0 -7
- package/src/.graphclient/index.ts +0 -1695
- package/src/.graphclient/schema.graphql +0 -1116
- package/src/.graphclient/sources/clober-v2/introspectionSchema.ts +0 -14481
- package/src/.graphclient/sources/clober-v2/schema.graphql +0 -1116
- package/src/.graphclient/sources/clober-v2/types.ts +0 -1133
- package/src/.graphclientrc.yml +0 -12
- package/src/abis/core/controller-abi.ts +0 -985
- package/src/abis/core/params-abi.ts +0 -59
- package/src/apis/currency.ts +0 -92
- package/src/apis/graphql/books.graphql +0 -25
- package/src/apis/graphql/open-order.graphql +0 -29
- package/src/apis/graphql/open-orders.graphql +0 -29
- package/src/apis/market.ts +0 -85
- package/src/apis/open-order.ts +0 -145
- package/src/approval.ts +0 -82
- package/src/call.ts +0 -705
- package/src/constants/action.ts +0 -9
- package/src/constants/addresses.ts +0 -17
- package/src/constants/chain.ts +0 -12
- package/src/constants/currency.ts +0 -15
- package/src/constants/fee.ts +0 -4
- package/src/constants/price.ts +0 -3
- package/src/constants/subgraph-url.ts +0 -8
- package/src/index.ts +0 -5
- package/src/model/book.ts +0 -166
- package/src/model/currency.ts +0 -6
- package/src/model/depth.ts +0 -11
- package/src/model/fee-policy.ts +0 -51
- package/src/model/market.ts +0 -320
- package/src/model/open-order.ts +0 -16
- package/src/signature.ts +0 -196
- package/src/type.ts +0 -38
- package/src/utils/approval.ts +0 -48
- package/src/utils/build-transaction.ts +0 -39
- package/src/utils/decimals.ts +0 -22
- package/src/utils/market.ts +0 -74
- package/src/utils/math.ts +0 -117
- package/src/utils/prices.ts +0 -29
- package/src/utils/tick.ts +0 -104
- package/src/utils/time.ts +0 -6
- package/src/utils/unit.ts +0 -43
- package/src/view.ts +0 -258
- package/test/book-id.test.ts +0 -101
- package/test/fee-policy.test.ts +0 -228
- package/test/get-expected-input.test.ts +0 -206
- package/test/get-expected-output.test.ts +0 -206
- package/test/limit-order.test.ts +0 -279
- package/test/market-order.test.ts +0 -245
- package/test/market.test.ts +0 -68
- package/test/math.test.ts +0 -91
- package/test/open-order.test.ts +0 -112
- package/test/open.test.ts +0 -15
- package/test/tick.test.ts +0 -230
- package/test/tsconfig.json +0 -12
- package/test/utils/chain.ts +0 -12
- package/test/utils/constants.ts +0 -25
- package/test/utils/currency.ts +0 -44
- package/test/utils/depth.ts +0 -148
- package/test/utils/test-chain.ts +0 -26
- package/test/vitest.config.ts +0 -15
- package/tsconfig.base.json +0 -37
- package/tsconfig.build.json +0 -9
- package/tsconfig.json +0 -9
|
@@ -1,1116 +0,0 @@
|
|
|
1
|
-
schema {
|
|
2
|
-
query: Query
|
|
3
|
-
subscription: Subscription
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
"Marks the GraphQL type as indexable entity. Each type that should be an entity is required to be annotated with this directive."
|
|
7
|
-
directive @entity on OBJECT
|
|
8
|
-
|
|
9
|
-
"Defined a Subgraph ID for an object type"
|
|
10
|
-
directive @subgraphId(id: String!) on OBJECT
|
|
11
|
-
|
|
12
|
-
"creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API."
|
|
13
|
-
directive @derivedFrom(field: String!) on FIELD_DEFINITION
|
|
14
|
-
|
|
15
|
-
scalar BigDecimal
|
|
16
|
-
|
|
17
|
-
scalar BigInt
|
|
18
|
-
|
|
19
|
-
input BlockChangedFilter {
|
|
20
|
-
number_gte: Int!
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
input Block_height {
|
|
24
|
-
hash: Bytes
|
|
25
|
-
number: Int
|
|
26
|
-
number_gte: Int
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
type Book {
|
|
30
|
-
id: ID!
|
|
31
|
-
base: Token!
|
|
32
|
-
quote: Token!
|
|
33
|
-
unit: BigInt!
|
|
34
|
-
makerPolicy: BigInt!
|
|
35
|
-
takerPolicy: BigInt!
|
|
36
|
-
hooks: String!
|
|
37
|
-
depths(skip: Int = 0, first: Int = 100, orderBy: Depth_orderBy, orderDirection: OrderDirection, where: Depth_filter): [Depth!]!
|
|
38
|
-
openOrders(skip: Int = 0, first: Int = 100, orderBy: OpenOrder_orderBy, orderDirection: OrderDirection, where: OpenOrder_filter): [OpenOrder!]!
|
|
39
|
-
latestTick: BigInt!
|
|
40
|
-
latestPrice: BigInt!
|
|
41
|
-
latestTimestamp: BigInt!
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
input Book_filter {
|
|
45
|
-
id: ID
|
|
46
|
-
id_not: ID
|
|
47
|
-
id_gt: ID
|
|
48
|
-
id_lt: ID
|
|
49
|
-
id_gte: ID
|
|
50
|
-
id_lte: ID
|
|
51
|
-
id_in: [ID!]
|
|
52
|
-
id_not_in: [ID!]
|
|
53
|
-
base: String
|
|
54
|
-
base_not: String
|
|
55
|
-
base_gt: String
|
|
56
|
-
base_lt: String
|
|
57
|
-
base_gte: String
|
|
58
|
-
base_lte: String
|
|
59
|
-
base_in: [String!]
|
|
60
|
-
base_not_in: [String!]
|
|
61
|
-
base_contains: String
|
|
62
|
-
base_contains_nocase: String
|
|
63
|
-
base_not_contains: String
|
|
64
|
-
base_not_contains_nocase: String
|
|
65
|
-
base_starts_with: String
|
|
66
|
-
base_starts_with_nocase: String
|
|
67
|
-
base_not_starts_with: String
|
|
68
|
-
base_not_starts_with_nocase: String
|
|
69
|
-
base_ends_with: String
|
|
70
|
-
base_ends_with_nocase: String
|
|
71
|
-
base_not_ends_with: String
|
|
72
|
-
base_not_ends_with_nocase: String
|
|
73
|
-
base_: Token_filter
|
|
74
|
-
quote: String
|
|
75
|
-
quote_not: String
|
|
76
|
-
quote_gt: String
|
|
77
|
-
quote_lt: String
|
|
78
|
-
quote_gte: String
|
|
79
|
-
quote_lte: String
|
|
80
|
-
quote_in: [String!]
|
|
81
|
-
quote_not_in: [String!]
|
|
82
|
-
quote_contains: String
|
|
83
|
-
quote_contains_nocase: String
|
|
84
|
-
quote_not_contains: String
|
|
85
|
-
quote_not_contains_nocase: String
|
|
86
|
-
quote_starts_with: String
|
|
87
|
-
quote_starts_with_nocase: String
|
|
88
|
-
quote_not_starts_with: String
|
|
89
|
-
quote_not_starts_with_nocase: String
|
|
90
|
-
quote_ends_with: String
|
|
91
|
-
quote_ends_with_nocase: String
|
|
92
|
-
quote_not_ends_with: String
|
|
93
|
-
quote_not_ends_with_nocase: String
|
|
94
|
-
quote_: Token_filter
|
|
95
|
-
unit: BigInt
|
|
96
|
-
unit_not: BigInt
|
|
97
|
-
unit_gt: BigInt
|
|
98
|
-
unit_lt: BigInt
|
|
99
|
-
unit_gte: BigInt
|
|
100
|
-
unit_lte: BigInt
|
|
101
|
-
unit_in: [BigInt!]
|
|
102
|
-
unit_not_in: [BigInt!]
|
|
103
|
-
makerPolicy: BigInt
|
|
104
|
-
makerPolicy_not: BigInt
|
|
105
|
-
makerPolicy_gt: BigInt
|
|
106
|
-
makerPolicy_lt: BigInt
|
|
107
|
-
makerPolicy_gte: BigInt
|
|
108
|
-
makerPolicy_lte: BigInt
|
|
109
|
-
makerPolicy_in: [BigInt!]
|
|
110
|
-
makerPolicy_not_in: [BigInt!]
|
|
111
|
-
takerPolicy: BigInt
|
|
112
|
-
takerPolicy_not: BigInt
|
|
113
|
-
takerPolicy_gt: BigInt
|
|
114
|
-
takerPolicy_lt: BigInt
|
|
115
|
-
takerPolicy_gte: BigInt
|
|
116
|
-
takerPolicy_lte: BigInt
|
|
117
|
-
takerPolicy_in: [BigInt!]
|
|
118
|
-
takerPolicy_not_in: [BigInt!]
|
|
119
|
-
hooks: String
|
|
120
|
-
hooks_not: String
|
|
121
|
-
hooks_gt: String
|
|
122
|
-
hooks_lt: String
|
|
123
|
-
hooks_gte: String
|
|
124
|
-
hooks_lte: String
|
|
125
|
-
hooks_in: [String!]
|
|
126
|
-
hooks_not_in: [String!]
|
|
127
|
-
hooks_contains: String
|
|
128
|
-
hooks_contains_nocase: String
|
|
129
|
-
hooks_not_contains: String
|
|
130
|
-
hooks_not_contains_nocase: String
|
|
131
|
-
hooks_starts_with: String
|
|
132
|
-
hooks_starts_with_nocase: String
|
|
133
|
-
hooks_not_starts_with: String
|
|
134
|
-
hooks_not_starts_with_nocase: String
|
|
135
|
-
hooks_ends_with: String
|
|
136
|
-
hooks_ends_with_nocase: String
|
|
137
|
-
hooks_not_ends_with: String
|
|
138
|
-
hooks_not_ends_with_nocase: String
|
|
139
|
-
depths_: Depth_filter
|
|
140
|
-
openOrders_: OpenOrder_filter
|
|
141
|
-
latestTick: BigInt
|
|
142
|
-
latestTick_not: BigInt
|
|
143
|
-
latestTick_gt: BigInt
|
|
144
|
-
latestTick_lt: BigInt
|
|
145
|
-
latestTick_gte: BigInt
|
|
146
|
-
latestTick_lte: BigInt
|
|
147
|
-
latestTick_in: [BigInt!]
|
|
148
|
-
latestTick_not_in: [BigInt!]
|
|
149
|
-
latestPrice: BigInt
|
|
150
|
-
latestPrice_not: BigInt
|
|
151
|
-
latestPrice_gt: BigInt
|
|
152
|
-
latestPrice_lt: BigInt
|
|
153
|
-
latestPrice_gte: BigInt
|
|
154
|
-
latestPrice_lte: BigInt
|
|
155
|
-
latestPrice_in: [BigInt!]
|
|
156
|
-
latestPrice_not_in: [BigInt!]
|
|
157
|
-
latestTimestamp: BigInt
|
|
158
|
-
latestTimestamp_not: BigInt
|
|
159
|
-
latestTimestamp_gt: BigInt
|
|
160
|
-
latestTimestamp_lt: BigInt
|
|
161
|
-
latestTimestamp_gte: BigInt
|
|
162
|
-
latestTimestamp_lte: BigInt
|
|
163
|
-
latestTimestamp_in: [BigInt!]
|
|
164
|
-
latestTimestamp_not_in: [BigInt!]
|
|
165
|
-
"""Filter for the block changed event."""
|
|
166
|
-
_change_block: BlockChangedFilter
|
|
167
|
-
and: [Book_filter]
|
|
168
|
-
or: [Book_filter]
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
enum Book_orderBy {
|
|
172
|
-
id
|
|
173
|
-
base
|
|
174
|
-
base__id
|
|
175
|
-
base__symbol
|
|
176
|
-
base__name
|
|
177
|
-
base__decimals
|
|
178
|
-
quote
|
|
179
|
-
quote__id
|
|
180
|
-
quote__symbol
|
|
181
|
-
quote__name
|
|
182
|
-
quote__decimals
|
|
183
|
-
unit
|
|
184
|
-
makerPolicy
|
|
185
|
-
takerPolicy
|
|
186
|
-
hooks
|
|
187
|
-
depths
|
|
188
|
-
openOrders
|
|
189
|
-
latestTick
|
|
190
|
-
latestPrice
|
|
191
|
-
latestTimestamp
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
scalar Bytes
|
|
195
|
-
|
|
196
|
-
type ChartLog {
|
|
197
|
-
id: ID!
|
|
198
|
-
marketCode: String!
|
|
199
|
-
intervalType: String!
|
|
200
|
-
timestamp: BigInt!
|
|
201
|
-
open: BigDecimal!
|
|
202
|
-
high: BigDecimal!
|
|
203
|
-
low: BigDecimal!
|
|
204
|
-
close: BigDecimal!
|
|
205
|
-
baseVolume: BigDecimal!
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
input ChartLog_filter {
|
|
209
|
-
id: ID
|
|
210
|
-
id_not: ID
|
|
211
|
-
id_gt: ID
|
|
212
|
-
id_lt: ID
|
|
213
|
-
id_gte: ID
|
|
214
|
-
id_lte: ID
|
|
215
|
-
id_in: [ID!]
|
|
216
|
-
id_not_in: [ID!]
|
|
217
|
-
marketCode: String
|
|
218
|
-
marketCode_not: String
|
|
219
|
-
marketCode_gt: String
|
|
220
|
-
marketCode_lt: String
|
|
221
|
-
marketCode_gte: String
|
|
222
|
-
marketCode_lte: String
|
|
223
|
-
marketCode_in: [String!]
|
|
224
|
-
marketCode_not_in: [String!]
|
|
225
|
-
marketCode_contains: String
|
|
226
|
-
marketCode_contains_nocase: String
|
|
227
|
-
marketCode_not_contains: String
|
|
228
|
-
marketCode_not_contains_nocase: String
|
|
229
|
-
marketCode_starts_with: String
|
|
230
|
-
marketCode_starts_with_nocase: String
|
|
231
|
-
marketCode_not_starts_with: String
|
|
232
|
-
marketCode_not_starts_with_nocase: String
|
|
233
|
-
marketCode_ends_with: String
|
|
234
|
-
marketCode_ends_with_nocase: String
|
|
235
|
-
marketCode_not_ends_with: String
|
|
236
|
-
marketCode_not_ends_with_nocase: String
|
|
237
|
-
intervalType: String
|
|
238
|
-
intervalType_not: String
|
|
239
|
-
intervalType_gt: String
|
|
240
|
-
intervalType_lt: String
|
|
241
|
-
intervalType_gte: String
|
|
242
|
-
intervalType_lte: String
|
|
243
|
-
intervalType_in: [String!]
|
|
244
|
-
intervalType_not_in: [String!]
|
|
245
|
-
intervalType_contains: String
|
|
246
|
-
intervalType_contains_nocase: String
|
|
247
|
-
intervalType_not_contains: String
|
|
248
|
-
intervalType_not_contains_nocase: String
|
|
249
|
-
intervalType_starts_with: String
|
|
250
|
-
intervalType_starts_with_nocase: String
|
|
251
|
-
intervalType_not_starts_with: String
|
|
252
|
-
intervalType_not_starts_with_nocase: String
|
|
253
|
-
intervalType_ends_with: String
|
|
254
|
-
intervalType_ends_with_nocase: String
|
|
255
|
-
intervalType_not_ends_with: String
|
|
256
|
-
intervalType_not_ends_with_nocase: String
|
|
257
|
-
timestamp: BigInt
|
|
258
|
-
timestamp_not: BigInt
|
|
259
|
-
timestamp_gt: BigInt
|
|
260
|
-
timestamp_lt: BigInt
|
|
261
|
-
timestamp_gte: BigInt
|
|
262
|
-
timestamp_lte: BigInt
|
|
263
|
-
timestamp_in: [BigInt!]
|
|
264
|
-
timestamp_not_in: [BigInt!]
|
|
265
|
-
open: BigDecimal
|
|
266
|
-
open_not: BigDecimal
|
|
267
|
-
open_gt: BigDecimal
|
|
268
|
-
open_lt: BigDecimal
|
|
269
|
-
open_gte: BigDecimal
|
|
270
|
-
open_lte: BigDecimal
|
|
271
|
-
open_in: [BigDecimal!]
|
|
272
|
-
open_not_in: [BigDecimal!]
|
|
273
|
-
high: BigDecimal
|
|
274
|
-
high_not: BigDecimal
|
|
275
|
-
high_gt: BigDecimal
|
|
276
|
-
high_lt: BigDecimal
|
|
277
|
-
high_gte: BigDecimal
|
|
278
|
-
high_lte: BigDecimal
|
|
279
|
-
high_in: [BigDecimal!]
|
|
280
|
-
high_not_in: [BigDecimal!]
|
|
281
|
-
low: BigDecimal
|
|
282
|
-
low_not: BigDecimal
|
|
283
|
-
low_gt: BigDecimal
|
|
284
|
-
low_lt: BigDecimal
|
|
285
|
-
low_gte: BigDecimal
|
|
286
|
-
low_lte: BigDecimal
|
|
287
|
-
low_in: [BigDecimal!]
|
|
288
|
-
low_not_in: [BigDecimal!]
|
|
289
|
-
close: BigDecimal
|
|
290
|
-
close_not: BigDecimal
|
|
291
|
-
close_gt: BigDecimal
|
|
292
|
-
close_lt: BigDecimal
|
|
293
|
-
close_gte: BigDecimal
|
|
294
|
-
close_lte: BigDecimal
|
|
295
|
-
close_in: [BigDecimal!]
|
|
296
|
-
close_not_in: [BigDecimal!]
|
|
297
|
-
baseVolume: BigDecimal
|
|
298
|
-
baseVolume_not: BigDecimal
|
|
299
|
-
baseVolume_gt: BigDecimal
|
|
300
|
-
baseVolume_lt: BigDecimal
|
|
301
|
-
baseVolume_gte: BigDecimal
|
|
302
|
-
baseVolume_lte: BigDecimal
|
|
303
|
-
baseVolume_in: [BigDecimal!]
|
|
304
|
-
baseVolume_not_in: [BigDecimal!]
|
|
305
|
-
"""Filter for the block changed event."""
|
|
306
|
-
_change_block: BlockChangedFilter
|
|
307
|
-
and: [ChartLog_filter]
|
|
308
|
-
or: [ChartLog_filter]
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
enum ChartLog_orderBy {
|
|
312
|
-
id
|
|
313
|
-
marketCode
|
|
314
|
-
intervalType
|
|
315
|
-
timestamp
|
|
316
|
-
open
|
|
317
|
-
high
|
|
318
|
-
low
|
|
319
|
-
close
|
|
320
|
-
baseVolume
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
type Depth {
|
|
324
|
-
id: ID!
|
|
325
|
-
book: Book!
|
|
326
|
-
tick: BigInt!
|
|
327
|
-
price: BigInt!
|
|
328
|
-
rawAmount: BigInt!
|
|
329
|
-
baseAmount: BigInt!
|
|
330
|
-
quoteAmount: BigInt!
|
|
331
|
-
latestTakenOrderIndex: BigInt!
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
input Depth_filter {
|
|
335
|
-
id: ID
|
|
336
|
-
id_not: ID
|
|
337
|
-
id_gt: ID
|
|
338
|
-
id_lt: ID
|
|
339
|
-
id_gte: ID
|
|
340
|
-
id_lte: ID
|
|
341
|
-
id_in: [ID!]
|
|
342
|
-
id_not_in: [ID!]
|
|
343
|
-
book: String
|
|
344
|
-
book_not: String
|
|
345
|
-
book_gt: String
|
|
346
|
-
book_lt: String
|
|
347
|
-
book_gte: String
|
|
348
|
-
book_lte: String
|
|
349
|
-
book_in: [String!]
|
|
350
|
-
book_not_in: [String!]
|
|
351
|
-
book_contains: String
|
|
352
|
-
book_contains_nocase: String
|
|
353
|
-
book_not_contains: String
|
|
354
|
-
book_not_contains_nocase: String
|
|
355
|
-
book_starts_with: String
|
|
356
|
-
book_starts_with_nocase: String
|
|
357
|
-
book_not_starts_with: String
|
|
358
|
-
book_not_starts_with_nocase: String
|
|
359
|
-
book_ends_with: String
|
|
360
|
-
book_ends_with_nocase: String
|
|
361
|
-
book_not_ends_with: String
|
|
362
|
-
book_not_ends_with_nocase: String
|
|
363
|
-
book_: Book_filter
|
|
364
|
-
tick: BigInt
|
|
365
|
-
tick_not: BigInt
|
|
366
|
-
tick_gt: BigInt
|
|
367
|
-
tick_lt: BigInt
|
|
368
|
-
tick_gte: BigInt
|
|
369
|
-
tick_lte: BigInt
|
|
370
|
-
tick_in: [BigInt!]
|
|
371
|
-
tick_not_in: [BigInt!]
|
|
372
|
-
price: BigInt
|
|
373
|
-
price_not: BigInt
|
|
374
|
-
price_gt: BigInt
|
|
375
|
-
price_lt: BigInt
|
|
376
|
-
price_gte: BigInt
|
|
377
|
-
price_lte: BigInt
|
|
378
|
-
price_in: [BigInt!]
|
|
379
|
-
price_not_in: [BigInt!]
|
|
380
|
-
rawAmount: BigInt
|
|
381
|
-
rawAmount_not: BigInt
|
|
382
|
-
rawAmount_gt: BigInt
|
|
383
|
-
rawAmount_lt: BigInt
|
|
384
|
-
rawAmount_gte: BigInt
|
|
385
|
-
rawAmount_lte: BigInt
|
|
386
|
-
rawAmount_in: [BigInt!]
|
|
387
|
-
rawAmount_not_in: [BigInt!]
|
|
388
|
-
baseAmount: BigInt
|
|
389
|
-
baseAmount_not: BigInt
|
|
390
|
-
baseAmount_gt: BigInt
|
|
391
|
-
baseAmount_lt: BigInt
|
|
392
|
-
baseAmount_gte: BigInt
|
|
393
|
-
baseAmount_lte: BigInt
|
|
394
|
-
baseAmount_in: [BigInt!]
|
|
395
|
-
baseAmount_not_in: [BigInt!]
|
|
396
|
-
quoteAmount: BigInt
|
|
397
|
-
quoteAmount_not: BigInt
|
|
398
|
-
quoteAmount_gt: BigInt
|
|
399
|
-
quoteAmount_lt: BigInt
|
|
400
|
-
quoteAmount_gte: BigInt
|
|
401
|
-
quoteAmount_lte: BigInt
|
|
402
|
-
quoteAmount_in: [BigInt!]
|
|
403
|
-
quoteAmount_not_in: [BigInt!]
|
|
404
|
-
latestTakenOrderIndex: BigInt
|
|
405
|
-
latestTakenOrderIndex_not: BigInt
|
|
406
|
-
latestTakenOrderIndex_gt: BigInt
|
|
407
|
-
latestTakenOrderIndex_lt: BigInt
|
|
408
|
-
latestTakenOrderIndex_gte: BigInt
|
|
409
|
-
latestTakenOrderIndex_lte: BigInt
|
|
410
|
-
latestTakenOrderIndex_in: [BigInt!]
|
|
411
|
-
latestTakenOrderIndex_not_in: [BigInt!]
|
|
412
|
-
"""Filter for the block changed event."""
|
|
413
|
-
_change_block: BlockChangedFilter
|
|
414
|
-
and: [Depth_filter]
|
|
415
|
-
or: [Depth_filter]
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
enum Depth_orderBy {
|
|
419
|
-
id
|
|
420
|
-
book
|
|
421
|
-
book__id
|
|
422
|
-
book__unit
|
|
423
|
-
book__makerPolicy
|
|
424
|
-
book__takerPolicy
|
|
425
|
-
book__hooks
|
|
426
|
-
book__latestTick
|
|
427
|
-
book__latestPrice
|
|
428
|
-
book__latestTimestamp
|
|
429
|
-
tick
|
|
430
|
-
price
|
|
431
|
-
rawAmount
|
|
432
|
-
baseAmount
|
|
433
|
-
quoteAmount
|
|
434
|
-
latestTakenOrderIndex
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
"""
|
|
438
|
-
8 bytes signed integer
|
|
439
|
-
|
|
440
|
-
"""
|
|
441
|
-
scalar Int8
|
|
442
|
-
|
|
443
|
-
type OpenOrder {
|
|
444
|
-
id: ID!
|
|
445
|
-
book: Book!
|
|
446
|
-
tick: BigInt!
|
|
447
|
-
orderIndex: BigInt!
|
|
448
|
-
price: BigInt!
|
|
449
|
-
user: String!
|
|
450
|
-
txHash: String!
|
|
451
|
-
createdAt: BigInt!
|
|
452
|
-
rawAmount: BigInt!
|
|
453
|
-
baseAmount: BigInt!
|
|
454
|
-
quoteAmount: BigInt!
|
|
455
|
-
rawFilledAmount: BigInt!
|
|
456
|
-
baseFilledAmount: BigInt!
|
|
457
|
-
quoteFilledAmount: BigInt!
|
|
458
|
-
rawClaimedAmount: BigInt!
|
|
459
|
-
baseClaimedAmount: BigInt!
|
|
460
|
-
quoteClaimedAmount: BigInt!
|
|
461
|
-
rawClaimableAmount: BigInt!
|
|
462
|
-
baseClaimableAmount: BigInt!
|
|
463
|
-
quoteClaimableAmount: BigInt!
|
|
464
|
-
rawOpenAmount: BigInt!
|
|
465
|
-
baseOpenAmount: BigInt!
|
|
466
|
-
quoteOpenAmount: BigInt!
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
input OpenOrder_filter {
|
|
470
|
-
id: ID
|
|
471
|
-
id_not: ID
|
|
472
|
-
id_gt: ID
|
|
473
|
-
id_lt: ID
|
|
474
|
-
id_gte: ID
|
|
475
|
-
id_lte: ID
|
|
476
|
-
id_in: [ID!]
|
|
477
|
-
id_not_in: [ID!]
|
|
478
|
-
book: String
|
|
479
|
-
book_not: String
|
|
480
|
-
book_gt: String
|
|
481
|
-
book_lt: String
|
|
482
|
-
book_gte: String
|
|
483
|
-
book_lte: String
|
|
484
|
-
book_in: [String!]
|
|
485
|
-
book_not_in: [String!]
|
|
486
|
-
book_contains: String
|
|
487
|
-
book_contains_nocase: String
|
|
488
|
-
book_not_contains: String
|
|
489
|
-
book_not_contains_nocase: String
|
|
490
|
-
book_starts_with: String
|
|
491
|
-
book_starts_with_nocase: String
|
|
492
|
-
book_not_starts_with: String
|
|
493
|
-
book_not_starts_with_nocase: String
|
|
494
|
-
book_ends_with: String
|
|
495
|
-
book_ends_with_nocase: String
|
|
496
|
-
book_not_ends_with: String
|
|
497
|
-
book_not_ends_with_nocase: String
|
|
498
|
-
book_: Book_filter
|
|
499
|
-
tick: BigInt
|
|
500
|
-
tick_not: BigInt
|
|
501
|
-
tick_gt: BigInt
|
|
502
|
-
tick_lt: BigInt
|
|
503
|
-
tick_gte: BigInt
|
|
504
|
-
tick_lte: BigInt
|
|
505
|
-
tick_in: [BigInt!]
|
|
506
|
-
tick_not_in: [BigInt!]
|
|
507
|
-
orderIndex: BigInt
|
|
508
|
-
orderIndex_not: BigInt
|
|
509
|
-
orderIndex_gt: BigInt
|
|
510
|
-
orderIndex_lt: BigInt
|
|
511
|
-
orderIndex_gte: BigInt
|
|
512
|
-
orderIndex_lte: BigInt
|
|
513
|
-
orderIndex_in: [BigInt!]
|
|
514
|
-
orderIndex_not_in: [BigInt!]
|
|
515
|
-
price: BigInt
|
|
516
|
-
price_not: BigInt
|
|
517
|
-
price_gt: BigInt
|
|
518
|
-
price_lt: BigInt
|
|
519
|
-
price_gte: BigInt
|
|
520
|
-
price_lte: BigInt
|
|
521
|
-
price_in: [BigInt!]
|
|
522
|
-
price_not_in: [BigInt!]
|
|
523
|
-
user: String
|
|
524
|
-
user_not: String
|
|
525
|
-
user_gt: String
|
|
526
|
-
user_lt: String
|
|
527
|
-
user_gte: String
|
|
528
|
-
user_lte: String
|
|
529
|
-
user_in: [String!]
|
|
530
|
-
user_not_in: [String!]
|
|
531
|
-
user_contains: String
|
|
532
|
-
user_contains_nocase: String
|
|
533
|
-
user_not_contains: String
|
|
534
|
-
user_not_contains_nocase: String
|
|
535
|
-
user_starts_with: String
|
|
536
|
-
user_starts_with_nocase: String
|
|
537
|
-
user_not_starts_with: String
|
|
538
|
-
user_not_starts_with_nocase: String
|
|
539
|
-
user_ends_with: String
|
|
540
|
-
user_ends_with_nocase: String
|
|
541
|
-
user_not_ends_with: String
|
|
542
|
-
user_not_ends_with_nocase: String
|
|
543
|
-
txHash: String
|
|
544
|
-
txHash_not: String
|
|
545
|
-
txHash_gt: String
|
|
546
|
-
txHash_lt: String
|
|
547
|
-
txHash_gte: String
|
|
548
|
-
txHash_lte: String
|
|
549
|
-
txHash_in: [String!]
|
|
550
|
-
txHash_not_in: [String!]
|
|
551
|
-
txHash_contains: String
|
|
552
|
-
txHash_contains_nocase: String
|
|
553
|
-
txHash_not_contains: String
|
|
554
|
-
txHash_not_contains_nocase: String
|
|
555
|
-
txHash_starts_with: String
|
|
556
|
-
txHash_starts_with_nocase: String
|
|
557
|
-
txHash_not_starts_with: String
|
|
558
|
-
txHash_not_starts_with_nocase: String
|
|
559
|
-
txHash_ends_with: String
|
|
560
|
-
txHash_ends_with_nocase: String
|
|
561
|
-
txHash_not_ends_with: String
|
|
562
|
-
txHash_not_ends_with_nocase: String
|
|
563
|
-
createdAt: BigInt
|
|
564
|
-
createdAt_not: BigInt
|
|
565
|
-
createdAt_gt: BigInt
|
|
566
|
-
createdAt_lt: BigInt
|
|
567
|
-
createdAt_gte: BigInt
|
|
568
|
-
createdAt_lte: BigInt
|
|
569
|
-
createdAt_in: [BigInt!]
|
|
570
|
-
createdAt_not_in: [BigInt!]
|
|
571
|
-
rawAmount: BigInt
|
|
572
|
-
rawAmount_not: BigInt
|
|
573
|
-
rawAmount_gt: BigInt
|
|
574
|
-
rawAmount_lt: BigInt
|
|
575
|
-
rawAmount_gte: BigInt
|
|
576
|
-
rawAmount_lte: BigInt
|
|
577
|
-
rawAmount_in: [BigInt!]
|
|
578
|
-
rawAmount_not_in: [BigInt!]
|
|
579
|
-
baseAmount: BigInt
|
|
580
|
-
baseAmount_not: BigInt
|
|
581
|
-
baseAmount_gt: BigInt
|
|
582
|
-
baseAmount_lt: BigInt
|
|
583
|
-
baseAmount_gte: BigInt
|
|
584
|
-
baseAmount_lte: BigInt
|
|
585
|
-
baseAmount_in: [BigInt!]
|
|
586
|
-
baseAmount_not_in: [BigInt!]
|
|
587
|
-
quoteAmount: BigInt
|
|
588
|
-
quoteAmount_not: BigInt
|
|
589
|
-
quoteAmount_gt: BigInt
|
|
590
|
-
quoteAmount_lt: BigInt
|
|
591
|
-
quoteAmount_gte: BigInt
|
|
592
|
-
quoteAmount_lte: BigInt
|
|
593
|
-
quoteAmount_in: [BigInt!]
|
|
594
|
-
quoteAmount_not_in: [BigInt!]
|
|
595
|
-
rawFilledAmount: BigInt
|
|
596
|
-
rawFilledAmount_not: BigInt
|
|
597
|
-
rawFilledAmount_gt: BigInt
|
|
598
|
-
rawFilledAmount_lt: BigInt
|
|
599
|
-
rawFilledAmount_gte: BigInt
|
|
600
|
-
rawFilledAmount_lte: BigInt
|
|
601
|
-
rawFilledAmount_in: [BigInt!]
|
|
602
|
-
rawFilledAmount_not_in: [BigInt!]
|
|
603
|
-
baseFilledAmount: BigInt
|
|
604
|
-
baseFilledAmount_not: BigInt
|
|
605
|
-
baseFilledAmount_gt: BigInt
|
|
606
|
-
baseFilledAmount_lt: BigInt
|
|
607
|
-
baseFilledAmount_gte: BigInt
|
|
608
|
-
baseFilledAmount_lte: BigInt
|
|
609
|
-
baseFilledAmount_in: [BigInt!]
|
|
610
|
-
baseFilledAmount_not_in: [BigInt!]
|
|
611
|
-
quoteFilledAmount: BigInt
|
|
612
|
-
quoteFilledAmount_not: BigInt
|
|
613
|
-
quoteFilledAmount_gt: BigInt
|
|
614
|
-
quoteFilledAmount_lt: BigInt
|
|
615
|
-
quoteFilledAmount_gte: BigInt
|
|
616
|
-
quoteFilledAmount_lte: BigInt
|
|
617
|
-
quoteFilledAmount_in: [BigInt!]
|
|
618
|
-
quoteFilledAmount_not_in: [BigInt!]
|
|
619
|
-
rawClaimedAmount: BigInt
|
|
620
|
-
rawClaimedAmount_not: BigInt
|
|
621
|
-
rawClaimedAmount_gt: BigInt
|
|
622
|
-
rawClaimedAmount_lt: BigInt
|
|
623
|
-
rawClaimedAmount_gte: BigInt
|
|
624
|
-
rawClaimedAmount_lte: BigInt
|
|
625
|
-
rawClaimedAmount_in: [BigInt!]
|
|
626
|
-
rawClaimedAmount_not_in: [BigInt!]
|
|
627
|
-
baseClaimedAmount: BigInt
|
|
628
|
-
baseClaimedAmount_not: BigInt
|
|
629
|
-
baseClaimedAmount_gt: BigInt
|
|
630
|
-
baseClaimedAmount_lt: BigInt
|
|
631
|
-
baseClaimedAmount_gte: BigInt
|
|
632
|
-
baseClaimedAmount_lte: BigInt
|
|
633
|
-
baseClaimedAmount_in: [BigInt!]
|
|
634
|
-
baseClaimedAmount_not_in: [BigInt!]
|
|
635
|
-
quoteClaimedAmount: BigInt
|
|
636
|
-
quoteClaimedAmount_not: BigInt
|
|
637
|
-
quoteClaimedAmount_gt: BigInt
|
|
638
|
-
quoteClaimedAmount_lt: BigInt
|
|
639
|
-
quoteClaimedAmount_gte: BigInt
|
|
640
|
-
quoteClaimedAmount_lte: BigInt
|
|
641
|
-
quoteClaimedAmount_in: [BigInt!]
|
|
642
|
-
quoteClaimedAmount_not_in: [BigInt!]
|
|
643
|
-
rawClaimableAmount: BigInt
|
|
644
|
-
rawClaimableAmount_not: BigInt
|
|
645
|
-
rawClaimableAmount_gt: BigInt
|
|
646
|
-
rawClaimableAmount_lt: BigInt
|
|
647
|
-
rawClaimableAmount_gte: BigInt
|
|
648
|
-
rawClaimableAmount_lte: BigInt
|
|
649
|
-
rawClaimableAmount_in: [BigInt!]
|
|
650
|
-
rawClaimableAmount_not_in: [BigInt!]
|
|
651
|
-
baseClaimableAmount: BigInt
|
|
652
|
-
baseClaimableAmount_not: BigInt
|
|
653
|
-
baseClaimableAmount_gt: BigInt
|
|
654
|
-
baseClaimableAmount_lt: BigInt
|
|
655
|
-
baseClaimableAmount_gte: BigInt
|
|
656
|
-
baseClaimableAmount_lte: BigInt
|
|
657
|
-
baseClaimableAmount_in: [BigInt!]
|
|
658
|
-
baseClaimableAmount_not_in: [BigInt!]
|
|
659
|
-
quoteClaimableAmount: BigInt
|
|
660
|
-
quoteClaimableAmount_not: BigInt
|
|
661
|
-
quoteClaimableAmount_gt: BigInt
|
|
662
|
-
quoteClaimableAmount_lt: BigInt
|
|
663
|
-
quoteClaimableAmount_gte: BigInt
|
|
664
|
-
quoteClaimableAmount_lte: BigInt
|
|
665
|
-
quoteClaimableAmount_in: [BigInt!]
|
|
666
|
-
quoteClaimableAmount_not_in: [BigInt!]
|
|
667
|
-
rawOpenAmount: BigInt
|
|
668
|
-
rawOpenAmount_not: BigInt
|
|
669
|
-
rawOpenAmount_gt: BigInt
|
|
670
|
-
rawOpenAmount_lt: BigInt
|
|
671
|
-
rawOpenAmount_gte: BigInt
|
|
672
|
-
rawOpenAmount_lte: BigInt
|
|
673
|
-
rawOpenAmount_in: [BigInt!]
|
|
674
|
-
rawOpenAmount_not_in: [BigInt!]
|
|
675
|
-
baseOpenAmount: BigInt
|
|
676
|
-
baseOpenAmount_not: BigInt
|
|
677
|
-
baseOpenAmount_gt: BigInt
|
|
678
|
-
baseOpenAmount_lt: BigInt
|
|
679
|
-
baseOpenAmount_gte: BigInt
|
|
680
|
-
baseOpenAmount_lte: BigInt
|
|
681
|
-
baseOpenAmount_in: [BigInt!]
|
|
682
|
-
baseOpenAmount_not_in: [BigInt!]
|
|
683
|
-
quoteOpenAmount: BigInt
|
|
684
|
-
quoteOpenAmount_not: BigInt
|
|
685
|
-
quoteOpenAmount_gt: BigInt
|
|
686
|
-
quoteOpenAmount_lt: BigInt
|
|
687
|
-
quoteOpenAmount_gte: BigInt
|
|
688
|
-
quoteOpenAmount_lte: BigInt
|
|
689
|
-
quoteOpenAmount_in: [BigInt!]
|
|
690
|
-
quoteOpenAmount_not_in: [BigInt!]
|
|
691
|
-
"""Filter for the block changed event."""
|
|
692
|
-
_change_block: BlockChangedFilter
|
|
693
|
-
and: [OpenOrder_filter]
|
|
694
|
-
or: [OpenOrder_filter]
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
enum OpenOrder_orderBy {
|
|
698
|
-
id
|
|
699
|
-
book
|
|
700
|
-
book__id
|
|
701
|
-
book__unit
|
|
702
|
-
book__makerPolicy
|
|
703
|
-
book__takerPolicy
|
|
704
|
-
book__hooks
|
|
705
|
-
book__latestTick
|
|
706
|
-
book__latestPrice
|
|
707
|
-
book__latestTimestamp
|
|
708
|
-
tick
|
|
709
|
-
orderIndex
|
|
710
|
-
price
|
|
711
|
-
user
|
|
712
|
-
txHash
|
|
713
|
-
createdAt
|
|
714
|
-
rawAmount
|
|
715
|
-
baseAmount
|
|
716
|
-
quoteAmount
|
|
717
|
-
rawFilledAmount
|
|
718
|
-
baseFilledAmount
|
|
719
|
-
quoteFilledAmount
|
|
720
|
-
rawClaimedAmount
|
|
721
|
-
baseClaimedAmount
|
|
722
|
-
quoteClaimedAmount
|
|
723
|
-
rawClaimableAmount
|
|
724
|
-
baseClaimableAmount
|
|
725
|
-
quoteClaimableAmount
|
|
726
|
-
rawOpenAmount
|
|
727
|
-
baseOpenAmount
|
|
728
|
-
quoteOpenAmount
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
"""Defines the order direction, either ascending or descending"""
|
|
732
|
-
enum OrderDirection {
|
|
733
|
-
asc
|
|
734
|
-
desc
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
type Query {
|
|
738
|
-
token(
|
|
739
|
-
id: ID!
|
|
740
|
-
"""
|
|
741
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
742
|
-
"""
|
|
743
|
-
block: Block_height
|
|
744
|
-
"""
|
|
745
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
746
|
-
"""
|
|
747
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
748
|
-
): Token
|
|
749
|
-
tokens(
|
|
750
|
-
skip: Int = 0
|
|
751
|
-
first: Int = 100
|
|
752
|
-
orderBy: Token_orderBy
|
|
753
|
-
orderDirection: OrderDirection
|
|
754
|
-
where: Token_filter
|
|
755
|
-
"""
|
|
756
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
757
|
-
"""
|
|
758
|
-
block: Block_height
|
|
759
|
-
"""
|
|
760
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
761
|
-
"""
|
|
762
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
763
|
-
): [Token!]!
|
|
764
|
-
book(
|
|
765
|
-
id: ID!
|
|
766
|
-
"""
|
|
767
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
768
|
-
"""
|
|
769
|
-
block: Block_height
|
|
770
|
-
"""
|
|
771
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
772
|
-
"""
|
|
773
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
774
|
-
): Book
|
|
775
|
-
books(
|
|
776
|
-
skip: Int = 0
|
|
777
|
-
first: Int = 100
|
|
778
|
-
orderBy: Book_orderBy
|
|
779
|
-
orderDirection: OrderDirection
|
|
780
|
-
where: Book_filter
|
|
781
|
-
"""
|
|
782
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
783
|
-
"""
|
|
784
|
-
block: Block_height
|
|
785
|
-
"""
|
|
786
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
787
|
-
"""
|
|
788
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
789
|
-
): [Book!]!
|
|
790
|
-
depth(
|
|
791
|
-
id: ID!
|
|
792
|
-
"""
|
|
793
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
794
|
-
"""
|
|
795
|
-
block: Block_height
|
|
796
|
-
"""
|
|
797
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
798
|
-
"""
|
|
799
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
800
|
-
): Depth
|
|
801
|
-
depths(
|
|
802
|
-
skip: Int = 0
|
|
803
|
-
first: Int = 100
|
|
804
|
-
orderBy: Depth_orderBy
|
|
805
|
-
orderDirection: OrderDirection
|
|
806
|
-
where: Depth_filter
|
|
807
|
-
"""
|
|
808
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
809
|
-
"""
|
|
810
|
-
block: Block_height
|
|
811
|
-
"""
|
|
812
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
813
|
-
"""
|
|
814
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
815
|
-
): [Depth!]!
|
|
816
|
-
openOrder(
|
|
817
|
-
id: ID!
|
|
818
|
-
"""
|
|
819
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
820
|
-
"""
|
|
821
|
-
block: Block_height
|
|
822
|
-
"""
|
|
823
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
824
|
-
"""
|
|
825
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
826
|
-
): OpenOrder
|
|
827
|
-
openOrders(
|
|
828
|
-
skip: Int = 0
|
|
829
|
-
first: Int = 100
|
|
830
|
-
orderBy: OpenOrder_orderBy
|
|
831
|
-
orderDirection: OrderDirection
|
|
832
|
-
where: OpenOrder_filter
|
|
833
|
-
"""
|
|
834
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
835
|
-
"""
|
|
836
|
-
block: Block_height
|
|
837
|
-
"""
|
|
838
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
839
|
-
"""
|
|
840
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
841
|
-
): [OpenOrder!]!
|
|
842
|
-
chartLog(
|
|
843
|
-
id: ID!
|
|
844
|
-
"""
|
|
845
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
846
|
-
"""
|
|
847
|
-
block: Block_height
|
|
848
|
-
"""
|
|
849
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
850
|
-
"""
|
|
851
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
852
|
-
): ChartLog
|
|
853
|
-
chartLogs(
|
|
854
|
-
skip: Int = 0
|
|
855
|
-
first: Int = 100
|
|
856
|
-
orderBy: ChartLog_orderBy
|
|
857
|
-
orderDirection: OrderDirection
|
|
858
|
-
where: ChartLog_filter
|
|
859
|
-
"""
|
|
860
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
861
|
-
"""
|
|
862
|
-
block: Block_height
|
|
863
|
-
"""
|
|
864
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
865
|
-
"""
|
|
866
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
867
|
-
): [ChartLog!]!
|
|
868
|
-
"""Access to subgraph metadata"""
|
|
869
|
-
_meta(block: Block_height): _Meta_
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
type Subscription {
|
|
873
|
-
token(
|
|
874
|
-
id: ID!
|
|
875
|
-
"""
|
|
876
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
877
|
-
"""
|
|
878
|
-
block: Block_height
|
|
879
|
-
"""
|
|
880
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
881
|
-
"""
|
|
882
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
883
|
-
): Token
|
|
884
|
-
tokens(
|
|
885
|
-
skip: Int = 0
|
|
886
|
-
first: Int = 100
|
|
887
|
-
orderBy: Token_orderBy
|
|
888
|
-
orderDirection: OrderDirection
|
|
889
|
-
where: Token_filter
|
|
890
|
-
"""
|
|
891
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
892
|
-
"""
|
|
893
|
-
block: Block_height
|
|
894
|
-
"""
|
|
895
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
896
|
-
"""
|
|
897
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
898
|
-
): [Token!]!
|
|
899
|
-
book(
|
|
900
|
-
id: ID!
|
|
901
|
-
"""
|
|
902
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
903
|
-
"""
|
|
904
|
-
block: Block_height
|
|
905
|
-
"""
|
|
906
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
907
|
-
"""
|
|
908
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
909
|
-
): Book
|
|
910
|
-
books(
|
|
911
|
-
skip: Int = 0
|
|
912
|
-
first: Int = 100
|
|
913
|
-
orderBy: Book_orderBy
|
|
914
|
-
orderDirection: OrderDirection
|
|
915
|
-
where: Book_filter
|
|
916
|
-
"""
|
|
917
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
918
|
-
"""
|
|
919
|
-
block: Block_height
|
|
920
|
-
"""
|
|
921
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
922
|
-
"""
|
|
923
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
924
|
-
): [Book!]!
|
|
925
|
-
depth(
|
|
926
|
-
id: ID!
|
|
927
|
-
"""
|
|
928
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
929
|
-
"""
|
|
930
|
-
block: Block_height
|
|
931
|
-
"""
|
|
932
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
933
|
-
"""
|
|
934
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
935
|
-
): Depth
|
|
936
|
-
depths(
|
|
937
|
-
skip: Int = 0
|
|
938
|
-
first: Int = 100
|
|
939
|
-
orderBy: Depth_orderBy
|
|
940
|
-
orderDirection: OrderDirection
|
|
941
|
-
where: Depth_filter
|
|
942
|
-
"""
|
|
943
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
944
|
-
"""
|
|
945
|
-
block: Block_height
|
|
946
|
-
"""
|
|
947
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
948
|
-
"""
|
|
949
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
950
|
-
): [Depth!]!
|
|
951
|
-
openOrder(
|
|
952
|
-
id: ID!
|
|
953
|
-
"""
|
|
954
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
955
|
-
"""
|
|
956
|
-
block: Block_height
|
|
957
|
-
"""
|
|
958
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
959
|
-
"""
|
|
960
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
961
|
-
): OpenOrder
|
|
962
|
-
openOrders(
|
|
963
|
-
skip: Int = 0
|
|
964
|
-
first: Int = 100
|
|
965
|
-
orderBy: OpenOrder_orderBy
|
|
966
|
-
orderDirection: OrderDirection
|
|
967
|
-
where: OpenOrder_filter
|
|
968
|
-
"""
|
|
969
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
970
|
-
"""
|
|
971
|
-
block: Block_height
|
|
972
|
-
"""
|
|
973
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
974
|
-
"""
|
|
975
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
976
|
-
): [OpenOrder!]!
|
|
977
|
-
chartLog(
|
|
978
|
-
id: ID!
|
|
979
|
-
"""
|
|
980
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
981
|
-
"""
|
|
982
|
-
block: Block_height
|
|
983
|
-
"""
|
|
984
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
985
|
-
"""
|
|
986
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
987
|
-
): ChartLog
|
|
988
|
-
chartLogs(
|
|
989
|
-
skip: Int = 0
|
|
990
|
-
first: Int = 100
|
|
991
|
-
orderBy: ChartLog_orderBy
|
|
992
|
-
orderDirection: OrderDirection
|
|
993
|
-
where: ChartLog_filter
|
|
994
|
-
"""
|
|
995
|
-
The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
|
|
996
|
-
"""
|
|
997
|
-
block: Block_height
|
|
998
|
-
"""
|
|
999
|
-
Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.
|
|
1000
|
-
"""
|
|
1001
|
-
subgraphError: _SubgraphErrorPolicy_! = deny
|
|
1002
|
-
): [ChartLog!]!
|
|
1003
|
-
"""Access to subgraph metadata"""
|
|
1004
|
-
_meta(block: Block_height): _Meta_
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
type Token {
|
|
1008
|
-
id: ID!
|
|
1009
|
-
symbol: String!
|
|
1010
|
-
name: String!
|
|
1011
|
-
decimals: BigInt!
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
input Token_filter {
|
|
1015
|
-
id: ID
|
|
1016
|
-
id_not: ID
|
|
1017
|
-
id_gt: ID
|
|
1018
|
-
id_lt: ID
|
|
1019
|
-
id_gte: ID
|
|
1020
|
-
id_lte: ID
|
|
1021
|
-
id_in: [ID!]
|
|
1022
|
-
id_not_in: [ID!]
|
|
1023
|
-
symbol: String
|
|
1024
|
-
symbol_not: String
|
|
1025
|
-
symbol_gt: String
|
|
1026
|
-
symbol_lt: String
|
|
1027
|
-
symbol_gte: String
|
|
1028
|
-
symbol_lte: String
|
|
1029
|
-
symbol_in: [String!]
|
|
1030
|
-
symbol_not_in: [String!]
|
|
1031
|
-
symbol_contains: String
|
|
1032
|
-
symbol_contains_nocase: String
|
|
1033
|
-
symbol_not_contains: String
|
|
1034
|
-
symbol_not_contains_nocase: String
|
|
1035
|
-
symbol_starts_with: String
|
|
1036
|
-
symbol_starts_with_nocase: String
|
|
1037
|
-
symbol_not_starts_with: String
|
|
1038
|
-
symbol_not_starts_with_nocase: String
|
|
1039
|
-
symbol_ends_with: String
|
|
1040
|
-
symbol_ends_with_nocase: String
|
|
1041
|
-
symbol_not_ends_with: String
|
|
1042
|
-
symbol_not_ends_with_nocase: String
|
|
1043
|
-
name: String
|
|
1044
|
-
name_not: String
|
|
1045
|
-
name_gt: String
|
|
1046
|
-
name_lt: String
|
|
1047
|
-
name_gte: String
|
|
1048
|
-
name_lte: String
|
|
1049
|
-
name_in: [String!]
|
|
1050
|
-
name_not_in: [String!]
|
|
1051
|
-
name_contains: String
|
|
1052
|
-
name_contains_nocase: String
|
|
1053
|
-
name_not_contains: String
|
|
1054
|
-
name_not_contains_nocase: String
|
|
1055
|
-
name_starts_with: String
|
|
1056
|
-
name_starts_with_nocase: String
|
|
1057
|
-
name_not_starts_with: String
|
|
1058
|
-
name_not_starts_with_nocase: String
|
|
1059
|
-
name_ends_with: String
|
|
1060
|
-
name_ends_with_nocase: String
|
|
1061
|
-
name_not_ends_with: String
|
|
1062
|
-
name_not_ends_with_nocase: String
|
|
1063
|
-
decimals: BigInt
|
|
1064
|
-
decimals_not: BigInt
|
|
1065
|
-
decimals_gt: BigInt
|
|
1066
|
-
decimals_lt: BigInt
|
|
1067
|
-
decimals_gte: BigInt
|
|
1068
|
-
decimals_lte: BigInt
|
|
1069
|
-
decimals_in: [BigInt!]
|
|
1070
|
-
decimals_not_in: [BigInt!]
|
|
1071
|
-
"""Filter for the block changed event."""
|
|
1072
|
-
_change_block: BlockChangedFilter
|
|
1073
|
-
and: [Token_filter]
|
|
1074
|
-
or: [Token_filter]
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
enum Token_orderBy {
|
|
1078
|
-
id
|
|
1079
|
-
symbol
|
|
1080
|
-
name
|
|
1081
|
-
decimals
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
type _Block_ {
|
|
1085
|
-
"""The hash of the block"""
|
|
1086
|
-
hash: Bytes
|
|
1087
|
-
"""The block number"""
|
|
1088
|
-
number: Int!
|
|
1089
|
-
"""Integer representation of the timestamp stored in blocks for the chain"""
|
|
1090
|
-
timestamp: Int
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
"""The type for the top-level _meta field"""
|
|
1094
|
-
type _Meta_ {
|
|
1095
|
-
"""
|
|
1096
|
-
Information about a specific subgraph block. The hash of the block
|
|
1097
|
-
will be null if the _meta field has a block constraint that asks for
|
|
1098
|
-
a block number. It will be filled if the _meta field has no block constraint
|
|
1099
|
-
and therefore asks for the latest block
|
|
1100
|
-
|
|
1101
|
-
"""
|
|
1102
|
-
block: _Block_!
|
|
1103
|
-
"""The deployment ID"""
|
|
1104
|
-
deployment: String!
|
|
1105
|
-
"""If `true`, the subgraph encountered indexing errors at some past block"""
|
|
1106
|
-
hasIndexingErrors: Boolean!
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
enum _SubgraphErrorPolicy_ {
|
|
1110
|
-
"""Data will be returned even if the subgraph has indexing errors"""
|
|
1111
|
-
allow
|
|
1112
|
-
"""
|
|
1113
|
-
If the subgraph has indexing errors, data will be omitted. The default.
|
|
1114
|
-
"""
|
|
1115
|
-
deny
|
|
1116
|
-
}
|