@berachain/graphql 0.1.10 → 0.2.1

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.
Files changed (33) hide show
  1. package/dist/bend/whisk.codegen.cjs +7 -7
  2. package/dist/bend/whisk.codegen.d.cts +40 -40
  3. package/dist/bend/whisk.codegen.d.ts +40 -40
  4. package/dist/bend/whisk.codegen.mjs +9 -9
  5. package/dist/chain/chain.codegen.cjs +1 -1
  6. package/dist/chain/chain.codegen.d.cts +14 -14
  7. package/dist/chain/chain.codegen.d.ts +14 -14
  8. package/dist/chain/chain.codegen.mjs +2 -2
  9. package/dist/dex/api.codegen.cjs +10 -10
  10. package/dist/dex/api.codegen.d.cts +187 -187
  11. package/dist/dex/api.codegen.d.ts +187 -187
  12. package/dist/dex/api.codegen.mjs +10 -10
  13. package/dist/dex/subgraph.codegen.cjs +2 -2
  14. package/dist/dex/subgraph.codegen.d.cts +47 -47
  15. package/dist/dex/subgraph.codegen.d.ts +47 -47
  16. package/dist/dex/subgraph.codegen.mjs +2 -2
  17. package/dist/governance/governance.codegen.cjs +9 -9
  18. package/dist/governance/governance.codegen.d.cts +133 -133
  19. package/dist/governance/governance.codegen.d.ts +133 -133
  20. package/dist/governance/governance.codegen.mjs +9 -9
  21. package/dist/honey/honey.codegen.cjs +3 -3
  22. package/dist/honey/honey.codegen.d.cts +40 -40
  23. package/dist/honey/honey.codegen.d.ts +40 -40
  24. package/dist/honey/honey.codegen.mjs +2 -2
  25. package/dist/pol/api.codegen.cjs +1 -1
  26. package/dist/pol/api.codegen.d.cts +6 -6
  27. package/dist/pol/api.codegen.d.ts +6 -6
  28. package/dist/pol/api.codegen.mjs +2 -2
  29. package/dist/pol/subgraph.codegen.cjs +19 -19
  30. package/dist/pol/subgraph.codegen.d.cts +86 -86
  31. package/dist/pol/subgraph.codegen.d.ts +86 -86
  32. package/dist/pol/subgraph.codegen.mjs +20 -20
  33. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import{gql as e}from"@apollo/client";var y=(r=>(r.Borrow="Borrow",r.Supply="Supply",r))(y||{}),m=(a=>(a.OneDay="one_day",a.SevenDays="seven_days",a.ThirtyDays="thirty_days",a))(m||{}),d=(r=>(r.Generic="generic",r.MorphoV1="morpho_v1",r))(d||{}),c=(n=>(n.Base="base",n.Ens="ens",n.Farcaster="farcaster",n.Lens="lens",n.Nns="nns",n.Uni="uni",n.World="world",n))(c||{}),g=(r=>(r.Borrow="Borrow",r.Lend="Lend",r))(g||{}),A=(a=>(a.Btc="Btc",a.Eth="Eth",a.Stable="Stable",a))(A||{}),_=(t=>(t.Enzyme="enzyme",t.EulerEarn="euler_earn",t.EulerV2="euler_v2",t.Gearbox="gearbox",t.Lista="lista",t.Mellow="mellow",t.Midas="midas",t.Morpho="morpho",t.Napier="napier",t.Pendle="pendle",t.Reserve="reserve",t.Silo="silo",t.TurtleClub="turtle_club",t))(_||{}),b=(a=>(a.Index="index",a.Lending="lending",a.Staking="staking",a))(b||{}),s=e`
1
+ import{gql as e}from"@apollo/client";var y=(r=>(r.Borrow="Borrow",r.Supply="Supply",r))(y||{}),m=(a=>(a.OneDay="one_day",a.SevenDays="seven_days",a.ThirtyDays="thirty_days",a))(m||{}),d=(r=>(r.Generic="generic",r.MorphoV1="morpho_v1",r))(d||{}),c=(n=>(n.Base="base",n.Ens="ens",n.Farcaster="farcaster",n.Lens="lens",n.Nns="nns",n.Uni="uni",n.World="world",n))(c||{}),A=(r=>(r.Borrow="Borrow",r.Lend="Lend",r))(A||{}),g=(a=>(a.Btc="Btc",a.Eth="Eth",a.Stable="Stable",a))(g||{}),_=(t=>(t.Enzyme="enzyme",t.EulerEarn="euler_earn",t.EulerV2="euler_v2",t.Gearbox="gearbox",t.Lista="lista",t.Mellow="mellow",t.Midas="midas",t.Morpho="morpho",t.Napier="napier",t.Pendle="pendle",t.Reserve="reserve",t.Silo="silo",t.TurtleClub="turtle_club",t))(_||{}),h=(a=>(a.Index="index",a.Lending="lending",a.Staking="staking",a))(h||{}),s=e`
2
2
  fragment ChainInfoFragment on Chain {
3
3
  id
4
4
  name
@@ -12,13 +12,13 @@ import{gql as e}from"@apollo/client";var y=(r=>(r.Borrow="Borrow",r.Supply="Supp
12
12
  icon
13
13
  category
14
14
  }
15
- `,u=e`
15
+ `,i=e`
16
16
  fragment CuratorInfoFragment on Curator {
17
17
  name
18
18
  image
19
19
  url
20
20
  }
21
- `,i=e`
21
+ `,u=e`
22
22
  fragment ApyFragment on Apy {
23
23
  base
24
24
  rewards {
@@ -81,8 +81,8 @@ import{gql as e}from"@apollo/client";var y=(r=>(r.Borrow="Borrow",r.Supply="Supp
81
81
  }
82
82
  ${s}
83
83
  ${o}
84
- ${u}
85
- ${i}`,p=e`
84
+ ${i}
85
+ ${u}`,p=e`
86
86
  fragment MarketSummaryFragment on MorphoMarket {
87
87
  chain {
88
88
  ...ChainInfoFragment
@@ -139,7 +139,7 @@ ${i}`,p=e`
139
139
  }
140
140
  ${s}
141
141
  ${o}
142
- ${i}`,M=e`
142
+ ${u}`,M=e`
143
143
  query VaultSummaries($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!) {
144
144
  morphoVaults(
145
145
  where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses}
@@ -253,7 +253,7 @@ ${i}`,M=e`
253
253
  ${l}
254
254
  ${s}
255
255
  ${o}
256
- ${i}`,x=e`
256
+ ${u}`,x=e`
257
257
  query Market($chainId: ChainId!, $marketId: Hex!) {
258
258
  morphoMarkets(where: {chainId_in: [$chainId], marketId_in: [$marketId]}) {
259
259
  items {
@@ -340,7 +340,7 @@ ${i}`,x=e`
340
340
  ${p}
341
341
  ${o}
342
342
  ${s}
343
- ${u}`,T=e`
343
+ ${i}`,T=e`
344
344
  query VaultPositions($chainIds: [ChainId!]!, $vaultAddresses: [Address!]!, $accountAddress: Address!) {
345
345
  morphoVaultPositions(
346
346
  where: {chainId_in: $chainIds, vaultAddress_in: $vaultAddresses, accountAddress_in: [$accountAddress]}
@@ -426,4 +426,4 @@ ${u}`,T=e`
426
426
  }
427
427
  }
428
428
  }
429
- `,h={possibleTypes:{Erc4626Vault:["GenericErc4626Vault","MorphoVault"]}},V=h;export{i as ApyFragment,y as ApySide,m as ApyTimeframe,s as ChainInfoFragment,u as CuratorInfoFragment,d as Erc4626VaultProtocol,c as IdentityResolver,x as Market,f as MarketPositions,S as MarketSummaries,p as MarketSummaryFragment,g as MerklAction,w as SupportedMarketIds,A as TokenCategory,o as TokenInfoFragment,I as Vault,T as VaultPositions,_ as VaultProtocol,M as VaultSummaries,l as VaultSummaryFragment,b as VaultType,V as default};
429
+ `,b={possibleTypes:{Erc4626Vault:["GenericErc4626Vault","MorphoVault"]}},V=b;export{u as ApyFragment,y as ApySide,m as ApyTimeframe,s as ChainInfoFragment,i as CuratorInfoFragment,d as Erc4626VaultProtocol,c as IdentityResolver,x as Market,f as MarketPositions,S as MarketSummaries,p as MarketSummaryFragment,A as MerklAction,w as SupportedMarketIds,g as TokenCategory,o as TokenInfoFragment,I as Vault,T as VaultPositions,_ as VaultProtocol,M as VaultSummaries,l as VaultSummaryFragment,h as VaultType,V as default};
@@ -1,4 +1,4 @@
1
- "use strict";var p=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var S=(e,n)=>{for(var a in n)p(e,a,{get:n[a],enumerable:!0})},_=(e,n,a,u)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of I(n))!b.call(e,s)&&s!==a&&p(e,s,{get:()=>n[s],enumerable:!(u=c(n,s))||u.enumerable});return e};var M=e=>_(p({},"__esModule",{value:!0}),e);var h={};S(h,{Aggregation_Interval:()=>r,Block_OrderBy:()=>y,GetBlocksTimeStamp:()=>B,OrderDirection:()=>o,_SubgraphErrorPolicy_:()=>l,default:()=>m});module.exports=M(h);var i=require("@apollo/client"),r=(a=>(a.Day="day",a.Hour="hour",a))(r||{}),y=(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))(y||{}),o=(a=>(a.Asc="asc",a.Desc="desc",a))(o||{}),l=(a=>(a.Allow="allow",a.Deny="deny",a))(l||{}),B=i.gql`
1
+ "use strict";var i=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var S=(e,n)=>{for(var a in n)i(e,a,{get:n[a],enumerable:!0})},_=(e,n,a,p)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of I(n))!b.call(e,s)&&s!==a&&i(e,s,{get:()=>n[s],enumerable:!(p=c(n,s))||p.enumerable});return e};var M=e=>_(i({},"__esModule",{value:!0}),e);var h={};S(h,{Aggregation_Interval:()=>r,Block_OrderBy:()=>y,GetBlocksTimeStamp:()=>B,OrderDirection:()=>o,_SubgraphErrorPolicy_:()=>l,default:()=>m});module.exports=M(h);var u=require("@apollo/client"),r=(a=>(a.Day="day",a.Hour="hour",a))(r||{}),y=(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))(y||{}),o=(a=>(a.Asc="asc",a.Desc="desc",a))(o||{}),l=(a=>(a.Allow="allow",a.Deny="deny",a))(l||{}),B=u.gql`
2
2
  query GetBlocksTimeStamp($skip: Int!) {
3
3
  newest: blocks(first: 1, orderBy: timestamp, orderDirection: desc) {
4
4
  timestamp
@@ -44,24 +44,24 @@ type Scalars = {
44
44
  output: number;
45
45
  };
46
46
  BigDecimal: {
47
- input: any;
48
- output: any;
47
+ input: string;
48
+ output: string;
49
49
  };
50
50
  BigInt: {
51
- input: any;
52
- output: any;
51
+ input: string;
52
+ output: string;
53
53
  };
54
54
  Bytes: {
55
- input: any;
56
- output: any;
55
+ input: `0x${string}`;
56
+ output: `0x${string}`;
57
57
  };
58
58
  Int8: {
59
- input: any;
60
- output: any;
59
+ input: string;
60
+ output: string;
61
61
  };
62
62
  Timestamp: {
63
- input: any;
64
- output: any;
63
+ input: string;
64
+ output: string;
65
65
  };
66
66
  };
67
67
  declare enum Aggregation_Interval {
@@ -356,13 +356,13 @@ type GetBlocksTimeStampQuery = {
356
356
  __typename?: 'Query';
357
357
  newest: Array<{
358
358
  __typename?: 'Block';
359
- timestamp: any;
360
- number: any;
359
+ timestamp: string;
360
+ number: string;
361
361
  }>;
362
362
  oldest: Array<{
363
363
  __typename?: 'Block';
364
- timestamp: any;
365
- number: any;
364
+ timestamp: string;
365
+ number: string;
366
366
  }>;
367
367
  };
368
368
  declare const GetBlocksTimeStamp: graphql.DocumentNode;
@@ -44,24 +44,24 @@ type Scalars = {
44
44
  output: number;
45
45
  };
46
46
  BigDecimal: {
47
- input: any;
48
- output: any;
47
+ input: string;
48
+ output: string;
49
49
  };
50
50
  BigInt: {
51
- input: any;
52
- output: any;
51
+ input: string;
52
+ output: string;
53
53
  };
54
54
  Bytes: {
55
- input: any;
56
- output: any;
55
+ input: `0x${string}`;
56
+ output: `0x${string}`;
57
57
  };
58
58
  Int8: {
59
- input: any;
60
- output: any;
59
+ input: string;
60
+ output: string;
61
61
  };
62
62
  Timestamp: {
63
- input: any;
64
- output: any;
63
+ input: string;
64
+ output: string;
65
65
  };
66
66
  };
67
67
  declare enum Aggregation_Interval {
@@ -356,13 +356,13 @@ type GetBlocksTimeStampQuery = {
356
356
  __typename?: 'Query';
357
357
  newest: Array<{
358
358
  __typename?: 'Block';
359
- timestamp: any;
360
- number: any;
359
+ timestamp: string;
360
+ number: string;
361
361
  }>;
362
362
  oldest: Array<{
363
363
  __typename?: 'Block';
364
- timestamp: any;
365
- number: any;
364
+ timestamp: string;
365
+ number: string;
366
366
  }>;
367
367
  };
368
368
  declare const GetBlocksTimeStamp: graphql.DocumentNode;
@@ -1,4 +1,4 @@
1
- import{gql as n}from"@apollo/client";var e=(a=>(a.Day="day",a.Hour="hour",a))(e||{}),s=(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=(a=>(a.Asc="asc",a.Desc="desc",a))(p||{}),u=(a=>(a.Allow="allow",a.Deny="deny",a))(u||{}),y=n`
1
+ import{gql as n}from"@apollo/client";var e=(a=>(a.Day="day",a.Hour="hour",a))(e||{}),s=(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||{}),i=(a=>(a.Asc="asc",a.Desc="desc",a))(i||{}),p=(a=>(a.Allow="allow",a.Deny="deny",a))(p||{}),y=n`
2
2
  query GetBlocksTimeStamp($skip: Int!) {
3
3
  newest: blocks(first: 1, orderBy: timestamp, orderDirection: desc) {
4
4
  timestamp
@@ -9,4 +9,4 @@ import{gql as n}from"@apollo/client";var e=(a=>(a.Day="day",a.Hour="hour",a))(e|
9
9
  number
10
10
  }
11
11
  }
12
- `,i={possibleTypes:{}},o=i;export{e as Aggregation_Interval,s as Block_OrderBy,y as GetBlocksTimeStamp,p as OrderDirection,u as _SubgraphErrorPolicy_,o as default};
12
+ `,u={possibleTypes:{}},o=u;export{e as Aggregation_Interval,s as Block_OrderBy,y as GetBlocksTimeStamp,i as OrderDirection,p as _SubgraphErrorPolicy_,o as default};
@@ -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,i)=>{for(var t in i)y(c,t,{get:i[t],enumerable:!0})},rt=(c,i,t,a)=>{if(i&&typeof i=="object"||typeof i=="function")for(let e of at(i))!et.call(c,e)&&e!==t&&y(c,e,{get:()=>i[e],enumerable:!(a=tt(i,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:()=>it,GetPoolHistoricalData:()=>ut,GetPools:()=>lt,GetTokenCurrentPrices:()=>pt,GqlChain:()=>d,GqlContentNewsItemSource:()=>g,GqlPoolAddRemoveEventV3:()=>j,GqlPoolAprItemType:()=>G,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>P,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>A,GqlPoolNestingType:()=>I,GqlPoolOrderBy:()=>h,GqlPoolOrderDirection:()=>_,GqlPoolSnapshotDataRange:()=>D,GqlPoolSwapEventCowAmm:()=>z,GqlPoolSwapEventV3:()=>X,GqlPoolType:()=>T,GqlRewardVaultIncentiveOrderBy:()=>k,GqlRewardVaultIncentiveOrderDirection:()=>M,GqlRewardVaultOrderBy:()=>B,GqlRewardVaultOrderDirection:()=>v,GqlRewardVaultSnapshotDataRange:()=>w,GqlRewardVaultSnapshotResolution:()=>x,GqlSWberaVaultMetadataResolution:()=>V,GqlSorSwapType:()=>C,GqlStakeBeraVaultEventType:()=>R,GqlTokenChartDataRange:()=>E,GqlTokenType:()=>F,GqlUserVaultDepositOrderBy:()=>f,GqlUserVaultDepositOrderDirection:()=>U,GqlValidatorBlockUptimeStatus:()=>N,GqlValidatorBoostOrderBy:()=>L,GqlValidatorBoostOrderDirection:()=>H,GqlValidatorOrderBy:()=>W,GqlValidatorOrderDirection:()=>O,GqlVaultSnapshotDataRange:()=>Q,MinimalPool:()=>K,MinimalPoolInList:()=>$,PoolEvent:()=>Z,PoolHistoricalData:()=>J,RewardVault:()=>m,UserBalance:()=>Y,default:()=>St});module.exports=nt(mt);var n=require("@apollo/client"),d=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(d||{}),g=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(g||{}),G=(u=>(u.Aura="AURA",u.IbYield="IB_YIELD",u.Locking="LOCKING",u.MabeetsEmissions="MABEETS_EMISSIONS",u.Merkl="MERKL",u.Nested="NESTED",u.Staking="STAKING",u.StakingBoost="STAKING_BOOST",u.Surplus="SURPLUS",u.SwapFee="SWAP_FEE",u.VebalEmissions="VEBAL_EMISSIONS",u.Voting="VOTING",u))(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||{}),h=(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))(_||{}),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||{}),T=(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))(T||{}),k=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(k||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),B=(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))(B||{}),v=(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),w=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(w||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),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=(i=>(i.Amount="amount",i))(f||{}),U=(t=>(t.Asc="asc",t.Desc="desc",t))(U||{}),N=(e=>(e.Inactive="INACTIVE",e.Offline="OFFLINE",e.Proposed="PROPOSED",e.Signed="SIGNED",e))(N||{}),L=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(L||{}),H=(t=>(t.Asc="asc",t.Desc="desc",t))(H||{}),W=(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))(W||{}),O=(t=>(t.Asc="asc",t.Desc="desc",t))(O||{}),Q=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(Q||{}),S=n.gql`
1
+ "use strict";var S=Object.defineProperty;var tt=Object.getOwnPropertyDescriptor;var at=Object.getOwnPropertyNames;var et=Object.prototype.hasOwnProperty;var ot=(c,u)=>{for(var t in u)S(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&&S(c,e,{get:()=>u[e],enumerable:!(a=tt(u,e))||a.enumerable});return c};var nt=c=>rt(S({},"__esModule",{value:!0}),c);var mt={};ot(mt,{DynamicData:()=>y,GetGlobalLiquidityAndSwapVolume:()=>ct,GetPool:()=>st,GetPoolEvents:()=>ut,GetPoolHistoricalData:()=>it,GetPools:()=>lt,GetTokenCurrentPrices:()=>pt,GqlChain:()=>g,GqlContentNewsItemSource:()=>d,GqlPoolAddRemoveEventV3:()=>j,GqlPoolAprItemType:()=>G,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>P,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>A,GqlPoolNestingType:()=>I,GqlPoolOrderBy:()=>h,GqlPoolOrderDirection:()=>_,GqlPoolSnapshotDataRange:()=>D,GqlPoolSwapEventCowAmm:()=>z,GqlPoolSwapEventV3:()=>X,GqlPoolType:()=>T,GqlRewardVaultIncentiveOrderBy:()=>k,GqlRewardVaultIncentiveOrderDirection:()=>M,GqlRewardVaultOrderBy:()=>B,GqlRewardVaultOrderDirection:()=>v,GqlRewardVaultSnapshotDataRange:()=>w,GqlRewardVaultSnapshotResolution:()=>x,GqlSWberaVaultMetadataResolution:()=>V,GqlSorSwapType:()=>C,GqlStakeBeraVaultEventType:()=>R,GqlTokenChartDataRange:()=>E,GqlTokenType:()=>F,GqlUserVaultDepositOrderBy:()=>f,GqlUserVaultDepositOrderDirection:()=>U,GqlValidatorBlockUptimeStatus:()=>N,GqlValidatorBoostOrderBy:()=>L,GqlValidatorBoostOrderDirection:()=>H,GqlValidatorOrderBy:()=>$,GqlValidatorOrderDirection:()=>W,GqlVaultSnapshotDataRange:()=>O,MinimalPool:()=>K,MinimalPoolInList:()=>Y,PoolEvent:()=>Z,PoolHistoricalData:()=>J,RewardVault:()=>m,UserBalance:()=>Q,default:()=>yt});module.exports=nt(mt);var n=require("@apollo/client"),g=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(g||{}),d=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(d||{}),G=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(G||{}),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||{}),h=(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))(_||{}),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||{}),T=(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))(T||{}),k=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(k||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),B=(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))(B||{}),v=(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),w=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(w||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),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||{}),N=(e=>(e.Inactive="INACTIVE",e.Offline="OFFLINE",e.Proposed="PROPOSED",e.Signed="SIGNED",e))(N||{}),L=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(L||{}),H=(t=>(t.Asc="asc",t.Desc="desc",t))(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))($||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(O||{}),y=n.gql`
2
2
  fragment DynamicData on GqlPoolDynamicData {
3
3
  totalShares
4
4
  fees24h
@@ -13,7 +13,7 @@
13
13
  id
14
14
  }
15
15
  }
16
- `,Y=n.gql`
16
+ `,Q=n.gql`
17
17
  fragment UserBalance on GqlPoolUserBalance {
18
18
  totalBalanceUsd
19
19
  walletBalance
@@ -31,7 +31,7 @@
31
31
  vaultAddress
32
32
  stakingTokenAddress
33
33
  }
34
- `,$=n.gql`
34
+ `,Y=n.gql`
35
35
  fragment MinimalPoolInList on GqlPoolMinimal {
36
36
  id
37
37
  name
@@ -56,8 +56,8 @@
56
56
  ...RewardVault
57
57
  }
58
58
  }
59
- ${S}
60
- ${Y}
59
+ ${y}
60
+ ${Q}
61
61
  ${m}`,K=n.gql`
62
62
  fragment MinimalPool on GqlPoolBase {
63
63
  id
@@ -85,7 +85,7 @@ ${m}`,K=n.gql`
85
85
  ...RewardVault
86
86
  }
87
87
  }
88
- ${S}
88
+ ${y}
89
89
  ${m}`,J=n.gql`
90
90
  fragment PoolHistoricalData on GqlPoolSnapshot {
91
91
  id
@@ -156,19 +156,19 @@ ${j}`,lt=n.gql`
156
156
  where: {userAddress: $userAddress, chainIn: $chain}
157
157
  )
158
158
  }
159
- ${$}`,st=n.gql`
159
+ ${Y}`,st=n.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
- ${K}`,ut=n.gql`
165
+ ${K}`,it=n.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
- ${J}`,it=n.gql`
171
+ ${J}`,ut=n.gql`
172
172
  query GetPoolEvents($poolId: String!, $typeIn: [GqlPoolEventType!]!, $chain: GqlChain!) {
173
173
  poolGetEvents(
174
174
  poolId: $poolId
@@ -196,4 +196,4 @@ ${j}`,lt=n.gql`
196
196
  totalLiquidity
197
197
  }
198
198
  }
199
- `,yt={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=yt;0&&(module.exports={DynamicData,GetGlobalLiquidityAndSwapVolume,GetPool,GetPoolEvents,GetPoolHistoricalData,GetPools,GetTokenCurrentPrices,GqlChain,GqlContentNewsItemSource,GqlPoolAddRemoveEventV3,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolSwapEventCowAmm,GqlPoolSwapEventV3,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlStakeBeraVaultEventType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange,MinimalPool,MinimalPoolInList,PoolEvent,PoolHistoricalData,RewardVault,UserBalance});
199
+ `,St={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"]}},yt=St;0&&(module.exports={DynamicData,GetGlobalLiquidityAndSwapVolume,GetPool,GetPoolEvents,GetPoolHistoricalData,GetPools,GetTokenCurrentPrices,GqlChain,GqlContentNewsItemSource,GqlPoolAddRemoveEventV3,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolSwapEventCowAmm,GqlPoolSwapEventV3,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlStakeBeraVaultEventType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange,MinimalPool,MinimalPoolInList,PoolEvent,PoolHistoricalData,RewardVault,UserBalance});