@berachain/graphql 0.1.0-alpha.7 → 0.1.0-alpha.8
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/bend/whisk.codegen.d.ts +15 -15
- package/dist/bend/whisk.codegen.js +15 -15
- package/dist/chain/chain.codegen.d.ts +2 -2
- package/dist/chain/chain.codegen.js +2 -2
- package/dist/dex/api.codegen.d.ts +47 -44
- package/dist/dex/api.codegen.js +18 -18
- package/dist/dex/subgraph.codegen.d.ts +9 -9
- package/dist/dex/subgraph.codegen.js +9 -9
- package/dist/governance/governance.codegen.d.ts +9 -9
- package/dist/governance/governance.codegen.js +9 -9
- package/dist/honey/honey.codegen.d.ts +10 -10
- package/dist/honey/honey.codegen.js +10 -10
- package/dist/pol/api.codegen.d.ts +56 -53
- package/dist/pol/api.codegen.js +21 -21
- package/dist/pol/subgraph.codegen.d.ts +20 -20
- package/dist/pol/subgraph.codegen.js +20 -20
- package/package.json +2 -10
- package/dist/bend/whisk.codegen.cjs +0 -424
- package/dist/bend/whisk.codegen.d.cts +0 -1798
- package/dist/chain/chain.codegen.cjs +0 -12
- package/dist/chain/chain.codegen.d.cts +0 -376
- package/dist/chunk-2NNMCPDS.cjs +0 -1
- package/dist/chunk-JUYCSGOC.js +0 -1
- package/dist/dex/api.codegen.cjs +0 -199
- package/dist/dex/api.codegen.d.cts +0 -3833
- package/dist/dex/subgraph.codegen.cjs +0 -88
- package/dist/dex/subgraph.codegen.d.cts +0 -5887
- package/dist/governance/governance.codegen.cjs +0 -116
- package/dist/governance/governance.codegen.d.cts +0 -1622
- package/dist/honey/honey.codegen.cjs +0 -104
- package/dist/honey/honey.codegen.d.cts +0 -936
- package/dist/pol/api.codegen.cjs +0 -301
- package/dist/pol/api.codegen.d.cts +0 -3619
- package/dist/pol/subgraph.codegen.cjs +0 -197
- package/dist/pol/subgraph.codegen.d.cts +0 -4671
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -1750,14 +1750,14 @@ type GetAccountIsOfacSanctionedQuery = {
|
|
|
1750
1750
|
isOfacSanctioned: boolean;
|
|
1751
1751
|
} | null;
|
|
1752
1752
|
};
|
|
1753
|
-
declare const ChainInfoFragment:
|
|
1754
|
-
declare const TokenInfoFragment:
|
|
1755
|
-
declare const CuratorInfoFragment:
|
|
1756
|
-
declare const ApyFragment:
|
|
1757
|
-
declare const VaultSummaryFragment:
|
|
1758
|
-
declare const MarketSummaryFragment:
|
|
1759
|
-
declare const VaultSummaries:
|
|
1760
|
-
declare const MarketSummaries:
|
|
1753
|
+
declare const ChainInfoFragment: _apollo_client.DocumentNode;
|
|
1754
|
+
declare const TokenInfoFragment: _apollo_client.DocumentNode;
|
|
1755
|
+
declare const CuratorInfoFragment: _apollo_client.DocumentNode;
|
|
1756
|
+
declare const ApyFragment: _apollo_client.DocumentNode;
|
|
1757
|
+
declare const VaultSummaryFragment: _apollo_client.DocumentNode;
|
|
1758
|
+
declare const MarketSummaryFragment: _apollo_client.DocumentNode;
|
|
1759
|
+
declare const VaultSummaries: _apollo_client.DocumentNode;
|
|
1760
|
+
declare const MarketSummaries: _apollo_client.DocumentNode;
|
|
1761
1761
|
/** Vault */
|
|
1762
1762
|
type Vault = {
|
|
1763
1763
|
__typename?: 'Vault';
|
|
@@ -1782,12 +1782,12 @@ type Vault = {
|
|
|
1782
1782
|
/** Address of the vault */
|
|
1783
1783
|
vaultAddress: Scalars['Address']['output'];
|
|
1784
1784
|
};
|
|
1785
|
-
declare const Vault:
|
|
1786
|
-
declare const Market:
|
|
1787
|
-
declare const VaultPositions:
|
|
1788
|
-
declare const MarketPositions:
|
|
1789
|
-
declare const SupportedMarketIds:
|
|
1790
|
-
declare const GetAccountIsOfacSanctioned:
|
|
1785
|
+
declare const Vault: _apollo_client.DocumentNode;
|
|
1786
|
+
declare const Market: _apollo_client.DocumentNode;
|
|
1787
|
+
declare const VaultPositions: _apollo_client.DocumentNode;
|
|
1788
|
+
declare const MarketPositions: _apollo_client.DocumentNode;
|
|
1789
|
+
declare const SupportedMarketIds: _apollo_client.DocumentNode;
|
|
1790
|
+
declare const GetAccountIsOfacSanctioned: _apollo_client.DocumentNode;
|
|
1791
1791
|
interface PossibleTypesResultData {
|
|
1792
1792
|
possibleTypes: {
|
|
1793
1793
|
[key: string]: string[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _client = require('@apollo/client');var y=(n=>(n.Borrow="Borrow",n.Supply="Supply",n))(y||{}),m= exports.IdentityResolver =(r=>(r.Base="base",r.Ens="ens",r.Farcaster="farcaster",r.Lens="lens",r.Nns="nns",r.Uni="uni",r.World="world",r))(m||{}),d= exports.MerklAction =(n=>(n.Borrow="Borrow",n.Lend="Lend",n))(d||{}),c= exports.TokenCategory =(a=>(a.Btc="Btc",a.Eth="Eth",a.Stable="Stable",a))(c||{}),g= exports.VaultProtocol =(e=>(e.Enzyme="enzyme",e.EulerV2="euler_v2",e.Gearbox="gearbox",e.Lista="lista",e.Mellow="mellow",e.Midas="midas",e.Morpho="morpho",e.Napier="napier",e.Pendle="pendle",e.Reserve="reserve",e.Silo="silo",e.TurtleClub="turtle_club",e))(g||{}),A= exports.VaultType =(a=>(a.Index="index",a.Lending="lending",a.Staking="staking",a))(A||{}),s= exports.ChainInfoFragment =_client.gql`
|
|
2
2
|
fragment ChainInfoFragment on Chain {
|
|
3
3
|
id
|
|
4
4
|
name
|
|
5
5
|
icon
|
|
6
6
|
}
|
|
7
|
-
`,o=
|
|
7
|
+
`,o= exports.TokenInfoFragment =_client.gql`
|
|
8
8
|
fragment TokenInfoFragment on Token {
|
|
9
9
|
address
|
|
10
10
|
symbol
|
|
@@ -12,13 +12,13 @@ import{a as t}from"../chunk-JUYCSGOC.js";var y=(n=>(n.Borrow="Borrow",n.Supply="
|
|
|
12
12
|
icon
|
|
13
13
|
category
|
|
14
14
|
}
|
|
15
|
-
`,u=
|
|
15
|
+
`,u= exports.CuratorInfoFragment =_client.gql`
|
|
16
16
|
fragment CuratorInfoFragment on Curator {
|
|
17
17
|
name
|
|
18
18
|
image
|
|
19
19
|
url
|
|
20
20
|
}
|
|
21
|
-
`,i=
|
|
21
|
+
`,i= exports.ApyFragment =_client.gql`
|
|
22
22
|
fragment ApyFragment on Apy {
|
|
23
23
|
base
|
|
24
24
|
rewards {
|
|
@@ -30,7 +30,7 @@ import{a as t}from"../chunk-JUYCSGOC.js";var y=(n=>(n.Borrow="Borrow",n.Supply="
|
|
|
30
30
|
total
|
|
31
31
|
fee
|
|
32
32
|
}
|
|
33
|
-
${o}`,p=
|
|
33
|
+
${o}`,p= exports.VaultSummaryFragment =_client.gql`
|
|
34
34
|
fragment VaultSummaryFragment on MorphoVault {
|
|
35
35
|
chain {
|
|
36
36
|
...ChainInfoFragment
|
|
@@ -78,7 +78,7 @@ import{a as t}from"../chunk-JUYCSGOC.js";var y=(n=>(n.Borrow="Borrow",n.Supply="
|
|
|
78
78
|
${s}
|
|
79
79
|
${o}
|
|
80
80
|
${u}
|
|
81
|
-
${i}`,l=
|
|
81
|
+
${i}`,l= exports.MarketSummaryFragment =_client.gql`
|
|
82
82
|
fragment MarketSummaryFragment on MorphoMarket {
|
|
83
83
|
chain {
|
|
84
84
|
...ChainInfoFragment
|
|
@@ -134,7 +134,7 @@ ${i}`,l=t`
|
|
|
134
134
|
}
|
|
135
135
|
${s}
|
|
136
136
|
${o}
|
|
137
|
-
${i}`,h=
|
|
137
|
+
${i}`,h= exports.VaultSummaries =_client.gql`
|
|
138
138
|
query VaultSummaries($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
139
139
|
morphoVaults(
|
|
140
140
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}
|
|
@@ -148,7 +148,7 @@ ${i}`,h=t`
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
${p}`,k=
|
|
151
|
+
${p}`,k= exports.MarketSummaries =_client.gql`
|
|
152
152
|
query MarketSummaries($chainIds: [ChainId!]!, $marketIds: [Hex!]!) {
|
|
153
153
|
morphoMarkets(
|
|
154
154
|
where: {chainId_in: $chainIds, marketId_in: $marketIds}
|
|
@@ -162,7 +162,7 @@ ${i}`,h=t`
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
${l}`,M=
|
|
165
|
+
${l}`,M= exports.Vault =_client.gql`
|
|
166
166
|
query Vault($chainId: ChainId!, $vaultAddress: Address!) {
|
|
167
167
|
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultAddress]}) {
|
|
168
168
|
items {
|
|
@@ -242,7 +242,7 @@ ${i}`,h=t`
|
|
|
242
242
|
${p}
|
|
243
243
|
${s}
|
|
244
244
|
${o}
|
|
245
|
-
${i}`,S=
|
|
245
|
+
${i}`,S= exports.Market =_client.gql`
|
|
246
246
|
query Market($chainId: ChainId!, $marketId: Hex!) {
|
|
247
247
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
248
248
|
items {
|
|
@@ -329,7 +329,7 @@ ${i}`,S=t`
|
|
|
329
329
|
${l}
|
|
330
330
|
${o}
|
|
331
331
|
${s}
|
|
332
|
-
${u}`,I=
|
|
332
|
+
${u}`,I= exports.VaultPositions =_client.gql`
|
|
333
333
|
query VaultPositions($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!, $accountAddress: Address!) {
|
|
334
334
|
morphoVaultPositions(
|
|
335
335
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses, accountAddress_in: [$accountAddress]}
|
|
@@ -357,7 +357,7 @@ ${u}`,I=t`
|
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
`,x=
|
|
360
|
+
`,x= exports.MarketPositions =_client.gql`
|
|
361
361
|
query MarketPositions($chainIds: [ChainId!]!, $marketIds: [Hex!]!, $accountAddress: Address!) {
|
|
362
362
|
morphoMarketPositions(
|
|
363
363
|
where: {chainId_in: $chainIds, marketId_in: $marketIds, accountAddress_in: [$accountAddress]}
|
|
@@ -400,7 +400,7 @@ ${u}`,I=t`
|
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
`,T=
|
|
403
|
+
`,T= exports.SupportedMarketIds =_client.gql`
|
|
404
404
|
query SupportedMarketIds($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
405
405
|
morphoVaults(where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}) {
|
|
406
406
|
items {
|
|
@@ -415,10 +415,10 @@ ${u}`,I=t`
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
`,f=
|
|
418
|
+
`,f= exports.GetAccountIsOfacSanctioned =_client.gql`
|
|
419
419
|
query getAccountIsOfacSanctioned($address: Address!) {
|
|
420
420
|
identity(address: $address) {
|
|
421
421
|
isOfacSanctioned
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
`,_={possibleTypes:{}},w=_;
|
|
424
|
+
`,_={possibleTypes:{}},w= exports.default =_;exports.ApyFragment = i; exports.ApySide = y; exports.ChainInfoFragment = s; exports.CuratorInfoFragment = u; exports.GetAccountIsOfacSanctioned = f; exports.IdentityResolver = m; exports.Market = S; exports.MarketPositions = x; exports.MarketSummaries = k; exports.MarketSummaryFragment = l; exports.MerklAction = d; exports.SupportedMarketIds = T; exports.TokenCategory = c; exports.TokenInfoFragment = o; exports.Vault = M; exports.VaultPositions = I; exports.VaultProtocol = g; exports.VaultSummaries = h; exports.VaultSummaryFragment = p; exports.VaultType = A; exports.default = w;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -365,7 +365,7 @@ type GetBlocksTimeStampQuery = {
|
|
|
365
365
|
number: any;
|
|
366
366
|
}>;
|
|
367
367
|
};
|
|
368
|
-
declare const GetBlocksTimeStamp:
|
|
368
|
+
declare const GetBlocksTimeStamp: _apollo_client.DocumentNode;
|
|
369
369
|
interface PossibleTypesResultData {
|
|
370
370
|
possibleTypes: {
|
|
371
371
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _client = require('@apollo/client');var e=(a=>(a.Day="day",a.Hour="hour",a))(e||{}),s= exports.Block_OrderBy =(t=>(t.Author="author",t.BaseFeePerGas="baseFeePerGas",t.Difficulty="difficulty",t.GasLimit="gasLimit",t.GasUsed="gasUsed",t.Hash="hash",t.Id="id",t.Number="number",t.ParentHash="parentHash",t.ReceiptsRoot="receiptsRoot",t.Size="size",t.StateRoot="stateRoot",t.Timestamp="timestamp",t.TotalDifficulty="totalDifficulty",t.TransactionsRoot="transactionsRoot",t.UnclesHash="unclesHash",t))(s||{}),p= exports.OrderDirection =(a=>(a.Asc="asc",a.Desc="desc",a))(p||{}),u= exports._SubgraphErrorPolicy_ =(a=>(a.Allow="allow",a.Deny="deny",a))(u||{}),y= exports.GetBlocksTimeStamp =_client.gql`
|
|
2
2
|
query GetBlocksTimeStamp($skip: Int!) {
|
|
3
3
|
newest: blocks(first: 1, orderBy: timestamp, orderDirection: desc) {
|
|
4
4
|
timestamp
|
|
@@ -9,4 +9,4 @@ import{a as n}from"../chunk-JUYCSGOC.js";var e=(a=>(a.Day="day",a.Hour="hour",a)
|
|
|
9
9
|
number
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
`,i={possibleTypes:{}},o=i;
|
|
12
|
+
`,i={possibleTypes:{}},o= exports.default =i;exports.Aggregation_Interval = e; exports.Block_OrderBy = s; exports.GetBlocksTimeStamp = y; exports.OrderDirection = p; exports._SubgraphErrorPolicy_ = u; exports.default = o;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -86,8 +86,11 @@ type GqlBalancePoolAprSubItem = {
|
|
|
86
86
|
title: Scalars['String']['output'];
|
|
87
87
|
};
|
|
88
88
|
declare enum GqlChain {
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
/** @deprecated BARTIO is deprecated */
|
|
90
|
+
Bartio = "BARTIO",
|
|
91
|
+
Berachain = "BERACHAIN",
|
|
92
|
+
/** @deprecated CARTIO is deprecated */
|
|
93
|
+
Cartio = "CARTIO"
|
|
91
94
|
}
|
|
92
95
|
type GqlContentNewsItem = {
|
|
93
96
|
__typename?: 'GqlContentNewsItem';
|
|
@@ -1370,17 +1373,17 @@ type GqlRewardVaultDynamicData = {
|
|
|
1370
1373
|
activeIncentivesRateUsd: Scalars['String']['output'];
|
|
1371
1374
|
activeIncentivesValueUsd: Scalars['String']['output'];
|
|
1372
1375
|
allTimeReceivedBGTAmount: Scalars['String']['output'];
|
|
1373
|
-
apr?: Maybe<Scalars['
|
|
1376
|
+
apr?: Maybe<Scalars['String']['output']>;
|
|
1374
1377
|
/** @deprecated Use apr instead */
|
|
1375
|
-
apy?: Maybe<Scalars['
|
|
1378
|
+
apy?: Maybe<Scalars['String']['output']>;
|
|
1376
1379
|
bgtCapturePerBlock: Scalars['String']['output'];
|
|
1377
1380
|
bgtCapturePercentage: Scalars['String']['output'];
|
|
1378
1381
|
chain: GqlChain;
|
|
1379
1382
|
lastDayReceivedBGTAmount: Scalars['String']['output'];
|
|
1380
|
-
projectedApr?: Maybe<Scalars['
|
|
1383
|
+
projectedApr?: Maybe<Scalars['String']['output']>;
|
|
1381
1384
|
/** @deprecated Use projectedApr instead */
|
|
1382
|
-
projectedApy?: Maybe<Scalars['
|
|
1383
|
-
tvl
|
|
1385
|
+
projectedApy?: Maybe<Scalars['String']['output']>;
|
|
1386
|
+
tvl: Scalars['String']['output'];
|
|
1384
1387
|
vaultAddress: Scalars['String']['output'];
|
|
1385
1388
|
};
|
|
1386
1389
|
type GqlRewardVaultFilter = {
|
|
@@ -1937,7 +1940,7 @@ type GqlValidatorDynamicData = {
|
|
|
1937
1940
|
apy: Scalars['String']['output'];
|
|
1938
1941
|
bgtCapturePerBlock: Scalars['String']['output'];
|
|
1939
1942
|
bgtCapturePercentage: Scalars['String']['output'];
|
|
1940
|
-
boostApr: Scalars['
|
|
1943
|
+
boostApr: Scalars['String']['output'];
|
|
1941
1944
|
chain: GqlChain;
|
|
1942
1945
|
commissionOnIncentives: Scalars['Int']['output'];
|
|
1943
1946
|
commissionOnIncentivesHistory: Array<GqlValidatorCommissionHistory>;
|
|
@@ -2570,7 +2573,7 @@ type RewardVaultFragment = {
|
|
|
2570
2573
|
dynamicData?: {
|
|
2571
2574
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2572
2575
|
activeIncentivesValueUsd: string;
|
|
2573
|
-
apr?:
|
|
2576
|
+
apr?: string | null;
|
|
2574
2577
|
bgtCapturePercentage: string;
|
|
2575
2578
|
allTimeReceivedBGTAmount: string;
|
|
2576
2579
|
} | null;
|
|
@@ -2636,7 +2639,7 @@ type MinimalPoolInListFragment = {
|
|
|
2636
2639
|
dynamicData?: {
|
|
2637
2640
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2638
2641
|
activeIncentivesValueUsd: string;
|
|
2639
|
-
apr?:
|
|
2642
|
+
apr?: string | null;
|
|
2640
2643
|
bgtCapturePercentage: string;
|
|
2641
2644
|
allTimeReceivedBGTAmount: string;
|
|
2642
2645
|
} | null;
|
|
@@ -2686,7 +2689,7 @@ type MinimalPool_GqlPoolComposableStable_Fragment = {
|
|
|
2686
2689
|
dynamicData?: {
|
|
2687
2690
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2688
2691
|
activeIncentivesValueUsd: string;
|
|
2689
|
-
apr?:
|
|
2692
|
+
apr?: string | null;
|
|
2690
2693
|
bgtCapturePercentage: string;
|
|
2691
2694
|
allTimeReceivedBGTAmount: string;
|
|
2692
2695
|
} | null;
|
|
@@ -2736,7 +2739,7 @@ type MinimalPool_GqlPoolElement_Fragment = {
|
|
|
2736
2739
|
dynamicData?: {
|
|
2737
2740
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2738
2741
|
activeIncentivesValueUsd: string;
|
|
2739
|
-
apr?:
|
|
2742
|
+
apr?: string | null;
|
|
2740
2743
|
bgtCapturePercentage: string;
|
|
2741
2744
|
allTimeReceivedBGTAmount: string;
|
|
2742
2745
|
} | null;
|
|
@@ -2786,7 +2789,7 @@ type MinimalPool_GqlPoolFx_Fragment = {
|
|
|
2786
2789
|
dynamicData?: {
|
|
2787
2790
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2788
2791
|
activeIncentivesValueUsd: string;
|
|
2789
|
-
apr?:
|
|
2792
|
+
apr?: string | null;
|
|
2790
2793
|
bgtCapturePercentage: string;
|
|
2791
2794
|
allTimeReceivedBGTAmount: string;
|
|
2792
2795
|
} | null;
|
|
@@ -2836,7 +2839,7 @@ type MinimalPool_GqlPoolGyro_Fragment = {
|
|
|
2836
2839
|
dynamicData?: {
|
|
2837
2840
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2838
2841
|
activeIncentivesValueUsd: string;
|
|
2839
|
-
apr?:
|
|
2842
|
+
apr?: string | null;
|
|
2840
2843
|
bgtCapturePercentage: string;
|
|
2841
2844
|
allTimeReceivedBGTAmount: string;
|
|
2842
2845
|
} | null;
|
|
@@ -2886,7 +2889,7 @@ type MinimalPool_GqlPoolLiquidityBootstrapping_Fragment = {
|
|
|
2886
2889
|
dynamicData?: {
|
|
2887
2890
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2888
2891
|
activeIncentivesValueUsd: string;
|
|
2889
|
-
apr?:
|
|
2892
|
+
apr?: string | null;
|
|
2890
2893
|
bgtCapturePercentage: string;
|
|
2891
2894
|
allTimeReceivedBGTAmount: string;
|
|
2892
2895
|
} | null;
|
|
@@ -2936,7 +2939,7 @@ type MinimalPool_GqlPoolMetaStable_Fragment = {
|
|
|
2936
2939
|
dynamicData?: {
|
|
2937
2940
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2938
2941
|
activeIncentivesValueUsd: string;
|
|
2939
|
-
apr?:
|
|
2942
|
+
apr?: string | null;
|
|
2940
2943
|
bgtCapturePercentage: string;
|
|
2941
2944
|
allTimeReceivedBGTAmount: string;
|
|
2942
2945
|
} | null;
|
|
@@ -2986,7 +2989,7 @@ type MinimalPool_GqlPoolStable_Fragment = {
|
|
|
2986
2989
|
dynamicData?: {
|
|
2987
2990
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
2988
2991
|
activeIncentivesValueUsd: string;
|
|
2989
|
-
apr?:
|
|
2992
|
+
apr?: string | null;
|
|
2990
2993
|
bgtCapturePercentage: string;
|
|
2991
2994
|
allTimeReceivedBGTAmount: string;
|
|
2992
2995
|
} | null;
|
|
@@ -3036,7 +3039,7 @@ type MinimalPool_GqlPoolWeighted_Fragment = {
|
|
|
3036
3039
|
dynamicData?: {
|
|
3037
3040
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3038
3041
|
activeIncentivesValueUsd: string;
|
|
3039
|
-
apr?:
|
|
3042
|
+
apr?: string | null;
|
|
3040
3043
|
bgtCapturePercentage: string;
|
|
3041
3044
|
allTimeReceivedBGTAmount: string;
|
|
3042
3045
|
} | null;
|
|
@@ -3101,7 +3104,7 @@ type GetPoolsQuery = {
|
|
|
3101
3104
|
dynamicData?: {
|
|
3102
3105
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3103
3106
|
activeIncentivesValueUsd: string;
|
|
3104
|
-
apr?:
|
|
3107
|
+
apr?: string | null;
|
|
3105
3108
|
bgtCapturePercentage: string;
|
|
3106
3109
|
allTimeReceivedBGTAmount: string;
|
|
3107
3110
|
} | null;
|
|
@@ -3159,7 +3162,7 @@ type GetPoolQuery = {
|
|
|
3159
3162
|
dynamicData?: {
|
|
3160
3163
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3161
3164
|
activeIncentivesValueUsd: string;
|
|
3162
|
-
apr?:
|
|
3165
|
+
apr?: string | null;
|
|
3163
3166
|
bgtCapturePercentage: string;
|
|
3164
3167
|
allTimeReceivedBGTAmount: string;
|
|
3165
3168
|
} | null;
|
|
@@ -3208,7 +3211,7 @@ type GetPoolQuery = {
|
|
|
3208
3211
|
dynamicData?: {
|
|
3209
3212
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3210
3213
|
activeIncentivesValueUsd: string;
|
|
3211
|
-
apr?:
|
|
3214
|
+
apr?: string | null;
|
|
3212
3215
|
bgtCapturePercentage: string;
|
|
3213
3216
|
allTimeReceivedBGTAmount: string;
|
|
3214
3217
|
} | null;
|
|
@@ -3257,7 +3260,7 @@ type GetPoolQuery = {
|
|
|
3257
3260
|
dynamicData?: {
|
|
3258
3261
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3259
3262
|
activeIncentivesValueUsd: string;
|
|
3260
|
-
apr?:
|
|
3263
|
+
apr?: string | null;
|
|
3261
3264
|
bgtCapturePercentage: string;
|
|
3262
3265
|
allTimeReceivedBGTAmount: string;
|
|
3263
3266
|
} | null;
|
|
@@ -3306,7 +3309,7 @@ type GetPoolQuery = {
|
|
|
3306
3309
|
dynamicData?: {
|
|
3307
3310
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3308
3311
|
activeIncentivesValueUsd: string;
|
|
3309
|
-
apr?:
|
|
3312
|
+
apr?: string | null;
|
|
3310
3313
|
bgtCapturePercentage: string;
|
|
3311
3314
|
allTimeReceivedBGTAmount: string;
|
|
3312
3315
|
} | null;
|
|
@@ -3355,7 +3358,7 @@ type GetPoolQuery = {
|
|
|
3355
3358
|
dynamicData?: {
|
|
3356
3359
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3357
3360
|
activeIncentivesValueUsd: string;
|
|
3358
|
-
apr?:
|
|
3361
|
+
apr?: string | null;
|
|
3359
3362
|
bgtCapturePercentage: string;
|
|
3360
3363
|
allTimeReceivedBGTAmount: string;
|
|
3361
3364
|
} | null;
|
|
@@ -3404,7 +3407,7 @@ type GetPoolQuery = {
|
|
|
3404
3407
|
dynamicData?: {
|
|
3405
3408
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3406
3409
|
activeIncentivesValueUsd: string;
|
|
3407
|
-
apr?:
|
|
3410
|
+
apr?: string | null;
|
|
3408
3411
|
bgtCapturePercentage: string;
|
|
3409
3412
|
allTimeReceivedBGTAmount: string;
|
|
3410
3413
|
} | null;
|
|
@@ -3453,7 +3456,7 @@ type GetPoolQuery = {
|
|
|
3453
3456
|
dynamicData?: {
|
|
3454
3457
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3455
3458
|
activeIncentivesValueUsd: string;
|
|
3456
|
-
apr?:
|
|
3459
|
+
apr?: string | null;
|
|
3457
3460
|
bgtCapturePercentage: string;
|
|
3458
3461
|
allTimeReceivedBGTAmount: string;
|
|
3459
3462
|
} | null;
|
|
@@ -3502,7 +3505,7 @@ type GetPoolQuery = {
|
|
|
3502
3505
|
dynamicData?: {
|
|
3503
3506
|
__typename?: 'GqlRewardVaultDynamicData';
|
|
3504
3507
|
activeIncentivesValueUsd: string;
|
|
3505
|
-
apr?:
|
|
3508
|
+
apr?: string | null;
|
|
3506
3509
|
bgtCapturePercentage: string;
|
|
3507
3510
|
allTimeReceivedBGTAmount: string;
|
|
3508
3511
|
} | null;
|
|
@@ -3707,12 +3710,12 @@ type GetGlobalLiquidityAndSwapVolumeQuery = {
|
|
|
3707
3710
|
totalLiquidity: any;
|
|
3708
3711
|
};
|
|
3709
3712
|
};
|
|
3710
|
-
declare const DynamicData:
|
|
3711
|
-
declare const UserBalance:
|
|
3712
|
-
declare const RewardVault:
|
|
3713
|
-
declare const MinimalPoolInList:
|
|
3714
|
-
declare const MinimalPool:
|
|
3715
|
-
declare const PoolHistoricalData:
|
|
3713
|
+
declare const DynamicData: _apollo_client.DocumentNode;
|
|
3714
|
+
declare const UserBalance: _apollo_client.DocumentNode;
|
|
3715
|
+
declare const RewardVault: _apollo_client.DocumentNode;
|
|
3716
|
+
declare const MinimalPoolInList: _apollo_client.DocumentNode;
|
|
3717
|
+
declare const MinimalPool: _apollo_client.DocumentNode;
|
|
3718
|
+
declare const PoolHistoricalData: _apollo_client.DocumentNode;
|
|
3716
3719
|
/** Represents an event that occurs when a swap is made in a pool using the CowAmm protocol. */
|
|
3717
3720
|
type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
3718
3721
|
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
@@ -3749,7 +3752,7 @@ type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
|
3749
3752
|
/** The value of the event in USD. */
|
|
3750
3753
|
valueUSD: Scalars['Float']['output'];
|
|
3751
3754
|
};
|
|
3752
|
-
declare const GqlPoolSwapEventCowAmm:
|
|
3755
|
+
declare const GqlPoolSwapEventCowAmm: _apollo_client.DocumentNode;
|
|
3753
3756
|
/** Represents an event that occurs when a swap is made in a pool. */
|
|
3754
3757
|
type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
3755
3758
|
__typename?: 'GqlPoolSwapEventV3';
|
|
@@ -3784,7 +3787,7 @@ type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
|
3784
3787
|
/** The value of the event in USD. */
|
|
3785
3788
|
valueUSD: Scalars['Float']['output'];
|
|
3786
3789
|
};
|
|
3787
|
-
declare const GqlPoolSwapEventV3:
|
|
3790
|
+
declare const GqlPoolSwapEventV3: _apollo_client.DocumentNode;
|
|
3788
3791
|
/** Represents an event that occurs when liquidity is added or removed from a pool. */
|
|
3789
3792
|
type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
3790
3793
|
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
@@ -3815,14 +3818,14 @@ type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
|
3815
3818
|
/** The value of the event in USD. */
|
|
3816
3819
|
valueUSD: Scalars['Float']['output'];
|
|
3817
3820
|
};
|
|
3818
|
-
declare const GqlPoolAddRemoveEventV3:
|
|
3819
|
-
declare const PoolEvent:
|
|
3820
|
-
declare const GetPools:
|
|
3821
|
-
declare const GetPool:
|
|
3822
|
-
declare const GetPoolHistoricalData:
|
|
3823
|
-
declare const GetPoolEvents:
|
|
3824
|
-
declare const GetTokenCurrentPrices:
|
|
3825
|
-
declare const GetGlobalLiquidityAndSwapVolume:
|
|
3821
|
+
declare const GqlPoolAddRemoveEventV3: _apollo_client.DocumentNode;
|
|
3822
|
+
declare const PoolEvent: _apollo_client.DocumentNode;
|
|
3823
|
+
declare const GetPools: _apollo_client.DocumentNode;
|
|
3824
|
+
declare const GetPool: _apollo_client.DocumentNode;
|
|
3825
|
+
declare const GetPoolHistoricalData: _apollo_client.DocumentNode;
|
|
3826
|
+
declare const GetPoolEvents: _apollo_client.DocumentNode;
|
|
3827
|
+
declare const GetTokenCurrentPrices: _apollo_client.DocumentNode;
|
|
3828
|
+
declare const GetGlobalLiquidityAndSwapVolume: _apollo_client.DocumentNode;
|
|
3826
3829
|
interface PossibleTypesResultData {
|
|
3827
3830
|
possibleTypes: {
|
|
3828
3831
|
[key: string]: string[];
|
package/dist/dex/api.codegen.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _client = require('@apollo/client');var m=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(m||{}),d= exports.GqlContentNewsItemSource =(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(d||{}),g= exports.GqlPoolAprItemType =(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))(g||{}),G= exports.GqlPoolEventType =(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),P= exports.GqlPoolEventsDataRange =(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(P||{}),q= exports.GqlPoolFilterCategory =(u=>(u.BlackListed="BLACK_LISTED",u.Incentivized="INCENTIVIZED",u.Lrt="LRT",u.Points="POINTS",u.PointsEigenlayer="POINTS_EIGENLAYER",u.PointsGyro="POINTS_GYRO",u.PointsKelp="POINTS_KELP",u.PointsRenzo="POINTS_RENZO",u.PointsSwell="POINTS_SWELL",u.Superfest="SUPERFEST",u))(q||{}),b= exports.GqlPoolJoinExitType =(t=>(t.Exit="Exit",t.Join="Join",t))(b||{}),A= exports.GqlPoolNestingType =(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(A||{}),I= exports.GqlPoolOrderBy =(p=>(p.Apr="apr",p.BgtApr="bgtApr",p.Fees24h="fees24h",p.TotalLiquidity="totalLiquidity",p.TotalShares="totalShares",p.UserbalanceUsd="userbalanceUsd",p.Volume24h="volume24h",p))(I||{}),h= exports.GqlPoolOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),_= exports.GqlPoolSnapshotDataRange =(e=>(e.AllTime="ALL_TIME",e.NinetyDays="NINETY_DAYS",e.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",e.OneYear="ONE_YEAR",e.ThirtyDays="THIRTY_DAYS",e))(_||{}),D= exports.GqlPoolType =(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))(D||{}),T= exports.GqlRewardVaultIncentiveOrderBy =(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(T||{}),k= exports.GqlRewardVaultIncentiveOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),M= exports.GqlRewardVaultOrderBy =(i=>(i.ActiveIncentivesRateUsd="activeIncentivesRateUsd",i.ActiveIncentivesValueUsd="activeIncentivesValueUsd",i.AllTimeBgtReceived="allTimeBGTReceived",i.Apr="apr",i.Apy="apy",i.BgtCapturePercentage="bgtCapturePercentage",i.Last24hBgtReceived="last24hBGTReceived",i.ProjectedApr="projectedApr",i))(M||{}),v= exports.GqlRewardVaultOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),B= exports.GqlRewardVaultSnapshotDataRange =(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(B||{}),w= exports.GqlRewardVaultSnapshotResolution =(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),x= exports.GqlSWberaVaultMetadataResolution =(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(x||{}),V= exports.GqlSorSwapType =(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(V||{}),C= exports.GqlStakeBeraVaultEventType =(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(C||{}),R= exports.GqlTokenChartDataRange =(e=>(e.NinetyDay="NINETY_DAY",e.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",e.OneYear="ONE_YEAR",e.SevenDay="SEVEN_DAY",e.ThirtyDay="THIRTY_DAY",e))(R||{}),E= exports.GqlTokenType =(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(E||{}),f= exports.GqlUserVaultDepositOrderBy =(S=>(S.Amount="amount",S))(f||{}),F= exports.GqlUserVaultDepositOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),U= exports.GqlValidatorBlockUptimeStatus =(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(U||{}),N= exports.GqlValidatorBoostOrderBy =(e=>(e.ActiveBoostAmount="activeBoostAmount",e.LatestBlock="latestBlock",e.LatestBlockTime="latestBlockTime",e.QueuedBoostAmount="queuedBoostAmount",e.QueuedDropBoostAmount="queuedDropBoostAmount",e))(N||{}),L= exports.GqlValidatorBoostOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H= exports.GqlValidatorOrderBy =(r=>(r.ActiveBoostAmount="activeBoostAmount",r.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",r.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",r.Apy="apy",r.BgtCapturePercentage="bgtCapturePercentage",r.BoostApr="boostApr",r.CommissionOnIncentives="commissionOnIncentives",r.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",r.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",r.QueuedBoostAmount="queuedBoostAmount",r.QueuedDropBoostAmount="queuedDropBoostAmount",r.RewardRate="rewardRate",r.StakedBeraAmount="stakedBeraAmount",r.UsersActiveBoostCount="usersActiveBoostCount",r.UsersQueuedBoostCount="usersQueuedBoostCount",r))(H||{}),W= exports.GqlValidatorOrderDirection =(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O= exports.GqlVaultSnapshotDataRange =(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(O||{}),c= exports.DynamicData =_client.gql`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -13,13 +13,13 @@ import{a as o}from"../chunk-JUYCSGOC.js";var m=(t=>(t.Bepolia="BEPOLIA",t.Berach
|
|
|
13
13
|
id
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
`,
|
|
16
|
+
`,Q= exports.UserBalance =_client.gql`
|
|
17
17
|
fragment UserBalance on GqlPoolUserBalance {
|
|
18
18
|
totalBalanceUsd
|
|
19
19
|
walletBalance
|
|
20
20
|
walletBalanceUsd
|
|
21
21
|
}
|
|
22
|
-
`,y=
|
|
22
|
+
`,y= exports.RewardVault =_client.gql`
|
|
23
23
|
fragment RewardVault on GqlRewardVault {
|
|
24
24
|
dynamicData {
|
|
25
25
|
activeIncentivesValueUsd
|
|
@@ -31,7 +31,7 @@ import{a as o}from"../chunk-JUYCSGOC.js";var m=(t=>(t.Bepolia="BEPOLIA",t.Berach
|
|
|
31
31
|
vaultAddress
|
|
32
32
|
stakingTokenAddress
|
|
33
33
|
}
|
|
34
|
-
`,Y=
|
|
34
|
+
`,Y= exports.MinimalPoolInList =_client.gql`
|
|
35
35
|
fragment MinimalPoolInList on GqlPoolMinimal {
|
|
36
36
|
id
|
|
37
37
|
name
|
|
@@ -57,8 +57,8 @@ import{a as o}from"../chunk-JUYCSGOC.js";var m=(t=>(t.Bepolia="BEPOLIA",t.Berach
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
${c}
|
|
60
|
-
${
|
|
61
|
-
${y}`,$=
|
|
60
|
+
${Q}
|
|
61
|
+
${y}`,$= exports.MinimalPool =_client.gql`
|
|
62
62
|
fragment MinimalPool on GqlPoolBase {
|
|
63
63
|
id
|
|
64
64
|
name
|
|
@@ -86,7 +86,7 @@ ${y}`,$=o`
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
${c}
|
|
89
|
-
${y}`,K=
|
|
89
|
+
${y}`,K= exports.PoolHistoricalData =_client.gql`
|
|
90
90
|
fragment PoolHistoricalData on GqlPoolSnapshot {
|
|
91
91
|
id
|
|
92
92
|
volume24h
|
|
@@ -96,7 +96,7 @@ ${y}`,K=o`
|
|
|
96
96
|
fees24h
|
|
97
97
|
totalSwapFee
|
|
98
98
|
}
|
|
99
|
-
`,J=
|
|
99
|
+
`,J= exports.GqlPoolSwapEventCowAmm =_client.gql`
|
|
100
100
|
fragment GqlPoolSwapEventCowAmm on GqlPoolSwapEventCowAmm {
|
|
101
101
|
tokenIn {
|
|
102
102
|
address
|
|
@@ -107,7 +107,7 @@ ${y}`,K=o`
|
|
|
107
107
|
amount
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
`,z=
|
|
110
|
+
`,z= exports.GqlPoolSwapEventV3 =_client.gql`
|
|
111
111
|
fragment GqlPoolSwapEventV3 on GqlPoolSwapEventV3 {
|
|
112
112
|
tokenIn {
|
|
113
113
|
address
|
|
@@ -118,14 +118,14 @@ ${y}`,K=o`
|
|
|
118
118
|
amount
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
`,X=
|
|
121
|
+
`,X= exports.GqlPoolAddRemoveEventV3 =_client.gql`
|
|
122
122
|
fragment GqlPoolAddRemoveEventV3 on GqlPoolAddRemoveEventV3 {
|
|
123
123
|
tokens {
|
|
124
124
|
address
|
|
125
125
|
amount
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
`,j=
|
|
128
|
+
`,j= exports.PoolEvent =_client.gql`
|
|
129
129
|
fragment PoolEvent on GqlPoolEvent {
|
|
130
130
|
id
|
|
131
131
|
valueUSD
|
|
@@ -139,7 +139,7 @@ ${y}`,K=o`
|
|
|
139
139
|
}
|
|
140
140
|
${J}
|
|
141
141
|
${z}
|
|
142
|
-
${X}`,at=
|
|
142
|
+
${X}`,at= exports.GetPools =_client.gql`
|
|
143
143
|
query GetPools($textSearch: String, $first: Int, $userAddress: String, $chain: [GqlChain!]!, $orderBy: GqlPoolOrderBy, $skip: Int, $orderDirection: GqlPoolOrderDirection, $blacklistedPoolIds: [String!]) {
|
|
144
144
|
poolGetPools(
|
|
145
145
|
textSearch: $textSearch
|
|
@@ -156,19 +156,19 @@ ${X}`,at=o`
|
|
|
156
156
|
where: {userAddress: $userAddress, chainIn: $chain}
|
|
157
157
|
)
|
|
158
158
|
}
|
|
159
|
-
${Y}`,et=
|
|
159
|
+
${Y}`,et= exports.GetPool =_client.gql`
|
|
160
160
|
query GetPool($id: String!, $userAddress: String, $chain: GqlChain!) {
|
|
161
161
|
poolGetPool(id: $id, userAddress: $userAddress, chain: $chain) {
|
|
162
162
|
...MinimalPool
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
${$}`,ot=
|
|
165
|
+
${$}`,ot= exports.GetPoolHistoricalData =_client.gql`
|
|
166
166
|
query GetPoolHistoricalData($poolId: String!, $chain: GqlChain!) {
|
|
167
167
|
poolGetSnapshots(id: $poolId, range: NINETY_DAYS, chain: $chain) {
|
|
168
168
|
...PoolHistoricalData
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
${K}`,rt=
|
|
171
|
+
${K}`,rt= exports.GetPoolEvents =_client.gql`
|
|
172
172
|
query GetPoolEvents($poolId: String!, $typeIn: [GqlPoolEventType!]!, $chain: GqlChain!) {
|
|
173
173
|
poolGetEvents(
|
|
174
174
|
poolId: $poolId
|
|
@@ -179,7 +179,7 @@ ${X}`,at=o`
|
|
|
179
179
|
...PoolEvent
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
${j}`,nt=
|
|
182
|
+
${j}`,nt= exports.GetTokenCurrentPrices =_client.gql`
|
|
183
183
|
query GetTokenCurrentPrices($chains: [GqlChain!]!, $addressIn: [String!]!) {
|
|
184
184
|
tokenGetCurrentPrices(chains: $chains, addressIn: $addressIn) {
|
|
185
185
|
address
|
|
@@ -189,11 +189,11 @@ ${X}`,at=o`
|
|
|
189
189
|
updatedBy
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
`,lt=
|
|
192
|
+
`,lt= exports.GetGlobalLiquidityAndSwapVolume =_client.gql`
|
|
193
193
|
query GetGlobalLiquidityAndSwapVolume($chain: GqlChain!) {
|
|
194
194
|
protocolMetricsAggregated(chains: [$chain]) {
|
|
195
195
|
swapVolume24h
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,Z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},st=Z;
|
|
199
|
+
`,Z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},st= exports.default =Z;exports.DynamicData = c; exports.GetGlobalLiquidityAndSwapVolume = lt; exports.GetPool = et; exports.GetPoolEvents = rt; exports.GetPoolHistoricalData = ot; exports.GetPools = at; exports.GetTokenCurrentPrices = nt; exports.GqlChain = m; exports.GqlContentNewsItemSource = d; exports.GqlPoolAddRemoveEventV3 = X; exports.GqlPoolAprItemType = g; exports.GqlPoolEventType = G; exports.GqlPoolEventsDataRange = P; exports.GqlPoolFilterCategory = q; exports.GqlPoolJoinExitType = b; exports.GqlPoolNestingType = A; exports.GqlPoolOrderBy = I; exports.GqlPoolOrderDirection = h; exports.GqlPoolSnapshotDataRange = _; exports.GqlPoolSwapEventCowAmm = J; exports.GqlPoolSwapEventV3 = z; exports.GqlPoolType = D; exports.GqlRewardVaultIncentiveOrderBy = T; exports.GqlRewardVaultIncentiveOrderDirection = k; exports.GqlRewardVaultOrderBy = M; exports.GqlRewardVaultOrderDirection = v; exports.GqlRewardVaultSnapshotDataRange = B; exports.GqlRewardVaultSnapshotResolution = w; exports.GqlSWberaVaultMetadataResolution = x; exports.GqlSorSwapType = V; exports.GqlStakeBeraVaultEventType = C; exports.GqlTokenChartDataRange = R; exports.GqlTokenType = E; exports.GqlUserVaultDepositOrderBy = f; exports.GqlUserVaultDepositOrderDirection = F; exports.GqlValidatorBlockUptimeStatus = U; exports.GqlValidatorBoostOrderBy = N; exports.GqlValidatorBoostOrderDirection = L; exports.GqlValidatorOrderBy = H; exports.GqlValidatorOrderDirection = W; exports.GqlVaultSnapshotDataRange = O; exports.MinimalPool = $; exports.MinimalPoolInList = Y; exports.PoolEvent = j; exports.PoolHistoricalData = K; exports.RewardVault = y; exports.UserBalance = Q; exports.default = st;
|