@berachain/graphql 0.4.11 → 0.4.13
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/api/api.codegen.cjs +1 -1
- package/dist/api/api.codegen.d.cts +292 -30
- package/dist/api/api.codegen.d.ts +292 -30
- package/dist/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +8 -61
- package/dist/dex/api.codegen.d.ts +8 -61
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/pol/api.codegen.cjs +1 -1
- package/dist/pol/api.codegen.d.cts +8 -61
- package/dist/pol/api.codegen.d.ts +8 -61
- package/dist/pol/api.codegen.mjs +2 -2
- package/dist/pol/fees.codegen.cjs +2 -2
- package/dist/pol/fees.codegen.d.cts +9 -1
- package/dist/pol/fees.codegen.d.ts +9 -1
- package/dist/pol/fees.codegen.mjs +2 -2
- package/dist/pol/subgraph.codegen.cjs +8 -8
- package/dist/pol/subgraph.codegen.d.cts +21 -1
- package/dist/pol/subgraph.codegen.d.ts +21 -1
- package/dist/pol/subgraph.codegen.mjs +8 -8
- package/package.json +3 -13
- package/dist/dex/subgraph.codegen.cjs +0 -41
- package/dist/dex/subgraph.codegen.d.cts +0 -5348
- package/dist/dex/subgraph.codegen.d.ts +0 -5348
- package/dist/dex/subgraph.codegen.mjs +0 -41
- package/dist/governance/governance.codegen.cjs +0 -116
- package/dist/governance/governance.codegen.d.cts +0 -1533
- package/dist/governance/governance.codegen.d.ts +0 -1533
- package/dist/governance/governance.codegen.mjs +0 -116
- package/dist/honey/honey.codegen.cjs +0 -42
- package/dist/honey/honey.codegen.d.cts +0 -727
- package/dist/honey/honey.codegen.d.ts +0 -727
- package/dist/honey/honey.codegen.mjs +0 -42
|
@@ -1871,11 +1871,6 @@ type GqlValidatorBoost = {
|
|
|
1871
1871
|
validator?: Maybe<GqlValidatorInList>;
|
|
1872
1872
|
validatorId: Scalars['Bytes']['output'];
|
|
1873
1873
|
};
|
|
1874
|
-
type GqlValidatorBoostDelay = {
|
|
1875
|
-
__typename?: 'GqlValidatorBoostDelay';
|
|
1876
|
-
boostDelay: Scalars['String']['output'];
|
|
1877
|
-
unboostDelay: Scalars['String']['output'];
|
|
1878
|
-
};
|
|
1879
1874
|
declare enum GqlValidatorBoostOrderBy {
|
|
1880
1875
|
ActiveBoostAmount = "activeBoostAmount",
|
|
1881
1876
|
LatestBlock = "latestBlock",
|
|
@@ -1887,12 +1882,6 @@ declare enum GqlValidatorBoostOrderDirection {
|
|
|
1887
1882
|
Asc = "asc",
|
|
1888
1883
|
Desc = "desc"
|
|
1889
1884
|
}
|
|
1890
|
-
type GqlValidatorCommissionDelay = {
|
|
1891
|
-
__typename?: 'GqlValidatorCommissionDelay';
|
|
1892
|
-
commissionChangeDelay: Scalars['String']['output'];
|
|
1893
|
-
maxWeightPerVault: Scalars['String']['output'];
|
|
1894
|
-
rewardAllocationBlockDelay: Scalars['String']['output'];
|
|
1895
|
-
};
|
|
1896
1885
|
type GqlValidatorCommissionHistory = {
|
|
1897
1886
|
__typename?: 'GqlValidatorCommissionHistory';
|
|
1898
1887
|
blockNumber: Scalars['Int']['output'];
|
|
@@ -2014,12 +2003,6 @@ type GqlValidatorStats = {
|
|
|
2014
2003
|
activeBoostAmountPercentage: Scalars['String']['output'];
|
|
2015
2004
|
stakedBeraAmountPercentage: Scalars['String']['output'];
|
|
2016
2005
|
};
|
|
2017
|
-
type GqlVaultDurations = {
|
|
2018
|
-
__typename?: 'GqlVaultDurations';
|
|
2019
|
-
maxRewardDuration: Scalars['String']['output'];
|
|
2020
|
-
minRewardDuration: Scalars['String']['output'];
|
|
2021
|
-
rewardDurationCooldownPeriod: Scalars['String']['output'];
|
|
2022
|
-
};
|
|
2023
2006
|
declare enum GqlVaultSnapshotDataRange {
|
|
2024
2007
|
NinetyDays = "NINETY_DAYS",
|
|
2025
2008
|
SevenDays = "SEVEN_DAYS",
|
|
@@ -2110,14 +2093,8 @@ type Query = {
|
|
|
2110
2093
|
polGetUserVaultDeposits: PaginatedUserVaultDepositsResponse;
|
|
2111
2094
|
polGetValidator?: Maybe<GqlValidator>;
|
|
2112
2095
|
polGetValidatorBlockUptimes: Array<GqlValidatorBlockUptime>;
|
|
2113
|
-
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2114
|
-
polGetValidatorBoostDelay: GqlValidatorBoostDelay;
|
|
2115
2096
|
polGetValidatorBoosts: PaginatedValidatorBoostsResponse;
|
|
2116
|
-
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2117
|
-
polGetValidatorCommissionDelay: GqlValidatorCommissionDelay;
|
|
2118
2097
|
polGetValidators: PaginatedValidatorsResponse;
|
|
2119
|
-
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2120
|
-
polGetVaultDurations: GqlVaultDurations;
|
|
2121
2098
|
/** Getting swap, add and remove events with paging */
|
|
2122
2099
|
poolEvents: Array<GqlPoolEvent>;
|
|
2123
2100
|
/** Returns all pools for a given filter, specific for aggregators */
|
|
@@ -2134,33 +2111,22 @@ type Query = {
|
|
|
2134
2111
|
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2135
2112
|
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2136
2113
|
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2137
|
-
/**
|
|
2114
|
+
/**
|
|
2115
|
+
* Get swap quote from the SOR v2 for the V2 vault
|
|
2116
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2117
|
+
*/
|
|
2138
2118
|
sorGetSwapPaths: GqlSorGetSwapPaths;
|
|
2139
|
-
/** Get swap quote from the SOR, queries both the old and new SOR */
|
|
2140
|
-
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2141
2119
|
/**
|
|
2142
|
-
*
|
|
2143
|
-
* @deprecated
|
|
2120
|
+
* Get swap quote from the SOR, queries both the old and new SOR
|
|
2121
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2144
2122
|
*/
|
|
2145
|
-
|
|
2123
|
+
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2146
2124
|
/** Returns the current price for a given token */
|
|
2147
2125
|
tokenGetCurrentPrice: GqlTokenPrice;
|
|
2148
2126
|
/** Returns all current prices for allowed tokens for a given chain or chains */
|
|
2149
2127
|
tokenGetCurrentPrices: Array<GqlTokenPrice>;
|
|
2150
2128
|
/** Returns the historical prices for a given set of tokens for a given chain and range */
|
|
2151
2129
|
tokenGetHistoricalPrices: Array<GqlHistoricalTokenPrice>;
|
|
2152
|
-
/**
|
|
2153
|
-
* DEPRECATED: Returns pricing data for a given token for a given range
|
|
2154
|
-
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2155
|
-
*/
|
|
2156
|
-
tokenGetPriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2157
|
-
/**
|
|
2158
|
-
* Returns the price of either BAL or BEETS depending on chain
|
|
2159
|
-
* @deprecated Use tokenGetTokensDynamicData instead
|
|
2160
|
-
*/
|
|
2161
|
-
tokenGetProtocolTokenPrice: Scalars['AmountHumanReadable']['output'];
|
|
2162
|
-
/** Returns the price of a token priced in another token for a given range. */
|
|
2163
|
-
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2164
2130
|
/** Returns a token for a given address and chain */
|
|
2165
2131
|
tokenGetToken: GqlToken;
|
|
2166
2132
|
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
@@ -2328,11 +2294,6 @@ type QuerySorGetSwapsArgs = {
|
|
|
2328
2294
|
tokenIn: Scalars['String']['input'];
|
|
2329
2295
|
tokenOut: Scalars['String']['input'];
|
|
2330
2296
|
};
|
|
2331
|
-
type QueryTokenGetCandlestickChartDataArgs = {
|
|
2332
|
-
address: Scalars['String']['input'];
|
|
2333
|
-
chain?: InputMaybe<GqlChain>;
|
|
2334
|
-
range: GqlTokenChartDataRange;
|
|
2335
|
-
};
|
|
2336
2297
|
type QueryTokenGetCurrentPriceArgs = {
|
|
2337
2298
|
address: Scalars['String']['input'];
|
|
2338
2299
|
chain: GqlChain;
|
|
@@ -2346,20 +2307,6 @@ type QueryTokenGetHistoricalPricesArgs = {
|
|
|
2346
2307
|
chain: GqlChain;
|
|
2347
2308
|
range: GqlTokenChartDataRange;
|
|
2348
2309
|
};
|
|
2349
|
-
type QueryTokenGetPriceChartDataArgs = {
|
|
2350
|
-
address: Scalars['String']['input'];
|
|
2351
|
-
chain?: InputMaybe<GqlChain>;
|
|
2352
|
-
range: GqlTokenChartDataRange;
|
|
2353
|
-
};
|
|
2354
|
-
type QueryTokenGetProtocolTokenPriceArgs = {
|
|
2355
|
-
chain?: InputMaybe<GqlChain>;
|
|
2356
|
-
};
|
|
2357
|
-
type QueryTokenGetRelativePriceChartDataArgs = {
|
|
2358
|
-
chain?: InputMaybe<GqlChain>;
|
|
2359
|
-
range: GqlTokenChartDataRange;
|
|
2360
|
-
tokenIn: Scalars['String']['input'];
|
|
2361
|
-
tokenOut: Scalars['String']['input'];
|
|
2362
|
-
};
|
|
2363
2310
|
type QueryTokenGetTokenArgs = {
|
|
2364
2311
|
address: Scalars['String']['input'];
|
|
2365
2312
|
chain: GqlChain;
|
|
@@ -3673,4 +3620,4 @@ interface PossibleTypesResultData {
|
|
|
3673
3620
|
}
|
|
3674
3621
|
declare const result: PossibleTypesResultData;
|
|
3675
3622
|
|
|
3676
|
-
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 GqlIncentive, 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,
|
|
3623
|
+
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 GqlIncentive, 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, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, 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 QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, 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.Featured="FEATURED",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.Featured="FEATURED",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))(_||{}),h=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(h||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),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||{}),v=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(v||{}),M=(t=>(t.Day="DAY",t.Hour="HOUR",t))(M||{}),k=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(k||{}),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||{}),R=(y=>(y.Amount="amount",y))(R||{}),C=(t=>(t.Asc="asc",t.Desc="desc",t))(C||{}),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||{}),F=(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))($||{}),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
|
|
@@ -196,4 +196,4 @@ ${K}`,j=r`
|
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,z={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],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,
|
|
199
|
+
`,z={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],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,h as GqlRewardVaultIncentiveOrderBy,D as GqlRewardVaultIncentiveOrderDirection,B as GqlRewardVaultOrderBy,T as GqlRewardVaultOrderDirection,v as GqlRewardVaultSnapshotDataRange,M as GqlRewardVaultSnapshotResolution,k as GqlSWberaVaultMetadataResolution,x as GqlSorSwapType,w as GqlTokenChartDataRange,V as GqlTokenType,R as GqlUserVaultDepositOrderBy,C as GqlUserVaultDepositOrderDirection,E as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,U as GqlValidatorBoostOrderDirection,F as GqlValidatorOrderBy,$ 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,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,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of X(u))!j.call(c,n)&&n!==t&&d(c,n,{get:()=>u[n],enumerable:!(e=J(u,n))||e.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var
|
|
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,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of X(u))!j.call(c,n)&&n!==t&&d(c,n,{get:()=>u[n],enumerable:!(e=J(u,n))||e.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var bt={};Z(bt,{ApiMinimalVaultIncentive:()=>et,ApiRewardAllocationWeight:()=>L,ApiValidator:()=>m,ApiValidatorBlockUptime:()=>K,ApiValidatorInList:()=>z,ApiValidatorIncentive:()=>Y,ApiValidatorMinimal:()=>y,ApiValidatorRewardAllocationWeight:()=>rt,ApiVault:()=>S,ApiVaultIncentive:()=>O,GetRewardVault:()=>st,GetSWberaVaultMetadata:()=>St,GetSWberaVaultSnapshots:()=>yt,GetUserValidatorInformation:()=>dt,GetUserVaults:()=>pt,GetValidator:()=>nt,GetValidators:()=>lt,GetVaultHistory:()=>ct,GetVaultValidators:()=>it,GetVaults:()=>ot,GlobalData:()=>ut,GqlChain:()=>g,GqlPoolAprItemType:()=>b,GqlPoolEventType:()=>A,GqlPoolEventsDataRange:()=>G,GqlPoolFilterCategory:()=>I,GqlPoolJoinExitType:()=>q,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>v,GqlPoolOrderDirection:()=>P,GqlPoolSnapshotDataRange:()=>k,GqlPoolType:()=>_,GqlRewardVaultIncentiveOrderBy:()=>h,GqlRewardVaultIncentiveOrderDirection:()=>M,GqlRewardVaultOrderBy:()=>D,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:()=>gt});module.exports=at(bt);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||{}),A=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(A||{}),G=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(G||{}),I=(p=>(p.BlackListed="BLACK_LISTED",p.Featured="FEATURED",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||{}),v=(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))(v||{}),P=(t=>(t.Asc="asc",t.Desc="desc",t))(P||{}),k=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(k||{}),_=(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))(_||{}),h=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(h||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),D=(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))(D||{}),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||{}),et=r.gql`
|
|
2
2
|
fragment ApiMinimalVaultIncentive on GqlRewardVaultIncentive {
|
|
3
3
|
remainingAmount
|
|
4
4
|
remainingAmountUsd
|
|
@@ -1971,11 +1971,6 @@ type GqlValidatorBoost = {
|
|
|
1971
1971
|
validator?: Maybe<GqlValidatorInList>;
|
|
1972
1972
|
validatorId: Scalars['Bytes']['output'];
|
|
1973
1973
|
};
|
|
1974
|
-
type GqlValidatorBoostDelay = {
|
|
1975
|
-
__typename?: 'GqlValidatorBoostDelay';
|
|
1976
|
-
boostDelay: Scalars['String']['output'];
|
|
1977
|
-
unboostDelay: Scalars['String']['output'];
|
|
1978
|
-
};
|
|
1979
1974
|
declare enum GqlValidatorBoostOrderBy {
|
|
1980
1975
|
ActiveBoostAmount = "activeBoostAmount",
|
|
1981
1976
|
LatestBlock = "latestBlock",
|
|
@@ -1987,12 +1982,6 @@ declare enum GqlValidatorBoostOrderDirection {
|
|
|
1987
1982
|
Asc = "asc",
|
|
1988
1983
|
Desc = "desc"
|
|
1989
1984
|
}
|
|
1990
|
-
type GqlValidatorCommissionDelay = {
|
|
1991
|
-
__typename?: 'GqlValidatorCommissionDelay';
|
|
1992
|
-
commissionChangeDelay: Scalars['String']['output'];
|
|
1993
|
-
maxWeightPerVault: Scalars['String']['output'];
|
|
1994
|
-
rewardAllocationBlockDelay: Scalars['String']['output'];
|
|
1995
|
-
};
|
|
1996
1985
|
type GqlValidatorCommissionHistory = {
|
|
1997
1986
|
__typename?: 'GqlValidatorCommissionHistory';
|
|
1998
1987
|
blockNumber: Scalars['Int']['output'];
|
|
@@ -2114,12 +2103,6 @@ type GqlValidatorStats = {
|
|
|
2114
2103
|
activeBoostAmountPercentage: Scalars['String']['output'];
|
|
2115
2104
|
stakedBeraAmountPercentage: Scalars['String']['output'];
|
|
2116
2105
|
};
|
|
2117
|
-
type GqlVaultDurations = {
|
|
2118
|
-
__typename?: 'GqlVaultDurations';
|
|
2119
|
-
maxRewardDuration: Scalars['String']['output'];
|
|
2120
|
-
minRewardDuration: Scalars['String']['output'];
|
|
2121
|
-
rewardDurationCooldownPeriod: Scalars['String']['output'];
|
|
2122
|
-
};
|
|
2123
2106
|
declare enum GqlVaultSnapshotDataRange {
|
|
2124
2107
|
NinetyDays = "NINETY_DAYS",
|
|
2125
2108
|
SevenDays = "SEVEN_DAYS",
|
|
@@ -2210,14 +2193,8 @@ type Query = {
|
|
|
2210
2193
|
polGetUserVaultDeposits: PaginatedUserVaultDepositsResponse;
|
|
2211
2194
|
polGetValidator?: Maybe<GqlValidator>;
|
|
2212
2195
|
polGetValidatorBlockUptimes: Array<GqlValidatorBlockUptime>;
|
|
2213
|
-
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2214
|
-
polGetValidatorBoostDelay: GqlValidatorBoostDelay;
|
|
2215
2196
|
polGetValidatorBoosts: PaginatedValidatorBoostsResponse;
|
|
2216
|
-
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2217
|
-
polGetValidatorCommissionDelay: GqlValidatorCommissionDelay;
|
|
2218
2197
|
polGetValidators: PaginatedValidatorsResponse;
|
|
2219
|
-
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2220
|
-
polGetVaultDurations: GqlVaultDurations;
|
|
2221
2198
|
/** Getting swap, add and remove events with paging */
|
|
2222
2199
|
poolEvents: Array<GqlPoolEvent>;
|
|
2223
2200
|
/** Returns all pools for a given filter, specific for aggregators */
|
|
@@ -2234,33 +2211,22 @@ type Query = {
|
|
|
2234
2211
|
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2235
2212
|
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2236
2213
|
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2237
|
-
/**
|
|
2214
|
+
/**
|
|
2215
|
+
* Get swap quote from the SOR v2 for the V2 vault
|
|
2216
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2217
|
+
*/
|
|
2238
2218
|
sorGetSwapPaths: GqlSorGetSwapPaths;
|
|
2239
|
-
/** Get swap quote from the SOR, queries both the old and new SOR */
|
|
2240
|
-
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2241
2219
|
/**
|
|
2242
|
-
*
|
|
2243
|
-
* @deprecated
|
|
2220
|
+
* Get swap quote from the SOR, queries both the old and new SOR
|
|
2221
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2244
2222
|
*/
|
|
2245
|
-
|
|
2223
|
+
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2246
2224
|
/** Returns the current price for a given token */
|
|
2247
2225
|
tokenGetCurrentPrice: GqlTokenPrice;
|
|
2248
2226
|
/** Returns all current prices for allowed tokens for a given chain or chains */
|
|
2249
2227
|
tokenGetCurrentPrices: Array<GqlTokenPrice>;
|
|
2250
2228
|
/** Returns the historical prices for a given set of tokens for a given chain and range */
|
|
2251
2229
|
tokenGetHistoricalPrices: Array<GqlHistoricalTokenPrice>;
|
|
2252
|
-
/**
|
|
2253
|
-
* DEPRECATED: Returns pricing data for a given token for a given range
|
|
2254
|
-
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2255
|
-
*/
|
|
2256
|
-
tokenGetPriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2257
|
-
/**
|
|
2258
|
-
* Returns the price of either BAL or BEETS depending on chain
|
|
2259
|
-
* @deprecated Use tokenGetTokensDynamicData instead
|
|
2260
|
-
*/
|
|
2261
|
-
tokenGetProtocolTokenPrice: Scalars['AmountHumanReadable']['output'];
|
|
2262
|
-
/** Returns the price of a token priced in another token for a given range. */
|
|
2263
|
-
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2264
2230
|
/** Returns a token for a given address and chain */
|
|
2265
2231
|
tokenGetToken: GqlToken;
|
|
2266
2232
|
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
@@ -2428,11 +2394,6 @@ type QuerySorGetSwapsArgs = {
|
|
|
2428
2394
|
tokenIn: Scalars['String']['input'];
|
|
2429
2395
|
tokenOut: Scalars['String']['input'];
|
|
2430
2396
|
};
|
|
2431
|
-
type QueryTokenGetCandlestickChartDataArgs = {
|
|
2432
|
-
address: Scalars['String']['input'];
|
|
2433
|
-
chain?: InputMaybe<GqlChain>;
|
|
2434
|
-
range: GqlTokenChartDataRange;
|
|
2435
|
-
};
|
|
2436
2397
|
type QueryTokenGetCurrentPriceArgs = {
|
|
2437
2398
|
address: Scalars['String']['input'];
|
|
2438
2399
|
chain: GqlChain;
|
|
@@ -2446,20 +2407,6 @@ type QueryTokenGetHistoricalPricesArgs = {
|
|
|
2446
2407
|
chain: GqlChain;
|
|
2447
2408
|
range: GqlTokenChartDataRange;
|
|
2448
2409
|
};
|
|
2449
|
-
type QueryTokenGetPriceChartDataArgs = {
|
|
2450
|
-
address: Scalars['String']['input'];
|
|
2451
|
-
chain?: InputMaybe<GqlChain>;
|
|
2452
|
-
range: GqlTokenChartDataRange;
|
|
2453
|
-
};
|
|
2454
|
-
type QueryTokenGetProtocolTokenPriceArgs = {
|
|
2455
|
-
chain?: InputMaybe<GqlChain>;
|
|
2456
|
-
};
|
|
2457
|
-
type QueryTokenGetRelativePriceChartDataArgs = {
|
|
2458
|
-
chain?: InputMaybe<GqlChain>;
|
|
2459
|
-
range: GqlTokenChartDataRange;
|
|
2460
|
-
tokenIn: Scalars['String']['input'];
|
|
2461
|
-
tokenOut: Scalars['String']['input'];
|
|
2462
|
-
};
|
|
2463
2410
|
type QueryTokenGetTokenArgs = {
|
|
2464
2411
|
address: Scalars['String']['input'];
|
|
2465
2412
|
chain: GqlChain;
|
|
@@ -3508,4 +3455,4 @@ interface PossibleTypesResultData {
|
|
|
3508
3455
|
}
|
|
3509
3456
|
declare const result: PossibleTypesResultData;
|
|
3510
3457
|
|
|
3511
|
-
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, 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, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, 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,
|
|
3458
|
+
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, 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, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, 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, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, 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 QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type Scalars, type Token, result as default };
|
|
@@ -1971,11 +1971,6 @@ type GqlValidatorBoost = {
|
|
|
1971
1971
|
validator?: Maybe<GqlValidatorInList>;
|
|
1972
1972
|
validatorId: Scalars['Bytes']['output'];
|
|
1973
1973
|
};
|
|
1974
|
-
type GqlValidatorBoostDelay = {
|
|
1975
|
-
__typename?: 'GqlValidatorBoostDelay';
|
|
1976
|
-
boostDelay: Scalars['String']['output'];
|
|
1977
|
-
unboostDelay: Scalars['String']['output'];
|
|
1978
|
-
};
|
|
1979
1974
|
declare enum GqlValidatorBoostOrderBy {
|
|
1980
1975
|
ActiveBoostAmount = "activeBoostAmount",
|
|
1981
1976
|
LatestBlock = "latestBlock",
|
|
@@ -1987,12 +1982,6 @@ declare enum GqlValidatorBoostOrderDirection {
|
|
|
1987
1982
|
Asc = "asc",
|
|
1988
1983
|
Desc = "desc"
|
|
1989
1984
|
}
|
|
1990
|
-
type GqlValidatorCommissionDelay = {
|
|
1991
|
-
__typename?: 'GqlValidatorCommissionDelay';
|
|
1992
|
-
commissionChangeDelay: Scalars['String']['output'];
|
|
1993
|
-
maxWeightPerVault: Scalars['String']['output'];
|
|
1994
|
-
rewardAllocationBlockDelay: Scalars['String']['output'];
|
|
1995
|
-
};
|
|
1996
1985
|
type GqlValidatorCommissionHistory = {
|
|
1997
1986
|
__typename?: 'GqlValidatorCommissionHistory';
|
|
1998
1987
|
blockNumber: Scalars['Int']['output'];
|
|
@@ -2114,12 +2103,6 @@ type GqlValidatorStats = {
|
|
|
2114
2103
|
activeBoostAmountPercentage: Scalars['String']['output'];
|
|
2115
2104
|
stakedBeraAmountPercentage: Scalars['String']['output'];
|
|
2116
2105
|
};
|
|
2117
|
-
type GqlVaultDurations = {
|
|
2118
|
-
__typename?: 'GqlVaultDurations';
|
|
2119
|
-
maxRewardDuration: Scalars['String']['output'];
|
|
2120
|
-
minRewardDuration: Scalars['String']['output'];
|
|
2121
|
-
rewardDurationCooldownPeriod: Scalars['String']['output'];
|
|
2122
|
-
};
|
|
2123
2106
|
declare enum GqlVaultSnapshotDataRange {
|
|
2124
2107
|
NinetyDays = "NINETY_DAYS",
|
|
2125
2108
|
SevenDays = "SEVEN_DAYS",
|
|
@@ -2210,14 +2193,8 @@ type Query = {
|
|
|
2210
2193
|
polGetUserVaultDeposits: PaginatedUserVaultDepositsResponse;
|
|
2211
2194
|
polGetValidator?: Maybe<GqlValidator>;
|
|
2212
2195
|
polGetValidatorBlockUptimes: Array<GqlValidatorBlockUptime>;
|
|
2213
|
-
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2214
|
-
polGetValidatorBoostDelay: GqlValidatorBoostDelay;
|
|
2215
2196
|
polGetValidatorBoosts: PaginatedValidatorBoostsResponse;
|
|
2216
|
-
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2217
|
-
polGetValidatorCommissionDelay: GqlValidatorCommissionDelay;
|
|
2218
2197
|
polGetValidators: PaginatedValidatorsResponse;
|
|
2219
|
-
/** @deprecated This query will be removed at the end of March 2026. Read the value from an RPC instead. */
|
|
2220
|
-
polGetVaultDurations: GqlVaultDurations;
|
|
2221
2198
|
/** Getting swap, add and remove events with paging */
|
|
2222
2199
|
poolEvents: Array<GqlPoolEvent>;
|
|
2223
2200
|
/** Returns all pools for a given filter, specific for aggregators */
|
|
@@ -2234,33 +2211,22 @@ type Query = {
|
|
|
2234
2211
|
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2235
2212
|
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2236
2213
|
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2237
|
-
/**
|
|
2214
|
+
/**
|
|
2215
|
+
* Get swap quote from the SOR v2 for the V2 vault
|
|
2216
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2217
|
+
*/
|
|
2238
2218
|
sorGetSwapPaths: GqlSorGetSwapPaths;
|
|
2239
|
-
/** Get swap quote from the SOR, queries both the old and new SOR */
|
|
2240
|
-
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2241
2219
|
/**
|
|
2242
|
-
*
|
|
2243
|
-
* @deprecated
|
|
2220
|
+
* Get swap quote from the SOR, queries both the old and new SOR
|
|
2221
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2244
2222
|
*/
|
|
2245
|
-
|
|
2223
|
+
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2246
2224
|
/** Returns the current price for a given token */
|
|
2247
2225
|
tokenGetCurrentPrice: GqlTokenPrice;
|
|
2248
2226
|
/** Returns all current prices for allowed tokens for a given chain or chains */
|
|
2249
2227
|
tokenGetCurrentPrices: Array<GqlTokenPrice>;
|
|
2250
2228
|
/** Returns the historical prices for a given set of tokens for a given chain and range */
|
|
2251
2229
|
tokenGetHistoricalPrices: Array<GqlHistoricalTokenPrice>;
|
|
2252
|
-
/**
|
|
2253
|
-
* DEPRECATED: Returns pricing data for a given token for a given range
|
|
2254
|
-
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2255
|
-
*/
|
|
2256
|
-
tokenGetPriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2257
|
-
/**
|
|
2258
|
-
* Returns the price of either BAL or BEETS depending on chain
|
|
2259
|
-
* @deprecated Use tokenGetTokensDynamicData instead
|
|
2260
|
-
*/
|
|
2261
|
-
tokenGetProtocolTokenPrice: Scalars['AmountHumanReadable']['output'];
|
|
2262
|
-
/** Returns the price of a token priced in another token for a given range. */
|
|
2263
|
-
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2264
2230
|
/** Returns a token for a given address and chain */
|
|
2265
2231
|
tokenGetToken: GqlToken;
|
|
2266
2232
|
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
@@ -2428,11 +2394,6 @@ type QuerySorGetSwapsArgs = {
|
|
|
2428
2394
|
tokenIn: Scalars['String']['input'];
|
|
2429
2395
|
tokenOut: Scalars['String']['input'];
|
|
2430
2396
|
};
|
|
2431
|
-
type QueryTokenGetCandlestickChartDataArgs = {
|
|
2432
|
-
address: Scalars['String']['input'];
|
|
2433
|
-
chain?: InputMaybe<GqlChain>;
|
|
2434
|
-
range: GqlTokenChartDataRange;
|
|
2435
|
-
};
|
|
2436
2397
|
type QueryTokenGetCurrentPriceArgs = {
|
|
2437
2398
|
address: Scalars['String']['input'];
|
|
2438
2399
|
chain: GqlChain;
|
|
@@ -2446,20 +2407,6 @@ type QueryTokenGetHistoricalPricesArgs = {
|
|
|
2446
2407
|
chain: GqlChain;
|
|
2447
2408
|
range: GqlTokenChartDataRange;
|
|
2448
2409
|
};
|
|
2449
|
-
type QueryTokenGetPriceChartDataArgs = {
|
|
2450
|
-
address: Scalars['String']['input'];
|
|
2451
|
-
chain?: InputMaybe<GqlChain>;
|
|
2452
|
-
range: GqlTokenChartDataRange;
|
|
2453
|
-
};
|
|
2454
|
-
type QueryTokenGetProtocolTokenPriceArgs = {
|
|
2455
|
-
chain?: InputMaybe<GqlChain>;
|
|
2456
|
-
};
|
|
2457
|
-
type QueryTokenGetRelativePriceChartDataArgs = {
|
|
2458
|
-
chain?: InputMaybe<GqlChain>;
|
|
2459
|
-
range: GqlTokenChartDataRange;
|
|
2460
|
-
tokenIn: Scalars['String']['input'];
|
|
2461
|
-
tokenOut: Scalars['String']['input'];
|
|
2462
|
-
};
|
|
2463
2410
|
type QueryTokenGetTokenArgs = {
|
|
2464
2411
|
address: Scalars['String']['input'];
|
|
2465
2412
|
chain: GqlChain;
|
|
@@ -3508,4 +3455,4 @@ interface PossibleTypesResultData {
|
|
|
3508
3455
|
}
|
|
3509
3456
|
declare const result: PossibleTypesResultData;
|
|
3510
3457
|
|
|
3511
|
-
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, 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, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, 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,
|
|
3458
|
+
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, 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, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, 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, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, 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 QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type Scalars, type Token, result as default };
|
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(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=(r=>(r.Add="ADD",r.Remove="REMOVE",r.Swap="SWAP",r))(g||{}),
|
|
1
|
+
import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(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=(r=>(r.Add="ADD",r.Remove="REMOVE",r.Swap="SWAP",r))(g||{}),b=(r=>(r.NinetyDays="NINETY_DAYS",r.SevenDays="SEVEN_DAYS",r.ThirtyDays="THIRTY_DAYS",r))(b||{}),A=(s=>(s.BlackListed="BLACK_LISTED",s.Featured="FEATURED",s.Incentivized="INCENTIVIZED",s.Lrt="LRT",s.Points="POINTS",s.PointsEigenlayer="POINTS_EIGENLAYER",s.PointsGyro="POINTS_GYRO",s.PointsKelp="POINTS_KELP",s.PointsRenzo="POINTS_RENZO",s.PointsSwell="POINTS_SWELL",s.Superfest="SUPERFEST",s))(A||{}),G=(t=>(t.Exit="Exit",t.Join="Join",t))(G||{}),I=(r=>(r.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",r.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",r.NoNesting="NO_NESTING",r))(I||{}),q=(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))(q||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),v=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(v||{}),P=(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))(P||{}),k=(r=>(r.AmountRemaining="amountRemaining",r.AmountRemainingUsd="amountRemainingUsd",r.IncentiveRate="incentiveRate",r))(k||{}),_=(t=>(t.Asc="asc",t.Desc="desc",t))(_||{}),h=(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))(h||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),D=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(D||{}),V=(t=>(t.Day="DAY",t.Hour="HOUR",t))(V||{}),T=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(T||{}),x=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(x||{}),R=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(R||{}),w=(r=>(r.Bpt="BPT",r.PhantomBpt="PHANTOM_BPT",r.WhiteListed="WHITE_LISTED",r))(w||{}),C=(y=>(y.Amount="amount",y))(C||{}),U=(t=>(t.Asc="asc",t.Desc="desc",t))(U||{}),E=(u=>(u.Inactive="INACTIVE",u.Offline="OFFLINE",u.Proposed="PROPOSED",u.Signed="SIGNED",u))(E||{}),$=(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=(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||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),W=(u=>(u.NinetyDays="NINETY_DAYS",u.SevenDays="SEVEN_DAYS",u.SixtyDays="SIXTY_DAYS",u.ThirtyDays="THIRTY_DAYS",u))(W||{}),J=e`
|
|
2
2
|
fragment ApiMinimalVaultIncentive on GqlRewardVaultIncentive {
|
|
3
3
|
remainingAmount
|
|
4
4
|
remainingAmountUsd
|
|
@@ -355,4 +355,4 @@ ${Y}`,tt=e`
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
`,z={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],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"]}},ut=z;export{J as ApiMinimalVaultIncentive,H as ApiRewardAllocationWeight,S as ApiValidator,Y as ApiValidatorBlockUptime,L as ApiValidatorInList,O as ApiValidatorIncentive,c as ApiValidatorMinimal,X as ApiValidatorRewardAllocationWeight,p as ApiVault,Q as ApiVaultIncentive,et as GetRewardVault,lt as GetSWberaVaultMetadata,it as GetSWberaVaultSnapshots,st as GetUserValidatorInformation,ot as GetUserVaults,Z as GetValidator,tt as GetValidators,nt as GetVaultHistory,at as GetVaultValidators,j as GetVaults,rt as GlobalData,d as GqlChain,m as GqlPoolAprItemType,g as GqlPoolEventType,
|
|
358
|
+
`,z={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],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"]}},ut=z;export{J as ApiMinimalVaultIncentive,H as ApiRewardAllocationWeight,S as ApiValidator,Y as ApiValidatorBlockUptime,L as ApiValidatorInList,O as ApiValidatorIncentive,c as ApiValidatorMinimal,X as ApiValidatorRewardAllocationWeight,p as ApiVault,Q as ApiVaultIncentive,et as GetRewardVault,lt as GetSWberaVaultMetadata,it as GetSWberaVaultSnapshots,st as GetUserValidatorInformation,ot as GetUserVaults,Z as GetValidator,tt as GetValidators,nt as GetVaultHistory,at as GetVaultValidators,j as GetVaults,rt as GlobalData,d as GqlChain,m as GqlPoolAprItemType,g as GqlPoolEventType,b as GqlPoolEventsDataRange,A as GqlPoolFilterCategory,G as GqlPoolJoinExitType,I as GqlPoolNestingType,q as GqlPoolOrderBy,B as GqlPoolOrderDirection,v as GqlPoolSnapshotDataRange,P as GqlPoolType,k as GqlRewardVaultIncentiveOrderBy,_ as GqlRewardVaultIncentiveOrderDirection,h as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,D as GqlRewardVaultSnapshotDataRange,V as GqlRewardVaultSnapshotResolution,T as GqlSWberaVaultMetadataResolution,x as GqlSorSwapType,R as GqlTokenChartDataRange,w as GqlTokenType,C as GqlUserVaultDepositOrderBy,U as GqlUserVaultDepositOrderDirection,E as GqlValidatorBlockUptimeStatus,$ as GqlValidatorBoostOrderBy,f as GqlValidatorBoostOrderDirection,N as GqlValidatorOrderBy,F as GqlValidatorOrderDirection,W as GqlVaultSnapshotDataRange,ut as default};
|