@aave/graphql 1.0.0-next.2 → 1.0.0-next.22
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/index.cjs +695 -295
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +81583 -17745
- package/dist/index.d.ts +81583 -17745
- package/dist/index.js +695 -295
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +1 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +34 -0
- package/dist/schema.d.ts +34 -0
- package/dist/schema.js +1 -1
- package/dist/schema.js.map +1 -1
- package/dist/testing.d.ts +5963 -0
- package/dist/testing.js +3 -0
- package/dist/testing.js.map +1 -0
- package/package.json +10 -11
- package/dist/test-utils.cjs +0 -1959
- package/dist/test-utils.cjs.map +0 -1
- package/dist/test-utils.d.cts +0 -8
- package/dist/test-utils.d.ts +0 -8
- package/dist/test-utils.js +0 -1959
- package/dist/test-utils.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var
|
|
1
|
+
'use strict';var gql_tada=require('gql.tada'),types=require('@aave/types');var Fe=(r=>(r.Asc="ASC",r.Desc="DESC",r))(Fe||{}),Ie=(r=>(r.Ten="TEN",r.Fifty="FIFTY",r))(Ie||{}),Te=(h=>(h.LastDay="LAST_DAY",h.LastWeek="LAST_WEEK",h.LastMonth="LAST_MONTH",h.LastSixMonths="LAST_SIX_MONTHS",h.LastYear="LAST_YEAR",h.All="ALL",h))(Te||{}),ve=(g=>(g.SpokeBorrow="SPOKE_BORROW",g.SpokeRepay="SPOKE_REPAY",g.SpokeSupply="SPOKE_SUPPLY",g.SpokeWithdraw="SPOKE_WITHDRAW",g.SpokeUpdateUserRiskPremium="SPOKE_UPDATE_USER_RISK_PREMIUM",g.SpokeUpdateUserDynamicConfig="SPOKE_UPDATE_USER_DYNAMIC_CONFIG",g.SpokeSetUserUsingAsCollateral="SPOKE_SET_USER_USING_AS_COLLATERAL",g.SpokeSetUserPositionManager="SPOKE_SET_USER_POSITION_MANAGER",g.RenounceSpokeUserPositionManager="RENOUNCE_SPOKE_USER_POSITION_MANAGER",g.Liquidation="LIQUIDATION",g))(ve||{}),be=(o=>(o.TESTNET_ONLY="TESTNET_ONLY",o.MAINNET_ONLY="MAINNET_ONLY",o.ALL="ALL",o))(be||{}),Ee=(o=>(o.Active="ACTIVE",o.Frozen="FROZEN",o.Paused="PAUSED",o))(Ee||{}),ke=(y=>(y.Borrow="BORROW",y.Supply="SUPPLY",y.Withdraw="WITHDRAW",y.Repay="REPAY",y.Liquidated="LIQUIDATED",y.SetAsCollateral="SET_AS_COLLATERAL",y.UpdatedDynamicConfig="UPDATED_DYNAMIC_CONFIG",y.UpdatedRiskPremium="UPDATED_RISK_PREMIUM",y.TokenToTokenSwap="TOKEN_TO_TOKEN_SWAP",y.SupplySwap="SUPPLY_SWAP",y.BorrowSwap="BORROW_SWAP",y.RepayWithSupply="REPAY_WITH_SUPPLY",y.WithdrawSwap="WITHDRAW_SWAP",y))(ke||{}),Ue=(o=>(o.Highest="HIGHEST",o.Lowest="LOWEST",o.Average="AVERAGE",o))(Ue||{}),Ce=(r=>(r.Highest="HIGHEST",r.Lowest="LOWEST",r))(Ce||{}),Oe=(o=>(o.Usd="USD",o.Eur="EUR",o.Gbp="GBP",o))(Oe||{}),_e=(f=>(f.Supply="SUPPLY",f.Borrow="BORROW",f.Collateral="COLLATERAL",f.All="ALL",f))(_e||{}),Be=(r=>(r.Buy="BUY",r.Sell="SELL",r))(Be||{}),He=(r=>(r.Current="CURRENT",r.New="NEW",r))(He||{}),Qe=(r=>(r.Repay="REPAY",r.Supply="SUPPLY",r))(Qe||{}),$e=(r=>(r.Current="CURRENT",r.New="NEW",r))($e||{}),We=(r=>(r.Withdraw="WITHDRAW",r.Buy="BUY",r))(We||{}),Ne=(F=>(F.Cancelled="CANCELLED",F.Expired="EXPIRED",F.Fulfilled="FULFILLED",F.Open="OPEN",F.PendingSignature="PENDING_SIGNATURE",F))(Ne||{}),De=(r=>(r.Stablecoin="STABLECOIN",r.EthCorrelated="ETH_CORRELATED",r))(De||{}),Le=(r=>(r.AllDynamicConfig="ALL_DYNAMIC_CONFIG",r.JustRiskPremium="JUST_RISK_PREMIUM",r))(Le||{}),Me=(r=>(r.Fast="FAST",r.Accurate="ACCURATE",r))(Me||{});var e=gql_tada.initGraphQLTada();var k=e(`fragment DomainData on DomainData {
|
|
2
|
+
name
|
|
3
|
+
version
|
|
4
|
+
chainId
|
|
5
|
+
verifyingContract
|
|
6
|
+
}`),l=e(`fragment DecimalNumber on DecimalNumber {
|
|
2
7
|
__typename
|
|
3
8
|
onChainValue
|
|
4
9
|
decimals
|
|
@@ -9,7 +14,7 @@
|
|
|
9
14
|
decimals
|
|
10
15
|
value
|
|
11
16
|
normalized
|
|
12
|
-
}`),
|
|
17
|
+
}`),G=e(`fragment DecimalNumberWithChange on DecimalNumberWithChange {
|
|
13
18
|
__typename
|
|
14
19
|
current {
|
|
15
20
|
...DecimalNumber
|
|
@@ -17,31 +22,37 @@
|
|
|
17
22
|
change(window: $timeWindow) {
|
|
18
23
|
...PercentNumber
|
|
19
24
|
}
|
|
20
|
-
}`,[
|
|
25
|
+
}`,[l,a]),u=e(`fragment ExchangeAmount on ExchangeAmount {
|
|
21
26
|
__typename
|
|
22
27
|
value
|
|
23
28
|
name
|
|
24
29
|
symbol
|
|
25
|
-
|
|
30
|
+
icon
|
|
31
|
+
decimals
|
|
32
|
+
}`),I=e(`fragment TokenInfo on TokenInfo {
|
|
26
33
|
__typename
|
|
34
|
+
id
|
|
27
35
|
name
|
|
28
36
|
symbol
|
|
29
37
|
icon
|
|
30
38
|
decimals
|
|
39
|
+
categories
|
|
31
40
|
}`),n=e(`fragment Chain on Chain {
|
|
32
41
|
__typename
|
|
33
42
|
name
|
|
34
43
|
icon
|
|
35
44
|
chainId
|
|
45
|
+
rpcUrl
|
|
36
46
|
explorerUrl
|
|
37
47
|
isTestnet
|
|
48
|
+
isFork
|
|
38
49
|
nativeWrappedToken
|
|
39
50
|
nativeGateway
|
|
40
51
|
signatureGateway
|
|
41
52
|
nativeInfo {
|
|
42
53
|
...TokenInfo
|
|
43
54
|
}
|
|
44
|
-
}`,[
|
|
55
|
+
}`,[I]),c=e(`fragment Erc20Token on Erc20Token {
|
|
45
56
|
__typename
|
|
46
57
|
info {
|
|
47
58
|
...TokenInfo
|
|
@@ -51,8 +62,7 @@
|
|
|
51
62
|
...Chain
|
|
52
63
|
}
|
|
53
64
|
isWrappedNativeToken
|
|
54
|
-
|
|
55
|
-
}`,[w,n]),$=e(`fragment NativeToken on NativeToken {
|
|
65
|
+
}`,[I,n]),Y=e(`fragment NativeToken on NativeToken {
|
|
56
66
|
__typename
|
|
57
67
|
info {
|
|
58
68
|
...TokenInfo
|
|
@@ -60,7 +70,7 @@
|
|
|
60
70
|
chain {
|
|
61
71
|
...Chain
|
|
62
72
|
}
|
|
63
|
-
}`,[
|
|
73
|
+
}`,[I,n]),p=e(`fragment Erc20Amount on Erc20Amount {
|
|
64
74
|
__typename
|
|
65
75
|
token {
|
|
66
76
|
...Erc20Token
|
|
@@ -68,13 +78,13 @@
|
|
|
68
78
|
amount {
|
|
69
79
|
...DecimalNumber
|
|
70
80
|
}
|
|
71
|
-
|
|
72
|
-
...
|
|
81
|
+
exchange(currency: $currency){
|
|
82
|
+
...ExchangeAmount
|
|
73
83
|
}
|
|
74
|
-
|
|
84
|
+
exchangeRate(currency: $currency){
|
|
75
85
|
...DecimalNumber
|
|
76
86
|
}
|
|
77
|
-
}`,[
|
|
87
|
+
}`,[c,l,u]),Q=e(`fragment NativeAmount on NativeAmount {
|
|
78
88
|
__typename
|
|
79
89
|
token {
|
|
80
90
|
...NativeToken
|
|
@@ -82,13 +92,13 @@
|
|
|
82
92
|
amount {
|
|
83
93
|
...DecimalNumber
|
|
84
94
|
}
|
|
85
|
-
|
|
86
|
-
...
|
|
95
|
+
exchange(currency: $currency){
|
|
96
|
+
...ExchangeAmount
|
|
87
97
|
}
|
|
88
|
-
|
|
98
|
+
exchangeRate(currency: $currency){
|
|
89
99
|
...DecimalNumber
|
|
90
100
|
}
|
|
91
|
-
}`,[
|
|
101
|
+
}`,[Y,l,u]),T=e(`fragment TokenAmount on TokenAmount {
|
|
92
102
|
__typename
|
|
93
103
|
... on Erc20Amount {
|
|
94
104
|
...Erc20Amount
|
|
@@ -96,7 +106,7 @@
|
|
|
96
106
|
... on NativeAmount {
|
|
97
107
|
...NativeAmount
|
|
98
108
|
}
|
|
99
|
-
}`,[p,
|
|
109
|
+
}`,[p,Q]),z=e(`fragment Token on Token {
|
|
100
110
|
__typename
|
|
101
111
|
... on Erc20Token {
|
|
102
112
|
...Erc20Token
|
|
@@ -104,15 +114,15 @@
|
|
|
104
114
|
... on NativeToken {
|
|
105
115
|
...NativeToken
|
|
106
116
|
}
|
|
107
|
-
}`,[
|
|
117
|
+
}`,[c,Y]),R=e(`fragment ExchangeAmountWithChange on ExchangeAmountWithChange {
|
|
108
118
|
__typename
|
|
109
119
|
current {
|
|
110
|
-
...
|
|
120
|
+
...ExchangeAmount
|
|
111
121
|
}
|
|
112
122
|
change(window: $timeWindow){
|
|
113
123
|
...PercentNumber
|
|
114
124
|
}
|
|
115
|
-
}`,[
|
|
125
|
+
}`,[u,a]),Z=e(`fragment PercentNumberWithChange on PercentNumberWithChange {
|
|
116
126
|
__typename
|
|
117
127
|
current {
|
|
118
128
|
...PercentNumber
|
|
@@ -120,11 +130,11 @@
|
|
|
120
130
|
change(window: $timeWindow){
|
|
121
131
|
...PercentNumber
|
|
122
132
|
}
|
|
123
|
-
}`,[a]),
|
|
133
|
+
}`,[a]),A=e(`fragment PaginatedResultInfo on PaginatedResultInfo {
|
|
124
134
|
__typename
|
|
125
135
|
prev
|
|
126
136
|
next
|
|
127
|
-
}`),
|
|
137
|
+
}`),j=e(`fragment PercentNumberVariation on PercentNumberVariation {
|
|
128
138
|
__typename
|
|
129
139
|
current {
|
|
130
140
|
...PercentNumber
|
|
@@ -132,30 +142,30 @@
|
|
|
132
142
|
after {
|
|
133
143
|
...PercentNumber
|
|
134
144
|
}
|
|
135
|
-
}`,[a]),
|
|
145
|
+
}`,[a]),J=e(`fragment ExchangeAmountVariation on ExchangeAmountVariation {
|
|
136
146
|
__typename
|
|
137
147
|
current {
|
|
138
|
-
...
|
|
148
|
+
...ExchangeAmount
|
|
139
149
|
}
|
|
140
150
|
after {
|
|
141
|
-
...
|
|
151
|
+
...ExchangeAmount
|
|
142
152
|
}
|
|
143
|
-
}`,[
|
|
153
|
+
}`,[u]),X=e(`fragment HealthFactorWithChange on HealthFactorWithChange {
|
|
144
154
|
__typename
|
|
145
155
|
current
|
|
146
156
|
change(window: $timeWindow) {
|
|
147
157
|
...PercentNumber
|
|
148
158
|
}
|
|
149
|
-
}`,[a]),
|
|
159
|
+
}`,[a]),Ke=e(`fragment HealthFactorVariation on HealthFactorVariation {
|
|
150
160
|
__typename
|
|
151
161
|
current
|
|
152
162
|
after
|
|
153
|
-
}`),
|
|
163
|
+
}`),Ge=e(`fragment HealthFactorError on HealthFactorError {
|
|
154
164
|
__typename
|
|
155
165
|
reason
|
|
156
166
|
current
|
|
157
167
|
after
|
|
158
|
-
}`),
|
|
168
|
+
}`),ee=e(`fragment HealthFactorResult on HealthFactorResult {
|
|
159
169
|
__typename
|
|
160
170
|
... on HealthFactorVariation {
|
|
161
171
|
...HealthFactorVariation
|
|
@@ -163,22 +173,32 @@
|
|
|
163
173
|
... on HealthFactorError {
|
|
164
174
|
...HealthFactorError
|
|
165
175
|
}
|
|
166
|
-
}`,[
|
|
176
|
+
}`,[Ke,Ge]),q=e(`fragment InsufficientBalanceError on InsufficientBalanceError {
|
|
177
|
+
__typename
|
|
178
|
+
required {
|
|
179
|
+
...DecimalNumber
|
|
180
|
+
}
|
|
181
|
+
available {
|
|
182
|
+
...DecimalNumber
|
|
183
|
+
}
|
|
184
|
+
}`,[l]);var Ye=e(`fragment HubSummary on HubSummary {
|
|
167
185
|
__typename
|
|
168
186
|
totalBorrowed {
|
|
169
|
-
...
|
|
187
|
+
...ExchangeAmountWithChange
|
|
170
188
|
}
|
|
171
189
|
totalBorrowCap {
|
|
172
|
-
...
|
|
190
|
+
...ExchangeAmount
|
|
173
191
|
}
|
|
174
192
|
totalSupplied {
|
|
175
|
-
...
|
|
193
|
+
...ExchangeAmountWithChange
|
|
176
194
|
}
|
|
177
195
|
totalSupplyCap {
|
|
178
|
-
...
|
|
196
|
+
...ExchangeAmount
|
|
197
|
+
}
|
|
198
|
+
utilizationRate {
|
|
199
|
+
...PercentNumber
|
|
179
200
|
}
|
|
180
|
-
|
|
181
|
-
}`,[y]),P=e(`fragment Hub on Hub {
|
|
201
|
+
}`,[u,R,a]),v=e(`fragment Hub on Hub {
|
|
182
202
|
__typename
|
|
183
203
|
id
|
|
184
204
|
name
|
|
@@ -189,7 +209,7 @@
|
|
|
189
209
|
summary(currency: $currency) {
|
|
190
210
|
...HubSummary
|
|
191
211
|
}
|
|
192
|
-
}`,[n,
|
|
212
|
+
}`,[n,Ye]);var ze=e(`fragment HubAssetSummary on HubAssetSummary {
|
|
193
213
|
__typename
|
|
194
214
|
supplied {
|
|
195
215
|
...Erc20Amount
|
|
@@ -212,7 +232,7 @@
|
|
|
212
232
|
utilizationRate {
|
|
213
233
|
...PercentNumber
|
|
214
234
|
}
|
|
215
|
-
}`,[p,a]),
|
|
235
|
+
}`,[p,a]),Ze=e(`fragment HubAssetSettings on HubAssetSettings {
|
|
216
236
|
__typename
|
|
217
237
|
feeReceiver
|
|
218
238
|
liquidityFee {
|
|
@@ -220,12 +240,12 @@
|
|
|
220
240
|
}
|
|
221
241
|
irStrategy
|
|
222
242
|
reinvestmentController
|
|
223
|
-
}`,[a]),
|
|
243
|
+
}`,[a]),je=e(`fragment HubAssetUserState on HubAssetUserState {
|
|
224
244
|
__typename
|
|
225
245
|
balance {
|
|
226
246
|
...Erc20Amount
|
|
227
247
|
}
|
|
228
|
-
}`,[p]),
|
|
248
|
+
}`,[p]),b=e(`fragment HubAsset on HubAsset {
|
|
229
249
|
__typename
|
|
230
250
|
id
|
|
231
251
|
onchainAssetId
|
|
@@ -244,7 +264,35 @@
|
|
|
244
264
|
userState {
|
|
245
265
|
...HubAssetUserState
|
|
246
266
|
}
|
|
247
|
-
}`,[
|
|
267
|
+
}`,[v,c,ze,Ze,je]);var Je=e(`fragment TypeField on TypeField {
|
|
268
|
+
name
|
|
269
|
+
type
|
|
270
|
+
}`),Xe=e(`fragment TypeDefinition on TypeDefinition {
|
|
271
|
+
EIP712Domain {
|
|
272
|
+
...TypeField
|
|
273
|
+
}
|
|
274
|
+
Permit {
|
|
275
|
+
...TypeField
|
|
276
|
+
}
|
|
277
|
+
}`,[Je]),et=e(`fragment PermitMessageData on PermitMessageData {
|
|
278
|
+
owner
|
|
279
|
+
spender
|
|
280
|
+
value
|
|
281
|
+
nonce
|
|
282
|
+
deadline
|
|
283
|
+
}`),te=e(`fragment PermitTypedData on PermitTypedData {
|
|
284
|
+
__typename
|
|
285
|
+
types {
|
|
286
|
+
...TypeDefinition
|
|
287
|
+
}
|
|
288
|
+
primaryType
|
|
289
|
+
domain {
|
|
290
|
+
...DomainData
|
|
291
|
+
}
|
|
292
|
+
message {
|
|
293
|
+
...PermitMessageData
|
|
294
|
+
}
|
|
295
|
+
}`,[Xe,k,et]);function gr(t){return typeof t=="object"&&t!==null&&"deadline"in t&&"value"in t}var i=e(`fragment Spoke on Spoke {
|
|
248
296
|
__typename
|
|
249
297
|
id
|
|
250
298
|
name
|
|
@@ -252,12 +300,12 @@
|
|
|
252
300
|
chain {
|
|
253
301
|
...Chain
|
|
254
302
|
}
|
|
255
|
-
}`,[n]),
|
|
303
|
+
}`,[n]),tt=e(`fragment SpokePositionManager on SpokePositionManger {
|
|
256
304
|
__typename
|
|
257
305
|
address
|
|
258
306
|
active
|
|
259
307
|
name
|
|
260
|
-
}`),
|
|
308
|
+
}`),re=e(`fragment PaginatedSpokePositionManagerResult on PaginatedSpokePositionManagerResult {
|
|
261
309
|
__typename
|
|
262
310
|
items {
|
|
263
311
|
...SpokePositionManager
|
|
@@ -265,13 +313,13 @@
|
|
|
265
313
|
pageInfo {
|
|
266
314
|
...PaginatedResultInfo
|
|
267
315
|
}
|
|
268
|
-
}`,[
|
|
316
|
+
}`,[tt,A]),rt=e(`fragment SpokeUserPositionManager on SpokeUserPositionManager {
|
|
269
317
|
__typename
|
|
270
318
|
address
|
|
271
319
|
approvedOn
|
|
272
320
|
active
|
|
273
321
|
name
|
|
274
|
-
}`),
|
|
322
|
+
}`),ae=e(`fragment PaginatedSpokeUserPositionManagerResult on PaginatedSpokeUserPositionManagerResult {
|
|
275
323
|
__typename
|
|
276
324
|
items {
|
|
277
325
|
...SpokeUserPositionManager
|
|
@@ -279,7 +327,7 @@
|
|
|
279
327
|
pageInfo {
|
|
280
328
|
...PaginatedResultInfo
|
|
281
329
|
}
|
|
282
|
-
}`,[
|
|
330
|
+
}`,[rt,A]);var at=e(`fragment ReserveSettings on ReserveSettings {
|
|
283
331
|
__typename
|
|
284
332
|
collateralFactor {
|
|
285
333
|
...PercentNumber
|
|
@@ -287,18 +335,22 @@
|
|
|
287
335
|
maxLiquidationBonus {
|
|
288
336
|
...PercentNumber
|
|
289
337
|
}
|
|
338
|
+
liquidationFee {
|
|
339
|
+
...PercentNumber
|
|
340
|
+
}
|
|
290
341
|
collateralRisk {
|
|
291
342
|
...PercentNumber
|
|
292
343
|
}
|
|
293
344
|
borrowable
|
|
294
345
|
collateral
|
|
295
346
|
suppliable
|
|
296
|
-
|
|
347
|
+
latestDynamicConfigKey
|
|
348
|
+
}`,[a]),nt=e(`fragment ReserveStatus on ReserveStatus {
|
|
297
349
|
__typename
|
|
298
350
|
frozen
|
|
299
351
|
paused
|
|
300
352
|
active
|
|
301
|
-
}`),
|
|
353
|
+
}`),ot=e(`fragment ReserveSummary on ReserveSummary {
|
|
302
354
|
__typename
|
|
303
355
|
supplied {
|
|
304
356
|
...Erc20Amount
|
|
@@ -312,7 +364,7 @@
|
|
|
312
364
|
borrowApy {
|
|
313
365
|
...PercentNumber
|
|
314
366
|
}
|
|
315
|
-
}`,[p,a])
|
|
367
|
+
}`,[p,a]),pt=e(`fragment ReserveUserState on ReserveUserState {
|
|
316
368
|
__typename
|
|
317
369
|
balance {
|
|
318
370
|
...Erc20Amount
|
|
@@ -326,7 +378,17 @@
|
|
|
326
378
|
borrowApy {
|
|
327
379
|
...PercentNumber
|
|
328
380
|
}
|
|
329
|
-
|
|
381
|
+
collateralFactor {
|
|
382
|
+
...PercentNumber
|
|
383
|
+
}
|
|
384
|
+
maxLiquidationBonus {
|
|
385
|
+
...PercentNumber
|
|
386
|
+
}
|
|
387
|
+
liquidationFee {
|
|
388
|
+
...PercentNumber
|
|
389
|
+
}
|
|
390
|
+
dynamicConfigKey
|
|
391
|
+
}`,[p,a]),P=e(`fragment Reserve on Reserve {
|
|
330
392
|
__typename
|
|
331
393
|
id
|
|
332
394
|
onChainId
|
|
@@ -356,49 +418,13 @@
|
|
|
356
418
|
asset {
|
|
357
419
|
...HubAsset
|
|
358
420
|
}
|
|
359
|
-
}`,[i,n,
|
|
421
|
+
}`,[i,n,ot,at,nt,pt,b]),S=e(`fragment ReserveInfo on ReserveInfo {
|
|
360
422
|
__typename
|
|
361
423
|
id
|
|
362
424
|
asset {
|
|
363
425
|
...HubAsset
|
|
364
426
|
}
|
|
365
|
-
}`,[
|
|
366
|
-
name
|
|
367
|
-
type
|
|
368
|
-
}`),De=e(`fragment TypeDefinition on TypeDefinition {
|
|
369
|
-
EIP712Domain {
|
|
370
|
-
...TypeField
|
|
371
|
-
}
|
|
372
|
-
Permit {
|
|
373
|
-
...TypeField
|
|
374
|
-
}
|
|
375
|
-
}`,[b]),U=e(`fragment DomainData on DomainData {
|
|
376
|
-
name
|
|
377
|
-
version
|
|
378
|
-
chainId
|
|
379
|
-
verifyingContract
|
|
380
|
-
}`),Qe=e(`fragment PermitMessageData on PermitMessageData {
|
|
381
|
-
owner
|
|
382
|
-
spender
|
|
383
|
-
value
|
|
384
|
-
nonce
|
|
385
|
-
deadline
|
|
386
|
-
}`),Ne=e(`fragment PermitTypedDataResponse on PermitTypedDataResponse {
|
|
387
|
-
types {
|
|
388
|
-
...TypeDefinition
|
|
389
|
-
}
|
|
390
|
-
primaryType
|
|
391
|
-
domain {
|
|
392
|
-
...DomainData
|
|
393
|
-
}
|
|
394
|
-
message {
|
|
395
|
-
...PermitMessageData
|
|
396
|
-
}
|
|
397
|
-
}`,[De,U,Qe]),Dt=e(`query PermitTypedData($request: PermitRequest!) {
|
|
398
|
-
value: permitTypedData(request: $request) {
|
|
399
|
-
...PermitTypedDataResponse
|
|
400
|
-
}
|
|
401
|
-
}`,[Ne]);var u=e(`fragment TransactionRequest on TransactionRequest {
|
|
427
|
+
}`,[b]);var m=e(`fragment TransactionRequest on TransactionRequest {
|
|
402
428
|
__typename
|
|
403
429
|
to
|
|
404
430
|
from
|
|
@@ -406,11 +432,22 @@
|
|
|
406
432
|
value
|
|
407
433
|
chainId
|
|
408
434
|
operations
|
|
409
|
-
}`)
|
|
435
|
+
}`),$=e(`fragment Erc20Approval on Erc20Approval {
|
|
436
|
+
__typename
|
|
437
|
+
byTransaction {
|
|
438
|
+
...TransactionRequest
|
|
439
|
+
}
|
|
440
|
+
bySignature {
|
|
441
|
+
...PermitTypedData
|
|
442
|
+
}
|
|
443
|
+
}`,[m,te]),W=e(`fragment Erc20ApprovalRequired on Erc20ApprovalRequired {
|
|
410
444
|
__typename
|
|
411
445
|
transaction {
|
|
412
446
|
...TransactionRequest
|
|
413
447
|
}
|
|
448
|
+
approval {
|
|
449
|
+
...Erc20Approval
|
|
450
|
+
}
|
|
414
451
|
reason
|
|
415
452
|
requiredAmount {
|
|
416
453
|
...DecimalNumber
|
|
@@ -421,7 +458,7 @@
|
|
|
421
458
|
originalTransaction {
|
|
422
459
|
...TransactionRequest
|
|
423
460
|
}
|
|
424
|
-
}`,[
|
|
461
|
+
}`,[m,$,l]),st=e(`fragment PreContractActionRequired on PreContractActionRequired {
|
|
425
462
|
__typename
|
|
426
463
|
transaction {
|
|
427
464
|
...TransactionRequest
|
|
@@ -430,15 +467,7 @@
|
|
|
430
467
|
originalTransaction {
|
|
431
468
|
...TransactionRequest
|
|
432
469
|
}
|
|
433
|
-
}`,[
|
|
434
|
-
__typename
|
|
435
|
-
required {
|
|
436
|
-
...DecimalNumber
|
|
437
|
-
}
|
|
438
|
-
available {
|
|
439
|
-
...DecimalNumber
|
|
440
|
-
}
|
|
441
|
-
}`,[c]),T=e(`fragment ExecutionPlan on ExecutionPlan {
|
|
470
|
+
}`,[m]),E=e(`fragment ExecutionPlan on ExecutionPlan {
|
|
442
471
|
__typename
|
|
443
472
|
... on TransactionRequest {
|
|
444
473
|
...TransactionRequest
|
|
@@ -452,7 +481,7 @@
|
|
|
452
481
|
... on InsufficientBalanceError {
|
|
453
482
|
...InsufficientBalanceError
|
|
454
483
|
}
|
|
455
|
-
}`,[
|
|
484
|
+
}`,[m,W,st,q]);var ut=e(`fragment SwapQuoteCosts on SwapQuoteCosts {
|
|
456
485
|
__typename
|
|
457
486
|
networkCosts {
|
|
458
487
|
...TokenAmount
|
|
@@ -460,71 +489,73 @@
|
|
|
460
489
|
partnerFee {
|
|
461
490
|
...TokenAmount
|
|
462
491
|
}
|
|
463
|
-
|
|
492
|
+
flashloanFee {
|
|
493
|
+
...TokenAmount
|
|
494
|
+
}
|
|
495
|
+
providerFee {
|
|
496
|
+
...TokenAmount
|
|
497
|
+
}
|
|
498
|
+
}`,[T]),U=e(`fragment SwapQuote on SwapQuote {
|
|
464
499
|
__typename
|
|
500
|
+
accuracy
|
|
465
501
|
quoteId
|
|
466
502
|
suggestedSlippage {
|
|
467
503
|
...PercentNumber
|
|
468
504
|
}
|
|
469
|
-
|
|
505
|
+
buy {
|
|
470
506
|
...TokenAmount
|
|
471
507
|
}
|
|
472
|
-
|
|
508
|
+
sell {
|
|
473
509
|
...TokenAmount
|
|
474
510
|
}
|
|
475
511
|
costs {
|
|
476
512
|
...SwapQuoteCosts
|
|
477
513
|
}
|
|
478
|
-
|
|
514
|
+
finalBuy {
|
|
479
515
|
...TokenAmount
|
|
480
516
|
}
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
...TypeField
|
|
484
|
-
}
|
|
485
|
-
Order {
|
|
486
|
-
...TypeField
|
|
517
|
+
finalSell {
|
|
518
|
+
...TokenAmount
|
|
487
519
|
}
|
|
488
|
-
}`,[
|
|
520
|
+
}`,[a,T,ut]),C=e(`fragment SwapTypedData on SwapTypedData {
|
|
489
521
|
__typename
|
|
490
|
-
types {
|
|
491
|
-
...SwapByIntentTypeDefinition
|
|
492
|
-
}
|
|
493
522
|
primaryType
|
|
523
|
+
types
|
|
494
524
|
domain {
|
|
495
525
|
...DomainData
|
|
496
526
|
}
|
|
497
527
|
message
|
|
498
|
-
}`,[
|
|
528
|
+
}`,[k]),ne=e(`fragment PrepareSwapOrder on PrepareSwapOrder {
|
|
529
|
+
__typename
|
|
530
|
+
newQuoteId
|
|
531
|
+
data {
|
|
532
|
+
...SwapTypedData
|
|
533
|
+
}
|
|
534
|
+
}`,[C]),it=e(`fragment SwapByIntent on SwapByIntent {
|
|
499
535
|
__typename
|
|
500
536
|
quote {
|
|
501
537
|
...SwapQuote
|
|
502
538
|
}
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
}
|
|
506
|
-
}`,[v,G]),Ye=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
|
|
539
|
+
|
|
540
|
+
}`,[U]),mt=e(`fragment SwapByIntentWithApprovalRequired on SwapByIntentWithApprovalRequired {
|
|
507
541
|
__typename
|
|
508
542
|
approval {
|
|
509
|
-
...
|
|
543
|
+
...Erc20Approval
|
|
510
544
|
}
|
|
511
545
|
quote {
|
|
512
546
|
...SwapQuote
|
|
513
547
|
}
|
|
514
|
-
|
|
515
|
-
...SwapByIntentTypedData
|
|
516
|
-
}
|
|
517
|
-
}`,[u,v,G]),Ge=e(`fragment SwapByTransaction on SwapByTransaction {
|
|
548
|
+
}`,[$,U]),yt=e(`fragment SwapByTransaction on SwapByTransaction {
|
|
518
549
|
__typename
|
|
519
550
|
quote {
|
|
520
551
|
...SwapQuote
|
|
521
552
|
}
|
|
522
|
-
}`,[
|
|
553
|
+
}`,[U]),oe=e(`fragment SwapReceipt on SwapReceipt {
|
|
523
554
|
__typename
|
|
524
555
|
id
|
|
525
|
-
|
|
556
|
+
explorerUrl
|
|
526
557
|
createdAt
|
|
527
|
-
}`),
|
|
558
|
+
}`),pe=e(`fragment TokenSwapQuoteResult on TokenSwapQuoteResult {
|
|
528
559
|
__typename
|
|
529
560
|
... on SwapByIntent {
|
|
530
561
|
...SwapByIntent
|
|
@@ -535,10 +566,15 @@
|
|
|
535
566
|
... on SwapByTransaction {
|
|
536
567
|
...SwapByTransaction
|
|
537
568
|
}
|
|
569
|
+
}`,[it,mt,yt]),se=e(`fragment PrepareTokenSwapResult on PrepareTokenSwapResult {
|
|
570
|
+
__typename
|
|
571
|
+
... on PrepareSwapOrder {
|
|
572
|
+
...PrepareSwapOrder
|
|
573
|
+
}
|
|
538
574
|
... on InsufficientBalanceError {
|
|
539
575
|
...InsufficientBalanceError
|
|
540
576
|
}
|
|
541
|
-
}`,[
|
|
577
|
+
}`,[ne,q]),ct=e(`fragment SwapTransactionRequest on SwapTransactionRequest {
|
|
542
578
|
__typename
|
|
543
579
|
transaction {
|
|
544
580
|
...TransactionRequest
|
|
@@ -546,75 +582,87 @@
|
|
|
546
582
|
orderReceipt {
|
|
547
583
|
...SwapReceipt
|
|
548
584
|
}
|
|
549
|
-
}`,[
|
|
550
|
-
__typename
|
|
551
|
-
approval {
|
|
552
|
-
...TransactionRequest
|
|
553
|
-
}
|
|
554
|
-
originalTransaction {
|
|
555
|
-
...SwapTransactionRequest
|
|
556
|
-
}
|
|
557
|
-
}`,[u,Z]),J=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
|
|
585
|
+
}`,[m,oe]),ue=e(`fragment SwapExecutionPlan on SwapExecutionPlan {
|
|
558
586
|
__typename
|
|
559
587
|
... on SwapTransactionRequest {
|
|
560
588
|
...SwapTransactionRequest
|
|
561
589
|
}
|
|
562
|
-
... on
|
|
563
|
-
...
|
|
590
|
+
... on SwapReceipt {
|
|
591
|
+
...SwapReceipt
|
|
564
592
|
}
|
|
565
593
|
... on InsufficientBalanceError {
|
|
566
594
|
...InsufficientBalanceError
|
|
567
595
|
}
|
|
568
|
-
|
|
569
|
-
...SwapReceipt
|
|
570
|
-
}
|
|
571
|
-
}`,[Z,Ke,F,K]),X=e(`fragment SwapCancelled on SwapCancelled {
|
|
596
|
+
}`,[ct,oe,q]),ie=e(`fragment SwapCancelled on SwapCancelled {
|
|
572
597
|
__typename
|
|
598
|
+
swapId
|
|
573
599
|
createdAt
|
|
574
600
|
cancelledAt
|
|
575
|
-
|
|
576
|
-
}`),
|
|
601
|
+
explorerUrl
|
|
602
|
+
}`),lt=e(`fragment SwapExpired on SwapExpired {
|
|
577
603
|
__typename
|
|
604
|
+
swapId
|
|
578
605
|
createdAt
|
|
579
606
|
expiredAt
|
|
580
|
-
|
|
581
|
-
}`),
|
|
607
|
+
explorerUrl
|
|
608
|
+
}`),gt=e(`fragment PositionAmount on PositionAmount {
|
|
609
|
+
__typename
|
|
610
|
+
reserve {
|
|
611
|
+
...ReserveInfo
|
|
612
|
+
}
|
|
613
|
+
amount {
|
|
614
|
+
...Erc20Amount
|
|
615
|
+
}
|
|
616
|
+
}`,[S,p]),x=e(`fragment SwapAmount on SwapAmount {
|
|
617
|
+
__typename
|
|
618
|
+
... on PositionAmount {
|
|
619
|
+
...PositionAmount
|
|
620
|
+
}
|
|
621
|
+
... on NativeAmount {
|
|
622
|
+
...NativeAmount
|
|
623
|
+
}
|
|
624
|
+
... on Erc20Amount {
|
|
625
|
+
...Erc20Amount
|
|
626
|
+
}
|
|
627
|
+
}`,[gt,Q,p]),St=e(`fragment SwapOpen on SwapOpen {
|
|
582
628
|
__typename
|
|
583
629
|
swapId
|
|
584
630
|
createdAt
|
|
585
631
|
deadline
|
|
586
|
-
|
|
632
|
+
explorerUrl
|
|
587
633
|
desiredSell {
|
|
588
|
-
...
|
|
634
|
+
...SwapAmount
|
|
589
635
|
}
|
|
590
636
|
desiredBuy {
|
|
591
|
-
...
|
|
637
|
+
...SwapAmount
|
|
592
638
|
}
|
|
593
|
-
}`,[
|
|
639
|
+
}`,[x]),dt=e(`fragment SwapPendingSignature on SwapPendingSignature {
|
|
594
640
|
__typename
|
|
641
|
+
swapId
|
|
595
642
|
createdAt
|
|
596
643
|
deadline
|
|
597
|
-
|
|
598
|
-
}`),
|
|
644
|
+
explorerUrl
|
|
645
|
+
}`),ft=e(`fragment SwapFulfilled on SwapFulfilled {
|
|
599
646
|
__typename
|
|
647
|
+
swapId
|
|
600
648
|
txHash
|
|
601
649
|
desiredSell {
|
|
602
|
-
...
|
|
650
|
+
...SwapAmount
|
|
603
651
|
}
|
|
604
652
|
desiredBuy {
|
|
605
|
-
...
|
|
653
|
+
...SwapAmount
|
|
606
654
|
}
|
|
607
655
|
sold {
|
|
608
|
-
...
|
|
656
|
+
...SwapAmount
|
|
609
657
|
}
|
|
610
658
|
bought {
|
|
611
|
-
...
|
|
659
|
+
...SwapAmount
|
|
612
660
|
}
|
|
613
661
|
createdAt
|
|
614
662
|
fulfilledAt
|
|
615
|
-
|
|
663
|
+
explorerUrl
|
|
616
664
|
refundTxHash
|
|
617
|
-
}`,[
|
|
665
|
+
}`,[x]),N=e(`fragment SwapStatus on SwapStatus {
|
|
618
666
|
__typename
|
|
619
667
|
... on SwapOpen {
|
|
620
668
|
...SwapOpen
|
|
@@ -631,28 +679,12 @@
|
|
|
631
679
|
... on SwapFulfilled {
|
|
632
680
|
...SwapFulfilled
|
|
633
681
|
}
|
|
634
|
-
}`,[
|
|
635
|
-
OrderCancellations {
|
|
636
|
-
...TypeField
|
|
637
|
-
}
|
|
638
|
-
EIP712Domain {
|
|
639
|
-
...TypeField
|
|
640
|
-
}
|
|
641
|
-
}`,[b]),et=e(`fragment CancelSwapTypedData on CancelSwapTypedData {
|
|
642
|
-
types {
|
|
643
|
-
...CancelSwapTypeDefinition
|
|
644
|
-
}
|
|
645
|
-
primaryType
|
|
646
|
-
domain {
|
|
647
|
-
...DomainData
|
|
648
|
-
}
|
|
649
|
-
message
|
|
650
|
-
}`,[je,U]),j=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
682
|
+
}`,[St,dt,ie,lt,ft]),me=e(`fragment PrepareSwapCancelResult on PrepareSwapCancelResult {
|
|
651
683
|
__typename
|
|
652
684
|
data {
|
|
653
|
-
...
|
|
685
|
+
...SwapTypedData
|
|
654
686
|
}
|
|
655
|
-
}`,[
|
|
687
|
+
}`,[C]),ye=e(`fragment CancelSwapExecutionPlan on CancelSwapExecutionPlan {
|
|
656
688
|
__typename
|
|
657
689
|
... on TransactionRequest {
|
|
658
690
|
...TransactionRequest
|
|
@@ -660,7 +692,7 @@
|
|
|
660
692
|
... on SwapCancelled {
|
|
661
693
|
...SwapCancelled
|
|
662
694
|
}
|
|
663
|
-
}`,[
|
|
695
|
+
}`,[m,ie]),ce=e(`fragment PaginatedUserSwapsResult on PaginatedUserSwapsResult {
|
|
664
696
|
__typename
|
|
665
697
|
items {
|
|
666
698
|
...SwapStatus
|
|
@@ -668,7 +700,64 @@
|
|
|
668
700
|
pageInfo {
|
|
669
701
|
...PaginatedResultInfo
|
|
670
702
|
}
|
|
671
|
-
}`,[
|
|
703
|
+
}`,[N,A]),Rt=e(`fragment PositionSwapAdapterContractApproval on PositionSwapAdapterContractApproval {
|
|
704
|
+
__typename
|
|
705
|
+
bySignature {
|
|
706
|
+
...SwapTypedData
|
|
707
|
+
}
|
|
708
|
+
}`,[C]),qt=e(`fragment PositionSwapPositionManagerApproval on PositionSwapPositionManagerApproval {
|
|
709
|
+
__typename
|
|
710
|
+
byTransaction {
|
|
711
|
+
...TransactionRequest
|
|
712
|
+
}
|
|
713
|
+
bySignature {
|
|
714
|
+
...SwapTypedData
|
|
715
|
+
}
|
|
716
|
+
}`,[m,C]),xt=e(`fragment PositionSwapApproval on PositionSwapApproval {
|
|
717
|
+
__typename
|
|
718
|
+
... on PositionSwapAdapterContractApproval {
|
|
719
|
+
...PositionSwapAdapterContractApproval
|
|
720
|
+
}
|
|
721
|
+
... on PositionSwapPositionManagerApproval {
|
|
722
|
+
...PositionSwapPositionManagerApproval
|
|
723
|
+
}
|
|
724
|
+
}`,[Rt,qt]),O=e(`fragment PositionSwapByIntentApprovalsRequired on PositionSwapByIntentApprovalsRequired {
|
|
725
|
+
__typename
|
|
726
|
+
quote {
|
|
727
|
+
...SwapQuote
|
|
728
|
+
}
|
|
729
|
+
approvals {
|
|
730
|
+
...PositionSwapApproval
|
|
731
|
+
}
|
|
732
|
+
}`,[U,xt]),le=e(`fragment SupplySwapQuoteResult on SupplySwapQuoteResult {
|
|
733
|
+
__typename
|
|
734
|
+
... on PositionSwapByIntentApprovalsRequired {
|
|
735
|
+
...PositionSwapByIntentApprovalsRequired
|
|
736
|
+
}
|
|
737
|
+
}`,[O]),ge=e(`fragment BorrowSwapQuoteResult on BorrowSwapQuoteResult {
|
|
738
|
+
__typename
|
|
739
|
+
... on PositionSwapByIntentApprovalsRequired {
|
|
740
|
+
...PositionSwapByIntentApprovalsRequired
|
|
741
|
+
}
|
|
742
|
+
}`,[O]),Se=e(`fragment RepayWithSupplyQuoteResult on RepayWithSupplyQuoteResult {
|
|
743
|
+
__typename
|
|
744
|
+
... on PositionSwapByIntentApprovalsRequired {
|
|
745
|
+
...PositionSwapByIntentApprovalsRequired
|
|
746
|
+
}
|
|
747
|
+
}`,[O]),de=e(`fragment WithdrawSwapQuoteResult on WithdrawSwapQuoteResult {
|
|
748
|
+
__typename
|
|
749
|
+
... on PositionSwapByIntentApprovalsRequired {
|
|
750
|
+
...PositionSwapByIntentApprovalsRequired
|
|
751
|
+
}
|
|
752
|
+
}`,[O]),fe=e(`fragment PreparePositionSwapResult on PreparePositionSwapResult {
|
|
753
|
+
__typename
|
|
754
|
+
... on PrepareSwapOrder {
|
|
755
|
+
...PrepareSwapOrder
|
|
756
|
+
}
|
|
757
|
+
... on InsufficientBalanceError {
|
|
758
|
+
...InsufficientBalanceError
|
|
759
|
+
}
|
|
760
|
+
}`,[ne,q]);var Re=e(`fragment UserSupplyItem on UserSupplyItem {
|
|
672
761
|
__typename
|
|
673
762
|
id
|
|
674
763
|
reserve {
|
|
@@ -685,7 +774,7 @@
|
|
|
685
774
|
}
|
|
686
775
|
isCollateral
|
|
687
776
|
createdAt
|
|
688
|
-
}`,[p,
|
|
777
|
+
}`,[p,P]),qe=e(`fragment UserBorrowItem on UserBorrowItem {
|
|
689
778
|
__typename
|
|
690
779
|
id
|
|
691
780
|
principal {
|
|
@@ -701,29 +790,54 @@
|
|
|
701
790
|
...Reserve
|
|
702
791
|
}
|
|
703
792
|
createdAt
|
|
704
|
-
}`,[p,
|
|
793
|
+
}`,[p,P]),xe=e(`fragment UserSummary on UserSummary {
|
|
705
794
|
__typename
|
|
706
795
|
totalPositions
|
|
707
796
|
netBalance(currency: $currency) {
|
|
708
|
-
...
|
|
797
|
+
...ExchangeAmountWithChange
|
|
709
798
|
}
|
|
710
799
|
totalCollateral(currency: $currency) {
|
|
711
|
-
...
|
|
800
|
+
...ExchangeAmount
|
|
712
801
|
}
|
|
713
802
|
totalSupplied(currency: $currency) {
|
|
714
|
-
...
|
|
803
|
+
...ExchangeAmount
|
|
715
804
|
}
|
|
716
805
|
totalDebt(currency: $currency) {
|
|
717
|
-
...
|
|
806
|
+
...ExchangeAmount
|
|
718
807
|
}
|
|
719
808
|
netApy {
|
|
720
809
|
...PercentNumber
|
|
721
810
|
}
|
|
722
|
-
|
|
723
|
-
...
|
|
811
|
+
netAccruedInterest(currency: $currency) {
|
|
812
|
+
...ExchangeAmount
|
|
724
813
|
}
|
|
725
814
|
lowestHealthFactor
|
|
726
|
-
}`,[R,
|
|
815
|
+
}`,[R,u,a]),D=e(`fragment UserRiskPremiumBreakdownItem on UserRiskPremiumBreakdownItem {
|
|
816
|
+
__typename
|
|
817
|
+
token {
|
|
818
|
+
...Erc20Token
|
|
819
|
+
}
|
|
820
|
+
currentRiskPremiumWeight {
|
|
821
|
+
...PercentNumber
|
|
822
|
+
}
|
|
823
|
+
latestRiskPremiumWeight {
|
|
824
|
+
...PercentNumber
|
|
825
|
+
}
|
|
826
|
+
collateral {
|
|
827
|
+
...PercentNumber
|
|
828
|
+
}
|
|
829
|
+
}`,[c,a]),wt=e(`fragment UserPositionRiskPremium on UserPositionRiskPremium {
|
|
830
|
+
__typename
|
|
831
|
+
current {
|
|
832
|
+
...PercentNumber
|
|
833
|
+
}
|
|
834
|
+
latest {
|
|
835
|
+
...PercentNumber
|
|
836
|
+
}
|
|
837
|
+
breakdown {
|
|
838
|
+
...UserRiskPremiumBreakdownItem
|
|
839
|
+
}
|
|
840
|
+
}`,[a,D]),L=e(`fragment UserPosition on UserPosition {
|
|
727
841
|
__typename
|
|
728
842
|
id
|
|
729
843
|
spoke {
|
|
@@ -735,19 +849,22 @@
|
|
|
735
849
|
...PercentNumber
|
|
736
850
|
}
|
|
737
851
|
netCollateral(currency: $currency) {
|
|
738
|
-
...
|
|
852
|
+
...ExchangeAmountWithChange
|
|
739
853
|
}
|
|
740
854
|
netBalance(currency: $currency) {
|
|
741
|
-
...
|
|
855
|
+
...ExchangeAmountWithChange
|
|
856
|
+
}
|
|
857
|
+
netAccruedInterest(currency: $currency) {
|
|
858
|
+
...ExchangeAmount
|
|
742
859
|
}
|
|
743
860
|
totalCollateral(currency: $currency) {
|
|
744
|
-
...
|
|
861
|
+
...ExchangeAmountWithChange
|
|
745
862
|
}
|
|
746
863
|
totalSupplied(currency: $currency) {
|
|
747
|
-
...
|
|
864
|
+
...ExchangeAmountWithChange
|
|
748
865
|
}
|
|
749
866
|
totalDebt(currency: $currency) {
|
|
750
|
-
...
|
|
867
|
+
...ExchangeAmountWithChange
|
|
751
868
|
}
|
|
752
869
|
netSupplyApy {
|
|
753
870
|
...PercentNumberWithChange
|
|
@@ -759,15 +876,22 @@
|
|
|
759
876
|
...HealthFactorWithChange
|
|
760
877
|
}
|
|
761
878
|
riskPremium {
|
|
762
|
-
...
|
|
879
|
+
...UserPositionRiskPremium
|
|
880
|
+
}
|
|
881
|
+
liquidationPrice(currency: $currency) {
|
|
882
|
+
...ExchangeAmount
|
|
763
883
|
}
|
|
764
|
-
|
|
884
|
+
borrowingPower(currency: $currency) {
|
|
885
|
+
...ExchangeAmount
|
|
886
|
+
}
|
|
887
|
+
canUpdateDynamicConfig
|
|
888
|
+
netBalancePercentChange(window: $timeWindow) {
|
|
765
889
|
...PercentNumber
|
|
766
890
|
}
|
|
767
891
|
averageCollateralFactor {
|
|
768
892
|
...PercentNumber
|
|
769
893
|
}
|
|
770
|
-
}`,[i,a,R,
|
|
894
|
+
}`,[i,a,R,u,Z,X,wt]),we=e(`fragment UserBalance on UserBalance {
|
|
771
895
|
__typename
|
|
772
896
|
id
|
|
773
897
|
info {
|
|
@@ -779,8 +903,8 @@
|
|
|
779
903
|
balances {
|
|
780
904
|
...TokenAmount
|
|
781
905
|
}
|
|
782
|
-
|
|
783
|
-
...
|
|
906
|
+
exchange(currency: $currency) {
|
|
907
|
+
...ExchangeAmount
|
|
784
908
|
}
|
|
785
909
|
highestSupplyApy: supplyApy(metric: HIGHEST) {
|
|
786
910
|
...PercentNumber
|
|
@@ -794,94 +918,133 @@
|
|
|
794
918
|
lowestBorrowApy: borrowApy(metric: LOWEST) {
|
|
795
919
|
...PercentNumber
|
|
796
920
|
}
|
|
797
|
-
|
|
921
|
+
highestCollateralFactor: collateralFactor(metric: HIGHEST) {
|
|
922
|
+
...PercentNumber
|
|
923
|
+
}
|
|
924
|
+
lowestCollateralFactor: collateralFactor(metric: LOWEST) {
|
|
925
|
+
...PercentNumber
|
|
926
|
+
}
|
|
927
|
+
}`,[I,l,T,u,a]),Ae=e(`fragment UserSummaryHistoryItem on UserSummaryHistoryItem {
|
|
798
928
|
__typename
|
|
799
929
|
netBalance(currency: $currency) {
|
|
800
|
-
...
|
|
930
|
+
...ExchangeAmount
|
|
801
931
|
}
|
|
802
932
|
borrows(currency: $currency) {
|
|
803
|
-
...
|
|
933
|
+
...ExchangeAmount
|
|
804
934
|
}
|
|
805
935
|
supplies(currency: $currency) {
|
|
806
|
-
...
|
|
936
|
+
...ExchangeAmount
|
|
807
937
|
}
|
|
808
938
|
healthFactor
|
|
809
939
|
date
|
|
810
|
-
}`,[
|
|
940
|
+
}`,[u]),M=e(`fragment ApySample on ApySample {
|
|
811
941
|
__typename
|
|
812
942
|
date
|
|
813
943
|
avgRate {
|
|
814
944
|
...PercentNumber
|
|
815
945
|
}
|
|
816
|
-
}`,[a]);var
|
|
946
|
+
}`,[a]);var Nr=e(`query Hub($request: HubRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
817
947
|
value: hub(request: $request) {
|
|
818
948
|
...Hub
|
|
819
949
|
}
|
|
820
|
-
}`,[
|
|
950
|
+
}`,[v]),Dr=e(`query Hubs($request: HubsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
821
951
|
value: hubs(request: $request) {
|
|
822
952
|
...Hub
|
|
823
953
|
}
|
|
824
|
-
}`,[
|
|
954
|
+
}`,[v]),Lr=e(`query HubAssets($request: HubAssetsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
825
955
|
value: hubAssets(request: $request) {
|
|
826
956
|
...HubAsset
|
|
827
957
|
}
|
|
828
|
-
}`,[
|
|
958
|
+
}`,[b]),At=e(`fragment HubSummarySample on HubSummarySample {
|
|
959
|
+
__typename
|
|
960
|
+
date
|
|
961
|
+
deposits {
|
|
962
|
+
...ExchangeAmount
|
|
963
|
+
}
|
|
964
|
+
borrows {
|
|
965
|
+
...ExchangeAmount
|
|
966
|
+
}
|
|
967
|
+
availableLiquidity {
|
|
968
|
+
...ExchangeAmount
|
|
969
|
+
}
|
|
970
|
+
utilizationRate {
|
|
971
|
+
...PercentNumber
|
|
972
|
+
}
|
|
973
|
+
}`,[u,a]),Mr=e(`query HubSummaryHistory($request: HubSummaryHistoryRequest!) {
|
|
974
|
+
value: hubSummaryHistory(request: $request) {
|
|
975
|
+
...HubSummarySample
|
|
976
|
+
}
|
|
977
|
+
}`,[At]);function K(t){return new TextDecoder().decode(Uint8Array.from(atob(t),w=>w.charCodeAt(0)))}function B(t){return btoa(String.fromCharCode(...new TextEncoder().encode(t)))}var d="::";function Gr(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid AssetId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`AssetId must be valid base64: ${t}`),t}function ht(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid HubId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`HubId must be valid base64: ${t}`),t}function Yr(t){return ht(B(`${t.chainId}${d}${t.address}`))}function zr(t){let w=K(t),[r,o]=w.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),address:types.evmAddress(o)}}function Zr(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid HubAssetId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`HubAssetId must be valid base64: ${t}`),t}function jr(t){return t}function Jr(t){let w=K(t),[r,o,f]=w.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),onChainId:f}}function Xr(t){return B(`${t.chainId}${d}${t.spoke}${d}${t.onChainId}`)}function Pt(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserPositionId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserPositionId must be valid base64: ${t}`),t}function ea(t){let w=K(t),[r,o,f]=w.split(d);return {chainId:types.chainId(Number.parseInt(r,10)),spoke:types.evmAddress(o),user:types.evmAddress(f)}}function ta(t){return Pt(B(`${t.chainId}${d}${t.spoke}${d}${t.user}`))}function ra(t){return types.invariant(types.isValidHexString(t),`Invalid SwapId: ${t}`),t}function aa(t){return types.invariant(types.isValidHexString(t),`Invalid SwapQuoteId: ${t}`),t}function na(t){return Ft(B(`${t.chainId}${d}${t.address}`))}function Ft(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid SpokeId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`SpokeId must be valid base64: ${t}`),t}function oa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserBalanceId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserBalanceId must be valid base64: ${t}`),t}function pa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserBorrowItemId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserBorrowItemId must be valid base64: ${t}`),t}function sa(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid UserSupplyItemId: ${t}`),types.invariant(/^[A-Za-z0-9+/]*={0,2}$/.test(t),`UserSupplyItemId must be valid base64: ${t}`),t}function ua(t){return types.invariant(typeof t=="string"&&t.length>0,`Invalid TokenInfoId: ${t}`),t}function ya(t){return types.isObject(t)&&"hubInput"in t&&t.hubInput!=null}function ca(t){return types.isObject(t)&&"chainIds"in t&&t.chainIds!=null}function la(t){return types.isObject(t)&&"spoke"in t&&t.spoke!=null}function ga(t){return types.isObject(t)&&"txHash"in t&&t.txHash!=null}var Ra=e(`query Chain($request: ChainRequest!) {
|
|
829
978
|
value: chain(request: $request) {
|
|
830
979
|
...Chain
|
|
831
980
|
}
|
|
832
|
-
}`,[n]),
|
|
833
|
-
value: chains(
|
|
981
|
+
}`,[n]),qa=e(`query Chains($request: ChainsRequest!) {
|
|
982
|
+
value: chains(request: $request) {
|
|
834
983
|
...Chain
|
|
835
984
|
}
|
|
836
|
-
}`,[n]),
|
|
985
|
+
}`,[n]),xa=e(`query HasProcessedKnownTransaction($request: HasProcessedKnownTransactionRequest!) {
|
|
837
986
|
value: hasProcessedKnownTransaction(request: $request)
|
|
838
|
-
}`),
|
|
987
|
+
}`),wa=e(`query Health {
|
|
839
988
|
value: health
|
|
840
|
-
}`),
|
|
989
|
+
}`),Aa=e(`query ExchangeRate($request: ExchangeRateRequest!) {
|
|
841
990
|
value: exchangeRate(request: $request) {
|
|
842
|
-
...
|
|
991
|
+
...ExchangeAmount
|
|
843
992
|
}
|
|
844
|
-
}`,[
|
|
993
|
+
}`,[u]);var It=e(`fragment AssetPriceSample on AssetPriceSample {
|
|
845
994
|
__typename
|
|
846
995
|
date
|
|
847
996
|
price
|
|
848
|
-
}`),
|
|
997
|
+
}`),Tt=e(`fragment AssetSupplySample on AssetSupplySample {
|
|
849
998
|
__typename
|
|
850
999
|
date
|
|
851
1000
|
amount {
|
|
852
1001
|
...DecimalNumber
|
|
853
1002
|
}
|
|
854
|
-
|
|
1003
|
+
highestApy {
|
|
1004
|
+
...PercentNumber
|
|
1005
|
+
}
|
|
1006
|
+
lowestApy {
|
|
1007
|
+
...PercentNumber
|
|
1008
|
+
}
|
|
1009
|
+
}`,[l,a]),vt=e(`fragment AssetBorrowSample on AssetBorrowSample {
|
|
855
1010
|
__typename
|
|
856
1011
|
date
|
|
857
1012
|
amount {
|
|
858
1013
|
...DecimalNumber
|
|
859
1014
|
}
|
|
860
|
-
|
|
1015
|
+
highestApy {
|
|
1016
|
+
...PercentNumber
|
|
1017
|
+
}
|
|
1018
|
+
lowestApy {
|
|
1019
|
+
...PercentNumber
|
|
1020
|
+
}
|
|
1021
|
+
}`,[l,a]),bt=e(`fragment AssetAmountWithChange on AssetAmountWithChange {
|
|
1022
|
+
__typename
|
|
1023
|
+
amount {
|
|
1024
|
+
...DecimalNumberWithChange
|
|
1025
|
+
}
|
|
1026
|
+
exchange(currency: $currency) {
|
|
1027
|
+
...ExchangeAmountWithChange
|
|
1028
|
+
}
|
|
1029
|
+
}`,[G,R]),Et=e(`fragment AssetSummary on AssetSummary {
|
|
861
1030
|
__typename
|
|
862
1031
|
totalSupplyCap {
|
|
863
|
-
...
|
|
1032
|
+
...AssetAmountWithChange
|
|
864
1033
|
}
|
|
865
1034
|
totalSupplied {
|
|
866
|
-
...
|
|
1035
|
+
...AssetAmountWithChange
|
|
867
1036
|
}
|
|
868
1037
|
totalSuppliable {
|
|
869
|
-
...
|
|
1038
|
+
...AssetAmountWithChange
|
|
870
1039
|
}
|
|
871
1040
|
totalBorrowCap {
|
|
872
|
-
...
|
|
1041
|
+
...AssetAmountWithChange
|
|
873
1042
|
}
|
|
874
1043
|
totalBorrowed {
|
|
875
|
-
...
|
|
1044
|
+
...AssetAmountWithChange
|
|
876
1045
|
}
|
|
877
1046
|
totalBorrowable {
|
|
878
|
-
...
|
|
879
|
-
}
|
|
880
|
-
totalSuppliedFiat(currency: $currency) {
|
|
881
|
-
...FiatAmountWithChange
|
|
882
|
-
}
|
|
883
|
-
totalBorrowedFiat(currency: $currency) {
|
|
884
|
-
...FiatAmountWithChange
|
|
1047
|
+
...AssetAmountWithChange
|
|
885
1048
|
}
|
|
886
1049
|
averageBorrowApy: borrowApy(metric: AVERAGE) {
|
|
887
1050
|
...PercentNumber
|
|
@@ -889,7 +1052,7 @@
|
|
|
889
1052
|
averageSupplyApy: supplyApy(metric: AVERAGE) {
|
|
890
1053
|
...PercentNumber
|
|
891
1054
|
}
|
|
892
|
-
}`,[
|
|
1055
|
+
}`,[bt,a]),kt=e(`fragment Asset on Asset {
|
|
893
1056
|
__typename
|
|
894
1057
|
id
|
|
895
1058
|
token {
|
|
@@ -899,105 +1062,138 @@
|
|
|
899
1062
|
...AssetSummary
|
|
900
1063
|
}
|
|
901
1064
|
price(currency: $currency) {
|
|
902
|
-
...
|
|
1065
|
+
...ExchangeAmountWithChange
|
|
903
1066
|
}
|
|
904
|
-
}`,[
|
|
1067
|
+
}`,[c,Et,R]),Ia=e(`query Asset($request: AssetRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
905
1068
|
value: asset(request: $request) {
|
|
906
1069
|
...Asset
|
|
907
1070
|
}
|
|
908
|
-
}`,[
|
|
1071
|
+
}`,[kt]),Ta=e(`query AssetPriceHistory($request: AssetPriceHistoryRequest!) {
|
|
909
1072
|
value: assetPriceHistory(request: $request) {
|
|
910
1073
|
...AssetPriceSample
|
|
911
1074
|
}
|
|
912
|
-
}`,[
|
|
1075
|
+
}`,[It]),va=e(`query AssetSupplyHistory($request: AssetSupplyHistoryRequest!) {
|
|
913
1076
|
value: assetSupplyHistory(request: $request) {
|
|
914
1077
|
...AssetSupplySample
|
|
915
1078
|
}
|
|
916
|
-
}`,[
|
|
1079
|
+
}`,[Tt]),ba=e(`query AssetBorrowHistory($request: AssetBorrowHistoryRequest!) {
|
|
917
1080
|
value: assetBorrowHistory(request: $request) {
|
|
918
1081
|
...AssetBorrowSample
|
|
919
1082
|
}
|
|
920
|
-
}`,[
|
|
1083
|
+
}`,[vt]),Ut=e(`fragment ProtocolHistorySample on ProtocolHistorySample {
|
|
1084
|
+
__typename
|
|
1085
|
+
date
|
|
1086
|
+
deposits {
|
|
1087
|
+
...ExchangeAmount
|
|
1088
|
+
}
|
|
1089
|
+
borrows {
|
|
1090
|
+
...ExchangeAmount
|
|
1091
|
+
}
|
|
1092
|
+
}`,[u]),Ea=e(`query ProtocolHistory($request: ProtocolHistoryRequest!) {
|
|
1093
|
+
value: protocolHistory(request: $request) {
|
|
1094
|
+
...ProtocolHistorySample
|
|
1095
|
+
}
|
|
1096
|
+
}`,[Ut]);var Oa=e(`query BorrowApyHistory($request: BorrowApyHistoryRequest!) {
|
|
921
1097
|
value: borrowApyHistory(request: $request) {
|
|
922
|
-
...
|
|
1098
|
+
...ApySample
|
|
923
1099
|
}
|
|
924
|
-
}`,[
|
|
1100
|
+
}`,[M]),_a=e(`query SupplyApyHistory($request: SupplyApyHistoryRequest!) {
|
|
925
1101
|
value: supplyApyHistory(request: $request) {
|
|
926
|
-
...
|
|
1102
|
+
...ApySample
|
|
927
1103
|
}
|
|
928
|
-
}`,[
|
|
1104
|
+
}`,[M]),Ba=e(`query Reserve($request: ReserveRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
929
1105
|
value: reserve(request: $request) {
|
|
930
1106
|
...Reserve
|
|
931
1107
|
}
|
|
932
|
-
}`,[
|
|
1108
|
+
}`,[P]),Ha=e(`query Reserves($request: ReservesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
933
1109
|
value: reserves(request: $request) {
|
|
934
1110
|
...Reserve
|
|
935
1111
|
}
|
|
936
|
-
}`,[
|
|
1112
|
+
}`,[P]);var Na=e(`query Spoke($request: SpokeRequest!) {
|
|
937
1113
|
value: spoke(request: $request) {
|
|
938
1114
|
...Spoke
|
|
939
1115
|
}
|
|
940
|
-
}`,[i]),
|
|
1116
|
+
}`,[i]),Da=e(`query Spokes($request: SpokesRequest!) {
|
|
941
1117
|
value: spokes(request: $request) {
|
|
942
1118
|
...Spoke
|
|
943
1119
|
}
|
|
944
|
-
}`,[i]),
|
|
1120
|
+
}`,[i]),La=e(`query SpokePositionManagers($request: SpokePositionManagersRequest!) {
|
|
945
1121
|
value: spokePositionManagers(request: $request) {
|
|
946
1122
|
...PaginatedSpokePositionManagerResult
|
|
947
1123
|
}
|
|
948
|
-
}`,[
|
|
1124
|
+
}`,[re]),Ma=e(`query SpokeUserPositionManagers($request: SpokeUserPositionManagersRequest!) {
|
|
949
1125
|
value: spokeUserPositionManagers(request: $request) {
|
|
950
1126
|
...PaginatedSpokeUserPositionManagerResult
|
|
951
1127
|
}
|
|
952
|
-
}`,[
|
|
953
|
-
value:
|
|
954
|
-
...
|
|
1128
|
+
}`,[ae]);var Ya=e(`query TokenSwapQuote($request: TokenSwapQuoteRequest!, $currency: Currency!) {
|
|
1129
|
+
value: tokenSwapQuote(request: $request) {
|
|
1130
|
+
...TokenSwapQuoteResult
|
|
955
1131
|
}
|
|
956
|
-
}`,[
|
|
1132
|
+
}`,[pe]),za=e(`query SwappableTokens($request: SwappableTokensRequest!) {
|
|
957
1133
|
value: swappableTokens(request: $request) {
|
|
958
1134
|
...Token
|
|
959
1135
|
}
|
|
960
|
-
}`,[
|
|
961
|
-
value:
|
|
962
|
-
...
|
|
1136
|
+
}`,[z]),Za=e(`query PrepareTokenSwap($request: PrepareTokenSwapRequest!) {
|
|
1137
|
+
value: prepareTokenSwap(request: $request) {
|
|
1138
|
+
...PrepareTokenSwapResult
|
|
963
1139
|
}
|
|
964
|
-
}`,[
|
|
1140
|
+
}`,[se]),ja=e(`query SwapStatus($request: SwapStatusRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
965
1141
|
value: swapStatus(request: $request) {
|
|
966
1142
|
...SwapStatus
|
|
967
1143
|
}
|
|
968
|
-
}`,[
|
|
1144
|
+
}`,[N]),Ja=e(`mutation Swap($request: SwapRequest!) {
|
|
969
1145
|
value: swap(request: $request) {
|
|
970
1146
|
...SwapExecutionPlan
|
|
971
1147
|
}
|
|
972
|
-
}`,[
|
|
1148
|
+
}`,[ue]),Xa=e(`query PrepareSwapCancel($request: PrepareSwapCancelRequest!) {
|
|
973
1149
|
value: prepareSwapCancel(request: $request) {
|
|
974
1150
|
...PrepareSwapCancelResult
|
|
975
1151
|
}
|
|
976
|
-
}`,[
|
|
1152
|
+
}`,[me]),en=e(`mutation CancelSwap($request: CancelSwapRequest!) {
|
|
977
1153
|
value: cancelSwap(request: $request) {
|
|
978
1154
|
...CancelSwapExecutionPlan
|
|
979
1155
|
}
|
|
980
|
-
}`,[
|
|
1156
|
+
}`,[ye]),tn=e(`query UserSwaps($request: UserSwapsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
981
1157
|
value: userSwaps(request: $request) {
|
|
982
1158
|
...PaginatedUserSwapsResult
|
|
983
1159
|
}
|
|
984
|
-
}`,[
|
|
1160
|
+
}`,[ce]),rn=e(`query SupplySwapQuote($request: SupplySwapQuoteRequest!, $currency: Currency!) {
|
|
1161
|
+
value: supplySwapQuote(request: $request) {
|
|
1162
|
+
...SupplySwapQuoteResult
|
|
1163
|
+
}
|
|
1164
|
+
}`,[le]),an=e(`query BorrowSwapQuote($request: BorrowSwapQuoteRequest!, $currency: Currency!) {
|
|
1165
|
+
value: borrowSwapQuote(request: $request) {
|
|
1166
|
+
...BorrowSwapQuoteResult
|
|
1167
|
+
}
|
|
1168
|
+
}`,[ge]),nn=e(`query RepayWithSupplyQuote($request: RepayWithSupplyQuoteRequest!, $currency: Currency!) {
|
|
1169
|
+
value: repayWithSupplyQuote(request: $request) {
|
|
1170
|
+
...RepayWithSupplyQuoteResult
|
|
1171
|
+
}
|
|
1172
|
+
}`,[Se]),on=e(`query WithdrawSwapQuote($request: WithdrawSwapQuoteRequest!, $currency: Currency!) {
|
|
1173
|
+
value: withdrawSwapQuote(request: $request) {
|
|
1174
|
+
...WithdrawSwapQuoteResult
|
|
1175
|
+
}
|
|
1176
|
+
}`,[de]),pn=e(`query PreparePositionSwap($request: PreparePositionSwapRequest!) {
|
|
1177
|
+
value: preparePositionSwap(request: $request) {
|
|
1178
|
+
...PreparePositionSwapResult
|
|
1179
|
+
}
|
|
1180
|
+
}`,[fe]);var yn=e(`query Borrow($request: BorrowRequest!) {
|
|
985
1181
|
value: borrow(request: $request) {
|
|
986
1182
|
...ExecutionPlan
|
|
987
1183
|
}
|
|
988
|
-
}`,[
|
|
1184
|
+
}`,[E]),cn=e(`query Supply($request: SupplyRequest!) {
|
|
989
1185
|
value: supply(request: $request) {
|
|
990
1186
|
...ExecutionPlan
|
|
991
1187
|
}
|
|
992
|
-
}`,[
|
|
1188
|
+
}`,[E]),ln=e(`query Repay($request: RepayRequest!) {
|
|
993
1189
|
value: repay(request: $request) {
|
|
994
1190
|
...ExecutionPlan
|
|
995
1191
|
}
|
|
996
|
-
}`,[
|
|
1192
|
+
}`,[E]),gn=e(`query Withdraw($request: WithdrawRequest!) {
|
|
997
1193
|
value: withdraw(request: $request) {
|
|
998
1194
|
...ExecutionPlan
|
|
999
1195
|
}
|
|
1000
|
-
}`,[
|
|
1196
|
+
}`,[E]),Ct=e(`fragment LiquidatePositionExecutionPlan on LiquidatePositionExecutionPlan {
|
|
1001
1197
|
__typename
|
|
1002
1198
|
... on TransactionRequest {
|
|
1003
1199
|
...TransactionRequest
|
|
@@ -1008,27 +1204,74 @@
|
|
|
1008
1204
|
... on InsufficientBalanceError {
|
|
1009
1205
|
...InsufficientBalanceError
|
|
1010
1206
|
}
|
|
1011
|
-
}`,[
|
|
1207
|
+
}`,[m,W,q]),Sn=e(`query LiquidatePosition($request: LiquidatePositionRequest!) {
|
|
1012
1208
|
value: liquidatePosition(request: $request) {
|
|
1013
1209
|
...LiquidatePositionExecutionPlan
|
|
1014
1210
|
}
|
|
1015
|
-
}`,[
|
|
1211
|
+
}`,[Ct]),dn=e(`query SetSpokeUserPositionManager($request: SetSpokeUserPositionManagerRequest!) {
|
|
1016
1212
|
value: setSpokeUserPositionManager(request: $request) {
|
|
1017
1213
|
...TransactionRequest
|
|
1018
1214
|
}
|
|
1019
|
-
}`,[
|
|
1020
|
-
value:
|
|
1215
|
+
}`,[m]),fn=e(`query SetUserSuppliesAsCollateral($request: SetUserSuppliesAsCollateralRequest!) {
|
|
1216
|
+
value: setUserSuppliesAsCollateral(request: $request) {
|
|
1021
1217
|
...TransactionRequest
|
|
1022
1218
|
}
|
|
1023
|
-
}`,[
|
|
1219
|
+
}`,[m]),Rn=e(`query RenounceSpokeUserPositionManager($request: RenounceSpokeUserPositionManagerRequest!) {
|
|
1024
1220
|
value: renounceSpokeUserPositionManager(request: $request) {
|
|
1025
1221
|
...TransactionRequest
|
|
1026
1222
|
}
|
|
1027
|
-
}`,[
|
|
1028
|
-
value:
|
|
1223
|
+
}`,[m]),qn=e(`query UpdateUserPositionConditions($request: UpdateUserPositionConditionsRequest!) {
|
|
1224
|
+
value: updateUserPositionConditions(request: $request) {
|
|
1029
1225
|
...TransactionRequest
|
|
1030
1226
|
}
|
|
1031
|
-
}`,[
|
|
1227
|
+
}`,[m]),Ot=e(`fragment CollateralFactorVariation on CollateralFactorVariation {
|
|
1228
|
+
__typename
|
|
1229
|
+
reserveId
|
|
1230
|
+
token {
|
|
1231
|
+
...Erc20Token
|
|
1232
|
+
}
|
|
1233
|
+
current {
|
|
1234
|
+
...PercentNumber
|
|
1235
|
+
}
|
|
1236
|
+
after {
|
|
1237
|
+
...PercentNumber
|
|
1238
|
+
}
|
|
1239
|
+
}`,[c,a]),_t=e(`fragment LiquidationFeeVariation on LiquidationFeeVariation {
|
|
1240
|
+
__typename
|
|
1241
|
+
reserveId
|
|
1242
|
+
token {
|
|
1243
|
+
...Erc20Token
|
|
1244
|
+
}
|
|
1245
|
+
current {
|
|
1246
|
+
...PercentNumber
|
|
1247
|
+
}
|
|
1248
|
+
after {
|
|
1249
|
+
...PercentNumber
|
|
1250
|
+
}
|
|
1251
|
+
}`,[c,a]),Bt=e(`fragment MaxLiquidationBonusVariation on MaxLiquidationBonusVariation {
|
|
1252
|
+
__typename
|
|
1253
|
+
reserveId
|
|
1254
|
+
token {
|
|
1255
|
+
...Erc20Token
|
|
1256
|
+
}
|
|
1257
|
+
current {
|
|
1258
|
+
...PercentNumber
|
|
1259
|
+
}
|
|
1260
|
+
after {
|
|
1261
|
+
...PercentNumber
|
|
1262
|
+
}
|
|
1263
|
+
}`,[c,a]),Ht=e(`fragment UserPositionConditionVariation on UserPositionConditionVariation {
|
|
1264
|
+
__typename
|
|
1265
|
+
... on CollateralFactorVariation {
|
|
1266
|
+
...CollateralFactorVariation
|
|
1267
|
+
}
|
|
1268
|
+
... on LiquidationFeeVariation {
|
|
1269
|
+
...LiquidationFeeVariation
|
|
1270
|
+
}
|
|
1271
|
+
... on MaxLiquidationBonusVariation {
|
|
1272
|
+
...MaxLiquidationBonusVariation
|
|
1273
|
+
}
|
|
1274
|
+
}`,[Ot,_t,Bt]),Qt=e(`fragment PreviewUserPosition on PreviewUserPosition {
|
|
1032
1275
|
__typename
|
|
1033
1276
|
id
|
|
1034
1277
|
healthFactor {
|
|
@@ -1041,20 +1284,33 @@
|
|
|
1041
1284
|
...PercentNumberVariation
|
|
1042
1285
|
}
|
|
1043
1286
|
netCollateral(currency: $currency) {
|
|
1044
|
-
...
|
|
1287
|
+
...ExchangeAmountVariation
|
|
1045
1288
|
}
|
|
1046
1289
|
netBalance(currency: $currency) {
|
|
1047
|
-
...
|
|
1290
|
+
...ExchangeAmountVariation
|
|
1048
1291
|
}
|
|
1049
|
-
|
|
1292
|
+
projectedEarnings {
|
|
1293
|
+
...ExchangeAmountVariation
|
|
1294
|
+
}
|
|
1295
|
+
borrowingPower {
|
|
1296
|
+
...ExchangeAmountVariation
|
|
1297
|
+
}
|
|
1298
|
+
otherConditions {
|
|
1299
|
+
...UserPositionConditionVariation
|
|
1300
|
+
}
|
|
1301
|
+
}`,[ee,j,J,Ht]),xn=e(`query Preview($request: PreviewRequest!, $currency: Currency! = USD) {
|
|
1050
1302
|
value: preview(request: $request) {
|
|
1051
1303
|
...PreviewUserPosition
|
|
1052
1304
|
}
|
|
1053
|
-
}`,[
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1305
|
+
}`,[Qt]),Pe=e(`fragment PercentNumberChangeSnapshot on PercentNumberChangeSnapshot {
|
|
1306
|
+
__typename
|
|
1307
|
+
before {
|
|
1308
|
+
...PercentNumber
|
|
1309
|
+
}
|
|
1310
|
+
after {
|
|
1311
|
+
...PercentNumber
|
|
1312
|
+
}
|
|
1313
|
+
}`,[a]),$t=e(`fragment BorrowActivity on BorrowActivity {
|
|
1058
1314
|
__typename
|
|
1059
1315
|
id
|
|
1060
1316
|
user
|
|
@@ -1072,7 +1328,7 @@
|
|
|
1072
1328
|
chain {
|
|
1073
1329
|
...Chain
|
|
1074
1330
|
}
|
|
1075
|
-
}`,[i,p,
|
|
1331
|
+
}`,[i,p,S,n]),Wt=e(`fragment SupplyActivity on SupplyActivity {
|
|
1076
1332
|
__typename
|
|
1077
1333
|
id
|
|
1078
1334
|
user
|
|
@@ -1090,7 +1346,7 @@
|
|
|
1090
1346
|
chain {
|
|
1091
1347
|
...Chain
|
|
1092
1348
|
}
|
|
1093
|
-
}`,[i,p,
|
|
1349
|
+
}`,[i,p,S,n]),Nt=e(`fragment WithdrawActivity on WithdrawActivity {
|
|
1094
1350
|
__typename
|
|
1095
1351
|
id
|
|
1096
1352
|
user
|
|
@@ -1108,7 +1364,7 @@
|
|
|
1108
1364
|
chain {
|
|
1109
1365
|
...Chain
|
|
1110
1366
|
}
|
|
1111
|
-
}`,[i,p,
|
|
1367
|
+
}`,[i,p,S,n]),Dt=e(`fragment RepayActivity on RepayActivity {
|
|
1112
1368
|
__typename
|
|
1113
1369
|
id
|
|
1114
1370
|
user
|
|
@@ -1126,7 +1382,7 @@
|
|
|
1126
1382
|
chain {
|
|
1127
1383
|
...Chain
|
|
1128
1384
|
}
|
|
1129
|
-
}`,[i,p,
|
|
1385
|
+
}`,[i,p,S,n]),Lt=e(`fragment LiquidatedActivity on LiquidatedActivity {
|
|
1130
1386
|
__typename
|
|
1131
1387
|
id
|
|
1132
1388
|
user
|
|
@@ -1151,7 +1407,7 @@
|
|
|
1151
1407
|
chain {
|
|
1152
1408
|
...Chain
|
|
1153
1409
|
}
|
|
1154
|
-
}`,[i,p,
|
|
1410
|
+
}`,[i,p,S,n]),Mt=e(`fragment UsingAsCollateralActivity on UsingAsCollateralActivity {
|
|
1155
1411
|
__typename
|
|
1156
1412
|
id
|
|
1157
1413
|
user
|
|
@@ -1167,7 +1423,126 @@
|
|
|
1167
1423
|
chain {
|
|
1168
1424
|
...Chain
|
|
1169
1425
|
}
|
|
1170
|
-
}`,[i,
|
|
1426
|
+
}`,[i,S,n]),Vt=e(`fragment UpdatedDynamicConfigActivity on UpdatedDynamicConfigActivity {
|
|
1427
|
+
__typename
|
|
1428
|
+
id
|
|
1429
|
+
user
|
|
1430
|
+
timestamp
|
|
1431
|
+
txHash
|
|
1432
|
+
spoke {
|
|
1433
|
+
...Spoke
|
|
1434
|
+
}
|
|
1435
|
+
reserve {
|
|
1436
|
+
...ReserveInfo
|
|
1437
|
+
}
|
|
1438
|
+
collateralFactor {
|
|
1439
|
+
...PercentNumberChangeSnapshot
|
|
1440
|
+
}
|
|
1441
|
+
maxLiquidationBonus {
|
|
1442
|
+
...PercentNumberChangeSnapshot
|
|
1443
|
+
}
|
|
1444
|
+
liquidationFee {
|
|
1445
|
+
...PercentNumberChangeSnapshot
|
|
1446
|
+
}
|
|
1447
|
+
chain {
|
|
1448
|
+
...Chain
|
|
1449
|
+
}
|
|
1450
|
+
}`,[i,S,Pe,n]),Kt=e(`fragment UpdatedRiskPremiumActivity on UpdatedRiskPremiumActivity {
|
|
1451
|
+
__typename
|
|
1452
|
+
id
|
|
1453
|
+
user
|
|
1454
|
+
timestamp
|
|
1455
|
+
txHash
|
|
1456
|
+
spoke {
|
|
1457
|
+
...Spoke
|
|
1458
|
+
}
|
|
1459
|
+
premium {
|
|
1460
|
+
...PercentNumberChangeSnapshot
|
|
1461
|
+
}
|
|
1462
|
+
chain {
|
|
1463
|
+
...Chain
|
|
1464
|
+
}
|
|
1465
|
+
}`,[i,Pe,n]),Gt=e(`fragment TokenSwapActivity on TokenSwapActivity {
|
|
1466
|
+
__typename
|
|
1467
|
+
swapId
|
|
1468
|
+
user
|
|
1469
|
+
timestamp
|
|
1470
|
+
txHash
|
|
1471
|
+
chain {
|
|
1472
|
+
...Chain
|
|
1473
|
+
}
|
|
1474
|
+
sold {
|
|
1475
|
+
...SwapAmount
|
|
1476
|
+
}
|
|
1477
|
+
bought {
|
|
1478
|
+
...SwapAmount
|
|
1479
|
+
}
|
|
1480
|
+
explorerUrl
|
|
1481
|
+
}`,[n,x]),Yt=e(`fragment SupplySwapActivity on SupplySwapActivity {
|
|
1482
|
+
__typename
|
|
1483
|
+
swapId
|
|
1484
|
+
user
|
|
1485
|
+
timestamp
|
|
1486
|
+
txHash
|
|
1487
|
+
chain {
|
|
1488
|
+
...Chain
|
|
1489
|
+
}
|
|
1490
|
+
sold {
|
|
1491
|
+
...SwapAmount
|
|
1492
|
+
}
|
|
1493
|
+
bought {
|
|
1494
|
+
...SwapAmount
|
|
1495
|
+
}
|
|
1496
|
+
explorerUrl
|
|
1497
|
+
}`,[n,x]),zt=e(`fragment BorrowSwapActivity on BorrowSwapActivity {
|
|
1498
|
+
__typename
|
|
1499
|
+
swapId
|
|
1500
|
+
user
|
|
1501
|
+
timestamp
|
|
1502
|
+
txHash
|
|
1503
|
+
chain {
|
|
1504
|
+
...Chain
|
|
1505
|
+
}
|
|
1506
|
+
sold {
|
|
1507
|
+
...SwapAmount
|
|
1508
|
+
}
|
|
1509
|
+
bought {
|
|
1510
|
+
...SwapAmount
|
|
1511
|
+
}
|
|
1512
|
+
explorerUrl
|
|
1513
|
+
}`,[n,x]),Zt=e(`fragment RepayWithSupplyActivity on RepayWithSupplyActivity {
|
|
1514
|
+
__typename
|
|
1515
|
+
swapId
|
|
1516
|
+
user
|
|
1517
|
+
timestamp
|
|
1518
|
+
txHash
|
|
1519
|
+
chain {
|
|
1520
|
+
...Chain
|
|
1521
|
+
}
|
|
1522
|
+
debtRepaid {
|
|
1523
|
+
...SwapAmount
|
|
1524
|
+
}
|
|
1525
|
+
collateralUsed {
|
|
1526
|
+
...SwapAmount
|
|
1527
|
+
}
|
|
1528
|
+
explorerUrl
|
|
1529
|
+
}`,[n,x]),jt=e(`fragment WithdrawSwapActivity on WithdrawSwapActivity {
|
|
1530
|
+
__typename
|
|
1531
|
+
swapId
|
|
1532
|
+
user
|
|
1533
|
+
timestamp
|
|
1534
|
+
txHash
|
|
1535
|
+
chain {
|
|
1536
|
+
...Chain
|
|
1537
|
+
}
|
|
1538
|
+
withdrawn {
|
|
1539
|
+
...SwapAmount
|
|
1540
|
+
}
|
|
1541
|
+
bought {
|
|
1542
|
+
...SwapAmount
|
|
1543
|
+
}
|
|
1544
|
+
explorerUrl
|
|
1545
|
+
}`,[n,x]),Jt=e(`fragment ActivityItem on ActivityItem {
|
|
1171
1546
|
__typename
|
|
1172
1547
|
... on BorrowActivity {
|
|
1173
1548
|
...BorrowActivity
|
|
@@ -1187,7 +1562,28 @@
|
|
|
1187
1562
|
... on UsingAsCollateralActivity {
|
|
1188
1563
|
...UsingAsCollateralActivity
|
|
1189
1564
|
}
|
|
1190
|
-
|
|
1565
|
+
... on UpdatedDynamicConfigActivity {
|
|
1566
|
+
...UpdatedDynamicConfigActivity
|
|
1567
|
+
}
|
|
1568
|
+
... on UpdatedRiskPremiumActivity {
|
|
1569
|
+
...UpdatedRiskPremiumActivity
|
|
1570
|
+
}
|
|
1571
|
+
... on TokenSwapActivity {
|
|
1572
|
+
...TokenSwapActivity
|
|
1573
|
+
}
|
|
1574
|
+
... on SupplySwapActivity {
|
|
1575
|
+
...SupplySwapActivity
|
|
1576
|
+
}
|
|
1577
|
+
... on BorrowSwapActivity {
|
|
1578
|
+
...BorrowSwapActivity
|
|
1579
|
+
}
|
|
1580
|
+
... on RepayWithSupplyActivity {
|
|
1581
|
+
...RepayWithSupplyActivity
|
|
1582
|
+
}
|
|
1583
|
+
... on WithdrawSwapActivity {
|
|
1584
|
+
...WithdrawSwapActivity
|
|
1585
|
+
}
|
|
1586
|
+
}`,[$t,Wt,Nt,Dt,Lt,Mt,Vt,Kt,Gt,Yt,zt,Zt,jt]),Xt=e(`fragment PaginatedActivitiesResult on PaginatedActivitiesResult {
|
|
1191
1587
|
__typename
|
|
1192
1588
|
items {
|
|
1193
1589
|
...ActivityItem
|
|
@@ -1195,37 +1591,41 @@
|
|
|
1195
1591
|
pageInfo {
|
|
1196
1592
|
...PaginatedResultInfo
|
|
1197
1593
|
}
|
|
1198
|
-
}`,[
|
|
1594
|
+
}`,[Jt,A]),wn=e(`query Activities($request: ActivitiesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1199
1595
|
value: activities(request: $request) {
|
|
1200
1596
|
...PaginatedActivitiesResult
|
|
1201
1597
|
}
|
|
1202
|
-
}`,[
|
|
1598
|
+
}`,[Xt]);var Fn=e(`query UserSupplies($request: UserSuppliesRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1203
1599
|
value: userSupplies(request: $request) {
|
|
1204
1600
|
...UserSupplyItem
|
|
1205
1601
|
}
|
|
1206
|
-
}`,[
|
|
1602
|
+
}`,[Re]),In=e(`query UserBorrows($request: UserBorrowsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1207
1603
|
value: userBorrows(request: $request) {
|
|
1208
1604
|
...UserBorrowItem
|
|
1209
1605
|
}
|
|
1210
|
-
}`,[
|
|
1606
|
+
}`,[qe]),Tn=e(`query UserSummary($request: UserSummaryRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1211
1607
|
value: userSummary(request: $request) {
|
|
1212
1608
|
...UserSummary
|
|
1213
1609
|
}
|
|
1214
|
-
}`,[
|
|
1610
|
+
}`,[xe]),vn=e(`query UserPositions($request: UserPositionsRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1215
1611
|
value: userPositions(request: $request) {
|
|
1216
1612
|
...UserPosition
|
|
1217
1613
|
}
|
|
1218
|
-
}`,[
|
|
1614
|
+
}`,[L]),bn=e(`query UserPosition($request: UserPositionRequest!, $currency: Currency!, $timeWindow: TimeWindow!) {
|
|
1219
1615
|
value: userPosition(request: $request) {
|
|
1220
1616
|
...UserPosition
|
|
1221
1617
|
}
|
|
1222
|
-
}`,[
|
|
1618
|
+
}`,[L]),En=e(`query UserBalances($request: UserBalancesRequest!, $currency: Currency!) {
|
|
1223
1619
|
value: userBalances(request: $request) {
|
|
1224
1620
|
...UserBalance
|
|
1225
1621
|
}
|
|
1226
|
-
}`,[
|
|
1622
|
+
}`,[we]),kn=e(`query UserSummaryHistory($request: UserSummaryHistoryRequest!, $currency: Currency!) {
|
|
1227
1623
|
value: userSummaryHistory(request: $request) {
|
|
1228
1624
|
...UserSummaryHistoryItem
|
|
1229
1625
|
}
|
|
1230
|
-
}`,[
|
|
1626
|
+
}`,[Ae]),Un=e(`query UserRiskPremiumBreakdown($request: UserRiskPremiumBreakdownRequest!) {
|
|
1627
|
+
value: userRiskPremiumBreakdown(request: $request) {
|
|
1628
|
+
...UserRiskPremiumBreakdownItem
|
|
1629
|
+
}
|
|
1630
|
+
}`,[D]);exports.ActivitiesQuery=wn;exports.ActivityItemFragment=Jt;exports.ActivityType=ke;exports.ApyMetric=Ue;exports.ApySampleFragment=M;exports.AssetAmountWithChangeFragment=bt;exports.AssetBorrowHistoryQuery=ba;exports.AssetBorrowSampleFragment=vt;exports.AssetFragment=kt;exports.AssetPriceHistoryQuery=Ta;exports.AssetPriceSampleFragment=It;exports.AssetQuery=Ia;exports.AssetSummaryFragment=Et;exports.AssetSupplyHistoryQuery=va;exports.AssetSupplySampleFragment=Tt;exports.BorrowActivityFragment=$t;exports.BorrowApyHistoryQuery=Oa;exports.BorrowQuery=yn;exports.BorrowSwapActivityFragment=zt;exports.BorrowSwapKind=He;exports.BorrowSwapQuoteQuery=an;exports.BorrowSwapQuoteResultFragment=ge;exports.CancelSwapExecutionPlanFragment=ye;exports.CancelSwapMutation=en;exports.ChainFragment=n;exports.ChainQuery=Ra;exports.ChainsFilter=be;exports.ChainsQuery=qa;exports.CollateralFactorVariationFragment=Ot;exports.CollateralMetric=Ce;exports.Currency=Oe;exports.DecimalNumberFragment=l;exports.DecimalNumberWithChangeFragment=G;exports.DomainDataFragment=k;exports.Erc20AmountFragment=p;exports.Erc20ApprovalFragment=$;exports.Erc20ApprovalRequiredFragment=W;exports.Erc20TokenFragment=c;exports.ExchangeAmountFragment=u;exports.ExchangeAmountVariationFragment=J;exports.ExchangeAmountWithChangeFragment=R;exports.ExchangeRateQuery=Aa;exports.ExecutionPlanFragment=E;exports.HasProcessedKnownTransactionQuery=xa;exports.HealthFactorErrorFragment=Ge;exports.HealthFactorResultFragment=ee;exports.HealthFactorVariationFragment=Ke;exports.HealthFactorWithChangeFragment=X;exports.HealthQuery=wa;exports.HubAssetFragment=b;exports.HubAssetSettingsFragment=Ze;exports.HubAssetStatusType=Ee;exports.HubAssetSummaryFragment=ze;exports.HubAssetUserStateFragment=je;exports.HubAssetsQuery=Lr;exports.HubFragment=v;exports.HubQuery=Nr;exports.HubSummaryFragment=Ye;exports.HubSummaryHistoryQuery=Mr;exports.HubSummarySampleFragment=At;exports.HubsQuery=Dr;exports.InsufficientBalanceErrorFragment=q;exports.LiquidatePositionExecutionPlanFragment=Ct;exports.LiquidatePositionQuery=Sn;exports.LiquidatedActivityFragment=Lt;exports.LiquidationFeeVariationFragment=_t;exports.MaxLiquidationBonusVariationFragment=Bt;exports.NativeAmountFragment=Q;exports.NativeTokenFragment=Y;exports.OperationType=ve;exports.OrderDirection=Fe;exports.PageSize=Ie;exports.PaginatedActivitiesResultFragment=Xt;exports.PaginatedResultInfoFragment=A;exports.PaginatedSpokePositionManagerResultFragment=re;exports.PaginatedSpokeUserPositionManagerResultFragment=ae;exports.PaginatedUserSwapsResultFragment=ce;exports.PercentNumberChangeSnapshotFragment=Pe;exports.PercentNumberFragment=a;exports.PercentNumberVariationFragment=j;exports.PercentNumberWithChangeFragment=Z;exports.PermitMessageDataFragment=et;exports.PermitTypedDataFragment=te;exports.PositionAmountFragment=gt;exports.PositionSwapAdapterContractApprovalFragment=Rt;exports.PositionSwapApprovalFragment=xt;exports.PositionSwapByIntentApprovalsRequiredFragment=O;exports.PositionSwapPositionManagerApprovalFragment=qt;exports.PreContractActionRequiredFragment=st;exports.PreparePositionSwapQuery=pn;exports.PreparePositionSwapResultFragment=fe;exports.PrepareSwapCancelQuery=Xa;exports.PrepareSwapCancelResultFragment=me;exports.PrepareSwapOrderFragment=ne;exports.PrepareTokenSwapQuery=Za;exports.PrepareTokenSwapResultFragment=se;exports.PreviewQuery=xn;exports.PreviewUserPositionFragment=Qt;exports.ProtocolHistoryQuery=Ea;exports.ProtocolHistorySampleFragment=Ut;exports.QuoteAccuracy=Me;exports.RenounceSpokeUserPositionManagerQuery=Rn;exports.RepayActivityFragment=Dt;exports.RepayQuery=ln;exports.RepayWithSupplyActivityFragment=Zt;exports.RepayWithSupplyKind=Qe;exports.RepayWithSupplyQuoteQuery=nn;exports.RepayWithSupplyQuoteResultFragment=Se;exports.ReserveFragment=P;exports.ReserveInfoFragment=S;exports.ReserveQuery=Ba;exports.ReserveSettingsFragment=at;exports.ReserveStatusFragment=nt;exports.ReserveSummaryFragment=ot;exports.ReserveUserStateFragment=pt;exports.ReservesQuery=Ha;exports.ReservesRequestFilter=_e;exports.SetSpokeUserPositionManagerQuery=dn;exports.SetUserSuppliesAsCollateralQuery=fn;exports.SpokeFragment=i;exports.SpokePositionManagerFragment=tt;exports.SpokePositionManagersQuery=La;exports.SpokeQuery=Na;exports.SpokeUserPositionManagerFragment=rt;exports.SpokeUserPositionManagersQuery=Ma;exports.SpokesQuery=Da;exports.SupplyActivityFragment=Wt;exports.SupplyApyHistoryQuery=_a;exports.SupplyQuery=cn;exports.SupplySwapActivityFragment=Yt;exports.SupplySwapKind=$e;exports.SupplySwapQuoteQuery=rn;exports.SupplySwapQuoteResultFragment=le;exports.SwapAmountFragment=x;exports.SwapByIntentFragment=it;exports.SwapByIntentWithApprovalRequiredFragment=mt;exports.SwapByTransactionFragment=yt;exports.SwapCancelledFragment=ie;exports.SwapExecutionPlanFragment=ue;exports.SwapExpiredFragment=lt;exports.SwapFulfilledFragment=ft;exports.SwapKind=Be;exports.SwapMutation=Ja;exports.SwapOpenFragment=St;exports.SwapPendingSignatureFragment=dt;exports.SwapQuoteCostsFragment=ut;exports.SwapQuoteFragment=U;exports.SwapReceiptFragment=oe;exports.SwapStatusFilter=Ne;exports.SwapStatusFragment=N;exports.SwapStatusQuery=ja;exports.SwapTransactionRequestFragment=ct;exports.SwapTypedDataFragment=C;exports.SwappableTokensQuery=za;exports.TimeWindow=Te;exports.TokenAmountFragment=T;exports.TokenCategory=De;exports.TokenFragment=z;exports.TokenInfoFragment=I;exports.TokenSwapActivityFragment=Gt;exports.TokenSwapQuoteQuery=Ya;exports.TokenSwapQuoteResultFragment=pe;exports.TransactionRequestFragment=m;exports.TypeDefinitionFragment=Xe;exports.TypeFieldFragment=Je;exports.UpdateUserPositionConditionsQuery=qn;exports.UpdatedDynamicConfigActivityFragment=Vt;exports.UpdatedRiskPremiumActivityFragment=Kt;exports.UserBalanceFragment=we;exports.UserBalancesQuery=En;exports.UserBorrowItemFragment=qe;exports.UserBorrowsQuery=In;exports.UserPositionConditionVariationFragment=Ht;exports.UserPositionConditionsUpdate=Le;exports.UserPositionFragment=L;exports.UserPositionQuery=bn;exports.UserPositionRiskPremiumFragment=wt;exports.UserPositionsQuery=vn;exports.UserRiskPremiumBreakdownItemFragment=D;exports.UserRiskPremiumBreakdownQuery=Un;exports.UserSummaryFragment=xe;exports.UserSummaryHistoryItemFragment=Ae;exports.UserSummaryHistoryQuery=kn;exports.UserSummaryQuery=Tn;exports.UserSuppliesQuery=Fn;exports.UserSupplyItemFragment=Re;exports.UserSwapsQuery=tn;exports.UsingAsCollateralActivityFragment=Mt;exports.WithdrawActivityFragment=Nt;exports.WithdrawQuery=gn;exports.WithdrawSwapActivityFragment=jt;exports.WithdrawSwapKind=We;exports.WithdrawSwapQuoteQuery=on;exports.WithdrawSwapQuoteResultFragment=de;exports.assetId=Gr;exports.decodeHubId=zr;exports.decodeReserveId=Jr;exports.decodeUserPositionId=ea;exports.encodeHubId=Yr;exports.encodeReserveId=Xr;exports.encodeSpokeId=na;exports.encodeUserPositionId=ta;exports.graphql=e;exports.hubAssetId=Zr;exports.hubId=ht;exports.isChainIdsVariant=ca;exports.isERC20PermitSignature=gr;exports.isHubInputVariant=ya;exports.isSpokeInputVariant=la;exports.isTxHashInputVariant=ga;exports.reserveId=jr;exports.spokeId=Ft;exports.swapId=ra;exports.swapQuoteId=aa;exports.tokenInfoId=ua;exports.userBalanceId=oa;exports.userBorrowItemId=pa;exports.userPositionId=Pt;exports.userSupplyItemId=sa;//# sourceMappingURL=index.cjs.map
|
|
1231
1631
|
//# sourceMappingURL=index.cjs.map
|