@berachain/graphql 0.4.8-beta.0 → 0.4.8-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dex/api.codegen.cjs +5 -5
- package/dist/dex/api.codegen.d.cts +93 -2
- package/dist/dex/api.codegen.d.ts +93 -2
- package/dist/dex/api.codegen.mjs +4 -4
- package/dist/pol/api.codegen.cjs +17 -18
- package/dist/pol/api.codegen.d.cts +94 -4
- package/dist/pol/api.codegen.d.ts +94 -4
- package/dist/pol/api.codegen.mjs +18 -19
- package/dist/pol/subgraph.codegen.cjs +4 -4
- package/dist/pol/subgraph.codegen.d.cts +13 -23
- package/dist/pol/subgraph.codegen.d.ts +13 -23
- package/dist/pol/subgraph.codegen.mjs +2 -2
- 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:()=>J,GqlPoolAprItemType:()=>g,GqlPoolEventType:()=>G,GqlPoolEventsDataRange:()=>b,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>P,GqlPoolNestingType:()=>A,GqlPoolOrderBy:()=>I,GqlPoolOrderDirection:()=>_,GqlPoolSnapshotDataRange:()=>h,GqlPoolSwapEventCowAmm:()=>K,GqlPoolSwapEventV3:()=>z,GqlPoolType:()=>D,GqlRewardVaultIncentiveOrderBy:()=>T,GqlRewardVaultIncentiveOrderDirection:()=>B,GqlRewardVaultOrderBy:()=>k,GqlRewardVaultOrderDirection:()=>M,GqlRewardVaultSnapshotDataRange:()=>x,GqlRewardVaultSnapshotResolution:()=>v,GqlSWberaVaultMetadataResolution:()=>w,GqlSorSwapType:()=>V,GqlTokenChartDataRange:()=>C,GqlTokenType:()=>R,GqlUserVaultDepositOrderBy:()=>E,GqlUserVaultDepositOrderDirection:()=>F,GqlValidatorBlockUptimeStatus:()=>f,GqlValidatorBoostOrderBy:()=>U,GqlValidatorBoostOrderDirection:()=>$,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))(_||{}),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||{}),D=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(D||{}),T=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(T||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),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||{}),x=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(x||{}),v=(t=>(t.Day="DAY",t.Hour="HOUR",t))(v||{}),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||{}),f=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(f||{}),U=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(U||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),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
|
+
`,z=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
|
+
`,J=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
|
+
${z}
|
|
142
|
+
${J}`,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
|
|
@@ -1850,11 +1850,12 @@ type GqlValidatorBoost = {
|
|
|
1850
1850
|
activeBoostAmount: Scalars['String']['output'];
|
|
1851
1851
|
chain: GqlChain;
|
|
1852
1852
|
latestBlock: Scalars['Int']['output'];
|
|
1853
|
+
/** The timestamp of the latest block in seconds. */
|
|
1853
1854
|
latestBlockTime: Scalars['Int']['output'];
|
|
1854
1855
|
queuedBoostAmount: Scalars['String']['output'];
|
|
1855
1856
|
queuedDropBoostAmount: Scalars['String']['output'];
|
|
1856
1857
|
userAddress: Scalars['Bytes']['output'];
|
|
1857
|
-
validator?: Maybe<
|
|
1858
|
+
validator?: Maybe<GqlValidatorInList>;
|
|
1858
1859
|
validatorId: Scalars['Bytes']['output'];
|
|
1859
1860
|
};
|
|
1860
1861
|
type GqlValidatorBoostDelay = {
|
|
@@ -1923,6 +1924,15 @@ type GqlValidatorFilter = {
|
|
|
1923
1924
|
rewardAllocatorNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1924
1925
|
vaultAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1925
1926
|
};
|
|
1927
|
+
type GqlValidatorInList = {
|
|
1928
|
+
__typename?: 'GqlValidatorInList';
|
|
1929
|
+
dynamicData?: Maybe<GqlValidatorDynamicData>;
|
|
1930
|
+
id: Scalars['Bytes']['output'];
|
|
1931
|
+
metadata?: Maybe<GqlValidatorMetadata>;
|
|
1932
|
+
operator?: Maybe<Scalars['Bytes']['output']>;
|
|
1933
|
+
pubkey: Scalars['Bytes']['output'];
|
|
1934
|
+
rewardAllocator?: Maybe<Scalars['Bytes']['output']>;
|
|
1935
|
+
};
|
|
1926
1936
|
type GqlValidatorMetadata = {
|
|
1927
1937
|
__typename?: 'GqlValidatorMetadata';
|
|
1928
1938
|
chain: GqlChain;
|
|
@@ -2019,6 +2029,87 @@ type HookData = {
|
|
|
2019
2029
|
removeLiquidityFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2020
2030
|
swapFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2021
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
|
+
};
|
|
2022
2113
|
type PaginatedRewardVaultIncentivesResponse = {
|
|
2023
2114
|
__typename?: 'PaginatedRewardVaultIncentivesResponse';
|
|
2024
2115
|
incentives: Array<GqlRewardVaultIncentive>;
|
|
@@ -3634,4 +3725,4 @@ interface PossibleTypesResultData {
|
|
|
3634
3725
|
}
|
|
3635
3726
|
declare const result: PossibleTypesResultData;
|
|
3636
3727
|
|
|
3637
|
-
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 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 };
|
|
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 Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, 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 };
|
|
@@ -1850,11 +1850,12 @@ type GqlValidatorBoost = {
|
|
|
1850
1850
|
activeBoostAmount: Scalars['String']['output'];
|
|
1851
1851
|
chain: GqlChain;
|
|
1852
1852
|
latestBlock: Scalars['Int']['output'];
|
|
1853
|
+
/** The timestamp of the latest block in seconds. */
|
|
1853
1854
|
latestBlockTime: Scalars['Int']['output'];
|
|
1854
1855
|
queuedBoostAmount: Scalars['String']['output'];
|
|
1855
1856
|
queuedDropBoostAmount: Scalars['String']['output'];
|
|
1856
1857
|
userAddress: Scalars['Bytes']['output'];
|
|
1857
|
-
validator?: Maybe<
|
|
1858
|
+
validator?: Maybe<GqlValidatorInList>;
|
|
1858
1859
|
validatorId: Scalars['Bytes']['output'];
|
|
1859
1860
|
};
|
|
1860
1861
|
type GqlValidatorBoostDelay = {
|
|
@@ -1923,6 +1924,15 @@ type GqlValidatorFilter = {
|
|
|
1923
1924
|
rewardAllocatorNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1924
1925
|
vaultAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1925
1926
|
};
|
|
1927
|
+
type GqlValidatorInList = {
|
|
1928
|
+
__typename?: 'GqlValidatorInList';
|
|
1929
|
+
dynamicData?: Maybe<GqlValidatorDynamicData>;
|
|
1930
|
+
id: Scalars['Bytes']['output'];
|
|
1931
|
+
metadata?: Maybe<GqlValidatorMetadata>;
|
|
1932
|
+
operator?: Maybe<Scalars['Bytes']['output']>;
|
|
1933
|
+
pubkey: Scalars['Bytes']['output'];
|
|
1934
|
+
rewardAllocator?: Maybe<Scalars['Bytes']['output']>;
|
|
1935
|
+
};
|
|
1926
1936
|
type GqlValidatorMetadata = {
|
|
1927
1937
|
__typename?: 'GqlValidatorMetadata';
|
|
1928
1938
|
chain: GqlChain;
|
|
@@ -2019,6 +2029,87 @@ type HookData = {
|
|
|
2019
2029
|
removeLiquidityFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2020
2030
|
swapFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2021
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
|
+
};
|
|
2022
2113
|
type PaginatedRewardVaultIncentivesResponse = {
|
|
2023
2114
|
__typename?: 'PaginatedRewardVaultIncentivesResponse';
|
|
2024
2115
|
incentives: Array<GqlRewardVaultIncentive>;
|
|
@@ -3634,4 +3725,4 @@ interface PossibleTypesResultData {
|
|
|
3634
3725
|
}
|
|
3635
3726
|
declare const result: PossibleTypesResultData;
|
|
3636
3727
|
|
|
3637
|
-
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 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 };
|
|
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 Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, 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))(_||{}),h=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(h||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),T=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(T||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),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||{}),x=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(x||{}),v=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(v||{}),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||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),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))(U||{}),$=(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
|
|
@@ -125,7 +125,7 @@ ${c}`,O=r`
|
|
|
125
125
|
amount
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
`,
|
|
128
|
+
`,z=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
|
+
${z}`,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
|
+
`,J={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=J;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,T as GqlRewardVaultOrderBy,B as GqlRewardVaultOrderDirection,k as GqlRewardVaultSnapshotDataRange,M as GqlRewardVaultSnapshotResolution,x as GqlSWberaVaultMetadataResolution,v as GqlSorSwapType,w as GqlTokenChartDataRange,V as GqlTokenType,C as GqlUserVaultDepositOrderBy,R as GqlUserVaultDepositOrderDirection,E as GqlValidatorBlockUptimeStatus,F as GqlValidatorBoostOrderBy,f as GqlValidatorBoostOrderDirection,U as GqlValidatorOrderBy,$ as GqlValidatorOrderDirection,N as GqlVaultSnapshotDataRange,W as MinimalPool,H as MinimalPoolInList,z 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 z=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var J=Object.prototype.hasOwnProperty;var X=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},j=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of K(u))!J.call(c,n)&&n!==t&&d(c,n,{get:()=>u[n],enumerable:!(e=z(u,n))||e.enumerable});return c};var Z=c=>j(d({},"__esModule",{value:!0}),c);var yt={};X(yt,{ApiRewardAllocationWeight:()=>
|
|
1
|
+
"use strict";var d=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var J=Object.prototype.hasOwnProperty;var X=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},j=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of K(u))!J.call(c,n)&&n!==t&&d(c,n,{get:()=>u[n],enumerable:!(e=z(u,n))||e.enumerable});return c};var Z=c=>j(d({},"__esModule",{value:!0}),c);var yt={};X(yt,{ApiRewardAllocationWeight:()=>O,ApiValidator:()=>y,ApiValidatorBlockUptime:()=>Y,ApiValidatorMinimal:()=>g,ApiVault:()=>S,ApiVaultIncentive:()=>L,GetRewardVault:()=>rt,GetSWberaVaultMetadata:()=>it,GetSWberaVaultSnapshots:()=>ut,GetUserValidatorInformation:()=>pt,GetUserVaults:()=>lt,GetValidator:()=>at,GetValidators:()=>et,GetVaultHistory:()=>st,GetVaultValidators:()=>ot,GetVaults:()=>tt,GlobalData:()=>nt,GqlChain:()=>m,GqlPoolAprItemType:()=>G,GqlPoolEventType:()=>A,GqlPoolEventsDataRange:()=>b,GqlPoolFilterCategory:()=>I,GqlPoolJoinExitType:()=>q,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>P,GqlPoolOrderDirection:()=>h,GqlPoolSnapshotDataRange:()=>k,GqlPoolType:()=>v,GqlRewardVaultIncentiveOrderBy:()=>_,GqlRewardVaultIncentiveOrderDirection:()=>D,GqlRewardVaultOrderBy:()=>M,GqlRewardVaultOrderDirection:()=>T,GqlRewardVaultSnapshotDataRange:()=>V,GqlRewardVaultSnapshotResolution:()=>x,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>w,GqlTokenChartDataRange:()=>C,GqlTokenType:()=>U,GqlUserVaultDepositOrderBy:()=>E,GqlUserVaultDepositOrderDirection:()=>$,GqlValidatorBlockUptimeStatus:()=>f,GqlValidatorBoostOrderBy:()=>F,GqlValidatorBoostOrderDirection:()=>N,GqlValidatorOrderBy:()=>W,GqlValidatorOrderDirection:()=>Q,GqlVaultSnapshotDataRange:()=>H,default:()=>St});module.exports=Z(yt);var o=require("@apollo/client"),m=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(m||{}),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||{}),A=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(A||{}),b=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(b||{}),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=(r=>(r.Apr="apr",r.BgtApr="bgtApr",r.CombinedApr="combinedApr",r.Fees24h="fees24h",r.TotalLiquidity="totalLiquidity",r.TotalShares="totalShares",r.UserbalanceUsd="userbalanceUsd",r.Volume24h="volume24h",r))(P||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),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||{}),v=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(v||{}),_=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(_||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),M=(r=>(r.ActiveIncentivesRateUsd="activeIncentivesRateUsd",r.ActiveIncentivesValueUsd="activeIncentivesValueUsd",r.AllTimeBgtReceived="allTimeBGTReceived",r.Apr="apr",r.Apy="apy",r.BgtCapturePercentage="bgtCapturePercentage",r.Last24hBgtReceived="last24hBGTReceived",r.ProjectedApr="projectedApr",r))(M||{}),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||{}),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||{}),F=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(F||{}),N=(t=>(t.Asc="asc",t.Desc="desc",t))(N||{}),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||{}),g=o.gql`
|
|
2
2
|
fragment ApiValidatorMinimal on GqlValidator {
|
|
3
3
|
id
|
|
4
4
|
pubkey
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
commissionOnIncentives
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
`,
|
|
25
|
+
`,L=o.gql`
|
|
26
26
|
fragment ApiVaultIncentive on GqlRewardVaultIncentive {
|
|
27
27
|
active
|
|
28
28
|
remainingAmount
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
decimals
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
`,S=
|
|
40
|
+
`,S=o.gql`
|
|
41
41
|
fragment ApiVault on GqlRewardVault {
|
|
42
42
|
id: vaultAddress
|
|
43
43
|
vaultAddress
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
...ApiVaultIncentive
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
${
|
|
77
|
+
${L}`,O=o.gql`
|
|
78
78
|
fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
|
|
79
79
|
percentage
|
|
80
80
|
receivingVault {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
receiver
|
|
84
84
|
startBlock
|
|
85
85
|
}
|
|
86
|
-
${S}`,y=
|
|
86
|
+
${S}`,y=o.gql`
|
|
87
87
|
fragment ApiValidator on GqlValidator {
|
|
88
88
|
...ApiValidatorMinimal
|
|
89
89
|
operator
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
${g}
|
|
108
|
-
${
|
|
108
|
+
${O}`,Y=o.gql`
|
|
109
109
|
fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
|
|
110
110
|
isActive
|
|
111
111
|
isProposer
|
|
@@ -113,7 +113,7 @@ ${L}`,Y=r.gql`
|
|
|
113
113
|
status
|
|
114
114
|
blockNumber
|
|
115
115
|
}
|
|
116
|
-
`,tt=
|
|
116
|
+
`,tt=o.gql`
|
|
117
117
|
query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
|
|
118
118
|
polGetRewardVaults(
|
|
119
119
|
where: $where
|
|
@@ -132,7 +132,7 @@ ${L}`,Y=r.gql`
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
${S}`,at=
|
|
135
|
+
${S}`,at=o.gql`
|
|
136
136
|
query GetValidator($id: String!, $chain: GqlChain!) {
|
|
137
137
|
validator: polGetValidator(validatorId: $id, chain: $chain) {
|
|
138
138
|
...ApiValidator
|
|
@@ -142,7 +142,7 @@ ${L}`,Y=r.gql`
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
${y}
|
|
145
|
-
${Y}`,et=
|
|
145
|
+
${Y}`,et=o.gql`
|
|
146
146
|
query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
|
|
147
147
|
validators: polGetValidators(
|
|
148
148
|
where: $where
|
|
@@ -164,7 +164,7 @@ ${Y}`,et=r.gql`
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
${y}`,
|
|
167
|
+
${y}`,ot=o.gql`
|
|
168
168
|
query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
|
|
169
169
|
validators: polGetValidators(
|
|
170
170
|
where: {vaultAddress: $vaultId, isActive: $isActive}
|
|
@@ -181,13 +181,13 @@ ${Y}`,et=r.gql`
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
${y}`,
|
|
184
|
+
${y}`,rt=o.gql`
|
|
185
185
|
query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
|
|
186
186
|
rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
|
|
187
187
|
...ApiVault
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
${S}`,nt=
|
|
190
|
+
${S}`,nt=o.gql`
|
|
191
191
|
query GlobalData($chain: GqlChain!) {
|
|
192
192
|
top3EmittingValidators: polGetValidators(
|
|
193
193
|
orderBy: bgtCapturePercentage
|
|
@@ -220,7 +220,7 @@ ${Y}`,et=r.gql`
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
${g}`,lt=
|
|
223
|
+
${g}`,lt=o.gql`
|
|
224
224
|
query GetUserVaults($userId: String!, $chain: GqlChain!) {
|
|
225
225
|
userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
|
|
226
226
|
pagination {
|
|
@@ -236,7 +236,7 @@ ${Y}`,et=r.gql`
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
${S}`,st=
|
|
239
|
+
${S}`,st=o.gql`
|
|
240
240
|
query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
|
|
241
241
|
polGetRewardVaultSnapshots(
|
|
242
242
|
chain: $chain
|
|
@@ -249,14 +249,14 @@ ${Y}`,et=r.gql`
|
|
|
249
249
|
apr
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
`,it=
|
|
252
|
+
`,it=o.gql`
|
|
253
253
|
query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
|
|
254
254
|
polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
|
|
255
255
|
apr
|
|
256
256
|
chain
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
`,ut=
|
|
259
|
+
`,ut=o.gql`
|
|
260
260
|
query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
|
|
261
261
|
polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
|
|
262
262
|
apr
|
|
@@ -267,7 +267,7 @@ ${Y}`,et=r.gql`
|
|
|
267
267
|
vaultAddress
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
`,pt=
|
|
270
|
+
`,pt=o.gql`
|
|
271
271
|
query GetUserValidatorInformation($address: String!, $chain: GqlChain!) {
|
|
272
272
|
polGetValidatorBoosts(userAddress: $address, chain: $chain, first: 100) {
|
|
273
273
|
boosts {
|
|
@@ -283,7 +283,6 @@ ${Y}`,et=r.gql`
|
|
|
283
283
|
activeBoostAmount
|
|
284
284
|
queuedBoostAmount
|
|
285
285
|
queuedDropBoostAmount
|
|
286
|
-
latestBlockTime
|
|
287
286
|
}
|
|
288
287
|
}
|
|
289
288
|
}
|