@berachain/graphql 0.2.6-beta.1 → 0.3.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.
- package/dist/dex/api.codegen.cjs +4 -4
- package/dist/dex/api.codegen.d.cts +130 -130
- package/dist/dex/api.codegen.d.ts +130 -130
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/pol/api.codegen.cjs +13 -6
- package/dist/pol/api.codegen.d.cts +163 -151
- package/dist/pol/api.codegen.d.ts +163 -151
- package/dist/pol/api.codegen.mjs +16 -9
- package/package.json +1 -1
- package/dist/bend/whisk.codegen.cjs +0 -687
- package/dist/bend/whisk.codegen.d.cts +0 -2851
- package/dist/bend/whisk.codegen.d.ts +0 -2851
- package/dist/bend/whisk.codegen.mjs +0 -687
package/dist/dex/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as r}from"@apollo/client";var
|
|
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||{}),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,
|
|
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,Q as MinimalPool,O as MinimalPoolInList,X as PoolEvent,Y as PoolHistoricalData,c as RewardVault,W as UserBalance,lt as default};
|
package/dist/pol/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 o of X(u))!j.call(c,o)&&o!==t&&g(c,o,{get:()=>u[o],enumerable:!(a=J(u,o))||a.enumerable});return c};var at=c=>tt(g({},"__esModule",{value:!0}),c);var bt={};Z(bt,{ApiRewardAllocationWeight:()=>z,ApiValidator:()=>y,ApiValidatorBlockUptime:()=>K,ApiValidatorMinimal:()=>d,ApiVault:()=>S,ApiVaultIncentive:()=>Y,GetBoostDelay:()=>ct,GetCommissionChangeDelay:()=>St,GetPolStakeBeraVaultEventsByOwner:()=>dt,GetRewardVault:()=>lt,GetSWberaVaultMetadata:()=>yt,GetSWberaVaultSnapshots:()=>gt,GetStakeBeraVaultEarningsByOwner:()=>mt,GetUserVaults:()=>it,GetValidator:()=>ot,GetValidators:()=>rt,GetVaultDurations:()=>pt,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:()=>h,GqlPoolOrderDirection:()=>k,GqlPoolSnapshotDataRange:()=>D,GqlPoolType:()=>_,GqlRewardVaultIncentiveOrderBy:()=>v,GqlRewardVaultIncentiveOrderDirection:()=>M,GqlRewardVaultOrderBy:()=>x,GqlRewardVaultOrderDirection:()=>T,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:()=>At});module.exports=at(bt);var e=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||{}),h=(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))(h||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),D=(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))(_||{}),v=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),x=(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))(x||{}),T=(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),V=(o=>(o.NinetyDays="NINETY_DAYS",o.SevenDays="SEVEN_DAYS",o.SixtyDays="SIXTY_DAYS",o.ThirtyDays="THIRTY_DAYS",o))(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=(o=>(o.Inactive="INACTIVE",o.Offline="OFFLINE",o.Proposed="PROPOSED",o.Signed="SIGNED",o))(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=(o=>(o.NinetyDays="NINETY_DAYS",o.SevenDays="SEVEN_DAYS",o.SixtyDays="SIXTY_DAYS",o.ThirtyDays="THIRTY_DAYS",o))(L||{}),d=e.gql`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
@@ -133,7 +133,7 @@ ${z}`,K=e.gql`
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
${S}`,
|
|
136
|
+
${S}`,ot=e.gql`
|
|
137
137
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
138
138
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
139
139
|
...ApiValidator
|
|
@@ -143,7 +143,7 @@ ${z}`,K=e.gql`
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
${y}
|
|
146
|
-
${K}`,
|
|
146
|
+
${K}`,rt=e.gql`
|
|
147
147
|
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
148
148
|
validators: polGetValidators(
|
|
149
149
|
where: $where
|
|
@@ -188,7 +188,7 @@ ${K}`,ot=e.gql`
|
|
|
188
188
|
...ApiVault
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
${S}`,
|
|
191
|
+
${S}`,st=e.gql`
|
|
192
192
|
query GlobalData($chain: GqlChain!) {
|
|
193
193
|
top3EmittingValidators: polGetValidators(
|
|
194
194
|
orderBy: bgtCapturePercentage
|
|
@@ -221,7 +221,7 @@ ${K}`,ot=e.gql`
|
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
${d}`,
|
|
224
|
+
${d}`,it=e.gql`
|
|
225
225
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
226
226
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
227
227
|
pagination {
|
|
@@ -302,4 +302,11 @@ ${K}`,ot=e.gql`
|
|
|
302
302
|
_timestamp
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
`,mt=
|
|
305
|
+
`,mt=e.gql`
|
|
306
|
+
query GetStakeBeraVaultEarningsByOwner($owner: String!) {
|
|
307
|
+
polGetStakeBeraVaultEarningsByOwner(owner: $owner) {
|
|
308
|
+
earnings
|
|
309
|
+
owner
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
`,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"]}},At=Gt;0&&(module.exports={ApiRewardAllocationWeight,ApiValidator,ApiValidatorBlockUptime,ApiValidatorMinimal,ApiVault,ApiVaultIncentive,GetBoostDelay,GetCommissionChangeDelay,GetPolStakeBeraVaultEventsByOwner,GetRewardVault,GetSWberaVaultMetadata,GetSWberaVaultSnapshots,GetStakeBeraVaultEarningsByOwner,GetUserVaults,GetValidator,GetValidators,GetVaultDurations,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});
|