@codex-data/sdk 0.5.7 → 0.6.0
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/resources/graphql.d.ts +18 -114
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +2 -6
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +135 -1208
- package/dist/resources/graphql.ts +22 -131
- package/dist/resources/schema.graphql +19 -128
- package/dist/sdk/generated/gql.d.ts +12 -10
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +5 -5
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +68 -1032
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +7 -11
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/graphql.schema.json +135 -1208
- package/src/resources/graphql.ts +22 -131
- package/src/resources/schema.graphql +19 -128
- package/src/sdk/generated/gql.ts +10 -10
- package/src/sdk/generated/graphql.ts +32 -139
- package/src/sdk/graphql/CreateWebhooks.graphql +0 -681
- package/src/sdk/graphql/FilterPairs.graphql +2 -0
- package/src/sdk/graphql/FilterTokens.graphql +2 -0
- package/src/sdk/graphql/GetPairEvents.graphql +39 -1
- package/src/sdk/graphql/GetWebhooks.graphql +0 -48
|
@@ -23,6 +23,44 @@ query PairEvents($query: EventsQueryInput!) {
|
|
|
23
23
|
transactionHash
|
|
24
24
|
transactionIndex
|
|
25
25
|
logIndex
|
|
26
|
+
data {
|
|
27
|
+
__typename
|
|
28
|
+
... on BurnEventData {
|
|
29
|
+
amount0
|
|
30
|
+
amount1
|
|
31
|
+
amount0Shifted
|
|
32
|
+
amount1Shifted
|
|
33
|
+
type
|
|
34
|
+
}
|
|
35
|
+
... on MintEventData {
|
|
36
|
+
amount0
|
|
37
|
+
amount1
|
|
38
|
+
amount0Shifted
|
|
39
|
+
amount1Shifted
|
|
40
|
+
type
|
|
41
|
+
}
|
|
42
|
+
... on PoolBalanceChangedEventData {
|
|
43
|
+
amount0
|
|
44
|
+
amount1
|
|
45
|
+
amount0Shifted
|
|
46
|
+
amount1Shifted
|
|
47
|
+
type
|
|
48
|
+
}
|
|
49
|
+
... on SwapEventData {
|
|
50
|
+
amount0In
|
|
51
|
+
amount0Out
|
|
52
|
+
amount1In
|
|
53
|
+
amount1Out
|
|
54
|
+
amount0
|
|
55
|
+
amount1
|
|
56
|
+
amountNonLiquidityToken
|
|
57
|
+
priceUsd
|
|
58
|
+
priceUsdTotal
|
|
59
|
+
priceBaseToken
|
|
60
|
+
priceBaseTokenTotal
|
|
61
|
+
type
|
|
62
|
+
}
|
|
63
|
+
}
|
|
26
64
|
}
|
|
27
65
|
}
|
|
28
|
-
}
|
|
66
|
+
}
|
|
@@ -34,54 +34,6 @@ query GetWebhooks(
|
|
|
34
34
|
eq
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
... on DecodedLogWebhookCondition {
|
|
38
|
-
decodingId {
|
|
39
|
-
eq
|
|
40
|
-
}
|
|
41
|
-
eventName {
|
|
42
|
-
eq
|
|
43
|
-
}
|
|
44
|
-
address {
|
|
45
|
-
eq
|
|
46
|
-
}
|
|
47
|
-
event
|
|
48
|
-
}
|
|
49
|
-
... on DecodedCallWebhookCondition {
|
|
50
|
-
decodingId {
|
|
51
|
-
eq
|
|
52
|
-
}
|
|
53
|
-
methodName {
|
|
54
|
-
eq
|
|
55
|
-
}
|
|
56
|
-
address {
|
|
57
|
-
eq
|
|
58
|
-
}
|
|
59
|
-
from {
|
|
60
|
-
eq
|
|
61
|
-
}
|
|
62
|
-
to {
|
|
63
|
-
eq
|
|
64
|
-
}
|
|
65
|
-
methodId {
|
|
66
|
-
eq
|
|
67
|
-
}
|
|
68
|
-
output
|
|
69
|
-
inputJSON: input
|
|
70
|
-
}
|
|
71
|
-
... on RawCallTraceWebhookCondition {
|
|
72
|
-
traceType {
|
|
73
|
-
eq
|
|
74
|
-
}
|
|
75
|
-
result {
|
|
76
|
-
code {
|
|
77
|
-
contains
|
|
78
|
-
notContains
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
networkId {
|
|
82
|
-
oneOf
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
37
|
... on TokenPairEventWebhookCondition {
|
|
86
38
|
tokenAddress {
|
|
87
39
|
eq
|