@berachain/graphql 0.4.8 → 0.4.9-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dex/api.codegen.cjs +6 -6
- package/dist/dex/api.codegen.d.cts +118 -3
- package/dist/dex/api.codegen.d.ts +118 -3
- package/dist/dex/api.codegen.mjs +4 -4
- package/dist/pol/api.codegen.cjs +91 -22
- package/dist/pol/api.codegen.d.cts +247 -68
- package/dist/pol/api.codegen.d.ts +247 -68
- package/dist/pol/api.codegen.mjs +91 -22
- 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:()=>A,GqlPoolNestingType:()=>P,GqlPoolOrderBy:()=>I,GqlPoolOrderDirection:()=>_,GqlPoolSnapshotDataRange:()=>h,GqlPoolSwapEventCowAmm:()=>K,GqlPoolSwapEventV3:()=>z,GqlPoolType:()=>D,GqlRewardVaultIncentiveOrderBy:()=>T,GqlRewardVaultIncentiveOrderDirection:()=>B,GqlRewardVaultOrderBy:()=>k,GqlRewardVaultOrderDirection:()=>M,GqlRewardVaultSnapshotDataRange:()=>v,GqlRewardVaultSnapshotResolution:()=>x,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.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))(q||{}),A=(t=>(t.Exit="Exit",t.Join="Join",t))(A||{}),P=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(P||{}),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||{}),v=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(v||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),w=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(w||{}),V=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(V||{}),C=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(C||{}),R=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(R||{}),E=(u=>(u.Amount="amount",u))(E||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),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
|
|
@@ -196,4 +196,4 @@ ${z}`,rt=r.gql`
|
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,pt={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"]}},ct=pt;0&&(module.exports={DynamicData,GetGlobalLiquidityAndSwapVolume,GetPool,GetPoolEvents,GetPoolHistoricalData,GetPools,GetTokenCurrentPrices,GqlChain,GqlPoolAddRemoveEventV3,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolSwapEventCowAmm,GqlPoolSwapEventV3,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange,MinimalPool,MinimalPoolInList,PoolEvent,PoolHistoricalData,RewardVault,UserBalance});
|
|
199
|
+
`,pt={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"]}},ct=pt;0&&(module.exports={DynamicData,GetGlobalLiquidityAndSwapVolume,GetPool,GetPoolEvents,GetPoolHistoricalData,GetPools,GetTokenCurrentPrices,GqlChain,GqlPoolAddRemoveEventV3,GqlPoolAprItemType,GqlPoolEventType,GqlPoolEventsDataRange,GqlPoolFilterCategory,GqlPoolJoinExitType,GqlPoolNestingType,GqlPoolOrderBy,GqlPoolOrderDirection,GqlPoolSnapshotDataRange,GqlPoolSwapEventCowAmm,GqlPoolSwapEventV3,GqlPoolType,GqlRewardVaultIncentiveOrderBy,GqlRewardVaultIncentiveOrderDirection,GqlRewardVaultOrderBy,GqlRewardVaultOrderDirection,GqlRewardVaultSnapshotDataRange,GqlRewardVaultSnapshotResolution,GqlSWberaVaultMetadataResolution,GqlSorSwapType,GqlTokenChartDataRange,GqlTokenType,GqlUserVaultDepositOrderBy,GqlUserVaultDepositOrderDirection,GqlValidatorBlockUptimeStatus,GqlValidatorBoostOrderBy,GqlValidatorBoostOrderDirection,GqlValidatorOrderBy,GqlValidatorOrderDirection,GqlVaultSnapshotDataRange,MinimalPool,MinimalPoolInList,PoolEvent,PoolHistoricalData,RewardVault,UserBalance});
|
|
@@ -180,6 +180,14 @@ type GqlHistoricalTokenPriceEntry = {
|
|
|
180
180
|
updatedAt: Scalars['Int']['output'];
|
|
181
181
|
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
182
182
|
};
|
|
183
|
+
type GqlIncentive = {
|
|
184
|
+
incentiveRate: Scalars['String']['output'];
|
|
185
|
+
incentiveRateUsd: Scalars['String']['output'];
|
|
186
|
+
remainingAmount: Scalars['String']['output'];
|
|
187
|
+
remainingAmountUsd: Scalars['String']['output'];
|
|
188
|
+
token: GqlToken;
|
|
189
|
+
tokenAddress: Scalars['Bytes']['output'];
|
|
190
|
+
};
|
|
183
191
|
type GqlLatestSyncedBlocks = {
|
|
184
192
|
__typename?: 'GqlLatestSyncedBlocks';
|
|
185
193
|
poolSyncBlock: Scalars['BigInt']['output'];
|
|
@@ -692,6 +700,7 @@ type GqlPoolFilter = {
|
|
|
692
700
|
};
|
|
693
701
|
declare enum GqlPoolFilterCategory {
|
|
694
702
|
BlackListed = "BLACK_LISTED",
|
|
703
|
+
Featured = "FEATURED",
|
|
695
704
|
Incentivized = "INCENTIVIZED",
|
|
696
705
|
Lrt = "LRT",
|
|
697
706
|
Points = "POINTS",
|
|
@@ -1368,7 +1377,7 @@ type GqlRewardVaultFilter = {
|
|
|
1368
1377
|
vaultAddressIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1369
1378
|
vaultAddressNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1370
1379
|
};
|
|
1371
|
-
type GqlRewardVaultIncentive = {
|
|
1380
|
+
type GqlRewardVaultIncentive = GqlIncentive & {
|
|
1372
1381
|
__typename?: 'GqlRewardVaultIncentive';
|
|
1373
1382
|
active: Scalars['Boolean']['output'];
|
|
1374
1383
|
chain: GqlChain;
|
|
@@ -1819,11 +1828,15 @@ type GqlValidator = {
|
|
|
1819
1828
|
chain: GqlChain;
|
|
1820
1829
|
dynamicData?: Maybe<GqlValidatorDynamicData>;
|
|
1821
1830
|
id: Scalars['Bytes']['output'];
|
|
1831
|
+
/** Aggregated incentives of the validator reward allocation. */
|
|
1832
|
+
incentives: Array<GqlValidatorIncentive>;
|
|
1822
1833
|
lastBlockUptime?: Maybe<GqlValidatorBlockUptime>;
|
|
1823
1834
|
metadata?: Maybe<GqlValidatorMetadata>;
|
|
1824
1835
|
operator?: Maybe<Scalars['Bytes']['output']>;
|
|
1825
1836
|
pubkey: Scalars['Bytes']['output'];
|
|
1837
|
+
/** @deprecated Deprecated. It will be removed at mid April 2026. */
|
|
1826
1838
|
rewardAllocationStartBlock?: Maybe<Scalars['Int']['output']>;
|
|
1839
|
+
/** @deprecated Deprecated. It will be removed at mid April 2026. Use incentives if you need an aggregation. */
|
|
1827
1840
|
rewardAllocationWeights: Array<GqlValidatorRewardAllocationWeight>;
|
|
1828
1841
|
rewardAllocator?: Maybe<Scalars['Bytes']['output']>;
|
|
1829
1842
|
valStats?: Maybe<GqlValidatorStats>;
|
|
@@ -1850,11 +1863,12 @@ type GqlValidatorBoost = {
|
|
|
1850
1863
|
activeBoostAmount: Scalars['String']['output'];
|
|
1851
1864
|
chain: GqlChain;
|
|
1852
1865
|
latestBlock: Scalars['Int']['output'];
|
|
1866
|
+
/** The timestamp of the latest block in seconds. */
|
|
1853
1867
|
latestBlockTime: Scalars['Int']['output'];
|
|
1854
1868
|
queuedBoostAmount: Scalars['String']['output'];
|
|
1855
1869
|
queuedDropBoostAmount: Scalars['String']['output'];
|
|
1856
1870
|
userAddress: Scalars['Bytes']['output'];
|
|
1857
|
-
validator?: Maybe<
|
|
1871
|
+
validator?: Maybe<GqlValidatorInList>;
|
|
1858
1872
|
validatorId: Scalars['Bytes']['output'];
|
|
1859
1873
|
};
|
|
1860
1874
|
type GqlValidatorBoostDelay = {
|
|
@@ -1923,6 +1937,26 @@ type GqlValidatorFilter = {
|
|
|
1923
1937
|
rewardAllocatorNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1924
1938
|
vaultAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1925
1939
|
};
|
|
1940
|
+
type GqlValidatorInList = {
|
|
1941
|
+
__typename?: 'GqlValidatorInList';
|
|
1942
|
+
dynamicData?: Maybe<GqlValidatorDynamicData>;
|
|
1943
|
+
id: Scalars['Bytes']['output'];
|
|
1944
|
+
metadata?: Maybe<GqlValidatorMetadata>;
|
|
1945
|
+
operator?: Maybe<Scalars['Bytes']['output']>;
|
|
1946
|
+
pubkey: Scalars['Bytes']['output'];
|
|
1947
|
+
rewardAllocator?: Maybe<Scalars['Bytes']['output']>;
|
|
1948
|
+
};
|
|
1949
|
+
type GqlValidatorIncentive = GqlIncentive & {
|
|
1950
|
+
__typename?: 'GqlValidatorIncentive';
|
|
1951
|
+
chain: GqlChain;
|
|
1952
|
+
incentiveRate: Scalars['String']['output'];
|
|
1953
|
+
incentiveRateUsd: Scalars['String']['output'];
|
|
1954
|
+
remainingAmount: Scalars['String']['output'];
|
|
1955
|
+
remainingAmountUsd: Scalars['String']['output'];
|
|
1956
|
+
token: GqlToken;
|
|
1957
|
+
tokenAddress: Scalars['Bytes']['output'];
|
|
1958
|
+
validatorId: Scalars['Bytes']['output'];
|
|
1959
|
+
};
|
|
1926
1960
|
type GqlValidatorMetadata = {
|
|
1927
1961
|
__typename?: 'GqlValidatorMetadata';
|
|
1928
1962
|
chain: GqlChain;
|
|
@@ -2019,6 +2053,87 @@ type HookData = {
|
|
|
2019
2053
|
removeLiquidityFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2020
2054
|
swapFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2021
2055
|
};
|
|
2056
|
+
type Mutation = {
|
|
2057
|
+
__typename?: 'Mutation';
|
|
2058
|
+
cacheAverageBlockTime: Scalars['String']['output'];
|
|
2059
|
+
polSyncAllRewardVaultsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2060
|
+
polSyncAllValidatorsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2061
|
+
poolDeletePool: Scalars['String']['output'];
|
|
2062
|
+
poolInitOnChainDataForAllPools: Scalars['String']['output'];
|
|
2063
|
+
poolInitializeSnapshotsForPool: Scalars['String']['output'];
|
|
2064
|
+
poolLoadOnChainDataForAllPools: Scalars['String']['output'];
|
|
2065
|
+
poolLoadOnChainDataForPoolsWithActiveUpdates: Scalars['String']['output'];
|
|
2066
|
+
poolLoadSnapshotsForAllPools: Scalars['String']['output'];
|
|
2067
|
+
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
2068
|
+
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
2069
|
+
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2070
|
+
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2071
|
+
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2072
|
+
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2073
|
+
poolSyncPool: Scalars['String']['output'];
|
|
2074
|
+
poolSyncPoolAllTokensRelationship: Scalars['String']['output'];
|
|
2075
|
+
poolSyncSanityPoolData: Scalars['String']['output'];
|
|
2076
|
+
poolSyncSwapsForLast48Hours: Scalars['String']['output'];
|
|
2077
|
+
poolSyncTotalShares: Scalars['String']['output'];
|
|
2078
|
+
poolUpdateAprs: Scalars['String']['output'];
|
|
2079
|
+
poolUpdateLifetimeValuesForAllPools: Scalars['String']['output'];
|
|
2080
|
+
poolUpdateLiquidity24hAgoForAllPools: Scalars['String']['output'];
|
|
2081
|
+
poolUpdateLiquidityValuesForAllPools: Scalars['String']['output'];
|
|
2082
|
+
poolUpdateVolumeAndFeeValuesForAllPools: Scalars['String']['output'];
|
|
2083
|
+
protocolCacheMetrics: Scalars['String']['output'];
|
|
2084
|
+
tokenDeleteTokenType: Scalars['String']['output'];
|
|
2085
|
+
tokenReloadAllTokenTypes: Scalars['String']['output'];
|
|
2086
|
+
tokenReloadErc4626Tokens: Array<GqlTokenMutationResult>;
|
|
2087
|
+
tokenReloadTokenPrices?: Maybe<Scalars['Boolean']['output']>;
|
|
2088
|
+
tokenSyncLatestFxPrices: Scalars['String']['output'];
|
|
2089
|
+
tokenSyncTokenDefinitions: Scalars['String']['output'];
|
|
2090
|
+
userInitWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2091
|
+
userInitWalletBalancesForPool: Scalars['String']['output'];
|
|
2092
|
+
userSyncBalance: Scalars['String']['output'];
|
|
2093
|
+
userSyncBalanceAllPools: Scalars['String']['output'];
|
|
2094
|
+
userSyncChangedWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2095
|
+
};
|
|
2096
|
+
type MutationPoolDeletePoolArgs = {
|
|
2097
|
+
poolId: Scalars['String']['input'];
|
|
2098
|
+
};
|
|
2099
|
+
type MutationPoolInitializeSnapshotsForPoolArgs = {
|
|
2100
|
+
poolId: Scalars['String']['input'];
|
|
2101
|
+
};
|
|
2102
|
+
type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
2103
|
+
poolIds: Array<Scalars['String']['input']>;
|
|
2104
|
+
reload?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2105
|
+
};
|
|
2106
|
+
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2107
|
+
chain: GqlChain;
|
|
2108
|
+
};
|
|
2109
|
+
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2110
|
+
chain: GqlChain;
|
|
2111
|
+
};
|
|
2112
|
+
type MutationPoolSyncPoolArgs = {
|
|
2113
|
+
poolId: Scalars['String']['input'];
|
|
2114
|
+
};
|
|
2115
|
+
type MutationPoolUpdateAprsArgs = {
|
|
2116
|
+
chain: GqlChain;
|
|
2117
|
+
};
|
|
2118
|
+
type MutationTokenDeleteTokenTypeArgs = {
|
|
2119
|
+
tokenAddress: Scalars['String']['input'];
|
|
2120
|
+
type: GqlTokenType;
|
|
2121
|
+
};
|
|
2122
|
+
type MutationTokenReloadErc4626TokensArgs = {
|
|
2123
|
+
chains: Array<GqlChain>;
|
|
2124
|
+
};
|
|
2125
|
+
type MutationTokenReloadTokenPricesArgs = {
|
|
2126
|
+
chains: Array<GqlChain>;
|
|
2127
|
+
};
|
|
2128
|
+
type MutationTokenSyncLatestFxPricesArgs = {
|
|
2129
|
+
chain: GqlChain;
|
|
2130
|
+
};
|
|
2131
|
+
type MutationUserInitWalletBalancesForPoolArgs = {
|
|
2132
|
+
poolId: Scalars['String']['input'];
|
|
2133
|
+
};
|
|
2134
|
+
type MutationUserSyncBalanceArgs = {
|
|
2135
|
+
poolId: Scalars['String']['input'];
|
|
2136
|
+
};
|
|
2022
2137
|
type PaginatedRewardVaultIncentivesResponse = {
|
|
2023
2138
|
__typename?: 'PaginatedRewardVaultIncentivesResponse';
|
|
2024
2139
|
incentives: Array<GqlRewardVaultIncentive>;
|
|
@@ -3634,4 +3749,4 @@ interface PossibleTypesResultData {
|
|
|
3634
3749
|
}
|
|
3635
3750
|
declare const result: PossibleTypesResultData;
|
|
3636
3751
|
|
|
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 };
|
|
3752
|
+
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, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, 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 };
|
|
@@ -180,6 +180,14 @@ type GqlHistoricalTokenPriceEntry = {
|
|
|
180
180
|
updatedAt: Scalars['Int']['output'];
|
|
181
181
|
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
182
182
|
};
|
|
183
|
+
type GqlIncentive = {
|
|
184
|
+
incentiveRate: Scalars['String']['output'];
|
|
185
|
+
incentiveRateUsd: Scalars['String']['output'];
|
|
186
|
+
remainingAmount: Scalars['String']['output'];
|
|
187
|
+
remainingAmountUsd: Scalars['String']['output'];
|
|
188
|
+
token: GqlToken;
|
|
189
|
+
tokenAddress: Scalars['Bytes']['output'];
|
|
190
|
+
};
|
|
183
191
|
type GqlLatestSyncedBlocks = {
|
|
184
192
|
__typename?: 'GqlLatestSyncedBlocks';
|
|
185
193
|
poolSyncBlock: Scalars['BigInt']['output'];
|
|
@@ -692,6 +700,7 @@ type GqlPoolFilter = {
|
|
|
692
700
|
};
|
|
693
701
|
declare enum GqlPoolFilterCategory {
|
|
694
702
|
BlackListed = "BLACK_LISTED",
|
|
703
|
+
Featured = "FEATURED",
|
|
695
704
|
Incentivized = "INCENTIVIZED",
|
|
696
705
|
Lrt = "LRT",
|
|
697
706
|
Points = "POINTS",
|
|
@@ -1368,7 +1377,7 @@ type GqlRewardVaultFilter = {
|
|
|
1368
1377
|
vaultAddressIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1369
1378
|
vaultAddressNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1370
1379
|
};
|
|
1371
|
-
type GqlRewardVaultIncentive = {
|
|
1380
|
+
type GqlRewardVaultIncentive = GqlIncentive & {
|
|
1372
1381
|
__typename?: 'GqlRewardVaultIncentive';
|
|
1373
1382
|
active: Scalars['Boolean']['output'];
|
|
1374
1383
|
chain: GqlChain;
|
|
@@ -1819,11 +1828,15 @@ type GqlValidator = {
|
|
|
1819
1828
|
chain: GqlChain;
|
|
1820
1829
|
dynamicData?: Maybe<GqlValidatorDynamicData>;
|
|
1821
1830
|
id: Scalars['Bytes']['output'];
|
|
1831
|
+
/** Aggregated incentives of the validator reward allocation. */
|
|
1832
|
+
incentives: Array<GqlValidatorIncentive>;
|
|
1822
1833
|
lastBlockUptime?: Maybe<GqlValidatorBlockUptime>;
|
|
1823
1834
|
metadata?: Maybe<GqlValidatorMetadata>;
|
|
1824
1835
|
operator?: Maybe<Scalars['Bytes']['output']>;
|
|
1825
1836
|
pubkey: Scalars['Bytes']['output'];
|
|
1837
|
+
/** @deprecated Deprecated. It will be removed at mid April 2026. */
|
|
1826
1838
|
rewardAllocationStartBlock?: Maybe<Scalars['Int']['output']>;
|
|
1839
|
+
/** @deprecated Deprecated. It will be removed at mid April 2026. Use incentives if you need an aggregation. */
|
|
1827
1840
|
rewardAllocationWeights: Array<GqlValidatorRewardAllocationWeight>;
|
|
1828
1841
|
rewardAllocator?: Maybe<Scalars['Bytes']['output']>;
|
|
1829
1842
|
valStats?: Maybe<GqlValidatorStats>;
|
|
@@ -1850,11 +1863,12 @@ type GqlValidatorBoost = {
|
|
|
1850
1863
|
activeBoostAmount: Scalars['String']['output'];
|
|
1851
1864
|
chain: GqlChain;
|
|
1852
1865
|
latestBlock: Scalars['Int']['output'];
|
|
1866
|
+
/** The timestamp of the latest block in seconds. */
|
|
1853
1867
|
latestBlockTime: Scalars['Int']['output'];
|
|
1854
1868
|
queuedBoostAmount: Scalars['String']['output'];
|
|
1855
1869
|
queuedDropBoostAmount: Scalars['String']['output'];
|
|
1856
1870
|
userAddress: Scalars['Bytes']['output'];
|
|
1857
|
-
validator?: Maybe<
|
|
1871
|
+
validator?: Maybe<GqlValidatorInList>;
|
|
1858
1872
|
validatorId: Scalars['Bytes']['output'];
|
|
1859
1873
|
};
|
|
1860
1874
|
type GqlValidatorBoostDelay = {
|
|
@@ -1923,6 +1937,26 @@ type GqlValidatorFilter = {
|
|
|
1923
1937
|
rewardAllocatorNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1924
1938
|
vaultAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1925
1939
|
};
|
|
1940
|
+
type GqlValidatorInList = {
|
|
1941
|
+
__typename?: 'GqlValidatorInList';
|
|
1942
|
+
dynamicData?: Maybe<GqlValidatorDynamicData>;
|
|
1943
|
+
id: Scalars['Bytes']['output'];
|
|
1944
|
+
metadata?: Maybe<GqlValidatorMetadata>;
|
|
1945
|
+
operator?: Maybe<Scalars['Bytes']['output']>;
|
|
1946
|
+
pubkey: Scalars['Bytes']['output'];
|
|
1947
|
+
rewardAllocator?: Maybe<Scalars['Bytes']['output']>;
|
|
1948
|
+
};
|
|
1949
|
+
type GqlValidatorIncentive = GqlIncentive & {
|
|
1950
|
+
__typename?: 'GqlValidatorIncentive';
|
|
1951
|
+
chain: GqlChain;
|
|
1952
|
+
incentiveRate: Scalars['String']['output'];
|
|
1953
|
+
incentiveRateUsd: Scalars['String']['output'];
|
|
1954
|
+
remainingAmount: Scalars['String']['output'];
|
|
1955
|
+
remainingAmountUsd: Scalars['String']['output'];
|
|
1956
|
+
token: GqlToken;
|
|
1957
|
+
tokenAddress: Scalars['Bytes']['output'];
|
|
1958
|
+
validatorId: Scalars['Bytes']['output'];
|
|
1959
|
+
};
|
|
1926
1960
|
type GqlValidatorMetadata = {
|
|
1927
1961
|
__typename?: 'GqlValidatorMetadata';
|
|
1928
1962
|
chain: GqlChain;
|
|
@@ -2019,6 +2053,87 @@ type HookData = {
|
|
|
2019
2053
|
removeLiquidityFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2020
2054
|
swapFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2021
2055
|
};
|
|
2056
|
+
type Mutation = {
|
|
2057
|
+
__typename?: 'Mutation';
|
|
2058
|
+
cacheAverageBlockTime: Scalars['String']['output'];
|
|
2059
|
+
polSyncAllRewardVaultsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2060
|
+
polSyncAllValidatorsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2061
|
+
poolDeletePool: Scalars['String']['output'];
|
|
2062
|
+
poolInitOnChainDataForAllPools: Scalars['String']['output'];
|
|
2063
|
+
poolInitializeSnapshotsForPool: Scalars['String']['output'];
|
|
2064
|
+
poolLoadOnChainDataForAllPools: Scalars['String']['output'];
|
|
2065
|
+
poolLoadOnChainDataForPoolsWithActiveUpdates: Scalars['String']['output'];
|
|
2066
|
+
poolLoadSnapshotsForAllPools: Scalars['String']['output'];
|
|
2067
|
+
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
2068
|
+
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
2069
|
+
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2070
|
+
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2071
|
+
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2072
|
+
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2073
|
+
poolSyncPool: Scalars['String']['output'];
|
|
2074
|
+
poolSyncPoolAllTokensRelationship: Scalars['String']['output'];
|
|
2075
|
+
poolSyncSanityPoolData: Scalars['String']['output'];
|
|
2076
|
+
poolSyncSwapsForLast48Hours: Scalars['String']['output'];
|
|
2077
|
+
poolSyncTotalShares: Scalars['String']['output'];
|
|
2078
|
+
poolUpdateAprs: Scalars['String']['output'];
|
|
2079
|
+
poolUpdateLifetimeValuesForAllPools: Scalars['String']['output'];
|
|
2080
|
+
poolUpdateLiquidity24hAgoForAllPools: Scalars['String']['output'];
|
|
2081
|
+
poolUpdateLiquidityValuesForAllPools: Scalars['String']['output'];
|
|
2082
|
+
poolUpdateVolumeAndFeeValuesForAllPools: Scalars['String']['output'];
|
|
2083
|
+
protocolCacheMetrics: Scalars['String']['output'];
|
|
2084
|
+
tokenDeleteTokenType: Scalars['String']['output'];
|
|
2085
|
+
tokenReloadAllTokenTypes: Scalars['String']['output'];
|
|
2086
|
+
tokenReloadErc4626Tokens: Array<GqlTokenMutationResult>;
|
|
2087
|
+
tokenReloadTokenPrices?: Maybe<Scalars['Boolean']['output']>;
|
|
2088
|
+
tokenSyncLatestFxPrices: Scalars['String']['output'];
|
|
2089
|
+
tokenSyncTokenDefinitions: Scalars['String']['output'];
|
|
2090
|
+
userInitWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2091
|
+
userInitWalletBalancesForPool: Scalars['String']['output'];
|
|
2092
|
+
userSyncBalance: Scalars['String']['output'];
|
|
2093
|
+
userSyncBalanceAllPools: Scalars['String']['output'];
|
|
2094
|
+
userSyncChangedWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2095
|
+
};
|
|
2096
|
+
type MutationPoolDeletePoolArgs = {
|
|
2097
|
+
poolId: Scalars['String']['input'];
|
|
2098
|
+
};
|
|
2099
|
+
type MutationPoolInitializeSnapshotsForPoolArgs = {
|
|
2100
|
+
poolId: Scalars['String']['input'];
|
|
2101
|
+
};
|
|
2102
|
+
type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
2103
|
+
poolIds: Array<Scalars['String']['input']>;
|
|
2104
|
+
reload?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2105
|
+
};
|
|
2106
|
+
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2107
|
+
chain: GqlChain;
|
|
2108
|
+
};
|
|
2109
|
+
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2110
|
+
chain: GqlChain;
|
|
2111
|
+
};
|
|
2112
|
+
type MutationPoolSyncPoolArgs = {
|
|
2113
|
+
poolId: Scalars['String']['input'];
|
|
2114
|
+
};
|
|
2115
|
+
type MutationPoolUpdateAprsArgs = {
|
|
2116
|
+
chain: GqlChain;
|
|
2117
|
+
};
|
|
2118
|
+
type MutationTokenDeleteTokenTypeArgs = {
|
|
2119
|
+
tokenAddress: Scalars['String']['input'];
|
|
2120
|
+
type: GqlTokenType;
|
|
2121
|
+
};
|
|
2122
|
+
type MutationTokenReloadErc4626TokensArgs = {
|
|
2123
|
+
chains: Array<GqlChain>;
|
|
2124
|
+
};
|
|
2125
|
+
type MutationTokenReloadTokenPricesArgs = {
|
|
2126
|
+
chains: Array<GqlChain>;
|
|
2127
|
+
};
|
|
2128
|
+
type MutationTokenSyncLatestFxPricesArgs = {
|
|
2129
|
+
chain: GqlChain;
|
|
2130
|
+
};
|
|
2131
|
+
type MutationUserInitWalletBalancesForPoolArgs = {
|
|
2132
|
+
poolId: Scalars['String']['input'];
|
|
2133
|
+
};
|
|
2134
|
+
type MutationUserSyncBalanceArgs = {
|
|
2135
|
+
poolId: Scalars['String']['input'];
|
|
2136
|
+
};
|
|
2022
2137
|
type PaginatedRewardVaultIncentivesResponse = {
|
|
2023
2138
|
__typename?: 'PaginatedRewardVaultIncentivesResponse';
|
|
2024
2139
|
incentives: Array<GqlRewardVaultIncentive>;
|
|
@@ -3634,4 +3749,4 @@ interface PossibleTypesResultData {
|
|
|
3634
3749
|
}
|
|
3635
3750
|
declare const result: PossibleTypesResultData;
|
|
3636
3751
|
|
|
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 };
|
|
3752
|
+
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, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, 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||{}),
|
|
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||{}),A=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(A||{}),P=(t=>(t.Asc="asc",t.Desc="desc",t))(P||{}),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||{}),v=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(v||{}),x=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(x||{}),w=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(w||{}),V=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(V||{}),C=(y=>(y.Amount="amount",y))(C||{}),R=(t=>(t.Asc="asc",t.Desc="desc",t))(R||{}),E=(u=>(u.Inactive="INACTIVE",u.Offline="OFFLINE",u.Proposed="PROPOSED",u.Signed="SIGNED",u))(E||{}),F=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(F||{}),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:{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=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,A as GqlPoolOrderBy,P 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,v as GqlSWberaVaultMetadataResolution,x 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};
|