@berachain/graphql 0.4.12 → 0.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/api.codegen.cjs +1 -1
- package/dist/api/api.codegen.d.cts +292 -30
- package/dist/api/api.codegen.d.ts +292 -30
- package/dist/chain/chain.codegen.cjs +12 -0
- package/dist/chain/chain.codegen.d.cts +351 -0
- package/dist/chain/chain.codegen.d.ts +351 -0
- package/dist/chain/chain.codegen.mjs +12 -0
- package/dist/dex/api.codegen.cjs +1 -1
- package/dist/dex/api.codegen.d.cts +8 -38
- package/dist/dex/api.codegen.d.ts +8 -38
- package/dist/dex/api.codegen.mjs +2 -2
- package/dist/governance/governance.codegen.d.cts +803 -803
- package/dist/governance/governance.codegen.d.ts +803 -803
- package/dist/honey/honey.codegen.cjs +5 -5
- package/dist/honey/honey.codegen.d.cts +9 -1
- package/dist/honey/honey.codegen.d.ts +9 -1
- package/dist/honey/honey.codegen.mjs +5 -5
- package/dist/pol/api.codegen.cjs +1 -1
- package/dist/pol/api.codegen.d.cts +8 -38
- package/dist/pol/api.codegen.d.ts +8 -38
- package/dist/pol/api.codegen.mjs +2 -2
- package/dist/pol/fees.codegen.cjs +2 -2
- package/dist/pol/fees.codegen.d.cts +9 -1
- package/dist/pol/fees.codegen.d.ts +9 -1
- package/dist/pol/fees.codegen.mjs +2 -2
- package/dist/pol/subgraph.codegen.cjs +8 -8
- package/dist/pol/subgraph.codegen.d.cts +21 -1
- package/dist/pol/subgraph.codegen.d.ts +21 -1
- package/dist/pol/subgraph.codegen.mjs +8 -8
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var l=Object.defineProperty;var
|
|
1
|
+
"use strict";var l=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var H=Object.prototype.hasOwnProperty;var k=(i,e)=>{for(var t in e)l(i,t,{get:e[t],enumerable:!0})},f=(i,e,t,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let y of d(e))!H.call(i,y)&&y!==t&&l(i,y,{get:()=>e[y],enumerable:!(u=D(e,y))||u.enumerable});return i};var F=i=>f(l({},"__esModule",{value:!0}),i);var $={};k($,{Aggregation_Current:()=>c,Aggregation_Interval:()=>I,ChainTransaction_OrderBy:()=>b,GetHoneyTxn:()=>C,GetSnapshots:()=>w,HoneyCollateral_OrderBy:()=>_,HoneySnapshotData:()=>A,HoneySnapshot_OrderBy:()=>S,HoneySupplyDayData_OrderBy:()=>M,HoneyTxnData:()=>B,HoneyTxnTimeseries_OrderBy:()=>m,HoneyTxn_OrderBy:()=>g,OrderDirection:()=>h,TxnType:()=>T,_SubgraphErrorPolicy_:()=>x,default:()=>V});module.exports=F($);var o=require("@apollo/client"),c=(t=>(t.Exclude="exclude",t.Include="include",t))(c||{}),I=(t=>(t.Day="day",t.Hour="hour",t))(I||{}),b=(s=>(s.HoneyTxn="honeyTxn",s.Id="id",s.IsBasketMode="isBasketMode",s.TxHash="txHash",s.Type="type",s))(b||{}),_=(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))(_||{}),S=(r=>(r.AllTimeVolume="allTimeVolume",r.Id="id",r.MintVolume="mintVolume",r.RedeemVolume="redeemVolume",r.Timestamp="timestamp",r.TotalSupply="totalSupply",r.TotalVolume="totalVolume",r))(S||{}),M=(u=>(u.Amount="amount",u.Id="id",u.Timestamp="timestamp",u))(M||{}),m=(p=>(p.BlockNumber="blockNumber",p.From="from",p.HoneyAmount="honeyAmount",p.Id="id",p.Timestamp="timestamp",p.To="to",p.TotalSupply="totalSupply",p.TxHash="txHash",p.TxnType="txnType",p))(m||{}),g=(a=>(a.ChainTransaction="chainTransaction",a.ChainTransactionId="chainTransaction__id",a.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",a.ChainTransactionTxHash="chainTransaction__txHash",a.ChainTransactionType="chainTransaction__type",a.Collateral="collateral",a.From="from",a.HoneyAmount="honeyAmount",a.Id="id",a.IsBasketMode="isBasketMode",a.Timestamp="timestamp",a.To="to",a.Type="type",a))(g||{}),h=(t=>(t.Asc="asc",t.Desc="desc",t))(h||{}),T=(t=>(t.Mint="MINT",t.Redeem="REDEEM",t))(T||{}),x=(t=>(t.Allow="allow",t.Deny="deny",t))(x||{}),B=o.gql`
|
|
2
2
|
fragment HoneyTxnData on HoneyTxn {
|
|
3
3
|
timestamp
|
|
4
4
|
from
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
collateralAmount
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
`,
|
|
16
|
+
`,A=o.gql`
|
|
17
17
|
fragment HoneySnapshotData on HoneySnapshot {
|
|
18
18
|
mintVolume
|
|
19
19
|
redeemVolume
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
totalSupply
|
|
22
22
|
totalVolume
|
|
23
23
|
}
|
|
24
|
-
`,
|
|
24
|
+
`,C=o.gql`
|
|
25
25
|
query GetHoneyTxn($page: Int!, $limit: Int!, $where: HoneyTxn_filter) {
|
|
26
26
|
honeyTxns(
|
|
27
27
|
skip: $page
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
...HoneyTxnData
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
${
|
|
36
|
+
${B}`,w=o.gql`
|
|
37
37
|
query GetSnapshots($interval: Aggregation_interval!, $first: Int = 24) {
|
|
38
38
|
honeySnapshots(interval: $interval, first: $first) {
|
|
39
39
|
...HoneySnapshotData
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
${
|
|
42
|
+
${A}`,E={possibleTypes:{}},V=E;0&&(module.exports={Aggregation_Current,Aggregation_Interval,ChainTransaction_OrderBy,GetHoneyTxn,GetSnapshots,HoneyCollateral_OrderBy,HoneySnapshotData,HoneySnapshot_OrderBy,HoneySupplyDayData_OrderBy,HoneyTxnData,HoneyTxnTimeseries_OrderBy,HoneyTxn_OrderBy,OrderDirection,TxnType,_SubgraphErrorPolicy_});
|
|
@@ -64,6 +64,13 @@ type Scalars = {
|
|
|
64
64
|
output: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
+
/** Indicates whether the current, partially filled bucket should be included in the response. Defaults to `exclude` */
|
|
68
|
+
declare enum Aggregation_Current {
|
|
69
|
+
/** Exclude the current, partially filled bucket from the response */
|
|
70
|
+
Exclude = "exclude",
|
|
71
|
+
/** Include the current, partially filled bucket in the response */
|
|
72
|
+
Include = "include"
|
|
73
|
+
}
|
|
67
74
|
declare enum Aggregation_Interval {
|
|
68
75
|
Day = "day",
|
|
69
76
|
Hour = "hour"
|
|
@@ -562,6 +569,7 @@ type QueryHoneyCollateralsArgs = {
|
|
|
562
569
|
};
|
|
563
570
|
type QueryHoneySnapshotsArgs = {
|
|
564
571
|
block?: InputMaybe<Block_Height>;
|
|
572
|
+
current?: InputMaybe<Aggregation_Current>;
|
|
565
573
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
566
574
|
interval: Aggregation_Interval;
|
|
567
575
|
orderBy?: InputMaybe<HoneySnapshot_OrderBy>;
|
|
@@ -724,4 +732,4 @@ interface PossibleTypesResultData {
|
|
|
724
732
|
}
|
|
725
733
|
declare const result: PossibleTypesResultData;
|
|
726
734
|
|
|
727
|
-
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 };
|
|
735
|
+
export { Aggregation_Current, 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 };
|
|
@@ -64,6 +64,13 @@ type Scalars = {
|
|
|
64
64
|
output: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
+
/** Indicates whether the current, partially filled bucket should be included in the response. Defaults to `exclude` */
|
|
68
|
+
declare enum Aggregation_Current {
|
|
69
|
+
/** Exclude the current, partially filled bucket from the response */
|
|
70
|
+
Exclude = "exclude",
|
|
71
|
+
/** Include the current, partially filled bucket in the response */
|
|
72
|
+
Include = "include"
|
|
73
|
+
}
|
|
67
74
|
declare enum Aggregation_Interval {
|
|
68
75
|
Day = "day",
|
|
69
76
|
Hour = "hour"
|
|
@@ -562,6 +569,7 @@ type QueryHoneyCollateralsArgs = {
|
|
|
562
569
|
};
|
|
563
570
|
type QueryHoneySnapshotsArgs = {
|
|
564
571
|
block?: InputMaybe<Block_Height>;
|
|
572
|
+
current?: InputMaybe<Aggregation_Current>;
|
|
565
573
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
566
574
|
interval: Aggregation_Interval;
|
|
567
575
|
orderBy?: InputMaybe<HoneySnapshot_OrderBy>;
|
|
@@ -724,4 +732,4 @@ interface PossibleTypesResultData {
|
|
|
724
732
|
}
|
|
725
733
|
declare const result: PossibleTypesResultData;
|
|
726
734
|
|
|
727
|
-
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 };
|
|
735
|
+
export { Aggregation_Current, 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 r}from"@apollo/client";var y=(
|
|
1
|
+
import{gql as r}from"@apollo/client";var y=(t=>(t.Exclude="exclude",t.Include="include",t))(y||{}),s=(t=>(t.Day="day",t.Hour="hour",t))(s||{}),o=(i=>(i.HoneyTxn="honeyTxn",i.Id="id",i.IsBasketMode="isBasketMode",i.TxHash="txHash",i.Type="type",i))(o||{}),l=(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))(l||{}),c=(p=>(p.AllTimeVolume="allTimeVolume",p.Id="id",p.MintVolume="mintVolume",p.RedeemVolume="redeemVolume",p.Timestamp="timestamp",p.TotalSupply="totalSupply",p.TotalVolume="totalVolume",p))(c||{}),I=(u=>(u.Amount="amount",u.Id="id",u.Timestamp="timestamp",u))(I||{}),b=(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))(b||{}),_=(a=>(a.ChainTransaction="chainTransaction",a.ChainTransactionId="chainTransaction__id",a.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",a.ChainTransactionTxHash="chainTransaction__txHash",a.ChainTransactionType="chainTransaction__type",a.Collateral="collateral",a.From="from",a.HoneyAmount="honeyAmount",a.Id="id",a.IsBasketMode="isBasketMode",a.Timestamp="timestamp",a.To="to",a.Type="type",a))(_||{}),S=(t=>(t.Asc="asc",t.Desc="desc",t))(S||{}),M=(t=>(t.Mint="MINT",t.Redeem="REDEEM",t))(M||{}),m=(t=>(t.Allow="allow",t.Deny="deny",t))(m||{}),g=r`
|
|
2
2
|
fragment HoneyTxnData on HoneyTxn {
|
|
3
3
|
timestamp
|
|
4
4
|
from
|
|
@@ -13,7 +13,7 @@ import{gql as r}from"@apollo/client";var y=(a=>(a.Day="day",a.Hour="hour",a))(y|
|
|
|
13
13
|
collateralAmount
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
`,
|
|
16
|
+
`,h=r`
|
|
17
17
|
fragment HoneySnapshotData on HoneySnapshot {
|
|
18
18
|
mintVolume
|
|
19
19
|
redeemVolume
|
|
@@ -21,7 +21,7 @@ import{gql as r}from"@apollo/client";var y=(a=>(a.Day="day",a.Hour="hour",a))(y|
|
|
|
21
21
|
totalSupply
|
|
22
22
|
totalVolume
|
|
23
23
|
}
|
|
24
|
-
`,
|
|
24
|
+
`,B=r`
|
|
25
25
|
query GetHoneyTxn($page: Int!, $limit: Int!, $where: HoneyTxn_filter) {
|
|
26
26
|
honeyTxns(
|
|
27
27
|
skip: $page
|
|
@@ -33,10 +33,10 @@ import{gql as r}from"@apollo/client";var y=(a=>(a.Day="day",a.Hour="hour",a))(y|
|
|
|
33
33
|
...HoneyTxnData
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
${
|
|
36
|
+
${g}`,A=r`
|
|
37
37
|
query GetSnapshots($interval: Aggregation_interval!, $first: Int = 24) {
|
|
38
38
|
honeySnapshots(interval: $interval, first: $first) {
|
|
39
39
|
...HoneySnapshotData
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
${
|
|
42
|
+
${h}`,T={possibleTypes:{}},D=T;export{y as Aggregation_Current,s as Aggregation_Interval,o as ChainTransaction_OrderBy,B as GetHoneyTxn,A as GetSnapshots,l as HoneyCollateral_OrderBy,h as HoneySnapshotData,c as HoneySnapshot_OrderBy,I as HoneySupplyDayData_OrderBy,g as HoneyTxnData,b as HoneyTxnTimeseries_OrderBy,_ as HoneyTxn_OrderBy,S as OrderDirection,M as TxnType,m as _SubgraphErrorPolicy_,D as default};
|
package/dist/pol/api.codegen.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of X(u))!j.call(c,n)&&n!==t&&d(c,n,{get:()=>u[n],enumerable:!(e=J(u,n))||e.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var
|
|
1
|
+
"use strict";var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var X=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var Z=(c,u)=>{for(var t in u)d(c,t,{get:u[t],enumerable:!0})},tt=(c,u,t,e)=>{if(u&&typeof u=="object"||typeof u=="function")for(let n of X(u))!j.call(c,n)&&n!==t&&d(c,n,{get:()=>u[n],enumerable:!(e=J(u,n))||e.enumerable});return c};var at=c=>tt(d({},"__esModule",{value:!0}),c);var bt={};Z(bt,{ApiMinimalVaultIncentive:()=>et,ApiRewardAllocationWeight:()=>L,ApiValidator:()=>m,ApiValidatorBlockUptime:()=>K,ApiValidatorInList:()=>z,ApiValidatorIncentive:()=>Y,ApiValidatorMinimal:()=>y,ApiValidatorRewardAllocationWeight:()=>rt,ApiVault:()=>S,ApiVaultIncentive:()=>O,GetRewardVault:()=>st,GetSWberaVaultMetadata:()=>St,GetSWberaVaultSnapshots:()=>yt,GetUserValidatorInformation:()=>dt,GetUserVaults:()=>pt,GetValidator:()=>nt,GetValidators:()=>lt,GetVaultHistory:()=>ct,GetVaultValidators:()=>it,GetVaults:()=>ot,GlobalData:()=>ut,GqlChain:()=>g,GqlPoolAprItemType:()=>b,GqlPoolEventType:()=>A,GqlPoolEventsDataRange:()=>G,GqlPoolFilterCategory:()=>I,GqlPoolJoinExitType:()=>q,GqlPoolNestingType:()=>B,GqlPoolOrderBy:()=>v,GqlPoolOrderDirection:()=>P,GqlPoolSnapshotDataRange:()=>k,GqlPoolType:()=>_,GqlRewardVaultIncentiveOrderBy:()=>h,GqlRewardVaultIncentiveOrderDirection:()=>M,GqlRewardVaultOrderBy:()=>D,GqlRewardVaultOrderDirection:()=>V,GqlRewardVaultSnapshotDataRange:()=>T,GqlRewardVaultSnapshotResolution:()=>x,GqlSWberaVaultMetadataResolution:()=>R,GqlSorSwapType:()=>w,GqlTokenChartDataRange:()=>C,GqlTokenType:()=>U,GqlUserVaultDepositOrderBy:()=>E,GqlUserVaultDepositOrderDirection:()=>$,GqlValidatorBlockUptimeStatus:()=>f,GqlValidatorBoostOrderBy:()=>N,GqlValidatorBoostOrderDirection:()=>F,GqlValidatorOrderBy:()=>W,GqlValidatorOrderDirection:()=>Q,GqlVaultSnapshotDataRange:()=>H,default:()=>gt});module.exports=at(bt);var r=require("@apollo/client"),g=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(g||{}),b=(s=>(s.Aura="AURA",s.IbYield="IB_YIELD",s.Locking="LOCKING",s.MabeetsEmissions="MABEETS_EMISSIONS",s.Merkl="MERKL",s.Nested="NESTED",s.Staking="STAKING",s.StakingBoost="STAKING_BOOST",s.Surplus="SURPLUS",s.SwapFee="SWAP_FEE",s.VebalEmissions="VEBAL_EMISSIONS",s.Voting="VOTING",s))(b||{}),A=(e=>(e.Add="ADD",e.Remove="REMOVE",e.Swap="SWAP",e))(A||{}),G=(e=>(e.NinetyDays="NINETY_DAYS",e.SevenDays="SEVEN_DAYS",e.ThirtyDays="THIRTY_DAYS",e))(G||{}),I=(p=>(p.BlackListed="BLACK_LISTED",p.Featured="FEATURED",p.Incentivized="INCENTIVIZED",p.Lrt="LRT",p.Points="POINTS",p.PointsEigenlayer="POINTS_EIGENLAYER",p.PointsGyro="POINTS_GYRO",p.PointsKelp="POINTS_KELP",p.PointsRenzo="POINTS_RENZO",p.PointsSwell="POINTS_SWELL",p.Superfest="SUPERFEST",p))(I||{}),q=(t=>(t.Exit="Exit",t.Join="Join",t))(q||{}),B=(e=>(e.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",e.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",e.NoNesting="NO_NESTING",e))(B||{}),v=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(v||{}),P=(t=>(t.Asc="asc",t.Desc="desc",t))(P||{}),k=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(k||{}),_=(i=>(i.ComposableStable="COMPOSABLE_STABLE",i.CowAmm="COW_AMM",i.Element="ELEMENT",i.Fx="FX",i.Gyro="GYRO",i.Gyro3="GYRO3",i.Gyroe="GYROE",i.Investment="INVESTMENT",i.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",i.MetaStable="META_STABLE",i.PhantomStable="PHANTOM_STABLE",i.Stable="STABLE",i.Unknown="UNKNOWN",i.Weighted="WEIGHTED",i))(_||{}),h=(e=>(e.AmountRemaining="amountRemaining",e.AmountRemainingUsd="amountRemainingUsd",e.IncentiveRate="incentiveRate",e))(h||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),D=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(D||{}),V=(t=>(t.Asc="asc",t.Desc="desc",t))(V||{}),T=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(T||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),R=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(R||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),C=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(C||{}),U=(e=>(e.Bpt="BPT",e.PhantomBpt="PHANTOM_BPT",e.WhiteListed="WHITE_LISTED",e))(U||{}),E=(u=>(u.Amount="amount",u))(E||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),f=(n=>(n.Inactive="INACTIVE",n.Offline="OFFLINE",n.Proposed="PROPOSED",n.Signed="SIGNED",n))(f||{}),N=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))(N||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),W=(l=>(l.ActiveBoostAmount="activeBoostAmount",l.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",l.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",l.Apy="apy",l.BgtCapturePercentage="bgtCapturePercentage",l.BoostApr="boostApr",l.CommissionOnIncentives="commissionOnIncentives",l.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",l.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",l.QueuedBoostAmount="queuedBoostAmount",l.QueuedDropBoostAmount="queuedDropBoostAmount",l.RewardRate="rewardRate",l.StakedBeraAmount="stakedBeraAmount",l.UsersActiveBoostCount="usersActiveBoostCount",l.UsersQueuedBoostCount="usersQueuedBoostCount",l))(W||{}),Q=(t=>(t.Asc="asc",t.Desc="desc",t))(Q||{}),H=(n=>(n.NinetyDays="NINETY_DAYS",n.SevenDays="SEVEN_DAYS",n.SixtyDays="SIXTY_DAYS",n.ThirtyDays="THIRTY_DAYS",n))(H||{}),et=r.gql`
|
|
2
2
|
fragment ApiMinimalVaultIncentive on GqlRewardVaultIncentive {
|
|
3
3
|
remainingAmount
|
|
4
4
|
remainingAmountUsd
|
|
@@ -2211,33 +2211,22 @@ type Query = {
|
|
|
2211
2211
|
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2212
2212
|
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2213
2213
|
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2214
|
-
/**
|
|
2214
|
+
/**
|
|
2215
|
+
* Get swap quote from the SOR v2 for the V2 vault
|
|
2216
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2217
|
+
*/
|
|
2215
2218
|
sorGetSwapPaths: GqlSorGetSwapPaths;
|
|
2216
|
-
/** Get swap quote from the SOR, queries both the old and new SOR */
|
|
2217
|
-
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2218
2219
|
/**
|
|
2219
|
-
*
|
|
2220
|
-
* @deprecated
|
|
2220
|
+
* Get swap quote from the SOR, queries both the old and new SOR
|
|
2221
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2221
2222
|
*/
|
|
2222
|
-
|
|
2223
|
+
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2223
2224
|
/** Returns the current price for a given token */
|
|
2224
2225
|
tokenGetCurrentPrice: GqlTokenPrice;
|
|
2225
2226
|
/** Returns all current prices for allowed tokens for a given chain or chains */
|
|
2226
2227
|
tokenGetCurrentPrices: Array<GqlTokenPrice>;
|
|
2227
2228
|
/** Returns the historical prices for a given set of tokens for a given chain and range */
|
|
2228
2229
|
tokenGetHistoricalPrices: Array<GqlHistoricalTokenPrice>;
|
|
2229
|
-
/**
|
|
2230
|
-
* DEPRECATED: Returns pricing data for a given token for a given range
|
|
2231
|
-
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2232
|
-
*/
|
|
2233
|
-
tokenGetPriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2234
|
-
/**
|
|
2235
|
-
* Returns the price of either BAL or BEETS depending on chain
|
|
2236
|
-
* @deprecated Use tokenGetTokensDynamicData instead
|
|
2237
|
-
*/
|
|
2238
|
-
tokenGetProtocolTokenPrice: Scalars['AmountHumanReadable']['output'];
|
|
2239
|
-
/** Returns the price of a token priced in another token for a given range. */
|
|
2240
|
-
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2241
2230
|
/** Returns a token for a given address and chain */
|
|
2242
2231
|
tokenGetToken: GqlToken;
|
|
2243
2232
|
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
@@ -2405,11 +2394,6 @@ type QuerySorGetSwapsArgs = {
|
|
|
2405
2394
|
tokenIn: Scalars['String']['input'];
|
|
2406
2395
|
tokenOut: Scalars['String']['input'];
|
|
2407
2396
|
};
|
|
2408
|
-
type QueryTokenGetCandlestickChartDataArgs = {
|
|
2409
|
-
address: Scalars['String']['input'];
|
|
2410
|
-
chain?: InputMaybe<GqlChain>;
|
|
2411
|
-
range: GqlTokenChartDataRange;
|
|
2412
|
-
};
|
|
2413
2397
|
type QueryTokenGetCurrentPriceArgs = {
|
|
2414
2398
|
address: Scalars['String']['input'];
|
|
2415
2399
|
chain: GqlChain;
|
|
@@ -2423,20 +2407,6 @@ type QueryTokenGetHistoricalPricesArgs = {
|
|
|
2423
2407
|
chain: GqlChain;
|
|
2424
2408
|
range: GqlTokenChartDataRange;
|
|
2425
2409
|
};
|
|
2426
|
-
type QueryTokenGetPriceChartDataArgs = {
|
|
2427
|
-
address: Scalars['String']['input'];
|
|
2428
|
-
chain?: InputMaybe<GqlChain>;
|
|
2429
|
-
range: GqlTokenChartDataRange;
|
|
2430
|
-
};
|
|
2431
|
-
type QueryTokenGetProtocolTokenPriceArgs = {
|
|
2432
|
-
chain?: InputMaybe<GqlChain>;
|
|
2433
|
-
};
|
|
2434
|
-
type QueryTokenGetRelativePriceChartDataArgs = {
|
|
2435
|
-
chain?: InputMaybe<GqlChain>;
|
|
2436
|
-
range: GqlTokenChartDataRange;
|
|
2437
|
-
tokenIn: Scalars['String']['input'];
|
|
2438
|
-
tokenOut: Scalars['String']['input'];
|
|
2439
|
-
};
|
|
2440
2410
|
type QueryTokenGetTokenArgs = {
|
|
2441
2411
|
address: Scalars['String']['input'];
|
|
2442
2412
|
chain: GqlChain;
|
|
@@ -3485,4 +3455,4 @@ interface PossibleTypesResultData {
|
|
|
3485
3455
|
}
|
|
3486
3456
|
declare const result: PossibleTypesResultData;
|
|
3487
3457
|
|
|
3488
|
-
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type
|
|
3458
|
+
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type Scalars, type Token, result as default };
|
|
@@ -2211,33 +2211,22 @@ type Query = {
|
|
|
2211
2211
|
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2212
2212
|
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2213
2213
|
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2214
|
-
/**
|
|
2214
|
+
/**
|
|
2215
|
+
* Get swap quote from the SOR v2 for the V2 vault
|
|
2216
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2217
|
+
*/
|
|
2215
2218
|
sorGetSwapPaths: GqlSorGetSwapPaths;
|
|
2216
|
-
/** Get swap quote from the SOR, queries both the old and new SOR */
|
|
2217
|
-
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2218
2219
|
/**
|
|
2219
|
-
*
|
|
2220
|
-
* @deprecated
|
|
2220
|
+
* Get swap quote from the SOR, queries both the old and new SOR
|
|
2221
|
+
* @deprecated SOR support will end on May 31st, 2026
|
|
2221
2222
|
*/
|
|
2222
|
-
|
|
2223
|
+
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2223
2224
|
/** Returns the current price for a given token */
|
|
2224
2225
|
tokenGetCurrentPrice: GqlTokenPrice;
|
|
2225
2226
|
/** Returns all current prices for allowed tokens for a given chain or chains */
|
|
2226
2227
|
tokenGetCurrentPrices: Array<GqlTokenPrice>;
|
|
2227
2228
|
/** Returns the historical prices for a given set of tokens for a given chain and range */
|
|
2228
2229
|
tokenGetHistoricalPrices: Array<GqlHistoricalTokenPrice>;
|
|
2229
|
-
/**
|
|
2230
|
-
* DEPRECATED: Returns pricing data for a given token for a given range
|
|
2231
|
-
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2232
|
-
*/
|
|
2233
|
-
tokenGetPriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2234
|
-
/**
|
|
2235
|
-
* Returns the price of either BAL or BEETS depending on chain
|
|
2236
|
-
* @deprecated Use tokenGetTokensDynamicData instead
|
|
2237
|
-
*/
|
|
2238
|
-
tokenGetProtocolTokenPrice: Scalars['AmountHumanReadable']['output'];
|
|
2239
|
-
/** Returns the price of a token priced in another token for a given range. */
|
|
2240
|
-
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2241
2230
|
/** Returns a token for a given address and chain */
|
|
2242
2231
|
tokenGetToken: GqlToken;
|
|
2243
2232
|
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
@@ -2405,11 +2394,6 @@ type QuerySorGetSwapsArgs = {
|
|
|
2405
2394
|
tokenIn: Scalars['String']['input'];
|
|
2406
2395
|
tokenOut: Scalars['String']['input'];
|
|
2407
2396
|
};
|
|
2408
|
-
type QueryTokenGetCandlestickChartDataArgs = {
|
|
2409
|
-
address: Scalars['String']['input'];
|
|
2410
|
-
chain?: InputMaybe<GqlChain>;
|
|
2411
|
-
range: GqlTokenChartDataRange;
|
|
2412
|
-
};
|
|
2413
2397
|
type QueryTokenGetCurrentPriceArgs = {
|
|
2414
2398
|
address: Scalars['String']['input'];
|
|
2415
2399
|
chain: GqlChain;
|
|
@@ -2423,20 +2407,6 @@ type QueryTokenGetHistoricalPricesArgs = {
|
|
|
2423
2407
|
chain: GqlChain;
|
|
2424
2408
|
range: GqlTokenChartDataRange;
|
|
2425
2409
|
};
|
|
2426
|
-
type QueryTokenGetPriceChartDataArgs = {
|
|
2427
|
-
address: Scalars['String']['input'];
|
|
2428
|
-
chain?: InputMaybe<GqlChain>;
|
|
2429
|
-
range: GqlTokenChartDataRange;
|
|
2430
|
-
};
|
|
2431
|
-
type QueryTokenGetProtocolTokenPriceArgs = {
|
|
2432
|
-
chain?: InputMaybe<GqlChain>;
|
|
2433
|
-
};
|
|
2434
|
-
type QueryTokenGetRelativePriceChartDataArgs = {
|
|
2435
|
-
chain?: InputMaybe<GqlChain>;
|
|
2436
|
-
range: GqlTokenChartDataRange;
|
|
2437
|
-
tokenIn: Scalars['String']['input'];
|
|
2438
|
-
tokenOut: Scalars['String']['input'];
|
|
2439
|
-
};
|
|
2440
2410
|
type QueryTokenGetTokenArgs = {
|
|
2441
2411
|
address: Scalars['String']['input'];
|
|
2442
2412
|
chain: GqlChain;
|
|
@@ -3485,4 +3455,4 @@ interface PossibleTypesResultData {
|
|
|
3485
3455
|
}
|
|
3486
3456
|
declare const result: PossibleTypesResultData;
|
|
3487
3457
|
|
|
3488
|
-
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type
|
|
3458
|
+
export { ApiMinimalVaultIncentive, type ApiMinimalVaultIncentiveFragment, ApiRewardAllocationWeight, type ApiRewardAllocationWeightFragment, ApiValidator, ApiValidatorBlockUptime, type ApiValidatorBlockUptimeFragment, type ApiValidatorFragment, ApiValidatorInList, type ApiValidatorInListFragment, ApiValidatorIncentive, type ApiValidatorIncentiveFragment, ApiValidatorMinimal, type ApiValidatorMinimalFragment, ApiValidatorRewardAllocationWeight, type ApiValidatorRewardAllocationWeightFragment, ApiVault, type ApiVaultFragment, ApiVaultIncentive, type ApiVaultIncentiveFragment, type BendVaultDynamicData, type BendVaultResponse, type Exact, GetRewardVault, type GetRewardVaultQuery, type GetRewardVaultQueryVariables, GetSWberaVaultMetadata, type GetSWberaVaultMetadataQuery, type GetSWberaVaultMetadataQueryVariables, GetSWberaVaultSnapshots, type GetSWberaVaultSnapshotsQuery, type GetSWberaVaultSnapshotsQueryVariables, GetUserValidatorInformation, type GetUserValidatorInformationQuery, type GetUserValidatorInformationQueryVariables, GetUserVaults, type GetUserVaultsQuery, type GetUserVaultsQueryVariables, GetValidator, type GetValidatorQuery, type GetValidatorQueryVariables, GetValidators, type GetValidatorsQuery, type GetValidatorsQueryVariables, GetVaultHistory, type GetVaultHistoryQuery, type GetVaultHistoryQueryVariables, GetVaultValidators, type GetVaultValidatorsQuery, type GetVaultValidatorsQueryVariables, GetVaults, type GetVaultsQuery, type GetVaultsQueryVariables, GlobalData, type GlobalDataQuery, type GlobalDataQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlIncentive, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, type GqlPoolAddRemoveEventV3, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, type GqlPoolSwapEventCowAmm, type GqlPoolSwapEventV3, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorInList, type GqlValidatorIncentive, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, type PossibleTypesResultData, type Query, type QueryBendVaultArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type Scalars, type Token, result as default };
|
package/dist/pol/api.codegen.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),m=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(m||{}),g=(r=>(r.Add="ADD",r.Remove="REMOVE",r.Swap="SWAP",r))(g||{}),
|
|
1
|
+
import{gql as e}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),m=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(m||{}),g=(r=>(r.Add="ADD",r.Remove="REMOVE",r.Swap="SWAP",r))(g||{}),b=(r=>(r.NinetyDays="NINETY_DAYS",r.SevenDays="SEVEN_DAYS",r.ThirtyDays="THIRTY_DAYS",r))(b||{}),A=(s=>(s.BlackListed="BLACK_LISTED",s.Featured="FEATURED",s.Incentivized="INCENTIVIZED",s.Lrt="LRT",s.Points="POINTS",s.PointsEigenlayer="POINTS_EIGENLAYER",s.PointsGyro="POINTS_GYRO",s.PointsKelp="POINTS_KELP",s.PointsRenzo="POINTS_RENZO",s.PointsSwell="POINTS_SWELL",s.Superfest="SUPERFEST",s))(A||{}),G=(t=>(t.Exit="Exit",t.Join="Join",t))(G||{}),I=(r=>(r.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",r.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",r.NoNesting="NO_NESTING",r))(I||{}),q=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(q||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),v=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",a.OneYear="ONE_YEAR",a.ThirtyDays="THIRTY_DAYS",a))(v||{}),P=(l=>(l.ComposableStable="COMPOSABLE_STABLE",l.CowAmm="COW_AMM",l.Element="ELEMENT",l.Fx="FX",l.Gyro="GYRO",l.Gyro3="GYRO3",l.Gyroe="GYROE",l.Investment="INVESTMENT",l.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",l.MetaStable="META_STABLE",l.PhantomStable="PHANTOM_STABLE",l.Stable="STABLE",l.Unknown="UNKNOWN",l.Weighted="WEIGHTED",l))(P||{}),k=(r=>(r.AmountRemaining="amountRemaining",r.AmountRemainingUsd="amountRemainingUsd",r.IncentiveRate="incentiveRate",r))(k||{}),_=(t=>(t.Asc="asc",t.Desc="desc",t))(_||{}),h=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(h||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),D=(a=>(a.AllTime="ALL_TIME",a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.SixtyDays="SIXTY_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(D||{}),V=(t=>(t.Day="DAY",t.Hour="HOUR",t))(V||{}),T=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(T||{}),x=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(x||{}),R=(a=>(a.NinetyDay="NINETY_DAY",a.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",a.OneYear="ONE_YEAR",a.SevenDay="SEVEN_DAY",a.ThirtyDay="THIRTY_DAY",a))(R||{}),w=(r=>(r.Bpt="BPT",r.PhantomBpt="PHANTOM_BPT",r.WhiteListed="WHITE_LISTED",r))(w||{}),C=(y=>(y.Amount="amount",y))(C||{}),U=(t=>(t.Asc="asc",t.Desc="desc",t))(U||{}),E=(u=>(u.Inactive="INACTIVE",u.Offline="OFFLINE",u.Proposed="PROPOSED",u.Signed="SIGNED",u))(E||{}),$=(a=>(a.ActiveBoostAmount="activeBoostAmount",a.LatestBlock="latestBlock",a.LatestBlockTime="latestBlockTime",a.QueuedBoostAmount="queuedBoostAmount",a.QueuedDropBoostAmount="queuedDropBoostAmount",a))($||{}),f=(t=>(t.Asc="asc",t.Desc="desc",t))(f||{}),N=(n=>(n.ActiveBoostAmount="activeBoostAmount",n.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",n.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.BoostApr="boostApr",n.CommissionOnIncentives="commissionOnIncentives",n.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",n.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",n.QueuedBoostAmount="queuedBoostAmount",n.QueuedDropBoostAmount="queuedDropBoostAmount",n.RewardRate="rewardRate",n.StakedBeraAmount="stakedBeraAmount",n.UsersActiveBoostCount="usersActiveBoostCount",n.UsersQueuedBoostCount="usersQueuedBoostCount",n))(N||{}),F=(t=>(t.Asc="asc",t.Desc="desc",t))(F||{}),W=(u=>(u.NinetyDays="NINETY_DAYS",u.SevenDays="SEVEN_DAYS",u.SixtyDays="SIXTY_DAYS",u.ThirtyDays="THIRTY_DAYS",u))(W||{}),J=e`
|
|
2
2
|
fragment ApiMinimalVaultIncentive on GqlRewardVaultIncentive {
|
|
3
3
|
remainingAmount
|
|
4
4
|
remainingAmountUsd
|
|
@@ -355,4 +355,4 @@ ${Y}`,tt=e`
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
`,z={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},ut=z;export{J as ApiMinimalVaultIncentive,H as ApiRewardAllocationWeight,S as ApiValidator,Y as ApiValidatorBlockUptime,L as ApiValidatorInList,O as ApiValidatorIncentive,c as ApiValidatorMinimal,X as ApiValidatorRewardAllocationWeight,p as ApiVault,Q as ApiVaultIncentive,et as GetRewardVault,lt as GetSWberaVaultMetadata,it as GetSWberaVaultSnapshots,st as GetUserValidatorInformation,ot as GetUserVaults,Z as GetValidator,tt as GetValidators,nt as GetVaultHistory,at as GetVaultValidators,j as GetVaults,rt as GlobalData,d as GqlChain,m as GqlPoolAprItemType,g as GqlPoolEventType,
|
|
358
|
+
`,z={possibleTypes:{GqlIncentive:["GqlRewardVaultIncentive","GqlValidatorIncentive"],GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},ut=z;export{J as ApiMinimalVaultIncentive,H as ApiRewardAllocationWeight,S as ApiValidator,Y as ApiValidatorBlockUptime,L as ApiValidatorInList,O as ApiValidatorIncentive,c as ApiValidatorMinimal,X as ApiValidatorRewardAllocationWeight,p as ApiVault,Q as ApiVaultIncentive,et as GetRewardVault,lt as GetSWberaVaultMetadata,it as GetSWberaVaultSnapshots,st as GetUserValidatorInformation,ot as GetUserVaults,Z as GetValidator,tt as GetValidators,nt as GetVaultHistory,at as GetVaultValidators,j as GetVaults,rt as GlobalData,d as GqlChain,m as GqlPoolAprItemType,g as GqlPoolEventType,b as GqlPoolEventsDataRange,A as GqlPoolFilterCategory,G as GqlPoolJoinExitType,I as GqlPoolNestingType,q as GqlPoolOrderBy,B as GqlPoolOrderDirection,v as GqlPoolSnapshotDataRange,P as GqlPoolType,k as GqlRewardVaultIncentiveOrderBy,_ as GqlRewardVaultIncentiveOrderDirection,h as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,D as GqlRewardVaultSnapshotDataRange,V as GqlRewardVaultSnapshotResolution,T as GqlSWberaVaultMetadataResolution,x as GqlSorSwapType,R as GqlTokenChartDataRange,w as GqlTokenType,C as GqlUserVaultDepositOrderBy,U as GqlUserVaultDepositOrderDirection,E as GqlValidatorBlockUptimeStatus,$ as GqlValidatorBoostOrderBy,f as GqlValidatorBoostOrderDirection,N as GqlValidatorOrderBy,F as GqlValidatorOrderDirection,W as GqlVaultSnapshotDataRange,ut as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var p=Object.defineProperty;var
|
|
1
|
+
"use strict";var p=Object.defineProperty;var _=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var g=(u,n)=>{for(var t in n)p(u,t,{get:n[t],enumerable:!0})},A=(u,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of S(n))!B.call(u,e)&&e!==t&&p(u,e,{get:()=>n[e],enumerable:!(r=_(n,e))||r.enumerable});return u};var x=u=>A(p({},"__esModule",{value:!0}),u);var H={};g(H,{Aggregation_Current:()=>y,Aggregation_Interval:()=>l,GetIncentiveFeeClaimStats:()=>d,IncentiveFeeClaimStats_OrderBy:()=>c,IncentiveFeeClaim_OrderBy:()=>o,IncentiveFeePayoutAmountHistory_OrderBy:()=>b,OrderDirection:()=>I,UserFeeHistory_OrderBy:()=>m,_SubgraphErrorPolicy_:()=>M,default:()=>h});module.exports=x(H);var s=require("@apollo/client"),y=(t=>(t.Exclude="exclude",t.Include="include",t))(y||{}),l=(t=>(t.Day="day",t.Hour="hour",t))(l||{}),c=(e=>(e.AllTimePayoutAmount="allTimePayoutAmount",e.Id="id",e.Timestamp="timestamp",e.TotalPayoutAmount="totalPayoutAmount",e))(c||{}),o=(i=>(i.BlockNumber="blockNumber",i.Caller="caller",i.Id="id",i.PayoutAmount="payoutAmount",i.Recipient="recipient",i.Timestamp="timestamp",i.TxHash="txHash",i))(o||{}),b=(a=>(a.BlockNumber="blockNumber",a.Id="id",a.NewPayoutAmount="newPayoutAmount",a.OldPayoutAmount="oldPayoutAmount",a.Timestamp="timestamp",a.TxHash="txHash",a))(b||{}),I=(t=>(t.Asc="asc",t.Desc="desc",t))(I||{}),m=(a=>(a.BlockNumber="blockNumber",a.CollectedBgtAmount="collectedBGTAmount",a.Id="id",a.Timestamp="timestamp",a.TxHash="txHash",a.User="user",a))(m||{}),M=(t=>(t.Allow="allow",t.Deny="deny",t))(M||{}),d=s.gql`
|
|
2
2
|
query GetIncentiveFeeClaimStats {
|
|
3
3
|
incentiveFeeClaims {
|
|
4
4
|
recipient
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
timestamp
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
`,
|
|
9
|
+
`,k={possibleTypes:{}},h=k;0&&(module.exports={Aggregation_Current,Aggregation_Interval,GetIncentiveFeeClaimStats,IncentiveFeeClaimStats_OrderBy,IncentiveFeeClaim_OrderBy,IncentiveFeePayoutAmountHistory_OrderBy,OrderDirection,UserFeeHistory_OrderBy,_SubgraphErrorPolicy_});
|
|
@@ -64,6 +64,13 @@ type Scalars = {
|
|
|
64
64
|
output: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
+
/** Indicates whether the current, partially filled bucket should be included in the response. Defaults to `exclude` */
|
|
68
|
+
declare enum Aggregation_Current {
|
|
69
|
+
/** Exclude the current, partially filled bucket from the response */
|
|
70
|
+
Exclude = "exclude",
|
|
71
|
+
/** Include the current, partially filled bucket in the response */
|
|
72
|
+
Include = "include"
|
|
73
|
+
}
|
|
67
74
|
declare enum Aggregation_Interval {
|
|
68
75
|
Day = "day",
|
|
69
76
|
Hour = "hour"
|
|
@@ -303,6 +310,7 @@ type QueryIncentiveFeeClaimArgs = {
|
|
|
303
310
|
};
|
|
304
311
|
type QueryIncentiveFeeClaimStats_CollectionArgs = {
|
|
305
312
|
block?: InputMaybe<Block_Height>;
|
|
313
|
+
current?: InputMaybe<Aggregation_Current>;
|
|
306
314
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
307
315
|
interval: Aggregation_Interval;
|
|
308
316
|
orderBy?: InputMaybe<IncentiveFeeClaimStats_OrderBy>;
|
|
@@ -478,4 +486,4 @@ interface PossibleTypesResultData {
|
|
|
478
486
|
}
|
|
479
487
|
declare const result: PossibleTypesResultData;
|
|
480
488
|
|
|
481
|
-
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type Query_MetaArgs, type Scalars, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
489
|
+
export { Aggregation_Current, Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type Query_MetaArgs, type Scalars, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -64,6 +64,13 @@ type Scalars = {
|
|
|
64
64
|
output: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
+
/** Indicates whether the current, partially filled bucket should be included in the response. Defaults to `exclude` */
|
|
68
|
+
declare enum Aggregation_Current {
|
|
69
|
+
/** Exclude the current, partially filled bucket from the response */
|
|
70
|
+
Exclude = "exclude",
|
|
71
|
+
/** Include the current, partially filled bucket in the response */
|
|
72
|
+
Include = "include"
|
|
73
|
+
}
|
|
67
74
|
declare enum Aggregation_Interval {
|
|
68
75
|
Day = "day",
|
|
69
76
|
Hour = "hour"
|
|
@@ -303,6 +310,7 @@ type QueryIncentiveFeeClaimArgs = {
|
|
|
303
310
|
};
|
|
304
311
|
type QueryIncentiveFeeClaimStats_CollectionArgs = {
|
|
305
312
|
block?: InputMaybe<Block_Height>;
|
|
313
|
+
current?: InputMaybe<Aggregation_Current>;
|
|
306
314
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
307
315
|
interval: Aggregation_Interval;
|
|
308
316
|
orderBy?: InputMaybe<IncentiveFeeClaimStats_OrderBy>;
|
|
@@ -478,4 +486,4 @@ interface PossibleTypesResultData {
|
|
|
478
486
|
}
|
|
479
487
|
declare const result: PossibleTypesResultData;
|
|
480
488
|
|
|
481
|
-
export { Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type Query_MetaArgs, type Scalars, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
489
|
+
export { Aggregation_Current, Aggregation_Interval, type BlockChangedFilter, type Block_Height, type Exact, GetIncentiveFeeClaimStats, type GetIncentiveFeeClaimStatsQuery, type GetIncentiveFeeClaimStatsQueryVariables, type IncentiveFeeClaim, type IncentiveFeeClaimStats, type IncentiveFeeClaimStats_Filter, IncentiveFeeClaimStats_OrderBy, type IncentiveFeeClaim_Filter, IncentiveFeeClaim_OrderBy, type IncentiveFeePayoutAmountHistory, type IncentiveFeePayoutAmountHistory_Filter, IncentiveFeePayoutAmountHistory_OrderBy, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, OrderDirection, type PossibleTypesResultData, type Query, type QueryIncentiveFeeClaimArgs, type QueryIncentiveFeeClaimStats_CollectionArgs, type QueryIncentiveFeeClaimsArgs, type QueryIncentiveFeePayoutAmountHistoriesArgs, type QueryIncentiveFeePayoutAmountHistoryArgs, type QueryUserFeeHistoriesArgs, type QueryUserFeeHistoryArgs, type Query_MetaArgs, type Scalars, type UserFeeHistory, type UserFeeHistory_Filter, UserFeeHistory_OrderBy, type _Block_, type _Meta_, _SubgraphErrorPolicy_, result as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gql as u}from"@apollo/client";var i=(a=>(a.Day="day",a.Hour="hour",a))(
|
|
1
|
+
import{gql as u}from"@apollo/client";var i=(a=>(a.Exclude="exclude",a.Include="include",a))(i||{}),p=(a=>(a.Day="day",a.Hour="hour",a))(p||{}),r=(n=>(n.AllTimePayoutAmount="allTimePayoutAmount",n.Id="id",n.Timestamp="timestamp",n.TotalPayoutAmount="totalPayoutAmount",n))(r||{}),s=(e=>(e.BlockNumber="blockNumber",e.Caller="caller",e.Id="id",e.PayoutAmount="payoutAmount",e.Recipient="recipient",e.Timestamp="timestamp",e.TxHash="txHash",e))(s||{}),y=(t=>(t.BlockNumber="blockNumber",t.Id="id",t.NewPayoutAmount="newPayoutAmount",t.OldPayoutAmount="oldPayoutAmount",t.Timestamp="timestamp",t.TxHash="txHash",t))(y||{}),l=(a=>(a.Asc="asc",a.Desc="desc",a))(l||{}),c=(t=>(t.BlockNumber="blockNumber",t.CollectedBgtAmount="collectedBGTAmount",t.Id="id",t.Timestamp="timestamp",t.TxHash="txHash",t.User="user",t))(c||{}),o=(a=>(a.Allow="allow",a.Deny="deny",a))(o||{}),m=u`
|
|
2
2
|
query GetIncentiveFeeClaimStats {
|
|
3
3
|
incentiveFeeClaims {
|
|
4
4
|
recipient
|
|
@@ -6,4 +6,4 @@ import{gql as u}from"@apollo/client";var i=(a=>(a.Day="day",a.Hour="hour",a))(i|
|
|
|
6
6
|
timestamp
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
`,
|
|
9
|
+
`,b={possibleTypes:{}},M=b;export{i as Aggregation_Current,p as Aggregation_Interval,m as GetIncentiveFeeClaimStats,r as IncentiveFeeClaimStats_OrderBy,s as IncentiveFeeClaim_OrderBy,y as IncentiveFeePayoutAmountHistory_OrderBy,l as OrderDirection,c as UserFeeHistory_OrderBy,o as _SubgraphErrorPolicy_,M as default};
|