@berachain/graphql 0.4.8-beta.2 → 0.4.9-0
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 +5 -5
- package/dist/dex/api.codegen.d.cts +1 -82
- package/dist/dex/api.codegen.d.ts +1 -82
- package/dist/dex/api.codegen.mjs +4 -4
- package/dist/pol/api.codegen.cjs +76 -21
- package/dist/pol/api.codegen.d.cts +108 -91
- package/dist/pol/api.codegen.d.ts +108 -91
- package/dist/pol/api.codegen.mjs +76 -21
- package/package.json +1 -1
package/dist/dex/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var y=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var tt=Object.prototype.hasOwnProperty;var at=(c,u)=>{for(var t in u)y(c,t,{get:u[t],enumerable:!0})},et=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of Z(u))!tt.call(c,n)&&n!==t&&y(c,n,{get:()=>u[n],enumerable:!(e=j(u,n))||e.enumerable});return c};var ot=c=>et(y({},"__esModule",{value:!0}),c);var yt={};at(yt,{DynamicData:()=>S,GetGlobalLiquidityAndSwapVolume:()=>ut,GetPool:()=>nt,GetPoolEvents:()=>st,GetPoolHistoricalData:()=>lt,GetPools:()=>rt,GetTokenCurrentPrices:()=>it,GqlChain:()=>d,GqlPoolAddRemoveEventV3:()=>
|
|
1
|
+
"use strict";var y=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var tt=Object.prototype.hasOwnProperty;var at=(c,u)=>{for(var t in u)y(c,t,{get:u[t],enumerable:!0})},et=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of Z(u))!tt.call(c,n)&&n!==t&&y(c,n,{get:()=>u[n],enumerable:!(e=j(u,n))||e.enumerable});return c};var ot=c=>et(y({},"__esModule",{value:!0}),c);var yt={};at(yt,{DynamicData:()=>S,GetGlobalLiquidityAndSwapVolume:()=>ut,GetPool:()=>nt,GetPoolEvents:()=>st,GetPoolHistoricalData:()=>lt,GetPools:()=>rt,GetTokenCurrentPrices:()=>it,GqlChain:()=>d,GqlPoolAddRemoveEventV3:()=>z,GqlPoolAprItemType:()=>g,GqlPoolEventType:()=>G,GqlPoolEventsDataRange:()=>b,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>P,GqlPoolNestingType:()=>A,GqlPoolOrderBy:()=>I,GqlPoolOrderDirection:()=>_,GqlPoolSnapshotDataRange:()=>D,GqlPoolSwapEventCowAmm:()=>K,GqlPoolSwapEventV3:()=>J,GqlPoolType:()=>h,GqlRewardVaultIncentiveOrderBy:()=>B,GqlRewardVaultIncentiveOrderDirection:()=>T,GqlRewardVaultOrderBy:()=>k,GqlRewardVaultOrderDirection:()=>M,GqlRewardVaultSnapshotDataRange:()=>v,GqlRewardVaultSnapshotResolution:()=>x,GqlSWberaVaultMetadataResolution:()=>w,GqlSorSwapType:()=>V,GqlTokenChartDataRange:()=>C,GqlTokenType:()=>R,GqlUserVaultDepositOrderBy:()=>E,GqlUserVaultDepositOrderDirection:()=>f,GqlValidatorBlockUptimeStatus:()=>U,GqlValidatorBoostOrderBy:()=>$,GqlValidatorBoostOrderDirection:()=>F,GqlValidatorOrderBy:()=>N,GqlValidatorOrderDirection:()=>L,GqlVaultSnapshotDataRange:()=>H,MinimalPool:()=>Q,MinimalPoolInList:()=>O,PoolEvent:()=>X,PoolHistoricalData:()=>Y,RewardVault:()=>m,UserBalance:()=>W,default:()=>ct});module.exports=ot(yt);var r=require("@apollo/client"),d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(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||{}),G=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(G||{}),b=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(b||{}),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||{}),A=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(A||{}),I=(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))(I||{}),_=(t=>(t.Asc="asc",t.Desc="desc",t))(_||{}),D=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(D||{}),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||{}),B=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(B||{}),T=(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),k=(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))(k||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),v=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(v||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),w=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(w||{}),V=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(V||{}),C=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(C||{}),R=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(R||{}),E=(u=>(u.Amount="amount",u))(E||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),U=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(U||{}),$=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))($||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),N=(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))(N||{}),L=(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(H||{}),S=r.gql`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -107,7 +107,7 @@ ${m}`,Y=r.gql`
|
|
|
107
107
|
amount
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
`,
|
|
110
|
+
`,J=r.gql`
|
|
111
111
|
fragment GqlPoolSwapEventV3 on GqlPoolSwapEventV3 {
|
|
112
112
|
tokenIn {
|
|
113
113
|
address
|
|
@@ -118,7 +118,7 @@ ${m}`,Y=r.gql`
|
|
|
118
118
|
amount
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
`,
|
|
121
|
+
`,z=r.gql`
|
|
122
122
|
fragment GqlPoolAddRemoveEventV3 on GqlPoolAddRemoveEventV3 {
|
|
123
123
|
tokens {
|
|
124
124
|
address
|
|
@@ -138,8 +138,8 @@ ${m}`,Y=r.gql`
|
|
|
138
138
|
...GqlPoolAddRemoveEventV3
|
|
139
139
|
}
|
|
140
140
|
${K}
|
|
141
|
-
${
|
|
142
|
-
${
|
|
141
|
+
${J}
|
|
142
|
+
${z}`,rt=r.gql`
|
|
143
143
|
query GetPools($textSearch: String, $first: Int, $userAddress: String, $chain: [GqlChain!]!, $orderBy: GqlPoolOrderBy, $skip: Int, $orderDirection: GqlPoolOrderDirection, $blacklistedPoolIds: [String!]) {
|
|
144
144
|
poolGetPools(
|
|
145
145
|
textSearch: $textSearch
|
|
@@ -2029,87 +2029,6 @@ type HookData = {
|
|
|
2029
2029
|
removeLiquidityFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2030
2030
|
swapFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2031
2031
|
};
|
|
2032
|
-
type Mutation = {
|
|
2033
|
-
__typename?: 'Mutation';
|
|
2034
|
-
cacheAverageBlockTime: Scalars['String']['output'];
|
|
2035
|
-
polSyncAllRewardVaultsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2036
|
-
polSyncAllValidatorsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2037
|
-
poolDeletePool: Scalars['String']['output'];
|
|
2038
|
-
poolInitOnChainDataForAllPools: Scalars['String']['output'];
|
|
2039
|
-
poolInitializeSnapshotsForPool: Scalars['String']['output'];
|
|
2040
|
-
poolLoadOnChainDataForAllPools: Scalars['String']['output'];
|
|
2041
|
-
poolLoadOnChainDataForPoolsWithActiveUpdates: Scalars['String']['output'];
|
|
2042
|
-
poolLoadSnapshotsForAllPools: Scalars['String']['output'];
|
|
2043
|
-
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
2044
|
-
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
2045
|
-
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2046
|
-
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2047
|
-
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2048
|
-
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2049
|
-
poolSyncPool: Scalars['String']['output'];
|
|
2050
|
-
poolSyncPoolAllTokensRelationship: Scalars['String']['output'];
|
|
2051
|
-
poolSyncSanityPoolData: Scalars['String']['output'];
|
|
2052
|
-
poolSyncSwapsForLast48Hours: Scalars['String']['output'];
|
|
2053
|
-
poolSyncTotalShares: Scalars['String']['output'];
|
|
2054
|
-
poolUpdateAprs: Scalars['String']['output'];
|
|
2055
|
-
poolUpdateLifetimeValuesForAllPools: Scalars['String']['output'];
|
|
2056
|
-
poolUpdateLiquidity24hAgoForAllPools: Scalars['String']['output'];
|
|
2057
|
-
poolUpdateLiquidityValuesForAllPools: Scalars['String']['output'];
|
|
2058
|
-
poolUpdateVolumeAndFeeValuesForAllPools: Scalars['String']['output'];
|
|
2059
|
-
protocolCacheMetrics: Scalars['String']['output'];
|
|
2060
|
-
tokenDeleteTokenType: Scalars['String']['output'];
|
|
2061
|
-
tokenReloadAllTokenTypes: Scalars['String']['output'];
|
|
2062
|
-
tokenReloadErc4626Tokens: Array<GqlTokenMutationResult>;
|
|
2063
|
-
tokenReloadTokenPrices?: Maybe<Scalars['Boolean']['output']>;
|
|
2064
|
-
tokenSyncLatestFxPrices: Scalars['String']['output'];
|
|
2065
|
-
tokenSyncTokenDefinitions: Scalars['String']['output'];
|
|
2066
|
-
userInitWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2067
|
-
userInitWalletBalancesForPool: Scalars['String']['output'];
|
|
2068
|
-
userSyncBalance: Scalars['String']['output'];
|
|
2069
|
-
userSyncBalanceAllPools: Scalars['String']['output'];
|
|
2070
|
-
userSyncChangedWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2071
|
-
};
|
|
2072
|
-
type MutationPoolDeletePoolArgs = {
|
|
2073
|
-
poolId: Scalars['String']['input'];
|
|
2074
|
-
};
|
|
2075
|
-
type MutationPoolInitializeSnapshotsForPoolArgs = {
|
|
2076
|
-
poolId: Scalars['String']['input'];
|
|
2077
|
-
};
|
|
2078
|
-
type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
2079
|
-
poolIds: Array<Scalars['String']['input']>;
|
|
2080
|
-
reload?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2081
|
-
};
|
|
2082
|
-
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2083
|
-
chain: GqlChain;
|
|
2084
|
-
};
|
|
2085
|
-
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2086
|
-
chain: GqlChain;
|
|
2087
|
-
};
|
|
2088
|
-
type MutationPoolSyncPoolArgs = {
|
|
2089
|
-
poolId: Scalars['String']['input'];
|
|
2090
|
-
};
|
|
2091
|
-
type MutationPoolUpdateAprsArgs = {
|
|
2092
|
-
chain: GqlChain;
|
|
2093
|
-
};
|
|
2094
|
-
type MutationTokenDeleteTokenTypeArgs = {
|
|
2095
|
-
tokenAddress: Scalars['String']['input'];
|
|
2096
|
-
type: GqlTokenType;
|
|
2097
|
-
};
|
|
2098
|
-
type MutationTokenReloadErc4626TokensArgs = {
|
|
2099
|
-
chains: Array<GqlChain>;
|
|
2100
|
-
};
|
|
2101
|
-
type MutationTokenReloadTokenPricesArgs = {
|
|
2102
|
-
chains: Array<GqlChain>;
|
|
2103
|
-
};
|
|
2104
|
-
type MutationTokenSyncLatestFxPricesArgs = {
|
|
2105
|
-
chain: GqlChain;
|
|
2106
|
-
};
|
|
2107
|
-
type MutationUserInitWalletBalancesForPoolArgs = {
|
|
2108
|
-
poolId: Scalars['String']['input'];
|
|
2109
|
-
};
|
|
2110
|
-
type MutationUserSyncBalanceArgs = {
|
|
2111
|
-
poolId: Scalars['String']['input'];
|
|
2112
|
-
};
|
|
2113
2032
|
type PaginatedRewardVaultIncentivesResponse = {
|
|
2114
2033
|
__typename?: 'PaginatedRewardVaultIncentivesResponse';
|
|
2115
2034
|
incentives: Array<GqlRewardVaultIncentive>;
|
|
@@ -3725,4 +3644,4 @@ interface PossibleTypesResultData {
|
|
|
3725
3644
|
}
|
|
3726
3645
|
declare const result: PossibleTypesResultData;
|
|
3727
3646
|
|
|
3728
|
-
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type
|
|
3647
|
+
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
|
@@ -2029,87 +2029,6 @@ type HookData = {
|
|
|
2029
2029
|
removeLiquidityFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2030
2030
|
swapFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2031
2031
|
};
|
|
2032
|
-
type Mutation = {
|
|
2033
|
-
__typename?: 'Mutation';
|
|
2034
|
-
cacheAverageBlockTime: Scalars['String']['output'];
|
|
2035
|
-
polSyncAllRewardVaultsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2036
|
-
polSyncAllValidatorsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2037
|
-
poolDeletePool: Scalars['String']['output'];
|
|
2038
|
-
poolInitOnChainDataForAllPools: Scalars['String']['output'];
|
|
2039
|
-
poolInitializeSnapshotsForPool: Scalars['String']['output'];
|
|
2040
|
-
poolLoadOnChainDataForAllPools: Scalars['String']['output'];
|
|
2041
|
-
poolLoadOnChainDataForPoolsWithActiveUpdates: Scalars['String']['output'];
|
|
2042
|
-
poolLoadSnapshotsForAllPools: Scalars['String']['output'];
|
|
2043
|
-
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
2044
|
-
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
2045
|
-
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2046
|
-
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2047
|
-
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2048
|
-
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2049
|
-
poolSyncPool: Scalars['String']['output'];
|
|
2050
|
-
poolSyncPoolAllTokensRelationship: Scalars['String']['output'];
|
|
2051
|
-
poolSyncSanityPoolData: Scalars['String']['output'];
|
|
2052
|
-
poolSyncSwapsForLast48Hours: Scalars['String']['output'];
|
|
2053
|
-
poolSyncTotalShares: Scalars['String']['output'];
|
|
2054
|
-
poolUpdateAprs: Scalars['String']['output'];
|
|
2055
|
-
poolUpdateLifetimeValuesForAllPools: Scalars['String']['output'];
|
|
2056
|
-
poolUpdateLiquidity24hAgoForAllPools: Scalars['String']['output'];
|
|
2057
|
-
poolUpdateLiquidityValuesForAllPools: Scalars['String']['output'];
|
|
2058
|
-
poolUpdateVolumeAndFeeValuesForAllPools: Scalars['String']['output'];
|
|
2059
|
-
protocolCacheMetrics: Scalars['String']['output'];
|
|
2060
|
-
tokenDeleteTokenType: Scalars['String']['output'];
|
|
2061
|
-
tokenReloadAllTokenTypes: Scalars['String']['output'];
|
|
2062
|
-
tokenReloadErc4626Tokens: Array<GqlTokenMutationResult>;
|
|
2063
|
-
tokenReloadTokenPrices?: Maybe<Scalars['Boolean']['output']>;
|
|
2064
|
-
tokenSyncLatestFxPrices: Scalars['String']['output'];
|
|
2065
|
-
tokenSyncTokenDefinitions: Scalars['String']['output'];
|
|
2066
|
-
userInitWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2067
|
-
userInitWalletBalancesForPool: Scalars['String']['output'];
|
|
2068
|
-
userSyncBalance: Scalars['String']['output'];
|
|
2069
|
-
userSyncBalanceAllPools: Scalars['String']['output'];
|
|
2070
|
-
userSyncChangedWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2071
|
-
};
|
|
2072
|
-
type MutationPoolDeletePoolArgs = {
|
|
2073
|
-
poolId: Scalars['String']['input'];
|
|
2074
|
-
};
|
|
2075
|
-
type MutationPoolInitializeSnapshotsForPoolArgs = {
|
|
2076
|
-
poolId: Scalars['String']['input'];
|
|
2077
|
-
};
|
|
2078
|
-
type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
2079
|
-
poolIds: Array<Scalars['String']['input']>;
|
|
2080
|
-
reload?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2081
|
-
};
|
|
2082
|
-
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2083
|
-
chain: GqlChain;
|
|
2084
|
-
};
|
|
2085
|
-
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2086
|
-
chain: GqlChain;
|
|
2087
|
-
};
|
|
2088
|
-
type MutationPoolSyncPoolArgs = {
|
|
2089
|
-
poolId: Scalars['String']['input'];
|
|
2090
|
-
};
|
|
2091
|
-
type MutationPoolUpdateAprsArgs = {
|
|
2092
|
-
chain: GqlChain;
|
|
2093
|
-
};
|
|
2094
|
-
type MutationTokenDeleteTokenTypeArgs = {
|
|
2095
|
-
tokenAddress: Scalars['String']['input'];
|
|
2096
|
-
type: GqlTokenType;
|
|
2097
|
-
};
|
|
2098
|
-
type MutationTokenReloadErc4626TokensArgs = {
|
|
2099
|
-
chains: Array<GqlChain>;
|
|
2100
|
-
};
|
|
2101
|
-
type MutationTokenReloadTokenPricesArgs = {
|
|
2102
|
-
chains: Array<GqlChain>;
|
|
2103
|
-
};
|
|
2104
|
-
type MutationTokenSyncLatestFxPricesArgs = {
|
|
2105
|
-
chain: GqlChain;
|
|
2106
|
-
};
|
|
2107
|
-
type MutationUserInitWalletBalancesForPoolArgs = {
|
|
2108
|
-
poolId: Scalars['String']['input'];
|
|
2109
|
-
};
|
|
2110
|
-
type MutationUserSyncBalanceArgs = {
|
|
2111
|
-
poolId: Scalars['String']['input'];
|
|
2112
|
-
};
|
|
2113
2032
|
type PaginatedRewardVaultIncentivesResponse = {
|
|
2114
2033
|
__typename?: 'PaginatedRewardVaultIncentivesResponse';
|
|
2115
2034
|
incentives: Array<GqlRewardVaultIncentive>;
|
|
@@ -3725,4 +3644,4 @@ interface PossibleTypesResultData {
|
|
|
3725
3644
|
}
|
|
3726
3645
|
declare const result: PossibleTypesResultData;
|
|
3727
3646
|
|
|
3728
|
-
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type
|
|
3647
|
+
export { type BendVaultDynamicData, type BendVaultResponse, DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
package/dist/dex/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as r}from"@apollo/client";var S=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(S||{}),m=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(m||{}),d=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(d||{}),g=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(g||{}),G=(i=>(i.BlackListed="BLACK_LISTED",i.Incentivized="INCENTIVIZED",i.Lrt="LRT",i.Points="POINTS",i.PointsEigenlayer="POINTS_EIGENLAYER",i.PointsGyro="POINTS_GYRO",i.PointsKelp="POINTS_KELP",i.PointsRenzo="POINTS_RENZO",i.PointsSwell="POINTS_SWELL",i.Superfest="SUPERFEST",i))(G||{}),b=(t=>(t.Exit="Exit",t.Join="Join",t))(b||{}),q=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(q||{}),P=(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))(P||{}),A=(t=>(t.Asc="asc",t.Desc="desc",t))(A||{}),I=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(I||{}),_=(l=>(l.ComposableStable="COMPOSABLE_STABLE",l.CowAmm="COW_AMM",l.Element="ELEMENT",l.Fx="FX",l.Gyro="GYRO",l.Gyro3="GYRO3",l.Gyroe="GYROE",l.Investment="INVESTMENT",l.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",l.MetaStable="META_STABLE",l.PhantomStable="PHANTOM_STABLE",l.Stable="STABLE",l.Unknown="UNKNOWN",l.Weighted="WEIGHTED",l))(_||{}),
|
|
1
|
+
import{gql as r}from"@apollo/client";var S=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(S||{}),m=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(m||{}),d=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(d||{}),g=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(g||{}),G=(i=>(i.BlackListed="BLACK_LISTED",i.Incentivized="INCENTIVIZED",i.Lrt="LRT",i.Points="POINTS",i.PointsEigenlayer="POINTS_EIGENLAYER",i.PointsGyro="POINTS_GYRO",i.PointsKelp="POINTS_KELP",i.PointsRenzo="POINTS_RENZO",i.PointsSwell="POINTS_SWELL",i.Superfest="SUPERFEST",i))(G||{}),b=(t=>(t.Exit="Exit",t.Join="Join",t))(b||{}),q=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(q||{}),P=(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))(P||{}),A=(t=>(t.Asc="asc",t.Desc="desc",t))(A||{}),I=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(I||{}),_=(l=>(l.ComposableStable="COMPOSABLE_STABLE",l.CowAmm="COW_AMM",l.Element="ELEMENT",l.Fx="FX",l.Gyro="GYRO",l.Gyro3="GYRO3",l.Gyroe="GYROE",l.Investment="INVESTMENT",l.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",l.MetaStable="META_STABLE",l.PhantomStable="PHANTOM_STABLE",l.Stable="STABLE",l.Unknown="UNKNOWN",l.Weighted="WEIGHTED",l))(_||{}),D=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(D||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),B=(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))(B||{}),T=(t=>(t.Asc="asc",t.Desc="desc",t))(T||{}),k=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(k||{}),M=(t=>(t.Day="DAY",t.Hour="HOUR",t))(M||{}),v=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(v||{}),x=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(x||{}),w=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(w||{}),V=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(V||{}),C=(y=>(y.Amount="amount",y))(C||{}),R=(t=>(t.Asc="asc",t.Desc="desc",t))(R||{}),E=(u=>(u.Inactive="INACTIVE",u.Offline="OFFLINE",u.Proposed="PROPOSED",u.Signed="SIGNED",u))(E||{}),f=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(f||{}),U=(t=>(t.Asc="asc",t.Desc="desc",t))(U||{}),$=(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))($||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),N=(u=>(u.NinetyDays="NINETY_DAYS",u.SevenDays="SEVEN_DAYS",u.SixtyDays="SIXTY_DAYS",u.ThirtyDays="THIRTY_DAYS",u))(N||{}),p=r`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -125,7 +125,7 @@ ${c}`,O=r`
|
|
|
125
125
|
amount
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
`,
|
|
128
|
+
`,J=r`
|
|
129
129
|
fragment PoolEvent on GqlPoolEvent {
|
|
130
130
|
id
|
|
131
131
|
valueUSD
|
|
@@ -179,7 +179,7 @@ ${K}`,j=r`
|
|
|
179
179
|
...PoolEvent
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
${
|
|
182
|
+
${J}`,et=r`
|
|
183
183
|
query GetTokenCurrentPrices($chains: [GqlChain!]!, $addressIn: [String!]!) {
|
|
184
184
|
tokenGetCurrentPrices(chains: $chains, addressIn: $addressIn) {
|
|
185
185
|
address
|
|
@@ -196,4 +196,4 @@ ${K}`,j=r`
|
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,
|
|
199
|
+
`,z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},rt=z;export{p as DynamicData,ot as GetGlobalLiquidityAndSwapVolume,Z as GetPool,at as GetPoolEvents,tt as GetPoolHistoricalData,j as GetPools,et as GetTokenCurrentPrices,S as GqlChain,K as GqlPoolAddRemoveEventV3,m as GqlPoolAprItemType,d as GqlPoolEventType,g as GqlPoolEventsDataRange,G as GqlPoolFilterCategory,b as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,A as GqlPoolOrderDirection,I as GqlPoolSnapshotDataRange,Q as GqlPoolSwapEventCowAmm,Y as GqlPoolSwapEventV3,_ as GqlPoolType,D as GqlRewardVaultIncentiveOrderBy,h as GqlRewardVaultIncentiveOrderDirection,B as GqlRewardVaultOrderBy,T as GqlRewardVaultOrderDirection,k as GqlRewardVaultSnapshotDataRange,M as GqlRewardVaultSnapshotResolution,v as GqlSWberaVaultMetadataResolution,x as GqlSorSwapType,w as GqlTokenChartDataRange,V as GqlTokenType,C as GqlUserVaultDepositOrderBy,R as GqlUserVaultDepositOrderDirection,E as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,U as GqlValidatorBoostOrderDirection,$ as GqlValidatorOrderBy,F as GqlValidatorOrderDirection,N as GqlVaultSnapshotDataRange,W as MinimalPool,H as MinimalPoolInList,J as PoolEvent,O as PoolHistoricalData,c as RewardVault,L as UserBalance,rt as default};
|
package/dist/pol/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var m=Object.defineProperty;var K=Object.getOwnPropertyDescriptor;var J=Object.getOwnPropertyNames;var X=Object.prototype.hasOwnProperty;var j=(c,u)=>{for(var t in u)m(c,t,{get:u[t],enumerable:!0})},Z=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of J(u))!X.call(c,n)&&n!==t&&m(c,n,{get:()=>u[n],enumerable:!(e=K(u,n))||e.enumerable});return c};var tt=c=>Z(m({},"__esModule",{value:!0}),c);var gt={};j(gt,{ApiMinimalVaultIncentive:()=>at,ApiRewardAllocationWeight:()=>L,ApiValidator:()=>d,ApiValidatorBlockUptime:()=>z,ApiValidatorInList:()=>et,ApiValidatorMinimal:()=>y,ApiValidatorRewardAllocationWeight:()=>Y,ApiVault:()=>S,ApiVaultIncentive:()=>O,GetRewardVault:()=>it,GetSWberaVaultMetadata:()=>ct,GetSWberaVaultSnapshots:()=>St,GetUserValidatorInformation:()=>yt,GetUserVaults:()=>ut,GetValidator:()=>ot,GetValidators:()=>nt,GetVaultHistory:()=>pt,GetVaultValidators:()=>lt,GetVaults:()=>rt,GlobalData:()=>st,GqlChain:()=>g,GqlPoolAprItemType:()=>b,GqlPoolEventType:()=>G,GqlPoolEventsDataRange:()=>A,GqlPoolFilterCategory:()=>I,GqlPoolJoinExitType:()=>q,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>P,GqlPoolOrderDirection:()=>k,GqlPoolSnapshotDataRange:()=>h,GqlPoolType:()=>v,GqlRewardVaultIncentiveOrderBy:()=>_,GqlRewardVaultIncentiveOrderDirection:()=>D,GqlRewardVaultOrderBy:()=>M,GqlRewardVaultOrderDirection:()=>V,GqlRewardVaultSnapshotDataRange:()=>T,GqlRewardVaultSnapshotResolution:()=>x,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>w,GqlTokenChartDataRange:()=>C,GqlTokenType:()=>U,GqlUserVaultDepositOrderBy:()=>E,GqlUserVaultDepositOrderDirection:()=>$,GqlValidatorBlockUptimeStatus:()=>f,GqlValidatorBoostOrderBy:()=>N,GqlValidatorBoostOrderDirection:()=>F,GqlValidatorOrderBy:()=>W,GqlValidatorOrderDirection:()=>Q,GqlVaultSnapshotDataRange:()=>H,default:()=>mt});module.exports=tt(gt);var r=require("@apollo/client"),g=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(g||{}),b=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(b||{}),G=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(G||{}),A=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(A||{}),I=(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))(I||{}),q=(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),B=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(B||{}),P=(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))(P||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),h=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(h||{}),v=(i=>(i.ComposableStable="COMPOSABLE_STABLE",i.CowAmm="COW_AMM",i.Element="ELEMENT",i.Fx="FX",i.Gyro="GYRO",i.Gyro3="GYRO3",i.Gyroe="GYROE",i.Investment="INVESTMENT",i.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",i.MetaStable="META_STABLE",i.PhantomStable="PHANTOM_STABLE",i.Stable="STABLE",i.Unknown="UNKNOWN",i.Weighted="WEIGHTED",i))(v||{}),_=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(_||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),M=(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))(M||{}),V=(t=>(t.Asc="asc",t.Desc="desc",t))(V||{}),T=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(T||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),R=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(R||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),C=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(C||{}),U=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(U||{}),E=(u=>(u.Amount="amount",u))(E||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),f=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(f||{}),N=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(N||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),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||{}),Q=(t=>(t.Asc="asc",t.Desc="desc",t))(Q||{}),H=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(H||{}),at=r.gql`
|
|
2
|
+
fragment ApiMinimalVaultIncentive on GqlRewardVaultIncentive {
|
|
3
|
+
remainingAmount
|
|
4
|
+
remainingAmountUsd
|
|
5
|
+
incentiveRate
|
|
6
|
+
incentiveRateUsd
|
|
7
|
+
tokenAddress
|
|
8
|
+
token {
|
|
9
|
+
address
|
|
10
|
+
name
|
|
11
|
+
symbol
|
|
12
|
+
decimals
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`,y=r.gql`
|
|
2
16
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
17
|
id
|
|
4
18
|
pubkey
|
|
@@ -22,14 +36,14 @@
|
|
|
22
36
|
commissionOnIncentives
|
|
23
37
|
}
|
|
24
38
|
}
|
|
25
|
-
`,
|
|
39
|
+
`,O=r.gql`
|
|
26
40
|
fragment ApiVaultIncentive on GqlRewardVaultIncentive {
|
|
27
41
|
active
|
|
42
|
+
tokenAddress
|
|
28
43
|
remainingAmount
|
|
29
44
|
remainingAmountUsd
|
|
30
45
|
incentiveRate
|
|
31
46
|
incentiveRateUsd
|
|
32
|
-
tokenAddress
|
|
33
47
|
token {
|
|
34
48
|
address
|
|
35
49
|
name
|
|
@@ -37,7 +51,7 @@
|
|
|
37
51
|
decimals
|
|
38
52
|
}
|
|
39
53
|
}
|
|
40
|
-
`,S=
|
|
54
|
+
`,S=r.gql`
|
|
41
55
|
fragment ApiVault on GqlRewardVault {
|
|
42
56
|
id: vaultAddress
|
|
43
57
|
vaultAddress
|
|
@@ -74,7 +88,7 @@
|
|
|
74
88
|
...ApiVaultIncentive
|
|
75
89
|
}
|
|
76
90
|
}
|
|
77
|
-
${
|
|
91
|
+
${O}`,L=r.gql`
|
|
78
92
|
fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
79
93
|
percentage
|
|
80
94
|
receivingVault {
|
|
@@ -83,7 +97,7 @@
|
|
|
83
97
|
receiver
|
|
84
98
|
startBlock
|
|
85
99
|
}
|
|
86
|
-
${S}`,
|
|
100
|
+
${S}`,d=r.gql`
|
|
87
101
|
fragment ApiValidator on GqlValidator {
|
|
88
102
|
...ApiValidatorMinimal
|
|
89
103
|
operator
|
|
@@ -104,8 +118,49 @@
|
|
|
104
118
|
description
|
|
105
119
|
}
|
|
106
120
|
}
|
|
107
|
-
${
|
|
108
|
-
${
|
|
121
|
+
${y}
|
|
122
|
+
${L}`,Y=r.gql`
|
|
123
|
+
fragment ApiValidatorRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
124
|
+
percentage
|
|
125
|
+
receivingVault {
|
|
126
|
+
activeIncentives {
|
|
127
|
+
token {
|
|
128
|
+
address
|
|
129
|
+
name
|
|
130
|
+
symbol
|
|
131
|
+
decimals
|
|
132
|
+
logoURI
|
|
133
|
+
}
|
|
134
|
+
remainingAmount
|
|
135
|
+
remainingAmountUsd
|
|
136
|
+
incentiveRate
|
|
137
|
+
incentiveRateUsd
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
`,et=r.gql`
|
|
142
|
+
fragment ApiValidatorInList on GqlValidator {
|
|
143
|
+
...ApiValidatorMinimal
|
|
144
|
+
operator
|
|
145
|
+
rewardAllocationWeights {
|
|
146
|
+
...ApiValidatorRewardAllocationWeight
|
|
147
|
+
}
|
|
148
|
+
lastBlockUptime {
|
|
149
|
+
isActive
|
|
150
|
+
isProposer
|
|
151
|
+
isSigner
|
|
152
|
+
status
|
|
153
|
+
blockNumber
|
|
154
|
+
}
|
|
155
|
+
metadata {
|
|
156
|
+
name
|
|
157
|
+
logoURI
|
|
158
|
+
website
|
|
159
|
+
description
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
${y}
|
|
163
|
+
${Y}`,z=r.gql`
|
|
109
164
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
110
165
|
isActive
|
|
111
166
|
isProposer
|
|
@@ -113,7 +168,7 @@ ${O}`,Y=o.gql`
|
|
|
113
168
|
status
|
|
114
169
|
blockNumber
|
|
115
170
|
}
|
|
116
|
-
`,
|
|
171
|
+
`,rt=r.gql`
|
|
117
172
|
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
118
173
|
polGetRewardVaults(
|
|
119
174
|
where: $where
|
|
@@ -132,7 +187,7 @@ ${O}`,Y=o.gql`
|
|
|
132
187
|
}
|
|
133
188
|
}
|
|
134
189
|
}
|
|
135
|
-
${S}`,
|
|
190
|
+
${S}`,ot=r.gql`
|
|
136
191
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
137
192
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
138
193
|
...ApiValidator
|
|
@@ -141,8 +196,8 @@ ${O}`,Y=o.gql`
|
|
|
141
196
|
...ApiValidatorBlockUptime
|
|
142
197
|
}
|
|
143
198
|
}
|
|
144
|
-
${
|
|
145
|
-
${
|
|
199
|
+
${d}
|
|
200
|
+
${z}`,nt=r.gql`
|
|
146
201
|
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
147
202
|
validators: polGetValidators(
|
|
148
203
|
where: $where
|
|
@@ -164,7 +219,7 @@ ${Y}`,et=o.gql`
|
|
|
164
219
|
}
|
|
165
220
|
}
|
|
166
221
|
}
|
|
167
|
-
${
|
|
222
|
+
${d}`,lt=r.gql`
|
|
168
223
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
169
224
|
validators: polGetValidators(
|
|
170
225
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -181,13 +236,13 @@ ${Y}`,et=o.gql`
|
|
|
181
236
|
}
|
|
182
237
|
}
|
|
183
238
|
}
|
|
184
|
-
${
|
|
239
|
+
${d}`,it=r.gql`
|
|
185
240
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
186
241
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
187
242
|
...ApiVault
|
|
188
243
|
}
|
|
189
244
|
}
|
|
190
|
-
${S}`,
|
|
245
|
+
${S}`,st=r.gql`
|
|
191
246
|
query GlobalData($chain: GqlChain!) {
|
|
192
247
|
top3EmittingValidators: polGetValidators(
|
|
193
248
|
orderBy: bgtCapturePercentage
|
|
@@ -220,7 +275,7 @@ ${Y}`,et=o.gql`
|
|
|
220
275
|
}
|
|
221
276
|
}
|
|
222
277
|
}
|
|
223
|
-
${
|
|
278
|
+
${y}`,ut=r.gql`
|
|
224
279
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
225
280
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
226
281
|
pagination {
|
|
@@ -236,7 +291,7 @@ ${Y}`,et=o.gql`
|
|
|
236
291
|
}
|
|
237
292
|
}
|
|
238
293
|
}
|
|
239
|
-
${S}`,
|
|
294
|
+
${S}`,pt=r.gql`
|
|
240
295
|
query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
|
|
241
296
|
polGetRewardVaultSnapshots(
|
|
242
297
|
chain: $chain
|
|
@@ -249,14 +304,14 @@ ${Y}`,et=o.gql`
|
|
|
249
304
|
apr
|
|
250
305
|
}
|
|
251
306
|
}
|
|
252
|
-
`,
|
|
307
|
+
`,ct=r.gql`
|
|
253
308
|
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
254
309
|
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
255
310
|
apr
|
|
256
311
|
chain
|
|
257
312
|
}
|
|
258
313
|
}
|
|
259
|
-
`,
|
|
314
|
+
`,St=r.gql`
|
|
260
315
|
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
261
316
|
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
262
317
|
apr
|
|
@@ -267,7 +322,7 @@ ${Y}`,et=o.gql`
|
|
|
267
322
|
vaultAddress
|
|
268
323
|
}
|
|
269
324
|
}
|
|
270
|
-
`,
|
|
325
|
+
`,yt=r.gql`
|
|
271
326
|
query GetUserValidatorInformation($address: String!, $chain: GqlChain!) {
|
|
272
327
|
polGetValidatorBoosts(userAddress: $address, chain: $chain, first: 100) {
|
|
273
328
|
boosts {
|
|
@@ -286,4 +341,4 @@ ${Y}`,et=o.gql`
|
|
|
286
341
|
}
|
|
287
342
|
}
|
|
288
343
|
}
|
|
289
|
-
`,
|
|
344
|
+
`,dt={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},mt=dt;0&&(module.exports={ApiMinimalVaultIncentive,ApiRewardAllocationWeight,ApiValidator,ApiValidatorBlockUptime,ApiValidatorInList,ApiValidatorMinimal,ApiValidatorRewardAllocationWeight,ApiVault,ApiVaultIncentive,GetRewardVault,GetSWberaVaultMetadata,GetSWberaVaultSnapshots,GetUserValidatorInformation,GetUserVaults,GetValidator,GetValidators,GetVaultHistory,GetVaultValidators,GetVaults,GlobalData,GqlChain,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange});
|