@berachain/graphql 0.4.0 → 0.4.1-beta.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/chain/chain.codegen.cjs +1 -1
- package/dist/chain/chain.codegen.d.cts +1 -26
- package/dist/chain/chain.codegen.d.ts +1 -26
- package/dist/chain/chain.codegen.mjs +2 -2
- package/dist/dex/api.codegen.cjs +3 -3
- package/dist/dex/api.codegen.d.cts +24 -5
- package/dist/dex/api.codegen.d.ts +24 -5
- package/dist/dex/api.codegen.mjs +6 -6
- package/dist/dex/subgraph.codegen.cjs +4 -4
- package/dist/dex/subgraph.codegen.d.cts +1 -426
- package/dist/dex/subgraph.codegen.d.ts +1 -426
- package/dist/dex/subgraph.codegen.mjs +5 -5
- package/dist/governance/governance.codegen.cjs +7 -7
- package/dist/governance/governance.codegen.d.cts +1 -90
- package/dist/governance/governance.codegen.d.ts +1 -90
- package/dist/governance/governance.codegen.mjs +10 -10
- package/dist/honey/honey.codegen.cjs +7 -7
- package/dist/honey/honey.codegen.d.cts +14 -108
- package/dist/honey/honey.codegen.d.ts +14 -108
- package/dist/honey/honey.codegen.mjs +7 -7
- package/dist/pol/api.codegen.cjs +20 -21
- package/dist/pol/api.codegen.d.cts +24 -10
- package/dist/pol/api.codegen.d.ts +24 -10
- package/dist/pol/api.codegen.mjs +4 -5
- package/dist/pol/subgraph.codegen.cjs +23 -23
- package/dist/pol/subgraph.codegen.d.cts +238 -600
- package/dist/pol/subgraph.codegen.d.ts +238 -600
- package/dist/pol/subgraph.codegen.mjs +23 -23
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var u=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var S=(e,n)=>{for(var a in n)u(e,a,{get:n[a],enumerable:!0})},M=(e,n,a,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of I(n))!b.call(e,s)&&s!==a&&u(e,s,{get:()=>n[s],enumerable:!(i=c(n,s))||i.enumerable});return e};var _=e=>M(u({},"__esModule",{value:!0}),e);var h={};S(h,{Aggregation_Interval:()=>r,Block_OrderBy:()=>y,GetBlocksTimeStamp:()=>B,OrderDirection:()=>l,_SubgraphErrorPolicy_:()=>o,default:()=>m});module.exports=_(h);var p=require("@apollo/client"),r=(a=>(a.Day="day",a.Hour="hour",a))(r||{}),y=(t=>(t.Author="author",t.BaseFeePerGas="baseFeePerGas",t.Difficulty="difficulty",t.GasLimit="gasLimit",t.GasUsed="gasUsed",t.Hash="hash",t.Id="id",t.Number="number",t.ParentHash="parentHash",t.ReceiptsRoot="receiptsRoot",t.Size="size",t.StateRoot="stateRoot",t.Timestamp="timestamp",t.TotalDifficulty="totalDifficulty",t.TransactionsRoot="transactionsRoot",t.UnclesHash="unclesHash",t))(y||{}),l=(a=>(a.Asc="asc",a.Desc="desc",a))(l||{}),o=(a=>(a.Allow="allow",a.Deny="deny",a))(o||{}),B=p.gql`
|
|
2
2
|
query GetBlocksTimeStamp($skip: Int!) {
|
|
3
3
|
newest: blocks(first: 1, orderBy: timestamp, orderDirection: desc) {
|
|
4
4
|
timestamp
|
|
@@ -292,30 +292,6 @@ type QueryBlocksArgs = {
|
|
|
292
292
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
293
293
|
where?: InputMaybe<Block_Filter>;
|
|
294
294
|
};
|
|
295
|
-
type Subscription = {
|
|
296
|
-
__typename?: 'Subscription';
|
|
297
|
-
/** Access to subgraph metadata */
|
|
298
|
-
_meta?: Maybe<_Meta_>;
|
|
299
|
-
block?: Maybe<Block>;
|
|
300
|
-
blocks: Array<Block>;
|
|
301
|
-
};
|
|
302
|
-
type Subscription_MetaArgs = {
|
|
303
|
-
block?: InputMaybe<Block_Height>;
|
|
304
|
-
};
|
|
305
|
-
type SubscriptionBlockArgs = {
|
|
306
|
-
block?: InputMaybe<Block_Height>;
|
|
307
|
-
id: Scalars['ID']['input'];
|
|
308
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
309
|
-
};
|
|
310
|
-
type SubscriptionBlocksArgs = {
|
|
311
|
-
block?: InputMaybe<Block_Height>;
|
|
312
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
313
|
-
orderBy?: InputMaybe<Block_OrderBy>;
|
|
314
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
315
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
316
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
317
|
-
where?: InputMaybe<Block_Filter>;
|
|
318
|
-
};
|
|
319
295
|
type _Block_ = {
|
|
320
296
|
__typename?: '_Block_';
|
|
321
297
|
/** The hash of the block */
|
|
@@ -335,7 +311,6 @@ type _Meta_ = {
|
|
|
335
311
|
* will be null if the _meta field has a block constraint that asks for
|
|
336
312
|
* a block number. It will be filled if the _meta field has no block constraint
|
|
337
313
|
* and therefore asks for the latest block
|
|
338
|
-
*
|
|
339
314
|
*/
|
|
340
315
|
block: _Block_;
|
|
341
316
|
/** The deployment ID */
|
|
@@ -373,4 +348,4 @@ interface PossibleTypesResultData {
|
|
|
373
348
|
}
|
|
374
349
|
declare const result: PossibleTypesResultData;
|
|
375
350
|
|
|
376
|
-
export { Aggregation_Interval, type Block, type BlockChangedFilter, type Block_Filter, type Block_Height, Block_OrderBy, type Exact, GetBlocksTimeStamp, type GetBlocksTimeStampQuery, type GetBlocksTimeStampQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryBlockArgs, type QueryBlocksArgs, type Query_MetaArgs, type Scalars, type
|
|
351
|
+
export { Aggregation_Interval, type Block, type BlockChangedFilter, type Block_Filter, type Block_Height, Block_OrderBy, type Exact, GetBlocksTimeStamp, type GetBlocksTimeStampQuery, type GetBlocksTimeStampQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryBlockArgs, type QueryBlocksArgs, type Query_MetaArgs, type Scalars, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -292,30 +292,6 @@ type QueryBlocksArgs = {
|
|
|
292
292
|
subgraphError?: _SubgraphErrorPolicy_;
|
|
293
293
|
where?: InputMaybe<Block_Filter>;
|
|
294
294
|
};
|
|
295
|
-
type Subscription = {
|
|
296
|
-
__typename?: 'Subscription';
|
|
297
|
-
/** Access to subgraph metadata */
|
|
298
|
-
_meta?: Maybe<_Meta_>;
|
|
299
|
-
block?: Maybe<Block>;
|
|
300
|
-
blocks: Array<Block>;
|
|
301
|
-
};
|
|
302
|
-
type Subscription_MetaArgs = {
|
|
303
|
-
block?: InputMaybe<Block_Height>;
|
|
304
|
-
};
|
|
305
|
-
type SubscriptionBlockArgs = {
|
|
306
|
-
block?: InputMaybe<Block_Height>;
|
|
307
|
-
id: Scalars['ID']['input'];
|
|
308
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
309
|
-
};
|
|
310
|
-
type SubscriptionBlocksArgs = {
|
|
311
|
-
block?: InputMaybe<Block_Height>;
|
|
312
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
313
|
-
orderBy?: InputMaybe<Block_OrderBy>;
|
|
314
|
-
orderDirection?: InputMaybe<OrderDirection>;
|
|
315
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
316
|
-
subgraphError?: _SubgraphErrorPolicy_;
|
|
317
|
-
where?: InputMaybe<Block_Filter>;
|
|
318
|
-
};
|
|
319
295
|
type _Block_ = {
|
|
320
296
|
__typename?: '_Block_';
|
|
321
297
|
/** The hash of the block */
|
|
@@ -335,7 +311,6 @@ type _Meta_ = {
|
|
|
335
311
|
* will be null if the _meta field has a block constraint that asks for
|
|
336
312
|
* a block number. It will be filled if the _meta field has no block constraint
|
|
337
313
|
* and therefore asks for the latest block
|
|
338
|
-
*
|
|
339
314
|
*/
|
|
340
315
|
block: _Block_;
|
|
341
316
|
/** The deployment ID */
|
|
@@ -373,4 +348,4 @@ interface PossibleTypesResultData {
|
|
|
373
348
|
}
|
|
374
349
|
declare const result: PossibleTypesResultData;
|
|
375
350
|
|
|
376
|
-
export { Aggregation_Interval, type Block, type BlockChangedFilter, type Block_Filter, type Block_Height, Block_OrderBy, type Exact, GetBlocksTimeStamp, type GetBlocksTimeStampQuery, type GetBlocksTimeStampQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryBlockArgs, type QueryBlocksArgs, type Query_MetaArgs, type Scalars, type
|
|
351
|
+
export { Aggregation_Interval, type Block, type BlockChangedFilter, type Block_Filter, type Block_Height, Block_OrderBy, type Exact, GetBlocksTimeStamp, type GetBlocksTimeStampQuery, type GetBlocksTimeStampQueryVariables, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryBlockArgs, type QueryBlocksArgs, type Query_MetaArgs, type Scalars, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as n}from"@apollo/client";var e=(a=>(a.Day="day",a.Hour="hour",a))(e||{}),s=(t=>(t.Author="author",t.BaseFeePerGas="baseFeePerGas",t.Difficulty="difficulty",t.GasLimit="gasLimit",t.GasUsed="gasUsed",t.Hash="hash",t.Id="id",t.Number="number",t.ParentHash="parentHash",t.ReceiptsRoot="receiptsRoot",t.Size="size",t.StateRoot="stateRoot",t.Timestamp="timestamp",t.TotalDifficulty="totalDifficulty",t.TransactionsRoot="transactionsRoot",t.UnclesHash="unclesHash",t))(s||{}),
|
|
1
|
+
import{gql as n}from"@apollo/client";var e=(a=>(a.Day="day",a.Hour="hour",a))(e||{}),s=(t=>(t.Author="author",t.BaseFeePerGas="baseFeePerGas",t.Difficulty="difficulty",t.GasLimit="gasLimit",t.GasUsed="gasUsed",t.Hash="hash",t.Id="id",t.Number="number",t.ParentHash="parentHash",t.ReceiptsRoot="receiptsRoot",t.Size="size",t.StateRoot="stateRoot",t.Timestamp="timestamp",t.TotalDifficulty="totalDifficulty",t.TransactionsRoot="transactionsRoot",t.UnclesHash="unclesHash",t))(s||{}),u=(a=>(a.Asc="asc",a.Desc="desc",a))(u||{}),i=(a=>(a.Allow="allow",a.Deny="deny",a))(i||{}),y=n`
|
|
2
2
|
query GetBlocksTimeStamp($skip: Int!) {
|
|
3
3
|
newest: blocks(first: 1, orderBy: timestamp, orderDirection: desc) {
|
|
4
4
|
timestamp
|
|
@@ -9,4 +9,4 @@ import{gql as n}from"@apollo/client";var e=(a=>(a.Day="day",a.Hour="hour",a))(e|
|
|
|
9
9
|
number
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
`,
|
|
12
|
+
`,p={possibleTypes:{}},l=p;export{e as Aggregation_Interval,s as Block_OrderBy,y as GetBlocksTimeStamp,u as OrderDirection,i as _SubgraphErrorPolicy_,l as default};
|
package/dist/dex/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var y=Object.defineProperty;var tt=Object.getOwnPropertyDescriptor;var at=Object.getOwnPropertyNames;var et=Object.prototype.hasOwnProperty;var ot=(c,u)=>{for(var t in u)y(c,t,{get:u[t],enumerable:!0})},rt=(c,u,t,a)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of at(u))!et.call(c,e)&&e!==t&&y(c,e,{get:()=>u[e],enumerable:!(a=tt(u,e))||a.enumerable});return c};var nt=c=>rt(y({},"__esModule",{value:!0}),c);var mt={};ot(mt,{DynamicData:()=>S,GetGlobalLiquidityAndSwapVolume:()=>ct,GetPool:()=>st,GetPoolEvents:()=>ut,GetPoolHistoricalData:()=>it,GetPools:()=>lt,GetTokenCurrentPrices:()=>pt,GqlChain:()=>d,GqlContentNewsItemSource:()=>g,GqlPoolAddRemoveEventV3:()=>j,GqlPoolAprItemType:()=>G,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>P,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>A,GqlPoolNestingType:()=>I,GqlPoolOrderBy:()=>
|
|
1
|
+
"use strict";var y=Object.defineProperty;var tt=Object.getOwnPropertyDescriptor;var at=Object.getOwnPropertyNames;var et=Object.prototype.hasOwnProperty;var ot=(c,u)=>{for(var t in u)y(c,t,{get:u[t],enumerable:!0})},rt=(c,u,t,a)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of at(u))!et.call(c,e)&&e!==t&&y(c,e,{get:()=>u[e],enumerable:!(a=tt(u,e))||a.enumerable});return c};var nt=c=>rt(y({},"__esModule",{value:!0}),c);var mt={};ot(mt,{DynamicData:()=>S,GetGlobalLiquidityAndSwapVolume:()=>ct,GetPool:()=>st,GetPoolEvents:()=>ut,GetPoolHistoricalData:()=>it,GetPools:()=>lt,GetTokenCurrentPrices:()=>pt,GqlChain:()=>d,GqlContentNewsItemSource:()=>g,GqlPoolAddRemoveEventV3:()=>j,GqlPoolAprItemType:()=>G,GqlPoolEventType:()=>b,GqlPoolEventsDataRange:()=>P,GqlPoolFilterCategory:()=>q,GqlPoolJoinExitType:()=>A,GqlPoolNestingType:()=>I,GqlPoolOrderBy:()=>_,GqlPoolOrderDirection:()=>h,GqlPoolSnapshotDataRange:()=>D,GqlPoolSwapEventCowAmm:()=>z,GqlPoolSwapEventV3:()=>X,GqlPoolType:()=>B,GqlRewardVaultIncentiveOrderBy:()=>T,GqlRewardVaultIncentiveOrderDirection:()=>k,GqlRewardVaultOrderBy:()=>M,GqlRewardVaultOrderDirection:()=>x,GqlRewardVaultSnapshotDataRange:()=>v,GqlRewardVaultSnapshotResolution:()=>w,GqlSWberaVaultMetadataResolution:()=>V,GqlSorSwapType:()=>C,GqlStakeBeraVaultEventType:()=>R,GqlTokenChartDataRange:()=>E,GqlTokenType:()=>F,GqlUserVaultDepositOrderBy:()=>f,GqlUserVaultDepositOrderDirection:()=>U,GqlValidatorBlockUptimeStatus:()=>$,GqlValidatorBoostOrderBy:()=>N,GqlValidatorBoostOrderDirection:()=>L,GqlValidatorOrderBy:()=>H,GqlValidatorOrderDirection:()=>W,GqlVaultSnapshotDataRange:()=>Q,MinimalPool:()=>K,MinimalPoolInList:()=>Y,PoolEvent:()=>Z,PoolHistoricalData:()=>J,RewardVault:()=>m,UserBalance:()=>O,default:()=>St});module.exports=nt(mt);var n=require("@apollo/client"),d=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(d||{}),g=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(g||{}),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||{}),b=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(b||{}),P=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(P||{}),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||{}),A=(t=>(t.Exit="Exit",t.Join="Join",t))(A||{}),I=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(I||{}),_=(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))(_||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),D=(o=>(o.AllTime="ALL_TIME",o.NinetyDays="NINETY_DAYS",o.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",o.OneYear="ONE_YEAR",o.ThirtyDays="THIRTY_DAYS",o))(D||{}),B=(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))(B||{}),T=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(T||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),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||{}),x=(t=>(t.Asc="asc",t.Desc="desc",t))(x||{}),v=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(v||{}),w=(t=>(t.Day="DAY",t.Hour="HOUR",t))(w||{}),V=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(V||{}),C=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(C||{}),R=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(R||{}),E=(o=>(o.NinetyDay="NINETY_DAY",o.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",o.OneYear="ONE_YEAR",o.SevenDay="SEVEN_DAY",o.ThirtyDay="THIRTY_DAY",o))(E||{}),F=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(F||{}),f=(u=>(u.Amount="amount",u))(f||{}),U=(t=>(t.Asc="asc",t.Desc="desc",t))(U||{}),$=(e=>(e.Inactive="INACTIVE",e.Offline="OFFLINE",e.Proposed="PROPOSED",e.Signed="SIGNED",e))($||{}),N=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(N||{}),L=(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H=(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))(H||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),Q=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.SixtyDays="SIXTY_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(Q||{}),S=n.gql`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
id
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
`,
|
|
16
|
+
`,O=n.gql`
|
|
17
17
|
fragment UserBalance on GqlPoolUserBalance {
|
|
18
18
|
totalBalanceUsd
|
|
19
19
|
walletBalance
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
${S}
|
|
60
|
-
${
|
|
60
|
+
${O}
|
|
61
61
|
${m}`,K=n.gql`
|
|
62
62
|
fragment MinimalPool on GqlPoolBase {
|
|
63
63
|
id
|
|
@@ -72,9 +72,24 @@ type Scalars = {
|
|
|
72
72
|
output: any;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
type
|
|
76
|
-
__typename?: '
|
|
77
|
-
|
|
75
|
+
type BendVaultDynamicData = {
|
|
76
|
+
__typename?: 'BendVaultDynamicData';
|
|
77
|
+
nativeApy: Scalars['Float']['output'];
|
|
78
|
+
performanceFee: Scalars['Float']['output'];
|
|
79
|
+
performanceFeePercentage: Scalars['Float']['output'];
|
|
80
|
+
platformFee: Scalars['Float']['output'];
|
|
81
|
+
platformFeePercentage: Scalars['Float']['output'];
|
|
82
|
+
supplyApy1d: Scalars['Float']['output'];
|
|
83
|
+
supplyApy7d: Scalars['Float']['output'];
|
|
84
|
+
supplyApy30d: Scalars['Float']['output'];
|
|
85
|
+
totalApy: Scalars['Float']['output'];
|
|
86
|
+
vaultAddress: Scalars['Bytes']['output'];
|
|
87
|
+
};
|
|
88
|
+
type BendVaultResponse = {
|
|
89
|
+
__typename?: 'BendVaultResponse';
|
|
90
|
+
dynamicData?: Maybe<BendVaultDynamicData>;
|
|
91
|
+
loanTokenAddress: Scalars['Bytes']['output'];
|
|
92
|
+
vaultAddress: Scalars['Bytes']['output'];
|
|
78
93
|
};
|
|
79
94
|
type GqlBalancePoolAprItem = {
|
|
80
95
|
__typename?: 'GqlBalancePoolAprItem';
|
|
@@ -2186,7 +2201,8 @@ type PaginatedValidatorsResponse = {
|
|
|
2186
2201
|
};
|
|
2187
2202
|
type Query = {
|
|
2188
2203
|
__typename?: 'Query';
|
|
2189
|
-
|
|
2204
|
+
bendVault?: Maybe<BendVaultResponse>;
|
|
2205
|
+
bendVaults: Array<BendVaultResponse>;
|
|
2190
2206
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2191
2207
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2192
2208
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
@@ -2305,6 +2321,9 @@ type Query = {
|
|
|
2305
2321
|
userGetSwaps: Array<GqlPoolSwap>;
|
|
2306
2322
|
userGetTopBGTBalance: Array<GqlUserBgtBalance>;
|
|
2307
2323
|
};
|
|
2324
|
+
type QueryBendVaultArgs = {
|
|
2325
|
+
vaultAddress: Scalars['Bytes']['input'];
|
|
2326
|
+
};
|
|
2308
2327
|
type QueryContentGetNewsItemsArgs = {
|
|
2309
2328
|
chain?: InputMaybe<GqlChain>;
|
|
2310
2329
|
};
|
|
@@ -3848,4 +3867,4 @@ interface PossibleTypesResultData {
|
|
|
3848
3867
|
}
|
|
3849
3868
|
declare const result: PossibleTypesResultData;
|
|
3850
3869
|
|
|
3851
|
-
export { type
|
|
3870
|
+
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 GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, 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 GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, 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 GqlPoolMutationResult, 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 GqlStakeBeraVaultEarnings, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, 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 Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, 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 QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEarningsByOwnerArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, 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 QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|
|
@@ -72,9 +72,24 @@ type Scalars = {
|
|
|
72
72
|
output: any;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
type
|
|
76
|
-
__typename?: '
|
|
77
|
-
|
|
75
|
+
type BendVaultDynamicData = {
|
|
76
|
+
__typename?: 'BendVaultDynamicData';
|
|
77
|
+
nativeApy: Scalars['Float']['output'];
|
|
78
|
+
performanceFee: Scalars['Float']['output'];
|
|
79
|
+
performanceFeePercentage: Scalars['Float']['output'];
|
|
80
|
+
platformFee: Scalars['Float']['output'];
|
|
81
|
+
platformFeePercentage: Scalars['Float']['output'];
|
|
82
|
+
supplyApy1d: Scalars['Float']['output'];
|
|
83
|
+
supplyApy7d: Scalars['Float']['output'];
|
|
84
|
+
supplyApy30d: Scalars['Float']['output'];
|
|
85
|
+
totalApy: Scalars['Float']['output'];
|
|
86
|
+
vaultAddress: Scalars['Bytes']['output'];
|
|
87
|
+
};
|
|
88
|
+
type BendVaultResponse = {
|
|
89
|
+
__typename?: 'BendVaultResponse';
|
|
90
|
+
dynamicData?: Maybe<BendVaultDynamicData>;
|
|
91
|
+
loanTokenAddress: Scalars['Bytes']['output'];
|
|
92
|
+
vaultAddress: Scalars['Bytes']['output'];
|
|
78
93
|
};
|
|
79
94
|
type GqlBalancePoolAprItem = {
|
|
80
95
|
__typename?: 'GqlBalancePoolAprItem';
|
|
@@ -2186,7 +2201,8 @@ type PaginatedValidatorsResponse = {
|
|
|
2186
2201
|
};
|
|
2187
2202
|
type Query = {
|
|
2188
2203
|
__typename?: 'Query';
|
|
2189
|
-
|
|
2204
|
+
bendVault?: Maybe<BendVaultResponse>;
|
|
2205
|
+
bendVaults: Array<BendVaultResponse>;
|
|
2190
2206
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2191
2207
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2192
2208
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
@@ -2305,6 +2321,9 @@ type Query = {
|
|
|
2305
2321
|
userGetSwaps: Array<GqlPoolSwap>;
|
|
2306
2322
|
userGetTopBGTBalance: Array<GqlUserBgtBalance>;
|
|
2307
2323
|
};
|
|
2324
|
+
type QueryBendVaultArgs = {
|
|
2325
|
+
vaultAddress: Scalars['Bytes']['input'];
|
|
2326
|
+
};
|
|
2308
2327
|
type QueryContentGetNewsItemsArgs = {
|
|
2309
2328
|
chain?: InputMaybe<GqlChain>;
|
|
2310
2329
|
};
|
|
@@ -3848,4 +3867,4 @@ interface PossibleTypesResultData {
|
|
|
3848
3867
|
}
|
|
3849
3868
|
declare const result: PossibleTypesResultData;
|
|
3850
3869
|
|
|
3851
|
-
export { type
|
|
3870
|
+
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 GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, 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 GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, 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 GqlPoolMutationResult, 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 GqlStakeBeraVaultEarnings, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, 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 Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, 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 QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEarningsByOwnerArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, 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 QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, 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=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(S||{}),m=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(m||{}),d=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(d||{}),g=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(g||{}),G=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(G||{}),b=(u=>(u.BlackListed="BLACK_LISTED",u.Incentivized="INCENTIVIZED",u.Lrt="LRT",u.Points="POINTS",u.PointsEigenlayer="POINTS_EIGENLAYER",u.PointsGyro="POINTS_GYRO",u.PointsKelp="POINTS_KELP",u.PointsRenzo="POINTS_RENZO",u.PointsSwell="POINTS_SWELL",u.Superfest="SUPERFEST",u))(b||{}),P=(t=>(t.Exit="Exit",t.Join="Join",t))(P||{}),q=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(q||{}),A=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(A||{}),I=(t=>(t.Asc="asc",t.Desc="desc",t))(I||{}),
|
|
1
|
+
import{gql as r}from"@apollo/client";var S=(a=>(a.Bartio="BARTIO",a.Berachain="BERACHAIN",a.Cartio="CARTIO",a))(S||{}),m=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(m||{}),d=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(d||{}),g=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(g||{}),G=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(G||{}),b=(u=>(u.BlackListed="BLACK_LISTED",u.Incentivized="INCENTIVIZED",u.Lrt="LRT",u.Points="POINTS",u.PointsEigenlayer="POINTS_EIGENLAYER",u.PointsGyro="POINTS_GYRO",u.PointsKelp="POINTS_KELP",u.PointsRenzo="POINTS_RENZO",u.PointsSwell="POINTS_SWELL",u.Superfest="SUPERFEST",u))(b||{}),P=(t=>(t.Exit="Exit",t.Join="Join",t))(P||{}),q=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(q||{}),A=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(A||{}),I=(t=>(t.Asc="asc",t.Desc="desc",t))(I||{}),_=(e=>(e.AllTime="ALL_TIME",e.NinetyDays="NINETY_DAYS",e.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",e.OneYear="ONE_YEAR",e.ThirtyDays="THIRTY_DAYS",e))(_||{}),h=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(h||{}),D=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(D||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),T=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(T||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),M=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(M||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),v=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(v||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),V=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(V||{}),C=(e=>(e.NinetyDay="NINETY_DAY",e.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",e.OneYear="ONE_YEAR",e.SevenDay="SEVEN_DAY",e.ThirtyDay="THIRTY_DAY",e))(C||{}),R=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(R||{}),E=(y=>(y.Amount="amount",y))(E||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),f=(l=>(l.Inactive="INACTIVE",l.Offline="OFFLINE",l.Proposed="PROPOSED",l.Signed="SIGNED",l))(f||{}),U=(e=>(e.ActiveBoostAmount="activeBoostAmount",e.LatestBlock="latestBlock",e.LatestBlockTime="latestBlockTime",e.QueuedBoostAmount="queuedBoostAmount",e.QueuedDropBoostAmount="queuedDropBoostAmount",e))(U||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),N=(n=>(n.ActiveBoostAmount="activeBoostAmount",n.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",n.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.BoostApr="boostApr",n.CommissionOnIncentives="commissionOnIncentives",n.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",n.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",n.QueuedBoostAmount="queuedBoostAmount",n.QueuedDropBoostAmount="queuedDropBoostAmount",n.RewardRate="rewardRate",n.StakedBeraAmount="stakedBeraAmount",n.UsersActiveBoostCount="usersActiveBoostCount",n.UsersQueuedBoostCount="usersQueuedBoostCount",n))(N||{}),L=(t=>(t.Asc="asc",t.Desc="desc",t))(L||{}),H=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(H||{}),p=r`
|
|
2
2
|
fragment DynamicData on GqlPoolDynamicData {
|
|
3
3
|
totalShares
|
|
4
4
|
fees24h
|
|
@@ -31,7 +31,7 @@ import{gql as r}from"@apollo/client";var S=(a=>(a.Bartio="BARTIO",a.Berachain="B
|
|
|
31
31
|
vaultAddress
|
|
32
32
|
stakingTokenAddress
|
|
33
33
|
}
|
|
34
|
-
`,
|
|
34
|
+
`,Q=r`
|
|
35
35
|
fragment MinimalPoolInList on GqlPoolMinimal {
|
|
36
36
|
id
|
|
37
37
|
name
|
|
@@ -58,7 +58,7 @@ import{gql as r}from"@apollo/client";var S=(a=>(a.Bartio="BARTIO",a.Berachain="B
|
|
|
58
58
|
}
|
|
59
59
|
${p}
|
|
60
60
|
${W}
|
|
61
|
-
${c}`,
|
|
61
|
+
${c}`,O=r`
|
|
62
62
|
fragment MinimalPool on GqlPoolBase {
|
|
63
63
|
id
|
|
64
64
|
name
|
|
@@ -156,13 +156,13 @@ ${z}`,tt=r`
|
|
|
156
156
|
where: {userAddress: $userAddress, chainIn: $chain}
|
|
157
157
|
)
|
|
158
158
|
}
|
|
159
|
-
${
|
|
159
|
+
${Q}`,at=r`
|
|
160
160
|
query GetPool($id: String!, $userAddress: String, $chain: GqlChain!) {
|
|
161
161
|
poolGetPool(id: $id, userAddress: $userAddress, chain: $chain) {
|
|
162
162
|
...MinimalPool
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
${
|
|
165
|
+
${O}`,et=r`
|
|
166
166
|
query GetPoolHistoricalData($poolId: String!, $chain: GqlChain!) {
|
|
167
167
|
poolGetSnapshots(id: $poolId, range: NINETY_DAYS, chain: $chain) {
|
|
168
168
|
...PoolHistoricalData
|
|
@@ -196,4 +196,4 @@ ${z}`,tt=r`
|
|
|
196
196
|
totalLiquidity
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
`,j={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},lt=j;export{p as DynamicData,nt as GetGlobalLiquidityAndSwapVolume,at as GetPool,ot as GetPoolEvents,et as GetPoolHistoricalData,tt as GetPools,rt as GetTokenCurrentPrices,S as GqlChain,m as GqlContentNewsItemSource,z as GqlPoolAddRemoveEventV3,d as GqlPoolAprItemType,g as GqlPoolEventType,G as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,P as GqlPoolJoinExitType,q as GqlPoolNestingType,A as GqlPoolOrderBy,I as GqlPoolOrderDirection,
|
|
199
|
+
`,j={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},lt=j;export{p as DynamicData,nt as GetGlobalLiquidityAndSwapVolume,at as GetPool,ot as GetPoolEvents,et as GetPoolHistoricalData,tt as GetPools,rt as GetTokenCurrentPrices,S as GqlChain,m as GqlContentNewsItemSource,z as GqlPoolAddRemoveEventV3,d as GqlPoolAprItemType,g as GqlPoolEventType,G as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,P as GqlPoolJoinExitType,q as GqlPoolNestingType,A as GqlPoolOrderBy,I as GqlPoolOrderDirection,_ as GqlPoolSnapshotDataRange,K as GqlPoolSwapEventCowAmm,J as GqlPoolSwapEventV3,h as GqlPoolType,D as GqlRewardVaultIncentiveOrderBy,B as GqlRewardVaultIncentiveOrderDirection,T as GqlRewardVaultOrderBy,k as GqlRewardVaultOrderDirection,M as GqlRewardVaultSnapshotDataRange,x as GqlRewardVaultSnapshotResolution,v as GqlSWberaVaultMetadataResolution,w as GqlSorSwapType,V as GqlStakeBeraVaultEventType,C as GqlTokenChartDataRange,R as GqlTokenType,E as GqlUserVaultDepositOrderBy,F as GqlUserVaultDepositOrderDirection,f as GqlValidatorBlockUptimeStatus,U as GqlValidatorBoostOrderBy,$ as GqlValidatorBoostOrderDirection,N as GqlValidatorOrderBy,L as GqlValidatorOrderDirection,H as GqlVaultSnapshotDataRange,O as MinimalPool,Q as MinimalPoolInList,X as PoolEvent,Y as PoolHistoricalData,c as RewardVault,W as UserBalance,lt as default};
|