@berachain/graphql 0.4.9-1 → 0.4.10-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +7 -82
- package/dist/dex/api.codegen.d.ts +7 -82
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/honey/honey.codegen.cjs +17 -37
- package/dist/honey/honey.codegen.d.cts +16 -61
- package/dist/honey/honey.codegen.d.ts +16 -61
- package/dist/honey/honey.codegen.mjs +17 -37
- package/dist/pol/api.codegen.cjs +1 -1
- package/dist/pol/api.codegen.d.cts +7 -82
- package/dist/pol/api.codegen.d.ts +7 -82
- package/dist/pol/api.codegen.mjs +2 -2
- package/package.json +3 -3
|
@@ -668,37 +668,10 @@ type HoneyTxnDataFragment = {
|
|
|
668
668
|
id: string;
|
|
669
669
|
}>;
|
|
670
670
|
};
|
|
671
|
-
type GetHoneyTxnByTypeQueryVariables = Exact<{
|
|
672
|
-
page: Scalars['Int']['input'];
|
|
673
|
-
limit: Scalars['Int']['input'];
|
|
674
|
-
type: TxnType;
|
|
675
|
-
}>;
|
|
676
|
-
type GetHoneyTxnByTypeQuery = {
|
|
677
|
-
__typename?: 'Query';
|
|
678
|
-
honeyTxns: Array<{
|
|
679
|
-
__typename?: 'HoneyTxn';
|
|
680
|
-
id: string;
|
|
681
|
-
timestamp: string;
|
|
682
|
-
from: `0x${string}`;
|
|
683
|
-
to: `0x${string}`;
|
|
684
|
-
type?: TxnType | null;
|
|
685
|
-
honeyAmount: string;
|
|
686
|
-
chainTransaction: {
|
|
687
|
-
__typename?: 'ChainTransaction';
|
|
688
|
-
id: `0x${string}`;
|
|
689
|
-
txHash: `0x${string}`;
|
|
690
|
-
};
|
|
691
|
-
collateral: Array<{
|
|
692
|
-
__typename?: 'HoneyCollateral';
|
|
693
|
-
collateral: `0x${string}`;
|
|
694
|
-
collateralAmount: string;
|
|
695
|
-
id: string;
|
|
696
|
-
}>;
|
|
697
|
-
}>;
|
|
698
|
-
};
|
|
699
671
|
type GetHoneyTxnQueryVariables = Exact<{
|
|
700
672
|
page: Scalars['Int']['input'];
|
|
701
673
|
limit: Scalars['Int']['input'];
|
|
674
|
+
type?: InputMaybe<TxnType>;
|
|
702
675
|
}>;
|
|
703
676
|
type GetHoneyTxnQuery = {
|
|
704
677
|
__typename?: 'Query';
|
|
@@ -723,11 +696,11 @@ type GetHoneyTxnQuery = {
|
|
|
723
696
|
}>;
|
|
724
697
|
}>;
|
|
725
698
|
};
|
|
726
|
-
type
|
|
699
|
+
type GetSnapshotsQueryVariables = Exact<{
|
|
727
700
|
interval: Aggregation_Interval;
|
|
728
|
-
first
|
|
701
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
729
702
|
}>;
|
|
730
|
-
type
|
|
703
|
+
type GetSnapshotsQuery = {
|
|
731
704
|
__typename?: 'Query';
|
|
732
705
|
honeySnapshots: Array<{
|
|
733
706
|
__typename?: 'HoneySnapshot';
|
|
@@ -736,42 +709,24 @@ type GetChartDataQuery = {
|
|
|
736
709
|
mintVolume: string;
|
|
737
710
|
redeemVolume: string;
|
|
738
711
|
timestamp: string;
|
|
739
|
-
totalVolume: string;
|
|
740
712
|
totalSupply: string;
|
|
741
|
-
}>;
|
|
742
|
-
};
|
|
743
|
-
type GetGlobalDataQueryVariables = Exact<{
|
|
744
|
-
[key: string]: never;
|
|
745
|
-
}>;
|
|
746
|
-
type GetGlobalDataQuery = {
|
|
747
|
-
__typename?: 'Query';
|
|
748
|
-
honeySnapshots: Array<{
|
|
749
|
-
__typename?: 'HoneySnapshot';
|
|
750
|
-
id: string;
|
|
751
|
-
allTimeVolume: string;
|
|
752
713
|
totalVolume: string;
|
|
753
|
-
timestamp: string;
|
|
754
|
-
totalSupply: string;
|
|
755
|
-
mintVolume: string;
|
|
756
|
-
redeemVolume: string;
|
|
757
714
|
}>;
|
|
758
715
|
};
|
|
759
|
-
type
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
716
|
+
type HoneySnapshotDataFragment = {
|
|
717
|
+
__typename?: 'HoneySnapshot';
|
|
718
|
+
id: string;
|
|
719
|
+
allTimeVolume: string;
|
|
720
|
+
mintVolume: string;
|
|
721
|
+
redeemVolume: string;
|
|
722
|
+
timestamp: string;
|
|
723
|
+
totalSupply: string;
|
|
724
|
+
totalVolume: string;
|
|
768
725
|
};
|
|
769
726
|
declare const HoneyTxnData: _apollo_client.DocumentNode;
|
|
770
|
-
declare const
|
|
727
|
+
declare const HoneySnapshotData: _apollo_client.DocumentNode;
|
|
771
728
|
declare const GetHoneyTxn: _apollo_client.DocumentNode;
|
|
772
|
-
declare const
|
|
773
|
-
declare const GetGlobalData: _apollo_client.DocumentNode;
|
|
774
|
-
declare const GetFirstHoneyTxnDate: _apollo_client.DocumentNode;
|
|
729
|
+
declare const GetSnapshots: _apollo_client.DocumentNode;
|
|
775
730
|
interface PossibleTypesResultData {
|
|
776
731
|
possibleTypes: {
|
|
777
732
|
[key: string]: string[];
|
|
@@ -779,4 +734,4 @@ interface PossibleTypesResultData {
|
|
|
779
734
|
}
|
|
780
735
|
declare const result: PossibleTypesResultData;
|
|
781
736
|
|
|
782
|
-
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact,
|
|
737
|
+
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type ChainTransaction, type ChainTransactionHoneyTxnArgs, type ChainTransaction_Filter, ChainTransaction_OrderBy, type Exact, GetHoneyTxn, type GetHoneyTxnQuery, type GetHoneyTxnQueryVariables, GetSnapshots, type GetSnapshotsQuery, type GetSnapshotsQueryVariables, type HoneyCollateral, type HoneyCollateral_Filter, HoneyCollateral_OrderBy, type HoneySnapshot, HoneySnapshotData, type HoneySnapshotDataFragment, type HoneySnapshot_Filter, HoneySnapshot_OrderBy, type HoneySupplyDayData, type HoneySupplyDayData_Filter, HoneySupplyDayData_OrderBy, type HoneyTxn, type HoneyTxnCollateralArgs, HoneyTxnData, type HoneyTxnDataFragment, type HoneyTxnTimeseries, type HoneyTxnTimeseries_Filter, HoneyTxnTimeseries_OrderBy, type HoneyTxn_Filter, HoneyTxn_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryChainTransactionArgs, type QueryChainTransactionsArgs, type QueryHoneyCollateralArgs, type QueryHoneyCollateralsArgs, type QueryHoneySnapshotsArgs, type QueryHoneySupplyDayDataArgs, type QueryHoneySupplyDayDatasArgs, type QueryHoneyTxnArgs, type QueryHoneyTxnTimeseriesArgs, type QueryHoneyTxnTimeseries_CollectionArgs, type QueryHoneyTxnsArgs, type Query_MetaArgs, type Scalars, TxnType, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as
|
|
1
|
+
import{gql as r}from"@apollo/client";var y=(a=>(a.Day="day",a.Hour="hour",a))(y||{}),s=(i=>(i.HoneyTxn="honeyTxn",i.Id="id",i.IsBasketMode="isBasketMode",i.TxHash="txHash",i.Type="type",i))(s||{}),o=(n=>(n.Collateral="collateral",n.CollateralAmount="collateralAmount",n.HoneyTxn="honeyTxn",n.HoneyTxnFrom="honeyTxn__from",n.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",n.HoneyTxnId="honeyTxn__id",n.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",n.HoneyTxnTimestamp="honeyTxn__timestamp",n.HoneyTxnTo="honeyTxn__to",n.HoneyTxnType="honeyTxn__type",n.Id="id",n))(o||{}),l=(p=>(p.AllTimeVolume="allTimeVolume",p.Id="id",p.MintVolume="mintVolume",p.RedeemVolume="redeemVolume",p.Timestamp="timestamp",p.TotalSupply="totalSupply",p.TotalVolume="totalVolume",p))(l||{}),c=(u=>(u.Amount="amount",u.Id="id",u.Timestamp="timestamp",u))(c||{}),I=(e=>(e.BlockNumber="blockNumber",e.From="from",e.HoneyAmount="honeyAmount",e.Id="id",e.Timestamp="timestamp",e.To="to",e.TotalSupply="totalSupply",e.TxHash="txHash",e.TxnType="txnType",e))(I||{}),b=(t=>(t.ChainTransaction="chainTransaction",t.ChainTransactionId="chainTransaction__id",t.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",t.ChainTransactionTxHash="chainTransaction__txHash",t.ChainTransactionType="chainTransaction__type",t.Collateral="collateral",t.From="from",t.HoneyAmount="honeyAmount",t.Id="id",t.IsBasketMode="isBasketMode",t.Timestamp="timestamp",t.To="to",t.Type="type",t))(b||{}),_=(a=>(a.Asc="asc",a.Desc="desc",a))(_||{}),S=(a=>(a.Mint="MINT",a.Redeem="REDEEM",a))(S||{}),M=(a=>(a.Allow="allow",a.Deny="deny",a))(M||{}),m=r`
|
|
2
2
|
fragment HoneyTxnData on HoneyTxn {
|
|
3
3
|
id
|
|
4
4
|
timestamp
|
|
@@ -16,8 +16,18 @@ import{gql as p}from"@apollo/client";var s=(a=>(a.Day="day",a.Hour="hour",a))(s|
|
|
|
16
16
|
id
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
20
|
-
|
|
19
|
+
`,g=r`
|
|
20
|
+
fragment HoneySnapshotData on HoneySnapshot {
|
|
21
|
+
id
|
|
22
|
+
allTimeVolume
|
|
23
|
+
mintVolume
|
|
24
|
+
redeemVolume
|
|
25
|
+
timestamp
|
|
26
|
+
totalSupply
|
|
27
|
+
totalVolume
|
|
28
|
+
}
|
|
29
|
+
`,x=r`
|
|
30
|
+
query GetHoneyTxn($page: Int!, $limit: Int!, $type: TxnType) {
|
|
21
31
|
honeyTxns(
|
|
22
32
|
skip: $page
|
|
23
33
|
first: $limit
|
|
@@ -28,40 +38,10 @@ import{gql as p}from"@apollo/client";var s=(a=>(a.Day="day",a.Hour="hour",a))(s|
|
|
|
28
38
|
...HoneyTxnData
|
|
29
39
|
}
|
|
30
40
|
}
|
|
31
|
-
${
|
|
32
|
-
query
|
|
33
|
-
honeyTxns(skip: $page, first: $limit, orderBy: timestamp, orderDirection: desc) {
|
|
34
|
-
...HoneyTxnData
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
${y}`,B=p`
|
|
38
|
-
query GetChartData($interval: Aggregation_interval!, $first: Int!) {
|
|
41
|
+
${m}`,B=r`
|
|
42
|
+
query GetSnapshots($interval: Aggregation_interval!, $first: Int = 24) {
|
|
39
43
|
honeySnapshots(interval: $interval, first: $first) {
|
|
40
|
-
|
|
41
|
-
allTimeVolume
|
|
42
|
-
mintVolume
|
|
43
|
-
redeemVolume
|
|
44
|
-
timestamp
|
|
45
|
-
totalVolume
|
|
46
|
-
totalSupply
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
`,A=p`
|
|
50
|
-
query GetGlobalData {
|
|
51
|
-
honeySnapshots(interval: hour, first: 24) {
|
|
52
|
-
id
|
|
53
|
-
allTimeVolume
|
|
54
|
-
totalVolume
|
|
55
|
-
timestamp
|
|
56
|
-
totalSupply
|
|
57
|
-
mintVolume
|
|
58
|
-
redeemVolume
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
`,D=p`
|
|
62
|
-
query GetFirstHoneyTxnDate {
|
|
63
|
-
honeyTxns(first: 1) {
|
|
64
|
-
timestamp
|
|
44
|
+
...HoneySnapshotData
|
|
65
45
|
}
|
|
66
46
|
}
|
|
67
|
-
`,
|
|
47
|
+
${g}`,h={possibleTypes:{}},A=h;export{y as Aggregation_Interval,s as ChainTransaction_OrderBy,x as GetHoneyTxn,B as GetSnapshots,o as HoneyCollateral_OrderBy,g as HoneySnapshotData,l as HoneySnapshot_OrderBy,c as HoneySupplyDayData_OrderBy,m as HoneyTxnData,I as HoneyTxnTimeseries_OrderBy,b as HoneyTxn_OrderBy,_ as OrderDirection,S as TxnType,M as _SubgraphErrorPolicy_,A as default};
|
package/dist/pol/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of X(u))!j.call(c,n)&&n!==t&&d(c,n,{get:()=>u[n],enumerable:!(e=J(u,n))||e.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var At={};Z(At,{ApiMinimalVaultIncentive:()=>et,ApiRewardAllocationWeight:()=>O,ApiValidator:()=>g,ApiValidatorBlockUptime:()=>K,ApiValidatorInList:()=>z,ApiValidatorIncentive:()=>Y,ApiValidatorMinimal:()=>y,ApiValidatorRewardAllocationWeight:()=>ot,ApiVault:()=>S,ApiVaultIncentive:()=>H,GetRewardVault:()=>st,GetSWberaVaultMetadata:()=>St,GetSWberaVaultSnapshots:()=>yt,GetUserValidatorInformation:()=>dt,GetUserVaults:()=>pt,GetValidator:()=>nt,GetValidators:()=>lt,GetVaultHistory:()=>ct,GetVaultValidators:()=>it,GetVaults:()=>rt,GlobalData:()=>ut,GqlChain:()=>m,GqlPoolAprItemType:()=>A,GqlPoolEventType:()=>G,GqlPoolEventsDataRange:()=>b,GqlPoolFilterCategory:()=>I,GqlPoolJoinExitType:()=>q,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>P,GqlPoolOrderDirection:()=>k,GqlPoolSnapshotDataRange:()=>h,GqlPoolType:()=>v,GqlRewardVaultIncentiveOrderBy:()=>_,GqlRewardVaultIncentiveOrderDirection:()=>D,GqlRewardVaultOrderBy:()=>
|
|
1
|
+
"use strict";var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of X(u))!j.call(c,n)&&n!==t&&d(c,n,{get:()=>u[n],enumerable:!(e=J(u,n))||e.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var At={};Z(At,{ApiMinimalVaultIncentive:()=>et,ApiRewardAllocationWeight:()=>O,ApiValidator:()=>g,ApiValidatorBlockUptime:()=>K,ApiValidatorInList:()=>z,ApiValidatorIncentive:()=>Y,ApiValidatorMinimal:()=>y,ApiValidatorRewardAllocationWeight:()=>ot,ApiVault:()=>S,ApiVaultIncentive:()=>H,GetRewardVault:()=>st,GetSWberaVaultMetadata:()=>St,GetSWberaVaultSnapshots:()=>yt,GetUserValidatorInformation:()=>dt,GetUserVaults:()=>pt,GetValidator:()=>nt,GetValidators:()=>lt,GetVaultHistory:()=>ct,GetVaultValidators:()=>it,GetVaults:()=>rt,GlobalData:()=>ut,GqlChain:()=>m,GqlPoolAprItemType:()=>A,GqlPoolEventType:()=>G,GqlPoolEventsDataRange:()=>b,GqlPoolFilterCategory:()=>I,GqlPoolJoinExitType:()=>q,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>P,GqlPoolOrderDirection:()=>k,GqlPoolSnapshotDataRange:()=>h,GqlPoolType:()=>v,GqlRewardVaultIncentiveOrderBy:()=>_,GqlRewardVaultIncentiveOrderDirection:()=>D,GqlRewardVaultOrderBy:()=>V,GqlRewardVaultOrderDirection:()=>M,GqlRewardVaultSnapshotDataRange:()=>T,GqlRewardVaultSnapshotResolution:()=>x,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>w,GqlTokenChartDataRange:()=>C,GqlTokenType:()=>U,GqlUserVaultDepositOrderBy:()=>E,GqlUserVaultDepositOrderDirection:()=>$,GqlValidatorBlockUptimeStatus:()=>f,GqlValidatorBoostOrderBy:()=>F,GqlValidatorBoostOrderDirection:()=>N,GqlValidatorOrderBy:()=>W,GqlValidatorOrderDirection:()=>Q,GqlVaultSnapshotDataRange:()=>L,default:()=>mt});module.exports=at(At);var o=require("@apollo/client"),m=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(m||{}),A=(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))(A||{}),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||{}),I=(p=>(p.BlackListed="BLACK_LISTED",p.Featured="FEATURED",p.Incentivized="INCENTIVIZED",p.Lrt="LRT",p.Points="POINTS",p.PointsEigenlayer="POINTS_EIGENLAYER",p.PointsGyro="POINTS_GYRO",p.PointsKelp="POINTS_KELP",p.PointsRenzo="POINTS_RENZO",p.PointsSwell="POINTS_SWELL",p.Superfest="SUPERFEST",p))(I||{}),q=(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),B=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(B||{}),P=(r=>(r.Apr="apr",r.BgtApr="bgtApr",r.CombinedApr="combinedApr",r.Fees24h="fees24h",r.TotalLiquidity="totalLiquidity",r.TotalShares="totalShares",r.UserbalanceUsd="userbalanceUsd",r.Volume24h="volume24h",r))(P||{}),k=(t=>(t.Asc="asc",t.Desc="desc",t))(k||{}),h=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(h||{}),v=(i=>(i.ComposableStable="COMPOSABLE_STABLE",i.CowAmm="COW_AMM",i.Element="ELEMENT",i.Fx="FX",i.Gyro="GYRO",i.Gyro3="GYRO3",i.Gyroe="GYROE",i.Investment="INVESTMENT",i.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",i.MetaStable="META_STABLE",i.PhantomStable="PHANTOM_STABLE",i.Stable="STABLE",i.Unknown="UNKNOWN",i.Weighted="WEIGHTED",i))(v||{}),_=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(_||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),V=(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))(V||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(T||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),R=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(R||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),C=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(C||{}),U=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(U||{}),E=(u=>(u.Amount="amount",u))(E||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),f=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(f||{}),F=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(F||{}),N=(t=>(t.Asc="asc",t.Desc="desc",t))(N||{}),W=(l=>(l.ActiveBoostAmount="activeBoostAmount",l.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",l.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",l.Apy="apy",l.BgtCapturePercentage="bgtCapturePercentage",l.BoostApr="boostApr",l.CommissionOnIncentives="commissionOnIncentives",l.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",l.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",l.QueuedBoostAmount="queuedBoostAmount",l.QueuedDropBoostAmount="queuedDropBoostAmount",l.RewardRate="rewardRate",l.StakedBeraAmount="stakedBeraAmount",l.UsersActiveBoostCount="usersActiveBoostCount",l.UsersQueuedBoostCount="usersQueuedBoostCount",l))(W||{}),Q=(t=>(t.Asc="asc",t.Desc="desc",t))(Q||{}),L=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(L||{}),et=o.gql`
|
|
2
2
|
fragment ApiMinimalVaultIncentive on GqlRewardVaultIncentive {
|
|
3
3
|
remainingAmount
|
|
4
4
|
remainingAmountUsd
|
|
@@ -268,77 +268,6 @@ type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
|
268
268
|
/** The value of the event in USD. */
|
|
269
269
|
valueUSD: Scalars['Float']['output'];
|
|
270
270
|
};
|
|
271
|
-
type GqlPoolAggregator = {
|
|
272
|
-
__typename?: 'GqlPoolAggregator';
|
|
273
|
-
/** The contract address of the pool. */
|
|
274
|
-
address: Scalars['Bytes']['output'];
|
|
275
|
-
/** Data specific to gyro/fx pools */
|
|
276
|
-
alpha?: Maybe<Scalars['String']['output']>;
|
|
277
|
-
/** Data specific to stable pools */
|
|
278
|
-
amp?: Maybe<Scalars['BigInt']['output']>;
|
|
279
|
-
/** Data specific to gyro/fx pools */
|
|
280
|
-
beta?: Maybe<Scalars['String']['output']>;
|
|
281
|
-
/** Data specific to gyro pools */
|
|
282
|
-
c?: Maybe<Scalars['String']['output']>;
|
|
283
|
-
/** The chain on which the pool is deployed */
|
|
284
|
-
chain: GqlChain;
|
|
285
|
-
/** The timestamp the pool was created. */
|
|
286
|
-
createTime: Scalars['Int']['output'];
|
|
287
|
-
/** Data specific to gyro pools */
|
|
288
|
-
dSq?: Maybe<Scalars['String']['output']>;
|
|
289
|
-
/** The decimals of the BPT, usually 18 */
|
|
290
|
-
decimals: Scalars['Int']['output'];
|
|
291
|
-
/** Data specific to fx pools */
|
|
292
|
-
delta?: Maybe<Scalars['String']['output']>;
|
|
293
|
-
/** Dynamic data such as token balances, swap fees or volume */
|
|
294
|
-
dynamicData: GqlPoolDynamicData;
|
|
295
|
-
/** Data specific to fx pools */
|
|
296
|
-
epsilon?: Maybe<Scalars['String']['output']>;
|
|
297
|
-
/** The factory contract address from which the pool was created. */
|
|
298
|
-
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
299
|
-
/** The pool id. This is equal to the address for protocolVersion 3 pools */
|
|
300
|
-
id: Scalars['ID']['output'];
|
|
301
|
-
/** Data specific to gyro/fx pools */
|
|
302
|
-
lambda?: Maybe<Scalars['String']['output']>;
|
|
303
|
-
/** The name of the pool as per contract */
|
|
304
|
-
name: Scalars['String']['output'];
|
|
305
|
-
/** The wallet address of the owner of the pool. Pool owners can set certain properties like swapFees or AMP. */
|
|
306
|
-
owner?: Maybe<Scalars['Bytes']['output']>;
|
|
307
|
-
/** Returns all pool tokens, including BPTs and nested pools if there are any. Only one nested level deep. */
|
|
308
|
-
poolTokens: Array<GqlPoolTokenDetail>;
|
|
309
|
-
/** The protocol version on which the pool is deployed, 1, 2 or 3 */
|
|
310
|
-
protocolVersion: Scalars['Int']['output'];
|
|
311
|
-
/** Data specific to gyro pools */
|
|
312
|
-
root3Alpha?: Maybe<Scalars['String']['output']>;
|
|
313
|
-
/** Data specific to gyro pools */
|
|
314
|
-
s?: Maybe<Scalars['String']['output']>;
|
|
315
|
-
/** Data specific to gyro pools */
|
|
316
|
-
sqrtAlpha?: Maybe<Scalars['String']['output']>;
|
|
317
|
-
/** Data specific to gyro pools */
|
|
318
|
-
sqrtBeta?: Maybe<Scalars['String']['output']>;
|
|
319
|
-
/** The token symbol of the pool as per contract */
|
|
320
|
-
symbol: Scalars['String']['output'];
|
|
321
|
-
/** Data specific to gyro pools */
|
|
322
|
-
tauAlphaX?: Maybe<Scalars['String']['output']>;
|
|
323
|
-
/** Data specific to gyro pools */
|
|
324
|
-
tauAlphaY?: Maybe<Scalars['String']['output']>;
|
|
325
|
-
/** Data specific to gyro pools */
|
|
326
|
-
tauBetaX?: Maybe<Scalars['String']['output']>;
|
|
327
|
-
/** Data specific to gyro pools */
|
|
328
|
-
tauBetaY?: Maybe<Scalars['String']['output']>;
|
|
329
|
-
/** The pool type, such as weighted, stable, etc. */
|
|
330
|
-
type: GqlPoolType;
|
|
331
|
-
/** Data specific to gyro pools */
|
|
332
|
-
u?: Maybe<Scalars['String']['output']>;
|
|
333
|
-
/** Data specific to gyro pools */
|
|
334
|
-
v?: Maybe<Scalars['String']['output']>;
|
|
335
|
-
/** The version of the pool type. */
|
|
336
|
-
version: Scalars['Int']['output'];
|
|
337
|
-
/** Data specific to gyro pools */
|
|
338
|
-
w?: Maybe<Scalars['String']['output']>;
|
|
339
|
-
/** Data specific to gyro pools */
|
|
340
|
-
z?: Maybe<Scalars['String']['output']>;
|
|
341
|
-
};
|
|
342
271
|
type GqlPoolApr = {
|
|
343
272
|
__typename?: 'GqlPoolApr';
|
|
344
273
|
apr: GqlPoolAprValue;
|
|
@@ -1519,6 +1448,7 @@ declare enum GqlRewardVaultOrderBy {
|
|
|
1519
1448
|
Apr = "apr",
|
|
1520
1449
|
Apy = "apy",
|
|
1521
1450
|
BgtCapturePercentage = "bgtCapturePercentage",
|
|
1451
|
+
/** @deprecated This will be removed at mid April 2026 */
|
|
1522
1452
|
Last24hBgtReceived = "last24hBGTReceived",
|
|
1523
1453
|
ProjectedApr = "projectedApr"
|
|
1524
1454
|
}
|
|
@@ -1936,7 +1866,6 @@ type GqlValidator = {
|
|
|
1936
1866
|
pubkey: Scalars['Bytes']['output'];
|
|
1937
1867
|
/** @deprecated Deprecated. It will be removed at mid April 2026. */
|
|
1938
1868
|
rewardAllocationStartBlock?: Maybe<Scalars['Int']['output']>;
|
|
1939
|
-
/** @deprecated Deprecated. It will be removed at mid April 2026. Use incentives if you need an aggregation. */
|
|
1940
1869
|
rewardAllocationWeights: Array<GqlValidatorRewardAllocationWeight>;
|
|
1941
1870
|
rewardAllocator?: Maybe<Scalars['Bytes']['output']>;
|
|
1942
1871
|
valStats?: Maybe<GqlValidatorStats>;
|
|
@@ -2103,6 +2032,7 @@ type GqlValidatorRewardAllocationWeight = {
|
|
|
2103
2032
|
*/
|
|
2104
2033
|
percentageNumerator: Scalars['Int']['output'];
|
|
2105
2034
|
receiver: Scalars['Bytes']['output'];
|
|
2035
|
+
/** @deprecated Deprecated. It will be removed at mid April 2026. */
|
|
2106
2036
|
receivingVault?: Maybe<GqlRewardVault>;
|
|
2107
2037
|
startBlock: Scalars['Int']['output'];
|
|
2108
2038
|
validator?: Maybe<GqlValidator>;
|
|
@@ -2268,9 +2198,13 @@ type Query = {
|
|
|
2268
2198
|
__typename?: 'Query';
|
|
2269
2199
|
bendVault?: Maybe<BendVaultResponse>;
|
|
2270
2200
|
bendVaults: Array<BendVaultResponse>;
|
|
2201
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2271
2202
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2203
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2272
2204
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2205
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2273
2206
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
2207
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2274
2208
|
blocksGetBlocksPerYear: Scalars['Float']['output'];
|
|
2275
2209
|
/** Returns list of hooks. */
|
|
2276
2210
|
hooks?: Maybe<Array<Hook>>;
|
|
@@ -2296,8 +2230,6 @@ type Query = {
|
|
|
2296
2230
|
polGetVaultDurations: GqlVaultDurations;
|
|
2297
2231
|
/** Getting swap, add and remove events with paging */
|
|
2298
2232
|
poolEvents: Array<GqlPoolEvent>;
|
|
2299
|
-
/** Returns all pools for a given filter, specific for aggregators */
|
|
2300
|
-
poolGetAggregatorPools: Array<GqlPoolAggregator>;
|
|
2301
2233
|
/** Getting swap, add and remove events with range */
|
|
2302
2234
|
poolGetEvents: Array<GqlPoolEvent>;
|
|
2303
2235
|
/** Returns one pool. If a user address is provided, the user balances for the given pool will also be returned. */
|
|
@@ -2440,13 +2372,6 @@ type QueryPoolEventsArgs = {
|
|
|
2440
2372
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2441
2373
|
where?: InputMaybe<GqlPoolEventsFilter>;
|
|
2442
2374
|
};
|
|
2443
|
-
type QueryPoolGetAggregatorPoolsArgs = {
|
|
2444
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2445
|
-
orderBy?: InputMaybe<GqlPoolOrderBy>;
|
|
2446
|
-
orderDirection?: InputMaybe<GqlPoolOrderDirection>;
|
|
2447
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2448
|
-
where?: InputMaybe<GqlPoolFilter>;
|
|
2449
|
-
};
|
|
2450
2375
|
type QueryPoolGetEventsArgs = {
|
|
2451
2376
|
chain: GqlChain;
|
|
2452
2377
|
poolId: Scalars['String']['input'];
|
|
@@ -3584,4 +3509,4 @@ interface PossibleTypesResultData {
|
|
|
3584
3509
|
}
|
|
3585
3510
|
declare const result: PossibleTypesResultData;
|
|
3586
3511
|
|
|
3587
|
-
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type
|
|
3512
|
+
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, 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, 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, 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 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, type Scalars, type Token, result as default };
|
|
@@ -268,77 +268,6 @@ type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
|
268
268
|
/** The value of the event in USD. */
|
|
269
269
|
valueUSD: Scalars['Float']['output'];
|
|
270
270
|
};
|
|
271
|
-
type GqlPoolAggregator = {
|
|
272
|
-
__typename?: 'GqlPoolAggregator';
|
|
273
|
-
/** The contract address of the pool. */
|
|
274
|
-
address: Scalars['Bytes']['output'];
|
|
275
|
-
/** Data specific to gyro/fx pools */
|
|
276
|
-
alpha?: Maybe<Scalars['String']['output']>;
|
|
277
|
-
/** Data specific to stable pools */
|
|
278
|
-
amp?: Maybe<Scalars['BigInt']['output']>;
|
|
279
|
-
/** Data specific to gyro/fx pools */
|
|
280
|
-
beta?: Maybe<Scalars['String']['output']>;
|
|
281
|
-
/** Data specific to gyro pools */
|
|
282
|
-
c?: Maybe<Scalars['String']['output']>;
|
|
283
|
-
/** The chain on which the pool is deployed */
|
|
284
|
-
chain: GqlChain;
|
|
285
|
-
/** The timestamp the pool was created. */
|
|
286
|
-
createTime: Scalars['Int']['output'];
|
|
287
|
-
/** Data specific to gyro pools */
|
|
288
|
-
dSq?: Maybe<Scalars['String']['output']>;
|
|
289
|
-
/** The decimals of the BPT, usually 18 */
|
|
290
|
-
decimals: Scalars['Int']['output'];
|
|
291
|
-
/** Data specific to fx pools */
|
|
292
|
-
delta?: Maybe<Scalars['String']['output']>;
|
|
293
|
-
/** Dynamic data such as token balances, swap fees or volume */
|
|
294
|
-
dynamicData: GqlPoolDynamicData;
|
|
295
|
-
/** Data specific to fx pools */
|
|
296
|
-
epsilon?: Maybe<Scalars['String']['output']>;
|
|
297
|
-
/** The factory contract address from which the pool was created. */
|
|
298
|
-
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
299
|
-
/** The pool id. This is equal to the address for protocolVersion 3 pools */
|
|
300
|
-
id: Scalars['ID']['output'];
|
|
301
|
-
/** Data specific to gyro/fx pools */
|
|
302
|
-
lambda?: Maybe<Scalars['String']['output']>;
|
|
303
|
-
/** The name of the pool as per contract */
|
|
304
|
-
name: Scalars['String']['output'];
|
|
305
|
-
/** The wallet address of the owner of the pool. Pool owners can set certain properties like swapFees or AMP. */
|
|
306
|
-
owner?: Maybe<Scalars['Bytes']['output']>;
|
|
307
|
-
/** Returns all pool tokens, including BPTs and nested pools if there are any. Only one nested level deep. */
|
|
308
|
-
poolTokens: Array<GqlPoolTokenDetail>;
|
|
309
|
-
/** The protocol version on which the pool is deployed, 1, 2 or 3 */
|
|
310
|
-
protocolVersion: Scalars['Int']['output'];
|
|
311
|
-
/** Data specific to gyro pools */
|
|
312
|
-
root3Alpha?: Maybe<Scalars['String']['output']>;
|
|
313
|
-
/** Data specific to gyro pools */
|
|
314
|
-
s?: Maybe<Scalars['String']['output']>;
|
|
315
|
-
/** Data specific to gyro pools */
|
|
316
|
-
sqrtAlpha?: Maybe<Scalars['String']['output']>;
|
|
317
|
-
/** Data specific to gyro pools */
|
|
318
|
-
sqrtBeta?: Maybe<Scalars['String']['output']>;
|
|
319
|
-
/** The token symbol of the pool as per contract */
|
|
320
|
-
symbol: Scalars['String']['output'];
|
|
321
|
-
/** Data specific to gyro pools */
|
|
322
|
-
tauAlphaX?: Maybe<Scalars['String']['output']>;
|
|
323
|
-
/** Data specific to gyro pools */
|
|
324
|
-
tauAlphaY?: Maybe<Scalars['String']['output']>;
|
|
325
|
-
/** Data specific to gyro pools */
|
|
326
|
-
tauBetaX?: Maybe<Scalars['String']['output']>;
|
|
327
|
-
/** Data specific to gyro pools */
|
|
328
|
-
tauBetaY?: Maybe<Scalars['String']['output']>;
|
|
329
|
-
/** The pool type, such as weighted, stable, etc. */
|
|
330
|
-
type: GqlPoolType;
|
|
331
|
-
/** Data specific to gyro pools */
|
|
332
|
-
u?: Maybe<Scalars['String']['output']>;
|
|
333
|
-
/** Data specific to gyro pools */
|
|
334
|
-
v?: Maybe<Scalars['String']['output']>;
|
|
335
|
-
/** The version of the pool type. */
|
|
336
|
-
version: Scalars['Int']['output'];
|
|
337
|
-
/** Data specific to gyro pools */
|
|
338
|
-
w?: Maybe<Scalars['String']['output']>;
|
|
339
|
-
/** Data specific to gyro pools */
|
|
340
|
-
z?: Maybe<Scalars['String']['output']>;
|
|
341
|
-
};
|
|
342
271
|
type GqlPoolApr = {
|
|
343
272
|
__typename?: 'GqlPoolApr';
|
|
344
273
|
apr: GqlPoolAprValue;
|
|
@@ -1519,6 +1448,7 @@ declare enum GqlRewardVaultOrderBy {
|
|
|
1519
1448
|
Apr = "apr",
|
|
1520
1449
|
Apy = "apy",
|
|
1521
1450
|
BgtCapturePercentage = "bgtCapturePercentage",
|
|
1451
|
+
/** @deprecated This will be removed at mid April 2026 */
|
|
1522
1452
|
Last24hBgtReceived = "last24hBGTReceived",
|
|
1523
1453
|
ProjectedApr = "projectedApr"
|
|
1524
1454
|
}
|
|
@@ -1936,7 +1866,6 @@ type GqlValidator = {
|
|
|
1936
1866
|
pubkey: Scalars['Bytes']['output'];
|
|
1937
1867
|
/** @deprecated Deprecated. It will be removed at mid April 2026. */
|
|
1938
1868
|
rewardAllocationStartBlock?: Maybe<Scalars['Int']['output']>;
|
|
1939
|
-
/** @deprecated Deprecated. It will be removed at mid April 2026. Use incentives if you need an aggregation. */
|
|
1940
1869
|
rewardAllocationWeights: Array<GqlValidatorRewardAllocationWeight>;
|
|
1941
1870
|
rewardAllocator?: Maybe<Scalars['Bytes']['output']>;
|
|
1942
1871
|
valStats?: Maybe<GqlValidatorStats>;
|
|
@@ -2103,6 +2032,7 @@ type GqlValidatorRewardAllocationWeight = {
|
|
|
2103
2032
|
*/
|
|
2104
2033
|
percentageNumerator: Scalars['Int']['output'];
|
|
2105
2034
|
receiver: Scalars['Bytes']['output'];
|
|
2035
|
+
/** @deprecated Deprecated. It will be removed at mid April 2026. */
|
|
2106
2036
|
receivingVault?: Maybe<GqlRewardVault>;
|
|
2107
2037
|
startBlock: Scalars['Int']['output'];
|
|
2108
2038
|
validator?: Maybe<GqlValidator>;
|
|
@@ -2268,9 +2198,13 @@ type Query = {
|
|
|
2268
2198
|
__typename?: 'Query';
|
|
2269
2199
|
bendVault?: Maybe<BendVaultResponse>;
|
|
2270
2200
|
bendVaults: Array<BendVaultResponse>;
|
|
2201
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2271
2202
|
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2203
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2272
2204
|
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2205
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2273
2206
|
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
2207
|
+
/** @deprecated This query will be removed at the end of April 2026. */
|
|
2274
2208
|
blocksGetBlocksPerYear: Scalars['Float']['output'];
|
|
2275
2209
|
/** Returns list of hooks. */
|
|
2276
2210
|
hooks?: Maybe<Array<Hook>>;
|
|
@@ -2296,8 +2230,6 @@ type Query = {
|
|
|
2296
2230
|
polGetVaultDurations: GqlVaultDurations;
|
|
2297
2231
|
/** Getting swap, add and remove events with paging */
|
|
2298
2232
|
poolEvents: Array<GqlPoolEvent>;
|
|
2299
|
-
/** Returns all pools for a given filter, specific for aggregators */
|
|
2300
|
-
poolGetAggregatorPools: Array<GqlPoolAggregator>;
|
|
2301
2233
|
/** Getting swap, add and remove events with range */
|
|
2302
2234
|
poolGetEvents: Array<GqlPoolEvent>;
|
|
2303
2235
|
/** Returns one pool. If a user address is provided, the user balances for the given pool will also be returned. */
|
|
@@ -2440,13 +2372,6 @@ type QueryPoolEventsArgs = {
|
|
|
2440
2372
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2441
2373
|
where?: InputMaybe<GqlPoolEventsFilter>;
|
|
2442
2374
|
};
|
|
2443
|
-
type QueryPoolGetAggregatorPoolsArgs = {
|
|
2444
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2445
|
-
orderBy?: InputMaybe<GqlPoolOrderBy>;
|
|
2446
|
-
orderDirection?: InputMaybe<GqlPoolOrderDirection>;
|
|
2447
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2448
|
-
where?: InputMaybe<GqlPoolFilter>;
|
|
2449
|
-
};
|
|
2450
2375
|
type QueryPoolGetEventsArgs = {
|
|
2451
2376
|
chain: GqlChain;
|
|
2452
2377
|
poolId: Scalars['String']['input'];
|
|
@@ -3584,4 +3509,4 @@ interface PossibleTypesResultData {
|
|
|
3584
3509
|
}
|
|
3585
3510
|
declare const result: PossibleTypesResultData;
|
|
3586
3511
|
|
|
3587
|
-
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type
|
|
3512
|
+
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, 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, 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, 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 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, type Scalars, type Token, result as default };
|
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),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||{}),m=(o=>(o.Add="ADD",o.Remove="REMOVE",o.Swap="SWAP",o))(m||{}),A=(o=>(o.NinetyDays="NINETY_DAYS",o.SevenDays="SEVEN_DAYS",o.ThirtyDays="THIRTY_DAYS",o))(A||{}),G=(s=>(s.BlackListed="BLACK_LISTED",s.Featured="FEATURED",s.Incentivized="INCENTIVIZED",s.Lrt="LRT",s.Points="POINTS",s.PointsEigenlayer="POINTS_EIGENLAYER",s.PointsGyro="POINTS_GYRO",s.PointsKelp="POINTS_KELP",s.PointsRenzo="POINTS_RENZO",s.PointsSwell="POINTS_SWELL",s.Superfest="SUPERFEST",s))(G||{}),b=(t=>(t.Exit="Exit",t.Join="Join",t))(b||{}),I=(o=>(o.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",o.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",o.NoNesting="NO_NESTING",o))(I||{}),q=(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))(q||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),P=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(P||{}),k=(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))(k||{}),h=(o=>(o.AmountRemaining="amountRemaining",o.AmountRemainingUsd="amountRemainingUsd",o.IncentiveRate="incentiveRate",o))(h||{}),v=(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),_=(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))(_||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),
|
|
1
|
+
import{gql as e}from"@apollo/client";var 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||{}),m=(o=>(o.Add="ADD",o.Remove="REMOVE",o.Swap="SWAP",o))(m||{}),A=(o=>(o.NinetyDays="NINETY_DAYS",o.SevenDays="SEVEN_DAYS",o.ThirtyDays="THIRTY_DAYS",o))(A||{}),G=(s=>(s.BlackListed="BLACK_LISTED",s.Featured="FEATURED",s.Incentivized="INCENTIVIZED",s.Lrt="LRT",s.Points="POINTS",s.PointsEigenlayer="POINTS_EIGENLAYER",s.PointsGyro="POINTS_GYRO",s.PointsKelp="POINTS_KELP",s.PointsRenzo="POINTS_RENZO",s.PointsSwell="POINTS_SWELL",s.Superfest="SUPERFEST",s))(G||{}),b=(t=>(t.Exit="Exit",t.Join="Join",t))(b||{}),I=(o=>(o.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",o.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",o.NoNesting="NO_NESTING",o))(I||{}),q=(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))(q||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),P=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(P||{}),k=(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))(k||{}),h=(o=>(o.AmountRemaining="amountRemaining",o.AmountRemainingUsd="amountRemainingUsd",o.IncentiveRate="incentiveRate",o))(h||{}),v=(t=>(t.Asc="asc",t.Desc="desc",t))(v||{}),_=(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))(_||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),V=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(V||{}),M=(t=>(t.Day="DAY",t.Hour="HOUR",t))(M||{}),T=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(T||{}),x=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(x||{}),R=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(R||{}),w=(o=>(o.Bpt="BPT",o.PhantomBpt="PHANTOM_BPT",o.WhiteListed="WHITE_LISTED",o))(w||{}),C=(y=>(y.Amount="amount",y))(C||{}),U=(t=>(t.Asc="asc",t.Desc="desc",t))(U||{}),E=(u=>(u.Inactive="INACTIVE",u.Offline="OFFLINE",u.Proposed="PROPOSED",u.Signed="SIGNED",u))(E||{}),$=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))($||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),F=(n=>(n.ActiveBoostAmount="activeBoostAmount",n.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",n.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.BoostApr="boostApr",n.CommissionOnIncentives="commissionOnIncentives",n.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",n.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",n.QueuedBoostAmount="queuedBoostAmount",n.QueuedDropBoostAmount="queuedDropBoostAmount",n.RewardRate="rewardRate",n.StakedBeraAmount="stakedBeraAmount",n.UsersActiveBoostCount="usersActiveBoostCount",n.UsersQueuedBoostCount="usersQueuedBoostCount",n))(F||{}),N=(t=>(t.Asc="asc",t.Desc="desc",t))(N||{}),W=(u=>(u.NinetyDays="NINETY_DAYS",u.SevenDays="SEVEN_DAYS",u.SixtyDays="SIXTY_DAYS",u.ThirtyDays="THIRTY_DAYS",u))(W||{}),J=e`
|
|
2
2
|
fragment ApiMinimalVaultIncentive on GqlRewardVaultIncentive {
|
|
3
3
|
remainingAmount
|
|
4
4
|
remainingAmountUsd
|
|
@@ -355,4 +355,4 @@ ${Y}`,tt=e`
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
`,z={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},ut=z;export{J as ApiMinimalVaultIncentive,L as ApiRewardAllocationWeight,S as ApiValidator,Y as ApiValidatorBlockUptime,O as ApiValidatorInList,H as ApiValidatorIncentive,c as ApiValidatorMinimal,X as ApiValidatorRewardAllocationWeight,p as ApiVault,Q as ApiVaultIncentive,et as GetRewardVault,lt as GetSWberaVaultMetadata,it as GetSWberaVaultSnapshots,st as GetUserValidatorInformation,rt as GetUserVaults,Z as GetValidator,tt as GetValidators,nt as GetVaultHistory,at as GetVaultValidators,j as GetVaults,ot as GlobalData,d as GqlChain,g as GqlPoolAprItemType,m as GqlPoolEventType,A as GqlPoolEventsDataRange,G as GqlPoolFilterCategory,b as GqlPoolJoinExitType,I as GqlPoolNestingType,q as GqlPoolOrderBy,B as GqlPoolOrderDirection,P as GqlPoolSnapshotDataRange,k as GqlPoolType,h as GqlRewardVaultIncentiveOrderBy,v as GqlRewardVaultIncentiveOrderDirection,_ as GqlRewardVaultOrderBy,D as GqlRewardVaultOrderDirection,
|
|
358
|
+
`,z={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},ut=z;export{J as ApiMinimalVaultIncentive,L as ApiRewardAllocationWeight,S as ApiValidator,Y as ApiValidatorBlockUptime,O as ApiValidatorInList,H as ApiValidatorIncentive,c as ApiValidatorMinimal,X as ApiValidatorRewardAllocationWeight,p as ApiVault,Q as ApiVaultIncentive,et as GetRewardVault,lt as GetSWberaVaultMetadata,it as GetSWberaVaultSnapshots,st as GetUserValidatorInformation,rt as GetUserVaults,Z as GetValidator,tt as GetValidators,nt as GetVaultHistory,at as GetVaultValidators,j as GetVaults,ot as GlobalData,d as GqlChain,g as GqlPoolAprItemType,m as GqlPoolEventType,A as GqlPoolEventsDataRange,G as GqlPoolFilterCategory,b as GqlPoolJoinExitType,I as GqlPoolNestingType,q as GqlPoolOrderBy,B as GqlPoolOrderDirection,P as GqlPoolSnapshotDataRange,k as GqlPoolType,h as GqlRewardVaultIncentiveOrderBy,v as GqlRewardVaultIncentiveOrderDirection,_ as GqlRewardVaultOrderBy,D as GqlRewardVaultOrderDirection,V as GqlRewardVaultSnapshotDataRange,M as GqlRewardVaultSnapshotResolution,T as GqlSWberaVaultMetadataResolution,x as GqlSorSwapType,R as GqlTokenChartDataRange,w as GqlTokenType,C as GqlUserVaultDepositOrderBy,U as GqlUserVaultDepositOrderDirection,E as GqlValidatorBlockUptimeStatus,$ as GqlValidatorBoostOrderBy,f as GqlValidatorBoostOrderDirection,F as GqlValidatorOrderBy,N as GqlValidatorOrderDirection,W as GqlVaultSnapshotDataRange,ut as default};
|