@berachain/graphql 0.4.3 → 0.4.5
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.cjs +18 -12
- package/dist/bend/whisk.codegen.d.cts +544 -189
- package/dist/bend/whisk.codegen.d.ts +544 -189
- package/dist/bend/whisk.codegen.mjs +22 -16
- package/dist/chain/chain.codegen.d.cts +2 -2
- package/dist/chain/chain.codegen.d.ts +2 -2
- package/dist/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +18 -38
- package/dist/dex/api.codegen.d.ts +18 -38
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/dex/subgraph.codegen.d.cts +9 -9
- package/dist/dex/subgraph.codegen.d.ts +9 -9
- package/dist/governance/governance.codegen.d.cts +9 -9
- package/dist/governance/governance.codegen.d.ts +9 -9
- package/dist/honey/honey.codegen.d.cts +7 -7
- package/dist/honey/honey.codegen.d.ts +7 -7
- package/dist/pol/api.codegen.cjs +18 -36
- package/dist/pol/api.codegen.d.cts +18 -66
- package/dist/pol/api.codegen.d.ts +18 -66
- package/dist/pol/api.codegen.mjs +17 -35
- package/dist/pol/subgraph.codegen.d.cts +19 -19
- package/dist/pol/subgraph.codegen.d.ts +19 -19
- package/package.json +6 -8
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{gql as t}from"@apollo/client";var m=(
|
|
1
|
+
import{gql as t}from"@apollo/client";var m=(o=>(o.Borrow="Borrow",o.Supply="Supply",o))(m||{}),d=(a=>(a.OneDay="one_day",a.SevenDays="seven_days",a.SixHours="six_hours",a.ThirtyDays="thirty_days",a))(d||{}),c=(a=>(a.Box="box",a.Generic="generic",a.MorphoV1="morpho_v1",a.MorphoV2="morpho_v2",a))(c||{}),A=(n=>(n.Base="base",n.Ens="ens",n.Farcaster="farcaster",n.Lens="lens",n.Nns="nns",n.Uni="uni",n.World="world",n))(A||{}),_=(o=>(o.Borrow="Borrow",o.Lend="Lend",o))(_||{}),g=(r=>(r.Btc="Btc",r.Eth="Eth",r.Stable="Stable",r))(g||{}),b=(e=>(e.Enzyme="enzyme",e.EulerEarn="euler_earn",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))(b||{}),h=(r=>(r.Index="index",r.Lending="lending",r.Staking="staking",r))(h||{}),p=t`
|
|
2
2
|
fragment ChainInfoFragment on Chain {
|
|
3
3
|
id
|
|
4
4
|
name
|
|
5
5
|
icon
|
|
6
6
|
}
|
|
7
|
-
`,
|
|
7
|
+
`,s=t`
|
|
8
8
|
fragment TokenInfoFragment on Token {
|
|
9
9
|
address
|
|
10
10
|
symbol
|
|
@@ -12,6 +12,9 @@ import{gql as t}from"@apollo/client";var m=(n=>(n.Borrow="Borrow",n.Supply="Supp
|
|
|
12
12
|
icon
|
|
13
13
|
category
|
|
14
14
|
name
|
|
15
|
+
chain {
|
|
16
|
+
id
|
|
17
|
+
}
|
|
15
18
|
}
|
|
16
19
|
`,l=t`
|
|
17
20
|
fragment CuratorInfoFragment on Curator {
|
|
@@ -31,7 +34,7 @@ import{gql as t}from"@apollo/client";var m=(n=>(n.Borrow="Borrow",n.Supply="Supp
|
|
|
31
34
|
total
|
|
32
35
|
fee
|
|
33
36
|
}
|
|
34
|
-
${
|
|
37
|
+
${s}`,i=t`
|
|
35
38
|
fragment VaultSummaryFragment on MorphoVault {
|
|
36
39
|
chain {
|
|
37
40
|
...ChainInfoFragment
|
|
@@ -87,7 +90,7 @@ import{gql as t}from"@apollo/client";var m=(n=>(n.Borrow="Borrow",n.Supply="Supp
|
|
|
87
90
|
}
|
|
88
91
|
}
|
|
89
92
|
${p}
|
|
90
|
-
${
|
|
93
|
+
${s}
|
|
91
94
|
${l}
|
|
92
95
|
${u}`,y=t`
|
|
93
96
|
fragment MarketSummaryFragment on MorphoMarket {
|
|
@@ -151,7 +154,7 @@ ${u}`,y=t`
|
|
|
151
154
|
}
|
|
152
155
|
}
|
|
153
156
|
${p}
|
|
154
|
-
${
|
|
157
|
+
${s}
|
|
155
158
|
${u}`,S=t`
|
|
156
159
|
query VaultSummaries($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
157
160
|
morphoVaults(
|
|
@@ -269,8 +272,8 @@ ${u}`,S=t`
|
|
|
269
272
|
}
|
|
270
273
|
${i}
|
|
271
274
|
${p}
|
|
272
|
-
${
|
|
273
|
-
${u}`,
|
|
275
|
+
${s}
|
|
276
|
+
${u}`,T=t`
|
|
274
277
|
query Market($chainId: ChainId!, $marketId: Hex!) {
|
|
275
278
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
276
279
|
items {
|
|
@@ -300,6 +303,9 @@ ${u}`,w=t`
|
|
|
300
303
|
priceUsd
|
|
301
304
|
}
|
|
302
305
|
loanAsset {
|
|
306
|
+
chain {
|
|
307
|
+
id
|
|
308
|
+
}
|
|
303
309
|
priceUsd
|
|
304
310
|
}
|
|
305
311
|
vaultAllocations {
|
|
@@ -355,9 +361,9 @@ ${u}`,w=t`
|
|
|
355
361
|
}
|
|
356
362
|
}
|
|
357
363
|
${y}
|
|
358
|
-
${
|
|
364
|
+
${s}
|
|
359
365
|
${p}
|
|
360
|
-
${l}`,
|
|
366
|
+
${l}`,w=t`
|
|
361
367
|
query VaultPositions($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!, $accountAddress: Address!) {
|
|
362
368
|
morphoVaultPositions(
|
|
363
369
|
where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses, accountAddress_in: [$accountAddress]}
|
|
@@ -385,7 +391,7 @@ ${l}`,T=t`
|
|
|
385
391
|
}
|
|
386
392
|
}
|
|
387
393
|
}
|
|
388
|
-
`,
|
|
394
|
+
`,C=t`
|
|
389
395
|
query MarketPositions($chainIds: [ChainId!]!, $marketIds: [Hex!]!, $accountAddress: Address!) {
|
|
390
396
|
morphoMarketPositions(
|
|
391
397
|
where: {chainId_in: $chainIds, marketId_in: $marketIds, accountAddress_in: [$accountAddress]}
|
|
@@ -428,7 +434,7 @@ ${l}`,T=t`
|
|
|
428
434
|
}
|
|
429
435
|
}
|
|
430
436
|
}
|
|
431
|
-
`,
|
|
437
|
+
`,f=t`
|
|
432
438
|
query SupportedMarketIds($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
|
|
433
439
|
morphoVaults(where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}) {
|
|
434
440
|
items {
|
|
@@ -443,7 +449,7 @@ ${l}`,T=t`
|
|
|
443
449
|
}
|
|
444
450
|
}
|
|
445
451
|
}
|
|
446
|
-
`,
|
|
452
|
+
`,V=t`
|
|
447
453
|
query VaultHistoryData($chainId: ChainId!, $vaultId: Address!) {
|
|
448
454
|
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultId]}) {
|
|
449
455
|
items {
|
|
@@ -486,7 +492,7 @@ ${l}`,T=t`
|
|
|
486
492
|
}
|
|
487
493
|
}
|
|
488
494
|
}
|
|
489
|
-
`,
|
|
495
|
+
`,v=t`
|
|
490
496
|
query VaultMarketAllocationHistoryData($chainId: ChainId!, $vaultId: Address!) {
|
|
491
497
|
morphoVaults(where: {chainId_in: [$chainId], vaultAddress_in: [$vaultId]}) {
|
|
492
498
|
items {
|
|
@@ -582,7 +588,7 @@ ${l}`,T=t`
|
|
|
582
588
|
}
|
|
583
589
|
}
|
|
584
590
|
}
|
|
585
|
-
|
|
591
|
+
`,P=t`
|
|
586
592
|
query MarketHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
587
593
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
588
594
|
items {
|
|
@@ -663,7 +669,7 @@ ${l}`,T=t`
|
|
|
663
669
|
}
|
|
664
670
|
}
|
|
665
671
|
}
|
|
666
|
-
|
|
672
|
+
`,$=t`
|
|
667
673
|
query MarketIBRHistoryData($chainId: ChainId!, $marketId: Hex!) {
|
|
668
674
|
morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
|
|
669
675
|
items {
|
|
@@ -684,4 +690,4 @@ ${l}`,T=t`
|
|
|
684
690
|
}
|
|
685
691
|
}
|
|
686
692
|
}
|
|
687
|
-
`,
|
|
693
|
+
`,k={possibleTypes:{Adapter:["BoxVaultAdapter","MarketV1Adapter","UnknownAdapter","VaultV1Adapter"],BoxFundingModule:["BoxMorphoFundingModule","BoxUnknownFundingModule"],Cap:["AdapterCap","CollateralExposureCap","MarketV1ExposureCap","UnknownCap"],Erc20:["BoxVault","GenericErc4626Vault","MorphoVault","MorphoVaultV2","Token"],Erc4626Vault:["BoxVault","GenericErc4626Vault","MorphoVault","MorphoVaultV2"],Erc4626VaultPosition:["GenericErc4626VaultPosition"]}},F=k;export{u as ApyFragment,m as ApySide,d as ApyTimeframe,p as ChainInfoFragment,l as CuratorInfoFragment,c as Erc4626VaultProtocol,A as IdentityResolver,T as Market,P as MarketHistoryData,$ as MarketIbrHistoryData,C as MarketPositions,I as MarketSummaries,y as MarketSummaryFragment,_ as MerklAction,f as SupportedMarketIds,g as TokenCategory,s as TokenInfoFragment,x as Vault,V as VaultHistoryData,v as VaultMarketAllocationHistoryData,w as VaultPositions,b as VaultProtocol,S as VaultSummaries,i as VaultSummaryFragment,h as VaultType,F as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -340,7 +340,7 @@ type GetBlocksTimeStampQuery = {
|
|
|
340
340
|
number: string;
|
|
341
341
|
}>;
|
|
342
342
|
};
|
|
343
|
-
declare const GetBlocksTimeStamp:
|
|
343
|
+
declare const GetBlocksTimeStamp: graphql.DocumentNode;
|
|
344
344
|
interface PossibleTypesResultData {
|
|
345
345
|
possibleTypes: {
|
|
346
346
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -340,7 +340,7 @@ type GetBlocksTimeStampQuery = {
|
|
|
340
340
|
number: string;
|
|
341
341
|
}>;
|
|
342
342
|
};
|
|
343
|
-
declare const GetBlocksTimeStamp:
|
|
343
|
+
declare const GetBlocksTimeStamp: graphql.DocumentNode;
|
|
344
344
|
interface PossibleTypesResultData {
|
|
345
345
|
possibleTypes: {
|
|
346
346
|
[key: string]: string[];
|
package/dist/dex/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var y=Object.defineProperty;var tt=Object.getOwnPropertyDescriptor;var at=Object.getOwnPropertyNames;var et=Object.prototype.hasOwnProperty;var ot=(c,u)=>{for(var t in u)y(c,t,{get:u[t],enumerable:!0})},rt=(c,u,t,a)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of at(u))!et.call(c,e)&&e!==t&&y(c,e,{get:()=>u[e],enumerable:!(a=tt(u,e))||a.enumerable});return c};var nt=c=>rt(y({},"__esModule",{value:!0}),c);var mt={};ot(mt,{DynamicData:()=>S,GetGlobalLiquidityAndSwapVolume:()=>ct,GetPool:()=>st,GetPoolEvents:()=>ut,GetPoolHistoricalData:()=>it,GetPools:()=>lt,GetTokenCurrentPrices:()=>pt,GqlChain:()=>d,GqlContentNewsItemSource:()=>g,GqlPoolAddRemoveEventV3:()=>j,GqlPoolAprItemType:()=>G,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>P,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>A,GqlPoolNestingType:()=>I,GqlPoolOrderBy:()=>
|
|
1
|
+
"use strict";var y=Object.defineProperty;var tt=Object.getOwnPropertyDescriptor;var at=Object.getOwnPropertyNames;var et=Object.prototype.hasOwnProperty;var ot=(c,u)=>{for(var t in u)y(c,t,{get:u[t],enumerable:!0})},rt=(c,u,t,a)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of at(u))!et.call(c,e)&&e!==t&&y(c,e,{get:()=>u[e],enumerable:!(a=tt(u,e))||a.enumerable});return c};var nt=c=>rt(y({},"__esModule",{value:!0}),c);var mt={};ot(mt,{DynamicData:()=>S,GetGlobalLiquidityAndSwapVolume:()=>ct,GetPool:()=>st,GetPoolEvents:()=>ut,GetPoolHistoricalData:()=>it,GetPools:()=>lt,GetTokenCurrentPrices:()=>pt,GqlChain:()=>d,GqlContentNewsItemSource:()=>g,GqlPoolAddRemoveEventV3:()=>j,GqlPoolAprItemType:()=>G,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>P,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>A,GqlPoolNestingType:()=>I,GqlPoolOrderBy:()=>_,GqlPoolOrderDirection:()=>h,GqlPoolSnapshotDataRange:()=>D,GqlPoolSwapEventCowAmm:()=>z,GqlPoolSwapEventV3:()=>X,GqlPoolType:()=>B,GqlRewardVaultIncentiveOrderBy:()=>T,GqlRewardVaultIncentiveOrderDirection:()=>k,GqlRewardVaultOrderBy:()=>M,GqlRewardVaultOrderDirection:()=>x,GqlRewardVaultSnapshotDataRange:()=>v,GqlRewardVaultSnapshotResolution:()=>w,GqlSWberaVaultMetadataResolution:()=>V,GqlSorSwapType:()=>C,GqlStakeBeraVaultEventType:()=>R,GqlTokenChartDataRange:()=>E,GqlTokenType:()=>F,GqlUserVaultDepositOrderBy:()=>f,GqlUserVaultDepositOrderDirection:()=>U,GqlValidatorBlockUptimeStatus:()=>$,GqlValidatorBoostOrderBy:()=>N,GqlValidatorBoostOrderDirection:()=>L,GqlValidatorOrderBy:()=>H,GqlValidatorOrderDirection:()=>W,GqlVaultSnapshotDataRange:()=>Q,MinimalPool:()=>K,MinimalPoolInList:()=>Y,PoolEvent:()=>Z,PoolHistoricalData:()=>J,RewardVault:()=>m,UserBalance:()=>O,default:()=>St});module.exports=nt(mt);var n=require("@apollo/client"),d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),g=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(g||{}),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||{}),b=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(b||{}),P=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(P||{}),q=(p=>(p.BlackListed="BLACK_LISTED",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||{}),A=(t=>(t.Exit="Exit",t.Join="Join",t))(A||{}),I=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(I||{}),_=(r=>(r.Apr="apr",r.BgtApr="bgtApr",r.CombinedApr="combinedApr",r.Fees24h="fees24h",r.TotalLiquidity="totalLiquidity",r.TotalShares="totalShares",r.UserbalanceUsd="userbalanceUsd",r.Volume24h="volume24h",r))(_||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),D=(o=>(o.AllTime="ALL_TIME",o.NinetyDays="NINETY_DAYS",o.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",o.OneYear="ONE_YEAR",o.ThirtyDays="THIRTY_DAYS",o))(D||{}),B=(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))(B||{}),T=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(T||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),M=(r=>(r.ActiveIncentivesRateUsd="activeIncentivesRateUsd",r.ActiveIncentivesValueUsd="activeIncentivesValueUsd",r.AllTimeBgtReceived="allTimeBGTReceived",r.Apr="apr",r.Apy="apy",r.BgtCapturePercentage="bgtCapturePercentage",r.Last24hBgtReceived="last24hBGTReceived",r.ProjectedApr="projectedApr",r))(M||{}),x=(t=>(t.Asc="asc",t.Desc="desc",t))(x||{}),v=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(v||{}),w=(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),V=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(V||{}),C=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(C||{}),R=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(R||{}),E=(o=>(o.NinetyDay="NINETY_DAY",o.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",o.OneYear="ONE_YEAR",o.SevenDay="SEVEN_DAY",o.ThirtyDay="THIRTY_DAY",o))(E||{}),F=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(F||{}),f=(u=>(u.Amount="amount",u))(f||{}),U=(t=>(t.Asc="asc",t.Desc="desc",t))(U||{}),$=(e=>(e.Inactive="INACTIVE",e.Offline="OFFLINE",e.Proposed="PROPOSED",e.Signed="SIGNED",e))($||{}),N=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(N||{}),L=(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H=(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))(H||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),Q=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(Q||{}),S=n.gql`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -987,18 +987,6 @@ type GqlPoolMinimal = {
|
|
|
987
987
|
/** The version of the pool type. */
|
|
988
988
|
version: Scalars['Int']['output'];
|
|
989
989
|
};
|
|
990
|
-
/** Result of the poolReloadPools mutation */
|
|
991
|
-
type GqlPoolMutationResult = {
|
|
992
|
-
__typename?: 'GqlPoolMutationResult';
|
|
993
|
-
/** The chain that was reloaded. */
|
|
994
|
-
chain: GqlChain;
|
|
995
|
-
/** The error message */
|
|
996
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
997
|
-
/** Whether it was successful or not. */
|
|
998
|
-
success: Scalars['Boolean']['output'];
|
|
999
|
-
/** The type of pools that were reloaded. */
|
|
1000
|
-
type: Scalars['String']['output'];
|
|
1001
|
-
};
|
|
1002
990
|
type GqlPoolNestedUnion = GqlPoolComposableStableNested;
|
|
1003
991
|
declare enum GqlPoolNestingType {
|
|
1004
992
|
HasOnlyPhantomBpt = "HAS_ONLY_PHANTOM_BPT",
|
|
@@ -2101,8 +2089,6 @@ type Mutation = {
|
|
|
2101
2089
|
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
2102
2090
|
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
2103
2091
|
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2104
|
-
poolReloadPools: Array<GqlPoolMutationResult>;
|
|
2105
|
-
poolSyncAllCowSnapshots: Array<GqlPoolMutationResult>;
|
|
2106
2092
|
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2107
2093
|
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2108
2094
|
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
@@ -2142,12 +2128,6 @@ type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
|
2142
2128
|
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2143
2129
|
chain: GqlChain;
|
|
2144
2130
|
};
|
|
2145
|
-
type MutationPoolReloadPoolsArgs = {
|
|
2146
|
-
chains: Array<GqlChain>;
|
|
2147
|
-
};
|
|
2148
|
-
type MutationPoolSyncAllCowSnapshotsArgs = {
|
|
2149
|
-
chains: Array<GqlChain>;
|
|
2150
|
-
};
|
|
2151
2131
|
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2152
2132
|
chain: GqlChain;
|
|
2153
2133
|
};
|
|
@@ -3751,12 +3731,12 @@ type GetGlobalLiquidityAndSwapVolumeQuery = {
|
|
|
3751
3731
|
totalLiquidity: string;
|
|
3752
3732
|
};
|
|
3753
3733
|
};
|
|
3754
|
-
declare const DynamicData:
|
|
3755
|
-
declare const UserBalance:
|
|
3756
|
-
declare const RewardVault:
|
|
3757
|
-
declare const MinimalPoolInList:
|
|
3758
|
-
declare const MinimalPool:
|
|
3759
|
-
declare const PoolHistoricalData:
|
|
3734
|
+
declare const DynamicData: graphql.DocumentNode;
|
|
3735
|
+
declare const UserBalance: graphql.DocumentNode;
|
|
3736
|
+
declare const RewardVault: graphql.DocumentNode;
|
|
3737
|
+
declare const MinimalPoolInList: graphql.DocumentNode;
|
|
3738
|
+
declare const MinimalPool: graphql.DocumentNode;
|
|
3739
|
+
declare const PoolHistoricalData: graphql.DocumentNode;
|
|
3760
3740
|
/** Represents an event that occurs when a swap is made in a pool using the CowAmm protocol. */
|
|
3761
3741
|
type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
3762
3742
|
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
@@ -3793,7 +3773,7 @@ type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
|
3793
3773
|
/** The value of the event in USD. */
|
|
3794
3774
|
valueUSD: Scalars['Float']['output'];
|
|
3795
3775
|
};
|
|
3796
|
-
declare const GqlPoolSwapEventCowAmm:
|
|
3776
|
+
declare const GqlPoolSwapEventCowAmm: graphql.DocumentNode;
|
|
3797
3777
|
/** Represents an event that occurs when a swap is made in a pool. */
|
|
3798
3778
|
type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
3799
3779
|
__typename?: 'GqlPoolSwapEventV3';
|
|
@@ -3828,7 +3808,7 @@ type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
|
3828
3808
|
/** The value of the event in USD. */
|
|
3829
3809
|
valueUSD: Scalars['Float']['output'];
|
|
3830
3810
|
};
|
|
3831
|
-
declare const GqlPoolSwapEventV3:
|
|
3811
|
+
declare const GqlPoolSwapEventV3: graphql.DocumentNode;
|
|
3832
3812
|
/** Represents an event that occurs when liquidity is added or removed from a pool. */
|
|
3833
3813
|
type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
3834
3814
|
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
@@ -3859,14 +3839,14 @@ type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
|
3859
3839
|
/** The value of the event in USD. */
|
|
3860
3840
|
valueUSD: Scalars['Float']['output'];
|
|
3861
3841
|
};
|
|
3862
|
-
declare const GqlPoolAddRemoveEventV3:
|
|
3863
|
-
declare const PoolEvent:
|
|
3864
|
-
declare const GetPools:
|
|
3865
|
-
declare const GetPool:
|
|
3866
|
-
declare const GetPoolHistoricalData:
|
|
3867
|
-
declare const GetPoolEvents:
|
|
3868
|
-
declare const GetTokenCurrentPrices:
|
|
3869
|
-
declare const GetGlobalLiquidityAndSwapVolume:
|
|
3842
|
+
declare const GqlPoolAddRemoveEventV3: graphql.DocumentNode;
|
|
3843
|
+
declare const PoolEvent: graphql.DocumentNode;
|
|
3844
|
+
declare const GetPools: graphql.DocumentNode;
|
|
3845
|
+
declare const GetPool: graphql.DocumentNode;
|
|
3846
|
+
declare const GetPoolHistoricalData: graphql.DocumentNode;
|
|
3847
|
+
declare const GetPoolEvents: graphql.DocumentNode;
|
|
3848
|
+
declare const GetTokenCurrentPrices: graphql.DocumentNode;
|
|
3849
|
+
declare const GetGlobalLiquidityAndSwapVolume: graphql.DocumentNode;
|
|
3870
3850
|
interface PossibleTypesResultData {
|
|
3871
3851
|
possibleTypes: {
|
|
3872
3852
|
[key: string]: string[];
|
|
@@ -3874,4 +3854,4 @@ interface PossibleTypesResultData {
|
|
|
3874
3854
|
}
|
|
3875
3855
|
declare const result: PossibleTypesResultData;
|
|
3876
3856
|
|
|
3877
|
-
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 GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, 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 GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, 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
|
|
3857
|
+
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 GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, 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 GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, 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 GqlStakeBeraVaultEarnings, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, 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, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, 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 QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEarningsByOwnerArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -987,18 +987,6 @@ type GqlPoolMinimal = {
|
|
|
987
987
|
/** The version of the pool type. */
|
|
988
988
|
version: Scalars['Int']['output'];
|
|
989
989
|
};
|
|
990
|
-
/** Result of the poolReloadPools mutation */
|
|
991
|
-
type GqlPoolMutationResult = {
|
|
992
|
-
__typename?: 'GqlPoolMutationResult';
|
|
993
|
-
/** The chain that was reloaded. */
|
|
994
|
-
chain: GqlChain;
|
|
995
|
-
/** The error message */
|
|
996
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
997
|
-
/** Whether it was successful or not. */
|
|
998
|
-
success: Scalars['Boolean']['output'];
|
|
999
|
-
/** The type of pools that were reloaded. */
|
|
1000
|
-
type: Scalars['String']['output'];
|
|
1001
|
-
};
|
|
1002
990
|
type GqlPoolNestedUnion = GqlPoolComposableStableNested;
|
|
1003
991
|
declare enum GqlPoolNestingType {
|
|
1004
992
|
HasOnlyPhantomBpt = "HAS_ONLY_PHANTOM_BPT",
|
|
@@ -2101,8 +2089,6 @@ type Mutation = {
|
|
|
2101
2089
|
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
2102
2090
|
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
2103
2091
|
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2104
|
-
poolReloadPools: Array<GqlPoolMutationResult>;
|
|
2105
|
-
poolSyncAllCowSnapshots: Array<GqlPoolMutationResult>;
|
|
2106
2092
|
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2107
2093
|
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2108
2094
|
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
@@ -2142,12 +2128,6 @@ type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
|
2142
2128
|
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2143
2129
|
chain: GqlChain;
|
|
2144
2130
|
};
|
|
2145
|
-
type MutationPoolReloadPoolsArgs = {
|
|
2146
|
-
chains: Array<GqlChain>;
|
|
2147
|
-
};
|
|
2148
|
-
type MutationPoolSyncAllCowSnapshotsArgs = {
|
|
2149
|
-
chains: Array<GqlChain>;
|
|
2150
|
-
};
|
|
2151
2131
|
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2152
2132
|
chain: GqlChain;
|
|
2153
2133
|
};
|
|
@@ -3751,12 +3731,12 @@ type GetGlobalLiquidityAndSwapVolumeQuery = {
|
|
|
3751
3731
|
totalLiquidity: string;
|
|
3752
3732
|
};
|
|
3753
3733
|
};
|
|
3754
|
-
declare const DynamicData:
|
|
3755
|
-
declare const UserBalance:
|
|
3756
|
-
declare const RewardVault:
|
|
3757
|
-
declare const MinimalPoolInList:
|
|
3758
|
-
declare const MinimalPool:
|
|
3759
|
-
declare const PoolHistoricalData:
|
|
3734
|
+
declare const DynamicData: graphql.DocumentNode;
|
|
3735
|
+
declare const UserBalance: graphql.DocumentNode;
|
|
3736
|
+
declare const RewardVault: graphql.DocumentNode;
|
|
3737
|
+
declare const MinimalPoolInList: graphql.DocumentNode;
|
|
3738
|
+
declare const MinimalPool: graphql.DocumentNode;
|
|
3739
|
+
declare const PoolHistoricalData: graphql.DocumentNode;
|
|
3760
3740
|
/** Represents an event that occurs when a swap is made in a pool using the CowAmm protocol. */
|
|
3761
3741
|
type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
3762
3742
|
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
@@ -3793,7 +3773,7 @@ type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
|
3793
3773
|
/** The value of the event in USD. */
|
|
3794
3774
|
valueUSD: Scalars['Float']['output'];
|
|
3795
3775
|
};
|
|
3796
|
-
declare const GqlPoolSwapEventCowAmm:
|
|
3776
|
+
declare const GqlPoolSwapEventCowAmm: graphql.DocumentNode;
|
|
3797
3777
|
/** Represents an event that occurs when a swap is made in a pool. */
|
|
3798
3778
|
type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
3799
3779
|
__typename?: 'GqlPoolSwapEventV3';
|
|
@@ -3828,7 +3808,7 @@ type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
|
3828
3808
|
/** The value of the event in USD. */
|
|
3829
3809
|
valueUSD: Scalars['Float']['output'];
|
|
3830
3810
|
};
|
|
3831
|
-
declare const GqlPoolSwapEventV3:
|
|
3811
|
+
declare const GqlPoolSwapEventV3: graphql.DocumentNode;
|
|
3832
3812
|
/** Represents an event that occurs when liquidity is added or removed from a pool. */
|
|
3833
3813
|
type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
3834
3814
|
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
@@ -3859,14 +3839,14 @@ type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
|
3859
3839
|
/** The value of the event in USD. */
|
|
3860
3840
|
valueUSD: Scalars['Float']['output'];
|
|
3861
3841
|
};
|
|
3862
|
-
declare const GqlPoolAddRemoveEventV3:
|
|
3863
|
-
declare const PoolEvent:
|
|
3864
|
-
declare const GetPools:
|
|
3865
|
-
declare const GetPool:
|
|
3866
|
-
declare const GetPoolHistoricalData:
|
|
3867
|
-
declare const GetPoolEvents:
|
|
3868
|
-
declare const GetTokenCurrentPrices:
|
|
3869
|
-
declare const GetGlobalLiquidityAndSwapVolume:
|
|
3842
|
+
declare const GqlPoolAddRemoveEventV3: graphql.DocumentNode;
|
|
3843
|
+
declare const PoolEvent: graphql.DocumentNode;
|
|
3844
|
+
declare const GetPools: graphql.DocumentNode;
|
|
3845
|
+
declare const GetPool: graphql.DocumentNode;
|
|
3846
|
+
declare const GetPoolHistoricalData: graphql.DocumentNode;
|
|
3847
|
+
declare const GetPoolEvents: graphql.DocumentNode;
|
|
3848
|
+
declare const GetTokenCurrentPrices: graphql.DocumentNode;
|
|
3849
|
+
declare const GetGlobalLiquidityAndSwapVolume: graphql.DocumentNode;
|
|
3870
3850
|
interface PossibleTypesResultData {
|
|
3871
3851
|
possibleTypes: {
|
|
3872
3852
|
[key: string]: string[];
|
|
@@ -3874,4 +3854,4 @@ interface PossibleTypesResultData {
|
|
|
3874
3854
|
}
|
|
3875
3855
|
declare const result: PossibleTypesResultData;
|
|
3876
3856
|
|
|
3877
|
-
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 GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, 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 GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, 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
|
|
3857
|
+
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 GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, 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 GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, 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 GqlStakeBeraVaultEarnings, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, 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, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, 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 QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEarningsByOwnerArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, 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=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(m||{}),d=(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))(d||{}),g=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(g||{}),G=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(G||{}),b=(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))(b||{}),P=(t=>(t.Exit="Exit",t.Join="Join",t))(P||{}),q=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(q||{}),A=(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))(A||{}),I=(t=>(t.Asc="asc",t.Desc="desc",t))(I||{}),
|
|
1
|
+
import{gql as r}from"@apollo/client";var S=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(S||{}),m=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(m||{}),d=(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))(d||{}),g=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(g||{}),G=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(G||{}),b=(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))(b||{}),P=(t=>(t.Exit="Exit",t.Join="Join",t))(P||{}),q=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(q||{}),A=(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))(A||{}),I=(t=>(t.Asc="asc",t.Desc="desc",t))(I||{}),_=(e=>(e.AllTime="ALL_TIME",e.NinetyDays="NINETY_DAYS",e.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",e.OneYear="ONE_YEAR",e.ThirtyDays="THIRTY_DAYS",e))(_||{}),h=(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))(h||{}),D=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(D||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),T=(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))(T||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),M=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(M||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),v=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(v||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),V=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(V||{}),C=(e=>(e.NinetyDay="NINETY_DAY",e.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",e.OneYear="ONE_YEAR",e.SevenDay="SEVEN_DAY",e.ThirtyDay="THIRTY_DAY",e))(C||{}),R=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(R||{}),E=(y=>(y.Amount="amount",y))(E||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),f=(l=>(l.Inactive="INACTIVE",l.Offline="OFFLINE",l.Proposed="PROPOSED",l.Signed="SIGNED",l))(f||{}),U=(e=>(e.ActiveBoostAmount="activeBoostAmount",e.LatestBlock="latestBlock",e.LatestBlockTime="latestBlockTime",e.QueuedBoostAmount="queuedBoostAmount",e.QueuedDropBoostAmount="queuedDropBoostAmount",e))(U||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),N=(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))(N||{}),L=(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(H||{}),p=r`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -196,4 +196,4 @@ ${z}`,tt=r`
|
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,j={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"]}},lt=j;export{p as DynamicData,nt as GetGlobalLiquidityAndSwapVolume,at as GetPool,ot as GetPoolEvents,et as GetPoolHistoricalData,tt as GetPools,rt as GetTokenCurrentPrices,S as GqlChain,m as GqlContentNewsItemSource,z as GqlPoolAddRemoveEventV3,d as GqlPoolAprItemType,g as GqlPoolEventType,G as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,P as GqlPoolJoinExitType,q as GqlPoolNestingType,A as GqlPoolOrderBy,I as GqlPoolOrderDirection,
|
|
199
|
+
`,j={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"]}},lt=j;export{p as DynamicData,nt as GetGlobalLiquidityAndSwapVolume,at as GetPool,ot as GetPoolEvents,et as GetPoolHistoricalData,tt as GetPools,rt as GetTokenCurrentPrices,S as GqlChain,m as GqlContentNewsItemSource,z as GqlPoolAddRemoveEventV3,d as GqlPoolAprItemType,g as GqlPoolEventType,G as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,P as GqlPoolJoinExitType,q as GqlPoolNestingType,A as GqlPoolOrderBy,I as GqlPoolOrderDirection,_ as GqlPoolSnapshotDataRange,K as GqlPoolSwapEventCowAmm,J as GqlPoolSwapEventV3,h as GqlPoolType,D as GqlRewardVaultIncentiveOrderBy,B as GqlRewardVaultIncentiveOrderDirection,T as GqlRewardVaultOrderBy,k as GqlRewardVaultOrderDirection,M as GqlRewardVaultSnapshotDataRange,x as GqlRewardVaultSnapshotResolution,v as GqlSWberaVaultMetadataResolution,w as GqlSorSwapType,V as GqlStakeBeraVaultEventType,C as GqlTokenChartDataRange,R as GqlTokenType,E as GqlUserVaultDepositOrderBy,F as GqlUserVaultDepositOrderDirection,f as GqlValidatorBlockUptimeStatus,U as GqlValidatorBoostOrderBy,$ as GqlValidatorBoostOrderDirection,N as GqlValidatorOrderBy,L as GqlValidatorOrderDirection,H as GqlVaultSnapshotDataRange,O as MinimalPool,Q as MinimalPoolInList,X as PoolEvent,Y as PoolHistoricalData,c as RewardVault,W as UserBalance,lt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -5424,14 +5424,14 @@ type GetExploitedTokensQuery = {
|
|
|
5424
5424
|
} | null;
|
|
5425
5425
|
}>;
|
|
5426
5426
|
};
|
|
5427
|
-
declare const SubgraphPool:
|
|
5428
|
-
declare const SubgraphToken:
|
|
5429
|
-
declare const GetSubgraphPool:
|
|
5430
|
-
declare const GetToken:
|
|
5431
|
-
declare const GetTokens:
|
|
5432
|
-
declare const GetDedupedSubgraphPools:
|
|
5433
|
-
declare const GetTokenInformation:
|
|
5434
|
-
declare const GetExploitedTokens:
|
|
5427
|
+
declare const SubgraphPool: graphql.DocumentNode;
|
|
5428
|
+
declare const SubgraphToken: graphql.DocumentNode;
|
|
5429
|
+
declare const GetSubgraphPool: graphql.DocumentNode;
|
|
5430
|
+
declare const GetToken: graphql.DocumentNode;
|
|
5431
|
+
declare const GetTokens: graphql.DocumentNode;
|
|
5432
|
+
declare const GetDedupedSubgraphPools: graphql.DocumentNode;
|
|
5433
|
+
declare const GetTokenInformation: graphql.DocumentNode;
|
|
5434
|
+
declare const GetExploitedTokens: graphql.DocumentNode;
|
|
5435
5435
|
interface PossibleTypesResultData {
|
|
5436
5436
|
possibleTypes: {
|
|
5437
5437
|
[key: string]: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql from 'graphql';
|
|
2
2
|
|
|
3
3
|
type Maybe<T> = T | null;
|
|
4
4
|
type InputMaybe<T> = Maybe<T>;
|
|
@@ -5424,14 +5424,14 @@ type GetExploitedTokensQuery = {
|
|
|
5424
5424
|
} | null;
|
|
5425
5425
|
}>;
|
|
5426
5426
|
};
|
|
5427
|
-
declare const SubgraphPool:
|
|
5428
|
-
declare const SubgraphToken:
|
|
5429
|
-
declare const GetSubgraphPool:
|
|
5430
|
-
declare const GetToken:
|
|
5431
|
-
declare const GetTokens:
|
|
5432
|
-
declare const GetDedupedSubgraphPools:
|
|
5433
|
-
declare const GetTokenInformation:
|
|
5434
|
-
declare const GetExploitedTokens:
|
|
5427
|
+
declare const SubgraphPool: graphql.DocumentNode;
|
|
5428
|
+
declare const SubgraphToken: graphql.DocumentNode;
|
|
5429
|
+
declare const GetSubgraphPool: graphql.DocumentNode;
|
|
5430
|
+
declare const GetToken: graphql.DocumentNode;
|
|
5431
|
+
declare const GetTokens: graphql.DocumentNode;
|
|
5432
|
+
declare const GetDedupedSubgraphPools: graphql.DocumentNode;
|
|
5433
|
+
declare const GetTokenInformation: graphql.DocumentNode;
|
|
5434
|
+
declare const GetExploitedTokens: graphql.DocumentNode;
|
|
5435
5435
|
interface PossibleTypesResultData {
|
|
5436
5436
|
possibleTypes: {
|
|
5437
5437
|
[key: string]: string[];
|