@codex-data/sdk 0.5.8 → 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.
@@ -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