@berachain/graphql 0.4.12 → 0.4.13
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/api/api.codegen.cjs +1 -1
- package/dist/api/api.codegen.d.cts +292 -30
- package/dist/api/api.codegen.d.ts +292 -30
- package/dist/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +8 -38
- package/dist/dex/api.codegen.d.ts +8 -38
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/pol/api.codegen.cjs +1 -1
- package/dist/pol/api.codegen.d.cts +8 -38
- package/dist/pol/api.codegen.d.ts +8 -38
- package/dist/pol/api.codegen.mjs +2 -2
- package/dist/pol/fees.codegen.cjs +2 -2
- package/dist/pol/fees.codegen.d.cts +9 -1
- package/dist/pol/fees.codegen.d.ts +9 -1
- package/dist/pol/fees.codegen.mjs +2 -2
- package/dist/pol/subgraph.codegen.cjs +8 -8
- package/dist/pol/subgraph.codegen.d.cts +21 -1
- package/dist/pol/subgraph.codegen.d.ts +21 -1
- package/dist/pol/subgraph.codegen.mjs +8 -8
- package/package.json +3 -3
- package/dist/governance/governance.codegen.cjs +0 -116
- package/dist/governance/governance.codegen.d.cts +0 -1533
- package/dist/governance/governance.codegen.d.ts +0 -1533
- package/dist/governance/governance.codegen.mjs +0 -116
- package/dist/honey/honey.codegen.cjs +0 -42
- package/dist/honey/honey.codegen.d.cts +0 -727
- package/dist/honey/honey.codegen.d.ts +0 -727
- package/dist/honey/honey.codegen.mjs +0 -42
|
@@ -1,6 +1,106 @@
|
|
|
1
1
|
import * as viem from 'viem';
|
|
2
2
|
|
|
3
3
|
type paths = {
|
|
4
|
+
"/metrics": {
|
|
5
|
+
parameters: {
|
|
6
|
+
query?: never;
|
|
7
|
+
header?: never;
|
|
8
|
+
path?: never;
|
|
9
|
+
cookie?: never;
|
|
10
|
+
};
|
|
11
|
+
get: {
|
|
12
|
+
parameters: {
|
|
13
|
+
query?: never;
|
|
14
|
+
header?: never;
|
|
15
|
+
path?: never;
|
|
16
|
+
cookie?: never;
|
|
17
|
+
};
|
|
18
|
+
requestBody?: never;
|
|
19
|
+
responses: {
|
|
20
|
+
200: {
|
|
21
|
+
headers: {
|
|
22
|
+
[name: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
content: {
|
|
25
|
+
"text/plain": string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
put?: never;
|
|
31
|
+
post?: never;
|
|
32
|
+
delete?: never;
|
|
33
|
+
options?: never;
|
|
34
|
+
head?: never;
|
|
35
|
+
patch?: never;
|
|
36
|
+
trace?: never;
|
|
37
|
+
};
|
|
38
|
+
"/openapi.json": {
|
|
39
|
+
parameters: {
|
|
40
|
+
query?: never;
|
|
41
|
+
header?: never;
|
|
42
|
+
path?: never;
|
|
43
|
+
cookie?: never;
|
|
44
|
+
};
|
|
45
|
+
get: {
|
|
46
|
+
parameters: {
|
|
47
|
+
query?: never;
|
|
48
|
+
header?: never;
|
|
49
|
+
path?: never;
|
|
50
|
+
cookie?: never;
|
|
51
|
+
};
|
|
52
|
+
requestBody?: never;
|
|
53
|
+
responses: {
|
|
54
|
+
default: {
|
|
55
|
+
headers: {
|
|
56
|
+
[name: string]: unknown;
|
|
57
|
+
};
|
|
58
|
+
content: {
|
|
59
|
+
"application/json": unknown;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
put?: never;
|
|
65
|
+
post?: never;
|
|
66
|
+
delete?: never;
|
|
67
|
+
options?: never;
|
|
68
|
+
head?: never;
|
|
69
|
+
patch?: never;
|
|
70
|
+
trace?: never;
|
|
71
|
+
};
|
|
72
|
+
"/docs": {
|
|
73
|
+
parameters: {
|
|
74
|
+
query?: never;
|
|
75
|
+
header?: never;
|
|
76
|
+
path?: never;
|
|
77
|
+
cookie?: never;
|
|
78
|
+
};
|
|
79
|
+
get: {
|
|
80
|
+
parameters: {
|
|
81
|
+
query?: never;
|
|
82
|
+
header?: never;
|
|
83
|
+
path?: never;
|
|
84
|
+
cookie?: never;
|
|
85
|
+
};
|
|
86
|
+
requestBody?: never;
|
|
87
|
+
responses: {
|
|
88
|
+
204: {
|
|
89
|
+
headers: {
|
|
90
|
+
[name: string]: unknown;
|
|
91
|
+
};
|
|
92
|
+
content?: never;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
put?: never;
|
|
97
|
+
post?: never;
|
|
98
|
+
delete?: never;
|
|
99
|
+
options?: never;
|
|
100
|
+
head?: never;
|
|
101
|
+
patch?: never;
|
|
102
|
+
trace?: never;
|
|
103
|
+
};
|
|
4
104
|
"/vaults/{vault}/earnings/{owner}": {
|
|
5
105
|
parameters: {
|
|
6
106
|
query?: never;
|
|
@@ -227,6 +327,7 @@ type paths = {
|
|
|
227
327
|
parameters: {
|
|
228
328
|
query?: {
|
|
229
329
|
start?: string;
|
|
330
|
+
end?: string;
|
|
230
331
|
};
|
|
231
332
|
header?: never;
|
|
232
333
|
path: {
|
|
@@ -269,7 +370,9 @@ type paths = {
|
|
|
269
370
|
};
|
|
270
371
|
get: {
|
|
271
372
|
parameters: {
|
|
272
|
-
query?:
|
|
373
|
+
query?: {
|
|
374
|
+
blockNumber?: components["schemas"]["BigUintStr"];
|
|
375
|
+
};
|
|
273
376
|
header?: never;
|
|
274
377
|
path?: never;
|
|
275
378
|
cookie?: never;
|
|
@@ -285,34 +388,10 @@ type paths = {
|
|
|
285
388
|
id: string;
|
|
286
389
|
pubkey: string;
|
|
287
390
|
operator: string;
|
|
288
|
-
credentials: string
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
readonly buffer: {
|
|
293
|
-
/** @description Read-only. The length of the ArrayBuffer (in bytes). */
|
|
294
|
-
readonly byteLength: number;
|
|
295
|
-
/** @constant */
|
|
296
|
-
readonly "__@toStringTag@880": "SharedArrayBuffer";
|
|
297
|
-
} | {
|
|
298
|
-
/** @description Read-only. The length of the ArrayBuffer (in bytes). */
|
|
299
|
-
readonly byteLength: number;
|
|
300
|
-
/** @constant */
|
|
301
|
-
readonly "__@toStringTag@880": "ArrayBuffer";
|
|
302
|
-
};
|
|
303
|
-
/** @description The length in bytes of the array. */
|
|
304
|
-
readonly byteLength: number;
|
|
305
|
-
/** @description The offset in bytes of the array. */
|
|
306
|
-
readonly byteOffset: number;
|
|
307
|
-
/** @description The length of the array. */
|
|
308
|
-
readonly length: number;
|
|
309
|
-
/** @constant */
|
|
310
|
-
readonly "__@toStringTag@880": "Uint8Array";
|
|
311
|
-
} & {
|
|
312
|
-
[key: string]: number;
|
|
313
|
-
});
|
|
314
|
-
amountDelegated: components["schemas"]["BigIntStr"];
|
|
315
|
-
amountQueued: components["schemas"]["BigIntStr"];
|
|
391
|
+
credentials: string;
|
|
392
|
+
activeBoosts: string;
|
|
393
|
+
queuedBoosts: string;
|
|
394
|
+
queuedDropBoosts: string;
|
|
316
395
|
}[];
|
|
317
396
|
};
|
|
318
397
|
};
|
|
@@ -427,6 +506,185 @@ type paths = {
|
|
|
427
506
|
patch?: never;
|
|
428
507
|
trace?: never;
|
|
429
508
|
};
|
|
509
|
+
"/earn/{vault}/earnings/{owner}": {
|
|
510
|
+
parameters: {
|
|
511
|
+
query?: never;
|
|
512
|
+
header?: never;
|
|
513
|
+
path?: never;
|
|
514
|
+
cookie?: never;
|
|
515
|
+
};
|
|
516
|
+
get: {
|
|
517
|
+
parameters: {
|
|
518
|
+
query?: never;
|
|
519
|
+
header?: never;
|
|
520
|
+
path: {
|
|
521
|
+
vault: components["schemas"]["EvmAddress"];
|
|
522
|
+
owner: components["schemas"]["EvmAddress"];
|
|
523
|
+
};
|
|
524
|
+
cookie?: never;
|
|
525
|
+
};
|
|
526
|
+
requestBody?: never;
|
|
527
|
+
responses: {
|
|
528
|
+
200: {
|
|
529
|
+
headers: {
|
|
530
|
+
[name: string]: unknown;
|
|
531
|
+
};
|
|
532
|
+
content: {
|
|
533
|
+
"application/json": {
|
|
534
|
+
currentDepositRate: components["schemas"]["BigIntStr"];
|
|
535
|
+
earningsTotal: string;
|
|
536
|
+
earningsRealized: string;
|
|
537
|
+
earningsUnrealized: string;
|
|
538
|
+
shareLots: {
|
|
539
|
+
shares: components["schemas"]["BigIntStr"];
|
|
540
|
+
depositRate: unknown;
|
|
541
|
+
}[];
|
|
542
|
+
sortedEvents: {
|
|
543
|
+
_height: number;
|
|
544
|
+
_log_index: number;
|
|
545
|
+
}[];
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
put?: never;
|
|
552
|
+
post?: never;
|
|
553
|
+
delete?: never;
|
|
554
|
+
options?: never;
|
|
555
|
+
head?: never;
|
|
556
|
+
patch?: never;
|
|
557
|
+
trace?: never;
|
|
558
|
+
};
|
|
559
|
+
"/earn/{vault}/total-assets-by-day": {
|
|
560
|
+
parameters: {
|
|
561
|
+
query?: never;
|
|
562
|
+
header?: never;
|
|
563
|
+
path?: never;
|
|
564
|
+
cookie?: never;
|
|
565
|
+
};
|
|
566
|
+
get: {
|
|
567
|
+
parameters: {
|
|
568
|
+
query: {
|
|
569
|
+
start: string;
|
|
570
|
+
end?: string;
|
|
571
|
+
};
|
|
572
|
+
header?: never;
|
|
573
|
+
path: {
|
|
574
|
+
vault: components["schemas"]["EvmAddress"];
|
|
575
|
+
};
|
|
576
|
+
cookie?: never;
|
|
577
|
+
};
|
|
578
|
+
requestBody?: never;
|
|
579
|
+
responses: {
|
|
580
|
+
200: {
|
|
581
|
+
headers: {
|
|
582
|
+
[name: string]: unknown;
|
|
583
|
+
};
|
|
584
|
+
content: {
|
|
585
|
+
"application/json": {
|
|
586
|
+
total_assets: components["schemas"]["BigIntStr"];
|
|
587
|
+
total_supply: components["schemas"]["BigIntStr"];
|
|
588
|
+
timestamp: number;
|
|
589
|
+
}[];
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
put?: never;
|
|
595
|
+
post?: never;
|
|
596
|
+
delete?: never;
|
|
597
|
+
options?: never;
|
|
598
|
+
head?: never;
|
|
599
|
+
patch?: never;
|
|
600
|
+
trace?: never;
|
|
601
|
+
};
|
|
602
|
+
"/earn/{vault}/stats-by-day": {
|
|
603
|
+
parameters: {
|
|
604
|
+
query?: never;
|
|
605
|
+
header?: never;
|
|
606
|
+
path?: never;
|
|
607
|
+
cookie?: never;
|
|
608
|
+
};
|
|
609
|
+
get: {
|
|
610
|
+
parameters: {
|
|
611
|
+
query: {
|
|
612
|
+
days: "30" | "60" | "90" | "365";
|
|
613
|
+
};
|
|
614
|
+
header?: never;
|
|
615
|
+
path: {
|
|
616
|
+
vault: components["schemas"]["EvmAddress"];
|
|
617
|
+
};
|
|
618
|
+
cookie?: never;
|
|
619
|
+
};
|
|
620
|
+
requestBody?: never;
|
|
621
|
+
responses: {
|
|
622
|
+
200: {
|
|
623
|
+
headers: {
|
|
624
|
+
[name: string]: unknown;
|
|
625
|
+
};
|
|
626
|
+
content: {
|
|
627
|
+
"application/json": {
|
|
628
|
+
total_assets: components["schemas"]["BigIntStr"];
|
|
629
|
+
total_supply: components["schemas"]["BigIntStr"];
|
|
630
|
+
timestamp: number;
|
|
631
|
+
}[];
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
put?: never;
|
|
637
|
+
post?: never;
|
|
638
|
+
delete?: never;
|
|
639
|
+
options?: never;
|
|
640
|
+
head?: never;
|
|
641
|
+
patch?: never;
|
|
642
|
+
trace?: never;
|
|
643
|
+
};
|
|
644
|
+
"/earn/{vault}/daily-assets/{owner}": {
|
|
645
|
+
parameters: {
|
|
646
|
+
query?: never;
|
|
647
|
+
header?: never;
|
|
648
|
+
path?: never;
|
|
649
|
+
cookie?: never;
|
|
650
|
+
};
|
|
651
|
+
get: {
|
|
652
|
+
parameters: {
|
|
653
|
+
query?: {
|
|
654
|
+
start?: string;
|
|
655
|
+
};
|
|
656
|
+
header?: never;
|
|
657
|
+
path: {
|
|
658
|
+
vault: components["schemas"]["EvmAddress"];
|
|
659
|
+
owner: components["schemas"]["EvmAddress"];
|
|
660
|
+
};
|
|
661
|
+
cookie?: never;
|
|
662
|
+
};
|
|
663
|
+
requestBody?: never;
|
|
664
|
+
responses: {
|
|
665
|
+
200: {
|
|
666
|
+
headers: {
|
|
667
|
+
[name: string]: unknown;
|
|
668
|
+
};
|
|
669
|
+
content: {
|
|
670
|
+
"application/json": {
|
|
671
|
+
timestamp: number;
|
|
672
|
+
balance: number;
|
|
673
|
+
deposited: number;
|
|
674
|
+
yield: number;
|
|
675
|
+
}[];
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
put?: never;
|
|
681
|
+
post?: never;
|
|
682
|
+
delete?: never;
|
|
683
|
+
options?: never;
|
|
684
|
+
head?: never;
|
|
685
|
+
patch?: never;
|
|
686
|
+
trace?: never;
|
|
687
|
+
};
|
|
430
688
|
};
|
|
431
689
|
type webhooks = Record<string, never>;
|
|
432
690
|
type components = {
|
|
@@ -469,5 +727,9 @@ type VaultDailyAssetResponse = paths["/vaults/{vault}/daily-assets/{owner}"]["ge
|
|
|
469
727
|
type ValidatorsResponse = paths["/validators"]["get"]["responses"][200]["content"]["application/json"];
|
|
470
728
|
type HoneyTransactionsLatestResponse = paths["/honey/transactions/latest"]["get"]["responses"][200]["content"]["application/json"];
|
|
471
729
|
type HoneySnapshotResponse = paths["/honey/snapshots/{interval}"]["get"]["responses"][200]["content"]["application/json"];
|
|
730
|
+
type EarnEarningResponse = paths["/earn/{vault}/earnings/{owner}"]["get"]["responses"][200]["content"]["application/json"];
|
|
731
|
+
type EarnTotalAssetsByDayResponse = paths["/earn/{vault}/total-assets-by-day"]["get"]["responses"][200]["content"]["application/json"];
|
|
732
|
+
type EarnStatsByDayResponse = paths["/earn/{vault}/stats-by-day"]["get"]["responses"][200]["content"]["application/json"];
|
|
733
|
+
type EarnDailyAssetResponse = paths["/earn/{vault}/daily-assets/{owner}"]["get"]["responses"][200]["content"]["application/json"];
|
|
472
734
|
|
|
473
|
-
export type { $defs, ApiGetResponse, ApiSchema, BigIntStr, BigUintStr, EvmAddress, HoneySnapshotResponse, HoneyTransactionsLatestResponse, ValidatorsResponse, VaultDailyAssetResponse, VaultDailyYieldResponse, VaultEarningResponse, VaultRewardsReceivedResponse, VaultStatsByDayResponse, components, operations, paths, webhooks };
|
|
735
|
+
export type { $defs, ApiGetResponse, ApiSchema, BigIntStr, BigUintStr, EarnDailyAssetResponse, EarnEarningResponse, EarnStatsByDayResponse, EarnTotalAssetsByDayResponse, EvmAddress, HoneySnapshotResponse, HoneyTransactionsLatestResponse, ValidatorsResponse, VaultDailyAssetResponse, VaultDailyYieldResponse, VaultEarningResponse, VaultRewardsReceivedResponse, VaultStatsByDayResponse, components, operations, paths, webhooks };
|
package/dist/dex/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var y=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var tt=Object.prototype.hasOwnProperty;var at=(c,u)=>{for(var t in u)y(c,t,{get:u[t],enumerable:!0})},et=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of Z(u))!tt.call(c,n)&&n!==t&&y(c,n,{get:()=>u[n],enumerable:!(e=j(u,n))||e.enumerable});return c};var ot=c=>et(y({},"__esModule",{value:!0}),c);var yt={};at(yt,{DynamicData:()=>S,GetGlobalLiquidityAndSwapVolume:()=>ut,GetPool:()=>nt,GetPoolEvents:()=>st,GetPoolHistoricalData:()=>lt,GetPools:()=>rt,GetTokenCurrentPrices:()=>it,GqlChain:()=>d,GqlPoolAddRemoveEventV3:()=>z,GqlPoolAprItemType:()=>g,GqlPoolEventType:()=>G,GqlPoolEventsDataRange:()=>b,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>P,GqlPoolNestingType:()=>A,GqlPoolOrderBy:()=>I,GqlPoolOrderDirection:()=>_,GqlPoolSnapshotDataRange:()=>h,GqlPoolSwapEventCowAmm:()=>K,GqlPoolSwapEventV3:()=>J,GqlPoolType:()=>D,GqlRewardVaultIncentiveOrderBy:()=>B,GqlRewardVaultIncentiveOrderDirection:()=>T,GqlRewardVaultOrderBy:()=>
|
|
1
|
+
"use strict";var y=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var tt=Object.prototype.hasOwnProperty;var at=(c,u)=>{for(var t in u)y(c,t,{get:u[t],enumerable:!0})},et=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of Z(u))!tt.call(c,n)&&n!==t&&y(c,n,{get:()=>u[n],enumerable:!(e=j(u,n))||e.enumerable});return c};var ot=c=>et(y({},"__esModule",{value:!0}),c);var yt={};at(yt,{DynamicData:()=>S,GetGlobalLiquidityAndSwapVolume:()=>ut,GetPool:()=>nt,GetPoolEvents:()=>st,GetPoolHistoricalData:()=>lt,GetPools:()=>rt,GetTokenCurrentPrices:()=>it,GqlChain:()=>d,GqlPoolAddRemoveEventV3:()=>z,GqlPoolAprItemType:()=>g,GqlPoolEventType:()=>G,GqlPoolEventsDataRange:()=>b,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>P,GqlPoolNestingType:()=>A,GqlPoolOrderBy:()=>I,GqlPoolOrderDirection:()=>_,GqlPoolSnapshotDataRange:()=>h,GqlPoolSwapEventCowAmm:()=>K,GqlPoolSwapEventV3:()=>J,GqlPoolType:()=>D,GqlRewardVaultIncentiveOrderBy:()=>B,GqlRewardVaultIncentiveOrderDirection:()=>T,GqlRewardVaultOrderBy:()=>v,GqlRewardVaultOrderDirection:()=>M,GqlRewardVaultSnapshotDataRange:()=>k,GqlRewardVaultSnapshotResolution:()=>x,GqlSWberaVaultMetadataResolution:()=>w,GqlSorSwapType:()=>V,GqlTokenChartDataRange:()=>R,GqlTokenType:()=>C,GqlUserVaultDepositOrderBy:()=>E,GqlUserVaultDepositOrderDirection:()=>f,GqlValidatorBlockUptimeStatus:()=>U,GqlValidatorBoostOrderBy:()=>F,GqlValidatorBoostOrderDirection:()=>$,GqlValidatorOrderBy:()=>N,GqlValidatorOrderDirection:()=>L,GqlVaultSnapshotDataRange:()=>H,MinimalPool:()=>Q,MinimalPoolInList:()=>O,PoolEvent:()=>X,PoolHistoricalData:()=>Y,RewardVault:()=>m,UserBalance:()=>W,default:()=>ct});module.exports=ot(yt);var r=require("@apollo/client"),d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),g=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(g||{}),G=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(G||{}),b=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(b||{}),q=(p=>(p.BlackListed="BLACK_LISTED",p.Featured="FEATURED",p.Incentivized="INCENTIVIZED",p.Lrt="LRT",p.Points="POINTS",p.PointsEigenlayer="POINTS_EIGENLAYER",p.PointsGyro="POINTS_GYRO",p.PointsKelp="POINTS_KELP",p.PointsRenzo="POINTS_RENZO",p.PointsSwell="POINTS_SWELL",p.Superfest="SUPERFEST",p))(q||{}),P=(t=>(t.Exit="Exit",t.Join="Join",t))(P||{}),A=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(A||{}),I=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(I||{}),_=(t=>(t.Asc="asc",t.Desc="desc",t))(_||{}),h=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(h||{}),D=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(D||{}),B=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(B||{}),T=(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),v=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),k=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(k||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),w=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(w||{}),V=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(V||{}),R=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(R||{}),C=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(C||{}),E=(u=>(u.Amount="amount",u))(E||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),U=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(U||{}),F=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(F||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),N=(l=>(l.ActiveBoostAmount="activeBoostAmount",l.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",l.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",l.Apy="apy",l.BgtCapturePercentage="bgtCapturePercentage",l.BoostApr="boostApr",l.CommissionOnIncentives="commissionOnIncentives",l.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",l.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",l.QueuedBoostAmount="queuedBoostAmount",l.QueuedDropBoostAmount="queuedDropBoostAmount",l.RewardRate="rewardRate",l.StakedBeraAmount="stakedBeraAmount",l.UsersActiveBoostCount="usersActiveBoostCount",l.UsersQueuedBoostCount="usersQueuedBoostCount",l))(N||{}),L=(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(H||{}),S=r.gql`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -2111,33 +2111,22 @@ type Query = {
|
|
|
2111
2111
|
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2112
2112
|
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2113
2113
|
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2114
|
-
/**
|
|
2114
|
+
/**
|
|
2115
|
+
* Get swap quote from the SOR v2 for the V2 vault
|
|
2116
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2117
|
+
*/
|
|
2115
2118
|
sorGetSwapPaths: GqlSorGetSwapPaths;
|
|
2116
|
-
/** Get swap quote from the SOR, queries both the old and new SOR */
|
|
2117
|
-
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2118
2119
|
/**
|
|
2119
|
-
*
|
|
2120
|
-
* @deprecated
|
|
2120
|
+
* Get swap quote from the SOR, queries both the old and new SOR
|
|
2121
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2121
2122
|
*/
|
|
2122
|
-
|
|
2123
|
+
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2123
2124
|
/** Returns the current price for a given token */
|
|
2124
2125
|
tokenGetCurrentPrice: GqlTokenPrice;
|
|
2125
2126
|
/** Returns all current prices for allowed tokens for a given chain or chains */
|
|
2126
2127
|
tokenGetCurrentPrices: Array<GqlTokenPrice>;
|
|
2127
2128
|
/** Returns the historical prices for a given set of tokens for a given chain and range */
|
|
2128
2129
|
tokenGetHistoricalPrices: Array<GqlHistoricalTokenPrice>;
|
|
2129
|
-
/**
|
|
2130
|
-
* DEPRECATED: Returns pricing data for a given token for a given range
|
|
2131
|
-
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2132
|
-
*/
|
|
2133
|
-
tokenGetPriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2134
|
-
/**
|
|
2135
|
-
* Returns the price of either BAL or BEETS depending on chain
|
|
2136
|
-
* @deprecated Use tokenGetTokensDynamicData instead
|
|
2137
|
-
*/
|
|
2138
|
-
tokenGetProtocolTokenPrice: Scalars['AmountHumanReadable']['output'];
|
|
2139
|
-
/** Returns the price of a token priced in another token for a given range. */
|
|
2140
|
-
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2141
2130
|
/** Returns a token for a given address and chain */
|
|
2142
2131
|
tokenGetToken: GqlToken;
|
|
2143
2132
|
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
@@ -2305,11 +2294,6 @@ type QuerySorGetSwapsArgs = {
|
|
|
2305
2294
|
tokenIn: Scalars['String']['input'];
|
|
2306
2295
|
tokenOut: Scalars['String']['input'];
|
|
2307
2296
|
};
|
|
2308
|
-
type QueryTokenGetCandlestickChartDataArgs = {
|
|
2309
|
-
address: Scalars['String']['input'];
|
|
2310
|
-
chain?: InputMaybe<GqlChain>;
|
|
2311
|
-
range: GqlTokenChartDataRange;
|
|
2312
|
-
};
|
|
2313
2297
|
type QueryTokenGetCurrentPriceArgs = {
|
|
2314
2298
|
address: Scalars['String']['input'];
|
|
2315
2299
|
chain: GqlChain;
|
|
@@ -2323,20 +2307,6 @@ type QueryTokenGetHistoricalPricesArgs = {
|
|
|
2323
2307
|
chain: GqlChain;
|
|
2324
2308
|
range: GqlTokenChartDataRange;
|
|
2325
2309
|
};
|
|
2326
|
-
type QueryTokenGetPriceChartDataArgs = {
|
|
2327
|
-
address: Scalars['String']['input'];
|
|
2328
|
-
chain?: InputMaybe<GqlChain>;
|
|
2329
|
-
range: GqlTokenChartDataRange;
|
|
2330
|
-
};
|
|
2331
|
-
type QueryTokenGetProtocolTokenPriceArgs = {
|
|
2332
|
-
chain?: InputMaybe<GqlChain>;
|
|
2333
|
-
};
|
|
2334
|
-
type QueryTokenGetRelativePriceChartDataArgs = {
|
|
2335
|
-
chain?: InputMaybe<GqlChain>;
|
|
2336
|
-
range: GqlTokenChartDataRange;
|
|
2337
|
-
tokenIn: Scalars['String']['input'];
|
|
2338
|
-
tokenOut: Scalars['String']['input'];
|
|
2339
|
-
};
|
|
2340
2310
|
type QueryTokenGetTokenArgs = {
|
|
2341
2311
|
address: Scalars['String']['input'];
|
|
2342
2312
|
chain: GqlChain;
|
|
@@ -3650,4 +3620,4 @@ interface PossibleTypesResultData {
|
|
|
3650
3620
|
}
|
|
3651
3621
|
declare const result: PossibleTypesResultData;
|
|
3652
3622
|
|
|
3653
|
-
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type
|
|
3623
|
+
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
|
@@ -2111,33 +2111,22 @@ type Query = {
|
|
|
2111
2111
|
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2112
2112
|
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2113
2113
|
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2114
|
-
/**
|
|
2114
|
+
/**
|
|
2115
|
+
* Get swap quote from the SOR v2 for the V2 vault
|
|
2116
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2117
|
+
*/
|
|
2115
2118
|
sorGetSwapPaths: GqlSorGetSwapPaths;
|
|
2116
|
-
/** Get swap quote from the SOR, queries both the old and new SOR */
|
|
2117
|
-
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2118
2119
|
/**
|
|
2119
|
-
*
|
|
2120
|
-
* @deprecated
|
|
2120
|
+
* Get swap quote from the SOR, queries both the old and new SOR
|
|
2121
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2121
2122
|
*/
|
|
2122
|
-
|
|
2123
|
+
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2123
2124
|
/** Returns the current price for a given token */
|
|
2124
2125
|
tokenGetCurrentPrice: GqlTokenPrice;
|
|
2125
2126
|
/** Returns all current prices for allowed tokens for a given chain or chains */
|
|
2126
2127
|
tokenGetCurrentPrices: Array<GqlTokenPrice>;
|
|
2127
2128
|
/** Returns the historical prices for a given set of tokens for a given chain and range */
|
|
2128
2129
|
tokenGetHistoricalPrices: Array<GqlHistoricalTokenPrice>;
|
|
2129
|
-
/**
|
|
2130
|
-
* DEPRECATED: Returns pricing data for a given token for a given range
|
|
2131
|
-
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2132
|
-
*/
|
|
2133
|
-
tokenGetPriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2134
|
-
/**
|
|
2135
|
-
* Returns the price of either BAL or BEETS depending on chain
|
|
2136
|
-
* @deprecated Use tokenGetTokensDynamicData instead
|
|
2137
|
-
*/
|
|
2138
|
-
tokenGetProtocolTokenPrice: Scalars['AmountHumanReadable']['output'];
|
|
2139
|
-
/** Returns the price of a token priced in another token for a given range. */
|
|
2140
|
-
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2141
2130
|
/** Returns a token for a given address and chain */
|
|
2142
2131
|
tokenGetToken: GqlToken;
|
|
2143
2132
|
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
@@ -2305,11 +2294,6 @@ type QuerySorGetSwapsArgs = {
|
|
|
2305
2294
|
tokenIn: Scalars['String']['input'];
|
|
2306
2295
|
tokenOut: Scalars['String']['input'];
|
|
2307
2296
|
};
|
|
2308
|
-
type QueryTokenGetCandlestickChartDataArgs = {
|
|
2309
|
-
address: Scalars['String']['input'];
|
|
2310
|
-
chain?: InputMaybe<GqlChain>;
|
|
2311
|
-
range: GqlTokenChartDataRange;
|
|
2312
|
-
};
|
|
2313
2297
|
type QueryTokenGetCurrentPriceArgs = {
|
|
2314
2298
|
address: Scalars['String']['input'];
|
|
2315
2299
|
chain: GqlChain;
|
|
@@ -2323,20 +2307,6 @@ type QueryTokenGetHistoricalPricesArgs = {
|
|
|
2323
2307
|
chain: GqlChain;
|
|
2324
2308
|
range: GqlTokenChartDataRange;
|
|
2325
2309
|
};
|
|
2326
|
-
type QueryTokenGetPriceChartDataArgs = {
|
|
2327
|
-
address: Scalars['String']['input'];
|
|
2328
|
-
chain?: InputMaybe<GqlChain>;
|
|
2329
|
-
range: GqlTokenChartDataRange;
|
|
2330
|
-
};
|
|
2331
|
-
type QueryTokenGetProtocolTokenPriceArgs = {
|
|
2332
|
-
chain?: InputMaybe<GqlChain>;
|
|
2333
|
-
};
|
|
2334
|
-
type QueryTokenGetRelativePriceChartDataArgs = {
|
|
2335
|
-
chain?: InputMaybe<GqlChain>;
|
|
2336
|
-
range: GqlTokenChartDataRange;
|
|
2337
|
-
tokenIn: Scalars['String']['input'];
|
|
2338
|
-
tokenOut: Scalars['String']['input'];
|
|
2339
|
-
};
|
|
2340
2310
|
type QueryTokenGetTokenArgs = {
|
|
2341
2311
|
address: Scalars['String']['input'];
|
|
2342
2312
|
chain: GqlChain;
|
|
@@ -3650,4 +3620,4 @@ interface PossibleTypesResultData {
|
|
|
3650
3620
|
}
|
|
3651
3621
|
declare const result: PossibleTypesResultData;
|
|
3652
3622
|
|
|
3653
|
-
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type
|
|
3623
|
+
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
package/dist/dex/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as r}from"@apollo/client";var S=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(S||{}),m=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(m||{}),d=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(d||{}),g=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(g||{}),G=(i=>(i.BlackListed="BLACK_LISTED",i.Featured="FEATURED",i.Incentivized="INCENTIVIZED",i.Lrt="LRT",i.Points="POINTS",i.PointsEigenlayer="POINTS_EIGENLAYER",i.PointsGyro="POINTS_GYRO",i.PointsKelp="POINTS_KELP",i.PointsRenzo="POINTS_RENZO",i.PointsSwell="POINTS_SWELL",i.Superfest="SUPERFEST",i))(G||{}),b=(t=>(t.Exit="Exit",t.Join="Join",t))(b||{}),q=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(q||{}),P=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(P||{}),A=(t=>(t.Asc="asc",t.Desc="desc",t))(A||{}),I=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(I||{}),_=(l=>(l.ComposableStable="COMPOSABLE_STABLE",l.CowAmm="COW_AMM",l.Element="ELEMENT",l.Fx="FX",l.Gyro="GYRO",l.Gyro3="GYRO3",l.Gyroe="GYROE",l.Investment="INVESTMENT",l.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",l.MetaStable="META_STABLE",l.PhantomStable="PHANTOM_STABLE",l.Stable="STABLE",l.Unknown="UNKNOWN",l.Weighted="WEIGHTED",l))(_||{}),h=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(h||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),B=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(B||{}),T=(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),
|
|
1
|
+
import{gql as r}from"@apollo/client";var S=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(S||{}),m=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(m||{}),d=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(d||{}),g=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(g||{}),G=(i=>(i.BlackListed="BLACK_LISTED",i.Featured="FEATURED",i.Incentivized="INCENTIVIZED",i.Lrt="LRT",i.Points="POINTS",i.PointsEigenlayer="POINTS_EIGENLAYER",i.PointsGyro="POINTS_GYRO",i.PointsKelp="POINTS_KELP",i.PointsRenzo="POINTS_RENZO",i.PointsSwell="POINTS_SWELL",i.Superfest="SUPERFEST",i))(G||{}),b=(t=>(t.Exit="Exit",t.Join="Join",t))(b||{}),q=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(q||{}),P=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(P||{}),A=(t=>(t.Asc="asc",t.Desc="desc",t))(A||{}),I=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(I||{}),_=(l=>(l.ComposableStable="COMPOSABLE_STABLE",l.CowAmm="COW_AMM",l.Element="ELEMENT",l.Fx="FX",l.Gyro="GYRO",l.Gyro3="GYRO3",l.Gyroe="GYROE",l.Investment="INVESTMENT",l.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",l.MetaStable="META_STABLE",l.PhantomStable="PHANTOM_STABLE",l.Stable="STABLE",l.Unknown="UNKNOWN",l.Weighted="WEIGHTED",l))(_||{}),h=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(h||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),B=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(B||{}),T=(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),v=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(v||{}),M=(t=>(t.Day="DAY",t.Hour="HOUR",t))(M||{}),k=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(k||{}),x=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(x||{}),w=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(w||{}),V=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(V||{}),R=(y=>(y.Amount="amount",y))(R||{}),C=(t=>(t.Asc="asc",t.Desc="desc",t))(C||{}),E=(u=>(u.Inactive="INACTIVE",u.Offline="OFFLINE",u.Proposed="PROPOSED",u.Signed="SIGNED",u))(E||{}),f=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(f||{}),U=(t=>(t.Asc="asc",t.Desc="desc",t))(U||{}),F=(n=>(n.ActiveBoostAmount="activeBoostAmount",n.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",n.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.BoostApr="boostApr",n.CommissionOnIncentives="commissionOnIncentives",n.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",n.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",n.QueuedBoostAmount="queuedBoostAmount",n.QueuedDropBoostAmount="queuedDropBoostAmount",n.RewardRate="rewardRate",n.StakedBeraAmount="stakedBeraAmount",n.UsersActiveBoostCount="usersActiveBoostCount",n.UsersQueuedBoostCount="usersQueuedBoostCount",n))(F||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),N=(u=>(u.NinetyDays="NINETY_DAYS",u.SevenDays="SEVEN_DAYS",u.SixtyDays="SIXTY_DAYS",u.ThirtyDays="THIRTY_DAYS",u))(N||{}),p=r`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -196,4 +196,4 @@ ${K}`,j=r`
|
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,z={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},rt=z;export{p as DynamicData,ot as GetGlobalLiquidityAndSwapVolume,Z as GetPool,at as GetPoolEvents,tt as GetPoolHistoricalData,j as GetPools,et as GetTokenCurrentPrices,S as GqlChain,K as GqlPoolAddRemoveEventV3,m as GqlPoolAprItemType,d as GqlPoolEventType,g as GqlPoolEventsDataRange,G as GqlPoolFilterCategory,b as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,A as GqlPoolOrderDirection,I as GqlPoolSnapshotDataRange,Q as GqlPoolSwapEventCowAmm,Y as GqlPoolSwapEventV3,_ as GqlPoolType,h as GqlRewardVaultIncentiveOrderBy,D as GqlRewardVaultIncentiveOrderDirection,B as GqlRewardVaultOrderBy,T as GqlRewardVaultOrderDirection,
|
|
199
|
+
`,z={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},rt=z;export{p as DynamicData,ot as GetGlobalLiquidityAndSwapVolume,Z as GetPool,at as GetPoolEvents,tt as GetPoolHistoricalData,j as GetPools,et as GetTokenCurrentPrices,S as GqlChain,K as GqlPoolAddRemoveEventV3,m as GqlPoolAprItemType,d as GqlPoolEventType,g as GqlPoolEventsDataRange,G as GqlPoolFilterCategory,b as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,A as GqlPoolOrderDirection,I as GqlPoolSnapshotDataRange,Q as GqlPoolSwapEventCowAmm,Y as GqlPoolSwapEventV3,_ as GqlPoolType,h as GqlRewardVaultIncentiveOrderBy,D as GqlRewardVaultIncentiveOrderDirection,B as GqlRewardVaultOrderBy,T as GqlRewardVaultOrderDirection,v as GqlRewardVaultSnapshotDataRange,M as GqlRewardVaultSnapshotResolution,k as GqlSWberaVaultMetadataResolution,x as GqlSorSwapType,w as GqlTokenChartDataRange,V as GqlTokenType,R as GqlUserVaultDepositOrderBy,C as GqlUserVaultDepositOrderDirection,E as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,U as GqlValidatorBoostOrderDirection,F as GqlValidatorOrderBy,$ as GqlValidatorOrderDirection,N as GqlVaultSnapshotDataRange,W as MinimalPool,H as MinimalPoolInList,J as PoolEvent,O as PoolHistoricalData,c as RewardVault,L as UserBalance,rt as default};
|