@berachain/graphql 0.4.1-beta.1 → 0.4.1-beta.2

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.
@@ -605,7 +605,7 @@ declare enum MerklAction {
605
605
  }
606
606
  type MerklRewardInput = {
607
607
  /** The action of the opportunity */
608
- action: MerklAction;
608
+ action: InputMaybe<MerklAction>;
609
609
  /** The chain ID of the main protocol */
610
610
  chainId: Scalars['ChainId']['input'];
611
611
  /** The identifier (a.k.a mainParameter) of the reward (ex. vault address for a Morpho vault) */
@@ -605,7 +605,7 @@ declare enum MerklAction {
605
605
  }
606
606
  type MerklRewardInput = {
607
607
  /** The action of the opportunity */
608
- action: MerklAction;
608
+ action: InputMaybe<MerklAction>;
609
609
  /** The chain ID of the main protocol */
610
610
  chainId: Scalars['ChainId']['input'];
611
611
  /** The identifier (a.k.a mainParameter) of the reward (ex. vault address for a Morpho vault) */
@@ -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:()=>_,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=(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=(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`
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:()=>h,GqlPoolOrderDirection:()=>_,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||{}),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||{}),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
@@ -105,11 +105,8 @@ type GqlBalancePoolAprSubItem = {
105
105
  title: Scalars['String']['output'];
106
106
  };
107
107
  declare enum GqlChain {
108
- /** @deprecated BARTIO is deprecated */
109
- Bartio = "BARTIO",
110
- Berachain = "BERACHAIN",
111
- /** @deprecated CARTIO is deprecated */
112
- Cartio = "CARTIO"
108
+ Bepolia = "BEPOLIA",
109
+ Berachain = "BERACHAIN"
113
110
  }
114
111
  type GqlContentNewsItem = {
115
112
  __typename?: 'GqlContentNewsItem';
@@ -2028,6 +2025,16 @@ declare enum GqlValidatorOrderDirection {
2028
2025
  type GqlValidatorRewardAllocationWeight = {
2029
2026
  __typename?: 'GqlValidatorRewardAllocationWeight';
2030
2027
  chain: GqlChain;
2028
+ /**
2029
+ * The percentage of rewards allocated to the receiving vault.
2030
+ * 1 = 100%
2031
+ */
2032
+ percentage: Scalars['Float']['output'];
2033
+ /**
2034
+ * The numerator of the percentage of rewards allocated as stored onchain.
2035
+ * To be converted to a percentage by dividing by 1e4.
2036
+ * @deprecated Use percentage instead
2037
+ */
2031
2038
  percentageNumerator: Scalars['Int']['output'];
2032
2039
  receiver: Scalars['Bytes']['output'];
2033
2040
  receivingVault?: Maybe<GqlRewardVault>;
@@ -105,11 +105,8 @@ type GqlBalancePoolAprSubItem = {
105
105
  title: Scalars['String']['output'];
106
106
  };
107
107
  declare enum GqlChain {
108
- /** @deprecated BARTIO is deprecated */
109
- Bartio = "BARTIO",
110
- Berachain = "BERACHAIN",
111
- /** @deprecated CARTIO is deprecated */
112
- Cartio = "CARTIO"
108
+ Bepolia = "BEPOLIA",
109
+ Berachain = "BERACHAIN"
113
110
  }
114
111
  type GqlContentNewsItem = {
115
112
  __typename?: 'GqlContentNewsItem';
@@ -2028,6 +2025,16 @@ declare enum GqlValidatorOrderDirection {
2028
2025
  type GqlValidatorRewardAllocationWeight = {
2029
2026
  __typename?: 'GqlValidatorRewardAllocationWeight';
2030
2027
  chain: GqlChain;
2028
+ /**
2029
+ * The percentage of rewards allocated to the receiving vault.
2030
+ * 1 = 100%
2031
+ */
2032
+ percentage: Scalars['Float']['output'];
2033
+ /**
2034
+ * The numerator of the percentage of rewards allocated as stored onchain.
2035
+ * To be converted to a percentage by dividing by 1e4.
2036
+ * @deprecated Use percentage instead
2037
+ */
2031
2038
  percentageNumerator: Scalars['Int']['output'];
2032
2039
  receiver: Scalars['Bytes']['output'];
2033
2040
  receivingVault?: Maybe<GqlRewardVault>;
@@ -1,4 +1,4 @@
1
- import{gql as r}from"@apollo/client";var S=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(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`
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||{}),h=(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))(_||{}),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,_ 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};
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,h as GqlPoolSnapshotDataRange,K as GqlPoolSwapEventCowAmm,J as GqlPoolSwapEventV3,_ 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
- "use strict";var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,a)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of X(u))!j.call(c,e)&&e!==t&&d(c,e,{get:()=>u[e],enumerable:!(a=J(u,e))||a.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var mt={};Z(mt,{ApiRewardAllocationWeight:()=>z,ApiValidator:()=>y,ApiValidatorBlockUptime:()=>K,ApiValidatorMinimal:()=>g,ApiVault:()=>S,ApiVaultIncentive:()=>Y,GetPolStakeBeraVaultEventsByOwner:()=>St,GetRewardVault:()=>lt,GetSWberaVaultMetadata:()=>pt,GetSWberaVaultSnapshots:()=>ct,GetStakeBeraVaultEarningsByOwner:()=>yt,GetUserVaults:()=>it,GetValidator:()=>ot,GetValidators:()=>rt,GetVaultHistory:()=>ut,GetVaultValidators:()=>nt,GetVaults:()=>et,GlobalData:()=>st,GqlChain:()=>m,GqlContentNewsItemSource:()=>G,GqlPoolAprItemType:()=>A,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>I,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>P,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>k,GqlPoolOrderDirection:()=>h,GqlPoolSnapshotDataRange:()=>_,GqlPoolType:()=>D,GqlRewardVaultIncentiveOrderBy:()=>v,GqlRewardVaultIncentiveOrderDirection:()=>M,GqlRewardVaultOrderBy:()=>T,GqlRewardVaultOrderDirection:()=>x,GqlRewardVaultSnapshotDataRange:()=>V,GqlRewardVaultSnapshotResolution:()=>w,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>C,GqlStakeBeraVaultEventType:()=>U,GqlTokenChartDataRange:()=>E,GqlTokenType:()=>$,GqlUserVaultDepositOrderBy:()=>F,GqlUserVaultDepositOrderDirection:()=>f,GqlValidatorBlockUptimeStatus:()=>N,GqlValidatorBoostOrderBy:()=>Q,GqlValidatorBoostOrderDirection:()=>W,GqlValidatorOrderBy:()=>O,GqlValidatorOrderDirection:()=>H,GqlVaultSnapshotDataRange:()=>L,default:()=>gt});module.exports=at(mt);var o=require("@apollo/client"),m=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(m||{}),G=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(G||{}),A=(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))(A||{}),b=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(b||{}),I=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(I||{}),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||{}),P=(t=>(t.Exit="Exit",t.Join="Join",t))(P||{}),B=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(B||{}),k=(n=>(n.Apr="apr",n.BgtApr="bgtApr",n.CombinedApr="combinedApr",n.Fees24h="fees24h",n.TotalLiquidity="totalLiquidity",n.TotalShares="totalShares",n.UserbalanceUsd="userbalanceUsd",n.Volume24h="volume24h",n))(k||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),_=(r=>(r.AllTime="ALL_TIME",r.NinetyDays="NINETY_DAYS",r.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",r.OneYear="ONE_YEAR",r.ThirtyDays="THIRTY_DAYS",r))(_||{}),D=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(D||{}),v=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(n=>(n.ActiveIncentivesRateUsd="activeIncentivesRateUsd",n.ActiveIncentivesValueUsd="activeIncentivesValueUsd",n.AllTimeBgtReceived="allTimeBGTReceived",n.Apr="apr",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.Last24hBgtReceived="last24hBGTReceived",n.ProjectedApr="projectedApr",n))(T||{}),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||{}),R=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(R||{}),C=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(C||{}),U=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(U||{}),E=(r=>(r.NinetyDay="NINETY_DAY",r.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",r.OneYear="ONE_YEAR",r.SevenDay="SEVEN_DAY",r.ThirtyDay="THIRTY_DAY",r))(E||{}),$=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))($||{}),F=(u=>(u.Amount="amount",u))(F||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),N=(e=>(e.Inactive="INACTIVE",e.Offline="OFFLINE",e.Proposed="PROPOSED",e.Signed="SIGNED",e))(N||{}),Q=(r=>(r.ActiveBoostAmount="activeBoostAmount",r.LatestBlock="latestBlock",r.LatestBlockTime="latestBlockTime",r.QueuedBoostAmount="queuedBoostAmount",r.QueuedDropBoostAmount="queuedDropBoostAmount",r))(Q||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(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))(O||{}),H=(t=>(t.Asc="asc",t.Desc="desc",t))(H||{}),L=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(L||{}),g=o.gql`
1
+ "use strict";var g=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)g(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,a)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of X(u))!j.call(c,e)&&e!==t&&g(c,e,{get:()=>u[e],enumerable:!(a=J(u,e))||a.enumerable});return c};var at=c=>tt(g({},"__esModule",{value:!0}),c);var mt={};Z(mt,{ApiRewardAllocationWeight:()=>z,ApiValidator:()=>y,ApiValidatorBlockUptime:()=>K,ApiValidatorMinimal:()=>d,ApiVault:()=>S,ApiVaultIncentive:()=>Y,GetPolStakeBeraVaultEventsByOwner:()=>St,GetRewardVault:()=>lt,GetSWberaVaultMetadata:()=>pt,GetSWberaVaultSnapshots:()=>ct,GetStakeBeraVaultEarningsByOwner:()=>yt,GetUserVaults:()=>it,GetValidator:()=>ot,GetValidators:()=>rt,GetVaultHistory:()=>ut,GetVaultValidators:()=>nt,GetVaults:()=>et,GlobalData:()=>st,GqlChain:()=>m,GqlContentNewsItemSource:()=>G,GqlPoolAprItemType:()=>A,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>I,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>P,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>k,GqlPoolOrderDirection:()=>h,GqlPoolSnapshotDataRange:()=>_,GqlPoolType:()=>D,GqlRewardVaultIncentiveOrderBy:()=>v,GqlRewardVaultIncentiveOrderDirection:()=>M,GqlRewardVaultOrderBy:()=>T,GqlRewardVaultOrderDirection:()=>x,GqlRewardVaultSnapshotDataRange:()=>V,GqlRewardVaultSnapshotResolution:()=>w,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>C,GqlStakeBeraVaultEventType:()=>E,GqlTokenChartDataRange:()=>U,GqlTokenType:()=>$,GqlUserVaultDepositOrderBy:()=>F,GqlUserVaultDepositOrderDirection:()=>f,GqlValidatorBlockUptimeStatus:()=>N,GqlValidatorBoostOrderBy:()=>Q,GqlValidatorBoostOrderDirection:()=>W,GqlValidatorOrderBy:()=>O,GqlValidatorOrderDirection:()=>H,GqlVaultSnapshotDataRange:()=>L,default:()=>dt});module.exports=at(mt);var o=require("@apollo/client"),m=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(m||{}),G=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(G||{}),A=(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))(A||{}),b=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(b||{}),I=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(I||{}),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||{}),P=(t=>(t.Exit="Exit",t.Join="Join",t))(P||{}),B=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(B||{}),k=(n=>(n.Apr="apr",n.BgtApr="bgtApr",n.CombinedApr="combinedApr",n.Fees24h="fees24h",n.TotalLiquidity="totalLiquidity",n.TotalShares="totalShares",n.UserbalanceUsd="userbalanceUsd",n.Volume24h="volume24h",n))(k||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),_=(r=>(r.AllTime="ALL_TIME",r.NinetyDays="NINETY_DAYS",r.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",r.OneYear="ONE_YEAR",r.ThirtyDays="THIRTY_DAYS",r))(_||{}),D=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(D||{}),v=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(n=>(n.ActiveIncentivesRateUsd="activeIncentivesRateUsd",n.ActiveIncentivesValueUsd="activeIncentivesValueUsd",n.AllTimeBgtReceived="allTimeBGTReceived",n.Apr="apr",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.Last24hBgtReceived="last24hBGTReceived",n.ProjectedApr="projectedApr",n))(T||{}),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||{}),R=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(R||{}),C=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(C||{}),E=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(E||{}),U=(r=>(r.NinetyDay="NINETY_DAY",r.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",r.OneYear="ONE_YEAR",r.SevenDay="SEVEN_DAY",r.ThirtyDay="THIRTY_DAY",r))(U||{}),$=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))($||{}),F=(u=>(u.Amount="amount",u))(F||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),N=(e=>(e.Inactive="INACTIVE",e.Offline="OFFLINE",e.Proposed="PROPOSED",e.Signed="SIGNED",e))(N||{}),Q=(r=>(r.ActiveBoostAmount="activeBoostAmount",r.LatestBlock="latestBlock",r.LatestBlockTime="latestBlockTime",r.QueuedBoostAmount="queuedBoostAmount",r.QueuedDropBoostAmount="queuedDropBoostAmount",r))(Q||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(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))(O||{}),H=(t=>(t.Asc="asc",t.Desc="desc",t))(H||{}),L=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(L||{}),d=o.gql`
2
2
  fragment ApiValidatorMinimal on GqlValidator {
3
3
  id
4
4
  pubkey
@@ -76,7 +76,7 @@
76
76
  }
77
77
  ${Y}`,z=o.gql`
78
78
  fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
79
- percentageNumerator
79
+ percentage
80
80
  receivingVault {
81
81
  ...ApiVault
82
82
  }
@@ -104,7 +104,7 @@
104
104
  description
105
105
  }
106
106
  }
107
- ${g}
107
+ ${d}
108
108
  ${z}`,K=o.gql`
109
109
  fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
110
110
  isActive
@@ -220,7 +220,7 @@ ${K}`,rt=o.gql`
220
220
  }
221
221
  }
222
222
  }
223
- ${g}`,it=o.gql`
223
+ ${d}`,it=o.gql`
224
224
  query GetUserVaults($userId: String!, $chain: GqlChain!) {
225
225
  userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
226
226
  pagination {
@@ -285,4 +285,4 @@ ${K}`,rt=o.gql`
285
285
  owner
286
286
  }
287
287
  }
288
- `,dt={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"]}},gt=dt;0&&(module.exports={ApiRewardAllocationWeight,ApiValidator,ApiValidatorBlockUptime,ApiValidatorMinimal,ApiVault,ApiVaultIncentive,GetPolStakeBeraVaultEventsByOwner,GetRewardVault,GetSWberaVaultMetadata,GetSWberaVaultSnapshots,GetStakeBeraVaultEarningsByOwner,GetUserVaults,GetValidator,GetValidators,GetVaultHistory,GetVaultValidators,GetVaults,GlobalData,GqlChain,GqlContentNewsItemSource,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlStakeBeraVaultEventType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange});
288
+ `,gt={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"]}},dt=gt;0&&(module.exports={ApiRewardAllocationWeight,ApiValidator,ApiValidatorBlockUptime,ApiValidatorMinimal,ApiVault,ApiVaultIncentive,GetPolStakeBeraVaultEventsByOwner,GetRewardVault,GetSWberaVaultMetadata,GetSWberaVaultSnapshots,GetStakeBeraVaultEarningsByOwner,GetUserVaults,GetValidator,GetValidators,GetVaultHistory,GetVaultValidators,GetVaults,GlobalData,GqlChain,GqlContentNewsItemSource,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlStakeBeraVaultEventType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange});
@@ -105,11 +105,8 @@ type GqlBalancePoolAprSubItem = {
105
105
  title: Scalars['String']['output'];
106
106
  };
107
107
  declare enum GqlChain {
108
- /** @deprecated BARTIO is deprecated */
109
- Bartio = "BARTIO",
110
- Berachain = "BERACHAIN",
111
- /** @deprecated CARTIO is deprecated */
112
- Cartio = "CARTIO"
108
+ Bepolia = "BEPOLIA",
109
+ Berachain = "BERACHAIN"
113
110
  }
114
111
  type GqlContentNewsItem = {
115
112
  __typename?: 'GqlContentNewsItem';
@@ -2128,6 +2125,16 @@ declare enum GqlValidatorOrderDirection {
2128
2125
  type GqlValidatorRewardAllocationWeight = {
2129
2126
  __typename?: 'GqlValidatorRewardAllocationWeight';
2130
2127
  chain: GqlChain;
2128
+ /**
2129
+ * The percentage of rewards allocated to the receiving vault.
2130
+ * 1 = 100%
2131
+ */
2132
+ percentage: Scalars['Float']['output'];
2133
+ /**
2134
+ * The numerator of the percentage of rewards allocated as stored onchain.
2135
+ * To be converted to a percentage by dividing by 1e4.
2136
+ * @deprecated Use percentage instead
2137
+ */
2131
2138
  percentageNumerator: Scalars['Int']['output'];
2132
2139
  receiver: Scalars['Bytes']['output'];
2133
2140
  receivingVault?: Maybe<GqlRewardVault>;
@@ -2866,7 +2873,7 @@ type ApiValidatorFragment = {
2866
2873
  rewardAllocator?: `0x${string}` | null;
2867
2874
  rewardAllocationWeights: Array<{
2868
2875
  __typename?: 'GqlValidatorRewardAllocationWeight';
2869
- percentageNumerator: number;
2876
+ percentage: number;
2870
2877
  receiver: `0x${string}`;
2871
2878
  startBlock: number;
2872
2879
  receivingVault?: {
@@ -2954,7 +2961,7 @@ type ApiValidatorFragment = {
2954
2961
  };
2955
2962
  type ApiRewardAllocationWeightFragment = {
2956
2963
  __typename?: 'GqlValidatorRewardAllocationWeight';
2957
- percentageNumerator: number;
2964
+ percentage: number;
2958
2965
  receiver: `0x${string}`;
2959
2966
  startBlock: number;
2960
2967
  receivingVault?: {
@@ -3032,7 +3039,7 @@ type GetValidatorQuery = {
3032
3039
  rewardAllocator?: `0x${string}` | null;
3033
3040
  rewardAllocationWeights: Array<{
3034
3041
  __typename?: 'GqlValidatorRewardAllocationWeight';
3035
- percentageNumerator: number;
3042
+ percentage: number;
3036
3043
  receiver: `0x${string}`;
3037
3044
  startBlock: number;
3038
3045
  receivingVault?: {
@@ -3155,7 +3162,7 @@ type GetValidatorsQuery = {
3155
3162
  rewardAllocator?: `0x${string}` | null;
3156
3163
  rewardAllocationWeights: Array<{
3157
3164
  __typename?: 'GqlValidatorRewardAllocationWeight';
3158
- percentageNumerator: number;
3165
+ percentage: number;
3159
3166
  receiver: `0x${string}`;
3160
3167
  startBlock: number;
3161
3168
  receivingVault?: {
@@ -3265,7 +3272,7 @@ type GetVaultValidatorsQuery = {
3265
3272
  rewardAllocator?: `0x${string}` | null;
3266
3273
  rewardAllocationWeights: Array<{
3267
3274
  __typename?: 'GqlValidatorRewardAllocationWeight';
3268
- percentageNumerator: number;
3275
+ percentage: number;
3269
3276
  receiver: `0x${string}`;
3270
3277
  startBlock: number;
3271
3278
  receivingVault?: {
@@ -105,11 +105,8 @@ type GqlBalancePoolAprSubItem = {
105
105
  title: Scalars['String']['output'];
106
106
  };
107
107
  declare enum GqlChain {
108
- /** @deprecated BARTIO is deprecated */
109
- Bartio = "BARTIO",
110
- Berachain = "BERACHAIN",
111
- /** @deprecated CARTIO is deprecated */
112
- Cartio = "CARTIO"
108
+ Bepolia = "BEPOLIA",
109
+ Berachain = "BERACHAIN"
113
110
  }
114
111
  type GqlContentNewsItem = {
115
112
  __typename?: 'GqlContentNewsItem';
@@ -2128,6 +2125,16 @@ declare enum GqlValidatorOrderDirection {
2128
2125
  type GqlValidatorRewardAllocationWeight = {
2129
2126
  __typename?: 'GqlValidatorRewardAllocationWeight';
2130
2127
  chain: GqlChain;
2128
+ /**
2129
+ * The percentage of rewards allocated to the receiving vault.
2130
+ * 1 = 100%
2131
+ */
2132
+ percentage: Scalars['Float']['output'];
2133
+ /**
2134
+ * The numerator of the percentage of rewards allocated as stored onchain.
2135
+ * To be converted to a percentage by dividing by 1e4.
2136
+ * @deprecated Use percentage instead
2137
+ */
2131
2138
  percentageNumerator: Scalars['Int']['output'];
2132
2139
  receiver: Scalars['Bytes']['output'];
2133
2140
  receivingVault?: Maybe<GqlRewardVault>;
@@ -2866,7 +2873,7 @@ type ApiValidatorFragment = {
2866
2873
  rewardAllocator?: `0x${string}` | null;
2867
2874
  rewardAllocationWeights: Array<{
2868
2875
  __typename?: 'GqlValidatorRewardAllocationWeight';
2869
- percentageNumerator: number;
2876
+ percentage: number;
2870
2877
  receiver: `0x${string}`;
2871
2878
  startBlock: number;
2872
2879
  receivingVault?: {
@@ -2954,7 +2961,7 @@ type ApiValidatorFragment = {
2954
2961
  };
2955
2962
  type ApiRewardAllocationWeightFragment = {
2956
2963
  __typename?: 'GqlValidatorRewardAllocationWeight';
2957
- percentageNumerator: number;
2964
+ percentage: number;
2958
2965
  receiver: `0x${string}`;
2959
2966
  startBlock: number;
2960
2967
  receivingVault?: {
@@ -3032,7 +3039,7 @@ type GetValidatorQuery = {
3032
3039
  rewardAllocator?: `0x${string}` | null;
3033
3040
  rewardAllocationWeights: Array<{
3034
3041
  __typename?: 'GqlValidatorRewardAllocationWeight';
3035
- percentageNumerator: number;
3042
+ percentage: number;
3036
3043
  receiver: `0x${string}`;
3037
3044
  startBlock: number;
3038
3045
  receivingVault?: {
@@ -3155,7 +3162,7 @@ type GetValidatorsQuery = {
3155
3162
  rewardAllocator?: `0x${string}` | null;
3156
3163
  rewardAllocationWeights: Array<{
3157
3164
  __typename?: 'GqlValidatorRewardAllocationWeight';
3158
- percentageNumerator: number;
3165
+ percentage: number;
3159
3166
  receiver: `0x${string}`;
3160
3167
  startBlock: number;
3161
3168
  receivingVault?: {
@@ -3265,7 +3272,7 @@ type GetVaultValidatorsQuery = {
3265
3272
  rewardAllocator?: `0x${string}` | null;
3266
3273
  rewardAllocationWeights: Array<{
3267
3274
  __typename?: 'GqlValidatorRewardAllocationWeight';
3268
- percentageNumerator: number;
3275
+ percentage: number;
3269
3276
  receiver: `0x${string}`;
3270
3277
  startBlock: number;
3271
3278
  receivingVault?: {
@@ -1,4 +1,4 @@
1
- import{gql as e}from"@apollo/client";var 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||{}),m=(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))(m||{}),G=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),A=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(A||{}),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||{}),I=(t=>(t.Exit="Exit",t.Join="Join",t))(I||{}),q=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(q||{}),P=(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))(P||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),k=(o=>(o.AllTime="ALL_TIME",o.NinetyDays="NINETY_DAYS",o.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",o.OneYear="ONE_YEAR",o.ThirtyDays="THIRTY_DAYS",o))(k||{}),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||{}),_=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(_||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),v=(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))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(T||{}),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||{}),R=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(R||{}),C=(o=>(o.NinetyDay="NINETY_DAY",o.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",o.OneYear="ONE_YEAR",o.SevenDay="SEVEN_DAY",o.ThirtyDay="THIRTY_DAY",o))(C||{}),U=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(U||{}),E=(y=>(y.Amount="amount",y))(E||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),F=(l=>(l.Inactive="INACTIVE",l.Offline="OFFLINE",l.Proposed="PROPOSED",l.Signed="SIGNED",l))(F||{}),f=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(f||{}),N=(t=>(t.Asc="asc",t.Desc="desc",t))(N||{}),Q=(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))(Q||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(O||{}),S=e`
1
+ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(g||{}),d=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(d||{}),m=(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))(m||{}),G=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),A=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(A||{}),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||{}),I=(t=>(t.Exit="Exit",t.Join="Join",t))(I||{}),q=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(q||{}),P=(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))(P||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),k=(o=>(o.AllTime="ALL_TIME",o.NinetyDays="NINETY_DAYS",o.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",o.OneYear="ONE_YEAR",o.ThirtyDays="THIRTY_DAYS",o))(k||{}),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||{}),_=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(_||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),v=(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))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(T||{}),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||{}),R=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(R||{}),C=(o=>(o.NinetyDay="NINETY_DAY",o.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",o.OneYear="ONE_YEAR",o.SevenDay="SEVEN_DAY",o.ThirtyDay="THIRTY_DAY",o))(C||{}),E=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(E||{}),U=(y=>(y.Amount="amount",y))(U||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),F=(l=>(l.Inactive="INACTIVE",l.Offline="OFFLINE",l.Proposed="PROPOSED",l.Signed="SIGNED",l))(F||{}),f=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(f||{}),N=(t=>(t.Asc="asc",t.Desc="desc",t))(N||{}),Q=(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))(Q||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(O||{}),S=e`
2
2
  fragment ApiValidatorMinimal on GqlValidator {
3
3
  id
4
4
  pubkey
@@ -76,7 +76,7 @@ import{gql as e}from"@apollo/client";var d=(a=>(a.Bartio="BARTIO",a.Berachain="B
76
76
  }
77
77
  ${H}`,L=e`
78
78
  fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
79
- percentageNumerator
79
+ percentage
80
80
  receivingVault {
81
81
  ...ApiVault
82
82
  }
@@ -285,4 +285,4 @@ ${Y}`,j=e`
285
285
  owner
286
286
  }
287
287
  }
288
- `,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"]}},it=z;export{L as ApiRewardAllocationWeight,c as ApiValidator,Y as ApiValidatorBlockUptime,S as ApiValidatorMinimal,p as ApiVault,H as ApiVaultIncentive,lt as GetPolStakeBeraVaultEventsByOwner,tt as GetRewardVault,rt as GetSWberaVaultMetadata,nt as GetSWberaVaultSnapshots,st as GetStakeBeraVaultEarningsByOwner,et as GetUserVaults,X as GetValidator,j as GetValidators,ot as GetVaultHistory,Z as GetVaultValidators,J as GetVaults,at as GlobalData,d as GqlChain,g as GqlContentNewsItemSource,m as GqlPoolAprItemType,G as GqlPoolEventType,A as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,I as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,B as GqlPoolOrderDirection,k as GqlPoolSnapshotDataRange,h as GqlPoolType,_ as GqlRewardVaultIncentiveOrderBy,D as GqlRewardVaultIncentiveOrderDirection,v as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,T as GqlRewardVaultSnapshotDataRange,x as GqlRewardVaultSnapshotResolution,V as GqlSWberaVaultMetadataResolution,w as GqlSorSwapType,R as GqlStakeBeraVaultEventType,C as GqlTokenChartDataRange,U as GqlTokenType,E as GqlUserVaultDepositOrderBy,$ as GqlUserVaultDepositOrderDirection,F as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,N as GqlValidatorBoostOrderDirection,Q as GqlValidatorOrderBy,W as GqlValidatorOrderDirection,O as GqlVaultSnapshotDataRange,it as default};
288
+ `,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"]}},it=z;export{L as ApiRewardAllocationWeight,c as ApiValidator,Y as ApiValidatorBlockUptime,S as ApiValidatorMinimal,p as ApiVault,H as ApiVaultIncentive,lt as GetPolStakeBeraVaultEventsByOwner,tt as GetRewardVault,rt as GetSWberaVaultMetadata,nt as GetSWberaVaultSnapshots,st as GetStakeBeraVaultEarningsByOwner,et as GetUserVaults,X as GetValidator,j as GetValidators,ot as GetVaultHistory,Z as GetVaultValidators,J as GetVaults,at as GlobalData,g as GqlChain,d as GqlContentNewsItemSource,m as GqlPoolAprItemType,G as GqlPoolEventType,A as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,I as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,B as GqlPoolOrderDirection,k as GqlPoolSnapshotDataRange,h as GqlPoolType,_ as GqlRewardVaultIncentiveOrderBy,D as GqlRewardVaultIncentiveOrderDirection,v as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,T as GqlRewardVaultSnapshotDataRange,x as GqlRewardVaultSnapshotResolution,V as GqlSWberaVaultMetadataResolution,w as GqlSorSwapType,R as GqlStakeBeraVaultEventType,C as GqlTokenChartDataRange,E as GqlTokenType,U as GqlUserVaultDepositOrderBy,$ as GqlUserVaultDepositOrderDirection,F as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,N as GqlValidatorBoostOrderDirection,Q as GqlValidatorOrderBy,W as GqlValidatorOrderDirection,O as GqlVaultSnapshotDataRange,it as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berachain/graphql",
3
- "version": "0.4.1-beta.1",
3
+ "version": "0.4.1-beta.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"